diff --git a/docs/PLAN-payslip-line-item-collapse.md b/docs/PLAN-payslip-line-item-collapse.md new file mode 100644 index 000000000..271220d27 --- /dev/null +++ b/docs/PLAN-payslip-line-item-collapse.md @@ -0,0 +1,90 @@ +# Plan: Payslip Line Item Collapsible Breakdown in Payroll Run View + +## Overview +Add an interactive expandable/collapsible details section to each employee line item in the Payroll Run summary table (`resources/js/pages/hr/payroll-runs/show.tsx`). This allows HR admins and managers to inspect the itemized breakdown (Overtime components, Statutory deductions, Allowances/Earnings, Leave calculations, and Adjustments) directly inline without leaving the page. + +--- + +## 1. Scope & Objectives +1. **Interactive Row Expansion (Collapse/Expand)**: + - Add an accordion toggle (chevron button) next to each employee row in the Payroll Run entries table. + - Support expanding one or multiple employee entries simultaneously (with state management for expanded row IDs). + - "Expand All" / "Collapse All" convenience toggle in table header or controls. + +2. **Itemized Breakdown Content (Expanded Drawer/Sub-Row)**: + - **Overtime & Hours Breakdown**: + - Regular Overtime (Hours & Amount) + - Night Differential (Hours & Amount) + - Expected vs Rendered Working Hours + - **Earnings Breakdown**: + - Basic Salary & Daily Rate calculation + - Component Earnings (e.g., Allowances, Bonuses, Incentives, Commissions) + - Adjustment Earnings (+Additions) + - **Deductions Breakdown**: + - Mandatory Statutory Deductions (SSS, PhilHealth, Pag-IBIG) + - Withholding Tax (TRAIN Law calculation) + - Company Loans / Cash Advances / Other Custom Deductions + - Unpaid Leave / Absence Deductions (Days absent × Daily rate) + - Adjustment Deductions (-Deductions) + - **Attendance & Leave Summary**: + - Present Days vs Expected Working Days + - Paid Leave Days, Absent Days, Holidays + - **Net Pay Calculation Summary Pill**: + - Clear visual equation ribbon: `Gross Pay - Total Deductions = Net Pay` + +3. **Component Architecture**: + - Create a reusable sub-component `PayrollEntryBreakdownRow.tsx` (or integrate expandable row support in `CrudTable.tsx` / `show.tsx`). + - Clean, modern design matching the dark/light mode HRM design system (cards, badges, mono font for currency figures). + +--- + +## 2. Technical Architecture & File Changes + +### A. Frontend: `resources/js/pages/hr/payroll-runs/show.tsx` & `PayrollEntryBreakdown.tsx` +- **Expandable State**: + - `expandedEntryIds: Set` or `Record` state. + - Toggle handler for single row or all rows. +- **Table Expansion Integration**: + - Update `CrudTable.tsx` to support optional `renderExpandedRow?: (row: any) => React.ReactNode` prop and `expandedRows` state, OR render the table using custom collapsible `TableRow` components in `show.tsx`. +- **Sub-Component (`PayrollEntryBreakdown.tsx`)**: + - 3-column / 4-column responsive grid card layout: + 1. **Column 1: Attendance & Hours** (Worked Days, Absences, Expected/Rendered Hours, Regular OT, Night Diff). + 2. **Column 2: Earnings Items** (Basic Pay, Fixed Allowances, Performance Allowances, Adjustment Additions). + 3. **Column 3: Deductions & Statutory** (SSS Employee Share, PhilHealth, Pag-IBIG, Withholding Tax, Absences/LWOP deduction, Adjustment Deductions). + 4. **Column 4: Employer Contributions & Net Summary** (Employer SSS/PhilHealth/PagIBIG shares if applicable, Net Take-Home Pay). + +### B. Backend: `app/Http/Controllers/PayrollRunController.php` +- Verify `PayrollRun::with(['payrollEntries.employee', 'payrollEntries.adjustments'])` in `show()` provides all required data. +- Ensure `earnings_breakdown` and `deductions_breakdown` JSON structures are properly sent with `payroll_entries`. + +--- + +## 3. Implementation Steps + +### Phase 1: Sub-row Component (`PayrollEntryBreakdown.tsx`) +- Build modern UI component displaying: + - Overtime details card + - Earnings list + - Deductions list (with statutory items tagged) + - Adjustments summary + - Attendance & leave counts + +### Phase 2: Table Expansion Mechanism +- Enhance `CrudTable.tsx` with expandable row capability (`expandable`, `renderExpandedRow`, expand chevron column). +- Wire up state in `show.tsx` so users can click to toggle details on any employee row. + +### Phase 3: UX & Polish +- Ensure currency formatting matches system settings (`window.appSettings.formatCurrency`). +- Support responsive viewports and dark mode colors. +- Add quick tooltips and empty states when no components or overtime exist. + +--- + +## 4. Verification Checklist +- [ ] Clicking chevron expands the breakdown beneath the corresponding employee. +- [ ] Total overtime hours and earnings match the summary columns in the main table. +- [ ] SSS, PhilHealth, Pag-IBIG, and Tax deductions are cleanly itemized. +- [ ] Custom adjustments (Earnings & Deductions) are listed with notes. +- [ ] Collapsing row hides the details smoothly without layout shifts. +- [ ] Dark mode and light mode contrast verified. +- [ ] No regression on existing CSV export or Edit Override modal. diff --git a/public/build/assets/AboutUs-NnRpFGtj.js b/public/build/assets/AboutUs-Dzdgan1P.js similarity index 95% rename from public/build/assets/AboutUs-NnRpFGtj.js rename to public/build/assets/AboutUs-Dzdgan1P.js index fe98f9193..e120af3b5 100644 --- a/public/build/assets/AboutUs-NnRpFGtj.js +++ b/public/build/assets/AboutUs-Dzdgan1P.js @@ -1 +1 @@ -import{r as g,j as e}from"./ui-Z445SNHD.js";import{u as R}from"./useScrollAnimation-B_bDsIuD.js";import{u as S,g as _}from"./app-CfhhiFAk.js";import{Z as A}from"./zap-DncwKEcc.js";import{U as z}from"./users-C4LpG59H.js";import{S as M,H as $}from"./shield-BXgaUVtY.js";import{S as E}from"./star-DQsTg5F1.js";import{L as I}from"./lightbulb-BGgHG47R.js";import{A as T}from"./award-DMMowKjz.js";import{T as f}from"./target-Pzb9zAUp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const U={target:f,heart:$,award:T,lightbulb:I,star:E,shield:M,users:z,zap:A};function Q({settings:L,sectionData:s,brandColor:p="#3b82f6"}){const{t}=S(),{ref:j,isVisible:h}=R(),r=_(s.image),v=s.background_color||"#f9fafb",b=s.layout||"image-right",n=s.image_position||"right",i=s.parallax===!0,o=g.useRef(null),[m,y]=g.useState(0);g.useEffect(()=>{if(!i||!r)return;const a=()=>{if(!o.current)return;const l=o.current.getBoundingClientRect(),c=l.top+l.height/2-window.innerHeight/2;y(c*.2)};return window.addEventListener("scroll",a,{passive:!0}),a(),()=>window.removeEventListener("scroll",a)},[i,r]);const N=[{icon:"target",title:t("Our Mission"),description:t("To empower businesses with smart HR solutions that simplify employee management, payroll, attendance, and performance tracking.")},{icon:"heart",title:t("Our Values"),description:t("We prioritize innovation, efficiency, and creating a workplace ecosystem that nurtures growth and collaboration.")},{icon:"award",title:t("Our Commitment"),description:t("Providing reliable, intuitive HR tools backed by exceptional support to help organizations optimize their workforce.")},{icon:"lightbulb",title:t("Our Vision"),description:t("A future where HR management is fully automated, transparent, and enables organizations to focus on people, not paperwork.")}],w=[{value:t("3+ Years"),label:t("Experience"),color:"blue"},{value:"500+",label:t("Companies Served"),color:"green"},{value:"20K+",label:t("Employees Managed"),color:"purple"}],H=s.values&&s.values.length>0?s.values:N,d=s.stats&&s.stats.length>0?s.stats:w,x=()=>e.jsx("div",{className:"bg-white rounded-xl p-8 border border-gray-200 h-96 flex items-center justify-center overflow-hidden",children:r?e.jsx("img",{src:r,alt:"About Us",className:"max-w-full max-h-full object-contain rounded-lg",style:i?{transform:`translateY(${m}px)`,transition:"transform 0.1s linear"}:void 0}):e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-24 h-24 bg-gray-100 rounded-full mx-auto mb-6 flex items-center justify-center",children:e.jsx("span",{className:"text-3xl",children:s.image_icon||"🚀"})}),e.jsx("h4",{className:"text-xl font-semibold text-gray-900 mb-2",children:s.image_title||t("Innovation Driven")}),e.jsx("p",{className:"text-gray-600",children:s.image_subtitle||t("Building the future of networking")})]})}),u=({centered:a=!1})=>e.jsxs("div",{className:a?"text-center":"",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:s.story_title||t("We are passionate about simplifying HR management for businesses of all sizes.")}),e.jsx("div",{className:"text-gray-600 mb-8 leading-relaxed",dangerouslySetInnerHTML:{__html:(s.story_content||t("Founded by HR and tech enthusiasts, HRMGo was created to replace cumbersome spreadsheets and manual processes with a modern, all-in-one HR platform.")).replace(/\n/g,'

')}}),d.length>0&&e.jsx("div",{className:`flex items-center gap-8 ${a?"justify-center":""}`,children:d.map((l,c)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-gray-900",children:l.value}),e.jsx("div",{className:"text-sm text-gray-600",children:l.label})]},c))})]}),k=()=>b==="centered"?n==="background"&&r?e.jsxs("div",{ref:o,className:"relative rounded-xl overflow-hidden mb-8 sm:mb-12 lg:mb-16",children:[e.jsx("img",{src:r,alt:"About Us",className:"w-full h-96 object-cover",style:i?{transform:`translateY(${m}px)`,transition:"transform 0.1s linear",height:"110%",top:"-5%",position:"relative"}:void 0}),e.jsx("div",{className:"absolute inset-0 bg-black/50 flex items-center justify-center p-8",children:e.jsxs("div",{className:"text-center text-white max-w-2xl",children:[e.jsx("h3",{className:"text-2xl font-bold mb-4",children:s.story_title||t("We are passionate about simplifying HR management for businesses of all sizes.")}),e.jsx("div",{className:"mb-6 leading-relaxed opacity-90",dangerouslySetInnerHTML:{__html:(s.story_content||t("Founded by HR and tech enthusiasts, HRMGo was created to replace cumbersome spreadsheets and manual processes with a modern, all-in-one HR platform.")).replace(/\n/g,'

')}}),d.length>0&&e.jsx("div",{className:"flex items-center justify-center gap-8",children:d.map((a,l)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold",children:a.value}),e.jsx("div",{className:"text-sm opacity-80",children:a.label})]},l))})]})})]}):e.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-8 sm:mb-12 lg:mb-16",children:[e.jsx(u,{centered:!0}),(n==="left"||n==="right")&&e.jsx("div",{className:"mt-8",children:e.jsx(x,{})})]}):b==="image-left"?e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center mb-8 sm:mb-12 lg:mb-16",children:[n==="background"&&r?e.jsxs("div",{ref:o,className:"relative rounded-xl overflow-hidden h-96",children:[e.jsx("img",{src:r,alt:"About Us",className:"w-full object-cover",style:i?{transform:`translateY(${m}px)`,transition:"transform 0.1s linear",height:"120%",top:"-10%",position:"relative"}:{height:"100%"}}),e.jsx("div",{className:"absolute inset-0 bg-black/30 rounded-xl"})]}):e.jsx(x,{}),e.jsx(u,{})]}):e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center mb-8 sm:mb-12 lg:mb-16",children:[e.jsx(u,{}),n==="background"&&r?e.jsxs("div",{ref:o,className:"relative rounded-xl overflow-hidden h-96",children:[e.jsx("img",{src:r,alt:"About Us",className:"w-full object-cover",style:i?{transform:`translateY(${m}px)`,transition:"transform 0.1s linear",height:"120%",top:"-10%",position:"relative"}:{height:"100%"}}),e.jsx("div",{className:"absolute inset-0 bg-black/30 rounded-xl"})]}):e.jsx(x,{})]});return e.jsx("section",{id:"about",className:"py-12 sm:py-16 lg:py-20",style:{backgroundColor:v},ref:j,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:s.title||t("About HRM SaaS")}),e.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:s.description||t("We are passionate about simplifying HR management for businesses of all sizes.")})]}),k(),e.jsx("div",{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 sm:gap-8 transition-all duration-700 delay-500 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:H.map((a,l)=>{const c=U[a.icon]||f;return e.jsxs("div",{className:"text-center bg-white p-6 rounded-xl border border-gray-200",children:[e.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center mx-auto mb-4",style:{backgroundColor:`${p}15`},children:e.jsx(c,{className:"w-6 h-6",style:{color:p}})}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-3",children:a.title}),e.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:a.description})]},l)})})]})})}export{Q as default}; +import{r as g,j as e}from"./ui-Z445SNHD.js";import{u as R}from"./useScrollAnimation-B_bDsIuD.js";import{u as S,g as _}from"./app-Dya84jp7.js";import{Z as A}from"./zap-CgFkG-9H.js";import{U as z}from"./users-BzCDZrS0.js";import{S as M,H as $}from"./shield-CDL27iRK.js";import{S as E}from"./star-DCkLKzoE.js";import{L as I}from"./lightbulb-BaPQrzRp.js";import{A as T}from"./award-D1KbOerA.js";import{T as f}from"./target-BPl0Bsow.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const U={target:f,heart:$,award:T,lightbulb:I,star:E,shield:M,users:z,zap:A};function Q({settings:L,sectionData:s,brandColor:p="#3b82f6"}){const{t}=S(),{ref:j,isVisible:h}=R(),r=_(s.image),v=s.background_color||"#f9fafb",b=s.layout||"image-right",n=s.image_position||"right",i=s.parallax===!0,o=g.useRef(null),[m,y]=g.useState(0);g.useEffect(()=>{if(!i||!r)return;const a=()=>{if(!o.current)return;const l=o.current.getBoundingClientRect(),c=l.top+l.height/2-window.innerHeight/2;y(c*.2)};return window.addEventListener("scroll",a,{passive:!0}),a(),()=>window.removeEventListener("scroll",a)},[i,r]);const N=[{icon:"target",title:t("Our Mission"),description:t("To empower businesses with smart HR solutions that simplify employee management, payroll, attendance, and performance tracking.")},{icon:"heart",title:t("Our Values"),description:t("We prioritize innovation, efficiency, and creating a workplace ecosystem that nurtures growth and collaboration.")},{icon:"award",title:t("Our Commitment"),description:t("Providing reliable, intuitive HR tools backed by exceptional support to help organizations optimize their workforce.")},{icon:"lightbulb",title:t("Our Vision"),description:t("A future where HR management is fully automated, transparent, and enables organizations to focus on people, not paperwork.")}],w=[{value:t("3+ Years"),label:t("Experience"),color:"blue"},{value:"500+",label:t("Companies Served"),color:"green"},{value:"20K+",label:t("Employees Managed"),color:"purple"}],H=s.values&&s.values.length>0?s.values:N,d=s.stats&&s.stats.length>0?s.stats:w,x=()=>e.jsx("div",{className:"bg-white rounded-xl p-8 border border-gray-200 h-96 flex items-center justify-center overflow-hidden",children:r?e.jsx("img",{src:r,alt:"About Us",className:"max-w-full max-h-full object-contain rounded-lg",style:i?{transform:`translateY(${m}px)`,transition:"transform 0.1s linear"}:void 0}):e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-24 h-24 bg-gray-100 rounded-full mx-auto mb-6 flex items-center justify-center",children:e.jsx("span",{className:"text-3xl",children:s.image_icon||"🚀"})}),e.jsx("h4",{className:"text-xl font-semibold text-gray-900 mb-2",children:s.image_title||t("Innovation Driven")}),e.jsx("p",{className:"text-gray-600",children:s.image_subtitle||t("Building the future of networking")})]})}),u=({centered:a=!1})=>e.jsxs("div",{className:a?"text-center":"",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:s.story_title||t("We are passionate about simplifying HR management for businesses of all sizes.")}),e.jsx("div",{className:"text-gray-600 mb-8 leading-relaxed",dangerouslySetInnerHTML:{__html:(s.story_content||t("Founded by HR and tech enthusiasts, HRMGo was created to replace cumbersome spreadsheets and manual processes with a modern, all-in-one HR platform.")).replace(/\n/g,'

')}}),d.length>0&&e.jsx("div",{className:`flex items-center gap-8 ${a?"justify-center":""}`,children:d.map((l,c)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-gray-900",children:l.value}),e.jsx("div",{className:"text-sm text-gray-600",children:l.label})]},c))})]}),k=()=>b==="centered"?n==="background"&&r?e.jsxs("div",{ref:o,className:"relative rounded-xl overflow-hidden mb-8 sm:mb-12 lg:mb-16",children:[e.jsx("img",{src:r,alt:"About Us",className:"w-full h-96 object-cover",style:i?{transform:`translateY(${m}px)`,transition:"transform 0.1s linear",height:"110%",top:"-5%",position:"relative"}:void 0}),e.jsx("div",{className:"absolute inset-0 bg-black/50 flex items-center justify-center p-8",children:e.jsxs("div",{className:"text-center text-white max-w-2xl",children:[e.jsx("h3",{className:"text-2xl font-bold mb-4",children:s.story_title||t("We are passionate about simplifying HR management for businesses of all sizes.")}),e.jsx("div",{className:"mb-6 leading-relaxed opacity-90",dangerouslySetInnerHTML:{__html:(s.story_content||t("Founded by HR and tech enthusiasts, HRMGo was created to replace cumbersome spreadsheets and manual processes with a modern, all-in-one HR platform.")).replace(/\n/g,'

')}}),d.length>0&&e.jsx("div",{className:"flex items-center justify-center gap-8",children:d.map((a,l)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold",children:a.value}),e.jsx("div",{className:"text-sm opacity-80",children:a.label})]},l))})]})})]}):e.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-8 sm:mb-12 lg:mb-16",children:[e.jsx(u,{centered:!0}),(n==="left"||n==="right")&&e.jsx("div",{className:"mt-8",children:e.jsx(x,{})})]}):b==="image-left"?e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center mb-8 sm:mb-12 lg:mb-16",children:[n==="background"&&r?e.jsxs("div",{ref:o,className:"relative rounded-xl overflow-hidden h-96",children:[e.jsx("img",{src:r,alt:"About Us",className:"w-full object-cover",style:i?{transform:`translateY(${m}px)`,transition:"transform 0.1s linear",height:"120%",top:"-10%",position:"relative"}:{height:"100%"}}),e.jsx("div",{className:"absolute inset-0 bg-black/30 rounded-xl"})]}):e.jsx(x,{}),e.jsx(u,{})]}):e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center mb-8 sm:mb-12 lg:mb-16",children:[e.jsx(u,{}),n==="background"&&r?e.jsxs("div",{ref:o,className:"relative rounded-xl overflow-hidden h-96",children:[e.jsx("img",{src:r,alt:"About Us",className:"w-full object-cover",style:i?{transform:`translateY(${m}px)`,transition:"transform 0.1s linear",height:"120%",top:"-10%",position:"relative"}:{height:"100%"}}),e.jsx("div",{className:"absolute inset-0 bg-black/30 rounded-xl"})]}):e.jsx(x,{})]});return e.jsx("section",{id:"about",className:"py-12 sm:py-16 lg:py-20",style:{backgroundColor:v},ref:j,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:s.title||t("About HRM SaaS")}),e.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:s.description||t("We are passionate about simplifying HR management for businesses of all sizes.")})]}),k(),e.jsx("div",{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 sm:gap-8 transition-all duration-700 delay-500 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:H.map((a,l)=>{const c=U[a.icon]||f;return e.jsxs("div",{className:"text-center bg-white p-6 rounded-xl border border-gray-200",children:[e.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center mx-auto mb-4",style:{backgroundColor:`${p}15`},children:e.jsx(c,{className:"w-6 h-6",style:{color:p}})}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-3",children:a.title}),e.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:a.description})]},l)})})]})})}export{Q as default}; diff --git a/public/build/assets/ContactSection-B2xucE0P.js b/public/build/assets/ContactSection-RJDSbCmK.js similarity index 97% rename from public/build/assets/ContactSection-B2xucE0P.js rename to public/build/assets/ContactSection-RJDSbCmK.js index b5843f349..177ef4b4a 100644 --- a/public/build/assets/ContactSection-B2xucE0P.js +++ b/public/build/assets/ContactSection-RJDSbCmK.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as j,b as y,t as u}from"./app-CfhhiFAk.js";import{M as f}from"./mail-CGIE7ZEy.js";import{P as N}from"./phone-B_MwJBjY.js";import{M as v}from"./map-pin-BEMjKB1T.js";import{S as w}from"./send-Cj7KqUHo.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function T({flash:S,settings:a,sectionData:s,brandColor:d="#3b82f6"}){const{t:r}=j(),{data:n,setData:c,post:g,processing:o,errors:t,reset:h}=y({name:"",email:"",subject:"",message:""}),b=l=>{l.preventDefault(),g(route("landing-page.contact"),{onSuccess:m=>{var x;h();const i=((x=m.props.flash)==null?void 0:x.success)||"Thank you for your message. We will get back to you soon!";u.success(i)},onError:m=>{const i=Object.values(m).join(", ");u.error(i||"Failed to send message. Please try again.")}})},p=[{icon:f,title:r("Email Us"),content:(a==null?void 0:a.contact_email)||"support@hrm.com"},{icon:N,title:r("Call Us"),content:(a==null?void 0:a.contact_phone)||"+1 (555) 123-4567"},{icon:v,title:r("Visit Us"),content:(a==null?void 0:a.contact_address)||"123 Business Ave, Suite 100"}].filter(l=>l.content);return e.jsx("section",{id:"contact",className:"py-12 sm:py-16 lg:py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(s==null?void 0:s.title)||r("Get in Touch")}),e.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(s==null?void 0:s.subtitle)||r("Have questions about HRM SaaS? We'd love to hear from you.. Send us a message and we'll respond as soon as possible.")})]}),e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16",children:[e.jsx("div",{children:e.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-8",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:(s==null?void 0:s.form_title)||r("Send us a Message")}),e.jsxs("form",{onSubmit:b,className:"space-y-6",role:"form","aria-label":"Contact form",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-2",children:[r("Full Name")," ",e.jsx("span",{className:"text-red-500","aria-label":"required",children:"*"})]}),e.jsx("input",{type:"text",id:"name",value:n.name,onChange:l=>c("name",l.target.value),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":d},placeholder:r("Your full name"),required:!0,disabled:o}),t.name&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:t.name})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:[r("Email Address")," ",e.jsx("span",{className:"text-red-500","aria-label":"required",children:"*"})]}),e.jsx("input",{type:"email",id:"email",value:n.email,onChange:l=>c("email",l.target.value),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":d},placeholder:r("your@email.com"),required:!0,disabled:o}),t.email&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:t.email})]})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"subject",className:"block text-sm font-medium text-gray-700 mb-2",children:[r("Subject")," ",e.jsx("span",{className:"text-red-500","aria-label":"required",children:"*"})]}),e.jsx("input",{type:"text",id:"subject",value:n.subject,onChange:l=>c("subject",l.target.value),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":d},placeholder:r("What's this about?"),required:!0,disabled:o}),t.subject&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:t.subject})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700 mb-2",children:[r("Message")," ",e.jsx("span",{className:"text-red-500","aria-label":"required",children:"*"})]}),e.jsx("textarea",{id:"message",rows:6,value:n.message,onChange:l=>c("message",l.target.value),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 resize-none disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":d},placeholder:r("Tell us more about your inquiry..."),required:!0,disabled:o}),t.message&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:t.message})]}),e.jsx("button",{type:"submit",disabled:o,className:"cursor-pointer w-full text-white px-8 py-4 rounded-lg transition-colors font-semibold disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",style:{backgroundColor:d},"aria-label":o?"Sending message":"Send contact message",children:o?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-5 h-5 border-2 border-white border-t-transparent rounded-full animate-spin"}),r("Sending...")]}):e.jsxs(e.Fragment,{children:[e.jsx(w,{className:"w-5 h-5"}),r("Send Message")]})})]})]})}),e.jsx("div",{children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:(s==null?void 0:s.info_title)||r("Contact Information")}),e.jsx("p",{className:"text-gray-600 mb-8",children:(s==null?void 0:s.info_description)||r("We're here to help and answer any questions you might have about managing your HR processes efficiently. We look forward to hearing from you.")})]}),e.jsx("div",{className:"space-y-6",children:p.map((l,m)=>{const i=l.icon;return e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center flex-shrink-0",style:{backgroundColor:`${d}15`},children:e.jsx(i,{className:"w-6 h-6",style:{color:d}})}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-lg font-semibold text-gray-900 mb-1",children:l.title}),e.jsx("p",{className:"text-gray-900 font-medium mb-1",children:l.content}),e.jsx("p",{className:"text-gray-600 text-sm",children:l.description})]})]},m)})}),(s==null?void 0:s.faqs)&&s.faqs.length>0&&e.jsxs("div",{className:"bg-white rounded-xl p-6 border border-gray-200",children:[e.jsx("h4",{className:"text-lg font-semibold text-gray-900 mb-4",children:r("Frequently Asked Questions")}),e.jsx("div",{className:"space-y-4",children:s.faqs.map((l,m)=>e.jsxs("div",{children:[e.jsx("h5",{className:"font-medium text-gray-900 mb-1",children:l.question}),e.jsx("p",{className:"text-gray-600 text-sm",children:l.answer})]},m))})]})]})})]})]})})}export{T as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as j,b as y,t as u}from"./app-Dya84jp7.js";import{M as f}from"./mail-Cha_PX4q.js";import{P as N}from"./phone-3MnRoAYu.js";import{M as v}from"./map-pin-DFWKFR9c.js";import{S as w}from"./send-Cs5D4i9u.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function T({flash:S,settings:a,sectionData:s,brandColor:d="#3b82f6"}){const{t:r}=j(),{data:n,setData:c,post:g,processing:o,errors:t,reset:h}=y({name:"",email:"",subject:"",message:""}),b=l=>{l.preventDefault(),g(route("landing-page.contact"),{onSuccess:m=>{var x;h();const i=((x=m.props.flash)==null?void 0:x.success)||"Thank you for your message. We will get back to you soon!";u.success(i)},onError:m=>{const i=Object.values(m).join(", ");u.error(i||"Failed to send message. Please try again.")}})},p=[{icon:f,title:r("Email Us"),content:(a==null?void 0:a.contact_email)||"support@hrm.com"},{icon:N,title:r("Call Us"),content:(a==null?void 0:a.contact_phone)||"+1 (555) 123-4567"},{icon:v,title:r("Visit Us"),content:(a==null?void 0:a.contact_address)||"123 Business Ave, Suite 100"}].filter(l=>l.content);return e.jsx("section",{id:"contact",className:"py-12 sm:py-16 lg:py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(s==null?void 0:s.title)||r("Get in Touch")}),e.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(s==null?void 0:s.subtitle)||r("Have questions about HRM SaaS? We'd love to hear from you.. Send us a message and we'll respond as soon as possible.")})]}),e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16",children:[e.jsx("div",{children:e.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-8",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:(s==null?void 0:s.form_title)||r("Send us a Message")}),e.jsxs("form",{onSubmit:b,className:"space-y-6",role:"form","aria-label":"Contact form",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-2",children:[r("Full Name")," ",e.jsx("span",{className:"text-red-500","aria-label":"required",children:"*"})]}),e.jsx("input",{type:"text",id:"name",value:n.name,onChange:l=>c("name",l.target.value),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":d},placeholder:r("Your full name"),required:!0,disabled:o}),t.name&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:t.name})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:[r("Email Address")," ",e.jsx("span",{className:"text-red-500","aria-label":"required",children:"*"})]}),e.jsx("input",{type:"email",id:"email",value:n.email,onChange:l=>c("email",l.target.value),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":d},placeholder:r("your@email.com"),required:!0,disabled:o}),t.email&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:t.email})]})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"subject",className:"block text-sm font-medium text-gray-700 mb-2",children:[r("Subject")," ",e.jsx("span",{className:"text-red-500","aria-label":"required",children:"*"})]}),e.jsx("input",{type:"text",id:"subject",value:n.subject,onChange:l=>c("subject",l.target.value),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":d},placeholder:r("What's this about?"),required:!0,disabled:o}),t.subject&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:t.subject})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700 mb-2",children:[r("Message")," ",e.jsx("span",{className:"text-red-500","aria-label":"required",children:"*"})]}),e.jsx("textarea",{id:"message",rows:6,value:n.message,onChange:l=>c("message",l.target.value),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 resize-none disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":d},placeholder:r("Tell us more about your inquiry..."),required:!0,disabled:o}),t.message&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:t.message})]}),e.jsx("button",{type:"submit",disabled:o,className:"cursor-pointer w-full text-white px-8 py-4 rounded-lg transition-colors font-semibold disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",style:{backgroundColor:d},"aria-label":o?"Sending message":"Send contact message",children:o?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-5 h-5 border-2 border-white border-t-transparent rounded-full animate-spin"}),r("Sending...")]}):e.jsxs(e.Fragment,{children:[e.jsx(w,{className:"w-5 h-5"}),r("Send Message")]})})]})]})}),e.jsx("div",{children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:(s==null?void 0:s.info_title)||r("Contact Information")}),e.jsx("p",{className:"text-gray-600 mb-8",children:(s==null?void 0:s.info_description)||r("We're here to help and answer any questions you might have about managing your HR processes efficiently. We look forward to hearing from you.")})]}),e.jsx("div",{className:"space-y-6",children:p.map((l,m)=>{const i=l.icon;return e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center flex-shrink-0",style:{backgroundColor:`${d}15`},children:e.jsx(i,{className:"w-6 h-6",style:{color:d}})}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-lg font-semibold text-gray-900 mb-1",children:l.title}),e.jsx("p",{className:"text-gray-900 font-medium mb-1",children:l.content}),e.jsx("p",{className:"text-gray-600 text-sm",children:l.description})]})]},m)})}),(s==null?void 0:s.faqs)&&s.faqs.length>0&&e.jsxs("div",{className:"bg-white rounded-xl p-6 border border-gray-200",children:[e.jsx("h4",{className:"text-lg font-semibold text-gray-900 mb-4",children:r("Frequently Asked Questions")}),e.jsx("div",{className:"space-y-4",children:s.faqs.map((l,m)=>e.jsxs("div",{children:[e.jsx("h5",{className:"font-medium text-gray-900 mb-1",children:l.question}),e.jsx("p",{className:"text-gray-600 text-sm",children:l.answer})]},m))})]})]})})]})]})})}export{T as default}; diff --git a/public/build/assets/CookieConsentBanner-Do3n0EfV.js b/public/build/assets/CookieConsentBanner-dwye0O-l.js similarity index 98% rename from public/build/assets/CookieConsentBanner-Do3n0EfV.js rename to public/build/assets/CookieConsentBanner-dwye0O-l.js index be1e5a721..98194769f 100644 --- a/public/build/assets/CookieConsentBanner-Do3n0EfV.js +++ b/public/build/assets/CookieConsentBanner-dwye0O-l.js @@ -1 +1 @@ -import{r as v,j as e,z as B,B as $,E as K,F as V,I as W,S as Q,G as Y,L as Z}from"./ui-Z445SNHD.js";import{R as P}from"./react-country-flag.esm-Bs2jngHP.js";import{u as A,c as I,D as ee,h as te,j as se,k as ae,L as M,I as z,o as j,J as T,e as F,K as _,N as O,P as oe,O as U,Q as ne,r as q,R as J,a as re,C as G,X as H,T as ie,t as X}from"./app-CfhhiFAk.js";import{R as ce}from"./refresh-cw-DWorkL8J.js";import{G as le}from"./globe-DePi6jyA.js";import{S as de}from"./settings-BwhyNRyj.js";import{S as ue}from"./switch-CKduD2wX.js";function me({open:s,onOpenChange:l,onSuccess:c}){var o;const{t}=A(),{props:p}=I(),b=((o=p.globalSettings)==null?void 0:o.is_demo)||!1,[n,u]=v.useState({code:"",name:"",countryCode:""}),[x,D]=v.useState(!1),f=async d=>{var C;d.preventDefault(),D(!0);try{const y=await fetch(route("languages.create"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((C=document.querySelector('meta[name="csrf-token"]'))==null?void 0:C.getAttribute("content"))||"",Accept:"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify(n)}),h=await y.json();y.ok&&h.success?(T.success(h.message||t("Language created successfully")),u({code:"",name:"",countryCode:""}),l(!1),c==null||c(),window.location.reload()):(console.error("Create language error:",h),b&&h.message?T.error(h.message):T.error(h.error||t("Failed to create language")))}catch(y){console.error("Network error:",y),T.error(t("Failed to create language"))}finally{D(!1)}};return e.jsx(ee,{open:s,onOpenChange:l,children:e.jsxs(te,{className:"sm:max-w-md",children:[e.jsx(se,{children:e.jsx(ae,{children:t("Create Language")})}),e.jsxs("form",{onSubmit:f,className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(M,{htmlFor:"code",children:t("Language Code")}),e.jsx(z,{id:"code",placeholder:t("e.g., fr, de, ja"),value:n.code,onChange:d=>u({...n,code:d.target.value}),required:!0})]}),e.jsxs("div",{children:[e.jsx(M,{htmlFor:"name",children:t("Language Name")}),e.jsx(z,{id:"name",placeholder:t("e.g., Français, Deutsch, 日本語"),value:n.name,onChange:d=>u({...n,name:d.target.value}),required:!0})]}),e.jsxs("div",{children:[e.jsx(M,{htmlFor:"countryCode",children:t("Country Code")}),e.jsx(z,{id:"countryCode",placeholder:t("e.g., FR, DE, JP"),maxLength:2,value:n.countryCode,onChange:d=>u({...n,countryCode:d.target.value.toUpperCase()}),required:!0})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(j,{type:"button",variant:"outline",onClick:()=>l(!1),children:t("Cancel")}),e.jsx(j,{type:"submit",disabled:x,children:x?e.jsxs(e.Fragment,{children:[e.jsx(ce,{className:"h-4 w-4 animate-spin mr-2"}),t("Creating...")]}):t("Create Language")})]})]})]})})}function ge({...s}){return e.jsx(B,{"data-slot":"dropdown-menu",...s})}function fe({...s}){return e.jsx($,{"data-slot":"dropdown-menu-trigger",...s})}function pe({className:s,sideOffset:l=4,...c}){return e.jsx(K,{children:e.jsx(V,{"data-slot":"dropdown-menu-content",sideOffset:l,className:F("bg-popover text-popover-foreground 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md",s),...c})})}function he({...s}){return e.jsx(Y,{"data-slot":"dropdown-menu-group",...s})}function R({className:s,inset:l,variant:c="default",...t}){return e.jsx(W,{"data-slot":"dropdown-menu-item","data-inset":l,"data-variant":c,className:F("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",s),...t})}function Ne({className:s,inset:l,...c}){return e.jsx(Z,{"data-slot":"dropdown-menu-label","data-inset":l,className:F("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",s),...c})}function xe({className:s,...l}){return e.jsx(Q,{"data-slot":"dropdown-menu-separator",className:F("bg-border -mx-1 my-1 h-px",s),...l})}function De(){var g,N;const{i18n:s,t:l}=A(),{auth:c,globalSettings:t,userLanguage:p}=I().props,{setPosition:b}=_(),{updatePosition:n}=_(),[u,x]=v.useState(()=>{const a=((t==null?void 0:t.availableLanguages)||[]).filter(r=>r.enabled!==!1);if(p){const r=a.find(i=>i.code===p);if(r)return r}return a[0]||null}),[D,f]=v.useState(!1),o=(t==null?void 0:t.availableLanguages)||[],d=(t==null?void 0:t.is_saas)||!1,C=!!(c!=null&&c.user),y=((N=(g=c==null?void 0:c.user)==null?void 0:g.roles)==null?void 0:N.map(a=>a.name))||[],h=C&&O("superadmin",y),S=C&&O("company",y),m=d?h:S;v.useEffect(()=>{const a=(o||[]).filter(r=>r.enabled!==!1);if(p&&s.language!==p)s.changeLanguage(p,()=>{const r=a.find(i=>i.code===p)||a[0];x(r)});else{const r=a.find(i=>i.code===s.language)||a[0];x(r)}},[o,p]),v.useEffect(()=>{const a=(o||[]).filter(i=>i.enabled!==!1),r=a.find(i=>i.code===s.language)||a[0];x(r)},[s.language,o]);const k=["ar","he"],w=async a=>{const r=o.find(i=>i.code===a);if(r){x(r);try{await s.changeLanguage(a);const i=k.includes(a);let L;U()?L=i?"right":ne("layoutPosition")||"left":L=i?"right":(t==null?void 0:t.layoutDirection)||"left",document.documentElement.dir="ltr",document.documentElement.setAttribute("dir","ltr"),n(L),C&&!U()?q.post(route("languages.change"),{language:a},{preserveScroll:!0,onSuccess:()=>{(i||!i&&(t==null?void 0:t.layoutDirection)==="right")&&q.post(route("settings.brand.update"),{settings:{layoutDirection:L}},{preserveScroll:!0,onError:E=>{console.error("Failed to update layout direction:",E)}})},onError:E=>{console.error("Failed to change language:",E)}}):(J("app_language",a),J("layoutPosition",L)),window.dispatchEvent(new CustomEvent("languageChanged",{detail:{language:a,direction:L}})),window.dispatchEvent(new Event("resize"))}catch(i){console.error("Error changing language:",i)}}};return e.jsxs(e.Fragment,{children:[e.jsxs(ge,{children:[e.jsx(fe,{asChild:!0,children:e.jsxs(j,{variant:"ghost",className:"flex items-center gap-2 rounded-md border shadow-sm bg-white",children:[e.jsx(le,{className:"h-4 w-4"}),u&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-sm font-medium hidden md:inline-block",children:u.name}),e.jsx(P,{countryCode:u.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}})]})]})}),e.jsxs(pe,{className:"w-56",align:"end",forceMount:!0,children:[e.jsx(he,{children:e.jsx("div",{className:"max-h-48 overflow-y-auto",children:(o||[]).filter(a=>a.enabled!==!1).map(a=>e.jsxs(R,{onClick:()=>w(a.code),className:`flex items-center gap-2 ${(u==null?void 0:u.code)===a.code?"bg-accent":""}`,children:[e.jsx(P,{countryCode:a.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}}),e.jsx("span",{children:a.name})]},a.code))})}),m&&e.jsxs(e.Fragment,{children:[e.jsx(xe,{}),e.jsxs(R,{onClick:()=>f(!0),className:"justify-center text-primary font-semibold cursor-pointer",children:[e.jsx(oe,{className:"h-4 w-4 mr-2"}),l("Create Language")]}),e.jsx(R,{asChild:!0,className:"justify-center text-primary font-semibold cursor-pointer",children:e.jsxs("a",{href:route("manage-language"),rel:"noopener noreferrer",children:[e.jsx(de,{className:"h-4 w-4 mr-2"}),l("Manage Language")]})})]})]})]}),e.jsx(me,{open:D,onOpenChange:f,onSuccess:()=>f(!1)})]})}function Le(){const{t:s}=A(),{props:l}=I(),[c,t]=v.useState(!1),[p,b]=v.useState(!1),[n,u]=v.useState(!1),{themeColor:x,customColor:D}=re(),f=x==="custom"?D:ie[x],o=l.globalSettings||{},d={cookieTitle:o.cookieTitle||"Cookie Consent",cookieDescription:o.cookieDescription||"We use cookies to enhance your browsing experience and provide personalized content.",strictlyCookieTitle:o.strictlyCookieTitle||"Strictly Necessary Cookies",strictlyCookieDescription:o.strictlyCookieDescription||"These cookies are essential for the website to function properly.",contactUsDescription:o.contactUsDescription||"If you have any questions about our cookie policy, please contact us.",contactUsUrl:o.contactUsUrl||"#"};v.useEffect(()=>{var N,a;const m=o.enableLogging==="1"||o.enableLogging===1||o.enableLogging===!0,k=o.is_demo==="1"||o.is_demo===1||o.is_demo===!0,w=window.location.pathname==="/dashboard"||window.location.pathname.includes("/dashboard"),g=(a=(N=l.auth)==null?void 0:N.user)==null?void 0:a.type;if(m){if(k&&(!w||g!=="company"))return;localStorage.getItem("cookie-consent")||t(!0)}},[]);const C=async()=>{try{const m=new AbortController,k=setTimeout(()=>m.abort(),5e3),w=await fetch("https://ipapi.co/json/",{signal:m.signal,headers:{Accept:"application/json"}});if(clearTimeout(k),!w.ok)throw new Error(`HTTP error! status: ${w.status}`);const g=await w.json();return{ip:g.ip||"unknown",country:g.country_name||"unknown",city:g.city||"unknown",region:g.region||"unknown",...g}}catch(m){return console.warn("Failed to get location data:",m.message),{ip:"unknown",country:"unknown",city:"unknown",region:"unknown",error:m.message||"Location fetch failed"}}},y=async(m,k)=>{var w;try{const g=await C(),N={...k,timestamp:new Date().toISOString(),consentType:m,userAgent:navigator.userAgent||"unknown",language:navigator.language||"unknown",url:window.location.href,...g};localStorage.setItem("cookie-consent",JSON.stringify({accepted:!0,timestamp:Date.now()}));const a=(w=document.querySelector('meta[name="csrf-token"]'))==null?void 0:w.getAttribute("content");if(!a){console.warn("CSRF token not found");return}const r=await fetch(route("cookie.consent.store"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":a,Accept:"application/json"},body:JSON.stringify(N)});if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);if(!(await r.json()).success)throw new Error("Server returned error")}catch(g){throw console.error("Failed to save cookie consent:",g),localStorage.setItem("cookie-consent",JSON.stringify({accepted:!0,timestamp:Date.now()})),g}},h=async()=>{if(!n){u(!0);try{await y("accept_all",{necessary:!0,analytics:!0,marketing:!0}),t(!1)}catch{X.error(s("Failed to save cookie preferences"))}finally{u(!1)}}},S=async()=>{if(!n){u(!0);try{await y("necessary_only",{necessary:!0,analytics:!1,marketing:!1}),t(!1)}catch{X.error(s("Failed to save cookie preferences"))}finally{u(!1)}}};return c?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"fixed bottom-4 left-1/2 transform -translate-x-1/2 z-50 max-w-md w-full mx-4",children:e.jsxs(G,{className:"p-4 shadow-lg border",children:[e.jsxs("div",{className:"flex justify-between items-start mb-3",children:[e.jsx("h3",{className:"font-semibold text-sm",children:d.cookieTitle}),e.jsx(j,{variant:"ghost",size:"sm",onClick:()=>t(!1),className:"h-6 w-6 p-0",children:e.jsx(H,{className:"h-4 w-4"})})]}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:d.cookieDescription}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsx(j,{onClick:h,size:"sm",className:"flex-1 text-white hover:opacity-90",style:{backgroundColor:f},disabled:n,children:s(n?"Saving...":"Accept All")}),e.jsx(j,{onClick:S,variant:"outline",size:"sm",className:"flex-1",style:{borderColor:f,color:f},disabled:n,children:s(n?"Saving...":"Necessary Only")})]}),e.jsx(j,{onClick:()=>b(!0),variant:"ghost",size:"sm",className:"text-sm underline",children:s("Let me choose")})]}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-2",children:[d.contactUsDescription," ",e.jsx("a",{href:d.contactUsUrl,className:"underline",children:s("Contact us")})]})]})}),p&&e.jsx("div",{className:"fixed inset-0 z-[60] flex items-center justify-center p-4",children:e.jsx(G,{className:"w-full max-w-md max-h-[80vh] overflow-y-auto",children:e.jsxs("div",{className:"p-6",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4",children:[e.jsx("h3",{className:"text-lg font-semibold",children:d.cookieTitle}),e.jsx(j,{variant:"ghost",size:"sm",onClick:()=>b(!1),className:"h-6 w-6 p-0",children:e.jsx(H,{className:"h-4 w-4"})})]}),e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("h4",{className:"font-medium text-sm",children:d.strictlyCookieTitle}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:d.strictlyCookieDescription})]}),e.jsx(ue,{checked:!0,disabled:!0})]})}),e.jsxs("div",{className:"flex gap-2 mt-6",children:[e.jsx(j,{onClick:async()=>{await S(),b(!1)},variant:"outline",size:"sm",className:"flex-1",style:{borderColor:f,color:f},disabled:n,children:s(n?"Saving...":"Save Preferences")}),e.jsx(j,{onClick:async()=>{await h(),b(!1)},size:"sm",className:"flex-1 text-white hover:opacity-90",style:{backgroundColor:f},disabled:n,children:s(n?"Saving...":"Accept All")})]})]})})})]}):null}export{Le as C,ge as D,De as L,fe as a,pe as b,R as c,xe as d,Ne as e,he as f}; +import{r as v,j as e,z as B,B as $,E as K,F as V,I as W,S as Q,G as Y,L as Z}from"./ui-Z445SNHD.js";import{R as P}from"./react-country-flag.esm-Bs2jngHP.js";import{u as A,c as I,D as ee,h as te,j as se,k as ae,L as M,I as z,o as j,J as T,e as F,K as _,N as O,P as oe,O as U,Q as ne,r as q,R as J,a as re,C as G,X as H,T as ie,t as X}from"./app-Dya84jp7.js";import{R as ce}from"./refresh-cw-D_C_cDSu.js";import{G as le}from"./globe-5zZ4IsmY.js";import{S as de}from"./settings-amvA_CjN.js";import{S as ue}from"./switch-DyHgm-Sg.js";function me({open:s,onOpenChange:l,onSuccess:c}){var o;const{t}=A(),{props:p}=I(),b=((o=p.globalSettings)==null?void 0:o.is_demo)||!1,[n,u]=v.useState({code:"",name:"",countryCode:""}),[x,D]=v.useState(!1),f=async d=>{var C;d.preventDefault(),D(!0);try{const y=await fetch(route("languages.create"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((C=document.querySelector('meta[name="csrf-token"]'))==null?void 0:C.getAttribute("content"))||"",Accept:"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify(n)}),h=await y.json();y.ok&&h.success?(T.success(h.message||t("Language created successfully")),u({code:"",name:"",countryCode:""}),l(!1),c==null||c(),window.location.reload()):(console.error("Create language error:",h),b&&h.message?T.error(h.message):T.error(h.error||t("Failed to create language")))}catch(y){console.error("Network error:",y),T.error(t("Failed to create language"))}finally{D(!1)}};return e.jsx(ee,{open:s,onOpenChange:l,children:e.jsxs(te,{className:"sm:max-w-md",children:[e.jsx(se,{children:e.jsx(ae,{children:t("Create Language")})}),e.jsxs("form",{onSubmit:f,className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(M,{htmlFor:"code",children:t("Language Code")}),e.jsx(z,{id:"code",placeholder:t("e.g., fr, de, ja"),value:n.code,onChange:d=>u({...n,code:d.target.value}),required:!0})]}),e.jsxs("div",{children:[e.jsx(M,{htmlFor:"name",children:t("Language Name")}),e.jsx(z,{id:"name",placeholder:t("e.g., Français, Deutsch, 日本語"),value:n.name,onChange:d=>u({...n,name:d.target.value}),required:!0})]}),e.jsxs("div",{children:[e.jsx(M,{htmlFor:"countryCode",children:t("Country Code")}),e.jsx(z,{id:"countryCode",placeholder:t("e.g., FR, DE, JP"),maxLength:2,value:n.countryCode,onChange:d=>u({...n,countryCode:d.target.value.toUpperCase()}),required:!0})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(j,{type:"button",variant:"outline",onClick:()=>l(!1),children:t("Cancel")}),e.jsx(j,{type:"submit",disabled:x,children:x?e.jsxs(e.Fragment,{children:[e.jsx(ce,{className:"h-4 w-4 animate-spin mr-2"}),t("Creating...")]}):t("Create Language")})]})]})]})})}function ge({...s}){return e.jsx(B,{"data-slot":"dropdown-menu",...s})}function fe({...s}){return e.jsx($,{"data-slot":"dropdown-menu-trigger",...s})}function pe({className:s,sideOffset:l=4,...c}){return e.jsx(K,{children:e.jsx(V,{"data-slot":"dropdown-menu-content",sideOffset:l,className:F("bg-popover text-popover-foreground 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md",s),...c})})}function he({...s}){return e.jsx(Y,{"data-slot":"dropdown-menu-group",...s})}function R({className:s,inset:l,variant:c="default",...t}){return e.jsx(W,{"data-slot":"dropdown-menu-item","data-inset":l,"data-variant":c,className:F("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",s),...t})}function Ne({className:s,inset:l,...c}){return e.jsx(Z,{"data-slot":"dropdown-menu-label","data-inset":l,className:F("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",s),...c})}function xe({className:s,...l}){return e.jsx(Q,{"data-slot":"dropdown-menu-separator",className:F("bg-border -mx-1 my-1 h-px",s),...l})}function De(){var g,N;const{i18n:s,t:l}=A(),{auth:c,globalSettings:t,userLanguage:p}=I().props,{setPosition:b}=_(),{updatePosition:n}=_(),[u,x]=v.useState(()=>{const a=((t==null?void 0:t.availableLanguages)||[]).filter(r=>r.enabled!==!1);if(p){const r=a.find(i=>i.code===p);if(r)return r}return a[0]||null}),[D,f]=v.useState(!1),o=(t==null?void 0:t.availableLanguages)||[],d=(t==null?void 0:t.is_saas)||!1,C=!!(c!=null&&c.user),y=((N=(g=c==null?void 0:c.user)==null?void 0:g.roles)==null?void 0:N.map(a=>a.name))||[],h=C&&O("superadmin",y),S=C&&O("company",y),m=d?h:S;v.useEffect(()=>{const a=(o||[]).filter(r=>r.enabled!==!1);if(p&&s.language!==p)s.changeLanguage(p,()=>{const r=a.find(i=>i.code===p)||a[0];x(r)});else{const r=a.find(i=>i.code===s.language)||a[0];x(r)}},[o,p]),v.useEffect(()=>{const a=(o||[]).filter(i=>i.enabled!==!1),r=a.find(i=>i.code===s.language)||a[0];x(r)},[s.language,o]);const k=["ar","he"],w=async a=>{const r=o.find(i=>i.code===a);if(r){x(r);try{await s.changeLanguage(a);const i=k.includes(a);let L;U()?L=i?"right":ne("layoutPosition")||"left":L=i?"right":(t==null?void 0:t.layoutDirection)||"left",document.documentElement.dir="ltr",document.documentElement.setAttribute("dir","ltr"),n(L),C&&!U()?q.post(route("languages.change"),{language:a},{preserveScroll:!0,onSuccess:()=>{(i||!i&&(t==null?void 0:t.layoutDirection)==="right")&&q.post(route("settings.brand.update"),{settings:{layoutDirection:L}},{preserveScroll:!0,onError:E=>{console.error("Failed to update layout direction:",E)}})},onError:E=>{console.error("Failed to change language:",E)}}):(J("app_language",a),J("layoutPosition",L)),window.dispatchEvent(new CustomEvent("languageChanged",{detail:{language:a,direction:L}})),window.dispatchEvent(new Event("resize"))}catch(i){console.error("Error changing language:",i)}}};return e.jsxs(e.Fragment,{children:[e.jsxs(ge,{children:[e.jsx(fe,{asChild:!0,children:e.jsxs(j,{variant:"ghost",className:"flex items-center gap-2 rounded-md border shadow-sm bg-white",children:[e.jsx(le,{className:"h-4 w-4"}),u&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-sm font-medium hidden md:inline-block",children:u.name}),e.jsx(P,{countryCode:u.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}})]})]})}),e.jsxs(pe,{className:"w-56",align:"end",forceMount:!0,children:[e.jsx(he,{children:e.jsx("div",{className:"max-h-48 overflow-y-auto",children:(o||[]).filter(a=>a.enabled!==!1).map(a=>e.jsxs(R,{onClick:()=>w(a.code),className:`flex items-center gap-2 ${(u==null?void 0:u.code)===a.code?"bg-accent":""}`,children:[e.jsx(P,{countryCode:a.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}}),e.jsx("span",{children:a.name})]},a.code))})}),m&&e.jsxs(e.Fragment,{children:[e.jsx(xe,{}),e.jsxs(R,{onClick:()=>f(!0),className:"justify-center text-primary font-semibold cursor-pointer",children:[e.jsx(oe,{className:"h-4 w-4 mr-2"}),l("Create Language")]}),e.jsx(R,{asChild:!0,className:"justify-center text-primary font-semibold cursor-pointer",children:e.jsxs("a",{href:route("manage-language"),rel:"noopener noreferrer",children:[e.jsx(de,{className:"h-4 w-4 mr-2"}),l("Manage Language")]})})]})]})]}),e.jsx(me,{open:D,onOpenChange:f,onSuccess:()=>f(!1)})]})}function Le(){const{t:s}=A(),{props:l}=I(),[c,t]=v.useState(!1),[p,b]=v.useState(!1),[n,u]=v.useState(!1),{themeColor:x,customColor:D}=re(),f=x==="custom"?D:ie[x],o=l.globalSettings||{},d={cookieTitle:o.cookieTitle||"Cookie Consent",cookieDescription:o.cookieDescription||"We use cookies to enhance your browsing experience and provide personalized content.",strictlyCookieTitle:o.strictlyCookieTitle||"Strictly Necessary Cookies",strictlyCookieDescription:o.strictlyCookieDescription||"These cookies are essential for the website to function properly.",contactUsDescription:o.contactUsDescription||"If you have any questions about our cookie policy, please contact us.",contactUsUrl:o.contactUsUrl||"#"};v.useEffect(()=>{var N,a;const m=o.enableLogging==="1"||o.enableLogging===1||o.enableLogging===!0,k=o.is_demo==="1"||o.is_demo===1||o.is_demo===!0,w=window.location.pathname==="/dashboard"||window.location.pathname.includes("/dashboard"),g=(a=(N=l.auth)==null?void 0:N.user)==null?void 0:a.type;if(m){if(k&&(!w||g!=="company"))return;localStorage.getItem("cookie-consent")||t(!0)}},[]);const C=async()=>{try{const m=new AbortController,k=setTimeout(()=>m.abort(),5e3),w=await fetch("https://ipapi.co/json/",{signal:m.signal,headers:{Accept:"application/json"}});if(clearTimeout(k),!w.ok)throw new Error(`HTTP error! status: ${w.status}`);const g=await w.json();return{ip:g.ip||"unknown",country:g.country_name||"unknown",city:g.city||"unknown",region:g.region||"unknown",...g}}catch(m){return console.warn("Failed to get location data:",m.message),{ip:"unknown",country:"unknown",city:"unknown",region:"unknown",error:m.message||"Location fetch failed"}}},y=async(m,k)=>{var w;try{const g=await C(),N={...k,timestamp:new Date().toISOString(),consentType:m,userAgent:navigator.userAgent||"unknown",language:navigator.language||"unknown",url:window.location.href,...g};localStorage.setItem("cookie-consent",JSON.stringify({accepted:!0,timestamp:Date.now()}));const a=(w=document.querySelector('meta[name="csrf-token"]'))==null?void 0:w.getAttribute("content");if(!a){console.warn("CSRF token not found");return}const r=await fetch(route("cookie.consent.store"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":a,Accept:"application/json"},body:JSON.stringify(N)});if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);if(!(await r.json()).success)throw new Error("Server returned error")}catch(g){throw console.error("Failed to save cookie consent:",g),localStorage.setItem("cookie-consent",JSON.stringify({accepted:!0,timestamp:Date.now()})),g}},h=async()=>{if(!n){u(!0);try{await y("accept_all",{necessary:!0,analytics:!0,marketing:!0}),t(!1)}catch{X.error(s("Failed to save cookie preferences"))}finally{u(!1)}}},S=async()=>{if(!n){u(!0);try{await y("necessary_only",{necessary:!0,analytics:!1,marketing:!1}),t(!1)}catch{X.error(s("Failed to save cookie preferences"))}finally{u(!1)}}};return c?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"fixed bottom-4 left-1/2 transform -translate-x-1/2 z-50 max-w-md w-full mx-4",children:e.jsxs(G,{className:"p-4 shadow-lg border",children:[e.jsxs("div",{className:"flex justify-between items-start mb-3",children:[e.jsx("h3",{className:"font-semibold text-sm",children:d.cookieTitle}),e.jsx(j,{variant:"ghost",size:"sm",onClick:()=>t(!1),className:"h-6 w-6 p-0",children:e.jsx(H,{className:"h-4 w-4"})})]}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:d.cookieDescription}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsx(j,{onClick:h,size:"sm",className:"flex-1 text-white hover:opacity-90",style:{backgroundColor:f},disabled:n,children:s(n?"Saving...":"Accept All")}),e.jsx(j,{onClick:S,variant:"outline",size:"sm",className:"flex-1",style:{borderColor:f,color:f},disabled:n,children:s(n?"Saving...":"Necessary Only")})]}),e.jsx(j,{onClick:()=>b(!0),variant:"ghost",size:"sm",className:"text-sm underline",children:s("Let me choose")})]}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-2",children:[d.contactUsDescription," ",e.jsx("a",{href:d.contactUsUrl,className:"underline",children:s("Contact us")})]})]})}),p&&e.jsx("div",{className:"fixed inset-0 z-[60] flex items-center justify-center p-4",children:e.jsx(G,{className:"w-full max-w-md max-h-[80vh] overflow-y-auto",children:e.jsxs("div",{className:"p-6",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4",children:[e.jsx("h3",{className:"text-lg font-semibold",children:d.cookieTitle}),e.jsx(j,{variant:"ghost",size:"sm",onClick:()=>b(!1),className:"h-6 w-6 p-0",children:e.jsx(H,{className:"h-4 w-4"})})]}),e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("h4",{className:"font-medium text-sm",children:d.strictlyCookieTitle}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:d.strictlyCookieDescription})]}),e.jsx(ue,{checked:!0,disabled:!0})]})}),e.jsxs("div",{className:"flex gap-2 mt-6",children:[e.jsx(j,{onClick:async()=>{await S(),b(!1)},variant:"outline",size:"sm",className:"flex-1",style:{borderColor:f,color:f},disabled:n,children:s(n?"Saving...":"Save Preferences")}),e.jsx(j,{onClick:async()=>{await h(),b(!1)},size:"sm",className:"flex-1 text-white hover:opacity-90",style:{backgroundColor:f},disabled:n,children:s(n?"Saving...":"Accept All")})]})]})})})]}):null}export{Le as C,ge as D,De as L,fe as a,pe as b,R as c,xe as d,Ne as e,he as f}; diff --git a/public/build/assets/CrudDeleteModal-CKTiD3_K.js b/public/build/assets/CrudDeleteModal-D32N6I8y.js similarity index 90% rename from public/build/assets/CrudDeleteModal-CKTiD3_K.js rename to public/build/assets/CrudDeleteModal-D32N6I8y.js index 3195fc7c9..34c523f51 100644 --- a/public/build/assets/CrudDeleteModal-CKTiD3_K.js +++ b/public/build/assets/CrudDeleteModal-D32N6I8y.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as r,D as c,h as d,j as u,k as h,p as j,q as x,o as a}from"./app-CfhhiFAk.js";function p({isOpen:o,onClose:n,onConfirm:i,itemName:l,entityName:t}){const{t:s}=r();return e.jsx(c,{open:o,onOpenChange:n,children:e.jsxs(d,{className:"sm:max-w-md",children:[e.jsxs(u,{children:[e.jsxs(h,{children:[s("Delete")," ",t]}),e.jsxs(j,{children:[s("Are you sure you want to delete")," ",l||`this ${t}`,"? ",s("This action cannot be undone.")]})]}),e.jsxs(x,{className:"sm:justify-end",children:[e.jsx(a,{type:"button",variant:"outline",onClick:n,children:s("Cancel")}),e.jsx(a,{type:"button",variant:"destructive",onClick:i,children:s("Delete")})]})]})})}export{p as C}; +import{j as e}from"./ui-Z445SNHD.js";import{u as r,D as c,h as d,j as u,k as h,p as j,q as x,o as a}from"./app-Dya84jp7.js";function p({isOpen:o,onClose:n,onConfirm:i,itemName:l,entityName:t}){const{t:s}=r();return e.jsx(c,{open:o,onOpenChange:n,children:e.jsxs(d,{className:"sm:max-w-md",children:[e.jsxs(u,{children:[e.jsxs(h,{children:[s("Delete")," ",t]}),e.jsxs(j,{children:[s("Are you sure you want to delete")," ",l||`this ${t}`,"? ",s("This action cannot be undone.")]})]}),e.jsxs(x,{className:"sm:justify-end",children:[e.jsx(a,{type:"button",variant:"outline",onClick:n,children:s("Cancel")}),e.jsx(a,{type:"button",variant:"destructive",onClick:i,children:s("Delete")})]})]})})}export{p as C}; diff --git a/public/build/assets/CrudFormModal-DAR9q-oM.js b/public/build/assets/CrudFormModal-CsuqSfb2.js similarity index 97% rename from public/build/assets/CrudFormModal-DAR9q-oM.js rename to public/build/assets/CrudFormModal-CsuqSfb2.js index a30e26d4a..921555dc7 100644 --- a/public/build/assets/CrudFormModal-DAR9q-oM.js +++ b/public/build/assets/CrudFormModal-CsuqSfb2.js @@ -1 +1 @@ -import{r as w,j as t,R as oe}from"./ui-Z445SNHD.js";import{c as xe,L as z,I as Z,u as he,D as ge,h as be,j as ye,k as je,p as ve,q as we,o as f,M as Se}from"./app-CfhhiFAk.js";import{T as Ne}from"./textarea-kpRjGGLz.js";import{S as Fe,a as Ce,b as Me,c as Oe,d as se}from"./select-BrY9osYp.js";import{R as Ae,a as Ee}from"./radio-group-CLGfOEmR.js";import{C as $e}from"./checkbox-1_Cig_g5.js";import{S as ke}from"./switch-CKduD2wX.js";import{M as qe}from"./multi-select-field-Dxyl0jtB.js";import{S as Le}from"./scroll-area-Dxv7Ysgl.js";import{u as Ve,c as Pe,l as Ie,a as Te,e as Re,M as ze,T as De,L as B,b as re}from"./leaflet-ChJqBZBV.js";import{L as He}from"./locate-fixed-DbvcuJ_9.js";function Ue({fields:s,values:h,onChange:y,disabled:p=!1}){const{base_url:x}=xe().props,[v,o]=w.useState(()=>{const l={};return s.forEach((n,b)=>{b===0?l[n.name]=n.options||[]:l[n.name]=[]}),l}),[j,g]=w.useState({}),A=async(l,n)=>{var b;if(!l.apiEndpoint)return[];g(c=>({...c,[l.name]:!0}));try{let c=l.apiEndpoint;if(n){const d=encodeURIComponent(String(n)),i=(b=s[s.indexOf(l)-1])==null?void 0:b.name;i&&(c=c.replace(`{${i}}`,d))}const F=await fetch(`${x}${c}`);if(!F.ok)throw new Error(`HTTP error! status: ${F.status}`);const C=await F.json();return Array.isArray(C)?C.map(d=>({value:String(d.id||d.value||""),label:String(d.name||d.label||"Unknown")})):[]}catch{return[]}finally{g(c=>({...c,[l.name]:!1}))}};w.useEffect(()=>{(async()=>{const n={};for(let b=0;b{s.slice(b+1).forEach(i=>{y(i.name,"")});const c=s.find(i=>i.name===l),C=(v[l]||(c==null?void 0:c.options)||[]).find(i=>String(i.value)===String(n)),E=C?{id:n,name:C.label}:null,d=s[b+1];if(d&&n){if(d.apiEndpoint){const i=await A(d,n);o($=>({...$,[d.name]:i})),d.selectFirstOption&&i.length>0&&setTimeout(()=>{y(d.name,i[0].value)},100),y(l,n,{selectedInfo:E,loadedOptions:i});return}else if(d.dependencies){const i=d.dependencies[n]||[];o($=>({...$,[d.name]:i})),y(l,n,{selectedInfo:E,loadedOptions:i});return}}y(l,n,{selectedInfo:E,loadedOptions:[]})};return t.jsx("div",{className:"space-y-4",children:s.map((l,n)=>{const b=n===0,c=b?null:s[n-1],F=p||!b&&!h[c.name],C=v[l.name]||[],E=j[l.name];return t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:l.label}),t.jsxs("select",{value:h[l.name]||"",onChange:d=>L(l.name,d.target.value,n),disabled:F||E||l.disabled,className:"flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",children:[t.jsx("option",{value:"",className:"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none text-muted-foreground",children:E?"Loading...":`Select ${l.label.toLowerCase()}`}),C.map(d=>t.jsx("option",{value:d.value,className:"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",children:d.label},d.value))]})]},l.name)})})}function Ge(s,h,y){h.center!==y.center&&s.setLatLng(h.center),h.radius!=null&&h.radius!==y.radius&&s.setRadius(h.radius)}function _e(){return Ve().map}function Be(s){const h=_e();return w.useEffect(function(){return h.on(s),function(){h.off(s)}},[h,s]),h}const We=Pe(function({center:h,children:y,...p},x){const v=new Ie.Circle(h,p);return Te(v,Re(x,{overlayContainer:v}))},Ge);delete B.Icon.Default.prototype._getIconUrl;B.Icon.Default.mergeOptions({iconRetinaUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon-2x.png",iconUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png",shadowUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-shadow.png"});function Qe({position:s,radius:h,onPositionChange:y,onRadiusChange:p}){const[x,v]=w.useState(null);Be({click(j){y&&y(j.latlng.lat,j.latlng.lng)}}),w.useEffect(()=>{if(s&&h){const j=B.latLng(s),g=h/(111320*Math.cos(j.lat*Math.PI/180));v(B.latLng(j.lat,j.lng+g))}else v(null)},[s,h]);const o=j=>{if(s&&p){const A=B.latLng(s).distanceTo(j.latlng);p(Math.round(A))}};return s===null?null:t.jsxs(t.Fragment,{children:[t.jsx(re,{position:s}),t.jsx(We,{center:s,radius:h,pathOptions:{color:"blue",fillColor:"blue",fillOpacity:.2}}),x&&t.jsx(re,{position:x,draggable:!0,eventHandlers:{drag:o,dragend:o},icon:B.divIcon({className:"custom-handle-icon",html:'

',iconSize:[12,12],iconAnchor:[6,6]})})]})}function Ye({latitude:s,longitude:h,radius:y,onChange:p,disabled:x}){const v=oe.useRef(null),[o,j]=w.useState(!1),[g,A]=w.useState(s&&h?[s,h]:null),[L,l]=w.useState(y||100);w.useEffect(()=>{s&&h&&A([s,h])},[s,h]),w.useEffect(()=>{y&&l(y)},[y]);const n=(d,i)=>{x||(A([d,i]),p(d,i,L))},b=d=>{if(!x&&(l(d),g)){const i=Array.isArray(g)?g[0]:g.lat,$=Array.isArray(g)?g[1]:g.lng;p(i,$,d)}},c=d=>{if(x)return;const i=Number(d.target.value);b(i)},F=()=>{x||(A(null),p(null,null,L))},C=()=>{j(!0),navigator.geolocation.getCurrentPosition(d=>{const{latitude:i,longitude:$}=d.coords;v.current&&v.current.flyTo([i,$],15),n(i,$),j(!1)},d=>{console.error("Geolocation error:",d),j(!1)},{enableHighAccuracy:!0})},E=[51.505,-.09];return t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx(z,{children:"Branch Location"}),!x&&g&&t.jsx("button",{type:"button",onClick:F,className:"text-xs text-red-500 hover:underline",children:"Clear Location"})]}),t.jsxs("div",{className:"h-[300px] w-full rounded-md border border-gray-300 overflow-hidden relative z-0",children:[!x&&t.jsx("button",{type:"button",onClick:C,title:"Find My Location",disabled:o,className:"absolute top-2 right-2 z-10 bg-white hover:bg-gray-100 text-gray-700 p-2 rounded shadow-md border border-gray-300 flex items-center justify-center transition-colors disabled:opacity-50",children:t.jsx(He,{className:`h-5 w-5 ${o?"animate-pulse text-blue-500":""}`})}),t.jsxs(ze,{ref:v,center:g||E,zoom:13,scrollWheelZoom:!0,style:{height:"100%",width:"100%",zIndex:0},children:[t.jsx(De,{attribution:'© OpenStreetMap contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),t.jsx(Qe,{position:g,radius:L,onPositionChange:n,onRadiusChange:b})]})]}),t.jsxs("div",{className:"flex gap-4",children:[t.jsxs("div",{className:"w-1/3",children:[t.jsx(z,{className:"text-xs",children:"Radius (meters)"}),t.jsx(Z,{type:"number",value:L,onChange:c,disabled:x||!g,min:10,step:10})]}),t.jsx("div",{className:"w-2/3 flex items-end",children:t.jsx("p",{className:"text-xs text-gray-500 mb-2",children:"Drag the blue dot on the circle edge to adjust radius, or enter meters manually."})})]})]})}function Ze({field:s,dateValue:h,handleChange:y,errors:p,mode:x}){const v=oe.useRef(null),o=()=>{var j,g;if(!s.disabled&&x!=="view"&&v.current)try{(g=(j=v.current).showPicker)==null||g.call(j)}catch{v.current.focus()}};return t.jsx("div",{className:"relative cursor-pointer",onClick:o,children:t.jsx("input",{ref:v,id:s.name,name:s.name,type:"date",placeholder:s.placeholder,value:h,onChange:j=>y(s.name,j.target.value),required:!!s.required,className:`border-input flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-primary md:text-sm cursor-pointer disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 ${p[s.name]?"border-red-500":""}`,disabled:s.disabled||x==="view",readOnly:s.readOnly})})}function lt({isOpen:s,onClose:h,onSubmit:y,formConfig:p,initialData:x={},title:v,mode:o,description:j,errors:g={},submitButtonText:A,onEdit:L}){const{t:l}=he(),[n,b]=w.useState({}),[c,F]=w.useState({}),[C,E]=w.useState({}),d=()=>{if(!p.priceSummary)return 0;const e=n[p.priceSummary.quantityFieldName||"quantity"]||p.priceSummary.quantity||1;return p.priceSummary.unitPrice*e};w.useEffect(()=>{if(s){const e={...x};p.fields.forEach(m=>{m.type==="multi-select"&&e[m.name]&&!Array.isArray(e[m.name])&&(e[m.name]=Array.isArray(e[m.name])?e[m.name]:e[m.name]?[e[m.name].toString()]:[]),o==="create"&&(e[m.name]===void 0||e[m.name]===null)&&m.defaultValue!==void 0&&(e[m.name]=m.defaultValue)}),b(e||{}),F({}),p.fields.forEach(m=>{m.relation&&m.relation.endpoint&&fetch(m.relation.endpoint).then(r=>r.json()).then(r=>{E(M=>({...M,[m.name]:Array.isArray(r)?r:r.data||[]}))}).catch(r=>{})})}},[s,x,p.fields,o]),w.useEffect(()=>{if(g&&Object.keys(g).length>0){const e={};Object.entries(g).forEach(([m,r])=>{e[m]=Array.isArray(r)?r[0]:r}),F(e)}},[g]);const i=(e,m)=>{b(r=>({...r,[e]:m})),c[e]&&F(r=>{const M={...r};return delete M[e],M})},$=e=>{e.preventDefault();const m={...n};p.fields.forEach(u=>{u.type==="multi-select"&&m[u.name]&&(Array.isArray(m[u.name])||(m[u.name]=[m[u.name].toString()]))}),b(m);const r={};if(p.fields.forEach(u=>{if(u.type==="file"&&o==="edit")return;const Q=u.conditional?u.conditional(o,n):!0,D=n[u.name],H=D==null||D==="";if((typeof u.required=="function"?u.required(n):u.required)&&Q&&H&&(r[u.name]=`${u.label} is required`),u.type==="file"&&n[u.name]&&u.fileValidation){const q=n[u.name];if(u.fileValidation.maxSize&&q.size>u.fileValidation.maxSize){const k=u.fileValidation.maxSize/1048576;r[u.name]=`File size must be less than ${k}MB`}if(u.fileValidation.mimeTypes&&u.fileValidation.mimeTypes.length>0&&(u.fileValidation.mimeTypes.includes(q.type)||(r[u.name]=`File type must be one of: ${u.fileValidation.mimeTypes.join(", ")}`)),u.fileValidation.extensions&&u.fileValidation.extensions.length>0){const k=q.name,U=k.substring(k.lastIndexOf(".")).toLowerCase();u.fileValidation.extensions.includes(U)||(r[u.name]=`File extension must be one of: ${u.fileValidation.extensions.join(", ")}`)}}}),Object.keys(r).length>0){F(r);return}const M={...n};p.fields.forEach(u=>{u.type==="multi-select"&&M[u.name]&&(Array.isArray(M[u.name])||(M[u.name]=[M[u.name].toString()]))}),y(M)},J=e=>{var m,r,M,u,Q,D;if(e.conditional&&!e.conditional(o,n))return null;if(e.render)return e.render(e,n,i);if(o==="view"){if(e.type==="multi-select"){const T=(Array.isArray(n[e.name])?n[e.name]:[]).map(q=>{var U;const k=(U=e.options)==null?void 0:U.find(K=>K.value===q);return k?k.label:q}).join(", ");return t.jsx("div",{className:"p-2 border rounded-md bg-gray-50",children:T||"-"})}return t.jsx("div",{className:"p-2 border rounded-md bg-gray-50",children:e.type==="select"&&e.options?((m=e.options.find(H=>H.value===String(n[e.name])))==null?void 0:m.label)||n[e.name]||"-":e.type==="checkbox"?n[e.name]===!0||n[e.name]===1||n[e.name]==="1"?l("Yes"):l("No"):n[e.name]||"-"})}switch(e.type){case"text":case"email":case"password":case"color":return t.jsx(Z,{id:e.name,name:e.name,type:e.type,placeholder:e.placeholder,value:n[e.name]??"",onChange:a=>i(e.name,a.target.value),required:e.required,className:c[e.name]?"border-red-500":"",disabled:e.disabled||o==="view",readOnly:e.readOnly});case"time":{const a=n[e.name]??"",P=e.disabled||o==="view",W=!!c[e.name];let I="",G="",V="AM";if(a&&a.includes(":")){const[N,O]=a.split(":"),S=parseInt(N,10);G=O.padStart(2,"0"),S===0?(I="12",V="AM"):S===12?(I="12",V="PM"):S>12?(I=String(S-12).padStart(2,"0"),V="PM"):(I=String(S).padStart(2,"0"),V="AM")}const Y=(N,O,S)=>{if(!N||!O)return"";let _=parseInt(N,10);return S==="AM"&&_===12?_=0:S==="PM"&&_!==12&&(_+=12),`${String(_).padStart(2,"0")}:${O}`},R=(N,O)=>{const ae=Y(N==="hour"?O:I||"12",N==="minute"?O:G||"00",N==="period"?O:V);ae&&i(e.name,ae)},X=`h-9 rounded-md border bg-transparent px-2 py-1 text-sm shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-primary disabled:cursor-not-allowed disabled:opacity-50 ${W?"border-red-500":"border-input"}`;return t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsxs("select",{id:`${e.name}-hour`,value:I,onChange:N=>R("hour",N.target.value),disabled:P,className:`${X} w-[62px]`,children:[t.jsx("option",{value:"",children:l("HH")}),Array.from({length:12},(N,O)=>{const S=String(O+1).padStart(2,"0");return t.jsx("option",{value:S,children:S},S)})]}),t.jsx("span",{className:"text-gray-400 font-bold text-lg",children:":"}),t.jsxs("select",{id:`${e.name}-minute`,value:G,onChange:N=>R("minute",N.target.value),disabled:P,className:`${X} w-[62px]`,children:[t.jsx("option",{value:"",children:l("MM")}),Array.from({length:60},(N,O)=>{const S=String(O).padStart(2,"0");return t.jsx("option",{value:S,children:S},S)})]}),t.jsxs("select",{id:`${e.name}-period`,value:V,onChange:N=>R("period",N.target.value),disabled:P,className:`${X} w-[62px]`,children:[t.jsx("option",{value:"AM",children:"AM"}),t.jsx("option",{value:"PM",children:"PM"})]})]})}case"date":const H=n[e.name]?n[e.name]instanceof Date?n[e.name].toISOString().split("T")[0]:typeof n[e.name]=="string"&&n[e.name].includes("T")?n[e.name].split("T")[0]:n[e.name]:"";return t.jsx(Ze,{field:e,dateValue:H,handleChange:i,errors:c,mode:o});case"number":return t.jsx(Z,{id:e.name,name:e.name,type:"number",placeholder:e.placeholder,value:n[e.name]??"",onChange:a=>i(e.name,a.target.value!==""?parseFloat(a.target.value):""),required:e.required,className:c[e.name]?"border-red-500":"",disabled:e.disabled||o==="view",readOnly:e.readOnly});case"textarea":return t.jsx(Ne,{id:e.name,name:e.name,placeholder:e.placeholder,value:n[e.name]??"",onChange:a=>i(e.name,a.target.value),required:e.required,className:c[e.name]?"border-red-500":"",disabled:e.disabled||o==="view",readOnly:e.readOnly});case"select":const T=e.relation?C[e.name]||[]:e.options||[],q=String(n[e.name]||""),k=e.relation?T.find(a=>String(a[e.relation.valueField])===q):T.find(a=>String(a.value)===q),U=k?e.relation?k[e.relation.labelField]:k.label:"";return t.jsxs(Fe,{value:q,onValueChange:a=>i(e.name,a),disabled:o==="view",children:[t.jsx(Ce,{className:c[e.name]?"border-red-500":"",children:t.jsx(Me,{placeholder:e.placeholder||`Select ${e.label}`,children:U||e.placeholder||`Select ${e.label}`})}),t.jsx(Oe,{className:"z-[60000]",searchable:e.searchable,children:e.relation?T.map(a=>t.jsx(se,{value:String(a[e.relation.valueField]),children:a[e.relation.labelField]},a[e.relation.valueField])):T.map(a=>t.jsx(se,{value:String(a.value),children:a.label},a.value))})]});case"radio":return t.jsx(Ae,{value:n[e.name]||"",onValueChange:a=>i(e.name,a),disabled:o==="view",className:"flex gap-4",children:(r=e.options)==null?void 0:r.map(a=>t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx(Ee,{value:a.value,id:`${e.name}-${a.value}`}),t.jsx(z,{htmlFor:`${e.name}-${a.value}`,children:a.label})]},a.value))});case"checkbox":return t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx($e,{id:e.name,checked:!!n[e.name],onCheckedChange:a=>i(e.name,a),disabled:o==="view"}),t.jsx(z,{htmlFor:e.name,children:e.placeholder||e.label})]});case"switch":return t.jsx(ke,{id:e.name,checked:!!n[e.name],onCheckedChange:a=>i(e.name,a),disabled:o==="view"});case"multi-select":return t.jsx(qe,{field:e,formData:n,handleChange:i});case"media-picker":const K=n[e.name]||(o==="edit"&&x[e.name]?x[e.name].startsWith("http")?x[e.name]:`/storage/${x[e.name]}`:"");return t.jsx(Se,{value:K,onChange:a=>i(e.name,a),placeholder:e.placeholder||`Select ${e.label}`,showPreview:!0});case"file":const te=((M=e.fileValidation)==null?void 0:M.accept)||"",pe=te.includes("image")||(((Q=(u=e.fileValidation)==null?void 0:u.mimeTypes)==null?void 0:Q.some(a=>a.startsWith("image/")))??!1);return t.jsxs(t.Fragment,{children:[t.jsx(Z,{id:e.name,name:e.name,type:"file",accept:te,onChange:a=>{a.target.files&&a.target.files[0]&&i(e.name,a.target.files[0])},className:c[e.name]?"border-red-500":"",disabled:o==="view"}),o==="edit"&&x[e.name]&&t.jsxs("div",{className:"text-xs text-gray-500 mt-1",children:["Current file: ",x.featured_image_original_name||x[e.name]]}),e.fileValidation&&t.jsxs("div",{className:"text-xs text-gray-500 mt-1",children:[e.fileValidation.extensions&&t.jsxs("span",{children:[l("Allowed extensions"),": ",e.fileValidation.extensions.join(", ")," "]}),e.fileValidation.maxSize&&t.jsxs("span",{children:[l("Max size"),": ",(e.fileValidation.maxSize/(1024*1024)).toFixed(1),"MB"]})]}),pe&&t.jsx("div",{className:"mt-2",children:n[e.name]&&n[e.name]instanceof File?t.jsxs("div",{className:"mt-2",children:[t.jsxs("p",{className:"text-xs text-gray-500 mb-1",children:[l("Preview"),":"]}),t.jsx("img",{src:URL.createObjectURL(n[e.name]),alt:"Preview",className:"h-24 w-auto rounded-md object-cover shadow-sm"})]}):o==="edit"&&x[e.name]&&t.jsxs("div",{className:"mt-2",children:[t.jsxs("p",{className:"text-xs text-gray-500 mb-1",children:[l("Current image"),":"]}),t.jsx("img",{src:typeof x[e.name]=="string"&&x[e.name].startsWith&&x[e.name].startsWith("http")?x[e.name]:`/storage/${x[e.name]}`,alt:"Current",className:"h-24 w-auto rounded-md object-cover shadow-sm",onError:a=>{a.currentTarget.src="https://placehold.co/200x150?text=Image+Not+Found"}})]})})]});case"dependent-dropdown":const ne={};return(D=e.dependentConfig)==null||D.forEach(a=>{ne[a.name]=n[a.name]||""}),t.jsx(Ue,{fields:e.dependentConfig||[],values:ne,onChange:(a,P,W)=>{b(I=>{var Y;const G={...I,[a]:P},V=((Y=e.dependentConfig)==null?void 0:Y.findIndex(R=>R.name===a))??-1;return V!==-1&&e.dependentConfig&&e.dependentConfig.slice(V+1).forEach(R=>{G[R.name]=""}),G}),e.onDependentChange&&e.onDependentChange(a,P,n,W)}});case"location-picker":return t.jsx(Ye,{latitude:n[e.latField||"latitude"],longitude:n[e.lngField||"longitude"],radius:n[e.radiusField||"radius"],onChange:(a,P,W)=>{i(e.latField||"latitude",a),i(e.lngField||"longitude",P),i(e.radiusField||"radius",W)},disabled:o==="view"});default:return null}},ce=()=>{const e={sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl","3xl":"sm:max-w-3xl","4xl":"sm:max-w-4xl","5xl":"sm:max-w-5xl",full:"sm:max-w-full"};return p.modalSize?e[p.modalSize]:"sm:max-w-md"},le=()=>{const e={};return p.fields.forEach(m=>{const r=m.row||0;e[r]||(e[r]=[]),e[r].push(m)}),Object.entries(e).sort(([m],[r])=>parseInt(m)-parseInt(r))},ee=p.layout||"default",ie=p.columns||1,ue=`crud-modal-${o}-${v.replace(/\s+/g,"-").toLowerCase()}-${Date.now()}`,[me,de]=w.useState(!1);return w.useEffect(()=>{const e=()=>{const r=document.querySelector("[data-chatgpt-modal]");de(!!r)},m=new MutationObserver(e);return m.observe(document.body,{childList:!0,subtree:!0}),()=>m.disconnect()},[]),t.jsx(ge,{open:s,onOpenChange:e=>{e||h()},modal:!me,children:t.jsxs(be,{className:`${ce()} max-h-[90vh]`,modalId:ue,children:[t.jsxs(ye,{children:[t.jsx(je,{children:v}),t.jsx(ve,{children:j||" "})]}),t.jsx(Le,{className:"max-h-[70vh] pr-4",children:t.jsxs("form",{onSubmit:$,className:"space-y-4",children:[p.priceSummary&&t.jsxs("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:[t.jsxs("div",{className:"flex justify-between items-center mb-2",children:[t.jsxs("span",{className:"text-sm text-gray-600",children:[l("Unit Price"),":"]}),t.jsxs("span",{className:"font-medium",children:["$",p.priceSummary.unitPrice.toFixed(2)]})]}),t.jsxs("div",{className:"flex justify-between items-center mb-2",children:[t.jsxs("span",{className:"text-sm text-gray-600",children:[l("Quantity"),":"]}),t.jsx("span",{className:"font-medium",children:n[p.priceSummary.quantityFieldName||"quantity"]||p.priceSummary.quantity||1})]}),t.jsx("div",{className:"border-t pt-2",children:t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("span",{className:"font-semibold",children:[l("Total Price"),":"]}),t.jsxs("span",{className:"font-bold text-lg text-primary",children:["$",d().toFixed(2)]})]})})]}),ee==="grid"?t.jsx("div",{style:{display:"grid",gridTemplateColumns:`repeat(${ie}, 1fr)`,gap:"1rem"},children:p.fields.map(e=>e.conditional&&!e.conditional(o,n)?null:t.jsxs("div",{className:"space-y-2",style:{gridColumn:e.colSpan?`span ${e.colSpan}`:"span 1",width:"100%"},children:[e.type!=="checkbox"&&e.type!=="switch"||o==="view"?t.jsxs(z,{htmlFor:e.name,className:"text-sm font-medium",children:[e.label," ",(typeof e.required=="function"?e.required(n):e.required)&&(e.conditional?e.conditional(o,n):!0)&&!(e.type==="file"&&o==="edit")&&t.jsx("span",{className:"text-red-500",children:"*"})]}):null,J(e),c[e.name]&&t.jsx("p",{className:"text-xs text-red-500",children:c[e.name]})]},e.name))}):ee==="flex"?t.jsx("div",{className:"flex flex-wrap gap-4",children:p.fields.map(e=>e.conditional&&!e.conditional(o,n)?null:t.jsxs("div",{className:"space-y-2",style:{width:e.width||"100%",flexGrow:e.width?0:1},children:[e.type!=="checkbox"&&e.type!=="switch"||o==="view"?t.jsxs(z,{htmlFor:e.name,className:"text-sm font-medium",children:[e.label," ",(typeof e.required=="function"?e.required(n):e.required)&&(e.conditional?e.conditional(o,n):!0)&&!(e.type==="file"&&o==="edit")&&t.jsx("span",{className:"text-red-500",children:"*"})]}):null,J(e),c[e.name]&&t.jsx("p",{className:"text-xs text-red-500",children:c[e.name]})]},e.name))}):le().map(([e,m])=>t.jsx("div",{className:"flex flex-wrap gap-4 mb-4",children:m.map(r=>r.conditional&&!r.conditional(o,n)?null:t.jsxs("div",{className:"space-y-2",style:{width:r.width||"100%"},children:[r.type!=="checkbox"||o==="view"?t.jsxs(z,{htmlFor:r.name,className:"text-sm font-medium",children:[r.label," ",(typeof r.required=="function"?r.required(n):r.required)&&(r.conditional?r.conditional(o,n):!0)&&!(r.type==="file"&&o==="edit")&&t.jsx("span",{className:"text-red-500",children:"*"})]}):null,J(r),c[r.name]&&t.jsx("p",{className:"text-xs text-red-500",children:c[r.name]})]},r.name))},e))]})}),t.jsxs(we,{className:"sm:justify-end",children:[t.jsx(f,{type:"button",variant:"outline",onClick:h,children:l("Cancel")}),o==="view"&&L&&t.jsx(f,{type:"button",onClick:L,children:l("Edit Record")}),o!=="view"&&t.jsx(f,{type:"button",onClick:$,children:A||l("Save")})]})]})})}export{lt as C}; +import{r as w,j as t,R as oe}from"./ui-Z445SNHD.js";import{c as xe,L as z,I as Z,u as he,D as ge,h as be,j as ye,k as je,p as ve,q as we,o as f,M as Se}from"./app-Dya84jp7.js";import{T as Ne}from"./textarea-yeg8ONhy.js";import{S as Fe,a as Ce,b as Me,c as Oe,d as se}from"./select-CHkpLxhL.js";import{R as Ae,a as Ee}from"./radio-group-BMzEN82K.js";import{C as $e}from"./checkbox-BLrehV38.js";import{S as ke}from"./switch-DyHgm-Sg.js";import{M as qe}from"./multi-select-field-CO_GzZgi.js";import{S as Le}from"./scroll-area-T2TE8oKI.js";import{u as Ve,c as Pe,l as Ie,a as Te,e as Re,M as ze,T as De,L as B,b as re}from"./leaflet-ChJqBZBV.js";import{L as He}from"./locate-fixed-BEb8vcRf.js";function Ue({fields:s,values:h,onChange:y,disabled:p=!1}){const{base_url:x}=xe().props,[v,o]=w.useState(()=>{const l={};return s.forEach((n,b)=>{b===0?l[n.name]=n.options||[]:l[n.name]=[]}),l}),[j,g]=w.useState({}),A=async(l,n)=>{var b;if(!l.apiEndpoint)return[];g(c=>({...c,[l.name]:!0}));try{let c=l.apiEndpoint;if(n){const d=encodeURIComponent(String(n)),i=(b=s[s.indexOf(l)-1])==null?void 0:b.name;i&&(c=c.replace(`{${i}}`,d))}const F=await fetch(`${x}${c}`);if(!F.ok)throw new Error(`HTTP error! status: ${F.status}`);const C=await F.json();return Array.isArray(C)?C.map(d=>({value:String(d.id||d.value||""),label:String(d.name||d.label||"Unknown")})):[]}catch{return[]}finally{g(c=>({...c,[l.name]:!1}))}};w.useEffect(()=>{(async()=>{const n={};for(let b=0;b{s.slice(b+1).forEach(i=>{y(i.name,"")});const c=s.find(i=>i.name===l),C=(v[l]||(c==null?void 0:c.options)||[]).find(i=>String(i.value)===String(n)),E=C?{id:n,name:C.label}:null,d=s[b+1];if(d&&n){if(d.apiEndpoint){const i=await A(d,n);o($=>({...$,[d.name]:i})),d.selectFirstOption&&i.length>0&&setTimeout(()=>{y(d.name,i[0].value)},100),y(l,n,{selectedInfo:E,loadedOptions:i});return}else if(d.dependencies){const i=d.dependencies[n]||[];o($=>({...$,[d.name]:i})),y(l,n,{selectedInfo:E,loadedOptions:i});return}}y(l,n,{selectedInfo:E,loadedOptions:[]})};return t.jsx("div",{className:"space-y-4",children:s.map((l,n)=>{const b=n===0,c=b?null:s[n-1],F=p||!b&&!h[c.name],C=v[l.name]||[],E=j[l.name];return t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:l.label}),t.jsxs("select",{value:h[l.name]||"",onChange:d=>L(l.name,d.target.value,n),disabled:F||E||l.disabled,className:"flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",children:[t.jsx("option",{value:"",className:"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none text-muted-foreground",children:E?"Loading...":`Select ${l.label.toLowerCase()}`}),C.map(d=>t.jsx("option",{value:d.value,className:"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",children:d.label},d.value))]})]},l.name)})})}function Ge(s,h,y){h.center!==y.center&&s.setLatLng(h.center),h.radius!=null&&h.radius!==y.radius&&s.setRadius(h.radius)}function _e(){return Ve().map}function Be(s){const h=_e();return w.useEffect(function(){return h.on(s),function(){h.off(s)}},[h,s]),h}const We=Pe(function({center:h,children:y,...p},x){const v=new Ie.Circle(h,p);return Te(v,Re(x,{overlayContainer:v}))},Ge);delete B.Icon.Default.prototype._getIconUrl;B.Icon.Default.mergeOptions({iconRetinaUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon-2x.png",iconUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png",shadowUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-shadow.png"});function Qe({position:s,radius:h,onPositionChange:y,onRadiusChange:p}){const[x,v]=w.useState(null);Be({click(j){y&&y(j.latlng.lat,j.latlng.lng)}}),w.useEffect(()=>{if(s&&h){const j=B.latLng(s),g=h/(111320*Math.cos(j.lat*Math.PI/180));v(B.latLng(j.lat,j.lng+g))}else v(null)},[s,h]);const o=j=>{if(s&&p){const A=B.latLng(s).distanceTo(j.latlng);p(Math.round(A))}};return s===null?null:t.jsxs(t.Fragment,{children:[t.jsx(re,{position:s}),t.jsx(We,{center:s,radius:h,pathOptions:{color:"blue",fillColor:"blue",fillOpacity:.2}}),x&&t.jsx(re,{position:x,draggable:!0,eventHandlers:{drag:o,dragend:o},icon:B.divIcon({className:"custom-handle-icon",html:'
',iconSize:[12,12],iconAnchor:[6,6]})})]})}function Ye({latitude:s,longitude:h,radius:y,onChange:p,disabled:x}){const v=oe.useRef(null),[o,j]=w.useState(!1),[g,A]=w.useState(s&&h?[s,h]:null),[L,l]=w.useState(y||100);w.useEffect(()=>{s&&h&&A([s,h])},[s,h]),w.useEffect(()=>{y&&l(y)},[y]);const n=(d,i)=>{x||(A([d,i]),p(d,i,L))},b=d=>{if(!x&&(l(d),g)){const i=Array.isArray(g)?g[0]:g.lat,$=Array.isArray(g)?g[1]:g.lng;p(i,$,d)}},c=d=>{if(x)return;const i=Number(d.target.value);b(i)},F=()=>{x||(A(null),p(null,null,L))},C=()=>{j(!0),navigator.geolocation.getCurrentPosition(d=>{const{latitude:i,longitude:$}=d.coords;v.current&&v.current.flyTo([i,$],15),n(i,$),j(!1)},d=>{console.error("Geolocation error:",d),j(!1)},{enableHighAccuracy:!0})},E=[51.505,-.09];return t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx(z,{children:"Branch Location"}),!x&&g&&t.jsx("button",{type:"button",onClick:F,className:"text-xs text-red-500 hover:underline",children:"Clear Location"})]}),t.jsxs("div",{className:"h-[300px] w-full rounded-md border border-gray-300 overflow-hidden relative z-0",children:[!x&&t.jsx("button",{type:"button",onClick:C,title:"Find My Location",disabled:o,className:"absolute top-2 right-2 z-10 bg-white hover:bg-gray-100 text-gray-700 p-2 rounded shadow-md border border-gray-300 flex items-center justify-center transition-colors disabled:opacity-50",children:t.jsx(He,{className:`h-5 w-5 ${o?"animate-pulse text-blue-500":""}`})}),t.jsxs(ze,{ref:v,center:g||E,zoom:13,scrollWheelZoom:!0,style:{height:"100%",width:"100%",zIndex:0},children:[t.jsx(De,{attribution:'© OpenStreetMap contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),t.jsx(Qe,{position:g,radius:L,onPositionChange:n,onRadiusChange:b})]})]}),t.jsxs("div",{className:"flex gap-4",children:[t.jsxs("div",{className:"w-1/3",children:[t.jsx(z,{className:"text-xs",children:"Radius (meters)"}),t.jsx(Z,{type:"number",value:L,onChange:c,disabled:x||!g,min:10,step:10})]}),t.jsx("div",{className:"w-2/3 flex items-end",children:t.jsx("p",{className:"text-xs text-gray-500 mb-2",children:"Drag the blue dot on the circle edge to adjust radius, or enter meters manually."})})]})]})}function Ze({field:s,dateValue:h,handleChange:y,errors:p,mode:x}){const v=oe.useRef(null),o=()=>{var j,g;if(!s.disabled&&x!=="view"&&v.current)try{(g=(j=v.current).showPicker)==null||g.call(j)}catch{v.current.focus()}};return t.jsx("div",{className:"relative cursor-pointer",onClick:o,children:t.jsx("input",{ref:v,id:s.name,name:s.name,type:"date",placeholder:s.placeholder,value:h,onChange:j=>y(s.name,j.target.value),required:!!s.required,className:`border-input flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-primary md:text-sm cursor-pointer disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 ${p[s.name]?"border-red-500":""}`,disabled:s.disabled||x==="view",readOnly:s.readOnly})})}function lt({isOpen:s,onClose:h,onSubmit:y,formConfig:p,initialData:x={},title:v,mode:o,description:j,errors:g={},submitButtonText:A,onEdit:L}){const{t:l}=he(),[n,b]=w.useState({}),[c,F]=w.useState({}),[C,E]=w.useState({}),d=()=>{if(!p.priceSummary)return 0;const e=n[p.priceSummary.quantityFieldName||"quantity"]||p.priceSummary.quantity||1;return p.priceSummary.unitPrice*e};w.useEffect(()=>{if(s){const e={...x};p.fields.forEach(m=>{m.type==="multi-select"&&e[m.name]&&!Array.isArray(e[m.name])&&(e[m.name]=Array.isArray(e[m.name])?e[m.name]:e[m.name]?[e[m.name].toString()]:[]),o==="create"&&(e[m.name]===void 0||e[m.name]===null)&&m.defaultValue!==void 0&&(e[m.name]=m.defaultValue)}),b(e||{}),F({}),p.fields.forEach(m=>{m.relation&&m.relation.endpoint&&fetch(m.relation.endpoint).then(r=>r.json()).then(r=>{E(M=>({...M,[m.name]:Array.isArray(r)?r:r.data||[]}))}).catch(r=>{})})}},[s,x,p.fields,o]),w.useEffect(()=>{if(g&&Object.keys(g).length>0){const e={};Object.entries(g).forEach(([m,r])=>{e[m]=Array.isArray(r)?r[0]:r}),F(e)}},[g]);const i=(e,m)=>{b(r=>({...r,[e]:m})),c[e]&&F(r=>{const M={...r};return delete M[e],M})},$=e=>{e.preventDefault();const m={...n};p.fields.forEach(u=>{u.type==="multi-select"&&m[u.name]&&(Array.isArray(m[u.name])||(m[u.name]=[m[u.name].toString()]))}),b(m);const r={};if(p.fields.forEach(u=>{if(u.type==="file"&&o==="edit")return;const Q=u.conditional?u.conditional(o,n):!0,D=n[u.name],H=D==null||D==="";if((typeof u.required=="function"?u.required(n):u.required)&&Q&&H&&(r[u.name]=`${u.label} is required`),u.type==="file"&&n[u.name]&&u.fileValidation){const q=n[u.name];if(u.fileValidation.maxSize&&q.size>u.fileValidation.maxSize){const k=u.fileValidation.maxSize/1048576;r[u.name]=`File size must be less than ${k}MB`}if(u.fileValidation.mimeTypes&&u.fileValidation.mimeTypes.length>0&&(u.fileValidation.mimeTypes.includes(q.type)||(r[u.name]=`File type must be one of: ${u.fileValidation.mimeTypes.join(", ")}`)),u.fileValidation.extensions&&u.fileValidation.extensions.length>0){const k=q.name,U=k.substring(k.lastIndexOf(".")).toLowerCase();u.fileValidation.extensions.includes(U)||(r[u.name]=`File extension must be one of: ${u.fileValidation.extensions.join(", ")}`)}}}),Object.keys(r).length>0){F(r);return}const M={...n};p.fields.forEach(u=>{u.type==="multi-select"&&M[u.name]&&(Array.isArray(M[u.name])||(M[u.name]=[M[u.name].toString()]))}),y(M)},J=e=>{var m,r,M,u,Q,D;if(e.conditional&&!e.conditional(o,n))return null;if(e.render)return e.render(e,n,i);if(o==="view"){if(e.type==="multi-select"){const T=(Array.isArray(n[e.name])?n[e.name]:[]).map(q=>{var U;const k=(U=e.options)==null?void 0:U.find(K=>K.value===q);return k?k.label:q}).join(", ");return t.jsx("div",{className:"p-2 border rounded-md bg-gray-50",children:T||"-"})}return t.jsx("div",{className:"p-2 border rounded-md bg-gray-50",children:e.type==="select"&&e.options?((m=e.options.find(H=>H.value===String(n[e.name])))==null?void 0:m.label)||n[e.name]||"-":e.type==="checkbox"?n[e.name]===!0||n[e.name]===1||n[e.name]==="1"?l("Yes"):l("No"):n[e.name]||"-"})}switch(e.type){case"text":case"email":case"password":case"color":return t.jsx(Z,{id:e.name,name:e.name,type:e.type,placeholder:e.placeholder,value:n[e.name]??"",onChange:a=>i(e.name,a.target.value),required:e.required,className:c[e.name]?"border-red-500":"",disabled:e.disabled||o==="view",readOnly:e.readOnly});case"time":{const a=n[e.name]??"",P=e.disabled||o==="view",W=!!c[e.name];let I="",G="",V="AM";if(a&&a.includes(":")){const[N,O]=a.split(":"),S=parseInt(N,10);G=O.padStart(2,"0"),S===0?(I="12",V="AM"):S===12?(I="12",V="PM"):S>12?(I=String(S-12).padStart(2,"0"),V="PM"):(I=String(S).padStart(2,"0"),V="AM")}const Y=(N,O,S)=>{if(!N||!O)return"";let _=parseInt(N,10);return S==="AM"&&_===12?_=0:S==="PM"&&_!==12&&(_+=12),`${String(_).padStart(2,"0")}:${O}`},R=(N,O)=>{const ae=Y(N==="hour"?O:I||"12",N==="minute"?O:G||"00",N==="period"?O:V);ae&&i(e.name,ae)},X=`h-9 rounded-md border bg-transparent px-2 py-1 text-sm shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-primary disabled:cursor-not-allowed disabled:opacity-50 ${W?"border-red-500":"border-input"}`;return t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsxs("select",{id:`${e.name}-hour`,value:I,onChange:N=>R("hour",N.target.value),disabled:P,className:`${X} w-[62px]`,children:[t.jsx("option",{value:"",children:l("HH")}),Array.from({length:12},(N,O)=>{const S=String(O+1).padStart(2,"0");return t.jsx("option",{value:S,children:S},S)})]}),t.jsx("span",{className:"text-gray-400 font-bold text-lg",children:":"}),t.jsxs("select",{id:`${e.name}-minute`,value:G,onChange:N=>R("minute",N.target.value),disabled:P,className:`${X} w-[62px]`,children:[t.jsx("option",{value:"",children:l("MM")}),Array.from({length:60},(N,O)=>{const S=String(O).padStart(2,"0");return t.jsx("option",{value:S,children:S},S)})]}),t.jsxs("select",{id:`${e.name}-period`,value:V,onChange:N=>R("period",N.target.value),disabled:P,className:`${X} w-[62px]`,children:[t.jsx("option",{value:"AM",children:"AM"}),t.jsx("option",{value:"PM",children:"PM"})]})]})}case"date":const H=n[e.name]?n[e.name]instanceof Date?n[e.name].toISOString().split("T")[0]:typeof n[e.name]=="string"&&n[e.name].includes("T")?n[e.name].split("T")[0]:n[e.name]:"";return t.jsx(Ze,{field:e,dateValue:H,handleChange:i,errors:c,mode:o});case"number":return t.jsx(Z,{id:e.name,name:e.name,type:"number",placeholder:e.placeholder,value:n[e.name]??"",onChange:a=>i(e.name,a.target.value!==""?parseFloat(a.target.value):""),required:e.required,className:c[e.name]?"border-red-500":"",disabled:e.disabled||o==="view",readOnly:e.readOnly});case"textarea":return t.jsx(Ne,{id:e.name,name:e.name,placeholder:e.placeholder,value:n[e.name]??"",onChange:a=>i(e.name,a.target.value),required:e.required,className:c[e.name]?"border-red-500":"",disabled:e.disabled||o==="view",readOnly:e.readOnly});case"select":const T=e.relation?C[e.name]||[]:e.options||[],q=String(n[e.name]||""),k=e.relation?T.find(a=>String(a[e.relation.valueField])===q):T.find(a=>String(a.value)===q),U=k?e.relation?k[e.relation.labelField]:k.label:"";return t.jsxs(Fe,{value:q,onValueChange:a=>i(e.name,a),disabled:o==="view",children:[t.jsx(Ce,{className:c[e.name]?"border-red-500":"",children:t.jsx(Me,{placeholder:e.placeholder||`Select ${e.label}`,children:U||e.placeholder||`Select ${e.label}`})}),t.jsx(Oe,{className:"z-[60000]",searchable:e.searchable,children:e.relation?T.map(a=>t.jsx(se,{value:String(a[e.relation.valueField]),children:a[e.relation.labelField]},a[e.relation.valueField])):T.map(a=>t.jsx(se,{value:String(a.value),children:a.label},a.value))})]});case"radio":return t.jsx(Ae,{value:n[e.name]||"",onValueChange:a=>i(e.name,a),disabled:o==="view",className:"flex gap-4",children:(r=e.options)==null?void 0:r.map(a=>t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx(Ee,{value:a.value,id:`${e.name}-${a.value}`}),t.jsx(z,{htmlFor:`${e.name}-${a.value}`,children:a.label})]},a.value))});case"checkbox":return t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx($e,{id:e.name,checked:!!n[e.name],onCheckedChange:a=>i(e.name,a),disabled:o==="view"}),t.jsx(z,{htmlFor:e.name,children:e.placeholder||e.label})]});case"switch":return t.jsx(ke,{id:e.name,checked:!!n[e.name],onCheckedChange:a=>i(e.name,a),disabled:o==="view"});case"multi-select":return t.jsx(qe,{field:e,formData:n,handleChange:i});case"media-picker":const K=n[e.name]||(o==="edit"&&x[e.name]?x[e.name].startsWith("http")?x[e.name]:`/storage/${x[e.name]}`:"");return t.jsx(Se,{value:K,onChange:a=>i(e.name,a),placeholder:e.placeholder||`Select ${e.label}`,showPreview:!0});case"file":const te=((M=e.fileValidation)==null?void 0:M.accept)||"",pe=te.includes("image")||(((Q=(u=e.fileValidation)==null?void 0:u.mimeTypes)==null?void 0:Q.some(a=>a.startsWith("image/")))??!1);return t.jsxs(t.Fragment,{children:[t.jsx(Z,{id:e.name,name:e.name,type:"file",accept:te,onChange:a=>{a.target.files&&a.target.files[0]&&i(e.name,a.target.files[0])},className:c[e.name]?"border-red-500":"",disabled:o==="view"}),o==="edit"&&x[e.name]&&t.jsxs("div",{className:"text-xs text-gray-500 mt-1",children:["Current file: ",x.featured_image_original_name||x[e.name]]}),e.fileValidation&&t.jsxs("div",{className:"text-xs text-gray-500 mt-1",children:[e.fileValidation.extensions&&t.jsxs("span",{children:[l("Allowed extensions"),": ",e.fileValidation.extensions.join(", ")," "]}),e.fileValidation.maxSize&&t.jsxs("span",{children:[l("Max size"),": ",(e.fileValidation.maxSize/(1024*1024)).toFixed(1),"MB"]})]}),pe&&t.jsx("div",{className:"mt-2",children:n[e.name]&&n[e.name]instanceof File?t.jsxs("div",{className:"mt-2",children:[t.jsxs("p",{className:"text-xs text-gray-500 mb-1",children:[l("Preview"),":"]}),t.jsx("img",{src:URL.createObjectURL(n[e.name]),alt:"Preview",className:"h-24 w-auto rounded-md object-cover shadow-sm"})]}):o==="edit"&&x[e.name]&&t.jsxs("div",{className:"mt-2",children:[t.jsxs("p",{className:"text-xs text-gray-500 mb-1",children:[l("Current image"),":"]}),t.jsx("img",{src:typeof x[e.name]=="string"&&x[e.name].startsWith&&x[e.name].startsWith("http")?x[e.name]:`/storage/${x[e.name]}`,alt:"Current",className:"h-24 w-auto rounded-md object-cover shadow-sm",onError:a=>{a.currentTarget.src="https://placehold.co/200x150?text=Image+Not+Found"}})]})})]});case"dependent-dropdown":const ne={};return(D=e.dependentConfig)==null||D.forEach(a=>{ne[a.name]=n[a.name]||""}),t.jsx(Ue,{fields:e.dependentConfig||[],values:ne,onChange:(a,P,W)=>{b(I=>{var Y;const G={...I,[a]:P},V=((Y=e.dependentConfig)==null?void 0:Y.findIndex(R=>R.name===a))??-1;return V!==-1&&e.dependentConfig&&e.dependentConfig.slice(V+1).forEach(R=>{G[R.name]=""}),G}),e.onDependentChange&&e.onDependentChange(a,P,n,W)}});case"location-picker":return t.jsx(Ye,{latitude:n[e.latField||"latitude"],longitude:n[e.lngField||"longitude"],radius:n[e.radiusField||"radius"],onChange:(a,P,W)=>{i(e.latField||"latitude",a),i(e.lngField||"longitude",P),i(e.radiusField||"radius",W)},disabled:o==="view"});default:return null}},ce=()=>{const e={sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl","3xl":"sm:max-w-3xl","4xl":"sm:max-w-4xl","5xl":"sm:max-w-5xl",full:"sm:max-w-full"};return p.modalSize?e[p.modalSize]:"sm:max-w-md"},le=()=>{const e={};return p.fields.forEach(m=>{const r=m.row||0;e[r]||(e[r]=[]),e[r].push(m)}),Object.entries(e).sort(([m],[r])=>parseInt(m)-parseInt(r))},ee=p.layout||"default",ie=p.columns||1,ue=`crud-modal-${o}-${v.replace(/\s+/g,"-").toLowerCase()}-${Date.now()}`,[me,de]=w.useState(!1);return w.useEffect(()=>{const e=()=>{const r=document.querySelector("[data-chatgpt-modal]");de(!!r)},m=new MutationObserver(e);return m.observe(document.body,{childList:!0,subtree:!0}),()=>m.disconnect()},[]),t.jsx(ge,{open:s,onOpenChange:e=>{e||h()},modal:!me,children:t.jsxs(be,{className:`${ce()} max-h-[90vh]`,modalId:ue,children:[t.jsxs(ye,{children:[t.jsx(je,{children:v}),t.jsx(ve,{children:j||" "})]}),t.jsx(Le,{className:"max-h-[70vh] pr-4",children:t.jsxs("form",{onSubmit:$,className:"space-y-4",children:[p.priceSummary&&t.jsxs("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:[t.jsxs("div",{className:"flex justify-between items-center mb-2",children:[t.jsxs("span",{className:"text-sm text-gray-600",children:[l("Unit Price"),":"]}),t.jsxs("span",{className:"font-medium",children:["$",p.priceSummary.unitPrice.toFixed(2)]})]}),t.jsxs("div",{className:"flex justify-between items-center mb-2",children:[t.jsxs("span",{className:"text-sm text-gray-600",children:[l("Quantity"),":"]}),t.jsx("span",{className:"font-medium",children:n[p.priceSummary.quantityFieldName||"quantity"]||p.priceSummary.quantity||1})]}),t.jsx("div",{className:"border-t pt-2",children:t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("span",{className:"font-semibold",children:[l("Total Price"),":"]}),t.jsxs("span",{className:"font-bold text-lg text-primary",children:["$",d().toFixed(2)]})]})})]}),ee==="grid"?t.jsx("div",{style:{display:"grid",gridTemplateColumns:`repeat(${ie}, 1fr)`,gap:"1rem"},children:p.fields.map(e=>e.conditional&&!e.conditional(o,n)?null:t.jsxs("div",{className:"space-y-2",style:{gridColumn:e.colSpan?`span ${e.colSpan}`:"span 1",width:"100%"},children:[e.type!=="checkbox"&&e.type!=="switch"||o==="view"?t.jsxs(z,{htmlFor:e.name,className:"text-sm font-medium",children:[e.label," ",(typeof e.required=="function"?e.required(n):e.required)&&(e.conditional?e.conditional(o,n):!0)&&!(e.type==="file"&&o==="edit")&&t.jsx("span",{className:"text-red-500",children:"*"})]}):null,J(e),c[e.name]&&t.jsx("p",{className:"text-xs text-red-500",children:c[e.name]})]},e.name))}):ee==="flex"?t.jsx("div",{className:"flex flex-wrap gap-4",children:p.fields.map(e=>e.conditional&&!e.conditional(o,n)?null:t.jsxs("div",{className:"space-y-2",style:{width:e.width||"100%",flexGrow:e.width?0:1},children:[e.type!=="checkbox"&&e.type!=="switch"||o==="view"?t.jsxs(z,{htmlFor:e.name,className:"text-sm font-medium",children:[e.label," ",(typeof e.required=="function"?e.required(n):e.required)&&(e.conditional?e.conditional(o,n):!0)&&!(e.type==="file"&&o==="edit")&&t.jsx("span",{className:"text-red-500",children:"*"})]}):null,J(e),c[e.name]&&t.jsx("p",{className:"text-xs text-red-500",children:c[e.name]})]},e.name))}):le().map(([e,m])=>t.jsx("div",{className:"flex flex-wrap gap-4 mb-4",children:m.map(r=>r.conditional&&!r.conditional(o,n)?null:t.jsxs("div",{className:"space-y-2",style:{width:r.width||"100%"},children:[r.type!=="checkbox"||o==="view"?t.jsxs(z,{htmlFor:r.name,className:"text-sm font-medium",children:[r.label," ",(typeof r.required=="function"?r.required(n):r.required)&&(r.conditional?r.conditional(o,n):!0)&&!(r.type==="file"&&o==="edit")&&t.jsx("span",{className:"text-red-500",children:"*"})]}):null,J(r),c[r.name]&&t.jsx("p",{className:"text-xs text-red-500",children:c[r.name]})]},r.name))},e))]})}),t.jsxs(we,{className:"sm:justify-end",children:[t.jsx(f,{type:"button",variant:"outline",onClick:h,children:l("Cancel")}),o==="view"&&L&&t.jsx(f,{type:"button",onClick:L,children:l("Edit Record")}),o!=="view"&&t.jsx(f,{type:"button",onClick:$,children:A||l("Save")})]})]})})}export{lt as C}; diff --git a/public/build/assets/CrudTable-qPWooc10.js b/public/build/assets/CrudTable-yqxtM6E_.js similarity index 62% rename from public/build/assets/CrudTable-qPWooc10.js rename to public/build/assets/CrudTable-yqxtM6E_.js index aa4a3c3c3..81b16930f 100644 --- a/public/build/assets/CrudTable-qPWooc10.js +++ b/public/build/assets/CrudTable-yqxtM6E_.js @@ -1,6981 +1,6981 @@ -import{j as a}from"./ui-Z445SNHD.js";import{G as e,V as E2,F as X2,ac as K2,ai as J2,ad as Q2,aj as k,E as p,P as Y2,y as e0,S as a0,U as o0,X as c0,ak as bm,u as $m,x as km,e as U2,d as pm,B as Am,al as sm,s as lm,v as um,o as Mm,w as vm}from"./app-CfhhiFAk.js";import{T as Hm,a as zm,b as nm,c as dm,d as Pm,e as W2}from"./table-BXUOKUBo.js";import{A as t0,a as n0,b as d0,B as i0,I as h0,L as y0,R as r0,S as k0,U as p0,c as s0}from"./unlink-BUU37FwK.js";import{A as l0,B as u0,G as M0,I as v0,S as m0}from"./scale-BUz-ovAe.js";import{A as _0}from"./arrow-down-left-B7-m5tqv.js";import{A as g0}from"./arrow-left-B_Yqvwsn.js";import{A as L0}from"./arrow-right-left-oZQEgmVQ.js";import{A as x0}from"./arrow-right-0WTHrq3r.js";import{A as w0}from"./arrow-up-down-Bd89yBZf.js";import{A as f0,H as C0,K as I0,L as s}from"./lock-open-Bohob0Q8.js";import{A as N0}from"./award-DMMowKjz.js";import{B as S0}from"./ban-61sP3ZVw.js";import{B as q0,I as b0}from"./indian-rupee-Dzf_OaiN.js";import{B as $0}from"./bell-DXAvb3Z0.js";import{B as A0}from"./book-open-3qYfaEN0.js";import{B as H0}from"./boxes-C2a1Xilp.js";import{B as z0,F as P0,S as l}from"./sparkles-BIbzOfb3.js";import{B as j0}from"./briefcase-CLRn8zVu.js";import{B as V0}from"./building-2-D7cTdbG2.js";import{B as B0}from"./building-Cyq-0nCs.js";import{C as F0}from"./calculator-CAq-8OXK.js";import{C as D0}from"./calendar-check-B2HQiQ2A.js";import{C as R0}from"./calendar-days-CiPhwZgb.js";import{C as T0}from"./calendar-CfUpdaK5.js";import{C as U0}from"./camera-C44LyAAQ.js";import{C as u}from"./chart-column-CXNcY9Vx.js";import{C as M}from"./chart-no-axes-column-increasing-B7MqdTh5.js";import{C as v}from"./chart-no-axes-column-BrIh_iVD.js";import{C as O2,a as Z2}from"./chevron-up-DepFp6b6.js";import{C as O0}from"./chevron-left-DzjQ74li.js";import{C as Z0}from"./chevron-right-Bd9XWZHZ.js";import{C as m}from"./circle-alert-64DrdoHv.js";import{C as _}from"./circle-check-big-C5Cqj7-2.js";import{C as g}from"./circle-check-BE5AcCr7.js";import{C as L}from"./circle-help-qSaafQwl.js";import{C as x}from"./circle-x-C1aiFLrz.js";import{C as G0}from"./circle-BoWbKVIN.js";import{C as W0}from"./clipboard-list-DA9ABN1f.js";import{C as E0}from"./clock-CwFdn-oy.js";import{C as X0}from"./code-BfjQUpEO.js";import{C as K0}from"./coins-BDVfLngB.js";import{C as J0}from"./copy-xfopPExK.js";import{C as Q0}from"./credit-card-BmdpMcMw.js";import{C as Y0}from"./crosshair-D1Bk7XgB.js";import{C as ea}from"./crown-hSojj3Kc.js";import{D as aa}from"./dollar-sign-DYXFWWsE.js";import{D as oa}from"./download-Bk1k2_dW.js";import{E as ca}from"./external-link-QgK5Wt8A.js";import{E as ta}from"./eye-off-CTWV_K-G.js";import{E as na}from"./eye--FVGKpVp.js";import{F as da,I as ia}from"./instagram-BINpUnZv.js";import{F as ha}from"./file-down-Dd8zePUY.js";import{F as ya,P as w}from"./pen-line-BrTss6NX.js";import{F as ra}from"./file-up-BGHgeTEG.js";import{F as ka}from"./filter-uErFRSPT.js";import{F as pa}from"./fingerprint-DTUiU2wR.js";import{F as sa,G as d,H as f}from"./house-CL9v9Cnk.js";import{G as la}from"./gift-DXGdvbnX.js";import{G as ua}from"./git-branch-B0hRoz5x.js";import{G as Ma}from"./globe-DePi6jyA.js";import{G as va}from"./grip-vertical-DE07jY4a.js";import{H as ma}from"./hard-drive-B_Mpft6K.js";import{H as _a}from"./hash-BdwQ_IPO.js";import{H as ga,S as La}from"./shield-BXgaUVtY.js";import{I as xa}from"./info-D_4wnc_R.js";import{L as C}from"./layers-Dl67CG9c.js";import{L as wa}from"./layout-grid-C6MkbbLQ.js";import{L as fa}from"./layout-list-BgC0E-xE.js";import{L as Ca}from"./lightbulb-BGgHG47R.js";import{L as Ia}from"./link-2-CqlWBpzI.js";import{L as Na}from"./link-Bv_VEBSZ.js";import{L as Sa,T as qa}from"./twitter-C171Pyox.js";import{L as ba}from"./list-D0MAUZMV.js";import{L as I}from"./loader-circle-wGk7YsPK.js";import{L as $a}from"./locate-fixed-DbvcuJ_9.js";import{L as Aa}from"./lock-By6rMOj7.js";import{L as Ha}from"./log-in-DDjMW0xI.js";import{L as za}from"./log-out-XdMMCWfW.js";import{M as Pa}from"./mail-CGIE7ZEy.js";import{M as ja}from"./map-pin-BEMjKB1T.js";import{M as Va}from"./menu-Ce4PLUkG.js";import{M as Ba}from"./message-square-warning-D-p7x0Lz.js";import{M as Fa}from"./message-square-CWrDttoL.js";import{M as Da}from"./monitor-CnIEqEUy.js";import{P as Ra}from"./package-Dbz0W2dX.js";import{P as Ta}from"./percent-CBKzOw5k.js";import{P as Ua}from"./phone-B_MwJBjY.js";import{P as Oa}from"./plane-BHhadcsS.js";import{P as Za}from"./play-C-QVLyAb.js";import{Q as Ga}from"./qr-code-Dvy3HD3W.js";import{Q as Wa}from"./quote-CVpLTvYv.js";import{R as Ea}from"./refresh-cw-DWorkL8J.js";import{R as Xa}from"./ruler-BouWNjvC.js";import{S as Ka}from"./send-Cj7KqUHo.js";import{S as Ja}from"./server-Dw1-QcTX.js";import{S as Qa}from"./settings-BwhyNRyj.js";import{S as Ya,a as eo,W as ao}from"./wifi-C3afLemA.js";import{S as oo}from"./shield-check-Ca-zuQJC.js";import{S as N}from"./square-check-big-BCxRi7D4.js";import{S as n}from"./square-pen-bMHyT06o.js";import{S as co}from"./star-DQsTg5F1.js";import{S as to}from"./sun-C2oQ_gMz.js";import{T as no}from"./tag-JSZ9YmZg.js";import{T as io}from"./target-Pzb9zAUp.js";import{T as ho,a as yo}from"./thumbs-up-_WTyicKR.js";import{T as ro}from"./ticket-iWUCgUMN.js";import{T as ko}from"./timer-Cqv8ulB-.js";import{T as po}from"./trash-2-C1NR_7Ss.js";import{T as so}from"./trash-Pq_dkuTI.js";import{T as lo}from"./trending-down-DeoG-P9A.js";import{T as uo}from"./trending-up-Bi4f72Tj.js";import{T as S}from"./triangle-alert-DGWTh17w.js";import{T as Mo}from"./trophy-D1q7o3Ri.js";import{T as vo}from"./type-CNRj7XNX.js";import{U as mo}from"./user-check-eTf_WVUH.js";import{U as _o}from"./user-plus-DXHdW4q-.js";import{U as go}from"./user-x-BAm8TG2r.js";import{U as Lo}from"./user-C37aWgZX.js";import{U as xo}from"./users-C4LpG59H.js";import{W as wo}from"./wallet-OtmBA2C9.js";import{W as fo}from"./wrench-BdOd6Wbm.js";import{Z as Co}from"./zap-DncwKEcc.js";/** +import{r as jm,j as a,R as Pm}from"./ui-Z445SNHD.js";import{G as e,V as d0,F as i0,ac as h0,ai as y0,ad as r0,aj as s,E as l,P as k0,y as p0,S as s0,U as l0,X as u0,ak as Vm,u as Bm,x as Mm,o as t0,e as K2,d as vm,B as Fm,al as mm,s as _m,v as gm,w as Lm}from"./app-Dya84jp7.js";import{T as Dm,a as Rm,b as c0,c as n0,d as Tm,e as W2}from"./table-CM-_W5Cl.js";import{A as M0,a as v0,b as m0,B as _0,I as g0,L as L0,R as x0,S as w0,U as f0,c as C0}from"./unlink-BLQWL2NW.js";import{A as I0,B as N0,G as S0,I as b0,S as q0}from"./scale-BzSuyiWe.js";import{A as $0}from"./arrow-down-left-B_VdNN9z.js";import{A as A0}from"./arrow-left-BUNj5JJK.js";import{A as H0}from"./arrow-right-left-rbTR90Mc.js";import{A as z0}from"./arrow-right-BHW--AGU.js";import{A as j0}from"./arrow-up-down-B7nj--dP.js";import{A as P0,H as V0,K as B0,L as u}from"./lock-open-wwRKX_jV.js";import{A as F0}from"./award-D1KbOerA.js";import{B as D0}from"./ban-BM0r7XNR.js";import{B as R0,I as T0}from"./indian-rupee-CCruSHM0.js";import{B as U0}from"./bell-DRg7kyzT.js";import{B as O0}from"./book-open-DIuydbp9.js";import{B as Z0}from"./boxes-Dyz92FXO.js";import{B as G0,F as W0,S as M}from"./sparkles-C1HgyvOv.js";import{B as E0}from"./briefcase-Btn3T9V4.js";import{B as X0}from"./building-2-CASHKqFo.js";import{B as K0}from"./building-DyhEfKj4.js";import{C as J0}from"./calculator-D-XBwqfe.js";import{C as Q0}from"./calendar-check-Cei2wfOk.js";import{C as Y0}from"./calendar-days-CURbwGg4.js";import{C as ea}from"./calendar-DuRYaSj5.js";import{C as aa}from"./camera-CcveDep5.js";import{C as v}from"./chart-column-B76eI9Qi.js";import{C as m}from"./chart-no-axes-column-increasing-DGWtPhLs.js";import{C as _}from"./chart-no-axes-column-BoCXnewH.js";import{C as Z2,a as J2}from"./chevron-up-DHaGktre.js";import{C as oa}from"./chevron-left-CQUDAoaX.js";import{C as E2}from"./chevron-right-D4JxSs4d.js";import{C as g}from"./circle-alert-Ddjg2Qwp.js";import{C as L}from"./circle-check-big-Cju4ilPH.js";import{C as x}from"./circle-check-BSTxZIbF.js";import{C as w}from"./circle-help-DYANbqeK.js";import{C as f}from"./circle-x-Dg5wGIim.js";import{C as ta}from"./circle-C2Wo_gI7.js";import{C as ca}from"./clipboard-list-C-5sn1G-.js";import{C as na}from"./clock-LnEFQ-vK.js";import{C as da}from"./code-znlKMFkF.js";import{C as ia}from"./coins-CgSV4zfi.js";import{C as ha}from"./copy-G5cMddid.js";import{C as ya}from"./credit-card-BKi_ThdS.js";import{C as ra}from"./crosshair-CURvK9L2.js";import{C as ka}from"./crown-CroP5qiL.js";import{D as pa}from"./dollar-sign-DH2Tc178.js";import{D as sa}from"./download-BBNmalxc.js";import{E as la}from"./external-link-Cr5OfBdg.js";import{E as ua}from"./eye-off-C7-ukqyH.js";import{E as Ma}from"./eye-CCNnMtu4.js";import{F as va,I as ma}from"./instagram-hxbchcd2.js";import{F as _a}from"./file-down-DO17xCrw.js";import{F as ga,P as C}from"./pen-line-D3y4U--J.js";import{F as La}from"./file-up-mHt_z-hD.js";import{F as xa}from"./filter-BTHjyusi.js";import{F as wa}from"./fingerprint-aH6d8cFa.js";import{F as fa,G as i,H as I}from"./house-iKjbmxem.js";import{G as Ca}from"./gift-CQwwB55q.js";import{G as Ia}from"./git-branch-BmbBP1kF.js";import{G as Na}from"./globe-5zZ4IsmY.js";import{G as Sa}from"./grip-vertical-jJ2YrfNT.js";import{H as ba}from"./hard-drive-7VwcRvWp.js";import{H as qa}from"./hash-CHQJ9wMw.js";import{H as $a,S as Aa}from"./shield-CDL27iRK.js";import{I as Ha}from"./info-CPi9bOGM.js";import{L as N}from"./layers-OK3_pizJ.js";import{L as za}from"./layout-grid-3SDzvK8c.js";import{L as ja}from"./layout-list-Cqn_SURh.js";import{L as Pa}from"./lightbulb-BaPQrzRp.js";import{L as Va}from"./link-2-oaQNJJAj.js";import{L as Ba}from"./link-DXJwkkHX.js";import{L as Fa,T as Da}from"./twitter-DZQVDI4Y.js";import{L as Ra}from"./list-C_2fG_BT.js";import{L as S}from"./loader-circle-BLsTZrwM.js";import{L as Ta}from"./locate-fixed-BEb8vcRf.js";import{L as Ua}from"./lock-DaHvMEII.js";import{L as Oa}from"./log-in-3L4UHGsD.js";import{L as Za}from"./log-out-M0Vyot5_.js";import{M as Ga}from"./mail-Cha_PX4q.js";import{M as Wa}from"./map-pin-DFWKFR9c.js";import{M as Ea}from"./menu-GuULvnRC.js";import{M as Xa}from"./message-square-warning-DT--Ufeu.js";import{M as Ka}from"./message-square-DyWo8S6i.js";import{M as Ja}from"./monitor-BYgqmcKD.js";import{P as Qa}from"./package-BMnRSK1k.js";import{P as Ya}from"./percent-z25PPWNk.js";import{P as eo}from"./phone-3MnRoAYu.js";import{P as ao}from"./plane-AJz2gO49.js";import{P as oo}from"./play-BxVAbvyQ.js";import{Q as to}from"./qr-code-CUIVRbAs.js";import{Q as co}from"./quote-BmDTOIsR.js";import{R as no}from"./refresh-cw-D_C_cDSu.js";import{R as io}from"./ruler-BmcStEpw.js";import{S as ho}from"./send-Cs5D4i9u.js";import{S as yo}from"./server-Bk9UD-_r.js";import{S as ro}from"./settings-amvA_CjN.js";import{S as ko,a as po,W as so}from"./wifi-vecZUHsy.js";import{S as lo}from"./shield-check-CGAYPEyR.js";import{S as b}from"./square-check-big-CpQiidmr.js";import{S as n}from"./square-pen-CzdhbxyN.js";import{S as uo}from"./star-DCkLKzoE.js";import{S as Mo}from"./sun-D8i-fCJe.js";import{T as vo}from"./tag-Bq7fLwM4.js";import{T as mo}from"./target-BPl0Bsow.js";import{T as _o,a as go}from"./thumbs-up-2-1HocdZ.js";import{T as Lo}from"./ticket-Cl2Nq5Ff.js";import{T as xo}from"./timer-BTqoLJiz.js";import{T as wo}from"./trash-2-BeirBLIk.js";import{T as fo}from"./trash-BFTYTNQN.js";import{T as Co}from"./trending-down-DmDmdusz.js";import{T as Io}from"./trending-up-BT453ptk.js";import{T as q}from"./triangle-alert-CpPzdeiH.js";import{T as No}from"./trophy-BaZS8IUN.js";import{T as So}from"./type-Bsbmfmsu.js";import{U as bo}from"./user-check-DC9_V3Qo.js";import{U as qo}from"./user-plus-BpaQ3zuJ.js";import{U as $o}from"./user-x-CVAZCW5-.js";import{U as Ao}from"./user-77BPqA3J.js";import{U as Ho}from"./users-BzCDZrS0.js";import{W as zo}from"./wallet-ChDgCFUl.js";import{W as jo}from"./wrench-D9olQ4TN.js";import{Z as Po}from"./zap-CgFkG-9H.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jm=[["path",{d:"M3.5 13h6",key:"p1my2r"}],["path",{d:"m2 16 4.5-9 4.5 9",key:"ndf0b3"}],["path",{d:"M18 7v9",key:"pknjwm"}],["path",{d:"m14 12 4 4 4-4",key:"buelq4"}]],Io=e("AArrowDown",jm);/** + */const Um=[["path",{d:"M3.5 13h6",key:"p1my2r"}],["path",{d:"m2 16 4.5-9 4.5 9",key:"ndf0b3"}],["path",{d:"M18 7v9",key:"pknjwm"}],["path",{d:"m14 12 4 4 4-4",key:"buelq4"}]],Vo=e("AArrowDown",Um);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vm=[["path",{d:"M3.5 13h6",key:"p1my2r"}],["path",{d:"m2 16 4.5-9 4.5 9",key:"ndf0b3"}],["path",{d:"M18 16V7",key:"ty0viw"}],["path",{d:"m14 11 4-4 4 4",key:"1pu57t"}]],No=e("AArrowUp",Vm);/** + */const Om=[["path",{d:"M3.5 13h6",key:"p1my2r"}],["path",{d:"m2 16 4.5-9 4.5 9",key:"ndf0b3"}],["path",{d:"M18 16V7",key:"ty0viw"}],["path",{d:"m14 11 4-4 4 4",key:"1pu57t"}]],Bo=e("AArrowUp",Om);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bm=[["path",{d:"M21 14h-5",key:"1vh23k"}],["path",{d:"M16 16v-3.5a2.5 2.5 0 0 1 5 0V16",key:"1wh10o"}],["path",{d:"M4.5 13h6",key:"dfilno"}],["path",{d:"m3 16 4.5-9 4.5 9",key:"2dxa0e"}]],So=e("ALargeSmall",Bm);/** + */const Zm=[["path",{d:"M21 14h-5",key:"1vh23k"}],["path",{d:"M16 16v-3.5a2.5 2.5 0 0 1 5 0V16",key:"1wh10o"}],["path",{d:"M4.5 13h6",key:"dfilno"}],["path",{d:"m3 16 4.5-9 4.5 9",key:"2dxa0e"}]],Fo=e("ALargeSmall",Zm);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fm=[["circle",{cx:"16",cy:"4",r:"1",key:"1grugj"}],["path",{d:"m18 19 1-7-6 1",key:"r0i19z"}],["path",{d:"m5 8 3-3 5.5 3-2.36 3.5",key:"9ptxx2"}],["path",{d:"M4.24 14.5a5 5 0 0 0 6.88 6",key:"10kmtu"}],["path",{d:"M13.76 17.5a5 5 0 0 0-6.88-6",key:"2qq6rc"}]],qo=e("Accessibility",Fm);/** + */const Gm=[["circle",{cx:"16",cy:"4",r:"1",key:"1grugj"}],["path",{d:"m18 19 1-7-6 1",key:"r0i19z"}],["path",{d:"m5 8 3-3 5.5 3-2.36 3.5",key:"9ptxx2"}],["path",{d:"M4.24 14.5a5 5 0 0 0 6.88 6",key:"10kmtu"}],["path",{d:"M13.76 17.5a5 5 0 0 0-6.88-6",key:"2qq6rc"}]],Do=e("Accessibility",Gm);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Dm=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],bo=e("Activity",Dm);/** + */const Wm=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],Ro=e("Activity",Wm);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Rm=[["path",{d:"M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"larmp2"}],["path",{d:"M6 8h12",key:"6g4wlu"}],["path",{d:"M18.3 17.7a2.5 2.5 0 0 1-3.16 3.83 2.53 2.53 0 0 1-1.14-2V12",key:"1bo8pg"}],["path",{d:"M6.6 15.6A2 2 0 1 0 10 17v-5",key:"t9h90c"}]],$o=e("AirVent",Rm);/** + */const Em=[["path",{d:"M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"larmp2"}],["path",{d:"M6 8h12",key:"6g4wlu"}],["path",{d:"M18.3 17.7a2.5 2.5 0 0 1-3.16 3.83 2.53 2.53 0 0 1-1.14-2V12",key:"1bo8pg"}],["path",{d:"M6.6 15.6A2 2 0 1 0 10 17v-5",key:"t9h90c"}]],To=e("AirVent",Em);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Tm=[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["path",{d:"m12 15 5 6H7Z",key:"14qnn2"}]],Ao=e("Airplay",Tm);/** + */const Xm=[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["path",{d:"m12 15 5 6H7Z",key:"14qnn2"}]],Uo=e("Airplay",Xm);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Um=[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]],q=e("AlarmClockCheck",Um);/** + */const Km=[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]],$=e("AlarmClockCheck",Km);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Om=[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"M9 13h6",key:"1uhe8q"}]],b=e("AlarmClockMinus",Om);/** + */const Jm=[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"M9 13h6",key:"1uhe8q"}]],A=e("AlarmClockMinus",Jm);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zm=[["path",{d:"M6.87 6.87a8 8 0 1 0 11.26 11.26",key:"3on8tj"}],["path",{d:"M19.9 14.25a8 8 0 0 0-9.15-9.15",key:"15ghsc"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.26 18.67 4 21",key:"yzmioq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M4 4 2 6",key:"1ycko6"}]],Ho=e("AlarmClockOff",Zm);/** + */const Qm=[["path",{d:"M6.87 6.87a8 8 0 1 0 11.26 11.26",key:"3on8tj"}],["path",{d:"M19.9 14.25a8 8 0 0 0-9.15-9.15",key:"15ghsc"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.26 18.67 4 21",key:"yzmioq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M4 4 2 6",key:"1ycko6"}]],Oo=e("AlarmClockOff",Qm);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Gm=[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}]],$=e("AlarmClockPlus",Gm);/** + */const Ym=[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}]],H=e("AlarmClockPlus",Ym);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Wm=[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M12 9v4l2 2",key:"1c63tq"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}]],zo=e("AlarmClock",Wm);/** + */const e_=[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M12 9v4l2 2",key:"1c63tq"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}]],Zo=e("AlarmClock",e_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Em=[["path",{d:"M11 21c0-2.5 2-2.5 2-5",key:"1sicvv"}],["path",{d:"M16 21c0-2.5 2-2.5 2-5",key:"1o3eny"}],["path",{d:"m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8",key:"1bvca4"}],["path",{d:"M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z",key:"x3qr1j"}],["path",{d:"M6 21c0-2.5 2-2.5 2-5",key:"i3w1gp"}]],Po=e("AlarmSmoke",Em);/** + */const a_=[["path",{d:"M11 21c0-2.5 2-2.5 2-5",key:"1sicvv"}],["path",{d:"M16 21c0-2.5 2-2.5 2-5",key:"1o3eny"}],["path",{d:"m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8",key:"1bvca4"}],["path",{d:"M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z",key:"x3qr1j"}],["path",{d:"M6 21c0-2.5 2-2.5 2-5",key:"i3w1gp"}]],Go=e("AlarmSmoke",a_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xm=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["polyline",{points:"11 3 11 11 14 8 17 11 17 3",key:"1wcwz3"}]],jo=e("Album",Xm);/** + */const o_=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["polyline",{points:"11 3 11 11 14 8 17 11 17 3",key:"1wcwz3"}]],Wo=e("Album",o_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Km=[["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4",key:"11f1s0"}],["path",{d:"M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4",key:"t14dx9"}],["path",{d:"M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1",key:"1w07xs"}],["path",{d:"M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1",key:"1apec2"}]],Vo=e("AlignCenterHorizontal",Km);/** + */const t_=[["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4",key:"11f1s0"}],["path",{d:"M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4",key:"t14dx9"}],["path",{d:"M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1",key:"1w07xs"}],["path",{d:"M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1",key:"1apec2"}]],Eo=e("AlignCenterHorizontal",t_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Jm=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4",key:"14d6g8"}],["path",{d:"M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4",key:"1e2lrw"}],["path",{d:"M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1",key:"1fkdwx"}],["path",{d:"M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1",key:"1euafb"}]],Bo=e("AlignCenterVertical",Jm);/** + */const c_=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4",key:"14d6g8"}],["path",{d:"M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4",key:"1e2lrw"}],["path",{d:"M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1",key:"1fkdwx"}],["path",{d:"M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1",key:"1euafb"}]],Xo=e("AlignCenterVertical",c_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Qm=[["rect",{width:"6",height:"16",x:"4",y:"2",rx:"2",key:"z5wdxg"}],["rect",{width:"6",height:"9",x:"14",y:"9",rx:"2",key:"um7a8w"}],["path",{d:"M22 22H2",key:"19qnx5"}]],Fo=e("AlignEndHorizontal",Qm);/** + */const n_=[["rect",{width:"6",height:"16",x:"4",y:"2",rx:"2",key:"z5wdxg"}],["rect",{width:"6",height:"9",x:"14",y:"9",rx:"2",key:"um7a8w"}],["path",{d:"M22 22H2",key:"19qnx5"}]],Ko=e("AlignEndHorizontal",n_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ym=[["rect",{width:"16",height:"6",x:"2",y:"4",rx:"2",key:"10wcwx"}],["rect",{width:"9",height:"6",x:"9",y:"14",rx:"2",key:"4p5bwg"}],["path",{d:"M22 22V2",key:"12ipfv"}]],Do=e("AlignEndVertical",Ym);/** + */const d_=[["rect",{width:"16",height:"6",x:"2",y:"4",rx:"2",key:"10wcwx"}],["rect",{width:"9",height:"6",x:"9",y:"14",rx:"2",key:"4p5bwg"}],["path",{d:"M22 22V2",key:"12ipfv"}]],Jo=e("AlignEndVertical",d_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const e_=[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M17 22v-5",key:"4b6g73"}],["path",{d:"M17 7V2",key:"hnrr36"}],["path",{d:"M7 22v-3",key:"1r4jpn"}],["path",{d:"M7 5V2",key:"liy1u9"}]],Ro=e("AlignHorizontalDistributeCenter",e_);/** + */const i_=[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M17 22v-5",key:"4b6g73"}],["path",{d:"M17 7V2",key:"hnrr36"}],["path",{d:"M7 22v-3",key:"1r4jpn"}],["path",{d:"M7 5V2",key:"liy1u9"}]],Qo=e("AlignHorizontalDistributeCenter",i_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const a_=[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M10 2v20",key:"uyc634"}],["path",{d:"M20 2v20",key:"1tx262"}]],To=e("AlignHorizontalDistributeEnd",a_);/** + */const h_=[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M10 2v20",key:"uyc634"}],["path",{d:"M20 2v20",key:"1tx262"}]],Yo=e("AlignHorizontalDistributeEnd",h_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o_=[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M4 2v20",key:"gtpd5x"}],["path",{d:"M14 2v20",key:"tg6bpw"}]],Uo=e("AlignHorizontalDistributeStart",o_);/** + */const y_=[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M4 2v20",key:"gtpd5x"}],["path",{d:"M14 2v20",key:"tg6bpw"}]],et=e("AlignHorizontalDistributeStart",y_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const c_=[["rect",{width:"6",height:"14",x:"2",y:"5",rx:"2",key:"dy24zr"}],["rect",{width:"6",height:"10",x:"16",y:"7",rx:"2",key:"13zkjt"}],["path",{d:"M12 2v20",key:"t6zp3m"}]],Oo=e("AlignHorizontalJustifyCenter",c_);/** + */const r_=[["rect",{width:"6",height:"14",x:"2",y:"5",rx:"2",key:"dy24zr"}],["rect",{width:"6",height:"10",x:"16",y:"7",rx:"2",key:"13zkjt"}],["path",{d:"M12 2v20",key:"t6zp3m"}]],at=e("AlignHorizontalJustifyCenter",r_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const t_=[["rect",{width:"6",height:"14",x:"2",y:"5",rx:"2",key:"dy24zr"}],["rect",{width:"6",height:"10",x:"12",y:"7",rx:"2",key:"1ht384"}],["path",{d:"M22 2v20",key:"40qfg1"}]],Zo=e("AlignHorizontalJustifyEnd",t_);/** + */const k_=[["rect",{width:"6",height:"14",x:"2",y:"5",rx:"2",key:"dy24zr"}],["rect",{width:"6",height:"10",x:"12",y:"7",rx:"2",key:"1ht384"}],["path",{d:"M22 2v20",key:"40qfg1"}]],ot=e("AlignHorizontalJustifyEnd",k_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const n_=[["rect",{width:"6",height:"14",x:"6",y:"5",rx:"2",key:"hsirpf"}],["rect",{width:"6",height:"10",x:"16",y:"7",rx:"2",key:"13zkjt"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],Go=e("AlignHorizontalJustifyStart",n_);/** + */const p_=[["rect",{width:"6",height:"14",x:"6",y:"5",rx:"2",key:"hsirpf"}],["rect",{width:"6",height:"10",x:"16",y:"7",rx:"2",key:"13zkjt"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],tt=e("AlignHorizontalJustifyStart",p_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const d_=[["rect",{width:"6",height:"10",x:"9",y:"7",rx:"2",key:"yn7j0q"}],["path",{d:"M4 22V2",key:"tsjzd3"}],["path",{d:"M20 22V2",key:"1bnhr8"}]],Wo=e("AlignHorizontalSpaceAround",d_);/** + */const s_=[["rect",{width:"6",height:"10",x:"9",y:"7",rx:"2",key:"yn7j0q"}],["path",{d:"M4 22V2",key:"tsjzd3"}],["path",{d:"M20 22V2",key:"1bnhr8"}]],ct=e("AlignHorizontalSpaceAround",s_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const i_=[["rect",{width:"6",height:"14",x:"3",y:"5",rx:"2",key:"j77dae"}],["rect",{width:"6",height:"10",x:"15",y:"7",rx:"2",key:"bq30hj"}],["path",{d:"M3 2v20",key:"1d2pfg"}],["path",{d:"M21 2v20",key:"p059bm"}]],Eo=e("AlignHorizontalSpaceBetween",i_);/** + */const l_=[["rect",{width:"6",height:"14",x:"3",y:"5",rx:"2",key:"j77dae"}],["rect",{width:"6",height:"10",x:"15",y:"7",rx:"2",key:"bq30hj"}],["path",{d:"M3 2v20",key:"1d2pfg"}],["path",{d:"M21 2v20",key:"p059bm"}]],nt=e("AlignHorizontalSpaceBetween",l_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const h_=[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]],Xo=e("AlignJustify",h_);/** + */const u_=[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]],dt=e("AlignJustify",u_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const y_=[["rect",{width:"6",height:"16",x:"4",y:"6",rx:"2",key:"1n4dg1"}],["rect",{width:"6",height:"9",x:"14",y:"6",rx:"2",key:"17khns"}],["path",{d:"M22 2H2",key:"fhrpnj"}]],Ko=e("AlignStartHorizontal",y_);/** + */const M_=[["rect",{width:"6",height:"16",x:"4",y:"6",rx:"2",key:"1n4dg1"}],["rect",{width:"6",height:"9",x:"14",y:"6",rx:"2",key:"17khns"}],["path",{d:"M22 2H2",key:"fhrpnj"}]],it=e("AlignStartHorizontal",M_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const r_=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],Jo=e("AlignStartVertical",r_);/** + */const v_=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],ht=e("AlignStartVertical",v_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const k_=[["path",{d:"M22 17h-3",key:"1lwga1"}],["path",{d:"M22 7h-5",key:"o2endc"}],["path",{d:"M5 17H2",key:"1gx9xc"}],["path",{d:"M7 7H2",key:"6bq26l"}],["rect",{x:"5",y:"14",width:"14",height:"6",rx:"2",key:"1qrzuf"}],["rect",{x:"7",y:"4",width:"10",height:"6",rx:"2",key:"we8e9z"}]],Qo=e("AlignVerticalDistributeCenter",k_);/** + */const m_=[["path",{d:"M22 17h-3",key:"1lwga1"}],["path",{d:"M22 7h-5",key:"o2endc"}],["path",{d:"M5 17H2",key:"1gx9xc"}],["path",{d:"M7 7H2",key:"6bq26l"}],["rect",{x:"5",y:"14",width:"14",height:"6",rx:"2",key:"1qrzuf"}],["rect",{x:"7",y:"4",width:"10",height:"6",rx:"2",key:"we8e9z"}]],yt=e("AlignVerticalDistributeCenter",m_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const p_=[["rect",{width:"14",height:"6",x:"5",y:"14",rx:"2",key:"jmoj9s"}],["rect",{width:"10",height:"6",x:"7",y:"4",rx:"2",key:"aza5on"}],["path",{d:"M2 20h20",key:"owomy5"}],["path",{d:"M2 10h20",key:"1ir3d8"}]],Yo=e("AlignVerticalDistributeEnd",p_);/** + */const __=[["rect",{width:"14",height:"6",x:"5",y:"14",rx:"2",key:"jmoj9s"}],["rect",{width:"10",height:"6",x:"7",y:"4",rx:"2",key:"aza5on"}],["path",{d:"M2 20h20",key:"owomy5"}],["path",{d:"M2 10h20",key:"1ir3d8"}]],rt=e("AlignVerticalDistributeEnd",__);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const s_=[["rect",{width:"14",height:"6",x:"5",y:"14",rx:"2",key:"jmoj9s"}],["rect",{width:"10",height:"6",x:"7",y:"4",rx:"2",key:"aza5on"}],["path",{d:"M2 14h20",key:"myj16y"}],["path",{d:"M2 4h20",key:"mda7wb"}]],ec=e("AlignVerticalDistributeStart",s_);/** + */const g_=[["rect",{width:"14",height:"6",x:"5",y:"14",rx:"2",key:"jmoj9s"}],["rect",{width:"10",height:"6",x:"7",y:"4",rx:"2",key:"aza5on"}],["path",{d:"M2 14h20",key:"myj16y"}],["path",{d:"M2 4h20",key:"mda7wb"}]],kt=e("AlignVerticalDistributeStart",g_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const l_=[["rect",{width:"14",height:"6",x:"5",y:"16",rx:"2",key:"1i8z2d"}],["rect",{width:"10",height:"6",x:"7",y:"2",rx:"2",key:"ypihtt"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],ac=e("AlignVerticalJustifyCenter",l_);/** + */const L_=[["rect",{width:"14",height:"6",x:"5",y:"16",rx:"2",key:"1i8z2d"}],["rect",{width:"10",height:"6",x:"7",y:"2",rx:"2",key:"ypihtt"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],pt=e("AlignVerticalJustifyCenter",L_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const u_=[["rect",{width:"14",height:"6",x:"5",y:"12",rx:"2",key:"4l4tp2"}],["rect",{width:"10",height:"6",x:"7",y:"2",rx:"2",key:"ypihtt"}],["path",{d:"M2 22h20",key:"272qi7"}]],oc=e("AlignVerticalJustifyEnd",u_);/** + */const x_=[["rect",{width:"14",height:"6",x:"5",y:"12",rx:"2",key:"4l4tp2"}],["rect",{width:"10",height:"6",x:"7",y:"2",rx:"2",key:"ypihtt"}],["path",{d:"M2 22h20",key:"272qi7"}]],st=e("AlignVerticalJustifyEnd",x_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const M_=[["rect",{width:"14",height:"6",x:"5",y:"16",rx:"2",key:"1i8z2d"}],["rect",{width:"10",height:"6",x:"7",y:"6",rx:"2",key:"13squh"}],["path",{d:"M2 2h20",key:"1ennik"}]],cc=e("AlignVerticalJustifyStart",M_);/** + */const w_=[["rect",{width:"14",height:"6",x:"5",y:"16",rx:"2",key:"1i8z2d"}],["rect",{width:"10",height:"6",x:"7",y:"6",rx:"2",key:"13squh"}],["path",{d:"M2 2h20",key:"1ennik"}]],lt=e("AlignVerticalJustifyStart",w_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const v_=[["rect",{width:"10",height:"6",x:"7",y:"9",rx:"2",key:"b1zbii"}],["path",{d:"M22 20H2",key:"1p1f7z"}],["path",{d:"M22 4H2",key:"1b7qnq"}]],tc=e("AlignVerticalSpaceAround",v_);/** + */const f_=[["rect",{width:"10",height:"6",x:"7",y:"9",rx:"2",key:"b1zbii"}],["path",{d:"M22 20H2",key:"1p1f7z"}],["path",{d:"M22 4H2",key:"1b7qnq"}]],ut=e("AlignVerticalSpaceAround",f_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const m_=[["rect",{width:"14",height:"6",x:"5",y:"15",rx:"2",key:"1w91an"}],["rect",{width:"10",height:"6",x:"7",y:"3",rx:"2",key:"17wqzy"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M2 3h20",key:"91anmk"}]],nc=e("AlignVerticalSpaceBetween",m_);/** + */const C_=[["rect",{width:"14",height:"6",x:"5",y:"15",rx:"2",key:"1w91an"}],["rect",{width:"10",height:"6",x:"7",y:"3",rx:"2",key:"17wqzy"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M2 3h20",key:"91anmk"}]],Mt=e("AlignVerticalSpaceBetween",C_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const __=[["path",{d:"M10 10H6",key:"1bsnug"}],["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14",key:"lrkjwd"}],["path",{d:"M8 8v4",key:"1fwk8c"}],["path",{d:"M9 18h6",key:"x1upvd"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],dc=e("Ambulance",__);/** + */const I_=[["path",{d:"M10 10H6",key:"1bsnug"}],["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14",key:"lrkjwd"}],["path",{d:"M8 8v4",key:"1fwk8c"}],["path",{d:"M9 18h6",key:"x1upvd"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],vt=e("Ambulance",I_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const g_=[["path",{d:"M17.5 12c0 4.4-3.6 8-8 8A4.5 4.5 0 0 1 5 15.5c0-6 8-4 8-8.5a3 3 0 1 0-6 0c0 3 2.5 8.5 12 13",key:"1o9ehi"}],["path",{d:"M16 12h3",key:"4uvgyw"}]],ic=e("Ampersand",g_);/** + */const N_=[["path",{d:"M17.5 12c0 4.4-3.6 8-8 8A4.5 4.5 0 0 1 5 15.5c0-6 8-4 8-8.5a3 3 0 1 0-6 0c0 3 2.5 8.5 12 13",key:"1o9ehi"}],["path",{d:"M16 12h3",key:"4uvgyw"}]],mt=e("Ampersand",N_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const L_=[["path",{d:"M10 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5",key:"12lh1k"}],["path",{d:"M22 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5",key:"173c68"}]],hc=e("Ampersands",L_);/** + */const S_=[["path",{d:"M10 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5",key:"12lh1k"}],["path",{d:"M22 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5",key:"173c68"}]],_t=e("Ampersands",S_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const x_=[["path",{d:"M10 2v5.632c0 .424-.272.795-.653.982A6 6 0 0 0 6 14c.006 4 3 7 5 8",key:"1h8rid"}],["path",{d:"M10 5H8a2 2 0 0 0 0 4h.68",key:"3ezsi6"}],["path",{d:"M14 2v5.632c0 .424.272.795.652.982A6 6 0 0 1 18 14c0 4-3 7-5 8",key:"yt6q09"}],["path",{d:"M14 5h2a2 2 0 0 1 0 4h-.68",key:"8f95yk"}],["path",{d:"M18 22H6",key:"mg6kv4"}],["path",{d:"M9 2h6",key:"1jrp98"}]],yc=e("Amphora",x_);/** + */const b_=[["path",{d:"M10 2v5.632c0 .424-.272.795-.653.982A6 6 0 0 0 6 14c.006 4 3 7 5 8",key:"1h8rid"}],["path",{d:"M10 5H8a2 2 0 0 0 0 4h.68",key:"3ezsi6"}],["path",{d:"M14 2v5.632c0 .424.272.795.652.982A6 6 0 0 1 18 14c0 4-3 7-5 8",key:"yt6q09"}],["path",{d:"M14 5h2a2 2 0 0 1 0 4h-.68",key:"8f95yk"}],["path",{d:"M18 22H6",key:"mg6kv4"}],["path",{d:"M9 2h6",key:"1jrp98"}]],gt=e("Amphora",b_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const w_=[["path",{d:"M12 22V8",key:"qkxhtm"}],["path",{d:"M5 12H2a10 10 0 0 0 20 0h-3",key:"1hv3nh"}],["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}]],rc=e("Anchor",w_);/** + */const q_=[["path",{d:"M12 22V8",key:"qkxhtm"}],["path",{d:"M5 12H2a10 10 0 0 0 20 0h-3",key:"1hv3nh"}],["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}]],Lt=e("Anchor",q_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const f_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["path",{d:"M7.5 8 10 9",key:"olxxln"}],["path",{d:"m14 9 2.5-1",key:"1j6cij"}],["path",{d:"M9 10h.01",key:"qbtxuw"}],["path",{d:"M15 10h.01",key:"1qmjsl"}]],kc=e("Angry",f_);/** + */const $_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["path",{d:"M7.5 8 10 9",key:"olxxln"}],["path",{d:"m14 9 2.5-1",key:"1j6cij"}],["path",{d:"M9 10h.01",key:"qbtxuw"}],["path",{d:"M15 10h.01",key:"1qmjsl"}]],xt=e("Angry",$_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const C_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 15h8",key:"45n4r"}],["path",{d:"M8 9h2",key:"1g203m"}],["path",{d:"M14 9h2",key:"116p9w"}]],pc=e("Annoyed",C_);/** + */const A_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 15h8",key:"45n4r"}],["path",{d:"M8 9h2",key:"1g203m"}],["path",{d:"M14 9h2",key:"116p9w"}]],wt=e("Annoyed",A_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const I_=[["path",{d:"M2 12 7 2",key:"117k30"}],["path",{d:"m7 12 5-10",key:"1tvx22"}],["path",{d:"m12 12 5-10",key:"ev1o1a"}],["path",{d:"m17 12 5-10",key:"1e4ti3"}],["path",{d:"M4.5 7h15",key:"vlsxkz"}],["path",{d:"M12 16v6",key:"c8a4gj"}]],sc=e("Antenna",I_);/** + */const H_=[["path",{d:"M2 12 7 2",key:"117k30"}],["path",{d:"m7 12 5-10",key:"1tvx22"}],["path",{d:"m12 12 5-10",key:"ev1o1a"}],["path",{d:"m17 12 5-10",key:"1e4ti3"}],["path",{d:"M4.5 7h15",key:"vlsxkz"}],["path",{d:"M12 16v6",key:"c8a4gj"}]],ft=e("Antenna",H_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const N_=[["path",{d:"M7 10H6a4 4 0 0 1-4-4 1 1 0 0 1 1-1h4",key:"1hjpb6"}],["path",{d:"M7 5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1 7 7 0 0 1-7 7H8a1 1 0 0 1-1-1z",key:"1qn45f"}],["path",{d:"M9 12v5",key:"3anwtq"}],["path",{d:"M15 12v5",key:"5xh3zn"}],["path",{d:"M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1",key:"1fi4x8"}]],lc=e("Anvil",N_);/** + */const z_=[["path",{d:"M7 10H6a4 4 0 0 1-4-4 1 1 0 0 1 1-1h4",key:"1hjpb6"}],["path",{d:"M7 5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1 7 7 0 0 1-7 7H8a1 1 0 0 1-1-1z",key:"1qn45f"}],["path",{d:"M9 12v5",key:"3anwtq"}],["path",{d:"M15 12v5",key:"5xh3zn"}],["path",{d:"M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1",key:"1fi4x8"}]],Ct=e("Anvil",z_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const S_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14.31 8 5.74 9.94",key:"1y6ab4"}],["path",{d:"M9.69 8h11.48",key:"1wxppr"}],["path",{d:"m7.38 12 5.74-9.94",key:"1grp0k"}],["path",{d:"M9.69 16 3.95 6.06",key:"libnyf"}],["path",{d:"M14.31 16H2.83",key:"x5fava"}],["path",{d:"m16.62 12-5.74 9.94",key:"1vwawt"}]],uc=e("Aperture",S_);/** + */const j_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14.31 8 5.74 9.94",key:"1y6ab4"}],["path",{d:"M9.69 8h11.48",key:"1wxppr"}],["path",{d:"m7.38 12 5.74-9.94",key:"1grp0k"}],["path",{d:"M9.69 16 3.95 6.06",key:"libnyf"}],["path",{d:"M14.31 16H2.83",key:"x5fava"}],["path",{d:"m16.62 12-5.74 9.94",key:"1vwawt"}]],It=e("Aperture",j_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const q_=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M14 8h.01",key:"1primd"}]],Mc=e("AppWindowMac",q_);/** + */const P_=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M14 8h.01",key:"1primd"}]],Nt=e("AppWindowMac",P_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const b_=[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]],vc=e("AppWindow",b_);/** + */const V_=[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]],St=e("AppWindow",V_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $_=[["path",{d:"M12 20.94c1.5 0 2.75 1.06 4 1.06 3 0 6-8 6-12.22A4.91 4.91 0 0 0 17 5c-2.22 0-4 1.44-5 2-1-.56-2.78-2-5-2a4.9 4.9 0 0 0-5 4.78C2 14 5 22 8 22c1.25 0 2.5-1.06 4-1.06Z",key:"3s7exb"}],["path",{d:"M10 2c1 .5 2 2 2 5",key:"fcco2y"}]],mc=e("Apple",$_);/** + */const B_=[["path",{d:"M12 20.94c1.5 0 2.75 1.06 4 1.06 3 0 6-8 6-12.22A4.91 4.91 0 0 0 17 5c-2.22 0-4 1.44-5 2-1-.56-2.78-2-5-2a4.9 4.9 0 0 0-5 4.78C2 14 5 22 8 22c1.25 0 2.5-1.06 4-1.06Z",key:"3s7exb"}],["path",{d:"M10 2c1 .5 2 2 2 5",key:"fcco2y"}]],bt=e("Apple",B_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const A_=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]],_c=e("ArchiveRestore",A_);/** + */const F_=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]],qt=e("ArchiveRestore",F_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const H_=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"m9.5 17 5-5",key:"nakeu6"}],["path",{d:"m9.5 12 5 5",key:"1hccrj"}]],gc=e("ArchiveX",H_);/** + */const D_=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"m9.5 17 5-5",key:"nakeu6"}],["path",{d:"m9.5 12 5 5",key:"1hccrj"}]],$t=e("ArchiveX",D_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const z_=[["path",{d:"M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3",key:"irtipd"}],["path",{d:"M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"1qyhux"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],Lc=e("Armchair",z_);/** + */const R_=[["path",{d:"M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3",key:"irtipd"}],["path",{d:"M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"1qyhux"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],At=e("Armchair",R_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const P_=[["path",{d:"M15 5H9",key:"1tp3ed"}],["path",{d:"M15 9v3h4l-7 7-7-7h4V9z",key:"ncdc4b"}]],xc=e("ArrowBigDownDash",P_);/** + */const T_=[["path",{d:"M15 5H9",key:"1tp3ed"}],["path",{d:"M15 9v3h4l-7 7-7-7h4V9z",key:"ncdc4b"}]],Ht=e("ArrowBigDownDash",T_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const j_=[["path",{d:"M15 6v6h4l-7 7-7-7h4V6h6z",key:"1thax2"}]],wc=e("ArrowBigDown",j_);/** + */const U_=[["path",{d:"M15 6v6h4l-7 7-7-7h4V6h6z",key:"1thax2"}]],zt=e("ArrowBigDown",U_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const V_=[["path",{d:"M19 15V9",key:"1hci5f"}],["path",{d:"M15 15h-3v4l-7-7 7-7v4h3v6z",key:"16tjna"}]],fc=e("ArrowBigLeftDash",V_);/** + */const O_=[["path",{d:"M19 15V9",key:"1hci5f"}],["path",{d:"M15 15h-3v4l-7-7 7-7v4h3v6z",key:"16tjna"}]],jt=e("ArrowBigLeftDash",O_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const B_=[["path",{d:"M18 15h-6v4l-7-7 7-7v4h6v6z",key:"lbrdak"}]],Cc=e("ArrowBigLeft",B_);/** + */const Z_=[["path",{d:"M18 15h-6v4l-7-7 7-7v4h6v6z",key:"lbrdak"}]],Pt=e("ArrowBigLeft",Z_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const F_=[["path",{d:"M5 9v6",key:"158jrl"}],["path",{d:"M9 9h3V5l7 7-7 7v-4H9V9z",key:"1sg2xn"}]],Ic=e("ArrowBigRightDash",F_);/** + */const G_=[["path",{d:"M5 9v6",key:"158jrl"}],["path",{d:"M9 9h3V5l7 7-7 7v-4H9V9z",key:"1sg2xn"}]],Vt=e("ArrowBigRightDash",G_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const D_=[["path",{d:"M6 9h6V5l7 7-7 7v-4H6V9z",key:"7fvt9c"}]],Nc=e("ArrowBigRight",D_);/** + */const W_=[["path",{d:"M6 9h6V5l7 7-7 7v-4H6V9z",key:"7fvt9c"}]],Bt=e("ArrowBigRight",W_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const R_=[["path",{d:"M9 19h6",key:"456am0"}],["path",{d:"M9 15v-3H5l7-7 7 7h-4v3H9z",key:"1r2uve"}]],Sc=e("ArrowBigUpDash",R_);/** + */const E_=[["path",{d:"M9 19h6",key:"456am0"}],["path",{d:"M9 15v-3H5l7-7 7 7h-4v3H9z",key:"1r2uve"}]],Ft=e("ArrowBigUpDash",E_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const T_=[["path",{d:"M9 18v-6H5l7-7 7 7h-4v6H9z",key:"1x06kx"}]],qc=e("ArrowBigUp",T_);/** + */const X_=[["path",{d:"M9 18v-6H5l7-7 7 7h-4v6H9z",key:"1x06kx"}]],Dt=e("ArrowBigUp",X_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const U_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["rect",{x:"15",y:"4",width:"4",height:"6",ry:"2",key:"1bwicg"}],["path",{d:"M17 20v-6h-2",key:"1qp1so"}],["path",{d:"M15 20h4",key:"1j968p"}]],bc=e("ArrowDown01",U_);/** + */const K_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["rect",{x:"15",y:"4",width:"4",height:"6",ry:"2",key:"1bwicg"}],["path",{d:"M17 20v-6h-2",key:"1qp1so"}],["path",{d:"M15 20h4",key:"1j968p"}]],Rt=e("ArrowDown01",K_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const O_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M17 10V4h-2",key:"zcsr5x"}],["path",{d:"M15 10h4",key:"id2lce"}],["rect",{x:"15",y:"14",width:"4",height:"6",ry:"2",key:"33xykx"}]],$c=e("ArrowDown10",O_);/** + */const J_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M17 10V4h-2",key:"zcsr5x"}],["path",{d:"M15 10h4",key:"id2lce"}],["rect",{x:"15",y:"14",width:"4",height:"6",ry:"2",key:"33xykx"}]],Tt=e("ArrowDown10",J_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Z_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],A=e("ArrowDownAZ",Z_);/** + */const Q_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],z=e("ArrowDownAZ",Q_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const G_=[["path",{d:"M19 3H5",key:"1236rx"}],["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m6 15 6 6 6-6",key:"h15q88"}]],Ac=e("ArrowDownFromLine",G_);/** + */const Y_=[["path",{d:"M19 3H5",key:"1236rx"}],["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m6 15 6 6 6-6",key:"h15q88"}]],Ut=e("ArrowDownFromLine",Y_);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const W_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h4",key:"6d7r33"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h10",key:"1438ji"}]],Hc=e("ArrowDownNarrowWide",W_);/** + */const eg=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h4",key:"6d7r33"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h10",key:"1438ji"}]],Ot=e("ArrowDownNarrowWide",eg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const E_=[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]],zc=e("ArrowDownRight",E_);/** + */const ag=[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]],Zt=e("ArrowDownRight",ag);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const X_=[["path",{d:"M12 2v14",key:"jyx4ut"}],["path",{d:"m19 9-7 7-7-7",key:"1oe3oy"}],["circle",{cx:"12",cy:"21",r:"1",key:"o0uj5v"}]],Pc=e("ArrowDownToDot",X_);/** + */const og=[["path",{d:"M12 2v14",key:"jyx4ut"}],["path",{d:"m19 9-7 7-7-7",key:"1oe3oy"}],["circle",{cx:"12",cy:"21",r:"1",key:"o0uj5v"}]],Gt=e("ArrowDownToDot",og);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const K_=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],jc=e("ArrowDownToLine",K_);/** + */const tg=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],Wt=e("ArrowDownToLine",tg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const J_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"m21 8-4-4-4 4",key:"1c9v7m"}],["path",{d:"M17 4v16",key:"7dpous"}]],Vc=e("ArrowDownUp",J_);/** + */const cg=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"m21 8-4-4-4 4",key:"1c9v7m"}],["path",{d:"M17 4v16",key:"7dpous"}]],Et=e("ArrowDownUp",cg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Q_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]],H=e("ArrowDownWideNarrow",Q_);/** + */const ng=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]],j=e("ArrowDownWideNarrow",ng);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Y_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]],z=e("ArrowDownZA",Y_);/** + */const dg=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]],P=e("ArrowDownZA",dg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eg=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Bc=e("ArrowDown",eg);/** + */const ig=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Xt=e("ArrowDown",ig);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ag=[["path",{d:"m9 6-6 6 6 6",key:"7v63n9"}],["path",{d:"M3 12h14",key:"13k4hi"}],["path",{d:"M21 19V5",key:"b4bplr"}]],Fc=e("ArrowLeftFromLine",ag);/** + */const hg=[["path",{d:"m9 6-6 6 6 6",key:"7v63n9"}],["path",{d:"M3 12h14",key:"13k4hi"}],["path",{d:"M21 19V5",key:"b4bplr"}]],Kt=e("ArrowLeftFromLine",hg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const og=[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]],Dc=e("ArrowLeftRight",og);/** + */const yg=[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]],Jt=e("ArrowLeftRight",yg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cg=[["path",{d:"M3 19V5",key:"rwsyhb"}],["path",{d:"m13 6-6 6 6 6",key:"1yhaz7"}],["path",{d:"M7 12h14",key:"uoisry"}]],Rc=e("ArrowLeftToLine",cg);/** + */const rg=[["path",{d:"M3 19V5",key:"rwsyhb"}],["path",{d:"m13 6-6 6 6 6",key:"1yhaz7"}],["path",{d:"M7 12h14",key:"uoisry"}]],Qt=e("ArrowLeftToLine",rg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tg=[["path",{d:"M3 5v14",key:"1nt18q"}],["path",{d:"M21 12H7",key:"13ipq5"}],["path",{d:"m15 18 6-6-6-6",key:"6tx3qv"}]],Tc=e("ArrowRightFromLine",tg);/** + */const kg=[["path",{d:"M3 5v14",key:"1nt18q"}],["path",{d:"M21 12H7",key:"13ipq5"}],["path",{d:"m15 18 6-6-6-6",key:"6tx3qv"}]],Yt=e("ArrowRightFromLine",kg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ng=[["path",{d:"M17 12H3",key:"8awo09"}],["path",{d:"m11 18 6-6-6-6",key:"8c2y43"}],["path",{d:"M21 5v14",key:"nzette"}]],Uc=e("ArrowRightToLine",ng);/** + */const pg=[["path",{d:"M17 12H3",key:"8awo09"}],["path",{d:"m11 18 6-6-6-6",key:"8c2y43"}],["path",{d:"M21 5v14",key:"nzette"}]],ec=e("ArrowRightToLine",pg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dg=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["rect",{x:"15",y:"4",width:"4",height:"6",ry:"2",key:"1bwicg"}],["path",{d:"M17 20v-6h-2",key:"1qp1so"}],["path",{d:"M15 20h4",key:"1j968p"}]],Oc=e("ArrowUp01",dg);/** + */const sg=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["rect",{x:"15",y:"4",width:"4",height:"6",ry:"2",key:"1bwicg"}],["path",{d:"M17 20v-6h-2",key:"1qp1so"}],["path",{d:"M15 20h4",key:"1j968p"}]],ac=e("ArrowUp01",sg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ig=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M17 10V4h-2",key:"zcsr5x"}],["path",{d:"M15 10h4",key:"id2lce"}],["rect",{x:"15",y:"14",width:"4",height:"6",ry:"2",key:"33xykx"}]],Zc=e("ArrowUp10",ig);/** + */const lg=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M17 10V4h-2",key:"zcsr5x"}],["path",{d:"M15 10h4",key:"id2lce"}],["rect",{x:"15",y:"14",width:"4",height:"6",ry:"2",key:"33xykx"}]],oc=e("ArrowUp10",lg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hg=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],P=e("ArrowUpAZ",hg);/** + */const ug=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],V=e("ArrowUpAZ",ug);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yg=[["path",{d:"m5 9 7-7 7 7",key:"1hw5ic"}],["path",{d:"M12 16V2",key:"ywoabb"}],["circle",{cx:"12",cy:"21",r:"1",key:"o0uj5v"}]],Gc=e("ArrowUpFromDot",yg);/** + */const Mg=[["path",{d:"m5 9 7-7 7 7",key:"1hw5ic"}],["path",{d:"M12 16V2",key:"ywoabb"}],["circle",{cx:"12",cy:"21",r:"1",key:"o0uj5v"}]],tc=e("ArrowUpFromDot",Mg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rg=[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]],Wc=e("ArrowUpFromLine",rg);/** + */const vg=[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]],cc=e("ArrowUpFromLine",vg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kg=[["path",{d:"M7 17V7h10",key:"11bw93"}],["path",{d:"M17 17 7 7",key:"2786uv"}]],Ec=e("ArrowUpLeft",kg);/** + */const mg=[["path",{d:"M7 17V7h10",key:"11bw93"}],["path",{d:"M17 17 7 7",key:"2786uv"}]],nc=e("ArrowUpLeft",mg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pg=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h4",key:"q8tih4"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h10",key:"jvxblo"}]],j=e("ArrowUpNarrowWide",pg);/** + */const _g=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h4",key:"q8tih4"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h10",key:"jvxblo"}]],B=e("ArrowUpNarrowWide",_g);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sg=[["path",{d:"M5 3h14",key:"7usisc"}],["path",{d:"m18 13-6-6-6 6",key:"1kf1n9"}],["path",{d:"M12 7v14",key:"1akyts"}]],Xc=e("ArrowUpToLine",sg);/** + */const gg=[["path",{d:"M5 3h14",key:"7usisc"}],["path",{d:"m18 13-6-6-6 6",key:"1kf1n9"}],["path",{d:"M12 7v14",key:"1akyts"}]],dc=e("ArrowUpToLine",gg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lg=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h4",key:"1krc32"}]],Kc=e("ArrowUpWideNarrow",lg);/** + */const Lg=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h4",key:"1krc32"}]],ic=e("ArrowUpWideNarrow",Lg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ug=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]],V=e("ArrowUpZA",ug);/** + */const xg=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]],F=e("ArrowUpZA",xg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Mg=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Jc=e("ArrowUp",Mg);/** + */const wg=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],hc=e("ArrowUp",wg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vg=[["path",{d:"m4 6 3-3 3 3",key:"9aidw8"}],["path",{d:"M7 17V3",key:"19qxw1"}],["path",{d:"m14 6 3-3 3 3",key:"6iy689"}],["path",{d:"M17 17V3",key:"o0fmgi"}],["path",{d:"M4 21h16",key:"1h09gz"}]],Qc=e("ArrowsUpFromLine",vg);/** + */const fg=[["path",{d:"m4 6 3-3 3 3",key:"9aidw8"}],["path",{d:"M7 17V3",key:"19qxw1"}],["path",{d:"m14 6 3-3 3 3",key:"6iy689"}],["path",{d:"M17 17V3",key:"o0fmgi"}],["path",{d:"M4 21h16",key:"1h09gz"}]],yc=e("ArrowsUpFromLine",fg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mg=[["path",{d:"M12 6v12",key:"1vza4d"}],["path",{d:"M17.196 9 6.804 15",key:"1ah31z"}],["path",{d:"m6.804 9 10.392 6",key:"1b6pxd"}]],Yc=e("Asterisk",mg);/** + */const Cg=[["path",{d:"M12 6v12",key:"1vza4d"}],["path",{d:"M17.196 9 6.804 15",key:"1ah31z"}],["path",{d:"m6.804 9 10.392 6",key:"1b6pxd"}]],rc=e("Asterisk",Cg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _g=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]],et=e("AtSign",_g);/** + */const Ig=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]],kc=e("AtSign",Ig);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gg=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],at=e("Atom",gg);/** + */const Ng=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],pc=e("Atom",Ng);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Lg=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],ot=e("AudioLines",Lg);/** + */const Sg=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],sc=e("AudioLines",Sg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xg=[["path",{d:"M2 13a2 2 0 0 0 2-2V7a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0V4a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0v-4a2 2 0 0 1 2-2",key:"57tc96"}]],ct=e("AudioWaveform",xg);/** + */const bg=[["path",{d:"M2 13a2 2 0 0 0 2-2V7a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0V4a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0v-4a2 2 0 0 1 2-2",key:"57tc96"}]],lc=e("AudioWaveform",bg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wg=[["path",{d:"m14 12-8.5 8.5a2.12 2.12 0 1 1-3-3L11 9",key:"csbz4o"}],["path",{d:"M15 13 9 7l4-4 6 6h3a8 8 0 0 1-7 7z",key:"113wfo"}]],tt=e("Axe",wg);/** + */const qg=[["path",{d:"m14 12-8.5 8.5a2.12 2.12 0 1 1-3-3L11 9",key:"csbz4o"}],["path",{d:"M15 13 9 7l4-4 6 6h3a8 8 0 0 1-7 7z",key:"113wfo"}]],uc=e("Axe",qg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fg=[["path",{d:"M4 4v16h16",key:"1s015l"}],["path",{d:"m4 20 7-7",key:"17qe9y"}]],B=e("Axis3d",fg);/** + */const $g=[["path",{d:"M4 4v16h16",key:"1s015l"}],["path",{d:"m4 20 7-7",key:"17qe9y"}]],D=e("Axis3d",$g);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Cg=[["path",{d:"M9 12h.01",key:"157uk2"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M19 6.3a9 9 0 0 1 1.8 3.9 2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"5yv0yz"}]],nt=e("Baby",Cg);/** + */const Ag=[["path",{d:"M9 12h.01",key:"157uk2"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M19 6.3a9 9 0 0 1 1.8 3.9 2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"5yv0yz"}]],Mc=e("Baby",Ag);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ig=[["path",{d:"M4 10a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z",key:"1ol0lm"}],["path",{d:"M8 10h8",key:"c7uz4u"}],["path",{d:"M8 18h8",key:"1no2b1"}],["path",{d:"M8 22v-6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v6",key:"1fr6do"}],["path",{d:"M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2",key:"donm21"}]],dt=e("Backpack",Ig);/** + */const Hg=[["path",{d:"M4 10a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z",key:"1ol0lm"}],["path",{d:"M8 10h8",key:"c7uz4u"}],["path",{d:"M8 18h8",key:"1no2b1"}],["path",{d:"M8 22v-6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v6",key:"1fr6do"}],["path",{d:"M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2",key:"donm21"}]],vc=e("Backpack",Hg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ng=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],it=e("BadgeAlert",Ng);/** + */const zg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],mc=e("BadgeAlert",zg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Sg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M15.4 10a4 4 0 1 0 0 4",key:"2eqtx8"}]],ht=e("BadgeCent",Sg);/** + */const jg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M15.4 10a4 4 0 1 0 0 4",key:"2eqtx8"}]],_c=e("BadgeCent",jg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],F=e("BadgeCheck",qg);/** + */const Pg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],R=e("BadgeCheck",Pg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]],yt=e("BadgeDollarSign",bg);/** + */const Vg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]],gc=e("BadgeDollarSign",Vg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $g=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M7 12h5",key:"gblrwe"}],["path",{d:"M15 9.4a4 4 0 1 0 0 5.2",key:"1makmb"}]],rt=e("BadgeEuro",$g);/** + */const Bg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M7 12h5",key:"gblrwe"}],["path",{d:"M15 9.4a4 4 0 1 0 0 5.2",key:"1makmb"}]],Lc=e("BadgeEuro",Bg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ag=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["line",{x1:"12",x2:"12.01",y1:"17",y2:"17",key:"io3f8k"}]],kt=e("BadgeHelp",Ag);/** + */const Fg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["line",{x1:"12",x2:"12.01",y1:"17",y2:"17",key:"io3f8k"}]],xc=e("BadgeHelp",Fg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Hg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M8 8h8",key:"1bis0t"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m13 17-5-1h1a4 4 0 0 0 0-8",key:"nu2bwa"}]],pt=e("BadgeIndianRupee",Hg);/** + */const Dg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M8 8h8",key:"1bis0t"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m13 17-5-1h1a4 4 0 0 0 0-8",key:"nu2bwa"}]],wc=e("BadgeIndianRupee",Dg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"12",x2:"12",y1:"16",y2:"12",key:"1y1yb1"}],["line",{x1:"12",x2:"12.01",y1:"8",y2:"8",key:"110wyk"}]],st=e("BadgeInfo",zg);/** + */const Rg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"12",x2:"12",y1:"16",y2:"12",key:"1y1yb1"}],["line",{x1:"12",x2:"12.01",y1:"8",y2:"8",key:"110wyk"}]],fc=e("BadgeInfo",Rg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Pg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 8 3 3v7",key:"17yadx"}],["path",{d:"m12 11 3-3",key:"p4cfq1"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M9 16h6",key:"8wimt3"}]],lt=e("BadgeJapaneseYen",Pg);/** + */const Tg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 8 3 3v7",key:"17yadx"}],["path",{d:"m12 11 3-3",key:"p4cfq1"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M9 16h6",key:"8wimt3"}]],Cc=e("BadgeJapaneseYen",Tg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],ut=e("BadgeMinus",jg);/** + */const Ug=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Ic=e("BadgeMinus",Ug);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]],Mt=e("BadgePercent",Vg);/** + */const Og=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]],Nc=e("BadgePercent",Og);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"12",x2:"12",y1:"8",y2:"16",key:"10p56q"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],vt=e("BadgePlus",Bg);/** + */const Zg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"12",x2:"12",y1:"8",y2:"16",key:"10p56q"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Sc=e("BadgePlus",Zg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M8 12h4",key:"qz6y1c"}],["path",{d:"M10 16V9.5a2.5 2.5 0 0 1 5 0",key:"3mlbjk"}],["path",{d:"M8 16h7",key:"sbedsn"}]],mt=e("BadgePoundSterling",Fg);/** + */const Gg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M8 12h4",key:"qz6y1c"}],["path",{d:"M10 16V9.5a2.5 2.5 0 0 1 5 0",key:"3mlbjk"}],["path",{d:"M8 16h7",key:"sbedsn"}]],bc=e("BadgePoundSterling",Gg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Dg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M9 16h5",key:"1syiyw"}],["path",{d:"M9 12h5a2 2 0 1 0 0-4h-3v9",key:"1ge9c1"}]],_t=e("BadgeRussianRuble",Dg);/** + */const Wg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M9 16h5",key:"1syiyw"}],["path",{d:"M9 12h5a2 2 0 1 0 0-4h-3v9",key:"1ge9c1"}]],qc=e("BadgeRussianRuble",Wg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Rg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M11 17V8h4",key:"1bfq6y"}],["path",{d:"M11 12h3",key:"2eqnfz"}],["path",{d:"M9 16h4",key:"1skf3a"}]],gt=e("BadgeSwissFranc",Rg);/** + */const Eg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M11 17V8h4",key:"1bfq6y"}],["path",{d:"M11 12h3",key:"2eqnfz"}],["path",{d:"M9 16h4",key:"1skf3a"}]],$c=e("BadgeSwissFranc",Eg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Tg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]],Lt=e("BadgeX",Tg);/** + */const Xg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]],Ac=e("BadgeX",Xg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ug=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}]],xt=e("Badge",Ug);/** + */const Kg=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}]],Hc=e("Badge",Kg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Og=[["path",{d:"M22 18H6a2 2 0 0 1-2-2V7a2 2 0 0 0-2-2",key:"4irg2o"}],["path",{d:"M17 14V4a2 2 0 0 0-2-2h-1a2 2 0 0 0-2 2v10",key:"14fcyx"}],["rect",{width:"13",height:"8",x:"8",y:"6",rx:"1",key:"o6oiis"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"9",cy:"20",r:"2",key:"e5v82j"}]],wt=e("BaggageClaim",Og);/** + */const Jg=[["path",{d:"M22 18H6a2 2 0 0 1-2-2V7a2 2 0 0 0-2-2",key:"4irg2o"}],["path",{d:"M17 14V4a2 2 0 0 0-2-2h-1a2 2 0 0 0-2 2v10",key:"14fcyx"}],["rect",{width:"13",height:"8",x:"8",y:"6",rx:"1",key:"o6oiis"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"9",cy:"20",r:"2",key:"e5v82j"}]],zc=e("BaggageClaim",Jg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zg=[["path",{d:"M4 13c3.5-2 8-2 10 2a5.5 5.5 0 0 1 8 5",key:"1cscit"}],["path",{d:"M5.15 17.89c5.52-1.52 8.65-6.89 7-12C11.55 4 11.5 2 13 2c3.22 0 5 5.5 5 8 0 6.5-4.2 12-10.49 12C5.11 22 2 22 2 20c0-1.5 1.14-1.55 3.15-2.11Z",key:"1y1nbv"}]],ft=e("Banana",Zg);/** + */const Qg=[["path",{d:"M4 13c3.5-2 8-2 10 2a5.5 5.5 0 0 1 8 5",key:"1cscit"}],["path",{d:"M5.15 17.89c5.52-1.52 8.65-6.89 7-12C11.55 4 11.5 2 13 2c3.22 0 5 5.5 5 8 0 6.5-4.2 12-10.49 12C5.11 22 2 22 2 20c0-1.5 1.14-1.55 3.15-2.11Z",key:"1y1nbv"}]],jc=e("Banana",Qg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Gg=[["path",{d:"M10 10.01h.01",key:"1e9xi7"}],["path",{d:"M10 14.01h.01",key:"ac23bv"}],["path",{d:"M14 10.01h.01",key:"2wfrvf"}],["path",{d:"M14 14.01h.01",key:"8tw8yn"}],["path",{d:"M18 6v11.5",key:"dkbidh"}],["path",{d:"M6 6v12",key:"vkc79e"}],["rect",{x:"2",y:"6",width:"20",height:"12",rx:"2",key:"1wpnh2"}]],Ct=e("Bandage",Gg);/** + */const Yg=[["path",{d:"M10 10.01h.01",key:"1e9xi7"}],["path",{d:"M10 14.01h.01",key:"ac23bv"}],["path",{d:"M14 10.01h.01",key:"2wfrvf"}],["path",{d:"M14 14.01h.01",key:"8tw8yn"}],["path",{d:"M18 6v11.5",key:"dkbidh"}],["path",{d:"M6 6v12",key:"vkc79e"}],["rect",{x:"2",y:"6",width:"20",height:"12",rx:"2",key:"1wpnh2"}]],Pc=e("Bandage",Yg);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Wg=[["path",{d:"M3 5v14",key:"1nt18q"}],["path",{d:"M8 5v14",key:"1ybrkv"}],["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"M17 5v14",key:"ycjyhj"}],["path",{d:"M21 5v14",key:"nzette"}]],It=e("Barcode",Wg);/** + */const eL=[["path",{d:"M3 5v14",key:"1nt18q"}],["path",{d:"M8 5v14",key:"1ybrkv"}],["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"M17 5v14",key:"ycjyhj"}],["path",{d:"M21 5v14",key:"nzette"}]],Vc=e("Barcode",eL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Eg=[["path",{d:"M4 20h16",key:"14thso"}],["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}]],Nt=e("Baseline",Eg);/** + */const aL=[["path",{d:"M4 20h16",key:"14thso"}],["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}]],Bc=e("Baseline",aL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xg=[["path",{d:"M10 4 8 6",key:"1rru8s"}],["path",{d:"M17 19v2",key:"ts1sot"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M7 19v2",key:"12npes"}],["path",{d:"M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"14ym8i"}]],St=e("Bath",Xg);/** + */const oL=[["path",{d:"M10 4 8 6",key:"1rru8s"}],["path",{d:"M17 19v2",key:"ts1sot"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M7 19v2",key:"12npes"}],["path",{d:"M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"14ym8i"}]],Fc=e("Bath",oL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Kg=[["path",{d:"M15 7h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2",key:"1sdynx"}],["path",{d:"M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1",key:"1gkd3k"}],["path",{d:"m11 7-3 5h4l-3 5",key:"b4a64w"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}]],qt=e("BatteryCharging",Kg);/** + */const tL=[["path",{d:"M15 7h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2",key:"1sdynx"}],["path",{d:"M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1",key:"1gkd3k"}],["path",{d:"m11 7-3 5h4l-3 5",key:"b4a64w"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}]],Dc=e("BatteryCharging",tL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Jg=[["rect",{width:"16",height:"10",x:"2",y:"7",rx:"2",ry:"2",key:"1w10f2"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}],["line",{x1:"6",x2:"6",y1:"11",y2:"13",key:"1wd6dw"}],["line",{x1:"10",x2:"10",y1:"11",y2:"13",key:"haxvl5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"13",key:"c6fn6x"}]],bt=e("BatteryFull",Jg);/** + */const cL=[["rect",{width:"16",height:"10",x:"2",y:"7",rx:"2",ry:"2",key:"1w10f2"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}],["line",{x1:"6",x2:"6",y1:"11",y2:"13",key:"1wd6dw"}],["line",{x1:"10",x2:"10",y1:"11",y2:"13",key:"haxvl5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"13",key:"c6fn6x"}]],Rc=e("BatteryFull",cL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Qg=[["rect",{width:"16",height:"10",x:"2",y:"7",rx:"2",ry:"2",key:"1w10f2"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}],["line",{x1:"6",x2:"6",y1:"11",y2:"13",key:"1wd6dw"}]],$t=e("BatteryLow",Qg);/** + */const nL=[["rect",{width:"16",height:"10",x:"2",y:"7",rx:"2",ry:"2",key:"1w10f2"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}],["line",{x1:"6",x2:"6",y1:"11",y2:"13",key:"1wd6dw"}]],Tc=e("BatteryLow",nL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Yg=[["rect",{width:"16",height:"10",x:"2",y:"7",rx:"2",ry:"2",key:"1w10f2"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}],["line",{x1:"6",x2:"6",y1:"11",y2:"13",key:"1wd6dw"}],["line",{x1:"10",x2:"10",y1:"11",y2:"13",key:"haxvl5"}]],At=e("BatteryMedium",Yg);/** + */const dL=[["rect",{width:"16",height:"10",x:"2",y:"7",rx:"2",ry:"2",key:"1w10f2"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}],["line",{x1:"6",x2:"6",y1:"11",y2:"13",key:"1wd6dw"}],["line",{x1:"10",x2:"10",y1:"11",y2:"13",key:"haxvl5"}]],Uc=e("BatteryMedium",dL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eL=[["path",{d:"M10 9v6",key:"17i7lo"}],["path",{d:"M13.5 7H16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2.5",key:"jzl4pj"}],["path",{d:"M22 11v2",key:"1wo06k"}],["path",{d:"M6.5 17H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h2.5",key:"1ar5vp"}],["path",{d:"M7 12h6",key:"iekk3h"}]],Ht=e("BatteryPlus",eL);/** + */const iL=[["path",{d:"M10 9v6",key:"17i7lo"}],["path",{d:"M13.5 7H16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2.5",key:"jzl4pj"}],["path",{d:"M22 11v2",key:"1wo06k"}],["path",{d:"M6.5 17H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h2.5",key:"1ar5vp"}],["path",{d:"M7 12h6",key:"iekk3h"}]],Oc=e("BatteryPlus",iL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aL=[["path",{d:"M10 17h.01",key:"nbq80n"}],["path",{d:"M10 7v6",key:"nne03l"}],["path",{d:"M14 7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2",key:"1x5o8m"}],["path",{d:"M22 11v2",key:"1wo06k"}],["path",{d:"M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"1mdjgh"}]],zt=e("BatteryWarning",aL);/** + */const hL=[["path",{d:"M10 17h.01",key:"nbq80n"}],["path",{d:"M10 7v6",key:"nne03l"}],["path",{d:"M14 7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2",key:"1x5o8m"}],["path",{d:"M22 11v2",key:"1wo06k"}],["path",{d:"M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"1mdjgh"}]],Zc=e("BatteryWarning",hL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oL=[["rect",{width:"16",height:"10",x:"2",y:"7",rx:"2",ry:"2",key:"1w10f2"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}]],Pt=e("Battery",oL);/** + */const yL=[["rect",{width:"16",height:"10",x:"2",y:"7",rx:"2",ry:"2",key:"1w10f2"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}]],Gc=e("Battery",yL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cL=[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]],jt=e("Beaker",cL);/** + */const rL=[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]],Wc=e("Beaker",rL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tL=[["path",{d:"M9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22a13.96 13.96 0 0 0 9.9-4.1",key:"bq3udt"}],["path",{d:"M10.75 5.093A6 6 0 0 1 22 8c0 2.411-.61 4.68-1.683 6.66",key:"17ccse"}],["path",{d:"M5.341 10.62a4 4 0 0 0 6.487 1.208M10.62 5.341a4.015 4.015 0 0 1 2.039 2.04",key:"18zqgq"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Vt=e("BeanOff",tL);/** + */const kL=[["path",{d:"M9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22a13.96 13.96 0 0 0 9.9-4.1",key:"bq3udt"}],["path",{d:"M10.75 5.093A6 6 0 0 1 22 8c0 2.411-.61 4.68-1.683 6.66",key:"17ccse"}],["path",{d:"M5.341 10.62a4 4 0 0 0 6.487 1.208M10.62 5.341a4.015 4.015 0 0 1 2.039 2.04",key:"18zqgq"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Ec=e("BeanOff",kL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nL=[["path",{d:"M10.165 6.598C9.954 7.478 9.64 8.36 9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22c7.732 0 14-6.268 14-14a6 6 0 0 0-11.835-1.402Z",key:"1tvzk7"}],["path",{d:"M5.341 10.62a4 4 0 1 0 5.279-5.28",key:"2cyri2"}]],Bt=e("Bean",nL);/** + */const pL=[["path",{d:"M10.165 6.598C9.954 7.478 9.64 8.36 9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22c7.732 0 14-6.268 14-14a6 6 0 0 0-11.835-1.402Z",key:"1tvzk7"}],["path",{d:"M5.341 10.62a4 4 0 1 0 5.279-5.28",key:"2cyri2"}]],Xc=e("Bean",pL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dL=[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]],Ft=e("BedDouble",dL);/** + */const sL=[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]],Kc=e("BedDouble",sL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iL=[["path",{d:"M3 20v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8",key:"1wm6mi"}],["path",{d:"M5 10V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v4",key:"4k93s5"}],["path",{d:"M3 18h18",key:"1h113x"}]],Dt=e("BedSingle",iL);/** + */const lL=[["path",{d:"M3 20v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8",key:"1wm6mi"}],["path",{d:"M5 10V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v4",key:"4k93s5"}],["path",{d:"M3 18h18",key:"1h113x"}]],Jc=e("BedSingle",lL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hL=[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]],Rt=e("Bed",hL);/** + */const uL=[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]],Qc=e("Bed",uL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yL=[["circle",{cx:"12.5",cy:"8.5",r:"2.5",key:"9738u8"}],["path",{d:"M12.5 2a6.5 6.5 0 0 0-6.22 4.6c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c4 0 8.4-1.8 11.4-4.3A6.5 6.5 0 0 0 12.5 2Z",key:"o0f6za"}],["path",{d:"m18.5 6 2.19 4.5a6.48 6.48 0 0 1 .31 2 6.49 6.49 0 0 1-2.6 5.2C15.4 20.2 11 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5",key:"k7p6i0"}]],Tt=e("Beef",yL);/** + */const ML=[["circle",{cx:"12.5",cy:"8.5",r:"2.5",key:"9738u8"}],["path",{d:"M12.5 2a6.5 6.5 0 0 0-6.22 4.6c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c4 0 8.4-1.8 11.4-4.3A6.5 6.5 0 0 0 12.5 2Z",key:"o0f6za"}],["path",{d:"m18.5 6 2.19 4.5a6.48 6.48 0 0 1 .31 2 6.49 6.49 0 0 1-2.6 5.2C15.4 20.2 11 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5",key:"k7p6i0"}]],Yc=e("Beef",ML);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rL=[["path",{d:"M13 13v5",key:"igwfh0"}],["path",{d:"M17 11.47V8",key:"16yw0g"}],["path",{d:"M17 11h1a3 3 0 0 1 2.745 4.211",key:"1xbt65"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-3",key:"c55o3e"}],["path",{d:"M7.536 7.535C6.766 7.649 6.154 8 5.5 8a2.5 2.5 0 0 1-1.768-4.268",key:"1ydug7"}],["path",{d:"M8.727 3.204C9.306 2.767 9.885 2 11 2c1.56 0 2 1.5 3 1.5s1.72-.5 2.5-.5a1 1 0 1 1 0 5c-.78 0-1.5-.5-2.5-.5a3.149 3.149 0 0 0-.842.12",key:"q81o7q"}],["path",{d:"M9 14.6V18",key:"20ek98"}]],Ut=e("BeerOff",rL);/** + */const vL=[["path",{d:"M13 13v5",key:"igwfh0"}],["path",{d:"M17 11.47V8",key:"16yw0g"}],["path",{d:"M17 11h1a3 3 0 0 1 2.745 4.211",key:"1xbt65"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-3",key:"c55o3e"}],["path",{d:"M7.536 7.535C6.766 7.649 6.154 8 5.5 8a2.5 2.5 0 0 1-1.768-4.268",key:"1ydug7"}],["path",{d:"M8.727 3.204C9.306 2.767 9.885 2 11 2c1.56 0 2 1.5 3 1.5s1.72-.5 2.5-.5a1 1 0 1 1 0 5c-.78 0-1.5-.5-2.5-.5a3.149 3.149 0 0 0-.842.12",key:"q81o7q"}],["path",{d:"M9 14.6V18",key:"20ek98"}]],en=e("BeerOff",vL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kL=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],Ot=e("Beer",kL);/** + */const mL=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],an=e("Beer",mL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pL=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M13.916 2.314A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.74 7.327A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673 9 9 0 0 1-.585-.665",key:"1tip0g"}],["circle",{cx:"18",cy:"8",r:"3",key:"1g0gzu"}]],Zt=e("BellDot",pL);/** + */const _L=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M13.916 2.314A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.74 7.327A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673 9 9 0 0 1-.585-.665",key:"1tip0g"}],["circle",{cx:"18",cy:"8",r:"3",key:"1g0gzu"}]],on=e("BellDot",_L);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sL=[["path",{d:"M18.8 4A6.3 8.7 0 0 1 20 9",key:"xve1fh"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["circle",{cx:"9",cy:"9",r:"7",key:"p2h5vp"}],["rect",{width:"10",height:"6",x:"4",y:"16",rx:"2",key:"17f3te"}],["path",{d:"M14 19c3 0 4.6-1.6 4.6-1.6",key:"n7odp6"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}]],Gt=e("BellElectric",sL);/** + */const gL=[["path",{d:"M18.8 4A6.3 8.7 0 0 1 20 9",key:"xve1fh"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["circle",{cx:"9",cy:"9",r:"7",key:"p2h5vp"}],["rect",{width:"10",height:"6",x:"4",y:"16",rx:"2",key:"17f3te"}],["path",{d:"M14 19c3 0 4.6-1.6 4.6-1.6",key:"n7odp6"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}]],tn=e("BellElectric",gL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lL=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M15 8h6",key:"8ybuxh"}],["path",{d:"M16.243 3.757A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673A9.4 9.4 0 0 1 18.667 12",key:"bdwj86"}]],Wt=e("BellMinus",lL);/** + */const LL=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M15 8h6",key:"8ybuxh"}],["path",{d:"M16.243 3.757A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673A9.4 9.4 0 0 1 18.667 12",key:"bdwj86"}]],cn=e("BellMinus",LL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uL=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]],Et=e("BellOff",uL);/** + */const xL=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]],nn=e("BellOff",xL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ML=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M15 8h6",key:"8ybuxh"}],["path",{d:"M18 5v6",key:"g5ayrv"}],["path",{d:"M20.002 14.464a9 9 0 0 0 .738.863A1 1 0 0 1 20 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 8.75-5.332",key:"1abcvy"}]],Xt=e("BellPlus",ML);/** + */const wL=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M15 8h6",key:"8ybuxh"}],["path",{d:"M18 5v6",key:"g5ayrv"}],["path",{d:"M20.002 14.464a9 9 0 0 0 .738.863A1 1 0 0 1 20 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 8.75-5.332",key:"1abcvy"}]],dn=e("BellPlus",wL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vL=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]],Kt=e("BellRing",vL);/** + */const fL=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]],hn=e("BellRing",fL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mL=[["rect",{width:"13",height:"7",x:"3",y:"3",rx:"1",key:"11xb64"}],["path",{d:"m22 15-3-3 3-3",key:"26chmm"}],["rect",{width:"13",height:"7",x:"3",y:"14",rx:"1",key:"k6ky7n"}]],D=e("BetweenHorizontalEnd",mL);/** + */const CL=[["rect",{width:"13",height:"7",x:"3",y:"3",rx:"1",key:"11xb64"}],["path",{d:"m22 15-3-3 3-3",key:"26chmm"}],["rect",{width:"13",height:"7",x:"3",y:"14",rx:"1",key:"k6ky7n"}]],T=e("BetweenHorizontalEnd",CL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _L=[["rect",{width:"13",height:"7",x:"8",y:"3",rx:"1",key:"pkso9a"}],["path",{d:"m2 9 3 3-3 3",key:"1agib5"}],["rect",{width:"13",height:"7",x:"8",y:"14",rx:"1",key:"1q5fc1"}]],R=e("BetweenHorizontalStart",_L);/** + */const IL=[["rect",{width:"13",height:"7",x:"8",y:"3",rx:"1",key:"pkso9a"}],["path",{d:"m2 9 3 3-3 3",key:"1agib5"}],["rect",{width:"13",height:"7",x:"8",y:"14",rx:"1",key:"1q5fc1"}]],U=e("BetweenHorizontalStart",IL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gL=[["rect",{width:"7",height:"13",x:"3",y:"3",rx:"1",key:"1fdu0f"}],["path",{d:"m9 22 3-3 3 3",key:"17z65a"}],["rect",{width:"7",height:"13",x:"14",y:"3",rx:"1",key:"1squn4"}]],Jt=e("BetweenVerticalEnd",gL);/** + */const NL=[["rect",{width:"7",height:"13",x:"3",y:"3",rx:"1",key:"1fdu0f"}],["path",{d:"m9 22 3-3 3 3",key:"17z65a"}],["rect",{width:"7",height:"13",x:"14",y:"3",rx:"1",key:"1squn4"}]],yn=e("BetweenVerticalEnd",NL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LL=[["rect",{width:"7",height:"13",x:"3",y:"8",rx:"1",key:"1fjrkv"}],["path",{d:"m15 2-3 3-3-3",key:"1uh6eb"}],["rect",{width:"7",height:"13",x:"14",y:"8",rx:"1",key:"w3fjg8"}]],Qt=e("BetweenVerticalStart",LL);/** + */const SL=[["rect",{width:"7",height:"13",x:"3",y:"8",rx:"1",key:"1fjrkv"}],["path",{d:"m15 2-3 3-3-3",key:"1uh6eb"}],["rect",{width:"7",height:"13",x:"14",y:"8",rx:"1",key:"w3fjg8"}]],rn=e("BetweenVerticalStart",SL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xL=[["path",{d:"M12.409 13.017A5 5 0 0 1 22 15c0 3.866-4 7-9 7-4.077 0-8.153-.82-10.371-2.462-.426-.316-.631-.832-.62-1.362C2.118 12.723 2.627 2 10 2a3 3 0 0 1 3 3 2 2 0 0 1-2 2c-1.105 0-1.64-.444-2-1",key:"1pmlyh"}],["path",{d:"M15 14a5 5 0 0 0-7.584 2",key:"5rb254"}],["path",{d:"M9.964 6.825C8.019 7.977 9.5 13 8 15",key:"kbvsx9"}]],Yt=e("BicepsFlexed",xL);/** + */const bL=[["path",{d:"M12.409 13.017A5 5 0 0 1 22 15c0 3.866-4 7-9 7-4.077 0-8.153-.82-10.371-2.462-.426-.316-.631-.832-.62-1.362C2.118 12.723 2.627 2 10 2a3 3 0 0 1 3 3 2 2 0 0 1-2 2c-1.105 0-1.64-.444-2-1",key:"1pmlyh"}],["path",{d:"M15 14a5 5 0 0 0-7.584 2",key:"5rb254"}],["path",{d:"M9.964 6.825C8.019 7.977 9.5 13 8 15",key:"kbvsx9"}]],kn=e("BicepsFlexed",bL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wL=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],en=e("Bike",wL);/** + */const qL=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],pn=e("Bike",qL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fL=[["rect",{x:"14",y:"14",width:"4",height:"6",rx:"2",key:"p02svl"}],["rect",{x:"6",y:"4",width:"4",height:"6",rx:"2",key:"xm4xkj"}],["path",{d:"M6 20h4",key:"1i6q5t"}],["path",{d:"M14 10h4",key:"ru81e7"}],["path",{d:"M6 14h2v6",key:"16z9wg"}],["path",{d:"M14 4h2v6",key:"1idq9u"}]],an=e("Binary",fL);/** + */const $L=[["rect",{x:"14",y:"14",width:"4",height:"6",rx:"2",key:"p02svl"}],["rect",{x:"6",y:"4",width:"4",height:"6",rx:"2",key:"xm4xkj"}],["path",{d:"M6 20h4",key:"1i6q5t"}],["path",{d:"M14 10h4",key:"ru81e7"}],["path",{d:"M6 14h2v6",key:"16z9wg"}],["path",{d:"M14 4h2v6",key:"1idq9u"}]],sn=e("Binary",$L);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CL=[["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M19 7V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3",key:"3apit1"}],["path",{d:"M20 21a2 2 0 0 0 2-2v-3.851c0-1.39-2-2.962-2-4.829V8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v11a2 2 0 0 0 2 2z",key:"rhpgnw"}],["path",{d:"M 22 16 L 2 16",key:"14lkq7"}],["path",{d:"M4 21a2 2 0 0 1-2-2v-3.851c0-1.39 2-2.962 2-4.829V8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2z",key:"104b3k"}],["path",{d:"M9 7V4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3",key:"14fczp"}]],on=e("Binoculars",CL);/** + */const AL=[["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M19 7V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3",key:"3apit1"}],["path",{d:"M20 21a2 2 0 0 0 2-2v-3.851c0-1.39-2-2.962-2-4.829V8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v11a2 2 0 0 0 2 2z",key:"rhpgnw"}],["path",{d:"M 22 16 L 2 16",key:"14lkq7"}],["path",{d:"M4 21a2 2 0 0 1-2-2v-3.851c0-1.39 2-2.962 2-4.829V8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2z",key:"104b3k"}],["path",{d:"M9 7V4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3",key:"14fczp"}]],ln=e("Binoculars",AL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IL=[["circle",{cx:"12",cy:"11.9",r:"2",key:"e8h31w"}],["path",{d:"M6.7 3.4c-.9 2.5 0 5.2 2.2 6.7C6.5 9 3.7 9.6 2 11.6",key:"17bolr"}],["path",{d:"m8.9 10.1 1.4.8",key:"15ezny"}],["path",{d:"M17.3 3.4c.9 2.5 0 5.2-2.2 6.7 2.4-1.2 5.2-.6 6.9 1.5",key:"wtwa5u"}],["path",{d:"m15.1 10.1-1.4.8",key:"1r0b28"}],["path",{d:"M16.7 20.8c-2.6-.4-4.6-2.6-4.7-5.3-.2 2.6-2.1 4.8-4.7 5.2",key:"m7qszh"}],["path",{d:"M12 13.9v1.6",key:"zfyyim"}],["path",{d:"M13.5 5.4c-1-.2-2-.2-3 0",key:"1bi9q0"}],["path",{d:"M17 16.4c.7-.7 1.2-1.6 1.5-2.5",key:"1rhjqw"}],["path",{d:"M5.5 13.9c.3.9.8 1.8 1.5 2.5",key:"8gsud3"}]],cn=e("Biohazard",IL);/** + */const HL=[["circle",{cx:"12",cy:"11.9",r:"2",key:"e8h31w"}],["path",{d:"M6.7 3.4c-.9 2.5 0 5.2 2.2 6.7C6.5 9 3.7 9.6 2 11.6",key:"17bolr"}],["path",{d:"m8.9 10.1 1.4.8",key:"15ezny"}],["path",{d:"M17.3 3.4c.9 2.5 0 5.2-2.2 6.7 2.4-1.2 5.2-.6 6.9 1.5",key:"wtwa5u"}],["path",{d:"m15.1 10.1-1.4.8",key:"1r0b28"}],["path",{d:"M16.7 20.8c-2.6-.4-4.6-2.6-4.7-5.3-.2 2.6-2.1 4.8-4.7 5.2",key:"m7qszh"}],["path",{d:"M12 13.9v1.6",key:"zfyyim"}],["path",{d:"M13.5 5.4c-1-.2-2-.2-3 0",key:"1bi9q0"}],["path",{d:"M17 16.4c.7-.7 1.2-1.6 1.5-2.5",key:"1rhjqw"}],["path",{d:"M5.5 13.9c.3.9.8 1.8 1.5 2.5",key:"8gsud3"}]],un=e("Biohazard",HL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NL=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],tn=e("Bird",NL);/** + */const zL=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],Mn=e("Bird",zL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SL=[["path",{d:"M11.767 19.089c4.924.868 6.14-6.025 1.216-6.894m-1.216 6.894L5.86 18.047m5.908 1.042-.347 1.97m1.563-8.864c4.924.869 6.14-6.025 1.215-6.893m-1.215 6.893-3.94-.694m5.155-6.2L8.29 4.26m5.908 1.042.348-1.97M7.48 20.364l3.126-17.727",key:"yr8idg"}]],nn=e("Bitcoin",SL);/** + */const jL=[["path",{d:"M11.767 19.089c4.924.868 6.14-6.025 1.216-6.894m-1.216 6.894L5.86 18.047m5.908 1.042-.347 1.97m1.563-8.864c4.924.869 6.14-6.025 1.215-6.893m-1.215 6.893-3.94-.694m5.155-6.2L8.29 4.26m5.908 1.042.348-1.97M7.48 20.364l3.126-17.727",key:"yr8idg"}]],vn=e("Bitcoin",jL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qL=[["circle",{cx:"9",cy:"9",r:"7",key:"p2h5vp"}],["circle",{cx:"15",cy:"15",r:"7",key:"19ennj"}]],dn=e("Blend",qL);/** + */const PL=[["circle",{cx:"9",cy:"9",r:"7",key:"p2h5vp"}],["circle",{cx:"15",cy:"15",r:"7",key:"19ennj"}]],mn=e("Blend",PL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bL=[["path",{d:"M3 3h18",key:"o7r712"}],["path",{d:"M20 7H8",key:"gd2fo2"}],["path",{d:"M20 11H8",key:"1ynp89"}],["path",{d:"M10 19h10",key:"19hjk5"}],["path",{d:"M8 15h12",key:"1yqzne"}],["path",{d:"M4 3v14",key:"fggqzn"}],["circle",{cx:"4",cy:"19",r:"2",key:"p3m9r0"}]],hn=e("Blinds",bL);/** + */const VL=[["path",{d:"M3 3h18",key:"o7r712"}],["path",{d:"M20 7H8",key:"gd2fo2"}],["path",{d:"M20 11H8",key:"1ynp89"}],["path",{d:"M10 19h10",key:"19hjk5"}],["path",{d:"M8 15h12",key:"1yqzne"}],["path",{d:"M4 3v14",key:"fggqzn"}],["circle",{cx:"4",cy:"19",r:"2",key:"p3m9r0"}]],_n=e("Blinds",VL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $L=[["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["path",{d:"M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3",key:"1fpvtg"}]],yn=e("Blocks",$L);/** + */const BL=[["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["path",{d:"M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3",key:"1fpvtg"}]],gn=e("Blocks",BL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AL=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}],["line",{x1:"18",x2:"21",y1:"12",y2:"12",key:"1rsjjs"}],["line",{x1:"3",x2:"6",y1:"12",y2:"12",key:"11yl8c"}]],rn=e("BluetoothConnected",AL);/** + */const FL=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}],["line",{x1:"18",x2:"21",y1:"12",y2:"12",key:"1rsjjs"}],["line",{x1:"3",x2:"6",y1:"12",y2:"12",key:"11yl8c"}]],Ln=e("BluetoothConnected",FL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HL=[["path",{d:"m17 17-5 5V12l-5 5",key:"v5aci6"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M14.5 9.5 17 7l-5-5v4.5",key:"1kddfz"}]],kn=e("BluetoothOff",HL);/** + */const DL=[["path",{d:"m17 17-5 5V12l-5 5",key:"v5aci6"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M14.5 9.5 17 7l-5-5v4.5",key:"1kddfz"}]],xn=e("BluetoothOff",DL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zL=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}],["path",{d:"M20.83 14.83a4 4 0 0 0 0-5.66",key:"k8tn1j"}],["path",{d:"M18 12h.01",key:"yjnet6"}]],pn=e("BluetoothSearching",zL);/** + */const RL=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}],["path",{d:"M20.83 14.83a4 4 0 0 0 0-5.66",key:"k8tn1j"}],["path",{d:"M18 12h.01",key:"yjnet6"}]],wn=e("BluetoothSearching",RL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PL=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],sn=e("Bluetooth",PL);/** + */const TL=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],fn=e("Bluetooth",TL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jL=[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]],ln=e("Bolt",jL);/** + */const UL=[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]],Cn=e("Bolt",UL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VL=[["circle",{cx:"11",cy:"13",r:"9",key:"hd149"}],["path",{d:"M14.35 4.65 16.3 2.7a2.41 2.41 0 0 1 3.4 0l1.6 1.6a2.4 2.4 0 0 1 0 3.4l-1.95 1.95",key:"jp4j1b"}],["path",{d:"m22 2-1.5 1.5",key:"ay92ug"}]],un=e("Bomb",VL);/** + */const OL=[["circle",{cx:"11",cy:"13",r:"9",key:"hd149"}],["path",{d:"M14.35 4.65 16.3 2.7a2.41 2.41 0 0 1 3.4 0l1.6 1.6a2.4 2.4 0 0 1 0 3.4l-1.95 1.95",key:"jp4j1b"}],["path",{d:"m22 2-1.5 1.5",key:"ay92ug"}]],In=e("Bomb",OL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BL=[["path",{d:"M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z",key:"w610uw"}]],Mn=e("Bone",BL);/** + */const ZL=[["path",{d:"M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z",key:"w610uw"}]],Nn=e("Bone",ZL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FL=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m8 13 4-7 4 7",key:"4rari8"}],["path",{d:"M9.1 11h5.7",key:"1gkovt"}]],vn=e("BookA",FL);/** + */const GL=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m8 13 4-7 4 7",key:"4rari8"}],["path",{d:"M9.1 11h5.7",key:"1gkovt"}]],Sn=e("BookA",GL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DL=[["path",{d:"M12 6v7",key:"1f6ttz"}],["path",{d:"M16 8v3",key:"gejaml"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 8v3",key:"1qzp49"}]],mn=e("BookAudio",DL);/** + */const WL=[["path",{d:"M12 6v7",key:"1f6ttz"}],["path",{d:"M16 8v3",key:"gejaml"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 8v3",key:"1qzp49"}]],bn=e("BookAudio",WL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RL=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9 9.5 2 2 4-4",key:"1dth82"}]],_n=e("BookCheck",RL);/** + */const EL=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9 9.5 2 2 4-4",key:"1dth82"}]],qn=e("BookCheck",EL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TL=[["path",{d:"M2 16V4a2 2 0 0 1 2-2h11",key:"spzkk5"}],["path",{d:"M22 18H11a2 2 0 1 0 0 4h10.5a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5H11a2 2 0 0 0-2 2v12",key:"1wz07i"}],["path",{d:"M5 14H4a2 2 0 1 0 0 4h1",key:"16gqf9"}]],gn=e("BookCopy",TL);/** + */const XL=[["path",{d:"M2 16V4a2 2 0 0 1 2-2h11",key:"spzkk5"}],["path",{d:"M22 18H11a2 2 0 1 0 0 4h10.5a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5H11a2 2 0 0 0-2 2v12",key:"1wz07i"}],["path",{d:"M5 14H4a2 2 0 1 0 0 4h1",key:"16gqf9"}]],$n=e("BookCopy",XL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UL=[["path",{d:"M12 17h1.5",key:"1gkc67"}],["path",{d:"M12 22h1.5",key:"1my7sn"}],["path",{d:"M12 2h1.5",key:"19tvb7"}],["path",{d:"M17.5 22H19a1 1 0 0 0 1-1",key:"10akbh"}],["path",{d:"M17.5 2H19a1 1 0 0 1 1 1v1.5",key:"1vrfjs"}],["path",{d:"M20 14v3h-2.5",key:"1naeju"}],["path",{d:"M20 8.5V10",key:"1ctpfu"}],["path",{d:"M4 10V8.5",key:"1o3zg5"}],["path",{d:"M4 19.5V14",key:"ob81pf"}],["path",{d:"M4 4.5A2.5 2.5 0 0 1 6.5 2H8",key:"s8vcyb"}],["path",{d:"M8 22H6.5a1 1 0 0 1 0-5H8",key:"1cu73q"}]],T=e("BookDashed",UL);/** + */const KL=[["path",{d:"M12 17h1.5",key:"1gkc67"}],["path",{d:"M12 22h1.5",key:"1my7sn"}],["path",{d:"M12 2h1.5",key:"19tvb7"}],["path",{d:"M17.5 22H19a1 1 0 0 0 1-1",key:"10akbh"}],["path",{d:"M17.5 2H19a1 1 0 0 1 1 1v1.5",key:"1vrfjs"}],["path",{d:"M20 14v3h-2.5",key:"1naeju"}],["path",{d:"M20 8.5V10",key:"1ctpfu"}],["path",{d:"M4 10V8.5",key:"1o3zg5"}],["path",{d:"M4 19.5V14",key:"ob81pf"}],["path",{d:"M4 4.5A2.5 2.5 0 0 1 6.5 2H8",key:"s8vcyb"}],["path",{d:"M8 22H6.5a1 1 0 0 1 0-5H8",key:"1cu73q"}]],O=e("BookDashed",KL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OL=[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9 10 3 3 3-3",key:"zt5b4y"}]],Ln=e("BookDown",OL);/** + */const JL=[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9 10 3 3 3-3",key:"zt5b4y"}]],An=e("BookDown",JL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZL=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 12v-2a4 4 0 0 1 8 0v2",key:"1vsqkj"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]],xn=e("BookHeadphones",ZL);/** + */const QL=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 12v-2a4 4 0 0 1 8 0v2",key:"1vsqkj"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]],Hn=e("BookHeadphones",QL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GL=[["path",{d:"M16 8.2A2.22 2.22 0 0 0 13.8 6c-.8 0-1.4.3-1.8.9-.4-.6-1-.9-1.8-.9A2.22 2.22 0 0 0 8 8.2c0 .6.3 1.2.7 1.6A226.652 226.652 0 0 0 12 13a404 404 0 0 0 3.3-3.1 2.413 2.413 0 0 0 .7-1.7",key:"1t75a8"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],wn=e("BookHeart",GL);/** + */const YL=[["path",{d:"M16 8.2A2.22 2.22 0 0 0 13.8 6c-.8 0-1.4.3-1.8.9-.4-.6-1-.9-1.8-.9A2.22 2.22 0 0 0 8 8.2c0 .6.3 1.2.7 1.6A226.652 226.652 0 0 0 12 13a404 404 0 0 0 3.3-3.1 2.413 2.413 0 0 0 .7-1.7",key:"1t75a8"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],zn=e("BookHeart",YL);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WL=[["path",{d:"m20 13.7-2.1-2.1a2 2 0 0 0-2.8 0L9.7 17",key:"q6ojf0"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["circle",{cx:"10",cy:"8",r:"2",key:"2qkj4p"}]],fn=e("BookImage",WL);/** + */const ex=[["path",{d:"m20 13.7-2.1-2.1a2 2 0 0 0-2.8 0L9.7 17",key:"q6ojf0"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["circle",{cx:"10",cy:"8",r:"2",key:"2qkj4p"}]],jn=e("BookImage",ex);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EL=[["path",{d:"m19 3 1 1",key:"ze14oc"}],["path",{d:"m20 2-4.5 4.5",key:"1sppr8"}],["path",{d:"M20 8v13a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"1ocbpn"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H14",key:"1gfsgw"}],["circle",{cx:"14",cy:"8",r:"2",key:"u49eql"}]],Cn=e("BookKey",EL);/** + */const ax=[["path",{d:"m19 3 1 1",key:"ze14oc"}],["path",{d:"m20 2-4.5 4.5",key:"1sppr8"}],["path",{d:"M20 8v13a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"1ocbpn"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H14",key:"1gfsgw"}],["circle",{cx:"14",cy:"8",r:"2",key:"u49eql"}]],Pn=e("BookKey",ax);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XL=[["path",{d:"M18 6V4a2 2 0 1 0-4 0v2",key:"1aquzs"}],["path",{d:"M20 15v6a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"1rkj32"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H10",key:"18wgow"}],["rect",{x:"12",y:"6",width:"8",height:"5",rx:"1",key:"73l30o"}]],In=e("BookLock",XL);/** + */const ox=[["path",{d:"M18 6V4a2 2 0 1 0-4 0v2",key:"1aquzs"}],["path",{d:"M20 15v6a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"1rkj32"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H10",key:"18wgow"}],["rect",{x:"12",y:"6",width:"8",height:"5",rx:"1",key:"73l30o"}]],Vn=e("BookLock",ox);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KL=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],Nn=e("BookMarked",KL);/** + */const tx=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],Bn=e("BookMarked",tx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JL=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],Sn=e("BookMinus",JL);/** + */const cx=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],Fn=e("BookMinus",cx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QL=[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]],qn=e("BookOpenCheck",QL);/** + */const nx=[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]],Dn=e("BookOpenCheck",nx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YL=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M16 12h2",key:"7q9ll5"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M6 8h2",key:"30oboj"}]],bn=e("BookOpenText",YL);/** + */const dx=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M16 12h2",key:"7q9ll5"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M6 8h2",key:"30oboj"}]],Rn=e("BookOpenText",dx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ex=[["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],$n=e("BookPlus",ex);/** + */const ix=[["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],Tn=e("BookPlus",ix);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ax=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 11h8",key:"vwpz6n"}],["path",{d:"M8 7h6",key:"1f0q6e"}]],An=e("BookText",ax);/** + */const hx=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 11h8",key:"vwpz6n"}],["path",{d:"M8 7h6",key:"1f0q6e"}]],Un=e("BookText",hx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ox=[["path",{d:"M10 13h4",key:"ytezjc"}],["path",{d:"M12 6v7",key:"1f6ttz"}],["path",{d:"M16 8V6H8v2",key:"x8j6u4"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],Hn=e("BookType",ox);/** + */const yx=[["path",{d:"M10 13h4",key:"ytezjc"}],["path",{d:"M12 6v7",key:"1f6ttz"}],["path",{d:"M16 8V6H8v2",key:"x8j6u4"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],On=e("BookType",yx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cx=[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M18 2h1a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"161d7n"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2",key:"1lorq7"}],["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]],zn=e("BookUp2",cx);/** + */const rx=[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M18 2h1a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"161d7n"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2",key:"1lorq7"}],["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]],Zn=e("BookUp2",rx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tx=[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}]],Pn=e("BookUp",tx);/** + */const kx=[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}]],Gn=e("BookUp",kx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nx=[["path",{d:"M15 13a3 3 0 1 0-6 0",key:"10j68g"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}]],jn=e("BookUser",nx);/** + */const px=[["path",{d:"M15 13a3 3 0 1 0-6 0",key:"10j68g"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}]],Wn=e("BookUser",px);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dx=[["path",{d:"m14.5 7-5 5",key:"dy991v"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9.5 7 5 5",key:"s45iea"}]],Vn=e("BookX",dx);/** + */const sx=[["path",{d:"m14.5 7-5 5",key:"dy991v"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"m9.5 7 5 5",key:"s45iea"}]],En=e("BookX",sx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ix=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]],Bn=e("BookmarkCheck",ix);/** + */const lx=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]],Xn=e("BookmarkCheck",lx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hx=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]],Fn=e("BookmarkMinus",hx);/** + */const ux=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]],Kn=e("BookmarkMinus",ux);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yx=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"12",x2:"12",y1:"7",y2:"13",key:"1cppfj"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]],Dn=e("BookmarkPlus",yx);/** + */const Mx=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"12",x2:"12",y1:"7",y2:"13",key:"1cppfj"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]],Jn=e("BookmarkPlus",Mx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rx=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m14.5 7.5-5 5",key:"3lb6iw"}],["path",{d:"m9.5 7.5 5 5",key:"ko136h"}]],Rn=e("BookmarkX",rx);/** + */const vx=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m14.5 7.5-5 5",key:"3lb6iw"}],["path",{d:"m9.5 7.5 5 5",key:"ko136h"}]],Qn=e("BookmarkX",vx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kx=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]],Tn=e("Bookmark",kx);/** + */const mx=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]],Yn=e("Bookmark",mx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const px=[["path",{d:"M4 9V5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"vvzvr1"}],["path",{d:"M8 8v1",key:"xcqmfk"}],["path",{d:"M12 8v1",key:"1rj8u4"}],["path",{d:"M16 8v1",key:"1q12zr"}],["rect",{width:"20",height:"12",x:"2",y:"9",rx:"2",key:"igpb89"}],["circle",{cx:"8",cy:"15",r:"2",key:"fa4a8s"}],["circle",{cx:"16",cy:"15",r:"2",key:"14c3ya"}]],Un=e("BoomBox",px);/** + */const _x=[["path",{d:"M4 9V5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"vvzvr1"}],["path",{d:"M8 8v1",key:"xcqmfk"}],["path",{d:"M12 8v1",key:"1rj8u4"}],["path",{d:"M16 8v1",key:"1q12zr"}],["rect",{width:"20",height:"12",x:"2",y:"9",rx:"2",key:"igpb89"}],["circle",{cx:"8",cy:"15",r:"2",key:"fa4a8s"}],["circle",{cx:"16",cy:"15",r:"2",key:"14c3ya"}]],ed=e("BoomBox",_x);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sx=[["path",{d:"M12 6V2H8",key:"1155em"}],["path",{d:"m8 18-4 4V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2Z",key:"w2lp3e"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M9 11v2",key:"1ueba0"}],["path",{d:"M15 11v2",key:"i11awn"}],["path",{d:"M20 12h2",key:"1q8mjw"}]],On=e("BotMessageSquare",sx);/** + */const gx=[["path",{d:"M12 6V2H8",key:"1155em"}],["path",{d:"m8 18-4 4V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2Z",key:"w2lp3e"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M9 11v2",key:"1ueba0"}],["path",{d:"M15 11v2",key:"i11awn"}],["path",{d:"M20 12h2",key:"1q8mjw"}]],ad=e("BotMessageSquare",gx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lx=[["path",{d:"M13.67 8H18a2 2 0 0 1 2 2v4.33",key:"7az073"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}],["path",{d:"M8 8H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 1.414-.586",key:"s09a7a"}],["path",{d:"M9 13v2",key:"rq6x2g"}],["path",{d:"M9.67 4H12v2.33",key:"110xot"}]],Zn=e("BotOff",lx);/** + */const Lx=[["path",{d:"M13.67 8H18a2 2 0 0 1 2 2v4.33",key:"7az073"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}],["path",{d:"M8 8H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 1.414-.586",key:"s09a7a"}],["path",{d:"M9 13v2",key:"rq6x2g"}],["path",{d:"M9.67 4H12v2.33",key:"110xot"}]],od=e("BotOff",Lx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ux=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],Gn=e("Bot",ux);/** + */const xx=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],td=e("Bot",xx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Mx=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],Wn=e("Box",Mx);/** + */const wx=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],cd=e("Box",wx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vx=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],U=e("Braces",vx);/** + */const fx=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],Z=e("Braces",fx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mx=[["path",{d:"M16 3h3v18h-3",key:"1yor1f"}],["path",{d:"M8 21H5V3h3",key:"1qrfwo"}]],En=e("Brackets",mx);/** + */const Cx=[["path",{d:"M16 3h3v18h-3",key:"1yor1f"}],["path",{d:"M8 21H5V3h3",key:"1qrfwo"}]],nd=e("Brackets",Cx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _x=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]],Xn=e("BrainCircuit",_x);/** + */const Ix=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]],dd=e("BrainCircuit",Ix);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gx=[["path",{d:"M12 5a3 3 0 1 0-5.997.142 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588 4 4 0 0 0 7.636 2.106 3.2 3.2 0 0 0 .164-.546c.028-.13.306-.13.335 0a3.2 3.2 0 0 0 .163.546 4 4 0 0 0 7.636-2.106 4 4 0 0 0 .556-6.588 4 4 0 0 0-2.526-5.77A3 3 0 1 0 12 5",key:"1kgmhc"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m15.7 10.4-.9.4",key:"ayzo6p"}],["path",{d:"m9.2 13.2-.9.4",key:"1uzb3g"}],["path",{d:"m13.6 15.7-.4-.9",key:"11ifqf"}],["path",{d:"m10.8 9.2-.4-.9",key:"1pmk2v"}],["path",{d:"m15.7 13.5-.9-.4",key:"7ng02m"}],["path",{d:"m9.2 10.9-.9-.4",key:"1x66zd"}],["path",{d:"m10.5 15.7.4-.9",key:"3js94g"}],["path",{d:"m13.1 9.2.4-.9",key:"18n7mc"}]],Kn=e("BrainCog",gx);/** + */const Nx=[["path",{d:"M12 5a3 3 0 1 0-5.997.142 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588 4 4 0 0 0 7.636 2.106 3.2 3.2 0 0 0 .164-.546c.028-.13.306-.13.335 0a3.2 3.2 0 0 0 .163.546 4 4 0 0 0 7.636-2.106 4 4 0 0 0 .556-6.588 4 4 0 0 0-2.526-5.77A3 3 0 1 0 12 5",key:"1kgmhc"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m15.7 10.4-.9.4",key:"ayzo6p"}],["path",{d:"m9.2 13.2-.9.4",key:"1uzb3g"}],["path",{d:"m13.6 15.7-.4-.9",key:"11ifqf"}],["path",{d:"m10.8 9.2-.4-.9",key:"1pmk2v"}],["path",{d:"m15.7 13.5-.9-.4",key:"7ng02m"}],["path",{d:"m9.2 10.9-.9-.4",key:"1x66zd"}],["path",{d:"m10.5 15.7.4-.9",key:"3js94g"}],["path",{d:"m13.1 9.2.4-.9",key:"18n7mc"}]],id=e("BrainCog",Nx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Lx=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 9v6",key:"199k2o"}],["path",{d:"M16 15v6",key:"8rj2es"}],["path",{d:"M16 3v6",key:"1j6rpj"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M8 15v6",key:"1stoo3"}],["path",{d:"M8 3v6",key:"vlvjmk"}]],Jn=e("BrickWall",Lx);/** + */const Sx=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 9v6",key:"199k2o"}],["path",{d:"M16 15v6",key:"8rj2es"}],["path",{d:"M16 3v6",key:"1j6rpj"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M8 15v6",key:"1stoo3"}],["path",{d:"M8 3v6",key:"vlvjmk"}]],hd=e("BrickWall",Sx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xx=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],Qn=e("BriefcaseBusiness",xx);/** + */const bx=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],yd=e("BriefcaseBusiness",bx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wx=[["path",{d:"M10 20v2",key:"1n8e1g"}],["path",{d:"M14 20v2",key:"1lq872"}],["path",{d:"M18 20v2",key:"10uadw"}],["path",{d:"M21 20H3",key:"kdqkdp"}],["path",{d:"M6 20v2",key:"a9bc87"}],["path",{d:"M8 16V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v12",key:"17n9tx"}],["rect",{x:"4",y:"6",width:"16",height:"10",rx:"2",key:"1097i5"}]],Yn=e("BriefcaseConveyorBelt",wx);/** + */const qx=[["path",{d:"M10 20v2",key:"1n8e1g"}],["path",{d:"M14 20v2",key:"1lq872"}],["path",{d:"M18 20v2",key:"10uadw"}],["path",{d:"M21 20H3",key:"kdqkdp"}],["path",{d:"M6 20v2",key:"a9bc87"}],["path",{d:"M8 16V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v12",key:"17n9tx"}],["rect",{x:"4",y:"6",width:"16",height:"10",rx:"2",key:"1097i5"}]],rd=e("BriefcaseConveyorBelt",qx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fx=[["path",{d:"M12 11v4",key:"a6ujw6"}],["path",{d:"M14 13h-4",key:"1pl8zg"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M18 6v14",key:"1mu4gy"}],["path",{d:"M6 6v14",key:"1s15cj"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],ed=e("BriefcaseMedical",fx);/** + */const $x=[["path",{d:"M12 11v4",key:"a6ujw6"}],["path",{d:"M14 13h-4",key:"1pl8zg"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M18 6v14",key:"1mu4gy"}],["path",{d:"M6 6v14",key:"1s15cj"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],kd=e("BriefcaseMedical",$x);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Cx=[["rect",{x:"8",y:"8",width:"8",height:"8",rx:"2",key:"yj20xf"}],["path",{d:"M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2",key:"1ltk23"}],["path",{d:"M14 20a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2",key:"1q24h9"}]],ad=e("BringToFront",Cx);/** + */const Ax=[["rect",{x:"8",y:"8",width:"8",height:"8",rx:"2",key:"yj20xf"}],["path",{d:"M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2",key:"1ltk23"}],["path",{d:"M14 20a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2",key:"1q24h9"}]],pd=e("BringToFront",Ax);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ix=[["path",{d:"m9.06 11.9 8.07-8.06a2.85 2.85 0 1 1 4.03 4.03l-8.06 8.08",key:"1styjt"}],["path",{d:"M7.07 14.94c-1.66 0-3 1.35-3 3.02 0 1.33-2.5 1.52-2 2.02 1.08 1.1 2.49 2.02 4 2.02 2.2 0 4-1.8 4-4.04a3.01 3.01 0 0 0-3-3.02z",key:"z0l1mu"}]],od=e("Brush",Ix);/** + */const Hx=[["path",{d:"m9.06 11.9 8.07-8.06a2.85 2.85 0 1 1 4.03 4.03l-8.06 8.08",key:"1styjt"}],["path",{d:"M7.07 14.94c-1.66 0-3 1.35-3 3.02 0 1.33-2.5 1.52-2 2.02 1.08 1.1 2.49 2.02 4 2.02 2.2 0 4-1.8 4-4.04a3.01 3.01 0 0 0-3-3.02z",key:"z0l1mu"}]],sd=e("Brush",Hx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Nx=[["path",{d:"M15 7.13V6a3 3 0 0 0-5.14-2.1L8 2",key:"vl8zik"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M22 13h-4v-2a4 4 0 0 0-4-4h-1.3",key:"1ou0bd"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M7.7 7.7A4 4 0 0 0 6 11v3a6 6 0 0 0 11.13 3.13",key:"1njkjs"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}]],cd=e("BugOff",Nx);/** + */const zx=[["path",{d:"M15 7.13V6a3 3 0 0 0-5.14-2.1L8 2",key:"vl8zik"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M22 13h-4v-2a4 4 0 0 0-4-4h-1.3",key:"1ou0bd"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M7.7 7.7A4 4 0 0 0 6 11v3a6 6 0 0 0 11.13 3.13",key:"1njkjs"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}]],ld=e("BugOff",zx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Sx=[["path",{d:"M12.765 21.522a.5.5 0 0 1-.765-.424v-8.196a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z",key:"17shqo"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M18 11a4 4 0 0 0-4-4h-4a4 4 0 0 0-4 4v3a6.1 6.1 0 0 0 2 4.5",key:"1tjixy"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}]],td=e("BugPlay",Sx);/** + */const jx=[["path",{d:"M12.765 21.522a.5.5 0 0 1-.765-.424v-8.196a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z",key:"17shqo"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M18 11a4 4 0 0 0-4-4h-4a4 4 0 0 0-4 4v3a6.1 6.1 0 0 0 2 4.5",key:"1tjixy"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}]],ud=e("BugPlay",jx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qx=[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]],nd=e("Bug",qx);/** + */const Px=[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]],Md=e("Bug",Px);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bx=[["path",{d:"M4 6 2 7",key:"1mqr15"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"m22 7-2-1",key:"1umjhc"}],["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}],["path",{d:"M6 19v2",key:"1loha6"}],["path",{d:"M18 21v-2",key:"sqyl04"}]],dd=e("BusFront",bx);/** + */const Vx=[["path",{d:"M4 6 2 7",key:"1mqr15"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"m22 7-2-1",key:"1umjhc"}],["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}],["path",{d:"M6 19v2",key:"1loha6"}],["path",{d:"M18 21v-2",key:"sqyl04"}]],vd=e("BusFront",Vx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $x=[["path",{d:"M8 6v6",key:"18i7km"}],["path",{d:"M15 6v6",key:"1sg6z9"}],["path",{d:"M2 12h19.6",key:"de5uta"}],["path",{d:"M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3",key:"1wwztk"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}],["path",{d:"M9 18h5",key:"lrx6i"}],["circle",{cx:"16",cy:"18",r:"2",key:"1v4tcr"}]],id=e("Bus",$x);/** + */const Bx=[["path",{d:"M8 6v6",key:"18i7km"}],["path",{d:"M15 6v6",key:"1sg6z9"}],["path",{d:"M2 12h19.6",key:"de5uta"}],["path",{d:"M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3",key:"1wwztk"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}],["path",{d:"M9 18h5",key:"lrx6i"}],["circle",{cx:"16",cy:"18",r:"2",key:"1v4tcr"}]],md=e("Bus",Bx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ax=[["path",{d:"M10 3h.01",key:"lbucoy"}],["path",{d:"M14 2h.01",key:"1k8aa1"}],["path",{d:"m2 9 20-5",key:"1kz0j5"}],["path",{d:"M12 12V6.5",key:"1vbrij"}],["rect",{width:"16",height:"10",x:"4",y:"12",rx:"3",key:"if91er"}],["path",{d:"M9 12v5",key:"3anwtq"}],["path",{d:"M15 12v5",key:"5xh3zn"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],hd=e("CableCar",Ax);/** + */const Fx=[["path",{d:"M10 3h.01",key:"lbucoy"}],["path",{d:"M14 2h.01",key:"1k8aa1"}],["path",{d:"m2 9 20-5",key:"1kz0j5"}],["path",{d:"M12 12V6.5",key:"1vbrij"}],["rect",{width:"16",height:"10",x:"4",y:"12",rx:"3",key:"if91er"}],["path",{d:"M9 12v5",key:"3anwtq"}],["path",{d:"M15 12v5",key:"5xh3zn"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],_d=e("CableCar",Fx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Hx=[["path",{d:"M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1",key:"10bnsj"}],["path",{d:"M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9",key:"1eqmu1"}],["path",{d:"M21 21v-2h-4",key:"14zm7j"}],["path",{d:"M3 5h4V3",key:"z442eg"}],["path",{d:"M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3",key:"ebdjd7"}]],yd=e("Cable",Hx);/** + */const Dx=[["path",{d:"M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1",key:"10bnsj"}],["path",{d:"M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9",key:"1eqmu1"}],["path",{d:"M21 21v-2h-4",key:"14zm7j"}],["path",{d:"M3 5h4V3",key:"z442eg"}],["path",{d:"M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3",key:"ebdjd7"}]],gd=e("Cable",Dx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zx=[["circle",{cx:"9",cy:"7",r:"2",key:"1305pl"}],["path",{d:"M7.2 7.9 3 11v9c0 .6.4 1 1 1h16c.6 0 1-.4 1-1v-9c0-2-3-6-7-8l-3.6 2.6",key:"xle13f"}],["path",{d:"M16 13H3",key:"1wpj08"}],["path",{d:"M16 17H3",key:"3lvfcd"}]],rd=e("CakeSlice",zx);/** + */const Rx=[["circle",{cx:"9",cy:"7",r:"2",key:"1305pl"}],["path",{d:"M7.2 7.9 3 11v9c0 .6.4 1 1 1h16c.6 0 1-.4 1-1v-9c0-2-3-6-7-8l-3.6 2.6",key:"xle13f"}],["path",{d:"M16 13H3",key:"1wpj08"}],["path",{d:"M16 17H3",key:"3lvfcd"}]],Ld=e("CakeSlice",Rx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Px=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],kd=e("Cake",Px);/** + */const Tx=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],xd=e("Cake",Tx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jx=[["path",{d:"M11 14h1v4",key:"fy54vd"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],pd=e("Calendar1",jx);/** + */const Ux=[["path",{d:"M11 14h1v4",key:"fy54vd"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],wd=e("Calendar1",Ux);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vx=[["path",{d:"m14 18 4 4 4-4",key:"1waygx"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 14v8",key:"irew45"}],["path",{d:"M21 11.354V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.343",key:"bse4f3"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]],sd=e("CalendarArrowDown",Vx);/** + */const Ox=[["path",{d:"m14 18 4 4 4-4",key:"1waygx"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 14v8",key:"irew45"}],["path",{d:"M21 11.354V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.343",key:"bse4f3"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]],fd=e("CalendarArrowDown",Ox);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bx=[["path",{d:"m14 18 4-4 4 4",key:"ftkppy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 22v-8",key:"su0gjh"}],["path",{d:"M21 11.343V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9",key:"1exg90"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]],ld=e("CalendarArrowUp",Bx);/** + */const Zx=[["path",{d:"m14 18 4-4 4 4",key:"ftkppy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 22v-8",key:"su0gjh"}],["path",{d:"M21 11.343V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9",key:"1exg90"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]],Cd=e("CalendarArrowUp",Zx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fx=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 14V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"bce9hv"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m16 20 2 2 4-4",key:"13tcca"}]],ud=e("CalendarCheck2",Fx);/** + */const Gx=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 14V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"bce9hv"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m16 20 2 2 4-4",key:"13tcca"}]],Id=e("CalendarCheck2",Gx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Dx=[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]],Md=e("CalendarClock",Dx);/** + */const Wx=[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]],Nd=e("CalendarClock",Wx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Rx=[["path",{d:"m15.2 16.9-.9-.4",key:"1r0w5f"}],["path",{d:"m15.2 19.1-.9.4",key:"j188fs"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"m16.9 15.2-.4-.9",key:"699xu"}],["path",{d:"m16.9 20.8-.4.9",key:"dfjc4z"}],["path",{d:"m19.5 14.3-.4.9",key:"1eb35c"}],["path",{d:"m19.5 21.7-.4-.9",key:"1tonu5"}],["path",{d:"M21 10.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"11kmuh"}],["path",{d:"m21.7 16.5-.9.4",key:"1knoei"}],["path",{d:"m21.7 19.5-.9-.4",key:"q4dx6b"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],vd=e("CalendarCog",Rx);/** + */const Ex=[["path",{d:"m15.2 16.9-.9-.4",key:"1r0w5f"}],["path",{d:"m15.2 19.1-.9.4",key:"j188fs"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"m16.9 15.2-.4-.9",key:"699xu"}],["path",{d:"m16.9 20.8-.4.9",key:"dfjc4z"}],["path",{d:"m19.5 14.3-.4.9",key:"1eb35c"}],["path",{d:"m19.5 21.7-.4-.9",key:"1tonu5"}],["path",{d:"M21 10.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"11kmuh"}],["path",{d:"m21.7 16.5-.9.4",key:"1knoei"}],["path",{d:"m21.7 19.5-.9-.4",key:"q4dx6b"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],Sd=e("CalendarCog",Ex);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Tx=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 17V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11Z",key:"kg77oy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M15 22v-4a2 2 0 0 1 2-2h4",key:"1gnbqr"}]],md=e("CalendarFold",Tx);/** + */const Xx=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 17V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11Z",key:"kg77oy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M15 22v-4a2 2 0 0 1 2-2h4",key:"1gnbqr"}]],bd=e("CalendarFold",Xx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ux=[["path",{d:"M3 10h18V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7",key:"136lmk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21.29 14.7a2.43 2.43 0 0 0-2.65-.52c-.3.12-.57.3-.8.53l-.34.34-.35-.34a2.43 2.43 0 0 0-2.65-.53c-.3.12-.56.3-.79.53-.95.94-1 2.53.2 3.74L17.5 22l3.6-3.55c1.2-1.21 1.14-2.8.19-3.74Z",key:"1t7hil"}]],_d=e("CalendarHeart",Ux);/** + */const Kx=[["path",{d:"M3 10h18V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7",key:"136lmk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21.29 14.7a2.43 2.43 0 0 0-2.65-.52c-.3.12-.57.3-.8.53l-.34.34-.35-.34a2.43 2.43 0 0 0-2.65-.53c-.3.12-.56.3-.79.53-.95.94-1 2.53.2 3.74L17.5 22l3.6-3.55c1.2-1.21 1.14-2.8.19-3.74Z",key:"1t7hil"}]],qd=e("CalendarHeart",Kx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ox=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M10 16h4",key:"17e571"}]],gd=e("CalendarMinus2",Ox);/** + */const Jx=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M10 16h4",key:"17e571"}]],$d=e("CalendarMinus2",Jx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zx=[["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 15V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5",key:"1scpom"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]],Ld=e("CalendarMinus",Zx);/** + */const Qx=[["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 15V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5",key:"1scpom"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]],Ad=e("CalendarMinus",Qx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Gx=[["path",{d:"M4.2 4.2A2 2 0 0 0 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.82-1.18",key:"16swn3"}],["path",{d:"M21 15.5V6a2 2 0 0 0-2-2H9.5",key:"yhw86o"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h7",key:"1wap6i"}],["path",{d:"M21 10h-5.5",key:"quycpq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],xd=e("CalendarOff",Gx);/** + */const Yx=[["path",{d:"M4.2 4.2A2 2 0 0 0 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.82-1.18",key:"16swn3"}],["path",{d:"M21 15.5V6a2 2 0 0 0-2-2H9.5",key:"yhw86o"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h7",key:"1wap6i"}],["path",{d:"M21 10h-5.5",key:"quycpq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Hd=e("CalendarOff",Yx);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Wx=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M10 16h4",key:"17e571"}],["path",{d:"M12 14v4",key:"1thi36"}]],wd=e("CalendarPlus2",Wx);/** + */const ew=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M10 16h4",key:"17e571"}],["path",{d:"M12 14v4",key:"1thi36"}]],zd=e("CalendarPlus2",ew);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ex=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M19 16v6",key:"tddt3s"}]],fd=e("CalendarPlus",Ex);/** + */const aw=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M19 16v6",key:"tddt3s"}]],jd=e("CalendarPlus",aw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xx=[["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M17 14h-6",key:"bkmgh3"}],["path",{d:"M13 18H7",key:"bb0bb7"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 18h.01",key:"1bdyru"}]],Cd=e("CalendarRange",Xx);/** + */const ow=[["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M17 14h-6",key:"bkmgh3"}],["path",{d:"M13 18H7",key:"bb0bb7"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 18h.01",key:"1bdyru"}]],Pd=e("CalendarRange",ow);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Kx=[["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 11.75V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.25",key:"1jrsq6"}],["path",{d:"m22 22-1.875-1.875",key:"13zax7"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],Id=e("CalendarSearch",Kx);/** + */const tw=[["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 11.75V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.25",key:"1jrsq6"}],["path",{d:"m22 22-1.875-1.875",key:"13zax7"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],Vd=e("CalendarSearch",tw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Jx=[["path",{d:"M11 10v4h4",key:"172dkj"}],["path",{d:"m11 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"vu0qm5"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"m21 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"1qgeyt"}],["path",{d:"M21 22v-4h-4",key:"hrummi"}],["path",{d:"M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3",key:"mctw84"}],["path",{d:"M3 10h4",key:"1el30a"}],["path",{d:"M8 2v4",key:"1cmpym"}]],Nd=e("CalendarSync",Jx);/** + */const cw=[["path",{d:"M11 10v4h4",key:"172dkj"}],["path",{d:"m11 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"vu0qm5"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"m21 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"1qgeyt"}],["path",{d:"M21 22v-4h-4",key:"hrummi"}],["path",{d:"M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3",key:"mctw84"}],["path",{d:"M3 10h4",key:"1el30a"}],["path",{d:"M8 2v4",key:"1cmpym"}]],Bd=e("CalendarSync",cw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Qx=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m17 22 5-5",key:"1k6ppv"}],["path",{d:"m17 17 5 5",key:"p7ous7"}]],Sd=e("CalendarX2",Qx);/** + */const nw=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m17 22 5-5",key:"1k6ppv"}],["path",{d:"m17 17 5 5",key:"p7ous7"}]],Fd=e("CalendarX2",nw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Yx=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m14 14-4 4",key:"rymu2i"}],["path",{d:"m10 14 4 4",key:"3sz06r"}]],qd=e("CalendarX",Yx);/** + */const dw=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m14 14-4 4",key:"rymu2i"}],["path",{d:"m10 14 4 4",key:"3sz06r"}]],Dd=e("CalendarX",dw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ew=[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16",key:"qmtpty"}],["path",{d:"M9.5 4h5L17 7h3a2 2 0 0 1 2 2v7.5",key:"1ufyfc"}],["path",{d:"M14.121 15.121A3 3 0 1 1 9.88 10.88",key:"11zox6"}]],bd=e("CameraOff",ew);/** + */const iw=[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16",key:"qmtpty"}],["path",{d:"M9.5 4h5L17 7h3a2 2 0 0 1 2 2v7.5",key:"1ufyfc"}],["path",{d:"M14.121 15.121A3 3 0 1 1 9.88 10.88",key:"11zox6"}]],Rd=e("CameraOff",iw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aw=[["path",{d:"M5.7 21a2 2 0 0 1-3.5-2l8.6-14a6 6 0 0 1 10.4 6 2 2 0 1 1-3.464-2 2 2 0 1 0-3.464-2Z",key:"isaq8g"}],["path",{d:"M17.75 7 15 2.1",key:"12x7e8"}],["path",{d:"M10.9 4.8 13 9",key:"100a87"}],["path",{d:"m7.9 9.7 2 4.4",key:"ntfhaj"}],["path",{d:"M4.9 14.7 7 18.9",key:"1x43jy"}]],$d=e("CandyCane",aw);/** + */const hw=[["path",{d:"M5.7 21a2 2 0 0 1-3.5-2l8.6-14a6 6 0 0 1 10.4 6 2 2 0 1 1-3.464-2 2 2 0 1 0-3.464-2Z",key:"isaq8g"}],["path",{d:"M17.75 7 15 2.1",key:"12x7e8"}],["path",{d:"M10.9 4.8 13 9",key:"100a87"}],["path",{d:"m7.9 9.7 2 4.4",key:"ntfhaj"}],["path",{d:"M4.9 14.7 7 18.9",key:"1x43jy"}]],Td=e("CandyCane",hw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ow=[["path",{d:"m8.5 8.5-1 1a4.95 4.95 0 0 0 7 7l1-1",key:"1ff4ui"}],["path",{d:"M11.843 6.187A4.947 4.947 0 0 1 16.5 7.5a4.947 4.947 0 0 1 1.313 4.657",key:"1sbrv4"}],["path",{d:"M14 16.5V14",key:"1maf8j"}],["path",{d:"M14 6.5v1.843",key:"1a6u6t"}],["path",{d:"M10 10v7.5",key:"80pj65"}],["path",{d:"m16 7 1-5 1.367.683A3 3 0 0 0 19.708 3H21v1.292a3 3 0 0 0 .317 1.341L22 7l-5 1",key:"11a9mt"}],["path",{d:"m8 17-1 5-1.367-.683A3 3 0 0 0 4.292 21H3v-1.292a3 3 0 0 0-.317-1.341L2 17l5-1",key:"3mjmon"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Ad=e("CandyOff",ow);/** + */const yw=[["path",{d:"m8.5 8.5-1 1a4.95 4.95 0 0 0 7 7l1-1",key:"1ff4ui"}],["path",{d:"M11.843 6.187A4.947 4.947 0 0 1 16.5 7.5a4.947 4.947 0 0 1 1.313 4.657",key:"1sbrv4"}],["path",{d:"M14 16.5V14",key:"1maf8j"}],["path",{d:"M14 6.5v1.843",key:"1a6u6t"}],["path",{d:"M10 10v7.5",key:"80pj65"}],["path",{d:"m16 7 1-5 1.367.683A3 3 0 0 0 19.708 3H21v1.292a3 3 0 0 0 .317 1.341L22 7l-5 1",key:"11a9mt"}],["path",{d:"m8 17-1 5-1.367-.683A3 3 0 0 0 4.292 21H3v-1.292a3 3 0 0 0-.317-1.341L2 17l5-1",key:"3mjmon"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Ud=e("CandyOff",yw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cw=[["path",{d:"m9.5 7.5-2 2a4.95 4.95 0 1 0 7 7l2-2a4.95 4.95 0 1 0-7-7Z",key:"ue6khb"}],["path",{d:"M14 6.5v10",key:"5xnk7c"}],["path",{d:"M10 7.5v10",key:"1uew51"}],["path",{d:"m16 7 1-5 1.37.68A3 3 0 0 0 19.7 3H21v1.3c0 .46.1.92.32 1.33L22 7l-5 1",key:"b9cp6k"}],["path",{d:"m8 17-1 5-1.37-.68A3 3 0 0 0 4.3 21H3v-1.3a3 3 0 0 0-.32-1.33L2 17l5-1",key:"5lney8"}]],Hd=e("Candy",cw);/** + */const rw=[["path",{d:"m9.5 7.5-2 2a4.95 4.95 0 1 0 7 7l2-2a4.95 4.95 0 1 0-7-7Z",key:"ue6khb"}],["path",{d:"M14 6.5v10",key:"5xnk7c"}],["path",{d:"M10 7.5v10",key:"1uew51"}],["path",{d:"m16 7 1-5 1.37.68A3 3 0 0 0 19.7 3H21v1.3c0 .46.1.92.32 1.33L22 7l-5 1",key:"b9cp6k"}],["path",{d:"m8 17-1 5-1.37-.68A3 3 0 0 0 4.3 21H3v-1.3a3 3 0 0 0-.32-1.33L2 17l5-1",key:"5lney8"}]],Od=e("Candy",rw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tw=[["path",{d:"M12 22v-4",key:"1utk9m"}],["path",{d:"M7 12c-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3 1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5 0 0 2.5.5 6-1-.5-1.5-3.5-3-5-3 1.5-1 4-4 4-6-2.5 0-5.5 1.5-7 3 0-2.5-.5-5-2-7-1.5 2-2 4.5-2 7-1.5-1.5-4.5-3-7-3 0 2 2.5 5 4 6",key:"1mezod"}]],zd=e("Cannabis",tw);/** + */const kw=[["path",{d:"M12 22v-4",key:"1utk9m"}],["path",{d:"M7 12c-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3 1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5 0 0 2.5.5 6-1-.5-1.5-3.5-3-5-3 1.5-1 4-4 4-6-2.5 0-5.5 1.5-7 3 0-2.5-.5-5-2-7-1.5 2-2 4.5-2 7-1.5-1.5-4.5-3-7-3 0 2 2.5 5 4 6",key:"1mezod"}]],Zd=e("Cannabis",kw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nw=[["path",{d:"M10.5 5H19a2 2 0 0 1 2 2v8.5",key:"jqtk4d"}],["path",{d:"M17 11h-.5",key:"1961ue"}],["path",{d:"M19 19H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2",key:"1keqsi"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M7 11h4",key:"1o1z6v"}],["path",{d:"M7 15h2.5",key:"1ina1g"}]],Pd=e("CaptionsOff",nw);/** + */const pw=[["path",{d:"M10.5 5H19a2 2 0 0 1 2 2v8.5",key:"jqtk4d"}],["path",{d:"M17 11h-.5",key:"1961ue"}],["path",{d:"M19 19H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2",key:"1keqsi"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M7 11h4",key:"1o1z6v"}],["path",{d:"M7 15h2.5",key:"1ina1g"}]],Gd=e("CaptionsOff",pw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dw=[["rect",{width:"18",height:"14",x:"3",y:"5",rx:"2",ry:"2",key:"12ruh7"}],["path",{d:"M7 15h4M15 15h2M7 11h2M13 11h4",key:"1ueiar"}]],O=e("Captions",dw);/** + */const sw=[["rect",{width:"18",height:"14",x:"3",y:"5",rx:"2",ry:"2",key:"12ruh7"}],["path",{d:"M7 15h4M15 15h2M7 11h2M13 11h4",key:"1ueiar"}]],G=e("Captions",sw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iw=[["path",{d:"m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8",key:"1imjwt"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 14h.01",key:"7oqj8z"}],["rect",{width:"18",height:"8",x:"3",y:"10",rx:"2",key:"a7itu8"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],jd=e("CarFront",iw);/** + */const lw=[["path",{d:"m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8",key:"1imjwt"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 14h.01",key:"7oqj8z"}],["rect",{width:"18",height:"8",x:"3",y:"10",rx:"2",key:"a7itu8"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],Wd=e("CarFront",lw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hw=[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8",key:"1imjwt"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 14h.01",key:"7oqj8z"}],["rect",{width:"18",height:"8",x:"3",y:"10",rx:"2",key:"a7itu8"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],Vd=e("CarTaxiFront",hw);/** + */const uw=[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8",key:"1imjwt"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 14h.01",key:"7oqj8z"}],["rect",{width:"18",height:"8",x:"3",y:"10",rx:"2",key:"a7itu8"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],Ed=e("CarTaxiFront",uw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yw=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],Bd=e("Car",yw);/** + */const Mw=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],Xd=e("Car",Mw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rw=[["path",{d:"M18 19V9a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v8a2 2 0 0 0 2 2h2",key:"19jm3t"}],["path",{d:"M2 9h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2",key:"13hakp"}],["path",{d:"M22 17v1a1 1 0 0 1-1 1H10v-9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9",key:"1crci8"}],["circle",{cx:"8",cy:"19",r:"2",key:"t8fc5s"}]],Fd=e("Caravan",rw);/** + */const vw=[["path",{d:"M18 19V9a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v8a2 2 0 0 0 2 2h2",key:"19jm3t"}],["path",{d:"M2 9h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2",key:"13hakp"}],["path",{d:"M22 17v1a1 1 0 0 1-1 1H10v-9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9",key:"1crci8"}],["circle",{cx:"8",cy:"19",r:"2",key:"t8fc5s"}]],Kd=e("Caravan",vw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kw=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],Dd=e("Carrot",kw);/** + */const mw=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],Jd=e("Carrot",mw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pw=[["circle",{cx:"7",cy:"12",r:"3",key:"12clwm"}],["path",{d:"M10 9v6",key:"17i7lo"}],["circle",{cx:"17",cy:"12",r:"3",key:"gl7c2s"}],["path",{d:"M14 7v8",key:"dl84cr"}]],Rd=e("CaseLower",pw);/** + */const _w=[["circle",{cx:"7",cy:"12",r:"3",key:"12clwm"}],["path",{d:"M10 9v6",key:"17i7lo"}],["circle",{cx:"17",cy:"12",r:"3",key:"gl7c2s"}],["path",{d:"M14 7v8",key:"dl84cr"}]],Qd=e("CaseLower",_w);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sw=[["path",{d:"m3 15 4-8 4 8",key:"1vwr6u"}],["path",{d:"M4 13h6",key:"1r9ots"}],["circle",{cx:"18",cy:"12",r:"3",key:"1kchzo"}],["path",{d:"M21 9v6",key:"anns31"}]],Td=e("CaseSensitive",sw);/** + */const gw=[["path",{d:"m3 15 4-8 4 8",key:"1vwr6u"}],["path",{d:"M4 13h6",key:"1r9ots"}],["circle",{cx:"18",cy:"12",r:"3",key:"1kchzo"}],["path",{d:"M21 9v6",key:"anns31"}]],Yd=e("CaseSensitive",gw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lw=[["path",{d:"m3 15 4-8 4 8",key:"1vwr6u"}],["path",{d:"M4 13h6",key:"1r9ots"}],["path",{d:"M15 11h4.5a2 2 0 0 1 0 4H15V7h4a2 2 0 0 1 0 4",key:"1sqfas"}]],Ud=e("CaseUpper",lw);/** + */const Lw=[["path",{d:"m3 15 4-8 4 8",key:"1vwr6u"}],["path",{d:"M4 13h6",key:"1r9ots"}],["path",{d:"M15 11h4.5a2 2 0 0 1 0 4H15V7h4a2 2 0 0 1 0 4",key:"1sqfas"}]],ei=e("CaseUpper",Lw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uw=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["circle",{cx:"8",cy:"10",r:"2",key:"1xl4ub"}],["path",{d:"M8 12h8",key:"1wcyev"}],["circle",{cx:"16",cy:"10",r:"2",key:"r14t7q"}],["path",{d:"m6 20 .7-2.9A1.4 1.4 0 0 1 8.1 16h7.8a1.4 1.4 0 0 1 1.4 1l.7 3",key:"l01ucn"}]],Od=e("CassetteTape",uw);/** + */const xw=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["circle",{cx:"8",cy:"10",r:"2",key:"1xl4ub"}],["path",{d:"M8 12h8",key:"1wcyev"}],["circle",{cx:"16",cy:"10",r:"2",key:"r14t7q"}],["path",{d:"m6 20 .7-2.9A1.4 1.4 0 0 1 8.1 16h7.8a1.4 1.4 0 0 1 1.4 1l.7 3",key:"l01ucn"}]],ai=e("CassetteTape",xw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Mw=[["path",{d:"M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6",key:"3zrzxg"}],["path",{d:"M2 12a9 9 0 0 1 8 8",key:"g6cvee"}],["path",{d:"M2 16a5 5 0 0 1 4 4",key:"1y1dii"}],["line",{x1:"2",x2:"2.01",y1:"20",y2:"20",key:"xu2jvo"}]],Zd=e("Cast",Mw);/** + */const ww=[["path",{d:"M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6",key:"3zrzxg"}],["path",{d:"M2 12a9 9 0 0 1 8 8",key:"g6cvee"}],["path",{d:"M2 16a5 5 0 0 1 4 4",key:"1y1dii"}],["line",{x1:"2",x2:"2.01",y1:"20",y2:"20",key:"xu2jvo"}]],oi=e("Cast",ww);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vw=[["path",{d:"M22 20v-9H2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2Z",key:"109fe4"}],["path",{d:"M18 11V4H6v7",key:"mon5oj"}],["path",{d:"M15 22v-4a3 3 0 0 0-3-3a3 3 0 0 0-3 3v4",key:"1k4jtn"}],["path",{d:"M22 11V9",key:"3zbp94"}],["path",{d:"M2 11V9",key:"1x5rnq"}],["path",{d:"M6 4V2",key:"1rsq15"}],["path",{d:"M18 4V2",key:"1jsdo1"}],["path",{d:"M10 4V2",key:"75d9ly"}],["path",{d:"M14 4V2",key:"8nj3z6"}]],Gd=e("Castle",vw);/** + */const fw=[["path",{d:"M22 20v-9H2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2Z",key:"109fe4"}],["path",{d:"M18 11V4H6v7",key:"mon5oj"}],["path",{d:"M15 22v-4a3 3 0 0 0-3-3a3 3 0 0 0-3 3v4",key:"1k4jtn"}],["path",{d:"M22 11V9",key:"3zbp94"}],["path",{d:"M2 11V9",key:"1x5rnq"}],["path",{d:"M6 4V2",key:"1rsq15"}],["path",{d:"M18 4V2",key:"1jsdo1"}],["path",{d:"M10 4V2",key:"75d9ly"}],["path",{d:"M14 4V2",key:"8nj3z6"}]],ti=e("Castle",fw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mw=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],Wd=e("Cat",mw);/** + */const Cw=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],ci=e("Cat",Cw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _w=[["path",{d:"M16.75 12h3.632a1 1 0 0 1 .894 1.447l-2.034 4.069a1 1 0 0 1-1.708.134l-2.124-2.97",key:"ir91b5"}],["path",{d:"M17.106 9.053a1 1 0 0 1 .447 1.341l-3.106 6.211a1 1 0 0 1-1.342.447L3.61 12.3a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.92 2.92 0 0 1 3.92-1.3z",key:"jlp8i1"}],["path",{d:"M2 19h3.76a2 2 0 0 0 1.8-1.1L9 15",key:"19bib8"}],["path",{d:"M2 21v-4",key:"l40lih"}],["path",{d:"M7 9h.01",key:"19b3jx"}]],Ed=e("Cctv",_w);/** + */const Iw=[["path",{d:"M16.75 12h3.632a1 1 0 0 1 .894 1.447l-2.034 4.069a1 1 0 0 1-1.708.134l-2.124-2.97",key:"ir91b5"}],["path",{d:"M17.106 9.053a1 1 0 0 1 .447 1.341l-3.106 6.211a1 1 0 0 1-1.342.447L3.61 12.3a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.92 2.92 0 0 1 3.92-1.3z",key:"jlp8i1"}],["path",{d:"M2 19h3.76a2 2 0 0 0 1.8-1.1L9 15",key:"19bib8"}],["path",{d:"M2 21v-4",key:"l40lih"}],["path",{d:"M7 9h.01",key:"19b3jx"}]],ni=e("Cctv",Iw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z",key:"q0gr47"}]],Z=e("ChartArea",gw);/** + */const Nw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z",key:"q0gr47"}]],W=e("ChartArea",Nw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Lw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"7",y:"13",width:"9",height:"4",rx:"1",key:"1iip1u"}],["rect",{x:"7",y:"5",width:"12",height:"4",rx:"1",key:"1anskk"}]],G=e("ChartBarBig",Lw);/** + */const Sw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"7",y:"13",width:"9",height:"4",rx:"1",key:"1iip1u"}],["rect",{x:"7",y:"5",width:"12",height:"4",rx:"1",key:"1anskk"}]],E=e("ChartBarBig",Sw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11h8",key:"1feolt"}],["path",{d:"M7 16h3",key:"ur6vzw"}],["path",{d:"M7 6h12",key:"sz5b0d"}]],Xd=e("ChartBarDecreasing",xw);/** + */const bw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11h8",key:"1feolt"}],["path",{d:"M7 16h3",key:"ur6vzw"}],["path",{d:"M7 6h12",key:"sz5b0d"}]],di=e("ChartBarDecreasing",bw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ww=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11h8",key:"1feolt"}],["path",{d:"M7 16h12",key:"wsnu98"}],["path",{d:"M7 6h3",key:"w9rmul"}]],Kd=e("ChartBarIncreasing",ww);/** + */const qw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11h8",key:"1feolt"}],["path",{d:"M7 16h12",key:"wsnu98"}],["path",{d:"M7 6h3",key:"w9rmul"}]],ii=e("ChartBarIncreasing",qw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fw=[["path",{d:"M11 13v4",key:"vyy2rb"}],["path",{d:"M15 5v4",key:"1gx88a"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"7",y:"13",width:"9",height:"4",rx:"1",key:"1iip1u"}],["rect",{x:"7",y:"5",width:"12",height:"4",rx:"1",key:"1anskk"}]],Jd=e("ChartBarStacked",fw);/** + */const $w=[["path",{d:"M11 13v4",key:"vyy2rb"}],["path",{d:"M15 5v4",key:"1gx88a"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"7",y:"13",width:"9",height:"4",rx:"1",key:"1iip1u"}],["rect",{x:"7",y:"5",width:"12",height:"4",rx:"1",key:"1anskk"}]],hi=e("ChartBarStacked",$w);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Cw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],W=e("ChartBar",Cw);/** + */const Aw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],X=e("ChartBar",Aw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Iw=[["path",{d:"M9 5v4",key:"14uxtq"}],["rect",{width:"4",height:"6",x:"7",y:"9",rx:"1",key:"f4fvz0"}],["path",{d:"M9 15v2",key:"r5rk32"}],["path",{d:"M17 3v2",key:"1l2re6"}],["rect",{width:"4",height:"8",x:"15",y:"5",rx:"1",key:"z38je5"}],["path",{d:"M17 13v3",key:"5l0wba"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}]],E=e("ChartCandlestick",Iw);/** + */const Hw=[["path",{d:"M9 5v4",key:"14uxtq"}],["rect",{width:"4",height:"6",x:"7",y:"9",rx:"1",key:"f4fvz0"}],["path",{d:"M9 15v2",key:"r5rk32"}],["path",{d:"M17 3v2",key:"1l2re6"}],["rect",{width:"4",height:"8",x:"15",y:"5",rx:"1",key:"z38je5"}],["path",{d:"M17 13v3",key:"5l0wba"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}]],K=e("ChartCandlestick",Hw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Nw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]],X=e("ChartColumnBig",Nw);/** + */const zw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]],J=e("ChartColumnBig",zw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Sw=[["path",{d:"M13 17V9",key:"1fwyjl"}],["path",{d:"M18 17v-3",key:"1sqioe"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 17V5",key:"1wzmnc"}]],Qd=e("ChartColumnDecreasing",Sw);/** + */const jw=[["path",{d:"M13 17V9",key:"1fwyjl"}],["path",{d:"M18 17v-3",key:"1sqioe"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 17V5",key:"1wzmnc"}]],yi=e("ChartColumnDecreasing",jw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qw=[["path",{d:"M13 17V9",key:"1fwyjl"}],["path",{d:"M18 17V5",key:"sfb6ij"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 17v-3",key:"17ska0"}]],K=e("ChartColumnIncreasing",qw);/** + */const Pw=[["path",{d:"M13 17V9",key:"1fwyjl"}],["path",{d:"M18 17V5",key:"sfb6ij"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Q=e("ChartColumnIncreasing",Pw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bw=[["path",{d:"M11 13H7",key:"t0o9gq"}],["path",{d:"M19 9h-4",key:"rera1j"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]],Yd=e("ChartColumnStacked",bw);/** + */const Vw=[["path",{d:"M11 13H7",key:"t0o9gq"}],["path",{d:"M19 9h-4",key:"rera1j"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]],ri=e("ChartColumnStacked",Vw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $w=[["path",{d:"M10 6h8",key:"zvc2xc"}],["path",{d:"M12 16h6",key:"yi5mkt"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 11h7",key:"wz2hg0"}]],ei=e("ChartGantt",$w);/** + */const Bw=[["path",{d:"M10 6h8",key:"zvc2xc"}],["path",{d:"M12 16h6",key:"yi5mkt"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 11h7",key:"wz2hg0"}]],ki=e("ChartGantt",Bw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Aw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],J=e("ChartLine",Aw);/** + */const Fw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Y=e("ChartLine",Fw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Hw=[["path",{d:"m13.11 7.664 1.78 2.672",key:"go2gg9"}],["path",{d:"m14.162 12.788-3.324 1.424",key:"11x848"}],["path",{d:"m20 4-6.06 1.515",key:"1wxxh7"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["circle",{cx:"12",cy:"6",r:"2",key:"1jj5th"}],["circle",{cx:"16",cy:"12",r:"2",key:"4ma0v8"}],["circle",{cx:"9",cy:"15",r:"2",key:"lf2ghp"}]],ai=e("ChartNetwork",Hw);/** + */const Dw=[["path",{d:"m13.11 7.664 1.78 2.672",key:"go2gg9"}],["path",{d:"m14.162 12.788-3.324 1.424",key:"11x848"}],["path",{d:"m20 4-6.06 1.515",key:"1wxxh7"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["circle",{cx:"12",cy:"6",r:"2",key:"1jj5th"}],["circle",{cx:"16",cy:"12",r:"2",key:"4ma0v8"}],["circle",{cx:"9",cy:"15",r:"2",key:"lf2ghp"}]],pi=e("ChartNetwork",Dw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zw=[["path",{d:"M12 20V10",key:"g8npz5"}],["path",{d:"M18 20v-4",key:"8uic4z"}],["path",{d:"M6 20V4",key:"1w1bmo"}]],oi=e("ChartNoAxesColumnDecreasing",zw);/** + */const Rw=[["path",{d:"M12 20V10",key:"g8npz5"}],["path",{d:"M18 20v-4",key:"8uic4z"}],["path",{d:"M6 20V4",key:"1w1bmo"}]],si=e("ChartNoAxesColumnDecreasing",Rw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Pw=[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]],ci=e("ChartNoAxesCombined",Pw);/** + */const Tw=[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]],li=e("ChartNoAxesCombined",Tw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jw=[["path",{d:"M8 6h10",key:"9lnwnk"}],["path",{d:"M6 12h9",key:"1g9pqf"}],["path",{d:"M11 18h7",key:"c8dzvl"}]],Q=e("ChartNoAxesGantt",jw);/** + */const Uw=[["path",{d:"M8 6h10",key:"9lnwnk"}],["path",{d:"M6 12h9",key:"1g9pqf"}],["path",{d:"M11 18h7",key:"c8dzvl"}]],e1=e("ChartNoAxesGantt",Uw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vw=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],Y=e("ChartPie",Vw);/** + */const Ow=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],a1=e("ChartPie",Ow);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bw=[["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}],["circle",{cx:"18.5",cy:"5.5",r:".5",fill:"currentColor",key:"lysivs"}],["circle",{cx:"11.5",cy:"11.5",r:".5",fill:"currentColor",key:"byv1b8"}],["circle",{cx:"7.5",cy:"16.5",r:".5",fill:"currentColor",key:"nkw3mc"}],["circle",{cx:"17.5",cy:"14.5",r:".5",fill:"currentColor",key:"1gjh6j"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}]],e1=e("ChartScatter",Bw);/** + */const Zw=[["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}],["circle",{cx:"18.5",cy:"5.5",r:".5",fill:"currentColor",key:"lysivs"}],["circle",{cx:"11.5",cy:"11.5",r:".5",fill:"currentColor",key:"byv1b8"}],["circle",{cx:"7.5",cy:"16.5",r:".5",fill:"currentColor",key:"nkw3mc"}],["circle",{cx:"17.5",cy:"14.5",r:".5",fill:"currentColor",key:"1gjh6j"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}]],o1=e("ChartScatter",Zw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7",key:"lw07rv"}]],ti=e("ChartSpline",Fw);/** + */const Gw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7",key:"lw07rv"}]],ui=e("ChartSpline",Gw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Dw=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],ni=e("CheckCheck",Dw);/** + */const Ww=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],Mi=e("CheckCheck",Ww);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Rw=[["path",{d:"M17 21a1 1 0 0 0 1-1v-5.35c0-.457.316-.844.727-1.041a4 4 0 0 0-2.134-7.589 5 5 0 0 0-9.186 0 4 4 0 0 0-2.134 7.588c.411.198.727.585.727 1.041V20a1 1 0 0 0 1 1Z",key:"1qvrer"}],["path",{d:"M6 17h12",key:"1jwigz"}]],di=e("ChefHat",Rw);/** + */const Ew=[["path",{d:"M17 21a1 1 0 0 0 1-1v-5.35c0-.457.316-.844.727-1.041a4 4 0 0 0-2.134-7.589 5 5 0 0 0-9.186 0 4 4 0 0 0-2.134 7.588c.411.198.727.585.727 1.041V20a1 1 0 0 0 1 1Z",key:"1qvrer"}],["path",{d:"M6 17h12",key:"1jwigz"}]],vi=e("ChefHat",Ew);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Tw=[["path",{d:"M2 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z",key:"cvxqlc"}],["path",{d:"M12 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z",key:"1ostrc"}],["path",{d:"M7 14c3.22-2.91 4.29-8.75 5-12 1.66 2.38 4.94 9 5 12",key:"hqx58h"}],["path",{d:"M22 9c-4.29 0-7.14-2.33-10-7 5.71 0 10 4.67 10 7Z",key:"eykp1o"}]],ii=e("Cherry",Tw);/** + */const Xw=[["path",{d:"M2 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z",key:"cvxqlc"}],["path",{d:"M12 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z",key:"1ostrc"}],["path",{d:"M7 14c3.22-2.91 4.29-8.75 5-12 1.66 2.38 4.94 9 5 12",key:"hqx58h"}],["path",{d:"M22 9c-4.29 0-7.14-2.33-10-7 5.71 0 10 4.67 10 7Z",key:"eykp1o"}]],mi=e("Cherry",Xw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Uw=[["path",{d:"m17 18-6-6 6-6",key:"1yerx2"}],["path",{d:"M7 6v12",key:"1p53r6"}]],hi=e("ChevronFirst",Uw);/** + */const Kw=[["path",{d:"m17 18-6-6 6-6",key:"1yerx2"}],["path",{d:"M7 6v12",key:"1p53r6"}]],_i=e("ChevronFirst",Kw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ow=[["path",{d:"m7 18 6-6-6-6",key:"lwmzdw"}],["path",{d:"M17 6v12",key:"1o0aio"}]],yi=e("ChevronLast",Ow);/** + */const Jw=[["path",{d:"m7 18 6-6-6-6",key:"lwmzdw"}],["path",{d:"M17 6v12",key:"1o0aio"}]],gi=e("ChevronLast",Jw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zw=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],ri=e("ChevronsDownUp",Zw);/** + */const Qw=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],Li=e("ChevronsDownUp",Qw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Gw=[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]],ki=e("ChevronsDown",Gw);/** + */const Yw=[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]],xi=e("ChevronsDown",Yw);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ww=[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]],pi=e("ChevronsLeftRightEllipsis",Ww);/** + */const ef=[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]],wi=e("ChevronsLeftRightEllipsis",ef);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ew=[["path",{d:"m9 7-5 5 5 5",key:"j5w590"}],["path",{d:"m15 7 5 5-5 5",key:"1bl6da"}]],si=e("ChevronsLeftRight",Ew);/** + */const af=[["path",{d:"m9 7-5 5 5 5",key:"j5w590"}],["path",{d:"m15 7 5 5-5 5",key:"1bl6da"}]],fi=e("ChevronsLeftRight",af);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xw=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],li=e("ChevronsLeft",Xw);/** + */const of=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],Ci=e("ChevronsLeft",of);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Kw=[["path",{d:"m20 17-5-5 5-5",key:"30x0n2"}],["path",{d:"m4 17 5-5-5-5",key:"16spf4"}]],ui=e("ChevronsRightLeft",Kw);/** + */const tf=[["path",{d:"m20 17-5-5 5-5",key:"30x0n2"}],["path",{d:"m4 17 5-5-5-5",key:"16spf4"}]],Ii=e("ChevronsRightLeft",tf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Jw=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],Mi=e("ChevronsRight",Jw);/** + */const cf=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],Ni=e("ChevronsRight",cf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Qw=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],G2=e("ChevronsUpDown",Qw);/** + */const nf=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],Q2=e("ChevronsUpDown",nf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Yw=[["path",{d:"m17 11-5-5-5 5",key:"e8nh98"}],["path",{d:"m17 18-5-5-5 5",key:"2avn1x"}]],vi=e("ChevronsUp",Yw);/** + */const df=[["path",{d:"m17 11-5-5-5 5",key:"e8nh98"}],["path",{d:"m17 18-5-5-5 5",key:"2avn1x"}]],Si=e("ChevronsUp",df);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ef=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]],mi=e("Chrome",ef);/** + */const hf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]],bi=e("Chrome",hf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const af=[["path",{d:"M10 9h4",key:"u4k05v"}],["path",{d:"M12 7v5",key:"ma6bk"}],["path",{d:"M14 22v-4a2 2 0 0 0-4 0v4",key:"1pdhuj"}],["path",{d:"M18 22V5.618a1 1 0 0 0-.553-.894l-4.553-2.277a2 2 0 0 0-1.788 0L6.553 4.724A1 1 0 0 0 6 5.618V22",key:"1rkokr"}],["path",{d:"m18 7 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.618a1 1 0 0 1 .553-.894L6 7",key:"1w6esw"}]],_i=e("Church",af);/** + */const yf=[["path",{d:"M10 9h4",key:"u4k05v"}],["path",{d:"M12 7v5",key:"ma6bk"}],["path",{d:"M14 22v-4a2 2 0 0 0-4 0v4",key:"1pdhuj"}],["path",{d:"M18 22V5.618a1 1 0 0 0-.553-.894l-4.553-2.277a2 2 0 0 0-1.788 0L6.553 4.724A1 1 0 0 0 6 5.618V22",key:"1rkokr"}],["path",{d:"m18 7 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.618a1 1 0 0 1 .553-.894L6 7",key:"1w6esw"}]],qi=e("Church",yf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const of=[["path",{d:"M12 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h13",key:"1gdiyg"}],["path",{d:"M18 8c0-2.5-2-2.5-2-5",key:"1il607"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M21 12a1 1 0 0 1 1 1v2a1 1 0 0 1-.5.866",key:"166zjj"}],["path",{d:"M22 8c0-2.5-2-2.5-2-5",key:"1gah44"}],["path",{d:"M7 12v4",key:"jqww69"}]],gi=e("CigaretteOff",of);/** + */const rf=[["path",{d:"M12 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h13",key:"1gdiyg"}],["path",{d:"M18 8c0-2.5-2-2.5-2-5",key:"1il607"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M21 12a1 1 0 0 1 1 1v2a1 1 0 0 1-.5.866",key:"166zjj"}],["path",{d:"M22 8c0-2.5-2-2.5-2-5",key:"1gah44"}],["path",{d:"M7 12v4",key:"jqww69"}]],$i=e("CigaretteOff",rf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cf=[["path",{d:"M17 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14",key:"1mb5g1"}],["path",{d:"M18 8c0-2.5-2-2.5-2-5",key:"1il607"}],["path",{d:"M21 16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"1yl5r7"}],["path",{d:"M22 8c0-2.5-2-2.5-2-5",key:"1gah44"}],["path",{d:"M7 12v4",key:"jqww69"}]],Li=e("Cigarette",cf);/** + */const kf=[["path",{d:"M17 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14",key:"1mb5g1"}],["path",{d:"M18 8c0-2.5-2-2.5-2-5",key:"1il607"}],["path",{d:"M21 16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"1yl5r7"}],["path",{d:"M22 8c0-2.5-2-2.5-2-5",key:"1gah44"}],["path",{d:"M7 12v4",key:"jqww69"}]],Ai=e("Cigarette",kf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]],a1=e("CircleArrowDown",tf);/** + */const pf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]],t1=e("CircleArrowDown",pf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"m12 8-4 4 4 4",key:"15vm53"}]],o1=e("CircleArrowLeft",nf);/** + */const sf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"m12 8-4 4 4 4",key:"15vm53"}]],c1=e("CircleArrowLeft",sf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const df=[["path",{d:"M2 12a10 10 0 1 1 10 10",key:"1yn6ov"}],["path",{d:"m2 22 10-10",key:"28ilpk"}],["path",{d:"M8 22H2v-6",key:"sulq54"}]],c1=e("CircleArrowOutDownLeft",df);/** + */const lf=[["path",{d:"M2 12a10 10 0 1 1 10 10",key:"1yn6ov"}],["path",{d:"m2 22 10-10",key:"28ilpk"}],["path",{d:"M8 22H2v-6",key:"sulq54"}]],n1=e("CircleArrowOutDownLeft",lf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hf=[["path",{d:"M12 22a10 10 0 1 1 10-10",key:"130bv5"}],["path",{d:"M22 22 12 12",key:"131aw7"}],["path",{d:"M22 16v6h-6",key:"1gvm70"}]],t1=e("CircleArrowOutDownRight",hf);/** + */const uf=[["path",{d:"M12 22a10 10 0 1 1 10-10",key:"130bv5"}],["path",{d:"M22 22 12 12",key:"131aw7"}],["path",{d:"M22 16v6h-6",key:"1gvm70"}]],d1=e("CircleArrowOutDownRight",uf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yf=[["path",{d:"M2 8V2h6",key:"hiwtdz"}],["path",{d:"m2 2 10 10",key:"1oh8rs"}],["path",{d:"M12 2A10 10 0 1 1 2 12",key:"rrk4fa"}]],n1=e("CircleArrowOutUpLeft",yf);/** + */const Mf=[["path",{d:"M2 8V2h6",key:"hiwtdz"}],["path",{d:"m2 2 10 10",key:"1oh8rs"}],["path",{d:"M12 2A10 10 0 1 1 2 12",key:"rrk4fa"}]],i1=e("CircleArrowOutUpLeft",Mf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rf=[["path",{d:"M22 12A10 10 0 1 1 12 2",key:"1fm58d"}],["path",{d:"M22 2 12 12",key:"yg2myt"}],["path",{d:"M16 2h6v6",key:"zan5cs"}]],d1=e("CircleArrowOutUpRight",rf);/** + */const vf=[["path",{d:"M22 12A10 10 0 1 1 12 2",key:"1fm58d"}],["path",{d:"M22 2 12 12",key:"yg2myt"}],["path",{d:"M16 2h6v6",key:"zan5cs"}]],h1=e("CircleArrowOutUpRight",vf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}]],i1=e("CircleArrowRight",kf);/** + */const mf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}]],y1=e("CircleArrowRight",mf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]],h1=e("CircleArrowUp",pf);/** + */const _f=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]],r1=e("CircleArrowUp",_f);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 10-4 4-4-4",key:"894hmk"}]],y1=e("CircleChevronDown",sf);/** + */const gf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 10-4 4-4-4",key:"894hmk"}]],k1=e("CircleChevronDown",gf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14 16-4-4 4-4",key:"ojs7w8"}]],r1=e("CircleChevronLeft",lf);/** + */const Lf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14 16-4-4 4-4",key:"ojs7w8"}]],p1=e("CircleChevronLeft",Lf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]],k1=e("CircleChevronRight",uf);/** + */const xf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]],s1=e("CircleChevronRight",xf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Mf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m8 14 4-4 4 4",key:"fy2ptz"}]],p1=e("CircleChevronUp",Mf);/** + */const wf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m8 14 4-4 4 4",key:"fy2ptz"}]],l1=e("CircleChevronUp",wf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vf=[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]],xi=e("CircleDashed",vf);/** + */const ff=[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]],Hi=e("CircleDashed",ff);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mf=[["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}],["line",{x1:"12",x2:"12",y1:"16",y2:"16",key:"aqc6ln"}],["line",{x1:"12",x2:"12",y1:"8",y2:"8",key:"1mkcni"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],s1=e("CircleDivide",mf);/** + */const Cf=[["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}],["line",{x1:"12",x2:"12",y1:"16",y2:"16",key:"aqc6ln"}],["line",{x1:"12",x2:"12",y1:"8",y2:"8",key:"1mkcni"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],u1=e("CircleDivide",Cf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _f=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]],wi=e("CircleDollarSign",_f);/** + */const If=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]],zi=e("CircleDollarSign",If);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gf=[["path",{d:"M10.1 2.18a9.93 9.93 0 0 1 3.8 0",key:"1qdqn0"}],["path",{d:"M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7",key:"1bq7p6"}],["path",{d:"M21.82 10.1a9.93 9.93 0 0 1 0 3.8",key:"1rlaqf"}],["path",{d:"M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69",key:"1xk03u"}],["path",{d:"M13.9 21.82a9.94 9.94 0 0 1-3.8 0",key:"l7re25"}],["path",{d:"M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7",key:"1v18p6"}],["path",{d:"M2.18 13.9a9.93 9.93 0 0 1 0-3.8",key:"xdo6bj"}],["path",{d:"M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69",key:"1jjmaz"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],fi=e("CircleDotDashed",gf);/** + */const Nf=[["path",{d:"M10.1 2.18a9.93 9.93 0 0 1 3.8 0",key:"1qdqn0"}],["path",{d:"M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7",key:"1bq7p6"}],["path",{d:"M21.82 10.1a9.93 9.93 0 0 1 0 3.8",key:"1rlaqf"}],["path",{d:"M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69",key:"1xk03u"}],["path",{d:"M13.9 21.82a9.94 9.94 0 0 1-3.8 0",key:"l7re25"}],["path",{d:"M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7",key:"1v18p6"}],["path",{d:"M2.18 13.9a9.93 9.93 0 0 1 0-3.8",key:"xdo6bj"}],["path",{d:"M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69",key:"1jjmaz"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],ji=e("CircleDotDashed",Nf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Lf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],Ci=e("CircleDot",Lf);/** + */const Sf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],Pi=e("CircleDot",Sf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],Ii=e("CircleEllipsis",xf);/** + */const bf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],Vi=e("CircleEllipsis",bf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wf=[["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M7 14h10",key:"1mhdw3"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ni=e("CircleEqual",wf);/** + */const qf=[["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M7 14h10",key:"1mhdw3"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Bi=e("CircleEqual",qf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ff=[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]],Si=e("CircleFadingArrowUp",ff);/** + */const $f=[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]],Fi=e("CircleFadingArrowUp",$f);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Cf=[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]],qi=e("CircleFadingPlus",Cf);/** + */const Af=[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]],Di=e("CircleFadingPlus",Af);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const If=[["path",{d:"M15.6 2.7a10 10 0 1 0 5.7 5.7",key:"1e0p6d"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M13.4 10.6 19 5",key:"1kr7tw"}]],l1=e("CircleGauge",If);/** + */const Hf=[["path",{d:"M15.6 2.7a10 10 0 1 0 5.7 5.7",key:"1e0p6d"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M13.4 10.6 19 5",key:"1kr7tw"}]],M1=e("CircleGauge",Hf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Nf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],u1=e("CircleMinus",Nf);/** + */const zf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],v1=e("CircleMinus",zf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Sf=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]],bi=e("CircleOff",Sf);/** + */const jf=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]],Ri=e("CircleOff",jf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m5 5 14 14",key:"11anup"}],["path",{d:"M13 13a3 3 0 1 0 0-6H9v2",key:"uoagbd"}],["path",{d:"M9 17v-2.34",key:"a9qo08"}]],M1=e("CircleParkingOff",qf);/** + */const Pf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m5 5 14 14",key:"11anup"}],["path",{d:"M13 13a3 3 0 1 0 0-6H9v2",key:"uoagbd"}],["path",{d:"M9 17v-2.34",key:"a9qo08"}]],m1=e("CircleParkingOff",Pf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9 17V7h4a3 3 0 0 1 0 6H9",key:"1dfk2c"}]],v1=e("CircleParking",bf);/** + */const Vf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9 17V7h4a3 3 0 0 1 0 6H9",key:"1dfk2c"}]],_1=e("CircleParking",Vf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $f=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]],m1=e("CirclePause",$f);/** + */const Bf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]],g1=e("CirclePause",Bf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Af=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]],_1=e("CirclePercent",Af);/** + */const Ff=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]],L1=e("CirclePercent",Ff);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Hf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]],g1=e("CirclePlay",Hf);/** + */const Df=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]],x1=e("CirclePlay",Df);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],L1=e("CirclePlus",zf);/** + */const Rf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],w1=e("CirclePlus",Rf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Pf=[["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M7.998 9.003a5 5 0 1 0 8-.005",key:"1pek45"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],x1=e("CirclePower",Pf);/** + */const Tf=[["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M7.998 9.003a5 5 0 1 0 8-.005",key:"1pek45"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],f1=e("CirclePower",Tf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M22 2 2 22",key:"y4kqgn"}]],w1=e("CircleSlash2",jf);/** + */const Uf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M22 2 2 22",key:"y4kqgn"}]],C1=e("CircleSlash2",Uf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],$i=e("CircleSlash",Vf);/** + */const Of=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],Ti=e("CircleSlash",Of);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bf=[["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}]],Ai=e("CircleSmall",Bf);/** + */const Zf=[["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}]],Ui=e("CircleSmall",Zf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ff=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],f1=e("CircleStop",Ff);/** + */const Gf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],I1=e("CircleStop",Gf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Df=[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],C1=e("CircleUserRound",Df);/** + */const Wf=[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],N1=e("CircleUserRound",Wf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Rf=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],I1=e("CircleUser",Rf);/** + */const Ef=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],S1=e("CircleUser",Ef);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Tf=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M11 9h4a2 2 0 0 0 2-2V3",key:"1ve2rv"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"M7 21v-4a2 2 0 0 1 2-2h4",key:"1fwkro"}],["circle",{cx:"15",cy:"15",r:"2",key:"3i40o0"}]],Hi=e("CircuitBoard",Tf);/** + */const Xf=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M11 9h4a2 2 0 0 0 2-2V3",key:"1ve2rv"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"M7 21v-4a2 2 0 0 1 2-2h4",key:"1fwkro"}],["circle",{cx:"15",cy:"15",r:"2",key:"3i40o0"}]],Oi=e("CircuitBoard",Xf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Uf=[["path",{d:"M21.66 17.67a1.08 1.08 0 0 1-.04 1.6A12 12 0 0 1 4.73 2.38a1.1 1.1 0 0 1 1.61-.04z",key:"4ite01"}],["path",{d:"M19.65 15.66A8 8 0 0 1 8.35 4.34",key:"1gxipu"}],["path",{d:"m14 10-5.5 5.5",key:"92pfem"}],["path",{d:"M14 17.85V10H6.15",key:"xqmtsk"}]],zi=e("Citrus",Uf);/** + */const Kf=[["path",{d:"M21.66 17.67a1.08 1.08 0 0 1-.04 1.6A12 12 0 0 1 4.73 2.38a1.1 1.1 0 0 1 1.61-.04z",key:"4ite01"}],["path",{d:"M19.65 15.66A8 8 0 0 1 8.35 4.34",key:"1gxipu"}],["path",{d:"m14 10-5.5 5.5",key:"92pfem"}],["path",{d:"M14 17.85V10H6.15",key:"xqmtsk"}]],Zi=e("Citrus",Kf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Of=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],Pi=e("Clapperboard",Of);/** + */const Jf=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],Gi=e("Clapperboard",Jf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],ji=e("ClipboardCheck",Zf);/** + */const Qf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],Wi=e("ClipboardCheck",Qf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Gf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]],Vi=e("ClipboardCopy",Gf);/** + */const Yf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]],Ei=e("ClipboardCopy",Yf);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Wf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M9 14h6",key:"159ibu"}]],Bi=e("ClipboardMinus",Wf);/** + */const eC=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M9 14h6",key:"159ibu"}]],Xi=e("ClipboardMinus",eC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ef=[["path",{d:"M15 2H9a1 1 0 0 0-1 1v2c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1Z",key:"1pp7kr"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2M16 4h2a2 2 0 0 1 2 2v2M11 14h10",key:"2ik1ml"}],["path",{d:"m17 10 4 4-4 4",key:"vp2hj1"}]],Fi=e("ClipboardPaste",Ef);/** + */const aC=[["path",{d:"M15 2H9a1 1 0 0 0-1 1v2c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1Z",key:"1pp7kr"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2M16 4h2a2 2 0 0 1 2 2v2M11 14h10",key:"2ik1ml"}],["path",{d:"m17 10 4 4-4 4",key:"vp2hj1"}]],Ki=e("ClipboardPaste",aC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",key:"1oijnt"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.5",key:"1but9f"}],["path",{d:"M16 4h2a2 2 0 0 1 1.73 1",key:"1p8n7l"}],["path",{d:"M8 18h1",key:"13wk12"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}]],N1=e("ClipboardPenLine",Xf);/** + */const oC=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",key:"1oijnt"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.5",key:"1but9f"}],["path",{d:"M16 4h2a2 2 0 0 1 1.73 1",key:"1p8n7l"}],["path",{d:"M8 18h1",key:"13wk12"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}]],b1=e("ClipboardPenLine",oC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Kf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",key:"1oijnt"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5.5",key:"cereej"}],["path",{d:"M4 13.5V6a2 2 0 0 1 2-2h2",key:"5ua5vh"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],S1=e("ClipboardPen",Kf);/** + */const tC=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",key:"1oijnt"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5.5",key:"cereej"}],["path",{d:"M4 13.5V6a2 2 0 0 1 2-2h2",key:"5ua5vh"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],q1=e("ClipboardPen",tC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Jf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M9 14h6",key:"159ibu"}],["path",{d:"M12 17v-6",key:"1y8rbf"}]],Di=e("ClipboardPlus",Jf);/** + */const cC=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M9 14h6",key:"159ibu"}],["path",{d:"M12 17v-6",key:"1y8rbf"}]],Ji=e("ClipboardPlus",cC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Qf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M9 12v-1h6v1",key:"iehl6m"}],["path",{d:"M11 17h2",key:"12w5me"}],["path",{d:"M12 11v6",key:"1bwqyc"}]],Ri=e("ClipboardType",Qf);/** + */const nC=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M9 12v-1h6v1",key:"iehl6m"}],["path",{d:"M11 17h2",key:"12w5me"}],["path",{d:"M12 11v6",key:"1bwqyc"}]],Qi=e("ClipboardType",nC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Yf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m15 11-6 6",key:"1toa9n"}],["path",{d:"m9 11 6 6",key:"wlibny"}]],Ti=e("ClipboardX",Yf);/** + */const dC=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m15 11-6 6",key:"1toa9n"}],["path",{d:"m9 11 6 6",key:"wlibny"}]],Yi=e("ClipboardX",dC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eC=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],Ui=e("Clipboard",eC);/** + */const iC=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],eh=e("Clipboard",iC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 14.5 8",key:"12zbmj"}]],Oi=e("Clock1",aC);/** + */const hC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 14.5 8",key:"12zbmj"}]],ah=e("Clock1",hC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 8 10",key:"atfzqc"}]],Zi=e("Clock10",oC);/** + */const yC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 8 10",key:"atfzqc"}]],oh=e("Clock10",yC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 9.5 8",key:"l5bg6f"}]],Gi=e("Clock11",cC);/** + */const rC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 9.5 8",key:"l5bg6f"}]],th=e("Clock11",rC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12",key:"1fub01"}]],Wi=e("Clock12",tC);/** + */const kC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12",key:"1fub01"}]],ch=e("Clock12",kC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 10",key:"1g230d"}]],Ei=e("Clock2",nC);/** + */const pC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 10",key:"1g230d"}]],nh=e("Clock2",pC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]],Xi=e("Clock3",dC);/** + */const sC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]],dh=e("Clock3",sC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],Ki=e("Clock4",iC);/** + */const lC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],ih=e("Clock4",lC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 14.5 16",key:"1pcbox"}]],Ji=e("Clock5",hC);/** + */const uC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 14.5 16",key:"1pcbox"}]],hh=e("Clock5",uC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 12 16.5",key:"hb2qv6"}]],Qi=e("Clock6",yC);/** + */const MC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 12 16.5",key:"hb2qv6"}]],yh=e("Clock6",MC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 9.5 16",key:"ka3394"}]],Yi=e("Clock7",rC);/** + */const vC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 9.5 16",key:"ka3394"}]],rh=e("Clock7",vC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 8 14",key:"tmc9b4"}]],eh=e("Clock8",kC);/** + */const mC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 8 14",key:"tmc9b4"}]],kh=e("Clock8",mC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 7.5 12",key:"1k60p0"}]],ah=e("Clock9",pC);/** + */const _C=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 7.5 12",key:"1k60p0"}]],ph=e("Clock9",_C);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sC=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["path",{d:"M16 21.16a10 10 0 1 1 5-13.516",key:"cxo92l"}],["path",{d:"M20 11.5v6",key:"2ei3xq"}],["path",{d:"M20 21.5h.01",key:"1r2dzp"}]],oh=e("ClockAlert",sC);/** + */const gC=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["path",{d:"M16 21.16a10 10 0 1 1 5-13.516",key:"cxo92l"}],["path",{d:"M20 11.5v6",key:"2ei3xq"}],["path",{d:"M20 21.5h.01",key:"1r2dzp"}]],sh=e("ClockAlert",gC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lC=[["path",{d:"M12.338 21.994A10 10 0 1 1 21.925 13.227",key:"1i7shu"}],["path",{d:"M12 6v6l2 1",key:"19cm8n"}],["path",{d:"m14 18 4 4 4-4",key:"1waygx"}],["path",{d:"M18 14v8",key:"irew45"}]],ch=e("ClockArrowDown",lC);/** + */const LC=[["path",{d:"M12.338 21.994A10 10 0 1 1 21.925 13.227",key:"1i7shu"}],["path",{d:"M12 6v6l2 1",key:"19cm8n"}],["path",{d:"m14 18 4 4 4-4",key:"1waygx"}],["path",{d:"M18 14v8",key:"irew45"}]],lh=e("ClockArrowDown",LC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uC=[["path",{d:"M13.228 21.925A10 10 0 1 1 21.994 12.338",key:"1fzlyi"}],["path",{d:"M12 6v6l1.562.781",key:"1ujuk9"}],["path",{d:"m14 18 4-4 4 4",key:"ftkppy"}],["path",{d:"M18 22v-8",key:"su0gjh"}]],th=e("ClockArrowUp",uC);/** + */const xC=[["path",{d:"M13.228 21.925A10 10 0 1 1 21.994 12.338",key:"1fzlyi"}],["path",{d:"M12 6v6l1.562.781",key:"1ujuk9"}],["path",{d:"m14 18 4-4 4 4",key:"ftkppy"}],["path",{d:"M18 22v-8",key:"su0gjh"}]],uh=e("ClockArrowUp",xC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MC=[["path",{d:"M12 12v4",key:"tww15h"}],["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M17 18h.5a1 1 0 0 0 0-9h-1.79A7 7 0 1 0 7 17.708",key:"xsb5ju"}]],nh=e("CloudAlert",MC);/** + */const wC=[["path",{d:"M12 12v4",key:"tww15h"}],["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M17 18h.5a1 1 0 0 0 0-9h-1.79A7 7 0 1 0 7 17.708",key:"xsb5ju"}]],Mh=e("CloudAlert",wC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vC=[["circle",{cx:"12",cy:"17",r:"3",key:"1spfwm"}],["path",{d:"M4.2 15.1A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2",key:"zaobp"}],["path",{d:"m15.7 18.4-.9-.3",key:"4qxpbn"}],["path",{d:"m9.2 15.9-.9-.3",key:"17q7o2"}],["path",{d:"m10.6 20.7.3-.9",key:"1pf4s2"}],["path",{d:"m13.1 14.2.3-.9",key:"1mnuqm"}],["path",{d:"m13.6 20.7-.4-1",key:"1jpd1m"}],["path",{d:"m10.8 14.3-.4-1",key:"17ugyy"}],["path",{d:"m8.3 18.6 1-.4",key:"s42vdx"}],["path",{d:"m14.7 15.8 1-.4",key:"2wizun"}]],dh=e("CloudCog",vC);/** + */const fC=[["circle",{cx:"12",cy:"17",r:"3",key:"1spfwm"}],["path",{d:"M4.2 15.1A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2",key:"zaobp"}],["path",{d:"m15.7 18.4-.9-.3",key:"4qxpbn"}],["path",{d:"m9.2 15.9-.9-.3",key:"17q7o2"}],["path",{d:"m10.6 20.7.3-.9",key:"1pf4s2"}],["path",{d:"m13.1 14.2.3-.9",key:"1mnuqm"}],["path",{d:"m13.6 20.7-.4-1",key:"1jpd1m"}],["path",{d:"m10.8 14.3-.4-1",key:"17ugyy"}],["path",{d:"m8.3 18.6 1-.4",key:"s42vdx"}],["path",{d:"m14.7 15.8 1-.4",key:"2wizun"}]],vh=e("CloudCog",fC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mC=[["path",{d:"M12 13v8l-4-4",key:"1f5nwf"}],["path",{d:"m12 21 4-4",key:"1lfcce"}],["path",{d:"M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284",key:"ui1hmy"}]],q1=e("CloudDownload",mC);/** + */const CC=[["path",{d:"M12 13v8l-4-4",key:"1f5nwf"}],["path",{d:"m12 21 4-4",key:"1lfcce"}],["path",{d:"M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284",key:"ui1hmy"}]],$1=e("CloudDownload",CC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _C=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M8 19v1",key:"1dk2by"}],["path",{d:"M8 14v1",key:"84yxot"}],["path",{d:"M16 19v1",key:"v220m7"}],["path",{d:"M16 14v1",key:"g12gj6"}],["path",{d:"M12 21v1",key:"q8vafk"}],["path",{d:"M12 16v1",key:"1mx6rx"}]],ih=e("CloudDrizzle",_C);/** + */const IC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M8 19v1",key:"1dk2by"}],["path",{d:"M8 14v1",key:"84yxot"}],["path",{d:"M16 19v1",key:"v220m7"}],["path",{d:"M16 14v1",key:"g12gj6"}],["path",{d:"M12 21v1",key:"q8vafk"}],["path",{d:"M12 16v1",key:"1mx6rx"}]],mh=e("CloudDrizzle",IC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 17H7",key:"pygtm1"}],["path",{d:"M17 21H9",key:"1u2q02"}]],hh=e("CloudFog",gC);/** + */const NC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 17H7",key:"pygtm1"}],["path",{d:"M17 21H9",key:"1u2q02"}]],_h=e("CloudFog",NC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v2",key:"a1is7l"}],["path",{d:"M8 14v2",key:"1e9m6t"}],["path",{d:"M16 20h.01",key:"xwek51"}],["path",{d:"M8 20h.01",key:"1vjney"}],["path",{d:"M12 16v2",key:"z66u1j"}],["path",{d:"M12 22h.01",key:"1urd7a"}]],yh=e("CloudHail",LC);/** + */const SC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v2",key:"a1is7l"}],["path",{d:"M8 14v2",key:"1e9m6t"}],["path",{d:"M16 20h.01",key:"xwek51"}],["path",{d:"M8 20h.01",key:"1vjney"}],["path",{d:"M12 16v2",key:"z66u1j"}],["path",{d:"M12 22h.01",key:"1urd7a"}]],gh=e("CloudHail",SC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xC=[["path",{d:"M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973",key:"1cez44"}],["path",{d:"m13 12-3 5h4l-3 5",key:"1t22er"}]],rh=e("CloudLightning",xC);/** + */const bC=[["path",{d:"M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973",key:"1cez44"}],["path",{d:"m13 12-3 5h4l-3 5",key:"1t22er"}]],Lh=e("CloudLightning",bC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wC=[["path",{d:"M10.188 8.5A6 6 0 0 1 16 4a1 1 0 0 0 6 6 6 6 0 0 1-3 5.197",key:"erj67n"}],["path",{d:"M11 20v2",key:"174qtz"}],["path",{d:"M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24",key:"1qmrp3"}],["path",{d:"M7 19v2",key:"12npes"}]],kh=e("CloudMoonRain",wC);/** + */const qC=[["path",{d:"M10.188 8.5A6 6 0 0 1 16 4a1 1 0 0 0 6 6 6 6 0 0 1-3 5.197",key:"erj67n"}],["path",{d:"M11 20v2",key:"174qtz"}],["path",{d:"M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24",key:"1qmrp3"}],["path",{d:"M7 19v2",key:"12npes"}]],xh=e("CloudMoonRain",qC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fC=[["path",{d:"M10.188 8.5A6 6 0 0 1 16 4a1 1 0 0 0 6 6 6 6 0 0 1-3 5.197",key:"erj67n"}],["path",{d:"M13 16a3 3 0 1 1 0 6H7a5 5 0 1 1 4.9-6Z",key:"p44pc9"}]],ph=e("CloudMoon",fC);/** + */const $C=[["path",{d:"M10.188 8.5A6 6 0 0 1 16 4a1 1 0 0 0 6 6 6 6 0 0 1-3 5.197",key:"erj67n"}],["path",{d:"M13 16a3 3 0 1 1 0 6H7a5 5 0 1 1 4.9-6Z",key:"p44pc9"}]],wh=e("CloudMoon",$C);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CC=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.782 5.782A7 7 0 0 0 9 19h8.5a4.5 4.5 0 0 0 1.307-.193",key:"yfwify"}],["path",{d:"M21.532 16.5A4.5 4.5 0 0 0 17.5 10h-1.79A7.008 7.008 0 0 0 10 5.07",key:"jlfiyv"}]],sh=e("CloudOff",CC);/** + */const AC=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.782 5.782A7 7 0 0 0 9 19h8.5a4.5 4.5 0 0 0 1.307-.193",key:"yfwify"}],["path",{d:"M21.532 16.5A4.5 4.5 0 0 0 17.5 10h-1.79A7.008 7.008 0 0 0 10 5.07",key:"jlfiyv"}]],fh=e("CloudOff",AC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m9.2 22 3-7",key:"sb5f6j"}],["path",{d:"m9 13-3 7",key:"500co5"}],["path",{d:"m17 13-3 7",key:"8t2fiy"}]],lh=e("CloudRainWind",IC);/** + */const HC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m9.2 22 3-7",key:"sb5f6j"}],["path",{d:"m9 13-3 7",key:"500co5"}],["path",{d:"m17 13-3 7",key:"8t2fiy"}]],Ch=e("CloudRainWind",HC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v6",key:"1j4efv"}],["path",{d:"M8 14v6",key:"17c4r9"}],["path",{d:"M12 16v6",key:"c8a4gj"}]],uh=e("CloudRain",NC);/** + */const zC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v6",key:"1j4efv"}],["path",{d:"M8 14v6",key:"17c4r9"}],["path",{d:"M12 16v6",key:"c8a4gj"}]],Ih=e("CloudRain",zC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M8 19h.01",key:"puxtts"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M12 21h.01",key:"h35vbk"}],["path",{d:"M16 15h.01",key:"rnfrdf"}],["path",{d:"M16 19h.01",key:"1vcnzz"}]],Mh=e("CloudSnow",SC);/** + */const jC=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M8 19h.01",key:"puxtts"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M12 21h.01",key:"h35vbk"}],["path",{d:"M16 15h.01",key:"rnfrdf"}],["path",{d:"M16 19h.01",key:"1vcnzz"}]],Nh=e("CloudSnow",jC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qC=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24",key:"1qmrp3"}],["path",{d:"M11 20v2",key:"174qtz"}],["path",{d:"M7 19v2",key:"12npes"}]],vh=e("CloudSunRain",qC);/** + */const PC=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24",key:"1qmrp3"}],["path",{d:"M11 20v2",key:"174qtz"}],["path",{d:"M7 19v2",key:"12npes"}]],Sh=e("CloudSunRain",PC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bC=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z",key:"s09mg5"}]],mh=e("CloudSun",bC);/** + */const VC=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z",key:"s09mg5"}]],bh=e("CloudSun",VC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $C=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],b1=e("CloudUpload",$C);/** + */const BC=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],A1=e("CloudUpload",BC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AC=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],_h=e("Cloud",AC);/** + */const FC=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],qh=e("Cloud",FC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HC=[["path",{d:"M17.5 21H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"gqqjvc"}],["path",{d:"M22 10a3 3 0 0 0-3-3h-2.207a5.502 5.502 0 0 0-10.702.5",key:"1p2s76"}]],gh=e("Cloudy",HC);/** + */const DC=[["path",{d:"M17.5 21H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"gqqjvc"}],["path",{d:"M22 10a3 3 0 0 0-3-3h-2.207a5.502 5.502 0 0 0-10.702.5",key:"1p2s76"}]],$h=e("Cloudy",DC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zC=[["path",{d:"M16.17 7.83 2 22",key:"t58vo8"}],["path",{d:"M4.02 12a2.827 2.827 0 1 1 3.81-4.17A2.827 2.827 0 1 1 12 4.02a2.827 2.827 0 1 1 4.17 3.81A2.827 2.827 0 1 1 19.98 12a2.827 2.827 0 1 1-3.81 4.17A2.827 2.827 0 1 1 12 19.98a2.827 2.827 0 1 1-4.17-3.81A1 1 0 1 1 4 12",key:"17k36q"}],["path",{d:"m7.83 7.83 8.34 8.34",key:"1d7sxk"}]],Lh=e("Clover",zC);/** + */const RC=[["path",{d:"M16.17 7.83 2 22",key:"t58vo8"}],["path",{d:"M4.02 12a2.827 2.827 0 1 1 3.81-4.17A2.827 2.827 0 1 1 12 4.02a2.827 2.827 0 1 1 4.17 3.81A2.827 2.827 0 1 1 19.98 12a2.827 2.827 0 1 1-3.81 4.17A2.827 2.827 0 1 1 12 19.98a2.827 2.827 0 1 1-4.17-3.81A1 1 0 1 1 4 12",key:"17k36q"}],["path",{d:"m7.83 7.83 8.34 8.34",key:"1d7sxk"}]],Ah=e("Clover",RC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PC=[["path",{d:"M17.28 9.05a5.5 5.5 0 1 0-10.56 0A5.5 5.5 0 1 0 12 17.66a5.5 5.5 0 1 0 5.28-8.6Z",key:"27yuqz"}],["path",{d:"M12 17.66L12 22",key:"ogfahf"}]],xh=e("Club",PC);/** + */const TC=[["path",{d:"M17.28 9.05a5.5 5.5 0 1 0-10.56 0A5.5 5.5 0 1 0 12 17.66a5.5 5.5 0 1 0 5.28-8.6Z",key:"27yuqz"}],["path",{d:"M12 17.66L12 22",key:"ogfahf"}]],Hh=e("Club",TC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jC=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],$1=e("CodeXml",jC);/** + */const UC=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],H1=e("CodeXml",UC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VC=[["polygon",{points:"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2",key:"srzb37"}],["line",{x1:"12",x2:"12",y1:"22",y2:"15.5",key:"1t73f2"}],["polyline",{points:"22 8.5 12 15.5 2 8.5",key:"ajlxae"}],["polyline",{points:"2 15.5 12 8.5 22 15.5",key:"susrui"}],["line",{x1:"12",x2:"12",y1:"2",y2:"8.5",key:"2cldga"}]],wh=e("Codepen",VC);/** + */const OC=[["polygon",{points:"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2",key:"srzb37"}],["line",{x1:"12",x2:"12",y1:"22",y2:"15.5",key:"1t73f2"}],["polyline",{points:"22 8.5 12 15.5 2 8.5",key:"ajlxae"}],["polyline",{points:"2 15.5 12 8.5 22 15.5",key:"susrui"}],["line",{x1:"12",x2:"12",y1:"2",y2:"8.5",key:"2cldga"}]],zh=e("Codepen",OC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BC=[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}],["polyline",{points:"7.5 4.21 12 6.81 16.5 4.21",key:"fabo96"}],["polyline",{points:"7.5 19.79 7.5 14.6 3 12",key:"z377f1"}],["polyline",{points:"21 12 16.5 14.6 16.5 19.79",key:"9nrev1"}],["polyline",{points:"3.27 6.96 12 12.01 20.73 6.96",key:"1180pa"}],["line",{x1:"12",x2:"12",y1:"22.08",y2:"12",key:"3z3uq6"}]],fh=e("Codesandbox",BC);/** + */const ZC=[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}],["polyline",{points:"7.5 4.21 12 6.81 16.5 4.21",key:"fabo96"}],["polyline",{points:"7.5 19.79 7.5 14.6 3 12",key:"z377f1"}],["polyline",{points:"21 12 16.5 14.6 16.5 19.79",key:"9nrev1"}],["polyline",{points:"3.27 6.96 12 12.01 20.73 6.96",key:"1180pa"}],["line",{x1:"12",x2:"12",y1:"22.08",y2:"12",key:"3z3uq6"}]],jh=e("Codesandbox",ZC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FC=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],Ch=e("Coffee",FC);/** + */const GC=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],Ph=e("Coffee",GC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DC=[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]],Ih=e("Cog",DC);/** + */const WC=[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]],Vh=e("Cog",WC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],A1=e("Columns2",RC);/** + */const EC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],z1=e("Columns2",EC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],H1=e("Columns3",TC);/** + */const XC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],j1=e("Columns3",XC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7.5 3v18",key:"w0wo6v"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M16.5 3v18",key:"10tjh1"}]],Nh=e("Columns4",UC);/** + */const KC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7.5 3v18",key:"w0wo6v"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M16.5 3v18",key:"10tjh1"}]],Bh=e("Columns4",KC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OC=[["path",{d:"M10 18H5a3 3 0 0 1-3-3v-1",key:"ru65g8"}],["path",{d:"M14 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"e30een"}],["path",{d:"M20 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"2ahx8o"}],["path",{d:"m7 21 3-3-3-3",key:"127cv2"}],["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}]],Sh=e("Combine",OC);/** + */const JC=[["path",{d:"M10 18H5a3 3 0 0 1-3-3v-1",key:"ru65g8"}],["path",{d:"M14 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"e30een"}],["path",{d:"M20 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"2ahx8o"}],["path",{d:"m7 21 3-3-3-3",key:"127cv2"}],["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}]],Fh=e("Combine",JC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZC=[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]],qh=e("Command",ZC);/** + */const QC=[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]],Dh=e("Command",QC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GC=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],bh=e("Compass",GC);/** + */const YC=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Rh=e("Compass",YC);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WC=[["path",{d:"M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1uwlt4"}],["path",{d:"M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z",key:"10291m"}],["path",{d:"M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z",key:"1tqoq1"}],["path",{d:"M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1x6lto"}]],$h=e("Component",WC);/** + */const eI=[["path",{d:"M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1uwlt4"}],["path",{d:"M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z",key:"10291m"}],["path",{d:"M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z",key:"1tqoq1"}],["path",{d:"M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1x6lto"}]],Th=e("Component",eI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EC=[["rect",{width:"14",height:"8",x:"5",y:"2",rx:"2",key:"wc9tft"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h2",key:"rwmk9e"}],["path",{d:"M12 18h6",key:"aqd8w3"}]],Ah=e("Computer",EC);/** + */const aI=[["rect",{width:"14",height:"8",x:"5",y:"2",rx:"2",key:"wc9tft"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h2",key:"rwmk9e"}],["path",{d:"M12 18h6",key:"aqd8w3"}]],Uh=e("Computer",aI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XC=[["path",{d:"M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z",key:"1pvr1r"}],["path",{d:"M20 16a8 8 0 1 0-16 0",key:"1pa543"}],["path",{d:"M12 4v4",key:"1bq03y"}],["path",{d:"M10 4h4",key:"1xpv9s"}]],Hh=e("ConciergeBell",XC);/** + */const oI=[["path",{d:"M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z",key:"1pvr1r"}],["path",{d:"M20 16a8 8 0 1 0-16 0",key:"1pa543"}],["path",{d:"M12 4v4",key:"1bq03y"}],["path",{d:"M10 4h4",key:"1xpv9s"}]],Oh=e("ConciergeBell",oI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KC=[["path",{d:"m20.9 18.55-8-15.98a1 1 0 0 0-1.8 0l-8 15.98",key:"53pte7"}],["ellipse",{cx:"12",cy:"19",rx:"9",ry:"3",key:"1ji25f"}]],zh=e("Cone",KC);/** + */const tI=[["path",{d:"m20.9 18.55-8-15.98a1 1 0 0 0-1.8 0l-8 15.98",key:"53pte7"}],["ellipse",{cx:"12",cy:"19",rx:"9",ry:"3",key:"1ji25f"}]],Zh=e("Cone",tI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JC=[["rect",{x:"2",y:"6",width:"20",height:"8",rx:"1",key:"1estib"}],["path",{d:"M17 14v7",key:"7m2elx"}],["path",{d:"M7 14v7",key:"1cm7wv"}],["path",{d:"M17 3v3",key:"1v4jwn"}],["path",{d:"M7 3v3",key:"7o6guu"}],["path",{d:"M10 14 2.3 6.3",key:"1023jk"}],["path",{d:"m14 6 7.7 7.7",key:"1s8pl2"}],["path",{d:"m8 6 8 8",key:"hl96qh"}]],Ph=e("Construction",JC);/** + */const cI=[["rect",{x:"2",y:"6",width:"20",height:"8",rx:"1",key:"1estib"}],["path",{d:"M17 14v7",key:"7m2elx"}],["path",{d:"M7 14v7",key:"1cm7wv"}],["path",{d:"M17 3v3",key:"1v4jwn"}],["path",{d:"M7 3v3",key:"7o6guu"}],["path",{d:"M10 14 2.3 6.3",key:"1023jk"}],["path",{d:"m14 6 7.7 7.7",key:"1s8pl2"}],["path",{d:"m8 6 8 8",key:"hl96qh"}]],Gh=e("Construction",cI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QC=[["path",{d:"M16 2v2",key:"scm5qe"}],["path",{d:"M17.915 22a6 6 0 0 0-12 0",key:"suqz9p"}],["path",{d:"M8 2v2",key:"pbkmx"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],z1=e("ContactRound",QC);/** + */const nI=[["path",{d:"M16 2v2",key:"scm5qe"}],["path",{d:"M17.915 22a6 6 0 0 0-12 0",key:"suqz9p"}],["path",{d:"M8 2v2",key:"pbkmx"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],P1=e("ContactRound",nI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YC=[["path",{d:"M16 2v2",key:"scm5qe"}],["path",{d:"M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2",key:"1waht3"}],["path",{d:"M8 2v2",key:"pbkmx"}],["circle",{cx:"12",cy:"11",r:"3",key:"itu57m"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],jh=e("Contact",YC);/** + */const dI=[["path",{d:"M16 2v2",key:"scm5qe"}],["path",{d:"M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2",key:"1waht3"}],["path",{d:"M8 2v2",key:"pbkmx"}],["circle",{cx:"12",cy:"11",r:"3",key:"itu57m"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],Wh=e("Contact",dI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eI=[["path",{d:"M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z",key:"1t2lqe"}],["path",{d:"M10 21.9V14L2.1 9.1",key:"o7czzq"}],["path",{d:"m10 14 11.9-6.9",key:"zm5e20"}],["path",{d:"M14 19.8v-8.1",key:"159ecu"}],["path",{d:"M18 17.5V9.4",key:"11uown"}]],Vh=e("Container",eI);/** + */const iI=[["path",{d:"M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z",key:"1t2lqe"}],["path",{d:"M10 21.9V14L2.1 9.1",key:"o7czzq"}],["path",{d:"m10 14 11.9-6.9",key:"zm5e20"}],["path",{d:"M14 19.8v-8.1",key:"159ecu"}],["path",{d:"M18 17.5V9.4",key:"11uown"}]],Eh=e("Container",iI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 18a6 6 0 0 0 0-12v12z",key:"j4l70d"}]],Bh=e("Contrast",aI);/** + */const hI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 18a6 6 0 0 0 0-12v12z",key:"j4l70d"}]],Xh=e("Contrast",hI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oI=[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]],Fh=e("Cookie",oI);/** + */const yI=[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]],Kh=e("Cookie",yI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cI=[["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M20 12v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"u0tga0"}],["path",{d:"m4 8 16-4",key:"16g0ng"}],["path",{d:"m8.86 6.78-.45-1.81a2 2 0 0 1 1.45-2.43l1.94-.48a2 2 0 0 1 2.43 1.46l.45 1.8",key:"12cejc"}]],Dh=e("CookingPot",cI);/** + */const rI=[["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M20 12v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"u0tga0"}],["path",{d:"m4 8 16-4",key:"16g0ng"}],["path",{d:"m8.86 6.78-.45-1.81a2 2 0 0 1 1.45-2.43l1.94-.48a2 2 0 0 1 2.43 1.46l.45 1.8",key:"12cejc"}]],Jh=e("CookingPot",rI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tI=[["path",{d:"m12 15 2 2 4-4",key:"2c609p"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Rh=e("CopyCheck",tI);/** + */const kI=[["path",{d:"m12 15 2 2 4-4",key:"2c609p"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Qh=e("CopyCheck",kI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nI=[["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Th=e("CopyMinus",nI);/** + */const pI=[["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Yh=e("CopyMinus",pI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dI=[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Uh=e("CopyPlus",dI);/** + */const sI=[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],ey=e("CopyPlus",sI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iI=[["line",{x1:"12",x2:"18",y1:"18",y2:"12",key:"ebkxgr"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Oh=e("CopySlash",iI);/** + */const lI=[["line",{x1:"12",x2:"18",y1:"18",y2:"12",key:"ebkxgr"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],ay=e("CopySlash",lI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hI=[["line",{x1:"12",x2:"18",y1:"12",y2:"18",key:"1rg63v"}],["line",{x1:"12",x2:"18",y1:"18",y2:"12",key:"ebkxgr"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Zh=e("CopyX",hI);/** + */const uI=[["line",{x1:"12",x2:"18",y1:"12",y2:"18",key:"1rg63v"}],["line",{x1:"12",x2:"18",y1:"18",y2:"12",key:"ebkxgr"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],oy=e("CopyX",uI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.17 14.83a4 4 0 1 0 0-5.66",key:"1sveal"}]],Gh=e("Copyleft",yI);/** + */const MI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.17 14.83a4 4 0 1 0 0-5.66",key:"1sveal"}]],ty=e("Copyleft",MI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M14.83 14.83a4 4 0 1 1 0-5.66",key:"1i56pz"}]],Wh=e("Copyright",rI);/** + */const vI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M14.83 14.83a4 4 0 1 1 0-5.66",key:"1i56pz"}]],cy=e("Copyright",vI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kI=[["polyline",{points:"9 10 4 15 9 20",key:"r3jprv"}],["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}]],Eh=e("CornerDownLeft",kI);/** + */const mI=[["polyline",{points:"9 10 4 15 9 20",key:"r3jprv"}],["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}]],ny=e("CornerDownLeft",mI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pI=[["polyline",{points:"15 10 20 15 15 20",key:"1q7qjw"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]],Xh=e("CornerDownRight",pI);/** + */const _I=[["polyline",{points:"15 10 20 15 15 20",key:"1q7qjw"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]],dy=e("CornerDownRight",_I);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sI=[["polyline",{points:"14 15 9 20 4 15",key:"nkc4i"}],["path",{d:"M20 4h-7a4 4 0 0 0-4 4v12",key:"nbpdq2"}]],Kh=e("CornerLeftDown",sI);/** + */const gI=[["polyline",{points:"14 15 9 20 4 15",key:"nkc4i"}],["path",{d:"M20 4h-7a4 4 0 0 0-4 4v12",key:"nbpdq2"}]],iy=e("CornerLeftDown",gI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lI=[["polyline",{points:"14 9 9 4 4 9",key:"m9oyvo"}],["path",{d:"M20 20h-7a4 4 0 0 1-4-4V4",key:"1blwi3"}]],Jh=e("CornerLeftUp",lI);/** + */const LI=[["polyline",{points:"14 9 9 4 4 9",key:"m9oyvo"}],["path",{d:"M20 20h-7a4 4 0 0 1-4-4V4",key:"1blwi3"}]],hy=e("CornerLeftUp",LI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uI=[["polyline",{points:"10 15 15 20 20 15",key:"axus6l"}],["path",{d:"M4 4h7a4 4 0 0 1 4 4v12",key:"wcbgct"}]],Qh=e("CornerRightDown",uI);/** + */const xI=[["polyline",{points:"10 15 15 20 20 15",key:"axus6l"}],["path",{d:"M4 4h7a4 4 0 0 1 4 4v12",key:"wcbgct"}]],yy=e("CornerRightDown",xI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MI=[["polyline",{points:"10 9 15 4 20 9",key:"1lr6px"}],["path",{d:"M4 20h7a4 4 0 0 0 4-4V4",key:"1plgdj"}]],Yh=e("CornerRightUp",MI);/** + */const wI=[["polyline",{points:"10 9 15 4 20 9",key:"1lr6px"}],["path",{d:"M4 20h7a4 4 0 0 0 4-4V4",key:"1plgdj"}]],ry=e("CornerRightUp",wI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vI=[["polyline",{points:"9 14 4 9 9 4",key:"881910"}],["path",{d:"M20 20v-7a4 4 0 0 0-4-4H4",key:"1nkjon"}]],ey=e("CornerUpLeft",vI);/** + */const fI=[["polyline",{points:"9 14 4 9 9 4",key:"881910"}],["path",{d:"M20 20v-7a4 4 0 0 0-4-4H4",key:"1nkjon"}]],ky=e("CornerUpLeft",fI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mI=[["polyline",{points:"15 14 20 9 15 4",key:"1tbx3s"}],["path",{d:"M4 20v-7a4 4 0 0 1 4-4h12",key:"1lu4f8"}]],ay=e("CornerUpRight",mI);/** + */const CI=[["polyline",{points:"15 14 20 9 15 4",key:"1tbx3s"}],["path",{d:"M4 20v-7a4 4 0 0 1 4-4h12",key:"1lu4f8"}]],py=e("CornerUpRight",CI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _I=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],oy=e("Cpu",_I);/** + */const II=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],sy=e("Cpu",II);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M10 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1",key:"1ss3eq"}],["path",{d:"M17 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1",key:"1od56t"}]],cy=e("CreativeCommons",gI);/** + */const NI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M10 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1",key:"1ss3eq"}],["path",{d:"M17 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1",key:"1od56t"}]],ly=e("CreativeCommons",NI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LI=[["path",{d:"m4.6 13.11 5.79-3.21c1.89-1.05 4.79 1.78 3.71 3.71l-3.22 5.81C8.8 23.16.79 15.23 4.6 13.11Z",key:"1ozxlb"}],["path",{d:"m10.5 9.5-1-2.29C9.2 6.48 8.8 6 8 6H4.5C2.79 6 2 6.5 2 8.5a7.71 7.71 0 0 0 2 4.83",key:"ffuyb5"}],["path",{d:"M8 6c0-1.55.24-4-2-4-2 0-2.5 2.17-2.5 4",key:"osnpzi"}],["path",{d:"m14.5 13.5 2.29 1c.73.3 1.21.7 1.21 1.5v3.5c0 1.71-.5 2.5-2.5 2.5a7.71 7.71 0 0 1-4.83-2",key:"1vubaw"}],["path",{d:"M18 16c1.55 0 4-.24 4 2 0 2-2.17 2.5-4 2.5",key:"wxr772"}]],ty=e("Croissant",LI);/** + */const SI=[["path",{d:"m4.6 13.11 5.79-3.21c1.89-1.05 4.79 1.78 3.71 3.71l-3.22 5.81C8.8 23.16.79 15.23 4.6 13.11Z",key:"1ozxlb"}],["path",{d:"m10.5 9.5-1-2.29C9.2 6.48 8.8 6 8 6H4.5C2.79 6 2 6.5 2 8.5a7.71 7.71 0 0 0 2 4.83",key:"ffuyb5"}],["path",{d:"M8 6c0-1.55.24-4-2-4-2 0-2.5 2.17-2.5 4",key:"osnpzi"}],["path",{d:"m14.5 13.5 2.29 1c.73.3 1.21.7 1.21 1.5v3.5c0 1.71-.5 2.5-2.5 2.5a7.71 7.71 0 0 1-4.83-2",key:"1vubaw"}],["path",{d:"M18 16c1.55 0 4-.24 4 2 0 2-2.17 2.5-4 2.5",key:"wxr772"}]],uy=e("Croissant",SI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xI=[["path",{d:"M6 2v14a2 2 0 0 0 2 2h14",key:"ron5a4"}],["path",{d:"M18 22V8a2 2 0 0 0-2-2H2",key:"7s9ehn"}]],ny=e("Crop",xI);/** + */const bI=[["path",{d:"M6 2v14a2 2 0 0 0 2 2h14",key:"ron5a4"}],["path",{d:"M18 22V8a2 2 0 0 0-2-2H2",key:"7s9ehn"}]],My=e("Crop",bI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wI=[["path",{d:"M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z",key:"1xbrqy"}]],dy=e("Cross",wI);/** + */const qI=[["path",{d:"M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z",key:"1xbrqy"}]],vy=e("Cross",qI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fI=[["path",{d:"m21.12 6.4-6.05-4.06a2 2 0 0 0-2.17-.05L2.95 8.41a2 2 0 0 0-.95 1.7v5.82a2 2 0 0 0 .88 1.66l6.05 4.07a2 2 0 0 0 2.17.05l9.95-6.12a2 2 0 0 0 .95-1.7V8.06a2 2 0 0 0-.88-1.66Z",key:"1u2ovd"}],["path",{d:"M10 22v-8L2.25 9.15",key:"11pn4q"}],["path",{d:"m10 14 11.77-6.87",key:"1kt1wh"}]],iy=e("Cuboid",fI);/** + */const $I=[["path",{d:"m21.12 6.4-6.05-4.06a2 2 0 0 0-2.17-.05L2.95 8.41a2 2 0 0 0-.95 1.7v5.82a2 2 0 0 0 .88 1.66l6.05 4.07a2 2 0 0 0 2.17.05l9.95-6.12a2 2 0 0 0 .95-1.7V8.06a2 2 0 0 0-.88-1.66Z",key:"1u2ovd"}],["path",{d:"M10 22v-8L2.25 9.15",key:"11pn4q"}],["path",{d:"m10 14 11.77-6.87",key:"1kt1wh"}]],my=e("Cuboid",$I);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CI=[["path",{d:"m6 8 1.75 12.28a2 2 0 0 0 2 1.72h4.54a2 2 0 0 0 2-1.72L18 8",key:"8166m8"}],["path",{d:"M5 8h14",key:"pcz4l3"}],["path",{d:"M7 15a6.47 6.47 0 0 1 5 0 6.47 6.47 0 0 0 5 0",key:"yjz344"}],["path",{d:"m12 8 1-6h2",key:"3ybfa4"}]],hy=e("CupSoda",CI);/** + */const AI=[["path",{d:"m6 8 1.75 12.28a2 2 0 0 0 2 1.72h4.54a2 2 0 0 0 2-1.72L18 8",key:"8166m8"}],["path",{d:"M5 8h14",key:"pcz4l3"}],["path",{d:"M7 15a6.47 6.47 0 0 1 5 0 6.47 6.47 0 0 0 5 0",key:"yjz344"}],["path",{d:"m12 8 1-6h2",key:"3ybfa4"}]],_y=e("CupSoda",AI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const II=[["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}],["line",{x1:"3",x2:"6",y1:"3",y2:"6",key:"1jkytn"}],["line",{x1:"21",x2:"18",y1:"3",y2:"6",key:"14zfjt"}],["line",{x1:"3",x2:"6",y1:"21",y2:"18",key:"iusuec"}],["line",{x1:"21",x2:"18",y1:"21",y2:"18",key:"yj2dd7"}]],yy=e("Currency",II);/** + */const HI=[["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}],["line",{x1:"3",x2:"6",y1:"3",y2:"6",key:"1jkytn"}],["line",{x1:"21",x2:"18",y1:"3",y2:"6",key:"14zfjt"}],["line",{x1:"3",x2:"6",y1:"21",y2:"18",key:"iusuec"}],["line",{x1:"21",x2:"18",y1:"21",y2:"18",key:"yj2dd7"}]],gy=e("Currency",HI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NI=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5v14a9 3 0 0 0 18 0V5",key:"aqi0yr"}]],ry=e("Cylinder",NI);/** + */const zI=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5v14a9 3 0 0 0 18 0V5",key:"aqi0yr"}]],Ly=e("Cylinder",zI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SI=[["path",{d:"M11 11.31c1.17.56 1.54 1.69 3.5 1.69 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"157kva"}],["path",{d:"M11.75 18c.35.5 1.45 1 2.75 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"d7q6m6"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M7 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1L10 4a1 1 0 0 0-1-1z",key:"pr6s65"}]],ky=e("Dam",SI);/** + */const jI=[["path",{d:"M11 11.31c1.17.56 1.54 1.69 3.5 1.69 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"157kva"}],["path",{d:"M11.75 18c.35.5 1.45 1 2.75 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"d7q6m6"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M7 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1L10 4a1 1 0 0 0-1-1z",key:"pr6s65"}]],xy=e("Dam",jI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qI=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 12a9 3 0 0 0 5 2.69",key:"1ui2ym"}],["path",{d:"M21 9.3V5",key:"6k6cib"}],["path",{d:"M3 5v14a9 3 0 0 0 6.47 2.88",key:"i62tjy"}],["path",{d:"M12 12v4h4",key:"1bxaet"}],["path",{d:"M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16",key:"1f4ei9"}]],py=e("DatabaseBackup",qI);/** + */const PI=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 12a9 3 0 0 0 5 2.69",key:"1ui2ym"}],["path",{d:"M21 9.3V5",key:"6k6cib"}],["path",{d:"M3 5v14a9 3 0 0 0 6.47 2.88",key:"i62tjy"}],["path",{d:"M12 12v4h4",key:"1bxaet"}],["path",{d:"M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16",key:"1f4ei9"}]],wy=e("DatabaseBackup",PI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bI=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 15 21.84",key:"14ibmq"}],["path",{d:"M21 5V8",key:"1marbg"}],["path",{d:"M21 12L18 17H22L19 22",key:"zafso"}],["path",{d:"M3 12A9 3 0 0 0 14.59 14.87",key:"1y4wr8"}]],sy=e("DatabaseZap",bI);/** + */const VI=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 15 21.84",key:"14ibmq"}],["path",{d:"M21 5V8",key:"1marbg"}],["path",{d:"M21 12L18 17H22L19 22",key:"zafso"}],["path",{d:"M3 12A9 3 0 0 0 14.59 14.87",key:"1y4wr8"}]],fy=e("DatabaseZap",VI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $I=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],ly=e("Database",$I);/** + */const BI=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Cy=e("Database",BI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AI=[["path",{d:"M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z",key:"1yo7s0"}],["path",{d:"m12 9 6 6",key:"anjzzh"}],["path",{d:"m18 9-6 6",key:"1fp51s"}]],uy=e("Delete",AI);/** + */const FI=[["path",{d:"M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z",key:"1yo7s0"}],["path",{d:"m12 9 6 6",key:"anjzzh"}],["path",{d:"m18 9-6 6",key:"1fp51s"}]],Iy=e("Delete",FI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HI=[["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}],["path",{d:"M10.2 3.2C5.5 4 2 8.1 2 13a2 2 0 0 0 4 0v-1a2 2 0 0 1 4 0v4a2 2 0 0 0 4 0v-4a2 2 0 0 1 4 0v1a2 2 0 0 0 4 0c0-4.9-3.5-9-8.2-9.8",key:"lfo06j"}],["path",{d:"M3.2 14.8a9 9 0 0 0 17.6 0",key:"12xarc"}]],My=e("Dessert",HI);/** + */const DI=[["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}],["path",{d:"M10.2 3.2C5.5 4 2 8.1 2 13a2 2 0 0 0 4 0v-1a2 2 0 0 1 4 0v4a2 2 0 0 0 4 0v-4a2 2 0 0 1 4 0v1a2 2 0 0 0 4 0c0-4.9-3.5-9-8.2-9.8",key:"lfo06j"}],["path",{d:"M3.2 14.8a9 9 0 0 0 17.6 0",key:"12xarc"}]],Ny=e("Dessert",DI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zI=[["circle",{cx:"19",cy:"19",r:"2",key:"17f5cg"}],["circle",{cx:"5",cy:"5",r:"2",key:"1gwv83"}],["path",{d:"M6.48 3.66a10 10 0 0 1 13.86 13.86",key:"xr8kdq"}],["path",{d:"m6.41 6.41 11.18 11.18",key:"uhpjw7"}],["path",{d:"M3.66 6.48a10 10 0 0 0 13.86 13.86",key:"cldpwv"}]],vy=e("Diameter",zI);/** + */const RI=[["circle",{cx:"19",cy:"19",r:"2",key:"17f5cg"}],["circle",{cx:"5",cy:"5",r:"2",key:"1gwv83"}],["path",{d:"M6.48 3.66a10 10 0 0 1 13.86 13.86",key:"xr8kdq"}],["path",{d:"m6.41 6.41 11.18 11.18",key:"uhpjw7"}],["path",{d:"M3.66 6.48a10 10 0 0 0 13.86 13.86",key:"cldpwv"}]],Sy=e("Diameter",RI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PI=[["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z",key:"1ey20j"}],["path",{d:"M8 12h8",key:"1wcyev"}]],my=e("DiamondMinus",PI);/** + */const TI=[["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z",key:"1ey20j"}],["path",{d:"M8 12h8",key:"1wcyev"}]],by=e("DiamondMinus",TI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jI=[["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0Z",key:"1tpxz2"}],["path",{d:"M9.2 9.2h.01",key:"1b7bvt"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"M14.7 14.8h.01",key:"17nsh4"}]],P1=e("DiamondPercent",jI);/** + */const UI=[["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0Z",key:"1tpxz2"}],["path",{d:"M9.2 9.2h.01",key:"1b7bvt"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"M14.7 14.8h.01",key:"17nsh4"}]],V1=e("DiamondPercent",UI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VI=[["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z",key:"1ey20j"}],["path",{d:"M8 12h8",key:"1wcyev"}]],_y=e("DiamondPlus",VI);/** + */const OI=[["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z",key:"1ey20j"}],["path",{d:"M8 12h8",key:"1wcyev"}]],qy=e("DiamondPlus",OI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BI=[["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z",key:"1f1r0c"}]],gy=e("Diamond",BI);/** + */const ZI=[["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z",key:"1f1r0c"}]],$y=e("Diamond",ZI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]],Ly=e("Dice1",FI);/** + */const GI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]],Ay=e("Dice1",GI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M15 9h.01",key:"x1ddxp"}],["path",{d:"M9 15h.01",key:"fzyn71"}]],xy=e("Dice2",DI);/** + */const WI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M15 9h.01",key:"x1ddxp"}],["path",{d:"M9 15h.01",key:"fzyn71"}]],Hy=e("Dice2",WI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],wy=e("Dice3",RI);/** + */const EI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],zy=e("Dice3",EI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M8 8h.01",key:"1e4136"}],["path",{d:"M8 16h.01",key:"18s6g9"}],["path",{d:"M16 16h.01",key:"1f9h7w"}]],fy=e("Dice4",TI);/** + */const XI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M8 8h.01",key:"1e4136"}],["path",{d:"M8 16h.01",key:"18s6g9"}],["path",{d:"M16 16h.01",key:"1f9h7w"}]],jy=e("Dice4",XI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M8 8h.01",key:"1e4136"}],["path",{d:"M8 16h.01",key:"18s6g9"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]],Cy=e("Dice5",UI);/** + */const KI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M8 8h.01",key:"1e4136"}],["path",{d:"M8 16h.01",key:"18s6g9"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]],Py=e("Dice5",KI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M8 8h.01",key:"1e4136"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Iy=e("Dice6",OI);/** + */const JI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M16 8h.01",key:"cr5u4v"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M8 8h.01",key:"1e4136"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Vy=e("Dice6",JI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZI=[["rect",{width:"12",height:"12",x:"2",y:"10",rx:"2",ry:"2",key:"6agr2n"}],["path",{d:"m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6",key:"1o487t"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 14h.01",key:"ssrbsk"}],["path",{d:"M15 6h.01",key:"cblpky"}],["path",{d:"M18 9h.01",key:"2061c0"}]],Ny=e("Dices",ZI);/** + */const QI=[["rect",{width:"12",height:"12",x:"2",y:"10",rx:"2",ry:"2",key:"6agr2n"}],["path",{d:"m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6",key:"1o487t"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 14h.01",key:"ssrbsk"}],["path",{d:"M15 6h.01",key:"cblpky"}],["path",{d:"M18 9h.01",key:"2061c0"}]],By=e("Dices",QI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GI=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],Sy=e("Diff",GI);/** + */const YI=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],Fy=e("Diff",YI);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]],qy=e("Disc2",WI);/** + */const eN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]],Dy=e("Disc2",eN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M6 12c0-1.7.7-3.2 1.8-4.2",key:"oqkarx"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M18 12c0 1.7-.7 3.2-1.8 4.2",key:"1eah9h"}]],by=e("Disc3",EI);/** + */const aN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M6 12c0-1.7.7-3.2 1.8-4.2",key:"oqkarx"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M18 12c0 1.7-.7 3.2-1.8 4.2",key:"1eah9h"}]],Ry=e("Disc3",aN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"12",cy:"12",r:"5",key:"nd82uf"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]],$y=e("DiscAlbum",XI);/** + */const oN=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"12",cy:"12",r:"5",key:"nd82uf"}],["path",{d:"M12 12h.01",key:"1mp3jc"}]],Ty=e("DiscAlbum",oN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Ay=e("Disc",KI);/** + */const tN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Uy=e("Disc",tN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JI=[["circle",{cx:"12",cy:"6",r:"1",key:"1bh7o1"}],["line",{x1:"5",x2:"19",y1:"12",y2:"12",key:"13b5wn"}],["circle",{cx:"12",cy:"18",r:"1",key:"lqb9t5"}]],Hy=e("Divide",JI);/** + */const cN=[["circle",{cx:"12",cy:"6",r:"1",key:"1bh7o1"}],["line",{x1:"5",x2:"19",y1:"12",y2:"12",key:"13b5wn"}],["circle",{cx:"12",cy:"18",r:"1",key:"lqb9t5"}]],Oy=e("Divide",cN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QI=[["path",{d:"M15 2c-1.35 1.5-2.092 3-2.5 4.5L14 8",key:"1bivrr"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c3.333-3 6.667-3 10-3",key:"nxix30"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M22 9c-1.5 1.35-3 2.092-4.5 2.5l-1-1",key:"18cutr"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.35-1.5 2.092-3 2.5-4.5L10 16",key:"rlvei3"}]],zy=e("DnaOff",QI);/** + */const nN=[["path",{d:"M15 2c-1.35 1.5-2.092 3-2.5 4.5L14 8",key:"1bivrr"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c3.333-3 6.667-3 10-3",key:"nxix30"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M22 9c-1.5 1.35-3 2.092-4.5 2.5l-1-1",key:"18cutr"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.35-1.5 2.092-3 2.5-4.5L10 16",key:"rlvei3"}]],Zy=e("DnaOff",nN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YI=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],Py=e("Dna",YI);/** + */const dN=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],Gy=e("Dna",dN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eN=[["path",{d:"M2 8h20",key:"d11cs7"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 16h12",key:"u522kt"}]],jy=e("Dock",eN);/** + */const iN=[["path",{d:"M2 8h20",key:"d11cs7"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 16h12",key:"u522kt"}]],Wy=e("Dock",iN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aN=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],Vy=e("Dog",aN);/** + */const hN=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],Ey=e("Dog",hN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oN=[["path",{d:"M20.5 10a2.5 2.5 0 0 1-2.4-3H18a2.95 2.95 0 0 1-2.6-4.4 10 10 0 1 0 6.3 7.1c-.3.2-.8.3-1.2.3",key:"19sr3x"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],By=e("Donut",oN);/** + */const yN=[["path",{d:"M20.5 10a2.5 2.5 0 0 1-2.4-3H18a2.95 2.95 0 0 1-2.6-4.4 10 10 0 1 0 6.3 7.1c-.3.2-.8.3-1.2.3",key:"19sr3x"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Xy=e("Donut",yN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cN=[["path",{d:"M18 20V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14",key:"36qu9e"}],["path",{d:"M2 20h20",key:"owomy5"}],["path",{d:"M14 12v.01",key:"xfcn54"}]],Fy=e("DoorClosed",cN);/** + */const rN=[["path",{d:"M18 20V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14",key:"36qu9e"}],["path",{d:"M2 20h20",key:"owomy5"}],["path",{d:"M14 12v.01",key:"xfcn54"}]],Ky=e("DoorClosed",rN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tN=[["path",{d:"M13 4h3a2 2 0 0 1 2 2v14",key:"hrm0s9"}],["path",{d:"M2 20h3",key:"1gaodv"}],["path",{d:"M13 20h9",key:"s90cdi"}],["path",{d:"M10 12v.01",key:"vx6srw"}],["path",{d:"M13 4.562v16.157a1 1 0 0 1-1.242.97L5 20V5.562a2 2 0 0 1 1.515-1.94l4-1A2 2 0 0 1 13 4.561Z",key:"199qr4"}]],Dy=e("DoorOpen",tN);/** + */const kN=[["path",{d:"M13 4h3a2 2 0 0 1 2 2v14",key:"hrm0s9"}],["path",{d:"M2 20h3",key:"1gaodv"}],["path",{d:"M13 20h9",key:"s90cdi"}],["path",{d:"M10 12v.01",key:"vx6srw"}],["path",{d:"M13 4.562v16.157a1 1 0 0 1-1.242.97L5 20V5.562a2 2 0 0 1 1.515-1.94l4-1A2 2 0 0 1 13 4.561Z",key:"199qr4"}]],Jy=e("DoorOpen",kN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nN=[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]],Ry=e("Dot",nN);/** + */const pN=[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]],Qy=e("Dot",pN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dN=[["path",{d:"m12.99 6.74 1.93 3.44",key:"iwagvd"}],["path",{d:"M19.136 12a10 10 0 0 1-14.271 0",key:"ppmlo4"}],["path",{d:"m21 21-2.16-3.84",key:"vylbct"}],["path",{d:"m3 21 8.02-14.26",key:"1ssaw4"}],["circle",{cx:"12",cy:"5",r:"2",key:"f1ur92"}]],Ty=e("DraftingCompass",dN);/** + */const sN=[["path",{d:"m12.99 6.74 1.93 3.44",key:"iwagvd"}],["path",{d:"M19.136 12a10 10 0 0 1-14.271 0",key:"ppmlo4"}],["path",{d:"m21 21-2.16-3.84",key:"vylbct"}],["path",{d:"m3 21 8.02-14.26",key:"1ssaw4"}],["circle",{cx:"12",cy:"5",r:"2",key:"f1ur92"}]],Yy=e("DraftingCompass",sN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iN=[["path",{d:"M10 11h.01",key:"d2at3l"}],["path",{d:"M14 6h.01",key:"k028ub"}],["path",{d:"M18 6h.01",key:"1v4wsw"}],["path",{d:"M6.5 13.1h.01",key:"1748ia"}],["path",{d:"M22 5c0 9-4 12-6 12s-6-3-6-12c0-2 2-3 6-3s6 1 6 3",key:"172yzv"}],["path",{d:"M17.4 9.9c-.8.8-2 .8-2.8 0",key:"1obv0w"}],["path",{d:"M10.1 7.1C9 7.2 7.7 7.7 6 8.6c-3.5 2-4.7 3.9-3.7 5.6 4.5 7.8 9.5 8.4 11.2 7.4.9-.5 1.9-2.1 1.9-4.7",key:"rqjl8i"}],["path",{d:"M9.1 16.5c.3-1.1 1.4-1.7 2.4-1.4",key:"1mr6wy"}]],Uy=e("Drama",iN);/** + */const lN=[["path",{d:"M10 11h.01",key:"d2at3l"}],["path",{d:"M14 6h.01",key:"k028ub"}],["path",{d:"M18 6h.01",key:"1v4wsw"}],["path",{d:"M6.5 13.1h.01",key:"1748ia"}],["path",{d:"M22 5c0 9-4 12-6 12s-6-3-6-12c0-2 2-3 6-3s6 1 6 3",key:"172yzv"}],["path",{d:"M17.4 9.9c-.8.8-2 .8-2.8 0",key:"1obv0w"}],["path",{d:"M10.1 7.1C9 7.2 7.7 7.7 6 8.6c-3.5 2-4.7 3.9-3.7 5.6 4.5 7.8 9.5 8.4 11.2 7.4.9-.5 1.9-2.1 1.9-4.7",key:"rqjl8i"}],["path",{d:"M9.1 16.5c.3-1.1 1.4-1.7 2.4-1.4",key:"1mr6wy"}]],er=e("Drama",lN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M19.13 5.09C15.22 9.14 10 10.44 2.25 10.94",key:"hpej1"}],["path",{d:"M21.75 12.84c-6.62-1.41-12.14 1-16.38 6.32",key:"1tr44o"}],["path",{d:"M8.56 2.75c4.37 6 6 9.42 8 17.72",key:"kbh691"}]],Oy=e("Dribbble",hN);/** + */const uN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M19.13 5.09C15.22 9.14 10 10.44 2.25 10.94",key:"hpej1"}],["path",{d:"M21.75 12.84c-6.62-1.41-12.14 1-16.38 6.32",key:"1tr44o"}],["path",{d:"M8.56 2.75c4.37 6 6 9.42 8 17.72",key:"kbh691"}]],ar=e("Dribbble",uN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yN=[["path",{d:"M10 18a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a3 3 0 0 1-3-3 1 1 0 0 1 1-1z",key:"ioqxb1"}],["path",{d:"M13 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1l-.81 3.242a1 1 0 0 1-.97.758H8",key:"1rs59n"}],["path",{d:"M14 4h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-3",key:"105ega"}],["path",{d:"M18 6h4",key:"66u95g"}],["path",{d:"m5 10-2 8",key:"xt2lic"}],["path",{d:"m7 18 2-8",key:"1bzku2"}]],Zy=e("Drill",yN);/** + */const MN=[["path",{d:"M10 18a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a3 3 0 0 1-3-3 1 1 0 0 1 1-1z",key:"ioqxb1"}],["path",{d:"M13 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1l-.81 3.242a1 1 0 0 1-.97.758H8",key:"1rs59n"}],["path",{d:"M14 4h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-3",key:"105ega"}],["path",{d:"M18 6h4",key:"66u95g"}],["path",{d:"m5 10-2 8",key:"xt2lic"}],["path",{d:"m7 18 2-8",key:"1bzku2"}]],or=e("Drill",MN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rN=[["path",{d:"M18.715 13.186C18.29 11.858 17.384 10.607 16 9.5c-2-1.6-3.5-4-4-6.5a10.7 10.7 0 0 1-.884 2.586",key:"8suz2t"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.795 8.797A11 11 0 0 1 8 9.5C6 11.1 5 13 5 15a7 7 0 0 0 13.222 3.208",key:"19dw9m"}]],Gy=e("DropletOff",rN);/** + */const vN=[["path",{d:"M18.715 13.186C18.29 11.858 17.384 10.607 16 9.5c-2-1.6-3.5-4-4-6.5a10.7 10.7 0 0 1-.884 2.586",key:"8suz2t"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.795 8.797A11 11 0 0 1 8 9.5C6 11.1 5 13 5 15a7 7 0 0 0 13.222 3.208",key:"19dw9m"}]],tr=e("DropletOff",vN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kN=[["path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z",key:"c7niix"}]],Wy=e("Droplet",kN);/** + */const mN=[["path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z",key:"c7niix"}]],cr=e("Droplet",mN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pN=[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]],Ey=e("Droplets",pN);/** + */const _N=[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]],nr=e("Droplets",_N);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sN=[["path",{d:"m2 2 8 8",key:"1v6059"}],["path",{d:"m22 2-8 8",key:"173r8a"}],["ellipse",{cx:"12",cy:"9",rx:"10",ry:"5",key:"liohsx"}],["path",{d:"M7 13.4v7.9",key:"1yi6u9"}],["path",{d:"M12 14v8",key:"1tn2tj"}],["path",{d:"M17 13.4v7.9",key:"eqz2v3"}],["path",{d:"M2 9v8a10 5 0 0 0 20 0V9",key:"1750ul"}]],Xy=e("Drum",sN);/** + */const gN=[["path",{d:"m2 2 8 8",key:"1v6059"}],["path",{d:"m22 2-8 8",key:"173r8a"}],["ellipse",{cx:"12",cy:"9",rx:"10",ry:"5",key:"liohsx"}],["path",{d:"M7 13.4v7.9",key:"1yi6u9"}],["path",{d:"M12 14v8",key:"1tn2tj"}],["path",{d:"M17 13.4v7.9",key:"eqz2v3"}],["path",{d:"M2 9v8a10 5 0 0 0 20 0V9",key:"1750ul"}]],dr=e("Drum",gN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lN=[["path",{d:"M15.4 15.63a7.875 6 135 1 1 6.23-6.23 4.5 3.43 135 0 0-6.23 6.23",key:"1dtqwm"}],["path",{d:"m8.29 12.71-2.6 2.6a2.5 2.5 0 1 0-1.65 4.65A2.5 2.5 0 1 0 8.7 18.3l2.59-2.59",key:"1oq1fw"}]],Ky=e("Drumstick",lN);/** + */const LN=[["path",{d:"M15.4 15.63a7.875 6 135 1 1 6.23-6.23 4.5 3.43 135 0 0-6.23 6.23",key:"1dtqwm"}],["path",{d:"m8.29 12.71-2.6 2.6a2.5 2.5 0 1 0-1.65 4.65A2.5 2.5 0 1 0 8.7 18.3l2.59-2.59",key:"1oq1fw"}]],ir=e("Drumstick",LN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uN=[["path",{d:"M14.4 14.4 9.6 9.6",key:"ic80wn"}],["path",{d:"M18.657 21.485a2 2 0 1 1-2.829-2.828l-1.767 1.768a2 2 0 1 1-2.829-2.829l6.364-6.364a2 2 0 1 1 2.829 2.829l-1.768 1.767a2 2 0 1 1 2.828 2.829z",key:"nnl7wr"}],["path",{d:"m21.5 21.5-1.4-1.4",key:"1f1ice"}],["path",{d:"M3.9 3.9 2.5 2.5",key:"1evmna"}],["path",{d:"M6.404 12.768a2 2 0 1 1-2.829-2.829l1.768-1.767a2 2 0 1 1-2.828-2.829l2.828-2.828a2 2 0 1 1 2.829 2.828l1.767-1.768a2 2 0 1 1 2.829 2.829z",key:"yhosts"}]],Jy=e("Dumbbell",uN);/** + */const xN=[["path",{d:"M14.4 14.4 9.6 9.6",key:"ic80wn"}],["path",{d:"M18.657 21.485a2 2 0 1 1-2.829-2.828l-1.767 1.768a2 2 0 1 1-2.829-2.829l6.364-6.364a2 2 0 1 1 2.829 2.829l-1.768 1.767a2 2 0 1 1 2.828 2.829z",key:"nnl7wr"}],["path",{d:"m21.5 21.5-1.4-1.4",key:"1f1ice"}],["path",{d:"M3.9 3.9 2.5 2.5",key:"1evmna"}],["path",{d:"M6.404 12.768a2 2 0 1 1-2.829-2.829l1.768-1.767a2 2 0 1 1-2.828-2.829l2.828-2.828a2 2 0 1 1 2.829 2.828l1.767-1.768a2 2 0 1 1 2.829 2.829z",key:"yhosts"}]],hr=e("Dumbbell",xN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MN=[["path",{d:"M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46",key:"1qngmn"}],["path",{d:"M6 8.5c0-.75.13-1.47.36-2.14",key:"b06bma"}],["path",{d:"M8.8 3.15A6.5 6.5 0 0 1 19 8.5c0 1.63-.44 2.81-1.09 3.76",key:"g10hsz"}],["path",{d:"M12.5 6A2.5 2.5 0 0 1 15 8.5M10 13a2 2 0 0 0 1.82-1.18",key:"ygzou7"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Qy=e("EarOff",MN);/** + */const wN=[["path",{d:"M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46",key:"1qngmn"}],["path",{d:"M6 8.5c0-.75.13-1.47.36-2.14",key:"b06bma"}],["path",{d:"M8.8 3.15A6.5 6.5 0 0 1 19 8.5c0 1.63-.44 2.81-1.09 3.76",key:"g10hsz"}],["path",{d:"M12.5 6A2.5 2.5 0 0 1 15 8.5M10 13a2 2 0 0 0 1.82-1.18",key:"ygzou7"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],yr=e("EarOff",wN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vN=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],Yy=e("Ear",vN);/** + */const fN=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],rr=e("Ear",fN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mN=[["path",{d:"M7 3.34V5a3 3 0 0 0 3 3",key:"w732o8"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"f02343"}],["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M12 2a10 10 0 1 0 9.54 13",key:"zjsr6q"}],["path",{d:"M20 6V4a2 2 0 1 0-4 0v2",key:"1of5e8"}],["rect",{width:"8",height:"5",x:"14",y:"6",rx:"1",key:"1fmf51"}]],er=e("EarthLock",mN);/** + */const CN=[["path",{d:"M7 3.34V5a3 3 0 0 0 3 3",key:"w732o8"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"f02343"}],["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M12 2a10 10 0 1 0 9.54 13",key:"zjsr6q"}],["path",{d:"M20 6V4a2 2 0 1 0-4 0v2",key:"1of5e8"}],["rect",{width:"8",height:"5",x:"14",y:"6",rx:"1",key:"1fmf51"}]],kr=e("EarthLock",CN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _N=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],j1=e("Earth",_N);/** + */const IN=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],B1=e("Earth",IN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a7 7 0 1 0 10 10",key:"1yuj32"}]],ar=e("Eclipse",gN);/** + */const NN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a7 7 0 1 0 10 10",key:"1yuj32"}]],pr=e("Eclipse",NN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LN=[["circle",{cx:"11.5",cy:"12.5",r:"3.5",key:"1cl1mi"}],["path",{d:"M3 8c0-3.5 2.5-6 6.5-6 5 0 4.83 3 7.5 5s5 2 5 6c0 4.5-2.5 6.5-7 6.5-2.5 0-2.5 2.5-6 2.5s-7-2-7-5.5c0-3 1.5-3 1.5-5C3.5 10 3 9 3 8Z",key:"165ef9"}]],or=e("EggFried",LN);/** + */const SN=[["circle",{cx:"11.5",cy:"12.5",r:"3.5",key:"1cl1mi"}],["path",{d:"M3 8c0-3.5 2.5-6 6.5-6 5 0 4.83 3 7.5 5s5 2 5 6c0 4.5-2.5 6.5-7 6.5-2.5 0-2.5 2.5-6 2.5s-7-2-7-5.5c0-3 1.5-3 1.5-5C3.5 10 3 9 3 8Z",key:"165ef9"}]],sr=e("EggFried",SN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xN=[["path",{d:"M6.399 6.399C5.362 8.157 4.65 10.189 4.5 12c-.37 4.43 1.27 9.95 7.5 10 3.256-.026 5.259-1.547 6.375-3.625",key:"6et380"}],["path",{d:"M19.532 13.875A14.07 14.07 0 0 0 19.5 12c-.36-4.34-3.95-9.96-7.5-10-1.04.012-2.082.502-3.046 1.297",key:"gcdc3f"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],cr=e("EggOff",xN);/** + */const bN=[["path",{d:"M6.399 6.399C5.362 8.157 4.65 10.189 4.5 12c-.37 4.43 1.27 9.95 7.5 10 3.256-.026 5.259-1.547 6.375-3.625",key:"6et380"}],["path",{d:"M19.532 13.875A14.07 14.07 0 0 0 19.5 12c-.36-4.34-3.95-9.96-7.5-10-1.04.012-2.082.502-3.046 1.297",key:"gcdc3f"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],lr=e("EggOff",bN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wN=[["path",{d:"M12 22c6.23-.05 7.87-5.57 7.5-10-.36-4.34-3.95-9.96-7.5-10-3.55.04-7.14 5.66-7.5 10-.37 4.43 1.27 9.95 7.5 10z",key:"1c39pg"}]],tr=e("Egg",wN);/** + */const qN=[["path",{d:"M12 22c6.23-.05 7.87-5.57 7.5-10-.36-4.34-3.95-9.96-7.5-10-3.55.04-7.14 5.66-7.5 10-.37 4.43 1.27 9.95 7.5 10z",key:"1c39pg"}]],ur=e("Egg",qN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fN=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],V1=e("EllipsisVertical",fN);/** + */const $N=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],F1=e("EllipsisVertical",$N);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CN=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],B1=e("Ellipsis",CN);/** + */const AN=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],D1=e("Ellipsis",AN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IN=[["path",{d:"M5 15a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0",key:"yrdkhy"}],["path",{d:"M5 9a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0",key:"gzkvyz"}]],nr=e("EqualApproximately",IN);/** + */const HN=[["path",{d:"M5 15a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0",key:"yrdkhy"}],["path",{d:"M5 9a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0",key:"gzkvyz"}]],Mr=e("EqualApproximately",HN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NN=[["line",{x1:"5",x2:"19",y1:"9",y2:"9",key:"1nwqeh"}],["line",{x1:"5",x2:"19",y1:"15",y2:"15",key:"g8yjpy"}],["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}]],dr=e("EqualNot",NN);/** + */const zN=[["line",{x1:"5",x2:"19",y1:"9",y2:"9",key:"1nwqeh"}],["line",{x1:"5",x2:"19",y1:"15",y2:"15",key:"g8yjpy"}],["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}]],vr=e("EqualNot",zN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SN=[["line",{x1:"5",x2:"19",y1:"9",y2:"9",key:"1nwqeh"}],["line",{x1:"5",x2:"19",y1:"15",y2:"15",key:"g8yjpy"}]],ir=e("Equal",SN);/** + */const jN=[["line",{x1:"5",x2:"19",y1:"9",y2:"9",key:"1nwqeh"}],["line",{x1:"5",x2:"19",y1:"15",y2:"15",key:"g8yjpy"}]],mr=e("Equal",jN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qN=[["path",{d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21",key:"182aya"}],["path",{d:"M22 21H7",key:"t4ddhn"}],["path",{d:"m5 11 9 9",key:"1mo9qw"}]],hr=e("Eraser",qN);/** + */const PN=[["path",{d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21",key:"182aya"}],["path",{d:"M22 21H7",key:"t4ddhn"}],["path",{d:"m5 11 9 9",key:"1mo9qw"}]],_r=e("Eraser",PN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bN=[["path",{d:"m15 20 3-3h2a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2l3 3z",key:"rbahqx"}],["path",{d:"M6 8v1",key:"1636ez"}],["path",{d:"M10 8v1",key:"1talb4"}],["path",{d:"M14 8v1",key:"1rsfgr"}],["path",{d:"M18 8v1",key:"gnkwox"}]],yr=e("EthernetPort",bN);/** + */const VN=[["path",{d:"m15 20 3-3h2a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2l3 3z",key:"rbahqx"}],["path",{d:"M6 8v1",key:"1636ez"}],["path",{d:"M10 8v1",key:"1talb4"}],["path",{d:"M14 8v1",key:"1rsfgr"}],["path",{d:"M18 8v1",key:"gnkwox"}]],gr=e("EthernetPort",VN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $N=[["path",{d:"M4 10h12",key:"1y6xl8"}],["path",{d:"M4 14h9",key:"1loblj"}],["path",{d:"M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2",key:"1j6lzo"}]],rr=e("Euro",$N);/** + */const BN=[["path",{d:"M4 10h12",key:"1y6xl8"}],["path",{d:"M4 14h9",key:"1loblj"}],["path",{d:"M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2",key:"1j6lzo"}]],Lr=e("Euro",BN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AN=[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16.2V21h-4.8",key:"1hrera"}],["path",{d:"M21 7.8V3h-4.8",key:"ul1q53"}],["path",{d:"M3 16.2V21h4.8",key:"1x04uo"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 7.8V3h4.8",key:"1ijppm"}],["path",{d:"M9 9 3 3",key:"v551iv"}]],kr=e("Expand",AN);/** + */const FN=[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16.2V21h-4.8",key:"1hrera"}],["path",{d:"M21 7.8V3h-4.8",key:"ul1q53"}],["path",{d:"M3 16.2V21h4.8",key:"1x04uo"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 7.8V3h4.8",key:"1ijppm"}],["path",{d:"M9 9 3 3",key:"v551iv"}]],xr=e("Expand",FN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HN=[["path",{d:"m15 18-.722-3.25",key:"1j64jw"}],["path",{d:"M2 8a10.645 10.645 0 0 0 20 0",key:"1e7gxb"}],["path",{d:"m20 15-1.726-2.05",key:"1cnuld"}],["path",{d:"m4 15 1.726-2.05",key:"1dsqqd"}],["path",{d:"m9 18 .722-3.25",key:"ypw2yx"}]],pr=e("EyeClosed",HN);/** + */const DN=[["path",{d:"m15 18-.722-3.25",key:"1j64jw"}],["path",{d:"M2 8a10.645 10.645 0 0 0 20 0",key:"1e7gxb"}],["path",{d:"m20 15-1.726-2.05",key:"1cnuld"}],["path",{d:"m4 15 1.726-2.05",key:"1dsqqd"}],["path",{d:"m9 18 .722-3.25",key:"ypw2yx"}]],wr=e("EyeClosed",DN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zN=[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]],sr=e("Factory",zN);/** + */const RN=[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]],fr=e("Factory",RN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PN=[["path",{d:"M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z",key:"484a7f"}],["path",{d:"M12 12v.01",key:"u5ubse"}]],lr=e("Fan",PN);/** + */const TN=[["path",{d:"M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z",key:"484a7f"}],["path",{d:"M12 12v.01",key:"u5ubse"}]],Cr=e("Fan",TN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jN=[["polygon",{points:"13 19 22 12 13 5 13 19",key:"587y9g"}],["polygon",{points:"2 19 11 12 2 5 2 19",key:"3pweh0"}]],ur=e("FastForward",jN);/** + */const UN=[["polygon",{points:"13 19 22 12 13 5 13 19",key:"587y9g"}],["polygon",{points:"2 19 11 12 2 5 2 19",key:"3pweh0"}]],Ir=e("FastForward",UN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VN=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],Mr=e("Feather",VN);/** + */const ON=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],Nr=e("Feather",ON);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BN=[["path",{d:"M4 3 2 5v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z",key:"1n2rgs"}],["path",{d:"M6 8h4",key:"utf9t1"}],["path",{d:"M6 18h4",key:"12yh4b"}],["path",{d:"m12 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z",key:"3ha7mj"}],["path",{d:"M14 8h4",key:"1r8wg2"}],["path",{d:"M14 18h4",key:"1t3kbu"}],["path",{d:"m20 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z",key:"dfd4e2"}]],vr=e("Fence",BN);/** + */const ZN=[["path",{d:"M4 3 2 5v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z",key:"1n2rgs"}],["path",{d:"M6 8h4",key:"utf9t1"}],["path",{d:"M6 18h4",key:"12yh4b"}],["path",{d:"m12 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z",key:"3ha7mj"}],["path",{d:"M14 8h4",key:"1r8wg2"}],["path",{d:"M14 18h4",key:"1t3kbu"}],["path",{d:"m20 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z",key:"dfd4e2"}]],Sr=e("Fence",ZN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FN=[["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m6.8 15-3.5 2",key:"hjy98k"}],["path",{d:"m20.7 7-3.5 2",key:"f08gto"}],["path",{d:"M6.8 9 3.3 7",key:"1aevh4"}],["path",{d:"m20.7 17-3.5-2",key:"1liqo3"}],["path",{d:"m9 22 3-8 3 8",key:"wees03"}],["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M18 18.7a9 9 0 1 0-12 0",key:"dhzg4g"}]],mr=e("FerrisWheel",FN);/** + */const GN=[["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m6.8 15-3.5 2",key:"hjy98k"}],["path",{d:"m20.7 7-3.5 2",key:"f08gto"}],["path",{d:"M6.8 9 3.3 7",key:"1aevh4"}],["path",{d:"m20.7 17-3.5-2",key:"1liqo3"}],["path",{d:"m9 22 3-8 3 8",key:"wees03"}],["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M18 18.7a9 9 0 1 0-12 0",key:"dhzg4g"}]],br=e("FerrisWheel",GN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DN=[["path",{d:"M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5z",key:"1340ok"}],["path",{d:"M12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z",key:"1hz3m3"}],["path",{d:"M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0z",key:"1oz8n2"}],["path",{d:"M5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0z",key:"1ff65i"}],["path",{d:"M5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z",key:"pdip6e"}]],_r=e("Figma",DN);/** + */const WN=[["path",{d:"M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5z",key:"1340ok"}],["path",{d:"M12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z",key:"1hz3m3"}],["path",{d:"M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0z",key:"1oz8n2"}],["path",{d:"M5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0z",key:"1ff65i"}],["path",{d:"M5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z",key:"pdip6e"}]],qr=e("Figma",WN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RN=[["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01",key:"gkbcor"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}]],gr=e("FileArchive",RN);/** + */const EN=[["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01",key:"gkbcor"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}]],$r=e("FileArchive",EN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TN=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v2",key:"17k7jt"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"3",cy:"17",r:"1",key:"vo6nti"}],["path",{d:"M2 17v-3a4 4 0 0 1 8 0v3",key:"1ggdre"}],["circle",{cx:"9",cy:"17",r:"1",key:"bc1fq4"}]],Lr=e("FileAudio2",TN);/** + */const XN=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v2",key:"17k7jt"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"3",cy:"17",r:"1",key:"vo6nti"}],["path",{d:"M2 17v-3a4 4 0 0 1 8 0v3",key:"1ggdre"}],["circle",{cx:"9",cy:"17",r:"1",key:"bc1fq4"}]],Ar=e("FileAudio2",XN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UN=[["path",{d:"M17.5 22h.5a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"rslqgf"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 19a2 2 0 1 1 4 0v1a2 2 0 1 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 1 1-4 0v-1a2 2 0 1 1 4 0",key:"9f7x3i"}]],xr=e("FileAudio",UN);/** + */const KN=[["path",{d:"M17.5 22h.5a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"rslqgf"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 19a2 2 0 1 1 4 0v1a2 2 0 1 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 1 1-4 0v-1a2 2 0 1 1 4 0",key:"9f7x3i"}]],Hr=e("FileAudio",KN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ON=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m8 18 4-4",key:"12zab0"}],["path",{d:"M8 10v8h8",key:"tlaukw"}]],F1=e("FileAxis3d",ON);/** + */const JN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m8 18 4-4",key:"12zab0"}],["path",{d:"M8 10v8h8",key:"tlaukw"}]],R1=e("FileAxis3d",JN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m14 12.5 1 5.5-3-1-3 1 1-5.5",key:"14xlky"}]],wr=e("FileBadge2",ZN);/** + */const QN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m14 12.5 1 5.5-3-1-3 1 1-5.5",key:"14xlky"}]],zr=e("FileBadge2",QN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GN=[["path",{d:"M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"12ixgl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M5 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",key:"u0c8gj"}],["path",{d:"M7 16.5 8 22l-3-1-3 1 1-5.5",key:"5gm2nr"}]],fr=e("FileBadge",GN);/** + */const YN=[["path",{d:"M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"12ixgl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M5 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",key:"u0c8gj"}],["path",{d:"M7 16.5 8 22l-3-1-3 1 1-5.5",key:"5gm2nr"}]],jr=e("FileBadge",YN);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WN=[["path",{d:"M14.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"16lz6z"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 13.1a2 2 0 0 0-1 1.76v3.24a2 2 0 0 0 .97 1.78L6 21.7a2 2 0 0 0 2.03.01L11 19.9a2 2 0 0 0 1-1.76V14.9a2 2 0 0 0-.97-1.78L8 11.3a2 2 0 0 0-2.03-.01Z",key:"99pj1s"}],["path",{d:"M7 17v5",key:"1yj1jh"}],["path",{d:"M11.7 14.2 7 17l-4.7-2.8",key:"1yk8tc"}]],Cr=e("FileBox",WN);/** + */const eS=[["path",{d:"M14.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"16lz6z"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 13.1a2 2 0 0 0-1 1.76v3.24a2 2 0 0 0 .97 1.78L6 21.7a2 2 0 0 0 2.03.01L11 19.9a2 2 0 0 0 1-1.76V14.9a2 2 0 0 0-.97-1.78L8 11.3a2 2 0 0 0-2.03-.01Z",key:"99pj1s"}],["path",{d:"M7 17v5",key:"1yj1jh"}],["path",{d:"M11.7 14.2 7 17l-4.7-2.8",key:"1yk8tc"}]],Pr=e("FileBox",eS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 18v-2",key:"qcmpov"}],["path",{d:"M12 18v-4",key:"q1q25u"}],["path",{d:"M16 18v-6",key:"15y0np"}]],D1=e("FileChartColumnIncreasing",EN);/** + */const aS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 18v-2",key:"qcmpov"}],["path",{d:"M12 18v-4",key:"q1q25u"}],["path",{d:"M16 18v-6",key:"15y0np"}]],T1=e("FileChartColumnIncreasing",aS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 18v-1",key:"zg0ygc"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"M16 18v-3",key:"j5jt4h"}]],R1=e("FileChartColumn",XN);/** + */const oS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 18v-1",key:"zg0ygc"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"M16 18v-3",key:"j5jt4h"}]],U1=e("FileChartColumn",oS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m16 13-3.5 3.5-2-2L8 17",key:"zz7yod"}]],T1=e("FileChartLine",KN);/** + */const tS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m16 13-3.5 3.5-2-2L8 17",key:"zz7yod"}]],O1=e("FileChartLine",tS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JN=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3.5",key:"13ddob"}],["path",{d:"M4.017 11.512a6 6 0 1 0 8.466 8.475",key:"s6vs5t"}],["path",{d:"M9 16a1 1 0 0 1-1-1v-4c0-.552.45-1.008.995-.917a6 6 0 0 1 4.922 4.922c.091.544-.365.995-.917.995z",key:"1dl6s6"}]],U1=e("FileChartPie",JN);/** + */const cS=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3.5",key:"13ddob"}],["path",{d:"M4.017 11.512a6 6 0 1 0 8.466 8.475",key:"s6vs5t"}],["path",{d:"M9 16a1 1 0 0 1-1-1v-4c0-.552.45-1.008.995-.917a6 6 0 0 1 4.922 4.922c.091.544-.365.995-.917.995z",key:"1dl6s6"}]],Z1=e("FileChartPie",cS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QN=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]],Ir=e("FileCheck2",QN);/** + */const nS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]],Vr=e("FileCheck2",nS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],Nr=e("FileCheck",YN);/** + */const dS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],Br=e("FileCheck",dS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eS=[["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"37hlfg"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}],["path",{d:"M9.5 17.5 8 16.25V14",key:"1o80t2"}]],Sr=e("FileClock",eS);/** + */const iS=[["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"37hlfg"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}],["path",{d:"M9.5 17.5 8 16.25V14",key:"1o80t2"}]],Fr=e("FileClock",iS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],qr=e("FileCode2",aS);/** + */const hS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],Dr=e("FileCode2",hS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oS=[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]],br=e("FileCode",oS);/** + */const yS=[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]],Rr=e("FileCode",yS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cS=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3.2 12.9-.9-.4",key:"1i3dj5"}],["path",{d:"m3.2 15.1-.9.4",key:"1fvgj0"}],["path",{d:"M4.677 21.5a2 2 0 0 0 1.313.5H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v2.5",key:"1yo3oz"}],["path",{d:"m4.9 11.2-.4-.9",key:"otmhb9"}],["path",{d:"m4.9 16.8-.4.9",key:"1b8z07"}],["path",{d:"m7.5 10.3-.4.9",key:"11k65u"}],["path",{d:"m7.5 17.7-.4-.9",key:"431x55"}],["path",{d:"m9.7 12.5-.9.4",key:"87sjan"}],["path",{d:"m9.7 15.5-.9-.4",key:"khqm91"}],["circle",{cx:"6",cy:"14",r:"3",key:"a1xfv6"}]],O1=e("FileCog",cS);/** + */const rS=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3.2 12.9-.9-.4",key:"1i3dj5"}],["path",{d:"m3.2 15.1-.9.4",key:"1fvgj0"}],["path",{d:"M4.677 21.5a2 2 0 0 0 1.313.5H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v2.5",key:"1yo3oz"}],["path",{d:"m4.9 11.2-.4-.9",key:"otmhb9"}],["path",{d:"m4.9 16.8-.4.9",key:"1b8z07"}],["path",{d:"m7.5 10.3-.4.9",key:"11k65u"}],["path",{d:"m7.5 17.7-.4-.9",key:"431x55"}],["path",{d:"m9.7 12.5-.9.4",key:"87sjan"}],["path",{d:"m9.7 15.5-.9-.4",key:"khqm91"}],["circle",{cx:"6",cy:"14",r:"3",key:"a1xfv6"}]],G1=e("FileCog",rS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],$r=e("FileDiff",tS);/** + */const kS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],Tr=e("FileDiff",kS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["rect",{width:"4",height:"6",x:"2",y:"12",rx:"2",key:"jm304g"}],["path",{d:"M10 12h2v6",key:"12zw74"}],["path",{d:"M10 18h4",key:"1ulq68"}]],Ar=e("FileDigit",nS);/** + */const pS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["rect",{width:"4",height:"6",x:"2",y:"12",rx:"2",key:"jm304g"}],["path",{d:"M10 12h2v6",key:"12zw74"}],["path",{d:"M10 18h4",key:"1ulq68"}]],Ur=e("FileDigit",pS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v2",key:"17k7jt"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10.29 10.7a2.43 2.43 0 0 0-2.66-.52c-.29.12-.56.3-.78.53l-.35.34-.35-.34a2.43 2.43 0 0 0-2.65-.53c-.3.12-.56.3-.79.53-.95.94-1 2.53.2 3.74L6.5 18l3.6-3.55c1.2-1.21 1.14-2.8.19-3.74Z",key:"1c1fso"}]],Hr=e("FileHeart",dS);/** + */const sS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v2",key:"17k7jt"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10.29 10.7a2.43 2.43 0 0 0-2.66-.52c-.29.12-.56.3-.78.53l-.35.34-.35-.34a2.43 2.43 0 0 0-2.65-.53c-.3.12-.56.3-.79.53-.95.94-1 2.53.2 3.74L6.5 18l3.6-3.55c1.2-1.21 1.14-2.8.19-3.74Z",key:"1c1fso"}]],Or=e("FileHeart",sS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]],zr=e("FileImage",iS);/** + */const lS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]],Zr=e("FileImage",lS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],Pr=e("FileInput",hS);/** + */const uS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],Gr=e("FileInput",uS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"fq0c9t"}],["path",{d:"M8 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"4gibmv"}]],jr=e("FileJson2",yS);/** + */const MS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"fq0c9t"}],["path",{d:"M8 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"4gibmv"}]],Wr=e("FileJson2",MS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],Vr=e("FileJson",rS);/** + */const vS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],Er=e("FileJson",vS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6",key:"rc0qvx"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"m10 10-4.5 4.5",key:"7fwrp6"}],["path",{d:"m9 11 1 1",key:"wa6s5q"}]],Br=e("FileKey2",kS);/** + */const mS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6",key:"rc0qvx"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"m10 10-4.5 4.5",key:"7fwrp6"}],["path",{d:"m9 11 1 1",key:"wa6s5q"}]],Xr=e("FileKey2",mS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["circle",{cx:"10",cy:"16",r:"2",key:"4ckbqe"}],["path",{d:"m16 10-4.5 4.5",key:"7p3ebg"}],["path",{d:"m15 11 1 1",key:"1bsyx3"}]],Fr=e("FileKey",pS);/** + */const _S=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["circle",{cx:"10",cy:"16",r:"2",key:"4ckbqe"}],["path",{d:"m16 10-4.5 4.5",key:"7p3ebg"}],["path",{d:"m15 11 1 1",key:"1bsyx3"}]],Kr=e("FileKey",_S);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v1",key:"jmtmu2"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["rect",{width:"8",height:"5",x:"2",y:"13",rx:"1",key:"10y5wo"}],["path",{d:"M8 13v-2a2 2 0 1 0-4 0v2",key:"1pdxzg"}]],Dr=e("FileLock2",sS);/** + */const gS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v1",key:"jmtmu2"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["rect",{width:"8",height:"5",x:"2",y:"13",rx:"1",key:"10y5wo"}],["path",{d:"M8 13v-2a2 2 0 1 0-4 0v2",key:"1pdxzg"}]],Jr=e("FileLock2",gS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["rect",{width:"8",height:"6",x:"8",y:"12",rx:"1",key:"3yr8at"}],["path",{d:"M10 12v-2a2 2 0 1 1 4 0v2",key:"j4i8d"}]],Rr=e("FileLock",lS);/** + */const LS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["rect",{width:"8",height:"6",x:"8",y:"12",rx:"1",key:"3yr8at"}],["path",{d:"M10 12v-2a2 2 0 1 1 4 0v2",key:"j4i8d"}]],Qr=e("FileLock",LS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 15h6",key:"4e2qda"}]],Tr=e("FileMinus2",uS);/** + */const xS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 15h6",key:"4e2qda"}]],Yr=e("FileMinus2",xS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}]],Ur=e("FileMinus",MS);/** + */const wS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}]],e4=e("FileMinus",wS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vS=[["path",{d:"M10.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v8.4",key:"1d3kfm"}],["path",{d:"M8 18v-7.7L16 9v7",key:"1oie6o"}],["circle",{cx:"14",cy:"16",r:"2",key:"1bzzi3"}],["circle",{cx:"6",cy:"18",r:"2",key:"1fncim"}]],Or=e("FileMusic",vS);/** + */const fS=[["path",{d:"M10.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v8.4",key:"1d3kfm"}],["path",{d:"M8 18v-7.7L16 9v7",key:"1oie6o"}],["circle",{cx:"14",cy:"16",r:"2",key:"1bzzi3"}],["circle",{cx:"6",cy:"18",r:"2",key:"1fncim"}]],a4=e("FileMusic",fS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mS=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 7V4a2 2 0 0 1 2-2 2 2 0 0 0-2 2",key:"1vk7w2"}],["path",{d:"M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6",key:"1jink5"}],["path",{d:"m5 11-3 3",key:"1dgrs4"}],["path",{d:"m5 17-3-3h10",key:"1mvvaf"}]],Zr=e("FileOutput",mS);/** + */const CS=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 7V4a2 2 0 0 1 2-2 2 2 0 0 0-2 2",key:"1vk7w2"}],["path",{d:"M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6",key:"1jink5"}],["path",{d:"m5 11-3 3",key:"1dgrs4"}],["path",{d:"m5 17-3-3h10",key:"1mvvaf"}]],o4=e("FileOutput",CS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _S=[["path",{d:"m18 5-2.414-2.414A2 2 0 0 0 14.172 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2",key:"142zxg"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}],["path",{d:"M8 18h1",key:"13wk12"}]],Z1=e("FilePenLine",_S);/** + */const IS=[["path",{d:"m18 5-2.414-2.414A2 2 0 0 0 14.172 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2",key:"142zxg"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}],["path",{d:"M8 18h1",key:"13wk12"}]],W1=e("FilePenLine",IS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gS=[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],G1=e("FilePen",gS);/** + */const NS=[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],E1=e("FilePen",NS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 15h6",key:"4e2qda"}],["path",{d:"M6 12v6",key:"1u72j0"}]],Gr=e("FilePlus2",LS);/** + */const SS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 15h6",key:"4e2qda"}],["path",{d:"M6 12v6",key:"1u72j0"}]],t4=e("FilePlus2",SS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]],Wr=e("FilePlus",xS);/** + */const bS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]],c4=e("FilePlus",bS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wS=[["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]],Er=e("FileQuestion",wS);/** + */const qS=[["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]],n4=e("FileQuestion",qS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fS=[["path",{d:"M20 10V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4",key:"1rdf37"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M16 14a2 2 0 0 0-2 2",key:"ceaadl"}],["path",{d:"M20 14a2 2 0 0 1 2 2",key:"1ny6zw"}],["path",{d:"M20 22a2 2 0 0 0 2-2",key:"1l9q4k"}],["path",{d:"M16 22a2 2 0 0 1-2-2",key:"1wqh5n"}]],Xr=e("FileScan",fS);/** + */const $S=[["path",{d:"M20 10V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4",key:"1rdf37"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M16 14a2 2 0 0 0-2 2",key:"ceaadl"}],["path",{d:"M20 14a2 2 0 0 1 2 2",key:"1ny6zw"}],["path",{d:"M20 22a2 2 0 0 0 2-2",key:"1l9q4k"}],["path",{d:"M16 22a2 2 0 0 1-2-2",key:"1wqh5n"}]],d4=e("FileScan",$S);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"11.5",cy:"14.5",r:"2.5",key:"1bq0ko"}],["path",{d:"M13.3 16.3 15 18",key:"2quom7"}]],Kr=e("FileSearch2",CS);/** + */const AS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"11.5",cy:"14.5",r:"2.5",key:"1bq0ko"}],["path",{d:"M13.3 16.3 15 18",key:"2quom7"}]],i4=e("FileSearch2",AS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IS=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"ms7g94"}],["path",{d:"m9 18-1.5-1.5",key:"1j6qii"}],["circle",{cx:"5",cy:"14",r:"3",key:"ufru5t"}]],Jr=e("FileSearch",IS);/** + */const HS=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"ms7g94"}],["path",{d:"m9 18-1.5-1.5",key:"1j6qii"}],["circle",{cx:"5",cy:"14",r:"3",key:"ufru5t"}]],h4=e("FileSearch",HS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M10 11v2",key:"1s651w"}],["path",{d:"M8 17h8",key:"wh5c61"}],["path",{d:"M14 16v2",key:"12fp5e"}]],Qr=e("FileSliders",NS);/** + */const zS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M10 11v2",key:"1s651w"}],["path",{d:"M8 17h8",key:"wh5c61"}],["path",{d:"M14 16v2",key:"12fp5e"}]],y4=e("FileSliders",zS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SS=[["path",{d:"M21 7h-3a2 2 0 0 1-2-2V2",key:"9rb54x"}],["path",{d:"M21 6v6.5c0 .8-.7 1.5-1.5 1.5h-7c-.8 0-1.5-.7-1.5-1.5v-9c0-.8.7-1.5 1.5-1.5H17Z",key:"1059l0"}],["path",{d:"M7 8v8.8c0 .3.2.6.4.8.2.2.5.4.8.4H15",key:"16874u"}],["path",{d:"M3 12v8.8c0 .3.2.6.4.8.2.2.5.4.8.4H11",key:"k2ox98"}]],Yr=e("FileStack",SS);/** + */const jS=[["path",{d:"M21 7h-3a2 2 0 0 1-2-2V2",key:"9rb54x"}],["path",{d:"M21 6v6.5c0 .8-.7 1.5-1.5 1.5h-7c-.8 0-1.5-.7-1.5-1.5v-9c0-.8.7-1.5 1.5-1.5H17Z",key:"1059l0"}],["path",{d:"M7 8v8.8c0 .3.2.6.4.8.2.2.5.4.8.4H15",key:"16874u"}],["path",{d:"M3 12v8.8c0 .3.2.6.4.8.2.2.5.4.8.4H11",key:"k2ox98"}]],r4=e("FileStack",jS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qS=[["path",{d:"m10 18 3-3-3-3",key:"18f6ys"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 11V4a2 2 0 0 1 2-2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7",key:"50q2rw"}]],e4=e("FileSymlink",qS);/** + */const PS=[["path",{d:"m10 18 3-3-3-3",key:"18f6ys"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 11V4a2 2 0 0 1 2-2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7",key:"50q2rw"}]],k4=e("FileSymlink",PS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m8 16 2-2-2-2",key:"10vzyd"}],["path",{d:"M12 18h4",key:"1wd2n7"}]],a4=e("FileTerminal",bS);/** + */const VS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m8 16 2-2-2-2",key:"10vzyd"}],["path",{d:"M12 18h4",key:"1wd2n7"}]],p4=e("FileTerminal",VS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $S=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 13v-1h6v1",key:"1dh9dg"}],["path",{d:"M5 12v6",key:"150t9c"}],["path",{d:"M4 18h2",key:"1xrofg"}]],o4=e("FileType2",$S);/** + */const BS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 13v-1h6v1",key:"1dh9dg"}],["path",{d:"M5 12v6",key:"150t9c"}],["path",{d:"M4 18h2",key:"1xrofg"}]],s4=e("FileType2",BS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]],c4=e("FileType",AS);/** + */const FS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]],l4=e("FileType",FS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HS=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 18a3 3 0 1 0-6 0",key:"16awa0"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],t4=e("FileUser",HS);/** + */const DS=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 18a3 3 0 1 0-6 0",key:"16awa0"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],u4=e("FileUser",DS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["rect",{width:"8",height:"6",x:"2",y:"12",rx:"1",key:"1a6c1e"}],["path",{d:"m10 15.5 4 2.5v-6l-4 2.5",key:"t7cp39"}]],n4=e("FileVideo2",zS);/** + */const RS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["rect",{width:"8",height:"6",x:"2",y:"12",rx:"1",key:"1a6c1e"}],["path",{d:"m10 15.5 4 2.5v-6l-4 2.5",key:"t7cp39"}]],M4=e("FileVideo2",RS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 11 5 3-5 3v-6Z",key:"7ntvm4"}]],d4=e("FileVideo",PS);/** + */const TS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 11 5 3-5 3v-6Z",key:"7ntvm4"}]],v4=e("FileVideo",TS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M11.5 13.5a2.5 2.5 0 0 1 0 3",key:"1fccat"}],["path",{d:"M15 12a5 5 0 0 1 0 6",key:"ps46cm"}]],i4=e("FileVolume2",jS);/** + */const US=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M11.5 13.5a2.5 2.5 0 0 1 0 3",key:"1fccat"}],["path",{d:"M15 12a5 5 0 0 1 0 6",key:"ps46cm"}]],m4=e("FileVolume2",US);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VS=[["path",{d:"M11 11a5 5 0 0 1 0 6",key:"193qb2"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 6.765V4a2 2 0 0 1 2-2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-.93-.23",key:"ifyjnl"}],["path",{d:"M7 10.51a.5.5 0 0 0-.826-.38l-1.893 1.628A1 1 0 0 1 3.63 12H2.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h1.129a1 1 0 0 1 .652.242l1.893 1.63a.5.5 0 0 0 .826-.38z",key:"mk8rxu"}]],h4=e("FileVolume",VS);/** + */const OS=[["path",{d:"M11 11a5 5 0 0 1 0 6",key:"193qb2"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 6.765V4a2 2 0 0 1 2-2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-.93-.23",key:"ifyjnl"}],["path",{d:"M7 10.51a.5.5 0 0 0-.826-.38l-1.893 1.628A1 1 0 0 1 3.63 12H2.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h1.129a1 1 0 0 1 .652.242l1.893 1.63a.5.5 0 0 0 .826-.38z",key:"mk8rxu"}]],_4=e("FileVolume",OS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],y4=e("FileWarning",BS);/** + */const ZS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],g4=e("FileWarning",ZS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m8 12.5-5 5",key:"b853mi"}],["path",{d:"m3 12.5 5 5",key:"1qls4r"}]],r4=e("FileX2",FS);/** + */const GS=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m8 12.5-5 5",key:"b853mi"}],["path",{d:"m3 12.5 5 5",key:"1qls4r"}]],L4=e("FileX2",GS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]],k4=e("FileX",DS);/** + */const WS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]],x4=e("FileX",WS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RS=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],p4=e("File",RS);/** + */const ES=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],w4=e("File",ES);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TS=[["path",{d:"M20 7h-3a2 2 0 0 1-2-2V2",key:"x099mo"}],["path",{d:"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z",key:"18t6ie"}],["path",{d:"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8",key:"1nja0z"}]],s4=e("Files",TS);/** + */const XS=[["path",{d:"M20 7h-3a2 2 0 0 1-2-2V2",key:"x099mo"}],["path",{d:"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z",key:"18t6ie"}],["path",{d:"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8",key:"1nja0z"}]],f4=e("Files",XS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const US=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],l4=e("Film",US);/** + */const KS=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],C4=e("Film",KS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OS=[["path",{d:"M13.013 3H2l8 9.46V19l4 2v-8.54l.9-1.055",key:"1fi1da"}],["path",{d:"m22 3-5 5",key:"12jva0"}],["path",{d:"m17 3 5 5",key:"k36vhe"}]],u4=e("FilterX",OS);/** + */const JS=[["path",{d:"M13.013 3H2l8 9.46V19l4 2v-8.54l.9-1.055",key:"1fi1da"}],["path",{d:"m22 3-5 5",key:"12jva0"}],["path",{d:"m17 3 5 5",key:"k36vhe"}]],I4=e("FilterX",JS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZS=[["path",{d:"M15 6.5V3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3.5",key:"sqyvz"}],["path",{d:"M9 18h8",key:"i7pszb"}],["path",{d:"M18 3h-3",key:"7idoqj"}],["path",{d:"M11 3a6 6 0 0 0-6 6v11",key:"1v5je3"}],["path",{d:"M5 13h4",key:"svpcxo"}],["path",{d:"M17 10a4 4 0 0 0-8 0v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2Z",key:"vsjego"}]],M4=e("FireExtinguisher",ZS);/** + */const QS=[["path",{d:"M15 6.5V3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3.5",key:"sqyvz"}],["path",{d:"M9 18h8",key:"i7pszb"}],["path",{d:"M18 3h-3",key:"7idoqj"}],["path",{d:"M11 3a6 6 0 0 0-6 6v11",key:"1v5je3"}],["path",{d:"M5 13h4",key:"svpcxo"}],["path",{d:"M17 10a4 4 0 0 0-8 0v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2Z",key:"vsjego"}]],N4=e("FireExtinguisher",QS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GS=[["path",{d:"M18 12.47v.03m0-.5v.47m-.475 5.056A6.744 6.744 0 0 1 15 18c-3.56 0-7.56-2.53-8.5-6 .348-1.28 1.114-2.433 2.121-3.38m3.444-2.088A8.802 8.802 0 0 1 15 6c3.56 0 6.06 2.54 7 6-.309 1.14-.786 2.177-1.413 3.058",key:"1j1hse"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33m7.48-4.372A9.77 9.77 0 0 1 16 6.07m0 11.86a9.77 9.77 0 0 1-1.728-3.618",key:"1q46z8"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98M8.53 3h5.27a2 2 0 0 1 1.98 1.67l.23 1.4M2 2l20 20",key:"1407gh"}]],v4=e("FishOff",GS);/** + */const YS=[["path",{d:"M18 12.47v.03m0-.5v.47m-.475 5.056A6.744 6.744 0 0 1 15 18c-3.56 0-7.56-2.53-8.5-6 .348-1.28 1.114-2.433 2.121-3.38m3.444-2.088A8.802 8.802 0 0 1 15 6c3.56 0 6.06 2.54 7 6-.309 1.14-.786 2.177-1.413 3.058",key:"1j1hse"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33m7.48-4.372A9.77 9.77 0 0 1 16 6.07m0 11.86a9.77 9.77 0 0 1-1.728-3.618",key:"1q46z8"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98M8.53 3h5.27a2 2 0 0 1 1.98 1.67l.23 1.4M2 2l20 20",key:"1407gh"}]],S4=e("FishOff",YS);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WS=[["path",{d:"M2 16s9-15 20-4C11 23 2 8 2 8",key:"h4oh4o"}]],m4=e("FishSymbol",WS);/** + */const eb=[["path",{d:"M2 16s9-15 20-4C11 23 2 8 2 8",key:"h4oh4o"}]],b4=e("FishSymbol",eb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ES=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],_4=e("Fish",ES);/** + */const ab=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],q4=e("Fish",ab);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XS=[["path",{d:"M8 2c3 0 5 2 8 2s4-1 4-1v11",key:"9rwyz9"}],["path",{d:"M4 22V4",key:"1plyxx"}],["path",{d:"M4 15s1-1 4-1 5 2 8 2",key:"1myooe"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],g4=e("FlagOff",XS);/** + */const ob=[["path",{d:"M8 2c3 0 5 2 8 2s4-1 4-1v11",key:"9rwyz9"}],["path",{d:"M4 22V4",key:"1plyxx"}],["path",{d:"M4 15s1-1 4-1 5 2 8 2",key:"1myooe"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],$4=e("FlagOff",ob);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KS=[["path",{d:"M17 22V2L7 7l10 5",key:"1rmf0r"}]],L4=e("FlagTriangleLeft",KS);/** + */const tb=[["path",{d:"M17 22V2L7 7l10 5",key:"1rmf0r"}]],A4=e("FlagTriangleLeft",tb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JS=[["path",{d:"M7 22V2l10 5-10 5",key:"17n18y"}]],x4=e("FlagTriangleRight",JS);/** + */const cb=[["path",{d:"M7 22V2l10 5-10 5",key:"17n18y"}]],H4=e("FlagTriangleRight",cb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QS=[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]],w4=e("Flag",QS);/** + */const nb=[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]],z4=e("Flag",nb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YS=[["path",{d:"M12 2c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 17 10a5 5 0 1 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C8 4.5 11 2 12 2Z",key:"1ir223"}],["path",{d:"m5 22 14-4",key:"1brv4h"}],["path",{d:"m5 18 14 4",key:"lgyyje"}]],f4=e("FlameKindling",YS);/** + */const db=[["path",{d:"M12 2c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 17 10a5 5 0 1 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C8 4.5 11 2 12 2Z",key:"1ir223"}],["path",{d:"m5 22 14-4",key:"1brv4h"}],["path",{d:"m5 18 14 4",key:"lgyyje"}]],j4=e("FlameKindling",db);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eq=[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]],C4=e("Flame",eq);/** + */const ib=[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]],P4=e("Flame",ib);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aq=[["path",{d:"M16 16v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V10c0-2-2-2-2-4",key:"1r120k"}],["path",{d:"M7 2h11v4c0 2-2 2-2 4v1",key:"dz1920"}],["line",{x1:"11",x2:"18",y1:"6",y2:"6",key:"bi1vpe"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],I4=e("FlashlightOff",aq);/** + */const hb=[["path",{d:"M16 16v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V10c0-2-2-2-2-4",key:"1r120k"}],["path",{d:"M7 2h11v4c0 2-2 2-2 4v1",key:"dz1920"}],["line",{x1:"11",x2:"18",y1:"6",y2:"6",key:"bi1vpe"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],V4=e("FlashlightOff",hb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oq=[["path",{d:"M18 6c0 2-2 2-2 4v10a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V10c0-2-2-2-2-4V2h12z",key:"1orkel"}],["line",{x1:"6",x2:"18",y1:"6",y2:"6",key:"1z11jq"}],["line",{x1:"12",x2:"12",y1:"12",y2:"12",key:"1f4yc1"}]],N4=e("Flashlight",oq);/** + */const yb=[["path",{d:"M18 6c0 2-2 2-2 4v10a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V10c0-2-2-2-2-4V2h12z",key:"1orkel"}],["line",{x1:"6",x2:"18",y1:"6",y2:"6",key:"1z11jq"}],["line",{x1:"12",x2:"12",y1:"12",y2:"12",key:"1f4yc1"}]],B4=e("Flashlight",yb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cq=[["path",{d:"M10 2v2.343",key:"15t272"}],["path",{d:"M14 2v6.343",key:"sxr80q"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20 20a2 2 0 0 1-2 2H6a2 2 0 0 1-1.755-2.96l5.227-9.563",key:"k0duyd"}],["path",{d:"M6.453 15H15",key:"1f0z33"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],S4=e("FlaskConicalOff",cq);/** + */const rb=[["path",{d:"M10 2v2.343",key:"15t272"}],["path",{d:"M14 2v6.343",key:"sxr80q"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20 20a2 2 0 0 1-2 2H6a2 2 0 0 1-1.755-2.96l5.227-9.563",key:"k0duyd"}],["path",{d:"M6.453 15H15",key:"1f0z33"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],F4=e("FlaskConicalOff",rb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tq=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],q4=e("FlaskConical",tq);/** + */const kb=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],D4=e("FlaskConical",kb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nq=[["path",{d:"M10 2v6.292a7 7 0 1 0 4 0V2",key:"1s42pc"}],["path",{d:"M5 15h14",key:"m0yey3"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],b4=e("FlaskRound",nq);/** + */const pb=[["path",{d:"M10 2v6.292a7 7 0 1 0 4 0V2",key:"1s42pc"}],["path",{d:"M5 15h14",key:"m0yey3"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],R4=e("FlaskRound",pb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dq=[["path",{d:"m3 7 5 5-5 5V7",key:"couhi7"}],["path",{d:"m21 7-5 5 5 5V7",key:"6ouia7"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],$4=e("FlipHorizontal2",dq);/** + */const sb=[["path",{d:"m3 7 5 5-5 5V7",key:"couhi7"}],["path",{d:"m21 7-5 5 5 5V7",key:"6ouia7"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],T4=e("FlipHorizontal2",sb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iq=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],A4=e("FlipHorizontal",iq);/** + */const lb=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],U4=e("FlipHorizontal",lb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hq=[["path",{d:"m17 3-5 5-5-5h10",key:"1ftt6x"}],["path",{d:"m17 21-5-5-5 5h10",key:"1m0wmu"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]],H4=e("FlipVertical2",hq);/** + */const ub=[["path",{d:"m17 3-5 5-5-5h10",key:"1ftt6x"}],["path",{d:"m17 21-5-5-5 5h10",key:"1m0wmu"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]],O4=e("FlipVertical2",ub);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yq=[["path",{d:"M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3",key:"14bfxa"}],["path",{d:"M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3",key:"14rx03"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]],z4=e("FlipVertical",yq);/** + */const Mb=[["path",{d:"M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3",key:"14bfxa"}],["path",{d:"M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3",key:"14rx03"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]],Z4=e("FlipVertical",Mb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rq=[["path",{d:"M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1",key:"3pnvol"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M12 10v12",key:"6ubwww"}],["path",{d:"M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z",key:"9hd38g"}],["path",{d:"M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z",key:"ufn41s"}]],P4=e("Flower2",rq);/** + */const vb=[["path",{d:"M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1",key:"3pnvol"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M12 10v12",key:"6ubwww"}],["path",{d:"M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z",key:"9hd38g"}],["path",{d:"M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z",key:"ufn41s"}]],G4=e("Flower2",vb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kq=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5",key:"14wa3c"}],["path",{d:"M12 7.5V9",key:"1oy5b0"}],["path",{d:"M7.5 12H9",key:"eltsq1"}],["path",{d:"M16.5 12H15",key:"vk5kw4"}],["path",{d:"M12 16.5V15",key:"k7eayi"}],["path",{d:"m8 8 1.88 1.88",key:"nxy4qf"}],["path",{d:"M14.12 9.88 16 8",key:"1lst6k"}],["path",{d:"m8 16 1.88-1.88",key:"h2eex1"}],["path",{d:"M14.12 14.12 16 16",key:"uqkrx3"}]],j4=e("Flower",kq);/** + */const mb=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5",key:"14wa3c"}],["path",{d:"M12 7.5V9",key:"1oy5b0"}],["path",{d:"M7.5 12H9",key:"eltsq1"}],["path",{d:"M16.5 12H15",key:"vk5kw4"}],["path",{d:"M12 16.5V15",key:"k7eayi"}],["path",{d:"m8 8 1.88 1.88",key:"nxy4qf"}],["path",{d:"M14.12 9.88 16 8",key:"1lst6k"}],["path",{d:"m8 16 1.88-1.88",key:"h2eex1"}],["path",{d:"M14.12 14.12 16 16",key:"uqkrx3"}]],W4=e("Flower",mb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pq=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]],V4=e("Focus",pq);/** + */const _b=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]],E4=e("Focus",_b);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sq=[["path",{d:"M2 12h6",key:"1wqiqv"}],["path",{d:"M22 12h-6",key:"1eg9hc"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m19 9-3 3 3 3",key:"12ol22"}],["path",{d:"m5 15 3-3-3-3",key:"1kdhjc"}]],B4=e("FoldHorizontal",sq);/** + */const gb=[["path",{d:"M2 12h6",key:"1wqiqv"}],["path",{d:"M22 12h-6",key:"1eg9hc"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m19 9-3 3 3 3",key:"12ol22"}],["path",{d:"m5 15 3-3-3-3",key:"1kdhjc"}]],X4=e("FoldHorizontal",gb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lq=[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3-3-3 3",key:"e37ymu"}],["path",{d:"m15 5-3 3-3-3",key:"19d6lf"}]],F4=e("FoldVertical",lq);/** + */const Lb=[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3-3-3 3",key:"e37ymu"}],["path",{d:"m15 5-3 3-3-3",key:"19d6lf"}]],K4=e("FoldVertical",Lb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uq=[["circle",{cx:"15",cy:"19",r:"2",key:"u2pros"}],["path",{d:"M20.9 19.8A2 2 0 0 0 22 18V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h5.1",key:"1jj40k"}],["path",{d:"M15 11v-1",key:"cntcp"}],["path",{d:"M15 17v-2",key:"1279jj"}]],D4=e("FolderArchive",uq);/** + */const xb=[["circle",{cx:"15",cy:"19",r:"2",key:"u2pros"}],["path",{d:"M20.9 19.8A2 2 0 0 0 22 18V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h5.1",key:"1jj40k"}],["path",{d:"M15 11v-1",key:"cntcp"}],["path",{d:"M15 17v-2",key:"1279jj"}]],J4=e("FolderArchive",xb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Mq=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]],R4=e("FolderCheck",Mq);/** + */const wb=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]],Q4=e("FolderCheck",wb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vq=[["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}],["path",{d:"M7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2",key:"1urifu"}],["path",{d:"M16 14v2l1 1",key:"xth2jh"}]],T4=e("FolderClock",vq);/** + */const fb=[["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}],["path",{d:"M7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2",key:"1urifu"}],["path",{d:"M16 14v2l1 1",key:"xth2jh"}]],Y4=e("FolderClock",fb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mq=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M2 10h20",key:"1ir3d8"}]],U4=e("FolderClosed",mq);/** + */const Cb=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M2 10h20",key:"1ir3d8"}]],ek=e("FolderClosed",Cb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _q=[["path",{d:"M10 10.5 8 13l2 2.5",key:"m4t9c1"}],["path",{d:"m14 10.5 2 2.5-2 2.5",key:"14w2eb"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z",key:"1u1bxd"}]],O4=e("FolderCode",_q);/** + */const Ib=[["path",{d:"M10 10.5 8 13l2 2.5",key:"m4t9c1"}],["path",{d:"m14 10.5 2 2.5-2 2.5",key:"14w2eb"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z",key:"1u1bxd"}]],ak=e("FolderCode",Ib);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gq=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"M10.3 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v3.3",key:"1k8050"}],["path",{d:"m21.7 19.4-.9-.3",key:"1qgwi9"}],["path",{d:"m15.2 16.9-.9-.3",key:"1t7mvx"}],["path",{d:"m16.6 21.7.3-.9",key:"1j67ps"}],["path",{d:"m19.1 15.2.3-.9",key:"18r7jp"}],["path",{d:"m19.6 21.7-.4-1",key:"z2vh2"}],["path",{d:"m16.8 15.3-.4-1",key:"1ei7r6"}],["path",{d:"m14.3 19.6 1-.4",key:"11sv9r"}],["path",{d:"m20.7 16.8 1-.4",key:"19m87a"}]],W1=e("FolderCog",gq);/** + */const Nb=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"M10.3 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v3.3",key:"1k8050"}],["path",{d:"m21.7 19.4-.9-.3",key:"1qgwi9"}],["path",{d:"m15.2 16.9-.9-.3",key:"1t7mvx"}],["path",{d:"m16.6 21.7.3-.9",key:"1j67ps"}],["path",{d:"m19.1 15.2.3-.9",key:"18r7jp"}],["path",{d:"m19.6 21.7-.4-1",key:"z2vh2"}],["path",{d:"m16.8 15.3-.4-1",key:"1ei7r6"}],["path",{d:"m14.3 19.6 1-.4",key:"11sv9r"}],["path",{d:"m20.7 16.8 1-.4",key:"19m87a"}]],X1=e("FolderCog",Nb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Lq=[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["circle",{cx:"12",cy:"13",r:"1",key:"49l61u"}]],Z4=e("FolderDot",Lq);/** + */const Sb=[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["circle",{cx:"12",cy:"13",r:"1",key:"49l61u"}]],ok=e("FolderDot",Sb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xq=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m15 13-3 3-3-3",key:"6j2sf0"}]],G4=e("FolderDown",xq);/** + */const bb=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m15 13-3 3-3-3",key:"6j2sf0"}]],tk=e("FolderDown",bb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wq=[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["path",{d:"M18 19c-2.8 0-5-2.2-5-5v8",key:"pkpw2h"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]],W4=e("FolderGit2",wq);/** + */const qb=[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["path",{d:"M18 19c-2.8 0-5-2.2-5-5v8",key:"pkpw2h"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]],ck=e("FolderGit2",qb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fq=[["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M14 13h3",key:"1dgedf"}],["path",{d:"M7 13h3",key:"1pygq7"}]],E4=e("FolderGit",fq);/** + */const $b=[["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M14 13h3",key:"1dgedf"}],["path",{d:"M7 13h3",key:"1pygq7"}]],nk=e("FolderGit",$b);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Cq=[["path",{d:"M11 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v1.5",key:"6hud8k"}],["path",{d:"M13.9 17.45c-1.2-1.2-1.14-2.8-.2-3.73a2.43 2.43 0 0 1 3.44 0l.36.34.34-.34a2.43 2.43 0 0 1 3.45-.01c.95.95 1 2.53-.2 3.74L17.5 21Z",key:"wpff58"}]],X4=e("FolderHeart",Cq);/** + */const Ab=[["path",{d:"M11 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v1.5",key:"6hud8k"}],["path",{d:"M13.9 17.45c-1.2-1.2-1.14-2.8-.2-3.73a2.43 2.43 0 0 1 3.44 0l.36.34.34-.34a2.43 2.43 0 0 1 3.45-.01c.95.95 1 2.53-.2 3.74L17.5 21Z",key:"wpff58"}]],dk=e("FolderHeart",Ab);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Iq=[["path",{d:"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1",key:"fm4g5t"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m9 16 3-3-3-3",key:"6m91ic"}]],K4=e("FolderInput",Iq);/** + */const Hb=[["path",{d:"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1",key:"fm4g5t"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m9 16 3-3-3-3",key:"6m91ic"}]],ik=e("FolderInput",Hb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Nq=[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]],J4=e("FolderKanban",Nq);/** + */const zb=[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]],hk=e("FolderKanban",zb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Sq=[["circle",{cx:"16",cy:"20",r:"2",key:"1vifvg"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2",key:"3hgo9p"}],["path",{d:"m22 14-4.5 4.5",key:"1ef6z8"}],["path",{d:"m21 15 1 1",key:"1ejcpy"}]],Q4=e("FolderKey",Sq);/** + */const jb=[["circle",{cx:"16",cy:"20",r:"2",key:"1vifvg"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2",key:"3hgo9p"}],["path",{d:"m22 14-4.5 4.5",key:"1ef6z8"}],["path",{d:"m21 15 1 1",key:"1ejcpy"}]],yk=e("FolderKey",jb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qq=[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]],Y4=e("FolderLock",qq);/** + */const Pb=[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]],rk=e("FolderLock",Pb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bq=[["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],ek=e("FolderMinus",bq);/** + */const Vb=[["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],kk=e("FolderMinus",Vb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $q=[["path",{d:"m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2",key:"1nmvlm"}],["circle",{cx:"14",cy:"15",r:"1",key:"1gm4qj"}]],ak=e("FolderOpenDot",$q);/** + */const Bb=[["path",{d:"m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2",key:"1nmvlm"}],["circle",{cx:"14",cy:"15",r:"1",key:"1gm4qj"}]],pk=e("FolderOpenDot",Bb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Aq=[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]],ok=e("FolderOutput",Aq);/** + */const Fb=[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]],sk=e("FolderOutput",Fb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Hq=[["path",{d:"M2 11.5V5a2 2 0 0 1 2-2h3.9c.7 0 1.3.3 1.7.9l.8 1.2c.4.6 1 .9 1.7.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.5",key:"a8xqs0"}],["path",{d:"M11.378 13.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1saktj"}]],E1=e("FolderPen",Hq);/** + */const Db=[["path",{d:"M2 11.5V5a2 2 0 0 1 2-2h3.9c.7 0 1.3.3 1.7.9l.8 1.2c.4.6 1 .9 1.7.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.5",key:"a8xqs0"}],["path",{d:"M11.378 13.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1saktj"}]],K1=e("FolderPen",Db);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zq=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],ck=e("FolderPlus",zq);/** + */const Rb=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],lk=e("FolderPlus",Rb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Pq=[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}],["path",{d:"M12 15v5",key:"11xva1"}]],tk=e("FolderRoot",Pq);/** + */const Tb=[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}],["path",{d:"M12 15v5",key:"11xva1"}]],uk=e("FolderRoot",Tb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jq=[["circle",{cx:"11.5",cy:"12.5",r:"2.5",key:"1ea5ju"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M13.3 14.3 15 16",key:"1y4v1n"}]],nk=e("FolderSearch2",jq);/** + */const Ub=[["circle",{cx:"11.5",cy:"12.5",r:"2.5",key:"1ea5ju"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M13.3 14.3 15 16",key:"1y4v1n"}]],Mk=e("FolderSearch2",Ub);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vq=[["path",{d:"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1",key:"1bw5m7"}],["path",{d:"m21 21-1.9-1.9",key:"1g2n9r"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}]],dk=e("FolderSearch",Vq);/** + */const Ob=[["path",{d:"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1",key:"1bw5m7"}],["path",{d:"m21 21-1.9-1.9",key:"1g2n9r"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}]],vk=e("FolderSearch",Ob);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bq=[["path",{d:"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7",key:"x1c07l"}],["path",{d:"m8 16 3-3-3-3",key:"rlqrt1"}]],ik=e("FolderSymlink",Bq);/** + */const Zb=[["path",{d:"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7",key:"x1c07l"}],["path",{d:"m8 16 3-3-3-3",key:"rlqrt1"}]],mk=e("FolderSymlink",Zb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fq=[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5",key:"1dkoa9"}],["path",{d:"M12 10v4h4",key:"1czhmt"}],["path",{d:"m12 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"lvuxfi"}],["path",{d:"M22 22v-4h-4",key:"1ewp4q"}],["path",{d:"m22 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"14ync0"}]],hk=e("FolderSync",Fq);/** + */const Gb=[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5",key:"1dkoa9"}],["path",{d:"M12 10v4h4",key:"1czhmt"}],["path",{d:"m12 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"lvuxfi"}],["path",{d:"M22 22v-4h-4",key:"1ewp4q"}],["path",{d:"m22 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"14ync0"}]],_k=e("FolderSync",Gb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Dq=[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]],yk=e("FolderTree",Dq);/** + */const Wb=[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]],gk=e("FolderTree",Wb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Rq=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m9 13 3-3 3 3",key:"1pxg3c"}]],rk=e("FolderUp",Rq);/** + */const Eb=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m9 13 3-3 3 3",key:"1pxg3c"}]],Lk=e("FolderUp",Eb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Tq=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9.5 10.5 5 5",key:"ra9qjz"}],["path",{d:"m14.5 10.5-5 5",key:"l2rkpq"}]],kk=e("FolderX",Tq);/** + */const Xb=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9.5 10.5 5 5",key:"ra9qjz"}],["path",{d:"m14.5 10.5-5 5",key:"l2rkpq"}]],xk=e("FolderX",Xb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Uq=[["path",{d:"M20 17a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3.9a2 2 0 0 1-1.69-.9l-.81-1.2a2 2 0 0 0-1.67-.9H8a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2Z",key:"4u7rpt"}],["path",{d:"M2 8v11a2 2 0 0 0 2 2h14",key:"1eicx1"}]],pk=e("Folders",Uq);/** + */const Kb=[["path",{d:"M20 17a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3.9a2 2 0 0 1-1.69-.9l-.81-1.2a2 2 0 0 0-1.67-.9H8a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2Z",key:"4u7rpt"}],["path",{d:"M2 8v11a2 2 0 0 0 2 2h14",key:"1eicx1"}]],wk=e("Folders",Kb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Oq=[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]],sk=e("Footprints",Oq);/** + */const Jb=[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]],fk=e("Footprints",Jb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zq=[["path",{d:"M12 12H5a2 2 0 0 0-2 2v5",key:"7zsz91"}],["circle",{cx:"13",cy:"19",r:"2",key:"wjnkru"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M8 19h3m5-17v17h6M6 12V7c0-1.1.9-2 2-2h3l5 5",key:"13bk1p"}]],lk=e("Forklift",Zq);/** + */const Qb=[["path",{d:"M12 12H5a2 2 0 0 0-2 2v5",key:"7zsz91"}],["circle",{cx:"13",cy:"19",r:"2",key:"wjnkru"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M8 19h3m5-17v17h6M6 12V7c0-1.1.9-2 2-2h3l5 5",key:"13bk1p"}]],Ck=e("Forklift",Qb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Gq=[["polyline",{points:"15 17 20 12 15 7",key:"1w3sku"}],["path",{d:"M4 18v-2a4 4 0 0 1 4-4h12",key:"jmiej9"}]],uk=e("Forward",Gq);/** + */const Yb=[["polyline",{points:"15 17 20 12 15 7",key:"1w3sku"}],["path",{d:"M4 18v-2a4 4 0 0 1 4-4h12",key:"jmiej9"}]],Ik=e("Forward",Yb);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Wq=[["line",{x1:"22",x2:"2",y1:"6",y2:"6",key:"15w7dq"}],["line",{x1:"22",x2:"2",y1:"18",y2:"18",key:"1ip48p"}],["line",{x1:"6",x2:"6",y1:"2",y2:"22",key:"a2lnyx"}],["line",{x1:"18",x2:"18",y1:"2",y2:"22",key:"8vb6jd"}]],Mk=e("Frame",Wq);/** + */const eq=[["line",{x1:"22",x2:"2",y1:"6",y2:"6",key:"15w7dq"}],["line",{x1:"22",x2:"2",y1:"18",y2:"18",key:"1ip48p"}],["line",{x1:"6",x2:"6",y1:"2",y2:"22",key:"a2lnyx"}],["line",{x1:"18",x2:"18",y1:"2",y2:"22",key:"8vb6jd"}]],Nk=e("Frame",eq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Eq=[["path",{d:"M5 16V9h14V2H5l14 14h-7m-7 0 7 7v-7m-7 0h7",key:"1a2nng"}]],vk=e("Framer",Eq);/** + */const aq=[["path",{d:"M5 16V9h14V2H5l14 14h-7m-7 0 7 7v-7m-7 0h7",key:"1a2nng"}]],Sk=e("Framer",aq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xq=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],mk=e("Frown",Xq);/** + */const oq=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],bk=e("Frown",oq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Kq=[["line",{x1:"3",x2:"15",y1:"22",y2:"22",key:"xegly4"}],["line",{x1:"4",x2:"14",y1:"9",y2:"9",key:"xcnuvu"}],["path",{d:"M14 22V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v18",key:"16j0yd"}],["path",{d:"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 2 2a2 2 0 0 0 2-2V9.83a2 2 0 0 0-.59-1.42L18 5",key:"7cu91f"}]],_k=e("Fuel",Kq);/** + */const tq=[["line",{x1:"3",x2:"15",y1:"22",y2:"22",key:"xegly4"}],["line",{x1:"4",x2:"14",y1:"9",y2:"9",key:"xcnuvu"}],["path",{d:"M14 22V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v18",key:"16j0yd"}],["path",{d:"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 2 2a2 2 0 0 0 2-2V9.83a2 2 0 0 0-.59-1.42L18 5",key:"7cu91f"}]],qk=e("Fuel",tq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Jq=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{width:"10",height:"8",x:"7",y:"8",rx:"1",key:"vys8me"}]],gk=e("Fullscreen",Jq);/** + */const cq=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{width:"10",height:"8",x:"7",y:"8",rx:"1",key:"vys8me"}]],$k=e("Fullscreen",cq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Qq=[["path",{d:"M2 7v10",key:"a2pl2d"}],["path",{d:"M6 5v14",key:"1kq3d7"}],["rect",{width:"12",height:"18",x:"10",y:"3",rx:"2",key:"13i7bc"}]],Lk=e("GalleryHorizontalEnd",Qq);/** + */const nq=[["path",{d:"M2 7v10",key:"a2pl2d"}],["path",{d:"M6 5v14",key:"1kq3d7"}],["rect",{width:"12",height:"18",x:"10",y:"3",rx:"2",key:"13i7bc"}]],Ak=e("GalleryHorizontalEnd",nq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Yq=[["path",{d:"M2 3v18",key:"pzttux"}],["rect",{width:"12",height:"18",x:"6",y:"3",rx:"2",key:"btr8bg"}],["path",{d:"M22 3v18",key:"6jf3v"}]],xk=e("GalleryHorizontal",Yq);/** + */const dq=[["path",{d:"M2 3v18",key:"pzttux"}],["rect",{width:"12",height:"18",x:"6",y:"3",rx:"2",key:"btr8bg"}],["path",{d:"M22 3v18",key:"6jf3v"}]],Hk=e("GalleryHorizontal",dq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eb=[["rect",{width:"18",height:"14",x:"3",y:"3",rx:"2",key:"74y24f"}],["path",{d:"M4 21h1",key:"16zlid"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M19 21h1",key:"edywat"}]],wk=e("GalleryThumbnails",eb);/** + */const iq=[["rect",{width:"18",height:"14",x:"3",y:"3",rx:"2",key:"74y24f"}],["path",{d:"M4 21h1",key:"16zlid"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M19 21h1",key:"edywat"}]],zk=e("GalleryThumbnails",iq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ab=[["path",{d:"M7 2h10",key:"nczekb"}],["path",{d:"M5 6h14",key:"u2x4p"}],["rect",{width:"18",height:"12",x:"3",y:"10",rx:"2",key:"l0tzu3"}]],fk=e("GalleryVerticalEnd",ab);/** + */const hq=[["path",{d:"M7 2h10",key:"nczekb"}],["path",{d:"M5 6h14",key:"u2x4p"}],["rect",{width:"18",height:"12",x:"3",y:"10",rx:"2",key:"l0tzu3"}]],jk=e("GalleryVerticalEnd",hq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ob=[["path",{d:"M3 2h18",key:"15qxfx"}],["rect",{width:"18",height:"12",x:"3",y:"6",rx:"2",key:"1439r6"}],["path",{d:"M3 22h18",key:"8prr45"}]],Ck=e("GalleryVertical",ob);/** + */const yq=[["path",{d:"M3 2h18",key:"15qxfx"}],["rect",{width:"18",height:"12",x:"3",y:"6",rx:"2",key:"1439r6"}],["path",{d:"M3 22h18",key:"8prr45"}]],Pk=e("GalleryVertical",yq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cb=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],Ik=e("Gamepad2",cb);/** + */const rq=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],Vk=e("Gamepad2",rq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tb=[["line",{x1:"6",x2:"10",y1:"12",y2:"12",key:"161bw2"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"15",x2:"15.01",y1:"13",y2:"13",key:"dqpgro"}],["line",{x1:"18",x2:"18.01",y1:"11",y2:"11",key:"meh2c"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],Nk=e("Gamepad",tb);/** + */const kq=[["line",{x1:"6",x2:"10",y1:"12",y2:"12",key:"161bw2"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"15",x2:"15.01",y1:"13",y2:"13",key:"dqpgro"}],["line",{x1:"18",x2:"18.01",y1:"11",y2:"11",key:"meh2c"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],Bk=e("Gamepad",kq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nb=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],Sk=e("Gauge",nb);/** + */const pq=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],Fk=e("Gauge",pq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const db=[["path",{d:"m14.5 12.5-8 8a2.119 2.119 0 1 1-3-3l8-8",key:"15492f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m9 7 8 8",key:"5jnvq1"}],["path",{d:"m21 11-8-8",key:"z4y7zo"}]],qk=e("Gavel",db);/** + */const sq=[["path",{d:"m14.5 12.5-8 8a2.119 2.119 0 1 1-3-3l8-8",key:"15492f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m9 7 8 8",key:"5jnvq1"}],["path",{d:"m21 11-8-8",key:"z4y7zo"}]],Dk=e("Gavel",sq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ib=[["path",{d:"M6 3h12l4 6-10 13L2 9Z",key:"1pcd5k"}],["path",{d:"M11 3 8 9l4 13 4-13-3-6",key:"1fcu3u"}],["path",{d:"M2 9h20",key:"16fsjt"}]],bk=e("Gem",ib);/** + */const lq=[["path",{d:"M6 3h12l4 6-10 13L2 9Z",key:"1pcd5k"}],["path",{d:"M11 3 8 9l4 13 4-13-3-6",key:"1fcu3u"}],["path",{d:"M2 9h20",key:"16fsjt"}]],Rk=e("Gem",lq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hb=[["path",{d:"M9 10h.01",key:"qbtxuw"}],["path",{d:"M15 10h.01",key:"1qmjsl"}],["path",{d:"M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z",key:"uwwb07"}]],$k=e("Ghost",hb);/** + */const uq=[["path",{d:"M9 10h.01",key:"qbtxuw"}],["path",{d:"M15 10h.01",key:"1qmjsl"}],["path",{d:"M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z",key:"uwwb07"}]],Tk=e("Ghost",uq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yb=[["path",{d:"M6 3v12",key:"qpgusn"}],["path",{d:"M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"1d02ji"}],["path",{d:"M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"chk6ph"}],["path",{d:"M15 6a9 9 0 0 0-9 9",key:"or332x"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],Ak=e("GitBranchPlus",yb);/** + */const Mq=[["path",{d:"M6 3v12",key:"qpgusn"}],["path",{d:"M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"1d02ji"}],["path",{d:"M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"chk6ph"}],["path",{d:"M15 6a9 9 0 0 0-9 9",key:"or332x"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],Uk=e("GitBranchPlus",Mq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rb=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],X1=e("GitCommitHorizontal",rb);/** + */const vq=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],J1=e("GitCommitHorizontal",vq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kb=[["path",{d:"M12 3v6",key:"1holv5"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M12 15v6",key:"a9ows0"}]],Hk=e("GitCommitVertical",kb);/** + */const mq=[["path",{d:"M12 3v6",key:"1holv5"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M12 15v6",key:"a9ows0"}]],Ok=e("GitCommitVertical",mq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pb=[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"M12 18H7a2 2 0 0 1-2-2V9",key:"16sdep"}],["path",{d:"m9 15 3 3-3 3",key:"1m3kbl"}]],zk=e("GitCompareArrows",pb);/** + */const _q=[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"M12 18H7a2 2 0 0 1-2-2V9",key:"16sdep"}],["path",{d:"m9 15 3 3-3 3",key:"1m3kbl"}]],Zk=e("GitCompareArrows",_q);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sb=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]],Pk=e("GitCompare",sb);/** + */const gq=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]],Gk=e("GitCompare",gq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lb=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],jk=e("GitFork",lb);/** + */const Lq=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],Wk=e("GitFork",Lq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ub=[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v6",key:"158jrl"}],["circle",{cx:"5",cy:"18",r:"3",key:"104gr9"}],["path",{d:"M12 3v18",key:"108xh3"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}],["path",{d:"M16 15.7A9 9 0 0 0 19 9",key:"1e3vqb"}]],Vk=e("GitGraph",ub);/** + */const xq=[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v6",key:"158jrl"}],["circle",{cx:"5",cy:"18",r:"3",key:"104gr9"}],["path",{d:"M12 3v18",key:"108xh3"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}],["path",{d:"M16 15.7A9 9 0 0 0 19 9",key:"1e3vqb"}]],Ek=e("GitGraph",xq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Mb=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],Bk=e("GitMerge",Mb);/** + */const wq=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],Xk=e("GitMerge",wq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vb=[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v12",key:"ih889a"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}]],Fk=e("GitPullRequestArrow",vb);/** + */const fq=[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v12",key:"ih889a"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}]],Kk=e("GitPullRequestArrow",fq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mb=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 9v12",key:"1sc30k"}],["path",{d:"m21 3-6 6",key:"16nqsk"}],["path",{d:"m21 9-6-6",key:"9j17rh"}],["path",{d:"M18 11.5V15",key:"65xf6f"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],Dk=e("GitPullRequestClosed",mb);/** + */const Cq=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 9v12",key:"1sc30k"}],["path",{d:"m21 3-6 6",key:"16nqsk"}],["path",{d:"m21 9-6-6",key:"9j17rh"}],["path",{d:"M18 11.5V15",key:"65xf6f"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],Jk=e("GitPullRequestClosed",Cq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _b=[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v12",key:"ih889a"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v3",key:"1rbwk6"}],["path",{d:"M19 15v6",key:"10aioa"}],["path",{d:"M22 18h-6",key:"1d5gi5"}]],Rk=e("GitPullRequestCreateArrow",_b);/** + */const Iq=[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v12",key:"ih889a"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v3",key:"1rbwk6"}],["path",{d:"M19 15v6",key:"10aioa"}],["path",{d:"M22 18h-6",key:"1d5gi5"}]],Qk=e("GitPullRequestCreateArrow",Iq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gb=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 9v12",key:"1sc30k"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v3",key:"1jb6z3"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],Tk=e("GitPullRequestCreate",gb);/** + */const Nq=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 9v12",key:"1sc30k"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v3",key:"1jb6z3"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],Yk=e("GitPullRequestCreate",Nq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Lb=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M18 6V5",key:"1oao2s"}],["path",{d:"M18 11v-1",key:"11c8tz"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]],Uk=e("GitPullRequestDraft",Lb);/** + */const Sq=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M18 6V5",key:"1oao2s"}],["path",{d:"M18 11v-1",key:"11c8tz"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]],ep=e("GitPullRequestDraft",Sq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xb=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]],Ok=e("GitPullRequest",xb);/** + */const bq=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]],ap=e("GitPullRequest",bq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wb=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],Zk=e("Github",wb);/** + */const qq=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],op=e("Github",qq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fb=[["path",{d:"m22 13.29-3.33-10a.42.42 0 0 0-.14-.18.38.38 0 0 0-.22-.11.39.39 0 0 0-.23.07.42.42 0 0 0-.14.18l-2.26 6.67H8.32L6.1 3.26a.42.42 0 0 0-.1-.18.38.38 0 0 0-.26-.08.39.39 0 0 0-.23.07.42.42 0 0 0-.14.18L2 13.29a.74.74 0 0 0 .27.83L12 21l9.69-6.88a.71.71 0 0 0 .31-.83Z",key:"148pdi"}]],Gk=e("Gitlab",fb);/** + */const $q=[["path",{d:"m22 13.29-3.33-10a.42.42 0 0 0-.14-.18.38.38 0 0 0-.22-.11.39.39 0 0 0-.23.07.42.42 0 0 0-.14.18l-2.26 6.67H8.32L6.1 3.26a.42.42 0 0 0-.1-.18.38.38 0 0 0-.26-.08.39.39 0 0 0-.23.07.42.42 0 0 0-.14.18L2 13.29a.74.74 0 0 0 .27.83L12 21l9.69-6.88a.71.71 0 0 0 .31-.83Z",key:"148pdi"}]],tp=e("Gitlab",$q);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Cb=[["path",{d:"M5.116 4.104A1 1 0 0 1 6.11 3h11.78a1 1 0 0 1 .994 1.105L17.19 20.21A2 2 0 0 1 15.2 22H8.8a2 2 0 0 1-2-1.79z",key:"p55z4y"}],["path",{d:"M6 12a5 5 0 0 1 6 0 5 5 0 0 0 6 0",key:"mjntcy"}]],Wk=e("GlassWater",Cb);/** + */const Aq=[["path",{d:"M5.116 4.104A1 1 0 0 1 6.11 3h11.78a1 1 0 0 1 .994 1.105L17.19 20.21A2 2 0 0 1 15.2 22H8.8a2 2 0 0 1-2-1.79z",key:"p55z4y"}],["path",{d:"M6 12a5 5 0 0 1 6 0 5 5 0 0 0 6 0",key:"mjntcy"}]],cp=e("GlassWater",Aq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ib=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],Ek=e("Glasses",Ib);/** + */const Hq=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],np=e("Glasses",Hq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Nb=[["path",{d:"M15.686 15A14.5 14.5 0 0 1 12 22a14.5 14.5 0 0 1 0-20 10 10 0 1 0 9.542 13",key:"qkt0x6"}],["path",{d:"M2 12h8.5",key:"ovaggd"}],["path",{d:"M20 6V4a2 2 0 1 0-4 0v2",key:"1of5e8"}],["rect",{width:"8",height:"5",x:"14",y:"6",rx:"1",key:"1fmf51"}]],Xk=e("GlobeLock",Nb);/** + */const zq=[["path",{d:"M15.686 15A14.5 14.5 0 0 1 12 22a14.5 14.5 0 0 1 0-20 10 10 0 1 0 9.542 13",key:"qkt0x6"}],["path",{d:"M2 12h8.5",key:"ovaggd"}],["path",{d:"M20 6V4a2 2 0 1 0-4 0v2",key:"1of5e8"}],["rect",{width:"8",height:"5",x:"14",y:"6",rx:"1",key:"1fmf51"}]],dp=e("GlobeLock",zq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Sb=[["path",{d:"M12 13V2l8 4-8 4",key:"5wlwwj"}],["path",{d:"M20.561 10.222a9 9 0 1 1-12.55-5.29",key:"1c0wjv"}],["path",{d:"M8.002 9.997a5 5 0 1 0 8.9 2.02",key:"gb1g7m"}]],Kk=e("Goal",Sb);/** + */const jq=[["path",{d:"M12 13V2l8 4-8 4",key:"5wlwwj"}],["path",{d:"M20.561 10.222a9 9 0 1 1-12.55-5.29",key:"1c0wjv"}],["path",{d:"M8.002 9.997a5 5 0 1 0 8.9 2.02",key:"gb1g7m"}]],ip=e("Goal",jq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qb=[["path",{d:"M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4",key:"edstyy"}],["path",{d:"M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"19wdwo"}],["path",{d:"M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5",key:"1lugqo"}],["path",{d:"M6 14a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1hbeus"}],["path",{d:"M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0",key:"1etffm"}]],Jk=e("Grab",qb);/** + */const Pq=[["path",{d:"M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4",key:"edstyy"}],["path",{d:"M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"19wdwo"}],["path",{d:"M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5",key:"1lugqo"}],["path",{d:"M6 14a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1hbeus"}],["path",{d:"M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0",key:"1etffm"}]],hp=e("Grab",Pq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bb=[["path",{d:"M22 5V2l-5.89 5.89",key:"1eenpo"}],["circle",{cx:"16.6",cy:"15.89",r:"3",key:"xjtalx"}],["circle",{cx:"8.11",cy:"7.4",r:"3",key:"u2fv6i"}],["circle",{cx:"12.35",cy:"11.65",r:"3",key:"i6i8g7"}],["circle",{cx:"13.91",cy:"5.85",r:"3",key:"6ye0dv"}],["circle",{cx:"18.15",cy:"10.09",r:"3",key:"snx9no"}],["circle",{cx:"6.56",cy:"13.2",r:"3",key:"17x4xg"}],["circle",{cx:"10.8",cy:"17.44",r:"3",key:"1hogw9"}],["circle",{cx:"5",cy:"19",r:"3",key:"1sn6vo"}]],Qk=e("Grape",bb);/** + */const Vq=[["path",{d:"M22 5V2l-5.89 5.89",key:"1eenpo"}],["circle",{cx:"16.6",cy:"15.89",r:"3",key:"xjtalx"}],["circle",{cx:"8.11",cy:"7.4",r:"3",key:"u2fv6i"}],["circle",{cx:"12.35",cy:"11.65",r:"3",key:"i6i8g7"}],["circle",{cx:"13.91",cy:"5.85",r:"3",key:"6ye0dv"}],["circle",{cx:"18.15",cy:"10.09",r:"3",key:"snx9no"}],["circle",{cx:"6.56",cy:"13.2",r:"3",key:"17x4xg"}],["circle",{cx:"10.8",cy:"17.44",r:"3",key:"1hogw9"}],["circle",{cx:"5",cy:"19",r:"3",key:"1sn6vo"}]],yp=e("Grape",Vq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $b=[["path",{d:"M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3",key:"11za1p"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],K1=e("Grid2x2Check",$b);/** + */const Bq=[["path",{d:"M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3",key:"11za1p"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],Q1=e("Grid2x2Check",Bq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ab=[["path",{d:"M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3",key:"11za1p"}],["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M19 22v-6",key:"qhmiwi"}]],J1=e("Grid2x2Plus",Ab);/** + */const Fq=[["path",{d:"M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3",key:"11za1p"}],["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M19 22v-6",key:"qhmiwi"}]],Y1=e("Grid2x2Plus",Fq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Hb=[["path",{d:"M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3",key:"11za1p"}],["path",{d:"m16 16 5 5",key:"8tpb07"}],["path",{d:"m16 21 5-5",key:"193jll"}]],Q1=e("Grid2x2X",Hb);/** + */const Dq=[["path",{d:"M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3",key:"11za1p"}],["path",{d:"m16 16 5 5",key:"8tpb07"}],["path",{d:"m16 21 5-5",key:"193jll"}]],ee=e("Grid2x2X",Dq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zb=[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]],Y1=e("Grid2x2",zb);/** + */const Rq=[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]],ae=e("Grid2x2",Rq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Pb=[["circle",{cx:"12",cy:"9",r:"1",key:"124mty"}],["circle",{cx:"19",cy:"9",r:"1",key:"1ruzo2"}],["circle",{cx:"5",cy:"9",r:"1",key:"1a8b28"}],["circle",{cx:"12",cy:"15",r:"1",key:"1e56xg"}],["circle",{cx:"19",cy:"15",r:"1",key:"1a92ep"}],["circle",{cx:"5",cy:"15",r:"1",key:"5r1jwy"}]],Yk=e("GripHorizontal",Pb);/** + */const Tq=[["circle",{cx:"12",cy:"9",r:"1",key:"124mty"}],["circle",{cx:"19",cy:"9",r:"1",key:"1ruzo2"}],["circle",{cx:"5",cy:"9",r:"1",key:"1a8b28"}],["circle",{cx:"12",cy:"15",r:"1",key:"1e56xg"}],["circle",{cx:"19",cy:"15",r:"1",key:"1a92ep"}],["circle",{cx:"5",cy:"15",r:"1",key:"5r1jwy"}]],rp=e("GripHorizontal",Tq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jb=[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"19",cy:"5",r:"1",key:"w8mnmm"}],["circle",{cx:"5",cy:"5",r:"1",key:"lttvr7"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}],["circle",{cx:"19",cy:"19",r:"1",key:"shf9b7"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]],ep=e("Grip",jb);/** + */const Uq=[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"19",cy:"5",r:"1",key:"w8mnmm"}],["circle",{cx:"5",cy:"5",r:"1",key:"lttvr7"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}],["circle",{cx:"19",cy:"19",r:"1",key:"shf9b7"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]],kp=e("Grip",Uq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vb=[["path",{d:"M3 7V5c0-1.1.9-2 2-2h2",key:"adw53z"}],["path",{d:"M17 3h2c1.1 0 2 .9 2 2v2",key:"an4l38"}],["path",{d:"M21 17v2c0 1.1-.9 2-2 2h-2",key:"144t0e"}],["path",{d:"M7 21H5c-1.1 0-2-.9-2-2v-2",key:"rtnfgi"}],["rect",{width:"7",height:"5",x:"7",y:"7",rx:"1",key:"1eyiv7"}],["rect",{width:"7",height:"5",x:"10",y:"12",rx:"1",key:"1qlmkx"}]],ap=e("Group",Vb);/** + */const Oq=[["path",{d:"M3 7V5c0-1.1.9-2 2-2h2",key:"adw53z"}],["path",{d:"M17 3h2c1.1 0 2 .9 2 2v2",key:"an4l38"}],["path",{d:"M21 17v2c0 1.1-.9 2-2 2h-2",key:"144t0e"}],["path",{d:"M7 21H5c-1.1 0-2-.9-2-2v-2",key:"rtnfgi"}],["rect",{width:"7",height:"5",x:"7",y:"7",rx:"1",key:"1eyiv7"}],["rect",{width:"7",height:"5",x:"10",y:"12",rx:"1",key:"1qlmkx"}]],pp=e("Group",Oq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bb=[["path",{d:"m11.9 12.1 4.514-4.514",key:"109xqo"}],["path",{d:"M20.1 2.3a1 1 0 0 0-1.4 0l-1.114 1.114A2 2 0 0 0 17 4.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 17.828 7h1.344a2 2 0 0 0 1.414-.586L21.7 5.3a1 1 0 0 0 0-1.4z",key:"txyc8t"}],["path",{d:"m6 16 2 2",key:"16qmzd"}],["path",{d:"M8.2 9.9C8.7 8.8 9.8 8 11 8c2.8 0 5 2.2 5 5 0 1.2-.8 2.3-1.9 2.8l-.9.4A2 2 0 0 0 12 18a4 4 0 0 1-4 4c-3.3 0-6-2.7-6-6a4 4 0 0 1 4-4 2 2 0 0 0 1.8-1.2z",key:"1u8q3z"}],["circle",{cx:"11.5",cy:"12.5",r:".5",fill:"currentColor",key:"16onso"}]],op=e("Guitar",Bb);/** + */const Zq=[["path",{d:"m11.9 12.1 4.514-4.514",key:"109xqo"}],["path",{d:"M20.1 2.3a1 1 0 0 0-1.4 0l-1.114 1.114A2 2 0 0 0 17 4.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 17.828 7h1.344a2 2 0 0 0 1.414-.586L21.7 5.3a1 1 0 0 0 0-1.4z",key:"txyc8t"}],["path",{d:"m6 16 2 2",key:"16qmzd"}],["path",{d:"M8.2 9.9C8.7 8.8 9.8 8 11 8c2.8 0 5 2.2 5 5 0 1.2-.8 2.3-1.9 2.8l-.9.4A2 2 0 0 0 12 18a4 4 0 0 1-4 4c-3.3 0-6-2.7-6-6a4 4 0 0 1 4-4 2 2 0 0 0 1.8-1.2z",key:"1u8q3z"}],["circle",{cx:"11.5",cy:"12.5",r:".5",fill:"currentColor",key:"16onso"}]],sp=e("Guitar",Zq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fb=[["path",{d:"M13.144 21.144A7.274 10.445 45 1 0 2.856 10.856",key:"1k1t7q"}],["path",{d:"M13.144 21.144A7.274 4.365 45 0 0 2.856 10.856a7.274 4.365 45 0 0 10.288 10.288",key:"153t1g"}],["path",{d:"M16.565 10.435 18.6 8.4a2.501 2.501 0 1 0 1.65-4.65 2.5 2.5 0 1 0-4.66 1.66l-2.024 2.025",key:"gzrt0n"}],["path",{d:"m8.5 16.5-1-1",key:"otr954"}]],cp=e("Ham",Fb);/** + */const Gq=[["path",{d:"M13.144 21.144A7.274 10.445 45 1 0 2.856 10.856",key:"1k1t7q"}],["path",{d:"M13.144 21.144A7.274 4.365 45 0 0 2.856 10.856a7.274 4.365 45 0 0 10.288 10.288",key:"153t1g"}],["path",{d:"M16.565 10.435 18.6 8.4a2.501 2.501 0 1 0 1.65-4.65 2.5 2.5 0 1 0-4.66 1.66l-2.024 2.025",key:"gzrt0n"}],["path",{d:"m8.5 16.5-1-1",key:"otr954"}]],lp=e("Ham",Gq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Db=[["path",{d:"m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9",key:"eefl8a"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"b7pghm"}]],tp=e("Hammer",Db);/** + */const Wq=[["path",{d:"m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9",key:"eefl8a"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"b7pghm"}]],up=e("Hammer",Wq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Rb=[["path",{d:"M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17",key:"geh8rc"}],["path",{d:"m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"1fto5m"}],["path",{d:"m2 16 6 6",key:"1pfhp9"}],["circle",{cx:"16",cy:"9",r:"2.9",key:"1n0dlu"}],["circle",{cx:"6",cy:"5",r:"3",key:"151irh"}]],np=e("HandCoins",Rb);/** + */const Eq=[["path",{d:"M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17",key:"geh8rc"}],["path",{d:"m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"1fto5m"}],["path",{d:"m2 16 6 6",key:"1pfhp9"}],["circle",{cx:"16",cy:"9",r:"2.9",key:"1n0dlu"}],["circle",{cx:"6",cy:"5",r:"3",key:"151irh"}]],Mp=e("HandCoins",Eq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Tb=[["path",{d:"M11 14h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16",key:"1ifwr1"}],["path",{d:"m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"17abbs"}],["path",{d:"m2 15 6 6",key:"10dquu"}],["path",{d:"M19.5 8.5c.7-.7 1.5-1.6 1.5-2.7A2.73 2.73 0 0 0 16 4a2.78 2.78 0 0 0-5 1.8c0 1.2.8 2 1.5 2.8L16 12Z",key:"1h3036"}]],dp=e("HandHeart",Tb);/** + */const Xq=[["path",{d:"M11 14h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16",key:"1ifwr1"}],["path",{d:"m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"17abbs"}],["path",{d:"m2 15 6 6",key:"10dquu"}],["path",{d:"M19.5 8.5c.7-.7 1.5-1.6 1.5-2.7A2.73 2.73 0 0 0 16 4a2.78 2.78 0 0 0-5 1.8c0 1.2.8 2 1.5 2.8L16 12Z",key:"1h3036"}]],vp=e("HandHeart",Xq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ub=[["path",{d:"M11 12h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 14",key:"1j4xps"}],["path",{d:"m7 18 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"uospg8"}],["path",{d:"m2 13 6 6",key:"16e5sb"}]],ee=e("HandHelping",Ub);/** + */const Kq=[["path",{d:"M11 12h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 14",key:"1j4xps"}],["path",{d:"m7 18 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"uospg8"}],["path",{d:"m2 13 6 6",key:"16e5sb"}]],oe=e("HandHelping",Kq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ob=[["path",{d:"M18 12.5V10a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4",key:"wc6myp"}],["path",{d:"M14 11V9a2 2 0 1 0-4 0v2",key:"94qvcw"}],["path",{d:"M10 10.5V5a2 2 0 1 0-4 0v9",key:"m1ah89"}],["path",{d:"m7 15-1.76-1.76a2 2 0 0 0-2.83 2.82l3.6 3.6C7.5 21.14 9.2 22 12 22h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v5",key:"t1skq1"}]],ip=e("HandMetal",Ob);/** + */const Jq=[["path",{d:"M18 12.5V10a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4",key:"wc6myp"}],["path",{d:"M14 11V9a2 2 0 1 0-4 0v2",key:"94qvcw"}],["path",{d:"M10 10.5V5a2 2 0 1 0-4 0v9",key:"m1ah89"}],["path",{d:"m7 15-1.76-1.76a2 2 0 0 0-2.83 2.82l3.6 3.6C7.5 21.14 9.2 22 12 22h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v5",key:"t1skq1"}]],mp=e("HandMetal",Jq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zb=[["path",{d:"M12 3V2",key:"ar7q03"}],["path",{d:"m15.4 17.4 3.2-2.8a2 2 0 1 1 2.8 2.9l-3.6 3.3c-.7.8-1.7 1.2-2.8 1.2h-4c-1.1 0-2.1-.4-2.8-1.2l-1.302-1.464A1 1 0 0 0 6.151 19H5",key:"n2g93r"}],["path",{d:"M2 14h12a2 2 0 0 1 0 4h-2",key:"1o2jem"}],["path",{d:"M4 10h16",key:"img6z1"}],["path",{d:"M5 10a7 7 0 0 1 14 0",key:"1ega1o"}],["path",{d:"M5 14v6a1 1 0 0 1-1 1H2",key:"1hescx"}]],hp=e("HandPlatter",Zb);/** + */const Qq=[["path",{d:"M12 3V2",key:"ar7q03"}],["path",{d:"m15.4 17.4 3.2-2.8a2 2 0 1 1 2.8 2.9l-3.6 3.3c-.7.8-1.7 1.2-2.8 1.2h-4c-1.1 0-2.1-.4-2.8-1.2l-1.302-1.464A1 1 0 0 0 6.151 19H5",key:"n2g93r"}],["path",{d:"M2 14h12a2 2 0 0 1 0 4h-2",key:"1o2jem"}],["path",{d:"M4 10h16",key:"img6z1"}],["path",{d:"M5 10a7 7 0 0 1 14 0",key:"1ega1o"}],["path",{d:"M5 14v6a1 1 0 0 1-1 1H2",key:"1hescx"}]],_p=e("HandPlatter",Qq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Gb=[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]],yp=e("Hand",Gb);/** + */const Yq=[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]],gp=e("Hand",Yq);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Wb=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]],rp=e("Handshake",Wb);/** + */const e$=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]],Lp=e("Handshake",e$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Eb=[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]],kp=e("HardDriveDownload",Eb);/** + */const a$=[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]],xp=e("HardDriveDownload",a$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xb=[["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M12 2v8",key:"1q4o3n"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]],pp=e("HardDriveUpload",Xb);/** + */const o$=[["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M12 2v8",key:"1q4o3n"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]],wp=e("HardDriveUpload",o$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Kb=[["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["rect",{x:"2",y:"15",width:"20",height:"4",rx:"1",key:"g3x8cw"}]],sp=e("HardHat",Kb);/** + */const t$=[["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["rect",{x:"2",y:"15",width:"20",height:"4",rx:"1",key:"g3x8cw"}]],fp=e("HardHat",t$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Jb=[["path",{d:"m5.2 6.2 1.4 1.4",key:"17imol"}],["path",{d:"M2 13h2",key:"13gyu8"}],["path",{d:"M20 13h2",key:"16rner"}],["path",{d:"m17.4 7.6 1.4-1.4",key:"t4xlah"}],["path",{d:"M22 17H2",key:"1gtaj3"}],["path",{d:"M22 21H2",key:"1gy6en"}],["path",{d:"M16 13a4 4 0 0 0-8 0",key:"1dyczq"}],["path",{d:"M12 5V2.5",key:"1vytko"}]],lp=e("Haze",Jb);/** + */const c$=[["path",{d:"m5.2 6.2 1.4 1.4",key:"17imol"}],["path",{d:"M2 13h2",key:"13gyu8"}],["path",{d:"M20 13h2",key:"16rner"}],["path",{d:"m17.4 7.6 1.4-1.4",key:"t4xlah"}],["path",{d:"M22 17H2",key:"1gtaj3"}],["path",{d:"M22 21H2",key:"1gy6en"}],["path",{d:"M16 13a4 4 0 0 0-8 0",key:"1dyczq"}],["path",{d:"M12 5V2.5",key:"1vytko"}]],Cp=e("Haze",c$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Qb=[["path",{d:"M22 9a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h1l2 2h12l2-2h1a1 1 0 0 0 1-1Z",key:"2128wb"}],["path",{d:"M7.5 12h9",key:"1t0ckc"}]],up=e("HdmiPort",Qb);/** + */const n$=[["path",{d:"M22 9a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h1l2 2h12l2-2h1a1 1 0 0 0 1-1Z",key:"2128wb"}],["path",{d:"M7.5 12h9",key:"1t0ckc"}]],Ip=e("HdmiPort",n$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Yb=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]],Mp=e("Heading1",Yb);/** + */const d$=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]],Np=e("Heading1",d$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const e$=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]],vp=e("Heading2",e$);/** + */const i$=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]],Sp=e("Heading2",i$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const a$=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]],mp=e("Heading3",a$);/** + */const h$=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]],bp=e("Heading3",h$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o$=[["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 10v3a1 1 0 0 0 1 1h3",key:"tj5zdr"}],["path",{d:"M21 10v8",key:"1kdml4"}],["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}]],_p=e("Heading4",o$);/** + */const y$=[["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 10v3a1 1 0 0 0 1 1h3",key:"tj5zdr"}],["path",{d:"M21 10v8",key:"1kdml4"}],["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}]],qp=e("Heading4",y$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const c$=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 13v-3h4",key:"1nvgqp"}],["path",{d:"M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17",key:"2nebdn"}]],gp=e("Heading5",c$);/** + */const r$=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 13v-3h4",key:"1nvgqp"}],["path",{d:"M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17",key:"2nebdn"}]],$p=e("Heading5",r$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const t$=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["circle",{cx:"19",cy:"16",r:"2",key:"15mx69"}],["path",{d:"M20 10c-2 2-3 3.5-3 6",key:"f35dl0"}]],Lp=e("Heading6",t$);/** + */const k$=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["circle",{cx:"19",cy:"16",r:"2",key:"15mx69"}],["path",{d:"M20 10c-2 2-3 3.5-3 6",key:"f35dl0"}]],Ap=e("Heading6",k$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const n$=[["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M6 20V4",key:"1w1bmo"}],["path",{d:"M18 20V4",key:"o2hl4u"}]],xp=e("Heading",n$);/** + */const p$=[["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M6 20V4",key:"1w1bmo"}],["path",{d:"M18 20V4",key:"o2hl4u"}]],Hp=e("Heading",p$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const d$=[["path",{d:"M21 14h-1.343",key:"1jdnxi"}],["path",{d:"M9.128 3.47A9 9 0 0 1 21 12v3.343",key:"6kipu2"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20.414 20.414A2 2 0 0 1 19 21h-1a2 2 0 0 1-2-2v-3",key:"9x50f4"}],["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 2.636-6.364",key:"1bkxnm"}]],wp=e("HeadphoneOff",d$);/** + */const s$=[["path",{d:"M21 14h-1.343",key:"1jdnxi"}],["path",{d:"M9.128 3.47A9 9 0 0 1 21 12v3.343",key:"6kipu2"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20.414 20.414A2 2 0 0 1 19 21h-1a2 2 0 0 1-2-2v-3",key:"9x50f4"}],["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 2.636-6.364",key:"1bkxnm"}]],zp=e("HeadphoneOff",s$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const i$=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],fp=e("Headphones",i$);/** + */const l$=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],jp=e("Headphones",l$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const h$=[["path",{d:"M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z",key:"12oyoe"}],["path",{d:"M21 16v2a4 4 0 0 1-4 4h-5",key:"1x7m43"}]],Cp=e("Headset",h$);/** + */const u$=[["path",{d:"M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z",key:"12oyoe"}],["path",{d:"M21 16v2a4 4 0 0 1-4 4h-5",key:"1x7m43"}]],Pp=e("Headset",u$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const y$=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"m12 13-1-1 2-2-3-3 2-2",key:"xjdxli"}]],Ip=e("HeartCrack",y$);/** + */const M$=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"m12 13-1-1 2-2-3-3 2-2",key:"xjdxli"}]],Vp=e("HeartCrack",M$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const r$=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]],Np=e("HeartHandshake",r$);/** + */const v$=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]],Bp=e("HeartHandshake",v$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const k$=[["line",{x1:"2",y1:"2",x2:"22",y2:"22",key:"1w4vcy"}],["path",{d:"M16.5 16.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5a5.5 5.5 0 0 1 2.14-4.35",key:"3mpagl"}],["path",{d:"M8.76 3.1c1.15.22 2.13.78 3.24 1.9 1.5-1.5 2.74-2 4.5-2A5.5 5.5 0 0 1 22 8.5c0 2.12-1.3 3.78-2.67 5.17",key:"1gh3v3"}]],Sp=e("HeartOff",k$);/** + */const m$=[["line",{x1:"2",y1:"2",x2:"22",y2:"22",key:"1w4vcy"}],["path",{d:"M16.5 16.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5a5.5 5.5 0 0 1 2.14-4.35",key:"3mpagl"}],["path",{d:"M8.76 3.1c1.15.22 2.13.78 3.24 1.9 1.5-1.5 2.74-2 4.5-2A5.5 5.5 0 0 1 22 8.5c0 2.12-1.3 3.78-2.67 5.17",key:"1gh3v3"}]],Fp=e("HeartOff",m$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const p$=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]],qp=e("HeartPulse",p$);/** + */const _$=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]],Dp=e("HeartPulse",_$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const s$=[["path",{d:"M11 8c2-3-2-3 0-6",key:"1ldv5m"}],["path",{d:"M15.5 8c2-3-2-3 0-6",key:"1otqoz"}],["path",{d:"M6 10h.01",key:"1lbq93"}],["path",{d:"M6 14h.01",key:"zudwn7"}],["path",{d:"M10 16v-4",key:"1c25yv"}],["path",{d:"M14 16v-4",key:"1dkbt8"}],["path",{d:"M18 16v-4",key:"1yg9me"}],["path",{d:"M20 6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3",key:"1ubg90"}],["path",{d:"M5 20v2",key:"1abpe8"}],["path",{d:"M19 20v2",key:"kqn6ft"}]],bp=e("Heater",s$);/** + */const g$=[["path",{d:"M11 8c2-3-2-3 0-6",key:"1ldv5m"}],["path",{d:"M15.5 8c2-3-2-3 0-6",key:"1otqoz"}],["path",{d:"M6 10h.01",key:"1lbq93"}],["path",{d:"M6 14h.01",key:"zudwn7"}],["path",{d:"M10 16v-4",key:"1c25yv"}],["path",{d:"M14 16v-4",key:"1dkbt8"}],["path",{d:"M18 16v-4",key:"1yg9me"}],["path",{d:"M20 6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3",key:"1ubg90"}],["path",{d:"M5 20v2",key:"1abpe8"}],["path",{d:"M19 20v2",key:"kqn6ft"}]],Rp=e("Heater",g$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const l$=[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}]],$p=e("Hexagon",l$);/** + */const L$=[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}]],Tp=e("Hexagon",L$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const u$=[["path",{d:"m9 11-6 6v3h9l3-3",key:"1a3l36"}],["path",{d:"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4",key:"14a9rk"}]],Ap=e("Highlighter",u$);/** + */const x$=[["path",{d:"m9 11-6 6v3h9l3-3",key:"1a3l36"}],["path",{d:"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4",key:"14a9rk"}]],Up=e("Highlighter",x$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const M$=[["path",{d:"M10.82 16.12c1.69.6 3.91.79 5.18.85.28.01.53-.09.7-.27",key:"qyzcap"}],["path",{d:"M11.14 20.57c.52.24 2.44 1.12 4.08 1.37.46.06.86-.25.9-.71.12-1.52-.3-3.43-.5-4.28",key:"y078lb"}],["path",{d:"M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .7-.26",key:"1utre3"}],["path",{d:"M17.99 5.52a20.83 20.83 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-1.17.1-2.5.02-3.9-.25",key:"17o9hm"}],["path",{d:"M20.57 11.14c.24.52 1.12 2.44 1.37 4.08.04.3-.08.59-.31.75",key:"1d1n4p"}],["path",{d:"M4.93 4.93a10 10 0 0 0-.67 13.4c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.85.85 0 0 0 .48-.24",key:"9uv3tt"}],["path",{d:"M5.52 17.99c1.05.95 2.91 2.42 4.5 3.15a.8.8 0 0 0 1.13-.68c.2-2.34-.33-5.3-1.57-8.28",key:"1292wz"}],["path",{d:"M8.35 2.68a10 10 0 0 1 9.98 1.58c.43.35.4.96-.12 1.17-1.5.6-4.3.98-6.07 1.05",key:"7ozu9p"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Hp=e("HopOff",M$);/** + */const w$=[["path",{d:"M10.82 16.12c1.69.6 3.91.79 5.18.85.28.01.53-.09.7-.27",key:"qyzcap"}],["path",{d:"M11.14 20.57c.52.24 2.44 1.12 4.08 1.37.46.06.86-.25.9-.71.12-1.52-.3-3.43-.5-4.28",key:"y078lb"}],["path",{d:"M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .7-.26",key:"1utre3"}],["path",{d:"M17.99 5.52a20.83 20.83 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-1.17.1-2.5.02-3.9-.25",key:"17o9hm"}],["path",{d:"M20.57 11.14c.24.52 1.12 2.44 1.37 4.08.04.3-.08.59-.31.75",key:"1d1n4p"}],["path",{d:"M4.93 4.93a10 10 0 0 0-.67 13.4c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.85.85 0 0 0 .48-.24",key:"9uv3tt"}],["path",{d:"M5.52 17.99c1.05.95 2.91 2.42 4.5 3.15a.8.8 0 0 0 1.13-.68c.2-2.34-.33-5.3-1.57-8.28",key:"1292wz"}],["path",{d:"M8.35 2.68a10 10 0 0 1 9.98 1.58c.43.35.4.96-.12 1.17-1.5.6-4.3.98-6.07 1.05",key:"7ozu9p"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Op=e("HopOff",w$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const v$=[["path",{d:"M10.82 16.12c1.69.6 3.91.79 5.18.85.55.03 1-.42.97-.97-.06-1.27-.26-3.5-.85-5.18",key:"18lxf1"}],["path",{d:"M11.5 6.5c1.64 0 5-.38 6.71-1.07.52-.2.55-.82.12-1.17A10 10 0 0 0 4.26 18.33c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.88.88 0 0 0 .73-.74c.3-2.14-.15-3.5-.61-4.88",key:"vtfxrw"}],["path",{d:"M15.62 16.95c.2.85.62 2.76.5 4.28a.77.77 0 0 1-.9.7 16.64 16.64 0 0 1-4.08-1.36",key:"13hl71"}],["path",{d:"M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .96-.96 17.68 17.68 0 0 0-.9-4.87",key:"1sl8oj"}],["path",{d:"M16.94 15.62c.86.2 2.77.62 4.29.5a.77.77 0 0 0 .7-.9 16.64 16.64 0 0 0-1.36-4.08",key:"19c6kt"}],["path",{d:"M17.99 5.52a20.82 20.82 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-2.33.2-5.3-.32-8.27-1.57",key:"85ghs3"}],["path",{d:"M4.93 4.93 3 3a.7.7 0 0 1 0-1",key:"x087yj"}],["path",{d:"M9.58 12.18c1.24 2.98 1.77 5.95 1.57 8.28a.8.8 0 0 1-1.13.68 20.82 20.82 0 0 1-4.5-3.15",key:"11xdqo"}]],zp=e("Hop",v$);/** + */const f$=[["path",{d:"M10.82 16.12c1.69.6 3.91.79 5.18.85.55.03 1-.42.97-.97-.06-1.27-.26-3.5-.85-5.18",key:"18lxf1"}],["path",{d:"M11.5 6.5c1.64 0 5-.38 6.71-1.07.52-.2.55-.82.12-1.17A10 10 0 0 0 4.26 18.33c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.88.88 0 0 0 .73-.74c.3-2.14-.15-3.5-.61-4.88",key:"vtfxrw"}],["path",{d:"M15.62 16.95c.2.85.62 2.76.5 4.28a.77.77 0 0 1-.9.7 16.64 16.64 0 0 1-4.08-1.36",key:"13hl71"}],["path",{d:"M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .96-.96 17.68 17.68 0 0 0-.9-4.87",key:"1sl8oj"}],["path",{d:"M16.94 15.62c.86.2 2.77.62 4.29.5a.77.77 0 0 0 .7-.9 16.64 16.64 0 0 0-1.36-4.08",key:"19c6kt"}],["path",{d:"M17.99 5.52a20.82 20.82 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-2.33.2-5.3-.32-8.27-1.57",key:"85ghs3"}],["path",{d:"M4.93 4.93 3 3a.7.7 0 0 1 0-1",key:"x087yj"}],["path",{d:"M9.58 12.18c1.24 2.98 1.77 5.95 1.57 8.28a.8.8 0 0 1-1.13.68 20.82 20.82 0 0 1-4.5-3.15",key:"11xdqo"}]],Zp=e("Hop",f$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const m$=[["path",{d:"M12 6v4",key:"16clxf"}],["path",{d:"M14 14h-4",key:"esezmu"}],["path",{d:"M14 18h-4",key:"16mqa2"}],["path",{d:"M14 8h-4",key:"z8ypaz"}],["path",{d:"M18 12h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2",key:"b1k337"}],["path",{d:"M18 22V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v18",key:"16g51d"}]],Pp=e("Hospital",m$);/** + */const C$=[["path",{d:"M12 6v4",key:"16clxf"}],["path",{d:"M14 14h-4",key:"esezmu"}],["path",{d:"M14 18h-4",key:"16mqa2"}],["path",{d:"M14 8h-4",key:"z8ypaz"}],["path",{d:"M18 12h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2",key:"b1k337"}],["path",{d:"M18 22V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v18",key:"16g51d"}]],Gp=e("Hospital",C$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _$=[["path",{d:"M10 22v-6.57",key:"1wmca3"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M12 7h.01",key:"1ivr5q"}],["path",{d:"M14 15.43V22",key:"1q2vjd"}],["path",{d:"M15 16a5 5 0 0 0-6 0",key:"o9wqvi"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 7h.01",key:"1vti4s"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],jp=e("Hotel",_$);/** + */const I$=[["path",{d:"M10 22v-6.57",key:"1wmca3"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M12 7h.01",key:"1ivr5q"}],["path",{d:"M14 15.43V22",key:"1q2vjd"}],["path",{d:"M15 16a5 5 0 0 0-6 0",key:"o9wqvi"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 7h.01",key:"1vti4s"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],Wp=e("Hotel",I$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const g$=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],Vp=e("Hourglass",g$);/** + */const N$=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],Ep=e("Hourglass",N$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const L$=[["path",{d:"M10 12V8.964",key:"1vll13"}],["path",{d:"M14 12V8.964",key:"1x3qvg"}],["path",{d:"M15 12a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-2a1 1 0 0 1 1-1z",key:"ppykja"}],["path",{d:"M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2",key:"1gvg2z"}]],Bp=e("HousePlug",L$);/** + */const S$=[["path",{d:"M10 12V8.964",key:"1vll13"}],["path",{d:"M14 12V8.964",key:"1x3qvg"}],["path",{d:"M15 12a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-2a1 1 0 0 1 1-1z",key:"ppykja"}],["path",{d:"M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2",key:"1gvg2z"}]],Xp=e("HousePlug",S$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const x$=[["path",{d:"M13.22 2.416a2 2 0 0 0-2.511.057l-7 5.999A2 2 0 0 0 3 10v9a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7.354",key:"5phn05"}],["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M15 6h6",key:"1jlkvy"}],["path",{d:"M18 3v6",key:"x1uolp"}]],Fp=e("HousePlus",x$);/** + */const b$=[["path",{d:"M13.22 2.416a2 2 0 0 0-2.511.057l-7 5.999A2 2 0 0 0 3 10v9a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7.354",key:"5phn05"}],["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M15 6h6",key:"1jlkvy"}],["path",{d:"M18 3v6",key:"x1uolp"}]],Kp=e("HousePlus",b$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const w$=[["path",{d:"M9.5 13.866a4 4 0 0 1 5 .01",key:"1wy54i"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}],["path",{d:"M7 10.754a8 8 0 0 1 10 0",key:"exoy2g"}]],Dp=e("HouseWifi",w$);/** + */const q$=[["path",{d:"M9.5 13.866a4 4 0 0 1 5 .01",key:"1wy54i"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}],["path",{d:"M7 10.754a8 8 0 0 1 10 0",key:"exoy2g"}]],Jp=e("HouseWifi",q$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const f$=[["path",{d:"M12 17c5 0 8-2.69 8-6H4c0 3.31 3 6 8 6m-4 4h8m-4-3v3M5.14 11a3.5 3.5 0 1 1 6.71 0",key:"1uxfcu"}],["path",{d:"M12.14 11a3.5 3.5 0 1 1 6.71 0",key:"4k3m1s"}],["path",{d:"M15.5 6.5a3.5 3.5 0 1 0-7 0",key:"zmuahr"}]],ae=e("IceCreamBowl",f$);/** + */const $$=[["path",{d:"M12 17c5 0 8-2.69 8-6H4c0 3.31 3 6 8 6m-4 4h8m-4-3v3M5.14 11a3.5 3.5 0 1 1 6.71 0",key:"1uxfcu"}],["path",{d:"M12.14 11a3.5 3.5 0 1 1 6.71 0",key:"4k3m1s"}],["path",{d:"M15.5 6.5a3.5 3.5 0 1 0-7 0",key:"zmuahr"}]],te=e("IceCreamBowl",$$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const C$=[["path",{d:"m7 11 4.08 10.35a1 1 0 0 0 1.84 0L17 11",key:"1v6356"}],["path",{d:"M17 7A5 5 0 0 0 7 7",key:"151p3v"}],["path",{d:"M17 7a2 2 0 0 1 0 4H7a2 2 0 0 1 0-4",key:"1sdaij"}]],oe=e("IceCreamCone",C$);/** + */const A$=[["path",{d:"m7 11 4.08 10.35a1 1 0 0 0 1.84 0L17 11",key:"1v6356"}],["path",{d:"M17 7A5 5 0 0 0 7 7",key:"151p3v"}],["path",{d:"M17 7a2 2 0 0 1 0 4H7a2 2 0 0 1 0-4",key:"1sdaij"}]],ce=e("IceCreamCone",A$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const I$=[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19 3 3v-5.5",key:"9ldu5r"}],["path",{d:"m17 22 3-3",key:"1nkfve"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],Rp=e("ImageDown",I$);/** + */const H$=[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19 3 3v-5.5",key:"9ldu5r"}],["path",{d:"m17 22 3-3",key:"1nkfve"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],Qp=e("ImageDown",H$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const N$=[["path",{d:"M21 9v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7",key:"m87ecr"}],["line",{x1:"16",x2:"22",y1:"5",y2:"5",key:"ez7e4s"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Tp=e("ImageMinus",N$);/** + */const z$=[["path",{d:"M21 9v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7",key:"m87ecr"}],["line",{x1:"16",x2:"22",y1:"5",y2:"5",key:"ez7e4s"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Yp=e("ImageMinus",z$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const S$=[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]],Up=e("ImageOff",S$);/** + */const j$=[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]],e5=e("ImageOff",j$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const q$=[["path",{d:"m11 16-5 5",key:"j5f7ct"}],["path",{d:"M11 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6.5",key:"7s81lt"}],["path",{d:"M15.765 22a.5.5 0 0 1-.765-.424V13.38a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z",key:"1omb6s"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],Op=e("ImagePlay",q$);/** + */const P$=[["path",{d:"m11 16-5 5",key:"j5f7ct"}],["path",{d:"M11 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6.5",key:"7s81lt"}],["path",{d:"M15.765 22a.5.5 0 0 1-.765-.424V13.38a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z",key:"1omb6s"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],a5=e("ImagePlay",P$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const b$=[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],Zp=e("ImagePlus",b$);/** + */const V$=[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],o5=e("ImagePlus",V$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $$=[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19.5 3-3 3 3",key:"9vmjn0"}],["path",{d:"M17 22v-5.5",key:"1aa6fl"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],Gp=e("ImageUp",$$);/** + */const B$=[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19.5 3-3 3 3",key:"9vmjn0"}],["path",{d:"M17 22v-5.5",key:"1aa6fl"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],t5=e("ImageUp",B$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const A$=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M17 21h2a2 2 0 0 0 2-2",key:"130fy9"}],["path",{d:"M21 12v3",key:"1wzk3p"}],["path",{d:"m21 3-5 5",key:"1g5oa7"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2",key:"kk3yz1"}],["path",{d:"m5 21 4.144-4.144a1.21 1.21 0 0 1 1.712 0L13 19",key:"fyekpt"}],["path",{d:"M9 3h3",key:"d52fa"}],["rect",{x:"3",y:"11",width:"10",height:"10",rx:"1",key:"1wpmix"}]],Wp=e("ImageUpscale",A$);/** + */const F$=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M17 21h2a2 2 0 0 0 2-2",key:"130fy9"}],["path",{d:"M21 12v3",key:"1wzk3p"}],["path",{d:"m21 3-5 5",key:"1g5oa7"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2",key:"kk3yz1"}],["path",{d:"m5 21 4.144-4.144a1.21 1.21 0 0 1 1.712 0L13 19",key:"fyekpt"}],["path",{d:"M9 3h3",key:"d52fa"}],["rect",{x:"3",y:"11",width:"10",height:"10",rx:"1",key:"1wpmix"}]],c5=e("ImageUpscale",F$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const H$=[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]],Ep=e("Images",H$);/** + */const D$=[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]],n5=e("Images",D$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const z$=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m8 11 4 4 4-4",key:"1dohi6"}],["path",{d:"M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4",key:"1ywtjm"}]],Xp=e("Import",z$);/** + */const R$=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m8 11 4 4 4-4",key:"1dohi6"}],["path",{d:"M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4",key:"1ywtjm"}]],d5=e("Import",R$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const P$=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],Kp=e("Inbox",P$);/** + */const T$=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],i5=e("Inbox",T$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const j$=[["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 18H11",key:"4wu86t"}],["path",{d:"M21 6H11",key:"6dy1d6"}],["path",{d:"m7 8-4 4 4 4",key:"o5hrat"}]],ce=e("IndentDecrease",j$);/** + */const U$=[["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 18H11",key:"4wu86t"}],["path",{d:"M21 6H11",key:"6dy1d6"}],["path",{d:"m7 8-4 4 4 4",key:"o5hrat"}]],ne=e("IndentDecrease",U$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const V$=[["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 18H11",key:"4wu86t"}],["path",{d:"M21 6H11",key:"6dy1d6"}],["path",{d:"m3 8 4 4-4 4",key:"1a3j6y"}]],te=e("IndentIncrease",V$);/** + */const O$=[["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 18H11",key:"4wu86t"}],["path",{d:"M21 6H11",key:"6dy1d6"}],["path",{d:"m3 8 4 4-4 4",key:"1a3j6y"}]],de=e("IndentIncrease",O$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const B$=[["path",{d:"M12 12c-2-2.67-4-4-6-4a4 4 0 1 0 0 8c2 0 4-1.33 6-4Zm0 0c2 2.67 4 4 6 4a4 4 0 0 0 0-8c-2 0-4 1.33-6 4Z",key:"1z0uae"}]],Jp=e("Infinity",B$);/** + */const Z$=[["path",{d:"M12 12c-2-2.67-4-4-6-4a4 4 0 1 0 0 8c2 0 4-1.33 6-4Zm0 0c2 2.67 4 4 6 4a4 4 0 0 0 0-8c-2 0-4 1.33-6 4Z",key:"1z0uae"}]],h5=e("Infinity",Z$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const F$=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7h.01",key:"7u93v4"}],["path",{d:"M17 7h.01",key:"14a9sn"}],["path",{d:"M7 17h.01",key:"19xn7k"}],["path",{d:"M17 17h.01",key:"1sd3ek"}]],Qp=e("InspectionPanel",F$);/** + */const G$=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7h.01",key:"7u93v4"}],["path",{d:"M17 7h.01",key:"14a9sn"}],["path",{d:"M7 17h.01",key:"19xn7k"}],["path",{d:"M17 17h.01",key:"1sd3ek"}]],y5=e("InspectionPanel",G$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const D$=[["path",{d:"M20 10c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8h8",key:"4znkd0"}],["polyline",{points:"16 14 20 18 16 22",key:"11njsm"}]],Yp=e("IterationCcw",D$);/** + */const W$=[["path",{d:"M20 10c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8h8",key:"4znkd0"}],["polyline",{points:"16 14 20 18 16 22",key:"11njsm"}]],r5=e("IterationCcw",W$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const R$=[["path",{d:"M4 10c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8H4",key:"tuf4su"}],["polyline",{points:"8 22 4 18 8 14",key:"evkj9s"}]],e5=e("IterationCw",R$);/** + */const E$=[["path",{d:"M4 10c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8H4",key:"tuf4su"}],["polyline",{points:"8 22 4 18 8 14",key:"evkj9s"}]],k5=e("IterationCw",E$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const T$=[["path",{d:"M12 9.5V21m0-11.5L6 3m6 6.5L18 3",key:"2ej80x"}],["path",{d:"M6 15h12",key:"1hwgt5"}],["path",{d:"M6 11h12",key:"wf4gp6"}]],a5=e("JapaneseYen",T$);/** + */const X$=[["path",{d:"M12 9.5V21m0-11.5L6 3m6 6.5L18 3",key:"2ej80x"}],["path",{d:"M6 15h12",key:"1hwgt5"}],["path",{d:"M6 11h12",key:"wf4gp6"}]],p5=e("JapaneseYen",X$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const U$=[["path",{d:"M21 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2Z",key:"jg2n2t"}],["path",{d:"M6 15v-2",key:"gd6mvg"}],["path",{d:"M12 15V9",key:"8c7uyn"}],["circle",{cx:"12",cy:"6",r:"3",key:"1gm2ql"}]],o5=e("Joystick",U$);/** + */const K$=[["path",{d:"M21 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2Z",key:"jg2n2t"}],["path",{d:"M6 15v-2",key:"gd6mvg"}],["path",{d:"M12 15V9",key:"8c7uyn"}],["circle",{cx:"12",cy:"6",r:"3",key:"1gm2ql"}]],s5=e("Joystick",K$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const O$=[["path",{d:"M6 5v11",key:"mdvv1e"}],["path",{d:"M12 5v6",key:"14ar3b"}],["path",{d:"M18 5v14",key:"7ji314"}]],c5=e("Kanban",O$);/** + */const J$=[["path",{d:"M6 5v11",key:"mdvv1e"}],["path",{d:"M12 5v6",key:"14ar3b"}],["path",{d:"M18 5v14",key:"7ji314"}]],l5=e("Kanban",J$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Z$=[["path",{d:"M12.4 2.7a2.5 2.5 0 0 1 3.4 0l5.5 5.5a2.5 2.5 0 0 1 0 3.4l-3.7 3.7a2.5 2.5 0 0 1-3.4 0L8.7 9.8a2.5 2.5 0 0 1 0-3.4z",key:"165ttr"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"m9.4 10.6-6.814 6.814A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814",key:"1ubxi2"}]],t5=e("KeySquare",Z$);/** + */const Q$=[["path",{d:"M12.4 2.7a2.5 2.5 0 0 1 3.4 0l5.5 5.5a2.5 2.5 0 0 1 0 3.4l-3.7 3.7a2.5 2.5 0 0 1-3.4 0L8.7 9.8a2.5 2.5 0 0 1 0-3.4z",key:"165ttr"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"m9.4 10.6-6.814 6.814A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814",key:"1ubxi2"}]],u5=e("KeySquare",Q$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const G$=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],n5=e("Key",G$);/** + */const Y$=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],M5=e("Key",Y$);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const W$=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 8h4",key:"utf9t1"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M6 12v4",key:"dy92yo"}],["path",{d:"M10 12v4",key:"1fxnav"}],["path",{d:"M14 12v4",key:"1hft58"}],["path",{d:"M18 12v4",key:"tjjnbz"}]],d5=e("KeyboardMusic",W$);/** + */const eA=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M6 8h4",key:"utf9t1"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M6 12v4",key:"dy92yo"}],["path",{d:"M10 12v4",key:"1fxnav"}],["path",{d:"M14 12v4",key:"1hft58"}],["path",{d:"M18 12v4",key:"tjjnbz"}]],v5=e("KeyboardMusic",eA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const E$=[["path",{d:"M 20 4 A2 2 0 0 1 22 6",key:"1g1fkt"}],["path",{d:"M 22 6 L 22 16.41",key:"1qjg3w"}],["path",{d:"M 7 16 L 16 16",key:"n0yqwb"}],["path",{d:"M 9.69 4 L 20 4",key:"kbpcgx"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2",key:"s23sx2"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M8 12h.01",key:"czm47f"}]],i5=e("KeyboardOff",E$);/** + */const aA=[["path",{d:"M 20 4 A2 2 0 0 1 22 6",key:"1g1fkt"}],["path",{d:"M 22 6 L 22 16.41",key:"1qjg3w"}],["path",{d:"M 7 16 L 16 16",key:"n0yqwb"}],["path",{d:"M 9.69 4 L 20 4",key:"kbpcgx"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2",key:"s23sx2"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M8 12h.01",key:"czm47f"}]],m5=e("KeyboardOff",aA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const X$=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],h5=e("Keyboard",X$);/** + */const oA=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],_5=e("Keyboard",oA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const K$=[["path",{d:"M12 2v5",key:"nd4vlx"}],["path",{d:"M6 7h12l4 9H2l4-9Z",key:"123d64"}],["path",{d:"M9.17 16a3 3 0 1 0 5.66 0",key:"1061mw"}]],y5=e("LampCeiling",K$);/** + */const tA=[["path",{d:"M12 2v5",key:"nd4vlx"}],["path",{d:"M6 7h12l4 9H2l4-9Z",key:"123d64"}],["path",{d:"M9.17 16a3 3 0 1 0 5.66 0",key:"1061mw"}]],g5=e("LampCeiling",tA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const J$=[["path",{d:"m14 5-3 3 2 7 8-8-7-2Z",key:"1b0msb"}],["path",{d:"m14 5-3 3-3-3 3-3 3 3Z",key:"1uemms"}],["path",{d:"M9.5 6.5 4 12l3 6",key:"1bx08v"}],["path",{d:"M3 22v-2c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v2H3Z",key:"wap775"}]],r5=e("LampDesk",J$);/** + */const cA=[["path",{d:"m14 5-3 3 2 7 8-8-7-2Z",key:"1b0msb"}],["path",{d:"m14 5-3 3-3-3 3-3 3 3Z",key:"1uemms"}],["path",{d:"M9.5 6.5 4 12l3 6",key:"1bx08v"}],["path",{d:"M3 22v-2c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v2H3Z",key:"wap775"}]],L5=e("LampDesk",cA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Q$=[["path",{d:"M9 2h6l3 7H6l3-7Z",key:"wcx6mj"}],["path",{d:"M12 9v13",key:"3n1su1"}],["path",{d:"M9 22h6",key:"1rlq3v"}]],k5=e("LampFloor",Q$);/** + */const nA=[["path",{d:"M9 2h6l3 7H6l3-7Z",key:"wcx6mj"}],["path",{d:"M12 9v13",key:"3n1su1"}],["path",{d:"M9 22h6",key:"1rlq3v"}]],x5=e("LampFloor",nA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Y$=[["path",{d:"M11 13h6l3 7H8l3-7Z",key:"9n3qlo"}],["path",{d:"M14 13V8a2 2 0 0 0-2-2H8",key:"1hu4hb"}],["path",{d:"M4 9h2a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H4v6Z",key:"s053bc"}]],p5=e("LampWallDown",Y$);/** + */const dA=[["path",{d:"M11 13h6l3 7H8l3-7Z",key:"9n3qlo"}],["path",{d:"M14 13V8a2 2 0 0 0-2-2H8",key:"1hu4hb"}],["path",{d:"M4 9h2a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H4v6Z",key:"s053bc"}]],w5=e("LampWallDown",dA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eA=[["path",{d:"M11 4h6l3 7H8l3-7Z",key:"11x1ee"}],["path",{d:"M14 11v5a2 2 0 0 1-2 2H8",key:"eutp5o"}],["path",{d:"M4 15h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H4v-6Z",key:"1iuthr"}]],s5=e("LampWallUp",eA);/** + */const iA=[["path",{d:"M11 4h6l3 7H8l3-7Z",key:"11x1ee"}],["path",{d:"M14 11v5a2 2 0 0 1-2 2H8",key:"eutp5o"}],["path",{d:"M4 15h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H4v-6Z",key:"1iuthr"}]],f5=e("LampWallUp",iA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aA=[["path",{d:"M8 2h8l4 10H4L8 2Z",key:"9dma5w"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M8 22v-2c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v2H8Z",key:"mwf4oh"}]],l5=e("Lamp",aA);/** + */const hA=[["path",{d:"M8 2h8l4 10H4L8 2Z",key:"9dma5w"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M8 22v-2c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v2H8Z",key:"mwf4oh"}]],C5=e("Lamp",hA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oA=[["path",{d:"m12 8 6-3-6-3v10",key:"mvpnpy"}],["path",{d:"m8 11.99-5.5 3.14a1 1 0 0 0 0 1.74l8.5 4.86a2 2 0 0 0 2 0l8.5-4.86a1 1 0 0 0 0-1.74L16 12",key:"ek95tt"}],["path",{d:"m6.49 12.85 11.02 6.3",key:"1kt42w"}],["path",{d:"M17.51 12.85 6.5 19.15",key:"v55bdg"}]],u5=e("LandPlot",oA);/** + */const yA=[["path",{d:"m12 8 6-3-6-3v10",key:"mvpnpy"}],["path",{d:"m8 11.99-5.5 3.14a1 1 0 0 0 0 1.74l8.5 4.86a2 2 0 0 0 2 0l8.5-4.86a1 1 0 0 0 0-1.74L16 12",key:"ek95tt"}],["path",{d:"m6.49 12.85 11.02 6.3",key:"1kt42w"}],["path",{d:"M17.51 12.85 6.5 19.15",key:"v55bdg"}]],I5=e("LandPlot",yA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cA=[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]],M5=e("Landmark",cA);/** + */const rA=[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]],N5=e("Landmark",rA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tA=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],v5=e("Languages",tA);/** + */const kA=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],S5=e("Languages",kA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nA=[["path",{d:"M2 20h20",key:"owomy5"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}],["rect",{x:"3",y:"4",width:"18",height:"12",rx:"2",key:"8ur36m"}]],m5=e("LaptopMinimalCheck",nA);/** + */const pA=[["path",{d:"M2 20h20",key:"owomy5"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}],["rect",{x:"3",y:"4",width:"18",height:"12",rx:"2",key:"8ur36m"}]],b5=e("LaptopMinimalCheck",pA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dA=[["rect",{width:"18",height:"12",x:"3",y:"4",rx:"2",ry:"2",key:"1qhy41"}],["line",{x1:"2",x2:"22",y1:"20",y2:"20",key:"ni3hll"}]],ne=e("LaptopMinimal",dA);/** + */const sA=[["rect",{width:"18",height:"12",x:"3",y:"4",rx:"2",ry:"2",key:"1qhy41"}],["line",{x1:"2",x2:"22",y1:"20",y2:"20",key:"ni3hll"}]],ie=e("LaptopMinimal",sA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iA=[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]],_5=e("Laptop",iA);/** + */const lA=[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]],q5=e("Laptop",lA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hA=[["path",{d:"M7 22a5 5 0 0 1-2-4",key:"umushi"}],["path",{d:"M7 16.93c.96.43 1.96.74 2.99.91",key:"ybbtv3"}],["path",{d:"M3.34 14A6.8 6.8 0 0 1 2 10c0-4.42 4.48-8 10-8s10 3.58 10 8a7.19 7.19 0 0 1-.33 2",key:"gt5e1w"}],["path",{d:"M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",key:"bq3ynw"}],["path",{d:"M14.33 22h-.09a.35.35 0 0 1-.24-.32v-10a.34.34 0 0 1 .33-.34c.08 0 .15.03.21.08l7.34 6a.33.33 0 0 1-.21.59h-4.49l-2.57 3.85a.35.35 0 0 1-.28.14z",key:"72q637"}]],g5=e("LassoSelect",hA);/** + */const uA=[["path",{d:"M7 22a5 5 0 0 1-2-4",key:"umushi"}],["path",{d:"M7 16.93c.96.43 1.96.74 2.99.91",key:"ybbtv3"}],["path",{d:"M3.34 14A6.8 6.8 0 0 1 2 10c0-4.42 4.48-8 10-8s10 3.58 10 8a7.19 7.19 0 0 1-.33 2",key:"gt5e1w"}],["path",{d:"M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",key:"bq3ynw"}],["path",{d:"M14.33 22h-.09a.35.35 0 0 1-.24-.32v-10a.34.34 0 0 1 .33-.34c.08 0 .15.03.21.08l7.34 6a.33.33 0 0 1-.21.59h-4.49l-2.57 3.85a.35.35 0 0 1-.28.14z",key:"72q637"}]],$5=e("LassoSelect",uA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yA=[["path",{d:"M7 22a5 5 0 0 1-2-4",key:"umushi"}],["path",{d:"M3.3 14A6.8 6.8 0 0 1 2 10c0-4.4 4.5-8 10-8s10 3.6 10 8-4.5 8-10 8a12 12 0 0 1-5-1",key:"146dds"}],["path",{d:"M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",key:"bq3ynw"}]],L5=e("Lasso",yA);/** + */const MA=[["path",{d:"M7 22a5 5 0 0 1-2-4",key:"umushi"}],["path",{d:"M3.3 14A6.8 6.8 0 0 1 2 10c0-4.4 4.5-8 10-8s10 3.6 10 8-4.5 8-10 8a12 12 0 0 1-5-1",key:"146dds"}],["path",{d:"M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",key:"bq3ynw"}]],A5=e("Lasso",MA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M18 13a6 6 0 0 1-6 5 6 6 0 0 1-6-5h12Z",key:"b2q4dd"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],x5=e("Laugh",rA);/** + */const vA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M18 13a6 6 0 0 1-6 5 6 6 0 0 1-6-5h12Z",key:"b2q4dd"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],H5=e("Laugh",vA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kA=[["path",{d:"m16.02 12 5.48 3.13a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74L7.98 12",key:"1cuww1"}],["path",{d:"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74Z",key:"pdlvxu"}]],w5=e("Layers2",kA);/** + */const mA=[["path",{d:"m16.02 12 5.48 3.13a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74L7.98 12",key:"1cuww1"}],["path",{d:"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74Z",key:"pdlvxu"}]],z5=e("Layers2",mA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pA=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],f5=e("LayoutDashboard",pA);/** + */const _A=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],j5=e("LayoutDashboard",_A);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sA=[["rect",{width:"7",height:"18",x:"3",y:"3",rx:"1",key:"2obqm"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]],C5=e("LayoutPanelLeft",sA);/** + */const gA=[["rect",{width:"7",height:"18",x:"3",y:"3",rx:"1",key:"2obqm"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]],P5=e("LayoutPanelLeft",gA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lA=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]],I5=e("LayoutPanelTop",lA);/** + */const LA=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]],V5=e("LayoutPanelTop",LA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uA=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]],N5=e("LayoutTemplate",uA);/** + */const xA=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]],B5=e("LayoutTemplate",xA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MA=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],S5=e("Leaf",MA);/** + */const wA=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],F5=e("Leaf",wA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vA=[["path",{d:"M2 22c1.25-.987 2.27-1.975 3.9-2.2a5.56 5.56 0 0 1 3.8 1.5 4 4 0 0 0 6.187-2.353 3.5 3.5 0 0 0 3.69-5.116A3.5 3.5 0 0 0 20.95 8 3.5 3.5 0 1 0 16 3.05a3.5 3.5 0 0 0-5.831 1.373 3.5 3.5 0 0 0-5.116 3.69 4 4 0 0 0-2.348 6.155C3.499 15.42 4.409 16.712 4.2 18.1 3.926 19.743 3.014 20.732 2 22",key:"1134nt"}],["path",{d:"M2 22 17 7",key:"1q7jp2"}]],q5=e("LeafyGreen",vA);/** + */const fA=[["path",{d:"M2 22c1.25-.987 2.27-1.975 3.9-2.2a5.56 5.56 0 0 1 3.8 1.5 4 4 0 0 0 6.187-2.353 3.5 3.5 0 0 0 3.69-5.116A3.5 3.5 0 0 0 20.95 8 3.5 3.5 0 1 0 16 3.05a3.5 3.5 0 0 0-5.831 1.373 3.5 3.5 0 0 0-5.116 3.69 4 4 0 0 0-2.348 6.155C3.499 15.42 4.409 16.712 4.2 18.1 3.926 19.743 3.014 20.732 2 22",key:"1134nt"}],["path",{d:"M2 22 17 7",key:"1q7jp2"}]],D5=e("LeafyGreen",fA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mA=[["path",{d:"M16 12h3a2 2 0 0 0 1.902-1.38l1.056-3.333A1 1 0 0 0 21 6H3a1 1 0 0 0-.958 1.287l1.056 3.334A2 2 0 0 0 5 12h3",key:"13jjxg"}],["path",{d:"M18 6V3a1 1 0 0 0-1-1h-3",key:"1550fe"}],["rect",{width:"8",height:"12",x:"8",y:"10",rx:"1",key:"qmu8b6"}]],b5=e("Lectern",mA);/** + */const CA=[["path",{d:"M16 12h3a2 2 0 0 0 1.902-1.38l1.056-3.333A1 1 0 0 0 21 6H3a1 1 0 0 0-.958 1.287l1.056 3.334A2 2 0 0 0 5 12h3",key:"13jjxg"}],["path",{d:"M18 6V3a1 1 0 0 0-1-1h-3",key:"1550fe"}],["rect",{width:"8",height:"12",x:"8",y:"10",rx:"1",key:"qmu8b6"}]],R5=e("Lectern",CA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _A=[["path",{d:"M15 12h6",key:"upa0zy"}],["path",{d:"M15 6h6",key:"1jlkvy"}],["path",{d:"m3 13 3.553-7.724a.5.5 0 0 1 .894 0L11 13",key:"blevx4"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M4 11h6",key:"olkgv1"}]],$5=e("LetterText",_A);/** + */const IA=[["path",{d:"M15 12h6",key:"upa0zy"}],["path",{d:"M15 6h6",key:"1jlkvy"}],["path",{d:"m3 13 3.553-7.724a.5.5 0 0 1 .894 0L11 13",key:"blevx4"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M4 11h6",key:"olkgv1"}]],T5=e("LetterText",IA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gA=[["rect",{width:"8",height:"18",x:"3",y:"3",rx:"1",key:"oynpb5"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z",key:"1qboyk"}]],A5=e("LibraryBig",gA);/** + */const NA=[["rect",{width:"8",height:"18",x:"3",y:"3",rx:"1",key:"oynpb5"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z",key:"1qboyk"}]],U5=e("LibraryBig",NA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LA=[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]],H5=e("Library",LA);/** + */const SA=[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]],O5=e("Library",SA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]],z5=e("LifeBuoy",xA);/** + */const bA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]],Z5=e("LifeBuoy",bA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wA=[["path",{d:"M8 20V8c0-2.2 1.8-4 4-4 1.5 0 2.8.8 3.5 2",key:"1rtphz"}],["path",{d:"M6 12h4",key:"a4o3ry"}],["path",{d:"M14 12h2v8",key:"c1fccl"}],["path",{d:"M6 20h4",key:"1i6q5t"}],["path",{d:"M14 20h4",key:"lzx1xo"}]],P5=e("Ligature",wA);/** + */const qA=[["path",{d:"M8 20V8c0-2.2 1.8-4 4-4 1.5 0 2.8.8 3.5 2",key:"1rtphz"}],["path",{d:"M6 12h4",key:"a4o3ry"}],["path",{d:"M14 12h2v8",key:"c1fccl"}],["path",{d:"M6 20h4",key:"1i6q5t"}],["path",{d:"M14 20h4",key:"lzx1xo"}]],G5=e("Ligature",qA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fA=[["path",{d:"M16.8 11.2c.8-.9 1.2-2 1.2-3.2a6 6 0 0 0-9.3-5",key:"1fkcox"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M6.3 6.3a4.67 4.67 0 0 0 1.2 5.2c.7.7 1.3 1.5 1.5 2.5",key:"10m8kw"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],j5=e("LightbulbOff",fA);/** + */const $A=[["path",{d:"M16.8 11.2c.8-.9 1.2-2 1.2-3.2a6 6 0 0 0-9.3-5",key:"1fkcox"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M6.3 6.3a4.67 4.67 0 0 0 1.2 5.2c.7.7 1.3 1.5 1.5 2.5",key:"10m8kw"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],W5=e("LightbulbOff",$A);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CA=[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],V5=e("Link2Off",CA);/** + */const AA=[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],E5=e("Link2Off",AA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IA=[["path",{d:"M11 18H3",key:"n3j2dh"}],["path",{d:"m15 18 2 2 4-4",key:"1szwhi"}],["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M16 6H3",key:"1wxfjs"}]],B5=e("ListCheck",IA);/** + */const HA=[["path",{d:"M11 18H3",key:"n3j2dh"}],["path",{d:"m15 18 2 2 4-4",key:"1szwhi"}],["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M16 6H3",key:"1wxfjs"}]],X5=e("ListCheck",HA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NA=[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],F5=e("ListChecks",NA);/** + */const zA=[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],K5=e("ListChecks",zA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SA=[["path",{d:"m3 10 2.5-2.5L3 5",key:"i6eama"}],["path",{d:"m3 19 2.5-2.5L3 14",key:"w2gmor"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}]],D5=e("ListCollapse",SA);/** + */const jA=[["path",{d:"m3 10 2.5-2.5L3 5",key:"i6eama"}],["path",{d:"m3 19 2.5-2.5L3 14",key:"w2gmor"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}]],J5=e("ListCollapse",jA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qA=[["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M10 18H3",key:"13769t"}],["path",{d:"M21 6v10a2 2 0 0 1-2 2h-5",key:"ilrcs8"}],["path",{d:"m16 16-2 2 2 2",key:"kkc6pm"}]],R5=e("ListEnd",qA);/** + */const PA=[["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M10 18H3",key:"13769t"}],["path",{d:"M21 6v10a2 2 0 0 1-2 2h-5",key:"ilrcs8"}],["path",{d:"m16 16-2 2 2 2",key:"kkc6pm"}]],Q5=e("ListEnd",PA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bA=[["path",{d:"M10 18h4",key:"1ulq68"}],["path",{d:"M11 6H3",key:"1u26ik"}],["path",{d:"M15 6h6",key:"1jlkvy"}],["path",{d:"M18 9V3",key:"xwwp7m"}],["path",{d:"M7 12h8",key:"7a1bxv"}]],T5=e("ListFilterPlus",bA);/** + */const VA=[["path",{d:"M10 18h4",key:"1ulq68"}],["path",{d:"M11 6H3",key:"1u26ik"}],["path",{d:"M15 6h6",key:"1jlkvy"}],["path",{d:"M18 9V3",key:"xwwp7m"}],["path",{d:"M7 12h8",key:"7a1bxv"}]],Y5=e("ListFilterPlus",VA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $A=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M10 18h4",key:"1ulq68"}]],U5=e("ListFilter",$A);/** + */const BA=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M10 18h4",key:"1ulq68"}]],es=e("ListFilter",BA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AA=[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],O5=e("ListMinus",AA);/** + */const FA=[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],as=e("ListMinus",FA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HA=[["path",{d:"M21 15V6",key:"h1cx4g"}],["path",{d:"M18.5 18a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",key:"8saifv"}],["path",{d:"M12 12H3",key:"18klou"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M12 18H3",key:"11ftsu"}]],Z5=e("ListMusic",HA);/** + */const DA=[["path",{d:"M21 15V6",key:"h1cx4g"}],["path",{d:"M18.5 18a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",key:"8saifv"}],["path",{d:"M12 12H3",key:"18klou"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M12 18H3",key:"11ftsu"}]],os=e("ListMusic",DA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zA=[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],G5=e("ListPlus",zA);/** + */const RA=[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],ts=e("ListPlus",RA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PA=[["path",{d:"M21 6H3",key:"1jwq7v"}],["path",{d:"M7 12H3",key:"13ou7f"}],["path",{d:"M7 18H3",key:"1sijw9"}],["path",{d:"M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14",key:"qth677"}],["path",{d:"M11 10v4h4",key:"172dkj"}]],W5=e("ListRestart",PA);/** + */const TA=[["path",{d:"M21 6H3",key:"1jwq7v"}],["path",{d:"M7 12H3",key:"13ou7f"}],["path",{d:"M7 18H3",key:"1sijw9"}],["path",{d:"M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14",key:"qth677"}],["path",{d:"M11 10v4h4",key:"172dkj"}]],cs=e("ListRestart",TA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jA=[["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M10 6H3",key:"lf8lx7"}],["path",{d:"M21 18V8a2 2 0 0 0-2-2h-5",key:"1hghli"}],["path",{d:"m16 8-2-2 2-2",key:"160uvd"}]],E5=e("ListStart",jA);/** + */const UA=[["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M10 6H3",key:"lf8lx7"}],["path",{d:"M21 18V8a2 2 0 0 0-2-2h-5",key:"1hghli"}],["path",{d:"m16 8-2-2 2-2",key:"160uvd"}]],ns=e("ListStart",UA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VA=[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],X5=e("ListTodo",VA);/** + */const OA=[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],ds=e("ListTodo",OA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BA=[["path",{d:"M21 12h-8",key:"1bmf0i"}],["path",{d:"M21 6H8",key:"1pqkrb"}],["path",{d:"M21 18h-8",key:"1tm79t"}],["path",{d:"M3 6v4c0 1.1.9 2 2 2h3",key:"1ywdgy"}],["path",{d:"M3 10v6c0 1.1.9 2 2 2h3",key:"2wc746"}]],K5=e("ListTree",BA);/** + */const ZA=[["path",{d:"M21 12h-8",key:"1bmf0i"}],["path",{d:"M21 6H8",key:"1pqkrb"}],["path",{d:"M21 18h-8",key:"1tm79t"}],["path",{d:"M3 6v4c0 1.1.9 2 2 2h3",key:"1ywdgy"}],["path",{d:"M3 10v6c0 1.1.9 2 2 2h3",key:"2wc746"}]],is=e("ListTree",ZA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FA=[["path",{d:"M12 12H3",key:"18klou"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M12 18H3",key:"11ftsu"}],["path",{d:"m16 12 5 3-5 3v-6Z",key:"zpskkp"}]],J5=e("ListVideo",FA);/** + */const GA=[["path",{d:"M12 12H3",key:"18klou"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M12 18H3",key:"11ftsu"}],["path",{d:"m16 12 5 3-5 3v-6Z",key:"zpskkp"}]],hs=e("ListVideo",GA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DA=[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"m19 10-4 4",key:"1tz659"}],["path",{d:"m15 10 4 4",key:"1n7nei"}]],Q5=e("ListX",DA);/** + */const WA=[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"m19 10-4 4",key:"1tz659"}],["path",{d:"m15 10 4 4",key:"1n7nei"}]],ys=e("ListX",WA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RA=[["path",{d:"M22 12a1 1 0 0 1-10 0 1 1 0 0 0-10 0",key:"1lzz15"}],["path",{d:"M7 20.7a1 1 0 1 1 5-8.7 1 1 0 1 0 5-8.6",key:"1gnrpi"}],["path",{d:"M7 3.3a1 1 0 1 1 5 8.6 1 1 0 1 0 5 8.6",key:"u9yy5q"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Y5=e("LoaderPinwheel",RA);/** + */const EA=[["path",{d:"M22 12a1 1 0 0 1-10 0 1 1 0 0 0-10 0",key:"1lzz15"}],["path",{d:"M7 20.7a1 1 0 1 1 5-8.7 1 1 0 1 0 5-8.6",key:"1gnrpi"}],["path",{d:"M7 3.3a1 1 0 1 1 5 8.6 1 1 0 1 0 5 8.6",key:"u9yy5q"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],rs=e("LoaderPinwheel",EA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TA=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],es=e("Loader",TA);/** + */const XA=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],ks=e("Loader",XA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UA=[["line",{x1:"2",x2:"5",y1:"12",y2:"12",key:"bvdh0s"}],["line",{x1:"19",x2:"22",y1:"12",y2:"12",key:"1tbv5k"}],["line",{x1:"12",x2:"12",y1:"2",y2:"5",key:"11lu5j"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}],["path",{d:"M7.11 7.11C5.83 8.39 5 10.1 5 12c0 3.87 3.13 7 7 7 1.9 0 3.61-.83 4.89-2.11",key:"1oh7ia"}],["path",{d:"M18.71 13.96c.19-.63.29-1.29.29-1.96 0-3.87-3.13-7-7-7-.67 0-1.33.1-1.96.29",key:"3qdecy"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],as=e("LocateOff",UA);/** + */const KA=[["line",{x1:"2",x2:"5",y1:"12",y2:"12",key:"bvdh0s"}],["line",{x1:"19",x2:"22",y1:"12",y2:"12",key:"1tbv5k"}],["line",{x1:"12",x2:"12",y1:"2",y2:"5",key:"11lu5j"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}],["path",{d:"M7.11 7.11C5.83 8.39 5 10.1 5 12c0 3.87 3.13 7 7 7 1.9 0 3.61-.83 4.89-2.11",key:"1oh7ia"}],["path",{d:"M18.71 13.96c.19-.63.29-1.29.29-1.96 0-3.87-3.13-7-7-7-.67 0-1.33.1-1.96.29",key:"3qdecy"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],ps=e("LocateOff",KA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OA=[["line",{x1:"2",x2:"5",y1:"12",y2:"12",key:"bvdh0s"}],["line",{x1:"19",x2:"22",y1:"12",y2:"12",key:"1tbv5k"}],["line",{x1:"12",x2:"12",y1:"2",y2:"5",key:"11lu5j"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}],["circle",{cx:"12",cy:"12",r:"7",key:"fim9np"}]],os=e("Locate",OA);/** + */const JA=[["line",{x1:"2",x2:"5",y1:"12",y2:"12",key:"bvdh0s"}],["line",{x1:"19",x2:"22",y1:"12",y2:"12",key:"1tbv5k"}],["line",{x1:"12",x2:"12",y1:"2",y2:"5",key:"11lu5j"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}],["circle",{cx:"12",cy:"12",r:"7",key:"fim9np"}]],ss=e("Locate",JA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZA=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{width:"18",height:"12",x:"3",y:"10",rx:"2",key:"l0tzu3"}],["path",{d:"M7 10V7a5 5 0 0 1 9.33-2.5",key:"car5b7"}]],de=e("LockKeyholeOpen",ZA);/** + */const QA=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{width:"18",height:"12",x:"3",y:"10",rx:"2",key:"l0tzu3"}],["path",{d:"M7 10V7a5 5 0 0 1 9.33-2.5",key:"car5b7"}]],he=e("LockKeyholeOpen",QA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GA=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]],cs=e("LockKeyhole",GA);/** + */const YA=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]],ls=e("LockKeyhole",YA);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WA=[["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M3 18h1",key:"1eiwyy"}],["path",{d:"M3 6h1",key:"rgxa97"}],["path",{d:"M8 12h1",key:"1con00"}],["path",{d:"M8 18h1",key:"13wk12"}],["path",{d:"M8 6h1",key:"tn6mkg"}]],ts=e("Logs",WA);/** + */const eH=[["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M3 18h1",key:"1eiwyy"}],["path",{d:"M3 6h1",key:"rgxa97"}],["path",{d:"M8 12h1",key:"1con00"}],["path",{d:"M8 18h1",key:"13wk12"}],["path",{d:"M8 6h1",key:"tn6mkg"}]],us=e("Logs",eH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EA=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}],["path",{d:"M11 11a2 2 0 0 0 4 0 4 4 0 0 0-8 0 6 6 0 0 0 12 0",key:"107gwy"}]],ns=e("Lollipop",EA);/** + */const aH=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}],["path",{d:"M11 11a2 2 0 0 0 4 0 4 4 0 0 0-8 0 6 6 0 0 0 12 0",key:"107gwy"}]],Ms=e("Lollipop",aH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XA=[["path",{d:"M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2",key:"1m57jg"}],["path",{d:"M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14",key:"1l99gc"}],["path",{d:"M10 20h4",key:"ni2waw"}],["circle",{cx:"16",cy:"20",r:"2",key:"1vifvg"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]],ds=e("Luggage",XA);/** + */const oH=[["path",{d:"M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2",key:"1m57jg"}],["path",{d:"M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14",key:"1l99gc"}],["path",{d:"M10 20h4",key:"ni2waw"}],["circle",{cx:"16",cy:"20",r:"2",key:"1vifvg"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]],vs=e("Luggage",oH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KA=[["path",{d:"m6 15-4-4 6.75-6.77a7.79 7.79 0 0 1 11 11L13 22l-4-4 6.39-6.36a2.14 2.14 0 0 0-3-3L6 15",key:"1i3lhw"}],["path",{d:"m5 8 4 4",key:"j6kj7e"}],["path",{d:"m12 15 4 4",key:"lnac28"}]],is=e("Magnet",KA);/** + */const tH=[["path",{d:"m6 15-4-4 6.75-6.77a7.79 7.79 0 0 1 11 11L13 22l-4-4 6.39-6.36a2.14 2.14 0 0 0-3-3L6 15",key:"1i3lhw"}],["path",{d:"m5 8 4 4",key:"j6kj7e"}],["path",{d:"m12 15 4 4",key:"lnac28"}]],ms=e("Magnet",tH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JA=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],hs=e("MailCheck",JA);/** + */const cH=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],_s=e("MailCheck",cH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QA=[["path",{d:"M22 15V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"fuxbkv"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M16 19h6",key:"xwg31i"}]],ys=e("MailMinus",QA);/** + */const nH=[["path",{d:"M22 15V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"fuxbkv"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M16 19h6",key:"xwg31i"}]],gs=e("MailMinus",nH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YA=[["path",{d:"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z",key:"1jhwl8"}],["path",{d:"m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10",key:"1qfld7"}]],rs=e("MailOpen",YA);/** + */const dH=[["path",{d:"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z",key:"1jhwl8"}],["path",{d:"m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10",key:"1qfld7"}]],Ls=e("MailOpen",dH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eH=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M16 19h6",key:"xwg31i"}]],ks=e("MailPlus",eH);/** + */const iH=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M16 19h6",key:"xwg31i"}]],xs=e("MailPlus",iH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aH=[["path",{d:"M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5",key:"e61zoh"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M18 15.28c.2-.4.5-.8.9-1a2.1 2.1 0 0 1 2.6.4c.3.4.5.8.5 1.3 0 1.3-2 2-2 2",key:"7z9rxb"}],["path",{d:"M20 22v.01",key:"12bgn6"}]],ps=e("MailQuestion",aH);/** + */const hH=[["path",{d:"M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5",key:"e61zoh"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M18 15.28c.2-.4.5-.8.9-1a2.1 2.1 0 0 1 2.6.4c.3.4.5.8.5 1.3 0 1.3-2 2-2 2",key:"7z9rxb"}],["path",{d:"M20 22v.01",key:"12bgn6"}]],ws=e("MailQuestion",hH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oH=[["path",{d:"M22 12.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h7.5",key:"w80f2v"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M18 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",key:"8lzu5m"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m22 22-1.5-1.5",key:"1x83k4"}]],ss=e("MailSearch",oH);/** + */const yH=[["path",{d:"M22 12.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h7.5",key:"w80f2v"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M18 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",key:"8lzu5m"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m22 22-1.5-1.5",key:"1x83k4"}]],fs=e("MailSearch",yH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cH=[["path",{d:"M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5",key:"e61zoh"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M20 14v4",key:"1hm744"}],["path",{d:"M20 22v.01",key:"12bgn6"}]],ls=e("MailWarning",cH);/** + */const rH=[["path",{d:"M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5",key:"e61zoh"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M20 14v4",key:"1hm744"}],["path",{d:"M20 22v.01",key:"12bgn6"}]],Cs=e("MailWarning",rH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tH=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9",key:"1j9vog"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m17 17 4 4",key:"1b3523"}],["path",{d:"m21 17-4 4",key:"uinynz"}]],us=e("MailX",tH);/** + */const kH=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9",key:"1j9vog"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m17 17 4 4",key:"1b3523"}],["path",{d:"m21 17-4 4",key:"uinynz"}]],Is=e("MailX",kH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nH=[["path",{d:"M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z",key:"1lbycx"}],["polyline",{points:"15,9 18,9 18,11",key:"1pm9c0"}],["path",{d:"M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2",key:"15i455"}],["line",{x1:"6",x2:"7",y1:"10",y2:"10",key:"1e2scm"}]],Ms=e("Mailbox",nH);/** + */const pH=[["path",{d:"M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z",key:"1lbycx"}],["polyline",{points:"15,9 18,9 18,11",key:"1pm9c0"}],["path",{d:"M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2",key:"15i455"}],["line",{x1:"6",x2:"7",y1:"10",y2:"10",key:"1e2scm"}]],Ns=e("Mailbox",pH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dH=[["rect",{width:"16",height:"13",x:"6",y:"4",rx:"2",key:"1drq3f"}],["path",{d:"m22 7-7.1 3.78c-.57.3-1.23.3-1.8 0L6 7",key:"xn252p"}],["path",{d:"M2 8v11c0 1.1.9 2 2 2h14",key:"n13cji"}]],vs=e("Mails",dH);/** + */const sH=[["rect",{width:"16",height:"13",x:"6",y:"4",rx:"2",key:"1drq3f"}],["path",{d:"m22 7-7.1 3.78c-.57.3-1.23.3-1.8 0L6 7",key:"xn252p"}],["path",{d:"M2 8v11c0 1.1.9 2 2 2h14",key:"n13cji"}]],Ss=e("Mails",sH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iH=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]],ms=e("MapPinCheckInside",iH);/** + */const lH=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]],bs=e("MapPinCheckInside",lH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hH=[["path",{d:"M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32.197 32.197 0 0 0 .813-.728",key:"1dq61d"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"m16 18 2 2 4-4",key:"1mkfmb"}]],_s=e("MapPinCheck",hH);/** + */const uH=[["path",{d:"M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32.197 32.197 0 0 0 .813-.728",key:"1dq61d"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"m16 18 2 2 4-4",key:"1mkfmb"}]],qs=e("MapPinCheck",uH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yH=[["path",{d:"M15 22a1 1 0 0 1-1-1v-4a1 1 0 0 1 .445-.832l3-2a1 1 0 0 1 1.11 0l3 2A1 1 0 0 1 22 17v4a1 1 0 0 1-1 1z",key:"1p1rcz"}],["path",{d:"M18 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 .601.2",key:"mcbcs9"}],["path",{d:"M18 22v-3",key:"1t1ugv"}],["circle",{cx:"10",cy:"10",r:"3",key:"1ns7v1"}]],gs=e("MapPinHouse",yH);/** + */const MH=[["path",{d:"M15 22a1 1 0 0 1-1-1v-4a1 1 0 0 1 .445-.832l3-2a1 1 0 0 1 1.11 0l3 2A1 1 0 0 1 22 17v4a1 1 0 0 1-1 1z",key:"1p1rcz"}],["path",{d:"M18 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 .601.2",key:"mcbcs9"}],["path",{d:"M18 22v-3",key:"1t1ugv"}],["circle",{cx:"10",cy:"10",r:"3",key:"1ns7v1"}]],$s=e("MapPinHouse",MH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rH=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],Ls=e("MapPinMinusInside",rH);/** + */const vH=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],As=e("MapPinMinusInside",vH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kH=[["path",{d:"M18.977 14C19.6 12.701 20 11.343 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738",key:"11uxia"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M16 18h6",key:"987eiv"}]],xs=e("MapPinMinus",kH);/** + */const mH=[["path",{d:"M18.977 14C19.6 12.701 20 11.343 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738",key:"11uxia"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M16 18h6",key:"987eiv"}]],Hs=e("MapPinMinus",mH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pH=[["path",{d:"M12.75 7.09a3 3 0 0 1 2.16 2.16",key:"1d4wjd"}],["path",{d:"M17.072 17.072c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568",key:"12yil7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533",key:"lhrkcz"}],["path",{d:"M9.13 9.13a3 3 0 0 0 3.74 3.74",key:"13wojd"}]],ws=e("MapPinOff",pH);/** + */const _H=[["path",{d:"M12.75 7.09a3 3 0 0 1 2.16 2.16",key:"1d4wjd"}],["path",{d:"M17.072 17.072c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568",key:"12yil7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533",key:"lhrkcz"}],["path",{d:"M9.13 9.13a3 3 0 0 0 3.74 3.74",key:"13wojd"}]],zs=e("MapPinOff",_H);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sH=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],fs=e("MapPinPlusInside",sH);/** + */const gH=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],js=e("MapPinPlusInside",gH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lH=[["path",{d:"M19.914 11.105A7.298 7.298 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738",key:"fcdtly"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M16 18h6",key:"987eiv"}],["path",{d:"M19 15v6",key:"10aioa"}]],Cs=e("MapPinPlus",lH);/** + */const LH=[["path",{d:"M19.914 11.105A7.298 7.298 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738",key:"fcdtly"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M16 18h6",key:"987eiv"}],["path",{d:"M19 15v6",key:"10aioa"}]],Ps=e("MapPinPlus",LH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uH=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"m14.5 7.5-5 5",key:"3lb6iw"}],["path",{d:"m9.5 7.5 5 5",key:"ko136h"}]],Is=e("MapPinXInside",uH);/** + */const xH=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["path",{d:"m14.5 7.5-5 5",key:"3lb6iw"}],["path",{d:"m9.5 7.5 5 5",key:"ko136h"}]],Vs=e("MapPinXInside",xH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MH=[["path",{d:"M19.752 11.901A7.78 7.78 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 19 19 0 0 0 .09-.077",key:"y0ewhp"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"m21.5 15.5-5 5",key:"11iqnx"}],["path",{d:"m21.5 20.5-5-5",key:"1bylgx"}]],Ns=e("MapPinX",MH);/** + */const wH=[["path",{d:"M19.752 11.901A7.78 7.78 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 19 19 0 0 0 .09-.077",key:"y0ewhp"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"m21.5 15.5-5 5",key:"11iqnx"}],["path",{d:"m21.5 20.5-5-5",key:"1bylgx"}]],Bs=e("MapPinX",wH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vH=[["path",{d:"M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",key:"11u0oz"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",key:"q8zwxj"}]],Ss=e("MapPinned",vH);/** + */const fH=[["path",{d:"M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",key:"11u0oz"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",key:"q8zwxj"}]],Fs=e("MapPinned",fH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mH=[["path",{d:"m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12",key:"svfegj"}],["path",{d:"M15 5.764V12",key:"1ocw4k"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],qs=e("MapPlus",mH);/** + */const CH=[["path",{d:"m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12",key:"svfegj"}],["path",{d:"M15 5.764V12",key:"1ocw4k"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],Ds=e("MapPlus",CH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _H=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],bs=e("Map",_H);/** + */const IH=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],Rs=e("Map",IH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gH=[["path",{d:"m14 6 4 4",key:"1q72g9"}],["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"m21 3-7.75 7.75",key:"1cjbfd"}],["circle",{cx:"9",cy:"15",r:"6",key:"bx5svt"}]],$s=e("MarsStroke",gH);/** + */const NH=[["path",{d:"m14 6 4 4",key:"1q72g9"}],["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"m21 3-7.75 7.75",key:"1cjbfd"}],["circle",{cx:"9",cy:"15",r:"6",key:"bx5svt"}]],Ts=e("MarsStroke",NH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LH=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"m21 3-6.75 6.75",key:"pv0uzu"}],["circle",{cx:"10",cy:"14",r:"6",key:"1qwbdc"}]],As=e("Mars",LH);/** + */const SH=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"m21 3-6.75 6.75",key:"pv0uzu"}],["circle",{cx:"10",cy:"14",r:"6",key:"1qwbdc"}]],Us=e("Mars",SH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xH=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],Hs=e("Martini",xH);/** + */const bH=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],Os=e("Martini",bH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wH=[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]],zs=e("Maximize2",wH);/** + */const qH=[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]],Zs=e("Maximize2",qH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fH=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]],Ps=e("Maximize",fH);/** + */const $H=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]],Gs=e("Maximize",$H);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CH=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],js=e("Medal",CH);/** + */const AH=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],Ws=e("Medal",AH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IH=[["path",{d:"M9.26 9.26 3 11v3l14.14 3.14",key:"3429n"}],["path",{d:"M21 15.34V6l-7.31 2.03",key:"4o1dh8"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Vs=e("MegaphoneOff",IH);/** + */const HH=[["path",{d:"M9.26 9.26 3 11v3l14.14 3.14",key:"3429n"}],["path",{d:"M21 15.34V6l-7.31 2.03",key:"4o1dh8"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Es=e("MegaphoneOff",HH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NH=[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]],Bs=e("Megaphone",NH);/** + */const zH=[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]],Xs=e("Megaphone",zH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SH=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"8",x2:"16",y1:"15",y2:"15",key:"1xb1d9"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],Fs=e("Meh",SH);/** + */const jH=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"8",x2:"16",y1:"15",y2:"15",key:"1xb1d9"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],Ks=e("Meh",jH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qH=[["path",{d:"M6 19v-3",key:"1nvgqn"}],["path",{d:"M10 19v-3",key:"iu8nkm"}],["path",{d:"M14 19v-3",key:"kcehxu"}],["path",{d:"M18 19v-3",key:"1vh91z"}],["path",{d:"M8 11V9",key:"63erz4"}],["path",{d:"M16 11V9",key:"fru6f3"}],["path",{d:"M12 11V9",key:"ha00sb"}],["path",{d:"M2 15h20",key:"16ne18"}],["path",{d:"M2 7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.1a2 2 0 0 0 0 3.837V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5.1a2 2 0 0 0 0-3.837Z",key:"lhddv3"}]],Ds=e("MemoryStick",qH);/** + */const PH=[["path",{d:"M6 19v-3",key:"1nvgqn"}],["path",{d:"M10 19v-3",key:"iu8nkm"}],["path",{d:"M14 19v-3",key:"kcehxu"}],["path",{d:"M18 19v-3",key:"1vh91z"}],["path",{d:"M8 11V9",key:"63erz4"}],["path",{d:"M16 11V9",key:"fru6f3"}],["path",{d:"M12 11V9",key:"ha00sb"}],["path",{d:"M2 15h20",key:"16ne18"}],["path",{d:"M2 7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.1a2 2 0 0 0 0 3.837V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5.1a2 2 0 0 0 0-3.837Z",key:"lhddv3"}]],Js=e("MemoryStick",PH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bH=[["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22",key:"1hyw0i"}],["path",{d:"m20 22-5-5",key:"1m27yz"}]],Rs=e("Merge",bH);/** + */const VH=[["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22",key:"1hyw0i"}],["path",{d:"m20 22-5-5",key:"1m27yz"}]],Qs=e("Merge",VH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $H=[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22z",key:"k85zhp"}]],Ts=e("MessageCircleCode",$H);/** + */const BH=[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22z",key:"k85zhp"}]],Ys=e("MessageCircleCode",BH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AH=[["path",{d:"M13.5 3.1c-.5 0-1-.1-1.5-.1s-1 .1-1.5.1",key:"16ll65"}],["path",{d:"M19.3 6.8a10.45 10.45 0 0 0-2.1-2.1",key:"1nq77a"}],["path",{d:"M20.9 13.5c.1-.5.1-1 .1-1.5s-.1-1-.1-1.5",key:"1sf7wn"}],["path",{d:"M17.2 19.3a10.45 10.45 0 0 0 2.1-2.1",key:"x1hs5g"}],["path",{d:"M10.5 20.9c.5.1 1 .1 1.5.1s1-.1 1.5-.1",key:"19m18z"}],["path",{d:"M3.5 17.5 2 22l4.5-1.5",key:"1f36qi"}],["path",{d:"M3.1 10.5c0 .5-.1 1-.1 1.5s.1 1 .1 1.5",key:"1vz3ju"}],["path",{d:"M6.8 4.7a10.45 10.45 0 0 0-2.1 2.1",key:"19f9do"}]],Us=e("MessageCircleDashed",AH);/** + */const FH=[["path",{d:"M13.5 3.1c-.5 0-1-.1-1.5-.1s-1 .1-1.5.1",key:"16ll65"}],["path",{d:"M19.3 6.8a10.45 10.45 0 0 0-2.1-2.1",key:"1nq77a"}],["path",{d:"M20.9 13.5c.1-.5.1-1 .1-1.5s-.1-1-.1-1.5",key:"1sf7wn"}],["path",{d:"M17.2 19.3a10.45 10.45 0 0 0 2.1-2.1",key:"x1hs5g"}],["path",{d:"M10.5 20.9c.5.1 1 .1 1.5.1s1-.1 1.5-.1",key:"19m18z"}],["path",{d:"M3.5 17.5 2 22l4.5-1.5",key:"1f36qi"}],["path",{d:"M3.1 10.5c0 .5-.1 1-.1 1.5s.1 1 .1 1.5",key:"1vz3ju"}],["path",{d:"M6.8 4.7a10.45 10.45 0 0 0-2.1 2.1",key:"19f9do"}]],e3=e("MessageCircleDashed",FH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M15.8 9.2a2.5 2.5 0 0 0-3.5 0l-.3.4-.35-.3a2.42 2.42 0 1 0-3.2 3.6l3.6 3.5 3.6-3.5c1.2-1.2 1.1-2.7.2-3.7",key:"43lnbm"}]],Os=e("MessageCircleHeart",HH);/** + */const DH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M15.8 9.2a2.5 2.5 0 0 0-3.5 0l-.3.4-.35-.3a2.42 2.42 0 1 0-3.2 3.6l3.6 3.5 3.6-3.5c1.2-1.2 1.1-2.7.2-3.7",key:"43lnbm"}]],a3=e("MessageCircleHeart",DH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]],Zs=e("MessageCircleMore",zH);/** + */const RH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]],o3=e("MessageCircleMore",RH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PH=[["path",{d:"M20.5 14.9A9 9 0 0 0 9.1 3.5",key:"1iebmn"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.6 5.6C3 8.3 2.2 12.5 4 16l-2 6 6-2c3.4 1.8 7.6 1.1 10.3-1.7",key:"1ov8ce"}]],Gs=e("MessageCircleOff",PH);/** + */const TH=[["path",{d:"M20.5 14.9A9 9 0 0 0 9.1 3.5",key:"1iebmn"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.6 5.6C3 8.3 2.2 12.5 4 16l-2 6 6-2c3.4 1.8 7.6 1.1 10.3-1.7",key:"1ov8ce"}]],t3=e("MessageCircleOff",TH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],Ws=e("MessageCirclePlus",jH);/** + */const UH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],c3=e("MessageCirclePlus",UH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Es=e("MessageCircleQuestion",VH);/** + */const OH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],n3=e("MessageCircleQuestion",OH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"m10 15-3-3 3-3",key:"1pgupc"}],["path",{d:"M7 12h7a2 2 0 0 1 2 2v1",key:"1gheu4"}]],Xs=e("MessageCircleReply",BH);/** + */const ZH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"m10 15-3-3 3-3",key:"1pgupc"}],["path",{d:"M7 12h7a2 2 0 0 1 2 2v1",key:"1gheu4"}]],d3=e("MessageCircleReply",ZH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],Ks=e("MessageCircleWarning",FH);/** + */const GH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],i3=e("MessageCircleWarning",GH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Js=e("MessageCircleX",DH);/** + */const WH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],h3=e("MessageCircleX",WH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],Qs=e("MessageCircle",RH);/** + */const EH=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],y3=e("MessageCircle",EH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TH=[["path",{d:"M10 7.5 8 10l2 2.5",key:"xb17xw"}],["path",{d:"m14 7.5 2 2.5-2 2.5",key:"5rap1v"}],["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"}]],Ys=e("MessageSquareCode",TH);/** + */const XH=[["path",{d:"M10 7.5 8 10l2 2.5",key:"xb17xw"}],["path",{d:"m14 7.5 2 2.5-2 2.5",key:"5rap1v"}],["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"}]],r3=e("MessageSquareCode",XH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UH=[["path",{d:"M10 17H7l-4 4v-7",key:"1r71xu"}],["path",{d:"M14 17h1",key:"nufu4t"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 14v1a2 2 0 0 1-2 2",key:"29akq3"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M9 3h1",key:"1yesri"}]],e3=e("MessageSquareDashed",UH);/** + */const KH=[["path",{d:"M10 17H7l-4 4v-7",key:"1r71xu"}],["path",{d:"M14 17h1",key:"nufu4t"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 14v1a2 2 0 0 1-2 2",key:"29akq3"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M9 3h1",key:"1yesri"}]],k3=e("MessageSquareDashed",KH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OH=[["path",{d:"m5 19-2 2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2",key:"1xuzuj"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 17h6",key:"r8uit2"}]],a3=e("MessageSquareDiff",OH);/** + */const JH=[["path",{d:"m5 19-2 2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2",key:"1xuzuj"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 17h6",key:"r8uit2"}]],p3=e("MessageSquareDiff",JH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZH=[["path",{d:"M11.7 3H5a2 2 0 0 0-2 2v16l4-4h12a2 2 0 0 0 2-2v-2.7",key:"uodpkb"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}]],o3=e("MessageSquareDot",ZH);/** + */const QH=[["path",{d:"M11.7 3H5a2 2 0 0 0-2 2v16l4-4h12a2 2 0 0 0 2-2v-2.7",key:"uodpkb"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}]],s3=e("MessageSquareDot",QH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GH=[["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"}],["path",{d:"M14.8 7.5a1.84 1.84 0 0 0-2.6 0l-.2.3-.3-.3a1.84 1.84 0 1 0-2.4 2.8L12 13l2.7-2.7c.9-.9.8-2.1.1-2.8",key:"1blaws"}]],c3=e("MessageSquareHeart",GH);/** + */const YH=[["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"}],["path",{d:"M14.8 7.5a1.84 1.84 0 0 0-2.6 0l-.2.3-.3-.3a1.84 1.84 0 1 0-2.4 2.8L12 13l2.7-2.7c.9-.9.8-2.1.1-2.8",key:"1blaws"}]],l3=e("MessageSquareHeart",YH);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WH=[["path",{d:"M19 15v-2a2 2 0 1 0-4 0v2",key:"h3d1vz"}],["path",{d:"M9 17H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3.5",key:"xsnnhn"}],["rect",{x:"13",y:"15",width:"8",height:"5",rx:"1",key:"1ccwuk"}]],t3=e("MessageSquareLock",WH);/** + */const ez=[["path",{d:"M19 15v-2a2 2 0 1 0-4 0v2",key:"h3d1vz"}],["path",{d:"M9 17H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3.5",key:"xsnnhn"}],["rect",{x:"13",y:"15",width:"8",height:"5",rx:"1",key:"1ccwuk"}]],u3=e("MessageSquareLock",ez);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EH=[["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"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M16 10h.01",key:"1m94wz"}]],n3=e("MessageSquareMore",EH);/** + */const az=[["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"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M16 10h.01",key:"1m94wz"}]],M3=e("MessageSquareMore",az);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XH=[["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M3.6 3.6c-.4.3-.6.8-.6 1.4v16l4-4h10",key:"pwpm4a"}]],d3=e("MessageSquareOff",XH);/** + */const oz=[["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M3.6 3.6c-.4.3-.6.8-.6 1.4v16l4-4h10",key:"pwpm4a"}]],v3=e("MessageSquareOff",oz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KH=[["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"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],i3=e("MessageSquarePlus",KH);/** + */const tz=[["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"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],m3=e("MessageSquarePlus",tz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JH=[["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"}],["path",{d:"M8 12a2 2 0 0 0 2-2V8H8",key:"1jfesj"}],["path",{d:"M14 12a2 2 0 0 0 2-2V8h-2",key:"1dq9mh"}]],h3=e("MessageSquareQuote",JH);/** + */const cz=[["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"}],["path",{d:"M8 12a2 2 0 0 0 2-2V8H8",key:"1jfesj"}],["path",{d:"M14 12a2 2 0 0 0 2-2V8h-2",key:"1dq9mh"}]],_3=e("MessageSquareQuote",cz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QH=[["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"}],["path",{d:"m10 7-3 3 3 3",key:"1eugdv"}],["path",{d:"M17 13v-1a2 2 0 0 0-2-2H7",key:"ernfh3"}]],y3=e("MessageSquareReply",QH);/** + */const nz=[["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"}],["path",{d:"m10 7-3 3 3 3",key:"1eugdv"}],["path",{d:"M17 13v-1a2 2 0 0 0-2-2H7",key:"ernfh3"}]],g3=e("MessageSquareReply",nz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YH=[["path",{d:"M21 12v3a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h7",key:"tqtdkg"}],["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"m16 8 5-5",key:"15mbrl"}]],r3=e("MessageSquareShare",YH);/** + */const dz=[["path",{d:"M21 12v3a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h7",key:"tqtdkg"}],["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"m16 8 5-5",key:"15mbrl"}]],L3=e("MessageSquareShare",dz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ez=[["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"}],["path",{d:"M13 8H7",key:"14i4kc"}],["path",{d:"M17 12H7",key:"16if0g"}]],k3=e("MessageSquareText",ez);/** + */const iz=[["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"}],["path",{d:"M13 8H7",key:"14i4kc"}],["path",{d:"M17 12H7",key:"16if0g"}]],x3=e("MessageSquareText",iz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const az=[["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"}],["path",{d:"m14.5 7.5-5 5",key:"3lb6iw"}],["path",{d:"m9.5 7.5 5 5",key:"ko136h"}]],p3=e("MessageSquareX",az);/** + */const hz=[["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"}],["path",{d:"m14.5 7.5-5 5",key:"3lb6iw"}],["path",{d:"m9.5 7.5 5 5",key:"ko136h"}]],w3=e("MessageSquareX",hz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oz=[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",key:"p1xzt8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]],s3=e("MessagesSquare",oz);/** + */const yz=[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",key:"p1xzt8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]],f3=e("MessagesSquare",yz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cz=[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M18.89 13.23A7.12 7.12 0 0 0 19 12v-2",key:"80xlxr"}],["path",{d:"M5 10v2a7 7 0 0 0 12 5",key:"p2k8kg"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]],l3=e("MicOff",cz);/** + */const rz=[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M18.89 13.23A7.12 7.12 0 0 0 19 12v-2",key:"80xlxr"}],["path",{d:"M5 10v2a7 7 0 0 0 12 5",key:"p2k8kg"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]],C3=e("MicOff",rz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tz=[["path",{d:"m11 7.601-5.994 8.19a1 1 0 0 0 .1 1.298l.817.818a1 1 0 0 0 1.314.087L15.09 12",key:"80a601"}],["path",{d:"M16.5 21.174C15.5 20.5 14.372 20 13 20c-2.058 0-3.928 2.356-6 2-2.072-.356-2.775-3.369-1.5-4.5",key:"j0ngtp"}],["circle",{cx:"16",cy:"7",r:"5",key:"d08jfb"}]],ie=e("MicVocal",tz);/** + */const kz=[["path",{d:"m11 7.601-5.994 8.19a1 1 0 0 0 .1 1.298l.817.818a1 1 0 0 0 1.314.087L15.09 12",key:"80a601"}],["path",{d:"M16.5 21.174C15.5 20.5 14.372 20 13 20c-2.058 0-3.928 2.356-6 2-2.072-.356-2.775-3.369-1.5-4.5",key:"j0ngtp"}],["circle",{cx:"16",cy:"7",r:"5",key:"d08jfb"}]],ye=e("MicVocal",kz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nz=[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]],u3=e("Mic",nz);/** + */const pz=[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]],I3=e("Mic",pz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dz=[["path",{d:"M18 12h2",key:"quuxs7"}],["path",{d:"M18 16h2",key:"zsn3lv"}],["path",{d:"M18 20h2",key:"9x5y9y"}],["path",{d:"M18 4h2",key:"1luxfb"}],["path",{d:"M18 8h2",key:"nxqzg"}],["path",{d:"M4 12h2",key:"1ltxp0"}],["path",{d:"M4 16h2",key:"8a5zha"}],["path",{d:"M4 20h2",key:"27dk57"}],["path",{d:"M4 4h2",key:"10groj"}],["path",{d:"M4 8h2",key:"18vq6w"}],["path",{d:"M8 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-1.5c-.276 0-.494.227-.562.495a2 2 0 0 1-3.876 0C9.994 2.227 9.776 2 9.5 2z",key:"1681fp"}]],M3=e("Microchip",dz);/** + */const sz=[["path",{d:"M18 12h2",key:"quuxs7"}],["path",{d:"M18 16h2",key:"zsn3lv"}],["path",{d:"M18 20h2",key:"9x5y9y"}],["path",{d:"M18 4h2",key:"1luxfb"}],["path",{d:"M18 8h2",key:"nxqzg"}],["path",{d:"M4 12h2",key:"1ltxp0"}],["path",{d:"M4 16h2",key:"8a5zha"}],["path",{d:"M4 20h2",key:"27dk57"}],["path",{d:"M4 4h2",key:"10groj"}],["path",{d:"M4 8h2",key:"18vq6w"}],["path",{d:"M8 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-1.5c-.276 0-.494.227-.562.495a2 2 0 0 1-3.876 0C9.994 2.227 9.776 2 9.5 2z",key:"1681fp"}]],N3=e("Microchip",sz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iz=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],v3=e("Microscope",iz);/** + */const lz=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],S3=e("Microscope",lz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hz=[["rect",{width:"20",height:"15",x:"2",y:"4",rx:"2",key:"2no95f"}],["rect",{width:"8",height:"7",x:"6",y:"8",rx:"1",key:"zh9wx"}],["path",{d:"M18 8v7",key:"o5zi4n"}],["path",{d:"M6 19v2",key:"1loha6"}],["path",{d:"M18 19v2",key:"1dawf0"}]],m3=e("Microwave",hz);/** + */const uz=[["rect",{width:"20",height:"15",x:"2",y:"4",rx:"2",key:"2no95f"}],["rect",{width:"8",height:"7",x:"6",y:"8",rx:"1",key:"zh9wx"}],["path",{d:"M18 8v7",key:"o5zi4n"}],["path",{d:"M6 19v2",key:"1loha6"}],["path",{d:"M18 19v2",key:"1dawf0"}]],b3=e("Microwave",uz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yz=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M12 3v3",key:"1n5kay"}],["path",{d:"M4 6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h13a2 2 0 0 0 1.152-.365l3.424-2.317a1 1 0 0 0 0-1.635l-3.424-2.318A2 2 0 0 0 17 6z",key:"1btarq"}]],_3=e("Milestone",yz);/** + */const Mz=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M12 3v3",key:"1n5kay"}],["path",{d:"M4 6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h13a2 2 0 0 0 1.152-.365l3.424-2.317a1 1 0 0 0 0-1.635l-3.424-2.318A2 2 0 0 0 17 6z",key:"1btarq"}]],q3=e("Milestone",Mz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rz=[["path",{d:"M8 2h8",key:"1ssgc1"}],["path",{d:"M9 2v1.343M15 2v2.789a4 4 0 0 0 .672 2.219l.656.984a4 4 0 0 1 .672 2.22v1.131M7.8 7.8l-.128.192A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-3",key:"y0ejgx"}],["path",{d:"M7 15a6.47 6.47 0 0 1 5 0 6.472 6.472 0 0 0 3.435.435",key:"iaxqsy"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],g3=e("MilkOff",rz);/** + */const vz=[["path",{d:"M8 2h8",key:"1ssgc1"}],["path",{d:"M9 2v1.343M15 2v2.789a4 4 0 0 0 .672 2.219l.656.984a4 4 0 0 1 .672 2.22v1.131M7.8 7.8l-.128.192A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-3",key:"y0ejgx"}],["path",{d:"M7 15a6.47 6.47 0 0 1 5 0 6.472 6.472 0 0 0 3.435.435",key:"iaxqsy"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],$3=e("MilkOff",vz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kz=[["path",{d:"M8 2h8",key:"1ssgc1"}],["path",{d:"M9 2v2.789a4 4 0 0 1-.672 2.219l-.656.984A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-9.789a4 4 0 0 0-.672-2.219l-.656-.984A4 4 0 0 1 15 4.788V2",key:"qtp12x"}],["path",{d:"M7 15a6.472 6.472 0 0 1 5 0 6.47 6.47 0 0 0 5 0",key:"ygeh44"}]],L3=e("Milk",kz);/** + */const mz=[["path",{d:"M8 2h8",key:"1ssgc1"}],["path",{d:"M9 2v2.789a4 4 0 0 1-.672 2.219l-.656.984A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-9.789a4 4 0 0 0-.672-2.219l-.656-.984A4 4 0 0 1 15 4.788V2",key:"qtp12x"}],["path",{d:"M7 15a6.472 6.472 0 0 1 5 0 6.47 6.47 0 0 0 5 0",key:"ygeh44"}]],A3=e("Milk",mz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pz=[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]],x3=e("Minimize2",pz);/** + */const _z=[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]],H3=e("Minimize2",_z);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sz=[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]],w3=e("Minimize",sz);/** + */const gz=[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]],z3=e("Minimize",gz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lz=[["path",{d:"M5 12h14",key:"1ays0h"}]],f3=e("Minus",lz);/** + */const Lz=[["path",{d:"M5 12h14",key:"1ays0h"}]],j3=e("Minus",Lz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uz=[["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],C3=e("MonitorCheck",uz);/** + */const xz=[["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],P3=e("MonitorCheck",xz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Mz=[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m15.2 4.9-.9-.4",key:"12wd2u"}],["path",{d:"m15.2 7.1-.9.4",key:"1r2vl7"}],["path",{d:"m16.9 3.2-.4-.9",key:"3zbo91"}],["path",{d:"m16.9 8.8-.4.9",key:"1qr2dn"}],["path",{d:"m19.5 2.3-.4.9",key:"1rjrkq"}],["path",{d:"m19.5 9.7-.4-.9",key:"heryx5"}],["path",{d:"m21.7 4.5-.9.4",key:"17fqt1"}],["path",{d:"m21.7 7.5-.9-.4",key:"14zyni"}],["path",{d:"M22 13v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7",key:"1tnzv8"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}]],I3=e("MonitorCog",Mz);/** + */const wz=[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m15.2 4.9-.9-.4",key:"12wd2u"}],["path",{d:"m15.2 7.1-.9.4",key:"1r2vl7"}],["path",{d:"m16.9 3.2-.4-.9",key:"3zbo91"}],["path",{d:"m16.9 8.8-.4.9",key:"1qr2dn"}],["path",{d:"m19.5 2.3-.4.9",key:"1rjrkq"}],["path",{d:"m19.5 9.7-.4-.9",key:"heryx5"}],["path",{d:"m21.7 4.5-.9.4",key:"17fqt1"}],["path",{d:"m21.7 7.5-.9-.4",key:"14zyni"}],["path",{d:"M22 13v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7",key:"1tnzv8"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}]],V3=e("MonitorCog",wz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vz=[["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}],["path",{d:"M22 12v3a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h9",key:"1fet9y"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],N3=e("MonitorDot",vz);/** + */const fz=[["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}],["path",{d:"M22 12v3a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h9",key:"1fet9y"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],B3=e("MonitorDot",fz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mz=[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"m15 10-3 3-3-3",key:"lzhmyn"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],S3=e("MonitorDown",mz);/** + */const Cz=[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"m15 10-3 3-3-3",key:"lzhmyn"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],F3=e("MonitorDown",Cz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _z=[["path",{d:"M17 17H4a2 2 0 0 1-2-2V5c0-1.5 1-2 1-2",key:"k0q8oc"}],["path",{d:"M22 15V5a2 2 0 0 0-2-2H9",key:"cp1ac0"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],q3=e("MonitorOff",_z);/** + */const Iz=[["path",{d:"M17 17H4a2 2 0 0 1-2-2V5c0-1.5 1-2 1-2",key:"k0q8oc"}],["path",{d:"M22 15V5a2 2 0 0 0-2-2H9",key:"cp1ac0"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],D3=e("MonitorOff",Iz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gz=[["path",{d:"M10 13V7",key:"1u13u9"}],["path",{d:"M14 13V7",key:"1vj9om"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],b3=e("MonitorPause",gz);/** + */const Nz=[["path",{d:"M10 13V7",key:"1u13u9"}],["path",{d:"M14 13V7",key:"1vj9om"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],R3=e("MonitorPause",Nz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Lz=[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]],$3=e("MonitorPlay",Lz);/** + */const Sz=[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]],T3=e("MonitorPlay",Sz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xz=[["path",{d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8",key:"10dyio"}],["path",{d:"M10 19v-3.96 3.15",key:"1irgej"}],["path",{d:"M7 19h5",key:"qswx4l"}],["rect",{width:"6",height:"10",x:"16",y:"12",rx:"2",key:"1egngj"}]],A3=e("MonitorSmartphone",xz);/** + */const bz=[["path",{d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8",key:"10dyio"}],["path",{d:"M10 19v-3.96 3.15",key:"1irgej"}],["path",{d:"M7 19h5",key:"qswx4l"}],["rect",{width:"6",height:"10",x:"16",y:"12",rx:"2",key:"1egngj"}]],U3=e("MonitorSmartphone",bz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wz=[["path",{d:"M5.5 20H8",key:"1k40s5"}],["path",{d:"M17 9h.01",key:"1j24nn"}],["rect",{width:"10",height:"16",x:"12",y:"4",rx:"2",key:"ixliua"}],["path",{d:"M8 6H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4",key:"1mp6e1"}],["circle",{cx:"17",cy:"15",r:"1",key:"tqvash"}]],H3=e("MonitorSpeaker",wz);/** + */const qz=[["path",{d:"M5.5 20H8",key:"1k40s5"}],["path",{d:"M17 9h.01",key:"1j24nn"}],["rect",{width:"10",height:"16",x:"12",y:"4",rx:"2",key:"ixliua"}],["path",{d:"M8 6H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4",key:"1mp6e1"}],["circle",{cx:"17",cy:"15",r:"1",key:"tqvash"}]],O3=e("MonitorSpeaker",qz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fz=[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}],["rect",{x:"9",y:"7",width:"6",height:"6",rx:"1",key:"5m2oou"}]],z3=e("MonitorStop",fz);/** + */const $z=[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}],["rect",{x:"9",y:"7",width:"6",height:"6",rx:"1",key:"5m2oou"}]],Z3=e("MonitorStop",$z);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Cz=[["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}],["path",{d:"M12 13V7",key:"h0r20n"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],P3=e("MonitorUp",Cz);/** + */const Az=[["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}],["path",{d:"M12 13V7",key:"h0r20n"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],G3=e("MonitorUp",Az);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Iz=[["path",{d:"m14.5 12.5-5-5",key:"1jahn5"}],["path",{d:"m9.5 12.5 5-5",key:"1k2t7b"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],j3=e("MonitorX",Iz);/** + */const Hz=[["path",{d:"m14.5 12.5-5-5",key:"1jahn5"}],["path",{d:"m9.5 12.5 5-5",key:"1k2t7b"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]],W3=e("MonitorX",Hz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Nz=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9",key:"4ay0iu"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}]],V3=e("MoonStar",Nz);/** + */const zz=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9",key:"4ay0iu"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}]],E3=e("MoonStar",zz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Sz=[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}],["path",{d:"M4.14 15.08c2.62-1.57 5.24-1.43 7.86.42 2.74 1.94 5.49 2 8.23.19",key:"1pvmmp"}]],B3=e("MountainSnow",Sz);/** + */const jz=[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}],["path",{d:"M4.14 15.08c2.62-1.57 5.24-1.43 7.86.42 2.74 1.94 5.49 2 8.23.19",key:"1pvmmp"}]],X3=e("MountainSnow",jz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qz=[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]],F3=e("Mountain",qz);/** + */const Pz=[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]],K3=e("Mountain",Pz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bz=[["path",{d:"M12 6v.343",key:"1gyhex"}],["path",{d:"M18.218 18.218A7 7 0 0 1 5 15V9a7 7 0 0 1 .782-3.218",key:"ukzz01"}],["path",{d:"M19 13.343V9A7 7 0 0 0 8.56 2.902",key:"104jy9"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}]],D3=e("MouseOff",bz);/** + */const Vz=[["path",{d:"M12 6v.343",key:"1gyhex"}],["path",{d:"M18.218 18.218A7 7 0 0 1 5 15V9a7 7 0 0 1 .782-3.218",key:"ukzz01"}],["path",{d:"M19 13.343V9A7 7 0 0 0 8.56 2.902",key:"104jy9"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}]],J3=e("MouseOff",Vz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $z=[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]],R3=e("MousePointer2",$z);/** + */const Bz=[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]],Q3=e("MousePointer2",Bz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Az=[["path",{d:"M2.034 2.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.944L8.204 7.545a1 1 0 0 0-.66.66l-1.066 3.443a.5.5 0 0 1-.944.033z",key:"11pp1i"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}],["path",{d:"m11.8 11.8 8.4 8.4",key:"oogvdj"}]],T3=e("MousePointerBan",Az);/** + */const Fz=[["path",{d:"M2.034 2.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.944L8.204 7.545a1 1 0 0 0-.66.66l-1.066 3.443a.5.5 0 0 1-.944.033z",key:"11pp1i"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}],["path",{d:"m11.8 11.8 8.4 8.4",key:"oogvdj"}]],Y3=e("MousePointerBan",Fz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Hz=[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]],U3=e("MousePointerClick",Hz);/** + */const Dz=[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]],el=e("MousePointerClick",Dz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zz=[["path",{d:"M12.586 12.586 19 19",key:"ea5xo7"}],["path",{d:"M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z",key:"277e5u"}]],O3=e("MousePointer",zz);/** + */const Rz=[["path",{d:"M12.586 12.586 19 19",key:"ea5xo7"}],["path",{d:"M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z",key:"277e5u"}]],al=e("MousePointer",Rz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Pz=[["rect",{x:"5",y:"2",width:"14",height:"20",rx:"7",key:"11ol66"}],["path",{d:"M12 6v4",key:"16clxf"}]],Z3=e("Mouse",Pz);/** + */const Tz=[["rect",{x:"5",y:"2",width:"14",height:"20",rx:"7",key:"11ol66"}],["path",{d:"M12 6v4",key:"16clxf"}]],ol=e("Mouse",Tz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jz=[["path",{d:"M5 3v16h16",key:"1mqmf9"}],["path",{d:"m5 19 6-6",key:"jh6hbb"}],["path",{d:"m2 6 3-3 3 3",key:"tkyvxa"}],["path",{d:"m18 16 3 3-3 3",key:"1d4glt"}]],he=e("Move3d",jz);/** + */const Uz=[["path",{d:"M5 3v16h16",key:"1mqmf9"}],["path",{d:"m5 19 6-6",key:"jh6hbb"}],["path",{d:"m2 6 3-3 3 3",key:"tkyvxa"}],["path",{d:"m18 16 3 3-3 3",key:"1d4glt"}]],re=e("Move3d",Uz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vz=[["path",{d:"M19 13v6h-6",key:"1hxl6d"}],["path",{d:"M5 11V5h6",key:"12e2xe"}],["path",{d:"m5 5 14 14",key:"11anup"}]],G3=e("MoveDiagonal2",Vz);/** + */const Oz=[["path",{d:"M19 13v6h-6",key:"1hxl6d"}],["path",{d:"M5 11V5h6",key:"12e2xe"}],["path",{d:"m5 5 14 14",key:"11anup"}]],tl=e("MoveDiagonal2",Oz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bz=[["path",{d:"M11 19H5v-6",key:"8awifj"}],["path",{d:"M13 5h6v6",key:"7voy1q"}],["path",{d:"M19 5 5 19",key:"wwaj1z"}]],W3=e("MoveDiagonal",Bz);/** + */const Zz=[["path",{d:"M11 19H5v-6",key:"8awifj"}],["path",{d:"M13 5h6v6",key:"7voy1q"}],["path",{d:"M19 5 5 19",key:"wwaj1z"}]],cl=e("MoveDiagonal",Zz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fz=[["path",{d:"M11 19H5V13",key:"1akmht"}],["path",{d:"M19 5L5 19",key:"72u4yj"}]],E3=e("MoveDownLeft",Fz);/** + */const Gz=[["path",{d:"M11 19H5V13",key:"1akmht"}],["path",{d:"M19 5L5 19",key:"72u4yj"}]],nl=e("MoveDownLeft",Gz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Dz=[["path",{d:"M19 13V19H13",key:"10vkzq"}],["path",{d:"M5 5L19 19",key:"5zm2fv"}]],X3=e("MoveDownRight",Dz);/** + */const Wz=[["path",{d:"M19 13V19H13",key:"10vkzq"}],["path",{d:"M5 5L19 19",key:"5zm2fv"}]],dl=e("MoveDownRight",Wz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Rz=[["path",{d:"M8 18L12 22L16 18",key:"cskvfv"}],["path",{d:"M12 2V22",key:"r89rzk"}]],K3=e("MoveDown",Rz);/** + */const Ez=[["path",{d:"M8 18L12 22L16 18",key:"cskvfv"}],["path",{d:"M12 2V22",key:"r89rzk"}]],il=e("MoveDown",Ez);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Tz=[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]],J3=e("MoveHorizontal",Tz);/** + */const Xz=[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]],hl=e("MoveHorizontal",Xz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Uz=[["path",{d:"M6 8L2 12L6 16",key:"kyvwex"}],["path",{d:"M2 12H22",key:"1m8cig"}]],Q3=e("MoveLeft",Uz);/** + */const Kz=[["path",{d:"M6 8L2 12L6 16",key:"kyvwex"}],["path",{d:"M2 12H22",key:"1m8cig"}]],yl=e("MoveLeft",Kz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Oz=[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]],Y3=e("MoveRight",Oz);/** + */const Jz=[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]],rl=e("MoveRight",Jz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zz=[["path",{d:"M5 11V5H11",key:"3q78g9"}],["path",{d:"M5 5L19 19",key:"5zm2fv"}]],el=e("MoveUpLeft",Zz);/** + */const Qz=[["path",{d:"M5 11V5H11",key:"3q78g9"}],["path",{d:"M5 5L19 19",key:"5zm2fv"}]],kl=e("MoveUpLeft",Qz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Gz=[["path",{d:"M13 5H19V11",key:"1n1gyv"}],["path",{d:"M19 5L5 19",key:"72u4yj"}]],al=e("MoveUpRight",Gz);/** + */const Yz=[["path",{d:"M13 5H19V11",key:"1n1gyv"}],["path",{d:"M19 5L5 19",key:"72u4yj"}]],pl=e("MoveUpRight",Yz);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Wz=[["path",{d:"M8 6L12 2L16 6",key:"1yvkyx"}],["path",{d:"M12 2V22",key:"r89rzk"}]],ol=e("MoveUp",Wz);/** + */const ej=[["path",{d:"M8 6L12 2L16 6",key:"1yvkyx"}],["path",{d:"M12 2V22",key:"r89rzk"}]],sl=e("MoveUp",ej);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ez=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m8 18 4 4 4-4",key:"bh5tu3"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}]],cl=e("MoveVertical",Ez);/** + */const aj=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m8 18 4 4 4-4",key:"bh5tu3"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}]],ll=e("MoveVertical",aj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xz=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]],tl=e("Move",Xz);/** + */const oj=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]],ul=e("Move",oj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Kz=[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]],nl=e("Music2",Kz);/** + */const tj=[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]],Ml=e("Music2",tj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Jz=[["circle",{cx:"12",cy:"18",r:"4",key:"m3r9ws"}],["path",{d:"M16 18V2",key:"40x2m5"}]],dl=e("Music3",Jz);/** + */const cj=[["circle",{cx:"12",cy:"18",r:"4",key:"m3r9ws"}],["path",{d:"M16 18V2",key:"40x2m5"}]],vl=e("Music3",cj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Qz=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["path",{d:"m9 9 12-2",key:"1e64n2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],il=e("Music4",Qz);/** + */const nj=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["path",{d:"m9 9 12-2",key:"1e64n2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],ml=e("Music4",nj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Yz=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],hl=e("Music",Yz);/** + */const dj=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],_l=e("Music",dj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eP=[["path",{d:"M9.31 9.31 5 21l7-4 7 4-1.17-3.17",key:"qoq2o2"}],["path",{d:"M14.53 8.88 12 2l-1.17 3.17",key:"k3sjzy"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],yl=e("Navigation2Off",eP);/** + */const ij=[["path",{d:"M9.31 9.31 5 21l7-4 7 4-1.17-3.17",key:"qoq2o2"}],["path",{d:"M14.53 8.88 12 2l-1.17 3.17",key:"k3sjzy"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],gl=e("Navigation2Off",ij);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aP=[["polygon",{points:"12 2 19 21 12 17 5 21 12 2",key:"x8c0qg"}]],rl=e("Navigation2",aP);/** + */const hj=[["polygon",{points:"12 2 19 21 12 17 5 21 12 2",key:"x8c0qg"}]],Ll=e("Navigation2",hj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oP=[["path",{d:"M8.43 8.43 3 11l8 2 2 8 2.57-5.43",key:"1vdtb7"}],["path",{d:"M17.39 11.73 22 2l-9.73 4.61",key:"tya3r6"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],kl=e("NavigationOff",oP);/** + */const yj=[["path",{d:"M8.43 8.43 3 11l8 2 2 8 2.57-5.43",key:"1vdtb7"}],["path",{d:"M17.39 11.73 22 2l-9.73 4.61",key:"tya3r6"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],xl=e("NavigationOff",yj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cP=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],pl=e("Navigation",cP);/** + */const rj=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],wl=e("Navigation",rj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tP=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],sl=e("Network",tP);/** + */const kj=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],fl=e("Network",kj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nP=[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]],ll=e("Newspaper",nP);/** + */const pj=[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]],Cl=e("Newspaper",pj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dP=[["path",{d:"M6 8.32a7.43 7.43 0 0 1 0 7.36",key:"9iaqei"}],["path",{d:"M9.46 6.21a11.76 11.76 0 0 1 0 11.58",key:"1yha7l"}],["path",{d:"M12.91 4.1a15.91 15.91 0 0 1 .01 15.8",key:"4iu2gk"}],["path",{d:"M16.37 2a20.16 20.16 0 0 1 0 20",key:"sap9u2"}]],ul=e("Nfc",dP);/** + */const sj=[["path",{d:"M6 8.32a7.43 7.43 0 0 1 0 7.36",key:"9iaqei"}],["path",{d:"M9.46 6.21a11.76 11.76 0 0 1 0 11.58",key:"1yha7l"}],["path",{d:"M12.91 4.1a15.91 15.91 0 0 1 .01 15.8",key:"4iu2gk"}],["path",{d:"M16.37 2a20.16 20.16 0 0 1 0 20",key:"sap9u2"}]],Il=e("Nfc",sj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iP=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"m9 4 6 4",key:"t8piew"}],["path",{d:"m9 8 6-4",key:"sndyih"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}]],Ml=e("NonBinary",iP);/** + */const lj=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"m9 4 6 4",key:"t8piew"}],["path",{d:"m9 8 6-4",key:"sndyih"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}]],Nl=e("NonBinary",lj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hP=[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]],vl=e("NotebookPen",hP);/** + */const uj=[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]],Sl=e("NotebookPen",uj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yP=[["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M15 2v20",key:"dcj49h"}],["path",{d:"M15 7h5",key:"1xj5lc"}],["path",{d:"M15 12h5",key:"w5shd9"}],["path",{d:"M15 17h5",key:"1qaofu"}]],ml=e("NotebookTabs",yP);/** + */const Mj=[["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M15 2v20",key:"dcj49h"}],["path",{d:"M15 7h5",key:"1xj5lc"}],["path",{d:"M15 12h5",key:"w5shd9"}],["path",{d:"M15 17h5",key:"1qaofu"}]],bl=e("NotebookTabs",Mj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rP=[["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M9.5 8h5",key:"11mslq"}],["path",{d:"M9.5 12H16",key:"ktog6x"}],["path",{d:"M9.5 16H14",key:"p1seyn"}]],_l=e("NotebookText",rP);/** + */const vj=[["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M9.5 8h5",key:"11mslq"}],["path",{d:"M9.5 12H16",key:"ktog6x"}],["path",{d:"M9.5 16H14",key:"p1seyn"}]],ql=e("NotebookText",vj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kP=[["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M16 2v20",key:"rotuqe"}]],gl=e("Notebook",kP);/** + */const mj=[["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M16 2v20",key:"rotuqe"}]],$l=e("Notebook",mj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pP=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v2",key:"j91f56"}],["path",{d:"M20 12v2",key:"w8o0tu"}],["path",{d:"M20 18v2a2 2 0 0 1-2 2h-1",key:"1c9ggx"}],["path",{d:"M13 22h-2",key:"191ugt"}],["path",{d:"M7 22H6a2 2 0 0 1-2-2v-2",key:"1rt9px"}],["path",{d:"M4 14v-2",key:"1v0sqh"}],["path",{d:"M4 8V6a2 2 0 0 1 2-2h2",key:"1mwabg"}],["path",{d:"M8 10h6",key:"3oa6kw"}],["path",{d:"M8 14h8",key:"1fgep2"}],["path",{d:"M8 18h5",key:"17enja"}]],Ll=e("NotepadTextDashed",pP);/** + */const _j=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v2",key:"j91f56"}],["path",{d:"M20 12v2",key:"w8o0tu"}],["path",{d:"M20 18v2a2 2 0 0 1-2 2h-1",key:"1c9ggx"}],["path",{d:"M13 22h-2",key:"191ugt"}],["path",{d:"M7 22H6a2 2 0 0 1-2-2v-2",key:"1rt9px"}],["path",{d:"M4 14v-2",key:"1v0sqh"}],["path",{d:"M4 8V6a2 2 0 0 1 2-2h2",key:"1mwabg"}],["path",{d:"M8 10h6",key:"3oa6kw"}],["path",{d:"M8 14h8",key:"1fgep2"}],["path",{d:"M8 18h5",key:"17enja"}]],Al=e("NotepadTextDashed",_j);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sP=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"16",height:"18",x:"4",y:"4",rx:"2",key:"1u9h20"}],["path",{d:"M8 10h6",key:"3oa6kw"}],["path",{d:"M8 14h8",key:"1fgep2"}],["path",{d:"M8 18h5",key:"17enja"}]],xl=e("NotepadText",sP);/** + */const gj=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"16",height:"18",x:"4",y:"4",rx:"2",key:"1u9h20"}],["path",{d:"M8 10h6",key:"3oa6kw"}],["path",{d:"M8 14h8",key:"1fgep2"}],["path",{d:"M8 18h5",key:"17enja"}]],Hl=e("NotepadText",gj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lP=[["path",{d:"M12 4V2",key:"1k5q1u"}],["path",{d:"M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592a7.01 7.01 0 0 0 4.125-2.939",key:"1xcvy9"}],["path",{d:"M19 10v3.343",key:"163tfc"}],["path",{d:"M12 12c-1.349-.573-1.905-1.005-2.5-2-.546.902-1.048 1.353-2.5 2-1.018-.644-1.46-1.08-2-2-1.028.71-1.69.918-3 1 1.081-1.048 1.757-2.03 2-3 .194-.776.84-1.551 1.79-2.21m11.654 5.997c.887-.457 1.28-.891 1.556-1.787 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4-.74 0-1.461.068-2.15.192",key:"17914v"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],wl=e("NutOff",lP);/** + */const Lj=[["path",{d:"M12 4V2",key:"1k5q1u"}],["path",{d:"M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592a7.01 7.01 0 0 0 4.125-2.939",key:"1xcvy9"}],["path",{d:"M19 10v3.343",key:"163tfc"}],["path",{d:"M12 12c-1.349-.573-1.905-1.005-2.5-2-.546.902-1.048 1.353-2.5 2-1.018-.644-1.46-1.08-2-2-1.028.71-1.69.918-3 1 1.081-1.048 1.757-2.03 2-3 .194-.776.84-1.551 1.79-2.21m11.654 5.997c.887-.457 1.28-.891 1.556-1.787 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4-.74 0-1.461.068-2.15.192",key:"17914v"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],zl=e("NutOff",Lj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uP=[["path",{d:"M12 4V2",key:"1k5q1u"}],["path",{d:"M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592A7.003 7.003 0 0 0 19 14v-4",key:"1tgyif"}],["path",{d:"M12 4C8 4 4.5 6 4 8c-.243.97-.919 1.952-2 3 1.31-.082 1.972-.29 3-1 .54.92.982 1.356 2 2 1.452-.647 1.954-1.098 2.5-2 .595.995 1.151 1.427 2.5 2 1.31-.621 1.862-1.058 2.5-2 .629.977 1.162 1.423 2.5 2 1.209-.548 1.68-.967 2-2 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4Z",key:"tnsqj"}]],fl=e("Nut",uP);/** + */const xj=[["path",{d:"M12 4V2",key:"1k5q1u"}],["path",{d:"M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592A7.003 7.003 0 0 0 19 14v-4",key:"1tgyif"}],["path",{d:"M12 4C8 4 4.5 6 4 8c-.243.97-.919 1.952-2 3 1.31-.082 1.972-.29 3-1 .54.92.982 1.356 2 2 1.452-.647 1.954-1.098 2.5-2 .595.995 1.151 1.427 2.5 2 1.31-.621 1.862-1.058 2.5-2 .629.977 1.162 1.423 2.5 2 1.209-.548 1.68-.967 2-2 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4Z",key:"tnsqj"}]],jl=e("Nut",xj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MP=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]],ye=e("OctagonAlert",MP);/** + */const wj=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]],ke=e("OctagonAlert",wj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vP=[["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"M8 12h8",key:"1wcyev"}]],Cl=e("OctagonMinus",vP);/** + */const fj=[["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"M8 12h8",key:"1wcyev"}]],Pl=e("OctagonMinus",fj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mP=[["path",{d:"M10 15V9",key:"1lckn7"}],["path",{d:"M14 15V9",key:"1muqhk"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]],re=e("OctagonPause",mP);/** + */const Cj=[["path",{d:"M10 15V9",key:"1lckn7"}],["path",{d:"M14 15V9",key:"1muqhk"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]],pe=e("OctagonPause",Cj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _P=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],ke=e("OctagonX",_P);/** + */const Ij=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],se=e("OctagonX",Ij);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gP=[["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]],Il=e("Octagon",gP);/** + */const Nj=[["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]],Vl=e("Octagon",Nj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LP=[["path",{d:"M3 20h4.5a.5.5 0 0 0 .5-.5v-.282a.52.52 0 0 0-.247-.437 8 8 0 1 1 8.494-.001.52.52 0 0 0-.247.438v.282a.5.5 0 0 0 .5.5H21",key:"1x94xo"}]],Nl=e("Omega",LP);/** + */const Sj=[["path",{d:"M3 20h4.5a.5.5 0 0 0 .5-.5v-.282a.52.52 0 0 0-.247-.437 8 8 0 1 1 8.494-.001.52.52 0 0 0-.247.438v.282a.5.5 0 0 0 .5.5H21",key:"1x94xo"}]],Bl=e("Omega",Sj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xP=[["path",{d:"M3 3h6l6 18h6",key:"ph9rgk"}],["path",{d:"M14 3h7",key:"16f0ms"}]],Sl=e("Option",xP);/** + */const bj=[["path",{d:"M3 3h6l6 18h6",key:"ph9rgk"}],["path",{d:"M14 3h7",key:"16f0ms"}]],Fl=e("Option",bj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wP=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M10.4 21.9a10 10 0 0 0 9.941-15.416",key:"eohfx2"}],["path",{d:"M13.5 2.1a10 10 0 0 0-9.841 15.416",key:"19pvbm"}]],ql=e("Orbit",wP);/** + */const qj=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M10.4 21.9a10 10 0 0 0 9.941-15.416",key:"eohfx2"}],["path",{d:"M13.5 2.1a10 10 0 0 0-9.841 15.416",key:"19pvbm"}]],Dl=e("Orbit",qj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fP=[["path",{d:"M12 12V4a1 1 0 0 1 1-1h6.297a1 1 0 0 1 .651 1.759l-4.696 4.025",key:"1bx4vc"}],["path",{d:"m12 21-7.414-7.414A2 2 0 0 1 4 12.172V6.415a1.002 1.002 0 0 1 1.707-.707L20 20.009",key:"1h3km6"}],["path",{d:"m12.214 3.381 8.414 14.966a1 1 0 0 1-.167 1.199l-1.168 1.163a1 1 0 0 1-.706.291H6.351a1 1 0 0 1-.625-.219L3.25 18.8a1 1 0 0 1 .631-1.781l4.165.027",key:"1hj4wg"}]],bl=e("Origami",fP);/** + */const $j=[["path",{d:"M12 12V4a1 1 0 0 1 1-1h6.297a1 1 0 0 1 .651 1.759l-4.696 4.025",key:"1bx4vc"}],["path",{d:"m12 21-7.414-7.414A2 2 0 0 1 4 12.172V6.415a1.002 1.002 0 0 1 1.707-.707L20 20.009",key:"1h3km6"}],["path",{d:"m12.214 3.381 8.414 14.966a1 1 0 0 1-.167 1.199l-1.168 1.163a1 1 0 0 1-.706.291H6.351a1 1 0 0 1-.625-.219L3.25 18.8a1 1 0 0 1 .631-1.781l4.165.027",key:"1hj4wg"}]],Rl=e("Origami",$j);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CP=[["path",{d:"M3 9h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z",key:"1ront0"}],["path",{d:"m3 9 2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9",key:"19h2x1"}],["path",{d:"M12 3v6",key:"1holv5"}]],$l=e("Package2",CP);/** + */const Aj=[["path",{d:"M3 9h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z",key:"1ront0"}],["path",{d:"m3 9 2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9",key:"19h2x1"}],["path",{d:"M12 3v6",key:"1holv5"}]],Tl=e("Package2",Aj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IP=[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]],Al=e("PackageCheck",IP);/** + */const Hj=[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]],Ul=e("PackageCheck",Hj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NP=[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]],Hl=e("PackageMinus",NP);/** + */const zj=[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]],Ol=e("PackageMinus",zj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SP=[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]],zl=e("PackageOpen",SP);/** + */const jj=[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]],Zl=e("PackageOpen",jj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qP=[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M19 13v6",key:"85cyf1"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]],Pl=e("PackagePlus",qP);/** + */const Pj=[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M19 13v6",key:"85cyf1"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]],Gl=e("PackagePlus",Pj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bP=[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["circle",{cx:"18.5",cy:"15.5",r:"2.5",key:"b5zd12"}],["path",{d:"M20.27 17.27 22 19",key:"1l4muz"}]],jl=e("PackageSearch",bP);/** + */const Vj=[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["circle",{cx:"18.5",cy:"15.5",r:"2.5",key:"b5zd12"}],["path",{d:"M20.27 17.27 22 19",key:"1l4muz"}]],Wl=e("PackageSearch",Vj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $P=[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["path",{d:"m17 13 5 5m-5 0 5-5",key:"im3w4b"}]],Vl=e("PackageX",$P);/** + */const Bj=[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["path",{d:"m17 13 5 5m-5 0 5-5",key:"im3w4b"}]],El=e("PackageX",Bj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AP=[["path",{d:"m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z",key:"irua1i"}],["path",{d:"m5 2 5 5",key:"1lls2c"}],["path",{d:"M2 13h15",key:"1hkzvu"}],["path",{d:"M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z",key:"xk76lq"}]],Bl=e("PaintBucket",AP);/** + */const Fj=[["path",{d:"m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z",key:"irua1i"}],["path",{d:"m5 2 5 5",key:"1lls2c"}],["path",{d:"M2 13h15",key:"1hkzvu"}],["path",{d:"M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z",key:"xk76lq"}]],Xl=e("PaintBucket",Fj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HP=[["rect",{width:"16",height:"6",x:"2",y:"2",rx:"2",key:"jcyz7m"}],["path",{d:"M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2",key:"1b9h7c"}],["rect",{width:"4",height:"6",x:"8",y:"16",rx:"1",key:"d6e7yl"}]],Fl=e("PaintRoller",HP);/** + */const Dj=[["rect",{width:"16",height:"6",x:"2",y:"2",rx:"2",key:"jcyz7m"}],["path",{d:"M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2",key:"1b9h7c"}],["rect",{width:"4",height:"6",x:"8",y:"16",rx:"1",key:"d6e7yl"}]],Kl=e("PaintRoller",Dj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zP=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v4",key:"qmzblu"}],["path",{d:"M17 2a1 1 0 0 1 1 1v9H6V3a1 1 0 0 1 1-1z",key:"ycvu00"}],["path",{d:"M6 12a1 1 0 0 0-1 1v1a2 2 0 0 0 2 2h2a1 1 0 0 1 1 1v2.9a2 2 0 1 0 4 0V17a1 1 0 0 1 1-1h2a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1",key:"iw4wnp"}]],pe=e("PaintbrushVertical",zP);/** + */const Rj=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v4",key:"qmzblu"}],["path",{d:"M17 2a1 1 0 0 1 1 1v9H6V3a1 1 0 0 1 1-1z",key:"ycvu00"}],["path",{d:"M6 12a1 1 0 0 0-1 1v1a2 2 0 0 0 2 2h2a1 1 0 0 1 1 1v2.9a2 2 0 1 0 4 0V17a1 1 0 0 1 1-1h2a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1",key:"iw4wnp"}]],le=e("PaintbrushVertical",Rj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PP=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],Dl=e("Paintbrush",PP);/** + */const Tj=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],Jl=e("Paintbrush",Tj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"m15 8-3 3-3-3",key:"1oxy1z"}]],Rl=e("PanelBottomClose",jP);/** + */const Uj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"m15 8-3 3-3-3",key:"1oxy1z"}]],Ql=e("PanelBottomClose",Uj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M14 15h1",key:"171nev"}],["path",{d:"M19 15h2",key:"1vnucp"}],["path",{d:"M3 15h2",key:"8bym0q"}],["path",{d:"M9 15h1",key:"1tg3ks"}]],se=e("PanelBottomDashed",VP);/** + */const Oj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M14 15h1",key:"171nev"}],["path",{d:"M19 15h2",key:"1vnucp"}],["path",{d:"M3 15h2",key:"8bym0q"}],["path",{d:"M9 15h1",key:"1tg3ks"}]],ue=e("PanelBottomDashed",Oj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}]],Tl=e("PanelBottomOpen",BP);/** + */const Zj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"m9 10 3-3 3 3",key:"11gsxs"}]],Yl=e("PanelBottomOpen",Zj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}]],Ul=e("PanelBottom",FP);/** + */const Gj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}]],e6=e("PanelBottom",Gj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],le=e("PanelLeftClose",DP);/** + */const Wj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],Me=e("PanelLeftClose",Wj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 14v1",key:"askpd8"}],["path",{d:"M9 19v2",key:"16tejx"}],["path",{d:"M9 3v2",key:"1noubl"}],["path",{d:"M9 9v1",key:"19ebxg"}]],ue=e("PanelLeftDashed",RP);/** + */const Ej=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 14v1",key:"askpd8"}],["path",{d:"M9 19v2",key:"16tejx"}],["path",{d:"M9 3v2",key:"1noubl"}],["path",{d:"M9 9v1",key:"19ebxg"}]],ve=e("PanelLeftDashed",Ej);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],Me=e("PanelLeftOpen",TP);/** + */const Xj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],me=e("PanelLeftOpen",Xj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]],Ol=e("PanelRightClose",UP);/** + */const Kj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]],a6=e("PanelRightClose",Kj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 14v1",key:"ilsfch"}],["path",{d:"M15 19v2",key:"1fst2f"}],["path",{d:"M15 3v2",key:"z204g4"}],["path",{d:"M15 9v1",key:"z2a8b1"}]],ve=e("PanelRightDashed",OP);/** + */const Jj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 14v1",key:"ilsfch"}],["path",{d:"M15 19v2",key:"1fst2f"}],["path",{d:"M15 3v2",key:"z204g4"}],["path",{d:"M15 9v1",key:"z2a8b1"}]],_e=e("PanelRightDashed",Jj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m10 15-3-3 3-3",key:"1pgupc"}]],Zl=e("PanelRightOpen",ZP);/** + */const Qj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m10 15-3-3 3-3",key:"1pgupc"}]],o6=e("PanelRightOpen",Qj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],Gl=e("PanelRight",GP);/** + */const Yj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],t6=e("PanelRight",Yj);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 16 3-3 3 3",key:"1idcnm"}]],Wl=e("PanelTopClose",WP);/** + */const eP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 16 3-3 3 3",key:"1idcnm"}]],c6=e("PanelTopClose",eP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M14 9h1",key:"l0svgy"}],["path",{d:"M19 9h2",key:"te2zfg"}],["path",{d:"M3 9h2",key:"1h4ldw"}],["path",{d:"M9 9h1",key:"15jzuz"}]],me=e("PanelTopDashed",EP);/** + */const aP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M14 9h1",key:"l0svgy"}],["path",{d:"M19 9h2",key:"te2zfg"}],["path",{d:"M3 9h2",key:"1h4ldw"}],["path",{d:"M9 9h1",key:"15jzuz"}]],ge=e("PanelTopDashed",aP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m15 14-3 3-3-3",key:"g215vf"}]],El=e("PanelTopOpen",XP);/** + */const oP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m15 14-3 3-3-3",key:"g215vf"}]],n6=e("PanelTopOpen",oP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}]],Xl=e("PanelTop",KP);/** + */const tP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}]],d6=e("PanelTop",tP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M9 15h12",key:"5ijen5"}]],Kl=e("PanelsLeftBottom",JP);/** + */const cP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M9 15h12",key:"5ijen5"}]],i6=e("PanelsLeftBottom",cP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h12",key:"1wkqb3"}],["path",{d:"M15 3v18",key:"14nvp0"}]],Jl=e("PanelsRightBottom",QP);/** + */const nP=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h12",key:"1wkqb3"}],["path",{d:"M15 3v18",key:"14nvp0"}]],h6=e("PanelsRightBottom",nP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YP=[["path",{d:"M13.234 20.252 21 12.3",key:"1cbrk9"}],["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 0 2.828 2 2 0 0 0 2.828 0l8.414-8.586a4 4 0 0 0 0-5.656 4 4 0 0 0-5.656 0l-8.415 8.585a6 6 0 1 0 8.486 8.486",key:"1pkts6"}]],Ql=e("Paperclip",YP);/** + */const dP=[["path",{d:"M13.234 20.252 21 12.3",key:"1cbrk9"}],["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 0 2.828 2 2 0 0 0 2.828 0l8.414-8.586a4 4 0 0 0 0-5.656 4 4 0 0 0-5.656 0l-8.415 8.585a6 6 0 1 0 8.486 8.486",key:"1pkts6"}]],y6=e("Paperclip",dP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ej=[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}]],Yl=e("Parentheses",ej);/** + */const iP=[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}]],r6=e("Parentheses",iP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aj=[["path",{d:"M11 15h2",key:"199qp6"}],["path",{d:"M12 12v3",key:"158kv8"}],["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15.282 19a1 1 0 0 0 .948-.68l2.37-6.988a7 7 0 1 0-13.2 0l2.37 6.988a1 1 0 0 0 .948.68z",key:"1jofit"}],["path",{d:"M9 9a3 3 0 1 1 6 0",key:"jdoeu8"}]],e6=e("ParkingMeter",aj);/** + */const hP=[["path",{d:"M11 15h2",key:"199qp6"}],["path",{d:"M12 12v3",key:"158kv8"}],["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15.282 19a1 1 0 0 0 .948-.68l2.37-6.988a7 7 0 1 0-13.2 0l2.37 6.988a1 1 0 0 0 .948.68z",key:"1jofit"}],["path",{d:"M9 9a3 3 0 1 1 6 0",key:"jdoeu8"}]],k6=e("ParkingMeter",hP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oj=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],a6=e("PartyPopper",oj);/** + */const yP=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],p6=e("PartyPopper",yP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cj=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],o6=e("Pause",cj);/** + */const rP=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],s6=e("Pause",rP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tj=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],c6=e("PawPrint",tj);/** + */const kP=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],l6=e("PawPrint",kP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nj=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",key:"1uq1d7"}],["path",{d:"M15 14h.01",key:"1kp3bh"}],["path",{d:"M9 6h6",key:"dgm16u"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],t6=e("PcCase",nj);/** + */const pP=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",key:"1uq1d7"}],["path",{d:"M15 14h.01",key:"1kp3bh"}],["path",{d:"M9 6h6",key:"dgm16u"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],u6=e("PcCase",pP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dj=[["path",{d:"m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982",key:"bjo8r8"}],["path",{d:"m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353",key:"16h5ne"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],n6=e("PenOff",dj);/** + */const sP=[["path",{d:"m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982",key:"bjo8r8"}],["path",{d:"m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353",key:"16h5ne"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],M6=e("PenOff",sP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ij=[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]],d6=e("PenTool",ij);/** + */const lP=[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]],v6=e("PenTool",lP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hj=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],_e=e("Pen",hj);/** + */const uP=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Le=e("Pen",uP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yj=[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}],["path",{d:"m15 5 3 3",key:"1w25hb"}]],i6=e("PencilLine",yj);/** + */const MP=[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}],["path",{d:"m15 5 3 3",key:"1w25hb"}]],m6=e("PencilLine",MP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rj=[["path",{d:"m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982",key:"bjo8r8"}],["path",{d:"m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353",key:"16h5ne"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],h6=e("PencilOff",rj);/** + */const vP=[["path",{d:"m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982",key:"bjo8r8"}],["path",{d:"m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353",key:"16h5ne"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],_6=e("PencilOff",vP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kj=[["path",{d:"M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13",key:"orapub"}],["path",{d:"m8 6 2-2",key:"115y1s"}],["path",{d:"m18 16 2-2",key:"ee94s4"}],["path",{d:"m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17",key:"cfq27r"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],y6=e("PencilRuler",kj);/** + */const mP=[["path",{d:"M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13",key:"orapub"}],["path",{d:"m8 6 2-2",key:"115y1s"}],["path",{d:"m18 16 2-2",key:"ee94s4"}],["path",{d:"m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17",key:"cfq27r"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],g6=e("PencilRuler",mP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pj=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],r6=e("Pencil",pj);/** + */const _P=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],L6=e("Pencil",_P);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sj=[["path",{d:"M10.83 2.38a2 2 0 0 1 2.34 0l8 5.74a2 2 0 0 1 .73 2.25l-3.04 9.26a2 2 0 0 1-1.9 1.37H7.04a2 2 0 0 1-1.9-1.37L2.1 10.37a2 2 0 0 1 .73-2.25z",key:"2hea0t"}]],k6=e("Pentagon",sj);/** + */const gP=[["path",{d:"M10.83 2.38a2 2 0 0 1 2.34 0l8 5.74a2 2 0 0 1 .73 2.25l-3.04 9.26a2 2 0 0 1-1.9 1.37H7.04a2 2 0 0 1-1.9-1.37L2.1 10.37a2 2 0 0 1 .73-2.25z",key:"2hea0t"}]],x6=e("Pentagon",gP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lj=[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["path",{d:"m9 20 3-6 3 6",key:"se2kox"}],["path",{d:"m6 8 6 2 6-2",key:"4o3us4"}],["path",{d:"M12 10v4",key:"1kjpxc"}]],p6=e("PersonStanding",lj);/** + */const LP=[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["path",{d:"m9 20 3-6 3 6",key:"se2kox"}],["path",{d:"m6 8 6 2 6-2",key:"4o3us4"}],["path",{d:"M12 10v4",key:"1kjpxc"}]],w6=e("PersonStanding",LP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uj=[["path",{d:"M20 11H4",key:"6ut86h"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"M7 21V4a1 1 0 0 1 1-1h4a1 1 0 0 1 0 12H7",key:"1ana5r"}]],s6=e("PhilippinePeso",uj);/** + */const xP=[["path",{d:"M20 11H4",key:"6ut86h"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"M7 21V4a1 1 0 0 1 1-1h4a1 1 0 0 1 0 12H7",key:"1ana5r"}]],f6=e("PhilippinePeso",xP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Mj=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}],["path",{d:"M14.05 2a9 9 0 0 1 8 7.94",key:"vmijpz"}],["path",{d:"M14.05 6A5 5 0 0 1 18 10",key:"13nbpp"}]],l6=e("PhoneCall",Mj);/** + */const wP=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}],["path",{d:"M14.05 2a9 9 0 0 1 8 7.94",key:"vmijpz"}],["path",{d:"M14.05 6A5 5 0 0 1 18 10",key:"13nbpp"}]],C6=e("PhoneCall",wP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vj=[["polyline",{points:"18 2 22 6 18 10",key:"6vjanh"}],["line",{x1:"14",x2:"22",y1:"6",y2:"6",key:"1jsywh"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],u6=e("PhoneForwarded",vj);/** + */const fP=[["polyline",{points:"18 2 22 6 18 10",key:"6vjanh"}],["line",{x1:"14",x2:"22",y1:"6",y2:"6",key:"1jsywh"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],I6=e("PhoneForwarded",fP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mj=[["polyline",{points:"16 2 16 8 22 8",key:"1ygljm"}],["line",{x1:"22",x2:"16",y1:"2",y2:"8",key:"1xzwqn"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],M6=e("PhoneIncoming",mj);/** + */const CP=[["polyline",{points:"16 2 16 8 22 8",key:"1ygljm"}],["line",{x1:"22",x2:"16",y1:"2",y2:"8",key:"1xzwqn"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],N6=e("PhoneIncoming",CP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _j=[["line",{x1:"22",x2:"16",y1:"2",y2:"8",key:"1xzwqn"}],["line",{x1:"16",x2:"22",y1:"2",y2:"8",key:"13zxdn"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],v6=e("PhoneMissed",_j);/** + */const IP=[["line",{x1:"22",x2:"16",y1:"2",y2:"8",key:"1xzwqn"}],["line",{x1:"16",x2:"22",y1:"2",y2:"8",key:"13zxdn"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],S6=e("PhoneMissed",IP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gj=[["path",{d:"M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91",key:"z86iuo"}],["line",{x1:"22",x2:"2",y1:"2",y2:"22",key:"11kh81"}]],m6=e("PhoneOff",gj);/** + */const NP=[["path",{d:"M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91",key:"z86iuo"}],["line",{x1:"22",x2:"2",y1:"2",y2:"22",key:"11kh81"}]],b6=e("PhoneOff",NP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Lj=[["polyline",{points:"22 8 22 2 16 2",key:"1g204g"}],["line",{x1:"16",x2:"22",y1:"8",y2:"2",key:"1ggias"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],_6=e("PhoneOutgoing",Lj);/** + */const SP=[["polyline",{points:"22 8 22 2 16 2",key:"1g204g"}],["line",{x1:"16",x2:"22",y1:"8",y2:"2",key:"1ggias"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],q6=e("PhoneOutgoing",SP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xj=[["line",{x1:"9",x2:"9",y1:"4",y2:"20",key:"ovs5a5"}],["path",{d:"M4 7c0-1.7 1.3-3 3-3h13",key:"10pag4"}],["path",{d:"M18 20c-1.7 0-3-1.3-3-3V4",key:"1gaosr"}]],g6=e("Pi",xj);/** + */const bP=[["line",{x1:"9",x2:"9",y1:"4",y2:"20",key:"ovs5a5"}],["path",{d:"M4 7c0-1.7 1.3-3 3-3h13",key:"10pag4"}],["path",{d:"M18 20c-1.7 0-3-1.3-3-3V4",key:"1gaosr"}]],$6=e("Pi",bP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wj=[["path",{d:"M18.5 8c-1.4 0-2.6-.8-3.2-2A6.87 6.87 0 0 0 2 9v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8.5C22 9.6 20.4 8 18.5 8",key:"lag0yf"}],["path",{d:"M2 14h20",key:"myj16y"}],["path",{d:"M6 14v4",key:"9ng0ue"}],["path",{d:"M10 14v4",key:"1v8uk5"}],["path",{d:"M14 14v4",key:"1tqops"}],["path",{d:"M18 14v4",key:"18uqwm"}]],L6=e("Piano",wj);/** + */const qP=[["path",{d:"M18.5 8c-1.4 0-2.6-.8-3.2-2A6.87 6.87 0 0 0 2 9v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8.5C22 9.6 20.4 8 18.5 8",key:"lag0yf"}],["path",{d:"M2 14h20",key:"myj16y"}],["path",{d:"M6 14v4",key:"9ng0ue"}],["path",{d:"M10 14v4",key:"1v8uk5"}],["path",{d:"M14 14v4",key:"1tqops"}],["path",{d:"M18 14v4",key:"18uqwm"}]],A6=e("Piano",qP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fj=[["path",{d:"M14.531 12.469 6.619 20.38a1 1 0 1 1-3-3l7.912-7.912",key:"we99rg"}],["path",{d:"M15.686 4.314A12.5 12.5 0 0 0 5.461 2.958 1 1 0 0 0 5.58 4.71a22 22 0 0 1 6.318 3.393",key:"1w6hck"}],["path",{d:"M17.7 3.7a1 1 0 0 0-1.4 0l-4.6 4.6a1 1 0 0 0 0 1.4l2.6 2.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4z",key:"15hgfx"}],["path",{d:"M19.686 8.314a12.501 12.501 0 0 1 1.356 10.225 1 1 0 0 1-1.751-.119 22 22 0 0 0-3.393-6.319",key:"452b4h"}]],x6=e("Pickaxe",fj);/** + */const $P=[["path",{d:"M14.531 12.469 6.619 20.38a1 1 0 1 1-3-3l7.912-7.912",key:"we99rg"}],["path",{d:"M15.686 4.314A12.5 12.5 0 0 0 5.461 2.958 1 1 0 0 0 5.58 4.71a22 22 0 0 1 6.318 3.393",key:"1w6hck"}],["path",{d:"M17.7 3.7a1 1 0 0 0-1.4 0l-4.6 4.6a1 1 0 0 0 0 1.4l2.6 2.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4z",key:"15hgfx"}],["path",{d:"M19.686 8.314a12.501 12.501 0 0 1 1.356 10.225 1 1 0 0 1-1.751-.119 22 22 0 0 0-3.393-6.319",key:"452b4h"}]],H6=e("Pickaxe",$P);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Cj=[["path",{d:"M21 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4",key:"daa4of"}],["rect",{width:"10",height:"7",x:"12",y:"13",rx:"2",key:"1nb8gs"}]],w6=e("PictureInPicture2",Cj);/** + */const AP=[["path",{d:"M21 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4",key:"daa4of"}],["rect",{width:"10",height:"7",x:"12",y:"13",rx:"2",key:"1nb8gs"}]],z6=e("PictureInPicture2",AP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ij=[["path",{d:"M2 10h6V4",key:"zwrco"}],["path",{d:"m2 4 6 6",key:"ug085t"}],["path",{d:"M21 10V7a2 2 0 0 0-2-2h-7",key:"git5jr"}],["path",{d:"M3 14v2a2 2 0 0 0 2 2h3",key:"1f7fh3"}],["rect",{x:"12",y:"14",width:"10",height:"7",rx:"1",key:"1wjs3o"}]],f6=e("PictureInPicture",Ij);/** + */const HP=[["path",{d:"M2 10h6V4",key:"zwrco"}],["path",{d:"m2 4 6 6",key:"ug085t"}],["path",{d:"M21 10V7a2 2 0 0 0-2-2h-7",key:"git5jr"}],["path",{d:"M3 14v2a2 2 0 0 0 2 2h3",key:"1f7fh3"}],["rect",{x:"12",y:"14",width:"10",height:"7",rx:"1",key:"1wjs3o"}]],j6=e("PictureInPicture",HP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Nj=[["path",{d:"M19 5c-1.5 0-2.8 1.4-3 2-3.5-1.5-11-.3-11 5 0 1.8 0 3 2 4.5V20h4v-2h3v2h4v-4c1-.5 1.7-1 2-2h2v-4h-2c0-1-.5-1.5-1-2V5z",key:"1ivx2i"}],["path",{d:"M2 9v1c0 1.1.9 2 2 2h1",key:"nm575m"}],["path",{d:"M16 11h.01",key:"xkw8gn"}]],C6=e("PiggyBank",Nj);/** + */const zP=[["path",{d:"M19 5c-1.5 0-2.8 1.4-3 2-3.5-1.5-11-.3-11 5 0 1.8 0 3 2 4.5V20h4v-2h3v2h4v-4c1-.5 1.7-1 2-2h2v-4h-2c0-1-.5-1.5-1-2V5z",key:"1ivx2i"}],["path",{d:"M2 9v1c0 1.1.9 2 2 2h1",key:"nm575m"}],["path",{d:"M16 11h.01",key:"xkw8gn"}]],P6=e("PiggyBank",zP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Sj=[["path",{d:"M14 3v11",key:"mlfb7b"}],["path",{d:"M14 9h-3a3 3 0 0 1 0-6h9",key:"1ulc19"}],["path",{d:"M18 3v11",key:"1phi0r"}],["path",{d:"M22 18H2l4-4",key:"yt65j9"}],["path",{d:"m6 22-4-4",key:"6jgyf5"}]],I6=e("PilcrowLeft",Sj);/** + */const jP=[["path",{d:"M14 3v11",key:"mlfb7b"}],["path",{d:"M14 9h-3a3 3 0 0 1 0-6h9",key:"1ulc19"}],["path",{d:"M18 3v11",key:"1phi0r"}],["path",{d:"M22 18H2l4-4",key:"yt65j9"}],["path",{d:"m6 22-4-4",key:"6jgyf5"}]],V6=e("PilcrowLeft",jP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qj=[["path",{d:"M10 3v11",key:"o3l5kj"}],["path",{d:"M10 9H7a1 1 0 0 1 0-6h8",key:"1wb1nc"}],["path",{d:"M14 3v11",key:"mlfb7b"}],["path",{d:"m18 14 4 4H2",key:"4r8io1"}],["path",{d:"m22 18-4 4",key:"1hjjrd"}]],N6=e("PilcrowRight",qj);/** + */const PP=[["path",{d:"M10 3v11",key:"o3l5kj"}],["path",{d:"M10 9H7a1 1 0 0 1 0-6h8",key:"1wb1nc"}],["path",{d:"M14 3v11",key:"mlfb7b"}],["path",{d:"m18 14 4 4H2",key:"4r8io1"}],["path",{d:"m22 18-4 4",key:"1hjjrd"}]],B6=e("PilcrowRight",PP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bj=[["path",{d:"M13 4v16",key:"8vvj80"}],["path",{d:"M17 4v16",key:"7dpous"}],["path",{d:"M19 4H9.5a4.5 4.5 0 0 0 0 9H13",key:"sh4n9v"}]],S6=e("Pilcrow",bj);/** + */const VP=[["path",{d:"M13 4v16",key:"8vvj80"}],["path",{d:"M17 4v16",key:"7dpous"}],["path",{d:"M19 4H9.5a4.5 4.5 0 0 0 0 9H13",key:"sh4n9v"}]],F6=e("Pilcrow",VP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $j=[["path",{d:"M18 11h-4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h4",key:"17ldeb"}],["path",{d:"M6 7v13a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7",key:"nc37y6"}],["rect",{width:"16",height:"5",x:"4",y:"2",rx:"1",key:"3jeezo"}]],q6=e("PillBottle",$j);/** + */const BP=[["path",{d:"M18 11h-4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h4",key:"17ldeb"}],["path",{d:"M6 7v13a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7",key:"nc37y6"}],["rect",{width:"16",height:"5",x:"4",y:"2",rx:"1",key:"3jeezo"}]],D6=e("PillBottle",BP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Aj=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],b6=e("Pill",Aj);/** + */const FP=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],R6=e("Pill",FP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Hj=[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89",key:"znwnzq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11",key:"c9qhm2"}]],$6=e("PinOff",Hj);/** + */const DP=[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89",key:"znwnzq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11",key:"c9qhm2"}]],T6=e("PinOff",DP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zj=[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]],A6=e("Pin",zj);/** + */const RP=[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]],U6=e("Pin",RP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Pj=[["path",{d:"m2 22 1-1h3l9-9",key:"1sre89"}],["path",{d:"M3 21v-3l9-9",key:"hpe2y6"}],["path",{d:"m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z",key:"196du1"}]],H6=e("Pipette",Pj);/** + */const TP=[["path",{d:"m2 22 1-1h3l9-9",key:"1sre89"}],["path",{d:"M3 21v-3l9-9",key:"hpe2y6"}],["path",{d:"m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z",key:"196du1"}]],O6=e("Pipette",TP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jj=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],z6=e("Pizza",jj);/** + */const UP=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],Z6=e("Pizza",UP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vj=[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M3.77 10.77 2 9l2-4.5 1.1.55c.55.28.9.84.9 1.45s.35 1.17.9 1.45L8 8.5l3-6 1.05.53a2 2 0 0 1 1.09 1.52l.72 5.4a2 2 0 0 0 1.09 1.52l4.4 2.2c.42.22.78.55 1.01.96l.6 1.03c.49.88-.06 1.98-1.06 2.1l-1.18.15c-.47.06-.95-.02-1.37-.24L4.29 11.15a2 2 0 0 1-.52-.38Z",key:"1ma21e"}]],P6=e("PlaneLanding",Vj);/** + */const OP=[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M3.77 10.77 2 9l2-4.5 1.1.55c.55.28.9.84.9 1.45s.35 1.17.9 1.45L8 8.5l3-6 1.05.53a2 2 0 0 1 1.09 1.52l.72 5.4a2 2 0 0 0 1.09 1.52l4.4 2.2c.42.22.78.55 1.01.96l.6 1.03c.49.88-.06 1.98-1.06 2.1l-1.18.15c-.47.06-.95-.02-1.37-.24L4.29 11.15a2 2 0 0 1-.52-.38Z",key:"1ma21e"}]],G6=e("PlaneLanding",OP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Bj=[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z",key:"fkigj9"}]],j6=e("PlaneTakeoff",Bj);/** + */const ZP=[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z",key:"fkigj9"}]],W6=e("PlaneTakeoff",ZP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fj=[["path",{d:"M9 2v6",key:"17ngun"}],["path",{d:"M15 2v6",key:"s7yy2p"}],["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M5 8h14",key:"pcz4l3"}],["path",{d:"M6 11V8h12v3a6 6 0 1 1-12 0Z",key:"wtfw2c"}]],V6=e("Plug2",Fj);/** + */const GP=[["path",{d:"M9 2v6",key:"17ngun"}],["path",{d:"M15 2v6",key:"s7yy2p"}],["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M5 8h14",key:"pcz4l3"}],["path",{d:"M6 11V8h12v3a6 6 0 1 1-12 0Z",key:"wtfw2c"}]],E6=e("Plug2",GP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Dj=[["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m18 3-4 4h6l-4 4",key:"16psg9"}]],ge=e("PlugZap",Dj);/** + */const WP=[["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m18 3-4 4h6l-4 4",key:"16psg9"}]],xe=e("PlugZap",WP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Rj=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]],B6=e("Plug",Rj);/** + */const EP=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]],X6=e("Plug",EP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Tj=[["path",{d:"M3 2v1c0 1 2 1 2 2S3 6 3 7s2 1 2 2-2 1-2 2 2 1 2 2",key:"19w3oe"}],["path",{d:"M18 6h.01",key:"1v4wsw"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M20.83 8.83a4 4 0 0 0-5.66-5.66l-12 12a4 4 0 1 0 5.66 5.66Z",key:"6fykxj"}],["path",{d:"M18 11.66V22a4 4 0 0 0 4-4V6",key:"1utzek"}]],F6=e("PocketKnife",Tj);/** + */const XP=[["path",{d:"M3 2v1c0 1 2 1 2 2S3 6 3 7s2 1 2 2-2 1-2 2 2 1 2 2",key:"19w3oe"}],["path",{d:"M18 6h.01",key:"1v4wsw"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M20.83 8.83a4 4 0 0 0-5.66-5.66l-12 12a4 4 0 1 0 5.66 5.66Z",key:"6fykxj"}],["path",{d:"M18 11.66V22a4 4 0 0 0 4-4V6",key:"1utzek"}]],K6=e("PocketKnife",XP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Uj=[["path",{d:"M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z",key:"1mz881"}],["polyline",{points:"8 10 12 14 16 10",key:"w4mbv5"}]],D6=e("Pocket",Uj);/** + */const KP=[["path",{d:"M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z",key:"1mz881"}],["polyline",{points:"8 10 12 14 16 10",key:"w4mbv5"}]],J6=e("Pocket",KP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Oj=[["path",{d:"M16.85 18.58a9 9 0 1 0-9.7 0",key:"d71mpg"}],["path",{d:"M8 14a5 5 0 1 1 8 0",key:"fc81rn"}],["circle",{cx:"12",cy:"11",r:"1",key:"1gvufo"}],["path",{d:"M13 17a1 1 0 1 0-2 0l.5 4.5a.5.5 0 1 0 1 0Z",key:"za5kbj"}]],R6=e("Podcast",Oj);/** + */const JP=[["path",{d:"M16.85 18.58a9 9 0 1 0-9.7 0",key:"d71mpg"}],["path",{d:"M8 14a5 5 0 1 1 8 0",key:"fc81rn"}],["circle",{cx:"12",cy:"11",r:"1",key:"1gvufo"}],["path",{d:"M13 17a1 1 0 1 0-2 0l.5 4.5a.5.5 0 1 0 1 0Z",key:"za5kbj"}]],Q6=e("Podcast",JP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zj=[["path",{d:"M10 4.5V4a2 2 0 0 0-2.41-1.957",key:"jsi14n"}],["path",{d:"M13.9 8.4a2 2 0 0 0-1.26-1.295",key:"hirc7f"}],["path",{d:"M21.7 16.2A8 8 0 0 0 22 14v-3a2 2 0 1 0-4 0v-1a2 2 0 0 0-3.63-1.158",key:"1jxb2e"}],["path",{d:"m7 15-1.8-1.8a2 2 0 0 0-2.79 2.86L6 19.7a7.74 7.74 0 0 0 6 2.3h2a8 8 0 0 0 5.657-2.343",key:"10r7hm"}],["path",{d:"M6 6v8",key:"tv5xkp"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],T6=e("PointerOff",Zj);/** + */const QP=[["path",{d:"M10 4.5V4a2 2 0 0 0-2.41-1.957",key:"jsi14n"}],["path",{d:"M13.9 8.4a2 2 0 0 0-1.26-1.295",key:"hirc7f"}],["path",{d:"M21.7 16.2A8 8 0 0 0 22 14v-3a2 2 0 1 0-4 0v-1a2 2 0 0 0-3.63-1.158",key:"1jxb2e"}],["path",{d:"m7 15-1.8-1.8a2 2 0 0 0-2.79 2.86L6 19.7a7.74 7.74 0 0 0 6 2.3h2a8 8 0 0 0 5.657-2.343",key:"10r7hm"}],["path",{d:"M6 6v8",key:"tv5xkp"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Y6=e("PointerOff",QP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Gj=[["path",{d:"M22 14a8 8 0 0 1-8 8",key:"56vcr3"}],["path",{d:"M18 11v-1a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1agjmk"}],["path",{d:"M14 10V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1",key:"wdbh2u"}],["path",{d:"M10 9.5V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v10",key:"1ibuk9"}],["path",{d:"M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"g6ys72"}]],U6=e("Pointer",Gj);/** + */const YP=[["path",{d:"M22 14a8 8 0 0 1-8 8",key:"56vcr3"}],["path",{d:"M18 11v-1a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1agjmk"}],["path",{d:"M14 10V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1",key:"wdbh2u"}],["path",{d:"M10 9.5V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v10",key:"1ibuk9"}],["path",{d:"M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"g6ys72"}]],e8=e("Pointer",YP);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Wj=[["path",{d:"M18 8a2 2 0 0 0 0-4 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0 0 4",key:"10td1f"}],["path",{d:"M10 22 9 8",key:"yjptiv"}],["path",{d:"m14 22 1-14",key:"8jwc8b"}],["path",{d:"M20 8c.5 0 .9.4.8 1l-2.6 12c-.1.5-.7 1-1.2 1H7c-.6 0-1.1-.4-1.2-1L3.2 9c-.1-.6.3-1 .8-1Z",key:"1qo33t"}]],O6=e("Popcorn",Wj);/** + */const eV=[["path",{d:"M18 8a2 2 0 0 0 0-4 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0 0 4",key:"10td1f"}],["path",{d:"M10 22 9 8",key:"yjptiv"}],["path",{d:"m14 22 1-14",key:"8jwc8b"}],["path",{d:"M20 8c.5 0 .9.4.8 1l-2.6 12c-.1.5-.7 1-1.2 1H7c-.6 0-1.1-.4-1.2-1L3.2 9c-.1-.6.3-1 .8-1Z",key:"1qo33t"}]],a8=e("Popcorn",eV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ej=[["path",{d:"M18.6 14.4c.8-.8.8-2 0-2.8l-8.1-8.1a4.95 4.95 0 1 0-7.1 7.1l8.1 8.1c.9.7 2.1.7 2.9-.1Z",key:"1o68ps"}],["path",{d:"m22 22-5.5-5.5",key:"17o70y"}]],Z6=e("Popsicle",Ej);/** + */const aV=[["path",{d:"M18.6 14.4c.8-.8.8-2 0-2.8l-8.1-8.1a4.95 4.95 0 1 0-7.1 7.1l8.1 8.1c.9.7 2.1.7 2.9-.1Z",key:"1o68ps"}],["path",{d:"m22 22-5.5-5.5",key:"17o70y"}]],o8=e("Popsicle",aV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xj=[["path",{d:"M18 7c0-5.333-8-5.333-8 0",key:"1prm2n"}],["path",{d:"M10 7v14",key:"18tmcs"}],["path",{d:"M6 21h12",key:"4dkmi1"}],["path",{d:"M6 13h10",key:"ybwr4a"}]],G6=e("PoundSterling",Xj);/** + */const oV=[["path",{d:"M18 7c0-5.333-8-5.333-8 0",key:"1prm2n"}],["path",{d:"M10 7v14",key:"18tmcs"}],["path",{d:"M6 21h12",key:"4dkmi1"}],["path",{d:"M6 13h10",key:"ybwr4a"}]],t8=e("PoundSterling",oV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Kj=[["path",{d:"M18.36 6.64A9 9 0 0 1 20.77 15",key:"dxknvb"}],["path",{d:"M6.16 6.16a9 9 0 1 0 12.68 12.68",key:"1x7qb5"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],W6=e("PowerOff",Kj);/** + */const tV=[["path",{d:"M18.36 6.64A9 9 0 0 1 20.77 15",key:"dxknvb"}],["path",{d:"M6.16 6.16a9 9 0 1 0 12.68 12.68",key:"1x7qb5"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],c8=e("PowerOff",tV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Jj=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],E6=e("Power",Jj);/** + */const cV=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],n8=e("Power",cV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Qj=[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]],X6=e("Presentation",Qj);/** + */const nV=[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]],d8=e("Presentation",nV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Yj=[["path",{d:"M13.5 22H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v.5",key:"qeb09x"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}],["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2",key:"1md90i"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}]],K6=e("PrinterCheck",Yj);/** + */const dV=[["path",{d:"M13.5 22H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v.5",key:"qeb09x"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}],["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2",key:"1md90i"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}]],i8=e("PrinterCheck",dV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eV=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],J6=e("Printer",eV);/** + */const iV=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],h8=e("Printer",iV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aV=[["path",{d:"M5 7 3 5",key:"1yys58"}],["path",{d:"M9 6V3",key:"1ptz9u"}],["path",{d:"m13 7 2-2",key:"1w3vmq"}],["circle",{cx:"9",cy:"13",r:"3",key:"1mma13"}],["path",{d:"M11.83 12H20a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2.17",key:"2frwzc"}],["path",{d:"M16 16h2",key:"dnq2od"}]],Q6=e("Projector",aV);/** + */const hV=[["path",{d:"M5 7 3 5",key:"1yys58"}],["path",{d:"M9 6V3",key:"1ptz9u"}],["path",{d:"m13 7 2-2",key:"1w3vmq"}],["circle",{cx:"9",cy:"13",r:"3",key:"1mma13"}],["path",{d:"M11.83 12H20a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2.17",key:"2frwzc"}],["path",{d:"M16 16h2",key:"dnq2od"}]],y8=e("Projector",hV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oV=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M12 9v11",key:"1fnkrn"}],["path",{d:"M2 9h13a2 2 0 0 1 2 2v9",key:"11z3ex"}]],Y6=e("Proportions",oV);/** + */const yV=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M12 9v11",key:"1fnkrn"}],["path",{d:"M2 9h13a2 2 0 0 1 2 2v9",key:"11z3ex"}]],r8=e("Proportions",yV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cV=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],e8=e("Puzzle",cV);/** + */const rV=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],k8=e("Puzzle",rV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tV=[["path",{d:"M2.5 16.88a1 1 0 0 1-.32-1.43l9-13.02a1 1 0 0 1 1.64 0l9 13.01a1 1 0 0 1-.32 1.44l-8.51 4.86a2 2 0 0 1-1.98 0Z",key:"aenxs0"}],["path",{d:"M12 2v20",key:"t6zp3m"}]],a8=e("Pyramid",tV);/** + */const kV=[["path",{d:"M2.5 16.88a1 1 0 0 1-.32-1.43l9-13.02a1 1 0 0 1 1.64 0l9 13.01a1 1 0 0 1-.32 1.44l-8.51 4.86a2 2 0 0 1-1.98 0Z",key:"aenxs0"}],["path",{d:"M12 2v20",key:"t6zp3m"}]],p8=e("Pyramid",kV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nV=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],o8=e("Rabbit",nV);/** + */const pV=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],s8=e("Rabbit",pV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dV=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],c8=e("Radar",dV);/** + */const sV=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],l8=e("Radar",sV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iV=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M7.5 4.2c-.3-.5-.9-.7-1.3-.4C3.9 5.5 2.3 8.1 2 11c-.1.5.4 1 1 1h5c0-1.5.8-2.8 2-3.4-1.1-1.9-2-3.5-2.5-4.4z",key:"wy49g3"}],["path",{d:"M21 12c.6 0 1-.4 1-1-.3-2.9-1.8-5.5-4.1-7.1-.4-.3-1.1-.2-1.3.3-.6.9-1.5 2.5-2.6 4.3 1.2.7 2 2 2 3.5h5z",key:"vklnvr"}],["path",{d:"M7.5 19.8c-.3.5-.1 1.1.4 1.3 2.6 1.2 5.6 1.2 8.2 0 .5-.2.7-.8.4-1.3-.5-.9-1.4-2.5-2.5-4.3-1.2.7-2.8.7-4 0-1.1 1.8-2 3.4-2.5 4.3z",key:"wkdf1o"}]],t8=e("Radiation",iV);/** + */const lV=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M7.5 4.2c-.3-.5-.9-.7-1.3-.4C3.9 5.5 2.3 8.1 2 11c-.1.5.4 1 1 1h5c0-1.5.8-2.8 2-3.4-1.1-1.9-2-3.5-2.5-4.4z",key:"wy49g3"}],["path",{d:"M21 12c.6 0 1-.4 1-1-.3-2.9-1.8-5.5-4.1-7.1-.4-.3-1.1-.2-1.3.3-.6.9-1.5 2.5-2.6 4.3 1.2.7 2 2 2 3.5h5z",key:"vklnvr"}],["path",{d:"M7.5 19.8c-.3.5-.1 1.1.4 1.3 2.6 1.2 5.6 1.2 8.2 0 .5-.2.7-.8.4-1.3-.5-.9-1.4-2.5-2.5-4.3-1.2.7-2.8.7-4 0-1.1 1.8-2 3.4-2.5 4.3z",key:"wkdf1o"}]],u8=e("Radiation",lV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hV=[["path",{d:"M3 12h3.28a1 1 0 0 1 .948.684l2.298 7.934a.5.5 0 0 0 .96-.044L13.82 4.771A1 1 0 0 1 14.792 4H21",key:"1mqj8i"}]],n8=e("Radical",hV);/** + */const uV=[["path",{d:"M3 12h3.28a1 1 0 0 1 .948.684l2.298 7.934a.5.5 0 0 0 .96-.044L13.82 4.771A1 1 0 0 1 14.792 4H21",key:"1mqj8i"}]],M8=e("Radical",uV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yV=[["path",{d:"M5 16v2",key:"g5qcv5"}],["path",{d:"M19 16v2",key:"1gbaio"}],["rect",{width:"20",height:"8",x:"2",y:"8",rx:"2",key:"vjsjur"}],["path",{d:"M18 12h.01",key:"yjnet6"}]],d8=e("RadioReceiver",yV);/** + */const MV=[["path",{d:"M5 16v2",key:"g5qcv5"}],["path",{d:"M19 16v2",key:"1gbaio"}],["rect",{width:"20",height:"8",x:"2",y:"8",rx:"2",key:"vjsjur"}],["path",{d:"M18 12h.01",key:"yjnet6"}]],v8=e("RadioReceiver",MV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rV=[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9",key:"s0qx1y"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5",key:"1idnkw"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47",key:"ojru2q"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1",key:"rhi7fg"}],["path",{d:"M9.5 18h5",key:"mfy3pd"}],["path",{d:"m8 22 4-11 4 11",key:"25yftu"}]],i8=e("RadioTower",rV);/** + */const vV=[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9",key:"s0qx1y"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5",key:"1idnkw"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47",key:"ojru2q"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1",key:"rhi7fg"}],["path",{d:"M9.5 18h5",key:"mfy3pd"}],["path",{d:"m8 22 4-11 4 11",key:"25yftu"}]],m8=e("RadioTower",vV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kV=[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]],h8=e("Radio",kV);/** + */const mV=[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]],_8=e("Radio",mV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pV=[["path",{d:"M20.34 17.52a10 10 0 1 0-2.82 2.82",key:"fydyku"}],["circle",{cx:"19",cy:"19",r:"2",key:"17f5cg"}],["path",{d:"m13.41 13.41 4.18 4.18",key:"1gqbwc"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],y8=e("Radius",pV);/** + */const _V=[["path",{d:"M20.34 17.52a10 10 0 1 0-2.82 2.82",key:"fydyku"}],["circle",{cx:"19",cy:"19",r:"2",key:"17f5cg"}],["path",{d:"m13.41 13.41 4.18 4.18",key:"1gqbwc"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],g8=e("Radius",_V);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sV=[["path",{d:"M5 15h14",key:"m0yey3"}],["path",{d:"M5 9h14",key:"7tsvo6"}],["path",{d:"m14 20-5-5 6-6-5-5",key:"1jo42i"}]],r8=e("RailSymbol",sV);/** + */const gV=[["path",{d:"M5 15h14",key:"m0yey3"}],["path",{d:"M5 9h14",key:"7tsvo6"}],["path",{d:"m14 20-5-5 6-6-5-5",key:"1jo42i"}]],L8=e("RailSymbol",gV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lV=[["path",{d:"M22 17a10 10 0 0 0-20 0",key:"ozegv"}],["path",{d:"M6 17a6 6 0 0 1 12 0",key:"5giftw"}],["path",{d:"M10 17a2 2 0 0 1 4 0",key:"gnsikk"}]],k8=e("Rainbow",lV);/** + */const LV=[["path",{d:"M22 17a10 10 0 0 0-20 0",key:"ozegv"}],["path",{d:"M6 17a6 6 0 0 1 12 0",key:"5giftw"}],["path",{d:"M10 17a2 2 0 0 1 4 0",key:"gnsikk"}]],x8=e("Rainbow",LV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uV=[["path",{d:"M13 22H4a2 2 0 0 1 0-4h12",key:"bt3f23"}],["path",{d:"M13.236 18a3 3 0 0 0-2.2-5",key:"1tbvmo"}],["path",{d:"M16 9h.01",key:"1bdo4e"}],["path",{d:"M16.82 3.94a3 3 0 1 1 3.237 4.868l1.815 2.587a1.5 1.5 0 0 1-1.5 2.1l-2.872-.453a3 3 0 0 0-3.5 3",key:"9ch7kn"}],["path",{d:"M17 4.988a3 3 0 1 0-5.2 2.052A7 7 0 0 0 4 14.015 4 4 0 0 0 8 18",key:"3s7e9i"}]],p8=e("Rat",uV);/** + */const xV=[["path",{d:"M13 22H4a2 2 0 0 1 0-4h12",key:"bt3f23"}],["path",{d:"M13.236 18a3 3 0 0 0-2.2-5",key:"1tbvmo"}],["path",{d:"M16 9h.01",key:"1bdo4e"}],["path",{d:"M16.82 3.94a3 3 0 1 1 3.237 4.868l1.815 2.587a1.5 1.5 0 0 1-1.5 2.1l-2.872-.453a3 3 0 0 0-3.5 3",key:"9ch7kn"}],["path",{d:"M17 4.988a3 3 0 1 0-5.2 2.052A7 7 0 0 0 4 14.015 4 4 0 0 0 8 18",key:"3s7e9i"}]],w8=e("Rat",xV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MV=[["rect",{width:"12",height:"20",x:"6",y:"2",rx:"2",key:"1oxtiu"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],s8=e("Ratio",MV);/** + */const wV=[["rect",{width:"12",height:"20",x:"6",y:"2",rx:"2",key:"1oxtiu"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],f8=e("Ratio",wV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M12 6.5v11",key:"ecfhkf"}],["path",{d:"M15 9.4a4 4 0 1 0 0 5.2",key:"1makmb"}]],l8=e("ReceiptCent",vV);/** + */const fV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M12 6.5v11",key:"ecfhkf"}],["path",{d:"M15 9.4a4 4 0 1 0 0 5.2",key:"1makmb"}]],C8=e("ReceiptCent",fV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 12h5",key:"1g6qi8"}],["path",{d:"M16 9.5a4 4 0 1 0 0 5.2",key:"b2px4r"}]],u8=e("ReceiptEuro",mV);/** + */const CV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 12h5",key:"1g6qi8"}],["path",{d:"M16 9.5a4 4 0 1 0 0 5.2",key:"b2px4r"}]],I8=e("ReceiptEuro",CV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _V=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 7h8",key:"i86dvs"}],["path",{d:"M12 17.5 8 15h1a4 4 0 0 0 0-8",key:"grpkl4"}],["path",{d:"M8 11h8",key:"vwpz6n"}]],M8=e("ReceiptIndianRupee",_V);/** + */const IV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 7h8",key:"i86dvs"}],["path",{d:"M12 17.5 8 15h1a4 4 0 0 0 0-8",key:"grpkl4"}],["path",{d:"M8 11h8",key:"vwpz6n"}]],N8=e("ReceiptIndianRupee",IV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"m12 10 3-3",key:"1mc12w"}],["path",{d:"m9 7 3 3v7.5",key:"39i0xv"}],["path",{d:"M9 11h6",key:"1fldmi"}],["path",{d:"M9 15h6",key:"cctwl0"}]],v8=e("ReceiptJapaneseYen",gV);/** + */const NV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"m12 10 3-3",key:"1mc12w"}],["path",{d:"m9 7 3 3v7.5",key:"39i0xv"}],["path",{d:"M9 11h6",key:"1fldmi"}],["path",{d:"M9 15h6",key:"cctwl0"}]],S8=e("ReceiptJapaneseYen",NV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 13h5",key:"1k9z8w"}],["path",{d:"M10 17V9.5a2.5 2.5 0 0 1 5 0",key:"1dzgp0"}],["path",{d:"M8 17h7",key:"8mjdqu"}]],m8=e("ReceiptPoundSterling",LV);/** + */const SV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 13h5",key:"1k9z8w"}],["path",{d:"M10 17V9.5a2.5 2.5 0 0 1 5 0",key:"1dzgp0"}],["path",{d:"M8 17h7",key:"8mjdqu"}]],b8=e("ReceiptPoundSterling",SV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 15h5",key:"vxg57a"}],["path",{d:"M8 11h5a2 2 0 1 0 0-4h-3v10",key:"1usi5u"}]],_8=e("ReceiptRussianRuble",xV);/** + */const bV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M8 15h5",key:"vxg57a"}],["path",{d:"M8 11h5a2 2 0 1 0 0-4h-3v10",key:"1usi5u"}]],q8=e("ReceiptRussianRuble",bV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M10 17V7h5",key:"k7jq18"}],["path",{d:"M10 11h4",key:"1i0mka"}],["path",{d:"M8 15h5",key:"vxg57a"}]],g8=e("ReceiptSwissFranc",wV);/** + */const qV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M10 17V7h5",key:"k7jq18"}],["path",{d:"M10 11h4",key:"1i0mka"}],["path",{d:"M8 15h5",key:"vxg57a"}]],$8=e("ReceiptSwissFranc",qV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M13 16H8",key:"wsln4y"}]],L8=e("ReceiptText",fV);/** + */const $V=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M13 16H8",key:"wsln4y"}]],A8=e("ReceiptText",$V);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]],x8=e("Receipt",CV);/** + */const AV=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]],H8=e("Receipt",AV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IV=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],Le=e("RectangleEllipsis",IV);/** + */const HV=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],we=e("RectangleEllipsis",HV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NV=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],w8=e("RectangleHorizontal",NV);/** + */const zV=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],z8=e("RectangleHorizontal",zV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SV=[["rect",{width:"12",height:"20",x:"6",y:"2",rx:"2",key:"1oxtiu"}]],f8=e("RectangleVertical",SV);/** + */const jV=[["rect",{width:"12",height:"20",x:"6",y:"2",rx:"2",key:"1oxtiu"}]],j8=e("RectangleVertical",jV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qV=[["path",{d:"M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5",key:"x6z5xu"}],["path",{d:"M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12",key:"1x4zh5"}],["path",{d:"m14 16-3 3 3 3",key:"f6jyew"}],["path",{d:"M8.293 13.596 7.196 9.5 3.1 10.598",key:"wf1obh"}],["path",{d:"m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843",key:"9tzpgr"}],["path",{d:"m13.378 9.633 4.096 1.098 1.097-4.096",key:"1oe83g"}]],C8=e("Recycle",qV);/** + */const PV=[["path",{d:"M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5",key:"x6z5xu"}],["path",{d:"M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12",key:"1x4zh5"}],["path",{d:"m14 16-3 3 3 3",key:"f6jyew"}],["path",{d:"M8.293 13.596 7.196 9.5 3.1 10.598",key:"wf1obh"}],["path",{d:"m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843",key:"9tzpgr"}],["path",{d:"m13.378 9.633 4.096 1.098 1.097-4.096",key:"1oe83g"}]],P8=e("Recycle",PV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bV=[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]],I8=e("Redo2",bV);/** + */const VV=[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]],V8=e("Redo2",VV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $V=[["circle",{cx:"12",cy:"17",r:"1",key:"1ixnty"}],["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]],N8=e("RedoDot",$V);/** + */const BV=[["circle",{cx:"12",cy:"17",r:"1",key:"1ixnty"}],["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]],B8=e("RedoDot",BV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AV=[["path",{d:"M3 2v6h6",key:"18ldww"}],["path",{d:"M21 12A9 9 0 0 0 6 5.3L3 8",key:"1pbrqz"}],["path",{d:"M21 22v-6h-6",key:"usdfbe"}],["path",{d:"M3 12a9 9 0 0 0 15 6.7l3-2.7",key:"1hosoe"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],S8=e("RefreshCcwDot",AV);/** + */const FV=[["path",{d:"M3 2v6h6",key:"18ldww"}],["path",{d:"M21 12A9 9 0 0 0 6 5.3L3 8",key:"1pbrqz"}],["path",{d:"M21 22v-6h-6",key:"usdfbe"}],["path",{d:"M3 12a9 9 0 0 0 15 6.7l3-2.7",key:"1hosoe"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],F8=e("RefreshCcwDot",FV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HV=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]],q8=e("RefreshCcw",HV);/** + */const DV=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]],D8=e("RefreshCcw",DV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zV=[["path",{d:"M21 8L18.74 5.74A9.75 9.75 0 0 0 12 3C11 3 10.03 3.16 9.13 3.47",key:"1krf6h"}],["path",{d:"M8 16H3v5",key:"1cv678"}],["path",{d:"M3 12C3 9.51 4 7.26 5.64 5.64",key:"ruvoct"}],["path",{d:"m3 16 2.26 2.26A9.75 9.75 0 0 0 12 21c2.49 0 4.74-1 6.36-2.64",key:"19q130"}],["path",{d:"M21 12c0 1-.16 1.97-.47 2.87",key:"4w8emr"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}]],b8=e("RefreshCwOff",zV);/** + */const RV=[["path",{d:"M21 8L18.74 5.74A9.75 9.75 0 0 0 12 3C11 3 10.03 3.16 9.13 3.47",key:"1krf6h"}],["path",{d:"M8 16H3v5",key:"1cv678"}],["path",{d:"M3 12C3 9.51 4 7.26 5.64 5.64",key:"ruvoct"}],["path",{d:"m3 16 2.26 2.26A9.75 9.75 0 0 0 12 21c2.49 0 4.74-1 6.36-2.64",key:"19q130"}],["path",{d:"M21 12c0 1-.16 1.97-.47 2.87",key:"4w8emr"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}]],R8=e("RefreshCwOff",RV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PV=[["path",{d:"M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Z",key:"fpq118"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M15 7v6",key:"1nx30x"}]],$8=e("Refrigerator",PV);/** + */const TV=[["path",{d:"M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Z",key:"fpq118"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M15 7v6",key:"1nx30x"}]],T8=e("Refrigerator",TV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jV=[["path",{d:"M17 3v10",key:"15fgeh"}],["path",{d:"m12.67 5.5 8.66 5",key:"1gpheq"}],["path",{d:"m12.67 10.5 8.66-5",key:"1dkfa6"}],["path",{d:"M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z",key:"swwfx4"}]],A8=e("Regex",jV);/** + */const UV=[["path",{d:"M17 3v10",key:"15fgeh"}],["path",{d:"m12.67 5.5 8.66 5",key:"1gpheq"}],["path",{d:"m12.67 10.5 8.66-5",key:"1dkfa6"}],["path",{d:"M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z",key:"swwfx4"}]],U8=e("Regex",UV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VV=[["path",{d:"M4 7V4h16v3",key:"9msm58"}],["path",{d:"M5 20h6",key:"1h6pxn"}],["path",{d:"M13 4 8 20",key:"kqq6aj"}],["path",{d:"m15 15 5 5",key:"me55sn"}],["path",{d:"m20 15-5 5",key:"11p7ol"}]],H8=e("RemoveFormatting",VV);/** + */const OV=[["path",{d:"M4 7V4h16v3",key:"9msm58"}],["path",{d:"M5 20h6",key:"1h6pxn"}],["path",{d:"M13 4 8 20",key:"kqq6aj"}],["path",{d:"m15 15 5 5",key:"me55sn"}],["path",{d:"m20 15-5 5",key:"11p7ol"}]],O8=e("RemoveFormatting",OV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BV=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}],["path",{d:"M11 10h1v4",key:"70cz1p"}]],z8=e("Repeat1",BV);/** + */const ZV=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}],["path",{d:"M11 10h1v4",key:"70cz1p"}]],Z8=e("Repeat1",ZV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FV=[["path",{d:"m2 9 3-3 3 3",key:"1ltn5i"}],["path",{d:"M13 18H7a2 2 0 0 1-2-2V6",key:"1r6tfw"}],["path",{d:"m22 15-3 3-3-3",key:"4rnwn2"}],["path",{d:"M11 6h6a2 2 0 0 1 2 2v10",key:"2f72bc"}]],P8=e("Repeat2",FV);/** + */const GV=[["path",{d:"m2 9 3-3 3 3",key:"1ltn5i"}],["path",{d:"M13 18H7a2 2 0 0 1-2-2V6",key:"1r6tfw"}],["path",{d:"m22 15-3 3-3-3",key:"4rnwn2"}],["path",{d:"M11 6h6a2 2 0 0 1 2 2v10",key:"2f72bc"}]],G8=e("Repeat2",GV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DV=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],j8=e("Repeat",DV);/** + */const WV=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],W8=e("Repeat",WV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RV=[["path",{d:"M14 14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"1yyzbs"}],["path",{d:"M14 4a2 2 0 0 1 2-2",key:"1w2hp7"}],["path",{d:"M16 10a2 2 0 0 1-2-2",key:"shjach"}],["path",{d:"M20 14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"zfj4xr"}],["path",{d:"M20 2a2 2 0 0 1 2 2",key:"188mtx"}],["path",{d:"M22 8a2 2 0 0 1-2 2",key:"ddf4tu"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a 3 3 0 0 1 3-3h1",key:"1ageje"}],["rect",{x:"2",y:"14",width:"8",height:"8",rx:"2",key:"4rksxw"}]],V8=e("ReplaceAll",RV);/** + */const EV=[["path",{d:"M14 14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"1yyzbs"}],["path",{d:"M14 4a2 2 0 0 1 2-2",key:"1w2hp7"}],["path",{d:"M16 10a2 2 0 0 1-2-2",key:"shjach"}],["path",{d:"M20 14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"zfj4xr"}],["path",{d:"M20 2a2 2 0 0 1 2 2",key:"188mtx"}],["path",{d:"M22 8a2 2 0 0 1-2 2",key:"ddf4tu"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a 3 3 0 0 1 3-3h1",key:"1ageje"}],["rect",{x:"2",y:"14",width:"8",height:"8",rx:"2",key:"4rksxw"}]],E8=e("ReplaceAll",EV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TV=[["path",{d:"M14 4a2 2 0 0 1 2-2",key:"1w2hp7"}],["path",{d:"M16 10a2 2 0 0 1-2-2",key:"shjach"}],["path",{d:"M20 2a2 2 0 0 1 2 2",key:"188mtx"}],["path",{d:"M22 8a2 2 0 0 1-2 2",key:"ddf4tu"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a3 3 0 0 1 3-3h1",key:"3y3t5z"}],["rect",{x:"2",y:"14",width:"8",height:"8",rx:"2",key:"4rksxw"}]],B8=e("Replace",TV);/** + */const XV=[["path",{d:"M14 4a2 2 0 0 1 2-2",key:"1w2hp7"}],["path",{d:"M16 10a2 2 0 0 1-2-2",key:"shjach"}],["path",{d:"M20 2a2 2 0 0 1 2 2",key:"188mtx"}],["path",{d:"M22 8a2 2 0 0 1-2 2",key:"ddf4tu"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a3 3 0 0 1 3-3h1",key:"3y3t5z"}],["rect",{x:"2",y:"14",width:"8",height:"8",rx:"2",key:"4rksxw"}]],X8=e("Replace",XV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UV=[["polyline",{points:"7 17 2 12 7 7",key:"t83bqg"}],["polyline",{points:"12 17 7 12 12 7",key:"1g4ajm"}],["path",{d:"M22 18v-2a4 4 0 0 0-4-4H7",key:"1fcyog"}]],F8=e("ReplyAll",UV);/** + */const KV=[["polyline",{points:"7 17 2 12 7 7",key:"t83bqg"}],["polyline",{points:"12 17 7 12 12 7",key:"1g4ajm"}],["path",{d:"M22 18v-2a4 4 0 0 0-4-4H7",key:"1fcyog"}]],K8=e("ReplyAll",KV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OV=[["polyline",{points:"9 17 4 12 9 7",key:"hvgpf2"}],["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}]],D8=e("Reply",OV);/** + */const JV=[["polyline",{points:"9 17 4 12 9 7",key:"hvgpf2"}],["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}]],J8=e("Reply",JV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZV=[["polygon",{points:"11 19 2 12 11 5 11 19",key:"14yba5"}],["polygon",{points:"22 19 13 12 22 5 22 19",key:"1pi1cj"}]],R8=e("Rewind",ZV);/** + */const QV=[["polygon",{points:"11 19 2 12 11 5 11 19",key:"14yba5"}],["polygon",{points:"22 19 13 12 22 5 22 19",key:"1pi1cj"}]],Q8=e("Rewind",QV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GV=[["path",{d:"M12 11.22C11 9.997 10 9 10 8a2 2 0 0 1 4 0c0 1-.998 2.002-2.01 3.22",key:"1rnhq3"}],["path",{d:"m12 18 2.57-3.5",key:"116vt7"}],["path",{d:"M6.243 9.016a7 7 0 0 1 11.507-.009",key:"10dq0b"}],["path",{d:"M9.35 14.53 12 11.22",key:"tdsyp2"}],["path",{d:"M9.35 14.53C7.728 12.246 6 10.221 6 7a6 5 0 0 1 12 0c-.005 3.22-1.778 5.235-3.43 7.5l3.557 4.527a1 1 0 0 1-.203 1.43l-1.894 1.36a1 1 0 0 1-1.384-.215L12 18l-2.679 3.593a1 1 0 0 1-1.39.213l-1.865-1.353a1 1 0 0 1-.203-1.422z",key:"nmifey"}]],T8=e("Ribbon",GV);/** + */const YV=[["path",{d:"M12 11.22C11 9.997 10 9 10 8a2 2 0 0 1 4 0c0 1-.998 2.002-2.01 3.22",key:"1rnhq3"}],["path",{d:"m12 18 2.57-3.5",key:"116vt7"}],["path",{d:"M6.243 9.016a7 7 0 0 1 11.507-.009",key:"10dq0b"}],["path",{d:"M9.35 14.53 12 11.22",key:"tdsyp2"}],["path",{d:"M9.35 14.53C7.728 12.246 6 10.221 6 7a6 5 0 0 1 12 0c-.005 3.22-1.778 5.235-3.43 7.5l3.557 4.527a1 1 0 0 1-.203 1.43l-1.894 1.36a1 1 0 0 1-1.384-.215L12 18l-2.679 3.593a1 1 0 0 1-1.39.213l-1.865-1.353a1 1 0 0 1-.203-1.422z",key:"nmifey"}]],Y8=e("Ribbon",YV);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WV=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],U8=e("Rocket",WV);/** + */const eB=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],e7=e("Rocket",eB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EV=[["polyline",{points:"3.5 2 6.5 12.5 18 12.5",key:"y3iy52"}],["line",{x1:"9.5",x2:"5.5",y1:"12.5",y2:"20",key:"19vg5i"}],["line",{x1:"15",x2:"18.5",y1:"12.5",y2:"20",key:"1inpmv"}],["path",{d:"M2.75 18a13 13 0 0 0 18.5 0",key:"1nquas"}]],O8=e("RockingChair",EV);/** + */const aB=[["polyline",{points:"3.5 2 6.5 12.5 18 12.5",key:"y3iy52"}],["line",{x1:"9.5",x2:"5.5",y1:"12.5",y2:"20",key:"19vg5i"}],["line",{x1:"15",x2:"18.5",y1:"12.5",y2:"20",key:"1inpmv"}],["path",{d:"M2.75 18a13 13 0 0 0 18.5 0",key:"1nquas"}]],a7=e("RockingChair",aB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XV=[["path",{d:"M6 19V5",key:"1r845m"}],["path",{d:"M10 19V6.8",key:"9j2tfs"}],["path",{d:"M14 19v-7.8",key:"10s8qv"}],["path",{d:"M18 5v4",key:"1tajlv"}],["path",{d:"M18 19v-6",key:"ielfq3"}],["path",{d:"M22 19V9",key:"158nzp"}],["path",{d:"M2 19V9a4 4 0 0 1 4-4c2 0 4 1.33 6 4s4 4 6 4a4 4 0 1 0-3-6.65",key:"1930oh"}]],Z8=e("RollerCoaster",XV);/** + */const oB=[["path",{d:"M6 19V5",key:"1r845m"}],["path",{d:"M10 19V6.8",key:"9j2tfs"}],["path",{d:"M14 19v-7.8",key:"10s8qv"}],["path",{d:"M18 5v4",key:"1tajlv"}],["path",{d:"M18 19v-6",key:"ielfq3"}],["path",{d:"M22 19V9",key:"158nzp"}],["path",{d:"M2 19V9a4 4 0 0 1 4-4c2 0 4 1.33 6 4s4 4 6 4a4 4 0 1 0-3-6.65",key:"1930oh"}]],o7=e("RollerCoaster",oB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KV=[["path",{d:"M16.466 7.5C15.643 4.237 13.952 2 12 2 9.239 2 7 6.477 7 12s2.239 10 5 10c.342 0 .677-.069 1-.2",key:"10n0gc"}],["path",{d:"m15.194 13.707 3.814 1.86-1.86 3.814",key:"16shm9"}],["path",{d:"M19 15.57c-1.804.885-4.274 1.43-7 1.43-5.523 0-10-2.239-10-5s4.477-5 10-5c4.838 0 8.873 1.718 9.8 4",key:"1lxi77"}]],xe=e("Rotate3d",KV);/** + */const tB=[["path",{d:"M16.466 7.5C15.643 4.237 13.952 2 12 2 9.239 2 7 6.477 7 12s2.239 10 5 10c.342 0 .677-.069 1-.2",key:"10n0gc"}],["path",{d:"m15.194 13.707 3.814 1.86-1.86 3.814",key:"16shm9"}],["path",{d:"M19 15.57c-1.804.885-4.274 1.43-7 1.43-5.523 0-10-2.239-10-5s4.477-5 10-5c4.838 0 8.873 1.718 9.8 4",key:"1lxi77"}]],fe=e("Rotate3d",tB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JV=[["path",{d:"M20 9V7a2 2 0 0 0-2-2h-6",key:"19z8uc"}],["path",{d:"m15 2-3 3 3 3",key:"177bxs"}],["path",{d:"M20 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2",key:"d36hnl"}]],G8=e("RotateCcwSquare",JV);/** + */const cB=[["path",{d:"M20 9V7a2 2 0 0 0-2-2h-6",key:"19z8uc"}],["path",{d:"m15 2-3 3 3 3",key:"177bxs"}],["path",{d:"M20 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2",key:"d36hnl"}]],t7=e("RotateCcwSquare",cB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QV=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],W8=e("RotateCcw",QV);/** + */const nB=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],c7=e("RotateCcw",nB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YV=[["path",{d:"M12 5H6a2 2 0 0 0-2 2v3",key:"l96uqu"}],["path",{d:"m9 8 3-3-3-3",key:"1gzgc3"}],["path",{d:"M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2",key:"1w2k5h"}]],E8=e("RotateCwSquare",YV);/** + */const dB=[["path",{d:"M12 5H6a2 2 0 0 0-2 2v3",key:"l96uqu"}],["path",{d:"m9 8 3-3-3-3",key:"1gzgc3"}],["path",{d:"M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2",key:"1w2k5h"}]],n7=e("RotateCwSquare",dB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eB=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],X8=e("RotateCw",eB);/** + */const iB=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],d7=e("RotateCw",iB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aB=[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5c.4 0 .9-.1 1.3-.2",key:"1effex"}],["path",{d:"M5.2 5.2A3.5 3.53 0 0 0 6.5 12H12",key:"k9y2ds"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M21 15.3a3.5 3.5 0 0 0-3.3-3.3",key:"11nlu2"}],["path",{d:"M15 5h-4.3",key:"6537je"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]],K8=e("RouteOff",aB);/** + */const hB=[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5c.4 0 .9-.1 1.3-.2",key:"1effex"}],["path",{d:"M5.2 5.2A3.5 3.53 0 0 0 6.5 12H12",key:"k9y2ds"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M21 15.3a3.5 3.5 0 0 0-3.3-3.3",key:"11nlu2"}],["path",{d:"M15 5h-4.3",key:"6537je"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]],i7=e("RouteOff",hB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oB=[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]],J8=e("Route",oB);/** + */const yB=[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]],h7=e("Route",yB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cB=[["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6.01 18H6",key:"19vcac"}],["path",{d:"M10.01 18H10",key:"uamcmx"}],["path",{d:"M15 10v4",key:"qjz1xs"}],["path",{d:"M17.84 7.17a4 4 0 0 0-5.66 0",key:"1rif40"}],["path",{d:"M20.66 4.34a8 8 0 0 0-11.31 0",key:"6a5xfq"}]],Q8=e("Router",cB);/** + */const rB=[["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6.01 18H6",key:"19vcac"}],["path",{d:"M10.01 18H10",key:"uamcmx"}],["path",{d:"M15 10v4",key:"qjz1xs"}],["path",{d:"M17.84 7.17a4 4 0 0 0-5.66 0",key:"1rif40"}],["path",{d:"M20.66 4.34a8 8 0 0 0-11.31 0",key:"6a5xfq"}]],y7=e("Router",rB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tB=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}]],we=e("Rows2",tB);/** + */const kB=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}]],Ce=e("Rows2",kB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nB=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],fe=e("Rows3",nB);/** + */const pB=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],Ie=e("Rows3",pB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dB=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 7.5H3",key:"1hm9pq"}],["path",{d:"M21 12H3",key:"2avoz0"}],["path",{d:"M21 16.5H3",key:"n7jzkj"}]],Y8=e("Rows4",dB);/** + */const sB=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 7.5H3",key:"1hm9pq"}],["path",{d:"M21 12H3",key:"2avoz0"}],["path",{d:"M21 16.5H3",key:"n7jzkj"}]],r7=e("Rows4",sB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iB=[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]],e7=e("Rss",iB);/** + */const lB=[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]],k7=e("Rss",lB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hB=[["path",{d:"M6 11h8a4 4 0 0 0 0-8H9v18",key:"18ai8t"}],["path",{d:"M6 15h8",key:"1y8f6l"}]],a7=e("RussianRuble",hB);/** + */const uB=[["path",{d:"M6 11h8a4 4 0 0 0 0-8H9v18",key:"18ai8t"}],["path",{d:"M6 15h8",key:"1y8f6l"}]],p7=e("RussianRuble",uB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yB=[["path",{d:"M22 18H2a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4Z",key:"1404fh"}],["path",{d:"M21 14 10 2 3 14h18Z",key:"1nzg7v"}],["path",{d:"M10 2v16",key:"1labyt"}]],o7=e("Sailboat",yB);/** + */const MB=[["path",{d:"M22 18H2a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4Z",key:"1404fh"}],["path",{d:"M21 14 10 2 3 14h18Z",key:"1nzg7v"}],["path",{d:"M10 2v16",key:"1labyt"}]],s7=e("Sailboat",MB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],c7=e("Salad",rB);/** + */const vB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],l7=e("Salad",vB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kB=[["path",{d:"m2.37 11.223 8.372-6.777a2 2 0 0 1 2.516 0l8.371 6.777",key:"f1wd0e"}],["path",{d:"M21 15a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-5.25",key:"1pfu07"}],["path",{d:"M3 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h9",key:"1oq9qw"}],["path",{d:"m6.67 15 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2",key:"1fnwu5"}],["rect",{width:"20",height:"4",x:"2",y:"11",rx:"1",key:"itshg"}]],t7=e("Sandwich",kB);/** + */const mB=[["path",{d:"m2.37 11.223 8.372-6.777a2 2 0 0 1 2.516 0l8.371 6.777",key:"f1wd0e"}],["path",{d:"M21 15a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-5.25",key:"1pfu07"}],["path",{d:"M3 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h9",key:"1oq9qw"}],["path",{d:"m6.67 15 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2",key:"1fnwu5"}],["rect",{width:"20",height:"4",x:"2",y:"11",rx:"1",key:"itshg"}]],u7=e("Sandwich",mB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pB=[["path",{d:"M4 10a7.31 7.31 0 0 0 10 10Z",key:"1fzpp3"}],["path",{d:"m9 15 3-3",key:"88sc13"}],["path",{d:"M17 13a6 6 0 0 0-6-6",key:"15cc6u"}],["path",{d:"M21 13A10 10 0 0 0 11 3",key:"11nf8s"}]],n7=e("SatelliteDish",pB);/** + */const _B=[["path",{d:"M4 10a7.31 7.31 0 0 0 10 10Z",key:"1fzpp3"}],["path",{d:"m9 15 3-3",key:"88sc13"}],["path",{d:"M17 13a6 6 0 0 0-6-6",key:"15cc6u"}],["path",{d:"M21 13A10 10 0 0 0 11 3",key:"11nf8s"}]],M7=e("SatelliteDish",_B);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sB=[["path",{d:"M13 7 9 3 5 7l4 4",key:"vyckw6"}],["path",{d:"m17 11 4 4-4 4-4-4",key:"rchckc"}],["path",{d:"m8 12 4 4 6-6-4-4Z",key:"1sshf7"}],["path",{d:"m16 8 3-3",key:"x428zp"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}]],d7=e("Satellite",sB);/** + */const gB=[["path",{d:"M13 7 9 3 5 7l4 4",key:"vyckw6"}],["path",{d:"m17 11 4 4-4 4-4-4",key:"rchckc"}],["path",{d:"m8 12 4 4 6-6-4-4Z",key:"1sshf7"}],["path",{d:"m16 8 3-3",key:"x428zp"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}]],v7=e("Satellite",gB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lB=[["path",{d:"M10 2v3a1 1 0 0 0 1 1h5",key:"1xspal"}],["path",{d:"M18 18v-6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6",key:"1ra60u"}],["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"M8 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9.172a2 2 0 0 1 1.414.586l2.828 2.828A2 2 0 0 1 22 6.828V16a2 2 0 0 1-2.01 2z",key:"1yve0x"}]],i7=e("SaveAll",lB);/** + */const LB=[["path",{d:"M10 2v3a1 1 0 0 0 1 1h5",key:"1xspal"}],["path",{d:"M18 18v-6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6",key:"1ra60u"}],["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"M8 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9.172a2 2 0 0 1 1.414.586l2.828 2.828A2 2 0 0 1 22 6.828V16a2 2 0 0 1-2.01 2z",key:"1yve0x"}]],m7=e("SaveAll",LB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uB=[["path",{d:"M13 13H8a1 1 0 0 0-1 1v7",key:"h8g396"}],["path",{d:"M14 8h1",key:"1lfen6"}],["path",{d:"M17 21v-4",key:"1yknxs"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20.41 20.41A2 2 0 0 1 19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 .59-1.41",key:"1t4vdl"}],["path",{d:"M29.5 11.5s5 5 4 5",key:"zzn4i6"}],["path",{d:"M9 3h6.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V15",key:"24cby9"}]],h7=e("SaveOff",uB);/** + */const xB=[["path",{d:"M13 13H8a1 1 0 0 0-1 1v7",key:"h8g396"}],["path",{d:"M14 8h1",key:"1lfen6"}],["path",{d:"M17 21v-4",key:"1yknxs"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M20.41 20.41A2 2 0 0 1 19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 .59-1.41",key:"1t4vdl"}],["path",{d:"M29.5 11.5s5 5 4 5",key:"zzn4i6"}],["path",{d:"M9 3h6.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V15",key:"24cby9"}]],_7=e("SaveOff",xB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MB=[["path",{d:"M5 7v11a1 1 0 0 0 1 1h11",key:"13dt1j"}],["path",{d:"M5.293 18.707 11 13",key:"ezgbsx"}],["circle",{cx:"19",cy:"19",r:"2",key:"17f5cg"}],["circle",{cx:"5",cy:"5",r:"2",key:"1gwv83"}]],Ce=e("Scale3d",MB);/** + */const wB=[["path",{d:"M5 7v11a1 1 0 0 0 1 1h11",key:"13dt1j"}],["path",{d:"M5.293 18.707 11 13",key:"ezgbsx"}],["circle",{cx:"19",cy:"19",r:"2",key:"17f5cg"}],["circle",{cx:"5",cy:"5",r:"2",key:"1gwv83"}]],Ne=e("Scale3d",wB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vB=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M14 15H9v-5",key:"pi4jk9"}],["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M21 3 9 15",key:"15kdhq"}]],y7=e("Scaling",vB);/** + */const fB=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M14 15H9v-5",key:"pi4jk9"}],["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M21 3 9 15",key:"15kdhq"}]],g7=e("Scaling",fB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M8 7v10",key:"23sfjj"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M17 7v10",key:"578dap"}]],r7=e("ScanBarcode",mB);/** + */const CB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M8 7v10",key:"23sfjj"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M17 7v10",key:"578dap"}]],L7=e("ScanBarcode",CB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _B=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]],k7=e("ScanEye",_B);/** + */const IB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]],x7=e("ScanEye",IB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 9h.01",key:"x1ddxp"}]],p7=e("ScanFace",gB);/** + */const NB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 9h.01",key:"x1ddxp"}]],w7=e("ScanFace",NB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LB=[["path",{d:"M11.246 16.657a1 1 0 0 0 1.508 0l3.57-4.101A2.75 2.75 0 1 0 12 9.168a2.75 2.75 0 1 0-4.324 3.388z",key:"1algrk"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]],s7=e("ScanHeart",LB);/** + */const SB=[["path",{d:"M11.246 16.657a1 1 0 0 0 1.508 0l3.57-4.101A2.75 2.75 0 1 0 12 9.168a2.75 2.75 0 1 0-4.324 3.388z",key:"1algrk"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]],f7=e("ScanHeart",SB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]],l7=e("ScanLine",xB);/** + */const bB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]],C7=e("ScanLine",bB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wB=[["path",{d:"M17 12v4a1 1 0 0 1-1 1h-4",key:"uk4fdo"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M17 8V7",key:"q2g9wo"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M7 17h.01",key:"19xn7k"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{x:"7",y:"7",width:"5",height:"5",rx:"1",key:"m9kyts"}]],u7=e("ScanQrCode",wB);/** + */const qB=[["path",{d:"M17 12v4a1 1 0 0 1-1 1h-4",key:"uk4fdo"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M17 8V7",key:"q2g9wo"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M7 17h.01",key:"19xn7k"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{x:"7",y:"7",width:"5",height:"5",rx:"1",key:"m9kyts"}]],I7=e("ScanQrCode",qB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],M7=e("ScanSearch",fB);/** + */const $B=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],N7=e("ScanSearch",$B);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}]],v7=e("ScanText",CB);/** + */const AB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}]],S7=e("ScanText",AB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]],m7=e("Scan",IB);/** + */const HB=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]],b7=e("Scan",HB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NB=[["path",{d:"M14 22v-4a2 2 0 1 0-4 0v4",key:"hhkicm"}],["path",{d:"m18 10 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7.382a1 1 0 0 1 .553-.894L6 10",key:"1xqip1"}],["path",{d:"M18 5v17",key:"1sw6gf"}],["path",{d:"m4 6 7.106-3.553a2 2 0 0 1 1.788 0L20 6",key:"9d2mlk"}],["path",{d:"M6 5v17",key:"1xfsm0"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}]],_7=e("School",NB);/** + */const zB=[["path",{d:"M14 22v-4a2 2 0 1 0-4 0v4",key:"hhkicm"}],["path",{d:"m18 10 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7.382a1 1 0 0 1 .553-.894L6 10",key:"1xqip1"}],["path",{d:"M18 5v17",key:"1sw6gf"}],["path",{d:"m4 6 7.106-3.553a2 2 0 0 1 1.788 0L20 6",key:"9d2mlk"}],["path",{d:"M6 5v17",key:"1xfsm0"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}]],q7=e("School",zB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SB=[["path",{d:"M5.42 9.42 8 12",key:"12pkuq"}],["circle",{cx:"4",cy:"8",r:"2",key:"107mxr"}],["path",{d:"m14 6-8.58 8.58",key:"gvzu5l"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"M10.8 14.8 14 18",key:"ax7m9r"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]],g7=e("ScissorsLineDashed",SB);/** + */const jB=[["path",{d:"M5.42 9.42 8 12",key:"12pkuq"}],["circle",{cx:"4",cy:"8",r:"2",key:"107mxr"}],["path",{d:"m14 6-8.58 8.58",key:"gvzu5l"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"M10.8 14.8 14 18",key:"ax7m9r"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]],$7=e("ScissorsLineDashed",jB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qB=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],L7=e("Scissors",qB);/** + */const PB=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],A7=e("Scissors",PB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bB=[["path",{d:"M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3",key:"i8wdob"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m22 3-5 5",key:"12jva0"}],["path",{d:"m17 3 5 5",key:"k36vhe"}]],x7=e("ScreenShareOff",bB);/** + */const VB=[["path",{d:"M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3",key:"i8wdob"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m22 3-5 5",key:"12jva0"}],["path",{d:"m17 3 5 5",key:"k36vhe"}]],H7=e("ScreenShareOff",VB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $B=[["path",{d:"M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3",key:"i8wdob"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m17 8 5-5",key:"fqif7o"}],["path",{d:"M17 3h5v5",key:"1o3tu8"}]],w7=e("ScreenShare",$B);/** + */const BB=[["path",{d:"M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3",key:"i8wdob"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m17 8 5-5",key:"fqif7o"}],["path",{d:"M17 3h5v5",key:"1o3tu8"}]],z7=e("ScreenShare",BB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AB=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],f7=e("ScrollText",AB);/** + */const FB=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],j7=e("ScrollText",FB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HB=[["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],C7=e("Scroll",HB);/** + */const DB=[["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],P7=e("Scroll",DB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zB=[["path",{d:"m8 11 2 2 4-4",key:"1sed1v"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],I7=e("SearchCheck",zB);/** + */const RB=[["path",{d:"m8 11 2 2 4-4",key:"1sed1v"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],V7=e("SearchCheck",RB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PB=[["path",{d:"m13 13.5 2-2.5-2-2.5",key:"1rvxrh"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}],["path",{d:"M9 8.5 7 11l2 2.5",key:"6ffwbx"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],N7=e("SearchCode",PB);/** + */const TB=[["path",{d:"m13 13.5 2-2.5-2-2.5",key:"1rvxrh"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}],["path",{d:"M9 8.5 7 11l2 2.5",key:"6ffwbx"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],B7=e("SearchCode",TB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jB=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],S7=e("SearchSlash",jB);/** + */const UB=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],F7=e("SearchSlash",UB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VB=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],q7=e("SearchX",VB);/** + */const OB=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],D7=e("SearchX",OB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BB=[["path",{d:"M16 5a4 3 0 0 0-8 0c0 4 8 3 8 7a4 3 0 0 1-8 0",key:"vqan6v"}],["path",{d:"M8 19a4 3 0 0 0 8 0c0-4-8-3-8-7a4 3 0 0 1 8 0",key:"wdjd8o"}]],b7=e("Section",BB);/** + */const ZB=[["path",{d:"M16 5a4 3 0 0 0-8 0c0 4 8 3 8 7a4 3 0 0 1-8 0",key:"vqan6v"}],["path",{d:"M8 19a4 3 0 0 0 8 0c0-4-8-3-8-7a4 3 0 0 1 8 0",key:"wdjd8o"}]],R7=e("Section",ZB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FB=[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]],Ie=e("SendHorizontal",FB);/** + */const GB=[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]],Se=e("SendHorizontal",GB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DB=[["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}],["path",{d:"M7 14v1a2 2 0 0 0 2 2h1",key:"pao6x6"}],["path",{d:"M14 7h1a2 2 0 0 1 2 2v1",key:"19tdru"}]],$7=e("SendToBack",DB);/** + */const WB=[["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}],["path",{d:"M7 14v1a2 2 0 0 0 2 2h1",key:"pao6x6"}],["path",{d:"M14 7h1a2 2 0 0 1 2 2v1",key:"19tdru"}]],T7=e("SendToBack",WB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RB=[["line",{x1:"3",x2:"21",y1:"12",y2:"12",key:"10d38w"}],["polyline",{points:"8 8 12 4 16 8",key:"zo8t4w"}],["polyline",{points:"16 16 12 20 8 16",key:"1oyrid"}]],A7=e("SeparatorHorizontal",RB);/** + */const EB=[["line",{x1:"3",x2:"21",y1:"12",y2:"12",key:"10d38w"}],["polyline",{points:"8 8 12 4 16 8",key:"zo8t4w"}],["polyline",{points:"16 16 12 20 8 16",key:"1oyrid"}]],U7=e("SeparatorHorizontal",EB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TB=[["line",{x1:"12",x2:"12",y1:"3",y2:"21",key:"1efggb"}],["polyline",{points:"8 8 4 12 8 16",key:"bnfmv4"}],["polyline",{points:"16 16 20 12 16 8",key:"u90052"}]],H7=e("SeparatorVertical",TB);/** + */const XB=[["line",{x1:"12",x2:"12",y1:"3",y2:"21",key:"1efggb"}],["polyline",{points:"8 8 4 12 8 16",key:"bnfmv4"}],["polyline",{points:"16 16 20 12 16 8",key:"u90052"}]],O7=e("SeparatorVertical",XB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UB=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5",key:"tn8das"}],["path",{d:"M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5",key:"1g2pve"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m15.7 13.4-.9-.3",key:"1jwmzr"}],["path",{d:"m9.2 10.9-.9-.3",key:"qapnim"}],["path",{d:"m10.6 15.7.3-.9",key:"quwk0k"}],["path",{d:"m13.6 15.7-.4-1",key:"cb9xp7"}],["path",{d:"m10.8 9.3-.4-1",key:"1uaiz5"}],["path",{d:"m8.3 13.6 1-.4",key:"s6srou"}],["path",{d:"m14.7 10.8 1-.4",key:"4d31cq"}],["path",{d:"m13.4 8.3-.3.9",key:"1bm987"}]],z7=e("ServerCog",UB);/** + */const KB=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5",key:"tn8das"}],["path",{d:"M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5",key:"1g2pve"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m15.7 13.4-.9-.3",key:"1jwmzr"}],["path",{d:"m9.2 10.9-.9-.3",key:"qapnim"}],["path",{d:"m10.6 15.7.3-.9",key:"quwk0k"}],["path",{d:"m13.6 15.7-.4-1",key:"cb9xp7"}],["path",{d:"m10.8 9.3-.4-1",key:"1uaiz5"}],["path",{d:"m8.3 13.6 1-.4",key:"s6srou"}],["path",{d:"m14.7 10.8 1-.4",key:"4d31cq"}],["path",{d:"m13.4 8.3-.3.9",key:"1bm987"}]],Z7=e("ServerCog",KB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OB=[["path",{d:"M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2",key:"4b9dqc"}],["path",{d:"M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2",key:"22nnkd"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m13 6-4 6h6l-4 6",key:"14hqih"}]],P7=e("ServerCrash",OB);/** + */const JB=[["path",{d:"M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2",key:"4b9dqc"}],["path",{d:"M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2",key:"22nnkd"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m13 6-4 6h6l-4 6",key:"14hqih"}]],G7=e("ServerCrash",JB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZB=[["path",{d:"M7 2h13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-5",key:"bt2siv"}],["path",{d:"M10 10 2.5 2.5C2 2 2 2.5 2 5v3a2 2 0 0 0 2 2h6z",key:"1hjrv1"}],["path",{d:"M22 17v-1a2 2 0 0 0-2-2h-1",key:"1iynyr"}],["path",{d:"M4 14a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16.5l1-.5.5.5-8-8H4z",key:"161ggg"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],j7=e("ServerOff",ZB);/** + */const QB=[["path",{d:"M7 2h13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-5",key:"bt2siv"}],["path",{d:"M10 10 2.5 2.5C2 2 2 2.5 2 5v3a2 2 0 0 0 2 2h6z",key:"1hjrv1"}],["path",{d:"M22 17v-1a2 2 0 0 0-2-2h-1",key:"1iynyr"}],["path",{d:"M4 14a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16.5l1-.5.5.5-8-8H4z",key:"161ggg"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],W7=e("ServerOff",QB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GB=[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],V7=e("Settings2",GB);/** + */const YB=[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],E7=e("Settings2",YB);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WB=[["path",{d:"M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z",key:"1bo67w"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}],["circle",{cx:"17.5",cy:"17.5",r:"3.5",key:"w3z12y"}]],B7=e("Shapes",WB);/** + */const eF=[["path",{d:"M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z",key:"1bo67w"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}],["circle",{cx:"17.5",cy:"17.5",r:"3.5",key:"w3z12y"}]],X7=e("Shapes",eF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EB=[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]],F7=e("Share",EB);/** + */const aF=[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]],K7=e("Share",aF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XB=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"3",x2:"21",y1:"15",y2:"15",key:"o2sbyz"}],["line",{x1:"9",x2:"9",y1:"9",y2:"21",key:"1ib60c"}],["line",{x1:"15",x2:"15",y1:"9",y2:"21",key:"1n26ft"}]],D7=e("Sheet",XB);/** + */const oF=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"3",x2:"21",y1:"15",y2:"15",key:"o2sbyz"}],["line",{x1:"9",x2:"9",y1:"9",y2:"21",key:"1ib60c"}],["line",{x1:"15",x2:"15",y1:"9",y2:"21",key:"1n26ft"}]],J7=e("Sheet",oF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KB=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],R7=e("Shell",KB);/** + */const tF=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],Q7=e("Shell",tF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],T7=e("ShieldAlert",JB);/** + */const cF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],Y7=e("ShieldAlert",cF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m4.243 5.21 14.39 12.472",key:"1c9a7c"}]],U7=e("ShieldBan",QB);/** + */const nF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m4.243 5.21 14.39 12.472",key:"1c9a7c"}]],eu=e("ShieldBan",nF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]],O7=e("ShieldEllipsis",YB);/** + */const dF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]],au=e("ShieldEllipsis",dF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 22V2",key:"zs6s6o"}]],Z7=e("ShieldHalf",eF);/** + */const iF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 22V2",key:"zs6s6o"}]],ou=e("ShieldHalf",iF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9 12h6",key:"1c52cq"}]],G7=e("ShieldMinus",aF);/** + */const hF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9 12h6",key:"1c52cq"}]],tu=e("ShieldMinus",hF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oF=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71",key:"1jlk70"}],["path",{d:"M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264",key:"18rp1v"}]],W7=e("ShieldOff",oF);/** + */const yF=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71",key:"1jlk70"}],["path",{d:"M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264",key:"18rp1v"}]],cu=e("ShieldOff",yF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]],E7=e("ShieldPlus",cF);/** + */const rF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]],nu=e("ShieldPlus",rF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]],X7=e("ShieldQuestion",tF);/** + */const kF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]],du=e("ShieldQuestion",kF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]],Ne=e("ShieldX",nF);/** + */const pF=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]],be=e("ShieldX",pF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dF=[["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}],["path",{d:"M12 2v7.5",key:"1e5rl5"}],["path",{d:"m19 5-5.23 5.23",key:"1ezxxf"}],["path",{d:"M22 12h-7.5",key:"le1719"}],["path",{d:"m19 19-5.23-5.23",key:"p3fmgn"}],["path",{d:"M12 14.5V22",key:"dgcmos"}],["path",{d:"M10.23 13.77 5 19",key:"qwopd4"}],["path",{d:"M9.5 12H2",key:"r7bup8"}],["path",{d:"M10.23 10.23 5 5",key:"k2y7lj"}],["circle",{cx:"12",cy:"12",r:"2.5",key:"ix0uyj"}]],K7=e("ShipWheel",dF);/** + */const sF=[["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}],["path",{d:"M12 2v7.5",key:"1e5rl5"}],["path",{d:"m19 5-5.23 5.23",key:"1ezxxf"}],["path",{d:"M22 12h-7.5",key:"le1719"}],["path",{d:"m19 19-5.23-5.23",key:"p3fmgn"}],["path",{d:"M12 14.5V22",key:"dgcmos"}],["path",{d:"M10.23 13.77 5 19",key:"qwopd4"}],["path",{d:"M9.5 12H2",key:"r7bup8"}],["path",{d:"M10.23 10.23 5 5",key:"k2y7lj"}],["circle",{cx:"12",cy:"12",r:"2.5",key:"ix0uyj"}]],iu=e("ShipWheel",sF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iF=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],J7=e("Ship",iF);/** + */const lF=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],hu=e("Ship",lF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hF=[["path",{d:"M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z",key:"1wgbhj"}]],Q7=e("Shirt",hF);/** + */const uF=[["path",{d:"M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z",key:"1wgbhj"}]],yu=e("Shirt",uF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yF=[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]],Y7=e("ShoppingBag",yF);/** + */const MF=[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]],ru=e("ShoppingBag",MF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rF=[["path",{d:"m15 11-1 9",key:"5wnq3a"}],["path",{d:"m19 11-4-7",key:"cnml18"}],["path",{d:"M2 11h20",key:"3eubbj"}],["path",{d:"m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4",key:"yiazzp"}],["path",{d:"M4.5 15.5h15",key:"13mye1"}],["path",{d:"m5 11 4-7",key:"116ra9"}],["path",{d:"m9 11 1 9",key:"1ojof7"}]],eu=e("ShoppingBasket",rF);/** + */const vF=[["path",{d:"m15 11-1 9",key:"5wnq3a"}],["path",{d:"m19 11-4-7",key:"cnml18"}],["path",{d:"M2 11h20",key:"3eubbj"}],["path",{d:"m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4",key:"yiazzp"}],["path",{d:"M4.5 15.5h15",key:"13mye1"}],["path",{d:"m5 11 4-7",key:"116ra9"}],["path",{d:"m9 11 1 9",key:"1ojof7"}]],ku=e("ShoppingBasket",vF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kF=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],au=e("ShoppingCart",kF);/** + */const mF=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],pu=e("ShoppingCart",mF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pF=[["path",{d:"M2 22v-5l5-5 5 5-5 5z",key:"1fh25c"}],["path",{d:"M9.5 14.5 16 8",key:"1smz5x"}],["path",{d:"m17 2 5 5-.5.5a3.53 3.53 0 0 1-5 0s0 0 0 0a3.53 3.53 0 0 1 0-5L17 2",key:"1q8uv5"}]],ou=e("Shovel",pF);/** + */const _F=[["path",{d:"M2 22v-5l5-5 5 5-5 5z",key:"1fh25c"}],["path",{d:"M9.5 14.5 16 8",key:"1smz5x"}],["path",{d:"m17 2 5 5-.5.5a3.53 3.53 0 0 1-5 0s0 0 0 0a3.53 3.53 0 0 1 0-5L17 2",key:"1q8uv5"}]],su=e("Shovel",_F);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sF=[["path",{d:"m4 4 2.5 2.5",key:"uv2vmf"}],["path",{d:"M13.5 6.5a4.95 4.95 0 0 0-7 7",key:"frdkwv"}],["path",{d:"M15 5 5 15",key:"1ag8rq"}],["path",{d:"M14 17v.01",key:"eokfpp"}],["path",{d:"M10 16v.01",key:"14uyyl"}],["path",{d:"M13 13v.01",key:"1v1k97"}],["path",{d:"M16 10v.01",key:"5169yg"}],["path",{d:"M11 20v.01",key:"cj92p8"}],["path",{d:"M17 14v.01",key:"11cswd"}],["path",{d:"M20 11v.01",key:"19e0od"}]],cu=e("ShowerHead",sF);/** + */const gF=[["path",{d:"m4 4 2.5 2.5",key:"uv2vmf"}],["path",{d:"M13.5 6.5a4.95 4.95 0 0 0-7 7",key:"frdkwv"}],["path",{d:"M15 5 5 15",key:"1ag8rq"}],["path",{d:"M14 17v.01",key:"eokfpp"}],["path",{d:"M10 16v.01",key:"14uyyl"}],["path",{d:"M13 13v.01",key:"1v1k97"}],["path",{d:"M16 10v.01",key:"5169yg"}],["path",{d:"M11 20v.01",key:"cj92p8"}],["path",{d:"M17 14v.01",key:"11cswd"}],["path",{d:"M20 11v.01",key:"19e0od"}]],lu=e("ShowerHead",gF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lF=[["path",{d:"m15 15 6 6m-6-6v4.8m0-4.8h4.8",key:"17vawe"}],["path",{d:"M9 19.8V15m0 0H4.2M9 15l-6 6",key:"chjx8e"}],["path",{d:"M15 4.2V9m0 0h4.8M15 9l6-6",key:"lav6yq"}],["path",{d:"M9 4.2V9m0 0H4.2M9 9 3 3",key:"1pxi2q"}]],tu=e("Shrink",lF);/** + */const LF=[["path",{d:"m15 15 6 6m-6-6v4.8m0-4.8h4.8",key:"17vawe"}],["path",{d:"M9 19.8V15m0 0H4.2M9 15l-6 6",key:"chjx8e"}],["path",{d:"M15 4.2V9m0 0h4.8M15 9l6-6",key:"lav6yq"}],["path",{d:"M9 4.2V9m0 0H4.2M9 9 3 3",key:"1pxi2q"}]],uu=e("Shrink",LF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uF=[["path",{d:"M12 22v-7l-2-2",key:"eqv9mc"}],["path",{d:"M17 8v.8A6 6 0 0 1 13.8 20H10A6.5 6.5 0 0 1 7 8a5 5 0 0 1 10 0Z",key:"ubcgy"}],["path",{d:"m14 14-2 2",key:"847xa2"}]],nu=e("Shrub",uF);/** + */const xF=[["path",{d:"M12 22v-7l-2-2",key:"eqv9mc"}],["path",{d:"M17 8v.8A6 6 0 0 1 13.8 20H10A6.5 6.5 0 0 1 7 8a5 5 0 0 1 10 0Z",key:"ubcgy"}],["path",{d:"m14 14-2 2",key:"847xa2"}]],Mu=e("Shrub",xF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MF=[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]],du=e("Shuffle",MF);/** + */const wF=[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]],vu=e("Shuffle",wF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vF=[["path",{d:"M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2",key:"wuwx1p"}]],iu=e("Sigma",vF);/** + */const fF=[["path",{d:"M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2",key:"wuwx1p"}]],mu=e("Sigma",fF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mF=[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}]],hu=e("SignalHigh",mF);/** + */const CF=[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}]],_u=e("SignalHigh",CF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _F=[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]],yu=e("SignalLow",_F);/** + */const IF=[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]],gu=e("SignalLow",IF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gF=[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]],ru=e("SignalMedium",gF);/** + */const NF=[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]],Lu=e("SignalMedium",NF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LF=[["path",{d:"M2 20h.01",key:"4haj6o"}]],ku=e("SignalZero",LF);/** + */const SF=[["path",{d:"M2 20h.01",key:"4haj6o"}]],xu=e("SignalZero",SF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xF=[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]],pu=e("Signal",xF);/** + */const bF=[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]],wu=e("Signal",bF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wF=[["path",{d:"m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284",key:"y32ogt"}],["path",{d:"M3 21h18",key:"itz85i"}]],su=e("Signature",wF);/** + */const qF=[["path",{d:"m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284",key:"y32ogt"}],["path",{d:"M3 21h18",key:"itz85i"}]],fu=e("Signature",qF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fF=[["path",{d:"M10 9H4L2 7l2-2h6",key:"1hq7x2"}],["path",{d:"M14 5h6l2 2-2 2h-6",key:"bv62ej"}],["path",{d:"M10 22V4a2 2 0 1 1 4 0v18",key:"eqpcf2"}],["path",{d:"M8 22h8",key:"rmew8v"}]],lu=e("SignpostBig",fF);/** + */const $F=[["path",{d:"M10 9H4L2 7l2-2h6",key:"1hq7x2"}],["path",{d:"M14 5h6l2 2-2 2h-6",key:"bv62ej"}],["path",{d:"M10 22V4a2 2 0 1 1 4 0v18",key:"eqpcf2"}],["path",{d:"M8 22h8",key:"rmew8v"}]],Cu=e("SignpostBig",$F);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CF=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M12 3v3",key:"1n5kay"}],["path",{d:"M18 6a2 2 0 0 1 1.387.56l2.307 2.22a1 1 0 0 1 0 1.44l-2.307 2.22A2 2 0 0 1 18 13H6a2 2 0 0 1-1.387-.56l-2.306-2.22a1 1 0 0 1 0-1.44l2.306-2.22A2 2 0 0 1 6 6z",key:"gqqp9m"}]],uu=e("Signpost",CF);/** + */const AF=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M12 3v3",key:"1n5kay"}],["path",{d:"M18 6a2 2 0 0 1 1.387.56l2.307 2.22a1 1 0 0 1 0 1.44l-2.307 2.22A2 2 0 0 1 18 13H6a2 2 0 0 1-1.387-.56l-2.306-2.22a1 1 0 0 1 0-1.44l2.306-2.22A2 2 0 0 1 6 6z",key:"gqqp9m"}]],Iu=e("Signpost",AF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IF=[["path",{d:"M7 18v-6a5 5 0 1 1 10 0v6",key:"pcx96s"}],["path",{d:"M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z",key:"1b4s83"}],["path",{d:"M21 12h1",key:"jtio3y"}],["path",{d:"M18.5 4.5 18 5",key:"g5sp9y"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"m4.929 4.929.707.707",key:"1i51kw"}],["path",{d:"M12 12v6",key:"3ahymv"}]],Mu=e("Siren",IF);/** + */const HF=[["path",{d:"M7 18v-6a5 5 0 1 1 10 0v6",key:"pcx96s"}],["path",{d:"M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z",key:"1b4s83"}],["path",{d:"M21 12h1",key:"jtio3y"}],["path",{d:"M18.5 4.5 18 5",key:"g5sp9y"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"m4.929 4.929.707.707",key:"1i51kw"}],["path",{d:"M12 12v6",key:"3ahymv"}]],Nu=e("Siren",HF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NF=[["polygon",{points:"19 20 9 12 19 4 19 20",key:"o2sva"}],["line",{x1:"5",x2:"5",y1:"19",y2:"5",key:"1ocqjk"}]],vu=e("SkipBack",NF);/** + */const zF=[["polygon",{points:"19 20 9 12 19 4 19 20",key:"o2sva"}],["line",{x1:"5",x2:"5",y1:"19",y2:"5",key:"1ocqjk"}]],Su=e("SkipBack",zF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SF=[["polygon",{points:"5 4 15 12 5 20 5 4",key:"16p6eg"}],["line",{x1:"19",x2:"19",y1:"5",y2:"19",key:"futhcm"}]],mu=e("SkipForward",SF);/** + */const jF=[["polygon",{points:"5 4 15 12 5 20 5 4",key:"16p6eg"}],["line",{x1:"19",x2:"19",y1:"5",y2:"19",key:"futhcm"}]],bu=e("SkipForward",jF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qF=[["path",{d:"m12.5 17-.5-1-.5 1h1z",key:"3me087"}],["path",{d:"M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z",key:"1o5pge"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]],_u=e("Skull",qF);/** + */const PF=[["path",{d:"m12.5 17-.5-1-.5 1h1z",key:"3me087"}],["path",{d:"M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z",key:"1o5pge"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]],qu=e("Skull",PF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bF=[["rect",{width:"3",height:"8",x:"13",y:"2",rx:"1.5",key:"diqz80"}],["path",{d:"M19 8.5V10h1.5A1.5 1.5 0 1 0 19 8.5",key:"183iwg"}],["rect",{width:"3",height:"8",x:"8",y:"14",rx:"1.5",key:"hqg7r1"}],["path",{d:"M5 15.5V14H3.5A1.5 1.5 0 1 0 5 15.5",key:"76g71w"}],["rect",{width:"8",height:"3",x:"14",y:"13",rx:"1.5",key:"1kmz0a"}],["path",{d:"M15.5 19H14v1.5a1.5 1.5 0 1 0 1.5-1.5",key:"jc4sz0"}],["rect",{width:"8",height:"3",x:"2",y:"8",rx:"1.5",key:"1omvl4"}],["path",{d:"M8.5 5H10V3.5A1.5 1.5 0 1 0 8.5 5",key:"16f3cl"}]],gu=e("Slack",bF);/** + */const VF=[["rect",{width:"3",height:"8",x:"13",y:"2",rx:"1.5",key:"diqz80"}],["path",{d:"M19 8.5V10h1.5A1.5 1.5 0 1 0 19 8.5",key:"183iwg"}],["rect",{width:"3",height:"8",x:"8",y:"14",rx:"1.5",key:"hqg7r1"}],["path",{d:"M5 15.5V14H3.5A1.5 1.5 0 1 0 5 15.5",key:"76g71w"}],["rect",{width:"8",height:"3",x:"14",y:"13",rx:"1.5",key:"1kmz0a"}],["path",{d:"M15.5 19H14v1.5a1.5 1.5 0 1 0 1.5-1.5",key:"jc4sz0"}],["rect",{width:"8",height:"3",x:"2",y:"8",rx:"1.5",key:"1omvl4"}],["path",{d:"M8.5 5H10V3.5A1.5 1.5 0 1 0 8.5 5",key:"16f3cl"}]],$u=e("Slack",VF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $F=[["path",{d:"M22 2 2 22",key:"y4kqgn"}]],Lu=e("Slash",$F);/** + */const BF=[["path",{d:"M22 2 2 22",key:"y4kqgn"}]],Au=e("Slash",BF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AF=[["path",{d:"M11 16.586V19a1 1 0 0 1-1 1H2L18.37 3.63a1 1 0 1 1 3 3l-9.663 9.663a1 1 0 0 1-1.414 0L8 14",key:"1sllp5"}]],xu=e("Slice",AF);/** + */const FF=[["path",{d:"M11 16.586V19a1 1 0 0 1-1 1H2L18.37 3.63a1 1 0 1 1 3 3l-9.663 9.663a1 1 0 0 1-1.414 0L8 14",key:"1sllp5"}]],Hu=e("Slice",FF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HF=[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]],wu=e("SlidersHorizontal",HF);/** + */const DF=[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]],zu=e("SlidersHorizontal",DF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zF=[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]],Se=e("SlidersVertical",zF);/** + */const RF=[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]],qe=e("SlidersVertical",RF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PF=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12.667 8 10 12h4l-2.667 4",key:"h9lk2d"}]],fu=e("SmartphoneCharging",PF);/** + */const TF=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12.667 8 10 12h4l-2.667 4",key:"h9lk2d"}]],ju=e("SmartphoneCharging",TF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jF=[["rect",{width:"7",height:"12",x:"2",y:"6",rx:"1",key:"5nje8w"}],["path",{d:"M13 8.32a7.43 7.43 0 0 1 0 7.36",key:"1g306n"}],["path",{d:"M16.46 6.21a11.76 11.76 0 0 1 0 11.58",key:"uqvjvo"}],["path",{d:"M19.91 4.1a15.91 15.91 0 0 1 .01 15.8",key:"ujntz3"}]],Cu=e("SmartphoneNfc",jF);/** + */const UF=[["rect",{width:"7",height:"12",x:"2",y:"6",rx:"1",key:"5nje8w"}],["path",{d:"M13 8.32a7.43 7.43 0 0 1 0 7.36",key:"1g306n"}],["path",{d:"M16.46 6.21a11.76 11.76 0 0 1 0 11.58",key:"uqvjvo"}],["path",{d:"M19.91 4.1a15.91 15.91 0 0 1 .01 15.8",key:"ujntz3"}]],Pu=e("SmartphoneNfc",UF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VF=[["path",{d:"M22 11v1a10 10 0 1 1-9-10",key:"ew0xw9"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}],["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}]],Iu=e("SmilePlus",VF);/** + */const OF=[["path",{d:"M22 11v1a10 10 0 1 1-9-10",key:"ew0xw9"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}],["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}]],Vu=e("SmilePlus",OF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BF=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],Nu=e("Smile",BF);/** + */const ZF=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],Bu=e("Smile",ZF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FF=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],Su=e("Snail",FF);/** + */const GF=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],Fu=e("Snail",GF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DF=[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6h-4",key:"15hhxa"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"M22 12h-6.5L14 15",key:"1mxi28"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h4",key:"1otusx"}]],qu=e("Snowflake",DF);/** + */const WF=[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6h-4",key:"15hhxa"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"M22 12h-6.5L14 15",key:"1mxi28"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h4",key:"1otusx"}]],Du=e("Snowflake",WF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RF=[["path",{d:"M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3",key:"1dgpiv"}],["path",{d:"M2 16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"xacw8m"}],["path",{d:"M4 18v2",key:"jwo5n2"}],["path",{d:"M20 18v2",key:"1ar1qi"}],["path",{d:"M12 4v9",key:"oqhhn3"}]],bu=e("Sofa",RF);/** + */const EF=[["path",{d:"M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3",key:"1dgpiv"}],["path",{d:"M2 16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"xacw8m"}],["path",{d:"M4 18v2",key:"jwo5n2"}],["path",{d:"M20 18v2",key:"1ar1qi"}],["path",{d:"M12 4v9",key:"oqhhn3"}]],Ru=e("Sofa",EF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TF=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],$u=e("Soup",TF);/** + */const XF=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],Tu=e("Soup",XF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UF=[["path",{d:"M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1",key:"lt2kga"}]],Au=e("Space",UF);/** + */const KF=[["path",{d:"M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1",key:"lt2kga"}]],Uu=e("Space",KF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OF=[["path",{d:"M5 9c-1.5 1.5-3 3.2-3 5.5A5.5 5.5 0 0 0 7.5 20c1.8 0 3-.5 4.5-2 1.5 1.5 2.7 2 4.5 2a5.5 5.5 0 0 0 5.5-5.5c0-2.3-1.5-4-3-5.5l-7-7-7 7Z",key:"40bo9n"}],["path",{d:"M12 18v4",key:"jadmvz"}]],Hu=e("Spade",OF);/** + */const JF=[["path",{d:"M5 9c-1.5 1.5-3 3.2-3 5.5A5.5 5.5 0 0 0 7.5 20c1.8 0 3-.5 4.5-2 1.5 1.5 2.7 2 4.5 2a5.5 5.5 0 0 0 5.5-5.5c0-2.3-1.5-4-3-5.5l-7-7-7 7Z",key:"40bo9n"}],["path",{d:"M12 18v4",key:"jadmvz"}]],Ou=e("Spade",JF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZF=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}]],zu=e("Sparkle",ZF);/** + */const QF=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}]],Zu=e("Sparkle",QF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GF=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["circle",{cx:"12",cy:"14",r:"4",key:"1jruaj"}],["path",{d:"M12 14h.01",key:"1etili"}]],Pu=e("Speaker",GF);/** + */const YF=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["circle",{cx:"12",cy:"14",r:"4",key:"1jruaj"}],["path",{d:"M12 14h.01",key:"1etili"}]],Gu=e("Speaker",YF);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WF=[["path",{d:"M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20",key:"11atix"}],["path",{d:"M19.8 17.8a7.5 7.5 0 0 0 .003-10.603",key:"yol142"}],["path",{d:"M17 15a3.5 3.5 0 0 0-.025-4.975",key:"ssbmkc"}]],ju=e("Speech",WF);/** + */const eD=[["path",{d:"M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20",key:"11atix"}],["path",{d:"M19.8 17.8a7.5 7.5 0 0 0 .003-10.603",key:"yol142"}],["path",{d:"M17 15a3.5 3.5 0 0 0-.025-4.975",key:"ssbmkc"}]],Wu=e("Speech",eD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EF=[["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M4 21c1.1 0 1.1-1 2.3-1s1.1 1 2.3 1c1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1",key:"8mdmtu"}]],Vu=e("SpellCheck2",EF);/** + */const aD=[["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M4 21c1.1 0 1.1-1 2.3-1s1.1 1 2.3 1c1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1",key:"8mdmtu"}]],Eu=e("SpellCheck2",aD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XF=[["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m16 20 2 2 4-4",key:"13tcca"}]],Bu=e("SpellCheck",XF);/** + */const oD=[["path",{d:"m6 16 6-12 6 12",key:"1b4byz"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m16 20 2 2 4-4",key:"13tcca"}]],Xu=e("SpellCheck",oD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KF=[["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M5 17A12 12 0 0 1 17 5",key:"1okkup"}]],Fu=e("Spline",KF);/** + */const tD=[["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M5 17A12 12 0 0 1 17 5",key:"1okkup"}]],Ku=e("Spline",tD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JF=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]],Du=e("Split",JF);/** + */const cD=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]],Ju=e("Split",cD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QF=[["path",{d:"M3 3h.01",key:"159qn6"}],["path",{d:"M7 5h.01",key:"1hq22a"}],["path",{d:"M11 7h.01",key:"1osv80"}],["path",{d:"M3 7h.01",key:"1xzrh3"}],["path",{d:"M7 9h.01",key:"19b3jx"}],["path",{d:"M3 11h.01",key:"1eifu7"}],["rect",{width:"4",height:"4",x:"15",y:"5",key:"mri9e4"}],["path",{d:"m19 9 2 2v10c0 .6-.4 1-1 1h-6c-.6 0-1-.4-1-1V11l2-2",key:"aib6hk"}],["path",{d:"m13 14 8-2",key:"1d7bmk"}],["path",{d:"m13 19 8-2",key:"1y2vml"}]],Ru=e("SprayCan",QF);/** + */const nD=[["path",{d:"M3 3h.01",key:"159qn6"}],["path",{d:"M7 5h.01",key:"1hq22a"}],["path",{d:"M11 7h.01",key:"1osv80"}],["path",{d:"M3 7h.01",key:"1xzrh3"}],["path",{d:"M7 9h.01",key:"19b3jx"}],["path",{d:"M3 11h.01",key:"1eifu7"}],["rect",{width:"4",height:"4",x:"15",y:"5",key:"mri9e4"}],["path",{d:"m19 9 2 2v10c0 .6-.4 1-1 1h-6c-.6 0-1-.4-1-1V11l2-2",key:"aib6hk"}],["path",{d:"m13 14 8-2",key:"1d7bmk"}],["path",{d:"m13 19 8-2",key:"1y2vml"}]],Qu=e("SprayCan",nD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YF=[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]],Tu=e("Sprout",YF);/** + */const dD=[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]],Yu=e("Sprout",dD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M17 12h-2l-2 5-2-10-2 5H7",key:"15hlnc"}]],qe=e("SquareActivity",eD);/** + */const iD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M17 12h-2l-2 5-2-10-2 5H7",key:"15hlnc"}]],$e=e("SquareActivity",iD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 8-8 8",key:"166keh"}],["path",{d:"M16 16H8V8",key:"1w2ppm"}]],be=e("SquareArrowDownLeft",aD);/** + */const hD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 8-8 8",key:"166keh"}],["path",{d:"M16 16H8V8",key:"1w2ppm"}]],Ae=e("SquareArrowDownLeft",hD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m8 8 8 8",key:"1imecy"}],["path",{d:"M16 8v8H8",key:"1lbpgo"}]],$e=e("SquareArrowDownRight",oD);/** + */const yD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m8 8 8 8",key:"1imecy"}],["path",{d:"M16 8v8H8",key:"1lbpgo"}]],He=e("SquareArrowDownRight",yD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]],Ae=e("SquareArrowDown",cD);/** + */const rD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]],ze=e("SquareArrowDown",rD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m12 8-4 4 4 4",key:"15vm53"}],["path",{d:"M16 12H8",key:"1fr5h0"}]],He=e("SquareArrowLeft",tD);/** + */const kD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m12 8-4 4 4 4",key:"15vm53"}],["path",{d:"M16 12H8",key:"1fr5h0"}]],je=e("SquareArrowLeft",kD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nD=[["path",{d:"M13 21h6a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6",key:"14qz4y"}],["path",{d:"m3 21 9-9",key:"1jfql5"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],ze=e("SquareArrowOutDownLeft",nD);/** + */const pD=[["path",{d:"M13 21h6a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6",key:"14qz4y"}],["path",{d:"m3 21 9-9",key:"1jfql5"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],Pe=e("SquareArrowOutDownLeft",pD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dD=[["path",{d:"M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"14rsvq"}],["path",{d:"m21 21-9-9",key:"1et2py"}],["path",{d:"M21 15v6h-6",key:"1jko0i"}]],Pe=e("SquareArrowOutDownRight",dD);/** + */const sD=[["path",{d:"M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"14rsvq"}],["path",{d:"m21 21-9-9",key:"1et2py"}],["path",{d:"M21 15v6h-6",key:"1jko0i"}]],Ve=e("SquareArrowOutDownRight",sD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iD=[["path",{d:"M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-6",key:"14mv1t"}],["path",{d:"m3 3 9 9",key:"rks13r"}],["path",{d:"M3 9V3h6",key:"ira0h2"}]],je=e("SquareArrowOutUpLeft",iD);/** + */const lD=[["path",{d:"M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-6",key:"14mv1t"}],["path",{d:"m3 3 9 9",key:"rks13r"}],["path",{d:"M3 9V3h6",key:"ira0h2"}]],Be=e("SquareArrowOutUpLeft",lD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hD=[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]],Ve=e("SquareArrowOutUpRight",hD);/** + */const uD=[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]],Fe=e("SquareArrowOutUpRight",uD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}]],Be=e("SquareArrowRight",yD);/** + */const MD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}]],De=e("SquareArrowRight",MD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 16V8h8",key:"19xb1h"}],["path",{d:"M16 16 8 8",key:"1qdy8n"}]],Fe=e("SquareArrowUpLeft",rD);/** + */const vD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 16V8h8",key:"19xb1h"}],["path",{d:"M16 16 8 8",key:"1qdy8n"}]],Re=e("SquareArrowUpLeft",vD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 8h8v8",key:"b65dnt"}],["path",{d:"m8 16 8-8",key:"13b9ih"}]],De=e("SquareArrowUpRight",kD);/** + */const mD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 8h8v8",key:"b65dnt"}],["path",{d:"m8 16 8-8",key:"13b9ih"}]],Te=e("SquareArrowUpRight",mD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]],Re=e("SquareArrowUp",pD);/** + */const _D=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]],Ue=e("SquareArrowUp",_D);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8.5 14 7-4",key:"12hpby"}],["path",{d:"m8.5 10 7 4",key:"wwy2dy"}]],Te=e("SquareAsterisk",sD);/** + */const gD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8.5 14 7-4",key:"12hpby"}],["path",{d:"m8.5 10 7 4",key:"wwy2dy"}]],Oe=e("SquareAsterisk",gD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lD=[["path",{d:"M4 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2",key:"1vzg26"}],["path",{d:"M10 22H8",key:"euku7a"}],["path",{d:"M16 22h-2",key:"18d249"}],["circle",{cx:"8",cy:"8",r:"2",key:"14cg06"}],["path",{d:"M9.414 9.414 12 12",key:"qz4lzr"}],["path",{d:"M14.8 14.8 18 18",key:"11flf1"}],["circle",{cx:"8",cy:"16",r:"2",key:"1acxsx"}],["path",{d:"m18 6-8.586 8.586",key:"11kzk1"}]],Ue=e("SquareBottomDashedScissors",lD);/** + */const LD=[["path",{d:"M4 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2",key:"1vzg26"}],["path",{d:"M10 22H8",key:"euku7a"}],["path",{d:"M16 22h-2",key:"18d249"}],["circle",{cx:"8",cy:"8",r:"2",key:"14cg06"}],["path",{d:"M9.414 9.414 12 12",key:"qz4lzr"}],["path",{d:"M14.8 14.8 18 18",key:"11flf1"}],["circle",{cx:"8",cy:"16",r:"2",key:"1acxsx"}],["path",{d:"m18 6-8.586 8.586",key:"11kzk1"}]],Ze=e("SquareBottomDashedScissors",LD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 8h7",key:"kbo1nt"}],["path",{d:"M8 12h6",key:"ikassy"}],["path",{d:"M11 16h5",key:"oq65wt"}]],i=e("SquareChartGantt",uD);/** + */const xD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 8h7",key:"kbo1nt"}],["path",{d:"M8 12h6",key:"ikassy"}],["path",{d:"M11 16h5",key:"oq65wt"}]],h=e("SquareChartGantt",xD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Oe=e("SquareCheck",MD);/** + */const wD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Ge=e("SquareCheck",wD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 10-4 4-4-4",key:"894hmk"}]],Ze=e("SquareChevronDown",vD);/** + */const fD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m16 10-4 4-4-4",key:"894hmk"}]],We=e("SquareChevronDown",fD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m14 16-4-4 4-4",key:"ojs7w8"}]],Ge=e("SquareChevronLeft",mD);/** + */const CD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m14 16-4-4 4-4",key:"ojs7w8"}]],Ee=e("SquareChevronLeft",CD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _D=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]],We=e("SquareChevronRight",_D);/** + */const ID=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]],Xe=e("SquareChevronRight",ID);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m8 14 4-4 4 4",key:"fy2ptz"}]],Ee=e("SquareChevronUp",gD);/** + */const ND=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m8 14 4-4 4 4",key:"fy2ptz"}]],Ke=e("SquareChevronUp",ND);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LD=[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Xe=e("SquareCode",LD);/** + */const SD=[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Je=e("SquareCode",SD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xD=[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["path",{d:"M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2",key:"as5y1o"}],["path",{d:"M9 21h1",key:"15o7lz"}]],Uu=e("SquareDashedBottomCode",xD);/** + */const bD=[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["path",{d:"M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2",key:"as5y1o"}],["path",{d:"M9 21h1",key:"15o7lz"}]],e9=e("SquareDashedBottomCode",bD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wD=[["path",{d:"M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2",key:"as5y1o"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 21h1",key:"v9vybs"}]],Ou=e("SquareDashedBottom",wD);/** + */const qD=[["path",{d:"M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2",key:"as5y1o"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 21h1",key:"v9vybs"}]],a9=e("SquareDashedBottom",qD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fD=[["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}],["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M21 14v1",key:"169vum"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M3 9v1",key:"1r0deq"}]],Ke=e("SquareDashedKanban",fD);/** + */const $D=[["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}],["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M21 14v1",key:"169vum"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M3 9v1",key:"1r0deq"}]],Qe=e("SquareDashedKanban",$D);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CD=[["path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z",key:"xwnzip"}],["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h2",key:"1qve2z"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v2",key:"p14lih"}],["path",{d:"M3 14v1",key:"vnatye"}]],Je=e("SquareDashedMousePointer",CD);/** + */const AD=[["path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z",key:"xwnzip"}],["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h2",key:"1qve2z"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v2",key:"p14lih"}],["path",{d:"M3 14v1",key:"vnatye"}]],Ye=e("SquareDashedMousePointer",AD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ID=[["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M21 14v1",key:"169vum"}]],Qe=e("SquareDashed",ID);/** + */const HD=[["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M21 14v1",key:"169vum"}]],e2=e("SquareDashed",HD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ND=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}],["line",{x1:"12",x2:"12",y1:"16",y2:"16",key:"aqc6ln"}],["line",{x1:"12",x2:"12",y1:"8",y2:"8",key:"1mkcni"}]],Ye=e("SquareDivide",ND);/** + */const zD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}],["line",{x1:"12",x2:"12",y1:"16",y2:"16",key:"aqc6ln"}],["line",{x1:"12",x2:"12",y1:"8",y2:"8",key:"1mkcni"}]],a2=e("SquareDivide",zD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],e2=e("SquareDot",SD);/** + */const jD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],o2=e("SquareDot",jD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M7 14h10",key:"1mhdw3"}]],a2=e("SquareEqual",qD);/** + */const PD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M7 14h10",key:"1mhdw3"}]],t2=e("SquareEqual",PD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3",key:"m1af9g"}],["path",{d:"M9 11.2h5.7",key:"3zgcl2"}]],o2=e("SquareFunction",bD);/** + */const VD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3",key:"m1af9g"}],["path",{d:"M9 11.2h5.7",key:"3zgcl2"}]],c2=e("SquareFunction",VD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $D=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}]],c2=e("SquareKanban",$D);/** + */const BD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}]],n2=e("SquareKanban",BD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7v10",key:"d5nglc"}],["path",{d:"M11 7v10",key:"pptsnr"}],["path",{d:"m15 7 2 10",key:"1m7qm5"}]],t2=e("SquareLibrary",AD);/** + */const FD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7v10",key:"d5nglc"}],["path",{d:"M11 7v10",key:"pptsnr"}],["path",{d:"m15 7 2 10",key:"1m7qm5"}]],d2=e("SquareLibrary",FD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 16V8l4 4 4-4v8",key:"141u4e"}]],n2=e("SquareM",HD);/** + */const DD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 16V8l4 4 4-4v8",key:"141u4e"}]],i2=e("SquareM",DD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 8h10",key:"1jw688"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h10",key:"wp8him"}]],d2=e("SquareMenu",zD);/** + */const RD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 8h10",key:"1jw688"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h10",key:"wp8him"}]],h2=e("SquareMenu",RD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}]],i2=e("SquareMinus",PD);/** + */const TD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}]],y2=e("SquareMinus",TD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jD=[["path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z",key:"xwnzip"}],["path",{d:"M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"14rsvq"}]],h2=e("SquareMousePointer",jD);/** + */const UD=[["path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z",key:"xwnzip"}],["path",{d:"M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"14rsvq"}]],r2=e("SquareMousePointer",UD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VD=[["path",{d:"M3.6 3.6A2 2 0 0 1 5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-.59 1.41",key:"9l1ft6"}],["path",{d:"M3 8.7V19a2 2 0 0 0 2 2h10.3",key:"17knke"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M13 13a3 3 0 1 0 0-6H9v2",key:"uoagbd"}],["path",{d:"M9 17v-2.3",key:"1jxgo2"}]],y2=e("SquareParkingOff",VD);/** + */const OD=[["path",{d:"M3.6 3.6A2 2 0 0 1 5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-.59 1.41",key:"9l1ft6"}],["path",{d:"M3 8.7V19a2 2 0 0 0 2 2h10.3",key:"17knke"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M13 13a3 3 0 1 0 0-6H9v2",key:"uoagbd"}],["path",{d:"M9 17v-2.3",key:"1jxgo2"}]],k2=e("SquareParkingOff",OD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 17V7h4a3 3 0 0 1 0 6H9",key:"1dfk2c"}]],r2=e("SquareParking",BD);/** + */const ZD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 17V7h4a3 3 0 0 1 0 6H9",key:"1dfk2c"}]],p2=e("SquareParking",ZD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]],k2=e("SquarePercent",FD);/** + */const GD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]],s2=e("SquarePercent",GD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7h10",key:"udp07y"}],["path",{d:"M10 7v10",key:"i1d9ee"}],["path",{d:"M16 17a2 2 0 0 1-2-2V7",key:"ftwdc7"}]],p2=e("SquarePi",DD);/** + */const WD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7h10",key:"udp07y"}],["path",{d:"M10 7v10",key:"i1d9ee"}],["path",{d:"M16 17a2 2 0 0 1-2-2V7",key:"ftwdc7"}]],l2=e("SquarePi",WD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 12H9.5a2.5 2.5 0 0 1 0-5H17",key:"1l9586"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M16 7v10",key:"lavkr4"}]],s2=e("SquarePilcrow",RD);/** + */const ED=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 12H9.5a2.5 2.5 0 0 1 0-5H17",key:"1l9586"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M16 7v10",key:"lavkr4"}]],u2=e("SquarePilcrow",ED);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m9 8 6 4-6 4Z",key:"f1r3lt"}]],l2=e("SquarePlay",TD);/** + */const XD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m9 8 6 4-6 4Z",key:"f1r3lt"}]],M2=e("SquarePlay",XD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],u2=e("SquarePlus",UD);/** + */const KD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],v2=e("SquarePlus",KD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OD=[["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M7.998 9.003a5 5 0 1 0 8-.005",key:"1pek45"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]],M2=e("SquarePower",OD);/** + */const JD=[["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M7.998 9.003a5 5 0 1 0 8-.005",key:"1pek45"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]],m2=e("SquarePower",JD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZD=[["path",{d:"M7 12h2l2 5 2-10h4",key:"1fxv6h"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]],Zu=e("SquareRadical",ZD);/** + */const QD=[["path",{d:"M7 12h2l2 5 2-10h4",key:"1fxv6h"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]],o9=e("SquareRadical",QD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GD=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"2",key:"1btzen"}],["circle",{cx:"8",cy:"8",r:"2",key:"14cg06"}],["path",{d:"M9.414 9.414 12 12",key:"qz4lzr"}],["path",{d:"M14.8 14.8 18 18",key:"11flf1"}],["circle",{cx:"8",cy:"16",r:"2",key:"1acxsx"}],["path",{d:"m18 6-8.586 8.586",key:"11kzk1"}]],v2=e("SquareScissors",GD);/** + */const YD=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"2",key:"1btzen"}],["circle",{cx:"8",cy:"8",r:"2",key:"14cg06"}],["path",{d:"M9.414 9.414 12 12",key:"qz4lzr"}],["path",{d:"M14.8 14.8 18 18",key:"11flf1"}],["circle",{cx:"8",cy:"16",r:"2",key:"1acxsx"}],["path",{d:"m18 6-8.586 8.586",key:"11kzk1"}]],_2=e("SquareScissors",YD);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M16 8.9V7H8l4 5-4 5h8v-1.9",key:"9nih0i"}]],m2=e("SquareSigma",WD);/** + */const eR=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M16 8.9V7H8l4 5-4 5h8v-1.9",key:"9nih0i"}]],g2=e("SquareSigma",eR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ED=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],_2=e("SquareSlash",ED);/** + */const aR=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],L2=e("SquareSlash",aR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XD=[["path",{d:"M8 19H5c-1 0-2-1-2-2V7c0-1 1-2 2-2h3",key:"lubmu8"}],["path",{d:"M16 5h3c1 0 2 1 2 2v10c0 1-1 2-2 2h-3",key:"1ag34g"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]],g2=e("SquareSplitHorizontal",XD);/** + */const oR=[["path",{d:"M8 19H5c-1 0-2-1-2-2V7c0-1 1-2 2-2h3",key:"lubmu8"}],["path",{d:"M16 5h3c1 0 2 1 2 2v10c0 1-1 2-2 2h-3",key:"1ag34g"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]],x2=e("SquareSplitHorizontal",oR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KD=[["path",{d:"M5 8V5c0-1 1-2 2-2h10c1 0 2 1 2 2v3",key:"1pi83i"}],["path",{d:"M19 16v3c0 1-1 2-2 2H7c-1 0-2-1-2-2v-3",key:"ido5k7"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]],L2=e("SquareSplitVertical",KD);/** + */const tR=[["path",{d:"M5 8V5c0-1 1-2 2-2h10c1 0 2 1 2 2v3",key:"1pi83i"}],["path",{d:"M19 16v3c0 1-1 2-2 2H7c-1 0-2-1-2-2v-3",key:"ido5k7"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]],w2=e("SquareSplitVertical",tR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JD=[["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],Gu=e("SquareSquare",JD);/** + */const cR=[["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],t9=e("SquareSquare",cR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QD=[["path",{d:"M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"4i38lg"}],["path",{d:"M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"mlte4a"}],["rect",{width:"8",height:"8",x:"14",y:"14",rx:"2",key:"1fa9i4"}]],Wu=e("SquareStack",QD);/** + */const nR=[["path",{d:"M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"4i38lg"}],["path",{d:"M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"mlte4a"}],["rect",{width:"8",height:"8",x:"14",y:"14",rx:"2",key:"1fa9i4"}]],c9=e("SquareStack",nR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YD=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],x2=e("SquareTerminal",YD);/** + */const dR=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],f2=e("SquareTerminal",dR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eR=[["path",{d:"M18 21a6 6 0 0 0-12 0",key:"kaz2du"}],["circle",{cx:"12",cy:"11",r:"4",key:"1gt34v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],w2=e("SquareUserRound",eR);/** + */const iR=[["path",{d:"M18 21a6 6 0 0 0-12 0",key:"kaz2du"}],["circle",{cx:"12",cy:"11",r:"4",key:"1gt34v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],C2=e("SquareUserRound",iR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aR=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 21v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2",key:"1m6ac2"}]],f2=e("SquareUser",aR);/** + */const hR=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 21v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2",key:"1m6ac2"}]],I2=e("SquareUser",hR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oR=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],C2=e("SquareX",oR);/** + */const yR=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],N2=e("SquareX",yR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cR=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Eu=e("Square",cR);/** + */const rR=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],n9=e("Square",rR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tR=[["path",{d:"M12 3c7.2 0 9 1.8 9 9s-1.8 9-9 9-9-1.8-9-9 1.8-9 9-9",key:"garfkc"}]],Xu=e("Squircle",tR);/** + */const kR=[["path",{d:"M12 3c7.2 0 9 1.8 9 9s-1.8 9-9 9-9-1.8-9-9 1.8-9 9-9",key:"garfkc"}]],d9=e("Squircle",kR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nR=[["path",{d:"M15.236 22a3 3 0 0 0-2.2-5",key:"21bitc"}],["path",{d:"M16 20a3 3 0 0 1 3-3h1a2 2 0 0 0 2-2v-2a4 4 0 0 0-4-4V4",key:"oh0fg0"}],["path",{d:"M18 13h.01",key:"9veqaj"}],["path",{d:"M18 6a4 4 0 0 0-4 4 7 7 0 0 0-7 7c0-5 4-5 4-10.5a4.5 4.5 0 1 0-9 0 2.5 2.5 0 0 0 5 0C7 10 3 11 3 17c0 2.8 2.2 5 5 5h10",key:"980v8a"}]],Ku=e("Squirrel",nR);/** + */const pR=[["path",{d:"M15.236 22a3 3 0 0 0-2.2-5",key:"21bitc"}],["path",{d:"M16 20a3 3 0 0 1 3-3h1a2 2 0 0 0 2-2v-2a4 4 0 0 0-4-4V4",key:"oh0fg0"}],["path",{d:"M18 13h.01",key:"9veqaj"}],["path",{d:"M18 6a4 4 0 0 0-4 4 7 7 0 0 0-7 7c0-5 4-5 4-10.5a4.5 4.5 0 1 0-9 0 2.5 2.5 0 0 0 5 0C7 10 3 11 3 17c0 2.8 2.2 5 5 5h10",key:"980v8a"}]],i9=e("Squirrel",pR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dR=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M19.27 13.73A2.5 2.5 0 0 0 17.5 13h-11A2.5 2.5 0 0 0 4 15.5V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-1.5c0-.66-.26-1.3-.73-1.77Z",key:"1sy9ra"}],["path",{d:"M14 13V8.5C14 7 15 7 15 5a3 3 0 0 0-3-3c-1.66 0-3 1-3 3s1 2 1 3.5V13",key:"cnxgux"}]],Ju=e("Stamp",dR);/** + */const sR=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M19.27 13.73A2.5 2.5 0 0 0 17.5 13h-11A2.5 2.5 0 0 0 4 15.5V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-1.5c0-.66-.26-1.3-.73-1.77Z",key:"1sy9ra"}],["path",{d:"M14 13V8.5C14 7 15 7 15 5a3 3 0 0 0-3-3c-1.66 0-3 1-3 3s1 2 1 3.5V13",key:"cnxgux"}]],h9=e("Stamp",sR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iR=[["path",{d:"M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2",key:"2ksp49"}]],Qu=e("StarHalf",iR);/** + */const lR=[["path",{d:"M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2",key:"2ksp49"}]],y9=e("StarHalf",lR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hR=[["path",{d:"M8.34 8.34 2 9.27l5 4.87L5.82 21 12 17.77 18.18 21l-.59-3.43",key:"16m0ql"}],["path",{d:"M18.42 12.76 22 9.27l-6.91-1L12 2l-1.44 2.91",key:"1vt8nq"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Yu=e("StarOff",hR);/** + */const uR=[["path",{d:"M8.34 8.34 2 9.27l5 4.87L5.82 21 12 17.77 18.18 21l-.59-3.43",key:"16m0ql"}],["path",{d:"M18.42 12.76 22 9.27l-6.91-1L12 2l-1.44 2.91",key:"1vt8nq"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],r9=e("StarOff",uR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yR=[["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["polygon",{points:"14,20 4,12 14,4",key:"ypakod"}]],e9=e("StepBack",yR);/** + */const MR=[["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["polygon",{points:"14,20 4,12 14,4",key:"ypakod"}]],k9=e("StepBack",MR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rR=[["line",{x1:"6",x2:"6",y1:"4",y2:"20",key:"fy8qot"}],["polygon",{points:"10,4 20,12 10,20",key:"1mc1pf"}]],a9=e("StepForward",rR);/** + */const vR=[["line",{x1:"6",x2:"6",y1:"4",y2:"20",key:"fy8qot"}],["polygon",{points:"10,4 20,12 10,20",key:"1mc1pf"}]],p9=e("StepForward",vR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kR=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],o9=e("Stethoscope",kR);/** + */const mR=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],s9=e("Stethoscope",mR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pR=[["path",{d:"M15.5 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V8.5L15.5 3Z",key:"1wis1t"}],["path",{d:"M14 3v4a2 2 0 0 0 2 2h4",key:"36rjfy"}],["path",{d:"M8 13h.01",key:"1sbv64"}],["path",{d:"M16 13h.01",key:"wip0gl"}],["path",{d:"M10 16s.8 1 2 1c1.3 0 2-1 2-1",key:"1vvgv3"}]],c9=e("Sticker",pR);/** + */const _R=[["path",{d:"M15.5 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V8.5L15.5 3Z",key:"1wis1t"}],["path",{d:"M14 3v4a2 2 0 0 0 2 2h4",key:"36rjfy"}],["path",{d:"M8 13h.01",key:"1sbv64"}],["path",{d:"M16 13h.01",key:"wip0gl"}],["path",{d:"M10 16s.8 1 2 1c1.3 0 2-1 2-1",key:"1vvgv3"}]],l9=e("Sticker",_R);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sR=[["path",{d:"M16 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8Z",key:"qazsjp"}],["path",{d:"M15 3v4a2 2 0 0 0 2 2h4",key:"40519r"}]],t9=e("StickyNote",sR);/** + */const gR=[["path",{d:"M16 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8Z",key:"qazsjp"}],["path",{d:"M15 3v4a2 2 0 0 0 2 2h4",key:"40519r"}]],u9=e("StickyNote",gR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lR=[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]],n9=e("Store",lR);/** + */const LR=[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]],M9=e("Store",LR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uR=[["rect",{width:"20",height:"6",x:"2",y:"4",rx:"2",key:"qdearl"}],["rect",{width:"20",height:"6",x:"2",y:"14",rx:"2",key:"1xrn6j"}]],d9=e("StretchHorizontal",uR);/** + */const xR=[["rect",{width:"20",height:"6",x:"2",y:"4",rx:"2",key:"qdearl"}],["rect",{width:"20",height:"6",x:"2",y:"14",rx:"2",key:"1xrn6j"}]],v9=e("StretchHorizontal",xR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MR=[["rect",{width:"6",height:"20",x:"4",y:"2",rx:"2",key:"19qu7m"}],["rect",{width:"6",height:"20",x:"14",y:"2",rx:"2",key:"24v0nk"}]],i9=e("StretchVertical",MR);/** + */const wR=[["rect",{width:"6",height:"20",x:"4",y:"2",rx:"2",key:"19qu7m"}],["rect",{width:"6",height:"20",x:"14",y:"2",rx:"2",key:"24v0nk"}]],m9=e("StretchVertical",wR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vR=[["path",{d:"m4 5 8 8",key:"1eunvl"}],["path",{d:"m12 5-8 8",key:"1ah0jp"}],["path",{d:"M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",key:"e8ta8j"}]],h9=e("Subscript",vR);/** + */const fR=[["path",{d:"m4 5 8 8",key:"1eunvl"}],["path",{d:"m12 5-8 8",key:"1ah0jp"}],["path",{d:"M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",key:"e8ta8j"}]],_9=e("Subscript",fR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mR=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M20 12h.01",key:"1ykeid"}],["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M4 12h.01",key:"158zrr"}],["path",{d:"M17.657 6.343h.01",key:"31pqzk"}],["path",{d:"M17.657 17.657h.01",key:"jehnf4"}],["path",{d:"M6.343 17.657h.01",key:"gdk6ow"}],["path",{d:"M6.343 6.343h.01",key:"1uurf0"}]],y9=e("SunDim",mR);/** + */const CR=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M20 12h.01",key:"1ykeid"}],["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M4 12h.01",key:"158zrr"}],["path",{d:"M17.657 6.343h.01",key:"31pqzk"}],["path",{d:"M17.657 17.657h.01",key:"jehnf4"}],["path",{d:"M6.343 17.657h.01",key:"gdk6ow"}],["path",{d:"M6.343 6.343h.01",key:"1uurf0"}]],g9=e("SunDim",CR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _R=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]],r9=e("SunMedium",_R);/** + */const IR=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]],L9=e("SunMedium",IR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gR=[["path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4",key:"1fu5g2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.9 4.9 1.4 1.4",key:"b9915j"}],["path",{d:"m17.7 17.7 1.4 1.4",key:"qc3ed3"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.3 17.7-1.4 1.4",key:"5gca6"}],["path",{d:"m19.1 4.9-1.4 1.4",key:"wpu9u6"}]],k9=e("SunMoon",gR);/** + */const NR=[["path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4",key:"1fu5g2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.9 4.9 1.4 1.4",key:"b9915j"}],["path",{d:"m17.7 17.7 1.4 1.4",key:"qc3ed3"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.3 17.7-1.4 1.4",key:"5gca6"}],["path",{d:"m19.1 4.9-1.4 1.4",key:"wpu9u6"}]],x9=e("SunMoon",NR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LR=[["path",{d:"M10 21v-1",key:"1u8rkd"}],["path",{d:"M10 4V3",key:"pkzwkn"}],["path",{d:"M10 9a3 3 0 0 0 0 6",key:"gv75dk"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6 1.5-3H22",key:"o5qa3v"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"m3.64 18.36.7-.7",key:"105rm9"}],["path",{d:"m4.34 6.34-.7-.7",key:"d3unjp"}]],p9=e("SunSnow",LR);/** + */const SR=[["path",{d:"M10 21v-1",key:"1u8rkd"}],["path",{d:"M10 4V3",key:"pkzwkn"}],["path",{d:"M10 9a3 3 0 0 0 0 6",key:"gv75dk"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6 1.5-3H22",key:"o5qa3v"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"m3.64 18.36.7-.7",key:"105rm9"}],["path",{d:"m4.34 6.34-.7-.7",key:"d3unjp"}]],w9=e("SunSnow",SR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xR=[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]],s9=e("Sunrise",xR);/** + */const bR=[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]],f9=e("Sunrise",bR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wR=[["path",{d:"M12 10V2",key:"16sf7g"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]],l9=e("Sunset",wR);/** + */const qR=[["path",{d:"M12 10V2",key:"16sf7g"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]],C9=e("Sunset",qR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fR=[["path",{d:"m4 19 8-8",key:"hr47gm"}],["path",{d:"m12 19-8-8",key:"1dhhmo"}],["path",{d:"M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06",key:"1dfcux"}]],u9=e("Superscript",fR);/** + */const $R=[["path",{d:"m4 19 8-8",key:"hr47gm"}],["path",{d:"m12 19-8-8",key:"1dhhmo"}],["path",{d:"M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06",key:"1dfcux"}]],I9=e("Superscript",$R);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CR=[["path",{d:"M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z",key:"1ldrpk"}],["path",{d:"M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7",key:"11i5po"}],["path",{d:"M 7 17h.01",key:"1euzgo"}],["path",{d:"m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8",key:"o2gii7"}]],M9=e("SwatchBook",CR);/** + */const AR=[["path",{d:"M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z",key:"1ldrpk"}],["path",{d:"M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7",key:"11i5po"}],["path",{d:"M 7 17h.01",key:"1euzgo"}],["path",{d:"m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8",key:"o2gii7"}]],N9=e("SwatchBook",AR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IR=[["path",{d:"M10 21V3h8",key:"br2l0g"}],["path",{d:"M6 16h9",key:"2py0wn"}],["path",{d:"M10 9.5h7",key:"13dmhz"}]],v9=e("SwissFranc",IR);/** + */const HR=[["path",{d:"M10 21V3h8",key:"br2l0g"}],["path",{d:"M6 16h9",key:"2py0wn"}],["path",{d:"M10 9.5h7",key:"13dmhz"}]],S9=e("SwissFranc",HR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NR=[["path",{d:"M11 19H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5",key:"mtk2lu"}],["path",{d:"M13 5h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-5",key:"120jsl"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m18 22-3-3 3-3",key:"kgdoj7"}],["path",{d:"m6 2 3 3-3 3",key:"1fnbkv"}]],m9=e("SwitchCamera",NR);/** + */const zR=[["path",{d:"M11 19H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5",key:"mtk2lu"}],["path",{d:"M13 5h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-5",key:"120jsl"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m18 22-3-3 3-3",key:"kgdoj7"}],["path",{d:"m6 2 3 3-3 3",key:"1fnbkv"}]],b9=e("SwitchCamera",zR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SR=[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}]],_9=e("Sword",SR);/** + */const jR=[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}]],q9=e("Sword",jR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qR=[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}],["polyline",{points:"14.5 6.5 18 3 21 3 21 6 17.5 9.5",key:"hbey2j"}],["line",{x1:"5",x2:"9",y1:"14",y2:"18",key:"1hf58s"}],["line",{x1:"7",x2:"4",y1:"17",y2:"20",key:"pidxm4"}],["line",{x1:"3",x2:"5",y1:"19",y2:"21",key:"1pehsh"}]],g9=e("Swords",qR);/** + */const PR=[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}],["polyline",{points:"14.5 6.5 18 3 21 3 21 6 17.5 9.5",key:"hbey2j"}],["line",{x1:"5",x2:"9",y1:"14",y2:"18",key:"1hf58s"}],["line",{x1:"7",x2:"4",y1:"17",y2:"20",key:"pidxm4"}],["line",{x1:"3",x2:"5",y1:"19",y2:"21",key:"1pehsh"}]],$9=e("Swords",PR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bR=[["path",{d:"m18 2 4 4",key:"22kx64"}],["path",{d:"m17 7 3-3",key:"1w1zoj"}],["path",{d:"M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5",key:"1exhtz"}],["path",{d:"m9 11 4 4",key:"rovt3i"}],["path",{d:"m5 19-3 3",key:"59f2uf"}],["path",{d:"m14 4 6 6",key:"yqp9t2"}]],L9=e("Syringe",bR);/** + */const VR=[["path",{d:"m18 2 4 4",key:"22kx64"}],["path",{d:"m17 7 3-3",key:"1w1zoj"}],["path",{d:"M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5",key:"1exhtz"}],["path",{d:"m9 11 4 4",key:"rovt3i"}],["path",{d:"m5 19-3 3",key:"59f2uf"}],["path",{d:"m14 4 6 6",key:"yqp9t2"}]],A9=e("Syringe",VR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $R=[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]],x9=e("Table2",$R);/** + */const BR=[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]],H9=e("Table2",BR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AR=[["path",{d:"M12 21v-6",key:"lihzve"}],["path",{d:"M12 9V3",key:"da5inc"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],w9=e("TableCellsMerge",AR);/** + */const FR=[["path",{d:"M12 21v-6",key:"lihzve"}],["path",{d:"M12 9V3",key:"da5inc"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],z9=e("TableCellsMerge",FR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HR=[["path",{d:"M12 15V9",key:"8c7uyn"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],f9=e("TableCellsSplit",HR);/** + */const DR=[["path",{d:"M12 15V9",key:"8c7uyn"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],j9=e("TableCellsSplit",DR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zR=[["path",{d:"M14 14v2",key:"w2a1xv"}],["path",{d:"M14 20v2",key:"1lq872"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M14 8v2",key:"i67w9a"}],["path",{d:"M2 15h8",key:"82wtch"}],["path",{d:"M2 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2",key:"up0l64"}],["path",{d:"M2 9h8",key:"yelfik"}],["path",{d:"M22 15h-4",key:"1es58f"}],["path",{d:"M22 3h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2",key:"pdjoqf"}],["path",{d:"M22 9h-4",key:"1luja7"}],["path",{d:"M5 3v18",key:"14hmio"}]],C9=e("TableColumnsSplit",zR);/** + */const RR=[["path",{d:"M14 14v2",key:"w2a1xv"}],["path",{d:"M14 20v2",key:"1lq872"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M14 8v2",key:"i67w9a"}],["path",{d:"M2 15h8",key:"82wtch"}],["path",{d:"M2 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2",key:"up0l64"}],["path",{d:"M2 9h8",key:"yelfik"}],["path",{d:"M22 15h-4",key:"1es58f"}],["path",{d:"M22 3h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2",key:"pdjoqf"}],["path",{d:"M22 9h-4",key:"1luja7"}],["path",{d:"M5 3v18",key:"14hmio"}]],P9=e("TableColumnsSplit",RR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PR=[["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M21 12h.01",key:"msek7k"}],["path",{d:"M21 18h.01",key:"1e8rq1"}],["path",{d:"M21 6h.01",key:"1koanj"}]],I9=e("TableOfContents",PR);/** + */const TR=[["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M21 12h.01",key:"msek7k"}],["path",{d:"M21 18h.01",key:"1e8rq1"}],["path",{d:"M21 6h.01",key:"1koanj"}]],V9=e("TableOfContents",TR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jR=[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],N9=e("TableProperties",jR);/** + */const UR=[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],B9=e("TableProperties",UR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VR=[["path",{d:"M14 10h2",key:"1lstlu"}],["path",{d:"M15 22v-8",key:"1fwwgm"}],["path",{d:"M15 2v4",key:"1044rn"}],["path",{d:"M2 10h2",key:"1r8dkt"}],["path",{d:"M20 10h2",key:"1ug425"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"M3 22v-6a2 2 135 0 1 2-2h14a2 2 45 0 1 2 2v6",key:"ibqhof"}],["path",{d:"M3 2v2a2 2 45 0 0 2 2h14a2 2 135 0 0 2-2V2",key:"1uenja"}],["path",{d:"M8 10h2",key:"66od0"}],["path",{d:"M9 22v-8",key:"fmnu31"}],["path",{d:"M9 2v4",key:"j1yeou"}]],S9=e("TableRowsSplit",VR);/** + */const OR=[["path",{d:"M14 10h2",key:"1lstlu"}],["path",{d:"M15 22v-8",key:"1fwwgm"}],["path",{d:"M15 2v4",key:"1044rn"}],["path",{d:"M2 10h2",key:"1r8dkt"}],["path",{d:"M20 10h2",key:"1ug425"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"M3 22v-6a2 2 135 0 1 2-2h14a2 2 45 0 1 2 2v6",key:"ibqhof"}],["path",{d:"M3 2v2a2 2 45 0 0 2 2h14a2 2 135 0 0 2-2V2",key:"1uenja"}],["path",{d:"M8 10h2",key:"66od0"}],["path",{d:"M9 22v-8",key:"fmnu31"}],["path",{d:"M9 2v4",key:"j1yeou"}]],F9=e("TableRowsSplit",OR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BR=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],q9=e("Table",BR);/** + */const ZR=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],D9=e("Table",ZR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FR=[["rect",{width:"10",height:"14",x:"3",y:"8",rx:"2",key:"1vrsiq"}],["path",{d:"M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4",key:"1j4zmg"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],b9=e("TabletSmartphone",FR);/** + */const GR=[["rect",{width:"10",height:"14",x:"3",y:"8",rx:"2",key:"1vrsiq"}],["path",{d:"M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4",key:"1j4zmg"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],R9=e("TabletSmartphone",GR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DR=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]],$9=e("Tablet",DR);/** + */const WR=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]],T9=e("Tablet",WR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RR=[["circle",{cx:"7",cy:"7",r:"5",key:"x29byf"}],["circle",{cx:"17",cy:"17",r:"5",key:"1op1d2"}],["path",{d:"M12 17h10",key:"ls21zv"}],["path",{d:"m3.46 10.54 7.08-7.08",key:"1rehiu"}]],A9=e("Tablets",RR);/** + */const ER=[["circle",{cx:"7",cy:"7",r:"5",key:"x29byf"}],["circle",{cx:"17",cy:"17",r:"5",key:"1op1d2"}],["path",{d:"M12 17h10",key:"ls21zv"}],["path",{d:"m3.46 10.54 7.08-7.08",key:"1rehiu"}]],U9=e("Tablets",ER);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TR=[["path",{d:"m15 5 6.3 6.3a2.4 2.4 0 0 1 0 3.4L17 19",key:"1cbfv1"}],["path",{d:"M9.586 5.586A2 2 0 0 0 8.172 5H3a1 1 0 0 0-1 1v5.172a2 2 0 0 0 .586 1.414L8.29 18.29a2.426 2.426 0 0 0 3.42 0l3.58-3.58a2.426 2.426 0 0 0 0-3.42z",key:"135mg7"}],["circle",{cx:"6.5",cy:"9.5",r:".5",fill:"currentColor",key:"5pm5xn"}]],H9=e("Tags",TR);/** + */const XR=[["path",{d:"m15 5 6.3 6.3a2.4 2.4 0 0 1 0 3.4L17 19",key:"1cbfv1"}],["path",{d:"M9.586 5.586A2 2 0 0 0 8.172 5H3a1 1 0 0 0-1 1v5.172a2 2 0 0 0 .586 1.414L8.29 18.29a2.426 2.426 0 0 0 3.42 0l3.58-3.58a2.426 2.426 0 0 0 0-3.42z",key:"135mg7"}],["circle",{cx:"6.5",cy:"9.5",r:".5",fill:"currentColor",key:"5pm5xn"}]],O9=e("Tags",XR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UR=[["path",{d:"M4 4v16",key:"6qkkli"}]],z9=e("Tally1",UR);/** + */const KR=[["path",{d:"M4 4v16",key:"6qkkli"}]],Z9=e("Tally1",KR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OR=[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}]],P9=e("Tally2",OR);/** + */const JR=[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}]],G9=e("Tally2",JR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZR=[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"M14 4v16",key:"12vmem"}]],j9=e("Tally3",ZR);/** + */const QR=[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"M14 4v16",key:"12vmem"}]],W9=e("Tally3",QR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GR=[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"M14 4v16",key:"12vmem"}],["path",{d:"M19 4v16",key:"8ij5ei"}]],V9=e("Tally4",GR);/** + */const YR=[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"M14 4v16",key:"12vmem"}],["path",{d:"M19 4v16",key:"8ij5ei"}]],E9=e("Tally4",YR);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WR=[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"M14 4v16",key:"12vmem"}],["path",{d:"M19 4v16",key:"8ij5ei"}],["path",{d:"M22 6 2 18",key:"h9moai"}]],B9=e("Tally5",WR);/** + */const eT=[["path",{d:"M4 4v16",key:"6qkkli"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"M14 4v16",key:"12vmem"}],["path",{d:"M19 4v16",key:"8ij5ei"}],["path",{d:"M22 6 2 18",key:"h9moai"}]],X9=e("Tally5",eT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ER=[["circle",{cx:"17",cy:"4",r:"2",key:"y5j2s2"}],["path",{d:"M15.59 5.41 5.41 15.59",key:"l0vprr"}],["circle",{cx:"4",cy:"17",r:"2",key:"9p4efm"}],["path",{d:"M12 22s-4-9-1.5-11.5S22 12 22 12",key:"1twk4o"}]],F9=e("Tangent",ER);/** + */const aT=[["circle",{cx:"17",cy:"4",r:"2",key:"y5j2s2"}],["path",{d:"M15.59 5.41 5.41 15.59",key:"l0vprr"}],["circle",{cx:"4",cy:"17",r:"2",key:"9p4efm"}],["path",{d:"M12 22s-4-9-1.5-11.5S22 12 22 12",key:"1twk4o"}]],K9=e("Tangent",aT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XR=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],D9=e("Telescope",XR);/** + */const oT=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],J9=e("Telescope",oT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KR=[["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}],["path",{d:"m14 5 3-3 3 3",key:"1sorif"}],["path",{d:"m14 10 3-3 3 3",key:"1jyi9h"}],["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M17 14H7l-5 8h20Z",key:"13ar7p"}],["path",{d:"M8 14v8",key:"1ghmqk"}],["path",{d:"m9 14 5 8",key:"13pgi6"}]],R9=e("TentTree",KR);/** + */const tT=[["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}],["path",{d:"m14 5 3-3 3 3",key:"1sorif"}],["path",{d:"m14 10 3-3 3 3",key:"1jyi9h"}],["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M17 14H7l-5 8h20Z",key:"13ar7p"}],["path",{d:"M8 14v8",key:"1ghmqk"}],["path",{d:"m9 14 5 8",key:"13pgi6"}]],Q9=e("TentTree",tT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JR=[["path",{d:"M3.5 21 14 3",key:"1szst5"}],["path",{d:"M20.5 21 10 3",key:"1310c3"}],["path",{d:"M15.5 21 12 15l-3.5 6",key:"1ddtfw"}],["path",{d:"M2 21h20",key:"1nyx9w"}]],T9=e("Tent",JR);/** + */const cT=[["path",{d:"M3.5 21 14 3",key:"1szst5"}],["path",{d:"M20.5 21 10 3",key:"1310c3"}],["path",{d:"M15.5 21 12 15l-3.5 6",key:"1ddtfw"}],["path",{d:"M2 21h20",key:"1nyx9w"}]],Y9=e("Tent",cT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QR=[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]],U9=e("Terminal",QR);/** + */const nT=[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]],eM=e("Terminal",nT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YR=[["path",{d:"M21 7 6.82 21.18a2.83 2.83 0 0 1-3.99-.01a2.83 2.83 0 0 1 0-4L17 3",key:"1ub6xw"}],["path",{d:"m16 2 6 6",key:"1gw87d"}],["path",{d:"M12 16H4",key:"1cjfip"}]],I2=e("TestTubeDiagonal",YR);/** + */const dT=[["path",{d:"M21 7 6.82 21.18a2.83 2.83 0 0 1-3.99-.01a2.83 2.83 0 0 1 0-4L17 3",key:"1ub6xw"}],["path",{d:"m16 2 6 6",key:"1gw87d"}],["path",{d:"M12 16H4",key:"1cjfip"}]],S2=e("TestTubeDiagonal",dT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eT=[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]],O9=e("TestTube",eT);/** + */const iT=[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]],aM=e("TestTube",iT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aT=[["path",{d:"M9 2v17.5A2.5 2.5 0 0 1 6.5 22A2.5 2.5 0 0 1 4 19.5V2",key:"1hjrqt"}],["path",{d:"M20 2v17.5a2.5 2.5 0 0 1-2.5 2.5a2.5 2.5 0 0 1-2.5-2.5V2",key:"16lc8n"}],["path",{d:"M3 2h7",key:"7s29d5"}],["path",{d:"M14 2h7",key:"7sicin"}],["path",{d:"M9 16H4",key:"1bfye3"}],["path",{d:"M20 16h-5",key:"ddnjpe"}]],Z9=e("TestTubes",aT);/** + */const hT=[["path",{d:"M9 2v17.5A2.5 2.5 0 0 1 6.5 22A2.5 2.5 0 0 1 4 19.5V2",key:"1hjrqt"}],["path",{d:"M20 2v17.5a2.5 2.5 0 0 1-2.5 2.5a2.5 2.5 0 0 1-2.5-2.5V2",key:"16lc8n"}],["path",{d:"M3 2h7",key:"7s29d5"}],["path",{d:"M14 2h7",key:"7sicin"}],["path",{d:"M9 16H4",key:"1bfye3"}],["path",{d:"M20 16h-5",key:"ddnjpe"}]],oM=e("TestTubes",hT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oT=[["path",{d:"M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1",key:"18xjzo"}],["path",{d:"M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5",key:"fj48gi"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M9 7v10",key:"1vc8ob"}]],G9=e("TextCursorInput",oT);/** + */const yT=[["path",{d:"M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1",key:"18xjzo"}],["path",{d:"M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5",key:"fj48gi"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M9 7v10",key:"1vc8ob"}]],tM=e("TextCursorInput",yT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cT=[["path",{d:"M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1",key:"uvaxm9"}],["path",{d:"M7 22h1a4 4 0 0 0 4-4v-1",key:"11xy8d"}],["path",{d:"M7 2h1a4 4 0 0 1 4 4v1",key:"1uw06m"}]],W9=e("TextCursor",cT);/** + */const rT=[["path",{d:"M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1",key:"uvaxm9"}],["path",{d:"M7 22h1a4 4 0 0 0 4-4v-1",key:"11xy8d"}],["path",{d:"M7 2h1a4 4 0 0 1 4 4v1",key:"1uw06m"}]],cM=e("TextCursor",rT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tT=[["path",{d:"M17 6H3",key:"16j9eg"}],["path",{d:"M21 12H8",key:"scolzb"}],["path",{d:"M21 18H8",key:"1wfozv"}],["path",{d:"M3 12v6",key:"fv4c87"}]],E9=e("TextQuote",tT);/** + */const kT=[["path",{d:"M17 6H3",key:"16j9eg"}],["path",{d:"M21 12H8",key:"scolzb"}],["path",{d:"M21 18H8",key:"1wfozv"}],["path",{d:"M3 12v6",key:"fv4c87"}]],nM=e("TextQuote",kT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nT=[["path",{d:"M21 6H3",key:"1jwq7v"}],["path",{d:"M10 12H3",key:"1ulcyk"}],["path",{d:"M10 18H3",key:"13769t"}],["circle",{cx:"17",cy:"15",r:"3",key:"1upz2a"}],["path",{d:"m21 19-1.9-1.9",key:"dwi7p8"}]],X9=e("TextSearch",nT);/** + */const pT=[["path",{d:"M21 6H3",key:"1jwq7v"}],["path",{d:"M10 12H3",key:"1ulcyk"}],["path",{d:"M10 18H3",key:"13769t"}],["circle",{cx:"17",cy:"15",r:"3",key:"1upz2a"}],["path",{d:"m21 19-1.9-1.9",key:"dwi7p8"}]],dM=e("TextSearch",pT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dT=[["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M21 14v1",key:"169vum"}],["line",{x1:"7",x2:"15",y1:"8",y2:"8",key:"1758g8"}],["line",{x1:"7",x2:"17",y1:"12",y2:"12",key:"197423"}],["line",{x1:"7",x2:"13",y1:"16",y2:"16",key:"37cgm6"}]],N2=e("TextSelect",dT);/** + */const sT=[["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M21 14v1",key:"169vum"}],["line",{x1:"7",x2:"15",y1:"8",y2:"8",key:"1758g8"}],["line",{x1:"7",x2:"17",y1:"12",y2:"12",key:"197423"}],["line",{x1:"7",x2:"13",y1:"16",y2:"16",key:"37cgm6"}]],b2=e("TextSelect",sT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iT=[["path",{d:"M17 6.1H3",key:"wptmhv"}],["path",{d:"M21 12.1H3",key:"1j38uz"}],["path",{d:"M15.1 18H3",key:"1nb16a"}]],K9=e("Text",iT);/** + */const lT=[["path",{d:"M17 6.1H3",key:"wptmhv"}],["path",{d:"M21 12.1H3",key:"1j38uz"}],["path",{d:"M15.1 18H3",key:"1nb16a"}]],iM=e("Text",lT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hT=[["path",{d:"M2 10s3-3 3-8",key:"3xiif0"}],["path",{d:"M22 10s-3-3-3-8",key:"ioaa5q"}],["path",{d:"M10 2c0 4.4-3.6 8-8 8",key:"16fkpi"}],["path",{d:"M14 2c0 4.4 3.6 8 8 8",key:"b9eulq"}],["path",{d:"M2 10s2 2 2 5",key:"1au1lb"}],["path",{d:"M22 10s-2 2-2 5",key:"qi2y5e"}],["path",{d:"M8 15h8",key:"45n4r"}],["path",{d:"M2 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1",key:"1vsc2m"}],["path",{d:"M14 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1",key:"hrha4u"}]],J9=e("Theater",hT);/** + */const uT=[["path",{d:"M2 10s3-3 3-8",key:"3xiif0"}],["path",{d:"M22 10s-3-3-3-8",key:"ioaa5q"}],["path",{d:"M10 2c0 4.4-3.6 8-8 8",key:"16fkpi"}],["path",{d:"M14 2c0 4.4 3.6 8 8 8",key:"b9eulq"}],["path",{d:"M2 10s2 2 2 5",key:"1au1lb"}],["path",{d:"M22 10s-2 2-2 5",key:"qi2y5e"}],["path",{d:"M8 15h8",key:"45n4r"}],["path",{d:"M2 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1",key:"1vsc2m"}],["path",{d:"M14 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1",key:"hrha4u"}]],hM=e("Theater",uT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yT=[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"M10.585 15H10",key:"4nqulp"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z",key:"yu0u2z"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h2",key:"1bbqgq"}]],Q9=e("ThermometerSnowflake",yT);/** + */const MT=[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"M10.585 15H10",key:"4nqulp"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z",key:"yu0u2z"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h2",key:"1bbqgq"}]],yM=e("ThermometerSnowflake",MT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rT=[["path",{d:"M12 9a4 4 0 0 0-2 7.5",key:"1jvsq6"}],["path",{d:"M12 3v2",key:"1w22ol"}],["path",{d:"m6.6 18.4-1.4 1.4",key:"w2yidj"}],["path",{d:"M20 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"iof6y5"}],["path",{d:"M4 13H2",key:"118le4"}],["path",{d:"M6.34 7.34 4.93 5.93",key:"1brd51"}]],Y9=e("ThermometerSun",rT);/** + */const vT=[["path",{d:"M12 9a4 4 0 0 0-2 7.5",key:"1jvsq6"}],["path",{d:"M12 3v2",key:"1w22ol"}],["path",{d:"m6.6 18.4-1.4 1.4",key:"w2yidj"}],["path",{d:"M20 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"iof6y5"}],["path",{d:"M4 13H2",key:"118le4"}],["path",{d:"M6.34 7.34 4.93 5.93",key:"1brd51"}]],rM=e("ThermometerSun",vT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kT=[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]],eM=e("Thermometer",kT);/** + */const mT=[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]],kM=e("Thermometer",mT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pT=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],aM=e("TicketCheck",pT);/** + */const _T=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],pM=e("TicketCheck",_T);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sT=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M9 12h6",key:"1c52cq"}]],oM=e("TicketMinus",sT);/** + */const gT=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M9 12h6",key:"1c52cq"}]],sM=e("TicketMinus",gT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lT=[["path",{d:"M2 9a3 3 0 1 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 1 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"1l48ns"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]],cM=e("TicketPercent",lT);/** + */const LT=[["path",{d:"M2 9a3 3 0 1 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 1 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"1l48ns"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]],lM=e("TicketPercent",LT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uT=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]],tM=e("TicketPlus",uT);/** + */const xT=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]],uM=e("TicketPlus",xT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MT=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"m9.5 14.5 5-5",key:"qviqfa"}]],nM=e("TicketSlash",MT);/** + */const wT=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"m9.5 14.5 5-5",key:"qviqfa"}]],MM=e("TicketSlash",wT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vT=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"m9.5 14.5 5-5",key:"qviqfa"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]],dM=e("TicketX",vT);/** + */const fT=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"m9.5 14.5 5-5",key:"qviqfa"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]],vM=e("TicketX",fT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mT=[["path",{d:"M10.5 17h1.227a2 2 0 0 0 1.345-.52L18 12",key:"16muxl"}],["path",{d:"m12 13.5 3.75.5",key:"1i9qhk"}],["path",{d:"m4.5 8 10.58-5.06a1 1 0 0 1 1.342.488L18.5 8",key:"12lg5p"}],["path",{d:"M6 10V8",key:"1y41hn"}],["path",{d:"M6 14v1",key:"cao2tf"}],["path",{d:"M6 19v2",key:"1loha6"}],["rect",{x:"2",y:"8",width:"20",height:"13",rx:"2",key:"p3bz5l"}]],iM=e("TicketsPlane",mT);/** + */const CT=[["path",{d:"M10.5 17h1.227a2 2 0 0 0 1.345-.52L18 12",key:"16muxl"}],["path",{d:"m12 13.5 3.75.5",key:"1i9qhk"}],["path",{d:"m4.5 8 10.58-5.06a1 1 0 0 1 1.342.488L18.5 8",key:"12lg5p"}],["path",{d:"M6 10V8",key:"1y41hn"}],["path",{d:"M6 14v1",key:"cao2tf"}],["path",{d:"M6 19v2",key:"1loha6"}],["rect",{x:"2",y:"8",width:"20",height:"13",rx:"2",key:"p3bz5l"}]],mM=e("TicketsPlane",CT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _T=[["path",{d:"m4.5 8 10.58-5.06a1 1 0 0 1 1.342.488L18.5 8",key:"12lg5p"}],["path",{d:"M6 10V8",key:"1y41hn"}],["path",{d:"M6 14v1",key:"cao2tf"}],["path",{d:"M6 19v2",key:"1loha6"}],["rect",{x:"2",y:"8",width:"20",height:"13",rx:"2",key:"p3bz5l"}]],hM=e("Tickets",_T);/** + */const IT=[["path",{d:"m4.5 8 10.58-5.06a1 1 0 0 1 1.342.488L18.5 8",key:"12lg5p"}],["path",{d:"M6 10V8",key:"1y41hn"}],["path",{d:"M6 14v1",key:"cao2tf"}],["path",{d:"M6 19v2",key:"1loha6"}],["rect",{x:"2",y:"8",width:"20",height:"13",rx:"2",key:"p3bz5l"}]],_M=e("Tickets",IT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gT=[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M4.6 11a8 8 0 0 0 1.7 8.7 8 8 0 0 0 8.7 1.7",key:"10he05"}],["path",{d:"M7.4 7.4a8 8 0 0 1 10.3 1 8 8 0 0 1 .9 10.2",key:"15f7sh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M12 12v-2",key:"fwoke6"}]],yM=e("TimerOff",gT);/** + */const NT=[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M4.6 11a8 8 0 0 0 1.7 8.7 8 8 0 0 0 8.7 1.7",key:"10he05"}],["path",{d:"M7.4 7.4a8 8 0 0 1 10.3 1 8 8 0 0 1 .9 10.2",key:"15f7sh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M12 12v-2",key:"fwoke6"}]],gM=e("TimerOff",NT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LT=[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M12 14v-4",key:"1evpnu"}],["path",{d:"M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6",key:"1ts96g"}],["path",{d:"M9 17H4v5",key:"8t5av"}]],rM=e("TimerReset",LT);/** + */const ST=[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M12 14v-4",key:"1evpnu"}],["path",{d:"M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6",key:"1ts96g"}],["path",{d:"M9 17H4v5",key:"8t5av"}]],LM=e("TimerReset",ST);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xT=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"6",ry:"6",key:"f2vt7d"}],["circle",{cx:"8",cy:"12",r:"2",key:"1nvbw3"}]],kM=e("ToggleLeft",xT);/** + */const bT=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"6",ry:"6",key:"f2vt7d"}],["circle",{cx:"8",cy:"12",r:"2",key:"1nvbw3"}]],xM=e("ToggleLeft",bT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wT=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"6",ry:"6",key:"f2vt7d"}],["circle",{cx:"16",cy:"12",r:"2",key:"4ma0v8"}]],pM=e("ToggleRight",wT);/** + */const qT=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"6",ry:"6",key:"f2vt7d"}],["circle",{cx:"16",cy:"12",r:"2",key:"4ma0v8"}]],wM=e("ToggleRight",qT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fT=[["path",{d:"M7 12h13a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-.598a.5.5 0 0 0-.424.765l1.544 2.47a.5.5 0 0 1-.424.765H5.402a.5.5 0 0 1-.424-.765L7 18",key:"kc4kqr"}],["path",{d:"M8 18a5 5 0 0 1-5-5V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8",key:"1tqs57"}]],sM=e("Toilet",fT);/** + */const $T=[["path",{d:"M7 12h13a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-.598a.5.5 0 0 0-.424.765l1.544 2.47a.5.5 0 0 1-.424.765H5.402a.5.5 0 0 1-.424-.765L7 18",key:"kc4kqr"}],["path",{d:"M8 18a5 5 0 0 1-5-5V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8",key:"1tqs57"}]],fM=e("Toilet",$T);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CT=[["path",{d:"M21 4H3",key:"1hwok0"}],["path",{d:"M18 8H6",key:"41n648"}],["path",{d:"M19 12H9",key:"1g4lpz"}],["path",{d:"M16 16h-6",key:"1j5d54"}],["path",{d:"M11 20H9",key:"39obr8"}]],lM=e("Tornado",CT);/** + */const AT=[["path",{d:"M21 4H3",key:"1hwok0"}],["path",{d:"M18 8H6",key:"41n648"}],["path",{d:"M19 12H9",key:"1g4lpz"}],["path",{d:"M16 16h-6",key:"1j5d54"}],["path",{d:"M11 20H9",key:"39obr8"}]],CM=e("Tornado",AT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IT=[["ellipse",{cx:"12",cy:"11",rx:"3",ry:"2",key:"1b2qxu"}],["ellipse",{cx:"12",cy:"12.5",rx:"10",ry:"8.5",key:"h8emeu"}]],uM=e("Torus",IT);/** + */const HT=[["ellipse",{cx:"12",cy:"11",rx:"3",ry:"2",key:"1b2qxu"}],["ellipse",{cx:"12",cy:"12.5",rx:"10",ry:"8.5",key:"h8emeu"}]],IM=e("Torus",HT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NT=[["path",{d:"M4 4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16",key:"lnt0bk"}],["path",{d:"M2 14h12",key:"d8icqz"}],["path",{d:"M22 14h-2",key:"jrx26d"}],["path",{d:"M12 20v-6",key:"1rm09r"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M22 16V6a2 2 0 0 0-2-2H10",key:"11y8e4"}]],MM=e("TouchpadOff",NT);/** + */const zT=[["path",{d:"M4 4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16",key:"lnt0bk"}],["path",{d:"M2 14h12",key:"d8icqz"}],["path",{d:"M22 14h-2",key:"jrx26d"}],["path",{d:"M12 20v-6",key:"1rm09r"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M22 16V6a2 2 0 0 0-2-2H10",key:"11y8e4"}]],NM=e("TouchpadOff",zT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ST=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M2 14h20",key:"myj16y"}],["path",{d:"M12 20v-6",key:"1rm09r"}]],vM=e("Touchpad",ST);/** + */const jT=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M2 14h20",key:"myj16y"}],["path",{d:"M12 20v-6",key:"1rm09r"}]],SM=e("Touchpad",jT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qT=[["path",{d:"M18.2 12.27 20 6H4l1.8 6.27a1 1 0 0 0 .95.73h10.5a1 1 0 0 0 .96-.73Z",key:"1pledb"}],["path",{d:"M8 13v9",key:"hmv0ci"}],["path",{d:"M16 22v-9",key:"ylnf1u"}],["path",{d:"m9 6 1 7",key:"dpdgam"}],["path",{d:"m15 6-1 7",key:"ls7zgu"}],["path",{d:"M12 6V2",key:"1pj48d"}],["path",{d:"M13 2h-2",key:"mj6ths"}]],mM=e("TowerControl",qT);/** + */const PT=[["path",{d:"M18.2 12.27 20 6H4l1.8 6.27a1 1 0 0 0 .95.73h10.5a1 1 0 0 0 .96-.73Z",key:"1pledb"}],["path",{d:"M8 13v9",key:"hmv0ci"}],["path",{d:"M16 22v-9",key:"ylnf1u"}],["path",{d:"m9 6 1 7",key:"dpdgam"}],["path",{d:"m15 6-1 7",key:"ls7zgu"}],["path",{d:"M12 6V2",key:"1pj48d"}],["path",{d:"M13 2h-2",key:"mj6ths"}]],bM=e("TowerControl",PT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bT=[["rect",{width:"18",height:"12",x:"3",y:"8",rx:"1",key:"158fvp"}],["path",{d:"M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3",key:"s0042v"}],["path",{d:"M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3",key:"9wmeh2"}]],_M=e("ToyBrick",bT);/** + */const VT=[["rect",{width:"18",height:"12",x:"3",y:"8",rx:"1",key:"158fvp"}],["path",{d:"M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3",key:"s0042v"}],["path",{d:"M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3",key:"9wmeh2"}]],qM=e("ToyBrick",VT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $T=[["path",{d:"m10 11 11 .9a1 1 0 0 1 .8 1.1l-.665 4.158a1 1 0 0 1-.988.842H20",key:"she1j9"}],["path",{d:"M16 18h-5",key:"bq60fd"}],["path",{d:"M18 5a1 1 0 0 0-1 1v5.573",key:"1kv8ia"}],["path",{d:"M3 4h8.129a1 1 0 0 1 .99.863L13 11.246",key:"1q1ert"}],["path",{d:"M4 11V4",key:"9ft8pt"}],["path",{d:"M7 15h.01",key:"k5ht0j"}],["path",{d:"M8 10.1V4",key:"1jgyzo"}],["circle",{cx:"18",cy:"18",r:"2",key:"1emm8v"}],["circle",{cx:"7",cy:"15",r:"5",key:"ddtuc"}]],gM=e("Tractor",$T);/** + */const BT=[["path",{d:"m10 11 11 .9a1 1 0 0 1 .8 1.1l-.665 4.158a1 1 0 0 1-.988.842H20",key:"she1j9"}],["path",{d:"M16 18h-5",key:"bq60fd"}],["path",{d:"M18 5a1 1 0 0 0-1 1v5.573",key:"1kv8ia"}],["path",{d:"M3 4h8.129a1 1 0 0 1 .99.863L13 11.246",key:"1q1ert"}],["path",{d:"M4 11V4",key:"9ft8pt"}],["path",{d:"M7 15h.01",key:"k5ht0j"}],["path",{d:"M8 10.1V4",key:"1jgyzo"}],["circle",{cx:"18",cy:"18",r:"2",key:"1emm8v"}],["circle",{cx:"7",cy:"15",r:"5",key:"ddtuc"}]],$M=e("Tractor",BT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AT=[["path",{d:"M9.3 6.2a4.55 4.55 0 0 0 5.4 0",key:"flyxqv"}],["path",{d:"M7.9 10.7c.9.8 2.4 1.3 4.1 1.3s3.2-.5 4.1-1.3",key:"1nlxxg"}],["path",{d:"M13.9 3.5a1.93 1.93 0 0 0-3.8-.1l-3 10c-.1.2-.1.4-.1.6 0 1.7 2.2 3 5 3s5-1.3 5-3c0-.2 0-.4-.1-.5Z",key:"vz7x1l"}],["path",{d:"m7.5 12.2-4.7 2.7c-.5.3-.8.7-.8 1.1s.3.8.8 1.1l7.6 4.5c.9.5 2.1.5 3 0l7.6-4.5c.7-.3 1-.7 1-1.1s-.3-.8-.8-1.1l-4.7-2.8",key:"1xfzlw"}]],LM=e("TrafficCone",AT);/** + */const FT=[["path",{d:"M9.3 6.2a4.55 4.55 0 0 0 5.4 0",key:"flyxqv"}],["path",{d:"M7.9 10.7c.9.8 2.4 1.3 4.1 1.3s3.2-.5 4.1-1.3",key:"1nlxxg"}],["path",{d:"M13.9 3.5a1.93 1.93 0 0 0-3.8-.1l-3 10c-.1.2-.1.4-.1.6 0 1.7 2.2 3 5 3s5-1.3 5-3c0-.2 0-.4-.1-.5Z",key:"vz7x1l"}],["path",{d:"m7.5 12.2-4.7 2.7c-.5.3-.8.7-.8 1.1s.3.8.8 1.1l7.6 4.5c.9.5 2.1.5 3 0l7.6-4.5c.7-.3 1-.7 1-1.1s-.3-.8-.8-1.1l-4.7-2.8",key:"1xfzlw"}]],AM=e("TrafficCone",FT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HT=[["path",{d:"M2 22V12a10 10 0 1 1 20 0v10",key:"o0fyp0"}],["path",{d:"M15 6.8v1.4a3 2.8 0 1 1-6 0V6.8",key:"m8q3n9"}],["path",{d:"M10 15h.01",key:"44in9x"}],["path",{d:"M14 15h.01",key:"5mohn5"}],["path",{d:"M10 19a4 4 0 0 1-4-4v-3a6 6 0 1 1 12 0v3a4 4 0 0 1-4 4Z",key:"hckbmu"}],["path",{d:"m9 19-2 3",key:"iij7hm"}],["path",{d:"m15 19 2 3",key:"npx8sa"}]],xM=e("TrainFrontTunnel",HT);/** + */const DT=[["path",{d:"M2 22V12a10 10 0 1 1 20 0v10",key:"o0fyp0"}],["path",{d:"M15 6.8v1.4a3 2.8 0 1 1-6 0V6.8",key:"m8q3n9"}],["path",{d:"M10 15h.01",key:"44in9x"}],["path",{d:"M14 15h.01",key:"5mohn5"}],["path",{d:"M10 19a4 4 0 0 1-4-4v-3a6 6 0 1 1 12 0v3a4 4 0 0 1-4 4Z",key:"hckbmu"}],["path",{d:"m9 19-2 3",key:"iij7hm"}],["path",{d:"m15 19 2 3",key:"npx8sa"}]],HM=e("TrainFrontTunnel",DT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zT=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],wM=e("TrainFront",zT);/** + */const RT=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],zM=e("TrainFront",RT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PT=[["path",{d:"M2 17 17 2",key:"18b09t"}],["path",{d:"m2 14 8 8",key:"1gv9hu"}],["path",{d:"m5 11 8 8",key:"189pqp"}],["path",{d:"m8 8 8 8",key:"1imecy"}],["path",{d:"m11 5 8 8",key:"ummqn6"}],["path",{d:"m14 2 8 8",key:"1vk7dn"}],["path",{d:"M7 22 22 7",key:"15mb1i"}]],fM=e("TrainTrack",PT);/** + */const TT=[["path",{d:"M2 17 17 2",key:"18b09t"}],["path",{d:"m2 14 8 8",key:"1gv9hu"}],["path",{d:"m5 11 8 8",key:"189pqp"}],["path",{d:"m8 8 8 8",key:"1imecy"}],["path",{d:"m11 5 8 8",key:"ummqn6"}],["path",{d:"m14 2 8 8",key:"1vk7dn"}],["path",{d:"M7 22 22 7",key:"15mb1i"}]],jM=e("TrainTrack",TT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jT=[["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M12 3v8",key:"1h2ygw"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m18 22-2-3",key:"1p0ohu"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}]],S2=e("TramFront",jT);/** + */const UT=[["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M12 3v8",key:"1h2ygw"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m18 22-2-3",key:"1p0ohu"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}]],q2=e("TramFront",UT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VT=[["path",{d:"M12 16v6",key:"c8a4gj"}],["path",{d:"M14 20h-4",key:"m8m19d"}],["path",{d:"M18 2h4v4",key:"1341mj"}],["path",{d:"m2 2 7.17 7.17",key:"13q8l2"}],["path",{d:"M2 5.355V2h3.357",key:"18136r"}],["path",{d:"m22 2-7.17 7.17",key:"1epvy4"}],["path",{d:"M8 5 5 8",key:"mgbjhz"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]],CM=e("Transgender",VT);/** + */const OT=[["path",{d:"M12 16v6",key:"c8a4gj"}],["path",{d:"M14 20h-4",key:"m8m19d"}],["path",{d:"M18 2h4v4",key:"1341mj"}],["path",{d:"m2 2 7.17 7.17",key:"13q8l2"}],["path",{d:"M2 5.355V2h3.357",key:"18136r"}],["path",{d:"m22 2-7.17 7.17",key:"1epvy4"}],["path",{d:"M8 5 5 8",key:"mgbjhz"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]],PM=e("Transgender",OT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BT=[["path",{d:"M8 19a4 4 0 0 1-2.24-7.32A3.5 3.5 0 0 1 9 6.03V6a3 3 0 1 1 6 0v.04a3.5 3.5 0 0 1 3.24 5.65A4 4 0 0 1 16 19Z",key:"oadzkq"}],["path",{d:"M12 19v3",key:"npa21l"}]],IM=e("TreeDeciduous",BT);/** + */const ZT=[["path",{d:"M8 19a4 4 0 0 1-2.24-7.32A3.5 3.5 0 0 1 9 6.03V6a3 3 0 1 1 6 0v.04a3.5 3.5 0 0 1 3.24 5.65A4 4 0 0 1 16 19Z",key:"oadzkq"}],["path",{d:"M12 19v3",key:"npa21l"}]],VM=e("TreeDeciduous",ZT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FT=[["path",{d:"M13 8c0-2.76-2.46-5-5.5-5S2 5.24 2 8h2l1-1 1 1h4",key:"foxbe7"}],["path",{d:"M13 7.14A5.82 5.82 0 0 1 16.5 6c3.04 0 5.5 2.24 5.5 5h-3l-1-1-1 1h-3",key:"18arnh"}],["path",{d:"M5.89 9.71c-2.15 2.15-2.3 5.47-.35 7.43l4.24-4.25.7-.7.71-.71 2.12-2.12c-1.95-1.96-5.27-1.8-7.42.35",key:"ywahnh"}],["path",{d:"M11 15.5c.5 2.5-.17 4.5-1 6.5h4c2-5.5-.5-12-1-14",key:"ft0feo"}]],q2=e("TreePalm",FT);/** + */const GT=[["path",{d:"M13 8c0-2.76-2.46-5-5.5-5S2 5.24 2 8h2l1-1 1 1h4",key:"foxbe7"}],["path",{d:"M13 7.14A5.82 5.82 0 0 1 16.5 6c3.04 0 5.5 2.24 5.5 5h-3l-1-1-1 1h-3",key:"18arnh"}],["path",{d:"M5.89 9.71c-2.15 2.15-2.3 5.47-.35 7.43l4.24-4.25.7-.7.71-.71 2.12-2.12c-1.95-1.96-5.27-1.8-7.42.35",key:"ywahnh"}],["path",{d:"M11 15.5c.5 2.5-.17 4.5-1 6.5h4c2-5.5-.5-12-1-14",key:"ft0feo"}]],$2=e("TreePalm",GT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DT=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],NM=e("TreePine",DT);/** + */const WT=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],BM=e("TreePine",WT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RT=[["path",{d:"M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z",key:"1l6gj6"}],["path",{d:"M7 16v6",key:"1a82de"}],["path",{d:"M13 19v3",key:"13sx9i"}],["path",{d:"M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5",key:"1sj9kv"}]],SM=e("Trees",RT);/** + */const ET=[["path",{d:"M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z",key:"1l6gj6"}],["path",{d:"M7 16v6",key:"1a82de"}],["path",{d:"M13 19v3",key:"13sx9i"}],["path",{d:"M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5",key:"1sj9kv"}]],FM=e("Trees",ET);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TT=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["rect",{width:"3",height:"9",x:"7",y:"7",key:"14n3xi"}],["rect",{width:"3",height:"5",x:"14",y:"7",key:"s4azjd"}]],qM=e("Trello",TT);/** + */const XT=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["rect",{width:"3",height:"9",x:"7",y:"7",key:"14n3xi"}],["rect",{width:"3",height:"5",x:"14",y:"7",key:"s4azjd"}]],DM=e("Trello",XT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UT=[["path",{d:"M14.828 14.828 21 21",key:"ar5fw7"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"m21 3-9 9-4-4-6 6",key:"1h02xo"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}]],bM=e("TrendingUpDown",UT);/** + */const KT=[["path",{d:"M14.828 14.828 21 21",key:"ar5fw7"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"m21 3-9 9-4-4-6 6",key:"1h02xo"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}]],RM=e("TrendingUpDown",KT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OT=[["path",{d:"M10.17 4.193a2 2 0 0 1 3.666.013",key:"pltmmw"}],["path",{d:"M14 21h2",key:"v4qezv"}],["path",{d:"m15.874 7.743 1 1.732",key:"10m0iw"}],["path",{d:"m18.849 12.952 1 1.732",key:"zadnam"}],["path",{d:"M21.824 18.18a2 2 0 0 1-1.835 2.824",key:"fvwuk4"}],["path",{d:"M4.024 21a2 2 0 0 1-1.839-2.839",key:"1e1kah"}],["path",{d:"m5.136 12.952-1 1.732",key:"1u4ldi"}],["path",{d:"M8 21h2",key:"i9zjee"}],["path",{d:"m8.102 7.743-1 1.732",key:"1zzo4u"}]],$M=e("TriangleDashed",OT);/** + */const JT=[["path",{d:"M10.17 4.193a2 2 0 0 1 3.666.013",key:"pltmmw"}],["path",{d:"M14 21h2",key:"v4qezv"}],["path",{d:"m15.874 7.743 1 1.732",key:"10m0iw"}],["path",{d:"m18.849 12.952 1 1.732",key:"zadnam"}],["path",{d:"M21.824 18.18a2 2 0 0 1-1.835 2.824",key:"fvwuk4"}],["path",{d:"M4.024 21a2 2 0 0 1-1.839-2.839",key:"1e1kah"}],["path",{d:"m5.136 12.952-1 1.732",key:"1u4ldi"}],["path",{d:"M8 21h2",key:"i9zjee"}],["path",{d:"m8.102 7.743-1 1.732",key:"1zzo4u"}]],TM=e("TriangleDashed",JT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZT=[["path",{d:"M22 18a2 2 0 0 1-2 2H3c-1.1 0-1.3-.6-.4-1.3L20.4 4.3c.9-.7 1.6-.4 1.6.7Z",key:"183wce"}]],AM=e("TriangleRight",ZT);/** + */const QT=[["path",{d:"M22 18a2 2 0 0 1-2 2H3c-1.1 0-1.3-.6-.4-1.3L20.4 4.3c.9-.7 1.6-.4 1.6.7Z",key:"183wce"}]],UM=e("TriangleRight",QT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GT=[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]],HM=e("Triangle",GT);/** + */const YT=[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]],OM=e("Triangle",YT);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WT=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],zM=e("Truck",WT);/** + */const eU=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],ZM=e("Truck",eU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ET=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],PM=e("Turtle",ET);/** + */const aU=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],GM=e("Turtle",aU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XT=[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]],jM=e("TvMinimalPlay",XT);/** + */const oU=[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]],WM=e("TvMinimalPlay",oU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KT=[["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]],b2=e("TvMinimal",KT);/** + */const tU=[["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]],A2=e("TvMinimal",tU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JT=[["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",ry:"2",key:"10ag99"}],["polyline",{points:"17 2 12 7 7 2",key:"11pgbg"}]],VM=e("Tv",JT);/** + */const cU=[["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",ry:"2",key:"10ag99"}],["polyline",{points:"17 2 12 7 7 2",key:"11pgbg"}]],EM=e("Tv",cU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QT=[["path",{d:"M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7",key:"c0yzno"}]],BM=e("Twitch",QT);/** + */const nU=[["path",{d:"M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7",key:"c0yzno"}]],XM=e("Twitch",nU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YT=[["path",{d:"M14 16.5a.5.5 0 0 0 .5.5h.5a2 2 0 0 1 0 4H9a2 2 0 0 1 0-4h.5a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V8a2 2 0 0 1-4 0V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3a2 2 0 0 1-4 0v-.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5Z",key:"1reda3"}]],FM=e("TypeOutline",YT);/** + */const dU=[["path",{d:"M14 16.5a.5.5 0 0 0 .5.5h.5a2 2 0 0 1 0 4H9a2 2 0 0 1 0-4h.5a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V8a2 2 0 0 1-4 0V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3a2 2 0 0 1-4 0v-.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5Z",key:"1reda3"}]],KM=e("TypeOutline",dU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eU=[["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"M15.5 21a1.85 1.85 0 0 1-3.5-1v-8H2a10 10 0 0 1 3.428-6.575",key:"eki10q"}],["path",{d:"M17.5 12H22A10 10 0 0 0 9.004 3.455",key:"n2ayka"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],DM=e("UmbrellaOff",eU);/** + */const iU=[["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"M15.5 21a1.85 1.85 0 0 1-3.5-1v-8H2a10 10 0 0 1 3.428-6.575",key:"eki10q"}],["path",{d:"M17.5 12H22A10 10 0 0 0 9.004 3.455",key:"n2ayka"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],JM=e("UmbrellaOff",iU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aU=[["path",{d:"M22 12a10.06 10.06 1 0 0-20 0Z",key:"1teyop"}],["path",{d:"M12 12v8a2 2 0 0 0 4 0",key:"ulpmoc"}],["path",{d:"M12 2v1",key:"11qlp1"}]],RM=e("Umbrella",aU);/** + */const hU=[["path",{d:"M22 12a10.06 10.06 1 0 0-20 0Z",key:"1teyop"}],["path",{d:"M12 12v8a2 2 0 0 0 4 0",key:"ulpmoc"}],["path",{d:"M12 2v1",key:"11qlp1"}]],QM=e("Umbrella",hU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oU=[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]],TM=e("Underline",oU);/** + */const yU=[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]],YM=e("Underline",yU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cU=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],UM=e("Undo2",cU);/** + */const rU=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],ev=e("Undo2",rU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tU=[["path",{d:"M21 17a9 9 0 0 0-15-6.7L3 13",key:"8mp6z9"}],["path",{d:"M3 7v6h6",key:"1v2h90"}],["circle",{cx:"12",cy:"17",r:"1",key:"1ixnty"}]],OM=e("UndoDot",tU);/** + */const kU=[["path",{d:"M21 17a9 9 0 0 0-15-6.7L3 13",key:"8mp6z9"}],["path",{d:"M3 7v6h6",key:"1v2h90"}],["circle",{cx:"12",cy:"17",r:"1",key:"1ixnty"}]],av=e("UndoDot",kU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nU=[["path",{d:"M16 12h6",key:"15xry1"}],["path",{d:"M8 12H2",key:"1jqql6"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m19 15 3-3-3-3",key:"wjy7rq"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}]],ZM=e("UnfoldHorizontal",nU);/** + */const pU=[["path",{d:"M16 12h6",key:"15xry1"}],["path",{d:"M8 12H2",key:"1jqql6"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m19 15 3-3-3-3",key:"wjy7rq"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}]],ov=e("UnfoldHorizontal",pU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dU=[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m15 5-3-3-3 3",key:"itvq4r"}]],GM=e("UnfoldVertical",dU);/** + */const sU=[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m15 5-3-3-3 3",key:"itvq4r"}]],tv=e("UnfoldVertical",sU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iU=[["rect",{width:"8",height:"6",x:"5",y:"4",rx:"1",key:"nzclkv"}],["rect",{width:"8",height:"6",x:"11",y:"14",rx:"1",key:"4tytwb"}]],WM=e("Ungroup",iU);/** + */const lU=[["rect",{width:"8",height:"6",x:"5",y:"4",rx:"1",key:"nzclkv"}],["rect",{width:"8",height:"6",x:"11",y:"14",rx:"1",key:"4tytwb"}]],cv=e("Ungroup",lU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hU=[["circle",{cx:"12",cy:"10",r:"1",key:"1gnqs8"}],["path",{d:"M22 20V8h-4l-6-4-6 4H2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2",key:"1qj5sn"}],["path",{d:"M6 17v.01",key:"roodi6"}],["path",{d:"M6 13v.01",key:"67c122"}],["path",{d:"M18 17v.01",key:"12ktxm"}],["path",{d:"M18 13v.01",key:"tn1rt1"}],["path",{d:"M14 22v-5a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5",key:"11g7fi"}]],$2=e("University",hU);/** + */const uU=[["circle",{cx:"12",cy:"10",r:"1",key:"1gnqs8"}],["path",{d:"M22 20V8h-4l-6-4-6 4H2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2",key:"1qj5sn"}],["path",{d:"M6 17v.01",key:"roodi6"}],["path",{d:"M6 13v.01",key:"67c122"}],["path",{d:"M18 17v.01",key:"12ktxm"}],["path",{d:"M18 13v.01",key:"tn1rt1"}],["path",{d:"M14 22v-5a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5",key:"11g7fi"}]],H2=e("University",uU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yU=[["path",{d:"M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2",key:"1re2ne"}]],EM=e("Unlink2",yU);/** + */const MU=[["path",{d:"M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2",key:"1re2ne"}]],nv=e("Unlink2",MU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rU=[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]],XM=e("Unplug",rU);/** + */const vU=[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]],dv=e("Unplug",vU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kU=[["circle",{cx:"10",cy:"7",r:"1",key:"dypaad"}],["circle",{cx:"4",cy:"20",r:"1",key:"22iqad"}],["path",{d:"M4.7 19.3 19 5",key:"1enqfc"}],["path",{d:"m21 3-3 1 2 2Z",key:"d3ov82"}],["path",{d:"M9.26 7.68 5 12l2 5",key:"1esawj"}],["path",{d:"m10 14 5 2 3.5-3.5",key:"v8oal5"}],["path",{d:"m18 12 1-1 1 1-1 1Z",key:"1bh22v"}]],KM=e("Usb",kU);/** + */const mU=[["circle",{cx:"10",cy:"7",r:"1",key:"dypaad"}],["circle",{cx:"4",cy:"20",r:"1",key:"22iqad"}],["path",{d:"M4.7 19.3 19 5",key:"1enqfc"}],["path",{d:"m21 3-3 1 2 2Z",key:"d3ov82"}],["path",{d:"M9.26 7.68 5 12l2 5",key:"1esawj"}],["path",{d:"m10 14 5 2 3.5-3.5",key:"v8oal5"}],["path",{d:"m18 12 1-1 1 1-1 1Z",key:"1bh22v"}]],iv=e("Usb",mU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pU=[["circle",{cx:"18",cy:"15",r:"3",key:"gjjjvw"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M10 15H6a4 4 0 0 0-4 4v2",key:"1nfge6"}],["path",{d:"m21.7 16.4-.9-.3",key:"12j9ji"}],["path",{d:"m15.2 13.9-.9-.3",key:"1fdjdi"}],["path",{d:"m16.6 18.7.3-.9",key:"heedtr"}],["path",{d:"m19.1 12.2.3-.9",key:"1af3ki"}],["path",{d:"m19.6 18.7-.4-1",key:"1x9vze"}],["path",{d:"m16.8 12.3-.4-1",key:"vqeiwj"}],["path",{d:"m14.3 16.6 1-.4",key:"1qlj63"}],["path",{d:"m20.7 13.8 1-.4",key:"1v5t8k"}]],JM=e("UserCog",pU);/** + */const _U=[["circle",{cx:"18",cy:"15",r:"3",key:"gjjjvw"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M10 15H6a4 4 0 0 0-4 4v2",key:"1nfge6"}],["path",{d:"m21.7 16.4-.9-.3",key:"12j9ji"}],["path",{d:"m15.2 13.9-.9-.3",key:"1fdjdi"}],["path",{d:"m16.6 18.7.3-.9",key:"heedtr"}],["path",{d:"m19.1 12.2.3-.9",key:"1af3ki"}],["path",{d:"m19.6 18.7-.4-1",key:"1x9vze"}],["path",{d:"m16.8 12.3-.4-1",key:"vqeiwj"}],["path",{d:"m14.3 16.6 1-.4",key:"1qlj63"}],["path",{d:"m20.7 13.8 1-.4",key:"1v5t8k"}]],hv=e("UserCog",_U);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sU=[["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:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],QM=e("UserMinus",sU);/** + */const gU=[["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:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],yv=e("UserMinus",gU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lU=[["path",{d:"M11.5 15H7a4 4 0 0 0-4 4v2",key:"15lzij"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}]],YM=e("UserPen",lU);/** + */const LU=[["path",{d:"M11.5 15H7a4 4 0 0 0-4 4v2",key:"15lzij"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}]],rv=e("UserPen",LU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uU=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],A2=e("UserRoundCheck",uU);/** + */const xU=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],z2=e("UserRoundCheck",xU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MU=[["path",{d:"M2 21a8 8 0 0 1 10.434-7.62",key:"1yezr2"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m19.5 14.3-.4.9",key:"1eb35c"}],["path",{d:"m16.9 20.8-.4.9",key:"dfjc4z"}],["path",{d:"m21.7 19.5-.9-.4",key:"q4dx6b"}],["path",{d:"m15.2 16.9-.9-.4",key:"1r0w5f"}],["path",{d:"m21.7 16.5-.9.4",key:"1knoei"}],["path",{d:"m15.2 19.1-.9.4",key:"j188fs"}],["path",{d:"m19.5 21.7-.4-.9",key:"1tonu5"}],["path",{d:"m16.9 15.2-.4-.9",key:"699xu"}]],H2=e("UserRoundCog",MU);/** + */const wU=[["path",{d:"M2 21a8 8 0 0 1 10.434-7.62",key:"1yezr2"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m19.5 14.3-.4.9",key:"1eb35c"}],["path",{d:"m16.9 20.8-.4.9",key:"dfjc4z"}],["path",{d:"m21.7 19.5-.9-.4",key:"q4dx6b"}],["path",{d:"m15.2 16.9-.9-.4",key:"1r0w5f"}],["path",{d:"m21.7 16.5-.9.4",key:"1knoei"}],["path",{d:"m15.2 19.1-.9.4",key:"j188fs"}],["path",{d:"m19.5 21.7-.4-.9",key:"1tonu5"}],["path",{d:"m16.9 15.2-.4-.9",key:"699xu"}]],j2=e("UserRoundCog",wU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vU=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 19h-6",key:"vcuq98"}]],z2=e("UserRoundMinus",vU);/** + */const fU=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 19h-6",key:"vcuq98"}]],P2=e("UserRoundMinus",fU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mU=[["path",{d:"M2 21a8 8 0 0 1 10.821-7.487",key:"1c8h7z"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}]],ev=e("UserRoundPen",mU);/** + */const CU=[["path",{d:"M2 21a8 8 0 0 1 10.821-7.487",key:"1c8h7z"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}]],kv=e("UserRoundPen",CU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _U=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M22 19h-6",key:"vcuq98"}]],P2=e("UserRoundPlus",_U);/** + */const IU=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M22 19h-6",key:"vcuq98"}]],V2=e("UserRoundPlus",IU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gU=[["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M2 21a8 8 0 0 1 10.434-7.62",key:"1yezr2"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m22 22-1.9-1.9",key:"1e5ubv"}]],av=e("UserRoundSearch",gU);/** + */const NU=[["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M2 21a8 8 0 0 1 10.434-7.62",key:"1yezr2"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m22 22-1.9-1.9",key:"1e5ubv"}]],pv=e("UserRoundSearch",NU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LU=[["path",{d:"M2 21a8 8 0 0 1 11.873-7",key:"74fkxq"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m17 17 5 5",key:"p7ous7"}],["path",{d:"m22 17-5 5",key:"gqnmv0"}]],j2=e("UserRoundX",LU);/** + */const SU=[["path",{d:"M2 21a8 8 0 0 1 11.873-7",key:"74fkxq"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m17 17 5 5",key:"p7ous7"}],["path",{d:"m22 17-5 5",key:"gqnmv0"}]],B2=e("UserRoundX",SU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xU=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],V2=e("UserRound",xU);/** + */const bU=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],F2=e("UserRound",bU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wU=[["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}],["path",{d:"M10.3 15H7a4 4 0 0 0-4 4v2",key:"3bnktk"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["path",{d:"m21 21-1.9-1.9",key:"1g2n9r"}]],ov=e("UserSearch",wU);/** + */const qU=[["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}],["path",{d:"M10.3 15H7a4 4 0 0 0-4 4v2",key:"3bnktk"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["path",{d:"m21 21-1.9-1.9",key:"1g2n9r"}]],sv=e("UserSearch",qU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fU=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],B2=e("UsersRound",fU);/** + */const $U=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],D2=e("UsersRound",$U);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CU=[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]],F2=e("UtensilsCrossed",CU);/** + */const AU=[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]],R2=e("UtensilsCrossed",AU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IU=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],D2=e("Utensils",IU);/** + */const HU=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],T2=e("Utensils",HU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NU=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M3 3v2",key:"9imdir"}],["path",{d:"M7 3v2",key:"n0os7"}],["path",{d:"M17 3v2",key:"1l2re6"}],["path",{d:"M21 3v2",key:"1duuac"}],["path",{d:"m19 5-7 7-7-7",key:"133zxf"}]],cv=e("UtilityPole",NU);/** + */const zU=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M3 3v2",key:"9imdir"}],["path",{d:"M7 3v2",key:"n0os7"}],["path",{d:"M17 3v2",key:"1l2re6"}],["path",{d:"M21 3v2",key:"1duuac"}],["path",{d:"m19 5-7 7-7-7",key:"133zxf"}]],lv=e("UtilityPole",zU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SU=[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]],tv=e("Variable",SU);/** + */const jU=[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]],uv=e("Variable",jU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qU=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}],["path",{d:"m7.9 7.9 2.7 2.7",key:"hpeyl3"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}],["path",{d:"m13.4 10.6 2.7-2.7",key:"264c1n"}],["circle",{cx:"7.5",cy:"16.5",r:".5",fill:"currentColor",key:"nkw3mc"}],["path",{d:"m7.9 16.1 2.7-2.7",key:"p81g5e"}],["circle",{cx:"16.5",cy:"16.5",r:".5",fill:"currentColor",key:"fubopw"}],["path",{d:"m13.4 13.4 2.7 2.7",key:"abhel3"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],nv=e("Vault",qU);/** + */const PU=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}],["path",{d:"m7.9 7.9 2.7 2.7",key:"hpeyl3"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}],["path",{d:"m13.4 10.6 2.7-2.7",key:"264c1n"}],["circle",{cx:"7.5",cy:"16.5",r:".5",fill:"currentColor",key:"nkw3mc"}],["path",{d:"m7.9 16.1 2.7-2.7",key:"p81g5e"}],["circle",{cx:"16.5",cy:"16.5",r:".5",fill:"currentColor",key:"fubopw"}],["path",{d:"m13.4 13.4 2.7 2.7",key:"abhel3"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Mv=e("Vault",PU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const bU=[["path",{d:"M16 8q6 0 6-6-6 0-6 6",key:"qsyyc4"}],["path",{d:"M17.41 3.59a10 10 0 1 0 3 3",key:"41m9h7"}],["path",{d:"M2 2a26.6 26.6 0 0 1 10 20c.9-6.82 1.5-9.5 4-14",key:"qiv7li"}]],dv=e("Vegan",bU);/** + */const VU=[["path",{d:"M16 8q6 0 6-6-6 0-6 6",key:"qsyyc4"}],["path",{d:"M17.41 3.59a10 10 0 1 0 3 3",key:"41m9h7"}],["path",{d:"M2 2a26.6 26.6 0 0 1 10 20c.9-6.82 1.5-9.5 4-14",key:"qiv7li"}]],vv=e("Vegan",VU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $U=[["path",{d:"M18 11c-1.5 0-2.5.5-3 2",key:"1fod00"}],["path",{d:"M4 6a2 2 0 0 0-2 2v4a5 5 0 0 0 5 5 8 8 0 0 1 5 2 8 8 0 0 1 5-2 5 5 0 0 0 5-5V8a2 2 0 0 0-2-2h-3a8 8 0 0 0-5 2 8 8 0 0 0-5-2z",key:"d70hit"}],["path",{d:"M6 11c1.5 0 2.5.5 3 2",key:"136fht"}]],iv=e("VenetianMask",$U);/** + */const BU=[["path",{d:"M18 11c-1.5 0-2.5.5-3 2",key:"1fod00"}],["path",{d:"M4 6a2 2 0 0 0-2 2v4a5 5 0 0 0 5 5 8 8 0 0 1 5 2 8 8 0 0 1 5-2 5 5 0 0 0 5-5V8a2 2 0 0 0-2-2h-3a8 8 0 0 0-5 2 8 8 0 0 0-5-2z",key:"d70hit"}],["path",{d:"M6 11c1.5 0 2.5.5 3 2",key:"136fht"}]],mv=e("VenetianMask",BU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AU=[["path",{d:"M10 20h4",key:"ni2waw"}],["path",{d:"M12 16v6",key:"c8a4gj"}],["path",{d:"M17 2h4v4",key:"vhe59"}],["path",{d:"m21 2-5.46 5.46",key:"19kypf"}],["circle",{cx:"12",cy:"11",r:"5",key:"16gxyc"}]],hv=e("VenusAndMars",AU);/** + */const FU=[["path",{d:"M10 20h4",key:"ni2waw"}],["path",{d:"M12 16v6",key:"c8a4gj"}],["path",{d:"M17 2h4v4",key:"vhe59"}],["path",{d:"m21 2-5.46 5.46",key:"19kypf"}],["circle",{cx:"12",cy:"11",r:"5",key:"16gxyc"}]],_v=e("VenusAndMars",FU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HU=[["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M9 19h6",key:"456am0"}],["circle",{cx:"12",cy:"9",r:"6",key:"1nw4tq"}]],yv=e("Venus",HU);/** + */const DU=[["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M9 19h6",key:"456am0"}],["circle",{cx:"12",cy:"9",r:"6",key:"1nw4tq"}]],gv=e("Venus",DU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zU=[["path",{d:"m2 8 2 2-2 2 2 2-2 2",key:"sv1b1"}],["path",{d:"m22 8-2 2 2 2-2 2 2 2",key:"101i4y"}],["path",{d:"M8 8v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2",key:"1hbad5"}],["path",{d:"M16 10.34V6c0-.55-.45-1-1-1h-4.34",key:"1x5tf0"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],rv=e("VibrateOff",zU);/** + */const RU=[["path",{d:"m2 8 2 2-2 2 2 2-2 2",key:"sv1b1"}],["path",{d:"m22 8-2 2 2 2-2 2 2 2",key:"101i4y"}],["path",{d:"M8 8v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2",key:"1hbad5"}],["path",{d:"M16 10.34V6c0-.55-.45-1-1-1h-4.34",key:"1x5tf0"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Lv=e("VibrateOff",RU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PU=[["path",{d:"m2 8 2 2-2 2 2 2-2 2",key:"sv1b1"}],["path",{d:"m22 8-2 2 2 2-2 2 2 2",key:"101i4y"}],["rect",{width:"8",height:"14",x:"8",y:"5",rx:"1",key:"1oyrl4"}]],kv=e("Vibrate",PU);/** + */const TU=[["path",{d:"m2 8 2 2-2 2 2 2-2 2",key:"sv1b1"}],["path",{d:"m22 8-2 2 2 2-2 2 2 2",key:"101i4y"}],["rect",{width:"8",height:"14",x:"8",y:"5",rx:"1",key:"1oyrl4"}]],xv=e("Vibrate",TU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jU=[["path",{d:"M10.66 6H14a2 2 0 0 1 2 2v2.5l5.248-3.062A.5.5 0 0 1 22 7.87v8.196",key:"w8jjjt"}],["path",{d:"M16 16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2",key:"1xawa7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],pv=e("VideoOff",jU);/** + */const UU=[["path",{d:"M10.66 6H14a2 2 0 0 1 2 2v2.5l5.248-3.062A.5.5 0 0 1 22 7.87v8.196",key:"w8jjjt"}],["path",{d:"M16 16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2",key:"1xawa7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],wv=e("VideoOff",UU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VU=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],sv=e("Video",VU);/** + */const OU=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],fv=e("Video",OU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BU=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M2 8h20",key:"d11cs7"}],["circle",{cx:"8",cy:"14",r:"2",key:"1k2qr5"}],["path",{d:"M8 12h8",key:"1wcyev"}],["circle",{cx:"16",cy:"14",r:"2",key:"14k7lr"}]],lv=e("Videotape",BU);/** + */const ZU=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"M2 8h20",key:"d11cs7"}],["circle",{cx:"8",cy:"14",r:"2",key:"1k2qr5"}],["path",{d:"M8 12h8",key:"1wcyev"}],["circle",{cx:"16",cy:"14",r:"2",key:"14k7lr"}]],Cv=e("Videotape",ZU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FU=[["path",{d:"M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2",key:"mrq65r"}],["path",{d:"M21 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2",key:"be3xqs"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]],uv=e("View",FU);/** + */const GU=[["path",{d:"M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2",key:"mrq65r"}],["path",{d:"M21 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2",key:"be3xqs"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]],Iv=e("View",GU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DU=[["circle",{cx:"6",cy:"12",r:"4",key:"1ehtga"}],["circle",{cx:"18",cy:"12",r:"4",key:"4vafl8"}],["line",{x1:"6",x2:"18",y1:"16",y2:"16",key:"pmt8us"}]],Mv=e("Voicemail",DU);/** + */const WU=[["circle",{cx:"6",cy:"12",r:"4",key:"1ehtga"}],["circle",{cx:"18",cy:"12",r:"4",key:"4vafl8"}],["line",{x1:"6",x2:"18",y1:"16",y2:"16",key:"pmt8us"}]],Nv=e("Voicemail",WU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RU=[["path",{d:"M11.1 7.1a16.55 16.55 0 0 1 10.9 4",key:"2880wi"}],["path",{d:"M12 12a12.6 12.6 0 0 1-8.7 5",key:"113sja"}],["path",{d:"M16.8 13.6a16.55 16.55 0 0 1-9 7.5",key:"1qmsgl"}],["path",{d:"M20.7 17a12.8 12.8 0 0 0-8.7-5 13.3 13.3 0 0 1 0-10",key:"1bmeqp"}],["path",{d:"M6.3 3.8a16.55 16.55 0 0 0 1.9 11.5",key:"iekzv9"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],vv=e("Volleyball",RU);/** + */const EU=[["path",{d:"M11.1 7.1a16.55 16.55 0 0 1 10.9 4",key:"2880wi"}],["path",{d:"M12 12a12.6 12.6 0 0 1-8.7 5",key:"113sja"}],["path",{d:"M16.8 13.6a16.55 16.55 0 0 1-9 7.5",key:"1qmsgl"}],["path",{d:"M20.7 17a12.8 12.8 0 0 0-8.7-5 13.3 13.3 0 0 1 0-10",key:"1bmeqp"}],["path",{d:"M6.3 3.8a16.55 16.55 0 0 0 1.9 11.5",key:"iekzv9"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Sv=e("Volleyball",EU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TU=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}]],mv=e("Volume1",TU);/** + */const XU=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}]],bv=e("Volume1",XU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UU=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],_v=e("Volume2",UU);/** + */const KU=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],qv=e("Volume2",KU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OU=[["path",{d:"M16 9a5 5 0 0 1 .95 2.293",key:"1fgyg8"}],["path",{d:"M19.364 5.636a9 9 0 0 1 1.889 9.96",key:"l3zxae"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"m7 7-.587.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298V11",key:"1gbwow"}],["path",{d:"M9.828 4.172A.686.686 0 0 1 11 4.657v.686",key:"s2je0y"}]],gv=e("VolumeOff",OU);/** + */const JU=[["path",{d:"M16 9a5 5 0 0 1 .95 2.293",key:"1fgyg8"}],["path",{d:"M19.364 5.636a9 9 0 0 1 1.889 9.96",key:"l3zxae"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"m7 7-.587.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298V11",key:"1gbwow"}],["path",{d:"M9.828 4.172A.686.686 0 0 1 11 4.657v.686",key:"s2je0y"}]],$v=e("VolumeOff",JU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZU=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]],Lv=e("VolumeX",ZU);/** + */const QU=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]],Av=e("VolumeX",QU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GU=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}]],xv=e("Volume",GU);/** + */const YU=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}]],Hv=e("Volume",YU);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WU=[["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}],["path",{d:"M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z",key:"1ezoue"}],["path",{d:"M22 19H2",key:"nuriw5"}]],wv=e("Vote",WU);/** + */const eO=[["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}],["path",{d:"M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z",key:"1ezoue"}],["path",{d:"M22 19H2",key:"nuriw5"}]],zv=e("Vote",eO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const EU=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2",key:"4125el"}],["path",{d:"M3 11h3c.8 0 1.6.3 2.1.9l1.1.9c1.6 1.6 4.1 1.6 5.7 0l1.1-.9c.5-.5 1.3-.9 2.1-.9H21",key:"1dpki6"}]],fv=e("WalletCards",EU);/** + */const aO=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2",key:"4125el"}],["path",{d:"M3 11h3c.8 0 1.6.3 2.1.9l1.1.9c1.6 1.6 4.1 1.6 5.7 0l1.1-.9c.5-.5 1.3-.9 2.1-.9H21",key:"1dpki6"}]],jv=e("WalletCards",aO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XU=[["path",{d:"M17 14h.01",key:"7oqj8z"}],["path",{d:"M7 7h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14",key:"u1rqew"}]],R2=e("WalletMinimal",XU);/** + */const oO=[["path",{d:"M17 14h.01",key:"7oqj8z"}],["path",{d:"M7 7h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14",key:"u1rqew"}]],U2=e("WalletMinimal",oO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KU=[["circle",{cx:"8",cy:"9",r:"2",key:"gjzl9d"}],["path",{d:"m9 17 6.1-6.1a2 2 0 0 1 2.81.01L22 15V5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2",key:"69xh40"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}]],Cv=e("Wallpaper",KU);/** + */const tO=[["circle",{cx:"8",cy:"9",r:"2",key:"gjzl9d"}],["path",{d:"m9 17 6.1-6.1a2 2 0 0 1 2.81.01L22 15V5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2",key:"69xh40"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}]],Pv=e("Wallpaper",tO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JU=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],T2=e("WandSparkles",JU);/** + */const cO=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],O2=e("WandSparkles",cO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QU=[["path",{d:"M15 4V2",key:"z1p9b7"}],["path",{d:"M15 16v-2",key:"px0unx"}],["path",{d:"M8 9h2",key:"1g203m"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M17.8 11.8 19 13",key:"yihg8r"}],["path",{d:"M15 9h.01",key:"x1ddxp"}],["path",{d:"M17.8 6.2 19 5",key:"fd4us0"}],["path",{d:"m3 21 9-9",key:"1jfql5"}],["path",{d:"M12.2 6.2 11 5",key:"i3da3b"}]],Iv=e("Wand",QU);/** + */const nO=[["path",{d:"M15 4V2",key:"z1p9b7"}],["path",{d:"M15 16v-2",key:"px0unx"}],["path",{d:"M8 9h2",key:"1g203m"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M17.8 11.8 19 13",key:"yihg8r"}],["path",{d:"M15 9h.01",key:"x1ddxp"}],["path",{d:"M17.8 6.2 19 5",key:"fd4us0"}],["path",{d:"m3 21 9-9",key:"1jfql5"}],["path",{d:"M12.2 6.2 11 5",key:"i3da3b"}]],Vv=e("Wand",nO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YU=[["path",{d:"M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z",key:"gksnxg"}],["path",{d:"M6 18h12",key:"9pbo8z"}],["path",{d:"M6 14h12",key:"4cwo0f"}],["rect",{width:"12",height:"12",x:"6",y:"10",key:"apd30q"}]],Nv=e("Warehouse",YU);/** + */const dO=[["path",{d:"M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z",key:"gksnxg"}],["path",{d:"M6 18h12",key:"9pbo8z"}],["path",{d:"M6 14h12",key:"4cwo0f"}],["rect",{width:"12",height:"12",x:"6",y:"10",key:"apd30q"}]],Bv=e("Warehouse",dO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eO=[["path",{d:"M3 6h3",key:"155dbl"}],["path",{d:"M17 6h.01",key:"e2y6kg"}],["rect",{width:"18",height:"20",x:"3",y:"2",rx:"2",key:"od3kk9"}],["circle",{cx:"12",cy:"13",r:"5",key:"nlbqau"}],["path",{d:"M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5",key:"17lach"}]],Sv=e("WashingMachine",eO);/** + */const iO=[["path",{d:"M3 6h3",key:"155dbl"}],["path",{d:"M17 6h.01",key:"e2y6kg"}],["rect",{width:"18",height:"20",x:"3",y:"2",rx:"2",key:"od3kk9"}],["circle",{cx:"12",cy:"13",r:"5",key:"nlbqau"}],["path",{d:"M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5",key:"17lach"}]],Fv=e("WashingMachine",iO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aO=[["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["polyline",{points:"12 10 12 12 13 13",key:"19dquz"}],["path",{d:"m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05",key:"18k57s"}],["path",{d:"m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05",key:"16ny36"}]],qv=e("Watch",aO);/** + */const hO=[["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["polyline",{points:"12 10 12 12 13 13",key:"19dquz"}],["path",{d:"m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05",key:"18k57s"}],["path",{d:"m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05",key:"16ny36"}]],Dv=e("Watch",hO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const oO=[["path",{d:"M19 5a2 2 0 0 0-2 2v11",key:"s41o68"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}],["path",{d:"M7 13h10",key:"1rwob1"}],["path",{d:"M7 9h10",key:"12czzb"}],["path",{d:"M9 5a2 2 0 0 0-2 2v11",key:"x0q4gh"}]],bv=e("WavesLadder",oO);/** + */const yO=[["path",{d:"M19 5a2 2 0 0 0-2 2v11",key:"s41o68"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}],["path",{d:"M7 13h10",key:"1rwob1"}],["path",{d:"M7 9h10",key:"12czzb"}],["path",{d:"M9 5a2 2 0 0 0-2 2v11",key:"x0q4gh"}]],Rv=e("WavesLadder",yO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const cO=[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]],$v=e("Waves",cO);/** + */const rO=[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]],Tv=e("Waves",rO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tO=[["circle",{cx:"12",cy:"4.5",r:"2.5",key:"r5ysbb"}],["path",{d:"m10.2 6.3-3.9 3.9",key:"1nzqf6"}],["circle",{cx:"4.5",cy:"12",r:"2.5",key:"jydg6v"}],["path",{d:"M7 12h10",key:"b7w52i"}],["circle",{cx:"19.5",cy:"12",r:"2.5",key:"1piiel"}],["path",{d:"m13.8 17.7 3.9-3.9",key:"1wyg1y"}],["circle",{cx:"12",cy:"19.5",r:"2.5",key:"13o1pw"}]],Av=e("Waypoints",tO);/** + */const kO=[["circle",{cx:"12",cy:"4.5",r:"2.5",key:"r5ysbb"}],["path",{d:"m10.2 6.3-3.9 3.9",key:"1nzqf6"}],["circle",{cx:"4.5",cy:"12",r:"2.5",key:"jydg6v"}],["path",{d:"M7 12h10",key:"b7w52i"}],["circle",{cx:"19.5",cy:"12",r:"2.5",key:"1piiel"}],["path",{d:"m13.8 17.7 3.9-3.9",key:"1wyg1y"}],["circle",{cx:"12",cy:"19.5",r:"2.5",key:"13o1pw"}]],Uv=e("Waypoints",kO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nO=[["circle",{cx:"12",cy:"10",r:"8",key:"1gshiw"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 22h10",key:"10w4w3"}],["path",{d:"M12 22v-4",key:"1utk9m"}]],Hv=e("Webcam",nO);/** + */const pO=[["circle",{cx:"12",cy:"10",r:"8",key:"1gshiw"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 22h10",key:"10w4w3"}],["path",{d:"M12 22v-4",key:"1utk9m"}]],Ov=e("Webcam",pO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dO=[["path",{d:"M17 17h-5c-1.09-.02-1.94.92-2.5 1.9A3 3 0 1 1 2.57 15",key:"1tvl6x"}],["path",{d:"M9 3.4a4 4 0 0 1 6.52.66",key:"q04jfq"}],["path",{d:"m6 17 3.1-5.8a2.5 2.5 0 0 0 .057-2.05",key:"azowf0"}],["path",{d:"M20.3 20.3a4 4 0 0 1-2.3.7",key:"5joiws"}],["path",{d:"M18.6 13a4 4 0 0 1 3.357 3.414",key:"cangb8"}],["path",{d:"m12 6 .6 1",key:"tpjl1n"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],zv=e("WebhookOff",dO);/** + */const sO=[["path",{d:"M17 17h-5c-1.09-.02-1.94.92-2.5 1.9A3 3 0 1 1 2.57 15",key:"1tvl6x"}],["path",{d:"M9 3.4a4 4 0 0 1 6.52.66",key:"q04jfq"}],["path",{d:"m6 17 3.1-5.8a2.5 2.5 0 0 0 .057-2.05",key:"azowf0"}],["path",{d:"M20.3 20.3a4 4 0 0 1-2.3.7",key:"5joiws"}],["path",{d:"M18.6 13a4 4 0 0 1 3.357 3.414",key:"cangb8"}],["path",{d:"m12 6 .6 1",key:"tpjl1n"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Zv=e("WebhookOff",sO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iO=[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]],Pv=e("Webhook",iO);/** + */const lO=[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]],Gv=e("Webhook",lO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hO=[["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}],["path",{d:"M6.5 8a2 2 0 0 0-1.905 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8Z",key:"56o5sh"}]],jv=e("Weight",hO);/** + */const uO=[["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}],["path",{d:"M6.5 8a2 2 0 0 0-1.905 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8Z",key:"56o5sh"}]],Wv=e("Weight",uO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yO=[["path",{d:"m2 22 10-10",key:"28ilpk"}],["path",{d:"m16 8-1.17 1.17",key:"1qqm82"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"m8 8-.53.53a3.5 3.5 0 0 0 0 4.94L9 15l1.53-1.53c.55-.55.88-1.25.98-1.97",key:"4wz8re"}],["path",{d:"M10.91 5.26c.15-.26.34-.51.56-.73L13 3l1.53 1.53a3.5 3.5 0 0 1 .28 4.62",key:"rves66"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"m16 16-.53.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.49 3.49 0 0 1 1.97-.98",key:"ak46r"}],["path",{d:"M18.74 13.09c.26-.15.51-.34.73-.56L21 11l-1.53-1.53a3.5 3.5 0 0 0-4.62-.28",key:"1tw520"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Vv=e("WheatOff",yO);/** + */const MO=[["path",{d:"m2 22 10-10",key:"28ilpk"}],["path",{d:"m16 8-1.17 1.17",key:"1qqm82"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"m8 8-.53.53a3.5 3.5 0 0 0 0 4.94L9 15l1.53-1.53c.55-.55.88-1.25.98-1.97",key:"4wz8re"}],["path",{d:"M10.91 5.26c.15-.26.34-.51.56-.73L13 3l1.53 1.53a3.5 3.5 0 0 1 .28 4.62",key:"rves66"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"m16 16-.53.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.49 3.49 0 0 1 1.97-.98",key:"ak46r"}],["path",{d:"M18.74 13.09c.26-.15.51-.34.73-.56L21 11l-1.53-1.53a3.5 3.5 0 0 0-4.62-.28",key:"1tw520"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Ev=e("WheatOff",MO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rO=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],Bv=e("Wheat",rO);/** + */const vO=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],Xv=e("Wheat",vO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kO=[["circle",{cx:"7",cy:"12",r:"3",key:"12clwm"}],["path",{d:"M10 9v6",key:"17i7lo"}],["circle",{cx:"17",cy:"12",r:"3",key:"gl7c2s"}],["path",{d:"M14 7v8",key:"dl84cr"}],["path",{d:"M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1",key:"lt2kga"}]],Fv=e("WholeWord",kO);/** + */const mO=[["circle",{cx:"7",cy:"12",r:"3",key:"12clwm"}],["path",{d:"M10 9v6",key:"17i7lo"}],["circle",{cx:"17",cy:"12",r:"3",key:"gl7c2s"}],["path",{d:"M14 7v8",key:"dl84cr"}],["path",{d:"M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1",key:"lt2kga"}]],Kv=e("WholeWord",mO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pO=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],Dv=e("WifiHigh",pO);/** + */const _O=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],Jv=e("WifiHigh",_O);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sO=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],Rv=e("WifiLow",sO);/** + */const gO=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],Qv=e("WifiLow",gO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lO=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Tv=e("WifiOff",lO);/** + */const LO=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Yv=e("WifiOff",LO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uO=[["path",{d:"M12 20h.01",key:"zekei9"}]],Uv=e("WifiZero",uO);/** + */const xO=[["path",{d:"M12 20h.01",key:"zekei9"}]],em=e("WifiZero",xO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MO=[["path",{d:"M10 2v8",key:"d4bbey"}],["path",{d:"M12.8 21.6A2 2 0 1 0 14 18H2",key:"19kp1d"}],["path",{d:"M17.5 10a2.5 2.5 0 1 1 2 4H2",key:"19kpjc"}],["path",{d:"m6 6 4 4 4-4",key:"k13n16"}]],Ov=e("WindArrowDown",MO);/** + */const wO=[["path",{d:"M10 2v8",key:"d4bbey"}],["path",{d:"M12.8 21.6A2 2 0 1 0 14 18H2",key:"19kp1d"}],["path",{d:"M17.5 10a2.5 2.5 0 1 1 2 4H2",key:"19kpjc"}],["path",{d:"m6 6 4 4 4-4",key:"k13n16"}]],am=e("WindArrowDown",wO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vO=[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]],Zv=e("Wind",vO);/** + */const fO=[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]],om=e("Wind",fO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const mO=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h3m7 0h-1.343",key:"v48bem"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M7.307 7.307A12.33 12.33 0 0 0 7 10a5 5 0 0 0 7.391 4.391M8.638 2.981C8.75 2.668 8.872 2.34 9 2h6c1.5 4 2 6 2 8 0 .407-.05.809-.145 1.198",key:"1ymjlu"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Gv=e("WineOff",mO);/** + */const CO=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h3m7 0h-1.343",key:"v48bem"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M7.307 7.307A12.33 12.33 0 0 0 7 10a5 5 0 0 0 7.391 4.391M8.638 2.981C8.75 2.668 8.872 2.34 9 2h6c1.5 4 2 6 2 8 0 .407-.05.809-.145 1.198",key:"1ymjlu"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],tm=e("WineOff",CO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _O=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],Wv=e("Wine",_O);/** + */const IO=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],cm=e("Wine",IO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gO=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],Ev=e("Workflow",gO);/** + */const NO=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],nm=e("Workflow",NO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LO=[["path",{d:"m19 12-1.5 3",key:"9bcu4o"}],["path",{d:"M19.63 18.81 22 20",key:"121v98"}],["path",{d:"M6.47 8.23a1.68 1.68 0 0 1 2.44 1.93l-.64 2.08a6.76 6.76 0 0 0 10.16 7.67l.42-.27a1 1 0 1 0-2.73-4.21l-.42.27a1.76 1.76 0 0 1-2.63-1.99l.64-2.08A6.66 6.66 0 0 0 3.94 3.9l-.7.4a1 1 0 1 0 2.55 4.34z",key:"1tij6q"}]],Xv=e("Worm",LO);/** + */const SO=[["path",{d:"m19 12-1.5 3",key:"9bcu4o"}],["path",{d:"M19.63 18.81 22 20",key:"121v98"}],["path",{d:"M6.47 8.23a1.68 1.68 0 0 1 2.44 1.93l-.64 2.08a6.76 6.76 0 0 0 10.16 7.67l.42-.27a1 1 0 1 0-2.73-4.21l-.42.27a1.76 1.76 0 0 1-2.63-1.99l.64-2.08A6.66 6.66 0 0 0 3.94 3.9l-.7.4a1 1 0 1 0 2.55 4.34z",key:"1tij6q"}]],dm=e("Worm",SO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xO=[["line",{x1:"3",x2:"21",y1:"6",y2:"6",key:"4m8b97"}],["path",{d:"M3 12h15a3 3 0 1 1 0 6h-4",key:"1cl7v7"}],["polyline",{points:"16 16 14 18 16 20",key:"1jznyi"}],["line",{x1:"3",x2:"10",y1:"18",y2:"18",key:"1h33wv"}]],Kv=e("WrapText",xO);/** + */const bO=[["line",{x1:"3",x2:"21",y1:"6",y2:"6",key:"4m8b97"}],["path",{d:"M3 12h15a3 3 0 1 1 0 6h-4",key:"1cl7v7"}],["polyline",{points:"16 16 14 18 16 20",key:"1jznyi"}],["line",{x1:"3",x2:"10",y1:"18",y2:"18",key:"1h33wv"}]],im=e("WrapText",bO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wO=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],Jv=e("Youtube",wO);/** + */const qO=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],hm=e("Youtube",qO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fO=[["path",{d:"M10.513 4.856 13.12 2.17a.5.5 0 0 1 .86.46l-1.377 4.317",key:"193nxd"}],["path",{d:"M15.656 10H20a1 1 0 0 1 .78 1.63l-1.72 1.773",key:"27a7lr"}],["path",{d:"M16.273 16.273 10.88 21.83a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14H4a1 1 0 0 1-.78-1.63l4.507-4.643",key:"1e0qe9"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Qv=e("ZapOff",fO);/** + */const $O=[["path",{d:"M10.513 4.856 13.12 2.17a.5.5 0 0 1 .86.46l-1.377 4.317",key:"193nxd"}],["path",{d:"M15.656 10H20a1 1 0 0 1 .78 1.63l-1.72 1.773",key:"27a7lr"}],["path",{d:"M16.273 16.273 10.88 21.83a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14H4a1 1 0 0 1-.78-1.63l4.507-4.643",key:"1e0qe9"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],ym=e("ZapOff",$O);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CO=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Yv=e("ZoomIn",CO);/** + */const AO=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],rm=e("ZoomIn",AO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IO=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],em=e("ZoomOut",IO);/** + */const HO=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],km=e("ZoomOut",HO);/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NO=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Io,AArrowUp:No,ALargeSmall:So,Accessibility:qo,Activity:bo,AirVent:$o,Airplay:Ao,AlarmClock:zo,AlarmClockCheck:q,AlarmClockMinus:b,AlarmClockOff:Ho,AlarmClockPlus:$,AlarmSmoke:Po,Album:jo,AlignCenter:t0,AlignCenterHorizontal:Vo,AlignCenterVertical:Bo,AlignEndHorizontal:Fo,AlignEndVertical:Do,AlignHorizontalDistributeCenter:Ro,AlignHorizontalDistributeEnd:To,AlignHorizontalDistributeStart:Uo,AlignHorizontalJustifyCenter:Oo,AlignHorizontalJustifyEnd:Zo,AlignHorizontalJustifyStart:Go,AlignHorizontalSpaceAround:Wo,AlignHorizontalSpaceBetween:Eo,AlignJustify:Xo,AlignLeft:n0,AlignRight:d0,AlignStartHorizontal:Ko,AlignStartVertical:Jo,AlignVerticalDistributeCenter:Qo,AlignVerticalDistributeEnd:Yo,AlignVerticalDistributeStart:ec,AlignVerticalJustifyCenter:ac,AlignVerticalJustifyEnd:oc,AlignVerticalJustifyStart:cc,AlignVerticalSpaceAround:tc,AlignVerticalSpaceBetween:nc,Ambulance:dc,Ampersand:ic,Ampersands:hc,Amphora:yc,Anchor:rc,Angry:kc,Annoyed:pc,Antenna:sc,Anvil:lc,Aperture:uc,AppWindow:vc,AppWindowMac:Mc,Apple:mc,Archive:l0,ArchiveRestore:_c,ArchiveX:gc,Armchair:Lc,ArrowBigDown:wc,ArrowBigDownDash:xc,ArrowBigLeft:Cc,ArrowBigLeftDash:fc,ArrowBigRight:Nc,ArrowBigRightDash:Ic,ArrowBigUp:qc,ArrowBigUpDash:Sc,ArrowDown:Bc,ArrowDown01:bc,ArrowDown10:$c,ArrowDownAZ:A,ArrowDownFromLine:Ac,ArrowDownLeft:_0,ArrowDownNarrowWide:Hc,ArrowDownRight:zc,ArrowDownToDot:Pc,ArrowDownToLine:jc,ArrowDownUp:Vc,ArrowDownWideNarrow:H,ArrowDownZA:z,ArrowLeft:g0,ArrowLeftFromLine:Fc,ArrowLeftRight:Dc,ArrowLeftToLine:Rc,ArrowRight:x0,ArrowRightFromLine:Tc,ArrowRightLeft:L0,ArrowRightToLine:Uc,ArrowUp:Jc,ArrowUp01:Oc,ArrowUp10:Zc,ArrowUpAZ:P,ArrowUpDown:w0,ArrowUpFromDot:Gc,ArrowUpFromLine:Wc,ArrowUpLeft:Ec,ArrowUpNarrowWide:j,ArrowUpRight:f0,ArrowUpToLine:Xc,ArrowUpWideNarrow:Kc,ArrowUpZA:V,ArrowsUpFromLine:Qc,Asterisk:Yc,AtSign:et,Atom:at,AudioLines:ot,AudioWaveform:ct,Award:N0,Axe:tt,Axis3d:B,Baby:nt,Backpack:dt,Badge:xt,BadgeAlert:it,BadgeCent:ht,BadgeCheck:F,BadgeDollarSign:yt,BadgeEuro:rt,BadgeHelp:kt,BadgeIndianRupee:pt,BadgeInfo:st,BadgeJapaneseYen:lt,BadgeMinus:ut,BadgePercent:Mt,BadgePlus:vt,BadgePoundSterling:mt,BadgeRussianRuble:_t,BadgeSwissFranc:gt,BadgeX:Lt,BaggageClaim:wt,Ban:S0,Banana:ft,Bandage:Ct,Banknote:q0,Barcode:It,Baseline:Nt,Bath:St,Battery:Pt,BatteryCharging:qt,BatteryFull:bt,BatteryLow:$t,BatteryMedium:At,BatteryPlus:Ht,BatteryWarning:zt,Beaker:jt,Bean:Bt,BeanOff:Vt,Bed:Rt,BedDouble:Ft,BedSingle:Dt,Beef:Tt,Beer:Ot,BeerOff:Ut,Bell:$0,BellDot:Zt,BellElectric:Gt,BellMinus:Wt,BellOff:Et,BellPlus:Xt,BellRing:Kt,BetweenHorizontalEnd:D,BetweenHorizontalStart:R,BetweenVerticalEnd:Jt,BetweenVerticalStart:Qt,BicepsFlexed:Yt,Bike:en,Binary:an,Binoculars:on,Biohazard:cn,Bird:tn,Bitcoin:nn,Blend:dn,Blinds:hn,Blocks:yn,Bluetooth:sn,BluetoothConnected:rn,BluetoothOff:kn,BluetoothSearching:pn,Bold:i0,Bolt:ln,Bomb:un,Bone:Mn,Book:u0,BookA:vn,BookAudio:mn,BookCheck:_n,BookCopy:gn,BookDashed:T,BookDown:Ln,BookHeadphones:xn,BookHeart:wn,BookImage:fn,BookKey:Cn,BookLock:In,BookMarked:Nn,BookMinus:Sn,BookOpen:A0,BookOpenCheck:qn,BookOpenText:bn,BookPlus:$n,BookText:An,BookType:Hn,BookUp:Pn,BookUp2:zn,BookUser:jn,BookX:Vn,Bookmark:Tn,BookmarkCheck:Bn,BookmarkMinus:Fn,BookmarkPlus:Dn,BookmarkX:Rn,BoomBox:Un,Bot:Gn,BotMessageSquare:On,BotOff:Zn,Box:Wn,Boxes:H0,Braces:U,Brackets:En,Brain:z0,BrainCircuit:Xn,BrainCog:Kn,BrickWall:Jn,Briefcase:j0,BriefcaseBusiness:Qn,BriefcaseConveyorBelt:Yn,BriefcaseMedical:ed,BringToFront:ad,Brush:od,Bug:nd,BugOff:cd,BugPlay:td,Building:B0,Building2:V0,Bus:id,BusFront:dd,Cable:yd,CableCar:hd,Cake:kd,CakeSlice:rd,Calculator:F0,Calendar:T0,Calendar1:pd,CalendarArrowDown:sd,CalendarArrowUp:ld,CalendarCheck:D0,CalendarCheck2:ud,CalendarClock:Md,CalendarCog:vd,CalendarDays:R0,CalendarFold:md,CalendarHeart:_d,CalendarMinus:Ld,CalendarMinus2:gd,CalendarOff:xd,CalendarPlus:fd,CalendarPlus2:wd,CalendarRange:Cd,CalendarSearch:Id,CalendarSync:Nd,CalendarX:qd,CalendarX2:Sd,Camera:U0,CameraOff:bd,Candy:Hd,CandyCane:$d,CandyOff:Ad,Cannabis:zd,Captions:O,CaptionsOff:Pd,Car:Bd,CarFront:jd,CarTaxiFront:Vd,Caravan:Fd,Carrot:Dd,CaseLower:Rd,CaseSensitive:Td,CaseUpper:Ud,CassetteTape:Od,Cast:Zd,Castle:Gd,Cat:Wd,Cctv:Ed,ChartArea:Z,ChartBar:W,ChartBarBig:G,ChartBarDecreasing:Xd,ChartBarIncreasing:Kd,ChartBarStacked:Jd,ChartCandlestick:E,ChartColumn:u,ChartColumnBig:X,ChartColumnDecreasing:Qd,ChartColumnIncreasing:K,ChartColumnStacked:Yd,ChartGantt:ei,ChartLine:J,ChartNetwork:ai,ChartNoAxesColumn:v,ChartNoAxesColumnDecreasing:oi,ChartNoAxesColumnIncreasing:M,ChartNoAxesCombined:ci,ChartNoAxesGantt:Q,ChartPie:Y,ChartScatter:e1,ChartSpline:ti,Check:E2,CheckCheck:ni,ChefHat:di,Cherry:ii,ChevronDown:O2,ChevronFirst:hi,ChevronLast:yi,ChevronLeft:O0,ChevronRight:Z0,ChevronUp:Z2,ChevronsDown:ki,ChevronsDownUp:ri,ChevronsLeft:li,ChevronsLeftRight:si,ChevronsLeftRightEllipsis:pi,ChevronsRight:Mi,ChevronsRightLeft:ui,ChevronsUp:vi,ChevronsUpDown:G2,Chrome:mi,Church:_i,Cigarette:Li,CigaretteOff:gi,Circle:G0,CircleAlert:m,CircleArrowDown:a1,CircleArrowLeft:o1,CircleArrowOutDownLeft:c1,CircleArrowOutDownRight:t1,CircleArrowOutUpLeft:n1,CircleArrowOutUpRight:d1,CircleArrowRight:i1,CircleArrowUp:h1,CircleCheck:g,CircleCheckBig:_,CircleChevronDown:y1,CircleChevronLeft:r1,CircleChevronRight:k1,CircleChevronUp:p1,CircleDashed:xi,CircleDivide:s1,CircleDollarSign:wi,CircleDot:Ci,CircleDotDashed:fi,CircleEllipsis:Ii,CircleEqual:Ni,CircleFadingArrowUp:Si,CircleFadingPlus:qi,CircleGauge:l1,CircleHelp:L,CircleMinus:u1,CircleOff:bi,CircleParking:v1,CircleParkingOff:M1,CirclePause:m1,CirclePercent:_1,CirclePlay:g1,CirclePlus:L1,CirclePower:x1,CircleSlash:$i,CircleSlash2:w1,CircleSmall:Ai,CircleStop:f1,CircleUser:I1,CircleUserRound:C1,CircleX:x,CircuitBoard:Hi,Citrus:zi,Clapperboard:Pi,Clipboard:Ui,ClipboardCheck:ji,ClipboardCopy:Vi,ClipboardList:W0,ClipboardMinus:Bi,ClipboardPaste:Fi,ClipboardPen:S1,ClipboardPenLine:N1,ClipboardPlus:Di,ClipboardType:Ri,ClipboardX:Ti,Clock:E0,Clock1:Oi,Clock10:Zi,Clock11:Gi,Clock12:Wi,Clock2:Ei,Clock3:Xi,Clock4:Ki,Clock5:Ji,Clock6:Qi,Clock7:Yi,Clock8:eh,Clock9:ah,ClockAlert:oh,ClockArrowDown:ch,ClockArrowUp:th,Cloud:_h,CloudAlert:nh,CloudCog:dh,CloudDownload:q1,CloudDrizzle:ih,CloudFog:hh,CloudHail:yh,CloudLightning:rh,CloudMoon:ph,CloudMoonRain:kh,CloudOff:sh,CloudRain:uh,CloudRainWind:lh,CloudSnow:Mh,CloudSun:mh,CloudSunRain:vh,CloudUpload:b1,Cloudy:gh,Clover:Lh,Club:xh,Code:X0,CodeXml:$1,Codepen:wh,Codesandbox:fh,Coffee:Ch,Cog:Ih,Coins:K0,Columns2:A1,Columns3:H1,Columns4:Nh,Combine:Sh,Command:qh,Compass:bh,Component:$h,Computer:Ah,ConciergeBell:Hh,Cone:zh,Construction:Ph,Contact:jh,ContactRound:z1,Container:Vh,Contrast:Bh,Cookie:Fh,CookingPot:Dh,Copy:J0,CopyCheck:Rh,CopyMinus:Th,CopyPlus:Uh,CopySlash:Oh,CopyX:Zh,Copyleft:Gh,Copyright:Wh,CornerDownLeft:Eh,CornerDownRight:Xh,CornerLeftDown:Kh,CornerLeftUp:Jh,CornerRightDown:Qh,CornerRightUp:Yh,CornerUpLeft:ey,CornerUpRight:ay,Cpu:oy,CreativeCommons:cy,CreditCard:Q0,Croissant:ty,Crop:ny,Cross:dy,Crosshair:Y0,Crown:ea,Cuboid:iy,CupSoda:hy,Currency:yy,Cylinder:ry,Dam:ky,Database:ly,DatabaseBackup:py,DatabaseZap:sy,Delete:uy,Dessert:My,Diameter:vy,Diamond:gy,DiamondMinus:my,DiamondPercent:P1,DiamondPlus:_y,Dice1:Ly,Dice2:xy,Dice3:wy,Dice4:fy,Dice5:Cy,Dice6:Iy,Dices:Ny,Diff:Sy,Disc:Ay,Disc2:qy,Disc3:by,DiscAlbum:$y,Divide:Hy,Dna:Py,DnaOff:zy,Dock:jy,Dog:Vy,DollarSign:aa,Donut:By,DoorClosed:Fy,DoorOpen:Dy,Dot:Ry,Download:oa,DraftingCompass:Ty,Drama:Uy,Dribbble:Oy,Drill:Zy,Droplet:Wy,DropletOff:Gy,Droplets:Ey,Drum:Xy,Drumstick:Ky,Dumbbell:Jy,Ear:Yy,EarOff:Qy,Earth:j1,EarthLock:er,Eclipse:ar,Egg:tr,EggFried:or,EggOff:cr,Ellipsis:B1,EllipsisVertical:V1,Equal:ir,EqualApproximately:nr,EqualNot:dr,Eraser:hr,EthernetPort:yr,Euro:rr,Expand:kr,ExternalLink:ca,Eye:na,EyeClosed:pr,EyeOff:ta,Facebook:da,Factory:sr,Fan:lr,FastForward:ur,Feather:Mr,Fence:vr,FerrisWheel:mr,Figma:_r,File:p4,FileArchive:gr,FileAudio:xr,FileAudio2:Lr,FileAxis3d:F1,FileBadge:fr,FileBadge2:wr,FileBox:Cr,FileChartColumn:R1,FileChartColumnIncreasing:D1,FileChartLine:T1,FileChartPie:U1,FileCheck:Nr,FileCheck2:Ir,FileClock:Sr,FileCode:br,FileCode2:qr,FileCog:O1,FileDiff:$r,FileDigit:Ar,FileDown:ha,FileHeart:Hr,FileImage:zr,FileInput:Pr,FileJson:Vr,FileJson2:jr,FileKey:Fr,FileKey2:Br,FileLock:Rr,FileLock2:Dr,FileMinus:Ur,FileMinus2:Tr,FileMusic:Or,FileOutput:Zr,FilePen:G1,FilePenLine:Z1,FilePlus:Wr,FilePlus2:Gr,FileQuestion:Er,FileScan:Xr,FileSearch:Jr,FileSearch2:Kr,FileSliders:Qr,FileSpreadsheet:ya,FileStack:Yr,FileSymlink:e4,FileTerminal:a4,FileText:X2,FileType:c4,FileType2:o4,FileUp:ra,FileUser:t4,FileVideo:d4,FileVideo2:n4,FileVolume:h4,FileVolume2:i4,FileWarning:y4,FileX:k4,FileX2:r4,Files:s4,Film:l4,Filter:ka,FilterX:u4,Fingerprint:pa,FireExtinguisher:M4,Fish:_4,FishOff:v4,FishSymbol:m4,Flag:w4,FlagOff:g4,FlagTriangleLeft:L4,FlagTriangleRight:x4,Flame:C4,FlameKindling:f4,Flashlight:N4,FlashlightOff:I4,FlaskConical:q4,FlaskConicalOff:S4,FlaskRound:b4,FlipHorizontal:A4,FlipHorizontal2:$4,FlipVertical:z4,FlipVertical2:H4,Flower:j4,Flower2:P4,Focus:V4,FoldHorizontal:B4,FoldVertical:F4,Folder:P0,FolderArchive:D4,FolderCheck:R4,FolderClock:T4,FolderClosed:U4,FolderCode:O4,FolderCog:W1,FolderDot:Z4,FolderDown:G4,FolderGit:E4,FolderGit2:W4,FolderHeart:X4,FolderInput:K4,FolderKanban:J4,FolderKey:Q4,FolderLock:Y4,FolderMinus:ek,FolderOpen:sa,FolderOpenDot:ak,FolderOutput:ok,FolderPen:E1,FolderPlus:ck,FolderRoot:tk,FolderSearch:dk,FolderSearch2:nk,FolderSymlink:ik,FolderSync:hk,FolderTree:yk,FolderUp:rk,FolderX:kk,Folders:pk,Footprints:sk,Forklift:lk,Forward:uk,Frame:Mk,Framer:vk,Frown:mk,Fuel:_k,Fullscreen:gk,GalleryHorizontal:xk,GalleryHorizontalEnd:Lk,GalleryThumbnails:wk,GalleryVertical:Ck,GalleryVerticalEnd:fk,Gamepad:Nk,Gamepad2:Ik,Gauge:Sk,Gavel:qk,Gem:bk,Ghost:$k,Gift:la,GitBranch:ua,GitBranchPlus:Ak,GitCommitHorizontal:X1,GitCommitVertical:Hk,GitCompare:Pk,GitCompareArrows:zk,GitFork:jk,GitGraph:Vk,GitMerge:Bk,GitPullRequest:Ok,GitPullRequestArrow:Fk,GitPullRequestClosed:Dk,GitPullRequestCreate:Tk,GitPullRequestCreateArrow:Rk,GitPullRequestDraft:Uk,Github:Zk,Gitlab:Gk,GlassWater:Wk,Glasses:Ek,Globe:Ma,GlobeLock:Xk,Goal:Kk,Grab:Jk,GraduationCap:M0,Grape:Qk,Grid2x2:Y1,Grid2x2Check:K1,Grid2x2Plus:J1,Grid2x2X:Q1,Grid3x3:d,Grip:ep,GripHorizontal:Yk,GripVertical:va,Group:ap,Guitar:op,Ham:cp,Hammer:tp,Hand:yp,HandCoins:np,HandHeart:dp,HandHelping:ee,HandMetal:ip,HandPlatter:hp,Handshake:rp,HardDrive:ma,HardDriveDownload:kp,HardDriveUpload:pp,HardHat:sp,Hash:_a,Haze:lp,HdmiPort:up,Heading:xp,Heading1:Mp,Heading2:vp,Heading3:mp,Heading4:_p,Heading5:gp,Heading6:Lp,HeadphoneOff:wp,Headphones:fp,Headset:Cp,Heart:ga,HeartCrack:Ip,HeartHandshake:Np,HeartOff:Sp,HeartPulse:qp,Heater:bp,Hexagon:$p,Highlighter:Ap,History:C0,Hop:zp,HopOff:Hp,Hospital:Pp,Hotel:jp,Hourglass:Vp,House:f,HousePlug:Bp,HousePlus:Fp,HouseWifi:Dp,IceCreamBowl:ae,IceCreamCone:oe,IdCard:v0,Image:K2,ImageDown:Rp,ImageMinus:Tp,ImageOff:Up,ImagePlay:Op,ImagePlus:Zp,ImageUp:Gp,ImageUpscale:Wp,Images:Ep,Import:Xp,Inbox:Kp,IndentDecrease:ce,IndentIncrease:te,IndianRupee:b0,Infinity:Jp,Info:xa,InspectionPanel:Qp,Instagram:ia,Italic:h0,IterationCcw:Yp,IterationCw:e5,JapaneseYen:a5,Joystick:o5,Kanban:c5,Key:n5,KeyRound:I0,KeySquare:t5,Keyboard:h5,KeyboardMusic:d5,KeyboardOff:i5,Lamp:l5,LampCeiling:y5,LampDesk:r5,LampFloor:k5,LampWallDown:p5,LampWallUp:s5,LandPlot:u5,Landmark:M5,Languages:v5,Laptop:_5,LaptopMinimal:ne,LaptopMinimalCheck:m5,Lasso:L5,LassoSelect:g5,Laugh:x5,Layers:C,Layers2:w5,LayoutDashboard:f5,LayoutGrid:wa,LayoutList:fa,LayoutPanelLeft:C5,LayoutPanelTop:I5,LayoutTemplate:N5,Leaf:S5,LeafyGreen:q5,Lectern:b5,LetterText:$5,Library:H5,LibraryBig:A5,LifeBuoy:z5,Ligature:P5,Lightbulb:Ca,LightbulbOff:j5,Link:Na,Link2:Ia,Link2Off:V5,Linkedin:Sa,List:ba,ListCheck:B5,ListChecks:F5,ListCollapse:D5,ListEnd:R5,ListFilter:U5,ListFilterPlus:T5,ListMinus:O5,ListMusic:Z5,ListOrdered:y0,ListPlus:G5,ListRestart:W5,ListStart:E5,ListTodo:X5,ListTree:K5,ListVideo:J5,ListX:Q5,Loader:es,LoaderCircle:I,LoaderPinwheel:Y5,Locate:os,LocateFixed:$a,LocateOff:as,Lock:Aa,LockKeyhole:cs,LockKeyholeOpen:de,LockOpen:s,LogIn:Ha,LogOut:za,Logs:ts,Lollipop:ns,Luggage:ds,Magnet:is,Mail:Pa,MailCheck:hs,MailMinus:ys,MailOpen:rs,MailPlus:ks,MailQuestion:ps,MailSearch:ss,MailWarning:ls,MailX:us,Mailbox:Ms,Mails:vs,Map:bs,MapPin:ja,MapPinCheck:_s,MapPinCheckInside:ms,MapPinHouse:gs,MapPinMinus:xs,MapPinMinusInside:Ls,MapPinOff:ws,MapPinPlus:Cs,MapPinPlusInside:fs,MapPinX:Ns,MapPinXInside:Is,MapPinned:Ss,MapPlus:qs,Mars:As,MarsStroke:$s,Martini:Hs,Maximize:Ps,Maximize2:zs,Medal:js,Megaphone:Bs,MegaphoneOff:Vs,Meh:Fs,MemoryStick:Ds,Menu:Va,Merge:Rs,MessageCircle:Qs,MessageCircleCode:Ts,MessageCircleDashed:Us,MessageCircleHeart:Os,MessageCircleMore:Zs,MessageCircleOff:Gs,MessageCirclePlus:Ws,MessageCircleQuestion:Es,MessageCircleReply:Xs,MessageCircleWarning:Ks,MessageCircleX:Js,MessageSquare:Fa,MessageSquareCode:Ys,MessageSquareDashed:e3,MessageSquareDiff:a3,MessageSquareDot:o3,MessageSquareHeart:c3,MessageSquareLock:t3,MessageSquareMore:n3,MessageSquareOff:d3,MessageSquarePlus:i3,MessageSquareQuote:h3,MessageSquareReply:y3,MessageSquareShare:r3,MessageSquareText:k3,MessageSquareWarning:Ba,MessageSquareX:p3,MessagesSquare:s3,Mic:u3,MicOff:l3,MicVocal:ie,Microchip:M3,Microscope:v3,Microwave:m3,Milestone:_3,Milk:L3,MilkOff:g3,Minimize:w3,Minimize2:x3,Minus:f3,Monitor:Da,MonitorCheck:C3,MonitorCog:I3,MonitorDot:N3,MonitorDown:S3,MonitorOff:q3,MonitorPause:b3,MonitorPlay:$3,MonitorSmartphone:A3,MonitorSpeaker:H3,MonitorStop:z3,MonitorUp:P3,MonitorX:j3,Moon:J2,MoonStar:V3,Mountain:F3,MountainSnow:B3,Mouse:Z3,MouseOff:D3,MousePointer:O3,MousePointer2:R3,MousePointerBan:T3,MousePointerClick:U3,Move:tl,Move3d:he,MoveDiagonal:W3,MoveDiagonal2:G3,MoveDown:K3,MoveDownLeft:E3,MoveDownRight:X3,MoveHorizontal:J3,MoveLeft:Q3,MoveRight:Y3,MoveUp:ol,MoveUpLeft:el,MoveUpRight:al,MoveVertical:cl,Music:hl,Music2:nl,Music3:dl,Music4:il,Navigation:pl,Navigation2:rl,Navigation2Off:yl,NavigationOff:kl,Network:sl,Newspaper:ll,Nfc:ul,NonBinary:Ml,Notebook:gl,NotebookPen:vl,NotebookTabs:ml,NotebookText:_l,NotepadText:xl,NotepadTextDashed:Ll,Nut:fl,NutOff:wl,Octagon:Il,OctagonAlert:ye,OctagonMinus:Cl,OctagonPause:re,OctagonX:ke,Omega:Nl,Option:Sl,Orbit:ql,Origami:bl,Package:Ra,Package2:$l,PackageCheck:Al,PackageMinus:Hl,PackageOpen:zl,PackagePlus:Pl,PackageSearch:jl,PackageX:Vl,PaintBucket:Bl,PaintRoller:Fl,Paintbrush:Dl,PaintbrushVertical:pe,Palette:Q2,PanelBottom:Ul,PanelBottomClose:Rl,PanelBottomDashed:se,PanelBottomOpen:Tl,PanelLeft:k,PanelLeftClose:le,PanelLeftDashed:ue,PanelLeftOpen:Me,PanelRight:Gl,PanelRightClose:Ol,PanelRightDashed:ve,PanelRightOpen:Zl,PanelTop:Xl,PanelTopClose:Wl,PanelTopDashed:me,PanelTopOpen:El,PanelsLeftBottom:Kl,PanelsRightBottom:Jl,PanelsTopLeft:p,Paperclip:Ql,Parentheses:Yl,ParkingMeter:e6,PartyPopper:a6,Pause:o6,PawPrint:c6,PcCase:t6,Pen:_e,PenLine:w,PenOff:n6,PenTool:d6,Pencil:r6,PencilLine:i6,PencilOff:h6,PencilRuler:y6,Pentagon:k6,Percent:Ta,PersonStanding:p6,PhilippinePeso:s6,Phone:Ua,PhoneCall:l6,PhoneForwarded:u6,PhoneIncoming:M6,PhoneMissed:v6,PhoneOff:m6,PhoneOutgoing:_6,Pi:g6,Piano:L6,Pickaxe:x6,PictureInPicture:f6,PictureInPicture2:w6,PiggyBank:C6,Pilcrow:S6,PilcrowLeft:I6,PilcrowRight:N6,Pill:b6,PillBottle:q6,Pin:A6,PinOff:$6,Pipette:H6,Pizza:z6,Plane:Oa,PlaneLanding:P6,PlaneTakeoff:j6,Play:Za,Plug:B6,Plug2:V6,PlugZap:ge,Plus:Y2,Pocket:D6,PocketKnife:F6,Podcast:R6,Pointer:U6,PointerOff:T6,Popcorn:O6,Popsicle:Z6,PoundSterling:G6,Power:E6,PowerOff:W6,Presentation:X6,Printer:J6,PrinterCheck:K6,Projector:Q6,Proportions:Y6,Puzzle:e8,Pyramid:a8,QrCode:Ga,Quote:Wa,Rabbit:o8,Radar:c8,Radiation:t8,Radical:n8,Radio:h8,RadioReceiver:d8,RadioTower:i8,Radius:y8,RailSymbol:r8,Rainbow:k8,Rat:p8,Ratio:s8,Receipt:x8,ReceiptCent:l8,ReceiptEuro:u8,ReceiptIndianRupee:M8,ReceiptJapaneseYen:v8,ReceiptPoundSterling:m8,ReceiptRussianRuble:_8,ReceiptSwissFranc:g8,ReceiptText:L8,RectangleEllipsis:Le,RectangleHorizontal:w8,RectangleVertical:f8,Recycle:C8,Redo:r0,Redo2:I8,RedoDot:N8,RefreshCcw:q8,RefreshCcwDot:S8,RefreshCw:Ea,RefreshCwOff:b8,Refrigerator:$8,Regex:A8,RemoveFormatting:H8,Repeat:j8,Repeat1:z8,Repeat2:P8,Replace:B8,ReplaceAll:V8,Reply:D8,ReplyAll:F8,Rewind:R8,Ribbon:T8,Rocket:U8,RockingChair:O8,RollerCoaster:Z8,Rotate3d:xe,RotateCcw:W8,RotateCcwSquare:G8,RotateCw:X8,RotateCwSquare:E8,Route:J8,RouteOff:K8,Router:Q8,Rows2:we,Rows3:fe,Rows4:Y8,Rss:e7,Ruler:Xa,RussianRuble:a7,Sailboat:o7,Salad:c7,Sandwich:t7,Satellite:d7,SatelliteDish:n7,Save:e0,SaveAll:i7,SaveOff:h7,Scale:m0,Scale3d:Ce,Scaling:y7,Scan:m7,ScanBarcode:r7,ScanEye:k7,ScanFace:p7,ScanHeart:s7,ScanLine:l7,ScanQrCode:u7,ScanSearch:M7,ScanText:v7,School:_7,Scissors:L7,ScissorsLineDashed:g7,ScreenShare:w7,ScreenShareOff:x7,Scroll:C7,ScrollText:f7,Search:a0,SearchCheck:I7,SearchCode:N7,SearchSlash:S7,SearchX:q7,Section:b7,Send:Ka,SendHorizontal:Ie,SendToBack:$7,SeparatorHorizontal:A7,SeparatorVertical:H7,Server:Ja,ServerCog:z7,ServerCrash:P7,ServerOff:j7,Settings:Qa,Settings2:V7,Shapes:B7,Share:F7,Share2:Ya,Sheet:D7,Shell:R7,Shield:La,ShieldAlert:T7,ShieldBan:U7,ShieldCheck:oo,ShieldEllipsis:O7,ShieldHalf:Z7,ShieldMinus:G7,ShieldOff:W7,ShieldPlus:E7,ShieldQuestion:X7,ShieldX:Ne,Ship:J7,ShipWheel:K7,Shirt:Q7,ShoppingBag:Y7,ShoppingBasket:eu,ShoppingCart:au,Shovel:ou,ShowerHead:cu,Shrink:tu,Shrub:nu,Shuffle:du,Sigma:iu,Signal:pu,SignalHigh:hu,SignalLow:yu,SignalMedium:ru,SignalZero:ku,Signature:su,Signpost:uu,SignpostBig:lu,Siren:Mu,SkipBack:vu,SkipForward:mu,Skull:_u,Slack:gu,Slash:Lu,Slice:xu,SlidersHorizontal:wu,SlidersVertical:Se,Smartphone:eo,SmartphoneCharging:fu,SmartphoneNfc:Cu,Smile:Nu,SmilePlus:Iu,Snail:Su,Snowflake:qu,Sofa:bu,Soup:$u,Space:Au,Spade:Hu,Sparkle:zu,Sparkles:l,Speaker:Pu,Speech:ju,SpellCheck:Bu,SpellCheck2:Vu,Spline:Fu,Split:Du,SprayCan:Ru,Sprout:Tu,Square:Eu,SquareActivity:qe,SquareArrowDown:Ae,SquareArrowDownLeft:be,SquareArrowDownRight:$e,SquareArrowLeft:He,SquareArrowOutDownLeft:ze,SquareArrowOutDownRight:Pe,SquareArrowOutUpLeft:je,SquareArrowOutUpRight:Ve,SquareArrowRight:Be,SquareArrowUp:Re,SquareArrowUpLeft:Fe,SquareArrowUpRight:De,SquareAsterisk:Te,SquareBottomDashedScissors:Ue,SquareChartGantt:i,SquareCheck:Oe,SquareCheckBig:N,SquareChevronDown:Ze,SquareChevronLeft:Ge,SquareChevronRight:We,SquareChevronUp:Ee,SquareCode:Xe,SquareDashed:Qe,SquareDashedBottom:Ou,SquareDashedBottomCode:Uu,SquareDashedKanban:Ke,SquareDashedMousePointer:Je,SquareDivide:Ye,SquareDot:e2,SquareEqual:a2,SquareFunction:o2,SquareKanban:c2,SquareLibrary:t2,SquareM:n2,SquareMenu:d2,SquareMinus:i2,SquareMousePointer:h2,SquareParking:r2,SquareParkingOff:y2,SquarePen:n,SquarePercent:k2,SquarePi:p2,SquarePilcrow:s2,SquarePlay:l2,SquarePlus:u2,SquarePower:M2,SquareRadical:Zu,SquareScissors:v2,SquareSigma:m2,SquareSlash:_2,SquareSplitHorizontal:g2,SquareSplitVertical:L2,SquareSquare:Gu,SquareStack:Wu,SquareTerminal:x2,SquareUser:f2,SquareUserRound:w2,SquareX:C2,Squircle:Xu,Squirrel:Ku,Stamp:Ju,Star:co,StarHalf:Qu,StarOff:Yu,StepBack:e9,StepForward:a9,Stethoscope:o9,Sticker:c9,StickyNote:t9,Store:n9,StretchHorizontal:d9,StretchVertical:i9,Strikethrough:k0,Subscript:h9,Sun:to,SunDim:y9,SunMedium:r9,SunMoon:k9,SunSnow:p9,Sunrise:s9,Sunset:l9,Superscript:u9,SwatchBook:M9,SwissFranc:v9,SwitchCamera:m9,Sword:_9,Swords:g9,Syringe:L9,Table:q9,Table2:x9,TableCellsMerge:w9,TableCellsSplit:f9,TableColumnsSplit:C9,TableOfContents:I9,TableProperties:N9,TableRowsSplit:S9,Tablet:$9,TabletSmartphone:b9,Tablets:A9,Tag:no,Tags:H9,Tally1:z9,Tally2:P9,Tally3:j9,Tally4:V9,Tally5:B9,Tangent:F9,Target:io,Telescope:D9,Tent:T9,TentTree:R9,Terminal:U9,TestTube:O9,TestTubeDiagonal:I2,TestTubes:Z9,Text:K9,TextCursor:W9,TextCursorInput:G9,TextQuote:E9,TextSearch:X9,TextSelect:N2,Theater:J9,Thermometer:eM,ThermometerSnowflake:Q9,ThermometerSun:Y9,ThumbsDown:ho,ThumbsUp:yo,Ticket:ro,TicketCheck:aM,TicketMinus:oM,TicketPercent:cM,TicketPlus:tM,TicketSlash:nM,TicketX:dM,Tickets:hM,TicketsPlane:iM,Timer:ko,TimerOff:yM,TimerReset:rM,ToggleLeft:kM,ToggleRight:pM,Toilet:sM,Tornado:lM,Torus:uM,Touchpad:vM,TouchpadOff:MM,TowerControl:mM,ToyBrick:_M,Tractor:gM,TrafficCone:LM,TrainFront:wM,TrainFrontTunnel:xM,TrainTrack:fM,TramFront:S2,Transgender:CM,Trash:so,Trash2:po,TreeDeciduous:IM,TreePalm:q2,TreePine:NM,Trees:SM,Trello:qM,TrendingDown:lo,TrendingUp:uo,TrendingUpDown:bM,Triangle:HM,TriangleAlert:S,TriangleDashed:$M,TriangleRight:AM,Trophy:Mo,Truck:zM,Turtle:PM,Tv:VM,TvMinimal:b2,TvMinimalPlay:jM,Twitch:BM,Twitter:qa,Type:vo,TypeOutline:FM,Umbrella:RM,UmbrellaOff:DM,Underline:TM,Undo:p0,Undo2:UM,UndoDot:OM,UnfoldHorizontal:ZM,UnfoldVertical:GM,Ungroup:WM,University:$2,Unlink:s0,Unlink2:EM,Unplug:XM,Upload:o0,Usb:KM,User:Lo,UserCheck:mo,UserCog:JM,UserMinus:QM,UserPen:YM,UserPlus:_o,UserRound:V2,UserRoundCheck:A2,UserRoundCog:H2,UserRoundMinus:z2,UserRoundPen:ev,UserRoundPlus:P2,UserRoundSearch:av,UserRoundX:j2,UserSearch:ov,UserX:go,Users:xo,UsersRound:B2,Utensils:D2,UtensilsCrossed:F2,UtilityPole:cv,Variable:tv,Vault:nv,Vegan:dv,VenetianMask:iv,Venus:yv,VenusAndMars:hv,Vibrate:kv,VibrateOff:rv,Video:sv,VideoOff:pv,Videotape:lv,View:uv,Voicemail:Mv,Volleyball:vv,Volume:xv,Volume1:mv,Volume2:_v,VolumeOff:gv,VolumeX:Lv,Vote:wv,Wallet:wo,WalletCards:fv,WalletMinimal:R2,Wallpaper:Cv,Wand:Iv,WandSparkles:T2,Warehouse:Nv,WashingMachine:Sv,Watch:qv,Waves:$v,WavesLadder:bv,Waypoints:Av,Webcam:Hv,Webhook:Pv,WebhookOff:zv,Weight:jv,Wheat:Bv,WheatOff:Vv,WholeWord:Fv,Wifi:ao,WifiHigh:Dv,WifiLow:Rv,WifiOff:Tv,WifiZero:Uv,Wind:Zv,WindArrowDown:Ov,Wine:Wv,WineOff:Gv,Workflow:Ev,Worm:Xv,WrapText:Kv,Wrench:fo,X:c0,Youtube:Jv,Zap:Co,ZapOff:Qv,ZoomIn:Yv,ZoomOut:em},Symbol.toStringTag,{value:"Module"}));/** + */const zO=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Vo,AArrowUp:Bo,ALargeSmall:Fo,Accessibility:Do,Activity:Ro,AirVent:To,Airplay:Uo,AlarmClock:Zo,AlarmClockCheck:$,AlarmClockMinus:A,AlarmClockOff:Oo,AlarmClockPlus:H,AlarmSmoke:Go,Album:Wo,AlignCenter:M0,AlignCenterHorizontal:Eo,AlignCenterVertical:Xo,AlignEndHorizontal:Ko,AlignEndVertical:Jo,AlignHorizontalDistributeCenter:Qo,AlignHorizontalDistributeEnd:Yo,AlignHorizontalDistributeStart:et,AlignHorizontalJustifyCenter:at,AlignHorizontalJustifyEnd:ot,AlignHorizontalJustifyStart:tt,AlignHorizontalSpaceAround:ct,AlignHorizontalSpaceBetween:nt,AlignJustify:dt,AlignLeft:v0,AlignRight:m0,AlignStartHorizontal:it,AlignStartVertical:ht,AlignVerticalDistributeCenter:yt,AlignVerticalDistributeEnd:rt,AlignVerticalDistributeStart:kt,AlignVerticalJustifyCenter:pt,AlignVerticalJustifyEnd:st,AlignVerticalJustifyStart:lt,AlignVerticalSpaceAround:ut,AlignVerticalSpaceBetween:Mt,Ambulance:vt,Ampersand:mt,Ampersands:_t,Amphora:gt,Anchor:Lt,Angry:xt,Annoyed:wt,Antenna:ft,Anvil:Ct,Aperture:It,AppWindow:St,AppWindowMac:Nt,Apple:bt,Archive:I0,ArchiveRestore:qt,ArchiveX:$t,Armchair:At,ArrowBigDown:zt,ArrowBigDownDash:Ht,ArrowBigLeft:Pt,ArrowBigLeftDash:jt,ArrowBigRight:Bt,ArrowBigRightDash:Vt,ArrowBigUp:Dt,ArrowBigUpDash:Ft,ArrowDown:Xt,ArrowDown01:Rt,ArrowDown10:Tt,ArrowDownAZ:z,ArrowDownFromLine:Ut,ArrowDownLeft:$0,ArrowDownNarrowWide:Ot,ArrowDownRight:Zt,ArrowDownToDot:Gt,ArrowDownToLine:Wt,ArrowDownUp:Et,ArrowDownWideNarrow:j,ArrowDownZA:P,ArrowLeft:A0,ArrowLeftFromLine:Kt,ArrowLeftRight:Jt,ArrowLeftToLine:Qt,ArrowRight:z0,ArrowRightFromLine:Yt,ArrowRightLeft:H0,ArrowRightToLine:ec,ArrowUp:hc,ArrowUp01:ac,ArrowUp10:oc,ArrowUpAZ:V,ArrowUpDown:j0,ArrowUpFromDot:tc,ArrowUpFromLine:cc,ArrowUpLeft:nc,ArrowUpNarrowWide:B,ArrowUpRight:P0,ArrowUpToLine:dc,ArrowUpWideNarrow:ic,ArrowUpZA:F,ArrowsUpFromLine:yc,Asterisk:rc,AtSign:kc,Atom:pc,AudioLines:sc,AudioWaveform:lc,Award:F0,Axe:uc,Axis3d:D,Baby:Mc,Backpack:vc,Badge:Hc,BadgeAlert:mc,BadgeCent:_c,BadgeCheck:R,BadgeDollarSign:gc,BadgeEuro:Lc,BadgeHelp:xc,BadgeIndianRupee:wc,BadgeInfo:fc,BadgeJapaneseYen:Cc,BadgeMinus:Ic,BadgePercent:Nc,BadgePlus:Sc,BadgePoundSterling:bc,BadgeRussianRuble:qc,BadgeSwissFranc:$c,BadgeX:Ac,BaggageClaim:zc,Ban:D0,Banana:jc,Bandage:Pc,Banknote:R0,Barcode:Vc,Baseline:Bc,Bath:Fc,Battery:Gc,BatteryCharging:Dc,BatteryFull:Rc,BatteryLow:Tc,BatteryMedium:Uc,BatteryPlus:Oc,BatteryWarning:Zc,Beaker:Wc,Bean:Xc,BeanOff:Ec,Bed:Qc,BedDouble:Kc,BedSingle:Jc,Beef:Yc,Beer:an,BeerOff:en,Bell:U0,BellDot:on,BellElectric:tn,BellMinus:cn,BellOff:nn,BellPlus:dn,BellRing:hn,BetweenHorizontalEnd:T,BetweenHorizontalStart:U,BetweenVerticalEnd:yn,BetweenVerticalStart:rn,BicepsFlexed:kn,Bike:pn,Binary:sn,Binoculars:ln,Biohazard:un,Bird:Mn,Bitcoin:vn,Blend:mn,Blinds:_n,Blocks:gn,Bluetooth:fn,BluetoothConnected:Ln,BluetoothOff:xn,BluetoothSearching:wn,Bold:_0,Bolt:Cn,Bomb:In,Bone:Nn,Book:N0,BookA:Sn,BookAudio:bn,BookCheck:qn,BookCopy:$n,BookDashed:O,BookDown:An,BookHeadphones:Hn,BookHeart:zn,BookImage:jn,BookKey:Pn,BookLock:Vn,BookMarked:Bn,BookMinus:Fn,BookOpen:O0,BookOpenCheck:Dn,BookOpenText:Rn,BookPlus:Tn,BookText:Un,BookType:On,BookUp:Gn,BookUp2:Zn,BookUser:Wn,BookX:En,Bookmark:Yn,BookmarkCheck:Xn,BookmarkMinus:Kn,BookmarkPlus:Jn,BookmarkX:Qn,BoomBox:ed,Bot:td,BotMessageSquare:ad,BotOff:od,Box:cd,Boxes:Z0,Braces:Z,Brackets:nd,Brain:G0,BrainCircuit:dd,BrainCog:id,BrickWall:hd,Briefcase:E0,BriefcaseBusiness:yd,BriefcaseConveyorBelt:rd,BriefcaseMedical:kd,BringToFront:pd,Brush:sd,Bug:Md,BugOff:ld,BugPlay:ud,Building:K0,Building2:X0,Bus:md,BusFront:vd,Cable:gd,CableCar:_d,Cake:xd,CakeSlice:Ld,Calculator:J0,Calendar:ea,Calendar1:wd,CalendarArrowDown:fd,CalendarArrowUp:Cd,CalendarCheck:Q0,CalendarCheck2:Id,CalendarClock:Nd,CalendarCog:Sd,CalendarDays:Y0,CalendarFold:bd,CalendarHeart:qd,CalendarMinus:Ad,CalendarMinus2:$d,CalendarOff:Hd,CalendarPlus:jd,CalendarPlus2:zd,CalendarRange:Pd,CalendarSearch:Vd,CalendarSync:Bd,CalendarX:Dd,CalendarX2:Fd,Camera:aa,CameraOff:Rd,Candy:Od,CandyCane:Td,CandyOff:Ud,Cannabis:Zd,Captions:G,CaptionsOff:Gd,Car:Xd,CarFront:Wd,CarTaxiFront:Ed,Caravan:Kd,Carrot:Jd,CaseLower:Qd,CaseSensitive:Yd,CaseUpper:ei,CassetteTape:ai,Cast:oi,Castle:ti,Cat:ci,Cctv:ni,ChartArea:W,ChartBar:X,ChartBarBig:E,ChartBarDecreasing:di,ChartBarIncreasing:ii,ChartBarStacked:hi,ChartCandlestick:K,ChartColumn:v,ChartColumnBig:J,ChartColumnDecreasing:yi,ChartColumnIncreasing:Q,ChartColumnStacked:ri,ChartGantt:ki,ChartLine:Y,ChartNetwork:pi,ChartNoAxesColumn:_,ChartNoAxesColumnDecreasing:si,ChartNoAxesColumnIncreasing:m,ChartNoAxesCombined:li,ChartNoAxesGantt:e1,ChartPie:a1,ChartScatter:o1,ChartSpline:ui,Check:d0,CheckCheck:Mi,ChefHat:vi,Cherry:mi,ChevronDown:Z2,ChevronFirst:_i,ChevronLast:gi,ChevronLeft:oa,ChevronRight:E2,ChevronUp:J2,ChevronsDown:xi,ChevronsDownUp:Li,ChevronsLeft:Ci,ChevronsLeftRight:fi,ChevronsLeftRightEllipsis:wi,ChevronsRight:Ni,ChevronsRightLeft:Ii,ChevronsUp:Si,ChevronsUpDown:Q2,Chrome:bi,Church:qi,Cigarette:Ai,CigaretteOff:$i,Circle:ta,CircleAlert:g,CircleArrowDown:t1,CircleArrowLeft:c1,CircleArrowOutDownLeft:n1,CircleArrowOutDownRight:d1,CircleArrowOutUpLeft:i1,CircleArrowOutUpRight:h1,CircleArrowRight:y1,CircleArrowUp:r1,CircleCheck:x,CircleCheckBig:L,CircleChevronDown:k1,CircleChevronLeft:p1,CircleChevronRight:s1,CircleChevronUp:l1,CircleDashed:Hi,CircleDivide:u1,CircleDollarSign:zi,CircleDot:Pi,CircleDotDashed:ji,CircleEllipsis:Vi,CircleEqual:Bi,CircleFadingArrowUp:Fi,CircleFadingPlus:Di,CircleGauge:M1,CircleHelp:w,CircleMinus:v1,CircleOff:Ri,CircleParking:_1,CircleParkingOff:m1,CirclePause:g1,CirclePercent:L1,CirclePlay:x1,CirclePlus:w1,CirclePower:f1,CircleSlash:Ti,CircleSlash2:C1,CircleSmall:Ui,CircleStop:I1,CircleUser:S1,CircleUserRound:N1,CircleX:f,CircuitBoard:Oi,Citrus:Zi,Clapperboard:Gi,Clipboard:eh,ClipboardCheck:Wi,ClipboardCopy:Ei,ClipboardList:ca,ClipboardMinus:Xi,ClipboardPaste:Ki,ClipboardPen:q1,ClipboardPenLine:b1,ClipboardPlus:Ji,ClipboardType:Qi,ClipboardX:Yi,Clock:na,Clock1:ah,Clock10:oh,Clock11:th,Clock12:ch,Clock2:nh,Clock3:dh,Clock4:ih,Clock5:hh,Clock6:yh,Clock7:rh,Clock8:kh,Clock9:ph,ClockAlert:sh,ClockArrowDown:lh,ClockArrowUp:uh,Cloud:qh,CloudAlert:Mh,CloudCog:vh,CloudDownload:$1,CloudDrizzle:mh,CloudFog:_h,CloudHail:gh,CloudLightning:Lh,CloudMoon:wh,CloudMoonRain:xh,CloudOff:fh,CloudRain:Ih,CloudRainWind:Ch,CloudSnow:Nh,CloudSun:bh,CloudSunRain:Sh,CloudUpload:A1,Cloudy:$h,Clover:Ah,Club:Hh,Code:da,CodeXml:H1,Codepen:zh,Codesandbox:jh,Coffee:Ph,Cog:Vh,Coins:ia,Columns2:z1,Columns3:j1,Columns4:Bh,Combine:Fh,Command:Dh,Compass:Rh,Component:Th,Computer:Uh,ConciergeBell:Oh,Cone:Zh,Construction:Gh,Contact:Wh,ContactRound:P1,Container:Eh,Contrast:Xh,Cookie:Kh,CookingPot:Jh,Copy:ha,CopyCheck:Qh,CopyMinus:Yh,CopyPlus:ey,CopySlash:ay,CopyX:oy,Copyleft:ty,Copyright:cy,CornerDownLeft:ny,CornerDownRight:dy,CornerLeftDown:iy,CornerLeftUp:hy,CornerRightDown:yy,CornerRightUp:ry,CornerUpLeft:ky,CornerUpRight:py,Cpu:sy,CreativeCommons:ly,CreditCard:ya,Croissant:uy,Crop:My,Cross:vy,Crosshair:ra,Crown:ka,Cuboid:my,CupSoda:_y,Currency:gy,Cylinder:Ly,Dam:xy,Database:Cy,DatabaseBackup:wy,DatabaseZap:fy,Delete:Iy,Dessert:Ny,Diameter:Sy,Diamond:$y,DiamondMinus:by,DiamondPercent:V1,DiamondPlus:qy,Dice1:Ay,Dice2:Hy,Dice3:zy,Dice4:jy,Dice5:Py,Dice6:Vy,Dices:By,Diff:Fy,Disc:Uy,Disc2:Dy,Disc3:Ry,DiscAlbum:Ty,Divide:Oy,Dna:Gy,DnaOff:Zy,Dock:Wy,Dog:Ey,DollarSign:pa,Donut:Xy,DoorClosed:Ky,DoorOpen:Jy,Dot:Qy,Download:sa,DraftingCompass:Yy,Drama:er,Dribbble:ar,Drill:or,Droplet:cr,DropletOff:tr,Droplets:nr,Drum:dr,Drumstick:ir,Dumbbell:hr,Ear:rr,EarOff:yr,Earth:B1,EarthLock:kr,Eclipse:pr,Egg:ur,EggFried:sr,EggOff:lr,Ellipsis:D1,EllipsisVertical:F1,Equal:mr,EqualApproximately:Mr,EqualNot:vr,Eraser:_r,EthernetPort:gr,Euro:Lr,Expand:xr,ExternalLink:la,Eye:Ma,EyeClosed:wr,EyeOff:ua,Facebook:va,Factory:fr,Fan:Cr,FastForward:Ir,Feather:Nr,Fence:Sr,FerrisWheel:br,Figma:qr,File:w4,FileArchive:$r,FileAudio:Hr,FileAudio2:Ar,FileAxis3d:R1,FileBadge:jr,FileBadge2:zr,FileBox:Pr,FileChartColumn:U1,FileChartColumnIncreasing:T1,FileChartLine:O1,FileChartPie:Z1,FileCheck:Br,FileCheck2:Vr,FileClock:Fr,FileCode:Rr,FileCode2:Dr,FileCog:G1,FileDiff:Tr,FileDigit:Ur,FileDown:_a,FileHeart:Or,FileImage:Zr,FileInput:Gr,FileJson:Er,FileJson2:Wr,FileKey:Kr,FileKey2:Xr,FileLock:Qr,FileLock2:Jr,FileMinus:e4,FileMinus2:Yr,FileMusic:a4,FileOutput:o4,FilePen:E1,FilePenLine:W1,FilePlus:c4,FilePlus2:t4,FileQuestion:n4,FileScan:d4,FileSearch:h4,FileSearch2:i4,FileSliders:y4,FileSpreadsheet:ga,FileStack:r4,FileSymlink:k4,FileTerminal:p4,FileText:i0,FileType:l4,FileType2:s4,FileUp:La,FileUser:u4,FileVideo:v4,FileVideo2:M4,FileVolume:_4,FileVolume2:m4,FileWarning:g4,FileX:x4,FileX2:L4,Files:f4,Film:C4,Filter:xa,FilterX:I4,Fingerprint:wa,FireExtinguisher:N4,Fish:q4,FishOff:S4,FishSymbol:b4,Flag:z4,FlagOff:$4,FlagTriangleLeft:A4,FlagTriangleRight:H4,Flame:P4,FlameKindling:j4,Flashlight:B4,FlashlightOff:V4,FlaskConical:D4,FlaskConicalOff:F4,FlaskRound:R4,FlipHorizontal:U4,FlipHorizontal2:T4,FlipVertical:Z4,FlipVertical2:O4,Flower:W4,Flower2:G4,Focus:E4,FoldHorizontal:X4,FoldVertical:K4,Folder:W0,FolderArchive:J4,FolderCheck:Q4,FolderClock:Y4,FolderClosed:ek,FolderCode:ak,FolderCog:X1,FolderDot:ok,FolderDown:tk,FolderGit:nk,FolderGit2:ck,FolderHeart:dk,FolderInput:ik,FolderKanban:hk,FolderKey:yk,FolderLock:rk,FolderMinus:kk,FolderOpen:fa,FolderOpenDot:pk,FolderOutput:sk,FolderPen:K1,FolderPlus:lk,FolderRoot:uk,FolderSearch:vk,FolderSearch2:Mk,FolderSymlink:mk,FolderSync:_k,FolderTree:gk,FolderUp:Lk,FolderX:xk,Folders:wk,Footprints:fk,Forklift:Ck,Forward:Ik,Frame:Nk,Framer:Sk,Frown:bk,Fuel:qk,Fullscreen:$k,GalleryHorizontal:Hk,GalleryHorizontalEnd:Ak,GalleryThumbnails:zk,GalleryVertical:Pk,GalleryVerticalEnd:jk,Gamepad:Bk,Gamepad2:Vk,Gauge:Fk,Gavel:Dk,Gem:Rk,Ghost:Tk,Gift:Ca,GitBranch:Ia,GitBranchPlus:Uk,GitCommitHorizontal:J1,GitCommitVertical:Ok,GitCompare:Gk,GitCompareArrows:Zk,GitFork:Wk,GitGraph:Ek,GitMerge:Xk,GitPullRequest:ap,GitPullRequestArrow:Kk,GitPullRequestClosed:Jk,GitPullRequestCreate:Yk,GitPullRequestCreateArrow:Qk,GitPullRequestDraft:ep,Github:op,Gitlab:tp,GlassWater:cp,Glasses:np,Globe:Na,GlobeLock:dp,Goal:ip,Grab:hp,GraduationCap:S0,Grape:yp,Grid2x2:ae,Grid2x2Check:Q1,Grid2x2Plus:Y1,Grid2x2X:ee,Grid3x3:i,Grip:kp,GripHorizontal:rp,GripVertical:Sa,Group:pp,Guitar:sp,Ham:lp,Hammer:up,Hand:gp,HandCoins:Mp,HandHeart:vp,HandHelping:oe,HandMetal:mp,HandPlatter:_p,Handshake:Lp,HardDrive:ba,HardDriveDownload:xp,HardDriveUpload:wp,HardHat:fp,Hash:qa,Haze:Cp,HdmiPort:Ip,Heading:Hp,Heading1:Np,Heading2:Sp,Heading3:bp,Heading4:qp,Heading5:$p,Heading6:Ap,HeadphoneOff:zp,Headphones:jp,Headset:Pp,Heart:$a,HeartCrack:Vp,HeartHandshake:Bp,HeartOff:Fp,HeartPulse:Dp,Heater:Rp,Hexagon:Tp,Highlighter:Up,History:V0,Hop:Zp,HopOff:Op,Hospital:Gp,Hotel:Wp,Hourglass:Ep,House:I,HousePlug:Xp,HousePlus:Kp,HouseWifi:Jp,IceCreamBowl:te,IceCreamCone:ce,IdCard:b0,Image:h0,ImageDown:Qp,ImageMinus:Yp,ImageOff:e5,ImagePlay:a5,ImagePlus:o5,ImageUp:t5,ImageUpscale:c5,Images:n5,Import:d5,Inbox:i5,IndentDecrease:ne,IndentIncrease:de,IndianRupee:T0,Infinity:h5,Info:Ha,InspectionPanel:y5,Instagram:ma,Italic:g0,IterationCcw:r5,IterationCw:k5,JapaneseYen:p5,Joystick:s5,Kanban:l5,Key:M5,KeyRound:B0,KeySquare:u5,Keyboard:_5,KeyboardMusic:v5,KeyboardOff:m5,Lamp:C5,LampCeiling:g5,LampDesk:L5,LampFloor:x5,LampWallDown:w5,LampWallUp:f5,LandPlot:I5,Landmark:N5,Languages:S5,Laptop:q5,LaptopMinimal:ie,LaptopMinimalCheck:b5,Lasso:A5,LassoSelect:$5,Laugh:H5,Layers:N,Layers2:z5,LayoutDashboard:j5,LayoutGrid:za,LayoutList:ja,LayoutPanelLeft:P5,LayoutPanelTop:V5,LayoutTemplate:B5,Leaf:F5,LeafyGreen:D5,Lectern:R5,LetterText:T5,Library:O5,LibraryBig:U5,LifeBuoy:Z5,Ligature:G5,Lightbulb:Pa,LightbulbOff:W5,Link:Ba,Link2:Va,Link2Off:E5,Linkedin:Fa,List:Ra,ListCheck:X5,ListChecks:K5,ListCollapse:J5,ListEnd:Q5,ListFilter:es,ListFilterPlus:Y5,ListMinus:as,ListMusic:os,ListOrdered:L0,ListPlus:ts,ListRestart:cs,ListStart:ns,ListTodo:ds,ListTree:is,ListVideo:hs,ListX:ys,Loader:ks,LoaderCircle:S,LoaderPinwheel:rs,Locate:ss,LocateFixed:Ta,LocateOff:ps,Lock:Ua,LockKeyhole:ls,LockKeyholeOpen:he,LockOpen:u,LogIn:Oa,LogOut:Za,Logs:us,Lollipop:Ms,Luggage:vs,Magnet:ms,Mail:Ga,MailCheck:_s,MailMinus:gs,MailOpen:Ls,MailPlus:xs,MailQuestion:ws,MailSearch:fs,MailWarning:Cs,MailX:Is,Mailbox:Ns,Mails:Ss,Map:Rs,MapPin:Wa,MapPinCheck:qs,MapPinCheckInside:bs,MapPinHouse:$s,MapPinMinus:Hs,MapPinMinusInside:As,MapPinOff:zs,MapPinPlus:Ps,MapPinPlusInside:js,MapPinX:Bs,MapPinXInside:Vs,MapPinned:Fs,MapPlus:Ds,Mars:Us,MarsStroke:Ts,Martini:Os,Maximize:Gs,Maximize2:Zs,Medal:Ws,Megaphone:Xs,MegaphoneOff:Es,Meh:Ks,MemoryStick:Js,Menu:Ea,Merge:Qs,MessageCircle:y3,MessageCircleCode:Ys,MessageCircleDashed:e3,MessageCircleHeart:a3,MessageCircleMore:o3,MessageCircleOff:t3,MessageCirclePlus:c3,MessageCircleQuestion:n3,MessageCircleReply:d3,MessageCircleWarning:i3,MessageCircleX:h3,MessageSquare:Ka,MessageSquareCode:r3,MessageSquareDashed:k3,MessageSquareDiff:p3,MessageSquareDot:s3,MessageSquareHeart:l3,MessageSquareLock:u3,MessageSquareMore:M3,MessageSquareOff:v3,MessageSquarePlus:m3,MessageSquareQuote:_3,MessageSquareReply:g3,MessageSquareShare:L3,MessageSquareText:x3,MessageSquareWarning:Xa,MessageSquareX:w3,MessagesSquare:f3,Mic:I3,MicOff:C3,MicVocal:ye,Microchip:N3,Microscope:S3,Microwave:b3,Milestone:q3,Milk:A3,MilkOff:$3,Minimize:z3,Minimize2:H3,Minus:j3,Monitor:Ja,MonitorCheck:P3,MonitorCog:V3,MonitorDot:B3,MonitorDown:F3,MonitorOff:D3,MonitorPause:R3,MonitorPlay:T3,MonitorSmartphone:U3,MonitorSpeaker:O3,MonitorStop:Z3,MonitorUp:G3,MonitorX:W3,Moon:y0,MoonStar:E3,Mountain:K3,MountainSnow:X3,Mouse:ol,MouseOff:J3,MousePointer:al,MousePointer2:Q3,MousePointerBan:Y3,MousePointerClick:el,Move:ul,Move3d:re,MoveDiagonal:cl,MoveDiagonal2:tl,MoveDown:il,MoveDownLeft:nl,MoveDownRight:dl,MoveHorizontal:hl,MoveLeft:yl,MoveRight:rl,MoveUp:sl,MoveUpLeft:kl,MoveUpRight:pl,MoveVertical:ll,Music:_l,Music2:Ml,Music3:vl,Music4:ml,Navigation:wl,Navigation2:Ll,Navigation2Off:gl,NavigationOff:xl,Network:fl,Newspaper:Cl,Nfc:Il,NonBinary:Nl,Notebook:$l,NotebookPen:Sl,NotebookTabs:bl,NotebookText:ql,NotepadText:Hl,NotepadTextDashed:Al,Nut:jl,NutOff:zl,Octagon:Vl,OctagonAlert:ke,OctagonMinus:Pl,OctagonPause:pe,OctagonX:se,Omega:Bl,Option:Fl,Orbit:Dl,Origami:Rl,Package:Qa,Package2:Tl,PackageCheck:Ul,PackageMinus:Ol,PackageOpen:Zl,PackagePlus:Gl,PackageSearch:Wl,PackageX:El,PaintBucket:Xl,PaintRoller:Kl,Paintbrush:Jl,PaintbrushVertical:le,Palette:r0,PanelBottom:e6,PanelBottomClose:Ql,PanelBottomDashed:ue,PanelBottomOpen:Yl,PanelLeft:s,PanelLeftClose:Me,PanelLeftDashed:ve,PanelLeftOpen:me,PanelRight:t6,PanelRightClose:a6,PanelRightDashed:_e,PanelRightOpen:o6,PanelTop:d6,PanelTopClose:c6,PanelTopDashed:ge,PanelTopOpen:n6,PanelsLeftBottom:i6,PanelsRightBottom:h6,PanelsTopLeft:l,Paperclip:y6,Parentheses:r6,ParkingMeter:k6,PartyPopper:p6,Pause:s6,PawPrint:l6,PcCase:u6,Pen:Le,PenLine:C,PenOff:M6,PenTool:v6,Pencil:L6,PencilLine:m6,PencilOff:_6,PencilRuler:g6,Pentagon:x6,Percent:Ya,PersonStanding:w6,PhilippinePeso:f6,Phone:eo,PhoneCall:C6,PhoneForwarded:I6,PhoneIncoming:N6,PhoneMissed:S6,PhoneOff:b6,PhoneOutgoing:q6,Pi:$6,Piano:A6,Pickaxe:H6,PictureInPicture:j6,PictureInPicture2:z6,PiggyBank:P6,Pilcrow:F6,PilcrowLeft:V6,PilcrowRight:B6,Pill:R6,PillBottle:D6,Pin:U6,PinOff:T6,Pipette:O6,Pizza:Z6,Plane:ao,PlaneLanding:G6,PlaneTakeoff:W6,Play:oo,Plug:X6,Plug2:E6,PlugZap:xe,Plus:k0,Pocket:J6,PocketKnife:K6,Podcast:Q6,Pointer:e8,PointerOff:Y6,Popcorn:a8,Popsicle:o8,PoundSterling:t8,Power:n8,PowerOff:c8,Presentation:d8,Printer:h8,PrinterCheck:i8,Projector:y8,Proportions:r8,Puzzle:k8,Pyramid:p8,QrCode:to,Quote:co,Rabbit:s8,Radar:l8,Radiation:u8,Radical:M8,Radio:_8,RadioReceiver:v8,RadioTower:m8,Radius:g8,RailSymbol:L8,Rainbow:x8,Rat:w8,Ratio:f8,Receipt:H8,ReceiptCent:C8,ReceiptEuro:I8,ReceiptIndianRupee:N8,ReceiptJapaneseYen:S8,ReceiptPoundSterling:b8,ReceiptRussianRuble:q8,ReceiptSwissFranc:$8,ReceiptText:A8,RectangleEllipsis:we,RectangleHorizontal:z8,RectangleVertical:j8,Recycle:P8,Redo:x0,Redo2:V8,RedoDot:B8,RefreshCcw:D8,RefreshCcwDot:F8,RefreshCw:no,RefreshCwOff:R8,Refrigerator:T8,Regex:U8,RemoveFormatting:O8,Repeat:W8,Repeat1:Z8,Repeat2:G8,Replace:X8,ReplaceAll:E8,Reply:J8,ReplyAll:K8,Rewind:Q8,Ribbon:Y8,Rocket:e7,RockingChair:a7,RollerCoaster:o7,Rotate3d:fe,RotateCcw:c7,RotateCcwSquare:t7,RotateCw:d7,RotateCwSquare:n7,Route:h7,RouteOff:i7,Router:y7,Rows2:Ce,Rows3:Ie,Rows4:r7,Rss:k7,Ruler:io,RussianRuble:p7,Sailboat:s7,Salad:l7,Sandwich:u7,Satellite:v7,SatelliteDish:M7,Save:p0,SaveAll:m7,SaveOff:_7,Scale:q0,Scale3d:Ne,Scaling:g7,Scan:b7,ScanBarcode:L7,ScanEye:x7,ScanFace:w7,ScanHeart:f7,ScanLine:C7,ScanQrCode:I7,ScanSearch:N7,ScanText:S7,School:q7,Scissors:A7,ScissorsLineDashed:$7,ScreenShare:z7,ScreenShareOff:H7,Scroll:P7,ScrollText:j7,Search:s0,SearchCheck:V7,SearchCode:B7,SearchSlash:F7,SearchX:D7,Section:R7,Send:ho,SendHorizontal:Se,SendToBack:T7,SeparatorHorizontal:U7,SeparatorVertical:O7,Server:yo,ServerCog:Z7,ServerCrash:G7,ServerOff:W7,Settings:ro,Settings2:E7,Shapes:X7,Share:K7,Share2:ko,Sheet:J7,Shell:Q7,Shield:Aa,ShieldAlert:Y7,ShieldBan:eu,ShieldCheck:lo,ShieldEllipsis:au,ShieldHalf:ou,ShieldMinus:tu,ShieldOff:cu,ShieldPlus:nu,ShieldQuestion:du,ShieldX:be,Ship:hu,ShipWheel:iu,Shirt:yu,ShoppingBag:ru,ShoppingBasket:ku,ShoppingCart:pu,Shovel:su,ShowerHead:lu,Shrink:uu,Shrub:Mu,Shuffle:vu,Sigma:mu,Signal:wu,SignalHigh:_u,SignalLow:gu,SignalMedium:Lu,SignalZero:xu,Signature:fu,Signpost:Iu,SignpostBig:Cu,Siren:Nu,SkipBack:Su,SkipForward:bu,Skull:qu,Slack:$u,Slash:Au,Slice:Hu,SlidersHorizontal:zu,SlidersVertical:qe,Smartphone:po,SmartphoneCharging:ju,SmartphoneNfc:Pu,Smile:Bu,SmilePlus:Vu,Snail:Fu,Snowflake:Du,Sofa:Ru,Soup:Tu,Space:Uu,Spade:Ou,Sparkle:Zu,Sparkles:M,Speaker:Gu,Speech:Wu,SpellCheck:Xu,SpellCheck2:Eu,Spline:Ku,Split:Ju,SprayCan:Qu,Sprout:Yu,Square:n9,SquareActivity:$e,SquareArrowDown:ze,SquareArrowDownLeft:Ae,SquareArrowDownRight:He,SquareArrowLeft:je,SquareArrowOutDownLeft:Pe,SquareArrowOutDownRight:Ve,SquareArrowOutUpLeft:Be,SquareArrowOutUpRight:Fe,SquareArrowRight:De,SquareArrowUp:Ue,SquareArrowUpLeft:Re,SquareArrowUpRight:Te,SquareAsterisk:Oe,SquareBottomDashedScissors:Ze,SquareChartGantt:h,SquareCheck:Ge,SquareCheckBig:b,SquareChevronDown:We,SquareChevronLeft:Ee,SquareChevronRight:Xe,SquareChevronUp:Ke,SquareCode:Je,SquareDashed:e2,SquareDashedBottom:a9,SquareDashedBottomCode:e9,SquareDashedKanban:Qe,SquareDashedMousePointer:Ye,SquareDivide:a2,SquareDot:o2,SquareEqual:t2,SquareFunction:c2,SquareKanban:n2,SquareLibrary:d2,SquareM:i2,SquareMenu:h2,SquareMinus:y2,SquareMousePointer:r2,SquareParking:p2,SquareParkingOff:k2,SquarePen:n,SquarePercent:s2,SquarePi:l2,SquarePilcrow:u2,SquarePlay:M2,SquarePlus:v2,SquarePower:m2,SquareRadical:o9,SquareScissors:_2,SquareSigma:g2,SquareSlash:L2,SquareSplitHorizontal:x2,SquareSplitVertical:w2,SquareSquare:t9,SquareStack:c9,SquareTerminal:f2,SquareUser:I2,SquareUserRound:C2,SquareX:N2,Squircle:d9,Squirrel:i9,Stamp:h9,Star:uo,StarHalf:y9,StarOff:r9,StepBack:k9,StepForward:p9,Stethoscope:s9,Sticker:l9,StickyNote:u9,Store:M9,StretchHorizontal:v9,StretchVertical:m9,Strikethrough:w0,Subscript:_9,Sun:Mo,SunDim:g9,SunMedium:L9,SunMoon:x9,SunSnow:w9,Sunrise:f9,Sunset:C9,Superscript:I9,SwatchBook:N9,SwissFranc:S9,SwitchCamera:b9,Sword:q9,Swords:$9,Syringe:A9,Table:D9,Table2:H9,TableCellsMerge:z9,TableCellsSplit:j9,TableColumnsSplit:P9,TableOfContents:V9,TableProperties:B9,TableRowsSplit:F9,Tablet:T9,TabletSmartphone:R9,Tablets:U9,Tag:vo,Tags:O9,Tally1:Z9,Tally2:G9,Tally3:W9,Tally4:E9,Tally5:X9,Tangent:K9,Target:mo,Telescope:J9,Tent:Y9,TentTree:Q9,Terminal:eM,TestTube:aM,TestTubeDiagonal:S2,TestTubes:oM,Text:iM,TextCursor:cM,TextCursorInput:tM,TextQuote:nM,TextSearch:dM,TextSelect:b2,Theater:hM,Thermometer:kM,ThermometerSnowflake:yM,ThermometerSun:rM,ThumbsDown:_o,ThumbsUp:go,Ticket:Lo,TicketCheck:pM,TicketMinus:sM,TicketPercent:lM,TicketPlus:uM,TicketSlash:MM,TicketX:vM,Tickets:_M,TicketsPlane:mM,Timer:xo,TimerOff:gM,TimerReset:LM,ToggleLeft:xM,ToggleRight:wM,Toilet:fM,Tornado:CM,Torus:IM,Touchpad:SM,TouchpadOff:NM,TowerControl:bM,ToyBrick:qM,Tractor:$M,TrafficCone:AM,TrainFront:zM,TrainFrontTunnel:HM,TrainTrack:jM,TramFront:q2,Transgender:PM,Trash:fo,Trash2:wo,TreeDeciduous:VM,TreePalm:$2,TreePine:BM,Trees:FM,Trello:DM,TrendingDown:Co,TrendingUp:Io,TrendingUpDown:RM,Triangle:OM,TriangleAlert:q,TriangleDashed:TM,TriangleRight:UM,Trophy:No,Truck:ZM,Turtle:GM,Tv:EM,TvMinimal:A2,TvMinimalPlay:WM,Twitch:XM,Twitter:Da,Type:So,TypeOutline:KM,Umbrella:QM,UmbrellaOff:JM,Underline:YM,Undo:f0,Undo2:ev,UndoDot:av,UnfoldHorizontal:ov,UnfoldVertical:tv,Ungroup:cv,University:H2,Unlink:C0,Unlink2:nv,Unplug:dv,Upload:l0,Usb:iv,User:Ao,UserCheck:bo,UserCog:hv,UserMinus:yv,UserPen:rv,UserPlus:qo,UserRound:F2,UserRoundCheck:z2,UserRoundCog:j2,UserRoundMinus:P2,UserRoundPen:kv,UserRoundPlus:V2,UserRoundSearch:pv,UserRoundX:B2,UserSearch:sv,UserX:$o,Users:Ho,UsersRound:D2,Utensils:T2,UtensilsCrossed:R2,UtilityPole:lv,Variable:uv,Vault:Mv,Vegan:vv,VenetianMask:mv,Venus:gv,VenusAndMars:_v,Vibrate:xv,VibrateOff:Lv,Video:fv,VideoOff:wv,Videotape:Cv,View:Iv,Voicemail:Nv,Volleyball:Sv,Volume:Hv,Volume1:bv,Volume2:qv,VolumeOff:$v,VolumeX:Av,Vote:zv,Wallet:zo,WalletCards:jv,WalletMinimal:U2,Wallpaper:Pv,Wand:Vv,WandSparkles:O2,Warehouse:Bv,WashingMachine:Fv,Watch:Dv,Waves:Tv,WavesLadder:Rv,Waypoints:Uv,Webcam:Ov,Webhook:Gv,WebhookOff:Zv,Weight:Wv,Wheat:Xv,WheatOff:Ev,WholeWord:Kv,Wifi:so,WifiHigh:Jv,WifiLow:Qv,WifiOff:Yv,WifiZero:em,Wind:om,WindArrowDown:am,Wine:cm,WineOff:tm,Workflow:nm,Worm:dm,WrapText:im,Wrench:jo,X:u0,Youtube:hm,Zap:Po,ZapOff:ym,ZoomIn:rm,ZoomOut:km},Symbol.toStringTag,{value:"Module"}));/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SO=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Io,AArrowDownIcon:Io,AArrowUp:No,AArrowUpIcon:No,ALargeSmall:So,ALargeSmallIcon:So,Accessibility:qo,AccessibilityIcon:qo,Activity:bo,ActivityIcon:bo,ActivitySquare:qe,ActivitySquareIcon:qe,AirVent:$o,AirVentIcon:$o,Airplay:Ao,AirplayIcon:Ao,AlarmCheck:q,AlarmCheckIcon:q,AlarmClock:zo,AlarmClockCheck:q,AlarmClockCheckIcon:q,AlarmClockIcon:zo,AlarmClockMinus:b,AlarmClockMinusIcon:b,AlarmClockOff:Ho,AlarmClockOffIcon:Ho,AlarmClockPlus:$,AlarmClockPlusIcon:$,AlarmMinus:b,AlarmMinusIcon:b,AlarmPlus:$,AlarmPlusIcon:$,AlarmSmoke:Po,AlarmSmokeIcon:Po,Album:jo,AlbumIcon:jo,AlertCircle:m,AlertCircleIcon:m,AlertOctagon:ye,AlertOctagonIcon:ye,AlertTriangle:S,AlertTriangleIcon:S,AlignCenter:t0,AlignCenterHorizontal:Vo,AlignCenterHorizontalIcon:Vo,AlignCenterIcon:t0,AlignCenterVertical:Bo,AlignCenterVerticalIcon:Bo,AlignEndHorizontal:Fo,AlignEndHorizontalIcon:Fo,AlignEndVertical:Do,AlignEndVerticalIcon:Do,AlignHorizontalDistributeCenter:Ro,AlignHorizontalDistributeCenterIcon:Ro,AlignHorizontalDistributeEnd:To,AlignHorizontalDistributeEndIcon:To,AlignHorizontalDistributeStart:Uo,AlignHorizontalDistributeStartIcon:Uo,AlignHorizontalJustifyCenter:Oo,AlignHorizontalJustifyCenterIcon:Oo,AlignHorizontalJustifyEnd:Zo,AlignHorizontalJustifyEndIcon:Zo,AlignHorizontalJustifyStart:Go,AlignHorizontalJustifyStartIcon:Go,AlignHorizontalSpaceAround:Wo,AlignHorizontalSpaceAroundIcon:Wo,AlignHorizontalSpaceBetween:Eo,AlignHorizontalSpaceBetweenIcon:Eo,AlignJustify:Xo,AlignJustifyIcon:Xo,AlignLeft:n0,AlignLeftIcon:n0,AlignRight:d0,AlignRightIcon:d0,AlignStartHorizontal:Ko,AlignStartHorizontalIcon:Ko,AlignStartVertical:Jo,AlignStartVerticalIcon:Jo,AlignVerticalDistributeCenter:Qo,AlignVerticalDistributeCenterIcon:Qo,AlignVerticalDistributeEnd:Yo,AlignVerticalDistributeEndIcon:Yo,AlignVerticalDistributeStart:ec,AlignVerticalDistributeStartIcon:ec,AlignVerticalJustifyCenter:ac,AlignVerticalJustifyCenterIcon:ac,AlignVerticalJustifyEnd:oc,AlignVerticalJustifyEndIcon:oc,AlignVerticalJustifyStart:cc,AlignVerticalJustifyStartIcon:cc,AlignVerticalSpaceAround:tc,AlignVerticalSpaceAroundIcon:tc,AlignVerticalSpaceBetween:nc,AlignVerticalSpaceBetweenIcon:nc,Ambulance:dc,AmbulanceIcon:dc,Ampersand:ic,AmpersandIcon:ic,Ampersands:hc,AmpersandsIcon:hc,Amphora:yc,AmphoraIcon:yc,Anchor:rc,AnchorIcon:rc,Angry:kc,AngryIcon:kc,Annoyed:pc,AnnoyedIcon:pc,Antenna:sc,AntennaIcon:sc,Anvil:lc,AnvilIcon:lc,Aperture:uc,ApertureIcon:uc,AppWindow:vc,AppWindowIcon:vc,AppWindowMac:Mc,AppWindowMacIcon:Mc,Apple:mc,AppleIcon:mc,Archive:l0,ArchiveIcon:l0,ArchiveRestore:_c,ArchiveRestoreIcon:_c,ArchiveX:gc,ArchiveXIcon:gc,AreaChart:Z,AreaChartIcon:Z,Armchair:Lc,ArmchairIcon:Lc,ArrowBigDown:wc,ArrowBigDownDash:xc,ArrowBigDownDashIcon:xc,ArrowBigDownIcon:wc,ArrowBigLeft:Cc,ArrowBigLeftDash:fc,ArrowBigLeftDashIcon:fc,ArrowBigLeftIcon:Cc,ArrowBigRight:Nc,ArrowBigRightDash:Ic,ArrowBigRightDashIcon:Ic,ArrowBigRightIcon:Nc,ArrowBigUp:qc,ArrowBigUpDash:Sc,ArrowBigUpDashIcon:Sc,ArrowBigUpIcon:qc,ArrowDown:Bc,ArrowDown01:bc,ArrowDown01Icon:bc,ArrowDown10:$c,ArrowDown10Icon:$c,ArrowDownAZ:A,ArrowDownAZIcon:A,ArrowDownAz:A,ArrowDownAzIcon:A,ArrowDownCircle:a1,ArrowDownCircleIcon:a1,ArrowDownFromLine:Ac,ArrowDownFromLineIcon:Ac,ArrowDownIcon:Bc,ArrowDownLeft:_0,ArrowDownLeftFromCircle:c1,ArrowDownLeftFromCircleIcon:c1,ArrowDownLeftFromSquare:ze,ArrowDownLeftFromSquareIcon:ze,ArrowDownLeftIcon:_0,ArrowDownLeftSquare:be,ArrowDownLeftSquareIcon:be,ArrowDownNarrowWide:Hc,ArrowDownNarrowWideIcon:Hc,ArrowDownRight:zc,ArrowDownRightFromCircle:t1,ArrowDownRightFromCircleIcon:t1,ArrowDownRightFromSquare:Pe,ArrowDownRightFromSquareIcon:Pe,ArrowDownRightIcon:zc,ArrowDownRightSquare:$e,ArrowDownRightSquareIcon:$e,ArrowDownSquare:Ae,ArrowDownSquareIcon:Ae,ArrowDownToDot:Pc,ArrowDownToDotIcon:Pc,ArrowDownToLine:jc,ArrowDownToLineIcon:jc,ArrowDownUp:Vc,ArrowDownUpIcon:Vc,ArrowDownWideNarrow:H,ArrowDownWideNarrowIcon:H,ArrowDownZA:z,ArrowDownZAIcon:z,ArrowDownZa:z,ArrowDownZaIcon:z,ArrowLeft:g0,ArrowLeftCircle:o1,ArrowLeftCircleIcon:o1,ArrowLeftFromLine:Fc,ArrowLeftFromLineIcon:Fc,ArrowLeftIcon:g0,ArrowLeftRight:Dc,ArrowLeftRightIcon:Dc,ArrowLeftSquare:He,ArrowLeftSquareIcon:He,ArrowLeftToLine:Rc,ArrowLeftToLineIcon:Rc,ArrowRight:x0,ArrowRightCircle:i1,ArrowRightCircleIcon:i1,ArrowRightFromLine:Tc,ArrowRightFromLineIcon:Tc,ArrowRightIcon:x0,ArrowRightLeft:L0,ArrowRightLeftIcon:L0,ArrowRightSquare:Be,ArrowRightSquareIcon:Be,ArrowRightToLine:Uc,ArrowRightToLineIcon:Uc,ArrowUp:Jc,ArrowUp01:Oc,ArrowUp01Icon:Oc,ArrowUp10:Zc,ArrowUp10Icon:Zc,ArrowUpAZ:P,ArrowUpAZIcon:P,ArrowUpAz:P,ArrowUpAzIcon:P,ArrowUpCircle:h1,ArrowUpCircleIcon:h1,ArrowUpDown:w0,ArrowUpDownIcon:w0,ArrowUpFromDot:Gc,ArrowUpFromDotIcon:Gc,ArrowUpFromLine:Wc,ArrowUpFromLineIcon:Wc,ArrowUpIcon:Jc,ArrowUpLeft:Ec,ArrowUpLeftFromCircle:n1,ArrowUpLeftFromCircleIcon:n1,ArrowUpLeftFromSquare:je,ArrowUpLeftFromSquareIcon:je,ArrowUpLeftIcon:Ec,ArrowUpLeftSquare:Fe,ArrowUpLeftSquareIcon:Fe,ArrowUpNarrowWide:j,ArrowUpNarrowWideIcon:j,ArrowUpRight:f0,ArrowUpRightFromCircle:d1,ArrowUpRightFromCircleIcon:d1,ArrowUpRightFromSquare:Ve,ArrowUpRightFromSquareIcon:Ve,ArrowUpRightIcon:f0,ArrowUpRightSquare:De,ArrowUpRightSquareIcon:De,ArrowUpSquare:Re,ArrowUpSquareIcon:Re,ArrowUpToLine:Xc,ArrowUpToLineIcon:Xc,ArrowUpWideNarrow:Kc,ArrowUpWideNarrowIcon:Kc,ArrowUpZA:V,ArrowUpZAIcon:V,ArrowUpZa:V,ArrowUpZaIcon:V,ArrowsUpFromLine:Qc,ArrowsUpFromLineIcon:Qc,Asterisk:Yc,AsteriskIcon:Yc,AsteriskSquare:Te,AsteriskSquareIcon:Te,AtSign:et,AtSignIcon:et,Atom:at,AtomIcon:at,AudioLines:ot,AudioLinesIcon:ot,AudioWaveform:ct,AudioWaveformIcon:ct,Award:N0,AwardIcon:N0,Axe:tt,AxeIcon:tt,Axis3D:B,Axis3DIcon:B,Axis3d:B,Axis3dIcon:B,Baby:nt,BabyIcon:nt,Backpack:dt,BackpackIcon:dt,Badge:xt,BadgeAlert:it,BadgeAlertIcon:it,BadgeCent:ht,BadgeCentIcon:ht,BadgeCheck:F,BadgeCheckIcon:F,BadgeDollarSign:yt,BadgeDollarSignIcon:yt,BadgeEuro:rt,BadgeEuroIcon:rt,BadgeHelp:kt,BadgeHelpIcon:kt,BadgeIcon:xt,BadgeIndianRupee:pt,BadgeIndianRupeeIcon:pt,BadgeInfo:st,BadgeInfoIcon:st,BadgeJapaneseYen:lt,BadgeJapaneseYenIcon:lt,BadgeMinus:ut,BadgeMinusIcon:ut,BadgePercent:Mt,BadgePercentIcon:Mt,BadgePlus:vt,BadgePlusIcon:vt,BadgePoundSterling:mt,BadgePoundSterlingIcon:mt,BadgeRussianRuble:_t,BadgeRussianRubleIcon:_t,BadgeSwissFranc:gt,BadgeSwissFrancIcon:gt,BadgeX:Lt,BadgeXIcon:Lt,BaggageClaim:wt,BaggageClaimIcon:wt,Ban:S0,BanIcon:S0,Banana:ft,BananaIcon:ft,Bandage:Ct,BandageIcon:Ct,Banknote:q0,BanknoteIcon:q0,BarChart:M,BarChart2:v,BarChart2Icon:v,BarChart3:u,BarChart3Icon:u,BarChart4:K,BarChart4Icon:K,BarChartBig:X,BarChartBigIcon:X,BarChartHorizontal:W,BarChartHorizontalBig:G,BarChartHorizontalBigIcon:G,BarChartHorizontalIcon:W,BarChartIcon:M,Barcode:It,BarcodeIcon:It,Baseline:Nt,BaselineIcon:Nt,Bath:St,BathIcon:St,Battery:Pt,BatteryCharging:qt,BatteryChargingIcon:qt,BatteryFull:bt,BatteryFullIcon:bt,BatteryIcon:Pt,BatteryLow:$t,BatteryLowIcon:$t,BatteryMedium:At,BatteryMediumIcon:At,BatteryPlus:Ht,BatteryPlusIcon:Ht,BatteryWarning:zt,BatteryWarningIcon:zt,Beaker:jt,BeakerIcon:jt,Bean:Bt,BeanIcon:Bt,BeanOff:Vt,BeanOffIcon:Vt,Bed:Rt,BedDouble:Ft,BedDoubleIcon:Ft,BedIcon:Rt,BedSingle:Dt,BedSingleIcon:Dt,Beef:Tt,BeefIcon:Tt,Beer:Ot,BeerIcon:Ot,BeerOff:Ut,BeerOffIcon:Ut,Bell:$0,BellDot:Zt,BellDotIcon:Zt,BellElectric:Gt,BellElectricIcon:Gt,BellIcon:$0,BellMinus:Wt,BellMinusIcon:Wt,BellOff:Et,BellOffIcon:Et,BellPlus:Xt,BellPlusIcon:Xt,BellRing:Kt,BellRingIcon:Kt,BetweenHorizonalEnd:D,BetweenHorizonalEndIcon:D,BetweenHorizonalStart:R,BetweenHorizonalStartIcon:R,BetweenHorizontalEnd:D,BetweenHorizontalEndIcon:D,BetweenHorizontalStart:R,BetweenHorizontalStartIcon:R,BetweenVerticalEnd:Jt,BetweenVerticalEndIcon:Jt,BetweenVerticalStart:Qt,BetweenVerticalStartIcon:Qt,BicepsFlexed:Yt,BicepsFlexedIcon:Yt,Bike:en,BikeIcon:en,Binary:an,BinaryIcon:an,Binoculars:on,BinocularsIcon:on,Biohazard:cn,BiohazardIcon:cn,Bird:tn,BirdIcon:tn,Bitcoin:nn,BitcoinIcon:nn,Blend:dn,BlendIcon:dn,Blinds:hn,BlindsIcon:hn,Blocks:yn,BlocksIcon:yn,Bluetooth:sn,BluetoothConnected:rn,BluetoothConnectedIcon:rn,BluetoothIcon:sn,BluetoothOff:kn,BluetoothOffIcon:kn,BluetoothSearching:pn,BluetoothSearchingIcon:pn,Bold:i0,BoldIcon:i0,Bolt:ln,BoltIcon:ln,Bomb:un,BombIcon:un,Bone:Mn,BoneIcon:Mn,Book:u0,BookA:vn,BookAIcon:vn,BookAudio:mn,BookAudioIcon:mn,BookCheck:_n,BookCheckIcon:_n,BookCopy:gn,BookCopyIcon:gn,BookDashed:T,BookDashedIcon:T,BookDown:Ln,BookDownIcon:Ln,BookHeadphones:xn,BookHeadphonesIcon:xn,BookHeart:wn,BookHeartIcon:wn,BookIcon:u0,BookImage:fn,BookImageIcon:fn,BookKey:Cn,BookKeyIcon:Cn,BookLock:In,BookLockIcon:In,BookMarked:Nn,BookMarkedIcon:Nn,BookMinus:Sn,BookMinusIcon:Sn,BookOpen:A0,BookOpenCheck:qn,BookOpenCheckIcon:qn,BookOpenIcon:A0,BookOpenText:bn,BookOpenTextIcon:bn,BookPlus:$n,BookPlusIcon:$n,BookTemplate:T,BookTemplateIcon:T,BookText:An,BookTextIcon:An,BookType:Hn,BookTypeIcon:Hn,BookUp:Pn,BookUp2:zn,BookUp2Icon:zn,BookUpIcon:Pn,BookUser:jn,BookUserIcon:jn,BookX:Vn,BookXIcon:Vn,Bookmark:Tn,BookmarkCheck:Bn,BookmarkCheckIcon:Bn,BookmarkIcon:Tn,BookmarkMinus:Fn,BookmarkMinusIcon:Fn,BookmarkPlus:Dn,BookmarkPlusIcon:Dn,BookmarkX:Rn,BookmarkXIcon:Rn,BoomBox:Un,BoomBoxIcon:Un,Bot:Gn,BotIcon:Gn,BotMessageSquare:On,BotMessageSquareIcon:On,BotOff:Zn,BotOffIcon:Zn,Box:Wn,BoxIcon:Wn,BoxSelect:Qe,BoxSelectIcon:Qe,Boxes:H0,BoxesIcon:H0,Braces:U,BracesIcon:U,Brackets:En,BracketsIcon:En,Brain:z0,BrainCircuit:Xn,BrainCircuitIcon:Xn,BrainCog:Kn,BrainCogIcon:Kn,BrainIcon:z0,BrickWall:Jn,BrickWallIcon:Jn,Briefcase:j0,BriefcaseBusiness:Qn,BriefcaseBusinessIcon:Qn,BriefcaseConveyorBelt:Yn,BriefcaseConveyorBeltIcon:Yn,BriefcaseIcon:j0,BriefcaseMedical:ed,BriefcaseMedicalIcon:ed,BringToFront:ad,BringToFrontIcon:ad,Brush:od,BrushIcon:od,Bug:nd,BugIcon:nd,BugOff:cd,BugOffIcon:cd,BugPlay:td,BugPlayIcon:td,Building:B0,Building2:V0,Building2Icon:V0,BuildingIcon:B0,Bus:id,BusFront:dd,BusFrontIcon:dd,BusIcon:id,Cable:yd,CableCar:hd,CableCarIcon:hd,CableIcon:yd,Cake:kd,CakeIcon:kd,CakeSlice:rd,CakeSliceIcon:rd,Calculator:F0,CalculatorIcon:F0,Calendar:T0,Calendar1:pd,Calendar1Icon:pd,CalendarArrowDown:sd,CalendarArrowDownIcon:sd,CalendarArrowUp:ld,CalendarArrowUpIcon:ld,CalendarCheck:D0,CalendarCheck2:ud,CalendarCheck2Icon:ud,CalendarCheckIcon:D0,CalendarClock:Md,CalendarClockIcon:Md,CalendarCog:vd,CalendarCogIcon:vd,CalendarDays:R0,CalendarDaysIcon:R0,CalendarFold:md,CalendarFoldIcon:md,CalendarHeart:_d,CalendarHeartIcon:_d,CalendarIcon:T0,CalendarMinus:Ld,CalendarMinus2:gd,CalendarMinus2Icon:gd,CalendarMinusIcon:Ld,CalendarOff:xd,CalendarOffIcon:xd,CalendarPlus:fd,CalendarPlus2:wd,CalendarPlus2Icon:wd,CalendarPlusIcon:fd,CalendarRange:Cd,CalendarRangeIcon:Cd,CalendarSearch:Id,CalendarSearchIcon:Id,CalendarSync:Nd,CalendarSyncIcon:Nd,CalendarX:qd,CalendarX2:Sd,CalendarX2Icon:Sd,CalendarXIcon:qd,Camera:U0,CameraIcon:U0,CameraOff:bd,CameraOffIcon:bd,CandlestickChart:E,CandlestickChartIcon:E,Candy:Hd,CandyCane:$d,CandyCaneIcon:$d,CandyIcon:Hd,CandyOff:Ad,CandyOffIcon:Ad,Cannabis:zd,CannabisIcon:zd,Captions:O,CaptionsIcon:O,CaptionsOff:Pd,CaptionsOffIcon:Pd,Car:Bd,CarFront:jd,CarFrontIcon:jd,CarIcon:Bd,CarTaxiFront:Vd,CarTaxiFrontIcon:Vd,Caravan:Fd,CaravanIcon:Fd,Carrot:Dd,CarrotIcon:Dd,CaseLower:Rd,CaseLowerIcon:Rd,CaseSensitive:Td,CaseSensitiveIcon:Td,CaseUpper:Ud,CaseUpperIcon:Ud,CassetteTape:Od,CassetteTapeIcon:Od,Cast:Zd,CastIcon:Zd,Castle:Gd,CastleIcon:Gd,Cat:Wd,CatIcon:Wd,Cctv:Ed,CctvIcon:Ed,ChartArea:Z,ChartAreaIcon:Z,ChartBar:W,ChartBarBig:G,ChartBarBigIcon:G,ChartBarDecreasing:Xd,ChartBarDecreasingIcon:Xd,ChartBarIcon:W,ChartBarIncreasing:Kd,ChartBarIncreasingIcon:Kd,ChartBarStacked:Jd,ChartBarStackedIcon:Jd,ChartCandlestick:E,ChartCandlestickIcon:E,ChartColumn:u,ChartColumnBig:X,ChartColumnBigIcon:X,ChartColumnDecreasing:Qd,ChartColumnDecreasingIcon:Qd,ChartColumnIcon:u,ChartColumnIncreasing:K,ChartColumnIncreasingIcon:K,ChartColumnStacked:Yd,ChartColumnStackedIcon:Yd,ChartGantt:ei,ChartGanttIcon:ei,ChartLine:J,ChartLineIcon:J,ChartNetwork:ai,ChartNetworkIcon:ai,ChartNoAxesColumn:v,ChartNoAxesColumnDecreasing:oi,ChartNoAxesColumnDecreasingIcon:oi,ChartNoAxesColumnIcon:v,ChartNoAxesColumnIncreasing:M,ChartNoAxesColumnIncreasingIcon:M,ChartNoAxesCombined:ci,ChartNoAxesCombinedIcon:ci,ChartNoAxesGantt:Q,ChartNoAxesGanttIcon:Q,ChartPie:Y,ChartPieIcon:Y,ChartScatter:e1,ChartScatterIcon:e1,ChartSpline:ti,ChartSplineIcon:ti,Check:E2,CheckCheck:ni,CheckCheckIcon:ni,CheckCircle:_,CheckCircle2:g,CheckCircle2Icon:g,CheckCircleIcon:_,CheckIcon:E2,CheckSquare:N,CheckSquare2:Oe,CheckSquare2Icon:Oe,CheckSquareIcon:N,ChefHat:di,ChefHatIcon:di,Cherry:ii,CherryIcon:ii,ChevronDown:O2,ChevronDownCircle:y1,ChevronDownCircleIcon:y1,ChevronDownIcon:O2,ChevronDownSquare:Ze,ChevronDownSquareIcon:Ze,ChevronFirst:hi,ChevronFirstIcon:hi,ChevronLast:yi,ChevronLastIcon:yi,ChevronLeft:O0,ChevronLeftCircle:r1,ChevronLeftCircleIcon:r1,ChevronLeftIcon:O0,ChevronLeftSquare:Ge,ChevronLeftSquareIcon:Ge,ChevronRight:Z0,ChevronRightCircle:k1,ChevronRightCircleIcon:k1,ChevronRightIcon:Z0,ChevronRightSquare:We,ChevronRightSquareIcon:We,ChevronUp:Z2,ChevronUpCircle:p1,ChevronUpCircleIcon:p1,ChevronUpIcon:Z2,ChevronUpSquare:Ee,ChevronUpSquareIcon:Ee,ChevronsDown:ki,ChevronsDownIcon:ki,ChevronsDownUp:ri,ChevronsDownUpIcon:ri,ChevronsLeft:li,ChevronsLeftIcon:li,ChevronsLeftRight:si,ChevronsLeftRightEllipsis:pi,ChevronsLeftRightEllipsisIcon:pi,ChevronsLeftRightIcon:si,ChevronsRight:Mi,ChevronsRightIcon:Mi,ChevronsRightLeft:ui,ChevronsRightLeftIcon:ui,ChevronsUp:vi,ChevronsUpDown:G2,ChevronsUpDownIcon:G2,ChevronsUpIcon:vi,Chrome:mi,ChromeIcon:mi,Church:_i,ChurchIcon:_i,Cigarette:Li,CigaretteIcon:Li,CigaretteOff:gi,CigaretteOffIcon:gi,Circle:G0,CircleAlert:m,CircleAlertIcon:m,CircleArrowDown:a1,CircleArrowDownIcon:a1,CircleArrowLeft:o1,CircleArrowLeftIcon:o1,CircleArrowOutDownLeft:c1,CircleArrowOutDownLeftIcon:c1,CircleArrowOutDownRight:t1,CircleArrowOutDownRightIcon:t1,CircleArrowOutUpLeft:n1,CircleArrowOutUpLeftIcon:n1,CircleArrowOutUpRight:d1,CircleArrowOutUpRightIcon:d1,CircleArrowRight:i1,CircleArrowRightIcon:i1,CircleArrowUp:h1,CircleArrowUpIcon:h1,CircleCheck:g,CircleCheckBig:_,CircleCheckBigIcon:_,CircleCheckIcon:g,CircleChevronDown:y1,CircleChevronDownIcon:y1,CircleChevronLeft:r1,CircleChevronLeftIcon:r1,CircleChevronRight:k1,CircleChevronRightIcon:k1,CircleChevronUp:p1,CircleChevronUpIcon:p1,CircleDashed:xi,CircleDashedIcon:xi,CircleDivide:s1,CircleDivideIcon:s1,CircleDollarSign:wi,CircleDollarSignIcon:wi,CircleDot:Ci,CircleDotDashed:fi,CircleDotDashedIcon:fi,CircleDotIcon:Ci,CircleEllipsis:Ii,CircleEllipsisIcon:Ii,CircleEqual:Ni,CircleEqualIcon:Ni,CircleFadingArrowUp:Si,CircleFadingArrowUpIcon:Si,CircleFadingPlus:qi,CircleFadingPlusIcon:qi,CircleGauge:l1,CircleGaugeIcon:l1,CircleHelp:L,CircleHelpIcon:L,CircleIcon:G0,CircleMinus:u1,CircleMinusIcon:u1,CircleOff:bi,CircleOffIcon:bi,CircleParking:v1,CircleParkingIcon:v1,CircleParkingOff:M1,CircleParkingOffIcon:M1,CirclePause:m1,CirclePauseIcon:m1,CirclePercent:_1,CirclePercentIcon:_1,CirclePlay:g1,CirclePlayIcon:g1,CirclePlus:L1,CirclePlusIcon:L1,CirclePower:x1,CirclePowerIcon:x1,CircleSlash:$i,CircleSlash2:w1,CircleSlash2Icon:w1,CircleSlashIcon:$i,CircleSlashed:w1,CircleSlashedIcon:w1,CircleSmall:Ai,CircleSmallIcon:Ai,CircleStop:f1,CircleStopIcon:f1,CircleUser:I1,CircleUserIcon:I1,CircleUserRound:C1,CircleUserRoundIcon:C1,CircleX:x,CircleXIcon:x,CircuitBoard:Hi,CircuitBoardIcon:Hi,Citrus:zi,CitrusIcon:zi,Clapperboard:Pi,ClapperboardIcon:Pi,Clipboard:Ui,ClipboardCheck:ji,ClipboardCheckIcon:ji,ClipboardCopy:Vi,ClipboardCopyIcon:Vi,ClipboardEdit:S1,ClipboardEditIcon:S1,ClipboardIcon:Ui,ClipboardList:W0,ClipboardListIcon:W0,ClipboardMinus:Bi,ClipboardMinusIcon:Bi,ClipboardPaste:Fi,ClipboardPasteIcon:Fi,ClipboardPen:S1,ClipboardPenIcon:S1,ClipboardPenLine:N1,ClipboardPenLineIcon:N1,ClipboardPlus:Di,ClipboardPlusIcon:Di,ClipboardSignature:N1,ClipboardSignatureIcon:N1,ClipboardType:Ri,ClipboardTypeIcon:Ri,ClipboardX:Ti,ClipboardXIcon:Ti,Clock:E0,Clock1:Oi,Clock10:Zi,Clock10Icon:Zi,Clock11:Gi,Clock11Icon:Gi,Clock12:Wi,Clock12Icon:Wi,Clock1Icon:Oi,Clock2:Ei,Clock2Icon:Ei,Clock3:Xi,Clock3Icon:Xi,Clock4:Ki,Clock4Icon:Ki,Clock5:Ji,Clock5Icon:Ji,Clock6:Qi,Clock6Icon:Qi,Clock7:Yi,Clock7Icon:Yi,Clock8:eh,Clock8Icon:eh,Clock9:ah,Clock9Icon:ah,ClockAlert:oh,ClockAlertIcon:oh,ClockArrowDown:ch,ClockArrowDownIcon:ch,ClockArrowUp:th,ClockArrowUpIcon:th,ClockIcon:E0,Cloud:_h,CloudAlert:nh,CloudAlertIcon:nh,CloudCog:dh,CloudCogIcon:dh,CloudDownload:q1,CloudDownloadIcon:q1,CloudDrizzle:ih,CloudDrizzleIcon:ih,CloudFog:hh,CloudFogIcon:hh,CloudHail:yh,CloudHailIcon:yh,CloudIcon:_h,CloudLightning:rh,CloudLightningIcon:rh,CloudMoon:ph,CloudMoonIcon:ph,CloudMoonRain:kh,CloudMoonRainIcon:kh,CloudOff:sh,CloudOffIcon:sh,CloudRain:uh,CloudRainIcon:uh,CloudRainWind:lh,CloudRainWindIcon:lh,CloudSnow:Mh,CloudSnowIcon:Mh,CloudSun:mh,CloudSunIcon:mh,CloudSunRain:vh,CloudSunRainIcon:vh,CloudUpload:b1,CloudUploadIcon:b1,Cloudy:gh,CloudyIcon:gh,Clover:Lh,CloverIcon:Lh,Club:xh,ClubIcon:xh,Code:X0,Code2:$1,Code2Icon:$1,CodeIcon:X0,CodeSquare:Xe,CodeSquareIcon:Xe,CodeXml:$1,CodeXmlIcon:$1,Codepen:wh,CodepenIcon:wh,Codesandbox:fh,CodesandboxIcon:fh,Coffee:Ch,CoffeeIcon:Ch,Cog:Ih,CogIcon:Ih,Coins:K0,CoinsIcon:K0,Columns:A1,Columns2:A1,Columns2Icon:A1,Columns3:H1,Columns3Icon:H1,Columns4:Nh,Columns4Icon:Nh,ColumnsIcon:A1,Combine:Sh,CombineIcon:Sh,Command:qh,CommandIcon:qh,Compass:bh,CompassIcon:bh,Component:$h,ComponentIcon:$h,Computer:Ah,ComputerIcon:Ah,ConciergeBell:Hh,ConciergeBellIcon:Hh,Cone:zh,ConeIcon:zh,Construction:Ph,ConstructionIcon:Ph,Contact:jh,Contact2:z1,Contact2Icon:z1,ContactIcon:jh,ContactRound:z1,ContactRoundIcon:z1,Container:Vh,ContainerIcon:Vh,Contrast:Bh,ContrastIcon:Bh,Cookie:Fh,CookieIcon:Fh,CookingPot:Dh,CookingPotIcon:Dh,Copy:J0,CopyCheck:Rh,CopyCheckIcon:Rh,CopyIcon:J0,CopyMinus:Th,CopyMinusIcon:Th,CopyPlus:Uh,CopyPlusIcon:Uh,CopySlash:Oh,CopySlashIcon:Oh,CopyX:Zh,CopyXIcon:Zh,Copyleft:Gh,CopyleftIcon:Gh,Copyright:Wh,CopyrightIcon:Wh,CornerDownLeft:Eh,CornerDownLeftIcon:Eh,CornerDownRight:Xh,CornerDownRightIcon:Xh,CornerLeftDown:Kh,CornerLeftDownIcon:Kh,CornerLeftUp:Jh,CornerLeftUpIcon:Jh,CornerRightDown:Qh,CornerRightDownIcon:Qh,CornerRightUp:Yh,CornerRightUpIcon:Yh,CornerUpLeft:ey,CornerUpLeftIcon:ey,CornerUpRight:ay,CornerUpRightIcon:ay,Cpu:oy,CpuIcon:oy,CreativeCommons:cy,CreativeCommonsIcon:cy,CreditCard:Q0,CreditCardIcon:Q0,Croissant:ty,CroissantIcon:ty,Crop:ny,CropIcon:ny,Cross:dy,CrossIcon:dy,Crosshair:Y0,CrosshairIcon:Y0,Crown:ea,CrownIcon:ea,Cuboid:iy,CuboidIcon:iy,CupSoda:hy,CupSodaIcon:hy,CurlyBraces:U,CurlyBracesIcon:U,Currency:yy,CurrencyIcon:yy,Cylinder:ry,CylinderIcon:ry,Dam:ky,DamIcon:ky,Database:ly,DatabaseBackup:py,DatabaseBackupIcon:py,DatabaseIcon:ly,DatabaseZap:sy,DatabaseZapIcon:sy,Delete:uy,DeleteIcon:uy,Dessert:My,DessertIcon:My,Diameter:vy,DiameterIcon:vy,Diamond:gy,DiamondIcon:gy,DiamondMinus:my,DiamondMinusIcon:my,DiamondPercent:P1,DiamondPercentIcon:P1,DiamondPlus:_y,DiamondPlusIcon:_y,Dice1:Ly,Dice1Icon:Ly,Dice2:xy,Dice2Icon:xy,Dice3:wy,Dice3Icon:wy,Dice4:fy,Dice4Icon:fy,Dice5:Cy,Dice5Icon:Cy,Dice6:Iy,Dice6Icon:Iy,Dices:Ny,DicesIcon:Ny,Diff:Sy,DiffIcon:Sy,Disc:Ay,Disc2:qy,Disc2Icon:qy,Disc3:by,Disc3Icon:by,DiscAlbum:$y,DiscAlbumIcon:$y,DiscIcon:Ay,Divide:Hy,DivideCircle:s1,DivideCircleIcon:s1,DivideIcon:Hy,DivideSquare:Ye,DivideSquareIcon:Ye,Dna:Py,DnaIcon:Py,DnaOff:zy,DnaOffIcon:zy,Dock:jy,DockIcon:jy,Dog:Vy,DogIcon:Vy,DollarSign:aa,DollarSignIcon:aa,Donut:By,DonutIcon:By,DoorClosed:Fy,DoorClosedIcon:Fy,DoorOpen:Dy,DoorOpenIcon:Dy,Dot:Ry,DotIcon:Ry,DotSquare:e2,DotSquareIcon:e2,Download:oa,DownloadCloud:q1,DownloadCloudIcon:q1,DownloadIcon:oa,DraftingCompass:Ty,DraftingCompassIcon:Ty,Drama:Uy,DramaIcon:Uy,Dribbble:Oy,DribbbleIcon:Oy,Drill:Zy,DrillIcon:Zy,Droplet:Wy,DropletIcon:Wy,DropletOff:Gy,DropletOffIcon:Gy,Droplets:Ey,DropletsIcon:Ey,Drum:Xy,DrumIcon:Xy,Drumstick:Ky,DrumstickIcon:Ky,Dumbbell:Jy,DumbbellIcon:Jy,Ear:Yy,EarIcon:Yy,EarOff:Qy,EarOffIcon:Qy,Earth:j1,EarthIcon:j1,EarthLock:er,EarthLockIcon:er,Eclipse:ar,EclipseIcon:ar,Edit:n,Edit2:_e,Edit2Icon:_e,Edit3:w,Edit3Icon:w,EditIcon:n,Egg:tr,EggFried:or,EggFriedIcon:or,EggIcon:tr,EggOff:cr,EggOffIcon:cr,Ellipsis:B1,EllipsisIcon:B1,EllipsisVertical:V1,EllipsisVerticalIcon:V1,Equal:ir,EqualApproximately:nr,EqualApproximatelyIcon:nr,EqualIcon:ir,EqualNot:dr,EqualNotIcon:dr,EqualSquare:a2,EqualSquareIcon:a2,Eraser:hr,EraserIcon:hr,EthernetPort:yr,EthernetPortIcon:yr,Euro:rr,EuroIcon:rr,Expand:kr,ExpandIcon:kr,ExternalLink:ca,ExternalLinkIcon:ca,Eye:na,EyeClosed:pr,EyeClosedIcon:pr,EyeIcon:na,EyeOff:ta,EyeOffIcon:ta,Facebook:da,FacebookIcon:da,Factory:sr,FactoryIcon:sr,Fan:lr,FanIcon:lr,FastForward:ur,FastForwardIcon:ur,Feather:Mr,FeatherIcon:Mr,Fence:vr,FenceIcon:vr,FerrisWheel:mr,FerrisWheelIcon:mr,Figma:_r,FigmaIcon:_r,File:p4,FileArchive:gr,FileArchiveIcon:gr,FileAudio:xr,FileAudio2:Lr,FileAudio2Icon:Lr,FileAudioIcon:xr,FileAxis3D:F1,FileAxis3DIcon:F1,FileAxis3d:F1,FileAxis3dIcon:F1,FileBadge:fr,FileBadge2:wr,FileBadge2Icon:wr,FileBadgeIcon:fr,FileBarChart:D1,FileBarChart2:R1,FileBarChart2Icon:R1,FileBarChartIcon:D1,FileBox:Cr,FileBoxIcon:Cr,FileChartColumn:R1,FileChartColumnIcon:R1,FileChartColumnIncreasing:D1,FileChartColumnIncreasingIcon:D1,FileChartLine:T1,FileChartLineIcon:T1,FileChartPie:U1,FileChartPieIcon:U1,FileCheck:Nr,FileCheck2:Ir,FileCheck2Icon:Ir,FileCheckIcon:Nr,FileClock:Sr,FileClockIcon:Sr,FileCode:br,FileCode2:qr,FileCode2Icon:qr,FileCodeIcon:br,FileCog:O1,FileCog2:O1,FileCog2Icon:O1,FileCogIcon:O1,FileDiff:$r,FileDiffIcon:$r,FileDigit:Ar,FileDigitIcon:Ar,FileDown:ha,FileDownIcon:ha,FileEdit:G1,FileEditIcon:G1,FileHeart:Hr,FileHeartIcon:Hr,FileIcon:p4,FileImage:zr,FileImageIcon:zr,FileInput:Pr,FileInputIcon:Pr,FileJson:Vr,FileJson2:jr,FileJson2Icon:jr,FileJsonIcon:Vr,FileKey:Fr,FileKey2:Br,FileKey2Icon:Br,FileKeyIcon:Fr,FileLineChart:T1,FileLineChartIcon:T1,FileLock:Rr,FileLock2:Dr,FileLock2Icon:Dr,FileLockIcon:Rr,FileMinus:Ur,FileMinus2:Tr,FileMinus2Icon:Tr,FileMinusIcon:Ur,FileMusic:Or,FileMusicIcon:Or,FileOutput:Zr,FileOutputIcon:Zr,FilePen:G1,FilePenIcon:G1,FilePenLine:Z1,FilePenLineIcon:Z1,FilePieChart:U1,FilePieChartIcon:U1,FilePlus:Wr,FilePlus2:Gr,FilePlus2Icon:Gr,FilePlusIcon:Wr,FileQuestion:Er,FileQuestionIcon:Er,FileScan:Xr,FileScanIcon:Xr,FileSearch:Jr,FileSearch2:Kr,FileSearch2Icon:Kr,FileSearchIcon:Jr,FileSignature:Z1,FileSignatureIcon:Z1,FileSliders:Qr,FileSlidersIcon:Qr,FileSpreadsheet:ya,FileSpreadsheetIcon:ya,FileStack:Yr,FileStackIcon:Yr,FileSymlink:e4,FileSymlinkIcon:e4,FileTerminal:a4,FileTerminalIcon:a4,FileText:X2,FileTextIcon:X2,FileType:c4,FileType2:o4,FileType2Icon:o4,FileTypeIcon:c4,FileUp:ra,FileUpIcon:ra,FileUser:t4,FileUserIcon:t4,FileVideo:d4,FileVideo2:n4,FileVideo2Icon:n4,FileVideoIcon:d4,FileVolume:h4,FileVolume2:i4,FileVolume2Icon:i4,FileVolumeIcon:h4,FileWarning:y4,FileWarningIcon:y4,FileX:k4,FileX2:r4,FileX2Icon:r4,FileXIcon:k4,Files:s4,FilesIcon:s4,Film:l4,FilmIcon:l4,Filter:ka,FilterIcon:ka,FilterX:u4,FilterXIcon:u4,Fingerprint:pa,FingerprintIcon:pa,FireExtinguisher:M4,FireExtinguisherIcon:M4,Fish:_4,FishIcon:_4,FishOff:v4,FishOffIcon:v4,FishSymbol:m4,FishSymbolIcon:m4,Flag:w4,FlagIcon:w4,FlagOff:g4,FlagOffIcon:g4,FlagTriangleLeft:L4,FlagTriangleLeftIcon:L4,FlagTriangleRight:x4,FlagTriangleRightIcon:x4,Flame:C4,FlameIcon:C4,FlameKindling:f4,FlameKindlingIcon:f4,Flashlight:N4,FlashlightIcon:N4,FlashlightOff:I4,FlashlightOffIcon:I4,FlaskConical:q4,FlaskConicalIcon:q4,FlaskConicalOff:S4,FlaskConicalOffIcon:S4,FlaskRound:b4,FlaskRoundIcon:b4,FlipHorizontal:A4,FlipHorizontal2:$4,FlipHorizontal2Icon:$4,FlipHorizontalIcon:A4,FlipVertical:z4,FlipVertical2:H4,FlipVertical2Icon:H4,FlipVerticalIcon:z4,Flower:j4,Flower2:P4,Flower2Icon:P4,FlowerIcon:j4,Focus:V4,FocusIcon:V4,FoldHorizontal:B4,FoldHorizontalIcon:B4,FoldVertical:F4,FoldVerticalIcon:F4,Folder:P0,FolderArchive:D4,FolderArchiveIcon:D4,FolderCheck:R4,FolderCheckIcon:R4,FolderClock:T4,FolderClockIcon:T4,FolderClosed:U4,FolderClosedIcon:U4,FolderCode:O4,FolderCodeIcon:O4,FolderCog:W1,FolderCog2:W1,FolderCog2Icon:W1,FolderCogIcon:W1,FolderDot:Z4,FolderDotIcon:Z4,FolderDown:G4,FolderDownIcon:G4,FolderEdit:E1,FolderEditIcon:E1,FolderGit:E4,FolderGit2:W4,FolderGit2Icon:W4,FolderGitIcon:E4,FolderHeart:X4,FolderHeartIcon:X4,FolderIcon:P0,FolderInput:K4,FolderInputIcon:K4,FolderKanban:J4,FolderKanbanIcon:J4,FolderKey:Q4,FolderKeyIcon:Q4,FolderLock:Y4,FolderLockIcon:Y4,FolderMinus:ek,FolderMinusIcon:ek,FolderOpen:sa,FolderOpenDot:ak,FolderOpenDotIcon:ak,FolderOpenIcon:sa,FolderOutput:ok,FolderOutputIcon:ok,FolderPen:E1,FolderPenIcon:E1,FolderPlus:ck,FolderPlusIcon:ck,FolderRoot:tk,FolderRootIcon:tk,FolderSearch:dk,FolderSearch2:nk,FolderSearch2Icon:nk,FolderSearchIcon:dk,FolderSymlink:ik,FolderSymlinkIcon:ik,FolderSync:hk,FolderSyncIcon:hk,FolderTree:yk,FolderTreeIcon:yk,FolderUp:rk,FolderUpIcon:rk,FolderX:kk,FolderXIcon:kk,Folders:pk,FoldersIcon:pk,Footprints:sk,FootprintsIcon:sk,ForkKnife:D2,ForkKnifeCrossed:F2,ForkKnifeCrossedIcon:F2,ForkKnifeIcon:D2,Forklift:lk,ForkliftIcon:lk,FormInput:Le,FormInputIcon:Le,Forward:uk,ForwardIcon:uk,Frame:Mk,FrameIcon:Mk,Framer:vk,FramerIcon:vk,Frown:mk,FrownIcon:mk,Fuel:_k,FuelIcon:_k,Fullscreen:gk,FullscreenIcon:gk,FunctionSquare:o2,FunctionSquareIcon:o2,GalleryHorizontal:xk,GalleryHorizontalEnd:Lk,GalleryHorizontalEndIcon:Lk,GalleryHorizontalIcon:xk,GalleryThumbnails:wk,GalleryThumbnailsIcon:wk,GalleryVertical:Ck,GalleryVerticalEnd:fk,GalleryVerticalEndIcon:fk,GalleryVerticalIcon:Ck,Gamepad:Nk,Gamepad2:Ik,Gamepad2Icon:Ik,GamepadIcon:Nk,GanttChart:Q,GanttChartIcon:Q,GanttChartSquare:i,GanttChartSquareIcon:i,Gauge:Sk,GaugeCircle:l1,GaugeCircleIcon:l1,GaugeIcon:Sk,Gavel:qk,GavelIcon:qk,Gem:bk,GemIcon:bk,Ghost:$k,GhostIcon:$k,Gift:la,GiftIcon:la,GitBranch:ua,GitBranchIcon:ua,GitBranchPlus:Ak,GitBranchPlusIcon:Ak,GitCommit:X1,GitCommitHorizontal:X1,GitCommitHorizontalIcon:X1,GitCommitIcon:X1,GitCommitVertical:Hk,GitCommitVerticalIcon:Hk,GitCompare:Pk,GitCompareArrows:zk,GitCompareArrowsIcon:zk,GitCompareIcon:Pk,GitFork:jk,GitForkIcon:jk,GitGraph:Vk,GitGraphIcon:Vk,GitMerge:Bk,GitMergeIcon:Bk,GitPullRequest:Ok,GitPullRequestArrow:Fk,GitPullRequestArrowIcon:Fk,GitPullRequestClosed:Dk,GitPullRequestClosedIcon:Dk,GitPullRequestCreate:Tk,GitPullRequestCreateArrow:Rk,GitPullRequestCreateArrowIcon:Rk,GitPullRequestCreateIcon:Tk,GitPullRequestDraft:Uk,GitPullRequestDraftIcon:Uk,GitPullRequestIcon:Ok,Github:Zk,GithubIcon:Zk,Gitlab:Gk,GitlabIcon:Gk,GlassWater:Wk,GlassWaterIcon:Wk,Glasses:Ek,GlassesIcon:Ek,Globe:Ma,Globe2:j1,Globe2Icon:j1,GlobeIcon:Ma,GlobeLock:Xk,GlobeLockIcon:Xk,Goal:Kk,GoalIcon:Kk,Grab:Jk,GrabIcon:Jk,GraduationCap:M0,GraduationCapIcon:M0,Grape:Qk,GrapeIcon:Qk,Grid:d,Grid2X2:Y1,Grid2X2Check:K1,Grid2X2CheckIcon:K1,Grid2X2Icon:Y1,Grid2X2Plus:J1,Grid2X2PlusIcon:J1,Grid2X2X:Q1,Grid2X2XIcon:Q1,Grid2x2:Y1,Grid2x2Check:K1,Grid2x2CheckIcon:K1,Grid2x2Icon:Y1,Grid2x2Plus:J1,Grid2x2PlusIcon:J1,Grid2x2X:Q1,Grid2x2XIcon:Q1,Grid3X3:d,Grid3X3Icon:d,Grid3x3:d,Grid3x3Icon:d,GridIcon:d,Grip:ep,GripHorizontal:Yk,GripHorizontalIcon:Yk,GripIcon:ep,GripVertical:va,GripVerticalIcon:va,Group:ap,GroupIcon:ap,Guitar:op,GuitarIcon:op,Ham:cp,HamIcon:cp,Hammer:tp,HammerIcon:tp,Hand:yp,HandCoins:np,HandCoinsIcon:np,HandHeart:dp,HandHeartIcon:dp,HandHelping:ee,HandHelpingIcon:ee,HandIcon:yp,HandMetal:ip,HandMetalIcon:ip,HandPlatter:hp,HandPlatterIcon:hp,Handshake:rp,HandshakeIcon:rp,HardDrive:ma,HardDriveDownload:kp,HardDriveDownloadIcon:kp,HardDriveIcon:ma,HardDriveUpload:pp,HardDriveUploadIcon:pp,HardHat:sp,HardHatIcon:sp,Hash:_a,HashIcon:_a,Haze:lp,HazeIcon:lp,HdmiPort:up,HdmiPortIcon:up,Heading:xp,Heading1:Mp,Heading1Icon:Mp,Heading2:vp,Heading2Icon:vp,Heading3:mp,Heading3Icon:mp,Heading4:_p,Heading4Icon:_p,Heading5:gp,Heading5Icon:gp,Heading6:Lp,Heading6Icon:Lp,HeadingIcon:xp,HeadphoneOff:wp,HeadphoneOffIcon:wp,Headphones:fp,HeadphonesIcon:fp,Headset:Cp,HeadsetIcon:Cp,Heart:ga,HeartCrack:Ip,HeartCrackIcon:Ip,HeartHandshake:Np,HeartHandshakeIcon:Np,HeartIcon:ga,HeartOff:Sp,HeartOffIcon:Sp,HeartPulse:qp,HeartPulseIcon:qp,Heater:bp,HeaterIcon:bp,HelpCircle:L,HelpCircleIcon:L,HelpingHand:ee,HelpingHandIcon:ee,Hexagon:$p,HexagonIcon:$p,Highlighter:Ap,HighlighterIcon:Ap,History:C0,HistoryIcon:C0,Home:f,HomeIcon:f,Hop:zp,HopIcon:zp,HopOff:Hp,HopOffIcon:Hp,Hospital:Pp,HospitalIcon:Pp,Hotel:jp,HotelIcon:jp,Hourglass:Vp,HourglassIcon:Vp,House:f,HouseIcon:f,HousePlug:Bp,HousePlugIcon:Bp,HousePlus:Fp,HousePlusIcon:Fp,HouseWifi:Dp,HouseWifiIcon:Dp,IceCream:oe,IceCream2:ae,IceCream2Icon:ae,IceCreamBowl:ae,IceCreamBowlIcon:ae,IceCreamCone:oe,IceCreamConeIcon:oe,IceCreamIcon:oe,Icon:bm,IdCard:v0,IdCardIcon:v0,Image:K2,ImageDown:Rp,ImageDownIcon:Rp,ImageIcon:K2,ImageMinus:Tp,ImageMinusIcon:Tp,ImageOff:Up,ImageOffIcon:Up,ImagePlay:Op,ImagePlayIcon:Op,ImagePlus:Zp,ImagePlusIcon:Zp,ImageUp:Gp,ImageUpIcon:Gp,ImageUpscale:Wp,ImageUpscaleIcon:Wp,Images:Ep,ImagesIcon:Ep,Import:Xp,ImportIcon:Xp,Inbox:Kp,InboxIcon:Kp,Indent:te,IndentDecrease:ce,IndentDecreaseIcon:ce,IndentIcon:te,IndentIncrease:te,IndentIncreaseIcon:te,IndianRupee:b0,IndianRupeeIcon:b0,Infinity:Jp,InfinityIcon:Jp,Info:xa,InfoIcon:xa,Inspect:h2,InspectIcon:h2,InspectionPanel:Qp,InspectionPanelIcon:Qp,Instagram:ia,InstagramIcon:ia,Italic:h0,ItalicIcon:h0,IterationCcw:Yp,IterationCcwIcon:Yp,IterationCw:e5,IterationCwIcon:e5,JapaneseYen:a5,JapaneseYenIcon:a5,Joystick:o5,JoystickIcon:o5,Kanban:c5,KanbanIcon:c5,KanbanSquare:c2,KanbanSquareDashed:Ke,KanbanSquareDashedIcon:Ke,KanbanSquareIcon:c2,Key:n5,KeyIcon:n5,KeyRound:I0,KeyRoundIcon:I0,KeySquare:t5,KeySquareIcon:t5,Keyboard:h5,KeyboardIcon:h5,KeyboardMusic:d5,KeyboardMusicIcon:d5,KeyboardOff:i5,KeyboardOffIcon:i5,Lamp:l5,LampCeiling:y5,LampCeilingIcon:y5,LampDesk:r5,LampDeskIcon:r5,LampFloor:k5,LampFloorIcon:k5,LampIcon:l5,LampWallDown:p5,LampWallDownIcon:p5,LampWallUp:s5,LampWallUpIcon:s5,LandPlot:u5,LandPlotIcon:u5,Landmark:M5,LandmarkIcon:M5,Languages:v5,LanguagesIcon:v5,Laptop:_5,Laptop2:ne,Laptop2Icon:ne,LaptopIcon:_5,LaptopMinimal:ne,LaptopMinimalCheck:m5,LaptopMinimalCheckIcon:m5,LaptopMinimalIcon:ne,Lasso:L5,LassoIcon:L5,LassoSelect:g5,LassoSelectIcon:g5,Laugh:x5,LaughIcon:x5,Layers:C,Layers2:w5,Layers2Icon:w5,Layers3:C,Layers3Icon:C,LayersIcon:C,Layout:p,LayoutDashboard:f5,LayoutDashboardIcon:f5,LayoutGrid:wa,LayoutGridIcon:wa,LayoutIcon:p,LayoutList:fa,LayoutListIcon:fa,LayoutPanelLeft:C5,LayoutPanelLeftIcon:C5,LayoutPanelTop:I5,LayoutPanelTopIcon:I5,LayoutTemplate:N5,LayoutTemplateIcon:N5,Leaf:S5,LeafIcon:S5,LeafyGreen:q5,LeafyGreenIcon:q5,Lectern:b5,LecternIcon:b5,LetterText:$5,LetterTextIcon:$5,Library:H5,LibraryBig:A5,LibraryBigIcon:A5,LibraryIcon:H5,LibrarySquare:t2,LibrarySquareIcon:t2,LifeBuoy:z5,LifeBuoyIcon:z5,Ligature:P5,LigatureIcon:P5,Lightbulb:Ca,LightbulbIcon:Ca,LightbulbOff:j5,LightbulbOffIcon:j5,LineChart:J,LineChartIcon:J,Link:Na,Link2:Ia,Link2Icon:Ia,Link2Off:V5,Link2OffIcon:V5,LinkIcon:Na,Linkedin:Sa,LinkedinIcon:Sa,List:ba,ListCheck:B5,ListCheckIcon:B5,ListChecks:F5,ListChecksIcon:F5,ListCollapse:D5,ListCollapseIcon:D5,ListEnd:R5,ListEndIcon:R5,ListFilter:U5,ListFilterIcon:U5,ListFilterPlus:T5,ListFilterPlusIcon:T5,ListIcon:ba,ListMinus:O5,ListMinusIcon:O5,ListMusic:Z5,ListMusicIcon:Z5,ListOrdered:y0,ListOrderedIcon:y0,ListPlus:G5,ListPlusIcon:G5,ListRestart:W5,ListRestartIcon:W5,ListStart:E5,ListStartIcon:E5,ListTodo:X5,ListTodoIcon:X5,ListTree:K5,ListTreeIcon:K5,ListVideo:J5,ListVideoIcon:J5,ListX:Q5,ListXIcon:Q5,Loader:es,Loader2:I,Loader2Icon:I,LoaderCircle:I,LoaderCircleIcon:I,LoaderIcon:es,LoaderPinwheel:Y5,LoaderPinwheelIcon:Y5,Locate:os,LocateFixed:$a,LocateFixedIcon:$a,LocateIcon:os,LocateOff:as,LocateOffIcon:as,Lock:Aa,LockIcon:Aa,LockKeyhole:cs,LockKeyholeIcon:cs,LockKeyholeOpen:de,LockKeyholeOpenIcon:de,LockOpen:s,LockOpenIcon:s,LogIn:Ha,LogInIcon:Ha,LogOut:za,LogOutIcon:za,Logs:ts,LogsIcon:ts,Lollipop:ns,LollipopIcon:ns,LucideAArrowDown:Io,LucideAArrowUp:No,LucideALargeSmall:So,LucideAccessibility:qo,LucideActivity:bo,LucideActivitySquare:qe,LucideAirVent:$o,LucideAirplay:Ao,LucideAlarmCheck:q,LucideAlarmClock:zo,LucideAlarmClockCheck:q,LucideAlarmClockMinus:b,LucideAlarmClockOff:Ho,LucideAlarmClockPlus:$,LucideAlarmMinus:b,LucideAlarmPlus:$,LucideAlarmSmoke:Po,LucideAlbum:jo,LucideAlertCircle:m,LucideAlertOctagon:ye,LucideAlertTriangle:S,LucideAlignCenter:t0,LucideAlignCenterHorizontal:Vo,LucideAlignCenterVertical:Bo,LucideAlignEndHorizontal:Fo,LucideAlignEndVertical:Do,LucideAlignHorizontalDistributeCenter:Ro,LucideAlignHorizontalDistributeEnd:To,LucideAlignHorizontalDistributeStart:Uo,LucideAlignHorizontalJustifyCenter:Oo,LucideAlignHorizontalJustifyEnd:Zo,LucideAlignHorizontalJustifyStart:Go,LucideAlignHorizontalSpaceAround:Wo,LucideAlignHorizontalSpaceBetween:Eo,LucideAlignJustify:Xo,LucideAlignLeft:n0,LucideAlignRight:d0,LucideAlignStartHorizontal:Ko,LucideAlignStartVertical:Jo,LucideAlignVerticalDistributeCenter:Qo,LucideAlignVerticalDistributeEnd:Yo,LucideAlignVerticalDistributeStart:ec,LucideAlignVerticalJustifyCenter:ac,LucideAlignVerticalJustifyEnd:oc,LucideAlignVerticalJustifyStart:cc,LucideAlignVerticalSpaceAround:tc,LucideAlignVerticalSpaceBetween:nc,LucideAmbulance:dc,LucideAmpersand:ic,LucideAmpersands:hc,LucideAmphora:yc,LucideAnchor:rc,LucideAngry:kc,LucideAnnoyed:pc,LucideAntenna:sc,LucideAnvil:lc,LucideAperture:uc,LucideAppWindow:vc,LucideAppWindowMac:Mc,LucideApple:mc,LucideArchive:l0,LucideArchiveRestore:_c,LucideArchiveX:gc,LucideAreaChart:Z,LucideArmchair:Lc,LucideArrowBigDown:wc,LucideArrowBigDownDash:xc,LucideArrowBigLeft:Cc,LucideArrowBigLeftDash:fc,LucideArrowBigRight:Nc,LucideArrowBigRightDash:Ic,LucideArrowBigUp:qc,LucideArrowBigUpDash:Sc,LucideArrowDown:Bc,LucideArrowDown01:bc,LucideArrowDown10:$c,LucideArrowDownAZ:A,LucideArrowDownAz:A,LucideArrowDownCircle:a1,LucideArrowDownFromLine:Ac,LucideArrowDownLeft:_0,LucideArrowDownLeftFromCircle:c1,LucideArrowDownLeftFromSquare:ze,LucideArrowDownLeftSquare:be,LucideArrowDownNarrowWide:Hc,LucideArrowDownRight:zc,LucideArrowDownRightFromCircle:t1,LucideArrowDownRightFromSquare:Pe,LucideArrowDownRightSquare:$e,LucideArrowDownSquare:Ae,LucideArrowDownToDot:Pc,LucideArrowDownToLine:jc,LucideArrowDownUp:Vc,LucideArrowDownWideNarrow:H,LucideArrowDownZA:z,LucideArrowDownZa:z,LucideArrowLeft:g0,LucideArrowLeftCircle:o1,LucideArrowLeftFromLine:Fc,LucideArrowLeftRight:Dc,LucideArrowLeftSquare:He,LucideArrowLeftToLine:Rc,LucideArrowRight:x0,LucideArrowRightCircle:i1,LucideArrowRightFromLine:Tc,LucideArrowRightLeft:L0,LucideArrowRightSquare:Be,LucideArrowRightToLine:Uc,LucideArrowUp:Jc,LucideArrowUp01:Oc,LucideArrowUp10:Zc,LucideArrowUpAZ:P,LucideArrowUpAz:P,LucideArrowUpCircle:h1,LucideArrowUpDown:w0,LucideArrowUpFromDot:Gc,LucideArrowUpFromLine:Wc,LucideArrowUpLeft:Ec,LucideArrowUpLeftFromCircle:n1,LucideArrowUpLeftFromSquare:je,LucideArrowUpLeftSquare:Fe,LucideArrowUpNarrowWide:j,LucideArrowUpRight:f0,LucideArrowUpRightFromCircle:d1,LucideArrowUpRightFromSquare:Ve,LucideArrowUpRightSquare:De,LucideArrowUpSquare:Re,LucideArrowUpToLine:Xc,LucideArrowUpWideNarrow:Kc,LucideArrowUpZA:V,LucideArrowUpZa:V,LucideArrowsUpFromLine:Qc,LucideAsterisk:Yc,LucideAsteriskSquare:Te,LucideAtSign:et,LucideAtom:at,LucideAudioLines:ot,LucideAudioWaveform:ct,LucideAward:N0,LucideAxe:tt,LucideAxis3D:B,LucideAxis3d:B,LucideBaby:nt,LucideBackpack:dt,LucideBadge:xt,LucideBadgeAlert:it,LucideBadgeCent:ht,LucideBadgeCheck:F,LucideBadgeDollarSign:yt,LucideBadgeEuro:rt,LucideBadgeHelp:kt,LucideBadgeIndianRupee:pt,LucideBadgeInfo:st,LucideBadgeJapaneseYen:lt,LucideBadgeMinus:ut,LucideBadgePercent:Mt,LucideBadgePlus:vt,LucideBadgePoundSterling:mt,LucideBadgeRussianRuble:_t,LucideBadgeSwissFranc:gt,LucideBadgeX:Lt,LucideBaggageClaim:wt,LucideBan:S0,LucideBanana:ft,LucideBandage:Ct,LucideBanknote:q0,LucideBarChart:M,LucideBarChart2:v,LucideBarChart3:u,LucideBarChart4:K,LucideBarChartBig:X,LucideBarChartHorizontal:W,LucideBarChartHorizontalBig:G,LucideBarcode:It,LucideBaseline:Nt,LucideBath:St,LucideBattery:Pt,LucideBatteryCharging:qt,LucideBatteryFull:bt,LucideBatteryLow:$t,LucideBatteryMedium:At,LucideBatteryPlus:Ht,LucideBatteryWarning:zt,LucideBeaker:jt,LucideBean:Bt,LucideBeanOff:Vt,LucideBed:Rt,LucideBedDouble:Ft,LucideBedSingle:Dt,LucideBeef:Tt,LucideBeer:Ot,LucideBeerOff:Ut,LucideBell:$0,LucideBellDot:Zt,LucideBellElectric:Gt,LucideBellMinus:Wt,LucideBellOff:Et,LucideBellPlus:Xt,LucideBellRing:Kt,LucideBetweenHorizonalEnd:D,LucideBetweenHorizonalStart:R,LucideBetweenHorizontalEnd:D,LucideBetweenHorizontalStart:R,LucideBetweenVerticalEnd:Jt,LucideBetweenVerticalStart:Qt,LucideBicepsFlexed:Yt,LucideBike:en,LucideBinary:an,LucideBinoculars:on,LucideBiohazard:cn,LucideBird:tn,LucideBitcoin:nn,LucideBlend:dn,LucideBlinds:hn,LucideBlocks:yn,LucideBluetooth:sn,LucideBluetoothConnected:rn,LucideBluetoothOff:kn,LucideBluetoothSearching:pn,LucideBold:i0,LucideBolt:ln,LucideBomb:un,LucideBone:Mn,LucideBook:u0,LucideBookA:vn,LucideBookAudio:mn,LucideBookCheck:_n,LucideBookCopy:gn,LucideBookDashed:T,LucideBookDown:Ln,LucideBookHeadphones:xn,LucideBookHeart:wn,LucideBookImage:fn,LucideBookKey:Cn,LucideBookLock:In,LucideBookMarked:Nn,LucideBookMinus:Sn,LucideBookOpen:A0,LucideBookOpenCheck:qn,LucideBookOpenText:bn,LucideBookPlus:$n,LucideBookTemplate:T,LucideBookText:An,LucideBookType:Hn,LucideBookUp:Pn,LucideBookUp2:zn,LucideBookUser:jn,LucideBookX:Vn,LucideBookmark:Tn,LucideBookmarkCheck:Bn,LucideBookmarkMinus:Fn,LucideBookmarkPlus:Dn,LucideBookmarkX:Rn,LucideBoomBox:Un,LucideBot:Gn,LucideBotMessageSquare:On,LucideBotOff:Zn,LucideBox:Wn,LucideBoxSelect:Qe,LucideBoxes:H0,LucideBraces:U,LucideBrackets:En,LucideBrain:z0,LucideBrainCircuit:Xn,LucideBrainCog:Kn,LucideBrickWall:Jn,LucideBriefcase:j0,LucideBriefcaseBusiness:Qn,LucideBriefcaseConveyorBelt:Yn,LucideBriefcaseMedical:ed,LucideBringToFront:ad,LucideBrush:od,LucideBug:nd,LucideBugOff:cd,LucideBugPlay:td,LucideBuilding:B0,LucideBuilding2:V0,LucideBus:id,LucideBusFront:dd,LucideCable:yd,LucideCableCar:hd,LucideCake:kd,LucideCakeSlice:rd,LucideCalculator:F0,LucideCalendar:T0,LucideCalendar1:pd,LucideCalendarArrowDown:sd,LucideCalendarArrowUp:ld,LucideCalendarCheck:D0,LucideCalendarCheck2:ud,LucideCalendarClock:Md,LucideCalendarCog:vd,LucideCalendarDays:R0,LucideCalendarFold:md,LucideCalendarHeart:_d,LucideCalendarMinus:Ld,LucideCalendarMinus2:gd,LucideCalendarOff:xd,LucideCalendarPlus:fd,LucideCalendarPlus2:wd,LucideCalendarRange:Cd,LucideCalendarSearch:Id,LucideCalendarSync:Nd,LucideCalendarX:qd,LucideCalendarX2:Sd,LucideCamera:U0,LucideCameraOff:bd,LucideCandlestickChart:E,LucideCandy:Hd,LucideCandyCane:$d,LucideCandyOff:Ad,LucideCannabis:zd,LucideCaptions:O,LucideCaptionsOff:Pd,LucideCar:Bd,LucideCarFront:jd,LucideCarTaxiFront:Vd,LucideCaravan:Fd,LucideCarrot:Dd,LucideCaseLower:Rd,LucideCaseSensitive:Td,LucideCaseUpper:Ud,LucideCassetteTape:Od,LucideCast:Zd,LucideCastle:Gd,LucideCat:Wd,LucideCctv:Ed,LucideChartArea:Z,LucideChartBar:W,LucideChartBarBig:G,LucideChartBarDecreasing:Xd,LucideChartBarIncreasing:Kd,LucideChartBarStacked:Jd,LucideChartCandlestick:E,LucideChartColumn:u,LucideChartColumnBig:X,LucideChartColumnDecreasing:Qd,LucideChartColumnIncreasing:K,LucideChartColumnStacked:Yd,LucideChartGantt:ei,LucideChartLine:J,LucideChartNetwork:ai,LucideChartNoAxesColumn:v,LucideChartNoAxesColumnDecreasing:oi,LucideChartNoAxesColumnIncreasing:M,LucideChartNoAxesCombined:ci,LucideChartNoAxesGantt:Q,LucideChartPie:Y,LucideChartScatter:e1,LucideChartSpline:ti,LucideCheck:E2,LucideCheckCheck:ni,LucideCheckCircle:_,LucideCheckCircle2:g,LucideCheckSquare:N,LucideCheckSquare2:Oe,LucideChefHat:di,LucideCherry:ii,LucideChevronDown:O2,LucideChevronDownCircle:y1,LucideChevronDownSquare:Ze,LucideChevronFirst:hi,LucideChevronLast:yi,LucideChevronLeft:O0,LucideChevronLeftCircle:r1,LucideChevronLeftSquare:Ge,LucideChevronRight:Z0,LucideChevronRightCircle:k1,LucideChevronRightSquare:We,LucideChevronUp:Z2,LucideChevronUpCircle:p1,LucideChevronUpSquare:Ee,LucideChevronsDown:ki,LucideChevronsDownUp:ri,LucideChevronsLeft:li,LucideChevronsLeftRight:si,LucideChevronsLeftRightEllipsis:pi,LucideChevronsRight:Mi,LucideChevronsRightLeft:ui,LucideChevronsUp:vi,LucideChevronsUpDown:G2,LucideChrome:mi,LucideChurch:_i,LucideCigarette:Li,LucideCigaretteOff:gi,LucideCircle:G0,LucideCircleAlert:m,LucideCircleArrowDown:a1,LucideCircleArrowLeft:o1,LucideCircleArrowOutDownLeft:c1,LucideCircleArrowOutDownRight:t1,LucideCircleArrowOutUpLeft:n1,LucideCircleArrowOutUpRight:d1,LucideCircleArrowRight:i1,LucideCircleArrowUp:h1,LucideCircleCheck:g,LucideCircleCheckBig:_,LucideCircleChevronDown:y1,LucideCircleChevronLeft:r1,LucideCircleChevronRight:k1,LucideCircleChevronUp:p1,LucideCircleDashed:xi,LucideCircleDivide:s1,LucideCircleDollarSign:wi,LucideCircleDot:Ci,LucideCircleDotDashed:fi,LucideCircleEllipsis:Ii,LucideCircleEqual:Ni,LucideCircleFadingArrowUp:Si,LucideCircleFadingPlus:qi,LucideCircleGauge:l1,LucideCircleHelp:L,LucideCircleMinus:u1,LucideCircleOff:bi,LucideCircleParking:v1,LucideCircleParkingOff:M1,LucideCirclePause:m1,LucideCirclePercent:_1,LucideCirclePlay:g1,LucideCirclePlus:L1,LucideCirclePower:x1,LucideCircleSlash:$i,LucideCircleSlash2:w1,LucideCircleSlashed:w1,LucideCircleSmall:Ai,LucideCircleStop:f1,LucideCircleUser:I1,LucideCircleUserRound:C1,LucideCircleX:x,LucideCircuitBoard:Hi,LucideCitrus:zi,LucideClapperboard:Pi,LucideClipboard:Ui,LucideClipboardCheck:ji,LucideClipboardCopy:Vi,LucideClipboardEdit:S1,LucideClipboardList:W0,LucideClipboardMinus:Bi,LucideClipboardPaste:Fi,LucideClipboardPen:S1,LucideClipboardPenLine:N1,LucideClipboardPlus:Di,LucideClipboardSignature:N1,LucideClipboardType:Ri,LucideClipboardX:Ti,LucideClock:E0,LucideClock1:Oi,LucideClock10:Zi,LucideClock11:Gi,LucideClock12:Wi,LucideClock2:Ei,LucideClock3:Xi,LucideClock4:Ki,LucideClock5:Ji,LucideClock6:Qi,LucideClock7:Yi,LucideClock8:eh,LucideClock9:ah,LucideClockAlert:oh,LucideClockArrowDown:ch,LucideClockArrowUp:th,LucideCloud:_h,LucideCloudAlert:nh,LucideCloudCog:dh,LucideCloudDownload:q1,LucideCloudDrizzle:ih,LucideCloudFog:hh,LucideCloudHail:yh,LucideCloudLightning:rh,LucideCloudMoon:ph,LucideCloudMoonRain:kh,LucideCloudOff:sh,LucideCloudRain:uh,LucideCloudRainWind:lh,LucideCloudSnow:Mh,LucideCloudSun:mh,LucideCloudSunRain:vh,LucideCloudUpload:b1,LucideCloudy:gh,LucideClover:Lh,LucideClub:xh,LucideCode:X0,LucideCode2:$1,LucideCodeSquare:Xe,LucideCodeXml:$1,LucideCodepen:wh,LucideCodesandbox:fh,LucideCoffee:Ch,LucideCog:Ih,LucideCoins:K0,LucideColumns:A1,LucideColumns2:A1,LucideColumns3:H1,LucideColumns4:Nh,LucideCombine:Sh,LucideCommand:qh,LucideCompass:bh,LucideComponent:$h,LucideComputer:Ah,LucideConciergeBell:Hh,LucideCone:zh,LucideConstruction:Ph,LucideContact:jh,LucideContact2:z1,LucideContactRound:z1,LucideContainer:Vh,LucideContrast:Bh,LucideCookie:Fh,LucideCookingPot:Dh,LucideCopy:J0,LucideCopyCheck:Rh,LucideCopyMinus:Th,LucideCopyPlus:Uh,LucideCopySlash:Oh,LucideCopyX:Zh,LucideCopyleft:Gh,LucideCopyright:Wh,LucideCornerDownLeft:Eh,LucideCornerDownRight:Xh,LucideCornerLeftDown:Kh,LucideCornerLeftUp:Jh,LucideCornerRightDown:Qh,LucideCornerRightUp:Yh,LucideCornerUpLeft:ey,LucideCornerUpRight:ay,LucideCpu:oy,LucideCreativeCommons:cy,LucideCreditCard:Q0,LucideCroissant:ty,LucideCrop:ny,LucideCross:dy,LucideCrosshair:Y0,LucideCrown:ea,LucideCuboid:iy,LucideCupSoda:hy,LucideCurlyBraces:U,LucideCurrency:yy,LucideCylinder:ry,LucideDam:ky,LucideDatabase:ly,LucideDatabaseBackup:py,LucideDatabaseZap:sy,LucideDelete:uy,LucideDessert:My,LucideDiameter:vy,LucideDiamond:gy,LucideDiamondMinus:my,LucideDiamondPercent:P1,LucideDiamondPlus:_y,LucideDice1:Ly,LucideDice2:xy,LucideDice3:wy,LucideDice4:fy,LucideDice5:Cy,LucideDice6:Iy,LucideDices:Ny,LucideDiff:Sy,LucideDisc:Ay,LucideDisc2:qy,LucideDisc3:by,LucideDiscAlbum:$y,LucideDivide:Hy,LucideDivideCircle:s1,LucideDivideSquare:Ye,LucideDna:Py,LucideDnaOff:zy,LucideDock:jy,LucideDog:Vy,LucideDollarSign:aa,LucideDonut:By,LucideDoorClosed:Fy,LucideDoorOpen:Dy,LucideDot:Ry,LucideDotSquare:e2,LucideDownload:oa,LucideDownloadCloud:q1,LucideDraftingCompass:Ty,LucideDrama:Uy,LucideDribbble:Oy,LucideDrill:Zy,LucideDroplet:Wy,LucideDropletOff:Gy,LucideDroplets:Ey,LucideDrum:Xy,LucideDrumstick:Ky,LucideDumbbell:Jy,LucideEar:Yy,LucideEarOff:Qy,LucideEarth:j1,LucideEarthLock:er,LucideEclipse:ar,LucideEdit:n,LucideEdit2:_e,LucideEdit3:w,LucideEgg:tr,LucideEggFried:or,LucideEggOff:cr,LucideEllipsis:B1,LucideEllipsisVertical:V1,LucideEqual:ir,LucideEqualApproximately:nr,LucideEqualNot:dr,LucideEqualSquare:a2,LucideEraser:hr,LucideEthernetPort:yr,LucideEuro:rr,LucideExpand:kr,LucideExternalLink:ca,LucideEye:na,LucideEyeClosed:pr,LucideEyeOff:ta,LucideFacebook:da,LucideFactory:sr,LucideFan:lr,LucideFastForward:ur,LucideFeather:Mr,LucideFence:vr,LucideFerrisWheel:mr,LucideFigma:_r,LucideFile:p4,LucideFileArchive:gr,LucideFileAudio:xr,LucideFileAudio2:Lr,LucideFileAxis3D:F1,LucideFileAxis3d:F1,LucideFileBadge:fr,LucideFileBadge2:wr,LucideFileBarChart:D1,LucideFileBarChart2:R1,LucideFileBox:Cr,LucideFileChartColumn:R1,LucideFileChartColumnIncreasing:D1,LucideFileChartLine:T1,LucideFileChartPie:U1,LucideFileCheck:Nr,LucideFileCheck2:Ir,LucideFileClock:Sr,LucideFileCode:br,LucideFileCode2:qr,LucideFileCog:O1,LucideFileCog2:O1,LucideFileDiff:$r,LucideFileDigit:Ar,LucideFileDown:ha,LucideFileEdit:G1,LucideFileHeart:Hr,LucideFileImage:zr,LucideFileInput:Pr,LucideFileJson:Vr,LucideFileJson2:jr,LucideFileKey:Fr,LucideFileKey2:Br,LucideFileLineChart:T1,LucideFileLock:Rr,LucideFileLock2:Dr,LucideFileMinus:Ur,LucideFileMinus2:Tr,LucideFileMusic:Or,LucideFileOutput:Zr,LucideFilePen:G1,LucideFilePenLine:Z1,LucideFilePieChart:U1,LucideFilePlus:Wr,LucideFilePlus2:Gr,LucideFileQuestion:Er,LucideFileScan:Xr,LucideFileSearch:Jr,LucideFileSearch2:Kr,LucideFileSignature:Z1,LucideFileSliders:Qr,LucideFileSpreadsheet:ya,LucideFileStack:Yr,LucideFileSymlink:e4,LucideFileTerminal:a4,LucideFileText:X2,LucideFileType:c4,LucideFileType2:o4,LucideFileUp:ra,LucideFileUser:t4,LucideFileVideo:d4,LucideFileVideo2:n4,LucideFileVolume:h4,LucideFileVolume2:i4,LucideFileWarning:y4,LucideFileX:k4,LucideFileX2:r4,LucideFiles:s4,LucideFilm:l4,LucideFilter:ka,LucideFilterX:u4,LucideFingerprint:pa,LucideFireExtinguisher:M4,LucideFish:_4,LucideFishOff:v4,LucideFishSymbol:m4,LucideFlag:w4,LucideFlagOff:g4,LucideFlagTriangleLeft:L4,LucideFlagTriangleRight:x4,LucideFlame:C4,LucideFlameKindling:f4,LucideFlashlight:N4,LucideFlashlightOff:I4,LucideFlaskConical:q4,LucideFlaskConicalOff:S4,LucideFlaskRound:b4,LucideFlipHorizontal:A4,LucideFlipHorizontal2:$4,LucideFlipVertical:z4,LucideFlipVertical2:H4,LucideFlower:j4,LucideFlower2:P4,LucideFocus:V4,LucideFoldHorizontal:B4,LucideFoldVertical:F4,LucideFolder:P0,LucideFolderArchive:D4,LucideFolderCheck:R4,LucideFolderClock:T4,LucideFolderClosed:U4,LucideFolderCode:O4,LucideFolderCog:W1,LucideFolderCog2:W1,LucideFolderDot:Z4,LucideFolderDown:G4,LucideFolderEdit:E1,LucideFolderGit:E4,LucideFolderGit2:W4,LucideFolderHeart:X4,LucideFolderInput:K4,LucideFolderKanban:J4,LucideFolderKey:Q4,LucideFolderLock:Y4,LucideFolderMinus:ek,LucideFolderOpen:sa,LucideFolderOpenDot:ak,LucideFolderOutput:ok,LucideFolderPen:E1,LucideFolderPlus:ck,LucideFolderRoot:tk,LucideFolderSearch:dk,LucideFolderSearch2:nk,LucideFolderSymlink:ik,LucideFolderSync:hk,LucideFolderTree:yk,LucideFolderUp:rk,LucideFolderX:kk,LucideFolders:pk,LucideFootprints:sk,LucideForkKnife:D2,LucideForkKnifeCrossed:F2,LucideForklift:lk,LucideFormInput:Le,LucideForward:uk,LucideFrame:Mk,LucideFramer:vk,LucideFrown:mk,LucideFuel:_k,LucideFullscreen:gk,LucideFunctionSquare:o2,LucideGalleryHorizontal:xk,LucideGalleryHorizontalEnd:Lk,LucideGalleryThumbnails:wk,LucideGalleryVertical:Ck,LucideGalleryVerticalEnd:fk,LucideGamepad:Nk,LucideGamepad2:Ik,LucideGanttChart:Q,LucideGanttChartSquare:i,LucideGauge:Sk,LucideGaugeCircle:l1,LucideGavel:qk,LucideGem:bk,LucideGhost:$k,LucideGift:la,LucideGitBranch:ua,LucideGitBranchPlus:Ak,LucideGitCommit:X1,LucideGitCommitHorizontal:X1,LucideGitCommitVertical:Hk,LucideGitCompare:Pk,LucideGitCompareArrows:zk,LucideGitFork:jk,LucideGitGraph:Vk,LucideGitMerge:Bk,LucideGitPullRequest:Ok,LucideGitPullRequestArrow:Fk,LucideGitPullRequestClosed:Dk,LucideGitPullRequestCreate:Tk,LucideGitPullRequestCreateArrow:Rk,LucideGitPullRequestDraft:Uk,LucideGithub:Zk,LucideGitlab:Gk,LucideGlassWater:Wk,LucideGlasses:Ek,LucideGlobe:Ma,LucideGlobe2:j1,LucideGlobeLock:Xk,LucideGoal:Kk,LucideGrab:Jk,LucideGraduationCap:M0,LucideGrape:Qk,LucideGrid:d,LucideGrid2X2:Y1,LucideGrid2X2Check:K1,LucideGrid2X2Plus:J1,LucideGrid2X2X:Q1,LucideGrid2x2:Y1,LucideGrid2x2Check:K1,LucideGrid2x2Plus:J1,LucideGrid2x2X:Q1,LucideGrid3X3:d,LucideGrid3x3:d,LucideGrip:ep,LucideGripHorizontal:Yk,LucideGripVertical:va,LucideGroup:ap,LucideGuitar:op,LucideHam:cp,LucideHammer:tp,LucideHand:yp,LucideHandCoins:np,LucideHandHeart:dp,LucideHandHelping:ee,LucideHandMetal:ip,LucideHandPlatter:hp,LucideHandshake:rp,LucideHardDrive:ma,LucideHardDriveDownload:kp,LucideHardDriveUpload:pp,LucideHardHat:sp,LucideHash:_a,LucideHaze:lp,LucideHdmiPort:up,LucideHeading:xp,LucideHeading1:Mp,LucideHeading2:vp,LucideHeading3:mp,LucideHeading4:_p,LucideHeading5:gp,LucideHeading6:Lp,LucideHeadphoneOff:wp,LucideHeadphones:fp,LucideHeadset:Cp,LucideHeart:ga,LucideHeartCrack:Ip,LucideHeartHandshake:Np,LucideHeartOff:Sp,LucideHeartPulse:qp,LucideHeater:bp,LucideHelpCircle:L,LucideHelpingHand:ee,LucideHexagon:$p,LucideHighlighter:Ap,LucideHistory:C0,LucideHome:f,LucideHop:zp,LucideHopOff:Hp,LucideHospital:Pp,LucideHotel:jp,LucideHourglass:Vp,LucideHouse:f,LucideHousePlug:Bp,LucideHousePlus:Fp,LucideHouseWifi:Dp,LucideIceCream:oe,LucideIceCream2:ae,LucideIceCreamBowl:ae,LucideIceCreamCone:oe,LucideIdCard:v0,LucideImage:K2,LucideImageDown:Rp,LucideImageMinus:Tp,LucideImageOff:Up,LucideImagePlay:Op,LucideImagePlus:Zp,LucideImageUp:Gp,LucideImageUpscale:Wp,LucideImages:Ep,LucideImport:Xp,LucideInbox:Kp,LucideIndent:te,LucideIndentDecrease:ce,LucideIndentIncrease:te,LucideIndianRupee:b0,LucideInfinity:Jp,LucideInfo:xa,LucideInspect:h2,LucideInspectionPanel:Qp,LucideInstagram:ia,LucideItalic:h0,LucideIterationCcw:Yp,LucideIterationCw:e5,LucideJapaneseYen:a5,LucideJoystick:o5,LucideKanban:c5,LucideKanbanSquare:c2,LucideKanbanSquareDashed:Ke,LucideKey:n5,LucideKeyRound:I0,LucideKeySquare:t5,LucideKeyboard:h5,LucideKeyboardMusic:d5,LucideKeyboardOff:i5,LucideLamp:l5,LucideLampCeiling:y5,LucideLampDesk:r5,LucideLampFloor:k5,LucideLampWallDown:p5,LucideLampWallUp:s5,LucideLandPlot:u5,LucideLandmark:M5,LucideLanguages:v5,LucideLaptop:_5,LucideLaptop2:ne,LucideLaptopMinimal:ne,LucideLaptopMinimalCheck:m5,LucideLasso:L5,LucideLassoSelect:g5,LucideLaugh:x5,LucideLayers:C,LucideLayers2:w5,LucideLayers3:C,LucideLayout:p,LucideLayoutDashboard:f5,LucideLayoutGrid:wa,LucideLayoutList:fa,LucideLayoutPanelLeft:C5,LucideLayoutPanelTop:I5,LucideLayoutTemplate:N5,LucideLeaf:S5,LucideLeafyGreen:q5,LucideLectern:b5,LucideLetterText:$5,LucideLibrary:H5,LucideLibraryBig:A5,LucideLibrarySquare:t2,LucideLifeBuoy:z5,LucideLigature:P5,LucideLightbulb:Ca,LucideLightbulbOff:j5,LucideLineChart:J,LucideLink:Na,LucideLink2:Ia,LucideLink2Off:V5,LucideLinkedin:Sa,LucideList:ba,LucideListCheck:B5,LucideListChecks:F5,LucideListCollapse:D5,LucideListEnd:R5,LucideListFilter:U5,LucideListFilterPlus:T5,LucideListMinus:O5,LucideListMusic:Z5,LucideListOrdered:y0,LucideListPlus:G5,LucideListRestart:W5,LucideListStart:E5,LucideListTodo:X5,LucideListTree:K5,LucideListVideo:J5,LucideListX:Q5,LucideLoader:es,LucideLoader2:I,LucideLoaderCircle:I,LucideLoaderPinwheel:Y5,LucideLocate:os,LucideLocateFixed:$a,LucideLocateOff:as,LucideLock:Aa,LucideLockKeyhole:cs,LucideLockKeyholeOpen:de,LucideLockOpen:s,LucideLogIn:Ha,LucideLogOut:za,LucideLogs:ts,LucideLollipop:ns,LucideLuggage:ds,LucideMSquare:n2,LucideMagnet:is,LucideMail:Pa,LucideMailCheck:hs,LucideMailMinus:ys,LucideMailOpen:rs,LucideMailPlus:ks,LucideMailQuestion:ps,LucideMailSearch:ss,LucideMailWarning:ls,LucideMailX:us,LucideMailbox:Ms,LucideMails:vs,LucideMap:bs,LucideMapPin:ja,LucideMapPinCheck:_s,LucideMapPinCheckInside:ms,LucideMapPinHouse:gs,LucideMapPinMinus:xs,LucideMapPinMinusInside:Ls,LucideMapPinOff:ws,LucideMapPinPlus:Cs,LucideMapPinPlusInside:fs,LucideMapPinX:Ns,LucideMapPinXInside:Is,LucideMapPinned:Ss,LucideMapPlus:qs,LucideMars:As,LucideMarsStroke:$s,LucideMartini:Hs,LucideMaximize:Ps,LucideMaximize2:zs,LucideMedal:js,LucideMegaphone:Bs,LucideMegaphoneOff:Vs,LucideMeh:Fs,LucideMemoryStick:Ds,LucideMenu:Va,LucideMenuSquare:d2,LucideMerge:Rs,LucideMessageCircle:Qs,LucideMessageCircleCode:Ts,LucideMessageCircleDashed:Us,LucideMessageCircleHeart:Os,LucideMessageCircleMore:Zs,LucideMessageCircleOff:Gs,LucideMessageCirclePlus:Ws,LucideMessageCircleQuestion:Es,LucideMessageCircleReply:Xs,LucideMessageCircleWarning:Ks,LucideMessageCircleX:Js,LucideMessageSquare:Fa,LucideMessageSquareCode:Ys,LucideMessageSquareDashed:e3,LucideMessageSquareDiff:a3,LucideMessageSquareDot:o3,LucideMessageSquareHeart:c3,LucideMessageSquareLock:t3,LucideMessageSquareMore:n3,LucideMessageSquareOff:d3,LucideMessageSquarePlus:i3,LucideMessageSquareQuote:h3,LucideMessageSquareReply:y3,LucideMessageSquareShare:r3,LucideMessageSquareText:k3,LucideMessageSquareWarning:Ba,LucideMessageSquareX:p3,LucideMessagesSquare:s3,LucideMic:u3,LucideMic2:ie,LucideMicOff:l3,LucideMicVocal:ie,LucideMicrochip:M3,LucideMicroscope:v3,LucideMicrowave:m3,LucideMilestone:_3,LucideMilk:L3,LucideMilkOff:g3,LucideMinimize:w3,LucideMinimize2:x3,LucideMinus:f3,LucideMinusCircle:u1,LucideMinusSquare:i2,LucideMonitor:Da,LucideMonitorCheck:C3,LucideMonitorCog:I3,LucideMonitorDot:N3,LucideMonitorDown:S3,LucideMonitorOff:q3,LucideMonitorPause:b3,LucideMonitorPlay:$3,LucideMonitorSmartphone:A3,LucideMonitorSpeaker:H3,LucideMonitorStop:z3,LucideMonitorUp:P3,LucideMonitorX:j3,LucideMoon:J2,LucideMoonStar:V3,LucideMoreHorizontal:B1,LucideMoreVertical:V1,LucideMountain:F3,LucideMountainSnow:B3,LucideMouse:Z3,LucideMouseOff:D3,LucideMousePointer:O3,LucideMousePointer2:R3,LucideMousePointerBan:T3,LucideMousePointerClick:U3,LucideMousePointerSquareDashed:Je,LucideMove:tl,LucideMove3D:he,LucideMove3d:he,LucideMoveDiagonal:W3,LucideMoveDiagonal2:G3,LucideMoveDown:K3,LucideMoveDownLeft:E3,LucideMoveDownRight:X3,LucideMoveHorizontal:J3,LucideMoveLeft:Q3,LucideMoveRight:Y3,LucideMoveUp:ol,LucideMoveUpLeft:el,LucideMoveUpRight:al,LucideMoveVertical:cl,LucideMusic:hl,LucideMusic2:nl,LucideMusic3:dl,LucideMusic4:il,LucideNavigation:pl,LucideNavigation2:rl,LucideNavigation2Off:yl,LucideNavigationOff:kl,LucideNetwork:sl,LucideNewspaper:ll,LucideNfc:ul,LucideNonBinary:Ml,LucideNotebook:gl,LucideNotebookPen:vl,LucideNotebookTabs:ml,LucideNotebookText:_l,LucideNotepadText:xl,LucideNotepadTextDashed:Ll,LucideNut:fl,LucideNutOff:wl,LucideOctagon:Il,LucideOctagonAlert:ye,LucideOctagonMinus:Cl,LucideOctagonPause:re,LucideOctagonX:ke,LucideOmega:Nl,LucideOption:Sl,LucideOrbit:ql,LucideOrigami:bl,LucideOutdent:ce,LucidePackage:Ra,LucidePackage2:$l,LucidePackageCheck:Al,LucidePackageMinus:Hl,LucidePackageOpen:zl,LucidePackagePlus:Pl,LucidePackageSearch:jl,LucidePackageX:Vl,LucidePaintBucket:Bl,LucidePaintRoller:Fl,LucidePaintbrush:Dl,LucidePaintbrush2:pe,LucidePaintbrushVertical:pe,LucidePalette:Q2,LucidePalmtree:q2,LucidePanelBottom:Ul,LucidePanelBottomClose:Rl,LucidePanelBottomDashed:se,LucidePanelBottomInactive:se,LucidePanelBottomOpen:Tl,LucidePanelLeft:k,LucidePanelLeftClose:le,LucidePanelLeftDashed:ue,LucidePanelLeftInactive:ue,LucidePanelLeftOpen:Me,LucidePanelRight:Gl,LucidePanelRightClose:Ol,LucidePanelRightDashed:ve,LucidePanelRightInactive:ve,LucidePanelRightOpen:Zl,LucidePanelTop:Xl,LucidePanelTopClose:Wl,LucidePanelTopDashed:me,LucidePanelTopInactive:me,LucidePanelTopOpen:El,LucidePanelsLeftBottom:Kl,LucidePanelsLeftRight:H1,LucidePanelsRightBottom:Jl,LucidePanelsTopBottom:fe,LucidePanelsTopLeft:p,LucidePaperclip:Ql,LucideParentheses:Yl,LucideParkingCircle:v1,LucideParkingCircleOff:M1,LucideParkingMeter:e6,LucideParkingSquare:r2,LucideParkingSquareOff:y2,LucidePartyPopper:a6,LucidePause:o6,LucidePauseCircle:m1,LucidePauseOctagon:re,LucidePawPrint:c6,LucidePcCase:t6,LucidePen:_e,LucidePenBox:n,LucidePenLine:w,LucidePenOff:n6,LucidePenSquare:n,LucidePenTool:d6,LucidePencil:r6,LucidePencilLine:i6,LucidePencilOff:h6,LucidePencilRuler:y6,LucidePentagon:k6,LucidePercent:Ta,LucidePercentCircle:_1,LucidePercentDiamond:P1,LucidePercentSquare:k2,LucidePersonStanding:p6,LucidePhilippinePeso:s6,LucidePhone:Ua,LucidePhoneCall:l6,LucidePhoneForwarded:u6,LucidePhoneIncoming:M6,LucidePhoneMissed:v6,LucidePhoneOff:m6,LucidePhoneOutgoing:_6,LucidePi:g6,LucidePiSquare:p2,LucidePiano:L6,LucidePickaxe:x6,LucidePictureInPicture:f6,LucidePictureInPicture2:w6,LucidePieChart:Y,LucidePiggyBank:C6,LucidePilcrow:S6,LucidePilcrowLeft:I6,LucidePilcrowRight:N6,LucidePilcrowSquare:s2,LucidePill:b6,LucidePillBottle:q6,LucidePin:A6,LucidePinOff:$6,LucidePipette:H6,LucidePizza:z6,LucidePlane:Oa,LucidePlaneLanding:P6,LucidePlaneTakeoff:j6,LucidePlay:Za,LucidePlayCircle:g1,LucidePlaySquare:l2,LucidePlug:B6,LucidePlug2:V6,LucidePlugZap:ge,LucidePlugZap2:ge,LucidePlus:Y2,LucidePlusCircle:L1,LucidePlusSquare:u2,LucidePocket:D6,LucidePocketKnife:F6,LucidePodcast:R6,LucidePointer:U6,LucidePointerOff:T6,LucidePopcorn:O6,LucidePopsicle:Z6,LucidePoundSterling:G6,LucidePower:E6,LucidePowerCircle:x1,LucidePowerOff:W6,LucidePowerSquare:M2,LucidePresentation:X6,LucidePrinter:J6,LucidePrinterCheck:K6,LucideProjector:Q6,LucideProportions:Y6,LucidePuzzle:e8,LucidePyramid:a8,LucideQrCode:Ga,LucideQuote:Wa,LucideRabbit:o8,LucideRadar:c8,LucideRadiation:t8,LucideRadical:n8,LucideRadio:h8,LucideRadioReceiver:d8,LucideRadioTower:i8,LucideRadius:y8,LucideRailSymbol:r8,LucideRainbow:k8,LucideRat:p8,LucideRatio:s8,LucideReceipt:x8,LucideReceiptCent:l8,LucideReceiptEuro:u8,LucideReceiptIndianRupee:M8,LucideReceiptJapaneseYen:v8,LucideReceiptPoundSterling:m8,LucideReceiptRussianRuble:_8,LucideReceiptSwissFranc:g8,LucideReceiptText:L8,LucideRectangleEllipsis:Le,LucideRectangleHorizontal:w8,LucideRectangleVertical:f8,LucideRecycle:C8,LucideRedo:r0,LucideRedo2:I8,LucideRedoDot:N8,LucideRefreshCcw:q8,LucideRefreshCcwDot:S8,LucideRefreshCw:Ea,LucideRefreshCwOff:b8,LucideRefrigerator:$8,LucideRegex:A8,LucideRemoveFormatting:H8,LucideRepeat:j8,LucideRepeat1:z8,LucideRepeat2:P8,LucideReplace:B8,LucideReplaceAll:V8,LucideReply:D8,LucideReplyAll:F8,LucideRewind:R8,LucideRibbon:T8,LucideRocket:U8,LucideRockingChair:O8,LucideRollerCoaster:Z8,LucideRotate3D:xe,LucideRotate3d:xe,LucideRotateCcw:W8,LucideRotateCcwSquare:G8,LucideRotateCw:X8,LucideRotateCwSquare:E8,LucideRoute:J8,LucideRouteOff:K8,LucideRouter:Q8,LucideRows:we,LucideRows2:we,LucideRows3:fe,LucideRows4:Y8,LucideRss:e7,LucideRuler:Xa,LucideRussianRuble:a7,LucideSailboat:o7,LucideSalad:c7,LucideSandwich:t7,LucideSatellite:d7,LucideSatelliteDish:n7,LucideSave:e0,LucideSaveAll:i7,LucideSaveOff:h7,LucideScale:m0,LucideScale3D:Ce,LucideScale3d:Ce,LucideScaling:y7,LucideScan:m7,LucideScanBarcode:r7,LucideScanEye:k7,LucideScanFace:p7,LucideScanHeart:s7,LucideScanLine:l7,LucideScanQrCode:u7,LucideScanSearch:M7,LucideScanText:v7,LucideScatterChart:e1,LucideSchool:_7,LucideSchool2:$2,LucideScissors:L7,LucideScissorsLineDashed:g7,LucideScissorsSquare:v2,LucideScissorsSquareDashedBottom:Ue,LucideScreenShare:w7,LucideScreenShareOff:x7,LucideScroll:C7,LucideScrollText:f7,LucideSearch:a0,LucideSearchCheck:I7,LucideSearchCode:N7,LucideSearchSlash:S7,LucideSearchX:q7,LucideSection:b7,LucideSend:Ka,LucideSendHorizonal:Ie,LucideSendHorizontal:Ie,LucideSendToBack:$7,LucideSeparatorHorizontal:A7,LucideSeparatorVertical:H7,LucideServer:Ja,LucideServerCog:z7,LucideServerCrash:P7,LucideServerOff:j7,LucideSettings:Qa,LucideSettings2:V7,LucideShapes:B7,LucideShare:F7,LucideShare2:Ya,LucideSheet:D7,LucideShell:R7,LucideShield:La,LucideShieldAlert:T7,LucideShieldBan:U7,LucideShieldCheck:oo,LucideShieldClose:Ne,LucideShieldEllipsis:O7,LucideShieldHalf:Z7,LucideShieldMinus:G7,LucideShieldOff:W7,LucideShieldPlus:E7,LucideShieldQuestion:X7,LucideShieldX:Ne,LucideShip:J7,LucideShipWheel:K7,LucideShirt:Q7,LucideShoppingBag:Y7,LucideShoppingBasket:eu,LucideShoppingCart:au,LucideShovel:ou,LucideShowerHead:cu,LucideShrink:tu,LucideShrub:nu,LucideShuffle:du,LucideSidebar:k,LucideSidebarClose:le,LucideSidebarOpen:Me,LucideSigma:iu,LucideSigmaSquare:m2,LucideSignal:pu,LucideSignalHigh:hu,LucideSignalLow:yu,LucideSignalMedium:ru,LucideSignalZero:ku,LucideSignature:su,LucideSignpost:uu,LucideSignpostBig:lu,LucideSiren:Mu,LucideSkipBack:vu,LucideSkipForward:mu,LucideSkull:_u,LucideSlack:gu,LucideSlash:Lu,LucideSlashSquare:_2,LucideSlice:xu,LucideSliders:Se,LucideSlidersHorizontal:wu,LucideSlidersVertical:Se,LucideSmartphone:eo,LucideSmartphoneCharging:fu,LucideSmartphoneNfc:Cu,LucideSmile:Nu,LucideSmilePlus:Iu,LucideSnail:Su,LucideSnowflake:qu,LucideSofa:bu,LucideSortAsc:j,LucideSortDesc:H,LucideSoup:$u,LucideSpace:Au,LucideSpade:Hu,LucideSparkle:zu,LucideSparkles:l,LucideSpeaker:Pu,LucideSpeech:ju,LucideSpellCheck:Bu,LucideSpellCheck2:Vu,LucideSpline:Fu,LucideSplit:Du,LucideSplitSquareHorizontal:g2,LucideSplitSquareVertical:L2,LucideSprayCan:Ru,LucideSprout:Tu,LucideSquare:Eu,LucideSquareActivity:qe,LucideSquareArrowDown:Ae,LucideSquareArrowDownLeft:be,LucideSquareArrowDownRight:$e,LucideSquareArrowLeft:He,LucideSquareArrowOutDownLeft:ze,LucideSquareArrowOutDownRight:Pe,LucideSquareArrowOutUpLeft:je,LucideSquareArrowOutUpRight:Ve,LucideSquareArrowRight:Be,LucideSquareArrowUp:Re,LucideSquareArrowUpLeft:Fe,LucideSquareArrowUpRight:De,LucideSquareAsterisk:Te,LucideSquareBottomDashedScissors:Ue,LucideSquareChartGantt:i,LucideSquareCheck:Oe,LucideSquareCheckBig:N,LucideSquareChevronDown:Ze,LucideSquareChevronLeft:Ge,LucideSquareChevronRight:We,LucideSquareChevronUp:Ee,LucideSquareCode:Xe,LucideSquareDashed:Qe,LucideSquareDashedBottom:Ou,LucideSquareDashedBottomCode:Uu,LucideSquareDashedKanban:Ke,LucideSquareDashedMousePointer:Je,LucideSquareDivide:Ye,LucideSquareDot:e2,LucideSquareEqual:a2,LucideSquareFunction:o2,LucideSquareGanttChart:i,LucideSquareKanban:c2,LucideSquareLibrary:t2,LucideSquareM:n2,LucideSquareMenu:d2,LucideSquareMinus:i2,LucideSquareMousePointer:h2,LucideSquareParking:r2,LucideSquareParkingOff:y2,LucideSquarePen:n,LucideSquarePercent:k2,LucideSquarePi:p2,LucideSquarePilcrow:s2,LucideSquarePlay:l2,LucideSquarePlus:u2,LucideSquarePower:M2,LucideSquareRadical:Zu,LucideSquareScissors:v2,LucideSquareSigma:m2,LucideSquareSlash:_2,LucideSquareSplitHorizontal:g2,LucideSquareSplitVertical:L2,LucideSquareSquare:Gu,LucideSquareStack:Wu,LucideSquareTerminal:x2,LucideSquareUser:f2,LucideSquareUserRound:w2,LucideSquareX:C2,LucideSquircle:Xu,LucideSquirrel:Ku,LucideStamp:Ju,LucideStar:co,LucideStarHalf:Qu,LucideStarOff:Yu,LucideStars:l,LucideStepBack:e9,LucideStepForward:a9,LucideStethoscope:o9,LucideSticker:c9,LucideStickyNote:t9,LucideStopCircle:f1,LucideStore:n9,LucideStretchHorizontal:d9,LucideStretchVertical:i9,LucideStrikethrough:k0,LucideSubscript:h9,LucideSubtitles:O,LucideSun:to,LucideSunDim:y9,LucideSunMedium:r9,LucideSunMoon:k9,LucideSunSnow:p9,LucideSunrise:s9,LucideSunset:l9,LucideSuperscript:u9,LucideSwatchBook:M9,LucideSwissFranc:v9,LucideSwitchCamera:m9,LucideSword:_9,LucideSwords:g9,LucideSyringe:L9,LucideTable:q9,LucideTable2:x9,LucideTableCellsMerge:w9,LucideTableCellsSplit:f9,LucideTableColumnsSplit:C9,LucideTableOfContents:I9,LucideTableProperties:N9,LucideTableRowsSplit:S9,LucideTablet:$9,LucideTabletSmartphone:b9,LucideTablets:A9,LucideTag:no,LucideTags:H9,LucideTally1:z9,LucideTally2:P9,LucideTally3:j9,LucideTally4:V9,LucideTally5:B9,LucideTangent:F9,LucideTarget:io,LucideTelescope:D9,LucideTent:T9,LucideTentTree:R9,LucideTerminal:U9,LucideTerminalSquare:x2,LucideTestTube:O9,LucideTestTube2:I2,LucideTestTubeDiagonal:I2,LucideTestTubes:Z9,LucideText:K9,LucideTextCursor:W9,LucideTextCursorInput:G9,LucideTextQuote:E9,LucideTextSearch:X9,LucideTextSelect:N2,LucideTextSelection:N2,LucideTheater:J9,LucideThermometer:eM,LucideThermometerSnowflake:Q9,LucideThermometerSun:Y9,LucideThumbsDown:ho,LucideThumbsUp:yo,LucideTicket:ro,LucideTicketCheck:aM,LucideTicketMinus:oM,LucideTicketPercent:cM,LucideTicketPlus:tM,LucideTicketSlash:nM,LucideTicketX:dM,LucideTickets:hM,LucideTicketsPlane:iM,LucideTimer:ko,LucideTimerOff:yM,LucideTimerReset:rM,LucideToggleLeft:kM,LucideToggleRight:pM,LucideToilet:sM,LucideTornado:lM,LucideTorus:uM,LucideTouchpad:vM,LucideTouchpadOff:MM,LucideTowerControl:mM,LucideToyBrick:_M,LucideTractor:gM,LucideTrafficCone:LM,LucideTrain:S2,LucideTrainFront:wM,LucideTrainFrontTunnel:xM,LucideTrainTrack:fM,LucideTramFront:S2,LucideTransgender:CM,LucideTrash:so,LucideTrash2:po,LucideTreeDeciduous:IM,LucideTreePalm:q2,LucideTreePine:NM,LucideTrees:SM,LucideTrello:qM,LucideTrendingDown:lo,LucideTrendingUp:uo,LucideTrendingUpDown:bM,LucideTriangle:HM,LucideTriangleAlert:S,LucideTriangleDashed:$M,LucideTriangleRight:AM,LucideTrophy:Mo,LucideTruck:zM,LucideTurtle:PM,LucideTv:VM,LucideTv2:b2,LucideTvMinimal:b2,LucideTvMinimalPlay:jM,LucideTwitch:BM,LucideTwitter:qa,LucideType:vo,LucideTypeOutline:FM,LucideUmbrella:RM,LucideUmbrellaOff:DM,LucideUnderline:TM,LucideUndo:p0,LucideUndo2:UM,LucideUndoDot:OM,LucideUnfoldHorizontal:ZM,LucideUnfoldVertical:GM,LucideUngroup:WM,LucideUniversity:$2,LucideUnlink:s0,LucideUnlink2:EM,LucideUnlock:s,LucideUnlockKeyhole:de,LucideUnplug:XM,LucideUpload:o0,LucideUploadCloud:b1,LucideUsb:KM,LucideUser:Lo,LucideUser2:V2,LucideUserCheck:mo,LucideUserCheck2:A2,LucideUserCircle:I1,LucideUserCircle2:C1,LucideUserCog:JM,LucideUserCog2:H2,LucideUserMinus:QM,LucideUserMinus2:z2,LucideUserPen:YM,LucideUserPlus:_o,LucideUserPlus2:P2,LucideUserRound:V2,LucideUserRoundCheck:A2,LucideUserRoundCog:H2,LucideUserRoundMinus:z2,LucideUserRoundPen:ev,LucideUserRoundPlus:P2,LucideUserRoundSearch:av,LucideUserRoundX:j2,LucideUserSearch:ov,LucideUserSquare:f2,LucideUserSquare2:w2,LucideUserX:go,LucideUserX2:j2,LucideUsers:xo,LucideUsers2:B2,LucideUsersRound:B2,LucideUtensils:D2,LucideUtensilsCrossed:F2,LucideUtilityPole:cv,LucideVariable:tv,LucideVault:nv,LucideVegan:dv,LucideVenetianMask:iv,LucideVenus:yv,LucideVenusAndMars:hv,LucideVerified:F,LucideVibrate:kv,LucideVibrateOff:rv,LucideVideo:sv,LucideVideoOff:pv,LucideVideotape:lv,LucideView:uv,LucideVoicemail:Mv,LucideVolleyball:vv,LucideVolume:xv,LucideVolume1:mv,LucideVolume2:_v,LucideVolumeOff:gv,LucideVolumeX:Lv,LucideVote:wv,LucideWallet:wo,LucideWallet2:R2,LucideWalletCards:fv,LucideWalletMinimal:R2,LucideWallpaper:Cv,LucideWand:Iv,LucideWand2:T2,LucideWandSparkles:T2,LucideWarehouse:Nv,LucideWashingMachine:Sv,LucideWatch:qv,LucideWaves:$v,LucideWavesLadder:bv,LucideWaypoints:Av,LucideWebcam:Hv,LucideWebhook:Pv,LucideWebhookOff:zv,LucideWeight:jv,LucideWheat:Bv,LucideWheatOff:Vv,LucideWholeWord:Fv,LucideWifi:ao,LucideWifiHigh:Dv,LucideWifiLow:Rv,LucideWifiOff:Tv,LucideWifiZero:Uv,LucideWind:Zv,LucideWindArrowDown:Ov,LucideWine:Wv,LucideWineOff:Gv,LucideWorkflow:Ev,LucideWorm:Xv,LucideWrapText:Kv,LucideWrench:fo,LucideX:c0,LucideXCircle:x,LucideXOctagon:ke,LucideXSquare:C2,LucideYoutube:Jv,LucideZap:Co,LucideZapOff:Qv,LucideZoomIn:Yv,LucideZoomOut:em,Luggage:ds,LuggageIcon:ds,MSquare:n2,MSquareIcon:n2,Magnet:is,MagnetIcon:is,Mail:Pa,MailCheck:hs,MailCheckIcon:hs,MailIcon:Pa,MailMinus:ys,MailMinusIcon:ys,MailOpen:rs,MailOpenIcon:rs,MailPlus:ks,MailPlusIcon:ks,MailQuestion:ps,MailQuestionIcon:ps,MailSearch:ss,MailSearchIcon:ss,MailWarning:ls,MailWarningIcon:ls,MailX:us,MailXIcon:us,Mailbox:Ms,MailboxIcon:Ms,Mails:vs,MailsIcon:vs,Map:bs,MapIcon:bs,MapPin:ja,MapPinCheck:_s,MapPinCheckIcon:_s,MapPinCheckInside:ms,MapPinCheckInsideIcon:ms,MapPinHouse:gs,MapPinHouseIcon:gs,MapPinIcon:ja,MapPinMinus:xs,MapPinMinusIcon:xs,MapPinMinusInside:Ls,MapPinMinusInsideIcon:Ls,MapPinOff:ws,MapPinOffIcon:ws,MapPinPlus:Cs,MapPinPlusIcon:Cs,MapPinPlusInside:fs,MapPinPlusInsideIcon:fs,MapPinX:Ns,MapPinXIcon:Ns,MapPinXInside:Is,MapPinXInsideIcon:Is,MapPinned:Ss,MapPinnedIcon:Ss,MapPlus:qs,MapPlusIcon:qs,Mars:As,MarsIcon:As,MarsStroke:$s,MarsStrokeIcon:$s,Martini:Hs,MartiniIcon:Hs,Maximize:Ps,Maximize2:zs,Maximize2Icon:zs,MaximizeIcon:Ps,Medal:js,MedalIcon:js,Megaphone:Bs,MegaphoneIcon:Bs,MegaphoneOff:Vs,MegaphoneOffIcon:Vs,Meh:Fs,MehIcon:Fs,MemoryStick:Ds,MemoryStickIcon:Ds,Menu:Va,MenuIcon:Va,MenuSquare:d2,MenuSquareIcon:d2,Merge:Rs,MergeIcon:Rs,MessageCircle:Qs,MessageCircleCode:Ts,MessageCircleCodeIcon:Ts,MessageCircleDashed:Us,MessageCircleDashedIcon:Us,MessageCircleHeart:Os,MessageCircleHeartIcon:Os,MessageCircleIcon:Qs,MessageCircleMore:Zs,MessageCircleMoreIcon:Zs,MessageCircleOff:Gs,MessageCircleOffIcon:Gs,MessageCirclePlus:Ws,MessageCirclePlusIcon:Ws,MessageCircleQuestion:Es,MessageCircleQuestionIcon:Es,MessageCircleReply:Xs,MessageCircleReplyIcon:Xs,MessageCircleWarning:Ks,MessageCircleWarningIcon:Ks,MessageCircleX:Js,MessageCircleXIcon:Js,MessageSquare:Fa,MessageSquareCode:Ys,MessageSquareCodeIcon:Ys,MessageSquareDashed:e3,MessageSquareDashedIcon:e3,MessageSquareDiff:a3,MessageSquareDiffIcon:a3,MessageSquareDot:o3,MessageSquareDotIcon:o3,MessageSquareHeart:c3,MessageSquareHeartIcon:c3,MessageSquareIcon:Fa,MessageSquareLock:t3,MessageSquareLockIcon:t3,MessageSquareMore:n3,MessageSquareMoreIcon:n3,MessageSquareOff:d3,MessageSquareOffIcon:d3,MessageSquarePlus:i3,MessageSquarePlusIcon:i3,MessageSquareQuote:h3,MessageSquareQuoteIcon:h3,MessageSquareReply:y3,MessageSquareReplyIcon:y3,MessageSquareShare:r3,MessageSquareShareIcon:r3,MessageSquareText:k3,MessageSquareTextIcon:k3,MessageSquareWarning:Ba,MessageSquareWarningIcon:Ba,MessageSquareX:p3,MessageSquareXIcon:p3,MessagesSquare:s3,MessagesSquareIcon:s3,Mic:u3,Mic2:ie,Mic2Icon:ie,MicIcon:u3,MicOff:l3,MicOffIcon:l3,MicVocal:ie,MicVocalIcon:ie,Microchip:M3,MicrochipIcon:M3,Microscope:v3,MicroscopeIcon:v3,Microwave:m3,MicrowaveIcon:m3,Milestone:_3,MilestoneIcon:_3,Milk:L3,MilkIcon:L3,MilkOff:g3,MilkOffIcon:g3,Minimize:w3,Minimize2:x3,Minimize2Icon:x3,MinimizeIcon:w3,Minus:f3,MinusCircle:u1,MinusCircleIcon:u1,MinusIcon:f3,MinusSquare:i2,MinusSquareIcon:i2,Monitor:Da,MonitorCheck:C3,MonitorCheckIcon:C3,MonitorCog:I3,MonitorCogIcon:I3,MonitorDot:N3,MonitorDotIcon:N3,MonitorDown:S3,MonitorDownIcon:S3,MonitorIcon:Da,MonitorOff:q3,MonitorOffIcon:q3,MonitorPause:b3,MonitorPauseIcon:b3,MonitorPlay:$3,MonitorPlayIcon:$3,MonitorSmartphone:A3,MonitorSmartphoneIcon:A3,MonitorSpeaker:H3,MonitorSpeakerIcon:H3,MonitorStop:z3,MonitorStopIcon:z3,MonitorUp:P3,MonitorUpIcon:P3,MonitorX:j3,MonitorXIcon:j3,Moon:J2,MoonIcon:J2,MoonStar:V3,MoonStarIcon:V3,MoreHorizontal:B1,MoreHorizontalIcon:B1,MoreVertical:V1,MoreVerticalIcon:V1,Mountain:F3,MountainIcon:F3,MountainSnow:B3,MountainSnowIcon:B3,Mouse:Z3,MouseIcon:Z3,MouseOff:D3,MouseOffIcon:D3,MousePointer:O3,MousePointer2:R3,MousePointer2Icon:R3,MousePointerBan:T3,MousePointerBanIcon:T3,MousePointerClick:U3,MousePointerClickIcon:U3,MousePointerIcon:O3,MousePointerSquareDashed:Je,MousePointerSquareDashedIcon:Je,Move:tl,Move3D:he,Move3DIcon:he,Move3d:he,Move3dIcon:he,MoveDiagonal:W3,MoveDiagonal2:G3,MoveDiagonal2Icon:G3,MoveDiagonalIcon:W3,MoveDown:K3,MoveDownIcon:K3,MoveDownLeft:E3,MoveDownLeftIcon:E3,MoveDownRight:X3,MoveDownRightIcon:X3,MoveHorizontal:J3,MoveHorizontalIcon:J3,MoveIcon:tl,MoveLeft:Q3,MoveLeftIcon:Q3,MoveRight:Y3,MoveRightIcon:Y3,MoveUp:ol,MoveUpIcon:ol,MoveUpLeft:el,MoveUpLeftIcon:el,MoveUpRight:al,MoveUpRightIcon:al,MoveVertical:cl,MoveVerticalIcon:cl,Music:hl,Music2:nl,Music2Icon:nl,Music3:dl,Music3Icon:dl,Music4:il,Music4Icon:il,MusicIcon:hl,Navigation:pl,Navigation2:rl,Navigation2Icon:rl,Navigation2Off:yl,Navigation2OffIcon:yl,NavigationIcon:pl,NavigationOff:kl,NavigationOffIcon:kl,Network:sl,NetworkIcon:sl,Newspaper:ll,NewspaperIcon:ll,Nfc:ul,NfcIcon:ul,NonBinary:Ml,NonBinaryIcon:Ml,Notebook:gl,NotebookIcon:gl,NotebookPen:vl,NotebookPenIcon:vl,NotebookTabs:ml,NotebookTabsIcon:ml,NotebookText:_l,NotebookTextIcon:_l,NotepadText:xl,NotepadTextDashed:Ll,NotepadTextDashedIcon:Ll,NotepadTextIcon:xl,Nut:fl,NutIcon:fl,NutOff:wl,NutOffIcon:wl,Octagon:Il,OctagonAlert:ye,OctagonAlertIcon:ye,OctagonIcon:Il,OctagonMinus:Cl,OctagonMinusIcon:Cl,OctagonPause:re,OctagonPauseIcon:re,OctagonX:ke,OctagonXIcon:ke,Omega:Nl,OmegaIcon:Nl,Option:Sl,OptionIcon:Sl,Orbit:ql,OrbitIcon:ql,Origami:bl,OrigamiIcon:bl,Outdent:ce,OutdentIcon:ce,Package:Ra,Package2:$l,Package2Icon:$l,PackageCheck:Al,PackageCheckIcon:Al,PackageIcon:Ra,PackageMinus:Hl,PackageMinusIcon:Hl,PackageOpen:zl,PackageOpenIcon:zl,PackagePlus:Pl,PackagePlusIcon:Pl,PackageSearch:jl,PackageSearchIcon:jl,PackageX:Vl,PackageXIcon:Vl,PaintBucket:Bl,PaintBucketIcon:Bl,PaintRoller:Fl,PaintRollerIcon:Fl,Paintbrush:Dl,Paintbrush2:pe,Paintbrush2Icon:pe,PaintbrushIcon:Dl,PaintbrushVertical:pe,PaintbrushVerticalIcon:pe,Palette:Q2,PaletteIcon:Q2,Palmtree:q2,PalmtreeIcon:q2,PanelBottom:Ul,PanelBottomClose:Rl,PanelBottomCloseIcon:Rl,PanelBottomDashed:se,PanelBottomDashedIcon:se,PanelBottomIcon:Ul,PanelBottomInactive:se,PanelBottomInactiveIcon:se,PanelBottomOpen:Tl,PanelBottomOpenIcon:Tl,PanelLeft:k,PanelLeftClose:le,PanelLeftCloseIcon:le,PanelLeftDashed:ue,PanelLeftDashedIcon:ue,PanelLeftIcon:k,PanelLeftInactive:ue,PanelLeftInactiveIcon:ue,PanelLeftOpen:Me,PanelLeftOpenIcon:Me,PanelRight:Gl,PanelRightClose:Ol,PanelRightCloseIcon:Ol,PanelRightDashed:ve,PanelRightDashedIcon:ve,PanelRightIcon:Gl,PanelRightInactive:ve,PanelRightInactiveIcon:ve,PanelRightOpen:Zl,PanelRightOpenIcon:Zl,PanelTop:Xl,PanelTopClose:Wl,PanelTopCloseIcon:Wl,PanelTopDashed:me,PanelTopDashedIcon:me,PanelTopIcon:Xl,PanelTopInactive:me,PanelTopInactiveIcon:me,PanelTopOpen:El,PanelTopOpenIcon:El,PanelsLeftBottom:Kl,PanelsLeftBottomIcon:Kl,PanelsLeftRight:H1,PanelsLeftRightIcon:H1,PanelsRightBottom:Jl,PanelsRightBottomIcon:Jl,PanelsTopBottom:fe,PanelsTopBottomIcon:fe,PanelsTopLeft:p,PanelsTopLeftIcon:p,Paperclip:Ql,PaperclipIcon:Ql,Parentheses:Yl,ParenthesesIcon:Yl,ParkingCircle:v1,ParkingCircleIcon:v1,ParkingCircleOff:M1,ParkingCircleOffIcon:M1,ParkingMeter:e6,ParkingMeterIcon:e6,ParkingSquare:r2,ParkingSquareIcon:r2,ParkingSquareOff:y2,ParkingSquareOffIcon:y2,PartyPopper:a6,PartyPopperIcon:a6,Pause:o6,PauseCircle:m1,PauseCircleIcon:m1,PauseIcon:o6,PauseOctagon:re,PauseOctagonIcon:re,PawPrint:c6,PawPrintIcon:c6,PcCase:t6,PcCaseIcon:t6,Pen:_e,PenBox:n,PenBoxIcon:n,PenIcon:_e,PenLine:w,PenLineIcon:w,PenOff:n6,PenOffIcon:n6,PenSquare:n,PenSquareIcon:n,PenTool:d6,PenToolIcon:d6,Pencil:r6,PencilIcon:r6,PencilLine:i6,PencilLineIcon:i6,PencilOff:h6,PencilOffIcon:h6,PencilRuler:y6,PencilRulerIcon:y6,Pentagon:k6,PentagonIcon:k6,Percent:Ta,PercentCircle:_1,PercentCircleIcon:_1,PercentDiamond:P1,PercentDiamondIcon:P1,PercentIcon:Ta,PercentSquare:k2,PercentSquareIcon:k2,PersonStanding:p6,PersonStandingIcon:p6,PhilippinePeso:s6,PhilippinePesoIcon:s6,Phone:Ua,PhoneCall:l6,PhoneCallIcon:l6,PhoneForwarded:u6,PhoneForwardedIcon:u6,PhoneIcon:Ua,PhoneIncoming:M6,PhoneIncomingIcon:M6,PhoneMissed:v6,PhoneMissedIcon:v6,PhoneOff:m6,PhoneOffIcon:m6,PhoneOutgoing:_6,PhoneOutgoingIcon:_6,Pi:g6,PiIcon:g6,PiSquare:p2,PiSquareIcon:p2,Piano:L6,PianoIcon:L6,Pickaxe:x6,PickaxeIcon:x6,PictureInPicture:f6,PictureInPicture2:w6,PictureInPicture2Icon:w6,PictureInPictureIcon:f6,PieChart:Y,PieChartIcon:Y,PiggyBank:C6,PiggyBankIcon:C6,Pilcrow:S6,PilcrowIcon:S6,PilcrowLeft:I6,PilcrowLeftIcon:I6,PilcrowRight:N6,PilcrowRightIcon:N6,PilcrowSquare:s2,PilcrowSquareIcon:s2,Pill:b6,PillBottle:q6,PillBottleIcon:q6,PillIcon:b6,Pin:A6,PinIcon:A6,PinOff:$6,PinOffIcon:$6,Pipette:H6,PipetteIcon:H6,Pizza:z6,PizzaIcon:z6,Plane:Oa,PlaneIcon:Oa,PlaneLanding:P6,PlaneLandingIcon:P6,PlaneTakeoff:j6,PlaneTakeoffIcon:j6,Play:Za,PlayCircle:g1,PlayCircleIcon:g1,PlayIcon:Za,PlaySquare:l2,PlaySquareIcon:l2,Plug:B6,Plug2:V6,Plug2Icon:V6,PlugIcon:B6,PlugZap:ge,PlugZap2:ge,PlugZap2Icon:ge,PlugZapIcon:ge,Plus:Y2,PlusCircle:L1,PlusCircleIcon:L1,PlusIcon:Y2,PlusSquare:u2,PlusSquareIcon:u2,Pocket:D6,PocketIcon:D6,PocketKnife:F6,PocketKnifeIcon:F6,Podcast:R6,PodcastIcon:R6,Pointer:U6,PointerIcon:U6,PointerOff:T6,PointerOffIcon:T6,Popcorn:O6,PopcornIcon:O6,Popsicle:Z6,PopsicleIcon:Z6,PoundSterling:G6,PoundSterlingIcon:G6,Power:E6,PowerCircle:x1,PowerCircleIcon:x1,PowerIcon:E6,PowerOff:W6,PowerOffIcon:W6,PowerSquare:M2,PowerSquareIcon:M2,Presentation:X6,PresentationIcon:X6,Printer:J6,PrinterCheck:K6,PrinterCheckIcon:K6,PrinterIcon:J6,Projector:Q6,ProjectorIcon:Q6,Proportions:Y6,ProportionsIcon:Y6,Puzzle:e8,PuzzleIcon:e8,Pyramid:a8,PyramidIcon:a8,QrCode:Ga,QrCodeIcon:Ga,Quote:Wa,QuoteIcon:Wa,Rabbit:o8,RabbitIcon:o8,Radar:c8,RadarIcon:c8,Radiation:t8,RadiationIcon:t8,Radical:n8,RadicalIcon:n8,Radio:h8,RadioIcon:h8,RadioReceiver:d8,RadioReceiverIcon:d8,RadioTower:i8,RadioTowerIcon:i8,Radius:y8,RadiusIcon:y8,RailSymbol:r8,RailSymbolIcon:r8,Rainbow:k8,RainbowIcon:k8,Rat:p8,RatIcon:p8,Ratio:s8,RatioIcon:s8,Receipt:x8,ReceiptCent:l8,ReceiptCentIcon:l8,ReceiptEuro:u8,ReceiptEuroIcon:u8,ReceiptIcon:x8,ReceiptIndianRupee:M8,ReceiptIndianRupeeIcon:M8,ReceiptJapaneseYen:v8,ReceiptJapaneseYenIcon:v8,ReceiptPoundSterling:m8,ReceiptPoundSterlingIcon:m8,ReceiptRussianRuble:_8,ReceiptRussianRubleIcon:_8,ReceiptSwissFranc:g8,ReceiptSwissFrancIcon:g8,ReceiptText:L8,ReceiptTextIcon:L8,RectangleEllipsis:Le,RectangleEllipsisIcon:Le,RectangleHorizontal:w8,RectangleHorizontalIcon:w8,RectangleVertical:f8,RectangleVerticalIcon:f8,Recycle:C8,RecycleIcon:C8,Redo:r0,Redo2:I8,Redo2Icon:I8,RedoDot:N8,RedoDotIcon:N8,RedoIcon:r0,RefreshCcw:q8,RefreshCcwDot:S8,RefreshCcwDotIcon:S8,RefreshCcwIcon:q8,RefreshCw:Ea,RefreshCwIcon:Ea,RefreshCwOff:b8,RefreshCwOffIcon:b8,Refrigerator:$8,RefrigeratorIcon:$8,Regex:A8,RegexIcon:A8,RemoveFormatting:H8,RemoveFormattingIcon:H8,Repeat:j8,Repeat1:z8,Repeat1Icon:z8,Repeat2:P8,Repeat2Icon:P8,RepeatIcon:j8,Replace:B8,ReplaceAll:V8,ReplaceAllIcon:V8,ReplaceIcon:B8,Reply:D8,ReplyAll:F8,ReplyAllIcon:F8,ReplyIcon:D8,Rewind:R8,RewindIcon:R8,Ribbon:T8,RibbonIcon:T8,Rocket:U8,RocketIcon:U8,RockingChair:O8,RockingChairIcon:O8,RollerCoaster:Z8,RollerCoasterIcon:Z8,Rotate3D:xe,Rotate3DIcon:xe,Rotate3d:xe,Rotate3dIcon:xe,RotateCcw:W8,RotateCcwIcon:W8,RotateCcwSquare:G8,RotateCcwSquareIcon:G8,RotateCw:X8,RotateCwIcon:X8,RotateCwSquare:E8,RotateCwSquareIcon:E8,Route:J8,RouteIcon:J8,RouteOff:K8,RouteOffIcon:K8,Router:Q8,RouterIcon:Q8,Rows:we,Rows2:we,Rows2Icon:we,Rows3:fe,Rows3Icon:fe,Rows4:Y8,Rows4Icon:Y8,RowsIcon:we,Rss:e7,RssIcon:e7,Ruler:Xa,RulerIcon:Xa,RussianRuble:a7,RussianRubleIcon:a7,Sailboat:o7,SailboatIcon:o7,Salad:c7,SaladIcon:c7,Sandwich:t7,SandwichIcon:t7,Satellite:d7,SatelliteDish:n7,SatelliteDishIcon:n7,SatelliteIcon:d7,Save:e0,SaveAll:i7,SaveAllIcon:i7,SaveIcon:e0,SaveOff:h7,SaveOffIcon:h7,Scale:m0,Scale3D:Ce,Scale3DIcon:Ce,Scale3d:Ce,Scale3dIcon:Ce,ScaleIcon:m0,Scaling:y7,ScalingIcon:y7,Scan:m7,ScanBarcode:r7,ScanBarcodeIcon:r7,ScanEye:k7,ScanEyeIcon:k7,ScanFace:p7,ScanFaceIcon:p7,ScanHeart:s7,ScanHeartIcon:s7,ScanIcon:m7,ScanLine:l7,ScanLineIcon:l7,ScanQrCode:u7,ScanQrCodeIcon:u7,ScanSearch:M7,ScanSearchIcon:M7,ScanText:v7,ScanTextIcon:v7,ScatterChart:e1,ScatterChartIcon:e1,School:_7,School2:$2,School2Icon:$2,SchoolIcon:_7,Scissors:L7,ScissorsIcon:L7,ScissorsLineDashed:g7,ScissorsLineDashedIcon:g7,ScissorsSquare:v2,ScissorsSquareDashedBottom:Ue,ScissorsSquareDashedBottomIcon:Ue,ScissorsSquareIcon:v2,ScreenShare:w7,ScreenShareIcon:w7,ScreenShareOff:x7,ScreenShareOffIcon:x7,Scroll:C7,ScrollIcon:C7,ScrollText:f7,ScrollTextIcon:f7,Search:a0,SearchCheck:I7,SearchCheckIcon:I7,SearchCode:N7,SearchCodeIcon:N7,SearchIcon:a0,SearchSlash:S7,SearchSlashIcon:S7,SearchX:q7,SearchXIcon:q7,Section:b7,SectionIcon:b7,Send:Ka,SendHorizonal:Ie,SendHorizonalIcon:Ie,SendHorizontal:Ie,SendHorizontalIcon:Ie,SendIcon:Ka,SendToBack:$7,SendToBackIcon:$7,SeparatorHorizontal:A7,SeparatorHorizontalIcon:A7,SeparatorVertical:H7,SeparatorVerticalIcon:H7,Server:Ja,ServerCog:z7,ServerCogIcon:z7,ServerCrash:P7,ServerCrashIcon:P7,ServerIcon:Ja,ServerOff:j7,ServerOffIcon:j7,Settings:Qa,Settings2:V7,Settings2Icon:V7,SettingsIcon:Qa,Shapes:B7,ShapesIcon:B7,Share:F7,Share2:Ya,Share2Icon:Ya,ShareIcon:F7,Sheet:D7,SheetIcon:D7,Shell:R7,ShellIcon:R7,Shield:La,ShieldAlert:T7,ShieldAlertIcon:T7,ShieldBan:U7,ShieldBanIcon:U7,ShieldCheck:oo,ShieldCheckIcon:oo,ShieldClose:Ne,ShieldCloseIcon:Ne,ShieldEllipsis:O7,ShieldEllipsisIcon:O7,ShieldHalf:Z7,ShieldHalfIcon:Z7,ShieldIcon:La,ShieldMinus:G7,ShieldMinusIcon:G7,ShieldOff:W7,ShieldOffIcon:W7,ShieldPlus:E7,ShieldPlusIcon:E7,ShieldQuestion:X7,ShieldQuestionIcon:X7,ShieldX:Ne,ShieldXIcon:Ne,Ship:J7,ShipIcon:J7,ShipWheel:K7,ShipWheelIcon:K7,Shirt:Q7,ShirtIcon:Q7,ShoppingBag:Y7,ShoppingBagIcon:Y7,ShoppingBasket:eu,ShoppingBasketIcon:eu,ShoppingCart:au,ShoppingCartIcon:au,Shovel:ou,ShovelIcon:ou,ShowerHead:cu,ShowerHeadIcon:cu,Shrink:tu,ShrinkIcon:tu,Shrub:nu,ShrubIcon:nu,Shuffle:du,ShuffleIcon:du,Sidebar:k,SidebarClose:le,SidebarCloseIcon:le,SidebarIcon:k,SidebarOpen:Me,SidebarOpenIcon:Me,Sigma:iu,SigmaIcon:iu,SigmaSquare:m2,SigmaSquareIcon:m2,Signal:pu,SignalHigh:hu,SignalHighIcon:hu,SignalIcon:pu,SignalLow:yu,SignalLowIcon:yu,SignalMedium:ru,SignalMediumIcon:ru,SignalZero:ku,SignalZeroIcon:ku,Signature:su,SignatureIcon:su,Signpost:uu,SignpostBig:lu,SignpostBigIcon:lu,SignpostIcon:uu,Siren:Mu,SirenIcon:Mu,SkipBack:vu,SkipBackIcon:vu,SkipForward:mu,SkipForwardIcon:mu,Skull:_u,SkullIcon:_u,Slack:gu,SlackIcon:gu,Slash:Lu,SlashIcon:Lu,SlashSquare:_2,SlashSquareIcon:_2,Slice:xu,SliceIcon:xu,Sliders:Se,SlidersHorizontal:wu,SlidersHorizontalIcon:wu,SlidersIcon:Se,SlidersVertical:Se,SlidersVerticalIcon:Se,Smartphone:eo,SmartphoneCharging:fu,SmartphoneChargingIcon:fu,SmartphoneIcon:eo,SmartphoneNfc:Cu,SmartphoneNfcIcon:Cu,Smile:Nu,SmileIcon:Nu,SmilePlus:Iu,SmilePlusIcon:Iu,Snail:Su,SnailIcon:Su,Snowflake:qu,SnowflakeIcon:qu,Sofa:bu,SofaIcon:bu,SortAsc:j,SortAscIcon:j,SortDesc:H,SortDescIcon:H,Soup:$u,SoupIcon:$u,Space:Au,SpaceIcon:Au,Spade:Hu,SpadeIcon:Hu,Sparkle:zu,SparkleIcon:zu,Sparkles:l,SparklesIcon:l,Speaker:Pu,SpeakerIcon:Pu,Speech:ju,SpeechIcon:ju,SpellCheck:Bu,SpellCheck2:Vu,SpellCheck2Icon:Vu,SpellCheckIcon:Bu,Spline:Fu,SplineIcon:Fu,Split:Du,SplitIcon:Du,SplitSquareHorizontal:g2,SplitSquareHorizontalIcon:g2,SplitSquareVertical:L2,SplitSquareVerticalIcon:L2,SprayCan:Ru,SprayCanIcon:Ru,Sprout:Tu,SproutIcon:Tu,Square:Eu,SquareActivity:qe,SquareActivityIcon:qe,SquareArrowDown:Ae,SquareArrowDownIcon:Ae,SquareArrowDownLeft:be,SquareArrowDownLeftIcon:be,SquareArrowDownRight:$e,SquareArrowDownRightIcon:$e,SquareArrowLeft:He,SquareArrowLeftIcon:He,SquareArrowOutDownLeft:ze,SquareArrowOutDownLeftIcon:ze,SquareArrowOutDownRight:Pe,SquareArrowOutDownRightIcon:Pe,SquareArrowOutUpLeft:je,SquareArrowOutUpLeftIcon:je,SquareArrowOutUpRight:Ve,SquareArrowOutUpRightIcon:Ve,SquareArrowRight:Be,SquareArrowRightIcon:Be,SquareArrowUp:Re,SquareArrowUpIcon:Re,SquareArrowUpLeft:Fe,SquareArrowUpLeftIcon:Fe,SquareArrowUpRight:De,SquareArrowUpRightIcon:De,SquareAsterisk:Te,SquareAsteriskIcon:Te,SquareBottomDashedScissors:Ue,SquareBottomDashedScissorsIcon:Ue,SquareChartGantt:i,SquareChartGanttIcon:i,SquareCheck:Oe,SquareCheckBig:N,SquareCheckBigIcon:N,SquareCheckIcon:Oe,SquareChevronDown:Ze,SquareChevronDownIcon:Ze,SquareChevronLeft:Ge,SquareChevronLeftIcon:Ge,SquareChevronRight:We,SquareChevronRightIcon:We,SquareChevronUp:Ee,SquareChevronUpIcon:Ee,SquareCode:Xe,SquareCodeIcon:Xe,SquareDashed:Qe,SquareDashedBottom:Ou,SquareDashedBottomCode:Uu,SquareDashedBottomCodeIcon:Uu,SquareDashedBottomIcon:Ou,SquareDashedIcon:Qe,SquareDashedKanban:Ke,SquareDashedKanbanIcon:Ke,SquareDashedMousePointer:Je,SquareDashedMousePointerIcon:Je,SquareDivide:Ye,SquareDivideIcon:Ye,SquareDot:e2,SquareDotIcon:e2,SquareEqual:a2,SquareEqualIcon:a2,SquareFunction:o2,SquareFunctionIcon:o2,SquareGanttChart:i,SquareGanttChartIcon:i,SquareIcon:Eu,SquareKanban:c2,SquareKanbanIcon:c2,SquareLibrary:t2,SquareLibraryIcon:t2,SquareM:n2,SquareMIcon:n2,SquareMenu:d2,SquareMenuIcon:d2,SquareMinus:i2,SquareMinusIcon:i2,SquareMousePointer:h2,SquareMousePointerIcon:h2,SquareParking:r2,SquareParkingIcon:r2,SquareParkingOff:y2,SquareParkingOffIcon:y2,SquarePen:n,SquarePenIcon:n,SquarePercent:k2,SquarePercentIcon:k2,SquarePi:p2,SquarePiIcon:p2,SquarePilcrow:s2,SquarePilcrowIcon:s2,SquarePlay:l2,SquarePlayIcon:l2,SquarePlus:u2,SquarePlusIcon:u2,SquarePower:M2,SquarePowerIcon:M2,SquareRadical:Zu,SquareRadicalIcon:Zu,SquareScissors:v2,SquareScissorsIcon:v2,SquareSigma:m2,SquareSigmaIcon:m2,SquareSlash:_2,SquareSlashIcon:_2,SquareSplitHorizontal:g2,SquareSplitHorizontalIcon:g2,SquareSplitVertical:L2,SquareSplitVerticalIcon:L2,SquareSquare:Gu,SquareSquareIcon:Gu,SquareStack:Wu,SquareStackIcon:Wu,SquareTerminal:x2,SquareTerminalIcon:x2,SquareUser:f2,SquareUserIcon:f2,SquareUserRound:w2,SquareUserRoundIcon:w2,SquareX:C2,SquareXIcon:C2,Squircle:Xu,SquircleIcon:Xu,Squirrel:Ku,SquirrelIcon:Ku,Stamp:Ju,StampIcon:Ju,Star:co,StarHalf:Qu,StarHalfIcon:Qu,StarIcon:co,StarOff:Yu,StarOffIcon:Yu,Stars:l,StarsIcon:l,StepBack:e9,StepBackIcon:e9,StepForward:a9,StepForwardIcon:a9,Stethoscope:o9,StethoscopeIcon:o9,Sticker:c9,StickerIcon:c9,StickyNote:t9,StickyNoteIcon:t9,StopCircle:f1,StopCircleIcon:f1,Store:n9,StoreIcon:n9,StretchHorizontal:d9,StretchHorizontalIcon:d9,StretchVertical:i9,StretchVerticalIcon:i9,Strikethrough:k0,StrikethroughIcon:k0,Subscript:h9,SubscriptIcon:h9,Subtitles:O,SubtitlesIcon:O,Sun:to,SunDim:y9,SunDimIcon:y9,SunIcon:to,SunMedium:r9,SunMediumIcon:r9,SunMoon:k9,SunMoonIcon:k9,SunSnow:p9,SunSnowIcon:p9,Sunrise:s9,SunriseIcon:s9,Sunset:l9,SunsetIcon:l9,Superscript:u9,SuperscriptIcon:u9,SwatchBook:M9,SwatchBookIcon:M9,SwissFranc:v9,SwissFrancIcon:v9,SwitchCamera:m9,SwitchCameraIcon:m9,Sword:_9,SwordIcon:_9,Swords:g9,SwordsIcon:g9,Syringe:L9,SyringeIcon:L9,Table:q9,Table2:x9,Table2Icon:x9,TableCellsMerge:w9,TableCellsMergeIcon:w9,TableCellsSplit:f9,TableCellsSplitIcon:f9,TableColumnsSplit:C9,TableColumnsSplitIcon:C9,TableIcon:q9,TableOfContents:I9,TableOfContentsIcon:I9,TableProperties:N9,TablePropertiesIcon:N9,TableRowsSplit:S9,TableRowsSplitIcon:S9,Tablet:$9,TabletIcon:$9,TabletSmartphone:b9,TabletSmartphoneIcon:b9,Tablets:A9,TabletsIcon:A9,Tag:no,TagIcon:no,Tags:H9,TagsIcon:H9,Tally1:z9,Tally1Icon:z9,Tally2:P9,Tally2Icon:P9,Tally3:j9,Tally3Icon:j9,Tally4:V9,Tally4Icon:V9,Tally5:B9,Tally5Icon:B9,Tangent:F9,TangentIcon:F9,Target:io,TargetIcon:io,Telescope:D9,TelescopeIcon:D9,Tent:T9,TentIcon:T9,TentTree:R9,TentTreeIcon:R9,Terminal:U9,TerminalIcon:U9,TerminalSquare:x2,TerminalSquareIcon:x2,TestTube:O9,TestTube2:I2,TestTube2Icon:I2,TestTubeDiagonal:I2,TestTubeDiagonalIcon:I2,TestTubeIcon:O9,TestTubes:Z9,TestTubesIcon:Z9,Text:K9,TextCursor:W9,TextCursorIcon:W9,TextCursorInput:G9,TextCursorInputIcon:G9,TextIcon:K9,TextQuote:E9,TextQuoteIcon:E9,TextSearch:X9,TextSearchIcon:X9,TextSelect:N2,TextSelectIcon:N2,TextSelection:N2,TextSelectionIcon:N2,Theater:J9,TheaterIcon:J9,Thermometer:eM,ThermometerIcon:eM,ThermometerSnowflake:Q9,ThermometerSnowflakeIcon:Q9,ThermometerSun:Y9,ThermometerSunIcon:Y9,ThumbsDown:ho,ThumbsDownIcon:ho,ThumbsUp:yo,ThumbsUpIcon:yo,Ticket:ro,TicketCheck:aM,TicketCheckIcon:aM,TicketIcon:ro,TicketMinus:oM,TicketMinusIcon:oM,TicketPercent:cM,TicketPercentIcon:cM,TicketPlus:tM,TicketPlusIcon:tM,TicketSlash:nM,TicketSlashIcon:nM,TicketX:dM,TicketXIcon:dM,Tickets:hM,TicketsIcon:hM,TicketsPlane:iM,TicketsPlaneIcon:iM,Timer:ko,TimerIcon:ko,TimerOff:yM,TimerOffIcon:yM,TimerReset:rM,TimerResetIcon:rM,ToggleLeft:kM,ToggleLeftIcon:kM,ToggleRight:pM,ToggleRightIcon:pM,Toilet:sM,ToiletIcon:sM,Tornado:lM,TornadoIcon:lM,Torus:uM,TorusIcon:uM,Touchpad:vM,TouchpadIcon:vM,TouchpadOff:MM,TouchpadOffIcon:MM,TowerControl:mM,TowerControlIcon:mM,ToyBrick:_M,ToyBrickIcon:_M,Tractor:gM,TractorIcon:gM,TrafficCone:LM,TrafficConeIcon:LM,Train:S2,TrainFront:wM,TrainFrontIcon:wM,TrainFrontTunnel:xM,TrainFrontTunnelIcon:xM,TrainIcon:S2,TrainTrack:fM,TrainTrackIcon:fM,TramFront:S2,TramFrontIcon:S2,Transgender:CM,TransgenderIcon:CM,Trash:so,Trash2:po,Trash2Icon:po,TrashIcon:so,TreeDeciduous:IM,TreeDeciduousIcon:IM,TreePalm:q2,TreePalmIcon:q2,TreePine:NM,TreePineIcon:NM,Trees:SM,TreesIcon:SM,Trello:qM,TrelloIcon:qM,TrendingDown:lo,TrendingDownIcon:lo,TrendingUp:uo,TrendingUpDown:bM,TrendingUpDownIcon:bM,TrendingUpIcon:uo,Triangle:HM,TriangleAlert:S,TriangleAlertIcon:S,TriangleDashed:$M,TriangleDashedIcon:$M,TriangleIcon:HM,TriangleRight:AM,TriangleRightIcon:AM,Trophy:Mo,TrophyIcon:Mo,Truck:zM,TruckIcon:zM,Turtle:PM,TurtleIcon:PM,Tv:VM,Tv2:b2,Tv2Icon:b2,TvIcon:VM,TvMinimal:b2,TvMinimalIcon:b2,TvMinimalPlay:jM,TvMinimalPlayIcon:jM,Twitch:BM,TwitchIcon:BM,Twitter:qa,TwitterIcon:qa,Type:vo,TypeIcon:vo,TypeOutline:FM,TypeOutlineIcon:FM,Umbrella:RM,UmbrellaIcon:RM,UmbrellaOff:DM,UmbrellaOffIcon:DM,Underline:TM,UnderlineIcon:TM,Undo:p0,Undo2:UM,Undo2Icon:UM,UndoDot:OM,UndoDotIcon:OM,UndoIcon:p0,UnfoldHorizontal:ZM,UnfoldHorizontalIcon:ZM,UnfoldVertical:GM,UnfoldVerticalIcon:GM,Ungroup:WM,UngroupIcon:WM,University:$2,UniversityIcon:$2,Unlink:s0,Unlink2:EM,Unlink2Icon:EM,UnlinkIcon:s0,Unlock:s,UnlockIcon:s,UnlockKeyhole:de,UnlockKeyholeIcon:de,Unplug:XM,UnplugIcon:XM,Upload:o0,UploadCloud:b1,UploadCloudIcon:b1,UploadIcon:o0,Usb:KM,UsbIcon:KM,User:Lo,User2:V2,User2Icon:V2,UserCheck:mo,UserCheck2:A2,UserCheck2Icon:A2,UserCheckIcon:mo,UserCircle:I1,UserCircle2:C1,UserCircle2Icon:C1,UserCircleIcon:I1,UserCog:JM,UserCog2:H2,UserCog2Icon:H2,UserCogIcon:JM,UserIcon:Lo,UserMinus:QM,UserMinus2:z2,UserMinus2Icon:z2,UserMinusIcon:QM,UserPen:YM,UserPenIcon:YM,UserPlus:_o,UserPlus2:P2,UserPlus2Icon:P2,UserPlusIcon:_o,UserRound:V2,UserRoundCheck:A2,UserRoundCheckIcon:A2,UserRoundCog:H2,UserRoundCogIcon:H2,UserRoundIcon:V2,UserRoundMinus:z2,UserRoundMinusIcon:z2,UserRoundPen:ev,UserRoundPenIcon:ev,UserRoundPlus:P2,UserRoundPlusIcon:P2,UserRoundSearch:av,UserRoundSearchIcon:av,UserRoundX:j2,UserRoundXIcon:j2,UserSearch:ov,UserSearchIcon:ov,UserSquare:f2,UserSquare2:w2,UserSquare2Icon:w2,UserSquareIcon:f2,UserX:go,UserX2:j2,UserX2Icon:j2,UserXIcon:go,Users:xo,Users2:B2,Users2Icon:B2,UsersIcon:xo,UsersRound:B2,UsersRoundIcon:B2,Utensils:D2,UtensilsCrossed:F2,UtensilsCrossedIcon:F2,UtensilsIcon:D2,UtilityPole:cv,UtilityPoleIcon:cv,Variable:tv,VariableIcon:tv,Vault:nv,VaultIcon:nv,Vegan:dv,VeganIcon:dv,VenetianMask:iv,VenetianMaskIcon:iv,Venus:yv,VenusAndMars:hv,VenusAndMarsIcon:hv,VenusIcon:yv,Verified:F,VerifiedIcon:F,Vibrate:kv,VibrateIcon:kv,VibrateOff:rv,VibrateOffIcon:rv,Video:sv,VideoIcon:sv,VideoOff:pv,VideoOffIcon:pv,Videotape:lv,VideotapeIcon:lv,View:uv,ViewIcon:uv,Voicemail:Mv,VoicemailIcon:Mv,Volleyball:vv,VolleyballIcon:vv,Volume:xv,Volume1:mv,Volume1Icon:mv,Volume2:_v,Volume2Icon:_v,VolumeIcon:xv,VolumeOff:gv,VolumeOffIcon:gv,VolumeX:Lv,VolumeXIcon:Lv,Vote:wv,VoteIcon:wv,Wallet:wo,Wallet2:R2,Wallet2Icon:R2,WalletCards:fv,WalletCardsIcon:fv,WalletIcon:wo,WalletMinimal:R2,WalletMinimalIcon:R2,Wallpaper:Cv,WallpaperIcon:Cv,Wand:Iv,Wand2:T2,Wand2Icon:T2,WandIcon:Iv,WandSparkles:T2,WandSparklesIcon:T2,Warehouse:Nv,WarehouseIcon:Nv,WashingMachine:Sv,WashingMachineIcon:Sv,Watch:qv,WatchIcon:qv,Waves:$v,WavesIcon:$v,WavesLadder:bv,WavesLadderIcon:bv,Waypoints:Av,WaypointsIcon:Av,Webcam:Hv,WebcamIcon:Hv,Webhook:Pv,WebhookIcon:Pv,WebhookOff:zv,WebhookOffIcon:zv,Weight:jv,WeightIcon:jv,Wheat:Bv,WheatIcon:Bv,WheatOff:Vv,WheatOffIcon:Vv,WholeWord:Fv,WholeWordIcon:Fv,Wifi:ao,WifiHigh:Dv,WifiHighIcon:Dv,WifiIcon:ao,WifiLow:Rv,WifiLowIcon:Rv,WifiOff:Tv,WifiOffIcon:Tv,WifiZero:Uv,WifiZeroIcon:Uv,Wind:Zv,WindArrowDown:Ov,WindArrowDownIcon:Ov,WindIcon:Zv,Wine:Wv,WineIcon:Wv,WineOff:Gv,WineOffIcon:Gv,Workflow:Ev,WorkflowIcon:Ev,Worm:Xv,WormIcon:Xv,WrapText:Kv,WrapTextIcon:Kv,Wrench:fo,WrenchIcon:fo,X:c0,XCircle:x,XCircleIcon:x,XIcon:c0,XOctagon:ke,XOctagonIcon:ke,XSquare:C2,XSquareIcon:C2,Youtube:Jv,YoutubeIcon:Jv,Zap:Co,ZapIcon:Co,ZapOff:Qv,ZapOffIcon:Qv,ZoomIn:Yv,ZoomInIcon:Yv,ZoomOut:em,ZoomOutIcon:em,createLucideIcon:e,icons:NO},Symbol.toStringTag,{value:"Module"}));function OG({columns:am,actions:im,data:hm,from:mm,onAction:_m,sortField:gm,sortDirection:Lm,onSort:ym,statusColors:xm={},permissions:rm,entityPermissions:h,showActions:om=!0,footer:wm}){const{t:cm}=$m(),fm=c=>c.sortable?gm===c.key?Lm==="asc"?a.jsx(Z2,{className:"ml-1 h-4 w-4"}):a.jsx(O2,{className:"ml-1 h-4 w-4"}):a.jsx(G2,{className:"ml-1 h-4 w-4 opacity-50"}):null,Cm=c=>{!c.sortable||!ym||ym(c.key)},tm=im.some(c=>{const o=c.requiredPermission||h&&(c.action==="view"?h.view:c.action==="edit"?h.edit:c.action==="delete"?h.delete:c.permission);return!o||km(rm,o)}),Im=c=>a.jsx("div",{className:"flex items-center justify-end space-x-2",children:im.map((o,t)=>{const y=o.requiredPermission||h&&(o.action==="view"?h.view:o.action==="edit"?h.edit:o.action==="delete"?h.delete:o.permission);if(y&&!km(rm,y)||o.condition&&!o.condition(c))return null;const r=SO[o.icon];if(o.href){const qm=typeof o.href=="function"?o.href(c):o.href.replace(":id",c.id);return a.jsx(sm,{children:a.jsxs(lm,{children:[a.jsx(um,{asChild:!0,children:a.jsx(pm,{href:qm,target:o.openInNewTab?"_blank":void 0,children:a.jsx(Mm,{variant:"ghost",size:"icon",className:U2("h-8 w-8",o.className),children:a.jsx(r,{size:16})})})}),a.jsx(vm,{children:a.jsx("p",{children:o.label})})]})},t)}return a.jsx(sm,{children:a.jsxs(lm,{children:[a.jsx(um,{asChild:!0,children:a.jsx(Mm,{variant:"ghost",size:"icon",className:U2("h-8 w-8",o.className),onClick:()=>_m(o.action,c),children:a.jsx(r,{size:16})})}),a.jsx(vm,{children:a.jsx("p",{children:o.label})})]})},t)})}),Nm=(c,o)=>!c||!o?null:o.split(".").reduce((y,r)=>y&&y[r]!==void 0?y[r]:null,c),Sm=(c,o)=>{const t=Nm(c,o.key);if(o.render)return o.render(t,c);switch(o.type){case"badge":return a.jsx(Am,{className:U2("capitalize",xm[t]),children:t});case"image":return t?a.jsx("div",{className:"flex justify-center",children:a.jsx("img",{src:t.startsWith&&t.startsWith("http")?t:`/storage/${t}`,alt:c.name||"Image",className:o.className||"h-16 w-20 rounded-md object-cover shadow-sm",onError:r=>{r.currentTarget.src="https://placehold.co/200x150?text=Image+Not+Found"}})}):a.jsx("div",{className:"text-center text-gray-400",children:cm("No image")});case"date":return t?a.jsx("span",{className:"text-sm",children:new Date(t).toLocaleDateString()}):a.jsx("span",{children:"-"});case"currency":return a.jsx("span",{className:"text-sm",children:typeof t=="number"?t.toLocaleString("en-US",{style:"currency",currency:"USD"}):t});case"boolean":return a.jsx("span",{className:"text-sm",children:t?"Yes":"No"});case"link":if(!t)return a.jsx("span",{children:"-"});const y=o.href?typeof o.href=="function"?o.href(c):o.href.replace(":id",c.id):"#";return a.jsx(pm,{href:y,className:o.linkClassName||"text-blue-600 hover:underline",target:o.openInNewTab?"_blank":void 0,children:t});default:return a.jsx("span",{className:"text-sm font-medium",children:t||"-"})}};return a.jsx("div",{className:"border-collapse dark:bg-gray-900",children:a.jsxs(Hm,{children:[a.jsx(zm,{children:a.jsxs(nm,{className:"bg-gray-50 dark:bg-gray-800 border-b",children:[a.jsx(dm,{className:"w-12 py-2.5 font-semibold",children:"#"}),am.map(c=>a.jsx(dm,{className:U2("py-2.5 font-semibold text-left",c.sortable&&"cursor-pointer select-none",c.className),onClick:()=>Cm(c),children:a.jsxs("div",{className:"flex items-center",children:[c.label,fm(c)]})},c.key)),om&&tm&&a.jsx(dm,{className:"w-24 py-2.5 text-right font-semibold",children:cm("Actions")})]})}),a.jsx(Pm,{children:hm.length>0?hm.map((c,o)=>a.jsxs(nm,{className:"hover:bg-gray-50 dark:hover:bg-gray-700 dark:bg-gray-900 border-b",children:[a.jsx(W2,{className:"font-medium py-2.5",children:mm+o}),am.map(t=>a.jsx(W2,{className:U2("py-2.5 text-left",t.className),children:Sm(c,t)},t.key)),om&&tm&&a.jsx(W2,{className:"py-2.5 text-right",children:Im(c)})]},c.id||o)):a.jsx(nm,{children:a.jsx(W2,{colSpan:am.length+(om&&tm?2:1),className:"text-muted-foreground h-24 text-center dark:text-gray-400",children:cm("No results found.")})})}),wm]})})}export{Gn as B,OG as C,B1 as E,Nr as F,n5 as K,f3 as M,sl as N,J6 as P,au as S,Fh as a}; + */const jO=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Vo,AArrowDownIcon:Vo,AArrowUp:Bo,AArrowUpIcon:Bo,ALargeSmall:Fo,ALargeSmallIcon:Fo,Accessibility:Do,AccessibilityIcon:Do,Activity:Ro,ActivityIcon:Ro,ActivitySquare:$e,ActivitySquareIcon:$e,AirVent:To,AirVentIcon:To,Airplay:Uo,AirplayIcon:Uo,AlarmCheck:$,AlarmCheckIcon:$,AlarmClock:Zo,AlarmClockCheck:$,AlarmClockCheckIcon:$,AlarmClockIcon:Zo,AlarmClockMinus:A,AlarmClockMinusIcon:A,AlarmClockOff:Oo,AlarmClockOffIcon:Oo,AlarmClockPlus:H,AlarmClockPlusIcon:H,AlarmMinus:A,AlarmMinusIcon:A,AlarmPlus:H,AlarmPlusIcon:H,AlarmSmoke:Go,AlarmSmokeIcon:Go,Album:Wo,AlbumIcon:Wo,AlertCircle:g,AlertCircleIcon:g,AlertOctagon:ke,AlertOctagonIcon:ke,AlertTriangle:q,AlertTriangleIcon:q,AlignCenter:M0,AlignCenterHorizontal:Eo,AlignCenterHorizontalIcon:Eo,AlignCenterIcon:M0,AlignCenterVertical:Xo,AlignCenterVerticalIcon:Xo,AlignEndHorizontal:Ko,AlignEndHorizontalIcon:Ko,AlignEndVertical:Jo,AlignEndVerticalIcon:Jo,AlignHorizontalDistributeCenter:Qo,AlignHorizontalDistributeCenterIcon:Qo,AlignHorizontalDistributeEnd:Yo,AlignHorizontalDistributeEndIcon:Yo,AlignHorizontalDistributeStart:et,AlignHorizontalDistributeStartIcon:et,AlignHorizontalJustifyCenter:at,AlignHorizontalJustifyCenterIcon:at,AlignHorizontalJustifyEnd:ot,AlignHorizontalJustifyEndIcon:ot,AlignHorizontalJustifyStart:tt,AlignHorizontalJustifyStartIcon:tt,AlignHorizontalSpaceAround:ct,AlignHorizontalSpaceAroundIcon:ct,AlignHorizontalSpaceBetween:nt,AlignHorizontalSpaceBetweenIcon:nt,AlignJustify:dt,AlignJustifyIcon:dt,AlignLeft:v0,AlignLeftIcon:v0,AlignRight:m0,AlignRightIcon:m0,AlignStartHorizontal:it,AlignStartHorizontalIcon:it,AlignStartVertical:ht,AlignStartVerticalIcon:ht,AlignVerticalDistributeCenter:yt,AlignVerticalDistributeCenterIcon:yt,AlignVerticalDistributeEnd:rt,AlignVerticalDistributeEndIcon:rt,AlignVerticalDistributeStart:kt,AlignVerticalDistributeStartIcon:kt,AlignVerticalJustifyCenter:pt,AlignVerticalJustifyCenterIcon:pt,AlignVerticalJustifyEnd:st,AlignVerticalJustifyEndIcon:st,AlignVerticalJustifyStart:lt,AlignVerticalJustifyStartIcon:lt,AlignVerticalSpaceAround:ut,AlignVerticalSpaceAroundIcon:ut,AlignVerticalSpaceBetween:Mt,AlignVerticalSpaceBetweenIcon:Mt,Ambulance:vt,AmbulanceIcon:vt,Ampersand:mt,AmpersandIcon:mt,Ampersands:_t,AmpersandsIcon:_t,Amphora:gt,AmphoraIcon:gt,Anchor:Lt,AnchorIcon:Lt,Angry:xt,AngryIcon:xt,Annoyed:wt,AnnoyedIcon:wt,Antenna:ft,AntennaIcon:ft,Anvil:Ct,AnvilIcon:Ct,Aperture:It,ApertureIcon:It,AppWindow:St,AppWindowIcon:St,AppWindowMac:Nt,AppWindowMacIcon:Nt,Apple:bt,AppleIcon:bt,Archive:I0,ArchiveIcon:I0,ArchiveRestore:qt,ArchiveRestoreIcon:qt,ArchiveX:$t,ArchiveXIcon:$t,AreaChart:W,AreaChartIcon:W,Armchair:At,ArmchairIcon:At,ArrowBigDown:zt,ArrowBigDownDash:Ht,ArrowBigDownDashIcon:Ht,ArrowBigDownIcon:zt,ArrowBigLeft:Pt,ArrowBigLeftDash:jt,ArrowBigLeftDashIcon:jt,ArrowBigLeftIcon:Pt,ArrowBigRight:Bt,ArrowBigRightDash:Vt,ArrowBigRightDashIcon:Vt,ArrowBigRightIcon:Bt,ArrowBigUp:Dt,ArrowBigUpDash:Ft,ArrowBigUpDashIcon:Ft,ArrowBigUpIcon:Dt,ArrowDown:Xt,ArrowDown01:Rt,ArrowDown01Icon:Rt,ArrowDown10:Tt,ArrowDown10Icon:Tt,ArrowDownAZ:z,ArrowDownAZIcon:z,ArrowDownAz:z,ArrowDownAzIcon:z,ArrowDownCircle:t1,ArrowDownCircleIcon:t1,ArrowDownFromLine:Ut,ArrowDownFromLineIcon:Ut,ArrowDownIcon:Xt,ArrowDownLeft:$0,ArrowDownLeftFromCircle:n1,ArrowDownLeftFromCircleIcon:n1,ArrowDownLeftFromSquare:Pe,ArrowDownLeftFromSquareIcon:Pe,ArrowDownLeftIcon:$0,ArrowDownLeftSquare:Ae,ArrowDownLeftSquareIcon:Ae,ArrowDownNarrowWide:Ot,ArrowDownNarrowWideIcon:Ot,ArrowDownRight:Zt,ArrowDownRightFromCircle:d1,ArrowDownRightFromCircleIcon:d1,ArrowDownRightFromSquare:Ve,ArrowDownRightFromSquareIcon:Ve,ArrowDownRightIcon:Zt,ArrowDownRightSquare:He,ArrowDownRightSquareIcon:He,ArrowDownSquare:ze,ArrowDownSquareIcon:ze,ArrowDownToDot:Gt,ArrowDownToDotIcon:Gt,ArrowDownToLine:Wt,ArrowDownToLineIcon:Wt,ArrowDownUp:Et,ArrowDownUpIcon:Et,ArrowDownWideNarrow:j,ArrowDownWideNarrowIcon:j,ArrowDownZA:P,ArrowDownZAIcon:P,ArrowDownZa:P,ArrowDownZaIcon:P,ArrowLeft:A0,ArrowLeftCircle:c1,ArrowLeftCircleIcon:c1,ArrowLeftFromLine:Kt,ArrowLeftFromLineIcon:Kt,ArrowLeftIcon:A0,ArrowLeftRight:Jt,ArrowLeftRightIcon:Jt,ArrowLeftSquare:je,ArrowLeftSquareIcon:je,ArrowLeftToLine:Qt,ArrowLeftToLineIcon:Qt,ArrowRight:z0,ArrowRightCircle:y1,ArrowRightCircleIcon:y1,ArrowRightFromLine:Yt,ArrowRightFromLineIcon:Yt,ArrowRightIcon:z0,ArrowRightLeft:H0,ArrowRightLeftIcon:H0,ArrowRightSquare:De,ArrowRightSquareIcon:De,ArrowRightToLine:ec,ArrowRightToLineIcon:ec,ArrowUp:hc,ArrowUp01:ac,ArrowUp01Icon:ac,ArrowUp10:oc,ArrowUp10Icon:oc,ArrowUpAZ:V,ArrowUpAZIcon:V,ArrowUpAz:V,ArrowUpAzIcon:V,ArrowUpCircle:r1,ArrowUpCircleIcon:r1,ArrowUpDown:j0,ArrowUpDownIcon:j0,ArrowUpFromDot:tc,ArrowUpFromDotIcon:tc,ArrowUpFromLine:cc,ArrowUpFromLineIcon:cc,ArrowUpIcon:hc,ArrowUpLeft:nc,ArrowUpLeftFromCircle:i1,ArrowUpLeftFromCircleIcon:i1,ArrowUpLeftFromSquare:Be,ArrowUpLeftFromSquareIcon:Be,ArrowUpLeftIcon:nc,ArrowUpLeftSquare:Re,ArrowUpLeftSquareIcon:Re,ArrowUpNarrowWide:B,ArrowUpNarrowWideIcon:B,ArrowUpRight:P0,ArrowUpRightFromCircle:h1,ArrowUpRightFromCircleIcon:h1,ArrowUpRightFromSquare:Fe,ArrowUpRightFromSquareIcon:Fe,ArrowUpRightIcon:P0,ArrowUpRightSquare:Te,ArrowUpRightSquareIcon:Te,ArrowUpSquare:Ue,ArrowUpSquareIcon:Ue,ArrowUpToLine:dc,ArrowUpToLineIcon:dc,ArrowUpWideNarrow:ic,ArrowUpWideNarrowIcon:ic,ArrowUpZA:F,ArrowUpZAIcon:F,ArrowUpZa:F,ArrowUpZaIcon:F,ArrowsUpFromLine:yc,ArrowsUpFromLineIcon:yc,Asterisk:rc,AsteriskIcon:rc,AsteriskSquare:Oe,AsteriskSquareIcon:Oe,AtSign:kc,AtSignIcon:kc,Atom:pc,AtomIcon:pc,AudioLines:sc,AudioLinesIcon:sc,AudioWaveform:lc,AudioWaveformIcon:lc,Award:F0,AwardIcon:F0,Axe:uc,AxeIcon:uc,Axis3D:D,Axis3DIcon:D,Axis3d:D,Axis3dIcon:D,Baby:Mc,BabyIcon:Mc,Backpack:vc,BackpackIcon:vc,Badge:Hc,BadgeAlert:mc,BadgeAlertIcon:mc,BadgeCent:_c,BadgeCentIcon:_c,BadgeCheck:R,BadgeCheckIcon:R,BadgeDollarSign:gc,BadgeDollarSignIcon:gc,BadgeEuro:Lc,BadgeEuroIcon:Lc,BadgeHelp:xc,BadgeHelpIcon:xc,BadgeIcon:Hc,BadgeIndianRupee:wc,BadgeIndianRupeeIcon:wc,BadgeInfo:fc,BadgeInfoIcon:fc,BadgeJapaneseYen:Cc,BadgeJapaneseYenIcon:Cc,BadgeMinus:Ic,BadgeMinusIcon:Ic,BadgePercent:Nc,BadgePercentIcon:Nc,BadgePlus:Sc,BadgePlusIcon:Sc,BadgePoundSterling:bc,BadgePoundSterlingIcon:bc,BadgeRussianRuble:qc,BadgeRussianRubleIcon:qc,BadgeSwissFranc:$c,BadgeSwissFrancIcon:$c,BadgeX:Ac,BadgeXIcon:Ac,BaggageClaim:zc,BaggageClaimIcon:zc,Ban:D0,BanIcon:D0,Banana:jc,BananaIcon:jc,Bandage:Pc,BandageIcon:Pc,Banknote:R0,BanknoteIcon:R0,BarChart:m,BarChart2:_,BarChart2Icon:_,BarChart3:v,BarChart3Icon:v,BarChart4:Q,BarChart4Icon:Q,BarChartBig:J,BarChartBigIcon:J,BarChartHorizontal:X,BarChartHorizontalBig:E,BarChartHorizontalBigIcon:E,BarChartHorizontalIcon:X,BarChartIcon:m,Barcode:Vc,BarcodeIcon:Vc,Baseline:Bc,BaselineIcon:Bc,Bath:Fc,BathIcon:Fc,Battery:Gc,BatteryCharging:Dc,BatteryChargingIcon:Dc,BatteryFull:Rc,BatteryFullIcon:Rc,BatteryIcon:Gc,BatteryLow:Tc,BatteryLowIcon:Tc,BatteryMedium:Uc,BatteryMediumIcon:Uc,BatteryPlus:Oc,BatteryPlusIcon:Oc,BatteryWarning:Zc,BatteryWarningIcon:Zc,Beaker:Wc,BeakerIcon:Wc,Bean:Xc,BeanIcon:Xc,BeanOff:Ec,BeanOffIcon:Ec,Bed:Qc,BedDouble:Kc,BedDoubleIcon:Kc,BedIcon:Qc,BedSingle:Jc,BedSingleIcon:Jc,Beef:Yc,BeefIcon:Yc,Beer:an,BeerIcon:an,BeerOff:en,BeerOffIcon:en,Bell:U0,BellDot:on,BellDotIcon:on,BellElectric:tn,BellElectricIcon:tn,BellIcon:U0,BellMinus:cn,BellMinusIcon:cn,BellOff:nn,BellOffIcon:nn,BellPlus:dn,BellPlusIcon:dn,BellRing:hn,BellRingIcon:hn,BetweenHorizonalEnd:T,BetweenHorizonalEndIcon:T,BetweenHorizonalStart:U,BetweenHorizonalStartIcon:U,BetweenHorizontalEnd:T,BetweenHorizontalEndIcon:T,BetweenHorizontalStart:U,BetweenHorizontalStartIcon:U,BetweenVerticalEnd:yn,BetweenVerticalEndIcon:yn,BetweenVerticalStart:rn,BetweenVerticalStartIcon:rn,BicepsFlexed:kn,BicepsFlexedIcon:kn,Bike:pn,BikeIcon:pn,Binary:sn,BinaryIcon:sn,Binoculars:ln,BinocularsIcon:ln,Biohazard:un,BiohazardIcon:un,Bird:Mn,BirdIcon:Mn,Bitcoin:vn,BitcoinIcon:vn,Blend:mn,BlendIcon:mn,Blinds:_n,BlindsIcon:_n,Blocks:gn,BlocksIcon:gn,Bluetooth:fn,BluetoothConnected:Ln,BluetoothConnectedIcon:Ln,BluetoothIcon:fn,BluetoothOff:xn,BluetoothOffIcon:xn,BluetoothSearching:wn,BluetoothSearchingIcon:wn,Bold:_0,BoldIcon:_0,Bolt:Cn,BoltIcon:Cn,Bomb:In,BombIcon:In,Bone:Nn,BoneIcon:Nn,Book:N0,BookA:Sn,BookAIcon:Sn,BookAudio:bn,BookAudioIcon:bn,BookCheck:qn,BookCheckIcon:qn,BookCopy:$n,BookCopyIcon:$n,BookDashed:O,BookDashedIcon:O,BookDown:An,BookDownIcon:An,BookHeadphones:Hn,BookHeadphonesIcon:Hn,BookHeart:zn,BookHeartIcon:zn,BookIcon:N0,BookImage:jn,BookImageIcon:jn,BookKey:Pn,BookKeyIcon:Pn,BookLock:Vn,BookLockIcon:Vn,BookMarked:Bn,BookMarkedIcon:Bn,BookMinus:Fn,BookMinusIcon:Fn,BookOpen:O0,BookOpenCheck:Dn,BookOpenCheckIcon:Dn,BookOpenIcon:O0,BookOpenText:Rn,BookOpenTextIcon:Rn,BookPlus:Tn,BookPlusIcon:Tn,BookTemplate:O,BookTemplateIcon:O,BookText:Un,BookTextIcon:Un,BookType:On,BookTypeIcon:On,BookUp:Gn,BookUp2:Zn,BookUp2Icon:Zn,BookUpIcon:Gn,BookUser:Wn,BookUserIcon:Wn,BookX:En,BookXIcon:En,Bookmark:Yn,BookmarkCheck:Xn,BookmarkCheckIcon:Xn,BookmarkIcon:Yn,BookmarkMinus:Kn,BookmarkMinusIcon:Kn,BookmarkPlus:Jn,BookmarkPlusIcon:Jn,BookmarkX:Qn,BookmarkXIcon:Qn,BoomBox:ed,BoomBoxIcon:ed,Bot:td,BotIcon:td,BotMessageSquare:ad,BotMessageSquareIcon:ad,BotOff:od,BotOffIcon:od,Box:cd,BoxIcon:cd,BoxSelect:e2,BoxSelectIcon:e2,Boxes:Z0,BoxesIcon:Z0,Braces:Z,BracesIcon:Z,Brackets:nd,BracketsIcon:nd,Brain:G0,BrainCircuit:dd,BrainCircuitIcon:dd,BrainCog:id,BrainCogIcon:id,BrainIcon:G0,BrickWall:hd,BrickWallIcon:hd,Briefcase:E0,BriefcaseBusiness:yd,BriefcaseBusinessIcon:yd,BriefcaseConveyorBelt:rd,BriefcaseConveyorBeltIcon:rd,BriefcaseIcon:E0,BriefcaseMedical:kd,BriefcaseMedicalIcon:kd,BringToFront:pd,BringToFrontIcon:pd,Brush:sd,BrushIcon:sd,Bug:Md,BugIcon:Md,BugOff:ld,BugOffIcon:ld,BugPlay:ud,BugPlayIcon:ud,Building:K0,Building2:X0,Building2Icon:X0,BuildingIcon:K0,Bus:md,BusFront:vd,BusFrontIcon:vd,BusIcon:md,Cable:gd,CableCar:_d,CableCarIcon:_d,CableIcon:gd,Cake:xd,CakeIcon:xd,CakeSlice:Ld,CakeSliceIcon:Ld,Calculator:J0,CalculatorIcon:J0,Calendar:ea,Calendar1:wd,Calendar1Icon:wd,CalendarArrowDown:fd,CalendarArrowDownIcon:fd,CalendarArrowUp:Cd,CalendarArrowUpIcon:Cd,CalendarCheck:Q0,CalendarCheck2:Id,CalendarCheck2Icon:Id,CalendarCheckIcon:Q0,CalendarClock:Nd,CalendarClockIcon:Nd,CalendarCog:Sd,CalendarCogIcon:Sd,CalendarDays:Y0,CalendarDaysIcon:Y0,CalendarFold:bd,CalendarFoldIcon:bd,CalendarHeart:qd,CalendarHeartIcon:qd,CalendarIcon:ea,CalendarMinus:Ad,CalendarMinus2:$d,CalendarMinus2Icon:$d,CalendarMinusIcon:Ad,CalendarOff:Hd,CalendarOffIcon:Hd,CalendarPlus:jd,CalendarPlus2:zd,CalendarPlus2Icon:zd,CalendarPlusIcon:jd,CalendarRange:Pd,CalendarRangeIcon:Pd,CalendarSearch:Vd,CalendarSearchIcon:Vd,CalendarSync:Bd,CalendarSyncIcon:Bd,CalendarX:Dd,CalendarX2:Fd,CalendarX2Icon:Fd,CalendarXIcon:Dd,Camera:aa,CameraIcon:aa,CameraOff:Rd,CameraOffIcon:Rd,CandlestickChart:K,CandlestickChartIcon:K,Candy:Od,CandyCane:Td,CandyCaneIcon:Td,CandyIcon:Od,CandyOff:Ud,CandyOffIcon:Ud,Cannabis:Zd,CannabisIcon:Zd,Captions:G,CaptionsIcon:G,CaptionsOff:Gd,CaptionsOffIcon:Gd,Car:Xd,CarFront:Wd,CarFrontIcon:Wd,CarIcon:Xd,CarTaxiFront:Ed,CarTaxiFrontIcon:Ed,Caravan:Kd,CaravanIcon:Kd,Carrot:Jd,CarrotIcon:Jd,CaseLower:Qd,CaseLowerIcon:Qd,CaseSensitive:Yd,CaseSensitiveIcon:Yd,CaseUpper:ei,CaseUpperIcon:ei,CassetteTape:ai,CassetteTapeIcon:ai,Cast:oi,CastIcon:oi,Castle:ti,CastleIcon:ti,Cat:ci,CatIcon:ci,Cctv:ni,CctvIcon:ni,ChartArea:W,ChartAreaIcon:W,ChartBar:X,ChartBarBig:E,ChartBarBigIcon:E,ChartBarDecreasing:di,ChartBarDecreasingIcon:di,ChartBarIcon:X,ChartBarIncreasing:ii,ChartBarIncreasingIcon:ii,ChartBarStacked:hi,ChartBarStackedIcon:hi,ChartCandlestick:K,ChartCandlestickIcon:K,ChartColumn:v,ChartColumnBig:J,ChartColumnBigIcon:J,ChartColumnDecreasing:yi,ChartColumnDecreasingIcon:yi,ChartColumnIcon:v,ChartColumnIncreasing:Q,ChartColumnIncreasingIcon:Q,ChartColumnStacked:ri,ChartColumnStackedIcon:ri,ChartGantt:ki,ChartGanttIcon:ki,ChartLine:Y,ChartLineIcon:Y,ChartNetwork:pi,ChartNetworkIcon:pi,ChartNoAxesColumn:_,ChartNoAxesColumnDecreasing:si,ChartNoAxesColumnDecreasingIcon:si,ChartNoAxesColumnIcon:_,ChartNoAxesColumnIncreasing:m,ChartNoAxesColumnIncreasingIcon:m,ChartNoAxesCombined:li,ChartNoAxesCombinedIcon:li,ChartNoAxesGantt:e1,ChartNoAxesGanttIcon:e1,ChartPie:a1,ChartPieIcon:a1,ChartScatter:o1,ChartScatterIcon:o1,ChartSpline:ui,ChartSplineIcon:ui,Check:d0,CheckCheck:Mi,CheckCheckIcon:Mi,CheckCircle:L,CheckCircle2:x,CheckCircle2Icon:x,CheckCircleIcon:L,CheckIcon:d0,CheckSquare:b,CheckSquare2:Ge,CheckSquare2Icon:Ge,CheckSquareIcon:b,ChefHat:vi,ChefHatIcon:vi,Cherry:mi,CherryIcon:mi,ChevronDown:Z2,ChevronDownCircle:k1,ChevronDownCircleIcon:k1,ChevronDownIcon:Z2,ChevronDownSquare:We,ChevronDownSquareIcon:We,ChevronFirst:_i,ChevronFirstIcon:_i,ChevronLast:gi,ChevronLastIcon:gi,ChevronLeft:oa,ChevronLeftCircle:p1,ChevronLeftCircleIcon:p1,ChevronLeftIcon:oa,ChevronLeftSquare:Ee,ChevronLeftSquareIcon:Ee,ChevronRight:E2,ChevronRightCircle:s1,ChevronRightCircleIcon:s1,ChevronRightIcon:E2,ChevronRightSquare:Xe,ChevronRightSquareIcon:Xe,ChevronUp:J2,ChevronUpCircle:l1,ChevronUpCircleIcon:l1,ChevronUpIcon:J2,ChevronUpSquare:Ke,ChevronUpSquareIcon:Ke,ChevronsDown:xi,ChevronsDownIcon:xi,ChevronsDownUp:Li,ChevronsDownUpIcon:Li,ChevronsLeft:Ci,ChevronsLeftIcon:Ci,ChevronsLeftRight:fi,ChevronsLeftRightEllipsis:wi,ChevronsLeftRightEllipsisIcon:wi,ChevronsLeftRightIcon:fi,ChevronsRight:Ni,ChevronsRightIcon:Ni,ChevronsRightLeft:Ii,ChevronsRightLeftIcon:Ii,ChevronsUp:Si,ChevronsUpDown:Q2,ChevronsUpDownIcon:Q2,ChevronsUpIcon:Si,Chrome:bi,ChromeIcon:bi,Church:qi,ChurchIcon:qi,Cigarette:Ai,CigaretteIcon:Ai,CigaretteOff:$i,CigaretteOffIcon:$i,Circle:ta,CircleAlert:g,CircleAlertIcon:g,CircleArrowDown:t1,CircleArrowDownIcon:t1,CircleArrowLeft:c1,CircleArrowLeftIcon:c1,CircleArrowOutDownLeft:n1,CircleArrowOutDownLeftIcon:n1,CircleArrowOutDownRight:d1,CircleArrowOutDownRightIcon:d1,CircleArrowOutUpLeft:i1,CircleArrowOutUpLeftIcon:i1,CircleArrowOutUpRight:h1,CircleArrowOutUpRightIcon:h1,CircleArrowRight:y1,CircleArrowRightIcon:y1,CircleArrowUp:r1,CircleArrowUpIcon:r1,CircleCheck:x,CircleCheckBig:L,CircleCheckBigIcon:L,CircleCheckIcon:x,CircleChevronDown:k1,CircleChevronDownIcon:k1,CircleChevronLeft:p1,CircleChevronLeftIcon:p1,CircleChevronRight:s1,CircleChevronRightIcon:s1,CircleChevronUp:l1,CircleChevronUpIcon:l1,CircleDashed:Hi,CircleDashedIcon:Hi,CircleDivide:u1,CircleDivideIcon:u1,CircleDollarSign:zi,CircleDollarSignIcon:zi,CircleDot:Pi,CircleDotDashed:ji,CircleDotDashedIcon:ji,CircleDotIcon:Pi,CircleEllipsis:Vi,CircleEllipsisIcon:Vi,CircleEqual:Bi,CircleEqualIcon:Bi,CircleFadingArrowUp:Fi,CircleFadingArrowUpIcon:Fi,CircleFadingPlus:Di,CircleFadingPlusIcon:Di,CircleGauge:M1,CircleGaugeIcon:M1,CircleHelp:w,CircleHelpIcon:w,CircleIcon:ta,CircleMinus:v1,CircleMinusIcon:v1,CircleOff:Ri,CircleOffIcon:Ri,CircleParking:_1,CircleParkingIcon:_1,CircleParkingOff:m1,CircleParkingOffIcon:m1,CirclePause:g1,CirclePauseIcon:g1,CirclePercent:L1,CirclePercentIcon:L1,CirclePlay:x1,CirclePlayIcon:x1,CirclePlus:w1,CirclePlusIcon:w1,CirclePower:f1,CirclePowerIcon:f1,CircleSlash:Ti,CircleSlash2:C1,CircleSlash2Icon:C1,CircleSlashIcon:Ti,CircleSlashed:C1,CircleSlashedIcon:C1,CircleSmall:Ui,CircleSmallIcon:Ui,CircleStop:I1,CircleStopIcon:I1,CircleUser:S1,CircleUserIcon:S1,CircleUserRound:N1,CircleUserRoundIcon:N1,CircleX:f,CircleXIcon:f,CircuitBoard:Oi,CircuitBoardIcon:Oi,Citrus:Zi,CitrusIcon:Zi,Clapperboard:Gi,ClapperboardIcon:Gi,Clipboard:eh,ClipboardCheck:Wi,ClipboardCheckIcon:Wi,ClipboardCopy:Ei,ClipboardCopyIcon:Ei,ClipboardEdit:q1,ClipboardEditIcon:q1,ClipboardIcon:eh,ClipboardList:ca,ClipboardListIcon:ca,ClipboardMinus:Xi,ClipboardMinusIcon:Xi,ClipboardPaste:Ki,ClipboardPasteIcon:Ki,ClipboardPen:q1,ClipboardPenIcon:q1,ClipboardPenLine:b1,ClipboardPenLineIcon:b1,ClipboardPlus:Ji,ClipboardPlusIcon:Ji,ClipboardSignature:b1,ClipboardSignatureIcon:b1,ClipboardType:Qi,ClipboardTypeIcon:Qi,ClipboardX:Yi,ClipboardXIcon:Yi,Clock:na,Clock1:ah,Clock10:oh,Clock10Icon:oh,Clock11:th,Clock11Icon:th,Clock12:ch,Clock12Icon:ch,Clock1Icon:ah,Clock2:nh,Clock2Icon:nh,Clock3:dh,Clock3Icon:dh,Clock4:ih,Clock4Icon:ih,Clock5:hh,Clock5Icon:hh,Clock6:yh,Clock6Icon:yh,Clock7:rh,Clock7Icon:rh,Clock8:kh,Clock8Icon:kh,Clock9:ph,Clock9Icon:ph,ClockAlert:sh,ClockAlertIcon:sh,ClockArrowDown:lh,ClockArrowDownIcon:lh,ClockArrowUp:uh,ClockArrowUpIcon:uh,ClockIcon:na,Cloud:qh,CloudAlert:Mh,CloudAlertIcon:Mh,CloudCog:vh,CloudCogIcon:vh,CloudDownload:$1,CloudDownloadIcon:$1,CloudDrizzle:mh,CloudDrizzleIcon:mh,CloudFog:_h,CloudFogIcon:_h,CloudHail:gh,CloudHailIcon:gh,CloudIcon:qh,CloudLightning:Lh,CloudLightningIcon:Lh,CloudMoon:wh,CloudMoonIcon:wh,CloudMoonRain:xh,CloudMoonRainIcon:xh,CloudOff:fh,CloudOffIcon:fh,CloudRain:Ih,CloudRainIcon:Ih,CloudRainWind:Ch,CloudRainWindIcon:Ch,CloudSnow:Nh,CloudSnowIcon:Nh,CloudSun:bh,CloudSunIcon:bh,CloudSunRain:Sh,CloudSunRainIcon:Sh,CloudUpload:A1,CloudUploadIcon:A1,Cloudy:$h,CloudyIcon:$h,Clover:Ah,CloverIcon:Ah,Club:Hh,ClubIcon:Hh,Code:da,Code2:H1,Code2Icon:H1,CodeIcon:da,CodeSquare:Je,CodeSquareIcon:Je,CodeXml:H1,CodeXmlIcon:H1,Codepen:zh,CodepenIcon:zh,Codesandbox:jh,CodesandboxIcon:jh,Coffee:Ph,CoffeeIcon:Ph,Cog:Vh,CogIcon:Vh,Coins:ia,CoinsIcon:ia,Columns:z1,Columns2:z1,Columns2Icon:z1,Columns3:j1,Columns3Icon:j1,Columns4:Bh,Columns4Icon:Bh,ColumnsIcon:z1,Combine:Fh,CombineIcon:Fh,Command:Dh,CommandIcon:Dh,Compass:Rh,CompassIcon:Rh,Component:Th,ComponentIcon:Th,Computer:Uh,ComputerIcon:Uh,ConciergeBell:Oh,ConciergeBellIcon:Oh,Cone:Zh,ConeIcon:Zh,Construction:Gh,ConstructionIcon:Gh,Contact:Wh,Contact2:P1,Contact2Icon:P1,ContactIcon:Wh,ContactRound:P1,ContactRoundIcon:P1,Container:Eh,ContainerIcon:Eh,Contrast:Xh,ContrastIcon:Xh,Cookie:Kh,CookieIcon:Kh,CookingPot:Jh,CookingPotIcon:Jh,Copy:ha,CopyCheck:Qh,CopyCheckIcon:Qh,CopyIcon:ha,CopyMinus:Yh,CopyMinusIcon:Yh,CopyPlus:ey,CopyPlusIcon:ey,CopySlash:ay,CopySlashIcon:ay,CopyX:oy,CopyXIcon:oy,Copyleft:ty,CopyleftIcon:ty,Copyright:cy,CopyrightIcon:cy,CornerDownLeft:ny,CornerDownLeftIcon:ny,CornerDownRight:dy,CornerDownRightIcon:dy,CornerLeftDown:iy,CornerLeftDownIcon:iy,CornerLeftUp:hy,CornerLeftUpIcon:hy,CornerRightDown:yy,CornerRightDownIcon:yy,CornerRightUp:ry,CornerRightUpIcon:ry,CornerUpLeft:ky,CornerUpLeftIcon:ky,CornerUpRight:py,CornerUpRightIcon:py,Cpu:sy,CpuIcon:sy,CreativeCommons:ly,CreativeCommonsIcon:ly,CreditCard:ya,CreditCardIcon:ya,Croissant:uy,CroissantIcon:uy,Crop:My,CropIcon:My,Cross:vy,CrossIcon:vy,Crosshair:ra,CrosshairIcon:ra,Crown:ka,CrownIcon:ka,Cuboid:my,CuboidIcon:my,CupSoda:_y,CupSodaIcon:_y,CurlyBraces:Z,CurlyBracesIcon:Z,Currency:gy,CurrencyIcon:gy,Cylinder:Ly,CylinderIcon:Ly,Dam:xy,DamIcon:xy,Database:Cy,DatabaseBackup:wy,DatabaseBackupIcon:wy,DatabaseIcon:Cy,DatabaseZap:fy,DatabaseZapIcon:fy,Delete:Iy,DeleteIcon:Iy,Dessert:Ny,DessertIcon:Ny,Diameter:Sy,DiameterIcon:Sy,Diamond:$y,DiamondIcon:$y,DiamondMinus:by,DiamondMinusIcon:by,DiamondPercent:V1,DiamondPercentIcon:V1,DiamondPlus:qy,DiamondPlusIcon:qy,Dice1:Ay,Dice1Icon:Ay,Dice2:Hy,Dice2Icon:Hy,Dice3:zy,Dice3Icon:zy,Dice4:jy,Dice4Icon:jy,Dice5:Py,Dice5Icon:Py,Dice6:Vy,Dice6Icon:Vy,Dices:By,DicesIcon:By,Diff:Fy,DiffIcon:Fy,Disc:Uy,Disc2:Dy,Disc2Icon:Dy,Disc3:Ry,Disc3Icon:Ry,DiscAlbum:Ty,DiscAlbumIcon:Ty,DiscIcon:Uy,Divide:Oy,DivideCircle:u1,DivideCircleIcon:u1,DivideIcon:Oy,DivideSquare:a2,DivideSquareIcon:a2,Dna:Gy,DnaIcon:Gy,DnaOff:Zy,DnaOffIcon:Zy,Dock:Wy,DockIcon:Wy,Dog:Ey,DogIcon:Ey,DollarSign:pa,DollarSignIcon:pa,Donut:Xy,DonutIcon:Xy,DoorClosed:Ky,DoorClosedIcon:Ky,DoorOpen:Jy,DoorOpenIcon:Jy,Dot:Qy,DotIcon:Qy,DotSquare:o2,DotSquareIcon:o2,Download:sa,DownloadCloud:$1,DownloadCloudIcon:$1,DownloadIcon:sa,DraftingCompass:Yy,DraftingCompassIcon:Yy,Drama:er,DramaIcon:er,Dribbble:ar,DribbbleIcon:ar,Drill:or,DrillIcon:or,Droplet:cr,DropletIcon:cr,DropletOff:tr,DropletOffIcon:tr,Droplets:nr,DropletsIcon:nr,Drum:dr,DrumIcon:dr,Drumstick:ir,DrumstickIcon:ir,Dumbbell:hr,DumbbellIcon:hr,Ear:rr,EarIcon:rr,EarOff:yr,EarOffIcon:yr,Earth:B1,EarthIcon:B1,EarthLock:kr,EarthLockIcon:kr,Eclipse:pr,EclipseIcon:pr,Edit:n,Edit2:Le,Edit2Icon:Le,Edit3:C,Edit3Icon:C,EditIcon:n,Egg:ur,EggFried:sr,EggFriedIcon:sr,EggIcon:ur,EggOff:lr,EggOffIcon:lr,Ellipsis:D1,EllipsisIcon:D1,EllipsisVertical:F1,EllipsisVerticalIcon:F1,Equal:mr,EqualApproximately:Mr,EqualApproximatelyIcon:Mr,EqualIcon:mr,EqualNot:vr,EqualNotIcon:vr,EqualSquare:t2,EqualSquareIcon:t2,Eraser:_r,EraserIcon:_r,EthernetPort:gr,EthernetPortIcon:gr,Euro:Lr,EuroIcon:Lr,Expand:xr,ExpandIcon:xr,ExternalLink:la,ExternalLinkIcon:la,Eye:Ma,EyeClosed:wr,EyeClosedIcon:wr,EyeIcon:Ma,EyeOff:ua,EyeOffIcon:ua,Facebook:va,FacebookIcon:va,Factory:fr,FactoryIcon:fr,Fan:Cr,FanIcon:Cr,FastForward:Ir,FastForwardIcon:Ir,Feather:Nr,FeatherIcon:Nr,Fence:Sr,FenceIcon:Sr,FerrisWheel:br,FerrisWheelIcon:br,Figma:qr,FigmaIcon:qr,File:w4,FileArchive:$r,FileArchiveIcon:$r,FileAudio:Hr,FileAudio2:Ar,FileAudio2Icon:Ar,FileAudioIcon:Hr,FileAxis3D:R1,FileAxis3DIcon:R1,FileAxis3d:R1,FileAxis3dIcon:R1,FileBadge:jr,FileBadge2:zr,FileBadge2Icon:zr,FileBadgeIcon:jr,FileBarChart:T1,FileBarChart2:U1,FileBarChart2Icon:U1,FileBarChartIcon:T1,FileBox:Pr,FileBoxIcon:Pr,FileChartColumn:U1,FileChartColumnIcon:U1,FileChartColumnIncreasing:T1,FileChartColumnIncreasingIcon:T1,FileChartLine:O1,FileChartLineIcon:O1,FileChartPie:Z1,FileChartPieIcon:Z1,FileCheck:Br,FileCheck2:Vr,FileCheck2Icon:Vr,FileCheckIcon:Br,FileClock:Fr,FileClockIcon:Fr,FileCode:Rr,FileCode2:Dr,FileCode2Icon:Dr,FileCodeIcon:Rr,FileCog:G1,FileCog2:G1,FileCog2Icon:G1,FileCogIcon:G1,FileDiff:Tr,FileDiffIcon:Tr,FileDigit:Ur,FileDigitIcon:Ur,FileDown:_a,FileDownIcon:_a,FileEdit:E1,FileEditIcon:E1,FileHeart:Or,FileHeartIcon:Or,FileIcon:w4,FileImage:Zr,FileImageIcon:Zr,FileInput:Gr,FileInputIcon:Gr,FileJson:Er,FileJson2:Wr,FileJson2Icon:Wr,FileJsonIcon:Er,FileKey:Kr,FileKey2:Xr,FileKey2Icon:Xr,FileKeyIcon:Kr,FileLineChart:O1,FileLineChartIcon:O1,FileLock:Qr,FileLock2:Jr,FileLock2Icon:Jr,FileLockIcon:Qr,FileMinus:e4,FileMinus2:Yr,FileMinus2Icon:Yr,FileMinusIcon:e4,FileMusic:a4,FileMusicIcon:a4,FileOutput:o4,FileOutputIcon:o4,FilePen:E1,FilePenIcon:E1,FilePenLine:W1,FilePenLineIcon:W1,FilePieChart:Z1,FilePieChartIcon:Z1,FilePlus:c4,FilePlus2:t4,FilePlus2Icon:t4,FilePlusIcon:c4,FileQuestion:n4,FileQuestionIcon:n4,FileScan:d4,FileScanIcon:d4,FileSearch:h4,FileSearch2:i4,FileSearch2Icon:i4,FileSearchIcon:h4,FileSignature:W1,FileSignatureIcon:W1,FileSliders:y4,FileSlidersIcon:y4,FileSpreadsheet:ga,FileSpreadsheetIcon:ga,FileStack:r4,FileStackIcon:r4,FileSymlink:k4,FileSymlinkIcon:k4,FileTerminal:p4,FileTerminalIcon:p4,FileText:i0,FileTextIcon:i0,FileType:l4,FileType2:s4,FileType2Icon:s4,FileTypeIcon:l4,FileUp:La,FileUpIcon:La,FileUser:u4,FileUserIcon:u4,FileVideo:v4,FileVideo2:M4,FileVideo2Icon:M4,FileVideoIcon:v4,FileVolume:_4,FileVolume2:m4,FileVolume2Icon:m4,FileVolumeIcon:_4,FileWarning:g4,FileWarningIcon:g4,FileX:x4,FileX2:L4,FileX2Icon:L4,FileXIcon:x4,Files:f4,FilesIcon:f4,Film:C4,FilmIcon:C4,Filter:xa,FilterIcon:xa,FilterX:I4,FilterXIcon:I4,Fingerprint:wa,FingerprintIcon:wa,FireExtinguisher:N4,FireExtinguisherIcon:N4,Fish:q4,FishIcon:q4,FishOff:S4,FishOffIcon:S4,FishSymbol:b4,FishSymbolIcon:b4,Flag:z4,FlagIcon:z4,FlagOff:$4,FlagOffIcon:$4,FlagTriangleLeft:A4,FlagTriangleLeftIcon:A4,FlagTriangleRight:H4,FlagTriangleRightIcon:H4,Flame:P4,FlameIcon:P4,FlameKindling:j4,FlameKindlingIcon:j4,Flashlight:B4,FlashlightIcon:B4,FlashlightOff:V4,FlashlightOffIcon:V4,FlaskConical:D4,FlaskConicalIcon:D4,FlaskConicalOff:F4,FlaskConicalOffIcon:F4,FlaskRound:R4,FlaskRoundIcon:R4,FlipHorizontal:U4,FlipHorizontal2:T4,FlipHorizontal2Icon:T4,FlipHorizontalIcon:U4,FlipVertical:Z4,FlipVertical2:O4,FlipVertical2Icon:O4,FlipVerticalIcon:Z4,Flower:W4,Flower2:G4,Flower2Icon:G4,FlowerIcon:W4,Focus:E4,FocusIcon:E4,FoldHorizontal:X4,FoldHorizontalIcon:X4,FoldVertical:K4,FoldVerticalIcon:K4,Folder:W0,FolderArchive:J4,FolderArchiveIcon:J4,FolderCheck:Q4,FolderCheckIcon:Q4,FolderClock:Y4,FolderClockIcon:Y4,FolderClosed:ek,FolderClosedIcon:ek,FolderCode:ak,FolderCodeIcon:ak,FolderCog:X1,FolderCog2:X1,FolderCog2Icon:X1,FolderCogIcon:X1,FolderDot:ok,FolderDotIcon:ok,FolderDown:tk,FolderDownIcon:tk,FolderEdit:K1,FolderEditIcon:K1,FolderGit:nk,FolderGit2:ck,FolderGit2Icon:ck,FolderGitIcon:nk,FolderHeart:dk,FolderHeartIcon:dk,FolderIcon:W0,FolderInput:ik,FolderInputIcon:ik,FolderKanban:hk,FolderKanbanIcon:hk,FolderKey:yk,FolderKeyIcon:yk,FolderLock:rk,FolderLockIcon:rk,FolderMinus:kk,FolderMinusIcon:kk,FolderOpen:fa,FolderOpenDot:pk,FolderOpenDotIcon:pk,FolderOpenIcon:fa,FolderOutput:sk,FolderOutputIcon:sk,FolderPen:K1,FolderPenIcon:K1,FolderPlus:lk,FolderPlusIcon:lk,FolderRoot:uk,FolderRootIcon:uk,FolderSearch:vk,FolderSearch2:Mk,FolderSearch2Icon:Mk,FolderSearchIcon:vk,FolderSymlink:mk,FolderSymlinkIcon:mk,FolderSync:_k,FolderSyncIcon:_k,FolderTree:gk,FolderTreeIcon:gk,FolderUp:Lk,FolderUpIcon:Lk,FolderX:xk,FolderXIcon:xk,Folders:wk,FoldersIcon:wk,Footprints:fk,FootprintsIcon:fk,ForkKnife:T2,ForkKnifeCrossed:R2,ForkKnifeCrossedIcon:R2,ForkKnifeIcon:T2,Forklift:Ck,ForkliftIcon:Ck,FormInput:we,FormInputIcon:we,Forward:Ik,ForwardIcon:Ik,Frame:Nk,FrameIcon:Nk,Framer:Sk,FramerIcon:Sk,Frown:bk,FrownIcon:bk,Fuel:qk,FuelIcon:qk,Fullscreen:$k,FullscreenIcon:$k,FunctionSquare:c2,FunctionSquareIcon:c2,GalleryHorizontal:Hk,GalleryHorizontalEnd:Ak,GalleryHorizontalEndIcon:Ak,GalleryHorizontalIcon:Hk,GalleryThumbnails:zk,GalleryThumbnailsIcon:zk,GalleryVertical:Pk,GalleryVerticalEnd:jk,GalleryVerticalEndIcon:jk,GalleryVerticalIcon:Pk,Gamepad:Bk,Gamepad2:Vk,Gamepad2Icon:Vk,GamepadIcon:Bk,GanttChart:e1,GanttChartIcon:e1,GanttChartSquare:h,GanttChartSquareIcon:h,Gauge:Fk,GaugeCircle:M1,GaugeCircleIcon:M1,GaugeIcon:Fk,Gavel:Dk,GavelIcon:Dk,Gem:Rk,GemIcon:Rk,Ghost:Tk,GhostIcon:Tk,Gift:Ca,GiftIcon:Ca,GitBranch:Ia,GitBranchIcon:Ia,GitBranchPlus:Uk,GitBranchPlusIcon:Uk,GitCommit:J1,GitCommitHorizontal:J1,GitCommitHorizontalIcon:J1,GitCommitIcon:J1,GitCommitVertical:Ok,GitCommitVerticalIcon:Ok,GitCompare:Gk,GitCompareArrows:Zk,GitCompareArrowsIcon:Zk,GitCompareIcon:Gk,GitFork:Wk,GitForkIcon:Wk,GitGraph:Ek,GitGraphIcon:Ek,GitMerge:Xk,GitMergeIcon:Xk,GitPullRequest:ap,GitPullRequestArrow:Kk,GitPullRequestArrowIcon:Kk,GitPullRequestClosed:Jk,GitPullRequestClosedIcon:Jk,GitPullRequestCreate:Yk,GitPullRequestCreateArrow:Qk,GitPullRequestCreateArrowIcon:Qk,GitPullRequestCreateIcon:Yk,GitPullRequestDraft:ep,GitPullRequestDraftIcon:ep,GitPullRequestIcon:ap,Github:op,GithubIcon:op,Gitlab:tp,GitlabIcon:tp,GlassWater:cp,GlassWaterIcon:cp,Glasses:np,GlassesIcon:np,Globe:Na,Globe2:B1,Globe2Icon:B1,GlobeIcon:Na,GlobeLock:dp,GlobeLockIcon:dp,Goal:ip,GoalIcon:ip,Grab:hp,GrabIcon:hp,GraduationCap:S0,GraduationCapIcon:S0,Grape:yp,GrapeIcon:yp,Grid:i,Grid2X2:ae,Grid2X2Check:Q1,Grid2X2CheckIcon:Q1,Grid2X2Icon:ae,Grid2X2Plus:Y1,Grid2X2PlusIcon:Y1,Grid2X2X:ee,Grid2X2XIcon:ee,Grid2x2:ae,Grid2x2Check:Q1,Grid2x2CheckIcon:Q1,Grid2x2Icon:ae,Grid2x2Plus:Y1,Grid2x2PlusIcon:Y1,Grid2x2X:ee,Grid2x2XIcon:ee,Grid3X3:i,Grid3X3Icon:i,Grid3x3:i,Grid3x3Icon:i,GridIcon:i,Grip:kp,GripHorizontal:rp,GripHorizontalIcon:rp,GripIcon:kp,GripVertical:Sa,GripVerticalIcon:Sa,Group:pp,GroupIcon:pp,Guitar:sp,GuitarIcon:sp,Ham:lp,HamIcon:lp,Hammer:up,HammerIcon:up,Hand:gp,HandCoins:Mp,HandCoinsIcon:Mp,HandHeart:vp,HandHeartIcon:vp,HandHelping:oe,HandHelpingIcon:oe,HandIcon:gp,HandMetal:mp,HandMetalIcon:mp,HandPlatter:_p,HandPlatterIcon:_p,Handshake:Lp,HandshakeIcon:Lp,HardDrive:ba,HardDriveDownload:xp,HardDriveDownloadIcon:xp,HardDriveIcon:ba,HardDriveUpload:wp,HardDriveUploadIcon:wp,HardHat:fp,HardHatIcon:fp,Hash:qa,HashIcon:qa,Haze:Cp,HazeIcon:Cp,HdmiPort:Ip,HdmiPortIcon:Ip,Heading:Hp,Heading1:Np,Heading1Icon:Np,Heading2:Sp,Heading2Icon:Sp,Heading3:bp,Heading3Icon:bp,Heading4:qp,Heading4Icon:qp,Heading5:$p,Heading5Icon:$p,Heading6:Ap,Heading6Icon:Ap,HeadingIcon:Hp,HeadphoneOff:zp,HeadphoneOffIcon:zp,Headphones:jp,HeadphonesIcon:jp,Headset:Pp,HeadsetIcon:Pp,Heart:$a,HeartCrack:Vp,HeartCrackIcon:Vp,HeartHandshake:Bp,HeartHandshakeIcon:Bp,HeartIcon:$a,HeartOff:Fp,HeartOffIcon:Fp,HeartPulse:Dp,HeartPulseIcon:Dp,Heater:Rp,HeaterIcon:Rp,HelpCircle:w,HelpCircleIcon:w,HelpingHand:oe,HelpingHandIcon:oe,Hexagon:Tp,HexagonIcon:Tp,Highlighter:Up,HighlighterIcon:Up,History:V0,HistoryIcon:V0,Home:I,HomeIcon:I,Hop:Zp,HopIcon:Zp,HopOff:Op,HopOffIcon:Op,Hospital:Gp,HospitalIcon:Gp,Hotel:Wp,HotelIcon:Wp,Hourglass:Ep,HourglassIcon:Ep,House:I,HouseIcon:I,HousePlug:Xp,HousePlugIcon:Xp,HousePlus:Kp,HousePlusIcon:Kp,HouseWifi:Jp,HouseWifiIcon:Jp,IceCream:ce,IceCream2:te,IceCream2Icon:te,IceCreamBowl:te,IceCreamBowlIcon:te,IceCreamCone:ce,IceCreamConeIcon:ce,IceCreamIcon:ce,Icon:Vm,IdCard:b0,IdCardIcon:b0,Image:h0,ImageDown:Qp,ImageDownIcon:Qp,ImageIcon:h0,ImageMinus:Yp,ImageMinusIcon:Yp,ImageOff:e5,ImageOffIcon:e5,ImagePlay:a5,ImagePlayIcon:a5,ImagePlus:o5,ImagePlusIcon:o5,ImageUp:t5,ImageUpIcon:t5,ImageUpscale:c5,ImageUpscaleIcon:c5,Images:n5,ImagesIcon:n5,Import:d5,ImportIcon:d5,Inbox:i5,InboxIcon:i5,Indent:de,IndentDecrease:ne,IndentDecreaseIcon:ne,IndentIcon:de,IndentIncrease:de,IndentIncreaseIcon:de,IndianRupee:T0,IndianRupeeIcon:T0,Infinity:h5,InfinityIcon:h5,Info:Ha,InfoIcon:Ha,Inspect:r2,InspectIcon:r2,InspectionPanel:y5,InspectionPanelIcon:y5,Instagram:ma,InstagramIcon:ma,Italic:g0,ItalicIcon:g0,IterationCcw:r5,IterationCcwIcon:r5,IterationCw:k5,IterationCwIcon:k5,JapaneseYen:p5,JapaneseYenIcon:p5,Joystick:s5,JoystickIcon:s5,Kanban:l5,KanbanIcon:l5,KanbanSquare:n2,KanbanSquareDashed:Qe,KanbanSquareDashedIcon:Qe,KanbanSquareIcon:n2,Key:M5,KeyIcon:M5,KeyRound:B0,KeyRoundIcon:B0,KeySquare:u5,KeySquareIcon:u5,Keyboard:_5,KeyboardIcon:_5,KeyboardMusic:v5,KeyboardMusicIcon:v5,KeyboardOff:m5,KeyboardOffIcon:m5,Lamp:C5,LampCeiling:g5,LampCeilingIcon:g5,LampDesk:L5,LampDeskIcon:L5,LampFloor:x5,LampFloorIcon:x5,LampIcon:C5,LampWallDown:w5,LampWallDownIcon:w5,LampWallUp:f5,LampWallUpIcon:f5,LandPlot:I5,LandPlotIcon:I5,Landmark:N5,LandmarkIcon:N5,Languages:S5,LanguagesIcon:S5,Laptop:q5,Laptop2:ie,Laptop2Icon:ie,LaptopIcon:q5,LaptopMinimal:ie,LaptopMinimalCheck:b5,LaptopMinimalCheckIcon:b5,LaptopMinimalIcon:ie,Lasso:A5,LassoIcon:A5,LassoSelect:$5,LassoSelectIcon:$5,Laugh:H5,LaughIcon:H5,Layers:N,Layers2:z5,Layers2Icon:z5,Layers3:N,Layers3Icon:N,LayersIcon:N,Layout:l,LayoutDashboard:j5,LayoutDashboardIcon:j5,LayoutGrid:za,LayoutGridIcon:za,LayoutIcon:l,LayoutList:ja,LayoutListIcon:ja,LayoutPanelLeft:P5,LayoutPanelLeftIcon:P5,LayoutPanelTop:V5,LayoutPanelTopIcon:V5,LayoutTemplate:B5,LayoutTemplateIcon:B5,Leaf:F5,LeafIcon:F5,LeafyGreen:D5,LeafyGreenIcon:D5,Lectern:R5,LecternIcon:R5,LetterText:T5,LetterTextIcon:T5,Library:O5,LibraryBig:U5,LibraryBigIcon:U5,LibraryIcon:O5,LibrarySquare:d2,LibrarySquareIcon:d2,LifeBuoy:Z5,LifeBuoyIcon:Z5,Ligature:G5,LigatureIcon:G5,Lightbulb:Pa,LightbulbIcon:Pa,LightbulbOff:W5,LightbulbOffIcon:W5,LineChart:Y,LineChartIcon:Y,Link:Ba,Link2:Va,Link2Icon:Va,Link2Off:E5,Link2OffIcon:E5,LinkIcon:Ba,Linkedin:Fa,LinkedinIcon:Fa,List:Ra,ListCheck:X5,ListCheckIcon:X5,ListChecks:K5,ListChecksIcon:K5,ListCollapse:J5,ListCollapseIcon:J5,ListEnd:Q5,ListEndIcon:Q5,ListFilter:es,ListFilterIcon:es,ListFilterPlus:Y5,ListFilterPlusIcon:Y5,ListIcon:Ra,ListMinus:as,ListMinusIcon:as,ListMusic:os,ListMusicIcon:os,ListOrdered:L0,ListOrderedIcon:L0,ListPlus:ts,ListPlusIcon:ts,ListRestart:cs,ListRestartIcon:cs,ListStart:ns,ListStartIcon:ns,ListTodo:ds,ListTodoIcon:ds,ListTree:is,ListTreeIcon:is,ListVideo:hs,ListVideoIcon:hs,ListX:ys,ListXIcon:ys,Loader:ks,Loader2:S,Loader2Icon:S,LoaderCircle:S,LoaderCircleIcon:S,LoaderIcon:ks,LoaderPinwheel:rs,LoaderPinwheelIcon:rs,Locate:ss,LocateFixed:Ta,LocateFixedIcon:Ta,LocateIcon:ss,LocateOff:ps,LocateOffIcon:ps,Lock:Ua,LockIcon:Ua,LockKeyhole:ls,LockKeyholeIcon:ls,LockKeyholeOpen:he,LockKeyholeOpenIcon:he,LockOpen:u,LockOpenIcon:u,LogIn:Oa,LogInIcon:Oa,LogOut:Za,LogOutIcon:Za,Logs:us,LogsIcon:us,Lollipop:Ms,LollipopIcon:Ms,LucideAArrowDown:Vo,LucideAArrowUp:Bo,LucideALargeSmall:Fo,LucideAccessibility:Do,LucideActivity:Ro,LucideActivitySquare:$e,LucideAirVent:To,LucideAirplay:Uo,LucideAlarmCheck:$,LucideAlarmClock:Zo,LucideAlarmClockCheck:$,LucideAlarmClockMinus:A,LucideAlarmClockOff:Oo,LucideAlarmClockPlus:H,LucideAlarmMinus:A,LucideAlarmPlus:H,LucideAlarmSmoke:Go,LucideAlbum:Wo,LucideAlertCircle:g,LucideAlertOctagon:ke,LucideAlertTriangle:q,LucideAlignCenter:M0,LucideAlignCenterHorizontal:Eo,LucideAlignCenterVertical:Xo,LucideAlignEndHorizontal:Ko,LucideAlignEndVertical:Jo,LucideAlignHorizontalDistributeCenter:Qo,LucideAlignHorizontalDistributeEnd:Yo,LucideAlignHorizontalDistributeStart:et,LucideAlignHorizontalJustifyCenter:at,LucideAlignHorizontalJustifyEnd:ot,LucideAlignHorizontalJustifyStart:tt,LucideAlignHorizontalSpaceAround:ct,LucideAlignHorizontalSpaceBetween:nt,LucideAlignJustify:dt,LucideAlignLeft:v0,LucideAlignRight:m0,LucideAlignStartHorizontal:it,LucideAlignStartVertical:ht,LucideAlignVerticalDistributeCenter:yt,LucideAlignVerticalDistributeEnd:rt,LucideAlignVerticalDistributeStart:kt,LucideAlignVerticalJustifyCenter:pt,LucideAlignVerticalJustifyEnd:st,LucideAlignVerticalJustifyStart:lt,LucideAlignVerticalSpaceAround:ut,LucideAlignVerticalSpaceBetween:Mt,LucideAmbulance:vt,LucideAmpersand:mt,LucideAmpersands:_t,LucideAmphora:gt,LucideAnchor:Lt,LucideAngry:xt,LucideAnnoyed:wt,LucideAntenna:ft,LucideAnvil:Ct,LucideAperture:It,LucideAppWindow:St,LucideAppWindowMac:Nt,LucideApple:bt,LucideArchive:I0,LucideArchiveRestore:qt,LucideArchiveX:$t,LucideAreaChart:W,LucideArmchair:At,LucideArrowBigDown:zt,LucideArrowBigDownDash:Ht,LucideArrowBigLeft:Pt,LucideArrowBigLeftDash:jt,LucideArrowBigRight:Bt,LucideArrowBigRightDash:Vt,LucideArrowBigUp:Dt,LucideArrowBigUpDash:Ft,LucideArrowDown:Xt,LucideArrowDown01:Rt,LucideArrowDown10:Tt,LucideArrowDownAZ:z,LucideArrowDownAz:z,LucideArrowDownCircle:t1,LucideArrowDownFromLine:Ut,LucideArrowDownLeft:$0,LucideArrowDownLeftFromCircle:n1,LucideArrowDownLeftFromSquare:Pe,LucideArrowDownLeftSquare:Ae,LucideArrowDownNarrowWide:Ot,LucideArrowDownRight:Zt,LucideArrowDownRightFromCircle:d1,LucideArrowDownRightFromSquare:Ve,LucideArrowDownRightSquare:He,LucideArrowDownSquare:ze,LucideArrowDownToDot:Gt,LucideArrowDownToLine:Wt,LucideArrowDownUp:Et,LucideArrowDownWideNarrow:j,LucideArrowDownZA:P,LucideArrowDownZa:P,LucideArrowLeft:A0,LucideArrowLeftCircle:c1,LucideArrowLeftFromLine:Kt,LucideArrowLeftRight:Jt,LucideArrowLeftSquare:je,LucideArrowLeftToLine:Qt,LucideArrowRight:z0,LucideArrowRightCircle:y1,LucideArrowRightFromLine:Yt,LucideArrowRightLeft:H0,LucideArrowRightSquare:De,LucideArrowRightToLine:ec,LucideArrowUp:hc,LucideArrowUp01:ac,LucideArrowUp10:oc,LucideArrowUpAZ:V,LucideArrowUpAz:V,LucideArrowUpCircle:r1,LucideArrowUpDown:j0,LucideArrowUpFromDot:tc,LucideArrowUpFromLine:cc,LucideArrowUpLeft:nc,LucideArrowUpLeftFromCircle:i1,LucideArrowUpLeftFromSquare:Be,LucideArrowUpLeftSquare:Re,LucideArrowUpNarrowWide:B,LucideArrowUpRight:P0,LucideArrowUpRightFromCircle:h1,LucideArrowUpRightFromSquare:Fe,LucideArrowUpRightSquare:Te,LucideArrowUpSquare:Ue,LucideArrowUpToLine:dc,LucideArrowUpWideNarrow:ic,LucideArrowUpZA:F,LucideArrowUpZa:F,LucideArrowsUpFromLine:yc,LucideAsterisk:rc,LucideAsteriskSquare:Oe,LucideAtSign:kc,LucideAtom:pc,LucideAudioLines:sc,LucideAudioWaveform:lc,LucideAward:F0,LucideAxe:uc,LucideAxis3D:D,LucideAxis3d:D,LucideBaby:Mc,LucideBackpack:vc,LucideBadge:Hc,LucideBadgeAlert:mc,LucideBadgeCent:_c,LucideBadgeCheck:R,LucideBadgeDollarSign:gc,LucideBadgeEuro:Lc,LucideBadgeHelp:xc,LucideBadgeIndianRupee:wc,LucideBadgeInfo:fc,LucideBadgeJapaneseYen:Cc,LucideBadgeMinus:Ic,LucideBadgePercent:Nc,LucideBadgePlus:Sc,LucideBadgePoundSterling:bc,LucideBadgeRussianRuble:qc,LucideBadgeSwissFranc:$c,LucideBadgeX:Ac,LucideBaggageClaim:zc,LucideBan:D0,LucideBanana:jc,LucideBandage:Pc,LucideBanknote:R0,LucideBarChart:m,LucideBarChart2:_,LucideBarChart3:v,LucideBarChart4:Q,LucideBarChartBig:J,LucideBarChartHorizontal:X,LucideBarChartHorizontalBig:E,LucideBarcode:Vc,LucideBaseline:Bc,LucideBath:Fc,LucideBattery:Gc,LucideBatteryCharging:Dc,LucideBatteryFull:Rc,LucideBatteryLow:Tc,LucideBatteryMedium:Uc,LucideBatteryPlus:Oc,LucideBatteryWarning:Zc,LucideBeaker:Wc,LucideBean:Xc,LucideBeanOff:Ec,LucideBed:Qc,LucideBedDouble:Kc,LucideBedSingle:Jc,LucideBeef:Yc,LucideBeer:an,LucideBeerOff:en,LucideBell:U0,LucideBellDot:on,LucideBellElectric:tn,LucideBellMinus:cn,LucideBellOff:nn,LucideBellPlus:dn,LucideBellRing:hn,LucideBetweenHorizonalEnd:T,LucideBetweenHorizonalStart:U,LucideBetweenHorizontalEnd:T,LucideBetweenHorizontalStart:U,LucideBetweenVerticalEnd:yn,LucideBetweenVerticalStart:rn,LucideBicepsFlexed:kn,LucideBike:pn,LucideBinary:sn,LucideBinoculars:ln,LucideBiohazard:un,LucideBird:Mn,LucideBitcoin:vn,LucideBlend:mn,LucideBlinds:_n,LucideBlocks:gn,LucideBluetooth:fn,LucideBluetoothConnected:Ln,LucideBluetoothOff:xn,LucideBluetoothSearching:wn,LucideBold:_0,LucideBolt:Cn,LucideBomb:In,LucideBone:Nn,LucideBook:N0,LucideBookA:Sn,LucideBookAudio:bn,LucideBookCheck:qn,LucideBookCopy:$n,LucideBookDashed:O,LucideBookDown:An,LucideBookHeadphones:Hn,LucideBookHeart:zn,LucideBookImage:jn,LucideBookKey:Pn,LucideBookLock:Vn,LucideBookMarked:Bn,LucideBookMinus:Fn,LucideBookOpen:O0,LucideBookOpenCheck:Dn,LucideBookOpenText:Rn,LucideBookPlus:Tn,LucideBookTemplate:O,LucideBookText:Un,LucideBookType:On,LucideBookUp:Gn,LucideBookUp2:Zn,LucideBookUser:Wn,LucideBookX:En,LucideBookmark:Yn,LucideBookmarkCheck:Xn,LucideBookmarkMinus:Kn,LucideBookmarkPlus:Jn,LucideBookmarkX:Qn,LucideBoomBox:ed,LucideBot:td,LucideBotMessageSquare:ad,LucideBotOff:od,LucideBox:cd,LucideBoxSelect:e2,LucideBoxes:Z0,LucideBraces:Z,LucideBrackets:nd,LucideBrain:G0,LucideBrainCircuit:dd,LucideBrainCog:id,LucideBrickWall:hd,LucideBriefcase:E0,LucideBriefcaseBusiness:yd,LucideBriefcaseConveyorBelt:rd,LucideBriefcaseMedical:kd,LucideBringToFront:pd,LucideBrush:sd,LucideBug:Md,LucideBugOff:ld,LucideBugPlay:ud,LucideBuilding:K0,LucideBuilding2:X0,LucideBus:md,LucideBusFront:vd,LucideCable:gd,LucideCableCar:_d,LucideCake:xd,LucideCakeSlice:Ld,LucideCalculator:J0,LucideCalendar:ea,LucideCalendar1:wd,LucideCalendarArrowDown:fd,LucideCalendarArrowUp:Cd,LucideCalendarCheck:Q0,LucideCalendarCheck2:Id,LucideCalendarClock:Nd,LucideCalendarCog:Sd,LucideCalendarDays:Y0,LucideCalendarFold:bd,LucideCalendarHeart:qd,LucideCalendarMinus:Ad,LucideCalendarMinus2:$d,LucideCalendarOff:Hd,LucideCalendarPlus:jd,LucideCalendarPlus2:zd,LucideCalendarRange:Pd,LucideCalendarSearch:Vd,LucideCalendarSync:Bd,LucideCalendarX:Dd,LucideCalendarX2:Fd,LucideCamera:aa,LucideCameraOff:Rd,LucideCandlestickChart:K,LucideCandy:Od,LucideCandyCane:Td,LucideCandyOff:Ud,LucideCannabis:Zd,LucideCaptions:G,LucideCaptionsOff:Gd,LucideCar:Xd,LucideCarFront:Wd,LucideCarTaxiFront:Ed,LucideCaravan:Kd,LucideCarrot:Jd,LucideCaseLower:Qd,LucideCaseSensitive:Yd,LucideCaseUpper:ei,LucideCassetteTape:ai,LucideCast:oi,LucideCastle:ti,LucideCat:ci,LucideCctv:ni,LucideChartArea:W,LucideChartBar:X,LucideChartBarBig:E,LucideChartBarDecreasing:di,LucideChartBarIncreasing:ii,LucideChartBarStacked:hi,LucideChartCandlestick:K,LucideChartColumn:v,LucideChartColumnBig:J,LucideChartColumnDecreasing:yi,LucideChartColumnIncreasing:Q,LucideChartColumnStacked:ri,LucideChartGantt:ki,LucideChartLine:Y,LucideChartNetwork:pi,LucideChartNoAxesColumn:_,LucideChartNoAxesColumnDecreasing:si,LucideChartNoAxesColumnIncreasing:m,LucideChartNoAxesCombined:li,LucideChartNoAxesGantt:e1,LucideChartPie:a1,LucideChartScatter:o1,LucideChartSpline:ui,LucideCheck:d0,LucideCheckCheck:Mi,LucideCheckCircle:L,LucideCheckCircle2:x,LucideCheckSquare:b,LucideCheckSquare2:Ge,LucideChefHat:vi,LucideCherry:mi,LucideChevronDown:Z2,LucideChevronDownCircle:k1,LucideChevronDownSquare:We,LucideChevronFirst:_i,LucideChevronLast:gi,LucideChevronLeft:oa,LucideChevronLeftCircle:p1,LucideChevronLeftSquare:Ee,LucideChevronRight:E2,LucideChevronRightCircle:s1,LucideChevronRightSquare:Xe,LucideChevronUp:J2,LucideChevronUpCircle:l1,LucideChevronUpSquare:Ke,LucideChevronsDown:xi,LucideChevronsDownUp:Li,LucideChevronsLeft:Ci,LucideChevronsLeftRight:fi,LucideChevronsLeftRightEllipsis:wi,LucideChevronsRight:Ni,LucideChevronsRightLeft:Ii,LucideChevronsUp:Si,LucideChevronsUpDown:Q2,LucideChrome:bi,LucideChurch:qi,LucideCigarette:Ai,LucideCigaretteOff:$i,LucideCircle:ta,LucideCircleAlert:g,LucideCircleArrowDown:t1,LucideCircleArrowLeft:c1,LucideCircleArrowOutDownLeft:n1,LucideCircleArrowOutDownRight:d1,LucideCircleArrowOutUpLeft:i1,LucideCircleArrowOutUpRight:h1,LucideCircleArrowRight:y1,LucideCircleArrowUp:r1,LucideCircleCheck:x,LucideCircleCheckBig:L,LucideCircleChevronDown:k1,LucideCircleChevronLeft:p1,LucideCircleChevronRight:s1,LucideCircleChevronUp:l1,LucideCircleDashed:Hi,LucideCircleDivide:u1,LucideCircleDollarSign:zi,LucideCircleDot:Pi,LucideCircleDotDashed:ji,LucideCircleEllipsis:Vi,LucideCircleEqual:Bi,LucideCircleFadingArrowUp:Fi,LucideCircleFadingPlus:Di,LucideCircleGauge:M1,LucideCircleHelp:w,LucideCircleMinus:v1,LucideCircleOff:Ri,LucideCircleParking:_1,LucideCircleParkingOff:m1,LucideCirclePause:g1,LucideCirclePercent:L1,LucideCirclePlay:x1,LucideCirclePlus:w1,LucideCirclePower:f1,LucideCircleSlash:Ti,LucideCircleSlash2:C1,LucideCircleSlashed:C1,LucideCircleSmall:Ui,LucideCircleStop:I1,LucideCircleUser:S1,LucideCircleUserRound:N1,LucideCircleX:f,LucideCircuitBoard:Oi,LucideCitrus:Zi,LucideClapperboard:Gi,LucideClipboard:eh,LucideClipboardCheck:Wi,LucideClipboardCopy:Ei,LucideClipboardEdit:q1,LucideClipboardList:ca,LucideClipboardMinus:Xi,LucideClipboardPaste:Ki,LucideClipboardPen:q1,LucideClipboardPenLine:b1,LucideClipboardPlus:Ji,LucideClipboardSignature:b1,LucideClipboardType:Qi,LucideClipboardX:Yi,LucideClock:na,LucideClock1:ah,LucideClock10:oh,LucideClock11:th,LucideClock12:ch,LucideClock2:nh,LucideClock3:dh,LucideClock4:ih,LucideClock5:hh,LucideClock6:yh,LucideClock7:rh,LucideClock8:kh,LucideClock9:ph,LucideClockAlert:sh,LucideClockArrowDown:lh,LucideClockArrowUp:uh,LucideCloud:qh,LucideCloudAlert:Mh,LucideCloudCog:vh,LucideCloudDownload:$1,LucideCloudDrizzle:mh,LucideCloudFog:_h,LucideCloudHail:gh,LucideCloudLightning:Lh,LucideCloudMoon:wh,LucideCloudMoonRain:xh,LucideCloudOff:fh,LucideCloudRain:Ih,LucideCloudRainWind:Ch,LucideCloudSnow:Nh,LucideCloudSun:bh,LucideCloudSunRain:Sh,LucideCloudUpload:A1,LucideCloudy:$h,LucideClover:Ah,LucideClub:Hh,LucideCode:da,LucideCode2:H1,LucideCodeSquare:Je,LucideCodeXml:H1,LucideCodepen:zh,LucideCodesandbox:jh,LucideCoffee:Ph,LucideCog:Vh,LucideCoins:ia,LucideColumns:z1,LucideColumns2:z1,LucideColumns3:j1,LucideColumns4:Bh,LucideCombine:Fh,LucideCommand:Dh,LucideCompass:Rh,LucideComponent:Th,LucideComputer:Uh,LucideConciergeBell:Oh,LucideCone:Zh,LucideConstruction:Gh,LucideContact:Wh,LucideContact2:P1,LucideContactRound:P1,LucideContainer:Eh,LucideContrast:Xh,LucideCookie:Kh,LucideCookingPot:Jh,LucideCopy:ha,LucideCopyCheck:Qh,LucideCopyMinus:Yh,LucideCopyPlus:ey,LucideCopySlash:ay,LucideCopyX:oy,LucideCopyleft:ty,LucideCopyright:cy,LucideCornerDownLeft:ny,LucideCornerDownRight:dy,LucideCornerLeftDown:iy,LucideCornerLeftUp:hy,LucideCornerRightDown:yy,LucideCornerRightUp:ry,LucideCornerUpLeft:ky,LucideCornerUpRight:py,LucideCpu:sy,LucideCreativeCommons:ly,LucideCreditCard:ya,LucideCroissant:uy,LucideCrop:My,LucideCross:vy,LucideCrosshair:ra,LucideCrown:ka,LucideCuboid:my,LucideCupSoda:_y,LucideCurlyBraces:Z,LucideCurrency:gy,LucideCylinder:Ly,LucideDam:xy,LucideDatabase:Cy,LucideDatabaseBackup:wy,LucideDatabaseZap:fy,LucideDelete:Iy,LucideDessert:Ny,LucideDiameter:Sy,LucideDiamond:$y,LucideDiamondMinus:by,LucideDiamondPercent:V1,LucideDiamondPlus:qy,LucideDice1:Ay,LucideDice2:Hy,LucideDice3:zy,LucideDice4:jy,LucideDice5:Py,LucideDice6:Vy,LucideDices:By,LucideDiff:Fy,LucideDisc:Uy,LucideDisc2:Dy,LucideDisc3:Ry,LucideDiscAlbum:Ty,LucideDivide:Oy,LucideDivideCircle:u1,LucideDivideSquare:a2,LucideDna:Gy,LucideDnaOff:Zy,LucideDock:Wy,LucideDog:Ey,LucideDollarSign:pa,LucideDonut:Xy,LucideDoorClosed:Ky,LucideDoorOpen:Jy,LucideDot:Qy,LucideDotSquare:o2,LucideDownload:sa,LucideDownloadCloud:$1,LucideDraftingCompass:Yy,LucideDrama:er,LucideDribbble:ar,LucideDrill:or,LucideDroplet:cr,LucideDropletOff:tr,LucideDroplets:nr,LucideDrum:dr,LucideDrumstick:ir,LucideDumbbell:hr,LucideEar:rr,LucideEarOff:yr,LucideEarth:B1,LucideEarthLock:kr,LucideEclipse:pr,LucideEdit:n,LucideEdit2:Le,LucideEdit3:C,LucideEgg:ur,LucideEggFried:sr,LucideEggOff:lr,LucideEllipsis:D1,LucideEllipsisVertical:F1,LucideEqual:mr,LucideEqualApproximately:Mr,LucideEqualNot:vr,LucideEqualSquare:t2,LucideEraser:_r,LucideEthernetPort:gr,LucideEuro:Lr,LucideExpand:xr,LucideExternalLink:la,LucideEye:Ma,LucideEyeClosed:wr,LucideEyeOff:ua,LucideFacebook:va,LucideFactory:fr,LucideFan:Cr,LucideFastForward:Ir,LucideFeather:Nr,LucideFence:Sr,LucideFerrisWheel:br,LucideFigma:qr,LucideFile:w4,LucideFileArchive:$r,LucideFileAudio:Hr,LucideFileAudio2:Ar,LucideFileAxis3D:R1,LucideFileAxis3d:R1,LucideFileBadge:jr,LucideFileBadge2:zr,LucideFileBarChart:T1,LucideFileBarChart2:U1,LucideFileBox:Pr,LucideFileChartColumn:U1,LucideFileChartColumnIncreasing:T1,LucideFileChartLine:O1,LucideFileChartPie:Z1,LucideFileCheck:Br,LucideFileCheck2:Vr,LucideFileClock:Fr,LucideFileCode:Rr,LucideFileCode2:Dr,LucideFileCog:G1,LucideFileCog2:G1,LucideFileDiff:Tr,LucideFileDigit:Ur,LucideFileDown:_a,LucideFileEdit:E1,LucideFileHeart:Or,LucideFileImage:Zr,LucideFileInput:Gr,LucideFileJson:Er,LucideFileJson2:Wr,LucideFileKey:Kr,LucideFileKey2:Xr,LucideFileLineChart:O1,LucideFileLock:Qr,LucideFileLock2:Jr,LucideFileMinus:e4,LucideFileMinus2:Yr,LucideFileMusic:a4,LucideFileOutput:o4,LucideFilePen:E1,LucideFilePenLine:W1,LucideFilePieChart:Z1,LucideFilePlus:c4,LucideFilePlus2:t4,LucideFileQuestion:n4,LucideFileScan:d4,LucideFileSearch:h4,LucideFileSearch2:i4,LucideFileSignature:W1,LucideFileSliders:y4,LucideFileSpreadsheet:ga,LucideFileStack:r4,LucideFileSymlink:k4,LucideFileTerminal:p4,LucideFileText:i0,LucideFileType:l4,LucideFileType2:s4,LucideFileUp:La,LucideFileUser:u4,LucideFileVideo:v4,LucideFileVideo2:M4,LucideFileVolume:_4,LucideFileVolume2:m4,LucideFileWarning:g4,LucideFileX:x4,LucideFileX2:L4,LucideFiles:f4,LucideFilm:C4,LucideFilter:xa,LucideFilterX:I4,LucideFingerprint:wa,LucideFireExtinguisher:N4,LucideFish:q4,LucideFishOff:S4,LucideFishSymbol:b4,LucideFlag:z4,LucideFlagOff:$4,LucideFlagTriangleLeft:A4,LucideFlagTriangleRight:H4,LucideFlame:P4,LucideFlameKindling:j4,LucideFlashlight:B4,LucideFlashlightOff:V4,LucideFlaskConical:D4,LucideFlaskConicalOff:F4,LucideFlaskRound:R4,LucideFlipHorizontal:U4,LucideFlipHorizontal2:T4,LucideFlipVertical:Z4,LucideFlipVertical2:O4,LucideFlower:W4,LucideFlower2:G4,LucideFocus:E4,LucideFoldHorizontal:X4,LucideFoldVertical:K4,LucideFolder:W0,LucideFolderArchive:J4,LucideFolderCheck:Q4,LucideFolderClock:Y4,LucideFolderClosed:ek,LucideFolderCode:ak,LucideFolderCog:X1,LucideFolderCog2:X1,LucideFolderDot:ok,LucideFolderDown:tk,LucideFolderEdit:K1,LucideFolderGit:nk,LucideFolderGit2:ck,LucideFolderHeart:dk,LucideFolderInput:ik,LucideFolderKanban:hk,LucideFolderKey:yk,LucideFolderLock:rk,LucideFolderMinus:kk,LucideFolderOpen:fa,LucideFolderOpenDot:pk,LucideFolderOutput:sk,LucideFolderPen:K1,LucideFolderPlus:lk,LucideFolderRoot:uk,LucideFolderSearch:vk,LucideFolderSearch2:Mk,LucideFolderSymlink:mk,LucideFolderSync:_k,LucideFolderTree:gk,LucideFolderUp:Lk,LucideFolderX:xk,LucideFolders:wk,LucideFootprints:fk,LucideForkKnife:T2,LucideForkKnifeCrossed:R2,LucideForklift:Ck,LucideFormInput:we,LucideForward:Ik,LucideFrame:Nk,LucideFramer:Sk,LucideFrown:bk,LucideFuel:qk,LucideFullscreen:$k,LucideFunctionSquare:c2,LucideGalleryHorizontal:Hk,LucideGalleryHorizontalEnd:Ak,LucideGalleryThumbnails:zk,LucideGalleryVertical:Pk,LucideGalleryVerticalEnd:jk,LucideGamepad:Bk,LucideGamepad2:Vk,LucideGanttChart:e1,LucideGanttChartSquare:h,LucideGauge:Fk,LucideGaugeCircle:M1,LucideGavel:Dk,LucideGem:Rk,LucideGhost:Tk,LucideGift:Ca,LucideGitBranch:Ia,LucideGitBranchPlus:Uk,LucideGitCommit:J1,LucideGitCommitHorizontal:J1,LucideGitCommitVertical:Ok,LucideGitCompare:Gk,LucideGitCompareArrows:Zk,LucideGitFork:Wk,LucideGitGraph:Ek,LucideGitMerge:Xk,LucideGitPullRequest:ap,LucideGitPullRequestArrow:Kk,LucideGitPullRequestClosed:Jk,LucideGitPullRequestCreate:Yk,LucideGitPullRequestCreateArrow:Qk,LucideGitPullRequestDraft:ep,LucideGithub:op,LucideGitlab:tp,LucideGlassWater:cp,LucideGlasses:np,LucideGlobe:Na,LucideGlobe2:B1,LucideGlobeLock:dp,LucideGoal:ip,LucideGrab:hp,LucideGraduationCap:S0,LucideGrape:yp,LucideGrid:i,LucideGrid2X2:ae,LucideGrid2X2Check:Q1,LucideGrid2X2Plus:Y1,LucideGrid2X2X:ee,LucideGrid2x2:ae,LucideGrid2x2Check:Q1,LucideGrid2x2Plus:Y1,LucideGrid2x2X:ee,LucideGrid3X3:i,LucideGrid3x3:i,LucideGrip:kp,LucideGripHorizontal:rp,LucideGripVertical:Sa,LucideGroup:pp,LucideGuitar:sp,LucideHam:lp,LucideHammer:up,LucideHand:gp,LucideHandCoins:Mp,LucideHandHeart:vp,LucideHandHelping:oe,LucideHandMetal:mp,LucideHandPlatter:_p,LucideHandshake:Lp,LucideHardDrive:ba,LucideHardDriveDownload:xp,LucideHardDriveUpload:wp,LucideHardHat:fp,LucideHash:qa,LucideHaze:Cp,LucideHdmiPort:Ip,LucideHeading:Hp,LucideHeading1:Np,LucideHeading2:Sp,LucideHeading3:bp,LucideHeading4:qp,LucideHeading5:$p,LucideHeading6:Ap,LucideHeadphoneOff:zp,LucideHeadphones:jp,LucideHeadset:Pp,LucideHeart:$a,LucideHeartCrack:Vp,LucideHeartHandshake:Bp,LucideHeartOff:Fp,LucideHeartPulse:Dp,LucideHeater:Rp,LucideHelpCircle:w,LucideHelpingHand:oe,LucideHexagon:Tp,LucideHighlighter:Up,LucideHistory:V0,LucideHome:I,LucideHop:Zp,LucideHopOff:Op,LucideHospital:Gp,LucideHotel:Wp,LucideHourglass:Ep,LucideHouse:I,LucideHousePlug:Xp,LucideHousePlus:Kp,LucideHouseWifi:Jp,LucideIceCream:ce,LucideIceCream2:te,LucideIceCreamBowl:te,LucideIceCreamCone:ce,LucideIdCard:b0,LucideImage:h0,LucideImageDown:Qp,LucideImageMinus:Yp,LucideImageOff:e5,LucideImagePlay:a5,LucideImagePlus:o5,LucideImageUp:t5,LucideImageUpscale:c5,LucideImages:n5,LucideImport:d5,LucideInbox:i5,LucideIndent:de,LucideIndentDecrease:ne,LucideIndentIncrease:de,LucideIndianRupee:T0,LucideInfinity:h5,LucideInfo:Ha,LucideInspect:r2,LucideInspectionPanel:y5,LucideInstagram:ma,LucideItalic:g0,LucideIterationCcw:r5,LucideIterationCw:k5,LucideJapaneseYen:p5,LucideJoystick:s5,LucideKanban:l5,LucideKanbanSquare:n2,LucideKanbanSquareDashed:Qe,LucideKey:M5,LucideKeyRound:B0,LucideKeySquare:u5,LucideKeyboard:_5,LucideKeyboardMusic:v5,LucideKeyboardOff:m5,LucideLamp:C5,LucideLampCeiling:g5,LucideLampDesk:L5,LucideLampFloor:x5,LucideLampWallDown:w5,LucideLampWallUp:f5,LucideLandPlot:I5,LucideLandmark:N5,LucideLanguages:S5,LucideLaptop:q5,LucideLaptop2:ie,LucideLaptopMinimal:ie,LucideLaptopMinimalCheck:b5,LucideLasso:A5,LucideLassoSelect:$5,LucideLaugh:H5,LucideLayers:N,LucideLayers2:z5,LucideLayers3:N,LucideLayout:l,LucideLayoutDashboard:j5,LucideLayoutGrid:za,LucideLayoutList:ja,LucideLayoutPanelLeft:P5,LucideLayoutPanelTop:V5,LucideLayoutTemplate:B5,LucideLeaf:F5,LucideLeafyGreen:D5,LucideLectern:R5,LucideLetterText:T5,LucideLibrary:O5,LucideLibraryBig:U5,LucideLibrarySquare:d2,LucideLifeBuoy:Z5,LucideLigature:G5,LucideLightbulb:Pa,LucideLightbulbOff:W5,LucideLineChart:Y,LucideLink:Ba,LucideLink2:Va,LucideLink2Off:E5,LucideLinkedin:Fa,LucideList:Ra,LucideListCheck:X5,LucideListChecks:K5,LucideListCollapse:J5,LucideListEnd:Q5,LucideListFilter:es,LucideListFilterPlus:Y5,LucideListMinus:as,LucideListMusic:os,LucideListOrdered:L0,LucideListPlus:ts,LucideListRestart:cs,LucideListStart:ns,LucideListTodo:ds,LucideListTree:is,LucideListVideo:hs,LucideListX:ys,LucideLoader:ks,LucideLoader2:S,LucideLoaderCircle:S,LucideLoaderPinwheel:rs,LucideLocate:ss,LucideLocateFixed:Ta,LucideLocateOff:ps,LucideLock:Ua,LucideLockKeyhole:ls,LucideLockKeyholeOpen:he,LucideLockOpen:u,LucideLogIn:Oa,LucideLogOut:Za,LucideLogs:us,LucideLollipop:Ms,LucideLuggage:vs,LucideMSquare:i2,LucideMagnet:ms,LucideMail:Ga,LucideMailCheck:_s,LucideMailMinus:gs,LucideMailOpen:Ls,LucideMailPlus:xs,LucideMailQuestion:ws,LucideMailSearch:fs,LucideMailWarning:Cs,LucideMailX:Is,LucideMailbox:Ns,LucideMails:Ss,LucideMap:Rs,LucideMapPin:Wa,LucideMapPinCheck:qs,LucideMapPinCheckInside:bs,LucideMapPinHouse:$s,LucideMapPinMinus:Hs,LucideMapPinMinusInside:As,LucideMapPinOff:zs,LucideMapPinPlus:Ps,LucideMapPinPlusInside:js,LucideMapPinX:Bs,LucideMapPinXInside:Vs,LucideMapPinned:Fs,LucideMapPlus:Ds,LucideMars:Us,LucideMarsStroke:Ts,LucideMartini:Os,LucideMaximize:Gs,LucideMaximize2:Zs,LucideMedal:Ws,LucideMegaphone:Xs,LucideMegaphoneOff:Es,LucideMeh:Ks,LucideMemoryStick:Js,LucideMenu:Ea,LucideMenuSquare:h2,LucideMerge:Qs,LucideMessageCircle:y3,LucideMessageCircleCode:Ys,LucideMessageCircleDashed:e3,LucideMessageCircleHeart:a3,LucideMessageCircleMore:o3,LucideMessageCircleOff:t3,LucideMessageCirclePlus:c3,LucideMessageCircleQuestion:n3,LucideMessageCircleReply:d3,LucideMessageCircleWarning:i3,LucideMessageCircleX:h3,LucideMessageSquare:Ka,LucideMessageSquareCode:r3,LucideMessageSquareDashed:k3,LucideMessageSquareDiff:p3,LucideMessageSquareDot:s3,LucideMessageSquareHeart:l3,LucideMessageSquareLock:u3,LucideMessageSquareMore:M3,LucideMessageSquareOff:v3,LucideMessageSquarePlus:m3,LucideMessageSquareQuote:_3,LucideMessageSquareReply:g3,LucideMessageSquareShare:L3,LucideMessageSquareText:x3,LucideMessageSquareWarning:Xa,LucideMessageSquareX:w3,LucideMessagesSquare:f3,LucideMic:I3,LucideMic2:ye,LucideMicOff:C3,LucideMicVocal:ye,LucideMicrochip:N3,LucideMicroscope:S3,LucideMicrowave:b3,LucideMilestone:q3,LucideMilk:A3,LucideMilkOff:$3,LucideMinimize:z3,LucideMinimize2:H3,LucideMinus:j3,LucideMinusCircle:v1,LucideMinusSquare:y2,LucideMonitor:Ja,LucideMonitorCheck:P3,LucideMonitorCog:V3,LucideMonitorDot:B3,LucideMonitorDown:F3,LucideMonitorOff:D3,LucideMonitorPause:R3,LucideMonitorPlay:T3,LucideMonitorSmartphone:U3,LucideMonitorSpeaker:O3,LucideMonitorStop:Z3,LucideMonitorUp:G3,LucideMonitorX:W3,LucideMoon:y0,LucideMoonStar:E3,LucideMoreHorizontal:D1,LucideMoreVertical:F1,LucideMountain:K3,LucideMountainSnow:X3,LucideMouse:ol,LucideMouseOff:J3,LucideMousePointer:al,LucideMousePointer2:Q3,LucideMousePointerBan:Y3,LucideMousePointerClick:el,LucideMousePointerSquareDashed:Ye,LucideMove:ul,LucideMove3D:re,LucideMove3d:re,LucideMoveDiagonal:cl,LucideMoveDiagonal2:tl,LucideMoveDown:il,LucideMoveDownLeft:nl,LucideMoveDownRight:dl,LucideMoveHorizontal:hl,LucideMoveLeft:yl,LucideMoveRight:rl,LucideMoveUp:sl,LucideMoveUpLeft:kl,LucideMoveUpRight:pl,LucideMoveVertical:ll,LucideMusic:_l,LucideMusic2:Ml,LucideMusic3:vl,LucideMusic4:ml,LucideNavigation:wl,LucideNavigation2:Ll,LucideNavigation2Off:gl,LucideNavigationOff:xl,LucideNetwork:fl,LucideNewspaper:Cl,LucideNfc:Il,LucideNonBinary:Nl,LucideNotebook:$l,LucideNotebookPen:Sl,LucideNotebookTabs:bl,LucideNotebookText:ql,LucideNotepadText:Hl,LucideNotepadTextDashed:Al,LucideNut:jl,LucideNutOff:zl,LucideOctagon:Vl,LucideOctagonAlert:ke,LucideOctagonMinus:Pl,LucideOctagonPause:pe,LucideOctagonX:se,LucideOmega:Bl,LucideOption:Fl,LucideOrbit:Dl,LucideOrigami:Rl,LucideOutdent:ne,LucidePackage:Qa,LucidePackage2:Tl,LucidePackageCheck:Ul,LucidePackageMinus:Ol,LucidePackageOpen:Zl,LucidePackagePlus:Gl,LucidePackageSearch:Wl,LucidePackageX:El,LucidePaintBucket:Xl,LucidePaintRoller:Kl,LucidePaintbrush:Jl,LucidePaintbrush2:le,LucidePaintbrushVertical:le,LucidePalette:r0,LucidePalmtree:$2,LucidePanelBottom:e6,LucidePanelBottomClose:Ql,LucidePanelBottomDashed:ue,LucidePanelBottomInactive:ue,LucidePanelBottomOpen:Yl,LucidePanelLeft:s,LucidePanelLeftClose:Me,LucidePanelLeftDashed:ve,LucidePanelLeftInactive:ve,LucidePanelLeftOpen:me,LucidePanelRight:t6,LucidePanelRightClose:a6,LucidePanelRightDashed:_e,LucidePanelRightInactive:_e,LucidePanelRightOpen:o6,LucidePanelTop:d6,LucidePanelTopClose:c6,LucidePanelTopDashed:ge,LucidePanelTopInactive:ge,LucidePanelTopOpen:n6,LucidePanelsLeftBottom:i6,LucidePanelsLeftRight:j1,LucidePanelsRightBottom:h6,LucidePanelsTopBottom:Ie,LucidePanelsTopLeft:l,LucidePaperclip:y6,LucideParentheses:r6,LucideParkingCircle:_1,LucideParkingCircleOff:m1,LucideParkingMeter:k6,LucideParkingSquare:p2,LucideParkingSquareOff:k2,LucidePartyPopper:p6,LucidePause:s6,LucidePauseCircle:g1,LucidePauseOctagon:pe,LucidePawPrint:l6,LucidePcCase:u6,LucidePen:Le,LucidePenBox:n,LucidePenLine:C,LucidePenOff:M6,LucidePenSquare:n,LucidePenTool:v6,LucidePencil:L6,LucidePencilLine:m6,LucidePencilOff:_6,LucidePencilRuler:g6,LucidePentagon:x6,LucidePercent:Ya,LucidePercentCircle:L1,LucidePercentDiamond:V1,LucidePercentSquare:s2,LucidePersonStanding:w6,LucidePhilippinePeso:f6,LucidePhone:eo,LucidePhoneCall:C6,LucidePhoneForwarded:I6,LucidePhoneIncoming:N6,LucidePhoneMissed:S6,LucidePhoneOff:b6,LucidePhoneOutgoing:q6,LucidePi:$6,LucidePiSquare:l2,LucidePiano:A6,LucidePickaxe:H6,LucidePictureInPicture:j6,LucidePictureInPicture2:z6,LucidePieChart:a1,LucidePiggyBank:P6,LucidePilcrow:F6,LucidePilcrowLeft:V6,LucidePilcrowRight:B6,LucidePilcrowSquare:u2,LucidePill:R6,LucidePillBottle:D6,LucidePin:U6,LucidePinOff:T6,LucidePipette:O6,LucidePizza:Z6,LucidePlane:ao,LucidePlaneLanding:G6,LucidePlaneTakeoff:W6,LucidePlay:oo,LucidePlayCircle:x1,LucidePlaySquare:M2,LucidePlug:X6,LucidePlug2:E6,LucidePlugZap:xe,LucidePlugZap2:xe,LucidePlus:k0,LucidePlusCircle:w1,LucidePlusSquare:v2,LucidePocket:J6,LucidePocketKnife:K6,LucidePodcast:Q6,LucidePointer:e8,LucidePointerOff:Y6,LucidePopcorn:a8,LucidePopsicle:o8,LucidePoundSterling:t8,LucidePower:n8,LucidePowerCircle:f1,LucidePowerOff:c8,LucidePowerSquare:m2,LucidePresentation:d8,LucidePrinter:h8,LucidePrinterCheck:i8,LucideProjector:y8,LucideProportions:r8,LucidePuzzle:k8,LucidePyramid:p8,LucideQrCode:to,LucideQuote:co,LucideRabbit:s8,LucideRadar:l8,LucideRadiation:u8,LucideRadical:M8,LucideRadio:_8,LucideRadioReceiver:v8,LucideRadioTower:m8,LucideRadius:g8,LucideRailSymbol:L8,LucideRainbow:x8,LucideRat:w8,LucideRatio:f8,LucideReceipt:H8,LucideReceiptCent:C8,LucideReceiptEuro:I8,LucideReceiptIndianRupee:N8,LucideReceiptJapaneseYen:S8,LucideReceiptPoundSterling:b8,LucideReceiptRussianRuble:q8,LucideReceiptSwissFranc:$8,LucideReceiptText:A8,LucideRectangleEllipsis:we,LucideRectangleHorizontal:z8,LucideRectangleVertical:j8,LucideRecycle:P8,LucideRedo:x0,LucideRedo2:V8,LucideRedoDot:B8,LucideRefreshCcw:D8,LucideRefreshCcwDot:F8,LucideRefreshCw:no,LucideRefreshCwOff:R8,LucideRefrigerator:T8,LucideRegex:U8,LucideRemoveFormatting:O8,LucideRepeat:W8,LucideRepeat1:Z8,LucideRepeat2:G8,LucideReplace:X8,LucideReplaceAll:E8,LucideReply:J8,LucideReplyAll:K8,LucideRewind:Q8,LucideRibbon:Y8,LucideRocket:e7,LucideRockingChair:a7,LucideRollerCoaster:o7,LucideRotate3D:fe,LucideRotate3d:fe,LucideRotateCcw:c7,LucideRotateCcwSquare:t7,LucideRotateCw:d7,LucideRotateCwSquare:n7,LucideRoute:h7,LucideRouteOff:i7,LucideRouter:y7,LucideRows:Ce,LucideRows2:Ce,LucideRows3:Ie,LucideRows4:r7,LucideRss:k7,LucideRuler:io,LucideRussianRuble:p7,LucideSailboat:s7,LucideSalad:l7,LucideSandwich:u7,LucideSatellite:v7,LucideSatelliteDish:M7,LucideSave:p0,LucideSaveAll:m7,LucideSaveOff:_7,LucideScale:q0,LucideScale3D:Ne,LucideScale3d:Ne,LucideScaling:g7,LucideScan:b7,LucideScanBarcode:L7,LucideScanEye:x7,LucideScanFace:w7,LucideScanHeart:f7,LucideScanLine:C7,LucideScanQrCode:I7,LucideScanSearch:N7,LucideScanText:S7,LucideScatterChart:o1,LucideSchool:q7,LucideSchool2:H2,LucideScissors:A7,LucideScissorsLineDashed:$7,LucideScissorsSquare:_2,LucideScissorsSquareDashedBottom:Ze,LucideScreenShare:z7,LucideScreenShareOff:H7,LucideScroll:P7,LucideScrollText:j7,LucideSearch:s0,LucideSearchCheck:V7,LucideSearchCode:B7,LucideSearchSlash:F7,LucideSearchX:D7,LucideSection:R7,LucideSend:ho,LucideSendHorizonal:Se,LucideSendHorizontal:Se,LucideSendToBack:T7,LucideSeparatorHorizontal:U7,LucideSeparatorVertical:O7,LucideServer:yo,LucideServerCog:Z7,LucideServerCrash:G7,LucideServerOff:W7,LucideSettings:ro,LucideSettings2:E7,LucideShapes:X7,LucideShare:K7,LucideShare2:ko,LucideSheet:J7,LucideShell:Q7,LucideShield:Aa,LucideShieldAlert:Y7,LucideShieldBan:eu,LucideShieldCheck:lo,LucideShieldClose:be,LucideShieldEllipsis:au,LucideShieldHalf:ou,LucideShieldMinus:tu,LucideShieldOff:cu,LucideShieldPlus:nu,LucideShieldQuestion:du,LucideShieldX:be,LucideShip:hu,LucideShipWheel:iu,LucideShirt:yu,LucideShoppingBag:ru,LucideShoppingBasket:ku,LucideShoppingCart:pu,LucideShovel:su,LucideShowerHead:lu,LucideShrink:uu,LucideShrub:Mu,LucideShuffle:vu,LucideSidebar:s,LucideSidebarClose:Me,LucideSidebarOpen:me,LucideSigma:mu,LucideSigmaSquare:g2,LucideSignal:wu,LucideSignalHigh:_u,LucideSignalLow:gu,LucideSignalMedium:Lu,LucideSignalZero:xu,LucideSignature:fu,LucideSignpost:Iu,LucideSignpostBig:Cu,LucideSiren:Nu,LucideSkipBack:Su,LucideSkipForward:bu,LucideSkull:qu,LucideSlack:$u,LucideSlash:Au,LucideSlashSquare:L2,LucideSlice:Hu,LucideSliders:qe,LucideSlidersHorizontal:zu,LucideSlidersVertical:qe,LucideSmartphone:po,LucideSmartphoneCharging:ju,LucideSmartphoneNfc:Pu,LucideSmile:Bu,LucideSmilePlus:Vu,LucideSnail:Fu,LucideSnowflake:Du,LucideSofa:Ru,LucideSortAsc:B,LucideSortDesc:j,LucideSoup:Tu,LucideSpace:Uu,LucideSpade:Ou,LucideSparkle:Zu,LucideSparkles:M,LucideSpeaker:Gu,LucideSpeech:Wu,LucideSpellCheck:Xu,LucideSpellCheck2:Eu,LucideSpline:Ku,LucideSplit:Ju,LucideSplitSquareHorizontal:x2,LucideSplitSquareVertical:w2,LucideSprayCan:Qu,LucideSprout:Yu,LucideSquare:n9,LucideSquareActivity:$e,LucideSquareArrowDown:ze,LucideSquareArrowDownLeft:Ae,LucideSquareArrowDownRight:He,LucideSquareArrowLeft:je,LucideSquareArrowOutDownLeft:Pe,LucideSquareArrowOutDownRight:Ve,LucideSquareArrowOutUpLeft:Be,LucideSquareArrowOutUpRight:Fe,LucideSquareArrowRight:De,LucideSquareArrowUp:Ue,LucideSquareArrowUpLeft:Re,LucideSquareArrowUpRight:Te,LucideSquareAsterisk:Oe,LucideSquareBottomDashedScissors:Ze,LucideSquareChartGantt:h,LucideSquareCheck:Ge,LucideSquareCheckBig:b,LucideSquareChevronDown:We,LucideSquareChevronLeft:Ee,LucideSquareChevronRight:Xe,LucideSquareChevronUp:Ke,LucideSquareCode:Je,LucideSquareDashed:e2,LucideSquareDashedBottom:a9,LucideSquareDashedBottomCode:e9,LucideSquareDashedKanban:Qe,LucideSquareDashedMousePointer:Ye,LucideSquareDivide:a2,LucideSquareDot:o2,LucideSquareEqual:t2,LucideSquareFunction:c2,LucideSquareGanttChart:h,LucideSquareKanban:n2,LucideSquareLibrary:d2,LucideSquareM:i2,LucideSquareMenu:h2,LucideSquareMinus:y2,LucideSquareMousePointer:r2,LucideSquareParking:p2,LucideSquareParkingOff:k2,LucideSquarePen:n,LucideSquarePercent:s2,LucideSquarePi:l2,LucideSquarePilcrow:u2,LucideSquarePlay:M2,LucideSquarePlus:v2,LucideSquarePower:m2,LucideSquareRadical:o9,LucideSquareScissors:_2,LucideSquareSigma:g2,LucideSquareSlash:L2,LucideSquareSplitHorizontal:x2,LucideSquareSplitVertical:w2,LucideSquareSquare:t9,LucideSquareStack:c9,LucideSquareTerminal:f2,LucideSquareUser:I2,LucideSquareUserRound:C2,LucideSquareX:N2,LucideSquircle:d9,LucideSquirrel:i9,LucideStamp:h9,LucideStar:uo,LucideStarHalf:y9,LucideStarOff:r9,LucideStars:M,LucideStepBack:k9,LucideStepForward:p9,LucideStethoscope:s9,LucideSticker:l9,LucideStickyNote:u9,LucideStopCircle:I1,LucideStore:M9,LucideStretchHorizontal:v9,LucideStretchVertical:m9,LucideStrikethrough:w0,LucideSubscript:_9,LucideSubtitles:G,LucideSun:Mo,LucideSunDim:g9,LucideSunMedium:L9,LucideSunMoon:x9,LucideSunSnow:w9,LucideSunrise:f9,LucideSunset:C9,LucideSuperscript:I9,LucideSwatchBook:N9,LucideSwissFranc:S9,LucideSwitchCamera:b9,LucideSword:q9,LucideSwords:$9,LucideSyringe:A9,LucideTable:D9,LucideTable2:H9,LucideTableCellsMerge:z9,LucideTableCellsSplit:j9,LucideTableColumnsSplit:P9,LucideTableOfContents:V9,LucideTableProperties:B9,LucideTableRowsSplit:F9,LucideTablet:T9,LucideTabletSmartphone:R9,LucideTablets:U9,LucideTag:vo,LucideTags:O9,LucideTally1:Z9,LucideTally2:G9,LucideTally3:W9,LucideTally4:E9,LucideTally5:X9,LucideTangent:K9,LucideTarget:mo,LucideTelescope:J9,LucideTent:Y9,LucideTentTree:Q9,LucideTerminal:eM,LucideTerminalSquare:f2,LucideTestTube:aM,LucideTestTube2:S2,LucideTestTubeDiagonal:S2,LucideTestTubes:oM,LucideText:iM,LucideTextCursor:cM,LucideTextCursorInput:tM,LucideTextQuote:nM,LucideTextSearch:dM,LucideTextSelect:b2,LucideTextSelection:b2,LucideTheater:hM,LucideThermometer:kM,LucideThermometerSnowflake:yM,LucideThermometerSun:rM,LucideThumbsDown:_o,LucideThumbsUp:go,LucideTicket:Lo,LucideTicketCheck:pM,LucideTicketMinus:sM,LucideTicketPercent:lM,LucideTicketPlus:uM,LucideTicketSlash:MM,LucideTicketX:vM,LucideTickets:_M,LucideTicketsPlane:mM,LucideTimer:xo,LucideTimerOff:gM,LucideTimerReset:LM,LucideToggleLeft:xM,LucideToggleRight:wM,LucideToilet:fM,LucideTornado:CM,LucideTorus:IM,LucideTouchpad:SM,LucideTouchpadOff:NM,LucideTowerControl:bM,LucideToyBrick:qM,LucideTractor:$M,LucideTrafficCone:AM,LucideTrain:q2,LucideTrainFront:zM,LucideTrainFrontTunnel:HM,LucideTrainTrack:jM,LucideTramFront:q2,LucideTransgender:PM,LucideTrash:fo,LucideTrash2:wo,LucideTreeDeciduous:VM,LucideTreePalm:$2,LucideTreePine:BM,LucideTrees:FM,LucideTrello:DM,LucideTrendingDown:Co,LucideTrendingUp:Io,LucideTrendingUpDown:RM,LucideTriangle:OM,LucideTriangleAlert:q,LucideTriangleDashed:TM,LucideTriangleRight:UM,LucideTrophy:No,LucideTruck:ZM,LucideTurtle:GM,LucideTv:EM,LucideTv2:A2,LucideTvMinimal:A2,LucideTvMinimalPlay:WM,LucideTwitch:XM,LucideTwitter:Da,LucideType:So,LucideTypeOutline:KM,LucideUmbrella:QM,LucideUmbrellaOff:JM,LucideUnderline:YM,LucideUndo:f0,LucideUndo2:ev,LucideUndoDot:av,LucideUnfoldHorizontal:ov,LucideUnfoldVertical:tv,LucideUngroup:cv,LucideUniversity:H2,LucideUnlink:C0,LucideUnlink2:nv,LucideUnlock:u,LucideUnlockKeyhole:he,LucideUnplug:dv,LucideUpload:l0,LucideUploadCloud:A1,LucideUsb:iv,LucideUser:Ao,LucideUser2:F2,LucideUserCheck:bo,LucideUserCheck2:z2,LucideUserCircle:S1,LucideUserCircle2:N1,LucideUserCog:hv,LucideUserCog2:j2,LucideUserMinus:yv,LucideUserMinus2:P2,LucideUserPen:rv,LucideUserPlus:qo,LucideUserPlus2:V2,LucideUserRound:F2,LucideUserRoundCheck:z2,LucideUserRoundCog:j2,LucideUserRoundMinus:P2,LucideUserRoundPen:kv,LucideUserRoundPlus:V2,LucideUserRoundSearch:pv,LucideUserRoundX:B2,LucideUserSearch:sv,LucideUserSquare:I2,LucideUserSquare2:C2,LucideUserX:$o,LucideUserX2:B2,LucideUsers:Ho,LucideUsers2:D2,LucideUsersRound:D2,LucideUtensils:T2,LucideUtensilsCrossed:R2,LucideUtilityPole:lv,LucideVariable:uv,LucideVault:Mv,LucideVegan:vv,LucideVenetianMask:mv,LucideVenus:gv,LucideVenusAndMars:_v,LucideVerified:R,LucideVibrate:xv,LucideVibrateOff:Lv,LucideVideo:fv,LucideVideoOff:wv,LucideVideotape:Cv,LucideView:Iv,LucideVoicemail:Nv,LucideVolleyball:Sv,LucideVolume:Hv,LucideVolume1:bv,LucideVolume2:qv,LucideVolumeOff:$v,LucideVolumeX:Av,LucideVote:zv,LucideWallet:zo,LucideWallet2:U2,LucideWalletCards:jv,LucideWalletMinimal:U2,LucideWallpaper:Pv,LucideWand:Vv,LucideWand2:O2,LucideWandSparkles:O2,LucideWarehouse:Bv,LucideWashingMachine:Fv,LucideWatch:Dv,LucideWaves:Tv,LucideWavesLadder:Rv,LucideWaypoints:Uv,LucideWebcam:Ov,LucideWebhook:Gv,LucideWebhookOff:Zv,LucideWeight:Wv,LucideWheat:Xv,LucideWheatOff:Ev,LucideWholeWord:Kv,LucideWifi:so,LucideWifiHigh:Jv,LucideWifiLow:Qv,LucideWifiOff:Yv,LucideWifiZero:em,LucideWind:om,LucideWindArrowDown:am,LucideWine:cm,LucideWineOff:tm,LucideWorkflow:nm,LucideWorm:dm,LucideWrapText:im,LucideWrench:jo,LucideX:u0,LucideXCircle:f,LucideXOctagon:se,LucideXSquare:N2,LucideYoutube:hm,LucideZap:Po,LucideZapOff:ym,LucideZoomIn:rm,LucideZoomOut:km,Luggage:vs,LuggageIcon:vs,MSquare:i2,MSquareIcon:i2,Magnet:ms,MagnetIcon:ms,Mail:Ga,MailCheck:_s,MailCheckIcon:_s,MailIcon:Ga,MailMinus:gs,MailMinusIcon:gs,MailOpen:Ls,MailOpenIcon:Ls,MailPlus:xs,MailPlusIcon:xs,MailQuestion:ws,MailQuestionIcon:ws,MailSearch:fs,MailSearchIcon:fs,MailWarning:Cs,MailWarningIcon:Cs,MailX:Is,MailXIcon:Is,Mailbox:Ns,MailboxIcon:Ns,Mails:Ss,MailsIcon:Ss,Map:Rs,MapIcon:Rs,MapPin:Wa,MapPinCheck:qs,MapPinCheckIcon:qs,MapPinCheckInside:bs,MapPinCheckInsideIcon:bs,MapPinHouse:$s,MapPinHouseIcon:$s,MapPinIcon:Wa,MapPinMinus:Hs,MapPinMinusIcon:Hs,MapPinMinusInside:As,MapPinMinusInsideIcon:As,MapPinOff:zs,MapPinOffIcon:zs,MapPinPlus:Ps,MapPinPlusIcon:Ps,MapPinPlusInside:js,MapPinPlusInsideIcon:js,MapPinX:Bs,MapPinXIcon:Bs,MapPinXInside:Vs,MapPinXInsideIcon:Vs,MapPinned:Fs,MapPinnedIcon:Fs,MapPlus:Ds,MapPlusIcon:Ds,Mars:Us,MarsIcon:Us,MarsStroke:Ts,MarsStrokeIcon:Ts,Martini:Os,MartiniIcon:Os,Maximize:Gs,Maximize2:Zs,Maximize2Icon:Zs,MaximizeIcon:Gs,Medal:Ws,MedalIcon:Ws,Megaphone:Xs,MegaphoneIcon:Xs,MegaphoneOff:Es,MegaphoneOffIcon:Es,Meh:Ks,MehIcon:Ks,MemoryStick:Js,MemoryStickIcon:Js,Menu:Ea,MenuIcon:Ea,MenuSquare:h2,MenuSquareIcon:h2,Merge:Qs,MergeIcon:Qs,MessageCircle:y3,MessageCircleCode:Ys,MessageCircleCodeIcon:Ys,MessageCircleDashed:e3,MessageCircleDashedIcon:e3,MessageCircleHeart:a3,MessageCircleHeartIcon:a3,MessageCircleIcon:y3,MessageCircleMore:o3,MessageCircleMoreIcon:o3,MessageCircleOff:t3,MessageCircleOffIcon:t3,MessageCirclePlus:c3,MessageCirclePlusIcon:c3,MessageCircleQuestion:n3,MessageCircleQuestionIcon:n3,MessageCircleReply:d3,MessageCircleReplyIcon:d3,MessageCircleWarning:i3,MessageCircleWarningIcon:i3,MessageCircleX:h3,MessageCircleXIcon:h3,MessageSquare:Ka,MessageSquareCode:r3,MessageSquareCodeIcon:r3,MessageSquareDashed:k3,MessageSquareDashedIcon:k3,MessageSquareDiff:p3,MessageSquareDiffIcon:p3,MessageSquareDot:s3,MessageSquareDotIcon:s3,MessageSquareHeart:l3,MessageSquareHeartIcon:l3,MessageSquareIcon:Ka,MessageSquareLock:u3,MessageSquareLockIcon:u3,MessageSquareMore:M3,MessageSquareMoreIcon:M3,MessageSquareOff:v3,MessageSquareOffIcon:v3,MessageSquarePlus:m3,MessageSquarePlusIcon:m3,MessageSquareQuote:_3,MessageSquareQuoteIcon:_3,MessageSquareReply:g3,MessageSquareReplyIcon:g3,MessageSquareShare:L3,MessageSquareShareIcon:L3,MessageSquareText:x3,MessageSquareTextIcon:x3,MessageSquareWarning:Xa,MessageSquareWarningIcon:Xa,MessageSquareX:w3,MessageSquareXIcon:w3,MessagesSquare:f3,MessagesSquareIcon:f3,Mic:I3,Mic2:ye,Mic2Icon:ye,MicIcon:I3,MicOff:C3,MicOffIcon:C3,MicVocal:ye,MicVocalIcon:ye,Microchip:N3,MicrochipIcon:N3,Microscope:S3,MicroscopeIcon:S3,Microwave:b3,MicrowaveIcon:b3,Milestone:q3,MilestoneIcon:q3,Milk:A3,MilkIcon:A3,MilkOff:$3,MilkOffIcon:$3,Minimize:z3,Minimize2:H3,Minimize2Icon:H3,MinimizeIcon:z3,Minus:j3,MinusCircle:v1,MinusCircleIcon:v1,MinusIcon:j3,MinusSquare:y2,MinusSquareIcon:y2,Monitor:Ja,MonitorCheck:P3,MonitorCheckIcon:P3,MonitorCog:V3,MonitorCogIcon:V3,MonitorDot:B3,MonitorDotIcon:B3,MonitorDown:F3,MonitorDownIcon:F3,MonitorIcon:Ja,MonitorOff:D3,MonitorOffIcon:D3,MonitorPause:R3,MonitorPauseIcon:R3,MonitorPlay:T3,MonitorPlayIcon:T3,MonitorSmartphone:U3,MonitorSmartphoneIcon:U3,MonitorSpeaker:O3,MonitorSpeakerIcon:O3,MonitorStop:Z3,MonitorStopIcon:Z3,MonitorUp:G3,MonitorUpIcon:G3,MonitorX:W3,MonitorXIcon:W3,Moon:y0,MoonIcon:y0,MoonStar:E3,MoonStarIcon:E3,MoreHorizontal:D1,MoreHorizontalIcon:D1,MoreVertical:F1,MoreVerticalIcon:F1,Mountain:K3,MountainIcon:K3,MountainSnow:X3,MountainSnowIcon:X3,Mouse:ol,MouseIcon:ol,MouseOff:J3,MouseOffIcon:J3,MousePointer:al,MousePointer2:Q3,MousePointer2Icon:Q3,MousePointerBan:Y3,MousePointerBanIcon:Y3,MousePointerClick:el,MousePointerClickIcon:el,MousePointerIcon:al,MousePointerSquareDashed:Ye,MousePointerSquareDashedIcon:Ye,Move:ul,Move3D:re,Move3DIcon:re,Move3d:re,Move3dIcon:re,MoveDiagonal:cl,MoveDiagonal2:tl,MoveDiagonal2Icon:tl,MoveDiagonalIcon:cl,MoveDown:il,MoveDownIcon:il,MoveDownLeft:nl,MoveDownLeftIcon:nl,MoveDownRight:dl,MoveDownRightIcon:dl,MoveHorizontal:hl,MoveHorizontalIcon:hl,MoveIcon:ul,MoveLeft:yl,MoveLeftIcon:yl,MoveRight:rl,MoveRightIcon:rl,MoveUp:sl,MoveUpIcon:sl,MoveUpLeft:kl,MoveUpLeftIcon:kl,MoveUpRight:pl,MoveUpRightIcon:pl,MoveVertical:ll,MoveVerticalIcon:ll,Music:_l,Music2:Ml,Music2Icon:Ml,Music3:vl,Music3Icon:vl,Music4:ml,Music4Icon:ml,MusicIcon:_l,Navigation:wl,Navigation2:Ll,Navigation2Icon:Ll,Navigation2Off:gl,Navigation2OffIcon:gl,NavigationIcon:wl,NavigationOff:xl,NavigationOffIcon:xl,Network:fl,NetworkIcon:fl,Newspaper:Cl,NewspaperIcon:Cl,Nfc:Il,NfcIcon:Il,NonBinary:Nl,NonBinaryIcon:Nl,Notebook:$l,NotebookIcon:$l,NotebookPen:Sl,NotebookPenIcon:Sl,NotebookTabs:bl,NotebookTabsIcon:bl,NotebookText:ql,NotebookTextIcon:ql,NotepadText:Hl,NotepadTextDashed:Al,NotepadTextDashedIcon:Al,NotepadTextIcon:Hl,Nut:jl,NutIcon:jl,NutOff:zl,NutOffIcon:zl,Octagon:Vl,OctagonAlert:ke,OctagonAlertIcon:ke,OctagonIcon:Vl,OctagonMinus:Pl,OctagonMinusIcon:Pl,OctagonPause:pe,OctagonPauseIcon:pe,OctagonX:se,OctagonXIcon:se,Omega:Bl,OmegaIcon:Bl,Option:Fl,OptionIcon:Fl,Orbit:Dl,OrbitIcon:Dl,Origami:Rl,OrigamiIcon:Rl,Outdent:ne,OutdentIcon:ne,Package:Qa,Package2:Tl,Package2Icon:Tl,PackageCheck:Ul,PackageCheckIcon:Ul,PackageIcon:Qa,PackageMinus:Ol,PackageMinusIcon:Ol,PackageOpen:Zl,PackageOpenIcon:Zl,PackagePlus:Gl,PackagePlusIcon:Gl,PackageSearch:Wl,PackageSearchIcon:Wl,PackageX:El,PackageXIcon:El,PaintBucket:Xl,PaintBucketIcon:Xl,PaintRoller:Kl,PaintRollerIcon:Kl,Paintbrush:Jl,Paintbrush2:le,Paintbrush2Icon:le,PaintbrushIcon:Jl,PaintbrushVertical:le,PaintbrushVerticalIcon:le,Palette:r0,PaletteIcon:r0,Palmtree:$2,PalmtreeIcon:$2,PanelBottom:e6,PanelBottomClose:Ql,PanelBottomCloseIcon:Ql,PanelBottomDashed:ue,PanelBottomDashedIcon:ue,PanelBottomIcon:e6,PanelBottomInactive:ue,PanelBottomInactiveIcon:ue,PanelBottomOpen:Yl,PanelBottomOpenIcon:Yl,PanelLeft:s,PanelLeftClose:Me,PanelLeftCloseIcon:Me,PanelLeftDashed:ve,PanelLeftDashedIcon:ve,PanelLeftIcon:s,PanelLeftInactive:ve,PanelLeftInactiveIcon:ve,PanelLeftOpen:me,PanelLeftOpenIcon:me,PanelRight:t6,PanelRightClose:a6,PanelRightCloseIcon:a6,PanelRightDashed:_e,PanelRightDashedIcon:_e,PanelRightIcon:t6,PanelRightInactive:_e,PanelRightInactiveIcon:_e,PanelRightOpen:o6,PanelRightOpenIcon:o6,PanelTop:d6,PanelTopClose:c6,PanelTopCloseIcon:c6,PanelTopDashed:ge,PanelTopDashedIcon:ge,PanelTopIcon:d6,PanelTopInactive:ge,PanelTopInactiveIcon:ge,PanelTopOpen:n6,PanelTopOpenIcon:n6,PanelsLeftBottom:i6,PanelsLeftBottomIcon:i6,PanelsLeftRight:j1,PanelsLeftRightIcon:j1,PanelsRightBottom:h6,PanelsRightBottomIcon:h6,PanelsTopBottom:Ie,PanelsTopBottomIcon:Ie,PanelsTopLeft:l,PanelsTopLeftIcon:l,Paperclip:y6,PaperclipIcon:y6,Parentheses:r6,ParenthesesIcon:r6,ParkingCircle:_1,ParkingCircleIcon:_1,ParkingCircleOff:m1,ParkingCircleOffIcon:m1,ParkingMeter:k6,ParkingMeterIcon:k6,ParkingSquare:p2,ParkingSquareIcon:p2,ParkingSquareOff:k2,ParkingSquareOffIcon:k2,PartyPopper:p6,PartyPopperIcon:p6,Pause:s6,PauseCircle:g1,PauseCircleIcon:g1,PauseIcon:s6,PauseOctagon:pe,PauseOctagonIcon:pe,PawPrint:l6,PawPrintIcon:l6,PcCase:u6,PcCaseIcon:u6,Pen:Le,PenBox:n,PenBoxIcon:n,PenIcon:Le,PenLine:C,PenLineIcon:C,PenOff:M6,PenOffIcon:M6,PenSquare:n,PenSquareIcon:n,PenTool:v6,PenToolIcon:v6,Pencil:L6,PencilIcon:L6,PencilLine:m6,PencilLineIcon:m6,PencilOff:_6,PencilOffIcon:_6,PencilRuler:g6,PencilRulerIcon:g6,Pentagon:x6,PentagonIcon:x6,Percent:Ya,PercentCircle:L1,PercentCircleIcon:L1,PercentDiamond:V1,PercentDiamondIcon:V1,PercentIcon:Ya,PercentSquare:s2,PercentSquareIcon:s2,PersonStanding:w6,PersonStandingIcon:w6,PhilippinePeso:f6,PhilippinePesoIcon:f6,Phone:eo,PhoneCall:C6,PhoneCallIcon:C6,PhoneForwarded:I6,PhoneForwardedIcon:I6,PhoneIcon:eo,PhoneIncoming:N6,PhoneIncomingIcon:N6,PhoneMissed:S6,PhoneMissedIcon:S6,PhoneOff:b6,PhoneOffIcon:b6,PhoneOutgoing:q6,PhoneOutgoingIcon:q6,Pi:$6,PiIcon:$6,PiSquare:l2,PiSquareIcon:l2,Piano:A6,PianoIcon:A6,Pickaxe:H6,PickaxeIcon:H6,PictureInPicture:j6,PictureInPicture2:z6,PictureInPicture2Icon:z6,PictureInPictureIcon:j6,PieChart:a1,PieChartIcon:a1,PiggyBank:P6,PiggyBankIcon:P6,Pilcrow:F6,PilcrowIcon:F6,PilcrowLeft:V6,PilcrowLeftIcon:V6,PilcrowRight:B6,PilcrowRightIcon:B6,PilcrowSquare:u2,PilcrowSquareIcon:u2,Pill:R6,PillBottle:D6,PillBottleIcon:D6,PillIcon:R6,Pin:U6,PinIcon:U6,PinOff:T6,PinOffIcon:T6,Pipette:O6,PipetteIcon:O6,Pizza:Z6,PizzaIcon:Z6,Plane:ao,PlaneIcon:ao,PlaneLanding:G6,PlaneLandingIcon:G6,PlaneTakeoff:W6,PlaneTakeoffIcon:W6,Play:oo,PlayCircle:x1,PlayCircleIcon:x1,PlayIcon:oo,PlaySquare:M2,PlaySquareIcon:M2,Plug:X6,Plug2:E6,Plug2Icon:E6,PlugIcon:X6,PlugZap:xe,PlugZap2:xe,PlugZap2Icon:xe,PlugZapIcon:xe,Plus:k0,PlusCircle:w1,PlusCircleIcon:w1,PlusIcon:k0,PlusSquare:v2,PlusSquareIcon:v2,Pocket:J6,PocketIcon:J6,PocketKnife:K6,PocketKnifeIcon:K6,Podcast:Q6,PodcastIcon:Q6,Pointer:e8,PointerIcon:e8,PointerOff:Y6,PointerOffIcon:Y6,Popcorn:a8,PopcornIcon:a8,Popsicle:o8,PopsicleIcon:o8,PoundSterling:t8,PoundSterlingIcon:t8,Power:n8,PowerCircle:f1,PowerCircleIcon:f1,PowerIcon:n8,PowerOff:c8,PowerOffIcon:c8,PowerSquare:m2,PowerSquareIcon:m2,Presentation:d8,PresentationIcon:d8,Printer:h8,PrinterCheck:i8,PrinterCheckIcon:i8,PrinterIcon:h8,Projector:y8,ProjectorIcon:y8,Proportions:r8,ProportionsIcon:r8,Puzzle:k8,PuzzleIcon:k8,Pyramid:p8,PyramidIcon:p8,QrCode:to,QrCodeIcon:to,Quote:co,QuoteIcon:co,Rabbit:s8,RabbitIcon:s8,Radar:l8,RadarIcon:l8,Radiation:u8,RadiationIcon:u8,Radical:M8,RadicalIcon:M8,Radio:_8,RadioIcon:_8,RadioReceiver:v8,RadioReceiverIcon:v8,RadioTower:m8,RadioTowerIcon:m8,Radius:g8,RadiusIcon:g8,RailSymbol:L8,RailSymbolIcon:L8,Rainbow:x8,RainbowIcon:x8,Rat:w8,RatIcon:w8,Ratio:f8,RatioIcon:f8,Receipt:H8,ReceiptCent:C8,ReceiptCentIcon:C8,ReceiptEuro:I8,ReceiptEuroIcon:I8,ReceiptIcon:H8,ReceiptIndianRupee:N8,ReceiptIndianRupeeIcon:N8,ReceiptJapaneseYen:S8,ReceiptJapaneseYenIcon:S8,ReceiptPoundSterling:b8,ReceiptPoundSterlingIcon:b8,ReceiptRussianRuble:q8,ReceiptRussianRubleIcon:q8,ReceiptSwissFranc:$8,ReceiptSwissFrancIcon:$8,ReceiptText:A8,ReceiptTextIcon:A8,RectangleEllipsis:we,RectangleEllipsisIcon:we,RectangleHorizontal:z8,RectangleHorizontalIcon:z8,RectangleVertical:j8,RectangleVerticalIcon:j8,Recycle:P8,RecycleIcon:P8,Redo:x0,Redo2:V8,Redo2Icon:V8,RedoDot:B8,RedoDotIcon:B8,RedoIcon:x0,RefreshCcw:D8,RefreshCcwDot:F8,RefreshCcwDotIcon:F8,RefreshCcwIcon:D8,RefreshCw:no,RefreshCwIcon:no,RefreshCwOff:R8,RefreshCwOffIcon:R8,Refrigerator:T8,RefrigeratorIcon:T8,Regex:U8,RegexIcon:U8,RemoveFormatting:O8,RemoveFormattingIcon:O8,Repeat:W8,Repeat1:Z8,Repeat1Icon:Z8,Repeat2:G8,Repeat2Icon:G8,RepeatIcon:W8,Replace:X8,ReplaceAll:E8,ReplaceAllIcon:E8,ReplaceIcon:X8,Reply:J8,ReplyAll:K8,ReplyAllIcon:K8,ReplyIcon:J8,Rewind:Q8,RewindIcon:Q8,Ribbon:Y8,RibbonIcon:Y8,Rocket:e7,RocketIcon:e7,RockingChair:a7,RockingChairIcon:a7,RollerCoaster:o7,RollerCoasterIcon:o7,Rotate3D:fe,Rotate3DIcon:fe,Rotate3d:fe,Rotate3dIcon:fe,RotateCcw:c7,RotateCcwIcon:c7,RotateCcwSquare:t7,RotateCcwSquareIcon:t7,RotateCw:d7,RotateCwIcon:d7,RotateCwSquare:n7,RotateCwSquareIcon:n7,Route:h7,RouteIcon:h7,RouteOff:i7,RouteOffIcon:i7,Router:y7,RouterIcon:y7,Rows:Ce,Rows2:Ce,Rows2Icon:Ce,Rows3:Ie,Rows3Icon:Ie,Rows4:r7,Rows4Icon:r7,RowsIcon:Ce,Rss:k7,RssIcon:k7,Ruler:io,RulerIcon:io,RussianRuble:p7,RussianRubleIcon:p7,Sailboat:s7,SailboatIcon:s7,Salad:l7,SaladIcon:l7,Sandwich:u7,SandwichIcon:u7,Satellite:v7,SatelliteDish:M7,SatelliteDishIcon:M7,SatelliteIcon:v7,Save:p0,SaveAll:m7,SaveAllIcon:m7,SaveIcon:p0,SaveOff:_7,SaveOffIcon:_7,Scale:q0,Scale3D:Ne,Scale3DIcon:Ne,Scale3d:Ne,Scale3dIcon:Ne,ScaleIcon:q0,Scaling:g7,ScalingIcon:g7,Scan:b7,ScanBarcode:L7,ScanBarcodeIcon:L7,ScanEye:x7,ScanEyeIcon:x7,ScanFace:w7,ScanFaceIcon:w7,ScanHeart:f7,ScanHeartIcon:f7,ScanIcon:b7,ScanLine:C7,ScanLineIcon:C7,ScanQrCode:I7,ScanQrCodeIcon:I7,ScanSearch:N7,ScanSearchIcon:N7,ScanText:S7,ScanTextIcon:S7,ScatterChart:o1,ScatterChartIcon:o1,School:q7,School2:H2,School2Icon:H2,SchoolIcon:q7,Scissors:A7,ScissorsIcon:A7,ScissorsLineDashed:$7,ScissorsLineDashedIcon:$7,ScissorsSquare:_2,ScissorsSquareDashedBottom:Ze,ScissorsSquareDashedBottomIcon:Ze,ScissorsSquareIcon:_2,ScreenShare:z7,ScreenShareIcon:z7,ScreenShareOff:H7,ScreenShareOffIcon:H7,Scroll:P7,ScrollIcon:P7,ScrollText:j7,ScrollTextIcon:j7,Search:s0,SearchCheck:V7,SearchCheckIcon:V7,SearchCode:B7,SearchCodeIcon:B7,SearchIcon:s0,SearchSlash:F7,SearchSlashIcon:F7,SearchX:D7,SearchXIcon:D7,Section:R7,SectionIcon:R7,Send:ho,SendHorizonal:Se,SendHorizonalIcon:Se,SendHorizontal:Se,SendHorizontalIcon:Se,SendIcon:ho,SendToBack:T7,SendToBackIcon:T7,SeparatorHorizontal:U7,SeparatorHorizontalIcon:U7,SeparatorVertical:O7,SeparatorVerticalIcon:O7,Server:yo,ServerCog:Z7,ServerCogIcon:Z7,ServerCrash:G7,ServerCrashIcon:G7,ServerIcon:yo,ServerOff:W7,ServerOffIcon:W7,Settings:ro,Settings2:E7,Settings2Icon:E7,SettingsIcon:ro,Shapes:X7,ShapesIcon:X7,Share:K7,Share2:ko,Share2Icon:ko,ShareIcon:K7,Sheet:J7,SheetIcon:J7,Shell:Q7,ShellIcon:Q7,Shield:Aa,ShieldAlert:Y7,ShieldAlertIcon:Y7,ShieldBan:eu,ShieldBanIcon:eu,ShieldCheck:lo,ShieldCheckIcon:lo,ShieldClose:be,ShieldCloseIcon:be,ShieldEllipsis:au,ShieldEllipsisIcon:au,ShieldHalf:ou,ShieldHalfIcon:ou,ShieldIcon:Aa,ShieldMinus:tu,ShieldMinusIcon:tu,ShieldOff:cu,ShieldOffIcon:cu,ShieldPlus:nu,ShieldPlusIcon:nu,ShieldQuestion:du,ShieldQuestionIcon:du,ShieldX:be,ShieldXIcon:be,Ship:hu,ShipIcon:hu,ShipWheel:iu,ShipWheelIcon:iu,Shirt:yu,ShirtIcon:yu,ShoppingBag:ru,ShoppingBagIcon:ru,ShoppingBasket:ku,ShoppingBasketIcon:ku,ShoppingCart:pu,ShoppingCartIcon:pu,Shovel:su,ShovelIcon:su,ShowerHead:lu,ShowerHeadIcon:lu,Shrink:uu,ShrinkIcon:uu,Shrub:Mu,ShrubIcon:Mu,Shuffle:vu,ShuffleIcon:vu,Sidebar:s,SidebarClose:Me,SidebarCloseIcon:Me,SidebarIcon:s,SidebarOpen:me,SidebarOpenIcon:me,Sigma:mu,SigmaIcon:mu,SigmaSquare:g2,SigmaSquareIcon:g2,Signal:wu,SignalHigh:_u,SignalHighIcon:_u,SignalIcon:wu,SignalLow:gu,SignalLowIcon:gu,SignalMedium:Lu,SignalMediumIcon:Lu,SignalZero:xu,SignalZeroIcon:xu,Signature:fu,SignatureIcon:fu,Signpost:Iu,SignpostBig:Cu,SignpostBigIcon:Cu,SignpostIcon:Iu,Siren:Nu,SirenIcon:Nu,SkipBack:Su,SkipBackIcon:Su,SkipForward:bu,SkipForwardIcon:bu,Skull:qu,SkullIcon:qu,Slack:$u,SlackIcon:$u,Slash:Au,SlashIcon:Au,SlashSquare:L2,SlashSquareIcon:L2,Slice:Hu,SliceIcon:Hu,Sliders:qe,SlidersHorizontal:zu,SlidersHorizontalIcon:zu,SlidersIcon:qe,SlidersVertical:qe,SlidersVerticalIcon:qe,Smartphone:po,SmartphoneCharging:ju,SmartphoneChargingIcon:ju,SmartphoneIcon:po,SmartphoneNfc:Pu,SmartphoneNfcIcon:Pu,Smile:Bu,SmileIcon:Bu,SmilePlus:Vu,SmilePlusIcon:Vu,Snail:Fu,SnailIcon:Fu,Snowflake:Du,SnowflakeIcon:Du,Sofa:Ru,SofaIcon:Ru,SortAsc:B,SortAscIcon:B,SortDesc:j,SortDescIcon:j,Soup:Tu,SoupIcon:Tu,Space:Uu,SpaceIcon:Uu,Spade:Ou,SpadeIcon:Ou,Sparkle:Zu,SparkleIcon:Zu,Sparkles:M,SparklesIcon:M,Speaker:Gu,SpeakerIcon:Gu,Speech:Wu,SpeechIcon:Wu,SpellCheck:Xu,SpellCheck2:Eu,SpellCheck2Icon:Eu,SpellCheckIcon:Xu,Spline:Ku,SplineIcon:Ku,Split:Ju,SplitIcon:Ju,SplitSquareHorizontal:x2,SplitSquareHorizontalIcon:x2,SplitSquareVertical:w2,SplitSquareVerticalIcon:w2,SprayCan:Qu,SprayCanIcon:Qu,Sprout:Yu,SproutIcon:Yu,Square:n9,SquareActivity:$e,SquareActivityIcon:$e,SquareArrowDown:ze,SquareArrowDownIcon:ze,SquareArrowDownLeft:Ae,SquareArrowDownLeftIcon:Ae,SquareArrowDownRight:He,SquareArrowDownRightIcon:He,SquareArrowLeft:je,SquareArrowLeftIcon:je,SquareArrowOutDownLeft:Pe,SquareArrowOutDownLeftIcon:Pe,SquareArrowOutDownRight:Ve,SquareArrowOutDownRightIcon:Ve,SquareArrowOutUpLeft:Be,SquareArrowOutUpLeftIcon:Be,SquareArrowOutUpRight:Fe,SquareArrowOutUpRightIcon:Fe,SquareArrowRight:De,SquareArrowRightIcon:De,SquareArrowUp:Ue,SquareArrowUpIcon:Ue,SquareArrowUpLeft:Re,SquareArrowUpLeftIcon:Re,SquareArrowUpRight:Te,SquareArrowUpRightIcon:Te,SquareAsterisk:Oe,SquareAsteriskIcon:Oe,SquareBottomDashedScissors:Ze,SquareBottomDashedScissorsIcon:Ze,SquareChartGantt:h,SquareChartGanttIcon:h,SquareCheck:Ge,SquareCheckBig:b,SquareCheckBigIcon:b,SquareCheckIcon:Ge,SquareChevronDown:We,SquareChevronDownIcon:We,SquareChevronLeft:Ee,SquareChevronLeftIcon:Ee,SquareChevronRight:Xe,SquareChevronRightIcon:Xe,SquareChevronUp:Ke,SquareChevronUpIcon:Ke,SquareCode:Je,SquareCodeIcon:Je,SquareDashed:e2,SquareDashedBottom:a9,SquareDashedBottomCode:e9,SquareDashedBottomCodeIcon:e9,SquareDashedBottomIcon:a9,SquareDashedIcon:e2,SquareDashedKanban:Qe,SquareDashedKanbanIcon:Qe,SquareDashedMousePointer:Ye,SquareDashedMousePointerIcon:Ye,SquareDivide:a2,SquareDivideIcon:a2,SquareDot:o2,SquareDotIcon:o2,SquareEqual:t2,SquareEqualIcon:t2,SquareFunction:c2,SquareFunctionIcon:c2,SquareGanttChart:h,SquareGanttChartIcon:h,SquareIcon:n9,SquareKanban:n2,SquareKanbanIcon:n2,SquareLibrary:d2,SquareLibraryIcon:d2,SquareM:i2,SquareMIcon:i2,SquareMenu:h2,SquareMenuIcon:h2,SquareMinus:y2,SquareMinusIcon:y2,SquareMousePointer:r2,SquareMousePointerIcon:r2,SquareParking:p2,SquareParkingIcon:p2,SquareParkingOff:k2,SquareParkingOffIcon:k2,SquarePen:n,SquarePenIcon:n,SquarePercent:s2,SquarePercentIcon:s2,SquarePi:l2,SquarePiIcon:l2,SquarePilcrow:u2,SquarePilcrowIcon:u2,SquarePlay:M2,SquarePlayIcon:M2,SquarePlus:v2,SquarePlusIcon:v2,SquarePower:m2,SquarePowerIcon:m2,SquareRadical:o9,SquareRadicalIcon:o9,SquareScissors:_2,SquareScissorsIcon:_2,SquareSigma:g2,SquareSigmaIcon:g2,SquareSlash:L2,SquareSlashIcon:L2,SquareSplitHorizontal:x2,SquareSplitHorizontalIcon:x2,SquareSplitVertical:w2,SquareSplitVerticalIcon:w2,SquareSquare:t9,SquareSquareIcon:t9,SquareStack:c9,SquareStackIcon:c9,SquareTerminal:f2,SquareTerminalIcon:f2,SquareUser:I2,SquareUserIcon:I2,SquareUserRound:C2,SquareUserRoundIcon:C2,SquareX:N2,SquareXIcon:N2,Squircle:d9,SquircleIcon:d9,Squirrel:i9,SquirrelIcon:i9,Stamp:h9,StampIcon:h9,Star:uo,StarHalf:y9,StarHalfIcon:y9,StarIcon:uo,StarOff:r9,StarOffIcon:r9,Stars:M,StarsIcon:M,StepBack:k9,StepBackIcon:k9,StepForward:p9,StepForwardIcon:p9,Stethoscope:s9,StethoscopeIcon:s9,Sticker:l9,StickerIcon:l9,StickyNote:u9,StickyNoteIcon:u9,StopCircle:I1,StopCircleIcon:I1,Store:M9,StoreIcon:M9,StretchHorizontal:v9,StretchHorizontalIcon:v9,StretchVertical:m9,StretchVerticalIcon:m9,Strikethrough:w0,StrikethroughIcon:w0,Subscript:_9,SubscriptIcon:_9,Subtitles:G,SubtitlesIcon:G,Sun:Mo,SunDim:g9,SunDimIcon:g9,SunIcon:Mo,SunMedium:L9,SunMediumIcon:L9,SunMoon:x9,SunMoonIcon:x9,SunSnow:w9,SunSnowIcon:w9,Sunrise:f9,SunriseIcon:f9,Sunset:C9,SunsetIcon:C9,Superscript:I9,SuperscriptIcon:I9,SwatchBook:N9,SwatchBookIcon:N9,SwissFranc:S9,SwissFrancIcon:S9,SwitchCamera:b9,SwitchCameraIcon:b9,Sword:q9,SwordIcon:q9,Swords:$9,SwordsIcon:$9,Syringe:A9,SyringeIcon:A9,Table:D9,Table2:H9,Table2Icon:H9,TableCellsMerge:z9,TableCellsMergeIcon:z9,TableCellsSplit:j9,TableCellsSplitIcon:j9,TableColumnsSplit:P9,TableColumnsSplitIcon:P9,TableIcon:D9,TableOfContents:V9,TableOfContentsIcon:V9,TableProperties:B9,TablePropertiesIcon:B9,TableRowsSplit:F9,TableRowsSplitIcon:F9,Tablet:T9,TabletIcon:T9,TabletSmartphone:R9,TabletSmartphoneIcon:R9,Tablets:U9,TabletsIcon:U9,Tag:vo,TagIcon:vo,Tags:O9,TagsIcon:O9,Tally1:Z9,Tally1Icon:Z9,Tally2:G9,Tally2Icon:G9,Tally3:W9,Tally3Icon:W9,Tally4:E9,Tally4Icon:E9,Tally5:X9,Tally5Icon:X9,Tangent:K9,TangentIcon:K9,Target:mo,TargetIcon:mo,Telescope:J9,TelescopeIcon:J9,Tent:Y9,TentIcon:Y9,TentTree:Q9,TentTreeIcon:Q9,Terminal:eM,TerminalIcon:eM,TerminalSquare:f2,TerminalSquareIcon:f2,TestTube:aM,TestTube2:S2,TestTube2Icon:S2,TestTubeDiagonal:S2,TestTubeDiagonalIcon:S2,TestTubeIcon:aM,TestTubes:oM,TestTubesIcon:oM,Text:iM,TextCursor:cM,TextCursorIcon:cM,TextCursorInput:tM,TextCursorInputIcon:tM,TextIcon:iM,TextQuote:nM,TextQuoteIcon:nM,TextSearch:dM,TextSearchIcon:dM,TextSelect:b2,TextSelectIcon:b2,TextSelection:b2,TextSelectionIcon:b2,Theater:hM,TheaterIcon:hM,Thermometer:kM,ThermometerIcon:kM,ThermometerSnowflake:yM,ThermometerSnowflakeIcon:yM,ThermometerSun:rM,ThermometerSunIcon:rM,ThumbsDown:_o,ThumbsDownIcon:_o,ThumbsUp:go,ThumbsUpIcon:go,Ticket:Lo,TicketCheck:pM,TicketCheckIcon:pM,TicketIcon:Lo,TicketMinus:sM,TicketMinusIcon:sM,TicketPercent:lM,TicketPercentIcon:lM,TicketPlus:uM,TicketPlusIcon:uM,TicketSlash:MM,TicketSlashIcon:MM,TicketX:vM,TicketXIcon:vM,Tickets:_M,TicketsIcon:_M,TicketsPlane:mM,TicketsPlaneIcon:mM,Timer:xo,TimerIcon:xo,TimerOff:gM,TimerOffIcon:gM,TimerReset:LM,TimerResetIcon:LM,ToggleLeft:xM,ToggleLeftIcon:xM,ToggleRight:wM,ToggleRightIcon:wM,Toilet:fM,ToiletIcon:fM,Tornado:CM,TornadoIcon:CM,Torus:IM,TorusIcon:IM,Touchpad:SM,TouchpadIcon:SM,TouchpadOff:NM,TouchpadOffIcon:NM,TowerControl:bM,TowerControlIcon:bM,ToyBrick:qM,ToyBrickIcon:qM,Tractor:$M,TractorIcon:$M,TrafficCone:AM,TrafficConeIcon:AM,Train:q2,TrainFront:zM,TrainFrontIcon:zM,TrainFrontTunnel:HM,TrainFrontTunnelIcon:HM,TrainIcon:q2,TrainTrack:jM,TrainTrackIcon:jM,TramFront:q2,TramFrontIcon:q2,Transgender:PM,TransgenderIcon:PM,Trash:fo,Trash2:wo,Trash2Icon:wo,TrashIcon:fo,TreeDeciduous:VM,TreeDeciduousIcon:VM,TreePalm:$2,TreePalmIcon:$2,TreePine:BM,TreePineIcon:BM,Trees:FM,TreesIcon:FM,Trello:DM,TrelloIcon:DM,TrendingDown:Co,TrendingDownIcon:Co,TrendingUp:Io,TrendingUpDown:RM,TrendingUpDownIcon:RM,TrendingUpIcon:Io,Triangle:OM,TriangleAlert:q,TriangleAlertIcon:q,TriangleDashed:TM,TriangleDashedIcon:TM,TriangleIcon:OM,TriangleRight:UM,TriangleRightIcon:UM,Trophy:No,TrophyIcon:No,Truck:ZM,TruckIcon:ZM,Turtle:GM,TurtleIcon:GM,Tv:EM,Tv2:A2,Tv2Icon:A2,TvIcon:EM,TvMinimal:A2,TvMinimalIcon:A2,TvMinimalPlay:WM,TvMinimalPlayIcon:WM,Twitch:XM,TwitchIcon:XM,Twitter:Da,TwitterIcon:Da,Type:So,TypeIcon:So,TypeOutline:KM,TypeOutlineIcon:KM,Umbrella:QM,UmbrellaIcon:QM,UmbrellaOff:JM,UmbrellaOffIcon:JM,Underline:YM,UnderlineIcon:YM,Undo:f0,Undo2:ev,Undo2Icon:ev,UndoDot:av,UndoDotIcon:av,UndoIcon:f0,UnfoldHorizontal:ov,UnfoldHorizontalIcon:ov,UnfoldVertical:tv,UnfoldVerticalIcon:tv,Ungroup:cv,UngroupIcon:cv,University:H2,UniversityIcon:H2,Unlink:C0,Unlink2:nv,Unlink2Icon:nv,UnlinkIcon:C0,Unlock:u,UnlockIcon:u,UnlockKeyhole:he,UnlockKeyholeIcon:he,Unplug:dv,UnplugIcon:dv,Upload:l0,UploadCloud:A1,UploadCloudIcon:A1,UploadIcon:l0,Usb:iv,UsbIcon:iv,User:Ao,User2:F2,User2Icon:F2,UserCheck:bo,UserCheck2:z2,UserCheck2Icon:z2,UserCheckIcon:bo,UserCircle:S1,UserCircle2:N1,UserCircle2Icon:N1,UserCircleIcon:S1,UserCog:hv,UserCog2:j2,UserCog2Icon:j2,UserCogIcon:hv,UserIcon:Ao,UserMinus:yv,UserMinus2:P2,UserMinus2Icon:P2,UserMinusIcon:yv,UserPen:rv,UserPenIcon:rv,UserPlus:qo,UserPlus2:V2,UserPlus2Icon:V2,UserPlusIcon:qo,UserRound:F2,UserRoundCheck:z2,UserRoundCheckIcon:z2,UserRoundCog:j2,UserRoundCogIcon:j2,UserRoundIcon:F2,UserRoundMinus:P2,UserRoundMinusIcon:P2,UserRoundPen:kv,UserRoundPenIcon:kv,UserRoundPlus:V2,UserRoundPlusIcon:V2,UserRoundSearch:pv,UserRoundSearchIcon:pv,UserRoundX:B2,UserRoundXIcon:B2,UserSearch:sv,UserSearchIcon:sv,UserSquare:I2,UserSquare2:C2,UserSquare2Icon:C2,UserSquareIcon:I2,UserX:$o,UserX2:B2,UserX2Icon:B2,UserXIcon:$o,Users:Ho,Users2:D2,Users2Icon:D2,UsersIcon:Ho,UsersRound:D2,UsersRoundIcon:D2,Utensils:T2,UtensilsCrossed:R2,UtensilsCrossedIcon:R2,UtensilsIcon:T2,UtilityPole:lv,UtilityPoleIcon:lv,Variable:uv,VariableIcon:uv,Vault:Mv,VaultIcon:Mv,Vegan:vv,VeganIcon:vv,VenetianMask:mv,VenetianMaskIcon:mv,Venus:gv,VenusAndMars:_v,VenusAndMarsIcon:_v,VenusIcon:gv,Verified:R,VerifiedIcon:R,Vibrate:xv,VibrateIcon:xv,VibrateOff:Lv,VibrateOffIcon:Lv,Video:fv,VideoIcon:fv,VideoOff:wv,VideoOffIcon:wv,Videotape:Cv,VideotapeIcon:Cv,View:Iv,ViewIcon:Iv,Voicemail:Nv,VoicemailIcon:Nv,Volleyball:Sv,VolleyballIcon:Sv,Volume:Hv,Volume1:bv,Volume1Icon:bv,Volume2:qv,Volume2Icon:qv,VolumeIcon:Hv,VolumeOff:$v,VolumeOffIcon:$v,VolumeX:Av,VolumeXIcon:Av,Vote:zv,VoteIcon:zv,Wallet:zo,Wallet2:U2,Wallet2Icon:U2,WalletCards:jv,WalletCardsIcon:jv,WalletIcon:zo,WalletMinimal:U2,WalletMinimalIcon:U2,Wallpaper:Pv,WallpaperIcon:Pv,Wand:Vv,Wand2:O2,Wand2Icon:O2,WandIcon:Vv,WandSparkles:O2,WandSparklesIcon:O2,Warehouse:Bv,WarehouseIcon:Bv,WashingMachine:Fv,WashingMachineIcon:Fv,Watch:Dv,WatchIcon:Dv,Waves:Tv,WavesIcon:Tv,WavesLadder:Rv,WavesLadderIcon:Rv,Waypoints:Uv,WaypointsIcon:Uv,Webcam:Ov,WebcamIcon:Ov,Webhook:Gv,WebhookIcon:Gv,WebhookOff:Zv,WebhookOffIcon:Zv,Weight:Wv,WeightIcon:Wv,Wheat:Xv,WheatIcon:Xv,WheatOff:Ev,WheatOffIcon:Ev,WholeWord:Kv,WholeWordIcon:Kv,Wifi:so,WifiHigh:Jv,WifiHighIcon:Jv,WifiIcon:so,WifiLow:Qv,WifiLowIcon:Qv,WifiOff:Yv,WifiOffIcon:Yv,WifiZero:em,WifiZeroIcon:em,Wind:om,WindArrowDown:am,WindArrowDownIcon:am,WindIcon:om,Wine:cm,WineIcon:cm,WineOff:tm,WineOffIcon:tm,Workflow:nm,WorkflowIcon:nm,Worm:dm,WormIcon:dm,WrapText:im,WrapTextIcon:im,Wrench:jo,WrenchIcon:jo,X:u0,XCircle:f,XCircleIcon:f,XIcon:u0,XOctagon:se,XOctagonIcon:se,XSquare:N2,XSquareIcon:N2,Youtube:hm,YoutubeIcon:hm,Zap:Po,ZapIcon:Po,ZapOff:ym,ZapOffIcon:ym,ZoomIn:rm,ZoomInIcon:rm,ZoomOut:km,ZoomOutIcon:km,createLucideIcon:e,icons:zO},Symbol.toStringTag,{value:"Module"}));function JG({columns:Y2,actions:sm,data:k,from:xm,onAction:wm,sortField:fm,sortDirection:Cm,onSort:lm,statusColors:Im={},permissions:um,entityPermissions:r,showActions:e0=!0,footer:Nm,renderExpandedRow:G2}){const{t:p}=Bm(),[a0,pm]=jm.useState(new Set),Sm=o=>{pm(t=>{const c=new Set(t);return c.has(o)?c.delete(o):c.add(o),c})},bm=()=>{a0.size===k.length?pm(new Set):pm(new Set(k.map((o,t)=>o.id??t)))},qm=o=>o.sortable?fm===o.key?Cm==="asc"?a.jsx(J2,{className:"ml-1 h-4 w-4"}):a.jsx(Z2,{className:"ml-1 h-4 w-4"}):a.jsx(Q2,{className:"ml-1 h-4 w-4 opacity-50"}):null,$m=o=>{!o.sortable||!lm||lm(o.key)},o0=sm.some(o=>{const t=o.requiredPermission||r&&(o.action==="view"?r.view:o.action==="edit"?r.edit:o.action==="delete"?r.delete:o.permission);return!t||Mm(um,t)}),Am=o=>a.jsx("div",{className:"flex items-center justify-end space-x-2",children:sm.map((t,c)=>{const d=t.requiredPermission||r&&(t.action==="view"?r.view:t.action==="edit"?r.edit:t.action==="delete"?r.delete:t.permission);if(d&&!Mm(um,d)||t.condition&&!t.condition(o))return null;const y=jO[t.icon];if(t.href){const X2=typeof t.href=="function"?t.href(o):t.href.replace(":id",o.id);return a.jsx(mm,{children:a.jsxs(_m,{children:[a.jsx(gm,{asChild:!0,children:a.jsx(vm,{href:X2,target:t.openInNewTab?"_blank":void 0,children:a.jsx(t0,{variant:"ghost",size:"icon",className:K2("h-8 w-8",t.className),children:a.jsx(y,{size:16})})})}),a.jsx(Lm,{children:a.jsx("p",{children:t.label})})]})},c)}return a.jsx(mm,{children:a.jsxs(_m,{children:[a.jsx(gm,{asChild:!0,children:a.jsx(t0,{variant:"ghost",size:"icon",className:K2("h-8 w-8",t.className),onClick:()=>wm(t.action,o),children:a.jsx(y,{size:16})})}),a.jsx(Lm,{children:a.jsx("p",{children:t.label})})]})},c)})}),Hm=(o,t)=>!o||!t?null:t.split(".").reduce((d,y)=>d&&d[y]!==void 0?d[y]:null,o),zm=(o,t)=>{const c=Hm(o,t.key);if(t.render)return t.render(c,o);switch(t.type){case"badge":return a.jsx(Fm,{className:K2("capitalize",Im[c]),children:c});case"image":return c?a.jsx("div",{className:"flex justify-center",children:a.jsx("img",{src:c.startsWith&&c.startsWith("http")?c:`/storage/${c}`,alt:o.name||"Image",className:t.className||"h-16 w-20 rounded-md object-cover shadow-sm",onError:y=>{y.currentTarget.src="https://placehold.co/200x150?text=Image+Not+Found"}})}):a.jsx("div",{className:"text-center text-gray-400",children:p("No image")});case"date":return c?a.jsx("span",{className:"text-sm",children:new Date(c).toLocaleDateString()}):a.jsx("span",{children:"-"});case"currency":return a.jsx("span",{className:"text-sm",children:typeof c=="number"?c.toLocaleString("en-US",{style:"currency",currency:"USD"}):c});case"boolean":return a.jsx("span",{className:"text-sm",children:c?"Yes":"No"});case"link":if(!c)return a.jsx("span",{children:"-"});const d=t.href?typeof t.href=="function"?t.href(o):t.href.replace(":id",o.id):"#";return a.jsx(vm,{href:d,className:t.linkClassName||"text-blue-600 hover:underline",target:t.openInNewTab?"_blank":void 0,children:c});default:return a.jsx("span",{className:"text-sm font-medium",children:c||"-"})}};return a.jsx("div",{className:"border-collapse dark:bg-gray-900",children:a.jsxs(Dm,{children:[a.jsx(Rm,{children:a.jsxs(c0,{className:"bg-gray-50 dark:bg-gray-800 border-b",children:[G2&&a.jsx(n0,{className:"w-10 py-2.5 px-2 text-center",children:a.jsx(t0,{type:"button",variant:"ghost",size:"icon",className:"h-6 w-6 p-0 hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onClick:bm,title:a0.size===k.length?p("Collapse All"):p("Expand All"),children:a0.size===k.length&&k.length>0?a.jsx(Z2,{className:"h-4 w-4"}):a.jsx(E2,{className:"h-4 w-4"})})}),a.jsx(n0,{className:"w-12 py-2.5 font-semibold",children:"#"}),Y2.map(o=>a.jsx(n0,{className:K2("py-2.5 font-semibold text-left",o.sortable&&"cursor-pointer select-none",o.className),onClick:()=>$m(o),children:a.jsxs("div",{className:"flex items-center",children:[o.label,qm(o)]})},o.key)),e0&&o0&&a.jsx(n0,{className:"w-24 py-2.5 text-right font-semibold",children:p("Actions")})]})}),a.jsx(Tm,{children:k.length>0?k.map((o,t)=>{const c=o.id??t,d=a0.has(c),y=Y2.length+(e0&&o0?2:1)+(G2?1:0);return a.jsxs(Pm.Fragment,{children:[a.jsxs(c0,{className:"hover:bg-gray-50 dark:hover:bg-gray-700 dark:bg-gray-900 border-b",children:[G2&&a.jsx(W2,{className:"py-2.5 px-2 text-center",children:a.jsx(t0,{type:"button",variant:"ghost",size:"icon",className:"h-6 w-6 p-0 hover:bg-gray-200 dark:hover:bg-gray-700",onClick:()=>Sm(c),title:p(d?"Collapse details":"Expand details"),children:d?a.jsx(Z2,{className:"h-4 w-4 text-blue-600 transition-transform duration-200"}):a.jsx(E2,{className:"h-4 w-4 text-gray-500 transition-transform duration-200"})})}),a.jsx(W2,{className:"font-medium py-2.5",children:xm+t}),Y2.map(X2=>a.jsx(W2,{className:K2("py-2.5 text-left",X2.className),children:zm(o,X2)},X2.key)),e0&&o0&&a.jsx(W2,{className:"py-2.5 text-right",children:Am(o)})]}),G2&&d&&a.jsx(c0,{className:"bg-slate-50/75 dark:bg-slate-900/60 hover:bg-slate-50/75 dark:hover:bg-slate-900/60 border-b",children:a.jsx(W2,{colSpan:y,className:"p-0 border-t border-slate-200/80 dark:border-slate-800",children:G2(o)})})]},o.id||t)}):a.jsx(c0,{children:a.jsx(W2,{colSpan:Y2.length+(e0&&o0?2:1)+(G2?1:0),className:"text-muted-foreground h-24 text-center dark:text-gray-400",children:p("No results found.")})})}),Nm]})})}export{td as B,JG as C,D1 as E,Br as F,M5 as K,j3 as M,fl as N,h8 as P,pu as S,Kh as a}; diff --git a/public/build/assets/FaqSection-D26nrHhP.js b/public/build/assets/FaqSection-CN7PLtZG.js similarity index 97% rename from public/build/assets/FaqSection-D26nrHhP.js rename to public/build/assets/FaqSection-CN7PLtZG.js index f03712eb6..0f5ae0ede 100644 --- a/public/build/assets/FaqSection-D26nrHhP.js +++ b/public/build/assets/FaqSection-CN7PLtZG.js @@ -1 +1 @@ -import{r as f,j as t}from"./ui-Z445SNHD.js";import{c as b,O as w,Q as v}from"./app-CfhhiFAk.js";import{a as j,C as k}from"./chevron-up-DepFp6b6.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({faqs:o,settings:N,sectionData:r,brandColor:a="#3b82f6"}){var d,g;const[n,p]=f.useState(null),{props:i}=b(),u=w(i);let l="light";if(u){const e=v("themeSettings");if(e)try{l=JSON.parse(e).appearance||"light"}catch{l="light"}}else l=((d=i.globalSettings)==null?void 0:d.themeMode)||"light";const s=l==="dark",c=[{id:1,question:"How does HRM work?",answer:"HRM is an all-in-one HR platform that helps you manage employees, payroll, attendance, recruitment, and performance efficiently."},{id:2,question:"Can I automate payroll and leave tracking?",answer:"Yes! HRM allows you to automate payroll calculations, generate payslips, and track employee leaves and attendance seamlessly."},{id:3,question:"Is my employee data secure?",answer:"Absolutely. HRM uses enterprise-grade security measures to keep all sensitive HR data safe and confidential."},{id:4,question:"Can I manage recruitment and onboarding?",answer:"Yes, HRM provides applicant tracking, interview management, and digital onboarding tools to simplify hiring."},{id:5,question:"Does HRM support performance evaluations?",answer:"Yes, you can set goals, track KPIs, and run performance reviews directly within the platform."},{id:6,question:"Can HRM generate HR reports?",answer:"HRM offers advanced analytics and reporting features to give insights on attendance, payroll, and workforce performance."},{id:7,question:"What plans are available and can I upgrade anytime?",answer:"We offer flexible plans for different team sizes. You can start with the free plan and upgrade as your organization grows."}],x=((g=r==null?void 0:r.faqs)==null?void 0:g.map((e,m)=>({id:m+1,...e})))||c,y=o.length>0?o:x,h=e=>{p(n===e?null:e)};return t.jsx("section",{className:`py-12 sm:py-16 lg:py-20 ${s?"bg-gray-900":"bg-white"}`,children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[t.jsx("h2",{className:`text-3xl md:text-4xl font-bold ${s?"text-white":"text-gray-900"} mb-4`,children:(r==null?void 0:r.title)||"Frequently Asked Questions"}),t.jsx("p",{className:`text-lg ${s?"text-gray-300":"text-gray-600"} leading-relaxed font-medium`,children:(r==null?void 0:r.subtitle)||"Got questions? We've got answers. If you can't find what you're looking for, feel free to contact our support team."})]}),t.jsx("div",{className:"space-y-2 sm:space-y-3",children:y.map(e=>t.jsxs("div",{className:`${s?"bg-gray-800 border-gray-700":"bg-gray-50 border-gray-200"} border rounded-lg`,children:[t.jsxs("button",{onClick:()=>h(e.id),className:`w-full px-6 py-4 text-left flex justify-between items-center ${s?"hover:bg-gray-700":"hover:bg-gray-100"} transition-colors`,"aria-expanded":n===e.id,"aria-controls":`faq-answer-${e.id}`,"aria-describedby":`faq-question-${e.id}`,children:[t.jsx("h3",{className:`text-lg font-semibold ${s?"text-white":"text-gray-900"} pr-4`,id:`faq-question-${e.id}`,children:e.question}),n===e.id?t.jsx(j,{className:`w-5 h-5 ${s?"text-gray-400":"text-gray-600"} flex-shrink-0`,"aria-hidden":"true"}):t.jsx(k,{className:`w-5 h-5 ${s?"text-gray-400":"text-gray-600"} flex-shrink-0`,"aria-hidden":"true"})]}),n===e.id&&t.jsx("div",{className:`px-6 pb-4 border-t ${s?"border-gray-700":"border-gray-200"}`,id:`faq-answer-${e.id}`,role:"region","aria-labelledby":`faq-question-${e.id}`,children:t.jsx("p",{className:`${s?"text-gray-300":"text-gray-600"} leading-relaxed pt-4`,children:e.answer})})]},e.id))}),((r==null?void 0:r.cta_text)||(r==null?void 0:r.button_text))&&t.jsxs("div",{className:"text-center mt-8 sm:mt-12",children:[t.jsx("p",{className:`${s?"text-gray-300":"text-gray-600"} mb-4`,children:(r==null?void 0:r.cta_text)||"Still have questions?"}),t.jsx("a",{href:"#contact",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg transition-all font-semibold border",style:{backgroundColor:a,color:"white",borderColor:a},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="white",e.currentTarget.style.color=a},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=a,e.currentTarget.style.color="white"},children:(r==null?void 0:r.button_text)||"Contact Support"})]})]})})}export{F as default}; +import{r as f,j as t}from"./ui-Z445SNHD.js";import{c as b,O as w,Q as v}from"./app-Dya84jp7.js";import{a as j,C as k}from"./chevron-up-DHaGktre.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({faqs:o,settings:N,sectionData:r,brandColor:a="#3b82f6"}){var d,g;const[n,p]=f.useState(null),{props:i}=b(),u=w(i);let l="light";if(u){const e=v("themeSettings");if(e)try{l=JSON.parse(e).appearance||"light"}catch{l="light"}}else l=((d=i.globalSettings)==null?void 0:d.themeMode)||"light";const s=l==="dark",c=[{id:1,question:"How does HRM work?",answer:"HRM is an all-in-one HR platform that helps you manage employees, payroll, attendance, recruitment, and performance efficiently."},{id:2,question:"Can I automate payroll and leave tracking?",answer:"Yes! HRM allows you to automate payroll calculations, generate payslips, and track employee leaves and attendance seamlessly."},{id:3,question:"Is my employee data secure?",answer:"Absolutely. HRM uses enterprise-grade security measures to keep all sensitive HR data safe and confidential."},{id:4,question:"Can I manage recruitment and onboarding?",answer:"Yes, HRM provides applicant tracking, interview management, and digital onboarding tools to simplify hiring."},{id:5,question:"Does HRM support performance evaluations?",answer:"Yes, you can set goals, track KPIs, and run performance reviews directly within the platform."},{id:6,question:"Can HRM generate HR reports?",answer:"HRM offers advanced analytics and reporting features to give insights on attendance, payroll, and workforce performance."},{id:7,question:"What plans are available and can I upgrade anytime?",answer:"We offer flexible plans for different team sizes. You can start with the free plan and upgrade as your organization grows."}],x=((g=r==null?void 0:r.faqs)==null?void 0:g.map((e,m)=>({id:m+1,...e})))||c,y=o.length>0?o:x,h=e=>{p(n===e?null:e)};return t.jsx("section",{className:`py-12 sm:py-16 lg:py-20 ${s?"bg-gray-900":"bg-white"}`,children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[t.jsx("h2",{className:`text-3xl md:text-4xl font-bold ${s?"text-white":"text-gray-900"} mb-4`,children:(r==null?void 0:r.title)||"Frequently Asked Questions"}),t.jsx("p",{className:`text-lg ${s?"text-gray-300":"text-gray-600"} leading-relaxed font-medium`,children:(r==null?void 0:r.subtitle)||"Got questions? We've got answers. If you can't find what you're looking for, feel free to contact our support team."})]}),t.jsx("div",{className:"space-y-2 sm:space-y-3",children:y.map(e=>t.jsxs("div",{className:`${s?"bg-gray-800 border-gray-700":"bg-gray-50 border-gray-200"} border rounded-lg`,children:[t.jsxs("button",{onClick:()=>h(e.id),className:`w-full px-6 py-4 text-left flex justify-between items-center ${s?"hover:bg-gray-700":"hover:bg-gray-100"} transition-colors`,"aria-expanded":n===e.id,"aria-controls":`faq-answer-${e.id}`,"aria-describedby":`faq-question-${e.id}`,children:[t.jsx("h3",{className:`text-lg font-semibold ${s?"text-white":"text-gray-900"} pr-4`,id:`faq-question-${e.id}`,children:e.question}),n===e.id?t.jsx(j,{className:`w-5 h-5 ${s?"text-gray-400":"text-gray-600"} flex-shrink-0`,"aria-hidden":"true"}):t.jsx(k,{className:`w-5 h-5 ${s?"text-gray-400":"text-gray-600"} flex-shrink-0`,"aria-hidden":"true"})]}),n===e.id&&t.jsx("div",{className:`px-6 pb-4 border-t ${s?"border-gray-700":"border-gray-200"}`,id:`faq-answer-${e.id}`,role:"region","aria-labelledby":`faq-question-${e.id}`,children:t.jsx("p",{className:`${s?"text-gray-300":"text-gray-600"} leading-relaxed pt-4`,children:e.answer})})]},e.id))}),((r==null?void 0:r.cta_text)||(r==null?void 0:r.button_text))&&t.jsxs("div",{className:"text-center mt-8 sm:mt-12",children:[t.jsx("p",{className:`${s?"text-gray-300":"text-gray-600"} mb-4`,children:(r==null?void 0:r.cta_text)||"Still have questions?"}),t.jsx("a",{href:"#contact",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg transition-all font-semibold border",style:{backgroundColor:a,color:"white",borderColor:a},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="white",e.currentTarget.style.color=a},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=a,e.currentTarget.style.color="white"},children:(r==null?void 0:r.button_text)||"Contact Support"})]})]})})}export{F as default}; diff --git a/public/build/assets/FeaturesSection-BbnHd1Fx.js b/public/build/assets/FeaturesSection-D-RNp6Oy.js similarity index 89% rename from public/build/assets/FeaturesSection-BbnHd1Fx.js rename to public/build/assets/FeaturesSection-D-RNp6Oy.js index 9243cfd02..48f5806e2 100644 --- a/public/build/assets/FeaturesSection-BbnHd1Fx.js +++ b/public/build/assets/FeaturesSection-D-RNp6Oy.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as w}from"./useScrollAnimation-B_bDsIuD.js";import{u as b}from"./app-CfhhiFAk.js";import{C as j}from"./chart-no-axes-column-BrIh_iVD.js";import{A as v}from"./award-DMMowKjz.js";import{U as N}from"./user-plus-DXHdW4q-.js";import{C as k}from"./clock-CwFdn-oy.js";import{D as S}from"./dollar-sign-DYXFWWsE.js";import{H as $,S as C}from"./shield-BXgaUVtY.js";import{W as A,S as I,a as U}from"./wifi-C3afLemA.js";import{L as M}from"./lock-By6rMOj7.js";import{U as E}from"./users-C4LpG59H.js";import{Z as R}from"./zap-DncwKEcc.js";import{S as _}from"./star-DQsTg5F1.js";import{G}from"./globe-DePi6jyA.js";import{C as H}from"./chart-column-CXNcY9Vx.js";import{Q as c}from"./qr-code-Dvy3HD3W.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const x={"qr-code":c,smartphone:U,share:I,"bar-chart":H,globe:G,shield:C,star:_,zap:R,users:E,lock:M,wifi:A,heart:$,"dollar-sign":S,clock:k,"user-plus":N,award:v,"bar-chart-2":j};function ie({settings:P,sectionData:a,brandColor:r="#3b82f6"}){const{t:s}=b(),{ref:u,isVisible:n}=w(),h=(t=>t?t.startsWith("http")?t:`${window.appSettings.imageUrl}${t}`:null)(a.image),y=a.background_color||"#f9fafb",o=a.columns||3,d=a.layout||"grid",m=a.show_icons!==!1,f=[{icon:"users",title:s("Employee Management"),description:s("Centralized profiles with personal, job, and document details. Perfect for business cards, flyers, and networking events.")},{icon:"dollar-sign",title:s("Payroll Automation"),description:s("Generate accurate payslips with tax, allowances, and deductions. Modern networking made simple and professional.")},{icon:"share",title:s("Easy Sharing"),description:s("Share your digital card via email, SMS, social media, or direct links. Multiple sharing options available.")},{icon:"clock",title:s("Leave & Attendance"),description:s("Smart tracking of leaves, shifts, and attendance logs. Understand how your network interacts with your card.")},{icon:"user-plus",title:s("Recruitment & Onboarding"),description:s("Streamline hiring with applicant tracking and digital onboarding.")},{icon:"award",title:s("Performance Management"),description:s("Set goals, run evaluations, and track employee growth.")},{icon:"bar-chart-2",title:s("Reports & Analytics"),description:s("Get actionable insights on workforce productivity and HR metrics.")}],p=a.features_list&&a.features_list.length>0?a.features_list:f;return e.jsx("section",{id:"features",className:"py-12 sm:py-16 lg:py-20",style:{backgroundColor:y},ref:u,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:a.title||s("Empowering Businesses with Smart HR Solutions")}),e.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:a.description||s("All-in-one platform to manage employees, payroll, attendance, and performance with ease. Built for professionals who value efficiency and innovation.")})]}),h&&e.jsx("div",{className:"mb-8 sm:mb-12 text-center",children:e.jsx("img",{src:h,alt:"Features",className:"max-w-full h-auto rounded-xl shadow-lg mx-auto"})}),d==="grid"&&e.jsx("div",{className:`grid grid-cols-1 ${o>=2?"sm:grid-cols-2":""} ${o>=3?"lg:grid-cols-3":""} ${o>=4?"xl:grid-cols-4":""} gap-6 sm:gap-8 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:p.map((t,i)=>{const l=x[t.icon]||c;return e.jsxs("div",{className:"bg-white p-8 rounded-xl border border-gray-200 hover:border-gray-300 hover:shadow-lg transition-all duration-200",children:[m&&e.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center mb-6",style:{backgroundColor:`${r}15`},children:e.jsx(l,{className:"w-6 h-6",style:{color:r}})}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:t.title}),e.jsx("p",{className:"text-gray-600 leading-relaxed",children:t.description})]},i)})}),d==="list"&&e.jsx("div",{className:`space-y-4 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:p.map((t,i)=>{const l=x[t.icon]||c;return e.jsxs("div",{className:"bg-white p-6 rounded-xl border border-gray-200 hover:border-gray-300 hover:shadow-md transition-all duration-200 flex items-start gap-5",children:[m&&e.jsx("div",{className:"w-12 h-12 rounded-lg flex-shrink-0 flex items-center justify-center",style:{backgroundColor:`${r}15`},children:e.jsx(l,{className:"w-6 h-6",style:{color:r}})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-1",children:t.title}),e.jsx("p",{className:"text-gray-600 leading-relaxed",children:t.description})]})]},i)})}),d==="cards"&&e.jsx("div",{className:`grid grid-cols-1 ${o>=2?"sm:grid-cols-2":""} ${o>=3?"lg:grid-cols-3":""} ${o>=4?"xl:grid-cols-4":""} gap-6 sm:gap-8 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:p.map((t,i)=>{const l=x[t.icon]||c;return e.jsxs("div",{className:"bg-white rounded-xl shadow-md hover:shadow-xl transition-all duration-200 overflow-hidden",children:[e.jsx("div",{className:"h-2 w-full",style:{backgroundColor:r}}),e.jsxs("div",{className:"p-6",children:[m&&e.jsx("div",{className:"w-14 h-14 rounded-full flex items-center justify-center mb-4",style:{backgroundColor:`${r}15`},children:e.jsx(l,{className:"w-7 h-7",style:{color:r}})}),e.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:t.title}),e.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:t.description})]})]},i)})}),d==="alternating"&&e.jsx("div",{className:`space-y-6 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:p.map((t,i)=>{const l=x[t.icon]||c,g=i%2===0;return e.jsxs("div",{className:`flex flex-col lg:flex-row items-center gap-6 bg-white/15 backdrop-blur-sm border border-white/25 rounded-2xl p-6 hover:bg-white/25 transition-all duration-200 ${g?"":"lg:flex-row-reverse"}`,children:[m&&e.jsx("div",{className:"flex-shrink-0 w-16 h-16 rounded-xl flex items-center justify-center shadow-md",style:{backgroundColor:r},children:e.jsx(l,{className:"w-8 h-8 text-white"})}),e.jsxs("div",{className:`flex-1 ${g?"":"lg:text-right"}`,children:[e.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:t.title}),e.jsx("p",{className:"text-white/80 leading-relaxed",children:t.description})]})]},i)})})]})})}export{ie as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as w}from"./useScrollAnimation-B_bDsIuD.js";import{u as b}from"./app-Dya84jp7.js";import{C as j}from"./chart-no-axes-column-BoCXnewH.js";import{A as v}from"./award-D1KbOerA.js";import{U as N}from"./user-plus-BpaQ3zuJ.js";import{C as k}from"./clock-LnEFQ-vK.js";import{D as S}from"./dollar-sign-DH2Tc178.js";import{H as $,S as C}from"./shield-CDL27iRK.js";import{W as A,S as I,a as U}from"./wifi-vecZUHsy.js";import{L as M}from"./lock-DaHvMEII.js";import{U as E}from"./users-BzCDZrS0.js";import{Z as R}from"./zap-CgFkG-9H.js";import{S as _}from"./star-DCkLKzoE.js";import{G}from"./globe-5zZ4IsmY.js";import{C as H}from"./chart-column-B76eI9Qi.js";import{Q as c}from"./qr-code-CUIVRbAs.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const x={"qr-code":c,smartphone:U,share:I,"bar-chart":H,globe:G,shield:C,star:_,zap:R,users:E,lock:M,wifi:A,heart:$,"dollar-sign":S,clock:k,"user-plus":N,award:v,"bar-chart-2":j};function ie({settings:P,sectionData:a,brandColor:r="#3b82f6"}){const{t:s}=b(),{ref:u,isVisible:n}=w(),h=(t=>t?t.startsWith("http")?t:`${window.appSettings.imageUrl}${t}`:null)(a.image),y=a.background_color||"#f9fafb",o=a.columns||3,d=a.layout||"grid",m=a.show_icons!==!1,f=[{icon:"users",title:s("Employee Management"),description:s("Centralized profiles with personal, job, and document details. Perfect for business cards, flyers, and networking events.")},{icon:"dollar-sign",title:s("Payroll Automation"),description:s("Generate accurate payslips with tax, allowances, and deductions. Modern networking made simple and professional.")},{icon:"share",title:s("Easy Sharing"),description:s("Share your digital card via email, SMS, social media, or direct links. Multiple sharing options available.")},{icon:"clock",title:s("Leave & Attendance"),description:s("Smart tracking of leaves, shifts, and attendance logs. Understand how your network interacts with your card.")},{icon:"user-plus",title:s("Recruitment & Onboarding"),description:s("Streamline hiring with applicant tracking and digital onboarding.")},{icon:"award",title:s("Performance Management"),description:s("Set goals, run evaluations, and track employee growth.")},{icon:"bar-chart-2",title:s("Reports & Analytics"),description:s("Get actionable insights on workforce productivity and HR metrics.")}],p=a.features_list&&a.features_list.length>0?a.features_list:f;return e.jsx("section",{id:"features",className:"py-12 sm:py-16 lg:py-20",style:{backgroundColor:y},ref:u,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:a.title||s("Empowering Businesses with Smart HR Solutions")}),e.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:a.description||s("All-in-one platform to manage employees, payroll, attendance, and performance with ease. Built for professionals who value efficiency and innovation.")})]}),h&&e.jsx("div",{className:"mb-8 sm:mb-12 text-center",children:e.jsx("img",{src:h,alt:"Features",className:"max-w-full h-auto rounded-xl shadow-lg mx-auto"})}),d==="grid"&&e.jsx("div",{className:`grid grid-cols-1 ${o>=2?"sm:grid-cols-2":""} ${o>=3?"lg:grid-cols-3":""} ${o>=4?"xl:grid-cols-4":""} gap-6 sm:gap-8 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:p.map((t,i)=>{const l=x[t.icon]||c;return e.jsxs("div",{className:"bg-white p-8 rounded-xl border border-gray-200 hover:border-gray-300 hover:shadow-lg transition-all duration-200",children:[m&&e.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center mb-6",style:{backgroundColor:`${r}15`},children:e.jsx(l,{className:"w-6 h-6",style:{color:r}})}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:t.title}),e.jsx("p",{className:"text-gray-600 leading-relaxed",children:t.description})]},i)})}),d==="list"&&e.jsx("div",{className:`space-y-4 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:p.map((t,i)=>{const l=x[t.icon]||c;return e.jsxs("div",{className:"bg-white p-6 rounded-xl border border-gray-200 hover:border-gray-300 hover:shadow-md transition-all duration-200 flex items-start gap-5",children:[m&&e.jsx("div",{className:"w-12 h-12 rounded-lg flex-shrink-0 flex items-center justify-center",style:{backgroundColor:`${r}15`},children:e.jsx(l,{className:"w-6 h-6",style:{color:r}})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-1",children:t.title}),e.jsx("p",{className:"text-gray-600 leading-relaxed",children:t.description})]})]},i)})}),d==="cards"&&e.jsx("div",{className:`grid grid-cols-1 ${o>=2?"sm:grid-cols-2":""} ${o>=3?"lg:grid-cols-3":""} ${o>=4?"xl:grid-cols-4":""} gap-6 sm:gap-8 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:p.map((t,i)=>{const l=x[t.icon]||c;return e.jsxs("div",{className:"bg-white rounded-xl shadow-md hover:shadow-xl transition-all duration-200 overflow-hidden",children:[e.jsx("div",{className:"h-2 w-full",style:{backgroundColor:r}}),e.jsxs("div",{className:"p-6",children:[m&&e.jsx("div",{className:"w-14 h-14 rounded-full flex items-center justify-center mb-4",style:{backgroundColor:`${r}15`},children:e.jsx(l,{className:"w-7 h-7",style:{color:r}})}),e.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:t.title}),e.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:t.description})]})]},i)})}),d==="alternating"&&e.jsx("div",{className:`space-y-6 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:p.map((t,i)=>{const l=x[t.icon]||c,g=i%2===0;return e.jsxs("div",{className:`flex flex-col lg:flex-row items-center gap-6 bg-white/15 backdrop-blur-sm border border-white/25 rounded-2xl p-6 hover:bg-white/25 transition-all duration-200 ${g?"":"lg:flex-row-reverse"}`,children:[m&&e.jsx("div",{className:"flex-shrink-0 w-16 h-16 rounded-xl flex items-center justify-center shadow-md",style:{backgroundColor:r},children:e.jsx(l,{className:"w-8 h-8 text-white"})}),e.jsxs("div",{className:`flex-1 ${g?"":"lg:text-right"}`,children:[e.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:t.title}),e.jsx("p",{className:"text-white/80 leading-relaxed",children:t.description})]})]},i)})})]})})}export{ie as default}; diff --git a/public/build/assets/Footer-EjF7VPLK.js b/public/build/assets/Footer-CzBrdWfY.js similarity index 95% rename from public/build/assets/Footer-EjF7VPLK.js rename to public/build/assets/Footer-CzBrdWfY.js index b77a10d9c..dc4845bda 100644 --- a/public/build/assets/Footer-EjF7VPLK.js +++ b/public/build/assets/Footer-CzBrdWfY.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as L,c as F,b as T,d as C,g as k,t as n}from"./app-CfhhiFAk.js";import{M as I}from"./mail-CGIE7ZEy.js";import{P as M}from"./phone-B_MwJBjY.js";import{M as E}from"./map-pin-BEMjKB1T.js";import{I as R,F as u}from"./instagram-BINpUnZv.js";import{L as S,T as A}from"./twitter-C171Pyox.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function K({settings:i,sectionData:l={},brandColor:g="#3b82f6"}){var x,h,p,f;const{t:r}=L(),{globalSettings:t}=F().props,y=new Date().getFullYear();t!=null&&t.themeMode;const j=(t==null?void 0:t.logoLight)||"logo/logo-light.png";t!=null&&t.logoDark;const{data:b,setData:N,post:w,processing:o,errors:m,reset:v}=T({email:""}),_=s=>{s.preventDefault(),n.loading(r("Subscribing to newsletter...")),w(route("landing-page.subscribe"),{onSuccess:a=>{v(),n.dismiss(),a.props.flash.success?n.success(r(a.props.flash.success)):a.props.flash.error&&n.error(r(a.props.flash.error))},onError:a=>{n.dismiss(),typeof a=="string"?n.error(r(a)):n.error(r("Failed to subscribe: {{errors}}",{errors:Object.values(a).join(", ")}))}})},c=l.links||{product:[{name:"Features",href:"#features"},{name:"Pricing",href:"#pricing"},{name:"Templates",href:"#"},{name:"Integrations",href:"#"}],company:[{name:"About Us",href:"#about"},{name:"Careers",href:"#"},{name:"Press",href:"#"},{name:"Contact",href:"#contact"}],support:[{name:"Help Center",href:"#"},{name:"Documentation",href:"#"},{name:"API Reference",href:"#"},{name:"Status",href:"#"}],legal:[{name:"Privacy Policy",href:"#"},{name:"Terms of Service",href:"#"},{name:"Cookie Policy",href:"#"},{name:"GDPR",href:"#"}]},P={Facebook:u,Twitter:A,Linkedin:S,Instagram:R},d=l.social_links||[{name:"Facebook",icon:"Facebook",href:"#"},{name:"Twitter",icon:"Twitter",href:"#"},{name:"LinkedIn",icon:"LinkedIn",href:"#"}];return e.jsx("footer",{className:"bg-gray-900 text-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsx("div",{className:"py-12 sm:py-16",children:e.jsxs("div",{className:"grid lg:grid-cols-6 gap-8 sm:gap-12",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs(C,{href:"/",className:"flex items-center mb-6 hover:opacity-80 transition-opacity",children:[e.jsx("img",{src:k(j),alt:i.company_name,className:"h-8 w-auto",onError:s=>{var a;s.currentTarget.style.display="none",(a=s.currentTarget.nextElementSibling)==null||a.classList.remove("hidden")}}),e.jsx("span",{className:"hidden text-2xl font-bold text-white",children:i.company_name})]}),e.jsx("p",{className:"text-gray-400 mb-8 leading-relaxed",children:l.description||r("Simplifying HR management with an all-in-one modern platform. Connect, share, and grow your network effortlessly.")}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(I,{className:"w-4 h-4 text-gray-400"}),e.jsx("span",{className:"text-gray-400 text-sm",children:i.contact_email})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(M,{className:"w-4 h-4 text-gray-400"}),e.jsx("span",{className:"text-gray-400 text-sm",children:i.contact_phone})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(E,{className:"w-4 h-4 text-gray-400"}),e.jsx("span",{className:"text-gray-400 text-sm",children:i.contact_address})]})]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold mb-4",children:((x=l.section_titles)==null?void 0:x.product)||r("Product")}),e.jsx("ul",{className:"space-y-3",children:(c.product||[]).map(s=>e.jsx("li",{children:e.jsx("a",{href:s.href,className:"text-gray-400 hover:text-white transition-colors text-sm",children:s.name})},s.name))})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold mb-4",children:((h=l.section_titles)==null?void 0:h.company)||r("Company")}),e.jsx("ul",{className:"space-y-3",children:(c.company||[]).map(s=>e.jsx("li",{children:e.jsx("a",{href:s.href,className:"text-gray-400 hover:text-white transition-colors text-sm",children:s.name})},s.name))})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold mb-4",children:((p=l.section_titles)==null?void 0:p.support)||r("Support")}),e.jsx("ul",{className:"space-y-3",children:(c.support||[]).map(s=>e.jsx("li",{children:e.jsx("a",{href:s.href,className:"text-gray-400 hover:text-white transition-colors text-sm",children:s.name})},s.name))})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold mb-4",children:((f=l.section_titles)==null?void 0:f.legal)||r("Legal")}),e.jsx("ul",{className:"space-y-3",children:(c.legal||[]).map(s=>e.jsx("li",{children:e.jsx("a",{href:s.href,className:"text-gray-400 hover:text-white transition-colors text-sm",children:s.name})},s.name))})]})]})}),(l.newsletter_title||l.newsletter_subtitle)&&e.jsx("div",{className:"border-t border-gray-800 py-8 sm:py-12",children:e.jsxs("div",{className:"text-center max-w-2xl mx-auto",children:[e.jsx("h3",{className:"text-xl font-bold text-white mb-4",children:l.newsletter_title||r("Stay Updated with Our Latest Features")}),e.jsx("p",{className:"text-gray-400 mb-6",children:l.newsletter_subtitle||r("Join our newsletter for HR tips and product updates")}),e.jsxs("form",{onSubmit:_,className:"flex flex-col sm:flex-row gap-4 max-w-md mx-auto",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("input",{type:"email",value:b.email,onChange:s=>N("email",s.target.value),placeholder:r("Enter your email"),className:"w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg text-white placeholder-gray-400 focus:ring-2 focus:ring-gray-600 focus:border-gray-600 disabled:opacity-50 disabled:cursor-not-allowed",required:!0,disabled:o}),m.email&&e.jsx("p",{className:"text-red-400 text-sm mt-1",children:m.email})]}),e.jsxs("button",{type:"submit",disabled:o,className:"cursor-pointer text-white px-6 py-3 rounded-lg transition-colors font-semibold disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 min-w-[120px]",style:{backgroundColor:g},children:[o&&e.jsx("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),r(o?"Subscribing...":"Subscribe")]})]})]})}),e.jsx("div",{className:"border-t border-gray-800 py-4 sm:py-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-3 sm:gap-4",children:[e.jsx("div",{className:"text-gray-400 text-sm",children:(t==null?void 0:t.footerText)||`© ${y} ${i.company_name}. ${r("All rights reserved.")}.`}),d.length>0&&e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("span",{className:"text-gray-400 text-sm",children:r("Follow us:")}),e.jsx("div",{className:"flex gap-3",children:d.map(s=>{const a=P[s.icon]||u;return e.jsx("a",{href:s.href,className:"w-8 h-8 bg-gray-800 rounded-lg flex items-center justify-center hover:bg-gray-700 transition-colors","aria-label":s.name,children:e.jsx(a,{className:"w-4 h-4 text-gray-400"})},s.name)})})]})]})})]})})}export{K as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as L,c as F,b as T,d as C,g as k,t as n}from"./app-Dya84jp7.js";import{M as I}from"./mail-Cha_PX4q.js";import{P as M}from"./phone-3MnRoAYu.js";import{M as E}from"./map-pin-DFWKFR9c.js";import{I as R,F as u}from"./instagram-hxbchcd2.js";import{L as S,T as A}from"./twitter-DZQVDI4Y.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function K({settings:i,sectionData:l={},brandColor:g="#3b82f6"}){var x,h,p,f;const{t:r}=L(),{globalSettings:t}=F().props,y=new Date().getFullYear();t!=null&&t.themeMode;const j=(t==null?void 0:t.logoLight)||"logo/logo-light.png";t!=null&&t.logoDark;const{data:b,setData:N,post:w,processing:o,errors:m,reset:v}=T({email:""}),_=s=>{s.preventDefault(),n.loading(r("Subscribing to newsletter...")),w(route("landing-page.subscribe"),{onSuccess:a=>{v(),n.dismiss(),a.props.flash.success?n.success(r(a.props.flash.success)):a.props.flash.error&&n.error(r(a.props.flash.error))},onError:a=>{n.dismiss(),typeof a=="string"?n.error(r(a)):n.error(r("Failed to subscribe: {{errors}}",{errors:Object.values(a).join(", ")}))}})},c=l.links||{product:[{name:"Features",href:"#features"},{name:"Pricing",href:"#pricing"},{name:"Templates",href:"#"},{name:"Integrations",href:"#"}],company:[{name:"About Us",href:"#about"},{name:"Careers",href:"#"},{name:"Press",href:"#"},{name:"Contact",href:"#contact"}],support:[{name:"Help Center",href:"#"},{name:"Documentation",href:"#"},{name:"API Reference",href:"#"},{name:"Status",href:"#"}],legal:[{name:"Privacy Policy",href:"#"},{name:"Terms of Service",href:"#"},{name:"Cookie Policy",href:"#"},{name:"GDPR",href:"#"}]},P={Facebook:u,Twitter:A,Linkedin:S,Instagram:R},d=l.social_links||[{name:"Facebook",icon:"Facebook",href:"#"},{name:"Twitter",icon:"Twitter",href:"#"},{name:"LinkedIn",icon:"LinkedIn",href:"#"}];return e.jsx("footer",{className:"bg-gray-900 text-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsx("div",{className:"py-12 sm:py-16",children:e.jsxs("div",{className:"grid lg:grid-cols-6 gap-8 sm:gap-12",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs(C,{href:"/",className:"flex items-center mb-6 hover:opacity-80 transition-opacity",children:[e.jsx("img",{src:k(j),alt:i.company_name,className:"h-8 w-auto",onError:s=>{var a;s.currentTarget.style.display="none",(a=s.currentTarget.nextElementSibling)==null||a.classList.remove("hidden")}}),e.jsx("span",{className:"hidden text-2xl font-bold text-white",children:i.company_name})]}),e.jsx("p",{className:"text-gray-400 mb-8 leading-relaxed",children:l.description||r("Simplifying HR management with an all-in-one modern platform. Connect, share, and grow your network effortlessly.")}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(I,{className:"w-4 h-4 text-gray-400"}),e.jsx("span",{className:"text-gray-400 text-sm",children:i.contact_email})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(M,{className:"w-4 h-4 text-gray-400"}),e.jsx("span",{className:"text-gray-400 text-sm",children:i.contact_phone})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(E,{className:"w-4 h-4 text-gray-400"}),e.jsx("span",{className:"text-gray-400 text-sm",children:i.contact_address})]})]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold mb-4",children:((x=l.section_titles)==null?void 0:x.product)||r("Product")}),e.jsx("ul",{className:"space-y-3",children:(c.product||[]).map(s=>e.jsx("li",{children:e.jsx("a",{href:s.href,className:"text-gray-400 hover:text-white transition-colors text-sm",children:s.name})},s.name))})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold mb-4",children:((h=l.section_titles)==null?void 0:h.company)||r("Company")}),e.jsx("ul",{className:"space-y-3",children:(c.company||[]).map(s=>e.jsx("li",{children:e.jsx("a",{href:s.href,className:"text-gray-400 hover:text-white transition-colors text-sm",children:s.name})},s.name))})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold mb-4",children:((p=l.section_titles)==null?void 0:p.support)||r("Support")}),e.jsx("ul",{className:"space-y-3",children:(c.support||[]).map(s=>e.jsx("li",{children:e.jsx("a",{href:s.href,className:"text-gray-400 hover:text-white transition-colors text-sm",children:s.name})},s.name))})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold mb-4",children:((f=l.section_titles)==null?void 0:f.legal)||r("Legal")}),e.jsx("ul",{className:"space-y-3",children:(c.legal||[]).map(s=>e.jsx("li",{children:e.jsx("a",{href:s.href,className:"text-gray-400 hover:text-white transition-colors text-sm",children:s.name})},s.name))})]})]})}),(l.newsletter_title||l.newsletter_subtitle)&&e.jsx("div",{className:"border-t border-gray-800 py-8 sm:py-12",children:e.jsxs("div",{className:"text-center max-w-2xl mx-auto",children:[e.jsx("h3",{className:"text-xl font-bold text-white mb-4",children:l.newsletter_title||r("Stay Updated with Our Latest Features")}),e.jsx("p",{className:"text-gray-400 mb-6",children:l.newsletter_subtitle||r("Join our newsletter for HR tips and product updates")}),e.jsxs("form",{onSubmit:_,className:"flex flex-col sm:flex-row gap-4 max-w-md mx-auto",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("input",{type:"email",value:b.email,onChange:s=>N("email",s.target.value),placeholder:r("Enter your email"),className:"w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg text-white placeholder-gray-400 focus:ring-2 focus:ring-gray-600 focus:border-gray-600 disabled:opacity-50 disabled:cursor-not-allowed",required:!0,disabled:o}),m.email&&e.jsx("p",{className:"text-red-400 text-sm mt-1",children:m.email})]}),e.jsxs("button",{type:"submit",disabled:o,className:"cursor-pointer text-white px-6 py-3 rounded-lg transition-colors font-semibold disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 min-w-[120px]",style:{backgroundColor:g},children:[o&&e.jsx("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),r(o?"Subscribing...":"Subscribe")]})]})]})}),e.jsx("div",{className:"border-t border-gray-800 py-4 sm:py-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-3 sm:gap-4",children:[e.jsx("div",{className:"text-gray-400 text-sm",children:(t==null?void 0:t.footerText)||`© ${y} ${i.company_name}. ${r("All rights reserved.")}.`}),d.length>0&&e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("span",{className:"text-gray-400 text-sm",children:r("Follow us:")}),e.jsx("div",{className:"flex gap-3",children:d.map(s=>{const a=P[s.icon]||u;return e.jsx("a",{href:s.href,className:"w-8 h-8 bg-gray-800 rounded-lg flex items-center justify-center hover:bg-gray-700 transition-colors","aria-label":s.name,children:e.jsx(a,{className:"w-4 h-4 text-gray-400"})},s.name)})})]})]})})]})})}export{K as default}; diff --git a/public/build/assets/Header-DgbIWCbH.js b/public/build/assets/Header-CPmg6Bp5.js similarity index 97% rename from public/build/assets/Header-DgbIWCbH.js rename to public/build/assets/Header-CPmg6Bp5.js index 222b8df16..7285ce241 100644 --- a/public/build/assets/Header-DgbIWCbH.js +++ b/public/build/assets/Header-CPmg6Bp5.js @@ -1 +1 @@ -import{r as b,j as r}from"./ui-Z445SNHD.js";import{u as C,c as H,O as I,Q as z,d as a,g as F,i as N,X as G}from"./app-CfhhiFAk.js";import{M as P}from"./menu-Ce4PLUkG.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function q({settings:y,sectionData:s,customPages:w=[],brandColor:t="#3b82f6"}){var M;const{t:i}=C(),[u,h]=b.useState(!1),[p,T]=b.useState(!1),{props:g}=H(),j=(M=g.globalSettings)==null?void 0:M.is_saas,d=g.auth,x=g.globalSettings||{},E=I(g),L=x.logoLight||"logo/logo-light.png",S=x.logoDark||"logo/logo-dark.png";let m="light";if(E){const e=z("themeSettings");if(e)try{m=JSON.parse(e).appearance||"light"}catch{m="light"}}else m=x.themeMode||"light";const c=m==="dark";b.useEffect(()=>{const e=()=>{T(window.scrollY>20)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);const v=w.map(e=>({name:e.title,href:route("custom-page.show",e.slug)})),f=s==null?void 0:s.transparent,k=(s==null?void 0:s.background_color)||"#ffffff",O=(s==null?void 0:s.button_style)||"filled",o=(s==null?void 0:s.text_color)||""||(c?"#d1d5db":"#4b5563"),l=e=>O==="outline"?e?{backgroundColor:t,color:"white",borderColor:t}:{backgroundColor:"transparent",color:t,borderColor:t}:e?{backgroundColor:"white",color:t,borderColor:t}:{backgroundColor:t,color:"white",borderColor:t},$=()=>f?p?`bg-white/95 ${c?"dark:bg-gray-900/95":""} backdrop-blur-xl shadow-lg border-b border-gray-200/50 ${c?"dark:border-gray-700/50":""}`:"bg-transparent":p?`shadow-lg border-b border-gray-200/50 ${c?"dark:border-gray-700/50":""}`:"",_=()=>f?{}:{backgroundColor:k};return r.jsx("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${$()}`,style:_(),children:r.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[r.jsxs("div",{className:"flex justify-between items-center h-16",children:[r.jsx("div",{className:"flex-shrink-0",children:r.jsxs(a,{href:route("home"),className:"flex items-center",children:[r.jsx("img",{src:F(c?L:S),alt:y.company_name,className:"h-8 w-auto",onError:e=>{var n;e.currentTarget.style.display="none",(n=e.currentTarget.nextElementSibling)==null||n.classList.remove("hidden")}}),r.jsx("span",{className:`hidden text-2xl font-bold ${c?"text-white":"text-gray-900"} transition-colors`,children:y.company_name})]})}),r.jsxs("nav",{className:"hidden md:flex items-center space-x-8",role:"navigation","aria-label":"Main navigation",children:[r.jsxs(a,{href:route("home"),className:"text-sm font-medium transition-colors relative group",style:{color:o},onMouseEnter:e=>e.currentTarget.style.color=t,onMouseLeave:e=>e.currentTarget.style.color=o,children:[i("Home"),r.jsx("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 transition-all group-hover:w-full",style:{backgroundColor:t},"aria-hidden":"true"})]}),v.map(e=>r.jsxs(a,{href:e.href,className:"text-sm font-medium transition-colors relative group",style:{color:o},onMouseEnter:n=>n.currentTarget.style.color=t,onMouseLeave:n=>n.currentTarget.style.color=o,children:[e.name,r.jsx("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 transition-all group-hover:w-full",style:{backgroundColor:t},"aria-hidden":"true"})]},e.name))]}),r.jsx("div",{className:"hidden md:flex items-center gap-4",children:d!=null&&d.user?r.jsx(a,{href:route("dashboard"),className:"px-6 py-2.5 rounded-lg text-sm font-semibold transition-colors border",style:l(!1),onMouseEnter:e=>Object.assign(e.currentTarget.style,l(!0)),onMouseLeave:e=>Object.assign(e.currentTarget.style,l(!1)),children:i("Dashboard")}):r.jsxs(r.Fragment,{children:[r.jsx(a,{href:route("login"),className:"text-sm font-medium transition-colors",style:{color:o},onMouseEnter:e=>e.currentTarget.style.color=t,onMouseLeave:e=>e.currentTarget.style.color=o,children:i("Login")}),j&&N()&&r.jsx(a,{href:route("register"),className:"px-6 py-2.5 rounded-lg text-sm font-semibold transition-colors border",style:l(!1),onMouseEnter:e=>Object.assign(e.currentTarget.style,l(!0)),onMouseLeave:e=>Object.assign(e.currentTarget.style,l(!1)),children:i("Get Started")})]})}),r.jsx("div",{className:"md:hidden",children:r.jsx("button",{onClick:()=>h(!u),className:`p-2 ${c?"text-gray-300 hover:text-white hover:bg-gray-800":"text-gray-600 hover:text-gray-900 hover:bg-gray-100"} rounded-lg transition-colors`,"aria-label":u?"Close navigation menu":"Open navigation menu","aria-expanded":u,"aria-controls":"mobile-menu",children:u?r.jsx(G,{size:20}):r.jsx(P,{size:20})})})]}),u&&r.jsx("div",{className:`md:hidden border-t ${c?"border-gray-700":"border-gray-200"}`,id:"mobile-menu",children:r.jsxs("div",{className:`px-4 py-6 space-y-4 ${c?"bg-gray-900":"bg-white"}`,style:f?{}:{backgroundColor:k},children:[r.jsx(a,{href:route("home"),className:"block text-base font-medium transition-colors",style:{color:o},onClick:()=>h(!1),onMouseEnter:e=>e.currentTarget.style.color=t,onMouseLeave:e=>e.currentTarget.style.color=o,children:i("Home")}),v.map(e=>r.jsx(a,{href:e.href,className:"block text-base font-medium transition-colors",style:{color:o},onClick:()=>h(!1),onMouseEnter:n=>n.currentTarget.style.color=t,onMouseLeave:n=>n.currentTarget.style.color=o,children:e.name},e.name)),r.jsx("div",{className:`pt-4 space-y-3 border-t ${c?"border-gray-700":"border-gray-200"}`,children:d!=null&&d.user?r.jsx(a,{href:route("dashboard"),className:"block w-full text-center py-2.5 rounded-lg text-sm font-semibold transition-colors border",style:l(!1),onMouseEnter:e=>Object.assign(e.currentTarget.style,l(!0)),onMouseLeave:e=>Object.assign(e.currentTarget.style,l(!1)),children:i("Dashboard")}):r.jsxs(r.Fragment,{children:[r.jsx(a,{href:route("login"),className:"block w-full text-center py-2.5 text-sm font-medium transition-colors",style:{color:o},onMouseEnter:e=>e.currentTarget.style.color=t,onMouseLeave:e=>e.currentTarget.style.color=o,children:i("Login")}),j&&N()&&r.jsx(a,{href:route("register"),className:"block w-full text-center py-2.5 rounded-lg text-sm font-semibold transition-colors border",style:l(!1),onMouseEnter:e=>Object.assign(e.currentTarget.style,l(!0)),onMouseLeave:e=>Object.assign(e.currentTarget.style,l(!1)),children:i("Get Started")})]})})]})})]})})}export{q as default}; +import{r as b,j as r}from"./ui-Z445SNHD.js";import{u as C,c as H,O as I,Q as z,d as a,g as F,i as N,X as G}from"./app-Dya84jp7.js";import{M as P}from"./menu-GuULvnRC.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function q({settings:y,sectionData:s,customPages:w=[],brandColor:t="#3b82f6"}){var M;const{t:i}=C(),[u,h]=b.useState(!1),[p,T]=b.useState(!1),{props:g}=H(),j=(M=g.globalSettings)==null?void 0:M.is_saas,d=g.auth,x=g.globalSettings||{},E=I(g),L=x.logoLight||"logo/logo-light.png",S=x.logoDark||"logo/logo-dark.png";let m="light";if(E){const e=z("themeSettings");if(e)try{m=JSON.parse(e).appearance||"light"}catch{m="light"}}else m=x.themeMode||"light";const c=m==="dark";b.useEffect(()=>{const e=()=>{T(window.scrollY>20)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);const v=w.map(e=>({name:e.title,href:route("custom-page.show",e.slug)})),f=s==null?void 0:s.transparent,k=(s==null?void 0:s.background_color)||"#ffffff",O=(s==null?void 0:s.button_style)||"filled",o=(s==null?void 0:s.text_color)||""||(c?"#d1d5db":"#4b5563"),l=e=>O==="outline"?e?{backgroundColor:t,color:"white",borderColor:t}:{backgroundColor:"transparent",color:t,borderColor:t}:e?{backgroundColor:"white",color:t,borderColor:t}:{backgroundColor:t,color:"white",borderColor:t},$=()=>f?p?`bg-white/95 ${c?"dark:bg-gray-900/95":""} backdrop-blur-xl shadow-lg border-b border-gray-200/50 ${c?"dark:border-gray-700/50":""}`:"bg-transparent":p?`shadow-lg border-b border-gray-200/50 ${c?"dark:border-gray-700/50":""}`:"",_=()=>f?{}:{backgroundColor:k};return r.jsx("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${$()}`,style:_(),children:r.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[r.jsxs("div",{className:"flex justify-between items-center h-16",children:[r.jsx("div",{className:"flex-shrink-0",children:r.jsxs(a,{href:route("home"),className:"flex items-center",children:[r.jsx("img",{src:F(c?L:S),alt:y.company_name,className:"h-8 w-auto",onError:e=>{var n;e.currentTarget.style.display="none",(n=e.currentTarget.nextElementSibling)==null||n.classList.remove("hidden")}}),r.jsx("span",{className:`hidden text-2xl font-bold ${c?"text-white":"text-gray-900"} transition-colors`,children:y.company_name})]})}),r.jsxs("nav",{className:"hidden md:flex items-center space-x-8",role:"navigation","aria-label":"Main navigation",children:[r.jsxs(a,{href:route("home"),className:"text-sm font-medium transition-colors relative group",style:{color:o},onMouseEnter:e=>e.currentTarget.style.color=t,onMouseLeave:e=>e.currentTarget.style.color=o,children:[i("Home"),r.jsx("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 transition-all group-hover:w-full",style:{backgroundColor:t},"aria-hidden":"true"})]}),v.map(e=>r.jsxs(a,{href:e.href,className:"text-sm font-medium transition-colors relative group",style:{color:o},onMouseEnter:n=>n.currentTarget.style.color=t,onMouseLeave:n=>n.currentTarget.style.color=o,children:[e.name,r.jsx("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 transition-all group-hover:w-full",style:{backgroundColor:t},"aria-hidden":"true"})]},e.name))]}),r.jsx("div",{className:"hidden md:flex items-center gap-4",children:d!=null&&d.user?r.jsx(a,{href:route("dashboard"),className:"px-6 py-2.5 rounded-lg text-sm font-semibold transition-colors border",style:l(!1),onMouseEnter:e=>Object.assign(e.currentTarget.style,l(!0)),onMouseLeave:e=>Object.assign(e.currentTarget.style,l(!1)),children:i("Dashboard")}):r.jsxs(r.Fragment,{children:[r.jsx(a,{href:route("login"),className:"text-sm font-medium transition-colors",style:{color:o},onMouseEnter:e=>e.currentTarget.style.color=t,onMouseLeave:e=>e.currentTarget.style.color=o,children:i("Login")}),j&&N()&&r.jsx(a,{href:route("register"),className:"px-6 py-2.5 rounded-lg text-sm font-semibold transition-colors border",style:l(!1),onMouseEnter:e=>Object.assign(e.currentTarget.style,l(!0)),onMouseLeave:e=>Object.assign(e.currentTarget.style,l(!1)),children:i("Get Started")})]})}),r.jsx("div",{className:"md:hidden",children:r.jsx("button",{onClick:()=>h(!u),className:`p-2 ${c?"text-gray-300 hover:text-white hover:bg-gray-800":"text-gray-600 hover:text-gray-900 hover:bg-gray-100"} rounded-lg transition-colors`,"aria-label":u?"Close navigation menu":"Open navigation menu","aria-expanded":u,"aria-controls":"mobile-menu",children:u?r.jsx(G,{size:20}):r.jsx(P,{size:20})})})]}),u&&r.jsx("div",{className:`md:hidden border-t ${c?"border-gray-700":"border-gray-200"}`,id:"mobile-menu",children:r.jsxs("div",{className:`px-4 py-6 space-y-4 ${c?"bg-gray-900":"bg-white"}`,style:f?{}:{backgroundColor:k},children:[r.jsx(a,{href:route("home"),className:"block text-base font-medium transition-colors",style:{color:o},onClick:()=>h(!1),onMouseEnter:e=>e.currentTarget.style.color=t,onMouseLeave:e=>e.currentTarget.style.color=o,children:i("Home")}),v.map(e=>r.jsx(a,{href:e.href,className:"block text-base font-medium transition-colors",style:{color:o},onClick:()=>h(!1),onMouseEnter:n=>n.currentTarget.style.color=t,onMouseLeave:n=>n.currentTarget.style.color=o,children:e.name},e.name)),r.jsx("div",{className:`pt-4 space-y-3 border-t ${c?"border-gray-700":"border-gray-200"}`,children:d!=null&&d.user?r.jsx(a,{href:route("dashboard"),className:"block w-full text-center py-2.5 rounded-lg text-sm font-semibold transition-colors border",style:l(!1),onMouseEnter:e=>Object.assign(e.currentTarget.style,l(!0)),onMouseLeave:e=>Object.assign(e.currentTarget.style,l(!1)),children:i("Dashboard")}):r.jsxs(r.Fragment,{children:[r.jsx(a,{href:route("login"),className:"block w-full text-center py-2.5 text-sm font-medium transition-colors",style:{color:o},onMouseEnter:e=>e.currentTarget.style.color=t,onMouseLeave:e=>e.currentTarget.style.color=o,children:i("Login")}),j&&N()&&r.jsx(a,{href:route("register"),className:"block w-full text-center py-2.5 rounded-lg text-sm font-semibold transition-colors border",style:l(!1),onMouseEnter:e=>Object.assign(e.currentTarget.style,l(!0)),onMouseLeave:e=>Object.assign(e.currentTarget.style,l(!1)),children:i("Get Started")})]})})]})})]})})}export{q as default}; diff --git a/public/build/assets/HeroSection-DDk-8ZQO.js b/public/build/assets/HeroSection-Z2S1x8Si.js similarity index 96% rename from public/build/assets/HeroSection-DDk-8ZQO.js rename to public/build/assets/HeroSection-Z2S1x8Si.js index 89e0b6950..e40a118e3 100644 --- a/public/build/assets/HeroSection-DDk-8ZQO.js +++ b/public/build/assets/HeroSection-Z2S1x8Si.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as $,c as M,O as R,Q as P,i as T,d as j,g as z}from"./app-CfhhiFAk.js";import{A as H}from"./arrow-right-0WTHrq3r.js";import{P as I}from"./play-C-QVLyAb.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function J({settings:L,sectionData:t,brandColor:r="#3b82f6"}){const{t:i}=$(),{globalSettings:l}=M().props,v=l==null?void 0:l.is_saas,w=R();let n="light";if(w){const s=P("themeSettings");if(s)try{n=JSON.parse(s).appearance||"light"}catch{n="light"}}else n=(l==null?void 0:l.themeMode)||"light";const m=n==="dark",N=t.background_color||(m?"#111827":"#f9fafb"),x=t.text_color||(m?"#ffffff":"#111827"),f=t.text_color||(m?"#d1d5db":"#4b5563"),k=t.height?`${t.height}px`:"100vh",o=t.layout||"image-right",h=t.overlay===!0,p=t.overlay_color||"rgba(0,0,0,0.45)",a=t.image_position||"center",y=s=>s?s.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${s}`:z(s):null,g=y(t.image),u=y(l!=null&&l.is_saas?"/screenshots/saas/hero-default.png":"/screenshots/non-saas/hero-default.png"),c=e.jsxs("div",{className:`space-y-6 sm:space-y-8 ${o==="centered"||o==="full-width"?"text-center":"text-center lg:text-left"}`,children:[t.announcement_text&&e.jsx("div",{className:"inline-flex items-center px-4 py-2 rounded-full text-sm font-medium border",style:{borderColor:r,color:r,backgroundColor:`${r}15`},children:t.announcement_text}),e.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold leading-tight",style:{color:x},role:"banner","aria-label":"Main heading",children:t.title||i("Create Your Digital Business Card")}),e.jsx("p",{className:`text-lg md:text-xl leading-relaxed font-medium ${o==="centered"||o==="full-width"?"mx-auto max-w-2xl":"max-w-2xl"}`,style:{color:f,opacity:.85},children:t.subtitle||i("Manage employees, payroll, attendance, and more in one powerful platform.")}),e.jsxs("div",{className:`flex flex-col sm:flex-row gap-3 sm:gap-4 ${o==="centered"||o==="full-width"?"justify-center":"justify-center lg:justify-start"}`,children:[v&&T()&&e.jsxs(j,{href:route("register"),className:"px-8 py-4 rounded-lg transition-all font-semibold text-base flex items-center justify-center gap-2 border",style:{backgroundColor:r,color:"white",borderColor:r},onMouseEnter:s=>{s.currentTarget.style.backgroundColor="white",s.currentTarget.style.color=r},onMouseLeave:s=>{s.currentTarget.style.backgroundColor=r,s.currentTarget.style.color="white"},"aria-label":"Start free trial - Register for HRM",children:[t.primary_button_text||i("Start Free Trial"),e.jsx(H,{size:18})]}),e.jsxs(j,{href:route("login"),className:"border px-8 py-4 rounded-lg transition-colors font-semibold text-base flex items-center justify-center gap-2 hover:bg-white/10",style:{borderColor:r,color:r},"aria-label":"Login to existing HRM account",children:[e.jsx(I,{size:18}),t.secondary_button_text||i("Login")]})]}),t.stats&&t.stats.length>0&&e.jsx("div",{className:`grid grid-cols-3 gap-4 sm:gap-6 lg:gap-8 pt-8 sm:pt-12 ${o==="centered"||o==="full-width"?"max-w-lg mx-auto":""}`,children:t.stats.map((s,b)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl md:text-4xl font-bold",style:{color:x},children:s.value}),e.jsx("div",{className:"text-sm font-medium",style:{color:f,opacity:.8},children:s.label})]},b))})]}),_=a==="left"?"mr-auto":a==="right"?"ml-auto":"mx-auto",d=a==="background"?null:e.jsxs("div",{className:`relative ${_}`,children:[e.jsx("img",{src:g||u,alt:"Hero",className:"w-full h-auto rounded-2xl shadow-xl"}),e.jsx("div",{className:"absolute -top-4 -right-4 w-16 h-16 bg-gray-200 rounded-full opacity-50"}),e.jsx("div",{className:"absolute -bottom-4 -left-4 w-12 h-12 bg-gray-300 rounded-full opacity-40"})]}),C=()=>{switch(o){case"centered":return e.jsxs("div",{className:"flex flex-col items-center gap-10",children:[c,e.jsx("div",{className:"w-full max-w-3xl",children:d})]});case"full-width":return e.jsxs("div",{className:"flex flex-col gap-10",children:[c,e.jsx("div",{className:"w-full",children:d})]});case"image-left":return e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[d,c]});case"image-right":default:return e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[c,d]})}};return e.jsxs("section",{id:"hero",className:"pt-16 flex items-center relative",style:{backgroundColor:h?p:N,minHeight:k,...a==="background"&&(g||u)?{backgroundImage:`url(${g||u})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:{}},children:[h&&a==="background"&&e.jsx("div",{className:"absolute inset-0 z-0",style:{backgroundColor:p}}),e.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 sm:py-16 lg:py-20 w-full",children:C()})]})}export{J as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as $,c as M,O as R,Q as P,i as T,d as j,g as z}from"./app-Dya84jp7.js";import{A as H}from"./arrow-right-BHW--AGU.js";import{P as I}from"./play-BxVAbvyQ.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function J({settings:L,sectionData:t,brandColor:r="#3b82f6"}){const{t:i}=$(),{globalSettings:l}=M().props,v=l==null?void 0:l.is_saas,w=R();let n="light";if(w){const s=P("themeSettings");if(s)try{n=JSON.parse(s).appearance||"light"}catch{n="light"}}else n=(l==null?void 0:l.themeMode)||"light";const m=n==="dark",N=t.background_color||(m?"#111827":"#f9fafb"),x=t.text_color||(m?"#ffffff":"#111827"),f=t.text_color||(m?"#d1d5db":"#4b5563"),k=t.height?`${t.height}px`:"100vh",o=t.layout||"image-right",h=t.overlay===!0,p=t.overlay_color||"rgba(0,0,0,0.45)",a=t.image_position||"center",y=s=>s?s.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${s}`:z(s):null,g=y(t.image),u=y(l!=null&&l.is_saas?"/screenshots/saas/hero-default.png":"/screenshots/non-saas/hero-default.png"),c=e.jsxs("div",{className:`space-y-6 sm:space-y-8 ${o==="centered"||o==="full-width"?"text-center":"text-center lg:text-left"}`,children:[t.announcement_text&&e.jsx("div",{className:"inline-flex items-center px-4 py-2 rounded-full text-sm font-medium border",style:{borderColor:r,color:r,backgroundColor:`${r}15`},children:t.announcement_text}),e.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold leading-tight",style:{color:x},role:"banner","aria-label":"Main heading",children:t.title||i("Create Your Digital Business Card")}),e.jsx("p",{className:`text-lg md:text-xl leading-relaxed font-medium ${o==="centered"||o==="full-width"?"mx-auto max-w-2xl":"max-w-2xl"}`,style:{color:f,opacity:.85},children:t.subtitle||i("Manage employees, payroll, attendance, and more in one powerful platform.")}),e.jsxs("div",{className:`flex flex-col sm:flex-row gap-3 sm:gap-4 ${o==="centered"||o==="full-width"?"justify-center":"justify-center lg:justify-start"}`,children:[v&&T()&&e.jsxs(j,{href:route("register"),className:"px-8 py-4 rounded-lg transition-all font-semibold text-base flex items-center justify-center gap-2 border",style:{backgroundColor:r,color:"white",borderColor:r},onMouseEnter:s=>{s.currentTarget.style.backgroundColor="white",s.currentTarget.style.color=r},onMouseLeave:s=>{s.currentTarget.style.backgroundColor=r,s.currentTarget.style.color="white"},"aria-label":"Start free trial - Register for HRM",children:[t.primary_button_text||i("Start Free Trial"),e.jsx(H,{size:18})]}),e.jsxs(j,{href:route("login"),className:"border px-8 py-4 rounded-lg transition-colors font-semibold text-base flex items-center justify-center gap-2 hover:bg-white/10",style:{borderColor:r,color:r},"aria-label":"Login to existing HRM account",children:[e.jsx(I,{size:18}),t.secondary_button_text||i("Login")]})]}),t.stats&&t.stats.length>0&&e.jsx("div",{className:`grid grid-cols-3 gap-4 sm:gap-6 lg:gap-8 pt-8 sm:pt-12 ${o==="centered"||o==="full-width"?"max-w-lg mx-auto":""}`,children:t.stats.map((s,b)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl md:text-4xl font-bold",style:{color:x},children:s.value}),e.jsx("div",{className:"text-sm font-medium",style:{color:f,opacity:.8},children:s.label})]},b))})]}),_=a==="left"?"mr-auto":a==="right"?"ml-auto":"mx-auto",d=a==="background"?null:e.jsxs("div",{className:`relative ${_}`,children:[e.jsx("img",{src:g||u,alt:"Hero",className:"w-full h-auto rounded-2xl shadow-xl"}),e.jsx("div",{className:"absolute -top-4 -right-4 w-16 h-16 bg-gray-200 rounded-full opacity-50"}),e.jsx("div",{className:"absolute -bottom-4 -left-4 w-12 h-12 bg-gray-300 rounded-full opacity-40"})]}),C=()=>{switch(o){case"centered":return e.jsxs("div",{className:"flex flex-col items-center gap-10",children:[c,e.jsx("div",{className:"w-full max-w-3xl",children:d})]});case"full-width":return e.jsxs("div",{className:"flex flex-col gap-10",children:[c,e.jsx("div",{className:"w-full",children:d})]});case"image-left":return e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[d,c]});case"image-right":default:return e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[c,d]})}};return e.jsxs("section",{id:"hero",className:"pt-16 flex items-center relative",style:{backgroundColor:h?p:N,minHeight:k,...a==="background"&&(g||u)?{backgroundImage:`url(${g||u})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:{}},children:[h&&a==="background"&&e.jsx("div",{className:"absolute inset-0 z-0",style:{backgroundColor:p}}),e.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 sm:py-16 lg:py-20 w-full",children:C()})]})}export{J as default}; diff --git a/public/build/assets/ImportModal-CxDgVhxL.js b/public/build/assets/ImportModal-s55JxI6I.js similarity index 96% rename from public/build/assets/ImportModal-CxDgVhxL.js rename to public/build/assets/ImportModal-s55JxI6I.js index 9c0c3182a..bc93391dc 100644 --- a/public/build/assets/ImportModal-CxDgVhxL.js +++ b/public/build/assets/ImportModal-s55JxI6I.js @@ -1 +1 @@ -import{r as x,j as e}from"./ui-Z445SNHD.js";import{u as O,D as P,h as R,j as T,k as U,q as A,o as k,t as r,r as G,c as K,L as W,I as $}from"./app-CfhhiFAk.js";import{S as J,a as Q,b as Y,c as Z,d as L}from"./select-BrY9osYp.js";import{A as ee,a as se}from"./alert-DH0o7BP8.js";import{I as te}from"./info-D_4wnc_R.js";import{D as ae}from"./download-Bk1k2_dW.js";function re({isOpen:w,onClose:b,excelColumns:g,databaseFields:h,importRoute:_,data:u,previewData:C=[]}){const{t:o}=O(),[c,n]=x.useState({}),[i,y]=x.useState(!1);x.useEffect(()=>{if(w&&g.length>0){const a={};h.forEach(t=>{const l=g.find(s=>s.toLowerCase().replace(/[_\s]/g,"")===t.key.toLowerCase().replace(/[_\s]/g,""));l&&(a[t.key]=l)}),n(a)}},[w,g,h]);const N=()=>{if(!u||u.length===0){r.error(o("No data available for import"));return}const t=h.filter(s=>s.required).filter(s=>!c[s.key]);if(t.length>0){r.error(o("Please map all required fields: {{fields}}",{fields:t.map(s=>s.key).join(", ")}));return}const l=(u||[]).map(s=>{const f={};return Object.entries(c).forEach(([D,I])=>{f[D]=s[I]}),f});y(!0),r.loading(o("Importing...")),G.post(route(_),{data:l},{preserveState:!0,onSuccess:s=>{b(),y(!1),r.dismiss(),s.props.flash.success?r.success(o(s.props.flash.success)):s.props.flash.error&&r.error(o(s.props.flash.error))},onError:s=>{y(!1),r.dismiss(),typeof s=="string"?r.error(s):r.error(o("Failed to import"))}})};return e.jsx(P,{open:w,onOpenChange:a=>!a&&b(),modal:!1,children:e.jsxs(R,{className:"max-w-7xl max-h-[85vh] overflow-hidden flex flex-col",children:[e.jsx(T,{children:e.jsx(U,{children:o("Map Columns")})}),e.jsxs(ee,{className:"bg-amber-50 border-amber-200",children:[e.jsx(te,{className:"h-4 w-4 text-amber-600"}),e.jsx(se,{className:"text-amber-800",children:o("Map your CSV columns to database fields")})]}),e.jsxs("div",{className:"flex-1 overflow-auto",children:[e.jsx("h3",{className:"text-base font-semibold mb-3",children:o("Column Mapping & Preview")}),e.jsx("div",{className:"border rounded-lg overflow-x-auto",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{className:"bg-gray-50 border-b sticky top-0",children:e.jsx("tr",{children:h.map(a=>e.jsx("th",{className:"px-4 py-3 text-left font-medium text-gray-700 min-w-[180px]",children:e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"text-sm font-semibold",children:[a.key.replace(/_/g," ").replace(/\b\w/g,t=>t.toUpperCase()),a.required&&e.jsx("span",{className:"text-red-500 ml-1",children:"*"})]}),e.jsxs(J,{value:c[a.key]||"__unselect__",onValueChange:t=>{n(l=>{const s={...l};return t==="__unselect__"?delete s[a.key]:(Object.keys(s).forEach(f=>{s[f]===t&&delete s[f]}),s[a.key]=t),s})},children:[e.jsx(Q,{className:"h-9 text-sm w-full bg-white",children:e.jsx(Y,{placeholder:o("Select...")})}),e.jsxs(Z,{position:"popper",className:"z-[9999]",children:[e.jsx(L,{value:"__unselect__",children:o("-- Not Mapped --")}),g.map(t=>{const l=Object.values(c).includes(t)&&c[a.key]!==t;return e.jsx(L,{value:t,disabled:l,children:t},t)})]})]})]})},a.key))})}),e.jsx("tbody",{children:C.map((a,t)=>e.jsx("tr",{className:"border-b hover:bg-gray-50",children:h.map(l=>e.jsx("td",{className:"px-4 py-3 text-gray-700 text-sm",children:e.jsx("div",{className:"truncate max-w-[200px]",title:c[l.key]?a[c[l.key]]:"",children:c[l.key]?a[c[l.key]]||e.jsx("span",{className:"text-gray-400 italic text-xs",children:"empty"}):e.jsx("span",{className:"text-gray-400",children:"-"})})},l.key))},t))})]})}),e.jsx("p",{className:"text-sm text-gray-500 mt-3",children:o("Showing all {{count}} rows",{count:C.length})})]}),e.jsxs(A,{children:[e.jsx(k,{type:"button",variant:"outline",onClick:b,disabled:i,children:o("Back")}),e.jsx(k,{type:"button",onClick:N,disabled:i,children:o("Import Data")})]})]})})}function me({isOpen:w,onClose:b,title:g,importRoute:h,parseRoute:_,sampleRoute:u,importNotes:C,databaseFields:o,modalSize:c="lg"}){const{t:n}=O(),{globalSettings:i}=K().props,[y,N]=x.useState(null),[a,t]=x.useState(!1),[l,s]=x.useState(!1),[f,D]=x.useState([]),[I,M]=x.useState([]),[z,q]=x.useState([]),V=async()=>{if(u)try{const p=await fetch(route(u),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!p.ok){const S=await p.json().catch(()=>({}));r.error(n(S.error||"Failed to download template"));return}const j=await p.blob(),v=window.URL.createObjectURL(j),d=document.createElement("a");d.href=v;const m=p.headers.get("Content-Disposition");let F="sample-template.xlsx";if(m){const S=m.match(/filename="?(.+?)"?$/i);S&&(F=S[1])}d.download=F,document.body.appendChild(d),d.click(),window.URL.revokeObjectURL(v),document.body.removeChild(d)}catch{r.error(n("Failed to download template"))}},X=async p=>{var v;if(p.preventDefault(),!y){r.error(n("Please select a file to import"));return}const j=new FormData;j.append("file",y),t(!0),i!=null&&i.is_demo||r.loading(n("Parsing file..."));try{const m=await(await fetch(route(_),{method:"POST",body:j,headers:{"X-CSRF-TOKEN":((v=document.querySelector('meta[name="csrf-token"]'))==null?void 0:v.getAttribute("content"))||""}})).json();m.excelColumns&&m.previewData?(D(m.excelColumns),M(m.previewData),q(m.previewData||[]),i!=null&&i.is_demo||r.dismiss(),b(),s(!0)):(i!=null&&i.is_demo||r.dismiss(),m.message?r.error(n(m.message)):r.error(n("Failed to parse file")))}catch(d){i!=null&&i.is_demo||r.dismiss(),d!=null&&d.message?r.error(n(d.message)):r.error(n("Network error or invalid response"))}finally{t(!1)}},B=()=>{s(!1),N(null),D([]),M([]),q([])},E=()=>{!a&&!l&&(N(null),b())},H={sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl"}[c];return e.jsxs(e.Fragment,{children:[e.jsx(P,{open:w,onOpenChange:E,children:e.jsxs(R,{className:H,children:[e.jsx(T,{children:e.jsx(U,{children:g})}),e.jsxs("div",{className:"space-y-4",children:[u&&e.jsxs("div",{className:"flex items-center justify-between p-3 border border-gray-200 rounded-md",children:[e.jsx("p",{className:"text-sm text-gray-700",children:n("Download sample template for required format")}),e.jsx(k,{type:"button",variant:"ghost",size:"sm",onClick:V,className:"ml-3 text-blue-600 hover:text-blue-800",children:e.jsx(ae,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(W,{htmlFor:"file",children:[n("Select File")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx($,{id:"file",type:"file",accept:".xlsx,.xls,.csv",onChange:p=>{var j;return N(((j=p.target.files)==null?void 0:j[0])||null)},disabled:a,required:!0})]}),e.jsxs("div",{className:"bg-blue-50 border border-blue-200 rounded-md p-3",children:[e.jsx("h4",{className:"text-sm font-medium text-blue-800 mb-2",children:n("Import Notes:")}),e.jsx("p",{className:"text-xs text-blue-700",children:C})]})]}),e.jsxs(A,{children:[e.jsx(k,{type:"button",variant:"outline",onClick:E,disabled:a,children:n("Cancel")}),e.jsx(k,{type:"button",onClick:X,disabled:a,children:n("Import")})]})]})}),e.jsx(re,{isOpen:l,onClose:B,excelColumns:f,databaseFields:o,importRoute:h,data:I,previewData:z})]})}export{me as I}; +import{r as x,j as e}from"./ui-Z445SNHD.js";import{u as O,D as P,h as R,j as T,k as U,q as A,o as k,t as r,r as G,c as K,L as W,I as $}from"./app-Dya84jp7.js";import{S as J,a as Q,b as Y,c as Z,d as L}from"./select-CHkpLxhL.js";import{A as ee,a as se}from"./alert-CyJVNPY9.js";import{I as te}from"./info-CPi9bOGM.js";import{D as ae}from"./download-BBNmalxc.js";function re({isOpen:w,onClose:b,excelColumns:g,databaseFields:h,importRoute:_,data:u,previewData:C=[]}){const{t:o}=O(),[c,n]=x.useState({}),[i,y]=x.useState(!1);x.useEffect(()=>{if(w&&g.length>0){const a={};h.forEach(t=>{const l=g.find(s=>s.toLowerCase().replace(/[_\s]/g,"")===t.key.toLowerCase().replace(/[_\s]/g,""));l&&(a[t.key]=l)}),n(a)}},[w,g,h]);const N=()=>{if(!u||u.length===0){r.error(o("No data available for import"));return}const t=h.filter(s=>s.required).filter(s=>!c[s.key]);if(t.length>0){r.error(o("Please map all required fields: {{fields}}",{fields:t.map(s=>s.key).join(", ")}));return}const l=(u||[]).map(s=>{const f={};return Object.entries(c).forEach(([D,I])=>{f[D]=s[I]}),f});y(!0),r.loading(o("Importing...")),G.post(route(_),{data:l},{preserveState:!0,onSuccess:s=>{b(),y(!1),r.dismiss(),s.props.flash.success?r.success(o(s.props.flash.success)):s.props.flash.error&&r.error(o(s.props.flash.error))},onError:s=>{y(!1),r.dismiss(),typeof s=="string"?r.error(s):r.error(o("Failed to import"))}})};return e.jsx(P,{open:w,onOpenChange:a=>!a&&b(),modal:!1,children:e.jsxs(R,{className:"max-w-7xl max-h-[85vh] overflow-hidden flex flex-col",children:[e.jsx(T,{children:e.jsx(U,{children:o("Map Columns")})}),e.jsxs(ee,{className:"bg-amber-50 border-amber-200",children:[e.jsx(te,{className:"h-4 w-4 text-amber-600"}),e.jsx(se,{className:"text-amber-800",children:o("Map your CSV columns to database fields")})]}),e.jsxs("div",{className:"flex-1 overflow-auto",children:[e.jsx("h3",{className:"text-base font-semibold mb-3",children:o("Column Mapping & Preview")}),e.jsx("div",{className:"border rounded-lg overflow-x-auto",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{className:"bg-gray-50 border-b sticky top-0",children:e.jsx("tr",{children:h.map(a=>e.jsx("th",{className:"px-4 py-3 text-left font-medium text-gray-700 min-w-[180px]",children:e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"text-sm font-semibold",children:[a.key.replace(/_/g," ").replace(/\b\w/g,t=>t.toUpperCase()),a.required&&e.jsx("span",{className:"text-red-500 ml-1",children:"*"})]}),e.jsxs(J,{value:c[a.key]||"__unselect__",onValueChange:t=>{n(l=>{const s={...l};return t==="__unselect__"?delete s[a.key]:(Object.keys(s).forEach(f=>{s[f]===t&&delete s[f]}),s[a.key]=t),s})},children:[e.jsx(Q,{className:"h-9 text-sm w-full bg-white",children:e.jsx(Y,{placeholder:o("Select...")})}),e.jsxs(Z,{position:"popper",className:"z-[9999]",children:[e.jsx(L,{value:"__unselect__",children:o("-- Not Mapped --")}),g.map(t=>{const l=Object.values(c).includes(t)&&c[a.key]!==t;return e.jsx(L,{value:t,disabled:l,children:t},t)})]})]})]})},a.key))})}),e.jsx("tbody",{children:C.map((a,t)=>e.jsx("tr",{className:"border-b hover:bg-gray-50",children:h.map(l=>e.jsx("td",{className:"px-4 py-3 text-gray-700 text-sm",children:e.jsx("div",{className:"truncate max-w-[200px]",title:c[l.key]?a[c[l.key]]:"",children:c[l.key]?a[c[l.key]]||e.jsx("span",{className:"text-gray-400 italic text-xs",children:"empty"}):e.jsx("span",{className:"text-gray-400",children:"-"})})},l.key))},t))})]})}),e.jsx("p",{className:"text-sm text-gray-500 mt-3",children:o("Showing all {{count}} rows",{count:C.length})})]}),e.jsxs(A,{children:[e.jsx(k,{type:"button",variant:"outline",onClick:b,disabled:i,children:o("Back")}),e.jsx(k,{type:"button",onClick:N,disabled:i,children:o("Import Data")})]})]})})}function me({isOpen:w,onClose:b,title:g,importRoute:h,parseRoute:_,sampleRoute:u,importNotes:C,databaseFields:o,modalSize:c="lg"}){const{t:n}=O(),{globalSettings:i}=K().props,[y,N]=x.useState(null),[a,t]=x.useState(!1),[l,s]=x.useState(!1),[f,D]=x.useState([]),[I,M]=x.useState([]),[z,q]=x.useState([]),V=async()=>{if(u)try{const p=await fetch(route(u),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!p.ok){const S=await p.json().catch(()=>({}));r.error(n(S.error||"Failed to download template"));return}const j=await p.blob(),v=window.URL.createObjectURL(j),d=document.createElement("a");d.href=v;const m=p.headers.get("Content-Disposition");let F="sample-template.xlsx";if(m){const S=m.match(/filename="?(.+?)"?$/i);S&&(F=S[1])}d.download=F,document.body.appendChild(d),d.click(),window.URL.revokeObjectURL(v),document.body.removeChild(d)}catch{r.error(n("Failed to download template"))}},X=async p=>{var v;if(p.preventDefault(),!y){r.error(n("Please select a file to import"));return}const j=new FormData;j.append("file",y),t(!0),i!=null&&i.is_demo||r.loading(n("Parsing file..."));try{const m=await(await fetch(route(_),{method:"POST",body:j,headers:{"X-CSRF-TOKEN":((v=document.querySelector('meta[name="csrf-token"]'))==null?void 0:v.getAttribute("content"))||""}})).json();m.excelColumns&&m.previewData?(D(m.excelColumns),M(m.previewData),q(m.previewData||[]),i!=null&&i.is_demo||r.dismiss(),b(),s(!0)):(i!=null&&i.is_demo||r.dismiss(),m.message?r.error(n(m.message)):r.error(n("Failed to parse file")))}catch(d){i!=null&&i.is_demo||r.dismiss(),d!=null&&d.message?r.error(n(d.message)):r.error(n("Network error or invalid response"))}finally{t(!1)}},B=()=>{s(!1),N(null),D([]),M([]),q([])},E=()=>{!a&&!l&&(N(null),b())},H={sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl"}[c];return e.jsxs(e.Fragment,{children:[e.jsx(P,{open:w,onOpenChange:E,children:e.jsxs(R,{className:H,children:[e.jsx(T,{children:e.jsx(U,{children:g})}),e.jsxs("div",{className:"space-y-4",children:[u&&e.jsxs("div",{className:"flex items-center justify-between p-3 border border-gray-200 rounded-md",children:[e.jsx("p",{className:"text-sm text-gray-700",children:n("Download sample template for required format")}),e.jsx(k,{type:"button",variant:"ghost",size:"sm",onClick:V,className:"ml-3 text-blue-600 hover:text-blue-800",children:e.jsx(ae,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(W,{htmlFor:"file",children:[n("Select File")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx($,{id:"file",type:"file",accept:".xlsx,.xls,.csv",onChange:p=>{var j;return N(((j=p.target.files)==null?void 0:j[0])||null)},disabled:a,required:!0})]}),e.jsxs("div",{className:"bg-blue-50 border border-blue-200 rounded-md p-3",children:[e.jsx("h4",{className:"text-sm font-medium text-blue-800 mb-2",children:n("Import Notes:")}),e.jsx("p",{className:"text-xs text-blue-700",children:C})]})]}),e.jsxs(A,{children:[e.jsx(k,{type:"button",variant:"outline",onClick:E,disabled:a,children:n("Cancel")}),e.jsx(k,{type:"button",onClick:X,disabled:a,children:n("Import")})]})]})}),e.jsx(re,{isOpen:l,onClose:B,excelColumns:f,databaseFields:o,importRoute:h,data:I,previewData:z})]})}export{me as I}; diff --git a/public/build/assets/LivePreview-CVzyG3uV.js b/public/build/assets/LivePreview-BPIigd50.js similarity index 96% rename from public/build/assets/LivePreview-CVzyG3uV.js rename to public/build/assets/LivePreview-BPIigd50.js index 8cfe224ad..d50334478 100644 --- a/public/build/assets/LivePreview-CVzyG3uV.js +++ b/public/build/assets/LivePreview-BPIigd50.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as _,a as C,T as S,E as P,ad as E}from"./app-CfhhiFAk.js";import{E as T}from"./eye--FVGKpVp.js";import{C as A}from"./circle-check-big-C5Cqj7-2.js";import{C as F}from"./circle-alert-64DrdoHv.js";import{P as N}from"./phone-B_MwJBjY.js";import{M as D}from"./mail-CGIE7ZEy.js";import{G as H}from"./globe-DePi6jyA.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function K({data:r,activeSection:v}){var m,g,h,y,b,p;const{t:s}=_(),{themeColor:n,customColor:f}=C(),d=n==="custom"?f:S[n],i=t=>{var l,a;return((a=(l=r.config_sections)==null?void 0:l.sections)==null?void 0:a.find(c=>c.key===t))||{}},o=(()=>{const t=[{key:"company_name",value:r.company_name,label:s("Company Name")},{key:"hero_title",value:i("hero").title,label:s("Hero Title")},{key:"contact_email",value:r.contact_email,label:s("Contact Email")}];return{completed:t.filter(a=>a.value).length,total:t.length,fields:t}})(),x=Math.round(o.completed/o.total*100),k=()=>{var t,l;switch(v){case"hero":const a=i("hero");return e.jsxs("div",{className:"space-y-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s("Hero Section")}),e.jsxs("div",{className:"p-3 bg-gray-50 dark:bg-gray-700 rounded-lg border dark:border-gray-600",children:[e.jsx("div",{className:"text-xs font-semibold text-gray-900 dark:text-gray-100 mb-1",children:a.title||"Your Hero Title"}),e.jsx("div",{className:"text-xs text-gray-600 dark:text-gray-300 mb-2",children:a.subtitle||"Your hero subtitle will appear here..."}),e.jsxs("div",{className:"flex gap-1",children:[e.jsx("div",{className:"px-2 py-1 text-xs rounded",style:{backgroundColor:((l=(t=r.config_sections)==null?void 0:t.theme)==null?void 0:l.primary_color)||"#3b82f6",color:"white"},children:a.primary_button_text||"Primary Button"}),e.jsx("div",{className:"px-2 py-1 text-xs border rounded",children:a.secondary_button_text||"Secondary"})]})]})]});case"features":const c=i("features");return e.jsxs("div",{className:"space-y-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s("Features Section")}),e.jsxs("div",{className:"p-3 bg-gray-50 dark:bg-gray-700 rounded-lg border dark:border-gray-600",children:[e.jsx("div",{className:"text-xs font-semibold text-gray-900 dark:text-gray-100 mb-1",children:c.title||"Features Title"}),e.jsx("div",{className:"text-xs text-gray-600 dark:text-gray-300 mb-2",children:c.description||"Features description..."}),e.jsx("div",{className:"grid grid-cols-2 gap-1",children:(c.features_list||[]).slice(0,4).map((w,j)=>e.jsx("div",{className:"p-1 bg-white dark:bg-gray-800 rounded text-xs dark:text-gray-300",children:w.title||`Feature ${j+1}`},j))})]})]});case"about":const u=i("about");return e.jsxs("div",{className:"space-y-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s("About Section")}),e.jsxs("div",{className:"p-3 bg-gray-50 dark:bg-gray-700 rounded-lg border dark:border-gray-600",children:[e.jsx("div",{className:"text-xs font-semibold text-gray-900 dark:text-gray-100 mb-1",children:u.title||"About Title"}),e.jsx("div",{className:"text-xs text-gray-600 dark:text-gray-300",children:u.description||"About description..."})]})]});default:return e.jsxs("div",{className:"space-y-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-700",children:s("Section Preview")}),e.jsx("div",{className:"p-3 bg-gray-50 dark:bg-gray-700 rounded-lg border dark:border-gray-600 text-center",children:e.jsx("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Select a section to see live preview")})})]})}};return e.jsxs("div",{className:"sticky top-20 space-y-6",children:[e.jsxs("div",{className:"bg-gradient-to-br rounded-xl p-6 shadow-sm border",style:{backgroundColor:d+"10",borderColor:d+"30"},children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 rounded-lg",style:{backgroundColor:d+"20"},children:e.jsx(T,{className:"h-5 w-5",style:{color:d}})}),e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-gray-100",children:s("Setup Progress")})]}),e.jsxs("div",{className:"mb-4",children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:s("Completion")}),e.jsxs("span",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:[x,"%"]})]}),e.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2",children:e.jsx("div",{className:"h-2 rounded-full transition-all duration-300",style:{width:`${x}%`,backgroundColor:d}})})]}),e.jsx("div",{className:"space-y-2",children:o.fields.map((t,l)=>e.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[t.value?e.jsx(A,{className:"h-3 w-3 text-green-600"}):e.jsx(F,{className:"h-3 w-3 text-red-500"}),e.jsx("span",{className:t.value?"text-green-700":"text-red-600",children:t.label})]},l))})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(P,{className:"h-5 w-5 text-purple-600"})}),e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-gray-100",children:s("Live Preview")})]}),k()]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 bg-pink-100 rounded-lg",children:e.jsx(E,{className:"h-5 w-5 text-pink-600"})}),e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-gray-100",children:s("Color Scheme")})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg shadow-sm border-2 border-white",style:{backgroundColor:((g=(m=r.config_sections)==null?void 0:m.theme)==null?void 0:g.primary_color)||"#3b82f6"}}),e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Primary")})]}),e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg shadow-sm border-2 border-white",style:{backgroundColor:((y=(h=r.config_sections)==null?void 0:h.theme)==null?void 0:y.secondary_color)||"#8b5cf6"}}),e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Secondary")})]}),e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg shadow-sm border-2 border-white",style:{backgroundColor:((p=(b=r.config_sections)==null?void 0:b.theme)==null?void 0:p.accent_color)||"#10b77f"}}),e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Accent")})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(N,{className:"h-5 w-5 text-green-600"})}),e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-gray-100",children:s("Contact Info")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[e.jsx(D,{className:"h-3 w-3 text-gray-400"}),e.jsx("span",{className:r.contact_email?"text-gray-700 dark:text-gray-300":"text-red-500",children:r.contact_email||"Email not set"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[e.jsx(N,{className:"h-3 w-3 text-gray-400"}),e.jsx("span",{className:r.contact_phone?"text-gray-700 dark:text-gray-300":"text-red-500",children:r.contact_phone||"Phone not set"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[e.jsx(H,{className:"h-3 w-3 text-gray-400"}),e.jsx("span",{className:r.contact_address?"text-gray-700 dark:text-gray-300":"text-red-500",children:r.contact_address||"Address not set"})]})]})]})]})}export{K as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as _,a as C,T as S,E as P,ad as E}from"./app-Dya84jp7.js";import{E as T}from"./eye-CCNnMtu4.js";import{C as A}from"./circle-check-big-Cju4ilPH.js";import{C as F}from"./circle-alert-Ddjg2Qwp.js";import{P as N}from"./phone-3MnRoAYu.js";import{M as D}from"./mail-Cha_PX4q.js";import{G as H}from"./globe-5zZ4IsmY.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function K({data:r,activeSection:v}){var m,g,h,y,b,p;const{t:s}=_(),{themeColor:n,customColor:f}=C(),d=n==="custom"?f:S[n],i=t=>{var l,a;return((a=(l=r.config_sections)==null?void 0:l.sections)==null?void 0:a.find(c=>c.key===t))||{}},o=(()=>{const t=[{key:"company_name",value:r.company_name,label:s("Company Name")},{key:"hero_title",value:i("hero").title,label:s("Hero Title")},{key:"contact_email",value:r.contact_email,label:s("Contact Email")}];return{completed:t.filter(a=>a.value).length,total:t.length,fields:t}})(),x=Math.round(o.completed/o.total*100),k=()=>{var t,l;switch(v){case"hero":const a=i("hero");return e.jsxs("div",{className:"space-y-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s("Hero Section")}),e.jsxs("div",{className:"p-3 bg-gray-50 dark:bg-gray-700 rounded-lg border dark:border-gray-600",children:[e.jsx("div",{className:"text-xs font-semibold text-gray-900 dark:text-gray-100 mb-1",children:a.title||"Your Hero Title"}),e.jsx("div",{className:"text-xs text-gray-600 dark:text-gray-300 mb-2",children:a.subtitle||"Your hero subtitle will appear here..."}),e.jsxs("div",{className:"flex gap-1",children:[e.jsx("div",{className:"px-2 py-1 text-xs rounded",style:{backgroundColor:((l=(t=r.config_sections)==null?void 0:t.theme)==null?void 0:l.primary_color)||"#3b82f6",color:"white"},children:a.primary_button_text||"Primary Button"}),e.jsx("div",{className:"px-2 py-1 text-xs border rounded",children:a.secondary_button_text||"Secondary"})]})]})]});case"features":const c=i("features");return e.jsxs("div",{className:"space-y-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s("Features Section")}),e.jsxs("div",{className:"p-3 bg-gray-50 dark:bg-gray-700 rounded-lg border dark:border-gray-600",children:[e.jsx("div",{className:"text-xs font-semibold text-gray-900 dark:text-gray-100 mb-1",children:c.title||"Features Title"}),e.jsx("div",{className:"text-xs text-gray-600 dark:text-gray-300 mb-2",children:c.description||"Features description..."}),e.jsx("div",{className:"grid grid-cols-2 gap-1",children:(c.features_list||[]).slice(0,4).map((w,j)=>e.jsx("div",{className:"p-1 bg-white dark:bg-gray-800 rounded text-xs dark:text-gray-300",children:w.title||`Feature ${j+1}`},j))})]})]});case"about":const u=i("about");return e.jsxs("div",{className:"space-y-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s("About Section")}),e.jsxs("div",{className:"p-3 bg-gray-50 dark:bg-gray-700 rounded-lg border dark:border-gray-600",children:[e.jsx("div",{className:"text-xs font-semibold text-gray-900 dark:text-gray-100 mb-1",children:u.title||"About Title"}),e.jsx("div",{className:"text-xs text-gray-600 dark:text-gray-300",children:u.description||"About description..."})]})]});default:return e.jsxs("div",{className:"space-y-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-700",children:s("Section Preview")}),e.jsx("div",{className:"p-3 bg-gray-50 dark:bg-gray-700 rounded-lg border dark:border-gray-600 text-center",children:e.jsx("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Select a section to see live preview")})})]})}};return e.jsxs("div",{className:"sticky top-20 space-y-6",children:[e.jsxs("div",{className:"bg-gradient-to-br rounded-xl p-6 shadow-sm border",style:{backgroundColor:d+"10",borderColor:d+"30"},children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 rounded-lg",style:{backgroundColor:d+"20"},children:e.jsx(T,{className:"h-5 w-5",style:{color:d}})}),e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-gray-100",children:s("Setup Progress")})]}),e.jsxs("div",{className:"mb-4",children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:s("Completion")}),e.jsxs("span",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:[x,"%"]})]}),e.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2",children:e.jsx("div",{className:"h-2 rounded-full transition-all duration-300",style:{width:`${x}%`,backgroundColor:d}})})]}),e.jsx("div",{className:"space-y-2",children:o.fields.map((t,l)=>e.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[t.value?e.jsx(A,{className:"h-3 w-3 text-green-600"}):e.jsx(F,{className:"h-3 w-3 text-red-500"}),e.jsx("span",{className:t.value?"text-green-700":"text-red-600",children:t.label})]},l))})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(P,{className:"h-5 w-5 text-purple-600"})}),e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-gray-100",children:s("Live Preview")})]}),k()]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 bg-pink-100 rounded-lg",children:e.jsx(E,{className:"h-5 w-5 text-pink-600"})}),e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-gray-100",children:s("Color Scheme")})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg shadow-sm border-2 border-white",style:{backgroundColor:((g=(m=r.config_sections)==null?void 0:m.theme)==null?void 0:g.primary_color)||"#3b82f6"}}),e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Primary")})]}),e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg shadow-sm border-2 border-white",style:{backgroundColor:((y=(h=r.config_sections)==null?void 0:h.theme)==null?void 0:y.secondary_color)||"#8b5cf6"}}),e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Secondary")})]}),e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg shadow-sm border-2 border-white",style:{backgroundColor:((p=(b=r.config_sections)==null?void 0:b.theme)==null?void 0:p.accent_color)||"#10b77f"}}),e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Accent")})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(N,{className:"h-5 w-5 text-green-600"})}),e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-gray-100",children:s("Contact Info")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[e.jsx(D,{className:"h-3 w-3 text-gray-400"}),e.jsx("span",{className:r.contact_email?"text-gray-700 dark:text-gray-300":"text-red-500",children:r.contact_email||"Email not set"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[e.jsx(N,{className:"h-3 w-3 text-gray-400"}),e.jsx("span",{className:r.contact_phone?"text-gray-700 dark:text-gray-300":"text-red-500",children:r.contact_phone||"Phone not set"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[e.jsx(H,{className:"h-3 w-3 text-gray-400"}),e.jsx("span",{className:r.contact_address?"text-gray-700 dark:text-gray-300":"text-red-500",children:r.contact_address||"Address not set"})]})]})]})]})}export{K as default}; diff --git a/public/build/assets/NewsletterSection-B7eU_dYx.js b/public/build/assets/NewsletterSection-Cm0nudgR.js similarity index 98% rename from public/build/assets/NewsletterSection-B7eU_dYx.js rename to public/build/assets/NewsletterSection-Cm0nudgR.js index e5169a17e..2d649bf1d 100644 --- a/public/build/assets/NewsletterSection-B7eU_dYx.js +++ b/public/build/assets/NewsletterSection-Cm0nudgR.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as f,b,t as d}from"./app-CfhhiFAk.js";import{M as h}from"./mail-CGIE7ZEy.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({flash:y,settings:j,sectionData:s,globalSettings:i,brandColor:a="#3b82f6"}){const{t:r}=f(),{data:o,setData:x,post:n,processing:m,errors:c,reset:u}=b({email:""}),p=t=>{t.preventDefault(),i!=null&&i.is_demo||d.loading(r("Subscribing to newsletter...")),n(route("landing-page.subscribe"),{onSuccess:l=>{u(),i!=null&&i.is_demo||d.dismiss(),l.props.flash.success?d.success(r(l.props.flash.success)):l.props.flash.error&&d.error(r(l.props.flash.error))},onError:l=>{i!=null&&i.is_demo||d.dismiss(),typeof l=="string"?d.error(r(l)):d.error(r("Failed to subscribe: {{errors}}",{errors:Object.values(l).join(", ")}))}})};return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-gray-50",children:e.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:e.jsxs("div",{className:"bg-white rounded-xl p-8 md:p-12 border border-gray-200",children:[e.jsx("div",{className:"w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-6",style:{backgroundColor:`${a}15`},children:e.jsx(h,{className:"w-8 h-8",style:{color:a}})}),e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(s==null?void 0:s.title)||r("Stay Updated with HRM")}),e.jsx("p",{className:"text-lg text-gray-600 mb-8 max-w-2xl mx-auto leading-relaxed font-medium",id:"newsletter-description",children:(s==null?void 0:s.subtitle)||r("Get the latest updates, HR tips, and feature announcements.")}),e.jsx("form",{onSubmit:p,className:"max-w-md mx-auto",children:e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("input",{type:"email",value:o.email,onChange:t=>x("email",t.target.value),placeholder:r("Enter your email address"),className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:border-gray-500 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":a},required:!0,disabled:m,"aria-label":"Email address for newsletter subscription","aria-describedby":"newsletter-description"}),c.email&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:c.email})]}),e.jsxs("button",{type:"submit",disabled:m,className:"text-white px-8 py-3 rounded-lg transition-colors font-semibold cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 min-w-[120px]",style:{backgroundColor:a},"aria-label":m?"Subscribing to newsletter":"Subscribe to newsletter",children:[m&&e.jsx("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),r(m?"Subscribing...":"Subscribe")]})]})}),e.jsx("p",{className:"text-gray-500 text-sm mt-4",children:(s==null?void 0:s.privacy_text)||r("No spam, unsubscribe at any time. We respect your privacy.")}),(s==null?void 0:s.benefits)&&s.benefits.length>0&&e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 sm:gap-6 mt-8 sm:mt-12",children:s.benefits.map((t,l)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-3",children:e.jsx("span",{className:"text-gray-700 text-xl",children:t.icon})}),e.jsx("h3",{className:"text-gray-900 font-semibold mb-2",children:t.title}),e.jsx("p",{className:"text-gray-600 text-sm",children:t.description})]},l))})]})})})}export{M as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as f,b,t as d}from"./app-Dya84jp7.js";import{M as h}from"./mail-Cha_PX4q.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({flash:y,settings:j,sectionData:s,globalSettings:i,brandColor:a="#3b82f6"}){const{t:r}=f(),{data:o,setData:x,post:n,processing:m,errors:c,reset:u}=b({email:""}),p=t=>{t.preventDefault(),i!=null&&i.is_demo||d.loading(r("Subscribing to newsletter...")),n(route("landing-page.subscribe"),{onSuccess:l=>{u(),i!=null&&i.is_demo||d.dismiss(),l.props.flash.success?d.success(r(l.props.flash.success)):l.props.flash.error&&d.error(r(l.props.flash.error))},onError:l=>{i!=null&&i.is_demo||d.dismiss(),typeof l=="string"?d.error(r(l)):d.error(r("Failed to subscribe: {{errors}}",{errors:Object.values(l).join(", ")}))}})};return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-gray-50",children:e.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:e.jsxs("div",{className:"bg-white rounded-xl p-8 md:p-12 border border-gray-200",children:[e.jsx("div",{className:"w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-6",style:{backgroundColor:`${a}15`},children:e.jsx(h,{className:"w-8 h-8",style:{color:a}})}),e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(s==null?void 0:s.title)||r("Stay Updated with HRM")}),e.jsx("p",{className:"text-lg text-gray-600 mb-8 max-w-2xl mx-auto leading-relaxed font-medium",id:"newsletter-description",children:(s==null?void 0:s.subtitle)||r("Get the latest updates, HR tips, and feature announcements.")}),e.jsx("form",{onSubmit:p,className:"max-w-md mx-auto",children:e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("input",{type:"email",value:o.email,onChange:t=>x("email",t.target.value),placeholder:r("Enter your email address"),className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:border-gray-500 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":a},required:!0,disabled:m,"aria-label":"Email address for newsletter subscription","aria-describedby":"newsletter-description"}),c.email&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:c.email})]}),e.jsxs("button",{type:"submit",disabled:m,className:"text-white px-8 py-3 rounded-lg transition-colors font-semibold cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 min-w-[120px]",style:{backgroundColor:a},"aria-label":m?"Subscribing to newsletter":"Subscribe to newsletter",children:[m&&e.jsx("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),r(m?"Subscribing...":"Subscribe")]})]})}),e.jsx("p",{className:"text-gray-500 text-sm mt-4",children:(s==null?void 0:s.privacy_text)||r("No spam, unsubscribe at any time. We respect your privacy.")}),(s==null?void 0:s.benefits)&&s.benefits.length>0&&e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 sm:gap-6 mt-8 sm:mt-12",children:s.benefits.map((t,l)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-3",children:e.jsx("span",{className:"text-gray-700 text-xl",children:t.icon})}),e.jsx("h3",{className:"text-gray-900 font-semibold mb-2",children:t.title}),e.jsx("p",{className:"text-gray-600 text-sm",children:t.description})]},l))})]})})})}export{M as default}; diff --git a/public/build/assets/PayrollEntryBreakdown-BQCA24RG.js b/public/build/assets/PayrollEntryBreakdown-BQCA24RG.js new file mode 100644 index 000000000..2d9f7dc13 --- /dev/null +++ b/public/build/assets/PayrollEntryBreakdown-BQCA24RG.js @@ -0,0 +1 @@ +import{j as e}from"./ui-Z445SNHD.js";import{u as X,B as Y,ai as Z}from"./app-Dya84jp7.js";import{C as ee}from"./calendar-DuRYaSj5.js";import{C as M}from"./clock-LnEFQ-vK.js";import{C as U}from"./calendar-check-Cei2wfOk.js";import{T as se}from"./trending-up-BT453ptk.js";import{T as te}from"./trending-down-DmDmdusz.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function pe({entry:t}){var _,C,S,D,A,E,O,T,L,H,P,B,F,R,I,$,W,z,J,q,G;const{t:s}=X(),o=t.earnings_breakdown,K=t.deductions_breakdown;let d={};if(o&&typeof o=="object")d=o.summary||{};else if(typeof o=="string")try{d=JSON.parse(o).summary||{}}catch{d={}}const u=a=>{if(!a)return[];let n=a;if(typeof a=="string")try{n=JSON.parse(a)}catch{return[]}return Array.isArray(n)?n.filter(r=>r&&(r.name||r.title)&&r.amount!==void 0).map(r=>({name:r.name||r.title,amount:Number(r.amount)||0})):typeof n=="object"?Object.entries(n).filter(([r,l])=>r!=="meta"&&r!=="summary"&&l&&typeof l=="object").map(([r,l])=>({name:l.name||l.title||r,amount:Number(l.amount??l.value??0)})):[]},c=u(o),i=u(K),f=Array.isArray(t.adjustments)?t.adjustments:[],h=f.filter(a=>a.type==="earning"),j=f.filter(a=>a.type==="deduction"),g=Number(t.overtime_hours??d.reg_ot_hours??0),m=Number(t.overtime_amount??d.reg_ot_amount??0),N=Number(d.night_diff_hours??0),w=Number(d.night_diff_amount??0),k=m+w,x=Number(t.working_days??d.expected_working_days??0),p=Number(t.present_days??d.days_worked??0),b=Number(t.absent_days??d.absences??0),Q=Number(t.paid_leave_days??d.leaves??0),V=Number(t.holiday_days??d.holiday??0),y=d.expected_hours?Number(d.expected_hours):null,v=d.rendered_hours?Number(d.rendered_hours):null;return e.jsxs("div",{className:"p-4 bg-slate-50/90 dark:bg-slate-900/90 border-t border-b border-slate-200 dark:border-slate-800 text-slate-800 dark:text-slate-200",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3 pb-3 mb-4 border-b border-slate-200/80 dark:border-slate-800",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"font-semibold text-sm text-slate-900 dark:text-slate-100",children:((_=t.employee)==null?void 0:_.name)||s("Employee")}),((C=t.employee)==null?void 0:C.employee_id)&&e.jsxs(Y,{variant:"outline",className:"text-xs font-mono",children:["ID: ",t.employee.employee_id]}),((D=(S=t.employee)==null?void 0:S.designation)==null?void 0:D.name)&&e.jsxs("span",{className:"text-xs text-slate-500 dark:text-slate-400",children:["• ",t.employee.designation.name]})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[e.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 rounded bg-blue-50 dark:bg-blue-950/40 text-blue-700 dark:text-blue-300 font-medium",children:[e.jsx(ee,{className:"w-3.5 h-3.5"}),s("Daily Rate"),": ",e.jsx("strong",{className:"font-mono",children:(A=window.appSettings)==null?void 0:A.formatCurrency(t.per_day_salary||0)})]}),e.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 rounded bg-emerald-50 dark:bg-emerald-950/40 text-emerald-700 dark:text-emerald-300 font-medium",children:[e.jsx(M,{className:"w-3.5 h-3.5"}),s("Total OT"),": ",e.jsxs("strong",{className:"font-mono",children:[g.toFixed(2),"h (",(E=window.appSettings)==null?void 0:E.formatCurrency(k||m),")"]})]}),e.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 rounded bg-slate-100 dark:bg-slate-800 text-slate-700 dark:text-slate-300 font-medium",children:[e.jsx(U,{className:"w-3.5 h-3.5"}),s("Attendance"),": ",e.jsxs("strong",{className:"font-mono",children:[p," / ",x," ",s("days")]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-4 mb-4",children:[e.jsxs("div",{className:"bg-white dark:bg-slate-800/80 rounded-lg border border-slate-200 dark:border-slate-700 p-3.5 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between pb-2 mb-2 border-b border-slate-100 dark:border-slate-700",children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-semibold uppercase tracking-wider text-amber-700 dark:text-amber-400",children:[e.jsx(M,{className:"w-4 h-4 text-amber-500"}),s("Overtime & Hours")]}),e.jsx("span",{className:"text-xs font-mono font-bold text-amber-600 dark:text-amber-400",children:(O=window.appSettings)==null?void 0:O.formatCurrency(k||m)})]}),e.jsxs("div",{className:"space-y-2 text-xs",children:[e.jsxs("div",{className:"flex items-center justify-between py-1 border-b border-dashed border-slate-100 dark:border-slate-700/60",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400",children:s("Regular Overtime")}),e.jsxs("div",{className:"text-right",children:[e.jsxs("span",{className:"font-mono font-medium",children:[g.toFixed(2),"h"]}),e.jsx("span",{className:"ml-2 font-mono text-emerald-600 dark:text-emerald-400",children:(T=window.appSettings)==null?void 0:T.formatCurrency(m)})]})]}),N>0&&e.jsxs("div",{className:"flex items-center justify-between py-1 border-b border-dashed border-slate-100 dark:border-slate-700/60",children:[e.jsxs("span",{className:"inline-flex items-center gap-1 text-slate-600 dark:text-slate-400",children:[e.jsx(Z,{className:"w-3 h-3 text-indigo-400"}),s("Night Differential")]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("span",{className:"font-mono font-medium",children:[N.toFixed(2),"h"]}),e.jsx("span",{className:"ml-2 font-mono text-indigo-600 dark:text-indigo-400",children:(L=window.appSettings)==null?void 0:L.formatCurrency(w)})]})]}),y!==null&&v!==null&&e.jsxs("div",{className:"flex items-center justify-between py-1 border-b border-dashed border-slate-100 dark:border-slate-700/60",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400",children:s("Rendered vs Expected")}),e.jsxs("span",{className:"font-mono text-slate-700 dark:text-slate-300",children:[v.toFixed(2),"h / ",y.toFixed(2),"h"]})]}),e.jsxs("div",{className:"pt-1 flex items-center justify-between text-slate-500 dark:text-slate-400",children:[e.jsx("span",{children:s("Hourly Rate Est.")}),e.jsx("span",{className:"font-mono",children:(H=window.appSettings)==null?void 0:H.formatCurrency((t.per_day_salary||0)/8)})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-800/80 rounded-lg border border-slate-200 dark:border-slate-700 p-3.5 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between pb-2 mb-2 border-b border-slate-100 dark:border-slate-700",children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-semibold uppercase tracking-wider text-blue-700 dark:text-blue-400",children:[e.jsx(U,{className:"w-4 h-4 text-blue-500"}),s("Attendance & Leaves")]}),e.jsxs("span",{className:"text-xs font-mono font-bold text-blue-600 dark:text-blue-400",children:[p," / ",x," ",s("Days")]})]}),e.jsxs("div",{className:"space-y-2 text-xs",children:[e.jsxs("div",{className:"flex items-center justify-between py-1 border-b border-dashed border-slate-100 dark:border-slate-700/60",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400",children:s("Present Days")}),e.jsx("span",{className:"font-mono font-semibold text-emerald-600 dark:text-emerald-400",children:p})]}),e.jsxs("div",{className:"flex items-center justify-between py-1 border-b border-dashed border-slate-100 dark:border-slate-700/60",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400",children:s("Expected Working Days")}),e.jsx("span",{className:"font-mono",children:x})]}),e.jsxs("div",{className:"flex items-center justify-between py-1 border-b border-dashed border-slate-100 dark:border-slate-700/60",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400",children:s("Paid Leaves")}),e.jsx("span",{className:"font-mono text-blue-600 dark:text-blue-400",children:Q})]}),e.jsxs("div",{className:"flex items-center justify-between py-1 border-b border-dashed border-slate-100 dark:border-slate-700/60",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400",children:s("Holidays")}),e.jsx("span",{className:"font-mono text-amber-600 dark:text-amber-400",children:V})]}),e.jsxs("div",{className:"flex items-center justify-between pt-1",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400",children:s("Absences / LWOP")}),e.jsxs("span",{className:`font-mono font-medium ${b>0?"text-red-600 dark:text-red-400":"text-slate-400"}`,children:[b," ",b>0?`(-${(P=window.appSettings)==null?void 0:P.formatCurrency(t.unpaid_leave_deduction||0)})`:""]})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-800/80 rounded-lg border border-slate-200 dark:border-slate-700 p-3.5 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between pb-2 mb-2 border-b border-slate-100 dark:border-slate-700",children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-semibold uppercase tracking-wider text-emerald-700 dark:text-emerald-400",children:[e.jsx(se,{className:"w-4 h-4 text-emerald-500"}),s("Itemized Earnings")]}),e.jsx("span",{className:"text-xs font-mono font-bold text-emerald-600 dark:text-emerald-400",children:(B=window.appSettings)==null?void 0:B.formatCurrency(t.total_earnings||0)})]}),e.jsxs("div",{className:"space-y-1.5 text-xs max-h-48 overflow-y-auto pr-1",children:[e.jsxs("div",{className:"flex items-center justify-between py-1 border-b border-dashed border-slate-100 dark:border-slate-700/60",children:[e.jsx("span",{className:"text-slate-700 dark:text-slate-300 font-medium",children:s("Basic Salary")}),e.jsx("span",{className:"font-mono font-medium",children:(F=window.appSettings)==null?void 0:F.formatCurrency(t.basic_salary||0)})]}),c.length>0?c.filter(a=>a.name!=="Basic Salary").map((a,n)=>{var r;return e.jsxs("div",{className:"flex items-center justify-between py-0.5",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400 truncate max-w-[130px]",title:a.name,children:a.name}),e.jsxs("span",{className:"font-mono text-emerald-600 dark:text-emerald-400",children:["+",(r=window.appSettings)==null?void 0:r.formatCurrency(a.amount)]})]},n)}):null,h.map((a,n)=>{var r;return e.jsxs("div",{className:"flex items-center justify-between py-0.5 bg-emerald-50/50 dark:bg-emerald-950/20 px-1 rounded",children:[e.jsxs("span",{className:"text-emerald-700 dark:text-emerald-300 truncate max-w-[120px]",title:a.name,children:["+",a.name||s("Adjustment")]}),e.jsxs("span",{className:"font-mono text-emerald-600 dark:text-emerald-400 font-medium",children:["+",(r=window.appSettings)==null?void 0:r.formatCurrency(a.amount)]})]},`adj-earn-${n}`)}),c.length<=1&&h.length===0&&e.jsx("div",{className:"text-slate-400 text-[11px] italic py-1",children:s("No additional allowance components.")})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-800/80 rounded-lg border border-slate-200 dark:border-slate-700 p-3.5 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between pb-2 mb-2 border-b border-slate-100 dark:border-slate-700",children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-semibold uppercase tracking-wider text-red-700 dark:text-red-400",children:[e.jsx(te,{className:"w-4 h-4 text-red-500"}),s("Itemized Deductions")]}),e.jsx("span",{className:"text-xs font-mono font-bold text-red-600 dark:text-red-400",children:(R=window.appSettings)==null?void 0:R.formatCurrency(t.total_deductions||0)})]}),e.jsxs("div",{className:"space-y-1.5 text-xs max-h-48 overflow-y-auto pr-1",children:[i.length>0?i.map((a,n)=>{var r;return e.jsxs("div",{className:"flex items-center justify-between py-0.5",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400 truncate max-w-[130px]",title:a.name,children:a.name}),e.jsxs("span",{className:"font-mono text-red-600 dark:text-red-400",children:["-",(r=window.appSettings)==null?void 0:r.formatCurrency(a.amount)]})]},n)}):null,Number(t.unpaid_leave_deduction)>0&&!i.some(a=>a.name.toLowerCase().includes("absence")||a.name.toLowerCase().includes("lwop"))&&e.jsxs("div",{className:"flex items-center justify-between py-0.5",children:[e.jsx("span",{className:"text-slate-600 dark:text-slate-400",children:s("Absences / LWOP")}),e.jsxs("span",{className:"font-mono text-red-600 dark:text-red-400",children:["-",(I=window.appSettings)==null?void 0:I.formatCurrency(t.unpaid_leave_deduction)]})]}),j.map((a,n)=>{var r;return e.jsxs("div",{className:"flex items-center justify-between py-0.5 bg-red-50/50 dark:bg-red-950/20 px-1 rounded",children:[e.jsxs("span",{className:"text-red-700 dark:text-red-300 truncate max-w-[120px]",title:a.name,children:["-",a.name||s("Adjustment")]}),e.jsxs("span",{className:"font-mono text-red-600 dark:text-red-400 font-medium",children:["-",(r=window.appSettings)==null?void 0:r.formatCurrency(a.amount)]})]},`adj-ded-${n}`)}),i.length===0&&j.length===0&&Number(t.unpaid_leave_deduction)===0&&e.jsx("div",{className:"text-slate-400 text-[11px] italic py-1",children:s("No deductions applied.")})]})]})]}),e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3 p-3 bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 text-xs font-mono",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs("span",{className:"text-slate-500 dark:text-slate-400 uppercase font-sans font-semibold tracking-wider text-[11px]",children:[s("Payslip Equation"),":"]}),e.jsxs("span",{className:"px-2 py-0.5 rounded bg-slate-100 dark:bg-slate-700 text-slate-800 dark:text-slate-200",children:[s("Total Earnings"),": ",($=window.appSettings)==null?void 0:$.formatCurrency(t.total_earnings||0)]}),e.jsx("span",{className:"text-slate-400",children:"-"}),e.jsxs("span",{className:"px-2 py-0.5 rounded bg-red-50 dark:bg-red-950/40 text-red-700 dark:text-red-300",children:[s("Leave Deductions"),": ",(W=window.appSettings)==null?void 0:W.formatCurrency(t.unpaid_leave_deduction||0)]}),e.jsx("span",{className:"text-slate-400",children:"+"}),e.jsxs("span",{className:"px-2 py-0.5 rounded bg-emerald-50 dark:bg-emerald-950/40 text-emerald-700 dark:text-emerald-300",children:[s("OT"),": ",(z=window.appSettings)==null?void 0:z.formatCurrency(t.overtime_amount||0)]}),e.jsx("span",{className:"text-slate-400",children:"="}),e.jsxs("span",{className:"px-2 py-0.5 rounded bg-emerald-100 dark:bg-emerald-900/40 text-emerald-800 dark:text-emerald-200 font-bold",children:[s("Gross"),": ",(J=window.appSettings)==null?void 0:J.formatCurrency(t.gross_pay||0)]}),e.jsx("span",{className:"text-slate-400",children:"-"}),e.jsxs("span",{className:"px-2 py-0.5 rounded bg-red-100 dark:bg-red-900/40 text-red-800 dark:text-red-200 font-bold",children:[s("Total Deductions"),": ",(q=window.appSettings)==null?void 0:q.formatCurrency(t.total_deductions||0)]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:"text-slate-500 dark:text-slate-400 uppercase font-sans font-semibold tracking-wider text-[11px]",children:[s("Net Take Home"),":"]}),e.jsx("span",{className:"px-3 py-1 rounded bg-blue-600 text-white font-bold text-sm shadow-sm",children:(G=window.appSettings)==null?void 0:G.formatCurrency(t.net_pay||0)})]})]})]})}export{pe as PayrollEntryBreakdown}; diff --git a/public/build/assets/PayrollOverrideModal-zN2d0QE9.js b/public/build/assets/PayrollOverrideModal-BFEQA8PZ.js similarity index 98% rename from public/build/assets/PayrollOverrideModal-zN2d0QE9.js rename to public/build/assets/PayrollOverrideModal-BFEQA8PZ.js index 3a1424dcc..d10de1185 100644 --- a/public/build/assets/PayrollOverrideModal-zN2d0QE9.js +++ b/public/build/assets/PayrollOverrideModal-BFEQA8PZ.js @@ -1 +1 @@ -import{r as p,j as e}from"./ui-Z445SNHD.js";import{u as D,D as $,h as R,j as B,k as G,p as M,I as c,o as m,X as F,P as I,q as Y}from"./app-CfhhiFAk.js";import{S as q}from"./scroll-area-Dxv7Ysgl.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function V({isOpen:j,onClose:v,onSubmit:P,initialData:d}){var C,A,E,S,_;const{t}=D(),[u,f]=p.useState([]),[g,b]=p.useState([]),[l,i]=p.useState([]);p.useEffect(()=>{if(j&&d){const s=Array.isArray(d.earnings_breakdown)?d.earnings_breakdown:Object.values(d.earnings_breakdown||{}).filter(r=>r&&r.name&&r.amount!==void 0),a=Array.isArray(d.deductions_breakdown)?d.deductions_breakdown:Object.values(d.deductions_breakdown||{}).filter(r=>r&&r.name&&r.amount!==void 0);f(s),b(a),i(d.adjustments||[])}else f([]),b([]),i([])},[j,d]);const T=(s,a)=>{const r=[...u];r[s]={...r[s],amount:a},f(r)},O=(s,a)=>{const r=[...g];r[s]={...r[s],amount:a},b(r)},h=(s,a,r)=>{const n=[...l];n[s]={...n[s],[a]:r},i(n)},y=s=>{i([...l,{type:s,name:"",amount:"0"}])},w=s=>{i(l.filter((a,r)=>r!==s))},x=u.reduce((s,a)=>s+(parseFloat(a.amount)||0),0)+l.filter(s=>s.type==="earning").reduce((s,a)=>s+(parseFloat(a.amount)||0),0),N=g.reduce((s,a)=>s+(parseFloat(a.amount)||0),0)+l.filter(s=>s.type==="deduction").reduce((s,a)=>s+(parseFloat(a.amount)||0),0),k=Math.max(0,x-N),z=()=>{const s={...d.earnings_breakdown};u.forEach((r,n)=>{s[n]=r});const a={...d.deductions_breakdown};g.forEach((r,n)=>{a[n]=r}),P({earnings_breakdown:s,deductions_breakdown:a,adjustments:l})};return e.jsx($,{open:j,onOpenChange:s=>!s&&v(),children:e.jsxs(R,{className:"max-w-4xl max-h-[90vh] flex flex-col p-0",children:[e.jsxs(B,{className:"px-6 py-4 border-b",children:[e.jsxs(G,{children:[t("Override Payroll")," - ",(C=d==null?void 0:d.employee)==null?void 0:C.name]}),e.jsx(M,{className:"sr-only",children:"Edit payroll entry and add custom adjustment line items"})]}),e.jsx(q,{className:"flex-1 px-6 py-4",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsx("div",{className:"flex-1 space-y-4",children:e.jsxs("div",{className:"bg-green-50 dark:bg-green-900/10 p-4 rounded-lg border border-green-100 dark:border-green-800",children:[e.jsx("h3",{className:"font-semibold text-green-800 dark:text-green-400 mb-4",children:t("EARNINGS")}),e.jsx("div",{className:"space-y-3",children:u.map((s,a)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex-1 text-sm font-medium text-gray-700 dark:text-gray-300",children:s.name}),e.jsx(c,{type:"number",step:"0.01",className:"w-32 text-right font-mono",value:s.amount,onChange:r=>T(a,r.target.value)})]},`earn-${a}`))}),e.jsxs("div",{className:"mt-6 pt-4 border-t border-green-200 dark:border-green-800",children:[e.jsx("h4",{className:"font-medium text-green-700 dark:text-green-500 mb-3 text-sm",children:t("Adjustment Earnings")}),e.jsx("div",{className:"space-y-3",children:l.filter(s=>s.type==="earning").map((s,a,r)=>{const n=l.findIndex(o=>o===s);return e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(c,{className:"flex-1",placeholder:t("Name (e.g. Bonus)"),value:s.name,onChange:o=>h(n,"name",o.target.value)}),e.jsx(c,{type:"number",step:"0.01",className:"w-28 text-right font-mono",value:s.amount,onChange:o=>h(n,"amount",o.target.value)}),e.jsx(m,{variant:"ghost",size:"icon",className:"h-8 w-8 text-red-500 hover:text-red-700 hover:bg-red-50",onClick:()=>w(n),children:e.jsx(F,{className:"h-4 w-4"})})]},`adj-earn-${n}`)})}),e.jsxs(m,{variant:"outline",size:"sm",className:"mt-3 w-full text-green-600 border-green-200 hover:bg-green-50",onClick:()=>y("earning"),children:[e.jsx(I,{className:"h-4 w-4 mr-1"})," ",t("Add Earning")]})]})]})}),e.jsx("div",{className:"flex-1 space-y-4",children:e.jsxs("div",{className:"bg-red-50 dark:bg-red-900/10 p-4 rounded-lg border border-red-100 dark:border-red-800",children:[e.jsx("h3",{className:"font-semibold text-red-800 dark:text-red-400 mb-4",children:t("DEDUCTIONS")}),e.jsx("div",{className:"space-y-3",children:g.map((s,a)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex-1 text-sm font-medium text-gray-700 dark:text-gray-300",children:s.name}),e.jsx(c,{type:"number",step:"0.01",className:"w-32 text-right font-mono",value:s.amount,onChange:r=>O(a,r.target.value)})]},`ded-${a}`))}),e.jsxs("div",{className:"mt-6 pt-4 border-t border-red-200 dark:border-red-800",children:[e.jsx("h4",{className:"font-medium text-red-700 dark:text-red-500 mb-3 text-sm",children:t("Adjustment Deductions")}),e.jsx("div",{className:"space-y-3",children:l.filter(s=>s.type==="deduction").map((s,a,r)=>{const n=l.findIndex(o=>o===s);return e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(c,{className:"flex-1",placeholder:t("Name (e.g. Cash Advance)"),value:s.name,onChange:o=>h(n,"name",o.target.value)}),e.jsx(c,{type:"number",step:"0.01",className:"w-28 text-right font-mono",value:s.amount,onChange:o=>h(n,"amount",o.target.value)}),e.jsx(m,{variant:"ghost",size:"icon",className:"h-8 w-8 text-red-500 hover:text-red-700 hover:bg-red-50",onClick:()=>w(n),children:e.jsx(F,{className:"h-4 w-4"})})]},`adj-ded-${n}`)})}),e.jsxs(m,{variant:"outline",size:"sm",className:"mt-3 w-full text-red-600 border-red-200 hover:bg-red-50",onClick:()=>y("deduction"),children:[e.jsx(I,{className:"h-4 w-4 mr-1"})," ",t("Add Deduction")]})]})]})})]})}),e.jsxs("div",{className:"px-6 py-4 bg-gray-50 dark:bg-gray-900 border-t flex flex-col",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4 px-4 text-sm font-medium",children:[e.jsxs("div",{className:"text-green-700 dark:text-green-500",children:[t("Total Earnings"),": ",e.jsx("span",{className:"font-mono",children:((A=window.appSettings)==null?void 0:A.formatCurrency(x))||x.toFixed(2)})]}),e.jsxs("div",{className:"text-red-700 dark:text-red-500",children:[t("Total Deductions"),": ",e.jsx("span",{className:"font-mono",children:((E=window.appSettings)==null?void 0:E.formatCurrency(N))||N.toFixed(2)})]})]}),e.jsxs("div",{className:"flex justify-between items-center px-4 py-3 bg-white dark:bg-gray-800 rounded-lg border shadow-sm",children:[e.jsxs("div",{className:"text-lg font-bold text-gray-900 dark:text-gray-100",children:[e.jsx("span",{className:"text-sm font-normal text-gray-500 block",children:t("GROSS PAY")}),e.jsx("span",{className:"font-mono",children:((S=window.appSettings)==null?void 0:S.formatCurrency(x))||x.toFixed(2)})]}),e.jsxs("div",{className:"text-right text-xl font-bold text-blue-600 dark:text-blue-400",children:[e.jsx("span",{className:"text-sm font-normal text-gray-500 block",children:t("NET PAY")}),e.jsx("span",{className:"font-mono",children:((_=window.appSettings)==null?void 0:_.formatCurrency(k))||k.toFixed(2)})]})]})]}),e.jsxs(Y,{className:"px-6 py-4 border-t",children:[e.jsx(m,{variant:"outline",onClick:v,children:t("Cancel")}),e.jsx(m,{onClick:z,children:t("Save")})]})]})})}export{V as PayrollOverrideModal}; +import{r as p,j as e}from"./ui-Z445SNHD.js";import{u as D,D as $,h as R,j as B,k as G,p as M,I as c,o as m,X as F,P as I,q as Y}from"./app-Dya84jp7.js";import{S as q}from"./scroll-area-T2TE8oKI.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function V({isOpen:j,onClose:v,onSubmit:P,initialData:d}){var C,A,E,S,_;const{t}=D(),[u,f]=p.useState([]),[g,b]=p.useState([]),[l,i]=p.useState([]);p.useEffect(()=>{if(j&&d){const s=Array.isArray(d.earnings_breakdown)?d.earnings_breakdown:Object.values(d.earnings_breakdown||{}).filter(r=>r&&r.name&&r.amount!==void 0),a=Array.isArray(d.deductions_breakdown)?d.deductions_breakdown:Object.values(d.deductions_breakdown||{}).filter(r=>r&&r.name&&r.amount!==void 0);f(s),b(a),i(d.adjustments||[])}else f([]),b([]),i([])},[j,d]);const T=(s,a)=>{const r=[...u];r[s]={...r[s],amount:a},f(r)},O=(s,a)=>{const r=[...g];r[s]={...r[s],amount:a},b(r)},h=(s,a,r)=>{const n=[...l];n[s]={...n[s],[a]:r},i(n)},y=s=>{i([...l,{type:s,name:"",amount:"0"}])},w=s=>{i(l.filter((a,r)=>r!==s))},x=u.reduce((s,a)=>s+(parseFloat(a.amount)||0),0)+l.filter(s=>s.type==="earning").reduce((s,a)=>s+(parseFloat(a.amount)||0),0),N=g.reduce((s,a)=>s+(parseFloat(a.amount)||0),0)+l.filter(s=>s.type==="deduction").reduce((s,a)=>s+(parseFloat(a.amount)||0),0),k=Math.max(0,x-N),z=()=>{const s={...d.earnings_breakdown};u.forEach((r,n)=>{s[n]=r});const a={...d.deductions_breakdown};g.forEach((r,n)=>{a[n]=r}),P({earnings_breakdown:s,deductions_breakdown:a,adjustments:l})};return e.jsx($,{open:j,onOpenChange:s=>!s&&v(),children:e.jsxs(R,{className:"max-w-4xl max-h-[90vh] flex flex-col p-0",children:[e.jsxs(B,{className:"px-6 py-4 border-b",children:[e.jsxs(G,{children:[t("Override Payroll")," - ",(C=d==null?void 0:d.employee)==null?void 0:C.name]}),e.jsx(M,{className:"sr-only",children:"Edit payroll entry and add custom adjustment line items"})]}),e.jsx(q,{className:"flex-1 px-6 py-4",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsx("div",{className:"flex-1 space-y-4",children:e.jsxs("div",{className:"bg-green-50 dark:bg-green-900/10 p-4 rounded-lg border border-green-100 dark:border-green-800",children:[e.jsx("h3",{className:"font-semibold text-green-800 dark:text-green-400 mb-4",children:t("EARNINGS")}),e.jsx("div",{className:"space-y-3",children:u.map((s,a)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex-1 text-sm font-medium text-gray-700 dark:text-gray-300",children:s.name}),e.jsx(c,{type:"number",step:"0.01",className:"w-32 text-right font-mono",value:s.amount,onChange:r=>T(a,r.target.value)})]},`earn-${a}`))}),e.jsxs("div",{className:"mt-6 pt-4 border-t border-green-200 dark:border-green-800",children:[e.jsx("h4",{className:"font-medium text-green-700 dark:text-green-500 mb-3 text-sm",children:t("Adjustment Earnings")}),e.jsx("div",{className:"space-y-3",children:l.filter(s=>s.type==="earning").map((s,a,r)=>{const n=l.findIndex(o=>o===s);return e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(c,{className:"flex-1",placeholder:t("Name (e.g. Bonus)"),value:s.name,onChange:o=>h(n,"name",o.target.value)}),e.jsx(c,{type:"number",step:"0.01",className:"w-28 text-right font-mono",value:s.amount,onChange:o=>h(n,"amount",o.target.value)}),e.jsx(m,{variant:"ghost",size:"icon",className:"h-8 w-8 text-red-500 hover:text-red-700 hover:bg-red-50",onClick:()=>w(n),children:e.jsx(F,{className:"h-4 w-4"})})]},`adj-earn-${n}`)})}),e.jsxs(m,{variant:"outline",size:"sm",className:"mt-3 w-full text-green-600 border-green-200 hover:bg-green-50",onClick:()=>y("earning"),children:[e.jsx(I,{className:"h-4 w-4 mr-1"})," ",t("Add Earning")]})]})]})}),e.jsx("div",{className:"flex-1 space-y-4",children:e.jsxs("div",{className:"bg-red-50 dark:bg-red-900/10 p-4 rounded-lg border border-red-100 dark:border-red-800",children:[e.jsx("h3",{className:"font-semibold text-red-800 dark:text-red-400 mb-4",children:t("DEDUCTIONS")}),e.jsx("div",{className:"space-y-3",children:g.map((s,a)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex-1 text-sm font-medium text-gray-700 dark:text-gray-300",children:s.name}),e.jsx(c,{type:"number",step:"0.01",className:"w-32 text-right font-mono",value:s.amount,onChange:r=>O(a,r.target.value)})]},`ded-${a}`))}),e.jsxs("div",{className:"mt-6 pt-4 border-t border-red-200 dark:border-red-800",children:[e.jsx("h4",{className:"font-medium text-red-700 dark:text-red-500 mb-3 text-sm",children:t("Adjustment Deductions")}),e.jsx("div",{className:"space-y-3",children:l.filter(s=>s.type==="deduction").map((s,a,r)=>{const n=l.findIndex(o=>o===s);return e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(c,{className:"flex-1",placeholder:t("Name (e.g. Cash Advance)"),value:s.name,onChange:o=>h(n,"name",o.target.value)}),e.jsx(c,{type:"number",step:"0.01",className:"w-28 text-right font-mono",value:s.amount,onChange:o=>h(n,"amount",o.target.value)}),e.jsx(m,{variant:"ghost",size:"icon",className:"h-8 w-8 text-red-500 hover:text-red-700 hover:bg-red-50",onClick:()=>w(n),children:e.jsx(F,{className:"h-4 w-4"})})]},`adj-ded-${n}`)})}),e.jsxs(m,{variant:"outline",size:"sm",className:"mt-3 w-full text-red-600 border-red-200 hover:bg-red-50",onClick:()=>y("deduction"),children:[e.jsx(I,{className:"h-4 w-4 mr-1"})," ",t("Add Deduction")]})]})]})})]})}),e.jsxs("div",{className:"px-6 py-4 bg-gray-50 dark:bg-gray-900 border-t flex flex-col",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4 px-4 text-sm font-medium",children:[e.jsxs("div",{className:"text-green-700 dark:text-green-500",children:[t("Total Earnings"),": ",e.jsx("span",{className:"font-mono",children:((A=window.appSettings)==null?void 0:A.formatCurrency(x))||x.toFixed(2)})]}),e.jsxs("div",{className:"text-red-700 dark:text-red-500",children:[t("Total Deductions"),": ",e.jsx("span",{className:"font-mono",children:((E=window.appSettings)==null?void 0:E.formatCurrency(N))||N.toFixed(2)})]})]}),e.jsxs("div",{className:"flex justify-between items-center px-4 py-3 bg-white dark:bg-gray-800 rounded-lg border shadow-sm",children:[e.jsxs("div",{className:"text-lg font-bold text-gray-900 dark:text-gray-100",children:[e.jsx("span",{className:"text-sm font-normal text-gray-500 block",children:t("GROSS PAY")}),e.jsx("span",{className:"font-mono",children:((S=window.appSettings)==null?void 0:S.formatCurrency(x))||x.toFixed(2)})]}),e.jsxs("div",{className:"text-right text-xl font-bold text-blue-600 dark:text-blue-400",children:[e.jsx("span",{className:"text-sm font-normal text-gray-500 block",children:t("NET PAY")}),e.jsx("span",{className:"font-mono",children:((_=window.appSettings)==null?void 0:_.formatCurrency(k))||k.toFixed(2)})]})]})]}),e.jsxs(Y,{className:"px-6 py-4 border-t",children:[e.jsx(m,{variant:"outline",onClick:v,children:t("Cancel")}),e.jsx(m,{onClick:z,children:t("Save")})]})]})})}export{V as PayrollOverrideModal}; diff --git a/public/build/assets/PlansSection-MkqH7YpJ.js b/public/build/assets/PlansSection-CbnsxVRF.js similarity index 98% rename from public/build/assets/PlansSection-MkqH7YpJ.js rename to public/build/assets/PlansSection-CbnsxVRF.js index b1ddf5570..2f5051ce3 100644 --- a/public/build/assets/PlansSection-MkqH7YpJ.js +++ b/public/build/assets/PlansSection-CbnsxVRF.js @@ -1,4 +1,4 @@ -import{R as w,r as B,j as e}from"./ui-Z445SNHD.js";import{u as I,c as L,O as U,Q,V as v,i as q,d as _}from"./app-CfhhiFAk.js";import{u as z}from"./useScrollAnimation-B_bDsIuD.js";import{A as C}from"./arrow-right-0WTHrq3r.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const G=m=>{const x="vCardGo2024",a=m.toString();let l="";for(let r=0;rt+1,0),[i,S]=B.useState("monthly"),{ref:k,isVisible:h}=z(),{props:y}=L(),A=(f=y.globalSettings)==null?void 0:f.is_saas,P=U(y);let o="light";if(P){const t=Q("themeSettings");if(t)try{o=JSON.parse(t).appearance||"light"}catch{o="light"}}else o=((b=y.globalSettings)==null?void 0:b.themeMode)||"light";const s=o==="dark";w.useEffect(()=>{const t=()=>{$()};return g.on("languageChanged",t),()=>g.off("languageChanged",t)},[g]);const u=m.filter(t=>t.is_plan_enable==="on"),R=[{id:1,name:"Starter",description:"Perfect for individuals getting started with digital networking",price:0,yearly_price:0,duration:"month",features:["1 Digital Business Card","Basic QR Code","Contact Form","Basic Analytics","Email Support"],is_popular:!1,is_plan_enable:"on"},{id:2,name:"Professional",description:"Ideal for professionals and small businesses",price:19,yearly_price:190,duration:"month",features:["5 Digital Business Cards","Custom QR Codes","NFC Support","Advanced Analytics","Custom Branding","Priority Support","Lead Capture"],is_popular:!0,is_plan_enable:"on"},{id:3,name:"Enterprise",description:"For teams and large organizations",price:49,yearly_price:490,duration:"month",features:["Unlimited Digital Cards","Team Management","Custom Domain","White Label Solution","API Access","Dedicated Support","Advanced Integrations","Custom Features"],is_popular:!1,is_plan_enable:"on"}],E=u.length>0?u:R,p=t=>{var n;if(typeof window<"u"&&((n=window.appSettings)!=null&&n.formatCurrency)){const d=typeof t=="number"?t:parseFloat(t);return window.appSettings.formatCurrency(d,{showSymbol:!0})}return t},c=t=>i==="yearly"&&t.yearly_price?t.yearly_price:t.price;return e.jsx("section",{id:"pricing",className:`py-12 sm:py-16 lg:py-20 ${s?"bg-gray-900":"bg-white"}`,ref:k,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:`text-3xl md:text-4xl font-bold ${s?"text-white":"text-gray-900"} mb-4`,children:(a==null?void 0:a.title)||r("Choose Your HRM Plan")}),e.jsx("p",{className:`text-lg ${s?"text-gray-300":"text-gray-600"} max-w-3xl mx-auto mb-8 leading-relaxed font-medium`,children:(a==null?void 0:a.subtitle)||r("Start with our free plan and upgrade as your team grows.")}),e.jsxs("div",{className:"flex items-center justify-center gap-4",children:[e.jsx("span",{className:`text-sm ${i==="monthly"?(s?"text-white":"text-gray-900")+" font-semibold":s?"text-gray-400":"text-gray-500"}`,children:r("Monthly")}),e.jsx("button",{onClick:()=>S(i==="monthly"?"yearly":"monthly"),className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors cursor-pointer",style:{backgroundColor:i==="yearly"?l:s?"#374151":"#e5e7eb",direction:"ltr"},children:e.jsx("span",{className:`inline-block h-4 w-4 transform rounded-full bg-white transition-transform ${i==="yearly"?"translate-x-6":"translate-x-1"}`})}),e.jsx("span",{className:`text-sm ${i==="yearly"?(s?"text-white":"text-gray-900")+" font-semibold":s?"text-gray-400":"text-gray-500"}`,children:r("Yearly")})]})]}),e.jsx("div",{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 transition-all duration-700 delay-300 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:E.map(t=>{var n,d,j,N;return e.jsx("div",{className:`relative h-full transition-all duration-200 ${t.is_popular?"transform scale-105":""}`,children:e.jsxs("div",{className:` +import{R as w,r as B,j as e}from"./ui-Z445SNHD.js";import{u as I,c as L,O as U,Q,V as v,i as q,d as _}from"./app-Dya84jp7.js";import{u as z}from"./useScrollAnimation-B_bDsIuD.js";import{A as C}from"./arrow-right-BHW--AGU.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const G=m=>{const x="vCardGo2024",a=m.toString();let l="";for(let r=0;rt+1,0),[i,S]=B.useState("monthly"),{ref:k,isVisible:h}=z(),{props:y}=L(),A=(f=y.globalSettings)==null?void 0:f.is_saas,P=U(y);let o="light";if(P){const t=Q("themeSettings");if(t)try{o=JSON.parse(t).appearance||"light"}catch{o="light"}}else o=((b=y.globalSettings)==null?void 0:b.themeMode)||"light";const s=o==="dark";w.useEffect(()=>{const t=()=>{$()};return g.on("languageChanged",t),()=>g.off("languageChanged",t)},[g]);const u=m.filter(t=>t.is_plan_enable==="on"),R=[{id:1,name:"Starter",description:"Perfect for individuals getting started with digital networking",price:0,yearly_price:0,duration:"month",features:["1 Digital Business Card","Basic QR Code","Contact Form","Basic Analytics","Email Support"],is_popular:!1,is_plan_enable:"on"},{id:2,name:"Professional",description:"Ideal for professionals and small businesses",price:19,yearly_price:190,duration:"month",features:["5 Digital Business Cards","Custom QR Codes","NFC Support","Advanced Analytics","Custom Branding","Priority Support","Lead Capture"],is_popular:!0,is_plan_enable:"on"},{id:3,name:"Enterprise",description:"For teams and large organizations",price:49,yearly_price:490,duration:"month",features:["Unlimited Digital Cards","Team Management","Custom Domain","White Label Solution","API Access","Dedicated Support","Advanced Integrations","Custom Features"],is_popular:!1,is_plan_enable:"on"}],E=u.length>0?u:R,p=t=>{var n;if(typeof window<"u"&&((n=window.appSettings)!=null&&n.formatCurrency)){const d=typeof t=="number"?t:parseFloat(t);return window.appSettings.formatCurrency(d,{showSymbol:!0})}return t},c=t=>i==="yearly"&&t.yearly_price?t.yearly_price:t.price;return e.jsx("section",{id:"pricing",className:`py-12 sm:py-16 lg:py-20 ${s?"bg-gray-900":"bg-white"}`,ref:k,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:`text-3xl md:text-4xl font-bold ${s?"text-white":"text-gray-900"} mb-4`,children:(a==null?void 0:a.title)||r("Choose Your HRM Plan")}),e.jsx("p",{className:`text-lg ${s?"text-gray-300":"text-gray-600"} max-w-3xl mx-auto mb-8 leading-relaxed font-medium`,children:(a==null?void 0:a.subtitle)||r("Start with our free plan and upgrade as your team grows.")}),e.jsxs("div",{className:"flex items-center justify-center gap-4",children:[e.jsx("span",{className:`text-sm ${i==="monthly"?(s?"text-white":"text-gray-900")+" font-semibold":s?"text-gray-400":"text-gray-500"}`,children:r("Monthly")}),e.jsx("button",{onClick:()=>S(i==="monthly"?"yearly":"monthly"),className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors cursor-pointer",style:{backgroundColor:i==="yearly"?l:s?"#374151":"#e5e7eb",direction:"ltr"},children:e.jsx("span",{className:`inline-block h-4 w-4 transform rounded-full bg-white transition-transform ${i==="yearly"?"translate-x-6":"translate-x-1"}`})}),e.jsx("span",{className:`text-sm ${i==="yearly"?(s?"text-white":"text-gray-900")+" font-semibold":s?"text-gray-400":"text-gray-500"}`,children:r("Yearly")})]})]}),e.jsx("div",{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 transition-all duration-700 delay-300 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:E.map(t=>{var n,d,j,N;return e.jsx("div",{className:`relative h-full transition-all duration-200 ${t.is_popular?"transform scale-105":""}`,children:e.jsxs("div",{className:` relative h-full flex flex-col rounded-lg border-2 transition-all duration-200 ${t.is_popular?"shadow-xl":"hover:shadow-lg"} `,style:{borderColor:t.is_popular?l:s?"rgb(75 85 99)":"rgb(229 231 235)",background:(t.is_popular,s?"rgb(17 24 39)":"white")},children:[t.is_popular&&e.jsx("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2 z-10",children:e.jsx("div",{className:"text-white px-4 py-1 rounded-full text-sm font-semibold",style:{backgroundColor:l},children:r("Recommended")})}),e.jsxs("div",{className:`p-6 text-center border-b ${s?"border-gray-700":"border-gray-100"}`,children:[e.jsx("h3",{className:`text-xl font-bold mb-2 ${s?"text-white":"text-gray-900"}`,children:t.name}),e.jsxs("div",{className:"mb-4",children:[e.jsxs("div",{className:"flex items-center justify-center",children:[e.jsx("span",{className:`text-4xl font-bold ${s?"text-white":"text-gray-900"}`,children:c(t)===0?"$0":p(c(t))}),e.jsxs("span",{className:`ml-1 ${s?"text-gray-400":"text-gray-500"}`,children:["/",r(i==="yearly"?"year":"month")]})]}),i==="yearly"&&c(t)>0&&e.jsxs("div",{className:"flex items-center justify-center gap-1 mt-1 text-sm",style:{color:l},children:[e.jsx(v,{className:"h-3.5 w-3.5"}),r("Save")," ",p(Math.round((t.price*12-c(t))*100)/100)," ",r("annually")]})]}),e.jsx("p",{className:`text-sm mb-4 ${s?"text-gray-400":"text-gray-600"}`,children:t.description})]}),e.jsxs("div",{className:"flex flex-col flex-1 p-6",children:[t.stats&&e.jsxs("div",{className:"mb-6",children:[e.jsx("h4",{className:`text-sm font-semibold mb-3 uppercase tracking-wide ${s?"text-gray-400":"text-gray-900"}`,children:r("What's Included")}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:`text-sm ${s?"text-gray-300":"text-gray-700"}`,children:r("Users")}),e.jsx("span",{className:`text-sm font-semibold ${s?"text-white":"text-gray-900"}`,children:((n=t.stats)==null?void 0:n.users)||"N/A"})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:`text-sm ${s?"text-gray-300":"text-gray-700"}`,children:r("Employees")}),e.jsx("span",{className:`text-sm font-semibold ${s?"text-white":"text-gray-900"}`,children:((d=t.stats)==null?void 0:d.employees)||"N/A"})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:`text-sm ${s?"text-gray-300":"text-gray-700"}`,children:r("Storage")}),e.jsx("span",{className:`text-sm font-semibold ${s?"text-white":"text-gray-900"}`,children:((j=t.stats)==null?void 0:j.storage)||"N/A"})]})]})]}),((N=t.features)==null?void 0:N.length)>0&&e.jsxs("div",{className:"mb-6 flex-1",children:[e.jsx("h4",{className:`text-sm font-semibold mb-3 uppercase tracking-wide ${s?"text-gray-400":"text-gray-900"}`,children:r("Features")}),e.jsx("ul",{className:"space-y-2",children:t.features.map((F,M)=>e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full flex items-center justify-center",style:{backgroundColor:`${l}20`,color:l},children:e.jsx(v,{className:"h-3 w-3"})}),e.jsx("span",{className:`text-sm ${s?"text-gray-300":"text-gray-700"}`,children:F})]},M))})]}),e.jsx("div",{className:`mt-auto pt-4 border-t ${s?"border-gray-700":"border-gray-200"}`,children:A&&q()?e.jsxs(_,{href:route("register",{plan:G(t.id)}),className:"block w-full text-center py-3 px-6 rounded-lg font-semibold transition-colors hover:opacity-90",style:{backgroundColor:t.is_popular?l:s?"#374151":"#f3f4f6",color:t.is_popular?"white":s?"#f9fafb":"#111827"},children:[t.price===0?r("Start Free"):r("Get Started"),e.jsx(C,{className:"w-4 h-4 inline-block ml-2"})]}):e.jsxs(_,{href:route("login"),className:"block w-full text-center py-3 px-6 rounded-lg font-semibold transition-colors hover:opacity-90",style:{backgroundColor:t.is_popular?l:s?"#374151":"#f3f4f6",color:t.is_popular?"white":s?"#f9fafb":"#111827"},children:[r("Login"),e.jsx(C,{className:"w-4 h-4 inline-block ml-2"})]})})]})]})},t.id)})}),(a==null?void 0:a.faq_text)&&e.jsx("div",{className:"text-center mt-8 sm:mt-12",children:e.jsx("p",{className:s?"text-gray-300":"text-gray-600",children:a.faq_text})})]})})}export{K as default}; diff --git a/public/build/assets/ScreenshotsSection-Cufxpz-n.js b/public/build/assets/ScreenshotsSection-ZsoMa9xw.js similarity index 97% rename from public/build/assets/ScreenshotsSection-Cufxpz-n.js rename to public/build/assets/ScreenshotsSection-ZsoMa9xw.js index d9a4e3b5b..9d5c1969f 100644 --- a/public/build/assets/ScreenshotsSection-Cufxpz-n.js +++ b/public/build/assets/ScreenshotsSection-ZsoMa9xw.js @@ -1 +1 @@ -import{j as a}from"./ui-Z445SNHD.js";import{u}from"./useScrollAnimation-B_bDsIuD.js";import{u as x,g as h}from"./app-CfhhiFAk.js";import{M as m}from"./monitor-CnIEqEUy.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function S({brandColor:l="#3b82f6",settings:f,globalSettings:i,sectionData:r}){const{t}=x(),{ref:p,isVisible:n}=u(),o=e=>e?e.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${e}`:h(e):null,s=(i==null?void 0:i.is_saas)?"/screenshots/saas/":"/screenshots/non-saas/",y=[{src:`${s}hero.png`,alt:t("HRMGo Dashboard Overview"),title:t("Dashboard Overview"),description:t("Get a complete overview of employee data, payroll, and HR activities in one unified dashboard.")},{src:`${s}employee-management.png`,alt:t("Employee Management Module"),title:t("Employee Management"),description:t("Centralized employee profiles with personal details, documents, and job history.")},{src:`${s}payroll-payslip.png`,alt:t("Payroll Automation"),title:t("Payroll & Payslips"),description:t("Automated payroll processing with tax calculations, allowances, and downloadable payslips.")},{src:`${s}leave.png`,alt:t("Leave Management"),title:t("Leave Management"),description:t("Easily apply, approve, and track employee leave requests with proper workflows and policies.")},{src:`${s}attendance.png`,alt:t("Attendance Tracking"),title:t("Attendance Tracking"),description:t("Monitor employee check-ins, check-outs, and shifts with automated attendance logs.")},{src:`${s}recruitment.png`,alt:t("Recruitment & Onboarding"),title:t("Recruitment & Onboarding"),description:t("Streamline hiring with applicant tracking and digital onboarding.")}],c=r!=null&&r.screenshots_list&&r.screenshots_list.length>0?r.screenshots_list.map(e=>({...e,src:o(e.src)})).filter(e=>e.src):y.map(e=>({...e,src:o(e.src)})).filter(e=>e.src);return a.jsx("section",{id:"screenshots",className:"py-12 sm:py-16 lg:py-20 bg-white",ref:p,children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(r==null?void 0:r.title)||t("See HRM Saas in Action")}),a.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(r==null?void 0:r.subtitle)||t("Discover how our modern HRM SaaS platform helps you manage employees, payroll, attendance, and performance — all in one place.")})]}),c.length>0?a.jsx("div",{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:c.map((e,g)=>a.jsxs("div",{className:"group bg-white rounded-xl border border-gray-200 overflow-hidden hover:shadow-xl transition-all duration-300 hover:-translate-y-1",children:[a.jsxs("div",{className:"aspect-video overflow-hidden bg-gray-100",children:[e.src?a.jsx("img",{src:e.src,alt:e.alt,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",loading:"lazy",onError:d=>{d.currentTarget.style.display="none",d.currentTarget.nextElementSibling.style.display="flex"}}):null,a.jsx("div",{className:"w-full h-full flex items-center justify-center text-gray-400",style:{display:e.src?"none":"flex"},children:a.jsx(m,{className:"w-12 h-12"})})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:e.title}),a.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:e.description})]})]},g))}):a.jsxs("div",{className:`text-center py-12 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[a.jsx("div",{className:"text-gray-400 mb-4",children:a.jsx(m,{className:"w-16 h-16 mx-auto"})}),a.jsx("p",{className:"text-gray-500",children:t("No screenshots configured yet. Add some in the admin settings.")})]}),a.jsx("div",{className:`text-center mt-12 transition-all duration-700 delay-400 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:a.jsx("a",{href:"#contact",className:"inline-flex items-center px-6 py-3 rounded-full text-sm font-medium border-2 transition-all",style:{borderColor:l,color:l,backgroundColor:"transparent"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=l,e.currentTarget.style.color="white"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent",e.currentTarget.style.color=l},children:t("✨ And many more features to discover")})})]})})}export{S as default}; +import{j as a}from"./ui-Z445SNHD.js";import{u}from"./useScrollAnimation-B_bDsIuD.js";import{u as x,g as h}from"./app-Dya84jp7.js";import{M as m}from"./monitor-BYgqmcKD.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function S({brandColor:l="#3b82f6",settings:f,globalSettings:i,sectionData:r}){const{t}=x(),{ref:p,isVisible:n}=u(),o=e=>e?e.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${e}`:h(e):null,s=(i==null?void 0:i.is_saas)?"/screenshots/saas/":"/screenshots/non-saas/",y=[{src:`${s}hero.png`,alt:t("HRMGo Dashboard Overview"),title:t("Dashboard Overview"),description:t("Get a complete overview of employee data, payroll, and HR activities in one unified dashboard.")},{src:`${s}employee-management.png`,alt:t("Employee Management Module"),title:t("Employee Management"),description:t("Centralized employee profiles with personal details, documents, and job history.")},{src:`${s}payroll-payslip.png`,alt:t("Payroll Automation"),title:t("Payroll & Payslips"),description:t("Automated payroll processing with tax calculations, allowances, and downloadable payslips.")},{src:`${s}leave.png`,alt:t("Leave Management"),title:t("Leave Management"),description:t("Easily apply, approve, and track employee leave requests with proper workflows and policies.")},{src:`${s}attendance.png`,alt:t("Attendance Tracking"),title:t("Attendance Tracking"),description:t("Monitor employee check-ins, check-outs, and shifts with automated attendance logs.")},{src:`${s}recruitment.png`,alt:t("Recruitment & Onboarding"),title:t("Recruitment & Onboarding"),description:t("Streamline hiring with applicant tracking and digital onboarding.")}],c=r!=null&&r.screenshots_list&&r.screenshots_list.length>0?r.screenshots_list.map(e=>({...e,src:o(e.src)})).filter(e=>e.src):y.map(e=>({...e,src:o(e.src)})).filter(e=>e.src);return a.jsx("section",{id:"screenshots",className:"py-12 sm:py-16 lg:py-20 bg-white",ref:p,children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(r==null?void 0:r.title)||t("See HRM Saas in Action")}),a.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(r==null?void 0:r.subtitle)||t("Discover how our modern HRM SaaS platform helps you manage employees, payroll, attendance, and performance — all in one place.")})]}),c.length>0?a.jsx("div",{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:c.map((e,g)=>a.jsxs("div",{className:"group bg-white rounded-xl border border-gray-200 overflow-hidden hover:shadow-xl transition-all duration-300 hover:-translate-y-1",children:[a.jsxs("div",{className:"aspect-video overflow-hidden bg-gray-100",children:[e.src?a.jsx("img",{src:e.src,alt:e.alt,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",loading:"lazy",onError:d=>{d.currentTarget.style.display="none",d.currentTarget.nextElementSibling.style.display="flex"}}):null,a.jsx("div",{className:"w-full h-full flex items-center justify-center text-gray-400",style:{display:e.src?"none":"flex"},children:a.jsx(m,{className:"w-12 h-12"})})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:e.title}),a.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:e.description})]})]},g))}):a.jsxs("div",{className:`text-center py-12 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[a.jsx("div",{className:"text-gray-400 mb-4",children:a.jsx(m,{className:"w-16 h-16 mx-auto"})}),a.jsx("p",{className:"text-gray-500",children:t("No screenshots configured yet. Add some in the admin settings.")})]}),a.jsx("div",{className:`text-center mt-12 transition-all duration-700 delay-400 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:a.jsx("a",{href:"#contact",className:"inline-flex items-center px-6 py-3 rounded-full text-sm font-medium border-2 transition-all",style:{borderColor:l,color:l,backgroundColor:"transparent"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=l,e.currentTarget.style.color="white"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent",e.currentTarget.style.color=l},children:t("✨ And many more features to discover")})})]})})}export{S as default}; diff --git a/public/build/assets/SectionNavigation-S6sEAPik.js b/public/build/assets/SectionNavigation-2ds3B-MX.js similarity index 77% rename from public/build/assets/SectionNavigation-S6sEAPik.js rename to public/build/assets/SectionNavigation-2ds3B-MX.js index 43141b1b5..7fe5726d4 100644 --- a/public/build/assets/SectionNavigation-S6sEAPik.js +++ b/public/build/assets/SectionNavigation-2ds3B-MX.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{ac as c,E as d,o as b}from"./app-CfhhiFAk.js";import{S as p}from"./settings-BwhyNRyj.js";import{A as y}from"./arrow-up-down-Bd89yBZf.js";import{C as h}from"./code-BfjQUpEO.js";import{T as f}from"./type-CNRj7XNX.js";import{G as k}from"./globe-DePi6jyA.js";import{M as x}from"./monitor-CnIEqEUy.js";import{A as i}from"./award-DMMowKjz.js";import{I as u}from"./info-D_4wnc_R.js";import{U as g}from"./users-C4LpG59H.js";import{C as v}from"./credit-card-BmdpMcMw.js";import{C as j}from"./circle-help-qSaafQwl.js";import{M as w}from"./mail-CGIE7ZEy.js";import{P as C}from"./phone-B_MwJBjY.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const n=[{title:"Setup",sections:[{key:"general",label:"General",icon:p},{key:"order",label:"Order",icon:y},{key:"advanced",label:"Advanced",icon:h}]},{title:"Layout",sections:[{key:"header",label:"Header",icon:f},{key:"hero",label:"Hero",icon:c},{key:"footer",label:"Footer",icon:d}]},{title:"Content",sections:[{key:"features",label:"Features",icon:k},{key:"screenshots",label:"Screenshots",icon:x},{key:"whychooseus",label:"Why Us",icon:i},{key:"about",label:"About",icon:u}]},{title:"Social",sections:[{key:"team",label:"Team",icon:g},{key:"testimonials",label:"Reviews",icon:i},{key:"plans",label:"Plans",icon:v}]},{title:"Engagement",sections:[{key:"faq",label:"FAQ",icon:j},{key:"newsletter",label:"Newsletter",icon:w},{key:"contact",label:"Contact",icon:C}]}];function O({activeSection:t,onSectionChange:l,t:s}){return e.jsxs("div",{className:"mb-8",children:[e.jsx("div",{className:"block lg:hidden mb-4",children:e.jsx("select",{value:t,onChange:a=>l(a.target.value),className:"w-full p-3 border border-gray-300 rounded-lg bg-white",children:n.map(a=>e.jsx("optgroup",{label:a.title,children:a.sections.map(o=>e.jsx("option",{value:o.key,children:s(o.label)},o.key))},a.title))})}),e.jsx("div",{className:"hidden lg:block space-y-4",children:n.map(a=>e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 mb-2 px-2",children:a.title}),e.jsx("div",{className:"flex flex-wrap gap-2",children:a.sections.map(o=>{const m=o.icon,r=t===o.key;return e.jsxs(b,{variant:r?"default":"ghost",size:"sm",className:`transition-all duration-200 ${r?"bg-blue-600 text-white shadow-sm hover:bg-blue-700":"text-gray-700 hover:bg-gray-100 hover:text-gray-900"}`,onClick:()=>l(o.key),children:[e.jsx(m,{className:"h-4 w-4 mr-2"}),s(o.label)]},o.key)})})]},a.title))})]})}export{O as default}; +import{j as e}from"./ui-Z445SNHD.js";import{ac as c,E as d,o as b}from"./app-Dya84jp7.js";import{S as p}from"./settings-amvA_CjN.js";import{A as y}from"./arrow-up-down-B7nj--dP.js";import{C as h}from"./code-znlKMFkF.js";import{T as f}from"./type-Bsbmfmsu.js";import{G as k}from"./globe-5zZ4IsmY.js";import{M as x}from"./monitor-BYgqmcKD.js";import{A as i}from"./award-D1KbOerA.js";import{I as u}from"./info-CPi9bOGM.js";import{U as g}from"./users-BzCDZrS0.js";import{C as v}from"./credit-card-BKi_ThdS.js";import{C as j}from"./circle-help-DYANbqeK.js";import{M as w}from"./mail-Cha_PX4q.js";import{P as C}from"./phone-3MnRoAYu.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const n=[{title:"Setup",sections:[{key:"general",label:"General",icon:p},{key:"order",label:"Order",icon:y},{key:"advanced",label:"Advanced",icon:h}]},{title:"Layout",sections:[{key:"header",label:"Header",icon:f},{key:"hero",label:"Hero",icon:c},{key:"footer",label:"Footer",icon:d}]},{title:"Content",sections:[{key:"features",label:"Features",icon:k},{key:"screenshots",label:"Screenshots",icon:x},{key:"whychooseus",label:"Why Us",icon:i},{key:"about",label:"About",icon:u}]},{title:"Social",sections:[{key:"team",label:"Team",icon:g},{key:"testimonials",label:"Reviews",icon:i},{key:"plans",label:"Plans",icon:v}]},{title:"Engagement",sections:[{key:"faq",label:"FAQ",icon:j},{key:"newsletter",label:"Newsletter",icon:w},{key:"contact",label:"Contact",icon:C}]}];function O({activeSection:t,onSectionChange:l,t:s}){return e.jsxs("div",{className:"mb-8",children:[e.jsx("div",{className:"block lg:hidden mb-4",children:e.jsx("select",{value:t,onChange:a=>l(a.target.value),className:"w-full p-3 border border-gray-300 rounded-lg bg-white",children:n.map(a=>e.jsx("optgroup",{label:a.title,children:a.sections.map(o=>e.jsx("option",{value:o.key,children:s(o.label)},o.key))},a.title))})}),e.jsx("div",{className:"hidden lg:block space-y-4",children:n.map(a=>e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 mb-2 px-2",children:a.title}),e.jsx("div",{className:"flex flex-wrap gap-2",children:a.sections.map(o=>{const m=o.icon,r=t===o.key;return e.jsxs(b,{variant:r?"default":"ghost",size:"sm",className:`transition-all duration-200 ${r?"bg-blue-600 text-white shadow-sm hover:bg-blue-700":"text-gray-700 hover:bg-gray-100 hover:text-gray-900"}`,onClick:()=>l(o.key),children:[e.jsx(m,{className:"h-4 w-4 mr-2"}),s(o.label)]},o.key)})})]},a.title))})]})}export{O as default}; diff --git a/public/build/assets/TeamSection-CQZvlFRV.js b/public/build/assets/TeamSection-DgmuZVwU.js similarity index 95% rename from public/build/assets/TeamSection-CQZvlFRV.js rename to public/build/assets/TeamSection-DgmuZVwU.js index 2146596d7..b58a32896 100644 --- a/public/build/assets/TeamSection-CQZvlFRV.js +++ b/public/build/assets/TeamSection-DgmuZVwU.js @@ -1 +1 @@ -import{j as r}from"./ui-Z445SNHD.js";import{u as n}from"./app-CfhhiFAk.js";import{L as a,T as x}from"./twitter-C171Pyox.js";import{M as c}from"./mail-CGIE7ZEy.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function N({settings:g,sectionData:e,brandColor:t="#3b82f6"}){const{t:s}=n(),i=[{name:"John Doe",role:s("CEO & Founder"),bio:s("Experienced HR tech entrepreneur passionate about building intuitive HR solutions."),image:"",linkedin:"#",email:"john@example.com"},{name:"Jane Smith",role:s("CTO"),bio:s("Leads the tech team to create scalable and secure HR platforms."),image:"",linkedin:"#",email:"jane@example.com"},{name:"Michael Lee",role:s("Head of Product"),bio:s("Designs user-centric features to simplify HR processes."),image:"",linkedin:"#",email:"michael@example.com"},{name:"Emily Davis",role:s("HR Manager"),bio:s("Oversees employee engagement, recruitment, and HR operations."),image:"",linkedin:"#",email:"emily@example.com"}],m=e!=null&&e.members&&e.members.length>0?e.members:i;return r.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-white",children:r.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[r.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[r.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(e==null?void 0:e.title)||s("Meet Our Team")}),r.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(e==null?void 0:e.subtitle)||s("We're a dedicated team of HR and technology experts.")})]}),r.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 sm:gap-8",children:m.map((l,d)=>r.jsxs("div",{className:"bg-gray-50 rounded-xl p-6 border border-gray-200 hover:border-gray-300 transition-colors",children:[r.jsx("div",{className:"w-20 h-20 rounded-full mx-auto mb-4 flex items-center justify-center",style:{backgroundColor:t},children:r.jsx("span",{className:"text-white text-lg font-bold",children:l.name.split(" ").map(o=>o[0]).join("")})}),r.jsxs("div",{className:"text-center",children:[r.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-1",children:l.name}),r.jsx("p",{className:"text-gray-700 font-medium mb-3",children:l.role}),r.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-4",children:l.bio}),r.jsxs("div",{className:"flex justify-center gap-2",children:[l.linkedin&&r.jsx("a",{href:l.linkedin,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(a,{className:"w-4 h-4 text-gray-600"})}),l.twitter&&r.jsx("a",{href:l.twitter,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(x,{className:"w-4 h-4 text-gray-600"})}),l.email&&r.jsx("a",{href:`mailto:${l.email}`,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(c,{className:"w-4 h-4 text-gray-600"})})]})]})]},d))}),((e==null?void 0:e.cta_title)||(e==null?void 0:e.cta_description)||(e==null?void 0:e.cta_button_text))&&r.jsx("div",{className:"text-center mt-8 sm:mt-12 lg:mt-16",children:r.jsxs("div",{className:"bg-gray-50 rounded-xl p-8 border border-gray-200 max-w-2xl mx-auto",children:[r.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:(e==null?void 0:e.cta_title)||s("Want to Join Our Team?")}),r.jsx("p",{className:"text-gray-600 mb-6",children:(e==null?void 0:e.cta_description)||s("We're always looking for talented individuals to shape the future of HR management.")}),r.jsx("a",{href:"#contact",className:"inline-flex items-center px-8 py-3 rounded-lg transition-all font-semibold border",style:{backgroundColor:t,color:"white",borderColor:t},onMouseEnter:l=>{l.currentTarget.style.backgroundColor="white",l.currentTarget.style.color=t},onMouseLeave:l=>{l.currentTarget.style.backgroundColor=t,l.currentTarget.style.color="white"},children:(e==null?void 0:e.cta_button_text)||s("View Open Positions")})]})})]})})}export{N as default}; +import{j as r}from"./ui-Z445SNHD.js";import{u as n}from"./app-Dya84jp7.js";import{L as a,T as x}from"./twitter-DZQVDI4Y.js";import{M as c}from"./mail-Cha_PX4q.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function N({settings:g,sectionData:e,brandColor:t="#3b82f6"}){const{t:s}=n(),i=[{name:"John Doe",role:s("CEO & Founder"),bio:s("Experienced HR tech entrepreneur passionate about building intuitive HR solutions."),image:"",linkedin:"#",email:"john@example.com"},{name:"Jane Smith",role:s("CTO"),bio:s("Leads the tech team to create scalable and secure HR platforms."),image:"",linkedin:"#",email:"jane@example.com"},{name:"Michael Lee",role:s("Head of Product"),bio:s("Designs user-centric features to simplify HR processes."),image:"",linkedin:"#",email:"michael@example.com"},{name:"Emily Davis",role:s("HR Manager"),bio:s("Oversees employee engagement, recruitment, and HR operations."),image:"",linkedin:"#",email:"emily@example.com"}],m=e!=null&&e.members&&e.members.length>0?e.members:i;return r.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-white",children:r.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[r.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[r.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(e==null?void 0:e.title)||s("Meet Our Team")}),r.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(e==null?void 0:e.subtitle)||s("We're a dedicated team of HR and technology experts.")})]}),r.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 sm:gap-8",children:m.map((l,d)=>r.jsxs("div",{className:"bg-gray-50 rounded-xl p-6 border border-gray-200 hover:border-gray-300 transition-colors",children:[r.jsx("div",{className:"w-20 h-20 rounded-full mx-auto mb-4 flex items-center justify-center",style:{backgroundColor:t},children:r.jsx("span",{className:"text-white text-lg font-bold",children:l.name.split(" ").map(o=>o[0]).join("")})}),r.jsxs("div",{className:"text-center",children:[r.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-1",children:l.name}),r.jsx("p",{className:"text-gray-700 font-medium mb-3",children:l.role}),r.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-4",children:l.bio}),r.jsxs("div",{className:"flex justify-center gap-2",children:[l.linkedin&&r.jsx("a",{href:l.linkedin,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(a,{className:"w-4 h-4 text-gray-600"})}),l.twitter&&r.jsx("a",{href:l.twitter,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(x,{className:"w-4 h-4 text-gray-600"})}),l.email&&r.jsx("a",{href:`mailto:${l.email}`,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(c,{className:"w-4 h-4 text-gray-600"})})]})]})]},d))}),((e==null?void 0:e.cta_title)||(e==null?void 0:e.cta_description)||(e==null?void 0:e.cta_button_text))&&r.jsx("div",{className:"text-center mt-8 sm:mt-12 lg:mt-16",children:r.jsxs("div",{className:"bg-gray-50 rounded-xl p-8 border border-gray-200 max-w-2xl mx-auto",children:[r.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:(e==null?void 0:e.cta_title)||s("Want to Join Our Team?")}),r.jsx("p",{className:"text-gray-600 mb-6",children:(e==null?void 0:e.cta_description)||s("We're always looking for talented individuals to shape the future of HR management.")}),r.jsx("a",{href:"#contact",className:"inline-flex items-center px-8 py-3 rounded-lg transition-all font-semibold border",style:{backgroundColor:t,color:"white",borderColor:t},onMouseEnter:l=>{l.currentTarget.style.backgroundColor="white",l.currentTarget.style.color=t},onMouseLeave:l=>{l.currentTarget.style.backgroundColor=t,l.currentTarget.style.color="white"},children:(e==null?void 0:e.cta_button_text)||s("View Open Positions")})]})})]})})}export{N as default}; diff --git a/public/build/assets/TestimonialsSection-DTvM3atF.js b/public/build/assets/TestimonialsSection-8hPz5wUJ.js similarity index 95% rename from public/build/assets/TestimonialsSection-DTvM3atF.js rename to public/build/assets/TestimonialsSection-8hPz5wUJ.js index bb8213803..6a42987b7 100644 --- a/public/build/assets/TestimonialsSection-DTvM3atF.js +++ b/public/build/assets/TestimonialsSection-8hPz5wUJ.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as h}from"./useScrollAnimation-B_bDsIuD.js";import{u}from"./app-CfhhiFAk.js";import{Q as g}from"./quote-CVpLTvYv.js";import{S as y}from"./star-DQsTg5F1.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function T({testimonials:o,settings:f,sectionData:s,brandColor:a="#3b82f6"}){var i;const{t:n}=u(),{ref:c,isVisible:m}=h(),d=((i=s==null?void 0:s.testimonials)==null?void 0:i.map((r,t)=>({id:t+1,...r})))||[{name:"Alice Johnson",role:"HR Manager",company:"GlobalTech Ltd.",content:"HRMGo has made managing employee records and attendance effortless. Our HR team saves hours every week!",rating:5},{name:"Robert Smith",role:"Operations Head",company:"Innovate Solutions",content:"The payroll automation is incredibly accurate and easy to use. No more manual calculations or errors!",rating:5},{name:"Maria Davis",role:"CEO",company:"BrightFuture Corp.",content:"From recruitment to performance management, HRMGo covers everything we need in one platform.",rating:5},{name:"David Lee",role:"Talent Acquisition Lead",company:"NextGen Enterprises",content:"Recruitment and onboarding have never been smoother. HRMGo’s platform is intuitive and efficient.",rating:5},{name:"Samantha Green",role:"Payroll Specialist",company:"BrightSolutions Inc.",content:"Payroll processing is now quick and error-free thanks to HRMGo. It has transformed our monthly workflow.",rating:5},{name:"Michael Brown",role:"HR Coordinator",company:"TechWave Ltd.",content:"The performance management module helps us track employee goals and progress effortlessly.",rating:5}],x=o.length>0?o:d,p=r=>Array.from({length:5},(t,l)=>e.jsx(y,{className:`w-4 h-4 ${le.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-6 hover:border-gray-300 transition-colors relative",children:[e.jsx("div",{className:"absolute -top-3 left-6",children:e.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center",style:{backgroundColor:a},children:e.jsx(g,{className:"w-3 h-3 text-white"})})}),e.jsx("div",{className:"flex items-center gap-1 mb-4 pt-2",children:p(r.rating)}),e.jsxs("p",{className:"text-gray-700 mb-6 leading-relaxed",children:['"',r.content,'"']}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:a},children:r.avatar?e.jsx("img",{src:r.avatar,alt:r.name,className:"w-12 h-12 rounded-full object-cover"}):e.jsx("span",{className:"text-white font-semibold",children:r.name.split(" ").map(t=>t[0]).join("")})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-gray-900",children:r.name}),e.jsxs("p",{className:"text-sm text-gray-600",children:[r.role,r.company&&e.jsxs("span",{className:"text-gray-400",children:[" • ",r.company]})]})]})]})]},r.id))}),(s==null?void 0:s.trust_stats)&&s.trust_stats.length>0&&e.jsx("div",{className:"mt-8 sm:mt-12 lg:mt-16 text-center",children:e.jsxs("div",{className:"bg-white rounded-xl p-8 border border-gray-200",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:(s==null?void 0:s.trust_title)||n("Trusted by HR Professionals Worldwide")}),e.jsx("div",{className:"flex justify-center items-center gap-8 flex-wrap",children:s.trust_stats.map((r,t)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold text-gray-900",children:r.value}),e.jsx("div",{className:"text-gray-600",children:r.label})]},t))})]})})]})})}export{T as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as h}from"./useScrollAnimation-B_bDsIuD.js";import{u}from"./app-Dya84jp7.js";import{Q as g}from"./quote-BmDTOIsR.js";import{S as y}from"./star-DCkLKzoE.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function T({testimonials:o,settings:f,sectionData:s,brandColor:a="#3b82f6"}){var i;const{t:n}=u(),{ref:c,isVisible:m}=h(),d=((i=s==null?void 0:s.testimonials)==null?void 0:i.map((r,t)=>({id:t+1,...r})))||[{name:"Alice Johnson",role:"HR Manager",company:"GlobalTech Ltd.",content:"HRMGo has made managing employee records and attendance effortless. Our HR team saves hours every week!",rating:5},{name:"Robert Smith",role:"Operations Head",company:"Innovate Solutions",content:"The payroll automation is incredibly accurate and easy to use. No more manual calculations or errors!",rating:5},{name:"Maria Davis",role:"CEO",company:"BrightFuture Corp.",content:"From recruitment to performance management, HRMGo covers everything we need in one platform.",rating:5},{name:"David Lee",role:"Talent Acquisition Lead",company:"NextGen Enterprises",content:"Recruitment and onboarding have never been smoother. HRMGo’s platform is intuitive and efficient.",rating:5},{name:"Samantha Green",role:"Payroll Specialist",company:"BrightSolutions Inc.",content:"Payroll processing is now quick and error-free thanks to HRMGo. It has transformed our monthly workflow.",rating:5},{name:"Michael Brown",role:"HR Coordinator",company:"TechWave Ltd.",content:"The performance management module helps us track employee goals and progress effortlessly.",rating:5}],x=o.length>0?o:d,p=r=>Array.from({length:5},(t,l)=>e.jsx(y,{className:`w-4 h-4 ${le.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-6 hover:border-gray-300 transition-colors relative",children:[e.jsx("div",{className:"absolute -top-3 left-6",children:e.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center",style:{backgroundColor:a},children:e.jsx(g,{className:"w-3 h-3 text-white"})})}),e.jsx("div",{className:"flex items-center gap-1 mb-4 pt-2",children:p(r.rating)}),e.jsxs("p",{className:"text-gray-700 mb-6 leading-relaxed",children:['"',r.content,'"']}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:a},children:r.avatar?e.jsx("img",{src:r.avatar,alt:r.name,className:"w-12 h-12 rounded-full object-cover"}):e.jsx("span",{className:"text-white font-semibold",children:r.name.split(" ").map(t=>t[0]).join("")})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-gray-900",children:r.name}),e.jsxs("p",{className:"text-sm text-gray-600",children:[r.role,r.company&&e.jsxs("span",{className:"text-gray-400",children:[" • ",r.company]})]})]})]})]},r.id))}),(s==null?void 0:s.trust_stats)&&s.trust_stats.length>0&&e.jsx("div",{className:"mt-8 sm:mt-12 lg:mt-16 text-center",children:e.jsxs("div",{className:"bg-white rounded-xl p-8 border border-gray-200",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:(s==null?void 0:s.trust_title)||n("Trusted by HR Professionals Worldwide")}),e.jsx("div",{className:"flex justify-center items-center gap-8 flex-wrap",children:s.trust_stats.map((r,t)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold text-gray-900",children:r.value}),e.jsx("div",{className:"text-gray-600",children:r.label})]},t))})]})})]})})}export{T as default}; diff --git a/public/build/assets/WhyChooseUs-B0lIb9AU.js b/public/build/assets/WhyChooseUs-tfkiXnEx.js similarity index 87% rename from public/build/assets/WhyChooseUs-B0lIb9AU.js rename to public/build/assets/WhyChooseUs-tfkiXnEx.js index b8701bf5d..43de96111 100644 --- a/public/build/assets/WhyChooseUs-B0lIb9AU.js +++ b/public/build/assets/WhyChooseUs-tfkiXnEx.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as g}from"./useScrollAnimation-B_bDsIuD.js";import{u as h}from"./app-CfhhiFAk.js";import{C as u}from"./chart-no-axes-column-increasing-B7MqdTh5.js";import{L as f}from"./layers-Dl67CG9c.js";import{A as y}from"./award-DMMowKjz.js";import{H as b,S as j}from"./shield-BXgaUVtY.js";import{S as v}from"./star-DQsTg5F1.js";import{C as N}from"./circle-check-big-C5Cqj7-2.js";import{Z as w}from"./zap-DncwKEcc.js";import{U as C}from"./users-C4LpG59H.js";import{C as o}from"./clock-CwFdn-oy.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const S={clock:o,users:C,zap:w,"check-circle":N,star:v,shield:j,heart:b,award:y,layers:f,"bar-chart":u};function q({settings:k,sectionData:t,brandColor:r="#3b82f6"}){const{t:s}=h(),{ref:n,isVisible:l}=g(),c=[{icon:"layers",title:s("All-in-One HR Solution"),description:s("Manage employees, payroll, attendance, recruitment, and performance from a single platform. No technical skills required.")},{icon:"clock",title:s("Time-Saving Automation"),description:s("Automate repetitive HR tasks to focus on strategic decision-making.")},{icon:"bar-chart",title:s("Data-Driven Insights"),description:s("Make informed decisions with advanced analytics and reports.")},{icon:"shield",title:s("Secure & Reliable"),description:s("Keep sensitive HR data safe with enterprise-grade security.")}],d=[{value:"500+",label:s("Companies Using HRM"),color:"blue"},{value:"20K+",label:s("Employees Managed"),color:"green"},{value:"98%",label:s("Customer Satisfaction"),color:"orange"}],m=t.reasons&&t.reasons.length>0?t.reasons:c,x=t.stats&&t.stats.length>0?t.stats:d;return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-white",ref:n,children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[e.jsxs("div",{className:`transition-all duration-700 ${l?"opacity-100 translate-x-0":"opacity-0 -translate-x-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:t.title||s("Why Choose HRM SaaS ?")}),e.jsx("p",{className:"text-lg text-gray-600 mb-8 leading-relaxed font-medium",children:t.subtitle||s("Smart, simple, and powerful HR solutions for every business. We're your partner in building meaningful professional connections that drive business growth.")}),e.jsx("div",{className:"space-y-4 sm:space-y-6",children:m.map((a,i)=>{const p=S[a.icon]||o;return e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0",style:{backgroundColor:`${r}15`},children:e.jsx(p,{className:"w-5 h-5",style:{color:r}})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:a.title}),e.jsx("p",{className:"text-gray-600",children:a.description})]})]},i)})})]}),e.jsxs("div",{className:`bg-gray-50 rounded-xl p-8 border border-gray-200 transition-all duration-700 delay-300 ${l?"opacity-100 translate-x-0":"opacity-0 translate-x-8"}`,children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:t.stats_title||s("Trusted by Industry Leaders")}),e.jsx("p",{className:"text-gray-600",children:t.stats_subtitle||s("Join the growing community of professionals")})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4 sm:gap-6",children:x.map((a,i)=>e.jsxs("div",{className:"text-center p-6 bg-white rounded-lg border border-gray-200",children:[e.jsx("div",{className:"text-3xl font-bold text-gray-900 mb-2",children:a.value}),e.jsx("div",{className:"text-gray-600 font-medium",children:a.label})]},i))}),(t.cta_title||t.cta_subtitle)&&e.jsxs("div",{className:"mt-8 p-6 rounded-lg text-white text-center",style:{backgroundColor:r},children:[e.jsx("div",{className:"text-xl font-bold mb-2",children:t.cta_title||s("Ready to get started?")}),e.jsx("div",{className:"text-gray-300",children:t.cta_subtitle||s("Join thousands of satisfied users today")})]})]})]})})})}export{q as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as g}from"./useScrollAnimation-B_bDsIuD.js";import{u as h}from"./app-Dya84jp7.js";import{C as u}from"./chart-no-axes-column-increasing-DGWtPhLs.js";import{L as f}from"./layers-OK3_pizJ.js";import{A as y}from"./award-D1KbOerA.js";import{H as b,S as j}from"./shield-CDL27iRK.js";import{S as v}from"./star-DCkLKzoE.js";import{C as N}from"./circle-check-big-Cju4ilPH.js";import{Z as w}from"./zap-CgFkG-9H.js";import{U as C}from"./users-BzCDZrS0.js";import{C as o}from"./clock-LnEFQ-vK.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const S={clock:o,users:C,zap:w,"check-circle":N,star:v,shield:j,heart:b,award:y,layers:f,"bar-chart":u};function q({settings:k,sectionData:t,brandColor:r="#3b82f6"}){const{t:s}=h(),{ref:n,isVisible:l}=g(),c=[{icon:"layers",title:s("All-in-One HR Solution"),description:s("Manage employees, payroll, attendance, recruitment, and performance from a single platform. No technical skills required.")},{icon:"clock",title:s("Time-Saving Automation"),description:s("Automate repetitive HR tasks to focus on strategic decision-making.")},{icon:"bar-chart",title:s("Data-Driven Insights"),description:s("Make informed decisions with advanced analytics and reports.")},{icon:"shield",title:s("Secure & Reliable"),description:s("Keep sensitive HR data safe with enterprise-grade security.")}],d=[{value:"500+",label:s("Companies Using HRM"),color:"blue"},{value:"20K+",label:s("Employees Managed"),color:"green"},{value:"98%",label:s("Customer Satisfaction"),color:"orange"}],m=t.reasons&&t.reasons.length>0?t.reasons:c,x=t.stats&&t.stats.length>0?t.stats:d;return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-white",ref:n,children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[e.jsxs("div",{className:`transition-all duration-700 ${l?"opacity-100 translate-x-0":"opacity-0 -translate-x-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:t.title||s("Why Choose HRM SaaS ?")}),e.jsx("p",{className:"text-lg text-gray-600 mb-8 leading-relaxed font-medium",children:t.subtitle||s("Smart, simple, and powerful HR solutions for every business. We're your partner in building meaningful professional connections that drive business growth.")}),e.jsx("div",{className:"space-y-4 sm:space-y-6",children:m.map((a,i)=>{const p=S[a.icon]||o;return e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0",style:{backgroundColor:`${r}15`},children:e.jsx(p,{className:"w-5 h-5",style:{color:r}})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:a.title}),e.jsx("p",{className:"text-gray-600",children:a.description})]})]},i)})})]}),e.jsxs("div",{className:`bg-gray-50 rounded-xl p-8 border border-gray-200 transition-all duration-700 delay-300 ${l?"opacity-100 translate-x-0":"opacity-0 translate-x-8"}`,children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:t.stats_title||s("Trusted by Industry Leaders")}),e.jsx("p",{className:"text-gray-600",children:t.stats_subtitle||s("Join the growing community of professionals")})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4 sm:gap-6",children:x.map((a,i)=>e.jsxs("div",{className:"text-center p-6 bg-white rounded-lg border border-gray-200",children:[e.jsx("div",{className:"text-3xl font-bold text-gray-900 mb-2",children:a.value}),e.jsx("div",{className:"text-gray-600 font-medium",children:a.label})]},i))}),(t.cta_title||t.cta_subtitle)&&e.jsxs("div",{className:"mt-8 p-6 rounded-lg text-white text-center",style:{backgroundColor:r},children:[e.jsx("div",{className:"text-xl font-bold mb-2",children:t.cta_title||s("Ready to get started?")}),e.jsx("div",{className:"text-gray-300",children:t.cta_subtitle||s("Join thousands of satisfied users today")})]})]})]})})})}export{q as default}; diff --git a/public/build/assets/alert-DH0o7BP8.js b/public/build/assets/alert-CyJVNPY9.js similarity index 92% rename from public/build/assets/alert-DH0o7BP8.js rename to public/build/assets/alert-CyJVNPY9.js index d2fff17bd..93559a851 100644 --- a/public/build/assets/alert-DH0o7BP8.js +++ b/public/build/assets/alert-CyJVNPY9.js @@ -1 +1 @@ -import{j as a}from"./ui-Z445SNHD.js";import{e,an as i}from"./app-CfhhiFAk.js";const o=i("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-background text-foreground",destructive:"text-destructive-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-destructive-foreground/80"}},defaultVariants:{variant:"default"}});function l({className:t,variant:r,...s}){return a.jsx("div",{"data-slot":"alert",role:"alert",className:e(o({variant:r}),t),...s})}function c({className:t,...r}){return a.jsx("div",{"data-slot":"alert-description",className:e("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",t),...r})}export{l as A,c as a}; +import{j as a}from"./ui-Z445SNHD.js";import{e,an as i}from"./app-Dya84jp7.js";const o=i("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-background text-foreground",destructive:"text-destructive-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-destructive-foreground/80"}},defaultVariants:{variant:"default"}});function l({className:t,variant:r,...s}){return a.jsx("div",{"data-slot":"alert",role:"alert",className:e(o({variant:r}),t),...s})}function c({className:t,...r}){return a.jsx("div",{"data-slot":"alert-description",className:e("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",t),...r})}export{l as A,c as a}; diff --git a/public/build/assets/app-CmM4q005.css b/public/build/assets/app-CmM4q005.css new file mode 100644 index 000000000..f15cbf635 --- /dev/null +++ b/public/build/assets/app-CmM4q005.css @@ -0,0 +1 @@ +/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:"Instrument Sans",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-orange-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-orange-700:oklch(55.3% .195 38.402);--color-orange-800:oklch(47% .157 37.304);--color-orange-900:oklch(40.8% .123 38.172);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-amber-950:oklch(27.9% .077 45.635);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-900:oklch(42.1% .095 57.708);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-600:oklch(64.8% .2 131.684);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-green-900:oklch(39.3% .095 152.535);--color-green-950:oklch(26.6% .065 152.934);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-50:oklch(98.4% .014 180.72);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-200:oklch(91% .096 180.426);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-teal-600:oklch(60% .118 184.704);--color-teal-800:oklch(43.7% .078 188.216);--color-teal-900:oklch(38.6% .063 188.416);--color-cyan-100:oklch(95.6% .045 203.388);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-800:oklch(44.3% .11 240.79);--color-sky-900:oklch(39.1% .09 240.876);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-indigo-800:oklch(39.8% .195 277.366);--color-indigo-900:oklch(35.9% .144 278.697);--color-indigo-950:oklch(25.7% .09 281.288);--color-violet-100:oklch(94.3% .029 294.588);--color-violet-400:oklch(70.2% .183 293.541);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-900:oklch(38% .189 293.745);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-fuchsia-500:oklch(66.7% .295 322.15);--color-fuchsia-600:oklch(59.1% .293 322.896);--color-pink-50:oklch(97.1% .014 343.198);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-600:oklch(59.2% .249 .584);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-900:oklch(41% .159 10.272);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-zinc-900:oklch(21% .006 285.885);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-neutral-950:oklch(14.5% 0 0);--color-stone-100:oklch(97% .001 106.424);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:.125rem;--radius-sm:calc(var(--radius) - 4px);--radius-md:calc(var(--radius) - 2px);--radius-lg:var(--radius);--radius-xl:.75rem;--radius-2xl:1rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-sm:8px;--blur-md:12px;--blur-xl:24px;--aspect-video:16/9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-background:var(--background);--color-foreground:var(--foreground);--color-card:var(--card);--color-card-foreground:var(--card-foreground);--color-popover:var(--popover);--color-popover-foreground:var(--popover-foreground);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-secondary:var(--secondary);--color-secondary-foreground:var(--secondary-foreground);--color-muted:var(--muted);--color-muted-foreground:var(--muted-foreground);--color-accent:var(--accent);--color-accent-foreground:var(--accent-foreground);--color-destructive:var(--destructive);--color-destructive-foreground:var(--destructive-foreground);--color-border:var(--border);--color-input:var(--input);--color-ring:var(--ring);--color-sidebar:var(--sidebar);--color-sidebar-foreground:var(--sidebar-foreground);--color-sidebar-primary:var(--sidebar-primary);--color-sidebar-primary-foreground:var(--sidebar-primary-foreground);--color-sidebar-accent:var(--sidebar-accent);--color-sidebar-accent-foreground:var(--sidebar-accent-foreground);--color-sidebar-border:var(--sidebar-border);--color-sidebar-ring:var(--sidebar-ring)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}*{border-color:var(--color-border)}body{background-color:var(--color-background);color:var(--color-foreground)}*{scrollbar-width:thin;scrollbar-color:#9ca3af #f3f4f6}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f3f4f6;border-radius:3px}::-webkit-scrollbar-thumb{background:#9ca3af;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#6b7280}.dark *{scrollbar-color:#4b5563 #1f2937}.dark ::-webkit-scrollbar-track{background:#1f2937}.dark ::-webkit-scrollbar-thumb{background:#4b5563}.dark ::-webkit-scrollbar-thumb:hover{background:#6b7280}.dark input[type=text],.dark input[type=email],.dark input[type=password],.dark input[type=number],.dark input[type=tel],.dark input[type=url],.dark input[type=search],.dark textarea,.dark select{background-color:var(--color-card);color:var(--color-card-foreground);border-color:var(--color-border)}.dark svg:not([fill=none]){fill:currentColor}*{scrollbar-color:initial;scrollbar-width:initial}}@layer components;@layer utilities{.\@container{container-type:inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-1{inset:calc(var(--spacing)*1)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.-top-1{top:calc(var(--spacing)*-1)}.-top-2{top:calc(var(--spacing)*-2)}.-top-3{top:calc(var(--spacing)*-3)}.-top-4{top:calc(var(--spacing)*-4)}.top-0{top:calc(var(--spacing)*0)}.top-0\.5{top:calc(var(--spacing)*.5)}.top-1{top:calc(var(--spacing)*1)}.top-1\.5{top:calc(var(--spacing)*1.5)}.top-1\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-2\.5{top:calc(var(--spacing)*2.5)}.top-3\.5{top:calc(var(--spacing)*3.5)}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-8{top:calc(var(--spacing)*8)}.top-10{top:calc(var(--spacing)*10)}.top-12{top:calc(var(--spacing)*12)}.top-20{top:calc(var(--spacing)*20)}.top-24{top:calc(var(--spacing)*24)}.top-32{top:calc(var(--spacing)*32)}.top-\[-1px\]{top:-1px}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.-right-1{right:calc(var(--spacing)*-1)}.-right-2{right:calc(var(--spacing)*-2)}.-right-3{right:calc(var(--spacing)*-3)}.-right-4{right:calc(var(--spacing)*-4)}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-1\/3{right:33.3333%}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.right-8{right:calc(var(--spacing)*8)}.right-16{right:calc(var(--spacing)*16)}.right-20{right:calc(var(--spacing)*20)}.-bottom-1{bottom:calc(var(--spacing)*-1)}.-bottom-2{bottom:calc(var(--spacing)*-2)}.-bottom-3{bottom:calc(var(--spacing)*-3)}.-bottom-4{bottom:calc(var(--spacing)*-4)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-8{bottom:calc(var(--spacing)*8)}.bottom-16{bottom:calc(var(--spacing)*16)}.bottom-20{bottom:calc(var(--spacing)*20)}.bottom-32{bottom:calc(var(--spacing)*32)}.-left-2{left:calc(var(--spacing)*-2)}.-left-3{left:calc(var(--spacing)*-3)}.-left-4{left:calc(var(--spacing)*-4)}.-left-6{left:calc(var(--spacing)*-6)}.left-0{left:calc(var(--spacing)*0)}.left-1\/2{left:50%}.left-1\/3{left:33.3333%}.left-1\/4{left:25%}.left-2{left:calc(var(--spacing)*2)}.left-2\.5{left:calc(var(--spacing)*2.5)}.left-3{left:calc(var(--spacing)*3)}.left-6{left:calc(var(--spacing)*6)}.left-10{left:calc(var(--spacing)*10)}.left-12{left:calc(var(--spacing)*12)}.left-20{left:calc(var(--spacing)*20)}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[1\]{z-index:1}.z-\[60\]{z-index:60}.z-\[9999\]{z-index:9999}.z-\[60000\]{z-index:60000}.z-\[70000\]{z-index:70000}.z-\[80000\]{z-index:80000}.col-1{grid-column:1}.col-11{grid-column:11}.col-span-2{grid-column:span 2/span 2}.col-span-full{grid-column:1/-1}.col-start-2{grid-column-start:2}.float-left{float:left}.float-right{float:right}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.container\!{width:100%!important}@media(min-width:40rem){.container\!{max-width:40rem!important}}@media(min-width:48rem){.container\!{max-width:48rem!important}}@media(min-width:64rem){.container\!{max-width:64rem!important}}@media(min-width:80rem){.container\!{max-width:80rem!important}}@media(min-width:96rem){.container\!{max-width:96rem!important}}.m-2{margin:calc(var(--spacing)*2)}.m-\[a-z0-9\]{margin:a-z0-9}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.-mx-6{margin-inline:calc(var(--spacing)*-6)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-3\.5{margin-inline:calc(var(--spacing)*3.5)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.my-3{margin-block:calc(var(--spacing)*3)}.my-5{margin-block:calc(var(--spacing)*5)}.my-auto{margin-block:auto}.me-3{margin-inline-end:calc(var(--spacing)*3)}.\!mt-4{margin-top:calc(var(--spacing)*4)!important}.-mt-3{margin-top:calc(var(--spacing)*-3)}.-mt-4{margin-top:calc(var(--spacing)*-4)}.-mt-5{margin-top:calc(var(--spacing)*-5)}.-mt-\[4\.9rem\]{margin-top:-4.9rem}.-mt-px{margin-top:-1px}.mt-0{margin-top:calc(var(--spacing)*0)}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.-mr-1{margin-right:calc(var(--spacing)*-1)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-1\.5{margin-right:calc(var(--spacing)*1.5)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-6{margin-right:calc(var(--spacing)*6)}.mr-auto{margin-right:auto}.\!mb-0{margin-bottom:calc(var(--spacing)*0)!important}.\!mb-5{margin-bottom:calc(var(--spacing)*5)!important}.-mb-px{margin-bottom:-1px}.mb-0\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-2\.5{margin-bottom:calc(var(--spacing)*2.5)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-12{margin-bottom:calc(var(--spacing)*12)}.mb-16{margin-bottom:calc(var(--spacing)*16)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.-ml-8{margin-left:calc(var(--spacing)*-8)}.-ml-px{margin-left:-1px}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-1\.5{margin-left:calc(var(--spacing)*1.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-12{margin-left:calc(var(--spacing)*12)}.ml-auto{margin-left:auto}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar{scrollbar-width:auto;scrollbar-color:var(--scrollbar-thumb,initial)var(--scrollbar-track,initial)}.scrollbar::-webkit-scrollbar{width:var(--scrollbar-width,16px);height:var(--scrollbar-height,16px);display:block}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb,initial)var(--scrollbar-track,initial)}.scrollbar-thin::-webkit-scrollbar{width:8px;height:8px;display:block}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline\!{display:inline!important}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table\!{display:table!important}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.aspect-\[335\/376\]{aspect-ratio:335/376}.aspect-\[1200\/630\]{aspect-ratio:1200/630}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.\!size-5{width:calc(var(--spacing)*5)!important;height:calc(var(--spacing)*5)!important}.size-1{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.size-2{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.size-2\.5{width:calc(var(--spacing)*2.5);height:calc(var(--spacing)*2.5)}.size-3{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.size-3\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.size-full{width:100%;height:100%}.h-0{height:calc(var(--spacing)*0)}.h-0\.5{height:calc(var(--spacing)*.5)}.h-1{height:calc(var(--spacing)*1)}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-12{height:calc(var(--spacing)*12)}.h-13{height:calc(var(--spacing)*13)}.h-14{height:calc(var(--spacing)*14)}.h-14\.5{height:calc(var(--spacing)*14.5)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-32{height:calc(var(--spacing)*32)}.h-36{height:calc(var(--spacing)*36)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.h-\[0-9a-zA-Z\]{height:0-9a-zA-Z}.h-\[14px\]{height:14px}.h-\[18px\]{height:18px}.h-\[34px\]{height:34px}.h-\[50px\]{height:50px}.h-\[56px\]{height:56px}.h-\[95vh\]{height:95vh}.h-\[120px\]{height:120px}.h-\[300px\]{height:300px}.h-\[600px\]{height:600px}.h-\[a-f0-9\]{height:a-f0-9}.h-\[calc\(100vh-5rem\)\]{height:calc(100vh - 5rem)}.h-\[calc\(100vh-12rem\)\]{height:calc(100vh - 12rem)}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.h-svh{height:100svh}.max-h-24{max-height:calc(var(--spacing)*24)}.max-h-48{max-height:calc(var(--spacing)*48)}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-80{max-height:calc(var(--spacing)*80)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[40vh\]{max-height:40vh}.max-h-\[45vh\]{max-height:45vh}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.max-h-\[300px\]{max-height:300px}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.min-h-\[38px\]{min-height:38px}.min-h-\[40px\]{min-height:40px}.min-h-\[80px\]{min-height:80px}.min-h-\[200px\]{min-height:200px}.min-h-\[300px\]{min-height:300px}.min-h-dvh{min-height:100dvh}.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-\(--radix-dropdown-menu-trigger-width\){width:var(--radix-dropdown-menu-trigger-width)}.w-0{width:calc(var(--spacing)*0)}.w-0\.5{width:calc(var(--spacing)*.5)}.w-1{width:calc(var(--spacing)*1)}.w-1\.5{width:calc(var(--spacing)*1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-1\/4{width:25%}.w-2{width:calc(var(--spacing)*2)}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing)*4)}.w-4\/6{width:66.6667%}.w-5{width:calc(var(--spacing)*5)}.w-5\/6{width:83.3333%}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-28{width:calc(var(--spacing)*28)}.w-32{width:calc(var(--spacing)*32)}.w-40{width:calc(var(--spacing)*40)}.w-48{width:calc(var(--spacing)*48)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-72{width:calc(var(--spacing)*72)}.w-\[0-9a-fA-F\]{width:0-9a-fA-F}.w-\[14px\]{width:14px}.w-\[18px\]{width:18px}.w-\[34px\]{width:34px}.w-\[62px\]{width:62px}.w-\[140px\]{width:140px}.w-\[240px\]{width:240px}.w-\[300px\]{width:300px}.w-\[448px\]{width:448px}.w-\[var\(--sidebar-width\)\]{width:var(--sidebar-width)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-150{max-width:calc(var(--spacing)*150)}.max-w-\[3rem\]{max-width:3rem}.max-w-\[60px\]{max-width:60px}.max-w-\[95vw\]{max-width:95vw}.max-w-\[120px\]{max-width:120px}.max-w-\[130px\]{max-width:130px}.max-w-\[200px\]{max-width:200px}.max-w-\[335px\]{max-width:335px}.max-w-\[var\(--skeleton-width\)\]{max-width:var(--skeleton-width)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-max{max-width:max-content}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-6{min-width:calc(var(--spacing)*6)}.min-w-8{min-width:calc(var(--spacing)*8)}.min-w-9{min-width:calc(var(--spacing)*9)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-56{min-width:calc(var(--spacing)*56)}.min-w-\[2rem\]{min-width:2rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[50px\]{min-width:50px}.min-w-\[70px\]{min-width:70px}.min-w-\[80px\]{min-width:80px}.min-w-\[120px\]{min-width:120px}.min-w-\[180px\]{min-width:180px}.min-w-\[200px\]{min-width:200px}.min-w-\[280px\]{min-width:280px}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-fit{min-width:fit-content}.min-w-full{min-width:100%}.min-w-max{min-width:max-content}.flex-1{flex:1}.flex-\[2\]{flex:2}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.border-spacing-0{--tw-border-spacing-x:calc(var(--spacing)*0);--tw-border-spacing-y:calc(var(--spacing)*0);border-spacing:var(--tw-border-spacing-x)var(--tw-border-spacing-y)}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-8{--tw-translate-x:calc(var(--spacing)*-8);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing)*6);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-8{--tw-translate-x:calc(var(--spacing)*8);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-10{--tw-translate-x:calc(var(--spacing)*10);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-10{--tw-translate-y:calc(var(--spacing)*-10);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-8{--tw-translate-y:calc(var(--spacing)*8);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[calc\(-50\%_-_2px\)\]{--tw-translate-y: calc(-50% - 2px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-px{--tw-translate-y:1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-none{translate:none}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-105{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-3d{scale:var(--tw-scale-x)var(--tw-scale-y)var(--tw-scale-z)}.scale-\[1\.02\]{scale:1.02}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.transform\!{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)!important}.animate-bounce{animation:var(--animate-bounce)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-not-allowed\!{cursor:not-allowed!important}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,)var(--tw-pan-y,)var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.resize\!{resize:both!important}.resize-none{resize:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-\[0_1fr\]{grid-template-columns:0 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.justify-items-center{justify-items:center}.justify-items-start{justify-items:start}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}.gap-10{gap:calc(var(--spacing)*10)}.gap-12{gap:calc(var(--spacing)*12)}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}.gap-x-4{column-gap:calc(var(--spacing)*4)}.gap-x-8{column-gap:calc(var(--spacing)*8)}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*5)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*5)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-6>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*6)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-8>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*8)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}.gap-y-0\.5{row-gap:calc(var(--spacing)*.5)}.gap-y-3{row-gap:calc(var(--spacing)*3)}.gap-y-6{row-gap:calc(var(--spacing)*6)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}:where(.divide-gray-100>:not(:last-child)){border-color:var(--color-gray-100)}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}:where(.divide-neutral-200>:not(:last-child)){border-color:var(--color-neutral-200)}:where(.divide-slate-200>:not(:last-child)){border-color:var(--color-slate-200)}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-l-xl{border-top-left-radius:var(--radius-xl);border-bottom-left-radius:var(--radius-xl)}.rounded-tl{border-top-left-radius:.25rem}.rounded-tl-md{border-top-left-radius:var(--radius-md)}.rounded-tl-sm{border-top-left-radius:var(--radius-sm)}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.rounded-br{border-bottom-right-radius:.25rem}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-br-md{border-bottom-right-radius:var(--radius-md)}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-r-2{border-right-style:var(--tw-border-style);border-right-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-\[\#19140035\]{border-color:#19140035}.border-\[\#e3e3e0\]{border-color:#e3e3e0}.border-amber-100{border-color:var(--color-amber-100)}.border-amber-200{border-color:var(--color-amber-200)}.border-amber-200\/50{border-color:#fee68580}@supports (color:color-mix(in lab,red,red)){.border-amber-200\/50{border-color:color-mix(in oklab,var(--color-amber-200)50%,transparent)}}.border-amber-500{border-color:var(--color-amber-500)}.border-amber-600{border-color:var(--color-amber-600)}.border-black{border-color:var(--color-black)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-500{border-color:var(--color-blue-500)}.border-border,.border-border\/50{border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.border-border\/50{border-color:color-mix(in oklab,var(--color-border)50%,transparent)}}.border-cyan-600{border-color:var(--color-cyan-600)}.border-destructive{border-color:var(--color-destructive)}.border-emerald-500\/20{border-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\/20{border-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.border-emerald-500\/30{border-color:#00bb7f4d}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\/30{border-color:color-mix(in oklab,var(--color-emerald-500)30%,transparent)}}.border-fuchsia-600{border-color:var(--color-fuchsia-600)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\/50{border-color:#e5e7eb80}@supports (color:color-mix(in lab,red,red)){.border-gray-200\/50{border-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)}}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-gray-500{border-color:var(--color-gray-500)}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-800{border-color:var(--color-gray-800)}.border-green-100{border-color:var(--color-green-100)}.border-green-200{border-color:var(--color-green-200)}.border-green-200\/50{border-color:#b9f8cf80}@supports (color:color-mix(in lab,red,red)){.border-green-200\/50{border-color:color-mix(in oklab,var(--color-green-200)50%,transparent)}}.border-green-500{border-color:var(--color-green-500)}.border-green-600{border-color:var(--color-green-600)}.border-indigo-100{border-color:var(--color-indigo-100)}.border-indigo-200{border-color:var(--color-indigo-200)}.border-indigo-600{border-color:var(--color-indigo-600)}.border-indigo-700{border-color:var(--color-indigo-700)}.border-input{border-color:var(--color-input)}.border-muted{border-color:var(--color-muted)}.border-muted-foreground\/25{border-color:var(--color-muted-foreground)}@supports (color:color-mix(in lab,red,red)){.border-muted-foreground\/25{border-color:color-mix(in oklab,var(--color-muted-foreground)25%,transparent)}}.border-neutral-100{border-color:var(--color-neutral-100)}.border-neutral-200{border-color:var(--color-neutral-200)}.border-neutral-300{border-color:var(--color-neutral-300)}.border-orange-200{border-color:var(--color-orange-200)}.border-orange-600{border-color:var(--color-orange-600)}.border-primary,.border-primary\/20{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\/20{border-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.border-primary\/30{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\/30{border-color:color-mix(in oklab,var(--color-primary)30%,transparent)}}.border-purple-200{border-color:var(--color-purple-200)}.border-purple-600{border-color:var(--color-purple-600)}.border-red-100{border-color:var(--color-red-100)}.border-red-200{border-color:var(--color-red-200)}.border-red-300{border-color:var(--color-red-300)}.border-red-500{border-color:var(--color-red-500)}.border-red-600{border-color:var(--color-red-600)}.border-sidebar-border,.border-sidebar-border\/50{border-color:var(--color-sidebar-border)}@supports (color:color-mix(in lab,red,red)){.border-sidebar-border\/50{border-color:color-mix(in oklab,var(--color-sidebar-border)50%,transparent)}}.border-sidebar-border\/70{border-color:var(--color-sidebar-border)}@supports (color:color-mix(in lab,red,red)){.border-sidebar-border\/70{border-color:color-mix(in oklab,var(--color-sidebar-border)70%,transparent)}}.border-sidebar-border\/80{border-color:var(--color-sidebar-border)}@supports (color:color-mix(in lab,red,red)){.border-sidebar-border\/80{border-color:color-mix(in oklab,var(--color-sidebar-border)80%,transparent)}}.border-sky-100{border-color:var(--color-sky-100)}.border-sky-200{border-color:var(--color-sky-200)}.border-sky-600{border-color:var(--color-sky-600)}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-200\/80{border-color:#e2e8f0cc}@supports (color:color-mix(in lab,red,red)){.border-slate-200\/80{border-color:color-mix(in oklab,var(--color-slate-200)80%,transparent)}}.border-slate-300{border-color:var(--color-slate-300)}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-900{border-color:var(--color-slate-900)}.border-teal-200{border-color:var(--color-teal-200)}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-white\/25{border-color:#ffffff40}@supports (color:color-mix(in lab,red,red)){.border-white\/25{border-color:color-mix(in oklab,var(--color-white)25%,transparent)}}.border-yellow-200{border-color:var(--color-yellow-200)}.border-t-transparent{border-top-color:#0000}.border-l-amber-500{border-left-color:var(--color-amber-500)}.border-l-blue-500{border-left-color:var(--color-blue-500)}.border-l-emerald-500{border-left-color:var(--color-emerald-500)}.border-l-green-500{border-left-color:var(--color-green-500)}.border-l-purple-500{border-left-color:var(--color-purple-500)}.border-l-transparent{border-left-color:#0000}.bg-\[\#1b1b18\]{background-color:#1b1b18}.bg-\[\#F0F0F1\]{background-color:#f0f0f1}.bg-\[\#FDFDFC\]{background-color:#fdfdfc}.bg-\[\#dbdbd7\]{background-color:#dbdbd7}.bg-\[\#fff2f2\]{background-color:#fff2f2}.bg-accent{background-color:var(--color-accent)}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-50\/50{background-color:#fffbeb80}@supports (color:color-mix(in lab,red,red)){.bg-amber-50\/50{background-color:color-mix(in oklab,var(--color-amber-50)50%,transparent)}}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-200{background-color:var(--color-amber-200)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-600{background-color:var(--color-amber-600)}.bg-background,.bg-background\/95{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\/95{background-color:color-mix(in oklab,var(--color-background)95%,transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.bg-black\/0{background-color:color-mix(in oklab,var(--color-black)0%,transparent)}}.bg-black\/8{background-color:#00000014}@supports (color:color-mix(in lab,red,red)){.bg-black\/8{background-color:color-mix(in oklab,var(--color-black)8%,transparent)}}.bg-black\/10{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.bg-black\/10{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.bg-black\/25{background-color:#00000040}@supports (color:color-mix(in lab,red,red)){.bg-black\/25{background-color:color-mix(in oklab,var(--color-black)25%,transparent)}}.bg-black\/30{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-black\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-black\/80{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.bg-black\/80{background-color:color-mix(in oklab,var(--color-black)80%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-300{background-color:var(--color-blue-300)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-700{background-color:var(--color-blue-700)}.bg-border{background-color:var(--color-border)}.bg-card{background-color:var(--color-card)}.bg-cyan-100{background-color:var(--color-cyan-100)}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-destructive{background-color:var(--color-destructive)}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-emerald-50\/50{background-color:#ecfdf580}@supports (color:color-mix(in lab,red,red)){.bg-emerald-50\/50{background-color:color-mix(in oklab,var(--color-emerald-50)50%,transparent)}}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-200{background-color:var(--color-emerald-200)}.bg-emerald-500\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\/10{background-color:color-mix(in oklab,var(--color-emerald-500)10%,transparent)}}.bg-emerald-500\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-fuchsia-500{background-color:var(--color-fuchsia-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\/50{background-color:#f9fafb80}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/50{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}}.bg-gray-50\/80{background-color:#f9fafbcc}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/80{background-color:color-mix(in oklab,var(--color-gray-50)80%,transparent)}}.bg-gray-50\/95{background-color:#f9fafbf2}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/95{background-color:color-mix(in oklab,var(--color-gray-50)95%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-200\/50{background-color:#e5e7eb80}@supports (color:color-mix(in lab,red,red)){.bg-gray-200\/50{background-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)}}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-50\/70{background-color:#f0fdf4b3}@supports (color:color-mix(in lab,red,red)){.bg-green-50\/70{background-color:color-mix(in oklab,var(--color-green-50)70%,transparent)}}.bg-green-100{background-color:var(--color-green-100)}.bg-green-300{background-color:var(--color-green-300)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\/10{background-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/10{background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.bg-green-600{background-color:var(--color-green-600)}.bg-indigo-50{background-color:var(--color-indigo-50)}.bg-indigo-50\/50{background-color:#eef2ff80}@supports (color:color-mix(in lab,red,red)){.bg-indigo-50\/50{background-color:color-mix(in oklab,var(--color-indigo-50)50%,transparent)}}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-lime-100{background-color:var(--color-lime-100)}.bg-muted,.bg-muted\/10{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/10{background-color:color-mix(in oklab,var(--color-muted)10%,transparent)}}.bg-muted\/20{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/20{background-color:color-mix(in oklab,var(--color-muted)20%,transparent)}}.bg-muted\/30{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/30{background-color:color-mix(in oklab,var(--color-muted)30%,transparent)}}.bg-muted\/50{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/50{background-color:color-mix(in oklab,var(--color-muted)50%,transparent)}}.bg-neutral-50{background-color:var(--color-neutral-50)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-200{background-color:var(--color-neutral-200)}.bg-neutral-600{background-color:var(--color-neutral-600)}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-popover{background-color:var(--color-popover)}.bg-primary{background-color:var(--color-primary)}.bg-primary-foreground{background-color:var(--color-primary-foreground)}.bg-primary\/5{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/5{background-color:color-mix(in oklab,var(--color-primary)5%,transparent)}}.bg-primary\/10{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/10{background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.bg-primary\/15{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/15{background-color:color-mix(in oklab,var(--color-primary)15%,transparent)}}.bg-primary\/20{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/20{background-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.bg-primary\/25{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/25{background-color:color-mix(in oklab,var(--color-primary)25%,transparent)}}.bg-primary\/30{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/30{background-color:color-mix(in oklab,var(--color-primary)30%,transparent)}}.bg-primary\/40{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/40{background-color:color-mix(in oklab,var(--color-primary)40%,transparent)}}.bg-primary\/50{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/50{background-color:color-mix(in oklab,var(--color-primary)50%,transparent)}}.bg-primary\/60{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/60{background-color:color-mix(in oklab,var(--color-primary)60%,transparent)}}.bg-primary\/70{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/70{background-color:color-mix(in oklab,var(--color-primary)70%,transparent)}}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-50\/30{background-color:#fef2f24d}@supports (color:color-mix(in lab,red,red)){.bg-red-50\/30{background-color:color-mix(in oklab,var(--color-red-50)30%,transparent)}}.bg-red-50\/50{background-color:#fef2f280}@supports (color:color-mix(in lab,red,red)){.bg-red-50\/50{background-color:color-mix(in oklab,var(--color-red-50)50%,transparent)}}.bg-red-50\/70{background-color:#fef2f2b3}@supports (color:color-mix(in lab,red,red)){.bg-red-50\/70{background-color:color-mix(in oklab,var(--color-red-50)70%,transparent)}}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-rose-100{background-color:var(--color-rose-100)}.bg-rose-200{background-color:var(--color-rose-200)}.bg-rose-200\!{background-color:var(--color-rose-200)!important}.bg-rose-500{background-color:var(--color-rose-500)}.bg-rose-600{background-color:var(--color-rose-600)}.bg-secondary{background-color:var(--color-secondary)}.bg-sidebar{background-color:var(--color-sidebar)}.bg-sidebar-border{background-color:var(--color-sidebar-border)}.bg-sidebar-primary{background-color:var(--color-sidebar-primary)}.bg-sky-50{background-color:var(--color-sky-50)}.bg-sky-100{background-color:var(--color-sky-100)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-50\/75{background-color:#f8fafcbf}@supports (color:color-mix(in lab,red,red)){.bg-slate-50\/75{background-color:color-mix(in oklab,var(--color-slate-50)75%,transparent)}}.bg-slate-50\/80{background-color:#f8fafccc}@supports (color:color-mix(in lab,red,red)){.bg-slate-50\/80{background-color:color-mix(in oklab,var(--color-slate-50)80%,transparent)}}.bg-slate-50\/90{background-color:#f8fafce6}@supports (color:color-mix(in lab,red,red)){.bg-slate-50\/90{background-color:color-mix(in oklab,var(--color-slate-50)90%,transparent)}}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-500{background-color:var(--color-slate-500)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-teal-50{background-color:var(--color-teal-50)}.bg-teal-100{background-color:var(--color-teal-100)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-violet-100{background-color:var(--color-violet-100)}.bg-white{background-color:var(--color-white)}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.bg-white\/5{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.bg-white\/15{background-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.bg-white\/15{background-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.bg-white\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-white\/80{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.bg-white\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)}}.bg-white\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-white\/95{background-color:#fffffff2}@supports (color:color-mix(in lab,red,red)){.bg-white\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)}}.bg-white\/\[2\%\]{background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.bg-white\/\[2\%\]{background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-black\/80{--tw-gradient-from:#000c}@supports (color:color-mix(in lab,red,red)){.from-black\/80{--tw-gradient-from:color-mix(in oklab,var(--color-black)80%,transparent)}}.from-black\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-50{--tw-gradient-from:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-700\/50{--tw-gradient-from:#36415380}@supports (color:color-mix(in lab,red,red)){.from-gray-700\/50{--tw-gradient-from:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.from-gray-700\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-50{--tw-gradient-from:var(--color-green-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-muted\/50{--tw-gradient-from:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.from-muted\/50{--tw-gradient-from:color-mix(in oklab,var(--color-muted)50%,transparent)}}.from-muted\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-primary{--tw-gradient-from:var(--color-primary);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-50{--tw-gradient-from:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-900{--tw-gradient-from:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-black\/40{--tw-gradient-via:#0006}@supports (color:color-mix(in lab,red,red)){.via-black\/40{--tw-gradient-via:color-mix(in oklab,var(--color-black)40%,transparent)}}.via-black\/40{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-emerald-950{--tw-gradient-via:var(--color-emerald-950);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-gray-50{--tw-gradient-via:var(--color-gray-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-transparent{--tw-gradient-via:transparent;--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-white\/20{--tw-gradient-via:#fff3}@supports (color:color-mix(in lab,red,red)){.via-white\/20{--tw-gradient-via:color-mix(in oklab,var(--color-white)20%,transparent)}}.via-white\/20{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-blue-50{--tw-gradient-to:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-100{--tw-gradient-to:var(--color-blue-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-emerald-50{--tw-gradient-to:var(--color-emerald-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-emerald-100{--tw-gradient-to:var(--color-emerald-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-100{--tw-gradient-to:var(--color-gray-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-100{--tw-gradient-to:var(--color-green-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-indigo-50{--tw-gradient-to:var(--color-indigo-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-muted{--tw-gradient-to:var(--color-muted);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-pink-50{--tw-gradient-to:var(--color-pink-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-primary\/80{--tw-gradient-to:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.to-primary\/80{--tw-gradient-to:color-mix(in oklab,var(--color-primary)80%,transparent)}}.to-primary\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-900{--tw-gradient-to:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-stone-100{--tw-gradient-to:var(--color-stone-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-current{fill:currentColor}.fill-none{fill:none}.fill-primary{fill:var(--color-primary)}.fill-yellow-400{fill:var(--color-yellow-400)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-0\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-2\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-3\.5{padding:calc(var(--spacing)*3.5)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-10{padding:calc(var(--spacing)*10)}.p-12{padding:calc(var(--spacing)*12)}.p-\[0-9a-fA-F\]{padding:0 -9a-fA-F}.p-\[1px\]{padding:1px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.px-10{padding-inline:calc(var(--spacing)*10)}.px-\[6px\]{padding-inline:6px}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-12{padding-block:calc(var(--spacing)*12)}.py-16{padding-block:calc(var(--spacing)*16)}.ps-3{padding-inline-start:calc(var(--spacing)*3)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-0\.5{padding-top:calc(var(--spacing)*.5)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pt-6{padding-top:calc(var(--spacing)*6)}.pt-8{padding-top:calc(var(--spacing)*8)}.pt-14{padding-top:calc(var(--spacing)*14)}.pt-16{padding-top:calc(var(--spacing)*16)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-2\.5{padding-right:calc(var(--spacing)*2.5)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-10{padding-right:calc(var(--spacing)*10)}.pb-0{padding-bottom:calc(var(--spacing)*0)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-6{padding-bottom:calc(var(--spacing)*6)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pb-12{padding-bottom:calc(var(--spacing)*12)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-5{padding-left:calc(var(--spacing)*5)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-end{text-align:end}.text-justify{text-align:justify}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-xs\/none{font-size:var(--text-xs);line-height:1}.text-\[7px\]{font-size:7px}.text-\[9\.5px\]{font-size:9.5px}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[13px\]{font-size:13px}.leading-3{--tw-leading:calc(var(--spacing)*3);line-height:calc(var(--spacing)*3)}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-7{--tw-leading:calc(var(--spacing)*7);line-height:calc(var(--spacing)*7)}.leading-\[20px\]{--tw-leading:20px;line-height:20px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.text-nowrap{text-wrap:nowrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[\#1b1b18\]{color:#1b1b18}.text-\[\#706f6c\]{color:#706f6c}.text-\[\#F53003\],.text-\[\#f53003\]{color:#f53003}.text-accent-foreground{color:var(--color-accent-foreground)}.text-amber-500{color:var(--color-amber-500)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-amber-800{color:var(--color-amber-800)}.text-amber-900{color:var(--color-amber-900)}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-blue-900{color:var(--color-blue-900)}.text-card-foreground{color:var(--color-card-foreground)}.text-current{color:currentColor}.text-cyan-600{color:var(--color-cyan-600)}.text-destructive{color:var(--color-destructive)}.text-destructive-foreground{color:var(--color-destructive-foreground)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-emerald-700{color:var(--color-emerald-700)}.text-emerald-800{color:var(--color-emerald-800)}.text-emerald-900{color:var(--color-emerald-900)}.text-foreground{color:var(--color-foreground)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-green-900{color:var(--color-green-900)}.text-indigo-100{color:var(--color-indigo-100)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-500{color:var(--color-indigo-500)}.text-indigo-600{color:var(--color-indigo-600)}.text-indigo-700{color:var(--color-indigo-700)}.text-indigo-800{color:var(--color-indigo-800)}.text-inherit{color:inherit}.text-input{color:var(--color-input)}.text-lime-600{color:var(--color-lime-600)}.text-muted{color:var(--color-muted)}.text-muted-foreground{color:var(--color-muted-foreground)}.text-neutral-100{color:var(--color-neutral-100)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-500\!{color:var(--color-neutral-500)!important}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-800{color:var(--color-neutral-800)}.text-neutral-900{color:var(--color-neutral-900)}.text-neutral-950{color:var(--color-neutral-950)}.text-orange-500{color:var(--color-orange-500)}.text-orange-600{color:var(--color-orange-600)}.text-orange-700{color:var(--color-orange-700)}.text-orange-800{color:var(--color-orange-800)}.text-orange-900{color:var(--color-orange-900)}.text-pink-500{color:var(--color-pink-500)}.text-pink-600{color:var(--color-pink-600)}.text-popover-foreground{color:var(--color-popover-foreground)}.text-primary{color:var(--color-primary)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-purple-500{color:var(--color-purple-500)}.text-purple-600{color:var(--color-purple-600)}.text-purple-700{color:var(--color-purple-700)}.text-purple-800{color:var(--color-purple-800)}.text-purple-900{color:var(--color-purple-900)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-red-900{color:var(--color-red-900)}.text-rose-600{color:var(--color-rose-600)}.text-rose-900{color:var(--color-rose-900)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.text-sidebar-accent-foreground{color:var(--color-sidebar-accent-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\/70{color:var(--color-sidebar-foreground)}@supports (color:color-mix(in lab,red,red)){.text-sidebar-foreground\/70{color:color-mix(in oklab,var(--color-sidebar-foreground)70%,transparent)}}.text-sidebar-primary-foreground{color:var(--color-sidebar-primary-foreground)}.text-sky-600{color:var(--color-sky-600)}.text-sky-600\/70{color:#0084ccb3}@supports (color:color-mix(in lab,red,red)){.text-sky-600\/70{color:color-mix(in oklab,var(--color-sky-600)70%,transparent)}}.text-sky-700{color:var(--color-sky-700)}.text-sky-800{color:var(--color-sky-800)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-slate-900{color:var(--color-slate-900)}.text-teal-500{color:var(--color-teal-500)}.text-teal-600{color:var(--color-teal-600)}.text-teal-800{color:var(--color-teal-800)}.text-teal-900{color:var(--color-teal-900)}.text-violet-600{color:var(--color-violet-600)}.text-white{color:var(--color-white)}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.text-yellow-400{color:var(--color-yellow-400)}.text-yellow-500{color:var(--color-yellow-500)}.text-yellow-600{color:var(--color-yellow-600)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.text-yellow-900{color:var(--color-yellow-900)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.italic\!{font-style:italic!important}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.decoration-neutral-300{-webkit-text-decoration-color:var(--color-neutral-300);text-decoration-color:var(--color-neutral-300)}.decoration-neutral-400{-webkit-text-decoration-color:var(--color-neutral-400);text-decoration-color:var(--color-neutral-400)}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.placeholder-gray-400::placeholder{color:var(--color-gray-400)}.accent-green-600{accent-color:var(--color-green-600)}.accent-red-600{accent-color:var(--color-red-600)}.scheme-light-dark{color-scheme:light dark}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-25{opacity:.25}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0px_0px_1px_0px_rgba\(0\,0\,0\,0\.03\)\,0px_1px_2px_0px_rgba\(0\,0\,0\,0\.06\)\]{--tw-shadow:0px 0px 1px 0px var(--tw-shadow-color,#00000008),0px 1px 2px 0px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[2px_0_5px_-2px_rgba\(0\,0\,0\,0\.1\)\]{--tw-shadow:2px 0 5px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[2px_0_5px_-2px_rgba\(0\,0\,0\,0\.05\)\]{--tw-shadow:2px 0 5px -2px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_rgba\(26\,26\,0\,0\.16\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,#1a1a0029);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-emerald-900\/30{--tw-shadow-color:#004e3b4d}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-900\/30{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-emerald-900)30%,transparent)var(--tw-shadow-alpha),transparent)}}.shadow-gray-100{--tw-shadow-color:oklch(96.7% .003 264.542)}@supports (color:color-mix(in lab,red,red)){.shadow-gray-100{--tw-shadow-color:color-mix(in oklab,var(--color-gray-100)var(--tw-shadow-alpha),transparent)}}.shadow-gray-500\/20{--tw-shadow-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.shadow-gray-500\/20{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-gray-500)20%,transparent)var(--tw-shadow-alpha),transparent)}}.shadow-green-100{--tw-shadow-color:oklch(96.2% .044 156.743)}@supports (color:color-mix(in lab,red,red)){.shadow-green-100{--tw-shadow-color:color-mix(in oklab,var(--color-green-100)var(--tw-shadow-alpha),transparent)}}.shadow-indigo-100{--tw-shadow-color:oklch(93% .034 272.788)}@supports (color:color-mix(in lab,red,red)){.shadow-indigo-100{--tw-shadow-color:color-mix(in oklab,var(--color-indigo-100)var(--tw-shadow-alpha),transparent)}}.shadow-orange-100{--tw-shadow-color:oklch(95.4% .038 75.164)}@supports (color:color-mix(in lab,red,red)){.shadow-orange-100{--tw-shadow-color:color-mix(in oklab,var(--color-orange-100)var(--tw-shadow-alpha),transparent)}}.shadow-slate-100{--tw-shadow-color:oklch(96.8% .007 247.896)}@supports (color:color-mix(in lab,red,red)){.shadow-slate-100{--tw-shadow-color:color-mix(in oklab,var(--color-slate-100)var(--tw-shadow-alpha),transparent)}}.ring-amber-300{--tw-ring-color:var(--color-amber-300)}.ring-amber-600\/20{--tw-ring-color:#dd740033}@supports (color:color-mix(in lab,red,red)){.ring-amber-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-amber-600)20%,transparent)}}.ring-blue-300{--tw-ring-color:var(--color-blue-300)}.ring-blue-500\/20{--tw-ring-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.ring-blue-500\/20{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.ring-blue-600\/20{--tw-ring-color:#155dfc33}@supports (color:color-mix(in lab,red,red)){.ring-blue-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-blue-600)20%,transparent)}}.ring-blue-700\/10{--tw-ring-color:#1447e61a}@supports (color:color-mix(in lab,red,red)){.ring-blue-700\/10{--tw-ring-color:color-mix(in oklab,var(--color-blue-700)10%,transparent)}}.ring-emerald-600\/20{--tw-ring-color:#00976733}@supports (color:color-mix(in lab,red,red)){.ring-emerald-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-emerald-600)20%,transparent)}}.ring-gray-200{--tw-ring-color:var(--color-gray-200)}.ring-gray-300{--tw-ring-color:var(--color-gray-300)}.ring-gray-500\/10{--tw-ring-color:#6a72821a}@supports (color:color-mix(in lab,red,red)){.ring-gray-500\/10{--tw-ring-color:color-mix(in oklab,var(--color-gray-500)10%,transparent)}}.ring-gray-500\/20{--tw-ring-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.ring-gray-500\/20{--tw-ring-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.ring-gray-600\/20{--tw-ring-color:#4a556533}@supports (color:color-mix(in lab,red,red)){.ring-gray-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-gray-600)20%,transparent)}}.ring-green-600\/20{--tw-ring-color:#00a54433}@supports (color:color-mix(in lab,red,red)){.ring-green-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-green-600)20%,transparent)}}.ring-green-700\/10{--tw-ring-color:#0081381a}@supports (color:color-mix(in lab,red,red)){.ring-green-700\/10{--tw-ring-color:color-mix(in oklab,var(--color-green-700)10%,transparent)}}.ring-indigo-400{--tw-ring-color:var(--color-indigo-400)}.ring-indigo-600\/20{--tw-ring-color:#4f39f633}@supports (color:color-mix(in lab,red,red)){.ring-indigo-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-indigo-600)20%,transparent)}}.ring-orange-600\/20{--tw-ring-color:#f0510033}@supports (color:color-mix(in lab,red,red)){.ring-orange-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-orange-600)20%,transparent)}}.ring-primary{--tw-ring-color:var(--color-primary)}.ring-purple-300{--tw-ring-color:var(--color-purple-300)}.ring-purple-600\/20{--tw-ring-color:#9810fa33}@supports (color:color-mix(in lab,red,red)){.ring-purple-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-purple-600)20%,transparent)}}.ring-purple-700\/10{--tw-ring-color:#8200da1a}@supports (color:color-mix(in lab,red,red)){.ring-purple-700\/10{--tw-ring-color:color-mix(in oklab,var(--color-purple-700)10%,transparent)}}.ring-red-600\/10{--tw-ring-color:#e400141a}@supports (color:color-mix(in lab,red,red)){.ring-red-600\/10{--tw-ring-color:color-mix(in oklab,var(--color-red-600)10%,transparent)}}.ring-red-600\/20{--tw-ring-color:#e4001433}@supports (color:color-mix(in lab,red,red)){.ring-red-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-red-600)20%,transparent)}}.ring-red-700\/10{--tw-ring-color:#bf000f1a}@supports (color:color-mix(in lab,red,red)){.ring-red-700\/10{--tw-ring-color:color-mix(in oklab,var(--color-red-700)10%,transparent)}}.ring-ring\/10{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.ring-ring\/10{--tw-ring-color:color-mix(in oklab,var(--color-ring)10%,transparent)}}.ring-sidebar-ring{--tw-ring-color:var(--color-sidebar-ring)}.ring-slate-600\/20{--tw-ring-color:#45556c33}@supports (color:color-mix(in lab,red,red)){.ring-slate-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-slate-600)20%,transparent)}}.ring-yellow-600\/20{--tw-ring-color:#cd890033}@supports (color:color-mix(in lab,red,red)){.ring-yellow-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-yellow-600)20%,transparent)}}.ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.ring-offset-background{--tw-ring-offset-color:var(--color-background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-ring\/50{outline-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.outline-ring\/50{outline-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sepia{--tw-sepia:sepia(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter\!{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[margin\,opacity\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\]{transition-property:width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.delay-200{transition-delay:.2s}.delay-300{transition-delay:.3s}.delay-400{transition-delay:.4s}.delay-500{transition-delay:.5s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-250{--tw-duration:.25s;transition-duration:.25s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-700{--tw-duration:.7s;transition-duration:.7s}.duration-750{--tw-duration:.75s;transition-duration:.75s}.duration-1000{--tw-duration:1s;transition-duration:1s}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.animate-in{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.select-all{-webkit-user-select:all;user-select:all}.select-none{-webkit-user-select:none;user-select:none}.\[image\:\$img\|\$width\|\$height\|\$type\]{image:$img|$width|$height|$type}.\[program\:php\]{program:php}.\[wire\:model\=\"\'\+i\+\'\"\]{wire:model="'+i+'"}.\[wire\:model\=\\\"\'\+expression\+\'\\\"\]{wire:model=\""+expression+"\"}.\[wire\:model\]{wire:model}.\[wire\:transition\]{wire:transition}.delay-200{animation-delay:.2s}.delay-300{animation-delay:.3s}.delay-400{animation-delay:.4s}.delay-500{animation-delay:.5s}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-250{animation-duration:.25s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.duration-700{animation-duration:.7s}.duration-750{animation-duration:.75s}.duration-1000{animation-duration:1s}.ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{animation-timing-function:linear}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.fade-in,.fade-in-0{--tw-enter-opacity:0}.paused{animation-play-state:paused}.ring-inset{--tw-ring-inset:inset}.running{animation-play-state:running}.scrollbar-thumb-gray-300{--scrollbar-thumb:oklch(87.2% .01 258.338)}.scrollbar-thumb-muted{--scrollbar-thumb:var(--muted)}.scrollbar-thumb-muted-foreground\/20{--scrollbar-thumb:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.scrollbar-thumb-muted-foreground\/20{--scrollbar-thumb:color-mix(in oklab,var(--muted-foreground)20%,transparent)}}.scrollbar-track-gray-100{--scrollbar-track:oklch(96.7% .003 264.542)}.scrollbar-track-transparent{--scrollbar-track:transparent}.slide-in-from-bottom-2{--tw-enter-translate-y:.5rem}.slide-in-from-bottom-4{--tw-enter-translate-y:1rem}.slide-in-from-top-1{--tw-enter-translate-y:-.25rem}.zoom-in{--tw-enter-scale:0}.zoom-in-95{--tw-enter-scale:.95}.zoom-out{--tw-exit-scale:0}:is(.\*\:visible>*){visibility:visible}.not-has-\[nav\]\:hidden:not(:has(:is(nav))){display:none}.group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *){opacity:1}@media(hover:hover){.group-hover\:w-full:is(:where(.group):hover *){width:100%}.group-hover\:translate-x-1:is(:where(.group):hover *){--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-hover\:translate-x-2:is(:where(.group):hover *){--tw-translate-x:calc(var(--spacing)*2);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-hover\:translate-x-full:is(:where(.group):hover *){--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.group-hover\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\:rotate-12:is(:where(.group):hover *){rotate:12deg}.group-hover\:bg-black\/20:is(:where(.group):hover *){background-color:#0003}@supports (color:color-mix(in lab,red,red)){.group-hover\:bg-black\/20:is(:where(.group):hover *){background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.group-hover\:text-blue-500:is(:where(.group):hover *){color:var(--color-blue-500)}.group-hover\:text-gray-700:is(:where(.group):hover *){color:var(--color-gray-700)}.group-hover\:text-primary:is(:where(.group):hover *){color:var(--color-primary)}.group-hover\:opacity-90:is(:where(.group):hover *){opacity:.9}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\:shadow-xl:is(:where(.group):hover *){--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *){opacity:1}}.group-has-data-\[collapsible\=icon\]\/sidebar-wrapper\:h-12:is(:where(.group\/sidebar-wrapper):has([data-collapsible=icon]) *){height:calc(var(--spacing)*12)}.group-has-data-\[sidebar\=menu-action\]\/menu-item\:pr-8:is(:where(.group\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing)*8)}.group-data-\[collapsible\=icon\]\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing)*-8)}.group-data-\[collapsible\=icon\]\:block:is(:where(.group)[data-collapsible=icon] *){display:block}.group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\[collapsible\=icon\]\:size-8\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing)*8)!important;height:calc(var(--spacing)*8)!important}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+var\(--spacing-4\)\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + var(--spacing-4))}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+var\(--spacing-4\)\+2px\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + var(--spacing-4) + 2px)}.group-data-\[collapsible\=icon\]\:w-\[var\(--sidebar-width-icon\)\]:is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\[collapsible\=icon\]\:p-0:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing)*0)}.group-data-\[collapsible\=icon\]\:p-0\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing)*0)!important}.group-data-\[collapsible\=icon\]\:p-2\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing)*2)!important}.group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width)*-1)}.group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width)*-1)}.group-data-\[collapsible\=offcanvas\]\:w-0:is(:where(.group)[data-collapsible=offcanvas] *){width:calc(var(--spacing)*0)}.group-data-\[collapsible\=offcanvas\]\:translate-x-0:is(:where(.group)[data-collapsible=offcanvas] *){--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\[disabled\=true\]\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.group-data-\[side\=left\]\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing)*-4)}.group-data-\[side\=left\]\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\[side\=right\]\:left-0:is(:where(.group)[data-side=right] *){left:calc(var(--spacing)*0)}.group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\[side\=right\]\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\[variant\=floating\]\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:var(--radius-lg)}.group-data-\[variant\=floating\]\:border:is(:where(.group)[data-variant=floating] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\[variant\=floating\]\:border-sidebar-border:is(:where(.group)[data-variant=floating] *){border-color:var(--color-sidebar-border)}.group-data-\[variant\=floating\]\:shadow-sm:is(:where(.group)[data-variant=floating] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.group-data-\[viewport\=false\]\/navigation-menu\:top-full:is(:where(.group\/navigation-menu)[data-viewport=false] *){top:100%}.group-data-\[viewport\=false\]\/navigation-menu\:mt-1\.5:is(:where(.group\/navigation-menu)[data-viewport=false] *){margin-top:calc(var(--spacing)*1.5)}.group-data-\[viewport\=false\]\/navigation-menu\:overflow-hidden:is(:where(.group\/navigation-menu)[data-viewport=false] *){overflow:hidden}.group-data-\[viewport\=false\]\/navigation-menu\:rounded-md:is(:where(.group\/navigation-menu)[data-viewport=false] *){border-radius:var(--radius-md)}.group-data-\[viewport\=false\]\/navigation-menu\:border:is(:where(.group\/navigation-menu)[data-viewport=false] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\[viewport\=false\]\/navigation-menu\:bg-popover:is(:where(.group\/navigation-menu)[data-viewport=false] *){background-color:var(--color-popover)}.group-data-\[viewport\=false\]\/navigation-menu\:text-popover-foreground:is(:where(.group\/navigation-menu)[data-viewport=false] *){color:var(--color-popover-foreground)}.group-data-\[viewport\=false\]\/navigation-menu\:shadow:is(:where(.group\/navigation-menu)[data-viewport=false] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.group-data-\[viewport\=false\]\/navigation-menu\:duration-200:is(:where(.group\/navigation-menu)[data-viewport=false] *){--tw-duration:.2s;transition-duration:.2s;animation-duration:.2s}.group-\[\.status-down\]\:bg-red-600:is(:where(.group).status-down *){background-color:var(--color-red-600)}@media(hover:hover){.peer-hover\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button):hover~*){color:var(--color-sidebar-accent-foreground)}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button)[data-active=true]~*){color:var(--color-sidebar-accent-foreground)}.peer-data-\[size\=default\]\/menu-button\:top-1\.5:is(:where(.peer\/menu-button)[data-size=default]~*){top:calc(var(--spacing)*1.5)}.peer-data-\[size\=lg\]\/menu-button\:top-2\.5:is(:where(.peer\/menu-button)[data-size=lg]~*){top:calc(var(--spacing)*2.5)}.peer-data-\[size\=sm\]\/menu-button\:top-1:is(:where(.peer\/menu-button)[data-size=sm]~*){top:calc(var(--spacing)*1)}.peer-data-\[variant\=inset\]\:min-h-\[calc\(100svh-var\(--spacing-4\)\)\]:is(:where(.peer)[data-variant=inset]~*){min-height:calc(100svh - var(--spacing-4))}.selection\:bg-primary ::selection{background-color:var(--color-primary)}.selection\:bg-primary::selection{background-color:var(--color-primary)}.selection\:bg-red-500 ::selection{background-color:var(--color-red-500)}.selection\:bg-red-500::selection{background-color:var(--color-red-500)}.selection\:text-primary-foreground ::selection{color:var(--color-primary-foreground)}.selection\:text-primary-foreground::selection{color:var(--color-primary-foreground)}.selection\:text-white ::selection{color:var(--color-white)}.selection\:text-white::selection{color:var(--color-white)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--color-foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--color-muted-foreground)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:top-0:before{content:var(--tw-content);top:calc(var(--spacing)*0)}.before\:top-1:before{content:var(--tw-content);top:calc(var(--spacing)*1)}.before\:top-1\/2:before{content:var(--tw-content);top:50%}.before\:bottom-0:before{content:var(--tw-content);bottom:calc(var(--spacing)*0)}.before\:bottom-1:before{content:var(--tw-content);bottom:calc(var(--spacing)*1)}.before\:bottom-1\/2:before{content:var(--tw-content);bottom:50%}.before\:left-2:before{content:var(--tw-content);left:calc(var(--spacing)*2)}.before\:left-\[0\.4rem\]:before{content:var(--tw-content);left:.4rem}.before\:w-0\.5:before{content:var(--tw-content);width:calc(var(--spacing)*.5)}.before\:border-l:before{content:var(--tw-content);border-left-style:var(--tw-border-style);border-left-width:1px}.before\:border-\[\#e3e3e0\]:before{content:var(--tw-content);border-color:#e3e3e0}.before\:bg-gray-200:before{content:var(--tw-content);background-color:var(--color-gray-200)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing)*-2)}.after\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.group-data-\[collapsible\=offcanvas\]\:after\:left-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);left:100%}.first\:rounded-l-md:first-child{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.last\:rounded-r-md:last-child{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}.last\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}.odd\:bg-white\/2:nth-child(odd){background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.odd\:bg-white\/2:nth-child(odd){background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.even\:bg-white:nth-child(2n){background-color:var(--color-white)}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-blue-500:focus-within{--tw-ring-color:var(--color-blue-500)}.focus-within\:ring-emerald-500:focus-within{--tw-ring-color:var(--color-emerald-500)}.focus-within\:outline-none:focus-within{--tw-outline-style:none;outline-style:none}@media(hover:hover){.hover\:-translate-y-0\.5:hover{--tw-translate-y:calc(var(--spacing)*-.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.hover\:-translate-y-1:hover{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:scale-\[1\.02\]:hover{scale:1.02}.hover\:border-\[\#1915014a\]:hover{border-color:#1915014a}.hover\:border-\[\#19140035\]:hover{border-color:#19140035}.hover\:border-black:hover{border-color:var(--color-black)}.hover\:border-blue-200:hover{border-color:var(--color-blue-200)}.hover\:border-blue-400:hover{border-color:var(--color-blue-400)}.hover\:border-gray-300:hover{border-color:var(--color-gray-300)}.hover\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\:border-primary:hover,.hover\:border-primary\/30:hover{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:border-primary\/30:hover{border-color:color-mix(in oklab,var(--color-primary)30%,transparent)}}.hover\:border-primary\/50:hover{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:border-primary\/50:hover{border-color:color-mix(in oklab,var(--color-primary)50%,transparent)}}.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-amber-50:hover{background-color:var(--color-amber-50)}.hover\:bg-black:hover{background-color:var(--color-black)}.hover\:bg-black\/10:hover{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/10:hover{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.hover\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-destructive\/90:hover{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--color-destructive)90%,transparent)}}.hover\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\:bg-emerald-700:hover{background-color:var(--color-emerald-700)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-50\/50:hover{background-color:#f9fafb80}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-50\/50:hover{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\:bg-gray-600:hover{background-color:var(--color-gray-600)}.hover\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-green-50:hover{background-color:var(--color-green-50)}.hover\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-indigo-600:hover{background-color:var(--color-indigo-600)}.hover\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\:bg-muted:hover,.hover\:bg-muted\/20:hover{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/20:hover{background-color:color-mix(in oklab,var(--color-muted)20%,transparent)}}.hover\:bg-muted\/50:hover{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab,var(--color-muted)50%,transparent)}}.hover\:bg-muted\/80:hover{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/80:hover{background-color:color-mix(in oklab,var(--color-muted)80%,transparent)}}.hover\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\:bg-neutral-200:hover{background-color:var(--color-neutral-200)}.hover\:bg-neutral-200\/60:hover{background-color:#e5e5e599}@supports (color:color-mix(in lab,red,red)){.hover\:bg-neutral-200\/60:hover{background-color:color-mix(in oklab,var(--color-neutral-200)60%,transparent)}}.hover\:bg-orange-50:hover{background-color:var(--color-orange-50)}.hover\:bg-orange-700:hover{background-color:var(--color-orange-700)}.hover\:bg-primary\/5:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/5:hover{background-color:color-mix(in oklab,var(--color-primary)5%,transparent)}}.hover\:bg-primary\/10:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/10:hover{background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.hover\:bg-primary\/90:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary)90%,transparent)}}.hover\:bg-purple-50:hover{background-color:var(--color-purple-50)}.hover\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:bg-secondary\/80:hover{background-color:var(--color-secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary)80%,transparent)}}.hover\:bg-sidebar-accent:hover{background-color:var(--color-sidebar-accent)}.hover\:bg-sky-600:hover{background-color:var(--color-sky-600)}.hover\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\:bg-slate-50\/75:hover{background-color:#f8fafcbf}@supports (color:color-mix(in lab,red,red)){.hover\:bg-slate-50\/75:hover{background-color:color-mix(in oklab,var(--color-slate-50)75%,transparent)}}.hover\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\:bg-transparent:hover{background-color:#0000}.hover\:bg-white\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/10:hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.hover\:bg-white\/25:hover{background-color:#ffffff40}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/25:hover{background-color:color-mix(in oklab,var(--color-white)25%,transparent)}}.hover\:bg-white\/50:hover{background-color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/50:hover{background-color:color-mix(in oklab,var(--color-white)50%,transparent)}}.hover\:bg-yellow-50:hover{background-color:var(--color-yellow-50)}.hover\:bg-yellow-100:hover{background-color:var(--color-yellow-100)}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}.hover\:text-amber-600:hover{color:var(--color-amber-600)}.hover\:text-amber-700:hover{color:var(--color-amber-700)}.hover\:text-black:hover{color:var(--color-black)}.hover\:text-blue-500:hover{color:var(--color-blue-500)}.hover\:text-blue-600:hover{color:var(--color-blue-600)}.hover\:text-blue-700:hover{color:var(--color-blue-700)}.hover\:text-blue-800:hover{color:var(--color-blue-800)}.hover\:text-blue-900:hover{color:var(--color-blue-900)}.hover\:text-emerald-600:hover{color:var(--color-emerald-600)}.hover\:text-foreground:hover{color:var(--color-foreground)}.hover\:text-gray-400:hover{color:var(--color-gray-400)}.hover\:text-gray-500:hover{color:var(--color-gray-500)}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-gray-900:hover{color:var(--color-gray-900)}.hover\:text-green-700:hover{color:var(--color-green-700)}.hover\:text-muted-foreground:hover{color:var(--color-muted-foreground)}.hover\:text-neutral-800:hover{color:var(--color-neutral-800)}.hover\:text-orange-600:hover{color:var(--color-orange-600)}.hover\:text-primary:hover{color:var(--color-primary)}.hover\:text-red-500:hover{color:var(--color-red-500)}.hover\:text-red-600:hover{color:var(--color-red-600)}.hover\:text-red-700:hover{color:var(--color-red-700)}.hover\:text-sidebar-accent-foreground:hover{color:var(--color-sidebar-accent-foreground)}.hover\:text-white:hover{color:var(--color-white)}.hover\:no-underline:hover{text-decoration-line:none}.hover\:underline:hover{text-decoration-line:underline}.hover\:decoration-current:hover{text-decoration-color:currentColor}.hover\:decoration-current\!:hover{text-decoration-color:currentColor!important}.hover\:opacity-80:hover{opacity:.8}.hover\:opacity-90:hover{opacity:.9}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\)\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-primary\/5:hover{--tw-shadow-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:shadow-primary\/5:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-primary)5%,transparent)var(--tw-shadow-alpha),transparent)}}.hover\:brightness-95:hover{--tw-brightness:brightness(95%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.hover\:group-data-\[collapsible\=offcanvas\]\:bg-sidebar:hover:is(:where(.group)[data-collapsible=offcanvas] *){background-color:var(--color-sidebar)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:var(--color-sidebar-border)}}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{border-color:var(--color-blue-300)}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:border-emerald-500:focus{border-color:var(--color-emerald-500)}.focus\:border-gray-500:focus{border-color:var(--color-gray-500)}.focus\:border-gray-600:focus{border-color:var(--color-gray-600)}.focus\:border-green-500:focus{border-color:var(--color-green-500)}.focus\:bg-accent:focus{background-color:var(--color-accent)}.focus\:bg-white:focus{background-color:var(--color-white)}.focus\:text-accent-foreground:focus{color:var(--color-accent-foreground)}.focus\:text-red-600:focus{color:var(--color-red-600)}.focus\:ring:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:ring-emerald-500:focus{--tw-ring-color:var(--color-emerald-500)}.focus\:ring-emerald-500\/20:focus{--tw-ring-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.focus\:ring-emerald-500\/20:focus{--tw-ring-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.focus\:ring-gray-600:focus{--tw-ring-color:var(--color-gray-600)}.focus\:ring-green-500:focus{--tw-ring-color:var(--color-green-500)}.focus\:ring-primary:focus{--tw-ring-color:var(--color-primary)}.focus\:ring-ring:focus{--tw-ring-color:var(--color-ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\:outline-2:focus{outline-style:var(--tw-outline-style);outline-width:2px}.focus\:outline-red-500:focus{outline-color:var(--color-red-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:z-10:focus-visible{z-index:10}.focus-visible\:border-primary:focus-visible{border-color:var(--color-primary)}.focus-visible\:border-ring:focus-visible{border-color:var(--color-ring)}.focus-visible\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(4px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-destructive)20%,transparent)}}.focus-visible\:ring-ring:focus-visible,.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:var(--color-background)}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\:bg-gray-100:active{background-color:var(--color-gray-100)}.active\:bg-sidebar-accent:active{background-color:var(--color-sidebar-accent)}.active\:text-gray-500:active{color:var(--color-gray-500)}.active\:text-gray-700:active{color:var(--color-gray-700)}.active\:text-gray-800:active{color:var(--color-gray-800)}.active\:text-sidebar-accent-foreground:active{color:var(--color-sidebar-accent-foreground)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-100:disabled{background-color:var(--color-gray-100)}.disabled\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\[side\=left\]\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\[side\=right\]\:cursor-e-resize{cursor:e-resize}.has-data-\[variant\=inset\]\:bg-sidebar:has([data-variant=inset]){background-color:var(--color-sidebar)}.has-\[\>svg\]\:grid-cols-\[calc\(var\(--spacing\)\*4\)_1fr\]:has(>svg){grid-template-columns:calc(var(--spacing)*4)1fr}.has-\[\>svg\]\:gap-x-3:has(>svg){column-gap:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--color-destructive)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--color-destructive)20%,transparent)}}.data-\[active\=true\]\:bg-accent\/50[data-active=true]{background-color:var(--color-accent)}@supports (color:color-mix(in lab,red,red)){.data-\[active\=true\]\:bg-accent\/50[data-active=true]{background-color:color-mix(in oklab,var(--color-accent)50%,transparent)}}.data-\[active\=true\]\:bg-transparent[data-active=true]{background-color:#0000}.data-\[active\=true\]\:font-semibold[data-active=true]{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.data-\[active\=true\]\:text-accent-foreground[data-active=true]{color:var(--color-accent-foreground)}.data-\[active\=true\]\:text-primary[data-active=true]{color:var(--color-primary)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[inset\]\:pl-8[data-inset]{padding-left:calc(var(--spacing)*8)}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:-13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:-13rem}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-]{--tw-exit-opacity:0}.data-\[orientation\=horizontal\]\:h-px[data-orientation=horizontal]{height:1px}.data-\[orientation\=horizontal\]\:w-full[data-orientation=horizontal]{width:100%}.data-\[orientation\=vertical\]\:h-full[data-orientation=vertical]{height:100%}.data-\[orientation\=vertical\]\:w-px[data-orientation=vertical]{width:1px}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-.5rem}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:.5rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-.5rem}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:.5rem}:is(.\*\:data-\[slot\=alert-description\]\:text-destructive-foreground\/80>*)[data-slot=alert-description]{color:var(--color-destructive-foreground)}@supports (color:color-mix(in lab,red,red)){:is(.\*\:data-\[slot\=alert-description\]\:text-destructive-foreground\/80>*)[data-slot=alert-description]{color:color-mix(in oklab,var(--color-destructive-foreground)80%,transparent)}}:is(.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:ring-0 *)[data-slot=navigation-menu-link]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}:is(.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:outline-none *)[data-slot=navigation-menu-link]:focus{--tw-outline-style:none;outline-style:none}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:var(--color-background)}.data-\[state\=active\]\:bg-primary[data-state=active]{background-color:var(--color-primary)}.data-\[state\=active\]\:bg-white[data-state=active]{background-color:var(--color-white)}.data-\[state\=active\]\:text-foreground[data-state=active]{color:var(--color-foreground)}.data-\[state\=active\]\:text-gray-900[data-state=active]{color:var(--color-gray-900)}.data-\[state\=active\]\:text-primary-foreground[data-state=active]{color:var(--color-primary-foreground)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:var(--color-primary)}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:var(--color-primary-foreground)}.data-\[state\=closed\]\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\[state\=closed\]\:animate-out[data-state=closed]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:animate-out:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:fade-out-0:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:0}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:zoom-out-95:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=hidden\]\:animate-out[data-state=hidden]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\[state\=indeterminate\]\:bg-primary[data-state=indeterminate]{background-color:var(--color-primary)}.data-\[state\=indeterminate\]\:text-primary-foreground[data-state=indeterminate]{color:var(--color-primary-foreground)}.data-\[state\=on\]\:bg-accent[data-state=on]{background-color:var(--color-accent)}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:var(--color-accent-foreground)}.data-\[state\=open\]\:bg-accent[data-state=open],.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:var(--color-accent)}@supports (color:color-mix(in lab,red,red)){.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:color-mix(in oklab,var(--color-accent)50%,transparent)}}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:var(--color-secondary)}.data-\[state\=open\]\:bg-sidebar-accent[data-state=open]{background-color:var(--color-sidebar-accent)}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:var(--color-accent-foreground)}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:var(--color-muted-foreground)}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=open\]\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:animate-in:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:fade-in-0:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:0}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:zoom-in-95:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-scale:.95}@media(hover:hover){.data-\[state\=open\]\:hover\:bg-sidebar-accent[data-state=open]:hover{background-color:var(--color-sidebar-accent)}.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground[data-state=open]:hover{color:var(--color-sidebar-accent-foreground)}}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:var(--color-muted)}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:var(--color-input)}.data-\[state\=visible\]\:animate-in[data-state=visible]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity:0}.data-\[variant\=destructive\]\:text-destructive-foreground[data-variant=destructive]{color:var(--color-destructive-foreground)}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--color-destructive)10%,transparent)}}.data-\[variant\=destructive\]\:focus\:text-destructive-foreground[data-variant=destructive]:focus{color:var(--color-destructive-foreground)}.data-\[variant\=outline\]\:border-l-0[data-variant=outline]{border-left-style:var(--tw-border-style);border-left-width:0}.data-\[variant\=outline\]\:shadow-xs[data-variant=outline]{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[variant\=outline\]\:first\:border-l[data-variant=outline]:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}@media(min-width:40rem){.sm\:mx-auto{margin-inline:auto}.sm\:mt-2{margin-top:calc(var(--spacing)*2)}.sm\:mt-12{margin-top:calc(var(--spacing)*12)}.sm\:mb-4{margin-bottom:calc(var(--spacing)*4)}.sm\:mb-6{margin-bottom:calc(var(--spacing)*6)}.sm\:mb-12{margin-bottom:calc(var(--spacing)*12)}.sm\:mb-16{margin-bottom:calc(var(--spacing)*16)}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-4{height:calc(var(--spacing)*4)}.sm\:h-5{height:calc(var(--spacing)*5)}.sm\:h-8{height:calc(var(--spacing)*8)}.sm\:h-10{height:calc(var(--spacing)*10)}.sm\:h-12{height:calc(var(--spacing)*12)}.sm\:h-16{height:calc(var(--spacing)*16)}.sm\:h-32{height:calc(var(--spacing)*32)}.sm\:min-h-\[250px\]{min-height:250px}.sm\:w-3\/4{width:75%}.sm\:w-4{width:calc(var(--spacing)*4)}.sm\:w-5{width:calc(var(--spacing)*5)}.sm\:w-8{width:calc(var(--spacing)*8)}.sm\:w-32{width:calc(var(--spacing)*32)}.sm\:w-40{width:calc(var(--spacing)*40)}.sm\:w-64{width:calc(var(--spacing)*64)}.sm\:w-\[350px\]{width:350px}.sm\:w-auto{width:auto}.sm\:max-w-2xl{max-width:var(--container-2xl)}.sm\:max-w-3xl{max-width:var(--container-3xl)}.sm\:max-w-4xl{max-width:var(--container-4xl)}.sm\:max-w-5xl{max-width:var(--container-5xl)}.sm\:max-w-\[90vw\]{max-width:90vw}.sm\:max-w-\[500px\]{max-width:500px}.sm\:max-w-full{max-width:100%}.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:max-w-md{max-width:var(--container-md)}.sm\:max-w-sm{max-width:var(--container-sm)}.sm\:max-w-xl{max-width:var(--container-xl)}.sm\:flex-1{flex:1}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:items-start{align-items:flex-start}.sm\:justify-between{justify-content:space-between}.sm\:justify-end{justify-content:flex-end}.sm\:justify-start{justify-content:flex-start}.sm\:gap-2{gap:calc(var(--spacing)*2)}.sm\:gap-2\.5{gap:calc(var(--spacing)*2.5)}.sm\:gap-4{gap:calc(var(--spacing)*4)}.sm\:gap-6{gap:calc(var(--spacing)*6)}.sm\:gap-8{gap:calc(var(--spacing)*8)}.sm\:gap-12{gap:calc(var(--spacing)*12)}:where(.sm\:space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*5)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.sm\:space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius-lg)}.sm\:p-3{padding:calc(var(--spacing)*3)}.sm\:p-4{padding:calc(var(--spacing)*4)}.sm\:p-6{padding:calc(var(--spacing)*6)}.sm\:p-12{padding:calc(var(--spacing)*12)}.sm\:p-14{padding:calc(var(--spacing)*14)}.sm\:px-0{padding-inline:calc(var(--spacing)*0)}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}.sm\:py-0{padding-block:calc(var(--spacing)*0)}.sm\:py-6{padding-block:calc(var(--spacing)*6)}.sm\:py-12{padding-block:calc(var(--spacing)*12)}.sm\:py-16{padding-block:calc(var(--spacing)*16)}.sm\:pt-0{padding-top:calc(var(--spacing)*0)}.sm\:pt-12{padding-top:calc(var(--spacing)*12)}.sm\:pt-16{padding-top:calc(var(--spacing)*16)}.sm\:pb-0{padding-bottom:calc(var(--spacing)*0)}.sm\:text-center{text-align:center}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.sm\:text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.sm\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.sm\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.sm\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.sm\:text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}}@media(min-width:48rem){.md\:absolute{position:absolute}.md\:col-span-1{grid-column:span 1/span 1}.md\:col-span-2{grid-column:span 2/span 2}.md\:mb-0{margin-bottom:calc(var(--spacing)*0)}.md\:ml-auto{margin-left:auto}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:inline-block{display:inline-block}.md\:min-h-\[300px\]{min-height:300px}.md\:w-64{width:calc(var(--spacing)*64)}.md\:w-72{width:calc(var(--spacing)*72)}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:max-w-4xl{max-width:var(--container-4xl)}.md\:max-w-7xl{max-width:var(--container-7xl)}.md\:max-w-\[200px\]{max-width:200px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:flex-row-reverse{flex-direction:row-reverse}.md\:items-center{align-items:center}.md\:items-start{align-items:flex-start}.md\:justify-between{justify-content:space-between}:where(.md\:space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.md\:space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.md\:border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.md\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.md\:p-6{padding:calc(var(--spacing)*6)}.md\:p-8{padding:calc(var(--spacing)*8)}.md\:p-10{padding:calc(var(--spacing)*10)}.md\:p-12{padding:calc(var(--spacing)*12)}.md\:px-3{padding-inline:calc(var(--spacing)*3)}.md\:pt-0{padding-top:calc(var(--spacing)*0)}.md\:pl-6{padding-left:calc(var(--spacing)*6)}.md\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.md\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.md\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.md\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.md\:text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.md\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.md\:opacity-0{opacity:0}.md\:peer-data-\[variant\=inset\]\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing)*2)}.md\:peer-data-\[variant\=inset\]\:ml-0:is(:where(.peer)[data-variant=inset]~*){margin-left:calc(var(--spacing)*0)}.md\:peer-data-\[variant\=inset\]\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:var(--radius-xl)}.md\:peer-data-\[variant\=inset\]\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.md\:peer-data-\[variant\=inset\]\:peer-data-\[state\=collapsed\]\:ml-0:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing)*0)}.md\:after\:hidden:after{content:var(--tw-content);display:none}}@media(min-width:64rem){.lg\:col-span-1{grid-column:span 1/span 1}.lg\:col-span-2{grid-column:span 2/span 2}.lg\:col-span-3{grid-column:span 3/span 3}.lg\:col-span-9{grid-column:span 9/span 9}.lg\:-mt-\[6\.6rem\]{margin-top:-6.6rem}.lg\:mt-12{margin-top:calc(var(--spacing)*12)}.lg\:mt-16{margin-top:calc(var(--spacing)*16)}.lg\:mb-0{margin-bottom:calc(var(--spacing)*0)}.lg\:mb-6{margin-bottom:calc(var(--spacing)*6)}.lg\:mb-16{margin-bottom:calc(var(--spacing)*16)}.lg\:-ml-px{margin-left:-1px}.lg\:ml-0{margin-left:calc(var(--spacing)*0)}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:inline-block{display:inline-block}.lg\:aspect-auto{aspect-ratio:auto}.lg\:h-10{height:calc(var(--spacing)*10)}.lg\:h-24{height:calc(var(--spacing)*24)}.lg\:h-\[calc\(95vh-4rem\)\]{height:calc(95vh - 4rem)}.lg\:h-\[calc\(100vh-12rem\)\]{height:calc(100vh - 12rem)}.lg\:h-\[calc\(100vh-20rem\)\]{height:calc(100vh - 20rem)}.lg\:h-full{height:100%}.lg\:max-h-\[calc\(100vh-32rem\)\]{max-height:calc(100vh - 32rem)}.lg\:max-h-none{max-height:none}.lg\:min-h-0{min-height:calc(var(--spacing)*0)}.lg\:w-1\/2{width:50%}.lg\:w-10{width:calc(var(--spacing)*10)}.lg\:w-24{width:calc(var(--spacing)*24)}.lg\:w-80{width:calc(var(--spacing)*80)}.lg\:w-\[438px\]{width:438px}.lg\:max-w-4xl{max-width:var(--container-4xl)}.lg\:max-w-5xl{max-width:var(--container-5xl)}.lg\:max-w-none{max-width:none}.lg\:max-w-sm{max-width:var(--container-sm)}.lg\:flex-shrink-0{flex-shrink:0}.lg\:grow{flex-grow:1}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.lg\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:flex-row-reverse{flex-direction:row-reverse}.lg\:justify-center{justify-content:center}.lg\:justify-start{justify-content:flex-start}.lg\:gap-4{gap:calc(var(--spacing)*4)}.lg\:gap-6{gap:calc(var(--spacing)*6)}.lg\:gap-8{gap:calc(var(--spacing)*8)}.lg\:gap-16{gap:calc(var(--spacing)*16)}:where(.lg\:space-x-8>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*8)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-x-reverse)))}.lg\:rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.lg\:rounded-tl-lg{border-top-left-radius:var(--radius-lg)}.lg\:rounded-r-lg{border-top-right-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}.lg\:rounded-br-none{border-bottom-right-radius:0}.lg\:border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.lg\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.lg\:p-4{padding:calc(var(--spacing)*4)}.lg\:p-6{padding:calc(var(--spacing)*6)}.lg\:p-8{padding:calc(var(--spacing)*8)}.lg\:p-20{padding:calc(var(--spacing)*20)}.lg\:px-0{padding-inline:calc(var(--spacing)*0)}.lg\:px-6{padding-inline:calc(var(--spacing)*6)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}.lg\:py-16{padding-block:calc(var(--spacing)*16)}.lg\:py-20{padding-block:calc(var(--spacing)*20)}.lg\:pt-5{padding-top:calc(var(--spacing)*5)}.lg\:text-left{text-align:left}.lg\:text-right{text-align:right}.lg\:text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.lg\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.lg\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.lg\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:80rem){.xl\:col-span-1{grid-column:span 1/span 1}.xl\:col-span-3{grid-column:span 3/span 3}.xl\:w-1\/2{width:50%}.xl\:w-64{width:calc(var(--spacing)*64)}.xl\:w-96{width:calc(var(--spacing)*96)}.xl\:max-w-6xl{max-width:var(--container-6xl)}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(min-width:96rem){.\32xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}.rtl\:flex-row-reverse:where(:dir(rtl),[dir=rtl],[dir=rtl] *){flex-direction:row-reverse}.rtl\:data-\[state\=checked\]\:-translate-x-5:where(:dir(rtl),[dir=rtl],[dir=rtl] *)[data-state=checked]{--tw-translate-x:calc(var(--spacing)*-5);translate:var(--tw-translate-x)var(--tw-translate-y)}.rtl\:data-\[state\=unchecked\]\:translate-x-0:where(:dir(rtl),[dir=rtl],[dir=rtl] *)[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.dark\:block:is(.dark *){display:block}.dark\:hidden:is(.dark *){display:none}:where(.dark\:divide-gray-700:is(.dark *)>:not(:last-child)){border-color:var(--color-gray-700)}:where(.dark\:divide-gray-800:is(.dark *)>:not(:last-child)){border-color:var(--color-gray-800)}:where(.dark\:divide-slate-800:is(.dark *)>:not(:last-child)){border-color:var(--color-slate-800)}:where(.dark\:divide-white\/5:is(.dark *)>:not(:last-child)){border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:where(.dark\:divide-white\/5:is(.dark *)>:not(:last-child)){border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}:where(.dark\:divide-white\/10:is(.dark *)>:not(:last-child)){border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){:where(.dark\:divide-white\/10:is(.dark *)>:not(:last-child)){border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.dark\:border:is(.dark *){border-style:var(--tw-border-style);border-width:1px}.dark\:border-r:is(.dark *){border-right-style:var(--tw-border-style);border-right-width:1px}.dark\:border-none:is(.dark *){--tw-border-style:none;border-style:none}.dark\:border-\[\#3E3E3A\]:is(.dark *){border-color:#3e3e3a}.dark\:border-\[\#eeeeec\]:is(.dark *){border-color:#eeeeec}.dark\:border-amber-500:is(.dark *){border-color:var(--color-amber-500)}.dark\:border-amber-800:is(.dark *){border-color:var(--color-amber-800)}.dark\:border-amber-800\/50:is(.dark *){border-color:#953d0080}@supports (color:color-mix(in lab,red,red)){.dark\:border-amber-800\/50:is(.dark *){border-color:color-mix(in oklab,var(--color-amber-800)50%,transparent)}}.dark\:border-amber-900:is(.dark *){border-color:var(--color-amber-900)}.dark\:border-blue-600:is(.dark *){border-color:var(--color-blue-600)}.dark\:border-blue-800:is(.dark *){border-color:var(--color-blue-800)}.dark\:border-emerald-500:is(.dark *){border-color:var(--color-emerald-500)}.dark\:border-emerald-600:is(.dark *){border-color:var(--color-emerald-600)}.dark\:border-gray-600:is(.dark *){border-color:var(--color-gray-600)}.dark\:border-gray-700:is(.dark *){border-color:var(--color-gray-700)}.dark\:border-gray-700\/50:is(.dark *){border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.dark\:border-gray-700\/50:is(.dark *){border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.dark\:border-gray-800:is(.dark *){border-color:var(--color-gray-800)}.dark\:border-green-800:is(.dark *){border-color:var(--color-green-800)}.dark\:border-green-800\/30:is(.dark *){border-color:#0166304d}@supports (color:color-mix(in lab,red,red)){.dark\:border-green-800\/30:is(.dark *){border-color:color-mix(in oklab,var(--color-green-800)30%,transparent)}}.dark\:border-indigo-800:is(.dark *){border-color:var(--color-indigo-800)}.dark\:border-neutral-500:is(.dark *){border-color:var(--color-neutral-500)}.dark\:border-neutral-700:is(.dark *){border-color:var(--color-neutral-700)}.dark\:border-neutral-800:is(.dark *){border-color:var(--color-neutral-800)}.dark\:border-orange-800:is(.dark *){border-color:var(--color-orange-800)}.dark\:border-purple-800:is(.dark *){border-color:var(--color-purple-800)}.dark\:border-red-800:is(.dark *){border-color:var(--color-red-800)}.dark\:border-red-800\/30:is(.dark *){border-color:#9f07124d}@supports (color:color-mix(in lab,red,red)){.dark\:border-red-800\/30:is(.dark *){border-color:color-mix(in oklab,var(--color-red-800)30%,transparent)}}.dark\:border-rose-500:is(.dark *){border-color:var(--color-rose-500)}.dark\:border-rose-900:is(.dark *){border-color:var(--color-rose-900)}.dark\:border-sky-800:is(.dark *){border-color:var(--color-sky-800)}.dark\:border-sky-900\/30:is(.dark *){border-color:#024a704d}@supports (color:color-mix(in lab,red,red)){.dark\:border-sky-900\/30:is(.dark *){border-color:color-mix(in oklab,var(--color-sky-900)30%,transparent)}}.dark\:border-slate-700:is(.dark *){border-color:var(--color-slate-700)}.dark\:border-slate-700\/60:is(.dark *){border-color:#31415899}@supports (color:color-mix(in lab,red,red)){.dark\:border-slate-700\/60:is(.dark *){border-color:color-mix(in oklab,var(--color-slate-700)60%,transparent)}}.dark\:border-slate-800:is(.dark *){border-color:var(--color-slate-800)}.dark\:border-white\/5:is(.dark *){border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/5:is(.dark *){border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\:border-white\/8:is(.dark *){border-color:#ffffff14}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/8:is(.dark *){border-color:color-mix(in oklab,var(--color-white)8%,transparent)}}.dark\:border-white\/10:is(.dark *){border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/10:is(.dark *){border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.dark\:border-white\/20:is(.dark *){border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/20:is(.dark *){border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.dark\:border-white\/\[9\%\]:is(.dark *){border-color:#ffffff17}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/\[9\%\]:is(.dark *){border-color:color-mix(in oklab,var(--color-white)9%,transparent)}}.dark\:bg-\[\#0a0a0a\]:is(.dark *){background-color:#0a0a0a}.dark\:bg-\[\#1D0002\]:is(.dark *){background-color:#1d0002}.dark\:bg-\[\#1a1a1a\]:is(.dark *){background-color:#1a1a1a}.dark\:bg-\[\#3E3E3A\]:is(.dark *){background-color:#3e3e3a}.dark\:bg-\[\#161615\]:is(.dark *){background-color:#161615}.dark\:bg-\[\#eeeeec\]:is(.dark *){background-color:#eeeeec}.dark\:bg-amber-600:is(.dark *){background-color:var(--color-amber-600)}.dark\:bg-amber-900\/10:is(.dark *){background-color:#7b33061a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)10%,transparent)}}.dark\:bg-amber-900\/20:is(.dark *){background-color:#7b330633}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)20%,transparent)}}.dark\:bg-amber-900\/30:is(.dark *){background-color:#7b33064d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)30%,transparent)}}.dark\:bg-amber-900\/40:is(.dark *){background-color:#7b330666}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)40%,transparent)}}.dark\:bg-amber-900\/50:is(.dark *){background-color:#7b330680}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)50%,transparent)}}.dark\:bg-amber-950:is(.dark *){background-color:var(--color-amber-950)}.dark\:bg-amber-950\/20:is(.dark *){background-color:#46190133}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-950\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-950)20%,transparent)}}.dark\:bg-blue-700:is(.dark *){background-color:var(--color-blue-700)}.dark\:bg-blue-900:is(.dark *){background-color:var(--color-blue-900)}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\:bg-blue-900\/30:is(.dark *){background-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\:bg-blue-900\/40:is(.dark *){background-color:#1c398e66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)40%,transparent)}}.dark\:bg-blue-950:is(.dark *){background-color:var(--color-blue-950)}.dark\:bg-blue-950\/20:is(.dark *){background-color:#16245633}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-950\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-950)20%,transparent)}}.dark\:bg-blue-950\/40:is(.dark *){background-color:#16245666}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-950\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-950)40%,transparent)}}.dark\:bg-emerald-600:is(.dark *){background-color:var(--color-emerald-600)}.dark\:bg-emerald-900:is(.dark *){background-color:var(--color-emerald-900)}.dark\:bg-emerald-900\/30:is(.dark *){background-color:#004e3b4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-emerald-900)30%,transparent)}}.dark\:bg-emerald-900\/40:is(.dark *){background-color:#004e3b66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-emerald-900)40%,transparent)}}.dark\:bg-emerald-900\/70:is(.dark *){background-color:#004e3bb3}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-900\/70:is(.dark *){background-color:color-mix(in oklab,var(--color-emerald-900)70%,transparent)}}.dark\:bg-emerald-950\/20:is(.dark *){background-color:#002c2233}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-950\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-emerald-950)20%,transparent)}}.dark\:bg-emerald-950\/40:is(.dark *){background-color:#002c2266}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-950\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-emerald-950)40%,transparent)}}.dark\:bg-gray-600:is(.dark *){background-color:var(--color-gray-600)}.dark\:bg-gray-700:is(.dark *){background-color:var(--color-gray-700)}.dark\:bg-gray-700\/30:is(.dark *){background-color:#3641534d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-700\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-700)30%,transparent)}}.dark\:bg-gray-700\/50:is(.dark *){background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-700\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.dark\:bg-gray-800:is(.dark *){background-color:var(--color-gray-800)}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.dark\:bg-gray-800\/80:is(.dark *){background-color:#1e2939cc}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/80:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800)80%,transparent)}}.dark\:bg-gray-800\/95:is(.dark *){background-color:#1e2939f2}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/95:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800)95%,transparent)}}.dark\:bg-gray-900:is(.dark *){background-color:var(--color-gray-900)}.dark\:bg-gray-900\/50:is(.dark *){background-color:#10182880}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-900)50%,transparent)}}.dark\:bg-gray-900\/95:is(.dark *){background-color:#101828f2}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-900\/95:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-900)95%,transparent)}}.dark\:bg-green-900:is(.dark *){background-color:var(--color-green-900)}.dark\:bg-green-900\/10:is(.dark *){background-color:#0d542b1a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900)10%,transparent)}}.dark\:bg-green-900\/20:is(.dark *){background-color:#0d542b33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900)20%,transparent)}}.dark\:bg-green-900\/30:is(.dark *){background-color:#0d542b4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900)30%,transparent)}}.dark\:bg-green-900\/40:is(.dark *){background-color:#0d542b66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900)40%,transparent)}}.dark\:bg-green-950\/20:is(.dark *){background-color:#032e1533}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-950\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-green-950)20%,transparent)}}.dark\:bg-indigo-900:is(.dark *){background-color:var(--color-indigo-900)}.dark\:bg-indigo-900\/20:is(.dark *){background-color:#312c8533}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900)20%,transparent)}}.dark\:bg-indigo-900\/30:is(.dark *){background-color:#312c854d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900)30%,transparent)}}.dark\:bg-indigo-900\/50:is(.dark *){background-color:#312c8580}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900)50%,transparent)}}.dark\:bg-neutral-400:is(.dark *){background-color:var(--color-neutral-400)}.dark\:bg-neutral-600:is(.dark *){background-color:var(--color-neutral-600)}.dark\:bg-neutral-700:is(.dark *){background-color:var(--color-neutral-700)}.dark\:bg-neutral-800:is(.dark *){background-color:var(--color-neutral-800)}.dark\:bg-neutral-900:is(.dark *){background-color:var(--color-neutral-900)}.dark\:bg-orange-900:is(.dark *){background-color:var(--color-orange-900)}.dark\:bg-orange-900\/30:is(.dark *){background-color:#7e2a0c4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-orange-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-orange-900)30%,transparent)}}.dark\:bg-purple-900:is(.dark *){background-color:var(--color-purple-900)}.dark\:bg-purple-900\/20:is(.dark *){background-color:#59168b33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-purple-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-purple-900)20%,transparent)}}.dark\:bg-purple-900\/30:is(.dark *){background-color:#59168b4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-purple-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-purple-900)30%,transparent)}}.dark\:bg-red-900:is(.dark *){background-color:var(--color-red-900)}.dark\:bg-red-900\/10:is(.dark *){background-color:#82181a1a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)10%,transparent)}}.dark\:bg-red-900\/20:is(.dark *){background-color:#82181a33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)20%,transparent)}}.dark\:bg-red-900\/30:is(.dark *){background-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.dark\:bg-red-900\/40:is(.dark *){background-color:#82181a66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)40%,transparent)}}.dark\:bg-red-950\/20:is(.dark *){background-color:#46080933}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-950\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-red-950)20%,transparent)}}.dark\:bg-red-950\/40:is(.dark *){background-color:#46080966}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-950\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-red-950)40%,transparent)}}.dark\:bg-rose-600:is(.dark *){background-color:var(--color-rose-600)}.dark\:bg-rose-900\!:is(.dark *){background-color:var(--color-rose-900)!important}.dark\:bg-rose-950:is(.dark *){background-color:var(--color-rose-950)}.dark\:bg-sky-900\/10:is(.dark *){background-color:#024a701a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-sky-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-sky-900)10%,transparent)}}.dark\:bg-sky-900\/30:is(.dark *){background-color:#024a704d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-sky-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-sky-900)30%,transparent)}}.dark\:bg-slate-700:is(.dark *){background-color:var(--color-slate-700)}.dark\:bg-slate-800:is(.dark *){background-color:var(--color-slate-800)}.dark\:bg-slate-800\/40:is(.dark *){background-color:#1d293d66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-slate-800\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-slate-800)40%,transparent)}}.dark\:bg-slate-800\/50:is(.dark *){background-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.dark\:bg-slate-800\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.dark\:bg-slate-800\/80:is(.dark *){background-color:#1d293dcc}@supports (color:color-mix(in lab,red,red)){.dark\:bg-slate-800\/80:is(.dark *){background-color:color-mix(in oklab,var(--color-slate-800)80%,transparent)}}.dark\:bg-slate-900:is(.dark *){background-color:var(--color-slate-900)}.dark\:bg-slate-900\/60:is(.dark *){background-color:#0f172b99}@supports (color:color-mix(in lab,red,red)){.dark\:bg-slate-900\/60:is(.dark *){background-color:color-mix(in oklab,var(--color-slate-900)60%,transparent)}}.dark\:bg-slate-900\/90:is(.dark *){background-color:#0f172be6}@supports (color:color-mix(in lab,red,red)){.dark\:bg-slate-900\/90:is(.dark *){background-color:color-mix(in oklab,var(--color-slate-900)90%,transparent)}}.dark\:bg-teal-900:is(.dark *){background-color:var(--color-teal-900)}.dark\:bg-transparent:is(.dark *){background-color:#0000}.dark\:bg-violet-900\/30:is(.dark *){background-color:#4d179a4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-violet-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-violet-900)30%,transparent)}}.dark\:bg-white:is(.dark *){background-color:var(--color-white)}.dark\:bg-white\/1:is(.dark *){background-color:#ffffff03}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/1:is(.dark *){background-color:color-mix(in oklab,var(--color-white)1%,transparent)}}.dark\:bg-white\/3:is(.dark *){background-color:#ffffff08}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/3:is(.dark *){background-color:color-mix(in oklab,var(--color-white)3%,transparent)}}.dark\:bg-white\/5:is(.dark *){background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/5:is(.dark *){background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\:bg-white\/10:is(.dark *){background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.dark\:bg-white\/\[2\%\]:is(.dark *){background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/\[2\%\]:is(.dark *){background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.dark\:bg-white\/\[3\%\]:is(.dark *){background-color:#ffffff08}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/\[3\%\]:is(.dark *){background-color:color-mix(in oklab,var(--color-white)3%,transparent)}}.dark\:bg-yellow-900:is(.dark *){background-color:var(--color-yellow-900)}.dark\:bg-yellow-900\/30:is(.dark *){background-color:#733e0a4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-yellow-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-yellow-900)30%,transparent)}}.dark\:from-blue-950\/20:is(.dark *){--tw-gradient-from:#16245633}@supports (color:color-mix(in lab,red,red)){.dark\:from-blue-950\/20:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-blue-950)20%,transparent)}}.dark\:from-blue-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-blue-950\/30:is(.dark *){--tw-gradient-from:#1624564d}@supports (color:color-mix(in lab,red,red)){.dark\:from-blue-950\/30:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-blue-950)30%,transparent)}}.dark\:from-blue-950\/30:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-green-950\/20:is(.dark *){--tw-gradient-from:#032e1533}@supports (color:color-mix(in lab,red,red)){.dark\:from-green-950\/20:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-green-950)20%,transparent)}}.dark\:from-green-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-green-950\/30:is(.dark *){--tw-gradient-from:#032e154d}@supports (color:color-mix(in lab,red,red)){.dark\:from-green-950\/30:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-green-950)30%,transparent)}}.dark\:from-green-950\/30:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-purple-900\/20:is(.dark *){--tw-gradient-from:#59168b33}@supports (color:color-mix(in lab,red,red)){.dark\:from-purple-900\/20:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-purple-900)20%,transparent)}}.dark\:from-purple-900\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-purple-950\/20:is(.dark *){--tw-gradient-from:#3c036633}@supports (color:color-mix(in lab,red,red)){.dark\:from-purple-950\/20:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-purple-950)20%,transparent)}}.dark\:from-purple-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-blue-900\/20:is(.dark *){--tw-gradient-to:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\:to-blue-900\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\:to-blue-900\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-emerald-950\/20:is(.dark *){--tw-gradient-to:#002c2233}@supports (color:color-mix(in lab,red,red)){.dark\:to-emerald-950\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-emerald-950)20%,transparent)}}.dark\:to-emerald-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-green-900\/20:is(.dark *){--tw-gradient-to:#0d542b33}@supports (color:color-mix(in lab,red,red)){.dark\:to-green-900\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-green-900)20%,transparent)}}.dark\:to-green-900\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-indigo-950\/20:is(.dark *){--tw-gradient-to:#1e1a4d33}@supports (color:color-mix(in lab,red,red)){.dark\:to-indigo-950\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-indigo-950)20%,transparent)}}.dark\:to-indigo-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-pink-950\/20:is(.dark *){--tw-gradient-to:#51042433}@supports (color:color-mix(in lab,red,red)){.dark\:to-pink-950\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-pink-950)20%,transparent)}}.dark\:to-pink-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-purple-950\/20:is(.dark *){--tw-gradient-to:#3c036633}@supports (color:color-mix(in lab,red,red)){.dark\:to-purple-950\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-purple-950)20%,transparent)}}.dark\:to-purple-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:text-\[\#1C1C1A\]:is(.dark *){color:#1c1c1a}.dark\:text-\[\#A1A09A\]:is(.dark *){color:#a1a09a}.dark\:text-\[\#EDEDEC\]:is(.dark *){color:#ededec}.dark\:text-\[\#F61500\]:is(.dark *){color:#f61500}.dark\:text-\[\#FF4433\]:is(.dark *){color:#f43}.dark\:text-amber-200:is(.dark *){color:var(--color-amber-200)}.dark\:text-amber-300:is(.dark *){color:var(--color-amber-300)}.dark\:text-amber-400:is(.dark *){color:var(--color-amber-400)}.dark\:text-amber-500:is(.dark *){color:var(--color-amber-500)}.dark\:text-black:is(.dark *){color:var(--color-black)}.dark\:text-blue-100:is(.dark *){color:var(--color-blue-100)}.dark\:text-blue-200:is(.dark *){color:var(--color-blue-200)}.dark\:text-blue-300:is(.dark *){color:var(--color-blue-300)}.dark\:text-blue-400:is(.dark *){color:var(--color-blue-400)}.dark\:text-blue-500:is(.dark *){color:var(--color-blue-500)}.dark\:text-emerald-200:is(.dark *){color:var(--color-emerald-200)}.dark\:text-emerald-300:is(.dark *){color:var(--color-emerald-300)}.dark\:text-emerald-400:is(.dark *){color:var(--color-emerald-400)}.dark\:text-emerald-500:is(.dark *){color:var(--color-emerald-500)}.dark\:text-gray-100:is(.dark *){color:var(--color-gray-100)}.dark\:text-gray-200:is(.dark *){color:var(--color-gray-200)}.dark\:text-gray-300:is(.dark *){color:var(--color-gray-300)}.dark\:text-gray-400:is(.dark *){color:var(--color-gray-400)}.dark\:text-gray-500:is(.dark *){color:var(--color-gray-500)}.dark\:text-gray-600:is(.dark *){color:var(--color-gray-600)}.dark\:text-green-100:is(.dark *){color:var(--color-green-100)}.dark\:text-green-300:is(.dark *){color:var(--color-green-300)}.dark\:text-green-400:is(.dark *){color:var(--color-green-400)}.dark\:text-green-500:is(.dark *){color:var(--color-green-500)}.dark\:text-indigo-300:is(.dark *){color:var(--color-indigo-300)}.dark\:text-indigo-400:is(.dark *){color:var(--color-indigo-400)}.dark\:text-neutral-100:is(.dark *){color:var(--color-neutral-100)}.dark\:text-neutral-200:is(.dark *){color:var(--color-neutral-200)}.dark\:text-neutral-300:is(.dark *){color:var(--color-neutral-300)}.dark\:text-neutral-400:is(.dark *){color:var(--color-neutral-400)}.dark\:text-neutral-500:is(.dark *){color:var(--color-neutral-500)}.dark\:text-neutral-600:is(.dark *){color:var(--color-neutral-600)}.dark\:text-neutral-600\!:is(.dark *){color:var(--color-neutral-600)!important}.dark\:text-neutral-900:is(.dark *){color:var(--color-neutral-900)}.dark\:text-orange-300:is(.dark *){color:var(--color-orange-300)}.dark\:text-orange-400:is(.dark *){color:var(--color-orange-400)}.dark\:text-purple-100:is(.dark *){color:var(--color-purple-100)}.dark\:text-purple-300:is(.dark *){color:var(--color-purple-300)}.dark\:text-purple-400:is(.dark *){color:var(--color-purple-400)}.dark\:text-red-200:is(.dark *){color:var(--color-red-200)}.dark\:text-red-300:is(.dark *){color:var(--color-red-300)}.dark\:text-red-400:is(.dark *){color:var(--color-red-400)}.dark\:text-red-500:is(.dark *){color:var(--color-red-500)}.dark\:text-rose-100:is(.dark *){color:var(--color-rose-100)}.dark\:text-sky-300:is(.dark *){color:var(--color-sky-300)}.dark\:text-sky-400\/50:is(.dark *){color:#00bcfe80}@supports (color:color-mix(in lab,red,red)){.dark\:text-sky-400\/50:is(.dark *){color:color-mix(in oklab,var(--color-sky-400)50%,transparent)}}.dark\:text-slate-100:is(.dark *){color:var(--color-slate-100)}.dark\:text-slate-200:is(.dark *){color:var(--color-slate-200)}.dark\:text-slate-300:is(.dark *){color:var(--color-slate-300)}.dark\:text-slate-400:is(.dark *){color:var(--color-slate-400)}.dark\:text-teal-400:is(.dark *){color:var(--color-teal-400)}.dark\:text-violet-400:is(.dark *){color:var(--color-violet-400)}.dark\:text-white:is(.dark *){color:var(--color-white)}.dark\:text-white\!:is(.dark *){color:var(--color-white)!important}.dark\:text-yellow-400:is(.dark *){color:var(--color-yellow-400)}.dark\:decoration-neutral-500:is(.dark *){-webkit-text-decoration-color:var(--color-neutral-500);text-decoration-color:var(--color-neutral-500)}.dark\:shadow-\[inset_0px_0px_0px_1px_\#fffaed2d\]:is(.dark *){--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,#fffaed2d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\:shadow-none:is(.dark *){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\:ring-blue-400\/30:is(.dark *){--tw-ring-color:#54a2ff4d}@supports (color:color-mix(in lab,red,red)){.dark\:ring-blue-400\/30:is(.dark *){--tw-ring-color:color-mix(in oklab,var(--color-blue-400)30%,transparent)}}.dark\:ring-gray-400\/20:is(.dark *){--tw-ring-color:#99a1af33}@supports (color:color-mix(in lab,red,red)){.dark\:ring-gray-400\/20:is(.dark *){--tw-ring-color:color-mix(in oklab,var(--color-gray-400)20%,transparent)}}.dark\:ring-gray-800:is(.dark *){--tw-ring-color:var(--color-gray-800)}.dark\:ring-green-400\/30:is(.dark *){--tw-ring-color:#05df724d}@supports (color:color-mix(in lab,red,red)){.dark\:ring-green-400\/30:is(.dark *){--tw-ring-color:color-mix(in oklab,var(--color-green-400)30%,transparent)}}.dark\:ring-ring\/20:is(.dark *){--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.dark\:ring-ring\/20:is(.dark *){--tw-ring-color:color-mix(in oklab,var(--color-ring)20%,transparent)}}.dark\:outline-ring\/40:is(.dark *){outline-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.dark\:outline-ring\/40:is(.dark *){outline-color:color-mix(in oklab,var(--color-ring)40%,transparent)}}@media(hover:hover){.group-hover\:dark\:text-emerald-500:is(:where(.group):hover *):is(.dark *){color:var(--color-emerald-500)}}.dark\:before\:border-\[\#3E3E3A\]:is(.dark *):before{content:var(--tw-content);border-color:#3e3e3a}.odd\:dark\:bg-white\/4:nth-child(odd):is(.dark *){background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.odd\:dark\:bg-white\/4:nth-child(odd):is(.dark *){background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.even\:dark\:bg-white\/2:nth-child(2n):is(.dark *){background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.even\:dark\:bg-white\/2:nth-child(2n):is(.dark *){background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}@media(hover:hover){.dark\:hover\:border-\[\#3E3E3A\]:is(.dark *):hover{border-color:#3e3e3a}.dark\:hover\:border-\[\#62605b\]:is(.dark *):hover{border-color:#62605b}.dark\:hover\:border-gray-600:is(.dark *):hover{border-color:var(--color-gray-600)}.dark\:hover\:border-primary:is(.dark *):hover{border-color:var(--color-primary)}.dark\:hover\:border-white:is(.dark *):hover{border-color:var(--color-white)}.dark\:hover\:bg-amber-900\/20:is(.dark *):hover{background-color:#7b330633}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-amber-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-amber-900)20%,transparent)}}.dark\:hover\:bg-blue-900\/20:is(.dark *):hover{background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-blue-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\:hover\:bg-gray-700:is(.dark *):hover{background-color:var(--color-gray-700)}.dark\:hover\:bg-gray-700\/50:is(.dark *):hover{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-700\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.dark\:hover\:bg-gray-800:is(.dark *):hover{background-color:var(--color-gray-800)}.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.dark\:hover\:bg-gray-900:is(.dark *):hover{background-color:var(--color-gray-900)}.dark\:hover\:bg-green-900\/20:is(.dark *):hover{background-color:#0d542b33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-green-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-green-900)20%,transparent)}}.dark\:hover\:bg-neutral-700\/60:is(.dark *):hover{background-color:#40404099}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-neutral-700\/60:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)60%,transparent)}}.dark\:hover\:bg-orange-900\/20:is(.dark *):hover{background-color:#7e2a0c33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-orange-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-orange-900)20%,transparent)}}.dark\:hover\:bg-purple-900\/30:is(.dark *):hover{background-color:#59168b4d}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-purple-900\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-purple-900)30%,transparent)}}.dark\:hover\:bg-red-900\/20:is(.dark *):hover{background-color:#82181a33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-red-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-red-900)20%,transparent)}}.dark\:hover\:bg-slate-800:is(.dark *):hover{background-color:var(--color-slate-800)}.dark\:hover\:bg-slate-800\/40:is(.dark *):hover{background-color:#1d293d66}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-slate-800\/40:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-slate-800)40%,transparent)}}.dark\:hover\:bg-slate-900\/60:is(.dark *):hover{background-color:#0f172b99}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-slate-900\/60:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-slate-900)60%,transparent)}}.dark\:hover\:bg-white:is(.dark *):hover{background-color:var(--color-white)}.dark\:hover\:bg-white\/2:is(.dark *):hover{background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-white\/2:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.dark\:hover\:bg-white\/5:is(.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-white\/5:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\:hover\:bg-white\/10:is(.dark *):hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-white\/10:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.hover\:dark\:bg-white\/5:hover:is(.dark *){background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\:dark\:bg-white\/5:hover:is(.dark *){background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\:hover\:text-blue-300:is(.dark *):hover{color:var(--color-blue-300)}.dark\:hover\:text-gray-200:is(.dark *):hover{color:var(--color-gray-200)}.dark\:hover\:text-gray-300:is(.dark *):hover{color:var(--color-gray-300)}.dark\:hover\:text-neutral-100:is(.dark *):hover{color:var(--color-neutral-100)}.dark\:hover\:text-red-300:is(.dark *):hover{color:var(--color-red-300)}.hover\:dark\:text-white:hover:is(.dark *){color:var(--color-white)}}.dark\:focus\:border-blue-700:is(.dark *):focus{border-color:var(--color-blue-700)}.dark\:focus\:border-blue-800:is(.dark *):focus{border-color:var(--color-blue-800)}.dark\:focus\:bg-slate-900:is(.dark *):focus{background-color:var(--color-slate-900)}.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-destructive)40%,transparent)}}.dark\:active\:bg-gray-700:is(.dark *):active{background-color:var(--color-gray-700)}.dark\:active\:text-gray-300:is(.dark *):active{color:var(--color-gray-300)}.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--color-destructive)40%,transparent)}}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/40:is(.dark *)[data-variant=destructive]:focus{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/40:is(.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--color-destructive)40%,transparent)}}@starting-style{.starting\:translate-y-4{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}}@starting-style{.starting\:translate-y-6{--tw-translate-y:calc(var(--spacing)*6);translate:var(--tw-translate-x)var(--tw-translate-y)}}@starting-style{.starting\:opacity-0{opacity:0}}@media print{.print\:hidden{display:none}}.\[\&_\.ProseMirror\]\:min-h-\[120px\] .ProseMirror{min-height:120px}.\[\&_\.ProseMirror\]\:min-h-\[150px\] .ProseMirror{min-height:150px}.\[\&_\.ProseMirror\]\:min-h-\[200px\] .ProseMirror{min-height:200px}.\[\&_\.ProseMirror\]\:min-h-\[250px\] .ProseMirror{min-height:250px}.\[\&_\.ProseMirror\]\:w-full .ProseMirror{width:100%}.\[\&_\.ProseMirror\]\:max-w-none .ProseMirror{max-width:none}.\[\&_\.ProseMirror\]\:cursor-text .ProseMirror{cursor:text}.\[\&_\.ProseMirror\]\:border-0 .ProseMirror{border-style:var(--tw-border-style);border-width:0}.\[\&_\.ProseMirror\]\:p-4 .ProseMirror{padding:calc(var(--spacing)*4)}.\[\&_\.ProseMirror\]\:ring-0 .ProseMirror{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.\[\&_\.ProseMirror\]\:outline-0 .ProseMirror{outline-style:var(--tw-outline-style);outline-width:0}.\[\&_\.ProseMirror\]\:outline-none .ProseMirror,.\[\&_\.ProseMirror\]\:focus\:outline-none .ProseMirror:focus{--tw-outline-style:none;outline-style:none}.\[\&_p\]\:leading-relaxed p{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-2\.5 svg{width:calc(var(--spacing)*2.5);height:calc(var(--spacing)*2.5)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\]\:\!text-white svg{color:var(--color-white)!important}@media(hover:hover){.hover\:\[\&_svg\]\:stroke-emerald-500:hover svg{stroke:var(--color-emerald-500)}}.dark\:\[\&_svg\]\:\!text-white:is(.dark *) svg{color:var(--color-white)!important}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*=text-]){color:var(--color-muted-foreground)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:absolute:has([data-active=true]):before{content:var(--tw-content);position:absolute}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:top-0:has([data-active=true]):before{content:var(--tw-content);top:calc(var(--spacing)*0)}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:left-\[-11px\]:has([data-active=true]):before{content:var(--tw-content);left:-11px}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:h-full:has([data-active=true]):before{content:var(--tw-content);height:100%}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:w-\[2px\]:has([data-active=true]):before{content:var(--tw-content);width:2px}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:rounded-full:has([data-active=true]):before{content:var(--tw-content);border-radius:3.40282e38px}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:bg-primary:has([data-active=true]):before{content:var(--tw-content);background-color:var(--color-primary)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}:is(.data-\[variant\=destructive\]\:\*\:\[svg\]\:\!text-destructive-foreground[data-variant=destructive]>*):is(svg){color:var(--color-destructive-foreground)!important}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>div\]\:rounded-none>div{border-radius:0}.\[\&\>div\]\:border-0>div{border-style:var(--tw-border-style);border-width:0}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\[\&\>span\:last-child\]\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3>svg{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.\[\&\>svg\]\:size-3\.5>svg{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.\[\&\>svg\]\:size-4>svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:translate-y-0\.5>svg{--tw-translate-y:calc(var(--spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.\[\&\>svg\]\:text-current>svg{color:currentColor}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:var(--color-sidebar-accent-foreground)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2{right:calc(var(--spacing)*-2)}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2{left:calc(var(--spacing)*-2)}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}@media(hover:hover){a.\[a\&\]\:hover\:bg-accent:hover{background-color:var(--color-accent)}a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--color-destructive)90%,transparent)}}a.\[a\&\]\:hover\:bg-green-200:hover{background-color:var(--color-green-200)}a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary)90%,transparent)}}a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:var(--color-secondary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:color-mix(in oklab,var(--color-secondary)90%,transparent)}}a.\[a\&\]\:hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}}html[dir=rtl] [data-slot=sidebar-wrapper],html[dir=rtl] [data-slot=sidebar]{direction:rtl}html[dir=rtl] [data-side=left]{right:0;left:auto!important}html[dir=rtl] [data-side=right]{left:0;right:auto!important}html[dir=rtl] [data-side=left]{border-left:1px solid var(--sidebar-border);border-right:none!important}html[dir=rtl] [data-side=right]{border-right:1px solid var(--sidebar-border);border-left:none!important}html[dir=rtl] [data-collapsible=offcanvas][data-side=left]{right:calc(var(--sidebar-width)*-1)!important;left:auto!important}html[dir=rtl] [data-collapsible=offcanvas][data-side=right]{left:calc(var(--sidebar-width)*-1)!important;right:auto!important}html[dir=rtl] [data-sidebar=rail]{transform:translate(50%)!important}html[dir=rtl] [data-sidebar=menu-button]{text-align:right}html[dir=rtl] [data-sidebar=menu-action],html[dir=rtl] [data-sidebar=menu-badge]{left:1rem;right:auto}html[dir=rtl] [data-sidebar=menu-sub]{border-left:none;border-right:1px solid var(--sidebar-border);margin-left:0;margin-right:.875rem;padding-left:0;padding-right:.625rem}html[dir=rtl] [data-sidebar=group-action]{left:.75rem;right:auto}@keyframes scrollY{0%{transform:translateY(0)scale(.85)}to{transform:translateY(-50%)scale(.85)}}.group:hover .group-hover\:animate-scroll-y>div{animation:8s ease-in-out forwards scrollY}@keyframes scroll-y{0%{transform:translateY(0)}to{transform:translateY(-50%)}}.animate-scroll-y{will-change:transform;animation:8s ease-in-out forwards scroll-y}:root{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--destructive-foreground:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(87% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(87% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(14.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(14.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(98.5% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(39.6% .141 25.723);--destructive-foreground:oklch(63.7% .237 25.331);--border:oklch(26.9% 0 0);--input:oklch(26.9% 0 0);--ring:oklch(43.9% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(98.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(26.9% 0 0);--sidebar-ring:oklch(43.9% 0 0)}:root{--theme-color:#3b82f6}.theme-color{color:var(--theme-color)}.theme-bg{background-color:var(--theme-color)}.theme-border{border-color:var(--theme-color)}.theme-ring{--tw-ring-color:var(--theme-color)}:root,.dark{--primary:var(--theme-color);--chart-1:var(--theme-color)}.btn-primary,.bg-primary,button[type=submit],.active-nav-item{background-color:var(--theme-color)}a:hover,.text-primary{color:var(--theme-color)}.border-primary{border-color:var(--theme-color)}.ring-primary{--tw-ring-color:var(--theme-color)}.dark table{color:var(--foreground)}.dark thead tr{background-color:var(--secondary);border-color:var(--border)}.dark tbody tr{border-color:var(--border);background-color:var(--card)}.dark tbody tr:hover{background-color:var(--secondary)}.dark th,.dark td{color:var(--foreground)}.dark th{color:var(--muted-foreground)}.dark [role=table],.dark table{--tw-border-opacity:1;border-color:rgba(55,65,81,var(--tw-border-opacity))}.dark [role=row],.dark tr{border-color:var(--border)}.dark [role=cell],.dark [role=columnheader],.dark td,.dark th,.dark [role=cell] p,.dark td p{color:var(--foreground)}.dark [role=cell] .text-muted-foreground,.dark td .text-muted-foreground{color:var(--muted-foreground)}.dark .pagination-container{background-color:var(--card);border-color:var(--border)}.dark .pagination-text{color:var(--muted-foreground)}.dark .pagination-text span{color:var(--foreground)}.dark button[disabled]{opacity:.5;cursor:not-allowed}.iyzipay-checkout-form{border:1px solid #e2e8f0;border-radius:8px;width:100%;min-height:400px;overflow:hidden}.iyzipay-checkout-form iframe{border:none;border-radius:8px;width:100%;height:600px;min-height:600px}@media(prefers-color-scheme:dark){.iyzipay-checkout-form{background-color:#1f2937;border-color:#374151}}@media(max-width:768px){.iyzipay-checkout-form,.iyzipay-checkout-form iframe{min-height:500px}}.iyzipay-checkout-form.loading{background-color:#f8fafc;justify-content:center;align-items:center;display:flex}.iyzipay-checkout-form.loading:before{content:"";border:4px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}[data-chatgpt-button],[data-chatgpt-modal]{pointer-events:auto!important}[data-chatgpt-button][inert],[data-chatgpt-modal][inert]{pointer-events:auto!important;-webkit-user-select:auto!important;user-select:auto!important}[data-chatgpt-button] *{pointer-events:auto!important}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0))}}@property --tw-border-spacing-x{syntax:"";inherits:false;initial-value:0}@property --tw-border-spacing-y{syntax:"";inherits:false;initial-value:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}} diff --git a/public/build/assets/app-Df5dGo4f.css b/public/build/assets/app-Df5dGo4f.css deleted file mode 100644 index 6178a9d4b..000000000 --- a/public/build/assets/app-Df5dGo4f.css +++ /dev/null @@ -1 +0,0 @@ -/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:"Instrument Sans",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-orange-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-orange-700:oklch(55.3% .195 38.402);--color-orange-800:oklch(47% .157 37.304);--color-orange-900:oklch(40.8% .123 38.172);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-amber-950:oklch(27.9% .077 45.635);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-900:oklch(42.1% .095 57.708);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-600:oklch(64.8% .2 131.684);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-green-900:oklch(39.3% .095 152.535);--color-green-950:oklch(26.6% .065 152.934);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-50:oklch(98.4% .014 180.72);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-200:oklch(91% .096 180.426);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-teal-600:oklch(60% .118 184.704);--color-teal-800:oklch(43.7% .078 188.216);--color-teal-900:oklch(38.6% .063 188.416);--color-cyan-100:oklch(95.6% .045 203.388);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-800:oklch(44.3% .11 240.79);--color-sky-900:oklch(39.1% .09 240.876);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-indigo-800:oklch(39.8% .195 277.366);--color-indigo-900:oklch(35.9% .144 278.697);--color-indigo-950:oklch(25.7% .09 281.288);--color-violet-100:oklch(94.3% .029 294.588);--color-violet-400:oklch(70.2% .183 293.541);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-900:oklch(38% .189 293.745);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-fuchsia-500:oklch(66.7% .295 322.15);--color-fuchsia-600:oklch(59.1% .293 322.896);--color-pink-50:oklch(97.1% .014 343.198);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-600:oklch(59.2% .249 .584);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-900:oklch(41% .159 10.272);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-zinc-900:oklch(21% .006 285.885);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-neutral-950:oklch(14.5% 0 0);--color-stone-100:oklch(97% .001 106.424);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:.125rem;--radius-sm:calc(var(--radius) - 4px);--radius-md:calc(var(--radius) - 2px);--radius-lg:var(--radius);--radius-xl:.75rem;--radius-2xl:1rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-sm:8px;--blur-md:12px;--blur-xl:24px;--aspect-video:16/9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-background:var(--background);--color-foreground:var(--foreground);--color-card:var(--card);--color-card-foreground:var(--card-foreground);--color-popover:var(--popover);--color-popover-foreground:var(--popover-foreground);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-secondary:var(--secondary);--color-secondary-foreground:var(--secondary-foreground);--color-muted:var(--muted);--color-muted-foreground:var(--muted-foreground);--color-accent:var(--accent);--color-accent-foreground:var(--accent-foreground);--color-destructive:var(--destructive);--color-destructive-foreground:var(--destructive-foreground);--color-border:var(--border);--color-input:var(--input);--color-ring:var(--ring);--color-sidebar:var(--sidebar);--color-sidebar-foreground:var(--sidebar-foreground);--color-sidebar-primary:var(--sidebar-primary);--color-sidebar-primary-foreground:var(--sidebar-primary-foreground);--color-sidebar-accent:var(--sidebar-accent);--color-sidebar-accent-foreground:var(--sidebar-accent-foreground);--color-sidebar-border:var(--sidebar-border);--color-sidebar-ring:var(--sidebar-ring)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}*{border-color:var(--color-border)}body{background-color:var(--color-background);color:var(--color-foreground)}*{scrollbar-width:thin;scrollbar-color:#9ca3af #f3f4f6}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f3f4f6;border-radius:3px}::-webkit-scrollbar-thumb{background:#9ca3af;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#6b7280}.dark *{scrollbar-color:#4b5563 #1f2937}.dark ::-webkit-scrollbar-track{background:#1f2937}.dark ::-webkit-scrollbar-thumb{background:#4b5563}.dark ::-webkit-scrollbar-thumb:hover{background:#6b7280}.dark input[type=text],.dark input[type=email],.dark input[type=password],.dark input[type=number],.dark input[type=tel],.dark input[type=url],.dark input[type=search],.dark textarea,.dark select{background-color:var(--color-card);color:var(--color-card-foreground);border-color:var(--color-border)}.dark svg:not([fill=none]){fill:currentColor}*{scrollbar-color:initial;scrollbar-width:initial}}@layer components;@layer utilities{.\@container{container-type:inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-1{inset:calc(var(--spacing)*1)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.-top-1{top:calc(var(--spacing)*-1)}.-top-2{top:calc(var(--spacing)*-2)}.-top-3{top:calc(var(--spacing)*-3)}.-top-4{top:calc(var(--spacing)*-4)}.top-0{top:calc(var(--spacing)*0)}.top-0\.5{top:calc(var(--spacing)*.5)}.top-1{top:calc(var(--spacing)*1)}.top-1\.5{top:calc(var(--spacing)*1.5)}.top-1\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-2\.5{top:calc(var(--spacing)*2.5)}.top-3\.5{top:calc(var(--spacing)*3.5)}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-8{top:calc(var(--spacing)*8)}.top-10{top:calc(var(--spacing)*10)}.top-12{top:calc(var(--spacing)*12)}.top-20{top:calc(var(--spacing)*20)}.top-24{top:calc(var(--spacing)*24)}.top-32{top:calc(var(--spacing)*32)}.top-\[-1px\]{top:-1px}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.-right-1{right:calc(var(--spacing)*-1)}.-right-2{right:calc(var(--spacing)*-2)}.-right-3{right:calc(var(--spacing)*-3)}.-right-4{right:calc(var(--spacing)*-4)}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-1\/3{right:33.3333%}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.right-8{right:calc(var(--spacing)*8)}.right-16{right:calc(var(--spacing)*16)}.right-20{right:calc(var(--spacing)*20)}.-bottom-1{bottom:calc(var(--spacing)*-1)}.-bottom-2{bottom:calc(var(--spacing)*-2)}.-bottom-3{bottom:calc(var(--spacing)*-3)}.-bottom-4{bottom:calc(var(--spacing)*-4)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-8{bottom:calc(var(--spacing)*8)}.bottom-16{bottom:calc(var(--spacing)*16)}.bottom-20{bottom:calc(var(--spacing)*20)}.bottom-32{bottom:calc(var(--spacing)*32)}.-left-2{left:calc(var(--spacing)*-2)}.-left-3{left:calc(var(--spacing)*-3)}.-left-4{left:calc(var(--spacing)*-4)}.-left-6{left:calc(var(--spacing)*-6)}.left-0{left:calc(var(--spacing)*0)}.left-1\/2{left:50%}.left-1\/3{left:33.3333%}.left-1\/4{left:25%}.left-2{left:calc(var(--spacing)*2)}.left-2\.5{left:calc(var(--spacing)*2.5)}.left-3{left:calc(var(--spacing)*3)}.left-6{left:calc(var(--spacing)*6)}.left-10{left:calc(var(--spacing)*10)}.left-12{left:calc(var(--spacing)*12)}.left-20{left:calc(var(--spacing)*20)}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[1\]{z-index:1}.z-\[60\]{z-index:60}.z-\[9999\]{z-index:9999}.z-\[60000\]{z-index:60000}.z-\[70000\]{z-index:70000}.z-\[80000\]{z-index:80000}.col-1{grid-column:1}.col-11{grid-column:11}.col-span-2{grid-column:span 2/span 2}.col-span-full{grid-column:1/-1}.col-start-2{grid-column-start:2}.float-left{float:left}.float-right{float:right}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.container\!{width:100%!important}@media(min-width:40rem){.container\!{max-width:40rem!important}}@media(min-width:48rem){.container\!{max-width:48rem!important}}@media(min-width:64rem){.container\!{max-width:64rem!important}}@media(min-width:80rem){.container\!{max-width:80rem!important}}@media(min-width:96rem){.container\!{max-width:96rem!important}}.m-2{margin:calc(var(--spacing)*2)}.m-\[a-z0-9\]{margin:a-z0-9}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.-mx-6{margin-inline:calc(var(--spacing)*-6)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-3\.5{margin-inline:calc(var(--spacing)*3.5)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.my-3{margin-block:calc(var(--spacing)*3)}.my-5{margin-block:calc(var(--spacing)*5)}.my-auto{margin-block:auto}.me-3{margin-inline-end:calc(var(--spacing)*3)}.\!mt-4{margin-top:calc(var(--spacing)*4)!important}.-mt-3{margin-top:calc(var(--spacing)*-3)}.-mt-4{margin-top:calc(var(--spacing)*-4)}.-mt-5{margin-top:calc(var(--spacing)*-5)}.-mt-\[4\.9rem\]{margin-top:-4.9rem}.-mt-px{margin-top:-1px}.mt-0{margin-top:calc(var(--spacing)*0)}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.-mr-1{margin-right:calc(var(--spacing)*-1)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-1\.5{margin-right:calc(var(--spacing)*1.5)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-6{margin-right:calc(var(--spacing)*6)}.mr-auto{margin-right:auto}.\!mb-0{margin-bottom:calc(var(--spacing)*0)!important}.\!mb-5{margin-bottom:calc(var(--spacing)*5)!important}.-mb-px{margin-bottom:-1px}.mb-0\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-2\.5{margin-bottom:calc(var(--spacing)*2.5)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-12{margin-bottom:calc(var(--spacing)*12)}.mb-16{margin-bottom:calc(var(--spacing)*16)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.-ml-8{margin-left:calc(var(--spacing)*-8)}.-ml-px{margin-left:-1px}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-1\.5{margin-left:calc(var(--spacing)*1.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-12{margin-left:calc(var(--spacing)*12)}.ml-auto{margin-left:auto}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar{scrollbar-width:auto;scrollbar-color:var(--scrollbar-thumb,initial)var(--scrollbar-track,initial)}.scrollbar::-webkit-scrollbar{width:var(--scrollbar-width,16px);height:var(--scrollbar-height,16px);display:block}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb,initial)var(--scrollbar-track,initial)}.scrollbar-thin::-webkit-scrollbar{width:8px;height:8px;display:block}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline\!{display:inline!important}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table\!{display:table!important}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.aspect-\[335\/376\]{aspect-ratio:335/376}.aspect-\[1200\/630\]{aspect-ratio:1200/630}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.\!size-5{width:calc(var(--spacing)*5)!important;height:calc(var(--spacing)*5)!important}.size-1{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.size-2{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.size-2\.5{width:calc(var(--spacing)*2.5);height:calc(var(--spacing)*2.5)}.size-3{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.size-3\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.size-full{width:100%;height:100%}.h-0{height:calc(var(--spacing)*0)}.h-0\.5{height:calc(var(--spacing)*.5)}.h-1{height:calc(var(--spacing)*1)}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-12{height:calc(var(--spacing)*12)}.h-13{height:calc(var(--spacing)*13)}.h-14{height:calc(var(--spacing)*14)}.h-14\.5{height:calc(var(--spacing)*14.5)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-32{height:calc(var(--spacing)*32)}.h-36{height:calc(var(--spacing)*36)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.h-\[0-9a-zA-Z\]{height:0-9a-zA-Z}.h-\[14px\]{height:14px}.h-\[18px\]{height:18px}.h-\[34px\]{height:34px}.h-\[50px\]{height:50px}.h-\[56px\]{height:56px}.h-\[95vh\]{height:95vh}.h-\[120px\]{height:120px}.h-\[300px\]{height:300px}.h-\[600px\]{height:600px}.h-\[a-f0-9\]{height:a-f0-9}.h-\[calc\(100vh-5rem\)\]{height:calc(100vh - 5rem)}.h-\[calc\(100vh-12rem\)\]{height:calc(100vh - 12rem)}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.h-svh{height:100svh}.max-h-24{max-height:calc(var(--spacing)*24)}.max-h-48{max-height:calc(var(--spacing)*48)}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-80{max-height:calc(var(--spacing)*80)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[40vh\]{max-height:40vh}.max-h-\[45vh\]{max-height:45vh}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.max-h-\[300px\]{max-height:300px}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.min-h-\[38px\]{min-height:38px}.min-h-\[40px\]{min-height:40px}.min-h-\[80px\]{min-height:80px}.min-h-\[200px\]{min-height:200px}.min-h-\[300px\]{min-height:300px}.min-h-dvh{min-height:100dvh}.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-\(--radix-dropdown-menu-trigger-width\){width:var(--radix-dropdown-menu-trigger-width)}.w-0{width:calc(var(--spacing)*0)}.w-0\.5{width:calc(var(--spacing)*.5)}.w-1{width:calc(var(--spacing)*1)}.w-1\.5{width:calc(var(--spacing)*1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-1\/4{width:25%}.w-2{width:calc(var(--spacing)*2)}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing)*4)}.w-4\/6{width:66.6667%}.w-5{width:calc(var(--spacing)*5)}.w-5\/6{width:83.3333%}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-28{width:calc(var(--spacing)*28)}.w-32{width:calc(var(--spacing)*32)}.w-40{width:calc(var(--spacing)*40)}.w-48{width:calc(var(--spacing)*48)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-72{width:calc(var(--spacing)*72)}.w-\[0-9a-fA-F\]{width:0-9a-fA-F}.w-\[14px\]{width:14px}.w-\[18px\]{width:18px}.w-\[34px\]{width:34px}.w-\[62px\]{width:62px}.w-\[140px\]{width:140px}.w-\[240px\]{width:240px}.w-\[300px\]{width:300px}.w-\[448px\]{width:448px}.w-\[var\(--sidebar-width\)\]{width:var(--sidebar-width)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-150{max-width:calc(var(--spacing)*150)}.max-w-\[3rem\]{max-width:3rem}.max-w-\[60px\]{max-width:60px}.max-w-\[95vw\]{max-width:95vw}.max-w-\[200px\]{max-width:200px}.max-w-\[335px\]{max-width:335px}.max-w-\[var\(--skeleton-width\)\]{max-width:var(--skeleton-width)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-max{max-width:max-content}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-6{min-width:calc(var(--spacing)*6)}.min-w-8{min-width:calc(var(--spacing)*8)}.min-w-9{min-width:calc(var(--spacing)*9)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-56{min-width:calc(var(--spacing)*56)}.min-w-\[2rem\]{min-width:2rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[50px\]{min-width:50px}.min-w-\[70px\]{min-width:70px}.min-w-\[80px\]{min-width:80px}.min-w-\[120px\]{min-width:120px}.min-w-\[180px\]{min-width:180px}.min-w-\[200px\]{min-width:200px}.min-w-\[280px\]{min-width:280px}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-fit{min-width:fit-content}.min-w-full{min-width:100%}.min-w-max{min-width:max-content}.flex-1{flex:1}.flex-\[2\]{flex:2}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.border-spacing-0{--tw-border-spacing-x:calc(var(--spacing)*0);--tw-border-spacing-y:calc(var(--spacing)*0);border-spacing:var(--tw-border-spacing-x)var(--tw-border-spacing-y)}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-8{--tw-translate-x:calc(var(--spacing)*-8);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing)*6);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-8{--tw-translate-x:calc(var(--spacing)*8);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-10{--tw-translate-x:calc(var(--spacing)*10);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-10{--tw-translate-y:calc(var(--spacing)*-10);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-8{--tw-translate-y:calc(var(--spacing)*8);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[calc\(-50\%_-_2px\)\]{--tw-translate-y: calc(-50% - 2px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-px{--tw-translate-y:1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-none{translate:none}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-105{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-3d{scale:var(--tw-scale-x)var(--tw-scale-y)var(--tw-scale-z)}.scale-\[1\.02\]{scale:1.02}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.transform\!{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)!important}.animate-bounce{animation:var(--animate-bounce)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-not-allowed\!{cursor:not-allowed!important}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,)var(--tw-pan-y,)var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.resize\!{resize:both!important}.resize-none{resize:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-\[0_1fr\]{grid-template-columns:0 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.justify-items-center{justify-items:center}.justify-items-start{justify-items:start}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}.gap-10{gap:calc(var(--spacing)*10)}.gap-12{gap:calc(var(--spacing)*12)}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}.gap-x-4{column-gap:calc(var(--spacing)*4)}.gap-x-8{column-gap:calc(var(--spacing)*8)}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*5)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*5)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-6>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*6)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-8>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*8)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}.gap-y-0\.5{row-gap:calc(var(--spacing)*.5)}.gap-y-3{row-gap:calc(var(--spacing)*3)}.gap-y-6{row-gap:calc(var(--spacing)*6)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}:where(.divide-gray-100>:not(:last-child)){border-color:var(--color-gray-100)}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}:where(.divide-neutral-200>:not(:last-child)){border-color:var(--color-neutral-200)}:where(.divide-slate-200>:not(:last-child)){border-color:var(--color-slate-200)}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-l-xl{border-top-left-radius:var(--radius-xl);border-bottom-left-radius:var(--radius-xl)}.rounded-tl{border-top-left-radius:.25rem}.rounded-tl-md{border-top-left-radius:var(--radius-md)}.rounded-tl-sm{border-top-left-radius:var(--radius-sm)}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.rounded-br{border-bottom-right-radius:.25rem}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-br-md{border-bottom-right-radius:var(--radius-md)}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-r-2{border-right-style:var(--tw-border-style);border-right-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-\[\#19140035\]{border-color:#19140035}.border-\[\#e3e3e0\]{border-color:#e3e3e0}.border-amber-100{border-color:var(--color-amber-100)}.border-amber-200{border-color:var(--color-amber-200)}.border-amber-200\/50{border-color:#fee68580}@supports (color:color-mix(in lab,red,red)){.border-amber-200\/50{border-color:color-mix(in oklab,var(--color-amber-200)50%,transparent)}}.border-amber-500{border-color:var(--color-amber-500)}.border-amber-600{border-color:var(--color-amber-600)}.border-black{border-color:var(--color-black)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-500{border-color:var(--color-blue-500)}.border-border,.border-border\/50{border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.border-border\/50{border-color:color-mix(in oklab,var(--color-border)50%,transparent)}}.border-cyan-600{border-color:var(--color-cyan-600)}.border-destructive{border-color:var(--color-destructive)}.border-emerald-500\/20{border-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\/20{border-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.border-emerald-500\/30{border-color:#00bb7f4d}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\/30{border-color:color-mix(in oklab,var(--color-emerald-500)30%,transparent)}}.border-fuchsia-600{border-color:var(--color-fuchsia-600)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\/50{border-color:#e5e7eb80}@supports (color:color-mix(in lab,red,red)){.border-gray-200\/50{border-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)}}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-gray-500{border-color:var(--color-gray-500)}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-800{border-color:var(--color-gray-800)}.border-green-100{border-color:var(--color-green-100)}.border-green-200{border-color:var(--color-green-200)}.border-green-200\/50{border-color:#b9f8cf80}@supports (color:color-mix(in lab,red,red)){.border-green-200\/50{border-color:color-mix(in oklab,var(--color-green-200)50%,transparent)}}.border-green-500{border-color:var(--color-green-500)}.border-green-600{border-color:var(--color-green-600)}.border-indigo-100{border-color:var(--color-indigo-100)}.border-indigo-200{border-color:var(--color-indigo-200)}.border-indigo-600{border-color:var(--color-indigo-600)}.border-indigo-700{border-color:var(--color-indigo-700)}.border-input{border-color:var(--color-input)}.border-muted{border-color:var(--color-muted)}.border-muted-foreground\/25{border-color:var(--color-muted-foreground)}@supports (color:color-mix(in lab,red,red)){.border-muted-foreground\/25{border-color:color-mix(in oklab,var(--color-muted-foreground)25%,transparent)}}.border-neutral-100{border-color:var(--color-neutral-100)}.border-neutral-200{border-color:var(--color-neutral-200)}.border-neutral-300{border-color:var(--color-neutral-300)}.border-orange-200{border-color:var(--color-orange-200)}.border-orange-600{border-color:var(--color-orange-600)}.border-primary,.border-primary\/20{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\/20{border-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.border-primary\/30{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\/30{border-color:color-mix(in oklab,var(--color-primary)30%,transparent)}}.border-purple-200{border-color:var(--color-purple-200)}.border-purple-600{border-color:var(--color-purple-600)}.border-red-100{border-color:var(--color-red-100)}.border-red-200{border-color:var(--color-red-200)}.border-red-300{border-color:var(--color-red-300)}.border-red-500{border-color:var(--color-red-500)}.border-red-600{border-color:var(--color-red-600)}.border-sidebar-border,.border-sidebar-border\/50{border-color:var(--color-sidebar-border)}@supports (color:color-mix(in lab,red,red)){.border-sidebar-border\/50{border-color:color-mix(in oklab,var(--color-sidebar-border)50%,transparent)}}.border-sidebar-border\/70{border-color:var(--color-sidebar-border)}@supports (color:color-mix(in lab,red,red)){.border-sidebar-border\/70{border-color:color-mix(in oklab,var(--color-sidebar-border)70%,transparent)}}.border-sidebar-border\/80{border-color:var(--color-sidebar-border)}@supports (color:color-mix(in lab,red,red)){.border-sidebar-border\/80{border-color:color-mix(in oklab,var(--color-sidebar-border)80%,transparent)}}.border-sky-100{border-color:var(--color-sky-100)}.border-sky-200{border-color:var(--color-sky-200)}.border-sky-600{border-color:var(--color-sky-600)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-300{border-color:var(--color-slate-300)}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-900{border-color:var(--color-slate-900)}.border-teal-200{border-color:var(--color-teal-200)}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-white\/25{border-color:#ffffff40}@supports (color:color-mix(in lab,red,red)){.border-white\/25{border-color:color-mix(in oklab,var(--color-white)25%,transparent)}}.border-yellow-200{border-color:var(--color-yellow-200)}.border-t-transparent{border-top-color:#0000}.border-l-amber-500{border-left-color:var(--color-amber-500)}.border-l-blue-500{border-left-color:var(--color-blue-500)}.border-l-emerald-500{border-left-color:var(--color-emerald-500)}.border-l-green-500{border-left-color:var(--color-green-500)}.border-l-purple-500{border-left-color:var(--color-purple-500)}.border-l-transparent{border-left-color:#0000}.bg-\[\#1b1b18\]{background-color:#1b1b18}.bg-\[\#F0F0F1\]{background-color:#f0f0f1}.bg-\[\#FDFDFC\]{background-color:#fdfdfc}.bg-\[\#dbdbd7\]{background-color:#dbdbd7}.bg-\[\#fff2f2\]{background-color:#fff2f2}.bg-accent{background-color:var(--color-accent)}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-50\/50{background-color:#fffbeb80}@supports (color:color-mix(in lab,red,red)){.bg-amber-50\/50{background-color:color-mix(in oklab,var(--color-amber-50)50%,transparent)}}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-200{background-color:var(--color-amber-200)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-600{background-color:var(--color-amber-600)}.bg-background,.bg-background\/95{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\/95{background-color:color-mix(in oklab,var(--color-background)95%,transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.bg-black\/0{background-color:color-mix(in oklab,var(--color-black)0%,transparent)}}.bg-black\/8{background-color:#00000014}@supports (color:color-mix(in lab,red,red)){.bg-black\/8{background-color:color-mix(in oklab,var(--color-black)8%,transparent)}}.bg-black\/10{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.bg-black\/10{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.bg-black\/25{background-color:#00000040}@supports (color:color-mix(in lab,red,red)){.bg-black\/25{background-color:color-mix(in oklab,var(--color-black)25%,transparent)}}.bg-black\/30{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-black\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-black\/80{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.bg-black\/80{background-color:color-mix(in oklab,var(--color-black)80%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-300{background-color:var(--color-blue-300)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-700{background-color:var(--color-blue-700)}.bg-border{background-color:var(--color-border)}.bg-card{background-color:var(--color-card)}.bg-cyan-100{background-color:var(--color-cyan-100)}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-destructive{background-color:var(--color-destructive)}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-200{background-color:var(--color-emerald-200)}.bg-emerald-500\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\/10{background-color:color-mix(in oklab,var(--color-emerald-500)10%,transparent)}}.bg-emerald-500\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-fuchsia-500{background-color:var(--color-fuchsia-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\/50{background-color:#f9fafb80}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/50{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}}.bg-gray-50\/80{background-color:#f9fafbcc}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/80{background-color:color-mix(in oklab,var(--color-gray-50)80%,transparent)}}.bg-gray-50\/95{background-color:#f9fafbf2}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/95{background-color:color-mix(in oklab,var(--color-gray-50)95%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-200\/50{background-color:#e5e7eb80}@supports (color:color-mix(in lab,red,red)){.bg-gray-200\/50{background-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)}}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-50\/70{background-color:#f0fdf4b3}@supports (color:color-mix(in lab,red,red)){.bg-green-50\/70{background-color:color-mix(in oklab,var(--color-green-50)70%,transparent)}}.bg-green-100{background-color:var(--color-green-100)}.bg-green-300{background-color:var(--color-green-300)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\/10{background-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/10{background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.bg-green-600{background-color:var(--color-green-600)}.bg-indigo-50{background-color:var(--color-indigo-50)}.bg-indigo-50\/50{background-color:#eef2ff80}@supports (color:color-mix(in lab,red,red)){.bg-indigo-50\/50{background-color:color-mix(in oklab,var(--color-indigo-50)50%,transparent)}}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-lime-100{background-color:var(--color-lime-100)}.bg-muted,.bg-muted\/10{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/10{background-color:color-mix(in oklab,var(--color-muted)10%,transparent)}}.bg-muted\/20{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/20{background-color:color-mix(in oklab,var(--color-muted)20%,transparent)}}.bg-muted\/30{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/30{background-color:color-mix(in oklab,var(--color-muted)30%,transparent)}}.bg-muted\/50{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/50{background-color:color-mix(in oklab,var(--color-muted)50%,transparent)}}.bg-neutral-50{background-color:var(--color-neutral-50)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-200{background-color:var(--color-neutral-200)}.bg-neutral-600{background-color:var(--color-neutral-600)}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-popover{background-color:var(--color-popover)}.bg-primary{background-color:var(--color-primary)}.bg-primary-foreground{background-color:var(--color-primary-foreground)}.bg-primary\/5{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/5{background-color:color-mix(in oklab,var(--color-primary)5%,transparent)}}.bg-primary\/10{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/10{background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.bg-primary\/15{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/15{background-color:color-mix(in oklab,var(--color-primary)15%,transparent)}}.bg-primary\/20{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/20{background-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.bg-primary\/25{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/25{background-color:color-mix(in oklab,var(--color-primary)25%,transparent)}}.bg-primary\/30{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/30{background-color:color-mix(in oklab,var(--color-primary)30%,transparent)}}.bg-primary\/40{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/40{background-color:color-mix(in oklab,var(--color-primary)40%,transparent)}}.bg-primary\/50{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/50{background-color:color-mix(in oklab,var(--color-primary)50%,transparent)}}.bg-primary\/60{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/60{background-color:color-mix(in oklab,var(--color-primary)60%,transparent)}}.bg-primary\/70{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/70{background-color:color-mix(in oklab,var(--color-primary)70%,transparent)}}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-50\/30{background-color:#fef2f24d}@supports (color:color-mix(in lab,red,red)){.bg-red-50\/30{background-color:color-mix(in oklab,var(--color-red-50)30%,transparent)}}.bg-red-50\/70{background-color:#fef2f2b3}@supports (color:color-mix(in lab,red,red)){.bg-red-50\/70{background-color:color-mix(in oklab,var(--color-red-50)70%,transparent)}}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-rose-100{background-color:var(--color-rose-100)}.bg-rose-200{background-color:var(--color-rose-200)}.bg-rose-200\!{background-color:var(--color-rose-200)!important}.bg-rose-500{background-color:var(--color-rose-500)}.bg-rose-600{background-color:var(--color-rose-600)}.bg-secondary{background-color:var(--color-secondary)}.bg-sidebar{background-color:var(--color-sidebar)}.bg-sidebar-border{background-color:var(--color-sidebar-border)}.bg-sidebar-primary{background-color:var(--color-sidebar-primary)}.bg-sky-50{background-color:var(--color-sky-50)}.bg-sky-100{background-color:var(--color-sky-100)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-50\/80{background-color:#f8fafccc}@supports (color:color-mix(in lab,red,red)){.bg-slate-50\/80{background-color:color-mix(in oklab,var(--color-slate-50)80%,transparent)}}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-500{background-color:var(--color-slate-500)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-teal-50{background-color:var(--color-teal-50)}.bg-teal-100{background-color:var(--color-teal-100)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-violet-100{background-color:var(--color-violet-100)}.bg-white{background-color:var(--color-white)}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.bg-white\/5{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.bg-white\/15{background-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.bg-white\/15{background-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.bg-white\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-white\/80{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.bg-white\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)}}.bg-white\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-white\/95{background-color:#fffffff2}@supports (color:color-mix(in lab,red,red)){.bg-white\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)}}.bg-white\/\[2\%\]{background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.bg-white\/\[2\%\]{background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-black\/80{--tw-gradient-from:#000c}@supports (color:color-mix(in lab,red,red)){.from-black\/80{--tw-gradient-from:color-mix(in oklab,var(--color-black)80%,transparent)}}.from-black\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-50{--tw-gradient-from:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-700\/50{--tw-gradient-from:#36415380}@supports (color:color-mix(in lab,red,red)){.from-gray-700\/50{--tw-gradient-from:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.from-gray-700\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-50{--tw-gradient-from:var(--color-green-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-muted\/50{--tw-gradient-from:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.from-muted\/50{--tw-gradient-from:color-mix(in oklab,var(--color-muted)50%,transparent)}}.from-muted\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-primary{--tw-gradient-from:var(--color-primary);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-50{--tw-gradient-from:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-900{--tw-gradient-from:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-black\/40{--tw-gradient-via:#0006}@supports (color:color-mix(in lab,red,red)){.via-black\/40{--tw-gradient-via:color-mix(in oklab,var(--color-black)40%,transparent)}}.via-black\/40{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-emerald-950{--tw-gradient-via:var(--color-emerald-950);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-gray-50{--tw-gradient-via:var(--color-gray-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-transparent{--tw-gradient-via:transparent;--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-white\/20{--tw-gradient-via:#fff3}@supports (color:color-mix(in lab,red,red)){.via-white\/20{--tw-gradient-via:color-mix(in oklab,var(--color-white)20%,transparent)}}.via-white\/20{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-blue-50{--tw-gradient-to:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-100{--tw-gradient-to:var(--color-blue-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-emerald-50{--tw-gradient-to:var(--color-emerald-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-emerald-100{--tw-gradient-to:var(--color-emerald-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-100{--tw-gradient-to:var(--color-gray-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-100{--tw-gradient-to:var(--color-green-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-indigo-50{--tw-gradient-to:var(--color-indigo-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-muted{--tw-gradient-to:var(--color-muted);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-pink-50{--tw-gradient-to:var(--color-pink-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-primary\/80{--tw-gradient-to:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.to-primary\/80{--tw-gradient-to:color-mix(in oklab,var(--color-primary)80%,transparent)}}.to-primary\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-900{--tw-gradient-to:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-stone-100{--tw-gradient-to:var(--color-stone-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-current{fill:currentColor}.fill-none{fill:none}.fill-primary{fill:var(--color-primary)}.fill-yellow-400{fill:var(--color-yellow-400)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-0\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-2\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-10{padding:calc(var(--spacing)*10)}.p-12{padding:calc(var(--spacing)*12)}.p-\[0-9a-fA-F\]{padding:0 -9a-fA-F}.p-\[1px\]{padding:1px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.px-10{padding-inline:calc(var(--spacing)*10)}.px-\[6px\]{padding-inline:6px}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-12{padding-block:calc(var(--spacing)*12)}.py-16{padding-block:calc(var(--spacing)*16)}.ps-3{padding-inline-start:calc(var(--spacing)*3)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-0\.5{padding-top:calc(var(--spacing)*.5)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pt-6{padding-top:calc(var(--spacing)*6)}.pt-8{padding-top:calc(var(--spacing)*8)}.pt-14{padding-top:calc(var(--spacing)*14)}.pt-16{padding-top:calc(var(--spacing)*16)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-2\.5{padding-right:calc(var(--spacing)*2.5)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-10{padding-right:calc(var(--spacing)*10)}.pb-0{padding-bottom:calc(var(--spacing)*0)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-6{padding-bottom:calc(var(--spacing)*6)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pb-12{padding-bottom:calc(var(--spacing)*12)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-5{padding-left:calc(var(--spacing)*5)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-end{text-align:end}.text-justify{text-align:justify}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-xs\/none{font-size:var(--text-xs);line-height:1}.text-\[7px\]{font-size:7px}.text-\[9\.5px\]{font-size:9.5px}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[13px\]{font-size:13px}.leading-3{--tw-leading:calc(var(--spacing)*3);line-height:calc(var(--spacing)*3)}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-7{--tw-leading:calc(var(--spacing)*7);line-height:calc(var(--spacing)*7)}.leading-\[20px\]{--tw-leading:20px;line-height:20px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.text-nowrap{text-wrap:nowrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[\#1b1b18\]{color:#1b1b18}.text-\[\#706f6c\]{color:#706f6c}.text-\[\#F53003\],.text-\[\#f53003\]{color:#f53003}.text-accent-foreground{color:var(--color-accent-foreground)}.text-amber-500{color:var(--color-amber-500)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-amber-800{color:var(--color-amber-800)}.text-amber-900{color:var(--color-amber-900)}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-blue-900{color:var(--color-blue-900)}.text-card-foreground{color:var(--color-card-foreground)}.text-current{color:currentColor}.text-cyan-600{color:var(--color-cyan-600)}.text-destructive{color:var(--color-destructive)}.text-destructive-foreground{color:var(--color-destructive-foreground)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-emerald-700{color:var(--color-emerald-700)}.text-emerald-800{color:var(--color-emerald-800)}.text-emerald-900{color:var(--color-emerald-900)}.text-foreground{color:var(--color-foreground)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-green-900{color:var(--color-green-900)}.text-indigo-100{color:var(--color-indigo-100)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-500{color:var(--color-indigo-500)}.text-indigo-600{color:var(--color-indigo-600)}.text-indigo-700{color:var(--color-indigo-700)}.text-indigo-800{color:var(--color-indigo-800)}.text-inherit{color:inherit}.text-input{color:var(--color-input)}.text-lime-600{color:var(--color-lime-600)}.text-muted{color:var(--color-muted)}.text-muted-foreground{color:var(--color-muted-foreground)}.text-neutral-100{color:var(--color-neutral-100)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-500\!{color:var(--color-neutral-500)!important}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-800{color:var(--color-neutral-800)}.text-neutral-900{color:var(--color-neutral-900)}.text-neutral-950{color:var(--color-neutral-950)}.text-orange-500{color:var(--color-orange-500)}.text-orange-600{color:var(--color-orange-600)}.text-orange-700{color:var(--color-orange-700)}.text-orange-800{color:var(--color-orange-800)}.text-orange-900{color:var(--color-orange-900)}.text-pink-500{color:var(--color-pink-500)}.text-pink-600{color:var(--color-pink-600)}.text-popover-foreground{color:var(--color-popover-foreground)}.text-primary{color:var(--color-primary)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-purple-500{color:var(--color-purple-500)}.text-purple-600{color:var(--color-purple-600)}.text-purple-700{color:var(--color-purple-700)}.text-purple-800{color:var(--color-purple-800)}.text-purple-900{color:var(--color-purple-900)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-red-900{color:var(--color-red-900)}.text-rose-600{color:var(--color-rose-600)}.text-rose-900{color:var(--color-rose-900)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.text-sidebar-accent-foreground{color:var(--color-sidebar-accent-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\/70{color:var(--color-sidebar-foreground)}@supports (color:color-mix(in lab,red,red)){.text-sidebar-foreground\/70{color:color-mix(in oklab,var(--color-sidebar-foreground)70%,transparent)}}.text-sidebar-primary-foreground{color:var(--color-sidebar-primary-foreground)}.text-sky-600{color:var(--color-sky-600)}.text-sky-600\/70{color:#0084ccb3}@supports (color:color-mix(in lab,red,red)){.text-sky-600\/70{color:color-mix(in oklab,var(--color-sky-600)70%,transparent)}}.text-sky-700{color:var(--color-sky-700)}.text-sky-800{color:var(--color-sky-800)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-slate-900{color:var(--color-slate-900)}.text-teal-500{color:var(--color-teal-500)}.text-teal-600{color:var(--color-teal-600)}.text-teal-800{color:var(--color-teal-800)}.text-teal-900{color:var(--color-teal-900)}.text-violet-600{color:var(--color-violet-600)}.text-white{color:var(--color-white)}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.text-yellow-400{color:var(--color-yellow-400)}.text-yellow-500{color:var(--color-yellow-500)}.text-yellow-600{color:var(--color-yellow-600)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.text-yellow-900{color:var(--color-yellow-900)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.italic\!{font-style:italic!important}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.decoration-neutral-300{-webkit-text-decoration-color:var(--color-neutral-300);text-decoration-color:var(--color-neutral-300)}.decoration-neutral-400{-webkit-text-decoration-color:var(--color-neutral-400);text-decoration-color:var(--color-neutral-400)}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.placeholder-gray-400::placeholder{color:var(--color-gray-400)}.accent-green-600{accent-color:var(--color-green-600)}.accent-red-600{accent-color:var(--color-red-600)}.scheme-light-dark{color-scheme:light dark}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-25{opacity:.25}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0px_0px_1px_0px_rgba\(0\,0\,0\,0\.03\)\,0px_1px_2px_0px_rgba\(0\,0\,0\,0\.06\)\]{--tw-shadow:0px 0px 1px 0px var(--tw-shadow-color,#00000008),0px 1px 2px 0px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[2px_0_5px_-2px_rgba\(0\,0\,0\,0\.1\)\]{--tw-shadow:2px 0 5px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[2px_0_5px_-2px_rgba\(0\,0\,0\,0\.05\)\]{--tw-shadow:2px 0 5px -2px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_rgba\(26\,26\,0\,0\.16\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,#1a1a0029);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-emerald-900\/30{--tw-shadow-color:#004e3b4d}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-900\/30{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-emerald-900)30%,transparent)var(--tw-shadow-alpha),transparent)}}.shadow-gray-100{--tw-shadow-color:oklch(96.7% .003 264.542)}@supports (color:color-mix(in lab,red,red)){.shadow-gray-100{--tw-shadow-color:color-mix(in oklab,var(--color-gray-100)var(--tw-shadow-alpha),transparent)}}.shadow-gray-500\/20{--tw-shadow-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.shadow-gray-500\/20{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-gray-500)20%,transparent)var(--tw-shadow-alpha),transparent)}}.shadow-green-100{--tw-shadow-color:oklch(96.2% .044 156.743)}@supports (color:color-mix(in lab,red,red)){.shadow-green-100{--tw-shadow-color:color-mix(in oklab,var(--color-green-100)var(--tw-shadow-alpha),transparent)}}.shadow-indigo-100{--tw-shadow-color:oklch(93% .034 272.788)}@supports (color:color-mix(in lab,red,red)){.shadow-indigo-100{--tw-shadow-color:color-mix(in oklab,var(--color-indigo-100)var(--tw-shadow-alpha),transparent)}}.shadow-orange-100{--tw-shadow-color:oklch(95.4% .038 75.164)}@supports (color:color-mix(in lab,red,red)){.shadow-orange-100{--tw-shadow-color:color-mix(in oklab,var(--color-orange-100)var(--tw-shadow-alpha),transparent)}}.shadow-slate-100{--tw-shadow-color:oklch(96.8% .007 247.896)}@supports (color:color-mix(in lab,red,red)){.shadow-slate-100{--tw-shadow-color:color-mix(in oklab,var(--color-slate-100)var(--tw-shadow-alpha),transparent)}}.ring-amber-300{--tw-ring-color:var(--color-amber-300)}.ring-amber-600\/20{--tw-ring-color:#dd740033}@supports (color:color-mix(in lab,red,red)){.ring-amber-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-amber-600)20%,transparent)}}.ring-blue-300{--tw-ring-color:var(--color-blue-300)}.ring-blue-500\/20{--tw-ring-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.ring-blue-500\/20{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.ring-blue-600\/20{--tw-ring-color:#155dfc33}@supports (color:color-mix(in lab,red,red)){.ring-blue-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-blue-600)20%,transparent)}}.ring-blue-700\/10{--tw-ring-color:#1447e61a}@supports (color:color-mix(in lab,red,red)){.ring-blue-700\/10{--tw-ring-color:color-mix(in oklab,var(--color-blue-700)10%,transparent)}}.ring-emerald-600\/20{--tw-ring-color:#00976733}@supports (color:color-mix(in lab,red,red)){.ring-emerald-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-emerald-600)20%,transparent)}}.ring-gray-200{--tw-ring-color:var(--color-gray-200)}.ring-gray-300{--tw-ring-color:var(--color-gray-300)}.ring-gray-500\/10{--tw-ring-color:#6a72821a}@supports (color:color-mix(in lab,red,red)){.ring-gray-500\/10{--tw-ring-color:color-mix(in oklab,var(--color-gray-500)10%,transparent)}}.ring-gray-500\/20{--tw-ring-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.ring-gray-500\/20{--tw-ring-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.ring-gray-600\/20{--tw-ring-color:#4a556533}@supports (color:color-mix(in lab,red,red)){.ring-gray-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-gray-600)20%,transparent)}}.ring-green-600\/20{--tw-ring-color:#00a54433}@supports (color:color-mix(in lab,red,red)){.ring-green-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-green-600)20%,transparent)}}.ring-green-700\/10{--tw-ring-color:#0081381a}@supports (color:color-mix(in lab,red,red)){.ring-green-700\/10{--tw-ring-color:color-mix(in oklab,var(--color-green-700)10%,transparent)}}.ring-indigo-400{--tw-ring-color:var(--color-indigo-400)}.ring-indigo-600\/20{--tw-ring-color:#4f39f633}@supports (color:color-mix(in lab,red,red)){.ring-indigo-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-indigo-600)20%,transparent)}}.ring-orange-600\/20{--tw-ring-color:#f0510033}@supports (color:color-mix(in lab,red,red)){.ring-orange-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-orange-600)20%,transparent)}}.ring-primary{--tw-ring-color:var(--color-primary)}.ring-purple-300{--tw-ring-color:var(--color-purple-300)}.ring-purple-600\/20{--tw-ring-color:#9810fa33}@supports (color:color-mix(in lab,red,red)){.ring-purple-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-purple-600)20%,transparent)}}.ring-purple-700\/10{--tw-ring-color:#8200da1a}@supports (color:color-mix(in lab,red,red)){.ring-purple-700\/10{--tw-ring-color:color-mix(in oklab,var(--color-purple-700)10%,transparent)}}.ring-red-600\/10{--tw-ring-color:#e400141a}@supports (color:color-mix(in lab,red,red)){.ring-red-600\/10{--tw-ring-color:color-mix(in oklab,var(--color-red-600)10%,transparent)}}.ring-red-600\/20{--tw-ring-color:#e4001433}@supports (color:color-mix(in lab,red,red)){.ring-red-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-red-600)20%,transparent)}}.ring-red-700\/10{--tw-ring-color:#bf000f1a}@supports (color:color-mix(in lab,red,red)){.ring-red-700\/10{--tw-ring-color:color-mix(in oklab,var(--color-red-700)10%,transparent)}}.ring-ring\/10{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.ring-ring\/10{--tw-ring-color:color-mix(in oklab,var(--color-ring)10%,transparent)}}.ring-sidebar-ring{--tw-ring-color:var(--color-sidebar-ring)}.ring-slate-600\/20{--tw-ring-color:#45556c33}@supports (color:color-mix(in lab,red,red)){.ring-slate-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-slate-600)20%,transparent)}}.ring-yellow-600\/20{--tw-ring-color:#cd890033}@supports (color:color-mix(in lab,red,red)){.ring-yellow-600\/20{--tw-ring-color:color-mix(in oklab,var(--color-yellow-600)20%,transparent)}}.ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.ring-offset-background{--tw-ring-offset-color:var(--color-background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-ring\/50{outline-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.outline-ring\/50{outline-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sepia{--tw-sepia:sepia(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter\!{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[margin\,opacity\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\]{transition-property:width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.delay-200{transition-delay:.2s}.delay-300{transition-delay:.3s}.delay-400{transition-delay:.4s}.delay-500{transition-delay:.5s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-250{--tw-duration:.25s;transition-duration:.25s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-700{--tw-duration:.7s;transition-duration:.7s}.duration-750{--tw-duration:.75s;transition-duration:.75s}.duration-1000{--tw-duration:1s;transition-duration:1s}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.animate-in{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.select-all{-webkit-user-select:all;user-select:all}.select-none{-webkit-user-select:none;user-select:none}.\[image\:\$img\|\$width\|\$height\|\$type\]{image:$img|$width|$height|$type}.\[program\:php\]{program:php}.\[wire\:model\=\"\'\+i\+\'\"\]{wire:model="'+i+'"}.\[wire\:model\=\\\"\'\+expression\+\'\\\"\]{wire:model=\""+expression+"\"}.\[wire\:model\]{wire:model}.\[wire\:transition\]{wire:transition}.delay-200{animation-delay:.2s}.delay-300{animation-delay:.3s}.delay-400{animation-delay:.4s}.delay-500{animation-delay:.5s}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-250{animation-duration:.25s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.duration-700{animation-duration:.7s}.duration-750{animation-duration:.75s}.duration-1000{animation-duration:1s}.ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{animation-timing-function:linear}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.fade-in,.fade-in-0{--tw-enter-opacity:0}.paused{animation-play-state:paused}.ring-inset{--tw-ring-inset:inset}.running{animation-play-state:running}.scrollbar-thumb-gray-300{--scrollbar-thumb:oklch(87.2% .01 258.338)}.scrollbar-thumb-muted{--scrollbar-thumb:var(--muted)}.scrollbar-thumb-muted-foreground\/20{--scrollbar-thumb:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.scrollbar-thumb-muted-foreground\/20{--scrollbar-thumb:color-mix(in oklab,var(--muted-foreground)20%,transparent)}}.scrollbar-track-gray-100{--scrollbar-track:oklch(96.7% .003 264.542)}.scrollbar-track-transparent{--scrollbar-track:transparent}.slide-in-from-bottom-2{--tw-enter-translate-y:.5rem}.slide-in-from-bottom-4{--tw-enter-translate-y:1rem}.slide-in-from-top-1{--tw-enter-translate-y:-.25rem}.zoom-in{--tw-enter-scale:0}.zoom-in-95{--tw-enter-scale:.95}.zoom-out{--tw-exit-scale:0}:is(.\*\:visible>*){visibility:visible}.not-has-\[nav\]\:hidden:not(:has(:is(nav))){display:none}.group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *){opacity:1}@media(hover:hover){.group-hover\:w-full:is(:where(.group):hover *){width:100%}.group-hover\:translate-x-1:is(:where(.group):hover *){--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-hover\:translate-x-2:is(:where(.group):hover *){--tw-translate-x:calc(var(--spacing)*2);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-hover\:translate-x-full:is(:where(.group):hover *){--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.group-hover\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\:rotate-12:is(:where(.group):hover *){rotate:12deg}.group-hover\:bg-black\/20:is(:where(.group):hover *){background-color:#0003}@supports (color:color-mix(in lab,red,red)){.group-hover\:bg-black\/20:is(:where(.group):hover *){background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.group-hover\:text-blue-500:is(:where(.group):hover *){color:var(--color-blue-500)}.group-hover\:text-gray-700:is(:where(.group):hover *){color:var(--color-gray-700)}.group-hover\:text-primary:is(:where(.group):hover *){color:var(--color-primary)}.group-hover\:opacity-90:is(:where(.group):hover *){opacity:.9}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\:shadow-xl:is(:where(.group):hover *){--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *){opacity:1}}.group-has-data-\[collapsible\=icon\]\/sidebar-wrapper\:h-12:is(:where(.group\/sidebar-wrapper):has([data-collapsible=icon]) *){height:calc(var(--spacing)*12)}.group-has-data-\[sidebar\=menu-action\]\/menu-item\:pr-8:is(:where(.group\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing)*8)}.group-data-\[collapsible\=icon\]\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing)*-8)}.group-data-\[collapsible\=icon\]\:block:is(:where(.group)[data-collapsible=icon] *){display:block}.group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\[collapsible\=icon\]\:size-8\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing)*8)!important;height:calc(var(--spacing)*8)!important}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+var\(--spacing-4\)\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + var(--spacing-4))}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+var\(--spacing-4\)\+2px\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + var(--spacing-4) + 2px)}.group-data-\[collapsible\=icon\]\:w-\[var\(--sidebar-width-icon\)\]:is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\[collapsible\=icon\]\:p-0:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing)*0)}.group-data-\[collapsible\=icon\]\:p-0\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing)*0)!important}.group-data-\[collapsible\=icon\]\:p-2\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing)*2)!important}.group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width)*-1)}.group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width)*-1)}.group-data-\[collapsible\=offcanvas\]\:w-0:is(:where(.group)[data-collapsible=offcanvas] *){width:calc(var(--spacing)*0)}.group-data-\[collapsible\=offcanvas\]\:translate-x-0:is(:where(.group)[data-collapsible=offcanvas] *){--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\[disabled\=true\]\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.group-data-\[side\=left\]\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing)*-4)}.group-data-\[side\=left\]\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\[side\=right\]\:left-0:is(:where(.group)[data-side=right] *){left:calc(var(--spacing)*0)}.group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\[side\=right\]\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\[variant\=floating\]\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:var(--radius-lg)}.group-data-\[variant\=floating\]\:border:is(:where(.group)[data-variant=floating] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\[variant\=floating\]\:border-sidebar-border:is(:where(.group)[data-variant=floating] *){border-color:var(--color-sidebar-border)}.group-data-\[variant\=floating\]\:shadow-sm:is(:where(.group)[data-variant=floating] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.group-data-\[viewport\=false\]\/navigation-menu\:top-full:is(:where(.group\/navigation-menu)[data-viewport=false] *){top:100%}.group-data-\[viewport\=false\]\/navigation-menu\:mt-1\.5:is(:where(.group\/navigation-menu)[data-viewport=false] *){margin-top:calc(var(--spacing)*1.5)}.group-data-\[viewport\=false\]\/navigation-menu\:overflow-hidden:is(:where(.group\/navigation-menu)[data-viewport=false] *){overflow:hidden}.group-data-\[viewport\=false\]\/navigation-menu\:rounded-md:is(:where(.group\/navigation-menu)[data-viewport=false] *){border-radius:var(--radius-md)}.group-data-\[viewport\=false\]\/navigation-menu\:border:is(:where(.group\/navigation-menu)[data-viewport=false] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\[viewport\=false\]\/navigation-menu\:bg-popover:is(:where(.group\/navigation-menu)[data-viewport=false] *){background-color:var(--color-popover)}.group-data-\[viewport\=false\]\/navigation-menu\:text-popover-foreground:is(:where(.group\/navigation-menu)[data-viewport=false] *){color:var(--color-popover-foreground)}.group-data-\[viewport\=false\]\/navigation-menu\:shadow:is(:where(.group\/navigation-menu)[data-viewport=false] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.group-data-\[viewport\=false\]\/navigation-menu\:duration-200:is(:where(.group\/navigation-menu)[data-viewport=false] *){--tw-duration:.2s;transition-duration:.2s;animation-duration:.2s}.group-\[\.status-down\]\:bg-red-600:is(:where(.group).status-down *){background-color:var(--color-red-600)}@media(hover:hover){.peer-hover\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button):hover~*){color:var(--color-sidebar-accent-foreground)}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button)[data-active=true]~*){color:var(--color-sidebar-accent-foreground)}.peer-data-\[size\=default\]\/menu-button\:top-1\.5:is(:where(.peer\/menu-button)[data-size=default]~*){top:calc(var(--spacing)*1.5)}.peer-data-\[size\=lg\]\/menu-button\:top-2\.5:is(:where(.peer\/menu-button)[data-size=lg]~*){top:calc(var(--spacing)*2.5)}.peer-data-\[size\=sm\]\/menu-button\:top-1:is(:where(.peer\/menu-button)[data-size=sm]~*){top:calc(var(--spacing)*1)}.peer-data-\[variant\=inset\]\:min-h-\[calc\(100svh-var\(--spacing-4\)\)\]:is(:where(.peer)[data-variant=inset]~*){min-height:calc(100svh - var(--spacing-4))}.selection\:bg-primary ::selection{background-color:var(--color-primary)}.selection\:bg-primary::selection{background-color:var(--color-primary)}.selection\:bg-red-500 ::selection{background-color:var(--color-red-500)}.selection\:bg-red-500::selection{background-color:var(--color-red-500)}.selection\:text-primary-foreground ::selection{color:var(--color-primary-foreground)}.selection\:text-primary-foreground::selection{color:var(--color-primary-foreground)}.selection\:text-white ::selection{color:var(--color-white)}.selection\:text-white::selection{color:var(--color-white)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--color-foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--color-muted-foreground)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:top-0:before{content:var(--tw-content);top:calc(var(--spacing)*0)}.before\:top-1:before{content:var(--tw-content);top:calc(var(--spacing)*1)}.before\:top-1\/2:before{content:var(--tw-content);top:50%}.before\:bottom-0:before{content:var(--tw-content);bottom:calc(var(--spacing)*0)}.before\:bottom-1:before{content:var(--tw-content);bottom:calc(var(--spacing)*1)}.before\:bottom-1\/2:before{content:var(--tw-content);bottom:50%}.before\:left-2:before{content:var(--tw-content);left:calc(var(--spacing)*2)}.before\:left-\[0\.4rem\]:before{content:var(--tw-content);left:.4rem}.before\:w-0\.5:before{content:var(--tw-content);width:calc(var(--spacing)*.5)}.before\:border-l:before{content:var(--tw-content);border-left-style:var(--tw-border-style);border-left-width:1px}.before\:border-\[\#e3e3e0\]:before{content:var(--tw-content);border-color:#e3e3e0}.before\:bg-gray-200:before{content:var(--tw-content);background-color:var(--color-gray-200)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing)*-2)}.after\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.group-data-\[collapsible\=offcanvas\]\:after\:left-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);left:100%}.first\:rounded-l-md:first-child{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.last\:rounded-r-md:last-child{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}.last\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}.odd\:bg-white\/2:nth-child(odd){background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.odd\:bg-white\/2:nth-child(odd){background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.even\:bg-white:nth-child(2n){background-color:var(--color-white)}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-blue-500:focus-within{--tw-ring-color:var(--color-blue-500)}.focus-within\:ring-emerald-500:focus-within{--tw-ring-color:var(--color-emerald-500)}.focus-within\:outline-none:focus-within{--tw-outline-style:none;outline-style:none}@media(hover:hover){.hover\:-translate-y-0\.5:hover{--tw-translate-y:calc(var(--spacing)*-.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.hover\:-translate-y-1:hover{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:scale-\[1\.02\]:hover{scale:1.02}.hover\:border-\[\#1915014a\]:hover{border-color:#1915014a}.hover\:border-\[\#19140035\]:hover{border-color:#19140035}.hover\:border-black:hover{border-color:var(--color-black)}.hover\:border-blue-200:hover{border-color:var(--color-blue-200)}.hover\:border-blue-400:hover{border-color:var(--color-blue-400)}.hover\:border-gray-300:hover{border-color:var(--color-gray-300)}.hover\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\:border-primary:hover,.hover\:border-primary\/30:hover{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:border-primary\/30:hover{border-color:color-mix(in oklab,var(--color-primary)30%,transparent)}}.hover\:border-primary\/50:hover{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:border-primary\/50:hover{border-color:color-mix(in oklab,var(--color-primary)50%,transparent)}}.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-amber-50:hover{background-color:var(--color-amber-50)}.hover\:bg-black:hover{background-color:var(--color-black)}.hover\:bg-black\/10:hover{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/10:hover{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.hover\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-destructive\/90:hover{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--color-destructive)90%,transparent)}}.hover\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\:bg-emerald-700:hover{background-color:var(--color-emerald-700)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-50\/50:hover{background-color:#f9fafb80}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-50\/50:hover{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\:bg-gray-600:hover{background-color:var(--color-gray-600)}.hover\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-green-50:hover{background-color:var(--color-green-50)}.hover\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-indigo-600:hover{background-color:var(--color-indigo-600)}.hover\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\:bg-muted:hover,.hover\:bg-muted\/20:hover{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/20:hover{background-color:color-mix(in oklab,var(--color-muted)20%,transparent)}}.hover\:bg-muted\/50:hover{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab,var(--color-muted)50%,transparent)}}.hover\:bg-muted\/80:hover{background-color:var(--color-muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/80:hover{background-color:color-mix(in oklab,var(--color-muted)80%,transparent)}}.hover\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\:bg-neutral-200:hover{background-color:var(--color-neutral-200)}.hover\:bg-neutral-200\/60:hover{background-color:#e5e5e599}@supports (color:color-mix(in lab,red,red)){.hover\:bg-neutral-200\/60:hover{background-color:color-mix(in oklab,var(--color-neutral-200)60%,transparent)}}.hover\:bg-orange-50:hover{background-color:var(--color-orange-50)}.hover\:bg-orange-700:hover{background-color:var(--color-orange-700)}.hover\:bg-primary\/5:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/5:hover{background-color:color-mix(in oklab,var(--color-primary)5%,transparent)}}.hover\:bg-primary\/10:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/10:hover{background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.hover\:bg-primary\/90:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary)90%,transparent)}}.hover\:bg-purple-50:hover{background-color:var(--color-purple-50)}.hover\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:bg-secondary\/80:hover{background-color:var(--color-secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary)80%,transparent)}}.hover\:bg-sidebar-accent:hover{background-color:var(--color-sidebar-accent)}.hover\:bg-sky-600:hover{background-color:var(--color-sky-600)}.hover\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\:bg-transparent:hover{background-color:#0000}.hover\:bg-white\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/10:hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.hover\:bg-white\/25:hover{background-color:#ffffff40}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/25:hover{background-color:color-mix(in oklab,var(--color-white)25%,transparent)}}.hover\:bg-white\/50:hover{background-color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/50:hover{background-color:color-mix(in oklab,var(--color-white)50%,transparent)}}.hover\:bg-yellow-50:hover{background-color:var(--color-yellow-50)}.hover\:bg-yellow-100:hover{background-color:var(--color-yellow-100)}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}.hover\:text-amber-600:hover{color:var(--color-amber-600)}.hover\:text-amber-700:hover{color:var(--color-amber-700)}.hover\:text-black:hover{color:var(--color-black)}.hover\:text-blue-500:hover{color:var(--color-blue-500)}.hover\:text-blue-600:hover{color:var(--color-blue-600)}.hover\:text-blue-700:hover{color:var(--color-blue-700)}.hover\:text-blue-800:hover{color:var(--color-blue-800)}.hover\:text-blue-900:hover{color:var(--color-blue-900)}.hover\:text-emerald-600:hover{color:var(--color-emerald-600)}.hover\:text-foreground:hover{color:var(--color-foreground)}.hover\:text-gray-400:hover{color:var(--color-gray-400)}.hover\:text-gray-500:hover{color:var(--color-gray-500)}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-gray-900:hover{color:var(--color-gray-900)}.hover\:text-green-700:hover{color:var(--color-green-700)}.hover\:text-muted-foreground:hover{color:var(--color-muted-foreground)}.hover\:text-neutral-800:hover{color:var(--color-neutral-800)}.hover\:text-orange-600:hover{color:var(--color-orange-600)}.hover\:text-primary:hover{color:var(--color-primary)}.hover\:text-red-500:hover{color:var(--color-red-500)}.hover\:text-red-600:hover{color:var(--color-red-600)}.hover\:text-red-700:hover{color:var(--color-red-700)}.hover\:text-sidebar-accent-foreground:hover{color:var(--color-sidebar-accent-foreground)}.hover\:text-white:hover{color:var(--color-white)}.hover\:no-underline:hover{text-decoration-line:none}.hover\:underline:hover{text-decoration-line:underline}.hover\:decoration-current:hover{text-decoration-color:currentColor}.hover\:decoration-current\!:hover{text-decoration-color:currentColor!important}.hover\:opacity-80:hover{opacity:.8}.hover\:opacity-90:hover{opacity:.9}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\)\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-primary\/5:hover{--tw-shadow-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\:shadow-primary\/5:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-primary)5%,transparent)var(--tw-shadow-alpha),transparent)}}.hover\:brightness-95:hover{--tw-brightness:brightness(95%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.hover\:group-data-\[collapsible\=offcanvas\]\:bg-sidebar:hover:is(:where(.group)[data-collapsible=offcanvas] *){background-color:var(--color-sidebar)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:var(--color-sidebar-border)}}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{border-color:var(--color-blue-300)}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:border-emerald-500:focus{border-color:var(--color-emerald-500)}.focus\:border-gray-500:focus{border-color:var(--color-gray-500)}.focus\:border-gray-600:focus{border-color:var(--color-gray-600)}.focus\:border-green-500:focus{border-color:var(--color-green-500)}.focus\:bg-accent:focus{background-color:var(--color-accent)}.focus\:bg-white:focus{background-color:var(--color-white)}.focus\:text-accent-foreground:focus{color:var(--color-accent-foreground)}.focus\:text-red-600:focus{color:var(--color-red-600)}.focus\:ring:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:ring-emerald-500:focus{--tw-ring-color:var(--color-emerald-500)}.focus\:ring-emerald-500\/20:focus{--tw-ring-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.focus\:ring-emerald-500\/20:focus{--tw-ring-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.focus\:ring-gray-600:focus{--tw-ring-color:var(--color-gray-600)}.focus\:ring-green-500:focus{--tw-ring-color:var(--color-green-500)}.focus\:ring-primary:focus{--tw-ring-color:var(--color-primary)}.focus\:ring-ring:focus{--tw-ring-color:var(--color-ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\:outline-2:focus{outline-style:var(--tw-outline-style);outline-width:2px}.focus\:outline-red-500:focus{outline-color:var(--color-red-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:z-10:focus-visible{z-index:10}.focus-visible\:border-primary:focus-visible{border-color:var(--color-primary)}.focus-visible\:border-ring:focus-visible{border-color:var(--color-ring)}.focus-visible\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(4px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-destructive)20%,transparent)}}.focus-visible\:ring-ring:focus-visible,.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:var(--color-background)}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\:bg-gray-100:active{background-color:var(--color-gray-100)}.active\:bg-sidebar-accent:active{background-color:var(--color-sidebar-accent)}.active\:text-gray-500:active{color:var(--color-gray-500)}.active\:text-gray-700:active{color:var(--color-gray-700)}.active\:text-gray-800:active{color:var(--color-gray-800)}.active\:text-sidebar-accent-foreground:active{color:var(--color-sidebar-accent-foreground)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-100:disabled{background-color:var(--color-gray-100)}.disabled\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\[side\=left\]\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\[side\=right\]\:cursor-e-resize{cursor:e-resize}.has-data-\[variant\=inset\]\:bg-sidebar:has([data-variant=inset]){background-color:var(--color-sidebar)}.has-\[\>svg\]\:grid-cols-\[calc\(var\(--spacing\)\*4\)_1fr\]:has(>svg){grid-template-columns:calc(var(--spacing)*4)1fr}.has-\[\>svg\]\:gap-x-3:has(>svg){column-gap:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--color-destructive)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--color-destructive)20%,transparent)}}.data-\[active\=true\]\:bg-accent\/50[data-active=true]{background-color:var(--color-accent)}@supports (color:color-mix(in lab,red,red)){.data-\[active\=true\]\:bg-accent\/50[data-active=true]{background-color:color-mix(in oklab,var(--color-accent)50%,transparent)}}.data-\[active\=true\]\:bg-transparent[data-active=true]{background-color:#0000}.data-\[active\=true\]\:font-semibold[data-active=true]{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.data-\[active\=true\]\:text-accent-foreground[data-active=true]{color:var(--color-accent-foreground)}.data-\[active\=true\]\:text-primary[data-active=true]{color:var(--color-primary)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[inset\]\:pl-8[data-inset]{padding-left:calc(var(--spacing)*8)}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:-13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:-13rem}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-]{--tw-exit-opacity:0}.data-\[orientation\=horizontal\]\:h-px[data-orientation=horizontal]{height:1px}.data-\[orientation\=horizontal\]\:w-full[data-orientation=horizontal]{width:100%}.data-\[orientation\=vertical\]\:h-full[data-orientation=vertical]{height:100%}.data-\[orientation\=vertical\]\:w-px[data-orientation=vertical]{width:1px}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-.5rem}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:.5rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-.5rem}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:.5rem}:is(.\*\:data-\[slot\=alert-description\]\:text-destructive-foreground\/80>*)[data-slot=alert-description]{color:var(--color-destructive-foreground)}@supports (color:color-mix(in lab,red,red)){:is(.\*\:data-\[slot\=alert-description\]\:text-destructive-foreground\/80>*)[data-slot=alert-description]{color:color-mix(in oklab,var(--color-destructive-foreground)80%,transparent)}}:is(.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:ring-0 *)[data-slot=navigation-menu-link]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}:is(.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:outline-none *)[data-slot=navigation-menu-link]:focus{--tw-outline-style:none;outline-style:none}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:var(--color-background)}.data-\[state\=active\]\:bg-primary[data-state=active]{background-color:var(--color-primary)}.data-\[state\=active\]\:bg-white[data-state=active]{background-color:var(--color-white)}.data-\[state\=active\]\:text-foreground[data-state=active]{color:var(--color-foreground)}.data-\[state\=active\]\:text-gray-900[data-state=active]{color:var(--color-gray-900)}.data-\[state\=active\]\:text-primary-foreground[data-state=active]{color:var(--color-primary-foreground)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:var(--color-primary)}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:var(--color-primary-foreground)}.data-\[state\=closed\]\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\[state\=closed\]\:animate-out[data-state=closed]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:animate-out:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:fade-out-0:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:0}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:zoom-out-95:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=hidden\]\:animate-out[data-state=hidden]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\[state\=indeterminate\]\:bg-primary[data-state=indeterminate]{background-color:var(--color-primary)}.data-\[state\=indeterminate\]\:text-primary-foreground[data-state=indeterminate]{color:var(--color-primary-foreground)}.data-\[state\=on\]\:bg-accent[data-state=on]{background-color:var(--color-accent)}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:var(--color-accent-foreground)}.data-\[state\=open\]\:bg-accent[data-state=open],.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:var(--color-accent)}@supports (color:color-mix(in lab,red,red)){.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:color-mix(in oklab,var(--color-accent)50%,transparent)}}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:var(--color-secondary)}.data-\[state\=open\]\:bg-sidebar-accent[data-state=open]{background-color:var(--color-sidebar-accent)}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:var(--color-accent-foreground)}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:var(--color-muted-foreground)}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=open\]\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:animate-in:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:fade-in-0:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:0}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:zoom-in-95:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-scale:.95}@media(hover:hover){.data-\[state\=open\]\:hover\:bg-sidebar-accent[data-state=open]:hover{background-color:var(--color-sidebar-accent)}.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground[data-state=open]:hover{color:var(--color-sidebar-accent-foreground)}}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:var(--color-muted)}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:var(--color-input)}.data-\[state\=visible\]\:animate-in[data-state=visible]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity:0}.data-\[variant\=destructive\]\:text-destructive-foreground[data-variant=destructive]{color:var(--color-destructive-foreground)}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--color-destructive)10%,transparent)}}.data-\[variant\=destructive\]\:focus\:text-destructive-foreground[data-variant=destructive]:focus{color:var(--color-destructive-foreground)}.data-\[variant\=outline\]\:border-l-0[data-variant=outline]{border-left-style:var(--tw-border-style);border-left-width:0}.data-\[variant\=outline\]\:shadow-xs[data-variant=outline]{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[variant\=outline\]\:first\:border-l[data-variant=outline]:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}@media(min-width:40rem){.sm\:mx-auto{margin-inline:auto}.sm\:mt-2{margin-top:calc(var(--spacing)*2)}.sm\:mt-12{margin-top:calc(var(--spacing)*12)}.sm\:mb-4{margin-bottom:calc(var(--spacing)*4)}.sm\:mb-6{margin-bottom:calc(var(--spacing)*6)}.sm\:mb-12{margin-bottom:calc(var(--spacing)*12)}.sm\:mb-16{margin-bottom:calc(var(--spacing)*16)}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-4{height:calc(var(--spacing)*4)}.sm\:h-5{height:calc(var(--spacing)*5)}.sm\:h-8{height:calc(var(--spacing)*8)}.sm\:h-10{height:calc(var(--spacing)*10)}.sm\:h-12{height:calc(var(--spacing)*12)}.sm\:h-16{height:calc(var(--spacing)*16)}.sm\:h-32{height:calc(var(--spacing)*32)}.sm\:min-h-\[250px\]{min-height:250px}.sm\:w-3\/4{width:75%}.sm\:w-4{width:calc(var(--spacing)*4)}.sm\:w-5{width:calc(var(--spacing)*5)}.sm\:w-8{width:calc(var(--spacing)*8)}.sm\:w-32{width:calc(var(--spacing)*32)}.sm\:w-40{width:calc(var(--spacing)*40)}.sm\:w-64{width:calc(var(--spacing)*64)}.sm\:w-\[350px\]{width:350px}.sm\:w-auto{width:auto}.sm\:max-w-2xl{max-width:var(--container-2xl)}.sm\:max-w-3xl{max-width:var(--container-3xl)}.sm\:max-w-4xl{max-width:var(--container-4xl)}.sm\:max-w-5xl{max-width:var(--container-5xl)}.sm\:max-w-\[90vw\]{max-width:90vw}.sm\:max-w-\[500px\]{max-width:500px}.sm\:max-w-full{max-width:100%}.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:max-w-md{max-width:var(--container-md)}.sm\:max-w-sm{max-width:var(--container-sm)}.sm\:max-w-xl{max-width:var(--container-xl)}.sm\:flex-1{flex:1}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:items-start{align-items:flex-start}.sm\:justify-between{justify-content:space-between}.sm\:justify-end{justify-content:flex-end}.sm\:justify-start{justify-content:flex-start}.sm\:gap-2{gap:calc(var(--spacing)*2)}.sm\:gap-2\.5{gap:calc(var(--spacing)*2.5)}.sm\:gap-4{gap:calc(var(--spacing)*4)}.sm\:gap-6{gap:calc(var(--spacing)*6)}.sm\:gap-8{gap:calc(var(--spacing)*8)}.sm\:gap-12{gap:calc(var(--spacing)*12)}:where(.sm\:space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*5)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.sm\:space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius-lg)}.sm\:p-3{padding:calc(var(--spacing)*3)}.sm\:p-4{padding:calc(var(--spacing)*4)}.sm\:p-6{padding:calc(var(--spacing)*6)}.sm\:p-12{padding:calc(var(--spacing)*12)}.sm\:p-14{padding:calc(var(--spacing)*14)}.sm\:px-0{padding-inline:calc(var(--spacing)*0)}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}.sm\:py-0{padding-block:calc(var(--spacing)*0)}.sm\:py-6{padding-block:calc(var(--spacing)*6)}.sm\:py-12{padding-block:calc(var(--spacing)*12)}.sm\:py-16{padding-block:calc(var(--spacing)*16)}.sm\:pt-0{padding-top:calc(var(--spacing)*0)}.sm\:pt-12{padding-top:calc(var(--spacing)*12)}.sm\:pt-16{padding-top:calc(var(--spacing)*16)}.sm\:pb-0{padding-bottom:calc(var(--spacing)*0)}.sm\:text-center{text-align:center}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.sm\:text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.sm\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.sm\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.sm\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.sm\:text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}}@media(min-width:48rem){.md\:absolute{position:absolute}.md\:col-span-1{grid-column:span 1/span 1}.md\:col-span-2{grid-column:span 2/span 2}.md\:mb-0{margin-bottom:calc(var(--spacing)*0)}.md\:ml-auto{margin-left:auto}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:inline-block{display:inline-block}.md\:min-h-\[300px\]{min-height:300px}.md\:w-64{width:calc(var(--spacing)*64)}.md\:w-72{width:calc(var(--spacing)*72)}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:max-w-4xl{max-width:var(--container-4xl)}.md\:max-w-7xl{max-width:var(--container-7xl)}.md\:max-w-\[200px\]{max-width:200px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:flex-row-reverse{flex-direction:row-reverse}.md\:items-center{align-items:center}.md\:items-start{align-items:flex-start}.md\:justify-between{justify-content:space-between}:where(.md\:space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.md\:space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.md\:border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.md\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.md\:p-6{padding:calc(var(--spacing)*6)}.md\:p-8{padding:calc(var(--spacing)*8)}.md\:p-10{padding:calc(var(--spacing)*10)}.md\:p-12{padding:calc(var(--spacing)*12)}.md\:px-3{padding-inline:calc(var(--spacing)*3)}.md\:pt-0{padding-top:calc(var(--spacing)*0)}.md\:pl-6{padding-left:calc(var(--spacing)*6)}.md\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.md\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.md\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.md\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.md\:text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.md\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.md\:opacity-0{opacity:0}.md\:peer-data-\[variant\=inset\]\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing)*2)}.md\:peer-data-\[variant\=inset\]\:ml-0:is(:where(.peer)[data-variant=inset]~*){margin-left:calc(var(--spacing)*0)}.md\:peer-data-\[variant\=inset\]\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:var(--radius-xl)}.md\:peer-data-\[variant\=inset\]\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.md\:peer-data-\[variant\=inset\]\:peer-data-\[state\=collapsed\]\:ml-0:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing)*0)}.md\:after\:hidden:after{content:var(--tw-content);display:none}}@media(min-width:64rem){.lg\:col-span-1{grid-column:span 1/span 1}.lg\:col-span-2{grid-column:span 2/span 2}.lg\:col-span-3{grid-column:span 3/span 3}.lg\:col-span-9{grid-column:span 9/span 9}.lg\:-mt-\[6\.6rem\]{margin-top:-6.6rem}.lg\:mt-12{margin-top:calc(var(--spacing)*12)}.lg\:mt-16{margin-top:calc(var(--spacing)*16)}.lg\:mb-0{margin-bottom:calc(var(--spacing)*0)}.lg\:mb-6{margin-bottom:calc(var(--spacing)*6)}.lg\:mb-16{margin-bottom:calc(var(--spacing)*16)}.lg\:-ml-px{margin-left:-1px}.lg\:ml-0{margin-left:calc(var(--spacing)*0)}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:inline-block{display:inline-block}.lg\:aspect-auto{aspect-ratio:auto}.lg\:h-10{height:calc(var(--spacing)*10)}.lg\:h-24{height:calc(var(--spacing)*24)}.lg\:h-\[calc\(95vh-4rem\)\]{height:calc(95vh - 4rem)}.lg\:h-\[calc\(100vh-12rem\)\]{height:calc(100vh - 12rem)}.lg\:h-\[calc\(100vh-20rem\)\]{height:calc(100vh - 20rem)}.lg\:h-full{height:100%}.lg\:max-h-\[calc\(100vh-32rem\)\]{max-height:calc(100vh - 32rem)}.lg\:max-h-none{max-height:none}.lg\:min-h-0{min-height:calc(var(--spacing)*0)}.lg\:w-1\/2{width:50%}.lg\:w-10{width:calc(var(--spacing)*10)}.lg\:w-24{width:calc(var(--spacing)*24)}.lg\:w-80{width:calc(var(--spacing)*80)}.lg\:w-\[438px\]{width:438px}.lg\:max-w-4xl{max-width:var(--container-4xl)}.lg\:max-w-5xl{max-width:var(--container-5xl)}.lg\:max-w-none{max-width:none}.lg\:max-w-sm{max-width:var(--container-sm)}.lg\:flex-shrink-0{flex-shrink:0}.lg\:grow{flex-grow:1}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.lg\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:flex-row-reverse{flex-direction:row-reverse}.lg\:justify-center{justify-content:center}.lg\:justify-start{justify-content:flex-start}.lg\:gap-4{gap:calc(var(--spacing)*4)}.lg\:gap-6{gap:calc(var(--spacing)*6)}.lg\:gap-8{gap:calc(var(--spacing)*8)}.lg\:gap-16{gap:calc(var(--spacing)*16)}:where(.lg\:space-x-8>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*8)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-x-reverse)))}.lg\:rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.lg\:rounded-tl-lg{border-top-left-radius:var(--radius-lg)}.lg\:rounded-r-lg{border-top-right-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}.lg\:rounded-br-none{border-bottom-right-radius:0}.lg\:border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.lg\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.lg\:p-4{padding:calc(var(--spacing)*4)}.lg\:p-6{padding:calc(var(--spacing)*6)}.lg\:p-8{padding:calc(var(--spacing)*8)}.lg\:p-20{padding:calc(var(--spacing)*20)}.lg\:px-0{padding-inline:calc(var(--spacing)*0)}.lg\:px-6{padding-inline:calc(var(--spacing)*6)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}.lg\:py-16{padding-block:calc(var(--spacing)*16)}.lg\:py-20{padding-block:calc(var(--spacing)*20)}.lg\:pt-5{padding-top:calc(var(--spacing)*5)}.lg\:text-left{text-align:left}.lg\:text-right{text-align:right}.lg\:text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.lg\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.lg\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.lg\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:80rem){.xl\:col-span-1{grid-column:span 1/span 1}.xl\:col-span-3{grid-column:span 3/span 3}.xl\:w-1\/2{width:50%}.xl\:w-64{width:calc(var(--spacing)*64)}.xl\:w-96{width:calc(var(--spacing)*96)}.xl\:max-w-6xl{max-width:var(--container-6xl)}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(min-width:96rem){.\32xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}.rtl\:flex-row-reverse:where(:dir(rtl),[dir=rtl],[dir=rtl] *){flex-direction:row-reverse}.rtl\:data-\[state\=checked\]\:-translate-x-5:where(:dir(rtl),[dir=rtl],[dir=rtl] *)[data-state=checked]{--tw-translate-x:calc(var(--spacing)*-5);translate:var(--tw-translate-x)var(--tw-translate-y)}.rtl\:data-\[state\=unchecked\]\:translate-x-0:where(:dir(rtl),[dir=rtl],[dir=rtl] *)[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.dark\:block:is(.dark *){display:block}.dark\:hidden:is(.dark *){display:none}:where(.dark\:divide-gray-700:is(.dark *)>:not(:last-child)){border-color:var(--color-gray-700)}:where(.dark\:divide-gray-800:is(.dark *)>:not(:last-child)){border-color:var(--color-gray-800)}:where(.dark\:divide-slate-800:is(.dark *)>:not(:last-child)){border-color:var(--color-slate-800)}:where(.dark\:divide-white\/5:is(.dark *)>:not(:last-child)){border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:where(.dark\:divide-white\/5:is(.dark *)>:not(:last-child)){border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}:where(.dark\:divide-white\/10:is(.dark *)>:not(:last-child)){border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){:where(.dark\:divide-white\/10:is(.dark *)>:not(:last-child)){border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.dark\:border:is(.dark *){border-style:var(--tw-border-style);border-width:1px}.dark\:border-r:is(.dark *){border-right-style:var(--tw-border-style);border-right-width:1px}.dark\:border-none:is(.dark *){--tw-border-style:none;border-style:none}.dark\:border-\[\#3E3E3A\]:is(.dark *){border-color:#3e3e3a}.dark\:border-\[\#eeeeec\]:is(.dark *){border-color:#eeeeec}.dark\:border-amber-500:is(.dark *){border-color:var(--color-amber-500)}.dark\:border-amber-800:is(.dark *){border-color:var(--color-amber-800)}.dark\:border-amber-800\/50:is(.dark *){border-color:#953d0080}@supports (color:color-mix(in lab,red,red)){.dark\:border-amber-800\/50:is(.dark *){border-color:color-mix(in oklab,var(--color-amber-800)50%,transparent)}}.dark\:border-amber-900:is(.dark *){border-color:var(--color-amber-900)}.dark\:border-blue-600:is(.dark *){border-color:var(--color-blue-600)}.dark\:border-blue-800:is(.dark *){border-color:var(--color-blue-800)}.dark\:border-emerald-500:is(.dark *){border-color:var(--color-emerald-500)}.dark\:border-emerald-600:is(.dark *){border-color:var(--color-emerald-600)}.dark\:border-gray-600:is(.dark *){border-color:var(--color-gray-600)}.dark\:border-gray-700:is(.dark *){border-color:var(--color-gray-700)}.dark\:border-gray-700\/50:is(.dark *){border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.dark\:border-gray-700\/50:is(.dark *){border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.dark\:border-gray-800:is(.dark *){border-color:var(--color-gray-800)}.dark\:border-green-800:is(.dark *){border-color:var(--color-green-800)}.dark\:border-green-800\/30:is(.dark *){border-color:#0166304d}@supports (color:color-mix(in lab,red,red)){.dark\:border-green-800\/30:is(.dark *){border-color:color-mix(in oklab,var(--color-green-800)30%,transparent)}}.dark\:border-indigo-800:is(.dark *){border-color:var(--color-indigo-800)}.dark\:border-neutral-500:is(.dark *){border-color:var(--color-neutral-500)}.dark\:border-neutral-700:is(.dark *){border-color:var(--color-neutral-700)}.dark\:border-neutral-800:is(.dark *){border-color:var(--color-neutral-800)}.dark\:border-orange-800:is(.dark *){border-color:var(--color-orange-800)}.dark\:border-purple-800:is(.dark *){border-color:var(--color-purple-800)}.dark\:border-red-800:is(.dark *){border-color:var(--color-red-800)}.dark\:border-red-800\/30:is(.dark *){border-color:#9f07124d}@supports (color:color-mix(in lab,red,red)){.dark\:border-red-800\/30:is(.dark *){border-color:color-mix(in oklab,var(--color-red-800)30%,transparent)}}.dark\:border-rose-500:is(.dark *){border-color:var(--color-rose-500)}.dark\:border-rose-900:is(.dark *){border-color:var(--color-rose-900)}.dark\:border-sky-800:is(.dark *){border-color:var(--color-sky-800)}.dark\:border-sky-900\/30:is(.dark *){border-color:#024a704d}@supports (color:color-mix(in lab,red,red)){.dark\:border-sky-900\/30:is(.dark *){border-color:color-mix(in oklab,var(--color-sky-900)30%,transparent)}}.dark\:border-slate-700:is(.dark *){border-color:var(--color-slate-700)}.dark\:border-slate-800:is(.dark *){border-color:var(--color-slate-800)}.dark\:border-white\/5:is(.dark *){border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/5:is(.dark *){border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\:border-white\/8:is(.dark *){border-color:#ffffff14}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/8:is(.dark *){border-color:color-mix(in oklab,var(--color-white)8%,transparent)}}.dark\:border-white\/10:is(.dark *){border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/10:is(.dark *){border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.dark\:border-white\/20:is(.dark *){border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/20:is(.dark *){border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.dark\:border-white\/\[9\%\]:is(.dark *){border-color:#ffffff17}@supports (color:color-mix(in lab,red,red)){.dark\:border-white\/\[9\%\]:is(.dark *){border-color:color-mix(in oklab,var(--color-white)9%,transparent)}}.dark\:bg-\[\#0a0a0a\]:is(.dark *){background-color:#0a0a0a}.dark\:bg-\[\#1D0002\]:is(.dark *){background-color:#1d0002}.dark\:bg-\[\#1a1a1a\]:is(.dark *){background-color:#1a1a1a}.dark\:bg-\[\#3E3E3A\]:is(.dark *){background-color:#3e3e3a}.dark\:bg-\[\#161615\]:is(.dark *){background-color:#161615}.dark\:bg-\[\#eeeeec\]:is(.dark *){background-color:#eeeeec}.dark\:bg-amber-600:is(.dark *){background-color:var(--color-amber-600)}.dark\:bg-amber-900\/10:is(.dark *){background-color:#7b33061a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)10%,transparent)}}.dark\:bg-amber-900\/20:is(.dark *){background-color:#7b330633}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)20%,transparent)}}.dark\:bg-amber-900\/30:is(.dark *){background-color:#7b33064d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)30%,transparent)}}.dark\:bg-amber-900\/40:is(.dark *){background-color:#7b330666}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)40%,transparent)}}.dark\:bg-amber-900\/50:is(.dark *){background-color:#7b330680}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900)50%,transparent)}}.dark\:bg-amber-950:is(.dark *){background-color:var(--color-amber-950)}.dark\:bg-amber-950\/20:is(.dark *){background-color:#46190133}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-950\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-950)20%,transparent)}}.dark\:bg-blue-700:is(.dark *){background-color:var(--color-blue-700)}.dark\:bg-blue-900:is(.dark *){background-color:var(--color-blue-900)}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\:bg-blue-900\/30:is(.dark *){background-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\:bg-blue-900\/40:is(.dark *){background-color:#1c398e66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)40%,transparent)}}.dark\:bg-blue-950:is(.dark *){background-color:var(--color-blue-950)}.dark\:bg-blue-950\/20:is(.dark *){background-color:#16245633}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-950\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-950)20%,transparent)}}.dark\:bg-emerald-600:is(.dark *){background-color:var(--color-emerald-600)}.dark\:bg-emerald-900:is(.dark *){background-color:var(--color-emerald-900)}.dark\:bg-emerald-900\/30:is(.dark *){background-color:#004e3b4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-emerald-900)30%,transparent)}}.dark\:bg-emerald-900\/40:is(.dark *){background-color:#004e3b66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-emerald-900)40%,transparent)}}.dark\:bg-emerald-900\/70:is(.dark *){background-color:#004e3bb3}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-900\/70:is(.dark *){background-color:color-mix(in oklab,var(--color-emerald-900)70%,transparent)}}.dark\:bg-gray-600:is(.dark *){background-color:var(--color-gray-600)}.dark\:bg-gray-700:is(.dark *){background-color:var(--color-gray-700)}.dark\:bg-gray-700\/30:is(.dark *){background-color:#3641534d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-700\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-700)30%,transparent)}}.dark\:bg-gray-700\/50:is(.dark *){background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-700\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.dark\:bg-gray-800:is(.dark *){background-color:var(--color-gray-800)}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.dark\:bg-gray-800\/80:is(.dark *){background-color:#1e2939cc}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/80:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800)80%,transparent)}}.dark\:bg-gray-800\/95:is(.dark *){background-color:#1e2939f2}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/95:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800)95%,transparent)}}.dark\:bg-gray-900:is(.dark *){background-color:var(--color-gray-900)}.dark\:bg-gray-900\/50:is(.dark *){background-color:#10182880}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-900)50%,transparent)}}.dark\:bg-gray-900\/95:is(.dark *){background-color:#101828f2}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-900\/95:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-900)95%,transparent)}}.dark\:bg-green-900:is(.dark *){background-color:var(--color-green-900)}.dark\:bg-green-900\/10:is(.dark *){background-color:#0d542b1a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900)10%,transparent)}}.dark\:bg-green-900\/20:is(.dark *){background-color:#0d542b33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900)20%,transparent)}}.dark\:bg-green-900\/30:is(.dark *){background-color:#0d542b4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900)30%,transparent)}}.dark\:bg-green-900\/40:is(.dark *){background-color:#0d542b66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900)40%,transparent)}}.dark\:bg-green-950\/20:is(.dark *){background-color:#032e1533}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-950\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-green-950)20%,transparent)}}.dark\:bg-indigo-900:is(.dark *){background-color:var(--color-indigo-900)}.dark\:bg-indigo-900\/20:is(.dark *){background-color:#312c8533}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900)20%,transparent)}}.dark\:bg-indigo-900\/30:is(.dark *){background-color:#312c854d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900)30%,transparent)}}.dark\:bg-indigo-900\/50:is(.dark *){background-color:#312c8580}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900)50%,transparent)}}.dark\:bg-neutral-400:is(.dark *){background-color:var(--color-neutral-400)}.dark\:bg-neutral-600:is(.dark *){background-color:var(--color-neutral-600)}.dark\:bg-neutral-700:is(.dark *){background-color:var(--color-neutral-700)}.dark\:bg-neutral-800:is(.dark *){background-color:var(--color-neutral-800)}.dark\:bg-neutral-900:is(.dark *){background-color:var(--color-neutral-900)}.dark\:bg-orange-900:is(.dark *){background-color:var(--color-orange-900)}.dark\:bg-orange-900\/30:is(.dark *){background-color:#7e2a0c4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-orange-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-orange-900)30%,transparent)}}.dark\:bg-purple-900:is(.dark *){background-color:var(--color-purple-900)}.dark\:bg-purple-900\/20:is(.dark *){background-color:#59168b33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-purple-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-purple-900)20%,transparent)}}.dark\:bg-purple-900\/30:is(.dark *){background-color:#59168b4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-purple-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-purple-900)30%,transparent)}}.dark\:bg-red-900:is(.dark *){background-color:var(--color-red-900)}.dark\:bg-red-900\/10:is(.dark *){background-color:#82181a1a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)10%,transparent)}}.dark\:bg-red-900\/20:is(.dark *){background-color:#82181a33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)20%,transparent)}}.dark\:bg-red-900\/30:is(.dark *){background-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.dark\:bg-red-900\/40:is(.dark *){background-color:#82181a66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)40%,transparent)}}.dark\:bg-red-950\/20:is(.dark *){background-color:#46080933}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-950\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-red-950)20%,transparent)}}.dark\:bg-rose-600:is(.dark *){background-color:var(--color-rose-600)}.dark\:bg-rose-900\!:is(.dark *){background-color:var(--color-rose-900)!important}.dark\:bg-rose-950:is(.dark *){background-color:var(--color-rose-950)}.dark\:bg-sky-900\/10:is(.dark *){background-color:#024a701a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-sky-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-sky-900)10%,transparent)}}.dark\:bg-sky-900\/30:is(.dark *){background-color:#024a704d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-sky-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-sky-900)30%,transparent)}}.dark\:bg-slate-800:is(.dark *){background-color:var(--color-slate-800)}.dark\:bg-slate-800\/40:is(.dark *){background-color:#1d293d66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-slate-800\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-slate-800)40%,transparent)}}.dark\:bg-slate-800\/50:is(.dark *){background-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.dark\:bg-slate-800\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.dark\:bg-slate-900:is(.dark *){background-color:var(--color-slate-900)}.dark\:bg-teal-900:is(.dark *){background-color:var(--color-teal-900)}.dark\:bg-transparent:is(.dark *){background-color:#0000}.dark\:bg-violet-900\/30:is(.dark *){background-color:#4d179a4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-violet-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-violet-900)30%,transparent)}}.dark\:bg-white:is(.dark *){background-color:var(--color-white)}.dark\:bg-white\/1:is(.dark *){background-color:#ffffff03}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/1:is(.dark *){background-color:color-mix(in oklab,var(--color-white)1%,transparent)}}.dark\:bg-white\/3:is(.dark *){background-color:#ffffff08}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/3:is(.dark *){background-color:color-mix(in oklab,var(--color-white)3%,transparent)}}.dark\:bg-white\/5:is(.dark *){background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/5:is(.dark *){background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\:bg-white\/10:is(.dark *){background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.dark\:bg-white\/\[2\%\]:is(.dark *){background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/\[2\%\]:is(.dark *){background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.dark\:bg-white\/\[3\%\]:is(.dark *){background-color:#ffffff08}@supports (color:color-mix(in lab,red,red)){.dark\:bg-white\/\[3\%\]:is(.dark *){background-color:color-mix(in oklab,var(--color-white)3%,transparent)}}.dark\:bg-yellow-900:is(.dark *){background-color:var(--color-yellow-900)}.dark\:bg-yellow-900\/30:is(.dark *){background-color:#733e0a4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-yellow-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-yellow-900)30%,transparent)}}.dark\:from-blue-950\/20:is(.dark *){--tw-gradient-from:#16245633}@supports (color:color-mix(in lab,red,red)){.dark\:from-blue-950\/20:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-blue-950)20%,transparent)}}.dark\:from-blue-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-blue-950\/30:is(.dark *){--tw-gradient-from:#1624564d}@supports (color:color-mix(in lab,red,red)){.dark\:from-blue-950\/30:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-blue-950)30%,transparent)}}.dark\:from-blue-950\/30:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-green-950\/20:is(.dark *){--tw-gradient-from:#032e1533}@supports (color:color-mix(in lab,red,red)){.dark\:from-green-950\/20:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-green-950)20%,transparent)}}.dark\:from-green-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-green-950\/30:is(.dark *){--tw-gradient-from:#032e154d}@supports (color:color-mix(in lab,red,red)){.dark\:from-green-950\/30:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-green-950)30%,transparent)}}.dark\:from-green-950\/30:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-purple-900\/20:is(.dark *){--tw-gradient-from:#59168b33}@supports (color:color-mix(in lab,red,red)){.dark\:from-purple-900\/20:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-purple-900)20%,transparent)}}.dark\:from-purple-900\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-purple-950\/20:is(.dark *){--tw-gradient-from:#3c036633}@supports (color:color-mix(in lab,red,red)){.dark\:from-purple-950\/20:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-purple-950)20%,transparent)}}.dark\:from-purple-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-blue-900\/20:is(.dark *){--tw-gradient-to:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\:to-blue-900\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\:to-blue-900\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-emerald-950\/20:is(.dark *){--tw-gradient-to:#002c2233}@supports (color:color-mix(in lab,red,red)){.dark\:to-emerald-950\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-emerald-950)20%,transparent)}}.dark\:to-emerald-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-green-900\/20:is(.dark *){--tw-gradient-to:#0d542b33}@supports (color:color-mix(in lab,red,red)){.dark\:to-green-900\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-green-900)20%,transparent)}}.dark\:to-green-900\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-indigo-950\/20:is(.dark *){--tw-gradient-to:#1e1a4d33}@supports (color:color-mix(in lab,red,red)){.dark\:to-indigo-950\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-indigo-950)20%,transparent)}}.dark\:to-indigo-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-pink-950\/20:is(.dark *){--tw-gradient-to:#51042433}@supports (color:color-mix(in lab,red,red)){.dark\:to-pink-950\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-pink-950)20%,transparent)}}.dark\:to-pink-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-purple-950\/20:is(.dark *){--tw-gradient-to:#3c036633}@supports (color:color-mix(in lab,red,red)){.dark\:to-purple-950\/20:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-purple-950)20%,transparent)}}.dark\:to-purple-950\/20:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:text-\[\#1C1C1A\]:is(.dark *){color:#1c1c1a}.dark\:text-\[\#A1A09A\]:is(.dark *){color:#a1a09a}.dark\:text-\[\#EDEDEC\]:is(.dark *){color:#ededec}.dark\:text-\[\#F61500\]:is(.dark *){color:#f61500}.dark\:text-\[\#FF4433\]:is(.dark *){color:#f43}.dark\:text-amber-200:is(.dark *){color:var(--color-amber-200)}.dark\:text-amber-300:is(.dark *){color:var(--color-amber-300)}.dark\:text-amber-400:is(.dark *){color:var(--color-amber-400)}.dark\:text-amber-500:is(.dark *){color:var(--color-amber-500)}.dark\:text-black:is(.dark *){color:var(--color-black)}.dark\:text-blue-100:is(.dark *){color:var(--color-blue-100)}.dark\:text-blue-200:is(.dark *){color:var(--color-blue-200)}.dark\:text-blue-300:is(.dark *){color:var(--color-blue-300)}.dark\:text-blue-400:is(.dark *){color:var(--color-blue-400)}.dark\:text-blue-500:is(.dark *){color:var(--color-blue-500)}.dark\:text-emerald-300:is(.dark *){color:var(--color-emerald-300)}.dark\:text-emerald-400:is(.dark *){color:var(--color-emerald-400)}.dark\:text-emerald-500:is(.dark *){color:var(--color-emerald-500)}.dark\:text-gray-100:is(.dark *){color:var(--color-gray-100)}.dark\:text-gray-200:is(.dark *){color:var(--color-gray-200)}.dark\:text-gray-300:is(.dark *){color:var(--color-gray-300)}.dark\:text-gray-400:is(.dark *){color:var(--color-gray-400)}.dark\:text-gray-500:is(.dark *){color:var(--color-gray-500)}.dark\:text-gray-600:is(.dark *){color:var(--color-gray-600)}.dark\:text-green-100:is(.dark *){color:var(--color-green-100)}.dark\:text-green-300:is(.dark *){color:var(--color-green-300)}.dark\:text-green-400:is(.dark *){color:var(--color-green-400)}.dark\:text-green-500:is(.dark *){color:var(--color-green-500)}.dark\:text-indigo-300:is(.dark *){color:var(--color-indigo-300)}.dark\:text-indigo-400:is(.dark *){color:var(--color-indigo-400)}.dark\:text-neutral-100:is(.dark *){color:var(--color-neutral-100)}.dark\:text-neutral-200:is(.dark *){color:var(--color-neutral-200)}.dark\:text-neutral-300:is(.dark *){color:var(--color-neutral-300)}.dark\:text-neutral-400:is(.dark *){color:var(--color-neutral-400)}.dark\:text-neutral-500:is(.dark *){color:var(--color-neutral-500)}.dark\:text-neutral-600:is(.dark *){color:var(--color-neutral-600)}.dark\:text-neutral-600\!:is(.dark *){color:var(--color-neutral-600)!important}.dark\:text-neutral-900:is(.dark *){color:var(--color-neutral-900)}.dark\:text-orange-300:is(.dark *){color:var(--color-orange-300)}.dark\:text-orange-400:is(.dark *){color:var(--color-orange-400)}.dark\:text-purple-100:is(.dark *){color:var(--color-purple-100)}.dark\:text-purple-300:is(.dark *){color:var(--color-purple-300)}.dark\:text-purple-400:is(.dark *){color:var(--color-purple-400)}.dark\:text-red-400:is(.dark *){color:var(--color-red-400)}.dark\:text-red-500:is(.dark *){color:var(--color-red-500)}.dark\:text-rose-100:is(.dark *){color:var(--color-rose-100)}.dark\:text-sky-300:is(.dark *){color:var(--color-sky-300)}.dark\:text-sky-400\/50:is(.dark *){color:#00bcfe80}@supports (color:color-mix(in lab,red,red)){.dark\:text-sky-400\/50:is(.dark *){color:color-mix(in oklab,var(--color-sky-400)50%,transparent)}}.dark\:text-slate-100:is(.dark *){color:var(--color-slate-100)}.dark\:text-slate-200:is(.dark *){color:var(--color-slate-200)}.dark\:text-slate-300:is(.dark *){color:var(--color-slate-300)}.dark\:text-slate-400:is(.dark *){color:var(--color-slate-400)}.dark\:text-teal-400:is(.dark *){color:var(--color-teal-400)}.dark\:text-violet-400:is(.dark *){color:var(--color-violet-400)}.dark\:text-white:is(.dark *){color:var(--color-white)}.dark\:text-white\!:is(.dark *){color:var(--color-white)!important}.dark\:text-yellow-400:is(.dark *){color:var(--color-yellow-400)}.dark\:decoration-neutral-500:is(.dark *){-webkit-text-decoration-color:var(--color-neutral-500);text-decoration-color:var(--color-neutral-500)}.dark\:shadow-\[inset_0px_0px_0px_1px_\#fffaed2d\]:is(.dark *){--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,#fffaed2d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\:shadow-none:is(.dark *){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\:ring-blue-400\/30:is(.dark *){--tw-ring-color:#54a2ff4d}@supports (color:color-mix(in lab,red,red)){.dark\:ring-blue-400\/30:is(.dark *){--tw-ring-color:color-mix(in oklab,var(--color-blue-400)30%,transparent)}}.dark\:ring-gray-400\/20:is(.dark *){--tw-ring-color:#99a1af33}@supports (color:color-mix(in lab,red,red)){.dark\:ring-gray-400\/20:is(.dark *){--tw-ring-color:color-mix(in oklab,var(--color-gray-400)20%,transparent)}}.dark\:ring-gray-800:is(.dark *){--tw-ring-color:var(--color-gray-800)}.dark\:ring-green-400\/30:is(.dark *){--tw-ring-color:#05df724d}@supports (color:color-mix(in lab,red,red)){.dark\:ring-green-400\/30:is(.dark *){--tw-ring-color:color-mix(in oklab,var(--color-green-400)30%,transparent)}}.dark\:ring-ring\/20:is(.dark *){--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.dark\:ring-ring\/20:is(.dark *){--tw-ring-color:color-mix(in oklab,var(--color-ring)20%,transparent)}}.dark\:outline-ring\/40:is(.dark *){outline-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.dark\:outline-ring\/40:is(.dark *){outline-color:color-mix(in oklab,var(--color-ring)40%,transparent)}}@media(hover:hover){.group-hover\:dark\:text-emerald-500:is(:where(.group):hover *):is(.dark *){color:var(--color-emerald-500)}}.dark\:before\:border-\[\#3E3E3A\]:is(.dark *):before{content:var(--tw-content);border-color:#3e3e3a}.odd\:dark\:bg-white\/4:nth-child(odd):is(.dark *){background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.odd\:dark\:bg-white\/4:nth-child(odd):is(.dark *){background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.even\:dark\:bg-white\/2:nth-child(2n):is(.dark *){background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.even\:dark\:bg-white\/2:nth-child(2n):is(.dark *){background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}@media(hover:hover){.dark\:hover\:border-\[\#3E3E3A\]:is(.dark *):hover{border-color:#3e3e3a}.dark\:hover\:border-\[\#62605b\]:is(.dark *):hover{border-color:#62605b}.dark\:hover\:border-gray-600:is(.dark *):hover{border-color:var(--color-gray-600)}.dark\:hover\:border-primary:is(.dark *):hover{border-color:var(--color-primary)}.dark\:hover\:border-white:is(.dark *):hover{border-color:var(--color-white)}.dark\:hover\:bg-amber-900\/20:is(.dark *):hover{background-color:#7b330633}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-amber-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-amber-900)20%,transparent)}}.dark\:hover\:bg-blue-900\/20:is(.dark *):hover{background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-blue-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\:hover\:bg-gray-700:is(.dark *):hover{background-color:var(--color-gray-700)}.dark\:hover\:bg-gray-700\/50:is(.dark *):hover{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-700\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.dark\:hover\:bg-gray-800:is(.dark *):hover{background-color:var(--color-gray-800)}.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.dark\:hover\:bg-gray-900:is(.dark *):hover{background-color:var(--color-gray-900)}.dark\:hover\:bg-green-900\/20:is(.dark *):hover{background-color:#0d542b33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-green-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-green-900)20%,transparent)}}.dark\:hover\:bg-neutral-700\/60:is(.dark *):hover{background-color:#40404099}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-neutral-700\/60:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)60%,transparent)}}.dark\:hover\:bg-orange-900\/20:is(.dark *):hover{background-color:#7e2a0c33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-orange-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-orange-900)20%,transparent)}}.dark\:hover\:bg-purple-900\/30:is(.dark *):hover{background-color:#59168b4d}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-purple-900\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-purple-900)30%,transparent)}}.dark\:hover\:bg-red-900\/20:is(.dark *):hover{background-color:#82181a33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-red-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-red-900)20%,transparent)}}.dark\:hover\:bg-slate-800:is(.dark *):hover{background-color:var(--color-slate-800)}.dark\:hover\:bg-slate-800\/40:is(.dark *):hover{background-color:#1d293d66}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-slate-800\/40:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-slate-800)40%,transparent)}}.dark\:hover\:bg-white:is(.dark *):hover{background-color:var(--color-white)}.dark\:hover\:bg-white\/2:is(.dark *):hover{background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-white\/2:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.dark\:hover\:bg-white\/5:is(.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-white\/5:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\:hover\:bg-white\/10:is(.dark *):hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-white\/10:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.hover\:dark\:bg-white\/5:hover:is(.dark *){background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\:dark\:bg-white\/5:hover:is(.dark *){background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\:hover\:text-blue-300:is(.dark *):hover{color:var(--color-blue-300)}.dark\:hover\:text-gray-200:is(.dark *):hover{color:var(--color-gray-200)}.dark\:hover\:text-gray-300:is(.dark *):hover{color:var(--color-gray-300)}.dark\:hover\:text-neutral-100:is(.dark *):hover{color:var(--color-neutral-100)}.dark\:hover\:text-red-300:is(.dark *):hover{color:var(--color-red-300)}.hover\:dark\:text-white:hover:is(.dark *){color:var(--color-white)}}.dark\:focus\:border-blue-700:is(.dark *):focus{border-color:var(--color-blue-700)}.dark\:focus\:border-blue-800:is(.dark *):focus{border-color:var(--color-blue-800)}.dark\:focus\:bg-slate-900:is(.dark *):focus{background-color:var(--color-slate-900)}.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-destructive)40%,transparent)}}.dark\:active\:bg-gray-700:is(.dark *):active{background-color:var(--color-gray-700)}.dark\:active\:text-gray-300:is(.dark *):active{color:var(--color-gray-300)}.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--color-destructive)40%,transparent)}}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/40:is(.dark *)[data-variant=destructive]:focus{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/40:is(.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--color-destructive)40%,transparent)}}@starting-style{.starting\:translate-y-4{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}}@starting-style{.starting\:translate-y-6{--tw-translate-y:calc(var(--spacing)*6);translate:var(--tw-translate-x)var(--tw-translate-y)}}@starting-style{.starting\:opacity-0{opacity:0}}@media print{.print\:hidden{display:none}}.\[\&_\.ProseMirror\]\:min-h-\[120px\] .ProseMirror{min-height:120px}.\[\&_\.ProseMirror\]\:min-h-\[150px\] .ProseMirror{min-height:150px}.\[\&_\.ProseMirror\]\:min-h-\[200px\] .ProseMirror{min-height:200px}.\[\&_\.ProseMirror\]\:min-h-\[250px\] .ProseMirror{min-height:250px}.\[\&_\.ProseMirror\]\:w-full .ProseMirror{width:100%}.\[\&_\.ProseMirror\]\:max-w-none .ProseMirror{max-width:none}.\[\&_\.ProseMirror\]\:cursor-text .ProseMirror{cursor:text}.\[\&_\.ProseMirror\]\:border-0 .ProseMirror{border-style:var(--tw-border-style);border-width:0}.\[\&_\.ProseMirror\]\:p-4 .ProseMirror{padding:calc(var(--spacing)*4)}.\[\&_\.ProseMirror\]\:ring-0 .ProseMirror{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.\[\&_\.ProseMirror\]\:outline-0 .ProseMirror{outline-style:var(--tw-outline-style);outline-width:0}.\[\&_\.ProseMirror\]\:outline-none .ProseMirror,.\[\&_\.ProseMirror\]\:focus\:outline-none .ProseMirror:focus{--tw-outline-style:none;outline-style:none}.\[\&_p\]\:leading-relaxed p{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-2\.5 svg{width:calc(var(--spacing)*2.5);height:calc(var(--spacing)*2.5)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\]\:\!text-white svg{color:var(--color-white)!important}@media(hover:hover){.hover\:\[\&_svg\]\:stroke-emerald-500:hover svg{stroke:var(--color-emerald-500)}}.dark\:\[\&_svg\]\:\!text-white:is(.dark *) svg{color:var(--color-white)!important}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*=text-]){color:var(--color-muted-foreground)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:absolute:has([data-active=true]):before{content:var(--tw-content);position:absolute}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:top-0:has([data-active=true]):before{content:var(--tw-content);top:calc(var(--spacing)*0)}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:left-\[-11px\]:has([data-active=true]):before{content:var(--tw-content);left:-11px}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:h-full:has([data-active=true]):before{content:var(--tw-content);height:100%}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:w-\[2px\]:has([data-active=true]):before{content:var(--tw-content);width:2px}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:rounded-full:has([data-active=true]):before{content:var(--tw-content);border-radius:3.40282e38px}.\[\&\:has\(\[data-active\=true\]\)\]\:before\:bg-primary:has([data-active=true]):before{content:var(--tw-content);background-color:var(--color-primary)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}:is(.data-\[variant\=destructive\]\:\*\:\[svg\]\:\!text-destructive-foreground[data-variant=destructive]>*):is(svg){color:var(--color-destructive-foreground)!important}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>div\]\:rounded-none>div{border-radius:0}.\[\&\>div\]\:border-0>div{border-style:var(--tw-border-style);border-width:0}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\[\&\>span\:last-child\]\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3>svg{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.\[\&\>svg\]\:size-3\.5>svg{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.\[\&\>svg\]\:size-4>svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:translate-y-0\.5>svg{--tw-translate-y:calc(var(--spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.\[\&\>svg\]\:text-current>svg{color:currentColor}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:var(--color-sidebar-accent-foreground)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2{right:calc(var(--spacing)*-2)}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2{left:calc(var(--spacing)*-2)}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}@media(hover:hover){a.\[a\&\]\:hover\:bg-accent:hover{background-color:var(--color-accent)}a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--color-destructive)90%,transparent)}}a.\[a\&\]\:hover\:bg-green-200:hover{background-color:var(--color-green-200)}a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary)90%,transparent)}}a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:var(--color-secondary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:color-mix(in oklab,var(--color-secondary)90%,transparent)}}a.\[a\&\]\:hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}}html[dir=rtl] [data-slot=sidebar-wrapper],html[dir=rtl] [data-slot=sidebar]{direction:rtl}html[dir=rtl] [data-side=left]{right:0;left:auto!important}html[dir=rtl] [data-side=right]{left:0;right:auto!important}html[dir=rtl] [data-side=left]{border-left:1px solid var(--sidebar-border);border-right:none!important}html[dir=rtl] [data-side=right]{border-right:1px solid var(--sidebar-border);border-left:none!important}html[dir=rtl] [data-collapsible=offcanvas][data-side=left]{right:calc(var(--sidebar-width)*-1)!important;left:auto!important}html[dir=rtl] [data-collapsible=offcanvas][data-side=right]{left:calc(var(--sidebar-width)*-1)!important;right:auto!important}html[dir=rtl] [data-sidebar=rail]{transform:translate(50%)!important}html[dir=rtl] [data-sidebar=menu-button]{text-align:right}html[dir=rtl] [data-sidebar=menu-action],html[dir=rtl] [data-sidebar=menu-badge]{left:1rem;right:auto}html[dir=rtl] [data-sidebar=menu-sub]{border-left:none;border-right:1px solid var(--sidebar-border);margin-left:0;margin-right:.875rem;padding-left:0;padding-right:.625rem}html[dir=rtl] [data-sidebar=group-action]{left:.75rem;right:auto}@keyframes scrollY{0%{transform:translateY(0)scale(.85)}to{transform:translateY(-50%)scale(.85)}}.group:hover .group-hover\:animate-scroll-y>div{animation:8s ease-in-out forwards scrollY}@keyframes scroll-y{0%{transform:translateY(0)}to{transform:translateY(-50%)}}.animate-scroll-y{will-change:transform;animation:8s ease-in-out forwards scroll-y}:root{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--destructive-foreground:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(87% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(87% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(14.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(14.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(98.5% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(39.6% .141 25.723);--destructive-foreground:oklch(63.7% .237 25.331);--border:oklch(26.9% 0 0);--input:oklch(26.9% 0 0);--ring:oklch(43.9% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(98.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(26.9% 0 0);--sidebar-ring:oklch(43.9% 0 0)}:root{--theme-color:#3b82f6}.theme-color{color:var(--theme-color)}.theme-bg{background-color:var(--theme-color)}.theme-border{border-color:var(--theme-color)}.theme-ring{--tw-ring-color:var(--theme-color)}:root,.dark{--primary:var(--theme-color);--chart-1:var(--theme-color)}.btn-primary,.bg-primary,button[type=submit],.active-nav-item{background-color:var(--theme-color)}a:hover,.text-primary{color:var(--theme-color)}.border-primary{border-color:var(--theme-color)}.ring-primary{--tw-ring-color:var(--theme-color)}.dark table{color:var(--foreground)}.dark thead tr{background-color:var(--secondary);border-color:var(--border)}.dark tbody tr{border-color:var(--border);background-color:var(--card)}.dark tbody tr:hover{background-color:var(--secondary)}.dark th,.dark td{color:var(--foreground)}.dark th{color:var(--muted-foreground)}.dark [role=table],.dark table{--tw-border-opacity:1;border-color:rgba(55,65,81,var(--tw-border-opacity))}.dark [role=row],.dark tr{border-color:var(--border)}.dark [role=cell],.dark [role=columnheader],.dark td,.dark th,.dark [role=cell] p,.dark td p{color:var(--foreground)}.dark [role=cell] .text-muted-foreground,.dark td .text-muted-foreground{color:var(--muted-foreground)}.dark .pagination-container{background-color:var(--card);border-color:var(--border)}.dark .pagination-text{color:var(--muted-foreground)}.dark .pagination-text span{color:var(--foreground)}.dark button[disabled]{opacity:.5;cursor:not-allowed}.iyzipay-checkout-form{border:1px solid #e2e8f0;border-radius:8px;width:100%;min-height:400px;overflow:hidden}.iyzipay-checkout-form iframe{border:none;border-radius:8px;width:100%;height:600px;min-height:600px}@media(prefers-color-scheme:dark){.iyzipay-checkout-form{background-color:#1f2937;border-color:#374151}}@media(max-width:768px){.iyzipay-checkout-form,.iyzipay-checkout-form iframe{min-height:500px}}.iyzipay-checkout-form.loading{background-color:#f8fafc;justify-content:center;align-items:center;display:flex}.iyzipay-checkout-form.loading:before{content:"";border:4px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}[data-chatgpt-button],[data-chatgpt-modal]{pointer-events:auto!important}[data-chatgpt-button][inert],[data-chatgpt-modal][inert]{pointer-events:auto!important;-webkit-user-select:auto!important;user-select:auto!important}[data-chatgpt-button] *{pointer-events:auto!important}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0))}}@property --tw-border-spacing-x{syntax:"";inherits:false;initial-value:0}@property --tw-border-spacing-y{syntax:"";inherits:false;initial-value:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}} diff --git a/public/build/assets/app-CfhhiFAk.js b/public/build/assets/app-Dya84jp7.js similarity index 90% rename from public/build/assets/app-CfhhiFAk.js rename to public/build/assets/app-Dya84jp7.js index 2d252c875..6b75993ed 100644 --- a/public/build/assets/app-CfhhiFAk.js +++ b/public/build/assets/app-Dya84jp7.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./browser-ponyfill-B2OCLxrH.js","./ui-Z445SNHD.js","./confirm-password-CxuZ_jnp.js","./input-error-TZ1o_PqE.js","./auth-layout-ISq1MRqV.js","./CookieConsentBanner-Do3n0EfV.js","./react-country-flag.esm-Bs2jngHP.js","./refresh-cw-DWorkL8J.js","./globe-DePi6jyA.js","./settings-BwhyNRyj.js","./switch-CKduD2wX.js","./index-9MclThM-.js","./use-favicon-Dgw0iu9k.js","./credit-card-BmdpMcMw.js","./auth-button-BnJeEQoR.js","./loader-circle-wGk7YsPK.js","./lock-By6rMOj7.js","./utils-BWxnHGCV.js","./app-Df5dGo4f.css","./dark-mode-CbIfkZ9G.css","./forgot-password-yxbZL-Fe.js","./text-link-CgVy1bNC.js","./recaptcha-D-hXS7fB.js","./mail-CGIE7ZEy.js","./login-DjOYwzo6.js","./checkbox-1_Cig_g5.js","./register-lqn-QIsw.js","./reset-password-frsxX5jE.js","./verify-email-BaTdu6tt.js","./index-cXt_xBft.js","./page-template-BTxLyiDA.js","./textarea-kpRjGGLz.js","./select-BrY9osYp.js","./index-BdQq_4o_.js","./chevron-up-DepFp6b6.js","./language-BbwPiY59.js","./sparkles-BIbzOfb3.js","./copy-xfopPExK.js","./chevron-right-Bd9XWZHZ.js","./layout-grid-C6MkbbLQ.js","./briefcase-CLRn8zVu.js","./gift-DXGdvbnX.js","./user-C37aWgZX.js","./users-C4LpG59H.js","./calendar-CfUpdaK5.js","./calendar-days-CiPhwZgb.js","./clock-CwFdn-oy.js","./fingerprint-DTUiU2wR.js","./timer-Cqv8ulB-.js","./dollar-sign-DYXFWWsE.js","./coins-BDVfLngB.js","./index-BFT_C1pH.js","./log-out-XdMMCWfW.js","./index-DrmIhGnK.js","./apply-BE2iVNrk.js","./use-brand-theme-CmuRtpGN.js","./arrow-left-B_Yqvwsn.js","./index-DlUqSP_j.js","./star-DQsTg5F1.js","./filter-uErFRSPT.js","./building-Cyq-0nCs.js","./map-pin-BEMjKB1T.js","./chevron-left-DzjQ74li.js","./job-details-BVmpZQPK.js","./index-xU6JE9xN.js","./pagination-D8A_HnL5.js","./search-and-filter-bar-6Pp-FsiR.js","./list-D0MAUZMV.js","./use-initials-BK4eRgYY.js","./CrudFormModal-DAR9q-oM.js","./radio-group-CLGfOEmR.js","./circle-BoWbKVIN.js","./multi-select-field-Dxyl0jtB.js","./scroll-area-Dxv7Ysgl.js","./leaflet-ChJqBZBV.js","./leaflet-CqzSHIH7.css","./locate-fixed-DbvcuJ_9.js","./CrudDeleteModal-CKTiD3_K.js","./circle-check-BE5AcCr7.js","./view-BzOgJRog.js","./building-2-D7cTdbG2.js","./lock-open-Bohob0Q8.js","./info-D_4wnc_R.js","./square-pen-bMHyT06o.js","./trash-2-C1NR_7Ss.js","./index-BuI0zCd-.js","./CrudTable-qPWooc10.js","./table-BXUOKUBo.js","./unlink-BUU37FwK.js","./scale-BUz-ovAe.js","./arrow-down-left-B7-m5tqv.js","./arrow-right-left-oZQEgmVQ.js","./arrow-right-0WTHrq3r.js","./arrow-up-down-Bd89yBZf.js","./award-DMMowKjz.js","./ban-61sP3ZVw.js","./indian-rupee-Dzf_OaiN.js","./bell-DXAvb3Z0.js","./book-open-3qYfaEN0.js","./boxes-C2a1Xilp.js","./calculator-CAq-8OXK.js","./calendar-check-B2HQiQ2A.js","./camera-C44LyAAQ.js","./chart-column-CXNcY9Vx.js","./chart-no-axes-column-increasing-B7MqdTh5.js","./chart-no-axes-column-BrIh_iVD.js","./circle-alert-64DrdoHv.js","./circle-check-big-C5Cqj7-2.js","./circle-help-qSaafQwl.js","./circle-x-C1aiFLrz.js","./clipboard-list-DA9ABN1f.js","./code-BfjQUpEO.js","./crosshair-D1Bk7XgB.js","./crown-hSojj3Kc.js","./download-Bk1k2_dW.js","./external-link-QgK5Wt8A.js","./eye-off-CTWV_K-G.js","./eye--FVGKpVp.js","./instagram-BINpUnZv.js","./file-down-Dd8zePUY.js","./pen-line-BrTss6NX.js","./file-up-BGHgeTEG.js","./house-CL9v9Cnk.js","./git-branch-B0hRoz5x.js","./grip-vertical-DE07jY4a.js","./hard-drive-B_Mpft6K.js","./hash-BdwQ_IPO.js","./shield-BXgaUVtY.js","./layers-Dl67CG9c.js","./layout-list-BgC0E-xE.js","./lightbulb-BGgHG47R.js","./link-2-CqlWBpzI.js","./link-Bv_VEBSZ.js","./twitter-C171Pyox.js","./log-in-DDjMW0xI.js","./menu-Ce4PLUkG.js","./message-square-warning-D-p7x0Lz.js","./message-square-CWrDttoL.js","./monitor-CnIEqEUy.js","./package-Dbz0W2dX.js","./percent-CBKzOw5k.js","./phone-B_MwJBjY.js","./plane-BHhadcsS.js","./play-C-QVLyAb.js","./qr-code-Dvy3HD3W.js","./quote-CVpLTvYv.js","./ruler-BouWNjvC.js","./send-Cj7KqUHo.js","./server-Dw1-QcTX.js","./wifi-C3afLemA.js","./shield-check-Ca-zuQJC.js","./square-check-big-BCxRi7D4.js","./sun-C2oQ_gMz.js","./tag-JSZ9YmZg.js","./target-Pzb9zAUp.js","./thumbs-up-_WTyicKR.js","./ticket-iWUCgUMN.js","./trash-Pq_dkuTI.js","./trending-down-DeoG-P9A.js","./trending-up-Bi4f72Tj.js","./triangle-alert-DGWTh17w.js","./trophy-D1q7o3Ri.js","./type-CNRj7XNX.js","./user-check-eTf_WVUH.js","./user-plus-DXHdW4q-.js","./user-x-BAm8TG2r.js","./wallet-OtmBA2C9.js","./wrench-BdOd6Wbm.js","./zap-DncwKEcc.js","./index-CsFBFtPk.js","./show-BN_q1h7s.js","./index-Dz3Mkl-f.js","./view-BoKNVuEn.js","./dashboard-Cfbs-0VV.js","./index-Dle69l1X.js","./show-Du2PJKcK.js","./tabs-pc4jrsjt.js","./rich-text-editor-6rkrWVFe.js","./employee-dashboard-BkctMP3j.js","./chatgpt-demo-XaBb-3C8.js","./dashboard-BhA5vOBq.js","./index-CEqr8902.js","./show-BBP32Lsm.js","./progress-CJ4ij2ij.js","./statistics-DP1Z7RvM.js","./dashboard-FKh0lMdj.js","./depreciation-report-TgdmfIPE.js","./index-CqtrR8zZ.js","./ImportModal-CxDgVhxL.js","./alert-DH0o7BP8.js","./show-DxsRsCDG.js","./index-CjDzhRcW.js","./calendar-DK7BNiGj.js","./index-rQIAl_IQ.js","./view-BFjj0TjT.js","./index-Da0bR24c.js","./view-MDlwRyWy.js","./index-B-BvIINs.js","./index-CEdEG00S.js","./view-BbFir-PT.js","./index-fvJm3AZD.js","./view-jKtOT9Bm.js","./index-B0cz-aBP.js","./view-CN8Y1143.js","./index-Bj6jJ21X.js","./view-Z7ZNWGt1.js","./index-tbtskYrP.js","./create-C72t9NiC.js","./edit-Dfqzkhqt.js","./generate-CFssguy1.js","./index-DjRJ1e6t.js","./show-CIW6tgp8.js","./index-BgrFso6c.js","./view-D26r40SC.js","./index-9x6Wsxln.js","./view-D-KwmQWY.js","./index-DWoluho-.js","./view-KQwkZ-26.js","./index-ClbcQXHo.js","./view-FrvU1Gq2.js","./index-CShf9M56.js","./index-BhNb0aNF.js","./view-CaBV2VCV.js","./index-DrqUs-Ht.js","./create-MS7LrsiO.js","./edit-Dq9tcmGS.js","./generate-BdLQjM1G.js","./index-DGZGl4KA.js","./show-j2pNpnhj.js","./index-CI8zGq5x.js","./view-CwN1eCBc.js","./index-ltoYfV1y.js","./view-DvTZXpYh.js","./payroll-calculation-RtB_ajIT.js","./create-CEEzYIw1.js","./edit-DTz0GzMY.js","./index-67ns2C5v.js","./show-DRD8df6K.js","./calendar-DZbQGEJ_.js","./index-FKx2V6xd.js","./view-BTXCtQpe.js","./index-jrL8Swqa.js","./view-DXMFTn3s.js","./index-CY4LrrUm.js","./view-Bp5k9w6L.js","./index-BUG3ThJK.js","./view-C8SbLwsW.js","./index-CMpmrPYK.js","./index-D5sgV30H.js","./PayrollOverrideModal-zN2d0QE9.js","./index-8TqNXIQR.js","./show-BrUoHkvy.js","./index-nGhUNfeM.js","./index-DfDYhnBt.js","./view-DeKROn_z.js","./conduct-DRlCH6fa.js","./create-DA2IkrK2.js","./index-C2eHu2Fm.js","./show-BbJQH56Z.js","./index-DVrBTdX3.js","./index-B7XTPaK-.js","./view-BmsX62N2.js","./index-BShKuxu1.js","./view-Bc9HsFvk.js","./index-CY9ihQ1o.js","./index-C-rkBD8E.js","./view-CeXwvO2y.js","./index-DFa3CjCm.js","./view-ZfV1RGFO.js","./index-BtjYh975.js","./show-D3Zydh5Q.js","./index-D49SHwyU.js","./convert-to-employee-Bs7b-vKF.js","./index-BvU7Sn67.js","./show-DWzFj7I_.js","./index-T_WeL0Pu.js","./view-Cen6BZGx.js","./index-kp14gyxT.js","./view-D_VJF0vQ.js","./index-ClFA5pLD.js","./view-gAlNzHTp.js","./index-DJuy97vM.js","./view-5dgAhEQh.js","./index-ukFgEklP.js","./index-BohFrjjc.js","./view-CUmR-B1R.js","./index-CMsES36n.js","./index-3N3O8gsF.js","./view-D6YTnx8g.js","./create-Dxb0-r-t.js","./tag-input-C5bCQZVs.js","./edit-CYyr8VQA.js","./index-PwPT8lUJ.js","./show-C8XPQCrp.js","./index-B-fmjELg.js","./index-Bc7YiNqH.js","./create-0bJrGrq4.js","./edit-BI8SqA1F.js","./generate-DaVjSTCS.js","./index-auPrhmGN.js","./show-Dg_yrs0x.js","./index-DJPI4w11.js","./show-BRSqTYn6.js","./index-CjfNXxh5.js","./view-VLHZOIBe.js","./index-CRuRrZQd.js","./view-BJnRcI3c.js","./index-CGuthwIf.js","./calendar-D4496zB_.js","./index-BtHNL129.js","./view-BM_2i5d_.js","./index-CyRy-HC5.js","./index-BfIV-AaA.js","./view-BnvT1Xkw.js","./index-CtUZEotS.js","./index-DK_uunBY.js","./view-DvxHpVLL.js","./index-DrkH3Prc.js","./show-BHknxJ8v.js","./dashboard-EyalI_Q2.js","./index-DymbFq2j.js","./show-CdcCQjuW.js","./index-CtOmUlkv.js","./show-Cv_bOZu9.js","./calendar-DZXr_GgA.js","./index-Q_JgswJm.js","./show-BwK500r8.js","./index-Btn7vxVU.js","./view-NP05V4-N.js","./index-C73ZUJCW.js","./view-Beyn6LUJ.js","./expenses-BdrPMJrA.js","./index-BHfZYVNr.js","./view-CaHtUUUu.js","./index-eZPreZA5.js","./view-65Z7yBvm.js","./AboutUs-NnRpFGtj.js","./useScrollAnimation-B_bDsIuD.js","./ContactSection-B2xucE0P.js","./FaqSection-D26nrHhP.js","./FeaturesSection-BbnHd1Fx.js","./Footer-EjF7VPLK.js","./Header-DgbIWCbH.js","./HeroSection-DDk-8ZQO.js","./LivePreview-CVzyG3uV.js","./NewsletterSection-B7eU_dYx.js","./PlansSection-MkqH7YpJ.js","./ScreenshotsSection-Cufxpz-n.js","./SectionNavigation-S6sEAPik.js","./TeamSection-CQZvlFRV.js","./TestimonialsSection-DTvM3atF.js","./WhyChooseUs-B0lIb9AU.js","./custom-page-DdQaGiXq.js","./create-D4Jx_5ir.js","./toaster-Bc5RPjCT.js","./edit-YozH1frd.js","./index-wKY5eTpk.js","./index-BvhZLF0G.js","./settings-about-qj_gVNSa.js","./settings-contact-D97GUGau.js","./settings-features-CF0Deece.js","./settings-templates-Cq-_M1uj.js","./settings-DrBp48X9.js","./index-JNaZNbb5.js","./manage-language-DAJxJI26.js","./media-library-CVnwKZ3E.js","./index-Cw_jOgcF.js","./view-Bdd5ZGnN.js","./index-DY0XThH_.js","./view-BVCyb0_e.js","./index-C2Giv46P.js","./view-Wi8QiEXn.js","./index-CAMmBsqQ.js","./view-DFM6GxUi.js","./index-C6IQESMF.js","./index-DI4MMbI0.js","./view-cRrRneW8.js","./index-BdMii99d.js","./index-CDq03yuW.js","./i18n-CM7rzmSQ.js","./create-DOeqbBui.js","./form-BrKq2IwS.js","./edit-V_ht8tGC.js","./index-BxTsFXQg.js","./index-DHgWAWKP.css","./plan-orders-pzF9lx7Z.js","./plan-request-DxRHFYGR.js","./payout-requests-Bo6HO_ay.js","./referral-dashboard-EJIXIPEg.js","./referral-settings-C9bquCXp.js","./referred-users-section-Cl-gSTeU.js","./index-D7EeyNZo.js","./referred-users-C2Xmp0nE.js","./index-BO8kK88b.js","./cache-settings-CSv5JD42.js","./chatgpt-settings-DS2lPGzN.js","./cookie-settings-ZygGKw1c.js","./currency-settings-WgmyxKUz.js","./email-notification-settings-C-4YCEEU.js","./email-settings-CgeSmhsA.js","./experience-certificate-settings-BUN-EjHN.js","./google-calendar-settings-ByBUhdYk.js","./ip-restriction-settings-0-6ixzy_.js","./joining-letter-settings-6wlzZ749.js","./noc-settings-Bp7HoVl3.js","./payment-settings-BTgVS2wQ.js","./recaptcha-settings-C2nUOtIM.js","./seo-settings-BcLiux8O.js","./storage-settings-B8KLOCSA.js","./stripe-settings-SOBEkVu7.js","./system-settings-BOfM4ZSu.js","./webhook-settings-CwIqQy22.js","./working-days-settings-CLpYREMh.js","./index-CIa3Xokp.js","./profile-settings-CiqFstUU.js","./dashboard-Cq38_JDx.js","./index-Cc1Iv67H.js","./view-DyPRc1fN.js","./welcome-BzDbO2My.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./browser-ponyfill-B2OCLxrH.js","./ui-Z445SNHD.js","./confirm-password-JjFVLWP9.js","./input-error-eAcZLOer.js","./auth-layout-CuYQAqvO.js","./CookieConsentBanner-dwye0O-l.js","./react-country-flag.esm-Bs2jngHP.js","./refresh-cw-D_C_cDSu.js","./globe-5zZ4IsmY.js","./settings-amvA_CjN.js","./switch-DyHgm-Sg.js","./index-9MclThM-.js","./use-favicon-B8cqaHhj.js","./credit-card-BKi_ThdS.js","./auth-button-C1AEioKh.js","./loader-circle-BLsTZrwM.js","./lock-DaHvMEII.js","./utils-BWxnHGCV.js","./app-CmM4q005.css","./dark-mode-CbIfkZ9G.css","./forgot-password-HE1521nu.js","./text-link-Qbn0vFC1.js","./recaptcha-DWdHEy2a.js","./mail-Cha_PX4q.js","./login-CA90gCGa.js","./checkbox-BLrehV38.js","./register-CV6QGhcj.js","./reset-password-C1D-FlN1.js","./verify-email-CjhKNwZK.js","./index-BsIszv37.js","./page-template-CLNVC8w_.js","./textarea-yeg8ONhy.js","./select-CHkpLxhL.js","./index-BdQq_4o_.js","./chevron-up-DHaGktre.js","./language-BbwPiY59.js","./sparkles-C1HgyvOv.js","./copy-G5cMddid.js","./chevron-right-D4JxSs4d.js","./layout-grid-3SDzvK8c.js","./briefcase-Btn3T9V4.js","./gift-CQwwB55q.js","./user-77BPqA3J.js","./users-BzCDZrS0.js","./calendar-DuRYaSj5.js","./calendar-days-CURbwGg4.js","./clock-LnEFQ-vK.js","./fingerprint-aH6d8cFa.js","./timer-BTqoLJiz.js","./dollar-sign-DH2Tc178.js","./coins-CgSV4zfi.js","./index-BFT_C1pH.js","./log-out-M0Vyot5_.js","./index-DrmIhGnK.js","./apply-D2x9Z5WS.js","./use-brand-theme-Cg8kbbAC.js","./arrow-left-BUNj5JJK.js","./index-DTAPp5JZ.js","./star-DCkLKzoE.js","./filter-BTHjyusi.js","./building-DyhEfKj4.js","./map-pin-DFWKFR9c.js","./chevron-left-CQUDAoaX.js","./job-details-DQZE6v9J.js","./index-D3-NtChe.js","./pagination-4PUepASD.js","./search-and-filter-bar-DWH0yn_r.js","./list-C_2fG_BT.js","./use-initials-BK4eRgYY.js","./CrudFormModal-CsuqSfb2.js","./radio-group-BMzEN82K.js","./circle-C2Wo_gI7.js","./multi-select-field-CO_GzZgi.js","./scroll-area-T2TE8oKI.js","./leaflet-ChJqBZBV.js","./leaflet-CqzSHIH7.css","./locate-fixed-BEb8vcRf.js","./CrudDeleteModal-D32N6I8y.js","./circle-check-BSTxZIbF.js","./view-BGJ9rVpd.js","./building-2-CASHKqFo.js","./lock-open-wwRKX_jV.js","./info-CPi9bOGM.js","./square-pen-CzdhbxyN.js","./trash-2-BeirBLIk.js","./index-C3vJud6I.js","./CrudTable-yqxtM6E_.js","./table-CM-_W5Cl.js","./unlink-BLQWL2NW.js","./scale-BzSuyiWe.js","./arrow-down-left-B_VdNN9z.js","./arrow-right-left-rbTR90Mc.js","./arrow-right-BHW--AGU.js","./arrow-up-down-B7nj--dP.js","./award-D1KbOerA.js","./ban-BM0r7XNR.js","./indian-rupee-CCruSHM0.js","./bell-DRg7kyzT.js","./book-open-DIuydbp9.js","./boxes-Dyz92FXO.js","./calculator-D-XBwqfe.js","./calendar-check-Cei2wfOk.js","./camera-CcveDep5.js","./chart-column-B76eI9Qi.js","./chart-no-axes-column-increasing-DGWtPhLs.js","./chart-no-axes-column-BoCXnewH.js","./circle-alert-Ddjg2Qwp.js","./circle-check-big-Cju4ilPH.js","./circle-help-DYANbqeK.js","./circle-x-Dg5wGIim.js","./clipboard-list-C-5sn1G-.js","./code-znlKMFkF.js","./crosshair-CURvK9L2.js","./crown-CroP5qiL.js","./download-BBNmalxc.js","./external-link-Cr5OfBdg.js","./eye-off-C7-ukqyH.js","./eye-CCNnMtu4.js","./instagram-hxbchcd2.js","./file-down-DO17xCrw.js","./pen-line-D3y4U--J.js","./file-up-mHt_z-hD.js","./house-iKjbmxem.js","./git-branch-BmbBP1kF.js","./grip-vertical-jJ2YrfNT.js","./hard-drive-7VwcRvWp.js","./hash-CHQJ9wMw.js","./shield-CDL27iRK.js","./layers-OK3_pizJ.js","./layout-list-Cqn_SURh.js","./lightbulb-BaPQrzRp.js","./link-2-oaQNJJAj.js","./link-DXJwkkHX.js","./twitter-DZQVDI4Y.js","./log-in-3L4UHGsD.js","./menu-GuULvnRC.js","./message-square-warning-DT--Ufeu.js","./message-square-DyWo8S6i.js","./monitor-BYgqmcKD.js","./package-BMnRSK1k.js","./percent-z25PPWNk.js","./phone-3MnRoAYu.js","./plane-AJz2gO49.js","./play-BxVAbvyQ.js","./qr-code-CUIVRbAs.js","./quote-BmDTOIsR.js","./ruler-BmcStEpw.js","./send-Cs5D4i9u.js","./server-Bk9UD-_r.js","./wifi-vecZUHsy.js","./shield-check-CGAYPEyR.js","./square-check-big-CpQiidmr.js","./sun-D8i-fCJe.js","./tag-Bq7fLwM4.js","./target-BPl0Bsow.js","./thumbs-up-2-1HocdZ.js","./ticket-Cl2Nq5Ff.js","./trash-BFTYTNQN.js","./trending-down-DmDmdusz.js","./trending-up-BT453ptk.js","./triangle-alert-CpPzdeiH.js","./trophy-BaZS8IUN.js","./type-Bsbmfmsu.js","./user-check-DC9_V3Qo.js","./user-plus-BpaQ3zuJ.js","./user-x-CVAZCW5-.js","./wallet-ChDgCFUl.js","./wrench-D9olQ4TN.js","./zap-CgFkG-9H.js","./index-zL79uW8n.js","./show-CGoKk1jF.js","./index-VX6ic1b6.js","./view-Nnlh3FzL.js","./dashboard-CdiMuNwF.js","./index-MPIywYHE.js","./show-Brg1lofv.js","./tabs-CsP5VcXV.js","./rich-text-editor-uObNYFW4.js","./employee-dashboard-tHYcgFQh.js","./chatgpt-demo-CneZQ9wg.js","./dashboard-Bz6Eb38A.js","./index-BE_62-Dr.js","./show-Vr7BZGQD.js","./progress-NbCMYaUz.js","./statistics-CVwBoPhL.js","./dashboard-CibTTpYK.js","./depreciation-report-Ctuc5gL8.js","./index-fvp18Mnk.js","./ImportModal-s55JxI6I.js","./alert-CyJVNPY9.js","./show-BifM1eai.js","./index-CHaOS5LS.js","./calendar-q-CcV4Mq.js","./index-DfzWmulD.js","./view-CNymHwlr.js","./index-oQjF2KvA.js","./view-Bq_QvsAn.js","./index-BwP8Xt-d.js","./index-DeWVsfRP.js","./view-DtjMRNVw.js","./index-DAILITQb.js","./view-ByKSN7IQ.js","./index-DISA3NAq.js","./view-DO2SNXYS.js","./index-zkqqkKBr.js","./view-BIyDbRpR.js","./index-7SkKqPGK.js","./create-DttjtICA.js","./edit-C7rfSCHC.js","./generate-DVcDuXVF.js","./index-Cjv309fe.js","./show-BnL2g2PG.js","./index-ChQKPCV2.js","./view-DtJK-ZFP.js","./index-Dbc0rBs0.js","./view-BNW3nx7q.js","./index-fChYlLmm.js","./view-Dpd8svdo.js","./index-B2s-YkQ5.js","./view-C5MKftPZ.js","./index-Pp0sx53v.js","./index-DuU4uqEk.js","./view-Dw61qhOk.js","./index-BKa9SN2b.js","./create-IoumbhUE.js","./edit-XCtlV2mF.js","./generate-C8citJrT.js","./index-C4rS_B3j.js","./show-CuchtGiG.js","./index-CbdgvcXo.js","./view-BJ4q7exK.js","./index-CfE9RqBV.js","./view-CPJephlz.js","./payroll-calculation-CsNXsl-F.js","./create-D6ap4dph.js","./edit-CX7bkawy.js","./index-DZvsi9_s.js","./show-CWZul8W_.js","./calendar-1Xop4ez3.js","./index-CR7ebXL8.js","./view-Kypihw2t.js","./index-BS6rhCib.js","./view-CIsuARGL.js","./index-ChW1Tzdd.js","./view-DG9-mnmR.js","./index-DZc4Dxls.js","./view--947vg3E.js","./index-D4Gt8Ywm.js","./index-B1jGHDZT.js","./PayrollEntryBreakdown-BQCA24RG.js","./PayrollOverrideModal-BFEQA8PZ.js","./index-DXDOWGjM.js","./show-btx521-2.js","./index-DhqFHF6S.js","./index-BSGmDIhX.js","./view-CbD001QY.js","./conduct-ylN55ak5.js","./create-Aqz7hpS_.js","./index-C_0fPJzN.js","./show-BQ1fRKoZ.js","./index-C4WCB3_m.js","./index-D9WfGpQf.js","./view-DU_9UxWY.js","./index-C6s0y99w.js","./view-JE4sQ_qW.js","./index-BwHXA9aB.js","./index-B95SfE_0.js","./view-0ho_yqvm.js","./index-BatXmBQU.js","./view-Cn1iIsjc.js","./index-07FSnf47.js","./show-CwPiSc4f.js","./index-C0Ml30Dj.js","./convert-to-employee-QLKNwij2.js","./index-BF8fif0j.js","./show-C1pwhZq9.js","./index-U2bljUKu.js","./view-MkN0R0ov.js","./index-DvX1CIpv.js","./view-DnoEz16W.js","./index-DmVtcg0V.js","./view-TaZ0CeRf.js","./index-0Z3DI-n5.js","./view-0E0bYwEc.js","./index-Cd1BYcg7.js","./index-BazTc7Ec.js","./view-C30gboqX.js","./index-C6pthHd0.js","./index-DPhivvB9.js","./view-B2zB18Rr.js","./create-trmZ1y6e.js","./tag-input-B-Rs7khN.js","./edit-LuN72LBF.js","./index-BxOjzVTT.js","./show-ClT9zPwr.js","./index-zjF_UbLu.js","./index-M4eluJfZ.js","./create-ItAlWWwL.js","./edit-DObVaWFN.js","./generate-DNmdQ5bj.js","./index-CLujnaqp.js","./show-DjWMXJgC.js","./index-GXWegY7L.js","./show-BhlcLnPW.js","./index-Dt0uMvSB.js","./view-DJgeOs6W.js","./index-CYs3geP5.js","./view-DCegI9ZM.js","./index-DYnsaMnJ.js","./calendar-7JJmYI2k.js","./index-DAww2MJ_.js","./view-D19m-Fnd.js","./index-CE095MNu.js","./index-D68ER7Cp.js","./view-jkGirsLs.js","./index-4R996m51.js","./index-BVJa5G__.js","./view-DpfMHBLp.js","./index-D7lr0To6.js","./show-DO4Y3HfX.js","./dashboard-D2OPNHx1.js","./index-D8Y4pbO2.js","./show-B-cqQHn6.js","./index-DMBYXv3o.js","./show-sBLYxDq4.js","./calendar-CE42kucH.js","./index-rhhnQp0L.js","./show-C3AxymVF.js","./index-B0f15GLA.js","./view-J15i8OQc.js","./index-DW8RlYXo.js","./view-DsifVeP-.js","./expenses-JeSgrSam.js","./index-DFj2VUsB.js","./view-ByxV07S_.js","./index-DDVcNMxg.js","./view-D9KBamBj.js","./AboutUs-Dzdgan1P.js","./useScrollAnimation-B_bDsIuD.js","./ContactSection-RJDSbCmK.js","./FaqSection-CN7PLtZG.js","./FeaturesSection-D-RNp6Oy.js","./Footer-CzBrdWfY.js","./Header-CPmg6Bp5.js","./HeroSection-Z2S1x8Si.js","./LivePreview-BPIigd50.js","./NewsletterSection-Cm0nudgR.js","./PlansSection-CbnsxVRF.js","./ScreenshotsSection-ZsoMa9xw.js","./SectionNavigation-2ds3B-MX.js","./TeamSection-DgmuZVwU.js","./TestimonialsSection-8hPz5wUJ.js","./WhyChooseUs-tfkiXnEx.js","./custom-page-CPuiighF.js","./create-DdBN69u6.js","./toaster-Bc5RPjCT.js","./edit-CEWakfnw.js","./index-BsxQTXyb.js","./index-Duh_t5s5.js","./settings-about-GG9PVihu.js","./settings-contact-d0_U5LO2.js","./settings-features-DNQBmccf.js","./settings-templates-g5OZiiRG.js","./settings-B86VyvB8.js","./index-BNOEQDEd.js","./manage-language-BcTjK0GJ.js","./media-library-BLmhvmu9.js","./index-BDpKvLvJ.js","./view-B1OOFt0r.js","./index-Ck8yYIR2.js","./view-Dyr47ZtR.js","./index-CC616HWW.js","./view-CRyrgb0P.js","./index-C1ChM6f-.js","./view-7uUxZAzH.js","./index-D81_-1V7.js","./index-CP9ZrXLY.js","./view-Bp1EXKNS.js","./index-B76rJyOC.js","./index-BU-HRVXV.js","./i18n-Db6Gz1TD.js","./create-D1cxLDHA.js","./form-VUM5bQKz.js","./edit-Cq41ctsr.js","./index-Ce33qTIq.js","./index-DHgWAWKP.css","./plan-orders-j2XjTlVV.js","./plan-request-gP7ecbK6.js","./payout-requests-3LVTkOgB.js","./referral-dashboard-B3KOw-d5.js","./referral-settings-BfItF-NA.js","./referred-users-section-CUDX25qY.js","./index-Cv6i2NcW.js","./referred-users-BvGde4A8.js","./index-CbufqmQT.js","./cache-settings-B_8J---F.js","./chatgpt-settings-D_IVaC5b.js","./cookie-settings-D7p7EysW.js","./currency-settings-BT4omTSx.js","./email-notification-settings-CPtrgANi.js","./email-settings-D6iy7QiV.js","./experience-certificate-settings-DVg3g6Wh.js","./google-calendar-settings-eMbsVytU.js","./ip-restriction-settings-D34h7VGk.js","./joining-letter-settings-Dg8J1HvK.js","./noc-settings-Btctqwcg.js","./payment-settings-DH-KiRcT.js","./recaptcha-settings-Cr42TArj.js","./seo-settings-BzvLQN-Z.js","./storage-settings-etuGiLdE.js","./stripe-settings-BAwI1r-t.js","./system-settings-CiunzQ_e.js","./webhook-settings-CJnyQOMC.js","./working-days-settings-Ba_UCqex.js","./index-3kfBTgG2.js","./profile-settings-mvFr8XaK.js","./dashboard-Bn4z_3Hu.js","./index-aEHS69qc.js","./view-CBDIEe_U.js","./welcome-C5pxBnvT.js"])))=>i.map(i=>d[i]); import{g as rw,c as hv,r as A,R as fe,a as aw,b as iw,d as ow,j as x,e as sw,f as $p,h as ex,T as Fp,D as Gp,C as Yp,i as tx,P as nx,O as Xp,u as lw,k as uw,l as cw,m as rx,A as fw,n as Hi,o as ax,p as dw,q as pw,s as ix,t as mw,v as hw,w as gw,x as yw}from"./ui-Z445SNHD.js";/* empty css *//* empty css */import{c as ox}from"./utils-BWxnHGCV.js";const vw="modulepreload",bw=function(t,r){return new URL(t,r).href},gv={},O=function(r,a,o){let l=Promise.resolve();if(a&&a.length>0){let f=function(y){return Promise.all(y.map(h=>Promise.resolve(h).then(S=>({status:"fulfilled",value:S}),S=>({status:"rejected",reason:S}))))};const p=document.getElementsByTagName("link"),m=document.querySelector("meta[property=csp-nonce]"),g=(m==null?void 0:m.nonce)||(m==null?void 0:m.getAttribute("nonce"));l=f(a.map(y=>{if(y=bw(y,o),y in gv)return;gv[y]=!0;const h=y.endsWith(".css"),S=h?'[rel="stylesheet"]':"";if(!!o)for(let _=p.length-1;_>=0;_--){const E=p[_];if(E.href===y&&(!h||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${y}"]${S}`))return;const b=document.createElement("link");if(b.rel=h?"stylesheet":vw,h||(b.as="script"),b.crossOrigin="",b.href=y,g&&b.setAttribute("nonce",g),document.head.appendChild(b),h)return new Promise((_,E)=>{b.addEventListener("load",_),b.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${y}`)))})}))}function u(f){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=f,window.dispatchEvent(p),!p.defaultPrevented)throw f}return l.then(f=>{for(const p of f||[])p.status==="rejected"&&u(p.reason);return r().catch(u)})};var sx=typeof global=="object"&&global&&global.Object===Object&&global,xw=typeof self=="object"&&self&&self.Object===Object&&self,sr=sx||xw||Function("return this")(),_r=sr.Symbol,lx=Object.prototype,Sw=lx.hasOwnProperty,_w=lx.toString,Ko=_r?_r.toStringTag:void 0;function Ew(t){var r=Sw.call(t,Ko),a=t[Ko];try{t[Ko]=void 0;var o=!0}catch{}var l=_w.call(t);return o&&(r?t[Ko]=a:delete t[Ko]),l}var ww=Object.prototype,Tw=ww.toString;function Aw(t){return Tw.call(t)}var Ow="[object Null]",Rw="[object Undefined]",yv=_r?_r.toStringTag:void 0;function ei(t){return t==null?t===void 0?Rw:Ow:yv&&yv in Object(t)?Ew(t):Aw(t)}function Er(t){return t!=null&&typeof t=="object"}var Cw="[object Symbol]";function Eu(t){return typeof t=="symbol"||Er(t)&&ei(t)==Cw}function Dw(t,r){for(var a=-1,o=t==null?0:t.length,l=Array(o);++a0){if(++r>=aT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}function lT(t){return function(){return t}}var su=(function(){try{var t=ni(Object,"defineProperty");return t({},"",{}),t}catch{}})(),uT=su?function(t,r){return su(t,"toString",{configurable:!0,enumerable:!1,value:lT(r),writable:!0})}:cx,cT=sT(uT);function fT(t,r){for(var a=-1,o=t==null?0:t.length;++a-1&&t%1==0&&t-1&&t%1==0&&t<=bT}function Tu(t){return t!=null&&Jp(t.length)&&!Kp(t)}function xT(t,r,a){if(!Ln(a))return!1;var o=typeof r;return(o=="number"?Tu(a)&&wu(r,a.length):o=="string"&&r in a)?_s(a[r],t):!1}function ST(t){return vT(function(r,a){var o=-1,l=a.length,u=l>1?a[l-1]:void 0,f=l>2?a[2]:void 0;for(u=t.length>3&&typeof u=="function"?(l--,u):void 0,f&&xT(a[0],a[1],f)&&(u=l<3?void 0:u,l=1),r=Object(r);++o-1}function jA(t,r){var a=this.__data__,o=Au(a,t);return o<0?(++this.size,a.push([t,r])):a[o][1]=r,this}function Yr(t){var r=-1,a=t==null?0:t.length;for(this.clear();++rp))return!1;var g=u.get(t),y=u.get(r);if(g&&y)return g==r&&y==t;var h=-1,S=!0,T=a&NR?new cu:void 0;for(u.set(t,r),u.set(r,t);++h=r||D<0||h&&P>=u}function C(){var U=Wf();if(E(U))return L(U);p=setTimeout(C,_(U))}function L(U){return p=void 0,S&&o?T(U):(o=l=void 0,f)}function z(){p!==void 0&&clearTimeout(p),g=0,o=m=l=p=void 0}function F(){return p===void 0?f:L(Wf())}function ee(){var U=Wf(),D=E(U);if(o=arguments,l=this,m=U,D){if(p===void 0)return b(m);if(h)return clearTimeout(p),p=setTimeout(C,r),T(m)}return p===void 0&&(p=setTimeout(C,r)),f}return ee.cancel=z,ee.flush=F,ee}function yp(t,r,a){(a!==void 0&&!_s(t[r],a)||a===void 0&&!(r in t))&&Qp(t,r,a)}function lC(t){return Er(t)&&Tu(t)}function vp(t,r){if(!(r==="constructor"&&typeof t[r]=="function")&&r!="__proto__")return t[r]}function uC(t){return gT(t,gx(t))}function cC(t,r,a,o,l,u,f){var p=vp(t,a),m=vp(r,a),g=f.get(m);if(g){yp(t,a,g);return}var y=u?u(p,m,a+"",t,r,f):void 0,h=y===void 0;if(h){var S=ir(m),T=!S&&ds(m),b=!S&&!T&&tm(m);y=m,S||T||b?ir(p)?y=p:lC(p)?y=rT(p):T?(h=!1,y=Sx(m,!0)):b?(h=!1,y=_x(m,!0)):y=[]:WA(m)||lu(m)?(y=p,lu(p)?y=uC(p):(!Ln(p)||Kp(p))&&(y=Ex(m))):h=!1}h&&(f.set(m,y),l(y,m,o,u,f),f.delete(m)),yp(t,a,y)}function Cx(t,r,a,o,l){t!==r&&rC(r,function(u,f){if(l||(l=new Sr),Ln(u))cC(t,r,f,a,Cx,o,l);else{var p=o?o(vp(t,f),u,f+"",t,r,l):void 0;p===void 0&&(p=u),yp(t,f,p)}},gx)}var fC={"&":"&","<":"<",">":">",'"':""","'":"'"},dC=eO(fC),Dx=/[&<>"']/g,pC=RegExp(Dx.source);function mC(t){return t=yx(t),t&&pC.test(t)?t.replace(Dx,dC):t}var hC=Object.prototype,gC=hC.hasOwnProperty;function yC(t,r){return t!=null&&gC.call(t,r)}function Nx(t,r){return t!=null&&tC(t,r,yC)}function Ea(t,r){return Rx(t,r)}var bp=ST(function(t,r,a){Cx(t,r,a)});function vC(t,r,a,o){if(!Ln(t))return t;r=rm(r,t);for(var l=-1,u=r.length,f=u-1,p=t;p!=null&&++l-1e3&&H<1e3||U.call(/e/,Z))return Z;var Be=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof H=="number"){var ke=H<0?-ne(-H):ne(H);if(ke!==H){var We=String(ke),Le=L.call(Z,We.length+1);return z.call(We,Be,"$&_")+"."+z.call(z.call(Le,/([0-9]{3})/g,"$&_"),/_$/,"")}}return z.call(Z,Be,"$&_")}var Y=SC,le=Y.custom,de=Qe(le)?le:null,Q={__proto__:null,double:'"',single:"'"},J={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};td=function H(Z,Be,ke,We){var Le=Be||{};if(pt(Le,"quoteStyle")&&!pt(Q,Le.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(pt(Le,"maxStringLength")&&(typeof Le.maxStringLength=="number"?Le.maxStringLength<0&&Le.maxStringLength!==1/0:Le.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var sn=pt(Le,"customInspect")?Le.customInspect:!0;if(typeof sn!="boolean"&&sn!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(pt(Le,"indent")&&Le.indent!==null&&Le.indent!==" "&&!(parseInt(Le.indent,10)===Le.indent&&Le.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(pt(Le,"numericSeparator")&&typeof Le.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Yt=Le.numericSeparator;if(typeof Z>"u")return"undefined";if(Z===null)return"null";if(typeof Z=="boolean")return Z?"true":"false";if(typeof Z=="string")return _e(Z,Le);if(typeof Z=="number"){if(Z===0)return 1/0/Z>0?"0":"-0";var we=String(Z);return Yt?j(Z,we):we}if(typeof Z=="bigint"){var Ze=String(Z)+"n";return Yt?j(Z,Ze):Ze}var Rt=typeof Le.depth>"u"?5:Le.depth;if(typeof ke>"u"&&(ke=0),ke>=Rt&&Rt>0&&typeof Z=="object")return Oe(Z)?"[Array]":"[Object]";var At=Pn(Le,ke);if(typeof We>"u")We=[];else if(kt(We,Z)>=0)return"[Circular]";function Mt(wr,fr,io){if(fr&&(We=k.call(We),We.push(fr)),io){var Tr={depth:Le.depth};return pt(Le,"quoteStyle")&&(Tr.quoteStyle=Le.quoteStyle),H(wr,Tr,ke+1,We)}return H(wr,Le,ke+1,We)}if(typeof Z=="function"&&!Ae(Z)){var gt=it(Z),Wt=on(Z,Mt);return"[Function"+(gt?": "+gt:" (anonymous)")+"]"+(Wt.length>0?" { "+P.call(Wt,", ")+" }":"")}if(Qe(Z)){var ur=ae?z.call(String(Z),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(Z);return typeof Z=="object"&&!ae?Ke(ur):ur}if(Pe(Z)){for(var zt="<"+ee.call(String(Z.nodeName)),Xt=Z.attributes||[],Kn=0;Kn",zt}if(Oe(Z)){if(Z.length===0)return"[]";var un=on(Z,Mt);return At&&!Jt(un)?"["+It(un,At)+"]":"[ "+P.call(un,", ")+" ]"}if(he(Z)){var Oa=on(Z,Mt);return!("cause"in Error.prototype)&&"cause"in Z&&!R.call(Z,"cause")?"{ ["+String(Z)+"] "+P.call(D.call("[cause]: "+Mt(Z.cause),Oa),", ")+" }":Oa.length===0?"["+String(Z)+"]":"{ ["+String(Z)+"] "+P.call(Oa,", ")+" }"}if(typeof Z=="object"&&sn){if(de&&typeof Z[de]=="function"&&Y)return Y(Z,{depth:Rt-ke});if(sn!=="symbol"&&typeof Z.inspect=="function")return Z.inspect()}if(Ot(Z)){var ro=[];return o&&o.call(Z,function(wr,fr){ro.push(Mt(fr,Z,!0)+" => "+Mt(wr,Z))}),nt("Map",a.call(Z),ro,At)}if(Ue(Z)){var Qn=[];return p&&p.call(Z,function(wr){Qn.push(Mt(wr,Z))}),nt("Set",f.call(Z),Qn,At)}if(ht(Z))return Nt("WeakMap");if(ye(Z))return Nt("WeakSet");if(Tt(Z))return Nt("WeakRef");if(ue(Z))return Ke(Mt(Number(Z)));if(bt(Z))return Ke(Mt(q.call(Z)));if(ze(Z))return Ke(b.call(Z));if(ce(Z))return Ke(Mt(String(Z)));if(typeof window<"u"&&Z===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Z===globalThis||typeof hv<"u"&&Z===hv)return"{ [object globalThis] }";if(!Se(Z)&&!Ae(Z)){var Lt=on(Z,Mt),en=B?B(Z)===Object.prototype:Z instanceof Object||Z.constructor===Object,cr=Z instanceof Object?"":"null prototype",ri=!en&&pe&&Object(Z)===Z&&pe in Z?L.call(at(Z),8,-1):cr?"Object":"",Bu=en||typeof Z.constructor!="function"?"":Z.constructor.name?Z.constructor.name+" ":"",ao=Bu+(ri||cr?"["+P.call(D.call([],ri||[],cr||[]),": ")+"] ":"");return Lt.length===0?ao+"{}":At?ao+"{"+It(Lt,At)+"}":ao+"{ "+P.call(Lt,", ")+" }"}return String(Z)};function se(H,Z,Be){var ke=Be.quoteStyle||Z,We=Q[ke];return We+H+We}function me(H){return z.call(String(H),/"/g,""")}function Te(H){return!pe||!(typeof H=="object"&&(pe in H||typeof H[pe]<"u"))}function Oe(H){return at(H)==="[object Array]"&&Te(H)}function Se(H){return at(H)==="[object Date]"&&Te(H)}function Ae(H){return at(H)==="[object RegExp]"&&Te(H)}function he(H){return at(H)==="[object Error]"&&Te(H)}function ce(H){return at(H)==="[object String]"&&Te(H)}function ue(H){return at(H)==="[object Number]"&&Te(H)}function ze(H){return at(H)==="[object Boolean]"&&Te(H)}function Qe(H){if(ae)return H&&typeof H=="object"&&H instanceof Symbol;if(typeof H=="symbol")return!0;if(!H||typeof H!="object"||!I)return!1;try{return I.call(H),!0}catch{}return!1}function bt(H){if(!H||typeof H!="object"||!q)return!1;try{return q.call(H),!0}catch{}return!1}var Ye=Object.prototype.hasOwnProperty||function(H){return H in this};function pt(H,Z){return Ye.call(H,Z)}function at(H){return _.call(H)}function it(H){if(H.name)return H.name;var Z=C.call(E.call(H),/^function\s*([\w$]+)/);return Z?Z[1]:null}function kt(H,Z){if(H.indexOf)return H.indexOf(Z);for(var Be=0,ke=H.length;BeZ.maxStringLength){var Be=H.length-Z.maxStringLength,ke="... "+Be+" more character"+(Be>1?"s":"");return _e(L.call(H,0,Z.maxStringLength),Z)+ke}var We=J[Z.quoteStyle||"single"];We.lastIndex=0;var Le=z.call(z.call(H,We,"\\$1"),/[\x00-\x1f]/g,Ce);return se(Le,"single",Z)}function Ce(H){var Z=H.charCodeAt(0),Be={8:"b",9:"t",10:"n",12:"f",13:"r"}[Z];return Be?"\\"+Be:"\\x"+(Z<16?"0":"")+F.call(Z.toString(16))}function Ke(H){return"Object("+H+")"}function Nt(H){return H+" { ? }"}function nt(H,Z,Be,ke){var We=ke?It(Be,ke):P.call(Be,", ");return H+" ("+Z+") {"+We+"}"}function Jt(H){for(var Z=0;Z=0)return!1;return!0}function Pn(H,Z){var Be;if(H.indent===" ")Be=" ";else if(typeof H.indent=="number"&&H.indent>0)Be=P.call(Array(H.indent+1)," ");else return null;return{base:Be,prev:P.call(Array(Z+1),Be)}}function It(H,Z){if(H.length===0)return"";var Be=` `+Z.prev+Z.base;return Be+P.call(H,","+Be)+` @@ -190,4 +190,4 @@ Error generating stack: `+s.message+` ${o==="floating"?"rounded-lg m-2 border shadow-sm":""} ${l==="icon"?"max-w-[3rem]":""} - `,children:[x.jsx("div",{className:`p-1 border-b border-sidebar-border flex items-center justify-center overflow-hidden ${y()}`,children:!m&&h()?x.jsx("img",{src:h(),alt:S(),className:"h-5 max-w-[60px] object-contain",onError:()=>g(!0)},`preview-${t}-${h()}`):x.jsx("div",{className:"h-5 text-inherit font-semibold flex items-center text-xs tracking-tight",children:S()})}),x.jsxs("div",{className:"flex-1 p-2 space-y-1 overflow-hidden",children:[x.jsx(Fi,{showIcon:!0,active:!0}),x.jsx(Fi,{showIcon:!0}),x.jsx(Fi,{showIcon:!0}),x.jsx(Fi,{showIcon:!0}),l!=="icon"&&x.jsxs("div",{className:"ml-4 pl-2 border-l border-sidebar-border mt-2 space-y-1",children:[x.jsx(Fi,{showIcon:!0}),x.jsx(Fi,{showIcon:!0})]})]})]}),x.jsx("div",{className:`flex-1 bg-background text-foreground p-4 ${o==="inset"?"rounded-lg m-2":""}`,children:x.jsxs("div",{className:"space-y-4",children:[x.jsx(vr,{className:"h-8 w-3/4"}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(vr,{className:"h-4 w-full"}),x.jsx(vr,{className:"h-4 w-5/6"}),x.jsx(vr,{className:"h-4 w-4/6"})]}),x.jsxs("div",{className:"flex gap-2 mt-4",children:[x.jsx(vr,{className:"h-8 w-20 rounded-md bg-primary"}),x.jsx(vr,{className:"h-8 w-20 rounded-md"})]}),x.jsxs("div",{className:"grid grid-cols-2 gap-4 mt-4",children:[x.jsx(vr,{className:"h-20 rounded-md"}),x.jsx(vr,{className:"h-20 rounded-md"})]})]})})]})]})}function l3(t){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",r.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}const u3=t=>{switch(t){case"success":return d3;case"info":return m3;case"warning":return p3;case"error":return h3;default:return null}},c3=Array(12).fill(0),f3=({visible:t,className:r})=>fe.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":t},fe.createElement("div",{className:"sonner-spinner"},c3.map((a,o)=>fe.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),d3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),p3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),m3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),h3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),g3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},fe.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),fe.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),y3=()=>{const[t,r]=fe.useState(document.hidden);return fe.useEffect(()=>{const a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),t};let Ip=1;class v3{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{const a=this.subscribers.indexOf(r);this.subscribers.splice(a,1)}),this.publish=r=>{this.subscribers.forEach(a=>a(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var a;const{message:o,...l}=r,u=typeof(r==null?void 0:r.id)=="number"||((a=r.id)==null?void 0:a.length)>0?r.id:Ip++,f=this.toasts.find(m=>m.id===u),p=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(u)&&this.dismissedToasts.delete(u),f?this.toasts=this.toasts.map(m=>m.id===u?(this.publish({...m,...r,id:u,title:o}),{...m,...r,id:u,dismissible:p,title:o}):m):this.addToast({title:o,...l,dismissible:p,id:u}),u},this.dismiss=r=>(r?(this.dismissedToasts.add(r),requestAnimationFrame(()=>this.subscribers.forEach(a=>a({id:r,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(o=>o({id:a.id,dismiss:!0}))}),r),this.message=(r,a)=>this.create({...a,message:r}),this.error=(r,a)=>this.create({...a,message:r,type:"error"}),this.success=(r,a)=>this.create({...a,type:"success",message:r}),this.info=(r,a)=>this.create({...a,type:"info",message:r}),this.warning=(r,a)=>this.create({...a,type:"warning",message:r}),this.loading=(r,a)=>this.create({...a,type:"loading",message:r}),this.promise=(r,a)=>{if(!a)return;let o;a.loading!==void 0&&(o=this.create({...a,promise:r,type:"loading",message:a.loading,description:typeof a.description!="function"?a.description:void 0}));const l=Promise.resolve(r instanceof Function?r():r);let u=o!==void 0,f;const p=l.then(async g=>{if(f=["resolve",g],fe.isValidElement(g))u=!1,this.create({id:o,type:"default",message:g});else if(x3(g)&&!g.ok){u=!1;const h=typeof a.error=="function"?await a.error(`HTTP error! status: ${g.status}`):a.error,S=typeof a.description=="function"?await a.description(`HTTP error! status: ${g.status}`):a.description,b=typeof h=="object"&&!fe.isValidElement(h)?h:{message:h};this.create({id:o,type:"error",description:S,...b})}else if(g instanceof Error){u=!1;const h=typeof a.error=="function"?await a.error(g):a.error,S=typeof a.description=="function"?await a.description(g):a.description,b=typeof h=="object"&&!fe.isValidElement(h)?h:{message:h};this.create({id:o,type:"error",description:S,...b})}else if(a.success!==void 0){u=!1;const h=typeof a.success=="function"?await a.success(g):a.success,S=typeof a.description=="function"?await a.description(g):a.description,b=typeof h=="object"&&!fe.isValidElement(h)?h:{message:h};this.create({id:o,type:"success",description:S,...b})}}).catch(async g=>{if(f=["reject",g],a.error!==void 0){u=!1;const y=typeof a.error=="function"?await a.error(g):a.error,h=typeof a.description=="function"?await a.description(g):a.description,T=typeof y=="object"&&!fe.isValidElement(y)?y:{message:y};this.create({id:o,type:"error",description:h,...T})}}).finally(()=>{u&&(this.dismiss(o),o=void 0),a.finally==null||a.finally.call(a)}),m=()=>new Promise((g,y)=>p.then(()=>f[0]==="reject"?y(f[1]):g(f[1])).catch(y));return typeof o!="string"&&typeof o!="number"?{unwrap:m}:Object.assign(o,{unwrap:m})},this.custom=(r,a)=>{const o=(a==null?void 0:a.id)||Ip++;return this.create({jsx:r(o),id:o,...a}),o},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const vn=new v3,b3=(t,r)=>{const a=(r==null?void 0:r.id)||Ip++;return vn.addToast({title:t,...r,id:a}),a},x3=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",S3=b3,_3=()=>vn.toasts,E3=()=>vn.getActiveToasts(),xn=Object.assign(S3,{success:vn.success,info:vn.info,warning:vn.warning,error:vn.error,custom:vn.custom,message:vn.message,promise:vn.promise,dismiss:vn.dismiss,loading:vn.loading},{getHistory:_3,getToasts:E3});l3("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Zl(t){return t.label!==void 0}const w3=3,T3="24px",A3="16px",K0=4e3,O3=356,R3=14,C3=45,D3=200;function gr(...t){return t.filter(Boolean).join(" ")}function N3(t){const[r,a]=t.split("-"),o=[];return r&&o.push(r),a&&o.push(a),o}const L3=t=>{var r,a,o,l,u,f,p,m,g;const{invert:y,toast:h,unstyled:S,interacting:T,setHeights:b,visibleToasts:_,heights:E,index:C,toasts:L,expanded:z,removeToast:F,defaultRichColors:ee,closeButton:U,style:D,cancelButtonStyle:P,actionButtonStyle:k,className:ne="",descriptionClassName:q="",duration:K,position:I,gap:ae,expandByDefault:pe,classNames:R,icons:B,closeButtonAriaLabel:j="Close toast"}=t,[Y,le]=fe.useState(null),[de,Q]=fe.useState(null),[J,se]=fe.useState(!1),[me,Te]=fe.useState(!1),[Oe,Se]=fe.useState(!1),[Ae,he]=fe.useState(!1),[ce,ue]=fe.useState(!1),[ze,Qe]=fe.useState(0),[bt,Ye]=fe.useState(0),pt=fe.useRef(h.duration||K||K0),at=fe.useRef(null),it=fe.useRef(null),kt=C===0,Ot=C+1<=_,ht=h.type,Tt=h.dismissible!==!1,Ue=h.className||"",ye=h.descriptionClassName||"",Pe=fe.useMemo(()=>E.findIndex(we=>we.toastId===h.id)||0,[E,h.id]),_e=fe.useMemo(()=>{var we;return(we=h.closeButton)!=null?we:U},[h.closeButton,U]),Ce=fe.useMemo(()=>h.duration||K||K0,[h.duration,K]),Ke=fe.useRef(0),Nt=fe.useRef(0),nt=fe.useRef(0),Jt=fe.useRef(null),[Pn,It]=I.split("-"),on=fe.useMemo(()=>E.reduce((we,Ze,Rt)=>Rt>=Pe?we:we+Ze.height,0),[E,Pe]),H=y3(),Z=h.invert||y,Be=ht==="loading";Nt.current=fe.useMemo(()=>Pe*ae+on,[Pe,on]),fe.useEffect(()=>{pt.current=Ce},[Ce]),fe.useEffect(()=>{se(!0)},[]),fe.useEffect(()=>{const we=it.current;if(we){const Ze=we.getBoundingClientRect().height;return Ye(Ze),b(Rt=>[{toastId:h.id,height:Ze,position:h.position},...Rt]),()=>b(Rt=>Rt.filter(At=>At.toastId!==h.id))}},[b,h.id]),fe.useLayoutEffect(()=>{if(!J)return;const we=it.current,Ze=we.style.height;we.style.height="auto";const Rt=we.getBoundingClientRect().height;we.style.height=Ze,Ye(Rt),b(At=>At.find(gt=>gt.toastId===h.id)?At.map(gt=>gt.toastId===h.id?{...gt,height:Rt}:gt):[{toastId:h.id,height:Rt,position:h.position},...At])},[J,h.title,h.description,b,h.id,h.jsx,h.action,h.cancel]);const ke=fe.useCallback(()=>{Te(!0),Qe(Nt.current),b(we=>we.filter(Ze=>Ze.toastId!==h.id)),setTimeout(()=>{F(h)},D3)},[h,F,b,Nt]);fe.useEffect(()=>{if(h.promise&&ht==="loading"||h.duration===1/0||h.type==="loading")return;let we;return z||T||H?(()=>{if(nt.current{pt.current!==1/0&&(Ke.current=new Date().getTime(),we=setTimeout(()=>{h.onAutoClose==null||h.onAutoClose.call(h,h),ke()},pt.current))})(),()=>clearTimeout(we)},[z,T,h,ht,H,ke]),fe.useEffect(()=>{h.delete&&(ke(),h.onDismiss==null||h.onDismiss.call(h,h))},[ke,h.delete]);function We(){var we;if(B!=null&&B.loading){var Ze;return fe.createElement("div",{className:gr(R==null?void 0:R.loader,h==null||(Ze=h.classNames)==null?void 0:Ze.loader,"sonner-loader"),"data-visible":ht==="loading"},B.loading)}return fe.createElement(f3,{className:gr(R==null?void 0:R.loader,h==null||(we=h.classNames)==null?void 0:we.loader),visible:ht==="loading"})}const Le=h.icon||(B==null?void 0:B[ht])||u3(ht);var sn,Yt;return fe.createElement("li",{tabIndex:0,ref:it,className:gr(ne,Ue,R==null?void 0:R.toast,h==null||(r=h.classNames)==null?void 0:r.toast,R==null?void 0:R.default,R==null?void 0:R[ht],h==null||(a=h.classNames)==null?void 0:a[ht]),"data-sonner-toast":"","data-rich-colors":(sn=h.richColors)!=null?sn:ee,"data-styled":!(h.jsx||h.unstyled||S),"data-mounted":J,"data-promise":!!h.promise,"data-swiped":ce,"data-removed":me,"data-visible":Ot,"data-y-position":Pn,"data-x-position":It,"data-index":C,"data-front":kt,"data-swiping":Oe,"data-dismissible":Tt,"data-type":ht,"data-invert":Z,"data-swipe-out":Ae,"data-swipe-direction":de,"data-expanded":!!(z||pe&&J),"data-testid":h.testId,style:{"--index":C,"--toasts-before":C,"--z-index":L.length-C,"--offset":`${me?ze:Nt.current}px`,"--initial-height":pe?"auto":`${bt}px`,...D,...h.style},onDragEnd:()=>{Se(!1),le(null),Jt.current=null},onPointerDown:we=>{we.button!==2&&(Be||!Tt||(at.current=new Date,Qe(Nt.current),we.target.setPointerCapture(we.pointerId),we.target.tagName!=="BUTTON"&&(Se(!0),Jt.current={x:we.clientX,y:we.clientY})))},onPointerUp:()=>{var we,Ze,Rt;if(Ae||!Tt)return;Jt.current=null;const At=Number(((we=it.current)==null?void 0:we.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Mt=Number(((Ze=it.current)==null?void 0:Ze.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),gt=new Date().getTime()-((Rt=at.current)==null?void 0:Rt.getTime()),Wt=Y==="x"?At:Mt,ur=Math.abs(Wt)/gt;if(Math.abs(Wt)>=C3||ur>.11){Qe(Nt.current),h.onDismiss==null||h.onDismiss.call(h,h),Q(Y==="x"?At>0?"right":"left":Mt>0?"down":"up"),ke(),he(!0);return}else{var zt,Xt;(zt=it.current)==null||zt.style.setProperty("--swipe-amount-x","0px"),(Xt=it.current)==null||Xt.style.setProperty("--swipe-amount-y","0px")}ue(!1),Se(!1),le(null)},onPointerMove:we=>{var Ze,Rt,At;if(!Jt.current||!Tt||((Ze=window.getSelection())==null?void 0:Ze.toString().length)>0)return;const gt=we.clientY-Jt.current.y,Wt=we.clientX-Jt.current.x;var ur;const zt=(ur=t.swipeDirections)!=null?ur:N3(I);!Y&&(Math.abs(Wt)>1||Math.abs(gt)>1)&&le(Math.abs(Wt)>Math.abs(gt)?"x":"y");let Xt={x:0,y:0};const Kn=un=>1/(1.5+Math.abs(un)/20);if(Y==="y"){if(zt.includes("top")||zt.includes("bottom"))if(zt.includes("top")&><0||zt.includes("bottom")&>>0)Xt.y=gt;else{const un=gt*Kn(gt);Xt.y=Math.abs(un)0)Xt.x=Wt;else{const un=Wt*Kn(Wt);Xt.x=Math.abs(un)0||Math.abs(Xt.y)>0)&&ue(!0),(Rt=it.current)==null||Rt.style.setProperty("--swipe-amount-x",`${Xt.x}px`),(At=it.current)==null||At.style.setProperty("--swipe-amount-y",`${Xt.y}px`)}},_e&&!h.jsx&&ht!=="loading"?fe.createElement("button",{"aria-label":j,"data-disabled":Be,"data-close-button":!0,onClick:Be||!Tt?()=>{}:()=>{ke(),h.onDismiss==null||h.onDismiss.call(h,h)},className:gr(R==null?void 0:R.closeButton,h==null||(o=h.classNames)==null?void 0:o.closeButton)},(Yt=B==null?void 0:B.close)!=null?Yt:g3):null,(ht||h.icon||h.promise)&&h.icon!==null&&((B==null?void 0:B[ht])!==null||h.icon)?fe.createElement("div",{"data-icon":"",className:gr(R==null?void 0:R.icon,h==null||(l=h.classNames)==null?void 0:l.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||We():null,h.type!=="loading"?Le:null):null,fe.createElement("div",{"data-content":"",className:gr(R==null?void 0:R.content,h==null||(u=h.classNames)==null?void 0:u.content)},fe.createElement("div",{"data-title":"",className:gr(R==null?void 0:R.title,h==null||(f=h.classNames)==null?void 0:f.title)},h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title),h.description?fe.createElement("div",{"data-description":"",className:gr(q,ye,R==null?void 0:R.description,h==null||(p=h.classNames)==null?void 0:p.description)},typeof h.description=="function"?h.description():h.description):null),fe.isValidElement(h.cancel)?h.cancel:h.cancel&&Zl(h.cancel)?fe.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||P,onClick:we=>{Zl(h.cancel)&&Tt&&(h.cancel.onClick==null||h.cancel.onClick.call(h.cancel,we),ke())},className:gr(R==null?void 0:R.cancelButton,h==null||(m=h.classNames)==null?void 0:m.cancelButton)},h.cancel.label):null,fe.isValidElement(h.action)?h.action:h.action&&Zl(h.action)?fe.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||k,onClick:we=>{Zl(h.action)&&(h.action.onClick==null||h.action.onClick.call(h.action,we),!we.defaultPrevented&&ke())},className:gr(R==null?void 0:R.actionButton,h==null||(g=h.classNames)==null?void 0:g.actionButton)},h.action.label):null)};function Q0(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function j3(t,r){const a={};return[t,r].forEach((o,l)=>{const u=l===1,f=u?"--mobile-offset":"--offset",p=u?A3:T3;function m(g){["top","right","bottom","left"].forEach(y=>{a[`${f}-${y}`]=typeof g=="number"?`${g}px`:g})}typeof o=="number"||typeof o=="string"?m(o):typeof o=="object"?["top","right","bottom","left"].forEach(g=>{o[g]===void 0?a[`${f}-${g}`]=p:a[`${f}-${g}`]=typeof o[g]=="number"?`${o[g]}px`:o[g]}):m(p)}),a}const P3=fe.forwardRef(function(r,a){const{id:o,invert:l,position:u="bottom-right",hotkey:f=["altKey","KeyT"],expand:p,closeButton:m,className:g,offset:y,mobileOffset:h,theme:S="light",richColors:T,duration:b,style:_,visibleToasts:E=w3,toastOptions:C,dir:L=Q0(),gap:z=R3,icons:F,containerAriaLabel:ee="Notifications"}=r,[U,D]=fe.useState([]),P=fe.useMemo(()=>o?U.filter(J=>J.toasterId===o):U.filter(J=>!J.toasterId),[U,o]),k=fe.useMemo(()=>Array.from(new Set([u].concat(P.filter(J=>J.position).map(J=>J.position)))),[P,u]),[ne,q]=fe.useState([]),[K,I]=fe.useState(!1),[ae,pe]=fe.useState(!1),[R,B]=fe.useState(S!=="system"?S:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),j=fe.useRef(null),Y=f.join("+").replace(/Key/g,"").replace(/Digit/g,""),le=fe.useRef(null),de=fe.useRef(!1),Q=fe.useCallback(J=>{D(se=>{var me;return(me=se.find(Te=>Te.id===J.id))!=null&&me.delete||vn.dismiss(J.id),se.filter(({id:Te})=>Te!==J.id)})},[]);return fe.useEffect(()=>vn.subscribe(J=>{if(J.dismiss){requestAnimationFrame(()=>{D(se=>se.map(me=>me.id===J.id?{...me,delete:!0}:me))});return}setTimeout(()=>{gw.flushSync(()=>{D(se=>{const me=se.findIndex(Te=>Te.id===J.id);return me!==-1?[...se.slice(0,me),{...se[me],...J},...se.slice(me+1)]:[J,...se]})})})}),[U]),fe.useEffect(()=>{if(S!=="system"){B(S);return}if(S==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;const J=window.matchMedia("(prefers-color-scheme: dark)");try{J.addEventListener("change",({matches:se})=>{B(se?"dark":"light")})}catch{J.addListener(({matches:me})=>{try{B(me?"dark":"light")}catch(Te){console.error(Te)}})}},[S]),fe.useEffect(()=>{U.length<=1&&I(!1)},[U]),fe.useEffect(()=>{const J=se=>{var me;if(f.every(Se=>se[Se]||se.code===Se)){var Oe;I(!0),(Oe=j.current)==null||Oe.focus()}se.code==="Escape"&&(document.activeElement===j.current||(me=j.current)!=null&&me.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",J),()=>document.removeEventListener("keydown",J)},[f]),fe.useEffect(()=>{if(j.current)return()=>{le.current&&(le.current.focus({preventScroll:!0}),le.current=null,de.current=!1)}},[j.current]),fe.createElement("section",{ref:a,"aria-label":`${ee} ${Y}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((J,se)=>{var me;const[Te,Oe]=J.split("-");return P.length?fe.createElement("ol",{key:J,dir:L==="auto"?Q0():L,tabIndex:-1,ref:j,className:g,"data-sonner-toaster":!0,"data-sonner-theme":R,"data-y-position":Te,"data-x-position":Oe,style:{"--front-toast-height":`${((me=ne[0])==null?void 0:me.height)||0}px`,"--width":`${O3}px`,"--gap":`${z}px`,..._,...j3(y,h)},onBlur:Se=>{de.current&&!Se.currentTarget.contains(Se.relatedTarget)&&(de.current=!1,le.current&&(le.current.focus({preventScroll:!0}),le.current=null))},onFocus:Se=>{Se.target instanceof HTMLElement&&Se.target.dataset.dismissible==="false"||de.current||(de.current=!0,le.current=Se.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{ae||I(!1)},onDragEnd:()=>I(!1),onPointerDown:Se=>{Se.target instanceof HTMLElement&&Se.target.dataset.dismissible==="false"||pe(!0)},onPointerUp:()=>pe(!1)},P.filter(Se=>!Se.position&&se===0||Se.position===J).map((Se,Ae)=>{var he,ce;return fe.createElement(L3,{key:Se.id,icons:F,index:Ae,toast:Se,defaultRichColors:T,duration:(he=C==null?void 0:C.duration)!=null?he:b,className:C==null?void 0:C.className,descriptionClassName:C==null?void 0:C.descriptionClassName,invert:l,visibleToasts:E,closeButton:(ce=C==null?void 0:C.closeButton)!=null?ce:m,interacting:ae,position:J,style:C==null?void 0:C.style,unstyled:C==null?void 0:C.unstyled,classNames:C==null?void 0:C.classNames,cancelButtonStyle:C==null?void 0:C.cancelButtonStyle,actionButtonStyle:C==null?void 0:C.actionButtonStyle,closeButtonAriaLabel:C==null?void 0:C.closeButtonAriaLabel,removeToast:Q,toasts:P.filter(ue=>ue.position==Se.position),heights:ne.filter(ue=>ue.position==Se.position),setHeights:q,expandByDefault:p,gap:z,expanded:K,swipeDirections:r.swipeDirections})})):null}))}),P_=A.forwardRef(({className:t,...r},a)=>x.jsx("div",{ref:a,className:Me("rounded-lg border bg-card text-card-foreground shadow-sm",t),...r}));P_.displayName="Card";const M_=A.forwardRef(({className:t,...r},a)=>x.jsx("div",{ref:a,className:Me("flex flex-col space-y-1.5 p-6",t),...r}));M_.displayName="CardHeader";const z_=A.forwardRef(({className:t,...r},a)=>x.jsx("h3",{ref:a,className:Me("text-2xl font-semibold leading-none tracking-tight",t),...r}));z_.displayName="CardTitle";const U_=A.forwardRef(({className:t,...r},a)=>x.jsx("p",{ref:a,className:Me("text-sm text-muted-foreground",t),...r}));U_.displayName="CardDescription";const V_=A.forwardRef(({className:t,...r},a)=>x.jsx("div",{ref:a,className:Me("p-6 pt-0",t),...r}));V_.displayName="CardContent";const M3=A.forwardRef(({className:t,...r},a)=>x.jsx("div",{ref:a,className:Me("flex items-center p-6 pt-0",t),...r}));M3.displayName="CardFooter";function z3({title:t,description:r,children:a,action:o}){return x.jsxs(P_,{className:"mb-6",children:[x.jsx(M_,{className:"pb-3",children:x.jsxs("div",{className:"flex items-center justify-between",children:[x.jsxs("div",{children:[x.jsx(z_,{className:"text-lg font-medium",children:t}),r&&x.jsx(U_,{className:"mt-1.5",children:r})]}),o&&x.jsx("div",{children:o})]})}),x.jsx(V_,{children:a})]})}const q_=A.createContext(void 0);function U3({children:t}){const[r,a]=A.useState([]),o=50,l=A.useCallback(p=>(a(m=>m.includes(p)?m:[...m,p]),o),[]),u=A.useCallback(p=>{a(m=>m.filter(g=>g!==p))},[]),f=A.useCallback(p=>{const m=r.indexOf(p);return m>=0?o+m:o},[r]);return x.jsx(q_.Provider,{value:{registerModal:l,unregisterModal:u,getZIndex:f,modalStack:r},children:t})}function H_(){const t=A.useContext(q_);if(!t)throw new Error("useModalStack must be used within a ModalStackProvider");return t}const V3=ex,$4=yw,q3=nx,B_=A.forwardRef(({className:t,modalId:r,...a},o)=>{const{getZIndex:l,modalStack:u}=H_(),f=r?l(r):50,m=u.indexOf(r||"")<=0;return x.jsx(Xp,{ref:o,className:Me("fixed inset-0 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",m?"bg-black/30":"bg-black/25",t),style:{zIndex:f},onPointerDown:g=>{const y=g.target;if(!((parseInt(window.getComputedStyle(y).zIndex)||0)>f)&&y.closest("[data-chatgpt-button]")){g.stopPropagation();return}},...a})});B_.displayName=Xp.displayName;const k_=A.forwardRef(({className:t,children:r,modalId:a,...o},l)=>{const{registerModal:u,unregisterModal:f,getZIndex:p,modalStack:m}=H_(),[g]=A.useState(()=>a||`modal-${Date.now()}-${Math.random()}`);A.useEffect(()=>(u(g),()=>f(g)),[g,u,f]);const y=p(g),h=m[m.length-1]===g;return x.jsxs(q3,{children:[x.jsx(B_,{modalId:g}),x.jsxs(Yp,{ref:l,className:Me("fixed left-[50%] top-[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 pointer-events-auto",t),style:{zIndex:y+1},onPointerDownOutside:S=>{const T=S.target;if(T.closest("[data-chatgpt-button]")||T.closest("[data-chatgpt-modal]")){S.preventDefault();return}S.preventDefault()},onInteractOutside:S=>{const T=S.target;if(T.closest("[data-chatgpt-button]")||T.closest("[data-chatgpt-modal]")){S.preventDefault();return}S.preventDefault()},onEscapeKeyDown:S=>{h||S.preventDefault()},...o,children:[r,x.jsxs(tx,{className:"absolute right-4 top-4 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 cursor-pointer",children:[x.jsx(Sm,{className:"h-4 w-4"}),x.jsx("span",{className:"sr-only",children:"Close"})]})]})]})});k_.displayName=Yp.displayName;const I_=({className:t,...r})=>x.jsx("div",{className:Me("flex flex-col space-y-1.5 text-center sm:text-left",t),...r});I_.displayName="DialogHeader";const H3=({className:t,...r})=>x.jsx("div",{className:Me("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r});H3.displayName="DialogFooter";const $_=A.forwardRef(({className:t,...r},a)=>x.jsx(Fp,{ref:a,className:Me("text-lg font-semibold leading-none tracking-tight",t),...r}));$_.displayName=Fp.displayName;const F_=A.forwardRef(({className:t,...r},a)=>x.jsx(Gp,{ref:a,className:Me("text-sm text-muted-foreground",t),...r}));F_.displayName=Gp.displayName;const B3=bm("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-auto",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",success:"border-transparent bg-green-100 text-green-800 [a&]:hover:bg-green-200"}},defaultVariants:{variant:"default"}});function Z0({className:t,variant:r,asChild:a=!1,...o}){const l=a?Rs:"span";return x.jsx(l,{"data-slot":"badge",className:Me(B3({variant:r}),t),...o})}const F4=(t,r=[])=>r.includes(t),J0=(t,r)=>Array.isArray(r)?r.some(a=>t.includes(a)):t.includes(r);function k3({isOpen:t,onClose:r,onSelect:a,multiple:o=!1}){const{auth:l}=ym().props,u=(l==null?void 0:l.permissions)||[],f=J0(u,"create-media");J0(u,"manage-media");const[p,m]=A.useState([]),[g,y]=A.useState([]),[h,S]=A.useState(null),[T,b]=A.useState([]),[_,E]=A.useState(!1),[C,L]=A.useState(!1),[z,F]=A.useState([]),[ee,U]=A.useState(!1),[D,P]=A.useState(""),[k,ne]=A.useState(1),q=24,K=A.useCallback(async()=>{E(!0);try{const Q=new URLSearchParams;h&&Q.append("directory_id",h.toString());const J=await fetch(`${route("api.media.index")}?${Q}`,{credentials:"same-origin",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});if(!J.ok)throw new Error(`HTTP error! status: ${J.status}`);const se=await J.json(),me=Array.isArray(se.media)?se.media:Array.isArray(se)?se:[];m(me),y(se.directories||[]),b(me)}catch{xn.error("Failed to load media")}finally{E(!1)}},[h]);A.useEffect(()=>{t&&(K(),P(""))},[t,K]),A.useEffect(()=>{if(!D.trim())b(p);else{const Q=p.filter(J=>J.name.toLowerCase().includes(D.toLowerCase())||J.file_name.toLowerCase().includes(D.toLowerCase()));b(Q)}ne(1)},[D,p]);const I=Math.ceil(T.length/q),ae=(k-1)*q,pe=T.slice(ae,ae+q),R=async Q=>{var me,Te,Oe,Se;L(!0);const J=Array.from(Q);if(J.length===0){L(!1);return}const se=new FormData;J.forEach(Ae=>{se.append("files[]",Ae)});try{const he=await(await O(async()=>{const{default:ue}=await Promise.resolve().then(()=>Tj);return{default:ue}},void 0,import.meta.url)).default.post(route("api.media.batch"),se),ce=he.data;he.status===200||he.status===201?(ce.data&&ce.data.length>0&&m(ue=>[...ce.data,...ue]),ce.errors&&ce.errors.length>0?(xn.warning(ce.message||`${((me=ce.data)==null?void 0:me.length)||0} uploaded, ${ce.errors.length} failed`),ce.errors.forEach(ue=>{xn.error(ue,{duration:5e3})})):xn.success(ce.message||`${((Te=ce.data)==null?void 0:Te.length)||0} file(s) uploaded successfully`)):xn.error(ce.message||"Failed to upload files")}catch(Ae){const he=((Se=(Oe=Ae.response)==null?void 0:Oe.data)==null?void 0:Se.message)||"Error uploading files";xn.error(he)}L(!1)},B=Q=>{Q.preventDefault(),Q.stopPropagation(),Q.type==="dragenter"||Q.type==="dragover"?U(!0):Q.type==="dragleave"&&U(!1)},j=Q=>{Q.preventDefault(),Q.stopPropagation(),U(!1),Q.dataTransfer.files&&Q.dataTransfer.files[0]&&R(Q.dataTransfer.files)},Y=Q=>{o?F(J=>J.includes(Q)?J.filter(se=>se!==Q):[...J,Q]):(a(Q),r())},le=()=>{o&&z.length>0&&(a(z.join(",")),r())},de=Q=>Q.startsWith("image/")?x.jsx(Hp,{className:"h-8 w-8"}):Q.includes("pdf")?x.jsx("div",{className:"h-8 w-8 bg-red-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"PDF"}):Q.includes("word")||Q.includes("document")?x.jsx("div",{className:"h-8 w-8 bg-blue-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"DOC"}):Q.includes("csv")||Q.includes("spreadsheet")?x.jsx("div",{className:"h-8 w-8 bg-green-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"CSV"}):Q.startsWith("video/")?x.jsx("div",{className:"h-8 w-8 bg-purple-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"VID"}):Q.startsWith("audio/")?x.jsx("div",{className:"h-8 w-8 bg-orange-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"AUD"}):x.jsx("div",{className:"h-8 w-8 bg-gray-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"FILE"});return x.jsx(V3,{open:t,onOpenChange:r,children:x.jsxs(k_,{className:"max-w-7xl h-[95vh] flex flex-col",children:[x.jsx(I_,{className:"pb-6 border-b",children:x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:x.jsx(Hp,{className:"h-5 w-5 text-primary"})}),x.jsxs("div",{children:[x.jsxs($_,{className:"text-xl font-semibold",children:["Media Library",T.length>0&&x.jsx(Z0,{variant:"secondary",className:"ml-2 text-xs",children:T.length})]}),x.jsx(F_,{className:"text-sm text-muted-foreground mt-1",children:"Browse and select media files from your library"})]})]})}),x.jsxs("div",{className:"space-y-4 flex-1 flex flex-col overflow-hidden",children:[g.length>0&&x.jsx("div",{className:"bg-muted/30 rounded-lg p-3 border",children:x.jsx("div",{className:"flex items-center gap-2",children:x.jsx("div",{className:"max-h-24 overflow-y-auto scrollbar-thin scrollbar-thumb-muted-foreground/20 scrollbar-track-transparent",children:x.jsxs("div",{className:"flex flex-wrap gap-2",children:[x.jsx(vt,{variant:h===null?"default":"ghost",size:"sm",onClick:()=>S(null),className:"h-7 px-3 text-xs",children:"All Files"}),g.map(Q=>x.jsx(vt,{variant:h===Q.id?"default":"ghost",size:"sm",onClick:()=>S(Q.id),className:"h-7 px-3 text-xs",children:Q.name},Q.id))]})})})}),x.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[x.jsxs("div",{className:"relative flex-1",children:[x.jsx(GP,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground h-4 w-4"}),x.jsx(_a,{placeholder:"Search media files...",value:D,onChange:Q=>P(Q.target.value),className:"pl-10 h-10"})]}),f&&x.jsxs("div",{className:"flex gap-2",children:[x.jsx(_a,{type:"file",multiple:!0,accept:"image/*,application/pdf,.doc,.docx,.xls,.xlsx",onChange:Q=>Q.target.files&&R(Q.target.files),className:"hidden",id:"file-upload"}),x.jsxs(vt,{type:"button",onClick:()=>{var Q;return(Q=document.getElementById("file-upload"))==null?void 0:Q.click()},disabled:C,className:"h-10 px-4",children:[x.jsx(Y0,{className:"h-4 w-4 mr-2"}),C?"Uploading...":"Upload"]})]})]}),x.jsxs("div",{className:"flex items-center justify-between text-sm text-muted-foreground bg-muted/20 px-4 py-3 rounded-lg border",children:[x.jsxs("div",{className:"flex items-center gap-4",children:[x.jsxs("span",{className:"font-medium",children:[T.length," files"]}),I>1&&x.jsxs("span",{children:["Page ",k," of ",I]})]}),o&&z.length>0&&x.jsxs(Z0,{variant:"default",className:"text-xs px-2 py-1",children:[z.length," selected"]})]}),x.jsx("div",{className:"border rounded-lg bg-muted/10 flex flex-col flex-1 overflow-hidden",children:_?x.jsx("div",{className:"flex-1 flex items-center justify-center",children:x.jsxs("div",{className:"text-center",children:[x.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto mb-4"}),x.jsx("p",{className:"text-muted-foreground",children:"Loading media..."})]})}):T.length===0?x.jsx("div",{className:"flex-1 flex items-center justify-center py-16",children:x.jsxs("div",{className:"text-center max-w-sm",children:[x.jsx("div",{className:`mx-auto w-24 h-24 border-2 border-dashed rounded-xl flex items-center justify-center mb-6 transition-colors ${ee?"border-primary bg-primary/5":"border-muted-foreground/25"}`,onDragEnter:B,onDragLeave:B,onDragOver:B,onDrop:j,children:x.jsx(b_,{className:"h-10 w-10 text-muted-foreground"})}),x.jsxs("div",{className:"space-y-3 mb-6",children:[x.jsx("h3",{className:"text-lg font-semibold",children:"No media files found"}),D&&x.jsxs("p",{className:"text-sm text-muted-foreground",children:["No results for ",x.jsxs("span",{className:"font-medium text-foreground",children:['"$',D,'"']})]}),x.jsx("p",{className:"text-sm text-muted-foreground",children:D?"Try a different search term or upload new images":"Upload images to get started"})]}),f&&x.jsxs(vt,{type:"button",onClick:()=>{var Q;return(Q=document.getElementById("file-upload"))==null?void 0:Q.click()},disabled:C,children:[x.jsx(Y0,{className:"h-4 w-4 mr-2"}),"Upload Images"]})]})}):x.jsx("div",{className:"p-6 overflow-y-auto flex-1",children:x.jsx("div",{className:"grid grid-cols-4 lg:grid-cols-6 xl:grid-cols-8 gap-4",children:pe.map(Q=>{var J;return x.jsx("div",{className:`relative group cursor-pointer rounded-xl overflow-hidden transition-all duration-200 hover:scale-[1.02] ${z.includes(Q.url)?"ring-2 ring-primary shadow-lg scale-[1.02]":"hover:shadow-lg border border-border/50 hover:border-primary/30 hover:shadow-primary/5"}`,onClick:()=>Y(Q.url),children:x.jsxs("div",{className:"relative aspect-square bg-gradient-to-br from-muted/50 to-muted overflow-hidden flex items-center justify-center",children:[Q.mime_type.startsWith("image/")?x.jsx("img",{src:Q.thumb_url,alt:Q.name,className:"w-full h-full object-cover",onError:se=>{se.currentTarget.src=Q.url}}):x.jsxs("div",{className:"w-full h-full flex flex-col items-center justify-center p-4",children:[x.jsx("div",{className:"mb-2",children:de(Q.mime_type)}),x.jsx("div",{className:"text-xs text-center font-medium text-muted-foreground truncate w-full",children:((J=Q.mime_type.split("/")[1])==null?void 0:J.toUpperCase())||"FILE"})]}),z.includes(Q.url)&&x.jsx("div",{className:"absolute inset-0 bg-primary/20 flex items-center justify-center backdrop-blur-sm",children:x.jsx("div",{className:"bg-primary text-primary-foreground rounded-full p-2 shadow-lg",children:x.jsx(xa,{className:"h-4 w-4"})})}),x.jsx("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/20 transition-colors"}),x.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent p-3 opacity-0 group-hover:opacity-100 transition-all duration-200",children:x.jsx("p",{className:"text-xs text-white font-medium truncate",title:Q.name,children:Q.name})})]})},Q.id)})})})}),I>1&&x.jsxs("div",{className:"flex items-center justify-between pt-3 border-t",children:[x.jsxs("div",{className:"text-sm text-muted-foreground",children:["Showing ",ae+1," to ",Math.min(ae+q,T.length)," of ",T.length," files"]}),x.jsxs("div",{className:"flex gap-1",children:[x.jsx(vt,{variant:"outline",size:"sm",disabled:k===1,onClick:()=>ne(Q=>Math.max(Q-1,1)),children:"Previous"}),Array.from({length:Math.min(I,5)},(Q,J)=>{let se;return I<=5||k<=3?se=J+1:k>=I-2?se=I-4+J:se=k-2+J,x.jsx(vt,{variant:k===se?"default":"outline",size:"sm",className:"w-8 h-8 p-0",onClick:()=>ne(se),children:se},se)}),x.jsx(vt,{variant:"outline",size:"sm",disabled:k===I,onClick:()=>ne(Q=>Math.min(Q+1,I)),children:"Next"})]})]}),x.jsxs("div",{className:"flex justify-between items-center pt-6 border-t bg-muted/20 -mx-6 px-6 py-4",children:[x.jsx(vt,{variant:"outline",onClick:r,className:"px-6",children:"Cancel"}),x.jsxs("div",{className:"flex gap-3",children:[o&&z.length>0&&x.jsx(vt,{variant:"outline",onClick:()=>F([]),className:"px-4",children:"Clear Selection"}),o&&z.length>0&&x.jsxs(vt,{onClick:le,className:"px-6",children:["Select ",z.length," item",z.length>1?"s":""]})]})]})]})]})})}function fp({label:t,value:r="",onChange:a,multiple:o=!1,placeholder:l="Select image...",showPreview:u=!0,readOnly:f=!1}){const[p,m]=A.useState(!1),g=_=>{const E=_.split("/").pop()||_;a(E)},y=()=>{a("")},h=r||"",T=h?[(_=>_?_.startsWith("http")?_:(_.startsWith("/"),Ka(_)):"")(h)]:[],b=_=>{var C;if(!_)return null;const E=(C=_.split(".").pop())==null?void 0:C.toLowerCase();return["jpg","jpeg","png","gif","webp","svg"].includes(E||"")?null:E==="pdf"?x.jsx("div",{className:"h-16 w-16 bg-red-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"PDF"}):["doc","docx"].includes(E||"")?x.jsx("div",{className:"h-16 w-16 bg-blue-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"DOC"}):["xls","xlsx","csv"].includes(E||"")?x.jsx("div",{className:"h-16 w-16 bg-green-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"XLS"}):["ppt","pptx"].includes(E||"")?x.jsx("div",{className:"h-16 w-16 bg-orange-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"PPT"}):x.jsx("div",{className:"h-16 w-16 bg-gray-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"FILE"})};return x.jsxs("div",{className:"space-y-2",children:[t&&x.jsx(Gn,{children:t}),x.jsxs("div",{className:"flex gap-2",children:[x.jsx(_a,{value:h,onChange:_=>a(_.target.value),placeholder:l,readOnly:f||o}),x.jsxs(vt,{type:"button",variant:"outline",onClick:()=>m(!0),disabled:f,children:[x.jsx(Hp,{className:"h-4 w-4 mr-2"}),"Browse"]}),h&&x.jsx(vt,{type:"button",variant:"outline",size:"icon",onClick:y,disabled:f,children:x.jsx(Sm,{className:"h-4 w-4"})})]}),u&&T.length>0&&x.jsx("div",{className:"grid grid-cols-4 gap-2 mt-2",children:T.map((_,E)=>{const C=b(_);return x.jsx("div",{className:"relative",children:C?x.jsx("div",{className:"w-full h-20 flex items-center justify-center rounded border bg-muted",children:C}):x.jsx("img",{src:_,alt:`Preview ${E+1}`,className:"w-full h-20 object-cover rounded border",onError:L=>{const F=L.target.parentElement;F&&(F.innerHTML='
FILE
')}})},E)})}),x.jsx(k3,{isOpen:p,onClose:()=>m(!1),onSelect:g,multiple:o})]})}const is=t=>{var o;if(typeof document>"u")return null;const a=`; ${document.cookie}`.split(`; ${t}=`);if(a.length===2){const l=(o=a.pop())==null?void 0:o.split(";").shift();return l?decodeURIComponent(l):null}return null},ft={logoDark:"logo/logo-dark.png",logoLight:"logo/logo-light.png",favicon:"logo/favicon.png",titleText:"WorkDo",footerText:"© 2024 WorkDo. All rights reserved.",companyMobile:"",companyAddress:"",themeColor:"green",customColor:"#3b82f6",sidebarVariant:"inset",sidebarStyle:"plain",layoutDirection:"left",themeMode:"light"},Ss=(t,r)=>{if((r==null?void 0:r.is_demo)||!1)try{const o=is("themeSettings"),l=is("sidebarSettings"),u=is("layoutPosition"),f=is("brandSettings"),p=o?JSON.parse(o):{},m=l?JSON.parse(l):{},g=f?JSON.parse(f):{};return{logoDark:g.logoDark||(t==null?void 0:t.logoDark)||ft.logoDark,logoLight:g.logoLight||(t==null?void 0:t.logoLight)||ft.logoLight,favicon:g.favicon||(t==null?void 0:t.favicon)||ft.favicon,titleText:g.titleText||(t==null?void 0:t.titleText)||ft.titleText,footerText:g.footerText||(t==null?void 0:t.footerText)||ft.footerText,companyMobile:g.companyMobile||(t==null?void 0:t.companyMobile)||ft.companyMobile,companyAddress:g.companyAddress||(t==null?void 0:t.companyAddress)||ft.companyAddress,themeColor:p.themeColor||ft.themeColor,customColor:p.customColor||ft.customColor,sidebarVariant:m.variant||ft.sidebarVariant,sidebarStyle:m.style||ft.sidebarStyle,layoutDirection:u||ft.layoutDirection,themeMode:p.appearance||ft.themeMode}}catch{}return t?{logoDark:t.logoDark||ft.logoDark,logoLight:t.logoLight||ft.logoLight,favicon:t.favicon||ft.favicon,titleText:t.titleText||ft.titleText,footerText:t.footerText||ft.footerText,companyMobile:t.companyMobile||ft.companyMobile,companyAddress:t.companyAddress||ft.companyAddress,themeColor:t.themeColor||ft.themeColor,customColor:t.customColor||ft.customColor,sidebarVariant:t.sidebarVariant||ft.sidebarVariant,sidebarStyle:t.sidebarStyle||ft.sidebarStyle,layoutDirection:t.layoutDirection||ft.layoutDirection,themeMode:t.themeMode||ft.themeMode}:ft};function I3({settings:t}){var B,j;const{t:r}=oj(),{props:a}=ym(),o=a.globalSettings,l=a.auth,u=((B=l==null?void 0:l.user)==null?void 0:B.type)||((j=l==null?void 0:l.user)==null?void 0:j.role),[f,p]=A.useState(()=>Ss(o||t,o)),[m,g]=A.useState(!1),[y,h]=A.useState(!1),[S,T]=A.useState("logos"),{updateAppearance:b,updateThemeColor:_,updateCustomColor:E,saveThemeSettings:C}=BS(),{updatePosition:L,saveLayoutPosition:z}=JS(),{updateVariant:F,updateStyle:ee,saveSidebarSettings:U}=e_();A.useEffect(()=>{if(y)return;const Y=Ss(o||t,o);p(Y);try{const le=(o==null?void 0:o.is_demo)||!1;let de=null;if(le&&(de=is("sidebarSettings")),de){const Q=JSON.parse(de);p(J=>({...J,sidebarVariant:Q.variant||J.sidebarVariant,sidebarStyle:Q.style||J.sidebarStyle}))}}catch(le){console.error("Error loading sidebar settings",le)}},[o,t,y]);const D=Y=>{const{name:le,value:de}=Y.target;p(Q=>({...Q,[le]:de})),["logoLight","logoDark","favicon"].includes(le)&&k({[le]:de})},P=(Y,le)=>{p(de=>({...de,[Y]:le})),k({[Y]:le})},{updateBrandSettings:k}=Y_(),ne=Y=>{p(le=>({...le,themeColor:Y})),_(Y)},q=Y=>{p(le=>({...le,customColor:Y})),E(Y,!0)},K=Y=>{p(le=>({...le,sidebarVariant:Y})),F(Y)},I=Y=>{p(le=>({...le,sidebarStyle:Y})),ee(Y)},ae=Y=>{p(le=>({...le,layoutDirection:Y})),L(Y)},pe=Y=>{p(le=>({...le,themeMode:Y})),b(Y),setTimeout(()=>{_(f.themeColor),f.themeColor==="custom"&&E(f.customColor)},0)},R=()=>{g(!0),h(!0),_(f.themeColor),f.themeColor==="custom"&&E(f.customColor),b(f.themeMode),L(f.layoutDirection),F(f.sidebarVariant),ee(f.sidebarStyle),C(),U(),z(),k({logoLight:f.logoLight,logoDark:f.logoDark,favicon:f.favicon}),Aa.post(route("settings.brand.update"),{settings:f},{preserveScroll:!0,onSuccess:Y=>{var Q,J;g(!1);const le=(Q=Y.props.flash)==null?void 0:Q.success,de=(J=Y.props.flash)==null?void 0:J.error;le?(xn.success(le),setTimeout(()=>h(!1),500)):de&&xn.error(de)},onError:Y=>{g(!1),h(!1);const le=Y.error||Object.values(Y).join(", ")||r("Failed to save brand settings");xn.error(le)}})};return x.jsx(z3,{title:r("Brand Settings"),description:r("Customize your application's branding and appearance"),action:x.jsxs(vt,{onClick:R,disabled:m,size:"sm",children:[x.jsx($P,{className:"h-4 w-4 mr-2"}),r(m?"Saving...":"Save Changes")]}),children:x.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[x.jsxs("div",{className:"lg:col-span-2",children:[x.jsxs("div",{className:"flex space-x-2 mb-6",children:[x.jsxs(vt,{variant:S==="logos"?"default":"outline",size:"sm",onClick:()=>T("logos"),className:"flex-1",children:[x.jsx(b_,{className:"h-4 w-4 mr-2"}),r("Logos")]}),x.jsxs(vt,{variant:S==="text"?"default":"outline",size:"sm",onClick:()=>T("text"),className:"flex-1",children:[x.jsx(PP,{className:"h-4 w-4 mr-2"}),r("Text")]}),x.jsxs(vt,{variant:S==="theme"?"default":"outline",size:"sm",onClick:()=>T("theme"),className:"flex-1",children:[x.jsx(up,{className:"h-4 w-4 mr-2"}),r("Theme")]})]}),S==="logos"&&x.jsx("div",{className:"space-y-6",children:x.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{children:r("Logo Dark")}),x.jsxs("div",{className:"flex flex-col gap-3",children:[x.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 dark:bg-white h-32",children:f.logoDark?x.jsx("img",{src:Ka(f.logoDark),alt:"Dark Logo",className:"max-h-full max-w-full object-contain",onError:Y=>{Y.currentTarget.src="images/default/image-not-found.jpg"}}):x.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[x.jsx("div",{className:"h-12 w-24 bg-muted flex items-center justify-center rounded border border-dashed",children:x.jsx("span",{className:"font-semibold text-muted-foreground",children:r("Logo")})}),x.jsx("span",{className:"text-xs",children:"No logo selected"})]})}),x.jsx(fp,{label:"",value:f.logoDark,onChange:Y=>P("logoDark",Y),placeholder:"Select dark mode logo...",showPreview:!1})]})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{children:r("Logo Light")}),x.jsxs("div",{className:"flex flex-col gap-3",children:[x.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-black h-32",children:f.logoLight?x.jsx("img",{src:Ka(f.logoLight),alt:"Light Logo",className:"max-h-full max-w-full object-contain",onError:Y=>{Y.currentTarget.src="images/default/image-not-found.jpg"}}):x.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[x.jsx("div",{className:"h-12 w-24 bg-muted flex items-center justify-center rounded border border-dashed",children:x.jsx("span",{className:"font-semibold text-muted-foreground",children:r("Logo")})}),x.jsx("span",{className:"text-xs",children:"No logo selected"})]})}),x.jsx(fp,{label:"",value:f.logoLight,onChange:Y=>P("logoLight",Y),placeholder:"Select light mode logo...",showPreview:!1})]})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{children:r("Favicon")}),x.jsxs("div",{className:"flex flex-col gap-3",children:[x.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 h-20",children:f.favicon?x.jsx("img",{src:Ka(f.favicon),alt:"Favicon",className:"h-16 w-16 object-contain",onError:Y=>{Y.currentTarget.src="images/default/image-not-found.jpg"}}):x.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-1",children:[x.jsx("div",{className:"h-10 w-10 bg-muted flex items-center justify-center rounded border border-dashed",children:x.jsx("span",{className:"font-semibold text-xs text-muted-foreground",children:r("Icon")})}),x.jsx("span",{className:"text-xs",children:"No favicon selected"})]})}),x.jsx(fp,{label:"",value:f.favicon,onChange:Y=>P("favicon",Y),placeholder:"Select favicon...",showPreview:!1})]})]})]})}),S==="text"&&x.jsx("div",{className:"space-y-6",children:x.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{htmlFor:"titleText",children:r("Title Text")}),x.jsx(_a,{id:"titleText",name:"titleText",value:f.titleText,onChange:D,placeholder:"WorkDo"}),x.jsx("p",{className:"text-xs text-muted-foreground",children:r("Application title displayed in the browser tab")})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{htmlFor:"footerText",children:r("Footer Text")}),x.jsx(_a,{id:"footerText",name:"footerText",value:f.footerText,onChange:D,placeholder:"© 2024 WorkDo. All rights reserved."}),x.jsx("p",{className:"text-xs text-muted-foreground",children:r("Text displayed in the footer")})]}),u==="company"&&x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{htmlFor:"companyMobile",children:r("Company Mobile Number")}),x.jsx(_a,{id:"companyMobile",name:"companyMobile",value:f.companyMobile||"",onChange:D,placeholder:"+1 234 567 8900"}),x.jsx("p",{className:"text-xs text-muted-foreground",children:r("Company contact mobile number")})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{htmlFor:"companyAddress",children:r("Company Address")}),x.jsx("textarea",{id:"companyAddress",name:"companyAddress",value:f.companyAddress||"",onChange:Y=>p(le=>({...le,companyAddress:Y.target.value})),placeholder:"Enter company address",className:"flex min-h-[80px] w-full rounded-md border border-input 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"}),x.jsx("p",{className:"text-xs text-muted-foreground",children:r("Company address")})]})]})]})}),S==="theme"&&x.jsx("div",{className:"space-y-6",children:x.jsxs("div",{className:"flex flex-col space-y-8",children:[x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"flex items-center",children:[x.jsx(up,{className:"h-5 w-5 mr-2 text-muted-foreground"}),x.jsx("h3",{className:"text-base font-medium",children:r("Theme Color")})]}),x.jsx(Ql,{className:"my-2"}),x.jsxs("div",{className:"grid grid-cols-6 gap-2",children:[Object.entries({blue:"#3b82f6",green:"#10b77f",purple:"#8b5cf6",orange:"#f97316",red:"#ef4444"}).map(([Y,le])=>x.jsx(vt,{type:"button",variant:f.themeColor===Y?"default":"outline",className:"h-8 w-full p-0 relative",style:{backgroundColor:f.themeColor===Y?le:"transparent"},onClick:()=>ne(Y),children:x.jsx("span",{className:"absolute inset-1 rounded-sm",style:{backgroundColor:le}})},Y)),x.jsx(vt,{type:"button",variant:f.themeColor==="custom"?"default":"outline",className:"h-8 w-full p-0 relative",style:{backgroundColor:f.themeColor==="custom"?f.customColor:"transparent"},onClick:()=>ne("custom"),children:x.jsx("span",{className:"absolute inset-1 rounded-sm",style:{backgroundColor:t.customColor}})})]}),f.themeColor==="custom"&&x.jsxs("div",{className:"space-y-2 mt-4",children:[x.jsx(Gn,{htmlFor:"customColor",children:r("Custom Color")}),x.jsxs("div",{className:"flex gap-2",children:[x.jsxs("div",{className:"relative",children:[x.jsx(_a,{id:"colorPicker",type:"color",value:f.customColor,onChange:Y=>q(Y.target.value),className:"absolute inset-0 opacity-0 cursor-pointer"}),x.jsx("div",{className:"w-10 h-10 rounded border cursor-pointer",style:{backgroundColor:f.customColor}})]}),x.jsx(_a,{id:"customColor",name:"customColor",type:"text",value:f.customColor,onChange:Y=>q(Y.target.value),placeholder:"#3b82f6"})]})]})]}),x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"flex items-center",children:[x.jsx(v_,{className:"h-5 w-5 mr-2 text-muted-foreground"}),x.jsx("h3",{className:"text-base font-medium",children:r("Sidebar")})]}),x.jsx(Ql,{className:"my-2"}),x.jsxs("div",{className:"space-y-6",children:[x.jsxs("div",{children:[x.jsx(Gn,{className:"mb-2 block",children:r("Sidebar Variant")}),x.jsx("div",{className:"grid grid-cols-3 gap-3",children:["inset","floating","minimal"].map(Y=>x.jsxs(vt,{type:"button",variant:f.sidebarVariant===Y?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.sidebarVariant===Y?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>K(Y),children:[Y.charAt(0).toUpperCase()+Y.slice(1),f.sidebarVariant===Y&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]},Y))})]}),x.jsxs("div",{children:[x.jsx(Gn,{className:"mb-2 block",children:r("Sidebar Style")}),x.jsx("div",{className:"grid grid-cols-3 gap-3",children:[{id:"plain",name:"Plain"},{id:"colored",name:"Colored"},{id:"gradient",name:"Gradient"}].map(Y=>x.jsxs(vt,{type:"button",variant:f.sidebarStyle===Y.id?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.sidebarStyle===Y.id?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>I(Y.id),children:[Y.name,f.sidebarStyle===Y.id&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]},Y.id))})]})]})]}),x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"flex items-center",children:[x.jsx(BP,{className:"h-5 w-5 mr-2 text-muted-foreground"}),x.jsx("h3",{className:"text-base font-medium",children:r("Layout")})]}),x.jsx(Ql,{className:"my-2"}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Gn,{className:"mb-2 block",children:r("Layout Direction")}),x.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[x.jsxs(vt,{type:"button",variant:f.layoutDirection==="left"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.layoutDirection==="left"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>ae("left"),children:[r("Left-to-Right"),f.layoutDirection==="left"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]}),x.jsxs(vt,{type:"button",variant:f.layoutDirection==="right"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.layoutDirection==="right"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>ae("right"),children:[r("Right-to-Left"),f.layoutDirection==="right"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]})]})]})]}),x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"flex items-center",children:[x.jsx(UP,{className:"h-5 w-5 mr-2 text-muted-foreground"}),x.jsx("h3",{className:"text-base font-medium",children:r("Theme Mode")})]}),x.jsx(Ql,{className:"my-2"}),x.jsx("div",{className:"space-y-2",children:x.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[x.jsxs(vt,{type:"button",variant:f.themeMode==="light"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.themeMode==="light"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>pe("light"),children:[r("Light"),f.themeMode==="light"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]}),x.jsxs(vt,{type:"button",variant:f.themeMode==="dark"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.themeMode==="dark"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>pe("dark"),children:[r("Dark"),f.themeMode==="dark"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]}),x.jsxs(vt,{type:"button",variant:f.themeMode==="system"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.themeMode==="system"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>pe("system"),children:[r("System"),f.themeMode==="system"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]})]})})]})]})})]}),x.jsx("div",{className:"lg:col-span-1",children:x.jsx("div",{className:"sticky top-20 space-y-6",children:x.jsxs("div",{className:"border rounded-md p-4",children:[x.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[x.jsx(up,{className:"h-4 w-4"}),x.jsx("h3",{className:"font-medium",children:r("Live Preview")})]}),x.jsx(s3,{}),x.jsx("div",{className:"mt-4 pt-4 border-t",children:x.jsxs("div",{className:"text-xs text-muted-foreground",children:[r("Footer:")," ",x.jsx("span",{className:"font-medium text-foreground",children:f.footerText})]})})]})})})]})})}const $3=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_BRAND_SETTINGS:ft,default:I3,getBrandSettings:Ss},Symbol.toStringTag,{value:"Module"})),G_=A.createContext(void 0);function F3({children:t,globalSettings:r,user:a}){const o=()=>(r==null?void 0:r.is_demo)||!1?null:window.location.pathname.includes("/public/")||window.location.pathname==="/"||window.location.pathname.includes("/auth/")?r:(a==null?void 0:a.role)==="company"&&(a!=null&&a.globalSettings)?a.globalSettings:r,[l,u]=A.useState(()=>Ss(o(),r));A.useEffect(()=>{const p=o(),m=Ss(p,r);if(u(m),m){const g=m.themeColor==="custom"?m.customColor:{blue:"#3b82f6",green:"#10b77f",purple:"#8b5cf6",orange:"#f97316",red:"#ef4444"}[m.themeColor]||"#3b82f6";document.documentElement.style.setProperty("--theme-color",g),document.documentElement.style.setProperty("--primary",g);const y=m.themeMode==="dark"||m.themeMode==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.classList.toggle("dark",y),document.body.classList.toggle("dark",y),document.documentElement.dir=m.layoutDirection,document.documentElement.setAttribute("dir",m.layoutDirection)}},[r,a]);const f=p=>{u(m=>({...m,...p}))};return x.jsx(G_.Provider,{value:{...l,updateBrandSettings:f},children:t})}function Y_(){const t=A.useContext(G_);if(t===void 0)throw new Error("useBrand must be used within a BrandProvider");return t}var G3=(t,r,a,o,l,u,f,p)=>{let m=document.documentElement,g=["light","dark"];function y(T){(Array.isArray(t)?t:[t]).forEach(b=>{let _=b==="class",E=_&&u?l.map(C=>u[C]||C):l;_?(m.classList.remove(...E),m.classList.add(u&&u[T]?u[T]:T)):m.setAttribute(b,T)}),h(T)}function h(T){p&&g.includes(T)&&(m.style.colorScheme=T)}function S(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(o)y(o);else try{let T=localStorage.getItem(r)||a,b=f&&T==="system"?S():T;y(b)}catch{}},Y3=A.createContext(void 0),X3={setTheme:t=>{},themes:[]},K3=()=>{var t;return(t=A.useContext(Y3))!=null?t:X3};A.memo(({forcedTheme:t,storageKey:r,attribute:a,enableSystem:o,enableColorScheme:l,defaultTheme:u,value:f,themes:p,nonce:m,scriptProps:g})=>{let y=JSON.stringify([a,r,u,t,p,f,o,l]).slice(1,-1);return A.createElement("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${G3.toString()})(${y})`}})});const Q3=({...t})=>{const{theme:r="system"}=K3();return x.jsx(P3,{theme:r,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...t})},Hu=()=>window.isDemo||!1,Tm="This action is disabled in demo mode. You can only create new data, not modify existing demo data.",Z3=Aa.put,J3=Aa.delete,W3=Aa.patch;Aa.put=function(t,r,a){if(Hu()){xn.error(Tm);return}return Z3.call(this,t,r,a)};Aa.delete=function(t,r){if(Hu()){xn.error(Tm);return}return J3.call(this,t,r)};Aa.patch=function(t,r,a){if(Hu()){xn.error(Tm);return}return W3.call(this,t,r,a)};const G4={...xn,loading:(t,r)=>{if(!(Hu()&&(t.includes("Delet")||t.includes("Updat")||t.includes("Reset")||t.includes("Modif"))))return xn.loading(t,r)}},e4=()=>x.jsx(Q3,{position:"top-right",duration:4e3,richColors:!0,closeButton:!0});function t4({children:t}){var f;const{props:r}=ym(),[a,o]=A.useState(!1);A.useEffect(()=>{o(!0)},[]);const l=r.globalSettings||{},u=(f=r.auth)==null?void 0:f.user;return x.jsx(U3,{children:x.jsx(Aj,{children:x.jsx(Cj,{children:x.jsxs(F3,{globalSettings:l,user:u,children:[x.jsx(A.Suspense,{fallback:x.jsx("div",{className:"flex h-screen w-full items-center justify-center",children:"Loading..."}),children:t}),a&&x.jsx(e4,{})]})})})})}function n4({children:t}){return x.jsx(t4,{children:t})}Aa.on("invalid",t=>{var r;((r=t.detail.response)==null?void 0:r.status)===419&&(t.preventDefault(),dt.get("/sanctum/csrf-cookie").then(()=>{alert("Your session expired but has been refreshed in the background. Please try saving again.")}).catch(()=>{window.location.reload()}))});EL();document.addEventListener("DOMContentLoaded",()=>{_L()});const W0="SEB Connexion Inc.";eL({title:t=>t?`${t} - ${W0}`:W0,resolve:t=>{const r=Object.assign({"./pages/auth/confirm-password.tsx":()=>O(()=>import("./confirm-password-CxuZ_jnp.js"),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/auth/forgot-password.tsx":()=>O(()=>import("./forgot-password-yxbZL-Fe.js"),__vite__mapDeps([20,1,3,21,4,5,6,7,8,9,10,11,12,13,22,23,17,18,19]),import.meta.url),"./pages/auth/login.tsx":()=>O(()=>import("./login-DjOYwzo6.js"),__vite__mapDeps([24,1,3,21,25,11,4,5,6,7,8,9,10,12,13,22,17,18,19]),import.meta.url),"./pages/auth/register.tsx":()=>O(()=>import("./register-lqn-QIsw.js"),__vite__mapDeps([26,1,3,21,25,11,4,5,6,7,8,9,10,12,13,22,17,18,19]),import.meta.url),"./pages/auth/reset-password.tsx":()=>O(()=>import("./reset-password-frsxX5jE.js"),__vite__mapDeps([27,1,3,4,5,6,7,8,9,10,11,12,13,16,17,18,19]),import.meta.url),"./pages/auth/verify-email.tsx":()=>O(()=>import("./verify-email-BaTdu6tt.js"),__vite__mapDeps([28,1,21,4,5,6,7,8,9,10,11,12,13,14,15,23,17,18,19]),import.meta.url),"./pages/calendar/index.tsx":()=>O(()=>import("./index-cXt_xBft.js"),__vite__mapDeps([29,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,53,17,18,19]),import.meta.url),"./pages/career/apply.tsx":()=>O(()=>import("./apply-BE2iVNrk.js"),__vite__mapDeps([54,1,31,32,33,11,34,25,55,12,56,42,17,18,19]),import.meta.url),"./pages/career/index.tsx":()=>O(()=>import("./index-DlUqSP_j.js"),__vite__mapDeps([57,1,32,33,11,34,55,12,58,59,60,61,46,62,38,17,18,19]),import.meta.url),"./pages/career/job-details.tsx":()=>O(()=>import("./job-details-BVmpZQPK.js"),__vite__mapDeps([63,1,55,12,58,61,60,46,43,49,44,17,18,19]),import.meta.url),"./pages/companies/index.tsx":()=>O(()=>import("./index-xU6JE9xN.js"),__vite__mapDeps([64,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,66,17,59,67,68,69,70,71,25,72,73,74,75,76,77,78,79,80,23,16,18,19,81,82,83,84]),import.meta.url),"./pages/companies/view.tsx":()=>O(()=>import("./view-BzOgJRog.js"),__vite__mapDeps([79,1,80,23,16,44,13,17,18,19]),import.meta.url),"./pages/contacts/index.tsx":()=>O(()=>import("./index-BuI0zCd-.js"),__vite__mapDeps([85,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,69,70,25,72,73,74,75,65,66,17,18,19]),import.meta.url),"./pages/coupons/index.tsx":()=>O(()=>import("./index-CsFBFtPk.js"),__vite__mapDeps([169,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/coupons/show.tsx":()=>O(()=>import("./show-BN_q1h7s.js"),__vite__mapDeps([170,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,87,159,56,17,18,19]),import.meta.url),"./pages/currencies/index.tsx":()=>O(()=>import("./index-Dz3Mkl-f.js"),__vite__mapDeps([171,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,172,18,19]),import.meta.url),"./pages/currencies/view.tsx":()=>O(()=>import("./view-BoKNVuEn.js"),__vite__mapDeps([172,1,49,162,126,16,17,18,19]),import.meta.url),"./pages/dashboard.tsx":()=>O(()=>import("./dashboard-Cfbs-0VV.js"),__vite__mapDeps([173,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,80,164,107,115,103,17,159,97,18,19]),import.meta.url),"./pages/email-templates/index.tsx":()=>O(()=>import("./index-Dle69l1X.js"),__vite__mapDeps([174,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,66,17,59,67,117,18,19]),import.meta.url),"./pages/email-templates/show.tsx":()=>O(()=>import("./show-Du2PJKcK.js"),__vite__mapDeps([175,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,177,88,67,145,132,111,17,18,19]),import.meta.url),"./pages/employee-dashboard.tsx":()=>O(()=>import("./employee-dashboard-BkctMP3j.js"),__vite__mapDeps([178,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,97,17,18,19]),import.meta.url),"./pages/examples/chatgpt-demo.tsx":()=>O(()=>import("./chatgpt-demo-XaBb-3C8.js"),__vite__mapDeps([179,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,17,18,19]),import.meta.url),"./pages/hr/announcements/dashboard.tsx":()=>O(()=>import("./dashboard-BhA5vOBq.js"),__vite__mapDeps([180,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,67,97,58,160,17,18,19]),import.meta.url),"./pages/hr/announcements/index.tsx":()=>O(()=>import("./index-CEqr8902.js"),__vite__mapDeps([181,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,177,18,19]),import.meta.url),"./pages/hr/announcements/show.tsx":()=>O(()=>import("./show-BBP32Lsm.js"),__vite__mapDeps([182,1,77,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,56,104,83,157,114,17,18,19]),import.meta.url),"./pages/hr/announcements/statistics.tsx":()=>O(()=>import("./statistics-DP1Z7RvM.js"),__vite__mapDeps([184,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,117,159,17,18,19]),import.meta.url),"./pages/hr/assets/dashboard.tsx":()=>O(()=>import("./dashboard-FKh0lMdj.js"),__vite__mapDeps([185,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,67,104,159,139,107,163,167,17,18,19]),import.meta.url),"./pages/hr/assets/depreciation-report.tsx":()=>O(()=>import("./depreciation-report-TgdmfIPE.js"),__vite__mapDeps([186,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,66,17,59,67,65,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,82,128,129,130,131,132,133,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,18,19]),import.meta.url),"./pages/hr/assets/index.tsx":()=>O(()=>import("./index-CqtrR8zZ.js"),__vite__mapDeps([187,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,188,189,18,19]),import.meta.url),"./pages/hr/assets/show.tsx":()=>O(()=>import("./show-DxsRsCDG.js"),__vite__mapDeps([190,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,87,69,70,71,25,72,73,74,75,76,77,183,56,83,164,90,167,144,157,114,17,18,19]),import.meta.url),"./pages/hr/assets/types/index.tsx":()=>O(()=>import("./index-CjDzhRcW.js"),__vite__mapDeps([191,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,99,83,84,17,18,19]),import.meta.url),"./pages/hr/attendance-records/calendar.tsx":()=>O(()=>import("./calendar-DK7BNiGj.js"),__vite__mapDeps([192,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,129,17,18,19]),import.meta.url),"./pages/hr/attendance-records/index.tsx":()=>O(()=>import("./index-rQIAl_IQ.js"),__vite__mapDeps([193,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,77,65,66,17,59,67,188,189,82,114,194,134,61,138,160,18,19,119,121,107,159,117,83,84,109]),import.meta.url),"./pages/hr/attendance-records/view.tsx":()=>O(()=>import("./view-BFjj0TjT.js"),__vite__mapDeps([194,1,74,75,46,42,44,134,61,47,138,52,160,17,18,19]),import.meta.url),"./pages/hr/attendance-regularizations/index.tsx":()=>O(()=>import("./index-Da0bR24c.js"),__vite__mapDeps([195,1,196,107,109,106,46,42,44,92,137,17,18,19,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,43,45,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,77,65,66,59,67,117,83,84]),import.meta.url),"./pages/hr/attendance-regularizations/view.tsx":()=>O(()=>import("./view-MDlwRyWy.js"),__vite__mapDeps([196,1,107,109,106,46,42,44,92,137,17,18,19]),import.meta.url),"./pages/hr/award-types/index.tsx":()=>O(()=>import("./index-B-BvIINs.js"),__vite__mapDeps([197,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,94,83,16,84,17,18,19]),import.meta.url),"./pages/hr/awards/index.tsx":()=>O(()=>import("./index-CEdEG00S.js"),__vite__mapDeps([198,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,199,18,19,68]),import.meta.url),"./pages/hr/awards/view.tsx":()=>O(()=>import("./view-BbFir-PT.js"),__vite__mapDeps([199,1,161,42,153,44,41,117,17,18,19]),import.meta.url),"./pages/hr/biometric-attendance/index.tsx":()=>O(()=>import("./index-fvJm3AZD.js"),__vite__mapDeps([200,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,65,66,17,201,18,19]),import.meta.url),"./pages/hr/biometric-attendance/view.tsx":()=>O(()=>import("./view-jKtOT9Bm.js"),__vite__mapDeps([201,1,48,106,82,7,17,18,19]),import.meta.url),"./pages/hr/branches/index.tsx":()=>O(()=>import("./index-B0cz-aBP.js"),__vite__mapDeps([202,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,203,18,19]),import.meta.url),"./pages/hr/branches/view.tsx":()=>O(()=>import("./view-CN8Y1143.js"),__vite__mapDeps([203,1,123,80,23,141,16,61,8,126,17,18,19]),import.meta.url),"./pages/hr/complaints/index.tsx":()=>O(()=>import("./index-Bj6jJ21X.js"),__vite__mapDeps([204,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,205,18,19,68]),import.meta.url),"./pages/hr/complaints/view.tsx":()=>O(()=>import("./view-Z7ZNWGt1.js"),__vite__mapDeps([205,1,136,42,153,44,163,117,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-renewals/index.tsx":()=>O(()=>import("./index-tbtskYrP.js"),__vite__mapDeps([206,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/create.tsx":()=>O(()=>import("./create-C72t9NiC.js"),__vite__mapDeps([207,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,56,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/edit.tsx":()=>O(()=>import("./edit-Dfqzkhqt.js"),__vite__mapDeps([208,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,56,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/generate.tsx":()=>O(()=>import("./generate-CFssguy1.js"),__vite__mapDeps([209,1,119,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/index.tsx":()=>O(()=>import("./index-DjRJ1e6t.js"),__vite__mapDeps([210,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,209,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/show.tsx":()=>O(()=>import("./show-CIW6tgp8.js"),__vite__mapDeps([211,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,58,153,111,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-types/index.tsx":()=>O(()=>import("./index-BgrFso6c.js"),__vite__mapDeps([212,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,213,18,19]),import.meta.url),"./pages/hr/contracts/contract-types/view.tsx":()=>O(()=>import("./view-D26r40SC.js"),__vite__mapDeps([213,1,16,44,46,7,126,17,18,19]),import.meta.url),"./pages/hr/contracts/employee-contracts/index.tsx":()=>O(()=>import("./index-9x6Wsxln.js"),__vite__mapDeps([214,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,215,18,19,68]),import.meta.url),"./pages/hr/contracts/employee-contracts/view.tsx":()=>O(()=>import("./view-D-KwmQWY.js"),__vite__mapDeps([215,1,42,44,160,49,17,18,19]),import.meta.url),"./pages/hr/departments/index.tsx":()=>O(()=>import("./index-DWoluho-.js"),__vite__mapDeps([216,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,217,18,19]),import.meta.url),"./pages/hr/departments/view.tsx":()=>O(()=>import("./view-KQwkZ-26.js"),__vite__mapDeps([217,1,80,123,16,17,18,19]),import.meta.url),"./pages/hr/designations/index.tsx":()=>O(()=>import("./index-ClbcQXHo.js"),__vite__mapDeps([218,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,219,18,19]),import.meta.url),"./pages/hr/designations/view.tsx":()=>O(()=>import("./view-FrvU1Gq2.js"),__vite__mapDeps([219,1,40,80,123,16,17,18,19]),import.meta.url),"./pages/hr/document-types/index.tsx":()=>O(()=>import("./index-CShf9M56.js"),__vite__mapDeps([220,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,83,84,17,18,19]),import.meta.url),"./pages/hr/documents/document-acknowledgments/index.tsx":()=>O(()=>import("./index-BhNb0aNF.js"),__vite__mapDeps([221,1,77,69,31,32,33,11,34,70,71,25,10,72,73,74,75,76,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,36,40,80,60,100,101,45,44,102,103,104,105,62,38,106,107,78,108,109,110,46,111,50,37,13,112,113,49,114,115,116,117,118,119,120,121,59,47,122,41,123,8,124,125,126,127,82,128,39,129,130,131,132,133,67,15,16,134,52,23,61,135,136,137,138,139,140,141,142,143,144,145,7,146,147,148,9,149,150,151,83,58,152,153,154,155,156,48,84,157,158,159,160,161,162,163,164,165,42,43,166,167,168,30,6,35,5,51,65,66,17,222,18,19]),import.meta.url),"./pages/hr/documents/document-acknowledgments/view.tsx":()=>O(()=>import("./view-CaBV2VCV.js"),__vite__mapDeps([222,1,42,44,107,46,109,160,17,18,19]),import.meta.url),"./pages/hr/documents/document-categories/index.tsx":()=>O(()=>import("./index-DrqUs-Ht.js"),__vite__mapDeps([223,1,77,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,159,94,89,127,60,110,160,83,16,84,17,18,19]),import.meta.url),"./pages/hr/documents/document-templates/create.tsx":()=>O(()=>import("./create-MS7LrsiO.js"),__vite__mapDeps([224,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,56,17,18,19]),import.meta.url),"./pages/hr/documents/document-templates/edit.tsx":()=>O(()=>import("./edit-Dq9tcmGS.js"),__vite__mapDeps([225,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,56,17,18,19]),import.meta.url),"./pages/hr/documents/document-templates/generate.tsx":()=>O(()=>import("./generate-BdLQjM1G.js"),__vite__mapDeps([226,1,119,17,18,19]),import.meta.url),"./pages/hr/documents/document-templates/index.tsx":()=>O(()=>import("./index-DGZGl4KA.js"),__vite__mapDeps([227,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,226,18,19]),import.meta.url),"./pages/hr/documents/document-templates/show.tsx":()=>O(()=>import("./show-j2pNpnhj.js"),__vite__mapDeps([228,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,58,153,111,17,18,19]),import.meta.url),"./pages/hr/documents/hr-documents/index.tsx":()=>O(()=>import("./index-CI8zGq5x.js"),__vite__mapDeps([229,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,230,18,19]),import.meta.url),"./pages/hr/documents/hr-documents/view.tsx":()=>O(()=>import("./view-CwN1eCBc.js"),__vite__mapDeps([230,1,153,114,44,42,160,117,107,46,17,18,19]),import.meta.url),"./pages/hr/employee-salaries/index.tsx":()=>O(()=>import("./index-ltoYfV1y.js"),__vite__mapDeps([231,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,232,18,19]),import.meta.url),"./pages/hr/employee-salaries/payroll-calculation.tsx":()=>O(()=>import("./payroll-calculation-RtB_ajIT.js"),__vite__mapDeps([233,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,100,159,158,17,18,19]),import.meta.url),"./pages/hr/employee-salaries/view.tsx":()=>O(()=>import("./view-DvTZXpYh.js"),__vite__mapDeps([232,1,49,42,44,128,16,17,18,19]),import.meta.url),"./pages/hr/employees/create.tsx":()=>O(()=>import("./create-CEEzYIw1.js"),__vite__mapDeps([234,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,70,71,72,84,56,17,18,19]),import.meta.url),"./pages/hr/employees/edit.tsx":()=>O(()=>import("./edit-DTz0GzMY.js"),__vite__mapDeps([235,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,70,71,72,117,84,56,17,18,19]),import.meta.url),"./pages/hr/employees/index.tsx":()=>O(()=>import("./index-67ns2C5v.js"),__vite__mapDeps([236,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,68,65,66,17,69,70,25,72,73,74,75,188,189,18,19]),import.meta.url),"./pages/hr/employees/show.tsx":()=>O(()=>import("./show-DRD8df6K.js"),__vite__mapDeps([237,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,77,68,56,23,141,60,114,117,84,17,18,19]),import.meta.url),"./pages/hr/holidays/calendar.tsx":()=>O(()=>import("./calendar-DZbQGEJ_.js"),__vite__mapDeps([238,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,53,67,114,17,18,19]),import.meta.url),"./pages/hr/holidays/index.tsx":()=>O(()=>import("./index-FKx2V6xd.js"),__vite__mapDeps([239,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,240,18,19]),import.meta.url),"./pages/hr/holidays/view.tsx":()=>O(()=>import("./view-BTXCtQpe.js"),__vite__mapDeps([240,1,17,45,153,44,123,18,19]),import.meta.url),"./pages/hr/leave-applications/index.tsx":()=>O(()=>import("./index-jrL8Swqa.js"),__vite__mapDeps([241,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,68,242,18,19]),import.meta.url),"./pages/hr/leave-applications/view.tsx":()=>O(()=>import("./view-DXMFTn3s.js"),__vite__mapDeps([242,1,45,42,153,126,117,17,18,19]),import.meta.url),"./pages/hr/leave-balances/index.tsx":()=>O(()=>import("./index-CY4LrrUm.js"),__vite__mapDeps([243,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,68,244,18,19]),import.meta.url),"./pages/hr/leave-balances/view.tsx":()=>O(()=>import("./view-Bp5k9w6L.js"),__vite__mapDeps([244,1,45,42,153,126,17,18,19]),import.meta.url),"./pages/hr/leave-policies/index.tsx":()=>O(()=>import("./index-BUG3ThJK.js"),__vite__mapDeps([245,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,246,18,19]),import.meta.url),"./pages/hr/leave-policies/view.tsx":()=>O(()=>import("./view-C8SbLwsW.js"),__vite__mapDeps([246,1,153,7,93,126,16,17,18,19]),import.meta.url),"./pages/hr/leave-types/index.tsx":()=>O(()=>import("./index-CMpmrPYK.js"),__vite__mapDeps([247,1,77,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,83,16,84,166,17,18,19]),import.meta.url),"./pages/hr/overtime/index.tsx":()=>O(()=>import("./index-D5sgV30H.js"),__vite__mapDeps([248,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,107,109,17,18,19]),import.meta.url),"./pages/hr/payroll-runs/PayrollOverrideModal.tsx":()=>O(()=>import("./PayrollOverrideModal-zN2d0QE9.js"),__vite__mapDeps([249,1,73,33,17,18,19]),import.meta.url),"./pages/hr/payroll-runs/index.tsx":()=>O(()=>import("./index-8TqNXIQR.js"),__vite__mapDeps([250,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,188,189,18,19]),import.meta.url),"./pages/hr/payroll-runs/show.tsx":()=>O(()=>import("./show-BrUoHkvy.js"),__vite__mapDeps([251,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,249,73,17,18,19]),import.meta.url),"./pages/hr/payslips/index.tsx":()=>O(()=>import("./index-nGhUNfeM.js"),__vite__mapDeps([252,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,65,66,17,18,19]),import.meta.url),"./pages/hr/performance/employee-goals/index.tsx":()=>O(()=>import("./index-DfDYhnBt.js"),__vite__mapDeps([253,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,254,183,18,19]),import.meta.url),"./pages/hr/performance/employee-goals/view.tsx":()=>O(()=>import("./view-DeKROn_z.js"),__vite__mapDeps([254,1,183,51,154,42,153,112,44,17,18,19]),import.meta.url),"./pages/hr/performance/employee-reviews/conduct.tsx":()=>O(()=>import("./conduct-DRlCH6fa.js"),__vite__mapDeps([255,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,58,56,17,18,19]),import.meta.url),"./pages/hr/performance/employee-reviews/create.tsx":()=>O(()=>import("./create-DA2IkrK2.js"),__vite__mapDeps([256,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,17,18,19]),import.meta.url),"./pages/hr/performance/employee-reviews/index.tsx":()=>O(()=>import("./index-C2eHu2Fm.js"),__vite__mapDeps([257,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,68,18,19]),import.meta.url),"./pages/hr/performance/employee-reviews/show.tsx":()=>O(()=>import("./show-BbJQH56Z.js"),__vite__mapDeps([258,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,58,56,110,17,18,19]),import.meta.url),"./pages/hr/performance/goal-types/index.tsx":()=>O(()=>import("./index-DVrBTdX3.js"),__vite__mapDeps([259,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,154,83,84,17,18,19]),import.meta.url),"./pages/hr/performance/indicator-categories/index.tsx":()=>O(()=>import("./index-B7XTPaK-.js"),__vite__mapDeps([260,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,261,18,19]),import.meta.url),"./pages/hr/performance/indicator-categories/view.tsx":()=>O(()=>import("./view-BmsX62N2.js"),__vite__mapDeps([261,1,39,16,17,18,19]),import.meta.url),"./pages/hr/performance/indicators/index.tsx":()=>O(()=>import("./index-BShKuxu1.js"),__vite__mapDeps([262,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,263,18,19]),import.meta.url),"./pages/hr/performance/indicators/view.tsx":()=>O(()=>import("./view-Bc9HsFvk.js"),__vite__mapDeps([263,1,105,39,146,154,16,17,18,19]),import.meta.url),"./pages/hr/performance/review-cycles/index.tsx":()=>O(()=>import("./index-CY9ihQ1o.js"),__vite__mapDeps([264,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,83,84,17,18,19]),import.meta.url),"./pages/hr/promotions/index.tsx":()=>O(()=>import("./index-C-rkBD8E.js"),__vite__mapDeps([265,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,266,68,18,19]),import.meta.url),"./pages/hr/promotions/view.tsx":()=>O(()=>import("./view-CeXwvO2y.js"),__vite__mapDeps([266,1,68,159,40,92,49,117,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-assessments/index.tsx":()=>O(()=>import("./index-DFa3CjCm.js"),__vite__mapDeps([267,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,268,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-assessments/view.tsx":()=>O(()=>import("./view-ZfV1RGFO.js"),__vite__mapDeps([268,1,110,42,126,163,44,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-onboarding/index.tsx":()=>O(()=>import("./index-BtjYh975.js"),__vite__mapDeps([269,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-onboarding/show.tsx":()=>O(()=>import("./show-D3Zydh5Q.js"),__vite__mapDeps([270,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-sources/index.tsx":()=>O(()=>import("./index-D49SHwyU.js"),__vite__mapDeps([271,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,83,16,84,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidates/convert-to-employee.tsx":()=>O(()=>import("./convert-to-employee-Bs7b-vKF.js"),__vite__mapDeps([272,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,70,71,84,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidates/index.tsx":()=>O(()=>import("./index-BvU7Sn67.js"),__vite__mapDeps([273,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidates/show.tsx":()=>O(()=>import("./show-DWzFj7I_.js"),__vite__mapDeps([274,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,141,23,61,115,60,94,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/checklist-items/index.tsx":()=>O(()=>import("./index-T_WeL0Pu.js"),__vite__mapDeps([275,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,276,18,19]),import.meta.url),"./pages/hr/recruitment/checklist-items/view.tsx":()=>O(()=>import("./view-Cen6BZGx.js"),__vite__mapDeps([276,1,151,153,16,17,18,19]),import.meta.url),"./pages/hr/recruitment/custom-questions/index.tsx":()=>O(()=>import("./index-kp14gyxT.js"),__vite__mapDeps([277,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,278,18,19]),import.meta.url),"./pages/hr/recruitment/custom-questions/view.tsx":()=>O(()=>import("./view-D_VJF0vQ.js"),__vite__mapDeps([278,1,108,107,17,18,19]),import.meta.url),"./pages/hr/recruitment/interview-feedback/index.tsx":()=>O(()=>import("./index-ClFA5pLD.js"),__vite__mapDeps([279,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,280,18,19]),import.meta.url),"./pages/hr/recruitment/interview-feedback/view.tsx":()=>O(()=>import("./view-gAlNzHTp.js"),__vite__mapDeps([280,1,137,42,40,43,58,155,17,18,19]),import.meta.url),"./pages/hr/recruitment/interview-rounds/index.tsx":()=>O(()=>import("./index-DJuy97vM.js"),__vite__mapDeps([281,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,282,18,19]),import.meta.url),"./pages/hr/recruitment/interview-rounds/view.tsx":()=>O(()=>import("./view-5dgAhEQh.js"),__vite__mapDeps([282,1,43,126,40,16,17,18,19]),import.meta.url),"./pages/hr/recruitment/interview-types/index.tsx":()=>O(()=>import("./index-ukFgEklP.js"),__vite__mapDeps([283,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,137,83,16,84,17,18,19]),import.meta.url),"./pages/hr/recruitment/interviews/index.tsx":()=>O(()=>import("./index-BohFrjjc.js"),__vite__mapDeps([284,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,285,18,19]),import.meta.url),"./pages/hr/recruitment/interviews/view.tsx":()=>O(()=>import("./view-CUmR-B1R.js"),__vite__mapDeps([285,1,101,42,40,43,46,132,61,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-categories/index.tsx":()=>O(()=>import("./index-CMsES36n.js"),__vite__mapDeps([286,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,83,16,84,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-locations/index.tsx":()=>O(()=>import("./index-3N3O8gsF.js"),__vite__mapDeps([287,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,288,18,19]),import.meta.url),"./pages/hr/recruitment/job-locations/view.tsx":()=>O(()=>import("./view-D6YTnx8g.js"),__vite__mapDeps([288,1,61,80,16,8,126,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-postings/create.tsx":()=>O(()=>import("./create-Dxb0-r-t.js"),__vite__mapDeps([289,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,290,177,88,67,145,132,111,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-postings/edit.tsx":()=>O(()=>import("./edit-CYyr8VQA.js"),__vite__mapDeps([291,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,290,177,88,67,145,132,111,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-postings/index.tsx":()=>O(()=>import("./index-PwPT8lUJ.js"),__vite__mapDeps([292,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-postings/show.tsx":()=>O(()=>import("./show-C8XPQCrp.js"),__vite__mapDeps([293,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,58,60,61,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-requisitions/index.tsx":()=>O(()=>import("./index-B-fmjELg.js"),__vite__mapDeps([294,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-types/index.tsx":()=>O(()=>import("./index-Bc7YiNqH.js"),__vite__mapDeps([295,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,128,83,16,84,17,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/create.tsx":()=>O(()=>import("./create-0bJrGrq4.js"),__vite__mapDeps([296,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/edit.tsx":()=>O(()=>import("./edit-BI8SqA1F.js"),__vite__mapDeps([297,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/generate.tsx":()=>O(()=>import("./generate-DaVjSTCS.js"),__vite__mapDeps([298,1,119,17,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/index.tsx":()=>O(()=>import("./index-auPrhmGN.js"),__vite__mapDeps([299,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,298,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/show.tsx":()=>O(()=>import("./show-Dg_yrs0x.js"),__vite__mapDeps([300,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,111,17,18,19]),import.meta.url),"./pages/hr/recruitment/offers/index.tsx":()=>O(()=>import("./index-DJPI4w11.js"),__vite__mapDeps([301,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/offers/show.tsx":()=>O(()=>import("./show-BRSqTYn6.js"),__vite__mapDeps([302,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,60,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/onboarding-checklists/index.tsx":()=>O(()=>import("./index-CjfNXxh5.js"),__vite__mapDeps([303,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,304,18,19]),import.meta.url),"./pages/hr/recruitment/onboarding-checklists/view.tsx":()=>O(()=>import("./view-VLHZOIBe.js"),__vite__mapDeps([304,1,151,126,16,17,18,19]),import.meta.url),"./pages/hr/resignations/index.tsx":()=>O(()=>import("./index-CRuRrZQd.js"),__vite__mapDeps([305,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,306,68,18,19]),import.meta.url),"./pages/hr/resignations/view.tsx":()=>O(()=>import("./view-BJnRcI3c.js"),__vite__mapDeps([306,1,68,52,44,46,117,17,18,19]),import.meta.url),"./pages/hr/salary-components/index.tsx":()=>O(()=>import("./index-CGuthwIf.js"),__vite__mapDeps([307,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,159,158,83,16,84,140,17,18,19]),import.meta.url),"./pages/hr/shifts/calendar.tsx":()=>O(()=>import("./calendar-D4496zB_.js"),__vite__mapDeps([308,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,129,17,18,19]),import.meta.url),"./pages/hr/shifts/index.tsx":()=>O(()=>import("./index-BtHNL129.js"),__vite__mapDeps([309,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,77,65,66,17,59,67,310,152,16,18,19,117,83,84]),import.meta.url),"./pages/hr/shifts/view.tsx":()=>O(()=>import("./view-BM_2i5d_.js"),__vite__mapDeps([310,1,152,46,48,16,17,18,19]),import.meta.url),"./pages/hr/statutory-brackets/index.tsx":()=>O(()=>import("./index-CyRy-HC5.js"),__vite__mapDeps([311,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,17,18,19]),import.meta.url),"./pages/hr/terminations/index.tsx":()=>O(()=>import("./index-BfIV-AaA.js"),__vite__mapDeps([312,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,313,68,18,19]),import.meta.url),"./pages/hr/terminations/view.tsx":()=>O(()=>import("./view-BnvT1Xkw.js"),__vite__mapDeps([313,1,68,165,153,46,44,117,17,18,19]),import.meta.url),"./pages/hr/thirteenth-month/index.tsx":()=>O(()=>import("./index-CtUZEotS.js"),__vite__mapDeps([314,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,120,78,59,100,150,17,18,19]),import.meta.url),"./pages/hr/time-entries/index.tsx":()=>O(()=>import("./index-DK_uunBY.js"),__vite__mapDeps([315,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,188,189,316,18,19]),import.meta.url),"./pages/hr/time-entries/view.tsx":()=>O(()=>import("./view-DvxHpVLL.js"),__vite__mapDeps([316,1,107,109,106,46,42,44,40,17,18,19]),import.meta.url),"./pages/hr/training/assessments/index.tsx":()=>O(()=>import("./index-DrkH3Prc.js"),__vite__mapDeps([317,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/training/assessments/show.tsx":()=>O(()=>import("./show-BHknxJ8v.js"),__vite__mapDeps([318,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,87,69,70,71,25,72,73,74,75,76,77,56,83,157,17,18,19]),import.meta.url),"./pages/hr/training/employee-trainings/dashboard.tsx":()=>O(()=>import("./dashboard-EyalI_Q2.js"),__vite__mapDeps([319,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,67,17,18,19]),import.meta.url),"./pages/hr/training/employee-trainings/index.tsx":()=>O(()=>import("./index-DymbFq2j.js"),__vite__mapDeps([320,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,68,18,19]),import.meta.url),"./pages/hr/training/employee-trainings/show.tsx":()=>O(()=>import("./show-CdcCQjuW.js"),__vite__mapDeps([321,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,87,69,70,71,25,72,73,74,75,76,77,176,56,83,157,114,17,18,19]),import.meta.url),"./pages/hr/training/programs/index.tsx":()=>O(()=>import("./index-CtOmUlkv.js"),__vite__mapDeps([322,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/training/programs/show.tsx":()=>O(()=>import("./show-Cv_bOZu9.js"),__vite__mapDeps([323,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,56,17,18,19]),import.meta.url),"./pages/hr/training/sessions/calendar.tsx":()=>O(()=>import("./calendar-DZXr_GgA.js"),__vite__mapDeps([324,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,53,67,17,18,19]),import.meta.url),"./pages/hr/training/sessions/index.tsx":()=>O(()=>import("./index-Q_JgswJm.js"),__vite__mapDeps([325,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/training/sessions/show.tsx":()=>O(()=>import("./show-BwK500r8.js"),__vite__mapDeps([326,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,87,69,70,71,25,72,73,74,75,76,77,68,56,17,18,19]),import.meta.url),"./pages/hr/training/types/index.tsx":()=>O(()=>import("./index-Btn7vxVU.js"),__vite__mapDeps([327,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,328,18,19]),import.meta.url),"./pages/hr/training/types/view.tsx":()=>O(()=>import("./view-NP05V4-N.js"),__vite__mapDeps([328,1,98,105,123,80,17,18,19]),import.meta.url),"./pages/hr/transfers/index.tsx":()=>O(()=>import("./index-C73ZUJCW.js"),__vite__mapDeps([329,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,330,18,19,68]),import.meta.url),"./pages/hr/transfers/view.tsx":()=>O(()=>import("./view-Beyn6LUJ.js"),__vite__mapDeps([330,1,91,123,92,80,40,44,16,117,17,18,19]),import.meta.url),"./pages/hr/trips/expenses.tsx":()=>O(()=>import("./expenses-BdrPMJrA.js"),__vite__mapDeps([331,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,17,18,19]),import.meta.url),"./pages/hr/trips/index.tsx":()=>O(()=>import("./index-BHfZYVNr.js"),__vite__mapDeps([332,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,333,18,19,68]),import.meta.url),"./pages/hr/trips/view.tsx":()=>O(()=>import("./view-CaHtUUUu.js"),__vite__mapDeps([333,1,142,61,44,49,117,17,18,19]),import.meta.url),"./pages/hr/warnings/index.tsx":()=>O(()=>import("./index-eZPreZA5.js"),__vite__mapDeps([334,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,335,68,18,19]),import.meta.url),"./pages/hr/warnings/view.tsx":()=>O(()=>import("./view-65Z7yBvm.js"),__vite__mapDeps([335,1,68,160,153,42,44,117,17,18,19]),import.meta.url),"./pages/landing-page/components/AboutUs.tsx":()=>O(()=>import("./AboutUs-NnRpFGtj.js"),__vite__mapDeps([336,1,337,168,43,127,58,130,94,154,17,18,19]),import.meta.url),"./pages/landing-page/components/ContactSection.tsx":()=>O(()=>import("./ContactSection-B2xucE0P.js"),__vite__mapDeps([338,1,23,141,61,147,17,18,19]),import.meta.url),"./pages/landing-page/components/FaqSection.tsx":()=>O(()=>import("./FaqSection-D26nrHhP.js"),__vite__mapDeps([339,1,34,17,18,19]),import.meta.url),"./pages/landing-page/components/FeaturesSection.tsx":()=>O(()=>import("./FeaturesSection-BbnHd1Fx.js"),__vite__mapDeps([340,1,337,105,94,164,46,49,127,149,16,43,168,58,8,103,144,17,18,19]),import.meta.url),"./pages/landing-page/components/Footer.tsx":()=>O(()=>import("./Footer-EjF7VPLK.js"),__vite__mapDeps([341,1,23,141,61,118,133,17,18,19]),import.meta.url),"./pages/landing-page/components/Header.tsx":()=>O(()=>import("./Header-DgbIWCbH.js"),__vite__mapDeps([342,1,135,17,18,19]),import.meta.url),"./pages/landing-page/components/HeroSection.tsx":()=>O(()=>import("./HeroSection-DDk-8ZQO.js"),__vite__mapDeps([343,1,92,143,17,18,19]),import.meta.url),"./pages/landing-page/components/LivePreview.tsx":()=>O(()=>import("./LivePreview-CVzyG3uV.js"),__vite__mapDeps([344,1,117,107,106,141,23,8,17,18,19]),import.meta.url),"./pages/landing-page/components/NewsletterSection.tsx":()=>O(()=>import("./NewsletterSection-B7eU_dYx.js"),__vite__mapDeps([345,1,23,17,18,19]),import.meta.url),"./pages/landing-page/components/PlansSection.tsx":()=>O(()=>import("./PlansSection-MkqH7YpJ.js"),__vite__mapDeps([346,1,337,92,17,18,19]),import.meta.url),"./pages/landing-page/components/ScreenshotsSection.tsx":()=>O(()=>import("./ScreenshotsSection-Cufxpz-n.js"),__vite__mapDeps([347,1,337,138,17,18,19]),import.meta.url),"./pages/landing-page/components/SectionNavigation.tsx":()=>O(()=>import("./SectionNavigation-S6sEAPik.js"),__vite__mapDeps([348,1,9,93,111,162,8,138,94,82,43,13,108,23,141,17,18,19]),import.meta.url),"./pages/landing-page/components/TeamSection.tsx":()=>O(()=>import("./TeamSection-CQZvlFRV.js"),__vite__mapDeps([349,1,133,23,17,18,19]),import.meta.url),"./pages/landing-page/components/TestimonialsSection.tsx":()=>O(()=>import("./TestimonialsSection-DTvM3atF.js"),__vite__mapDeps([350,1,337,145,58,17,18,19]),import.meta.url),"./pages/landing-page/components/WhyChooseUs.tsx":()=>O(()=>import("./WhyChooseUs-B0lIb9AU.js"),__vite__mapDeps([351,1,337,104,128,94,127,58,107,168,43,46,17,18,19]),import.meta.url),"./pages/landing-page/custom-page.tsx":()=>O(()=>import("./custom-page-DdQaGiXq.js"),__vite__mapDeps([352,1,342,135,17,18,19,341,23,141,61,118,133,12]),import.meta.url),"./pages/landing-page/custom-pages/create.tsx":()=>O(()=>import("./create-D4Jx_5ir.js"),__vite__mapDeps([353,1,31,177,88,67,145,132,111,10,11,30,32,33,34,6,35,36,15,37,5,7,8,9,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,354,56,17,18,19]),import.meta.url),"./pages/landing-page/custom-pages/edit.tsx":()=>O(()=>import("./edit-YozH1frd.js"),__vite__mapDeps([355,1,31,177,88,67,145,132,111,10,11,30,32,33,34,6,35,36,15,37,5,7,8,9,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,354,56,17,18,19]),import.meta.url),"./pages/landing-page/custom-pages/index.tsx":()=>O(()=>import("./index-wKY5eTpk.js"),__vite__mapDeps([356,1,65,66,32,33,11,34,17,44,59,67,39,30,31,6,35,36,15,37,5,7,8,9,10,38,40,13,41,42,43,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,82,128,129,130,131,132,133,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,354,18,19]),import.meta.url),"./pages/landing-page/index.tsx":()=>O(()=>import("./index-BvhZLF0G.js"),__vite__mapDeps([357,1,342,135,17,18,19,343,92,143,340,337,105,94,164,46,49,127,149,16,43,168,58,8,103,144,347,138,351,104,128,107,336,130,154,349,133,23,350,145,346,339,34,345,338,141,61,147,341,118,12]),import.meta.url),"./pages/landing-page/settings-about.tsx":()=>O(()=>import("./settings-about-qj_gVNSa.js"),__vite__mapDeps([358,1,31,10,11,162,103,84,43,17,18,19]),import.meta.url),"./pages/landing-page/settings-contact.tsx":()=>O(()=>import("./settings-contact-D97GUGau.js"),__vite__mapDeps([359,1,10,11,141,61,17,18,19]),import.meta.url),"./pages/landing-page/settings-features.tsx":()=>O(()=>import("./settings-features-CF0Deece.js"),__vite__mapDeps([360,1,31,10,11,162,58,84,17,18,19]),import.meta.url),"./pages/landing-page/settings-templates.tsx":()=>O(()=>import("./settings-templates-Cq-_M1uj.js"),__vite__mapDeps([361,1,31,10,11,162,17,18,19]),import.meta.url),"./pages/landing-page/settings.tsx":()=>O(()=>import("./settings-DrBp48X9.js"),__vite__mapDeps([362,1,31,10,11,30,32,33,34,6,35,36,15,37,5,7,8,9,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,354,360,162,58,84,17,18,19,358,103,93,111,94,138,82,108,23,141,124,117]),import.meta.url),"./pages/login-history/index.tsx":()=>O(()=>import("./index-JNaZNbb5.js"),__vite__mapDeps([363,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,18,19]),import.meta.url),"./pages/manage-language.tsx":()=>O(()=>import("./manage-language-DAJxJI26.js"),__vite__mapDeps([364,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,73,77,95,117,84,17,18,19]),import.meta.url),"./pages/media-library.tsx":()=>O(()=>import("./media-library-CVnwKZ3E.js"),__vite__mapDeps([365,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,122,67,125,82,114,84,17,18,19]),import.meta.url),"./pages/meetings/action-items/index.tsx":()=>O(()=>import("./index-Cw_jOgcF.js"),__vite__mapDeps([366,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,367,18,19]),import.meta.url),"./pages/meetings/action-items/view.tsx":()=>O(()=>import("./view-Bdd5ZGnN.js"),__vite__mapDeps([367,1,151,42,44,160,17,18,19]),import.meta.url),"./pages/meetings/meeting-attendees/index.tsx":()=>O(()=>import("./index-DY0XThH_.js"),__vite__mapDeps([368,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,369,18,19]),import.meta.url),"./pages/meetings/meeting-attendees/view.tsx":()=>O(()=>import("./view-BVCyb0_e.js"),__vite__mapDeps([369,1,43,42,45,46,107,17,18,19]),import.meta.url),"./pages/meetings/meeting-minutes/index.tsx":()=>O(()=>import("./index-C2Giv46P.js"),__vite__mapDeps([370,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,371,18,19]),import.meta.url),"./pages/meetings/meeting-minutes/view.tsx":()=>O(()=>import("./view-Wi8QiEXn.js"),__vite__mapDeps([371,1,45,42,46,17,18,19]),import.meta.url),"./pages/meetings/meeting-rooms/index.tsx":()=>O(()=>import("./index-CAMmBsqQ.js"),__vite__mapDeps([372,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,373,18,19]),import.meta.url),"./pages/meetings/meeting-rooms/view.tsx":()=>O(()=>import("./view-DFM6GxUi.js"),__vite__mapDeps([373,1,138,61,43,16,126,132,17,18,19]),import.meta.url),"./pages/meetings/meeting-types/index.tsx":()=>O(()=>import("./index-C6IQESMF.js"),__vite__mapDeps([374,1,77,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,83,16,84,17,18,19]),import.meta.url),"./pages/meetings/meetings/index.tsx":()=>O(()=>import("./index-DI4MMbI0.js"),__vite__mapDeps([375,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,376,18,19]),import.meta.url),"./pages/meetings/meetings/view.tsx":()=>O(()=>import("./view-cRrRneW8.js"),__vite__mapDeps([376,1,45,46,42,61,7,17,18,19]),import.meta.url),"./pages/newsletters/index.tsx":()=>O(()=>import("./index-BdMii99d.js"),__vite__mapDeps([377,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,18,19]),import.meta.url),"./pages/permissions/index.tsx":()=>O(()=>import("./index-CDq03yuW.js"),__vite__mapDeps([378,1,379,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,17,18,19]),import.meta.url),"./pages/plans/create.tsx":()=>O(()=>import("./create-DOeqbBui.js"),__vite__mapDeps([380,1,381,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,17,18,19]),import.meta.url),"./pages/plans/edit.tsx":()=>O(()=>import("./edit-V_ht8tGC.js"),__vite__mapDeps([382,1,381,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,17,18,19]),import.meta.url),"./pages/plans/form.tsx":()=>O(()=>import("./form-BrKq2IwS.js"),__vite__mapDeps([381,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,17,18,19]),import.meta.url),"./pages/plans/index.tsx":()=>O(()=>import("./index-BxTsFXQg.js"),__vite__mapDeps([383,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,77,107,115,166,189,82,106,153,113,168,125,78,83,84,96,17,384,18,19]),import.meta.url),"./pages/plans/plan-orders.tsx":()=>O(()=>import("./plan-orders-pzF9lx7Z.js"),__vite__mapDeps([385,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,65,66,17,18,19]),import.meta.url),"./pages/plans/plan-request.tsx":()=>O(()=>import("./plan-request-DxRHFYGR.js"),__vite__mapDeps([386,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,65,66,17,18,19]),import.meta.url),"./pages/referral/components/payout-requests.tsx":()=>O(()=>import("./payout-requests-Bo6HO_ay.js"),__vite__mapDeps([387,1,31,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,36,40,80,60,100,101,45,44,102,103,104,105,34,62,38,106,107,78,108,109,71,110,46,111,50,37,13,112,113,49,114,115,116,117,118,119,120,121,59,47,122,41,123,8,124,125,126,127,82,128,39,129,130,131,132,133,67,15,76,16,134,52,23,61,135,136,137,138,139,140,141,142,143,144,145,7,146,147,148,9,149,150,151,83,58,152,153,154,155,156,48,84,157,158,159,160,161,162,163,164,165,42,43,166,167,168,17,18,19]),import.meta.url),"./pages/referral/components/referral-dashboard.tsx":()=>O(()=>import("./referral-dashboard-EJIXIPEg.js"),__vite__mapDeps([388,1,43,46,49,159,94,23,44,37,17,18,19]),import.meta.url),"./pages/referral/components/referral-settings.tsx":()=>O(()=>import("./referral-settings-C9bquCXp.js"),__vite__mapDeps([389,1,31,10,11,17,18,19]),import.meta.url),"./pages/referral/components/referred-users-section.tsx":()=>O(()=>import("./referred-users-section-Cl-gSTeU.js"),__vite__mapDeps([390,1,65,43,107,49,44,17,18,19]),import.meta.url),"./pages/referral/index.tsx":()=>O(()=>import("./index-D7EeyNZo.js"),__vite__mapDeps([391,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,73,354,388,159,94,23,17,18,19,387,86,87,88,89,90,56,91,92,93,81,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,160,161,162,163,164,165,166,167,168,389,390,65]),import.meta.url),"./pages/referral/referred-users.tsx":()=>O(()=>import("./referred-users-C2Xmp0nE.js"),__vite__mapDeps([392,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,107,56,17,18,19]),import.meta.url),"./pages/roles/index.tsx":()=>O(()=>import("./index-BO8kK88b.js"),__vite__mapDeps([393,1,379,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,17,18,19]),import.meta.url),"./pages/settings/components/brand-settings.tsx":()=>O(()=>Promise.resolve().then(()=>$3),void 0,import.meta.url),"./pages/settings/components/cache-settings.tsx":()=>O(()=>import("./cache-settings-CSv5JD42.js"),__vite__mapDeps([394,1,125,84,17,18,19]),import.meta.url),"./pages/settings/components/chatgpt-settings.tsx":()=>O(()=>import("./chatgpt-settings-DS2lPGzN.js"),__vite__mapDeps([395,1,32,33,11,34,17,18,19]),import.meta.url),"./pages/settings/components/cookie-settings.tsx":()=>O(()=>import("./cookie-settings-ZygGKw1c.js"),__vite__mapDeps([396,1,31,10,11,114,17,18,19]),import.meta.url),"./pages/settings/components/currency-settings.tsx":()=>O(()=>import("./currency-settings-WgmyxKUz.js"),__vite__mapDeps([397,1,32,33,11,34,10,49,82,17,18,19]),import.meta.url),"./pages/settings/components/email-notification-settings.tsx":()=>O(()=>import("./email-notification-settings-C-4YCEEU.js"),__vite__mapDeps([398,1,10,11,176,73,33,97,17,18,19]),import.meta.url),"./pages/settings/components/email-settings.tsx":()=>O(()=>import("./email-settings-CgeSmhsA.js"),__vite__mapDeps([399,1,32,33,11,34,189,23,148,106,42,16,147,17,18,19]),import.meta.url),"./pages/settings/components/experience-certificate-settings.tsx":()=>O(()=>import("./experience-certificate-settings-BUN-EjHN.js"),__vite__mapDeps([400,1,32,33,11,34,177,88,67,145,132,111,6,82,17,18,19]),import.meta.url),"./pages/settings/components/google-calendar-settings.tsx":()=>O(()=>import("./google-calendar-settings-ByBUhdYk.js"),__vite__mapDeps([401,1,10,11,17,18,19]),import.meta.url),"./pages/settings/components/ip-restriction-settings.tsx":()=>O(()=>import("./ip-restriction-settings-0-6ixzy_.js"),__vite__mapDeps([402,1,77,69,31,32,33,11,34,70,71,25,10,72,73,74,75,76,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,36,40,80,60,100,101,45,44,102,103,104,105,62,38,106,107,78,108,109,110,46,111,50,37,13,112,113,49,114,115,116,117,118,119,120,121,59,47,122,41,123,8,124,125,126,127,82,128,39,129,130,131,132,133,67,15,16,134,52,23,61,135,136,137,138,139,140,141,142,143,144,145,7,146,147,148,9,149,150,151,83,58,152,153,154,155,156,48,84,157,158,159,160,161,162,163,164,165,42,43,166,167,168,17,18,19]),import.meta.url),"./pages/settings/components/joining-letter-settings.tsx":()=>O(()=>import("./joining-letter-settings-6wlzZ749.js"),__vite__mapDeps([403,1,32,33,11,34,177,88,67,145,132,111,6,82,17,18,19]),import.meta.url),"./pages/settings/components/noc-settings.tsx":()=>O(()=>import("./noc-settings-Bp7HoVl3.js"),__vite__mapDeps([404,1,32,33,11,34,177,88,67,145,132,111,6,82,17,18,19]),import.meta.url),"./pages/settings/components/payment-settings.tsx":()=>O(()=>import("./payment-settings-BTgVS2wQ.js"),__vite__mapDeps([405,1,31,32,33,11,34,189,10,106,116,117,70,71,96,13,166,50,17,18,19]),import.meta.url),"./pages/settings/components/recaptcha-settings.tsx":()=>O(()=>import("./recaptcha-settings-C2nUOtIM.js"),__vite__mapDeps([406,1,32,33,11,34,10,17,18,19]),import.meta.url),"./pages/settings/components/seo-settings.tsx":()=>O(()=>import("./seo-settings-BcLiux8O.js"),__vite__mapDeps([407,1,31,130,17,18,19]),import.meta.url),"./pages/settings/components/storage-settings.tsx":()=>O(()=>import("./storage-settings-B8KLOCSA.js"),__vite__mapDeps([408,1,176,25,11,125,17,18,19]),import.meta.url),"./pages/settings/components/stripe-settings.tsx":()=>O(()=>import("./stripe-settings-SOBEkVu7.js"),__vite__mapDeps([409,1,10,11,189,13,106,116,117,17,18,19]),import.meta.url),"./pages/settings/components/system-settings.tsx":()=>O(()=>import("./system-settings-BOfM4ZSu.js"),__vite__mapDeps([410,1,32,33,11,34,10,35,6,17,18,19]),import.meta.url),"./pages/settings/components/webhook-settings.tsx":()=>O(()=>import("./webhook-settings-CwIqQy22.js"),__vite__mapDeps([411,1,32,33,11,34,87,77,131,83,84,17,18,19]),import.meta.url),"./pages/settings/components/working-days-settings.tsx":()=>O(()=>import("./working-days-settings-CLpYREMh.js"),__vite__mapDeps([412,1,10,11,46,17,18,19]),import.meta.url),"./pages/settings/index.tsx":()=>O(()=>import("./index-CIa3Xokp.js"),__vite__mapDeps([413,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,73,410,17,18,19,397,82,399,189,23,148,106,16,147,405,116,117,70,71,96,166,408,176,25,125,406,395,396,114,407,130,394,84,412,402,77,69,72,74,75,76,86,87,88,89,90,56,91,92,93,81,94,95,97,98,99,80,60,100,101,102,103,104,105,62,107,78,108,109,110,111,112,113,115,118,119,120,121,59,122,123,124,126,127,128,129,131,132,133,67,134,61,135,136,137,138,139,140,141,142,143,144,145,146,149,150,151,83,58,152,153,154,155,156,157,158,159,160,161,162,163,164,165,167,168,404,177,400,403,354]),import.meta.url),"./pages/settings/profile-settings.tsx":()=>O(()=>import("./profile-settings-CiqFstUU.js"),__vite__mapDeps([414,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,3,102,16,17,18,19]),import.meta.url),"./pages/superadmin/dashboard.tsx":()=>O(()=>import("./dashboard-Cq38_JDx.js"),__vite__mapDeps([415,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,80,153,117,92,159,106,164,156,17,18,19]),import.meta.url),"./pages/users/index.tsx":()=>O(()=>import("./index-Cc1Iv67H.js"),__vite__mapDeps([416,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,66,17,59,67,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,82,128,129,130,131,132,133,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,68,417,18,19]),import.meta.url),"./pages/users/view.tsx":()=>O(()=>import("./view-DyPRc1fN.js"),__vite__mapDeps([417,1,42,23,16,44,150,17,18,19]),import.meta.url),"./pages/welcome.tsx":()=>O(()=>import("./welcome-BzDbO2My.js"),__vite__mapDeps([418,1,17,18,19]),import.meta.url)});return lL(`./pages/${t}.tsx`,r).then(a=>{const o=a.default,l=o.layout;return o.layout=u=>{const f=l?l(u):u;return x.jsx(n4,{children:f})},a})},setup({el:t,App:r,props:a}){const o=a.initialPage.props.globalSettings||{};SL(o);try{window.page=a.initialPage}catch{}const l=pL.createRoot(t);xL();const u=()=>l.render(x.jsx(r,{...a}));Bt.isInitialized?u():Bt.on("initialized",u)},progress:{color:"#4B5563"}});export{L4 as $,M3 as A,Z0 as B,P_ as C,V3 as D,BP as E,PP as F,Xn as G,E4 as H,_a as I,xn as J,JS as K,Gn as L,fp as M,F4 as N,H4 as O,Y0 as P,k4 as Q,B4 as R,GP as S,mL as T,b_ as U,xa as V,R4 as W,Sm as X,H_ as Y,T4 as Z,wm as _,Y_ as a,j4 as a0,P4 as a1,M4 as a2,z4 as a3,U4 as a4,V4 as a5,q4 as a6,e_ as a7,A4 as a8,C4 as a9,N4 as aa,D4 as ab,Hp as ac,up as ad,Rs as ae,h_ as af,O4 as ag,TM as ah,UP as ai,v_ as aj,NP as ak,L_ as al,Ql as am,bm as an,dt as ao,z3 as ap,Bt as aq,$4 as ar,I3 as as,nL as b,ym as c,w4 as d,Me as e,BS as f,Ka as g,k_ as h,I4 as i,I_ as j,$_ as k,V_ as l,M_ as m,z_ as n,vt as o,F_ as p,H3 as q,Aa as r,KM as s,G4 as t,oj as u,QM as v,ZM as w,J0 as x,$P as y,U_ as z}; + `,children:[x.jsx("div",{className:`p-1 border-b border-sidebar-border flex items-center justify-center overflow-hidden ${y()}`,children:!m&&h()?x.jsx("img",{src:h(),alt:S(),className:"h-5 max-w-[60px] object-contain",onError:()=>g(!0)},`preview-${t}-${h()}`):x.jsx("div",{className:"h-5 text-inherit font-semibold flex items-center text-xs tracking-tight",children:S()})}),x.jsxs("div",{className:"flex-1 p-2 space-y-1 overflow-hidden",children:[x.jsx(Fi,{showIcon:!0,active:!0}),x.jsx(Fi,{showIcon:!0}),x.jsx(Fi,{showIcon:!0}),x.jsx(Fi,{showIcon:!0}),l!=="icon"&&x.jsxs("div",{className:"ml-4 pl-2 border-l border-sidebar-border mt-2 space-y-1",children:[x.jsx(Fi,{showIcon:!0}),x.jsx(Fi,{showIcon:!0})]})]})]}),x.jsx("div",{className:`flex-1 bg-background text-foreground p-4 ${o==="inset"?"rounded-lg m-2":""}`,children:x.jsxs("div",{className:"space-y-4",children:[x.jsx(vr,{className:"h-8 w-3/4"}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(vr,{className:"h-4 w-full"}),x.jsx(vr,{className:"h-4 w-5/6"}),x.jsx(vr,{className:"h-4 w-4/6"})]}),x.jsxs("div",{className:"flex gap-2 mt-4",children:[x.jsx(vr,{className:"h-8 w-20 rounded-md bg-primary"}),x.jsx(vr,{className:"h-8 w-20 rounded-md"})]}),x.jsxs("div",{className:"grid grid-cols-2 gap-4 mt-4",children:[x.jsx(vr,{className:"h-20 rounded-md"}),x.jsx(vr,{className:"h-20 rounded-md"})]})]})})]})]})}function l3(t){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",r.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}const u3=t=>{switch(t){case"success":return d3;case"info":return m3;case"warning":return p3;case"error":return h3;default:return null}},c3=Array(12).fill(0),f3=({visible:t,className:r})=>fe.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":t},fe.createElement("div",{className:"sonner-spinner"},c3.map((a,o)=>fe.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),d3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),p3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),m3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),h3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),g3=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},fe.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),fe.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),y3=()=>{const[t,r]=fe.useState(document.hidden);return fe.useEffect(()=>{const a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),t};let Ip=1;class v3{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{const a=this.subscribers.indexOf(r);this.subscribers.splice(a,1)}),this.publish=r=>{this.subscribers.forEach(a=>a(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var a;const{message:o,...l}=r,u=typeof(r==null?void 0:r.id)=="number"||((a=r.id)==null?void 0:a.length)>0?r.id:Ip++,f=this.toasts.find(m=>m.id===u),p=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(u)&&this.dismissedToasts.delete(u),f?this.toasts=this.toasts.map(m=>m.id===u?(this.publish({...m,...r,id:u,title:o}),{...m,...r,id:u,dismissible:p,title:o}):m):this.addToast({title:o,...l,dismissible:p,id:u}),u},this.dismiss=r=>(r?(this.dismissedToasts.add(r),requestAnimationFrame(()=>this.subscribers.forEach(a=>a({id:r,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(o=>o({id:a.id,dismiss:!0}))}),r),this.message=(r,a)=>this.create({...a,message:r}),this.error=(r,a)=>this.create({...a,message:r,type:"error"}),this.success=(r,a)=>this.create({...a,type:"success",message:r}),this.info=(r,a)=>this.create({...a,type:"info",message:r}),this.warning=(r,a)=>this.create({...a,type:"warning",message:r}),this.loading=(r,a)=>this.create({...a,type:"loading",message:r}),this.promise=(r,a)=>{if(!a)return;let o;a.loading!==void 0&&(o=this.create({...a,promise:r,type:"loading",message:a.loading,description:typeof a.description!="function"?a.description:void 0}));const l=Promise.resolve(r instanceof Function?r():r);let u=o!==void 0,f;const p=l.then(async g=>{if(f=["resolve",g],fe.isValidElement(g))u=!1,this.create({id:o,type:"default",message:g});else if(x3(g)&&!g.ok){u=!1;const h=typeof a.error=="function"?await a.error(`HTTP error! status: ${g.status}`):a.error,S=typeof a.description=="function"?await a.description(`HTTP error! status: ${g.status}`):a.description,b=typeof h=="object"&&!fe.isValidElement(h)?h:{message:h};this.create({id:o,type:"error",description:S,...b})}else if(g instanceof Error){u=!1;const h=typeof a.error=="function"?await a.error(g):a.error,S=typeof a.description=="function"?await a.description(g):a.description,b=typeof h=="object"&&!fe.isValidElement(h)?h:{message:h};this.create({id:o,type:"error",description:S,...b})}else if(a.success!==void 0){u=!1;const h=typeof a.success=="function"?await a.success(g):a.success,S=typeof a.description=="function"?await a.description(g):a.description,b=typeof h=="object"&&!fe.isValidElement(h)?h:{message:h};this.create({id:o,type:"success",description:S,...b})}}).catch(async g=>{if(f=["reject",g],a.error!==void 0){u=!1;const y=typeof a.error=="function"?await a.error(g):a.error,h=typeof a.description=="function"?await a.description(g):a.description,T=typeof y=="object"&&!fe.isValidElement(y)?y:{message:y};this.create({id:o,type:"error",description:h,...T})}}).finally(()=>{u&&(this.dismiss(o),o=void 0),a.finally==null||a.finally.call(a)}),m=()=>new Promise((g,y)=>p.then(()=>f[0]==="reject"?y(f[1]):g(f[1])).catch(y));return typeof o!="string"&&typeof o!="number"?{unwrap:m}:Object.assign(o,{unwrap:m})},this.custom=(r,a)=>{const o=(a==null?void 0:a.id)||Ip++;return this.create({jsx:r(o),id:o,...a}),o},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const vn=new v3,b3=(t,r)=>{const a=(r==null?void 0:r.id)||Ip++;return vn.addToast({title:t,...r,id:a}),a},x3=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",S3=b3,_3=()=>vn.toasts,E3=()=>vn.getActiveToasts(),xn=Object.assign(S3,{success:vn.success,info:vn.info,warning:vn.warning,error:vn.error,custom:vn.custom,message:vn.message,promise:vn.promise,dismiss:vn.dismiss,loading:vn.loading},{getHistory:_3,getToasts:E3});l3("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Zl(t){return t.label!==void 0}const w3=3,T3="24px",A3="16px",K0=4e3,O3=356,R3=14,C3=45,D3=200;function gr(...t){return t.filter(Boolean).join(" ")}function N3(t){const[r,a]=t.split("-"),o=[];return r&&o.push(r),a&&o.push(a),o}const L3=t=>{var r,a,o,l,u,f,p,m,g;const{invert:y,toast:h,unstyled:S,interacting:T,setHeights:b,visibleToasts:_,heights:E,index:C,toasts:L,expanded:z,removeToast:F,defaultRichColors:ee,closeButton:U,style:D,cancelButtonStyle:P,actionButtonStyle:k,className:ne="",descriptionClassName:q="",duration:K,position:I,gap:ae,expandByDefault:pe,classNames:R,icons:B,closeButtonAriaLabel:j="Close toast"}=t,[Y,le]=fe.useState(null),[de,Q]=fe.useState(null),[J,se]=fe.useState(!1),[me,Te]=fe.useState(!1),[Oe,Se]=fe.useState(!1),[Ae,he]=fe.useState(!1),[ce,ue]=fe.useState(!1),[ze,Qe]=fe.useState(0),[bt,Ye]=fe.useState(0),pt=fe.useRef(h.duration||K||K0),at=fe.useRef(null),it=fe.useRef(null),kt=C===0,Ot=C+1<=_,ht=h.type,Tt=h.dismissible!==!1,Ue=h.className||"",ye=h.descriptionClassName||"",Pe=fe.useMemo(()=>E.findIndex(we=>we.toastId===h.id)||0,[E,h.id]),_e=fe.useMemo(()=>{var we;return(we=h.closeButton)!=null?we:U},[h.closeButton,U]),Ce=fe.useMemo(()=>h.duration||K||K0,[h.duration,K]),Ke=fe.useRef(0),Nt=fe.useRef(0),nt=fe.useRef(0),Jt=fe.useRef(null),[Pn,It]=I.split("-"),on=fe.useMemo(()=>E.reduce((we,Ze,Rt)=>Rt>=Pe?we:we+Ze.height,0),[E,Pe]),H=y3(),Z=h.invert||y,Be=ht==="loading";Nt.current=fe.useMemo(()=>Pe*ae+on,[Pe,on]),fe.useEffect(()=>{pt.current=Ce},[Ce]),fe.useEffect(()=>{se(!0)},[]),fe.useEffect(()=>{const we=it.current;if(we){const Ze=we.getBoundingClientRect().height;return Ye(Ze),b(Rt=>[{toastId:h.id,height:Ze,position:h.position},...Rt]),()=>b(Rt=>Rt.filter(At=>At.toastId!==h.id))}},[b,h.id]),fe.useLayoutEffect(()=>{if(!J)return;const we=it.current,Ze=we.style.height;we.style.height="auto";const Rt=we.getBoundingClientRect().height;we.style.height=Ze,Ye(Rt),b(At=>At.find(gt=>gt.toastId===h.id)?At.map(gt=>gt.toastId===h.id?{...gt,height:Rt}:gt):[{toastId:h.id,height:Rt,position:h.position},...At])},[J,h.title,h.description,b,h.id,h.jsx,h.action,h.cancel]);const ke=fe.useCallback(()=>{Te(!0),Qe(Nt.current),b(we=>we.filter(Ze=>Ze.toastId!==h.id)),setTimeout(()=>{F(h)},D3)},[h,F,b,Nt]);fe.useEffect(()=>{if(h.promise&&ht==="loading"||h.duration===1/0||h.type==="loading")return;let we;return z||T||H?(()=>{if(nt.current{pt.current!==1/0&&(Ke.current=new Date().getTime(),we=setTimeout(()=>{h.onAutoClose==null||h.onAutoClose.call(h,h),ke()},pt.current))})(),()=>clearTimeout(we)},[z,T,h,ht,H,ke]),fe.useEffect(()=>{h.delete&&(ke(),h.onDismiss==null||h.onDismiss.call(h,h))},[ke,h.delete]);function We(){var we;if(B!=null&&B.loading){var Ze;return fe.createElement("div",{className:gr(R==null?void 0:R.loader,h==null||(Ze=h.classNames)==null?void 0:Ze.loader,"sonner-loader"),"data-visible":ht==="loading"},B.loading)}return fe.createElement(f3,{className:gr(R==null?void 0:R.loader,h==null||(we=h.classNames)==null?void 0:we.loader),visible:ht==="loading"})}const Le=h.icon||(B==null?void 0:B[ht])||u3(ht);var sn,Yt;return fe.createElement("li",{tabIndex:0,ref:it,className:gr(ne,Ue,R==null?void 0:R.toast,h==null||(r=h.classNames)==null?void 0:r.toast,R==null?void 0:R.default,R==null?void 0:R[ht],h==null||(a=h.classNames)==null?void 0:a[ht]),"data-sonner-toast":"","data-rich-colors":(sn=h.richColors)!=null?sn:ee,"data-styled":!(h.jsx||h.unstyled||S),"data-mounted":J,"data-promise":!!h.promise,"data-swiped":ce,"data-removed":me,"data-visible":Ot,"data-y-position":Pn,"data-x-position":It,"data-index":C,"data-front":kt,"data-swiping":Oe,"data-dismissible":Tt,"data-type":ht,"data-invert":Z,"data-swipe-out":Ae,"data-swipe-direction":de,"data-expanded":!!(z||pe&&J),"data-testid":h.testId,style:{"--index":C,"--toasts-before":C,"--z-index":L.length-C,"--offset":`${me?ze:Nt.current}px`,"--initial-height":pe?"auto":`${bt}px`,...D,...h.style},onDragEnd:()=>{Se(!1),le(null),Jt.current=null},onPointerDown:we=>{we.button!==2&&(Be||!Tt||(at.current=new Date,Qe(Nt.current),we.target.setPointerCapture(we.pointerId),we.target.tagName!=="BUTTON"&&(Se(!0),Jt.current={x:we.clientX,y:we.clientY})))},onPointerUp:()=>{var we,Ze,Rt;if(Ae||!Tt)return;Jt.current=null;const At=Number(((we=it.current)==null?void 0:we.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Mt=Number(((Ze=it.current)==null?void 0:Ze.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),gt=new Date().getTime()-((Rt=at.current)==null?void 0:Rt.getTime()),Wt=Y==="x"?At:Mt,ur=Math.abs(Wt)/gt;if(Math.abs(Wt)>=C3||ur>.11){Qe(Nt.current),h.onDismiss==null||h.onDismiss.call(h,h),Q(Y==="x"?At>0?"right":"left":Mt>0?"down":"up"),ke(),he(!0);return}else{var zt,Xt;(zt=it.current)==null||zt.style.setProperty("--swipe-amount-x","0px"),(Xt=it.current)==null||Xt.style.setProperty("--swipe-amount-y","0px")}ue(!1),Se(!1),le(null)},onPointerMove:we=>{var Ze,Rt,At;if(!Jt.current||!Tt||((Ze=window.getSelection())==null?void 0:Ze.toString().length)>0)return;const gt=we.clientY-Jt.current.y,Wt=we.clientX-Jt.current.x;var ur;const zt=(ur=t.swipeDirections)!=null?ur:N3(I);!Y&&(Math.abs(Wt)>1||Math.abs(gt)>1)&&le(Math.abs(Wt)>Math.abs(gt)?"x":"y");let Xt={x:0,y:0};const Kn=un=>1/(1.5+Math.abs(un)/20);if(Y==="y"){if(zt.includes("top")||zt.includes("bottom"))if(zt.includes("top")&><0||zt.includes("bottom")&>>0)Xt.y=gt;else{const un=gt*Kn(gt);Xt.y=Math.abs(un)0)Xt.x=Wt;else{const un=Wt*Kn(Wt);Xt.x=Math.abs(un)0||Math.abs(Xt.y)>0)&&ue(!0),(Rt=it.current)==null||Rt.style.setProperty("--swipe-amount-x",`${Xt.x}px`),(At=it.current)==null||At.style.setProperty("--swipe-amount-y",`${Xt.y}px`)}},_e&&!h.jsx&&ht!=="loading"?fe.createElement("button",{"aria-label":j,"data-disabled":Be,"data-close-button":!0,onClick:Be||!Tt?()=>{}:()=>{ke(),h.onDismiss==null||h.onDismiss.call(h,h)},className:gr(R==null?void 0:R.closeButton,h==null||(o=h.classNames)==null?void 0:o.closeButton)},(Yt=B==null?void 0:B.close)!=null?Yt:g3):null,(ht||h.icon||h.promise)&&h.icon!==null&&((B==null?void 0:B[ht])!==null||h.icon)?fe.createElement("div",{"data-icon":"",className:gr(R==null?void 0:R.icon,h==null||(l=h.classNames)==null?void 0:l.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||We():null,h.type!=="loading"?Le:null):null,fe.createElement("div",{"data-content":"",className:gr(R==null?void 0:R.content,h==null||(u=h.classNames)==null?void 0:u.content)},fe.createElement("div",{"data-title":"",className:gr(R==null?void 0:R.title,h==null||(f=h.classNames)==null?void 0:f.title)},h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title),h.description?fe.createElement("div",{"data-description":"",className:gr(q,ye,R==null?void 0:R.description,h==null||(p=h.classNames)==null?void 0:p.description)},typeof h.description=="function"?h.description():h.description):null),fe.isValidElement(h.cancel)?h.cancel:h.cancel&&Zl(h.cancel)?fe.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||P,onClick:we=>{Zl(h.cancel)&&Tt&&(h.cancel.onClick==null||h.cancel.onClick.call(h.cancel,we),ke())},className:gr(R==null?void 0:R.cancelButton,h==null||(m=h.classNames)==null?void 0:m.cancelButton)},h.cancel.label):null,fe.isValidElement(h.action)?h.action:h.action&&Zl(h.action)?fe.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||k,onClick:we=>{Zl(h.action)&&(h.action.onClick==null||h.action.onClick.call(h.action,we),!we.defaultPrevented&&ke())},className:gr(R==null?void 0:R.actionButton,h==null||(g=h.classNames)==null?void 0:g.actionButton)},h.action.label):null)};function Q0(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function j3(t,r){const a={};return[t,r].forEach((o,l)=>{const u=l===1,f=u?"--mobile-offset":"--offset",p=u?A3:T3;function m(g){["top","right","bottom","left"].forEach(y=>{a[`${f}-${y}`]=typeof g=="number"?`${g}px`:g})}typeof o=="number"||typeof o=="string"?m(o):typeof o=="object"?["top","right","bottom","left"].forEach(g=>{o[g]===void 0?a[`${f}-${g}`]=p:a[`${f}-${g}`]=typeof o[g]=="number"?`${o[g]}px`:o[g]}):m(p)}),a}const P3=fe.forwardRef(function(r,a){const{id:o,invert:l,position:u="bottom-right",hotkey:f=["altKey","KeyT"],expand:p,closeButton:m,className:g,offset:y,mobileOffset:h,theme:S="light",richColors:T,duration:b,style:_,visibleToasts:E=w3,toastOptions:C,dir:L=Q0(),gap:z=R3,icons:F,containerAriaLabel:ee="Notifications"}=r,[U,D]=fe.useState([]),P=fe.useMemo(()=>o?U.filter(J=>J.toasterId===o):U.filter(J=>!J.toasterId),[U,o]),k=fe.useMemo(()=>Array.from(new Set([u].concat(P.filter(J=>J.position).map(J=>J.position)))),[P,u]),[ne,q]=fe.useState([]),[K,I]=fe.useState(!1),[ae,pe]=fe.useState(!1),[R,B]=fe.useState(S!=="system"?S:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),j=fe.useRef(null),Y=f.join("+").replace(/Key/g,"").replace(/Digit/g,""),le=fe.useRef(null),de=fe.useRef(!1),Q=fe.useCallback(J=>{D(se=>{var me;return(me=se.find(Te=>Te.id===J.id))!=null&&me.delete||vn.dismiss(J.id),se.filter(({id:Te})=>Te!==J.id)})},[]);return fe.useEffect(()=>vn.subscribe(J=>{if(J.dismiss){requestAnimationFrame(()=>{D(se=>se.map(me=>me.id===J.id?{...me,delete:!0}:me))});return}setTimeout(()=>{gw.flushSync(()=>{D(se=>{const me=se.findIndex(Te=>Te.id===J.id);return me!==-1?[...se.slice(0,me),{...se[me],...J},...se.slice(me+1)]:[J,...se]})})})}),[U]),fe.useEffect(()=>{if(S!=="system"){B(S);return}if(S==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;const J=window.matchMedia("(prefers-color-scheme: dark)");try{J.addEventListener("change",({matches:se})=>{B(se?"dark":"light")})}catch{J.addListener(({matches:me})=>{try{B(me?"dark":"light")}catch(Te){console.error(Te)}})}},[S]),fe.useEffect(()=>{U.length<=1&&I(!1)},[U]),fe.useEffect(()=>{const J=se=>{var me;if(f.every(Se=>se[Se]||se.code===Se)){var Oe;I(!0),(Oe=j.current)==null||Oe.focus()}se.code==="Escape"&&(document.activeElement===j.current||(me=j.current)!=null&&me.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",J),()=>document.removeEventListener("keydown",J)},[f]),fe.useEffect(()=>{if(j.current)return()=>{le.current&&(le.current.focus({preventScroll:!0}),le.current=null,de.current=!1)}},[j.current]),fe.createElement("section",{ref:a,"aria-label":`${ee} ${Y}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((J,se)=>{var me;const[Te,Oe]=J.split("-");return P.length?fe.createElement("ol",{key:J,dir:L==="auto"?Q0():L,tabIndex:-1,ref:j,className:g,"data-sonner-toaster":!0,"data-sonner-theme":R,"data-y-position":Te,"data-x-position":Oe,style:{"--front-toast-height":`${((me=ne[0])==null?void 0:me.height)||0}px`,"--width":`${O3}px`,"--gap":`${z}px`,..._,...j3(y,h)},onBlur:Se=>{de.current&&!Se.currentTarget.contains(Se.relatedTarget)&&(de.current=!1,le.current&&(le.current.focus({preventScroll:!0}),le.current=null))},onFocus:Se=>{Se.target instanceof HTMLElement&&Se.target.dataset.dismissible==="false"||de.current||(de.current=!0,le.current=Se.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{ae||I(!1)},onDragEnd:()=>I(!1),onPointerDown:Se=>{Se.target instanceof HTMLElement&&Se.target.dataset.dismissible==="false"||pe(!0)},onPointerUp:()=>pe(!1)},P.filter(Se=>!Se.position&&se===0||Se.position===J).map((Se,Ae)=>{var he,ce;return fe.createElement(L3,{key:Se.id,icons:F,index:Ae,toast:Se,defaultRichColors:T,duration:(he=C==null?void 0:C.duration)!=null?he:b,className:C==null?void 0:C.className,descriptionClassName:C==null?void 0:C.descriptionClassName,invert:l,visibleToasts:E,closeButton:(ce=C==null?void 0:C.closeButton)!=null?ce:m,interacting:ae,position:J,style:C==null?void 0:C.style,unstyled:C==null?void 0:C.unstyled,classNames:C==null?void 0:C.classNames,cancelButtonStyle:C==null?void 0:C.cancelButtonStyle,actionButtonStyle:C==null?void 0:C.actionButtonStyle,closeButtonAriaLabel:C==null?void 0:C.closeButtonAriaLabel,removeToast:Q,toasts:P.filter(ue=>ue.position==Se.position),heights:ne.filter(ue=>ue.position==Se.position),setHeights:q,expandByDefault:p,gap:z,expanded:K,swipeDirections:r.swipeDirections})})):null}))}),P_=A.forwardRef(({className:t,...r},a)=>x.jsx("div",{ref:a,className:Me("rounded-lg border bg-card text-card-foreground shadow-sm",t),...r}));P_.displayName="Card";const M_=A.forwardRef(({className:t,...r},a)=>x.jsx("div",{ref:a,className:Me("flex flex-col space-y-1.5 p-6",t),...r}));M_.displayName="CardHeader";const z_=A.forwardRef(({className:t,...r},a)=>x.jsx("h3",{ref:a,className:Me("text-2xl font-semibold leading-none tracking-tight",t),...r}));z_.displayName="CardTitle";const U_=A.forwardRef(({className:t,...r},a)=>x.jsx("p",{ref:a,className:Me("text-sm text-muted-foreground",t),...r}));U_.displayName="CardDescription";const V_=A.forwardRef(({className:t,...r},a)=>x.jsx("div",{ref:a,className:Me("p-6 pt-0",t),...r}));V_.displayName="CardContent";const M3=A.forwardRef(({className:t,...r},a)=>x.jsx("div",{ref:a,className:Me("flex items-center p-6 pt-0",t),...r}));M3.displayName="CardFooter";function z3({title:t,description:r,children:a,action:o}){return x.jsxs(P_,{className:"mb-6",children:[x.jsx(M_,{className:"pb-3",children:x.jsxs("div",{className:"flex items-center justify-between",children:[x.jsxs("div",{children:[x.jsx(z_,{className:"text-lg font-medium",children:t}),r&&x.jsx(U_,{className:"mt-1.5",children:r})]}),o&&x.jsx("div",{children:o})]})}),x.jsx(V_,{children:a})]})}const q_=A.createContext(void 0);function U3({children:t}){const[r,a]=A.useState([]),o=50,l=A.useCallback(p=>(a(m=>m.includes(p)?m:[...m,p]),o),[]),u=A.useCallback(p=>{a(m=>m.filter(g=>g!==p))},[]),f=A.useCallback(p=>{const m=r.indexOf(p);return m>=0?o+m:o},[r]);return x.jsx(q_.Provider,{value:{registerModal:l,unregisterModal:u,getZIndex:f,modalStack:r},children:t})}function H_(){const t=A.useContext(q_);if(!t)throw new Error("useModalStack must be used within a ModalStackProvider");return t}const V3=ex,$4=yw,q3=nx,B_=A.forwardRef(({className:t,modalId:r,...a},o)=>{const{getZIndex:l,modalStack:u}=H_(),f=r?l(r):50,m=u.indexOf(r||"")<=0;return x.jsx(Xp,{ref:o,className:Me("fixed inset-0 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",m?"bg-black/30":"bg-black/25",t),style:{zIndex:f},onPointerDown:g=>{const y=g.target;if(!((parseInt(window.getComputedStyle(y).zIndex)||0)>f)&&y.closest("[data-chatgpt-button]")){g.stopPropagation();return}},...a})});B_.displayName=Xp.displayName;const k_=A.forwardRef(({className:t,children:r,modalId:a,...o},l)=>{const{registerModal:u,unregisterModal:f,getZIndex:p,modalStack:m}=H_(),[g]=A.useState(()=>a||`modal-${Date.now()}-${Math.random()}`);A.useEffect(()=>(u(g),()=>f(g)),[g,u,f]);const y=p(g),h=m[m.length-1]===g;return x.jsxs(q3,{children:[x.jsx(B_,{modalId:g}),x.jsxs(Yp,{ref:l,className:Me("fixed left-[50%] top-[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 pointer-events-auto",t),style:{zIndex:y+1},onPointerDownOutside:S=>{const T=S.target;if(T.closest("[data-chatgpt-button]")||T.closest("[data-chatgpt-modal]")){S.preventDefault();return}S.preventDefault()},onInteractOutside:S=>{const T=S.target;if(T.closest("[data-chatgpt-button]")||T.closest("[data-chatgpt-modal]")){S.preventDefault();return}S.preventDefault()},onEscapeKeyDown:S=>{h||S.preventDefault()},...o,children:[r,x.jsxs(tx,{className:"absolute right-4 top-4 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 cursor-pointer",children:[x.jsx(Sm,{className:"h-4 w-4"}),x.jsx("span",{className:"sr-only",children:"Close"})]})]})]})});k_.displayName=Yp.displayName;const I_=({className:t,...r})=>x.jsx("div",{className:Me("flex flex-col space-y-1.5 text-center sm:text-left",t),...r});I_.displayName="DialogHeader";const H3=({className:t,...r})=>x.jsx("div",{className:Me("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r});H3.displayName="DialogFooter";const $_=A.forwardRef(({className:t,...r},a)=>x.jsx(Fp,{ref:a,className:Me("text-lg font-semibold leading-none tracking-tight",t),...r}));$_.displayName=Fp.displayName;const F_=A.forwardRef(({className:t,...r},a)=>x.jsx(Gp,{ref:a,className:Me("text-sm text-muted-foreground",t),...r}));F_.displayName=Gp.displayName;const B3=bm("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-auto",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",success:"border-transparent bg-green-100 text-green-800 [a&]:hover:bg-green-200"}},defaultVariants:{variant:"default"}});function Z0({className:t,variant:r,asChild:a=!1,...o}){const l=a?Rs:"span";return x.jsx(l,{"data-slot":"badge",className:Me(B3({variant:r}),t),...o})}const F4=(t,r=[])=>r.includes(t),J0=(t,r)=>Array.isArray(r)?r.some(a=>t.includes(a)):t.includes(r);function k3({isOpen:t,onClose:r,onSelect:a,multiple:o=!1}){const{auth:l}=ym().props,u=(l==null?void 0:l.permissions)||[],f=J0(u,"create-media");J0(u,"manage-media");const[p,m]=A.useState([]),[g,y]=A.useState([]),[h,S]=A.useState(null),[T,b]=A.useState([]),[_,E]=A.useState(!1),[C,L]=A.useState(!1),[z,F]=A.useState([]),[ee,U]=A.useState(!1),[D,P]=A.useState(""),[k,ne]=A.useState(1),q=24,K=A.useCallback(async()=>{E(!0);try{const Q=new URLSearchParams;h&&Q.append("directory_id",h.toString());const J=await fetch(`${route("api.media.index")}?${Q}`,{credentials:"same-origin",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});if(!J.ok)throw new Error(`HTTP error! status: ${J.status}`);const se=await J.json(),me=Array.isArray(se.media)?se.media:Array.isArray(se)?se:[];m(me),y(se.directories||[]),b(me)}catch{xn.error("Failed to load media")}finally{E(!1)}},[h]);A.useEffect(()=>{t&&(K(),P(""))},[t,K]),A.useEffect(()=>{if(!D.trim())b(p);else{const Q=p.filter(J=>J.name.toLowerCase().includes(D.toLowerCase())||J.file_name.toLowerCase().includes(D.toLowerCase()));b(Q)}ne(1)},[D,p]);const I=Math.ceil(T.length/q),ae=(k-1)*q,pe=T.slice(ae,ae+q),R=async Q=>{var me,Te,Oe,Se;L(!0);const J=Array.from(Q);if(J.length===0){L(!1);return}const se=new FormData;J.forEach(Ae=>{se.append("files[]",Ae)});try{const he=await(await O(async()=>{const{default:ue}=await Promise.resolve().then(()=>Tj);return{default:ue}},void 0,import.meta.url)).default.post(route("api.media.batch"),se),ce=he.data;he.status===200||he.status===201?(ce.data&&ce.data.length>0&&m(ue=>[...ce.data,...ue]),ce.errors&&ce.errors.length>0?(xn.warning(ce.message||`${((me=ce.data)==null?void 0:me.length)||0} uploaded, ${ce.errors.length} failed`),ce.errors.forEach(ue=>{xn.error(ue,{duration:5e3})})):xn.success(ce.message||`${((Te=ce.data)==null?void 0:Te.length)||0} file(s) uploaded successfully`)):xn.error(ce.message||"Failed to upload files")}catch(Ae){const he=((Se=(Oe=Ae.response)==null?void 0:Oe.data)==null?void 0:Se.message)||"Error uploading files";xn.error(he)}L(!1)},B=Q=>{Q.preventDefault(),Q.stopPropagation(),Q.type==="dragenter"||Q.type==="dragover"?U(!0):Q.type==="dragleave"&&U(!1)},j=Q=>{Q.preventDefault(),Q.stopPropagation(),U(!1),Q.dataTransfer.files&&Q.dataTransfer.files[0]&&R(Q.dataTransfer.files)},Y=Q=>{o?F(J=>J.includes(Q)?J.filter(se=>se!==Q):[...J,Q]):(a(Q),r())},le=()=>{o&&z.length>0&&(a(z.join(",")),r())},de=Q=>Q.startsWith("image/")?x.jsx(Hp,{className:"h-8 w-8"}):Q.includes("pdf")?x.jsx("div",{className:"h-8 w-8 bg-red-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"PDF"}):Q.includes("word")||Q.includes("document")?x.jsx("div",{className:"h-8 w-8 bg-blue-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"DOC"}):Q.includes("csv")||Q.includes("spreadsheet")?x.jsx("div",{className:"h-8 w-8 bg-green-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"CSV"}):Q.startsWith("video/")?x.jsx("div",{className:"h-8 w-8 bg-purple-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"VID"}):Q.startsWith("audio/")?x.jsx("div",{className:"h-8 w-8 bg-orange-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"AUD"}):x.jsx("div",{className:"h-8 w-8 bg-gray-500 rounded text-white text-sm flex items-center justify-center font-bold",children:"FILE"});return x.jsx(V3,{open:t,onOpenChange:r,children:x.jsxs(k_,{className:"max-w-7xl h-[95vh] flex flex-col",children:[x.jsx(I_,{className:"pb-6 border-b",children:x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:x.jsx(Hp,{className:"h-5 w-5 text-primary"})}),x.jsxs("div",{children:[x.jsxs($_,{className:"text-xl font-semibold",children:["Media Library",T.length>0&&x.jsx(Z0,{variant:"secondary",className:"ml-2 text-xs",children:T.length})]}),x.jsx(F_,{className:"text-sm text-muted-foreground mt-1",children:"Browse and select media files from your library"})]})]})}),x.jsxs("div",{className:"space-y-4 flex-1 flex flex-col overflow-hidden",children:[g.length>0&&x.jsx("div",{className:"bg-muted/30 rounded-lg p-3 border",children:x.jsx("div",{className:"flex items-center gap-2",children:x.jsx("div",{className:"max-h-24 overflow-y-auto scrollbar-thin scrollbar-thumb-muted-foreground/20 scrollbar-track-transparent",children:x.jsxs("div",{className:"flex flex-wrap gap-2",children:[x.jsx(vt,{variant:h===null?"default":"ghost",size:"sm",onClick:()=>S(null),className:"h-7 px-3 text-xs",children:"All Files"}),g.map(Q=>x.jsx(vt,{variant:h===Q.id?"default":"ghost",size:"sm",onClick:()=>S(Q.id),className:"h-7 px-3 text-xs",children:Q.name},Q.id))]})})})}),x.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[x.jsxs("div",{className:"relative flex-1",children:[x.jsx(GP,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground h-4 w-4"}),x.jsx(_a,{placeholder:"Search media files...",value:D,onChange:Q=>P(Q.target.value),className:"pl-10 h-10"})]}),f&&x.jsxs("div",{className:"flex gap-2",children:[x.jsx(_a,{type:"file",multiple:!0,accept:"image/*,application/pdf,.doc,.docx,.xls,.xlsx",onChange:Q=>Q.target.files&&R(Q.target.files),className:"hidden",id:"file-upload"}),x.jsxs(vt,{type:"button",onClick:()=>{var Q;return(Q=document.getElementById("file-upload"))==null?void 0:Q.click()},disabled:C,className:"h-10 px-4",children:[x.jsx(Y0,{className:"h-4 w-4 mr-2"}),C?"Uploading...":"Upload"]})]})]}),x.jsxs("div",{className:"flex items-center justify-between text-sm text-muted-foreground bg-muted/20 px-4 py-3 rounded-lg border",children:[x.jsxs("div",{className:"flex items-center gap-4",children:[x.jsxs("span",{className:"font-medium",children:[T.length," files"]}),I>1&&x.jsxs("span",{children:["Page ",k," of ",I]})]}),o&&z.length>0&&x.jsxs(Z0,{variant:"default",className:"text-xs px-2 py-1",children:[z.length," selected"]})]}),x.jsx("div",{className:"border rounded-lg bg-muted/10 flex flex-col flex-1 overflow-hidden",children:_?x.jsx("div",{className:"flex-1 flex items-center justify-center",children:x.jsxs("div",{className:"text-center",children:[x.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto mb-4"}),x.jsx("p",{className:"text-muted-foreground",children:"Loading media..."})]})}):T.length===0?x.jsx("div",{className:"flex-1 flex items-center justify-center py-16",children:x.jsxs("div",{className:"text-center max-w-sm",children:[x.jsx("div",{className:`mx-auto w-24 h-24 border-2 border-dashed rounded-xl flex items-center justify-center mb-6 transition-colors ${ee?"border-primary bg-primary/5":"border-muted-foreground/25"}`,onDragEnter:B,onDragLeave:B,onDragOver:B,onDrop:j,children:x.jsx(b_,{className:"h-10 w-10 text-muted-foreground"})}),x.jsxs("div",{className:"space-y-3 mb-6",children:[x.jsx("h3",{className:"text-lg font-semibold",children:"No media files found"}),D&&x.jsxs("p",{className:"text-sm text-muted-foreground",children:["No results for ",x.jsxs("span",{className:"font-medium text-foreground",children:['"$',D,'"']})]}),x.jsx("p",{className:"text-sm text-muted-foreground",children:D?"Try a different search term or upload new images":"Upload images to get started"})]}),f&&x.jsxs(vt,{type:"button",onClick:()=>{var Q;return(Q=document.getElementById("file-upload"))==null?void 0:Q.click()},disabled:C,children:[x.jsx(Y0,{className:"h-4 w-4 mr-2"}),"Upload Images"]})]})}):x.jsx("div",{className:"p-6 overflow-y-auto flex-1",children:x.jsx("div",{className:"grid grid-cols-4 lg:grid-cols-6 xl:grid-cols-8 gap-4",children:pe.map(Q=>{var J;return x.jsx("div",{className:`relative group cursor-pointer rounded-xl overflow-hidden transition-all duration-200 hover:scale-[1.02] ${z.includes(Q.url)?"ring-2 ring-primary shadow-lg scale-[1.02]":"hover:shadow-lg border border-border/50 hover:border-primary/30 hover:shadow-primary/5"}`,onClick:()=>Y(Q.url),children:x.jsxs("div",{className:"relative aspect-square bg-gradient-to-br from-muted/50 to-muted overflow-hidden flex items-center justify-center",children:[Q.mime_type.startsWith("image/")?x.jsx("img",{src:Q.thumb_url,alt:Q.name,className:"w-full h-full object-cover",onError:se=>{se.currentTarget.src=Q.url}}):x.jsxs("div",{className:"w-full h-full flex flex-col items-center justify-center p-4",children:[x.jsx("div",{className:"mb-2",children:de(Q.mime_type)}),x.jsx("div",{className:"text-xs text-center font-medium text-muted-foreground truncate w-full",children:((J=Q.mime_type.split("/")[1])==null?void 0:J.toUpperCase())||"FILE"})]}),z.includes(Q.url)&&x.jsx("div",{className:"absolute inset-0 bg-primary/20 flex items-center justify-center backdrop-blur-sm",children:x.jsx("div",{className:"bg-primary text-primary-foreground rounded-full p-2 shadow-lg",children:x.jsx(xa,{className:"h-4 w-4"})})}),x.jsx("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/20 transition-colors"}),x.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent p-3 opacity-0 group-hover:opacity-100 transition-all duration-200",children:x.jsx("p",{className:"text-xs text-white font-medium truncate",title:Q.name,children:Q.name})})]})},Q.id)})})})}),I>1&&x.jsxs("div",{className:"flex items-center justify-between pt-3 border-t",children:[x.jsxs("div",{className:"text-sm text-muted-foreground",children:["Showing ",ae+1," to ",Math.min(ae+q,T.length)," of ",T.length," files"]}),x.jsxs("div",{className:"flex gap-1",children:[x.jsx(vt,{variant:"outline",size:"sm",disabled:k===1,onClick:()=>ne(Q=>Math.max(Q-1,1)),children:"Previous"}),Array.from({length:Math.min(I,5)},(Q,J)=>{let se;return I<=5||k<=3?se=J+1:k>=I-2?se=I-4+J:se=k-2+J,x.jsx(vt,{variant:k===se?"default":"outline",size:"sm",className:"w-8 h-8 p-0",onClick:()=>ne(se),children:se},se)}),x.jsx(vt,{variant:"outline",size:"sm",disabled:k===I,onClick:()=>ne(Q=>Math.min(Q+1,I)),children:"Next"})]})]}),x.jsxs("div",{className:"flex justify-between items-center pt-6 border-t bg-muted/20 -mx-6 px-6 py-4",children:[x.jsx(vt,{variant:"outline",onClick:r,className:"px-6",children:"Cancel"}),x.jsxs("div",{className:"flex gap-3",children:[o&&z.length>0&&x.jsx(vt,{variant:"outline",onClick:()=>F([]),className:"px-4",children:"Clear Selection"}),o&&z.length>0&&x.jsxs(vt,{onClick:le,className:"px-6",children:["Select ",z.length," item",z.length>1?"s":""]})]})]})]})]})})}function fp({label:t,value:r="",onChange:a,multiple:o=!1,placeholder:l="Select image...",showPreview:u=!0,readOnly:f=!1}){const[p,m]=A.useState(!1),g=_=>{const E=_.split("/").pop()||_;a(E)},y=()=>{a("")},h=r||"",T=h?[(_=>_?_.startsWith("http")?_:(_.startsWith("/"),Ka(_)):"")(h)]:[],b=_=>{var C;if(!_)return null;const E=(C=_.split(".").pop())==null?void 0:C.toLowerCase();return["jpg","jpeg","png","gif","webp","svg"].includes(E||"")?null:E==="pdf"?x.jsx("div",{className:"h-16 w-16 bg-red-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"PDF"}):["doc","docx"].includes(E||"")?x.jsx("div",{className:"h-16 w-16 bg-blue-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"DOC"}):["xls","xlsx","csv"].includes(E||"")?x.jsx("div",{className:"h-16 w-16 bg-green-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"XLS"}):["ppt","pptx"].includes(E||"")?x.jsx("div",{className:"h-16 w-16 bg-orange-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"PPT"}):x.jsx("div",{className:"h-16 w-16 bg-gray-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"FILE"})};return x.jsxs("div",{className:"space-y-2",children:[t&&x.jsx(Gn,{children:t}),x.jsxs("div",{className:"flex gap-2",children:[x.jsx(_a,{value:h,onChange:_=>a(_.target.value),placeholder:l,readOnly:f||o}),x.jsxs(vt,{type:"button",variant:"outline",onClick:()=>m(!0),disabled:f,children:[x.jsx(Hp,{className:"h-4 w-4 mr-2"}),"Browse"]}),h&&x.jsx(vt,{type:"button",variant:"outline",size:"icon",onClick:y,disabled:f,children:x.jsx(Sm,{className:"h-4 w-4"})})]}),u&&T.length>0&&x.jsx("div",{className:"grid grid-cols-4 gap-2 mt-2",children:T.map((_,E)=>{const C=b(_);return x.jsx("div",{className:"relative",children:C?x.jsx("div",{className:"w-full h-20 flex items-center justify-center rounded border bg-muted",children:C}):x.jsx("img",{src:_,alt:`Preview ${E+1}`,className:"w-full h-20 object-cover rounded border",onError:L=>{const F=L.target.parentElement;F&&(F.innerHTML='
FILE
')}})},E)})}),x.jsx(k3,{isOpen:p,onClose:()=>m(!1),onSelect:g,multiple:o})]})}const is=t=>{var o;if(typeof document>"u")return null;const a=`; ${document.cookie}`.split(`; ${t}=`);if(a.length===2){const l=(o=a.pop())==null?void 0:o.split(";").shift();return l?decodeURIComponent(l):null}return null},ft={logoDark:"logo/logo-dark.png",logoLight:"logo/logo-light.png",favicon:"logo/favicon.png",titleText:"WorkDo",footerText:"© 2024 WorkDo. All rights reserved.",companyMobile:"",companyAddress:"",themeColor:"green",customColor:"#3b82f6",sidebarVariant:"inset",sidebarStyle:"plain",layoutDirection:"left",themeMode:"light"},Ss=(t,r)=>{if((r==null?void 0:r.is_demo)||!1)try{const o=is("themeSettings"),l=is("sidebarSettings"),u=is("layoutPosition"),f=is("brandSettings"),p=o?JSON.parse(o):{},m=l?JSON.parse(l):{},g=f?JSON.parse(f):{};return{logoDark:g.logoDark||(t==null?void 0:t.logoDark)||ft.logoDark,logoLight:g.logoLight||(t==null?void 0:t.logoLight)||ft.logoLight,favicon:g.favicon||(t==null?void 0:t.favicon)||ft.favicon,titleText:g.titleText||(t==null?void 0:t.titleText)||ft.titleText,footerText:g.footerText||(t==null?void 0:t.footerText)||ft.footerText,companyMobile:g.companyMobile||(t==null?void 0:t.companyMobile)||ft.companyMobile,companyAddress:g.companyAddress||(t==null?void 0:t.companyAddress)||ft.companyAddress,themeColor:p.themeColor||ft.themeColor,customColor:p.customColor||ft.customColor,sidebarVariant:m.variant||ft.sidebarVariant,sidebarStyle:m.style||ft.sidebarStyle,layoutDirection:u||ft.layoutDirection,themeMode:p.appearance||ft.themeMode}}catch{}return t?{logoDark:t.logoDark||ft.logoDark,logoLight:t.logoLight||ft.logoLight,favicon:t.favicon||ft.favicon,titleText:t.titleText||ft.titleText,footerText:t.footerText||ft.footerText,companyMobile:t.companyMobile||ft.companyMobile,companyAddress:t.companyAddress||ft.companyAddress,themeColor:t.themeColor||ft.themeColor,customColor:t.customColor||ft.customColor,sidebarVariant:t.sidebarVariant||ft.sidebarVariant,sidebarStyle:t.sidebarStyle||ft.sidebarStyle,layoutDirection:t.layoutDirection||ft.layoutDirection,themeMode:t.themeMode||ft.themeMode}:ft};function I3({settings:t}){var B,j;const{t:r}=oj(),{props:a}=ym(),o=a.globalSettings,l=a.auth,u=((B=l==null?void 0:l.user)==null?void 0:B.type)||((j=l==null?void 0:l.user)==null?void 0:j.role),[f,p]=A.useState(()=>Ss(o||t,o)),[m,g]=A.useState(!1),[y,h]=A.useState(!1),[S,T]=A.useState("logos"),{updateAppearance:b,updateThemeColor:_,updateCustomColor:E,saveThemeSettings:C}=BS(),{updatePosition:L,saveLayoutPosition:z}=JS(),{updateVariant:F,updateStyle:ee,saveSidebarSettings:U}=e_();A.useEffect(()=>{if(y)return;const Y=Ss(o||t,o);p(Y);try{const le=(o==null?void 0:o.is_demo)||!1;let de=null;if(le&&(de=is("sidebarSettings")),de){const Q=JSON.parse(de);p(J=>({...J,sidebarVariant:Q.variant||J.sidebarVariant,sidebarStyle:Q.style||J.sidebarStyle}))}}catch(le){console.error("Error loading sidebar settings",le)}},[o,t,y]);const D=Y=>{const{name:le,value:de}=Y.target;p(Q=>({...Q,[le]:de})),["logoLight","logoDark","favicon"].includes(le)&&k({[le]:de})},P=(Y,le)=>{p(de=>({...de,[Y]:le})),k({[Y]:le})},{updateBrandSettings:k}=Y_(),ne=Y=>{p(le=>({...le,themeColor:Y})),_(Y)},q=Y=>{p(le=>({...le,customColor:Y})),E(Y,!0)},K=Y=>{p(le=>({...le,sidebarVariant:Y})),F(Y)},I=Y=>{p(le=>({...le,sidebarStyle:Y})),ee(Y)},ae=Y=>{p(le=>({...le,layoutDirection:Y})),L(Y)},pe=Y=>{p(le=>({...le,themeMode:Y})),b(Y),setTimeout(()=>{_(f.themeColor),f.themeColor==="custom"&&E(f.customColor)},0)},R=()=>{g(!0),h(!0),_(f.themeColor),f.themeColor==="custom"&&E(f.customColor),b(f.themeMode),L(f.layoutDirection),F(f.sidebarVariant),ee(f.sidebarStyle),C(),U(),z(),k({logoLight:f.logoLight,logoDark:f.logoDark,favicon:f.favicon}),Aa.post(route("settings.brand.update"),{settings:f},{preserveScroll:!0,onSuccess:Y=>{var Q,J;g(!1);const le=(Q=Y.props.flash)==null?void 0:Q.success,de=(J=Y.props.flash)==null?void 0:J.error;le?(xn.success(le),setTimeout(()=>h(!1),500)):de&&xn.error(de)},onError:Y=>{g(!1),h(!1);const le=Y.error||Object.values(Y).join(", ")||r("Failed to save brand settings");xn.error(le)}})};return x.jsx(z3,{title:r("Brand Settings"),description:r("Customize your application's branding and appearance"),action:x.jsxs(vt,{onClick:R,disabled:m,size:"sm",children:[x.jsx($P,{className:"h-4 w-4 mr-2"}),r(m?"Saving...":"Save Changes")]}),children:x.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[x.jsxs("div",{className:"lg:col-span-2",children:[x.jsxs("div",{className:"flex space-x-2 mb-6",children:[x.jsxs(vt,{variant:S==="logos"?"default":"outline",size:"sm",onClick:()=>T("logos"),className:"flex-1",children:[x.jsx(b_,{className:"h-4 w-4 mr-2"}),r("Logos")]}),x.jsxs(vt,{variant:S==="text"?"default":"outline",size:"sm",onClick:()=>T("text"),className:"flex-1",children:[x.jsx(PP,{className:"h-4 w-4 mr-2"}),r("Text")]}),x.jsxs(vt,{variant:S==="theme"?"default":"outline",size:"sm",onClick:()=>T("theme"),className:"flex-1",children:[x.jsx(up,{className:"h-4 w-4 mr-2"}),r("Theme")]})]}),S==="logos"&&x.jsx("div",{className:"space-y-6",children:x.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{children:r("Logo Dark")}),x.jsxs("div",{className:"flex flex-col gap-3",children:[x.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 dark:bg-white h-32",children:f.logoDark?x.jsx("img",{src:Ka(f.logoDark),alt:"Dark Logo",className:"max-h-full max-w-full object-contain",onError:Y=>{Y.currentTarget.src="images/default/image-not-found.jpg"}}):x.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[x.jsx("div",{className:"h-12 w-24 bg-muted flex items-center justify-center rounded border border-dashed",children:x.jsx("span",{className:"font-semibold text-muted-foreground",children:r("Logo")})}),x.jsx("span",{className:"text-xs",children:"No logo selected"})]})}),x.jsx(fp,{label:"",value:f.logoDark,onChange:Y=>P("logoDark",Y),placeholder:"Select dark mode logo...",showPreview:!1})]})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{children:r("Logo Light")}),x.jsxs("div",{className:"flex flex-col gap-3",children:[x.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-black h-32",children:f.logoLight?x.jsx("img",{src:Ka(f.logoLight),alt:"Light Logo",className:"max-h-full max-w-full object-contain",onError:Y=>{Y.currentTarget.src="images/default/image-not-found.jpg"}}):x.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[x.jsx("div",{className:"h-12 w-24 bg-muted flex items-center justify-center rounded border border-dashed",children:x.jsx("span",{className:"font-semibold text-muted-foreground",children:r("Logo")})}),x.jsx("span",{className:"text-xs",children:"No logo selected"})]})}),x.jsx(fp,{label:"",value:f.logoLight,onChange:Y=>P("logoLight",Y),placeholder:"Select light mode logo...",showPreview:!1})]})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{children:r("Favicon")}),x.jsxs("div",{className:"flex flex-col gap-3",children:[x.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 h-20",children:f.favicon?x.jsx("img",{src:Ka(f.favicon),alt:"Favicon",className:"h-16 w-16 object-contain",onError:Y=>{Y.currentTarget.src="images/default/image-not-found.jpg"}}):x.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-1",children:[x.jsx("div",{className:"h-10 w-10 bg-muted flex items-center justify-center rounded border border-dashed",children:x.jsx("span",{className:"font-semibold text-xs text-muted-foreground",children:r("Icon")})}),x.jsx("span",{className:"text-xs",children:"No favicon selected"})]})}),x.jsx(fp,{label:"",value:f.favicon,onChange:Y=>P("favicon",Y),placeholder:"Select favicon...",showPreview:!1})]})]})]})}),S==="text"&&x.jsx("div",{className:"space-y-6",children:x.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{htmlFor:"titleText",children:r("Title Text")}),x.jsx(_a,{id:"titleText",name:"titleText",value:f.titleText,onChange:D,placeholder:"WorkDo"}),x.jsx("p",{className:"text-xs text-muted-foreground",children:r("Application title displayed in the browser tab")})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{htmlFor:"footerText",children:r("Footer Text")}),x.jsx(_a,{id:"footerText",name:"footerText",value:f.footerText,onChange:D,placeholder:"© 2024 WorkDo. All rights reserved."}),x.jsx("p",{className:"text-xs text-muted-foreground",children:r("Text displayed in the footer")})]}),u==="company"&&x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{htmlFor:"companyMobile",children:r("Company Mobile Number")}),x.jsx(_a,{id:"companyMobile",name:"companyMobile",value:f.companyMobile||"",onChange:D,placeholder:"+1 234 567 8900"}),x.jsx("p",{className:"text-xs text-muted-foreground",children:r("Company contact mobile number")})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Gn,{htmlFor:"companyAddress",children:r("Company Address")}),x.jsx("textarea",{id:"companyAddress",name:"companyAddress",value:f.companyAddress||"",onChange:Y=>p(le=>({...le,companyAddress:Y.target.value})),placeholder:"Enter company address",className:"flex min-h-[80px] w-full rounded-md border border-input 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"}),x.jsx("p",{className:"text-xs text-muted-foreground",children:r("Company address")})]})]})]})}),S==="theme"&&x.jsx("div",{className:"space-y-6",children:x.jsxs("div",{className:"flex flex-col space-y-8",children:[x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"flex items-center",children:[x.jsx(up,{className:"h-5 w-5 mr-2 text-muted-foreground"}),x.jsx("h3",{className:"text-base font-medium",children:r("Theme Color")})]}),x.jsx(Ql,{className:"my-2"}),x.jsxs("div",{className:"grid grid-cols-6 gap-2",children:[Object.entries({blue:"#3b82f6",green:"#10b77f",purple:"#8b5cf6",orange:"#f97316",red:"#ef4444"}).map(([Y,le])=>x.jsx(vt,{type:"button",variant:f.themeColor===Y?"default":"outline",className:"h-8 w-full p-0 relative",style:{backgroundColor:f.themeColor===Y?le:"transparent"},onClick:()=>ne(Y),children:x.jsx("span",{className:"absolute inset-1 rounded-sm",style:{backgroundColor:le}})},Y)),x.jsx(vt,{type:"button",variant:f.themeColor==="custom"?"default":"outline",className:"h-8 w-full p-0 relative",style:{backgroundColor:f.themeColor==="custom"?f.customColor:"transparent"},onClick:()=>ne("custom"),children:x.jsx("span",{className:"absolute inset-1 rounded-sm",style:{backgroundColor:t.customColor}})})]}),f.themeColor==="custom"&&x.jsxs("div",{className:"space-y-2 mt-4",children:[x.jsx(Gn,{htmlFor:"customColor",children:r("Custom Color")}),x.jsxs("div",{className:"flex gap-2",children:[x.jsxs("div",{className:"relative",children:[x.jsx(_a,{id:"colorPicker",type:"color",value:f.customColor,onChange:Y=>q(Y.target.value),className:"absolute inset-0 opacity-0 cursor-pointer"}),x.jsx("div",{className:"w-10 h-10 rounded border cursor-pointer",style:{backgroundColor:f.customColor}})]}),x.jsx(_a,{id:"customColor",name:"customColor",type:"text",value:f.customColor,onChange:Y=>q(Y.target.value),placeholder:"#3b82f6"})]})]})]}),x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"flex items-center",children:[x.jsx(v_,{className:"h-5 w-5 mr-2 text-muted-foreground"}),x.jsx("h3",{className:"text-base font-medium",children:r("Sidebar")})]}),x.jsx(Ql,{className:"my-2"}),x.jsxs("div",{className:"space-y-6",children:[x.jsxs("div",{children:[x.jsx(Gn,{className:"mb-2 block",children:r("Sidebar Variant")}),x.jsx("div",{className:"grid grid-cols-3 gap-3",children:["inset","floating","minimal"].map(Y=>x.jsxs(vt,{type:"button",variant:f.sidebarVariant===Y?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.sidebarVariant===Y?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>K(Y),children:[Y.charAt(0).toUpperCase()+Y.slice(1),f.sidebarVariant===Y&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]},Y))})]}),x.jsxs("div",{children:[x.jsx(Gn,{className:"mb-2 block",children:r("Sidebar Style")}),x.jsx("div",{className:"grid grid-cols-3 gap-3",children:[{id:"plain",name:"Plain"},{id:"colored",name:"Colored"},{id:"gradient",name:"Gradient"}].map(Y=>x.jsxs(vt,{type:"button",variant:f.sidebarStyle===Y.id?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.sidebarStyle===Y.id?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>I(Y.id),children:[Y.name,f.sidebarStyle===Y.id&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]},Y.id))})]})]})]}),x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"flex items-center",children:[x.jsx(BP,{className:"h-5 w-5 mr-2 text-muted-foreground"}),x.jsx("h3",{className:"text-base font-medium",children:r("Layout")})]}),x.jsx(Ql,{className:"my-2"}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Gn,{className:"mb-2 block",children:r("Layout Direction")}),x.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[x.jsxs(vt,{type:"button",variant:f.layoutDirection==="left"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.layoutDirection==="left"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>ae("left"),children:[r("Left-to-Right"),f.layoutDirection==="left"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]}),x.jsxs(vt,{type:"button",variant:f.layoutDirection==="right"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.layoutDirection==="right"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>ae("right"),children:[r("Right-to-Left"),f.layoutDirection==="right"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]})]})]})]}),x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{className:"flex items-center",children:[x.jsx(UP,{className:"h-5 w-5 mr-2 text-muted-foreground"}),x.jsx("h3",{className:"text-base font-medium",children:r("Theme Mode")})]}),x.jsx(Ql,{className:"my-2"}),x.jsx("div",{className:"space-y-2",children:x.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[x.jsxs(vt,{type:"button",variant:f.themeMode==="light"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.themeMode==="light"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>pe("light"),children:[r("Light"),f.themeMode==="light"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]}),x.jsxs(vt,{type:"button",variant:f.themeMode==="dark"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.themeMode==="dark"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>pe("dark"),children:[r("Dark"),f.themeMode==="dark"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]}),x.jsxs(vt,{type:"button",variant:f.themeMode==="system"?"default":"outline",className:"h-10 justify-start",style:{backgroundColor:f.themeMode==="system"?f.themeColor==="custom"?f.customColor:null:"transparent"},onClick:()=>pe("system"),children:[r("System"),f.themeMode==="system"&&x.jsx(xa,{className:"h-4 w-4 ml-2"})]})]})})]})]})})]}),x.jsx("div",{className:"lg:col-span-1",children:x.jsx("div",{className:"sticky top-20 space-y-6",children:x.jsxs("div",{className:"border rounded-md p-4",children:[x.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[x.jsx(up,{className:"h-4 w-4"}),x.jsx("h3",{className:"font-medium",children:r("Live Preview")})]}),x.jsx(s3,{}),x.jsx("div",{className:"mt-4 pt-4 border-t",children:x.jsxs("div",{className:"text-xs text-muted-foreground",children:[r("Footer:")," ",x.jsx("span",{className:"font-medium text-foreground",children:f.footerText})]})})]})})})]})})}const $3=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_BRAND_SETTINGS:ft,default:I3,getBrandSettings:Ss},Symbol.toStringTag,{value:"Module"})),G_=A.createContext(void 0);function F3({children:t,globalSettings:r,user:a}){const o=()=>(r==null?void 0:r.is_demo)||!1?null:window.location.pathname.includes("/public/")||window.location.pathname==="/"||window.location.pathname.includes("/auth/")?r:(a==null?void 0:a.role)==="company"&&(a!=null&&a.globalSettings)?a.globalSettings:r,[l,u]=A.useState(()=>Ss(o(),r));A.useEffect(()=>{const p=o(),m=Ss(p,r);if(u(m),m){const g=m.themeColor==="custom"?m.customColor:{blue:"#3b82f6",green:"#10b77f",purple:"#8b5cf6",orange:"#f97316",red:"#ef4444"}[m.themeColor]||"#3b82f6";document.documentElement.style.setProperty("--theme-color",g),document.documentElement.style.setProperty("--primary",g);const y=m.themeMode==="dark"||m.themeMode==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.classList.toggle("dark",y),document.body.classList.toggle("dark",y),document.documentElement.dir=m.layoutDirection,document.documentElement.setAttribute("dir",m.layoutDirection)}},[r,a]);const f=p=>{u(m=>({...m,...p}))};return x.jsx(G_.Provider,{value:{...l,updateBrandSettings:f},children:t})}function Y_(){const t=A.useContext(G_);if(t===void 0)throw new Error("useBrand must be used within a BrandProvider");return t}var G3=(t,r,a,o,l,u,f,p)=>{let m=document.documentElement,g=["light","dark"];function y(T){(Array.isArray(t)?t:[t]).forEach(b=>{let _=b==="class",E=_&&u?l.map(C=>u[C]||C):l;_?(m.classList.remove(...E),m.classList.add(u&&u[T]?u[T]:T)):m.setAttribute(b,T)}),h(T)}function h(T){p&&g.includes(T)&&(m.style.colorScheme=T)}function S(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(o)y(o);else try{let T=localStorage.getItem(r)||a,b=f&&T==="system"?S():T;y(b)}catch{}},Y3=A.createContext(void 0),X3={setTheme:t=>{},themes:[]},K3=()=>{var t;return(t=A.useContext(Y3))!=null?t:X3};A.memo(({forcedTheme:t,storageKey:r,attribute:a,enableSystem:o,enableColorScheme:l,defaultTheme:u,value:f,themes:p,nonce:m,scriptProps:g})=>{let y=JSON.stringify([a,r,u,t,p,f,o,l]).slice(1,-1);return A.createElement("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${G3.toString()})(${y})`}})});const Q3=({...t})=>{const{theme:r="system"}=K3();return x.jsx(P3,{theme:r,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...t})},Hu=()=>window.isDemo||!1,Tm="This action is disabled in demo mode. You can only create new data, not modify existing demo data.",Z3=Aa.put,J3=Aa.delete,W3=Aa.patch;Aa.put=function(t,r,a){if(Hu()){xn.error(Tm);return}return Z3.call(this,t,r,a)};Aa.delete=function(t,r){if(Hu()){xn.error(Tm);return}return J3.call(this,t,r)};Aa.patch=function(t,r,a){if(Hu()){xn.error(Tm);return}return W3.call(this,t,r,a)};const G4={...xn,loading:(t,r)=>{if(!(Hu()&&(t.includes("Delet")||t.includes("Updat")||t.includes("Reset")||t.includes("Modif"))))return xn.loading(t,r)}},e4=()=>x.jsx(Q3,{position:"top-right",duration:4e3,richColors:!0,closeButton:!0});function t4({children:t}){var f;const{props:r}=ym(),[a,o]=A.useState(!1);A.useEffect(()=>{o(!0)},[]);const l=r.globalSettings||{},u=(f=r.auth)==null?void 0:f.user;return x.jsx(U3,{children:x.jsx(Aj,{children:x.jsx(Cj,{children:x.jsxs(F3,{globalSettings:l,user:u,children:[x.jsx(A.Suspense,{fallback:x.jsx("div",{className:"flex h-screen w-full items-center justify-center",children:"Loading..."}),children:t}),a&&x.jsx(e4,{})]})})})})}function n4({children:t}){return x.jsx(t4,{children:t})}Aa.on("invalid",t=>{var r;((r=t.detail.response)==null?void 0:r.status)===419&&(t.preventDefault(),dt.get("/sanctum/csrf-cookie").then(()=>{alert("Your session expired but has been refreshed in the background. Please try saving again.")}).catch(()=>{window.location.reload()}))});EL();document.addEventListener("DOMContentLoaded",()=>{_L()});const W0="SEB Connexion Inc.";eL({title:t=>t?`${t} - ${W0}`:W0,resolve:t=>{const r=Object.assign({"./pages/auth/confirm-password.tsx":()=>O(()=>import("./confirm-password-JjFVLWP9.js"),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/auth/forgot-password.tsx":()=>O(()=>import("./forgot-password-HE1521nu.js"),__vite__mapDeps([20,1,3,21,4,5,6,7,8,9,10,11,12,13,22,23,17,18,19]),import.meta.url),"./pages/auth/login.tsx":()=>O(()=>import("./login-CA90gCGa.js"),__vite__mapDeps([24,1,3,21,25,11,4,5,6,7,8,9,10,12,13,22,17,18,19]),import.meta.url),"./pages/auth/register.tsx":()=>O(()=>import("./register-CV6QGhcj.js"),__vite__mapDeps([26,1,3,21,25,11,4,5,6,7,8,9,10,12,13,22,17,18,19]),import.meta.url),"./pages/auth/reset-password.tsx":()=>O(()=>import("./reset-password-C1D-FlN1.js"),__vite__mapDeps([27,1,3,4,5,6,7,8,9,10,11,12,13,16,17,18,19]),import.meta.url),"./pages/auth/verify-email.tsx":()=>O(()=>import("./verify-email-CjhKNwZK.js"),__vite__mapDeps([28,1,21,4,5,6,7,8,9,10,11,12,13,14,15,23,17,18,19]),import.meta.url),"./pages/calendar/index.tsx":()=>O(()=>import("./index-BsIszv37.js"),__vite__mapDeps([29,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,53,17,18,19]),import.meta.url),"./pages/career/apply.tsx":()=>O(()=>import("./apply-D2x9Z5WS.js"),__vite__mapDeps([54,1,31,32,33,11,34,25,55,12,56,42,17,18,19]),import.meta.url),"./pages/career/index.tsx":()=>O(()=>import("./index-DTAPp5JZ.js"),__vite__mapDeps([57,1,32,33,11,34,55,12,58,59,60,61,46,62,38,17,18,19]),import.meta.url),"./pages/career/job-details.tsx":()=>O(()=>import("./job-details-DQZE6v9J.js"),__vite__mapDeps([63,1,55,12,58,61,60,46,43,49,44,17,18,19]),import.meta.url),"./pages/companies/index.tsx":()=>O(()=>import("./index-D3-NtChe.js"),__vite__mapDeps([64,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,66,17,59,67,68,69,70,71,25,72,73,74,75,76,77,78,79,80,23,16,18,19,81,82,83,84]),import.meta.url),"./pages/companies/view.tsx":()=>O(()=>import("./view-BGJ9rVpd.js"),__vite__mapDeps([79,1,80,23,16,44,13,17,18,19]),import.meta.url),"./pages/contacts/index.tsx":()=>O(()=>import("./index-C3vJud6I.js"),__vite__mapDeps([85,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,69,70,25,72,73,74,75,65,66,17,18,19]),import.meta.url),"./pages/coupons/index.tsx":()=>O(()=>import("./index-zL79uW8n.js"),__vite__mapDeps([169,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/coupons/show.tsx":()=>O(()=>import("./show-CGoKk1jF.js"),__vite__mapDeps([170,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,87,159,56,17,18,19]),import.meta.url),"./pages/currencies/index.tsx":()=>O(()=>import("./index-VX6ic1b6.js"),__vite__mapDeps([171,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,172,18,19]),import.meta.url),"./pages/currencies/view.tsx":()=>O(()=>import("./view-Nnlh3FzL.js"),__vite__mapDeps([172,1,49,162,126,16,17,18,19]),import.meta.url),"./pages/dashboard.tsx":()=>O(()=>import("./dashboard-CdiMuNwF.js"),__vite__mapDeps([173,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,80,164,107,115,103,17,159,97,18,19]),import.meta.url),"./pages/email-templates/index.tsx":()=>O(()=>import("./index-MPIywYHE.js"),__vite__mapDeps([174,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,66,17,59,67,117,18,19]),import.meta.url),"./pages/email-templates/show.tsx":()=>O(()=>import("./show-Brg1lofv.js"),__vite__mapDeps([175,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,177,88,67,145,132,111,17,18,19]),import.meta.url),"./pages/employee-dashboard.tsx":()=>O(()=>import("./employee-dashboard-tHYcgFQh.js"),__vite__mapDeps([178,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,97,17,18,19]),import.meta.url),"./pages/examples/chatgpt-demo.tsx":()=>O(()=>import("./chatgpt-demo-CneZQ9wg.js"),__vite__mapDeps([179,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,17,18,19]),import.meta.url),"./pages/hr/announcements/dashboard.tsx":()=>O(()=>import("./dashboard-Bz6Eb38A.js"),__vite__mapDeps([180,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,67,97,58,160,17,18,19]),import.meta.url),"./pages/hr/announcements/index.tsx":()=>O(()=>import("./index-BE_62-Dr.js"),__vite__mapDeps([181,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,177,18,19]),import.meta.url),"./pages/hr/announcements/show.tsx":()=>O(()=>import("./show-Vr7BZGQD.js"),__vite__mapDeps([182,1,77,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,56,104,83,157,114,17,18,19]),import.meta.url),"./pages/hr/announcements/statistics.tsx":()=>O(()=>import("./statistics-CVwBoPhL.js"),__vite__mapDeps([184,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,117,159,17,18,19]),import.meta.url),"./pages/hr/assets/dashboard.tsx":()=>O(()=>import("./dashboard-CibTTpYK.js"),__vite__mapDeps([185,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,67,104,159,139,107,163,167,17,18,19]),import.meta.url),"./pages/hr/assets/depreciation-report.tsx":()=>O(()=>import("./depreciation-report-Ctuc5gL8.js"),__vite__mapDeps([186,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,66,17,59,67,65,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,82,128,129,130,131,132,133,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,18,19]),import.meta.url),"./pages/hr/assets/index.tsx":()=>O(()=>import("./index-fvp18Mnk.js"),__vite__mapDeps([187,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,188,189,18,19]),import.meta.url),"./pages/hr/assets/show.tsx":()=>O(()=>import("./show-BifM1eai.js"),__vite__mapDeps([190,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,87,69,70,71,25,72,73,74,75,76,77,183,56,83,164,90,167,144,157,114,17,18,19]),import.meta.url),"./pages/hr/assets/types/index.tsx":()=>O(()=>import("./index-CHaOS5LS.js"),__vite__mapDeps([191,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,99,83,84,17,18,19]),import.meta.url),"./pages/hr/attendance-records/calendar.tsx":()=>O(()=>import("./calendar-q-CcV4Mq.js"),__vite__mapDeps([192,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,129,17,18,19]),import.meta.url),"./pages/hr/attendance-records/index.tsx":()=>O(()=>import("./index-DfzWmulD.js"),__vite__mapDeps([193,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,77,65,66,17,59,67,188,189,82,114,194,134,61,138,160,18,19,119,121,107,159,117,83,84,109]),import.meta.url),"./pages/hr/attendance-records/view.tsx":()=>O(()=>import("./view-CNymHwlr.js"),__vite__mapDeps([194,1,74,75,46,42,44,134,61,47,138,52,160,17,18,19]),import.meta.url),"./pages/hr/attendance-regularizations/index.tsx":()=>O(()=>import("./index-oQjF2KvA.js"),__vite__mapDeps([195,1,196,107,109,106,46,42,44,92,137,17,18,19,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,43,45,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,77,65,66,59,67,117,83,84]),import.meta.url),"./pages/hr/attendance-regularizations/view.tsx":()=>O(()=>import("./view-Bq_QvsAn.js"),__vite__mapDeps([196,1,107,109,106,46,42,44,92,137,17,18,19]),import.meta.url),"./pages/hr/award-types/index.tsx":()=>O(()=>import("./index-BwP8Xt-d.js"),__vite__mapDeps([197,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,94,83,16,84,17,18,19]),import.meta.url),"./pages/hr/awards/index.tsx":()=>O(()=>import("./index-DeWVsfRP.js"),__vite__mapDeps([198,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,199,18,19,68]),import.meta.url),"./pages/hr/awards/view.tsx":()=>O(()=>import("./view-DtjMRNVw.js"),__vite__mapDeps([199,1,161,42,153,44,41,117,17,18,19]),import.meta.url),"./pages/hr/biometric-attendance/index.tsx":()=>O(()=>import("./index-DAILITQb.js"),__vite__mapDeps([200,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,65,66,17,201,18,19]),import.meta.url),"./pages/hr/biometric-attendance/view.tsx":()=>O(()=>import("./view-ByKSN7IQ.js"),__vite__mapDeps([201,1,48,106,82,7,17,18,19]),import.meta.url),"./pages/hr/branches/index.tsx":()=>O(()=>import("./index-DISA3NAq.js"),__vite__mapDeps([202,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,203,18,19]),import.meta.url),"./pages/hr/branches/view.tsx":()=>O(()=>import("./view-DO2SNXYS.js"),__vite__mapDeps([203,1,123,80,23,141,16,61,8,126,17,18,19]),import.meta.url),"./pages/hr/complaints/index.tsx":()=>O(()=>import("./index-zkqqkKBr.js"),__vite__mapDeps([204,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,205,18,19,68]),import.meta.url),"./pages/hr/complaints/view.tsx":()=>O(()=>import("./view-BIyDbRpR.js"),__vite__mapDeps([205,1,136,42,153,44,163,117,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-renewals/index.tsx":()=>O(()=>import("./index-7SkKqPGK.js"),__vite__mapDeps([206,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/create.tsx":()=>O(()=>import("./create-DttjtICA.js"),__vite__mapDeps([207,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,56,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/edit.tsx":()=>O(()=>import("./edit-C7rfSCHC.js"),__vite__mapDeps([208,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,56,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/generate.tsx":()=>O(()=>import("./generate-DVcDuXVF.js"),__vite__mapDeps([209,1,119,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/index.tsx":()=>O(()=>import("./index-Cjv309fe.js"),__vite__mapDeps([210,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,209,18,19]),import.meta.url),"./pages/hr/contracts/contract-templates/show.tsx":()=>O(()=>import("./show-BnL2g2PG.js"),__vite__mapDeps([211,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,58,153,111,17,18,19]),import.meta.url),"./pages/hr/contracts/contract-types/index.tsx":()=>O(()=>import("./index-ChQKPCV2.js"),__vite__mapDeps([212,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,213,18,19]),import.meta.url),"./pages/hr/contracts/contract-types/view.tsx":()=>O(()=>import("./view-DtJK-ZFP.js"),__vite__mapDeps([213,1,16,44,46,7,126,17,18,19]),import.meta.url),"./pages/hr/contracts/employee-contracts/index.tsx":()=>O(()=>import("./index-Dbc0rBs0.js"),__vite__mapDeps([214,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,215,18,19,68]),import.meta.url),"./pages/hr/contracts/employee-contracts/view.tsx":()=>O(()=>import("./view-BNW3nx7q.js"),__vite__mapDeps([215,1,42,44,160,49,17,18,19]),import.meta.url),"./pages/hr/departments/index.tsx":()=>O(()=>import("./index-fChYlLmm.js"),__vite__mapDeps([216,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,217,18,19]),import.meta.url),"./pages/hr/departments/view.tsx":()=>O(()=>import("./view-Dpd8svdo.js"),__vite__mapDeps([217,1,80,123,16,17,18,19]),import.meta.url),"./pages/hr/designations/index.tsx":()=>O(()=>import("./index-B2s-YkQ5.js"),__vite__mapDeps([218,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,219,18,19]),import.meta.url),"./pages/hr/designations/view.tsx":()=>O(()=>import("./view-C5MKftPZ.js"),__vite__mapDeps([219,1,40,80,123,16,17,18,19]),import.meta.url),"./pages/hr/document-types/index.tsx":()=>O(()=>import("./index-Pp0sx53v.js"),__vite__mapDeps([220,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,83,84,17,18,19]),import.meta.url),"./pages/hr/documents/document-acknowledgments/index.tsx":()=>O(()=>import("./index-DuU4uqEk.js"),__vite__mapDeps([221,1,77,69,31,32,33,11,34,70,71,25,10,72,73,74,75,76,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,36,40,80,60,100,101,45,44,102,103,104,105,62,38,106,107,78,108,109,110,46,111,50,37,13,112,113,49,114,115,116,117,118,119,120,121,59,47,122,41,123,8,124,125,126,127,82,128,39,129,130,131,132,133,67,15,16,134,52,23,61,135,136,137,138,139,140,141,142,143,144,145,7,146,147,148,9,149,150,151,83,58,152,153,154,155,156,48,84,157,158,159,160,161,162,163,164,165,42,43,166,167,168,30,6,35,5,51,65,66,17,222,18,19]),import.meta.url),"./pages/hr/documents/document-acknowledgments/view.tsx":()=>O(()=>import("./view-Dw61qhOk.js"),__vite__mapDeps([222,1,42,44,107,46,109,160,17,18,19]),import.meta.url),"./pages/hr/documents/document-categories/index.tsx":()=>O(()=>import("./index-BKa9SN2b.js"),__vite__mapDeps([223,1,77,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,159,94,89,127,60,110,160,83,16,84,17,18,19]),import.meta.url),"./pages/hr/documents/document-templates/create.tsx":()=>O(()=>import("./create-IoumbhUE.js"),__vite__mapDeps([224,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,56,17,18,19]),import.meta.url),"./pages/hr/documents/document-templates/edit.tsx":()=>O(()=>import("./edit-XCtlV2mF.js"),__vite__mapDeps([225,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,56,17,18,19]),import.meta.url),"./pages/hr/documents/document-templates/generate.tsx":()=>O(()=>import("./generate-C8citJrT.js"),__vite__mapDeps([226,1,119,17,18,19]),import.meta.url),"./pages/hr/documents/document-templates/index.tsx":()=>O(()=>import("./index-C4rS_B3j.js"),__vite__mapDeps([227,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,226,18,19]),import.meta.url),"./pages/hr/documents/document-templates/show.tsx":()=>O(()=>import("./show-CuchtGiG.js"),__vite__mapDeps([228,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,58,153,111,17,18,19]),import.meta.url),"./pages/hr/documents/hr-documents/index.tsx":()=>O(()=>import("./index-CbdgvcXo.js"),__vite__mapDeps([229,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,230,18,19]),import.meta.url),"./pages/hr/documents/hr-documents/view.tsx":()=>O(()=>import("./view-BJ4q7exK.js"),__vite__mapDeps([230,1,153,114,44,42,160,117,107,46,17,18,19]),import.meta.url),"./pages/hr/employee-salaries/index.tsx":()=>O(()=>import("./index-CfE9RqBV.js"),__vite__mapDeps([231,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,232,18,19]),import.meta.url),"./pages/hr/employee-salaries/payroll-calculation.tsx":()=>O(()=>import("./payroll-calculation-CsNXsl-F.js"),__vite__mapDeps([233,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,100,159,158,17,18,19]),import.meta.url),"./pages/hr/employee-salaries/view.tsx":()=>O(()=>import("./view-CPJephlz.js"),__vite__mapDeps([232,1,49,42,44,128,16,17,18,19]),import.meta.url),"./pages/hr/employees/create.tsx":()=>O(()=>import("./create-D6ap4dph.js"),__vite__mapDeps([234,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,70,71,72,84,56,17,18,19]),import.meta.url),"./pages/hr/employees/edit.tsx":()=>O(()=>import("./edit-CX7bkawy.js"),__vite__mapDeps([235,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,70,71,72,117,84,56,17,18,19]),import.meta.url),"./pages/hr/employees/index.tsx":()=>O(()=>import("./index-DZvsi9_s.js"),__vite__mapDeps([236,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,68,65,66,17,69,70,25,72,73,74,75,188,189,18,19]),import.meta.url),"./pages/hr/employees/show.tsx":()=>O(()=>import("./show-CWZul8W_.js"),__vite__mapDeps([237,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,77,68,56,23,141,60,114,117,84,17,18,19]),import.meta.url),"./pages/hr/holidays/calendar.tsx":()=>O(()=>import("./calendar-1Xop4ez3.js"),__vite__mapDeps([238,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,53,67,114,17,18,19]),import.meta.url),"./pages/hr/holidays/index.tsx":()=>O(()=>import("./index-CR7ebXL8.js"),__vite__mapDeps([239,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,240,18,19]),import.meta.url),"./pages/hr/holidays/view.tsx":()=>O(()=>import("./view-Kypihw2t.js"),__vite__mapDeps([240,1,17,45,153,44,123,18,19]),import.meta.url),"./pages/hr/leave-applications/index.tsx":()=>O(()=>import("./index-BS6rhCib.js"),__vite__mapDeps([241,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,68,242,18,19]),import.meta.url),"./pages/hr/leave-applications/view.tsx":()=>O(()=>import("./view-CIsuARGL.js"),__vite__mapDeps([242,1,45,42,153,126,117,17,18,19]),import.meta.url),"./pages/hr/leave-balances/index.tsx":()=>O(()=>import("./index-ChW1Tzdd.js"),__vite__mapDeps([243,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,68,244,18,19]),import.meta.url),"./pages/hr/leave-balances/view.tsx":()=>O(()=>import("./view-DG9-mnmR.js"),__vite__mapDeps([244,1,45,42,153,126,17,18,19]),import.meta.url),"./pages/hr/leave-policies/index.tsx":()=>O(()=>import("./index-DZc4Dxls.js"),__vite__mapDeps([245,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,246,18,19]),import.meta.url),"./pages/hr/leave-policies/view.tsx":()=>O(()=>import("./view--947vg3E.js"),__vite__mapDeps([246,1,153,7,93,126,16,17,18,19]),import.meta.url),"./pages/hr/leave-types/index.tsx":()=>O(()=>import("./index-D4Gt8Ywm.js"),__vite__mapDeps([247,1,77,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,83,16,84,166,17,18,19]),import.meta.url),"./pages/hr/overtime/index.tsx":()=>O(()=>import("./index-B1jGHDZT.js"),__vite__mapDeps([248,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,107,109,17,18,19]),import.meta.url),"./pages/hr/payroll-runs/PayrollEntryBreakdown.tsx":()=>O(()=>import("./PayrollEntryBreakdown-BQCA24RG.js"),__vite__mapDeps([249,1,44,46,101,159,158,17,18,19]),import.meta.url),"./pages/hr/payroll-runs/PayrollOverrideModal.tsx":()=>O(()=>import("./PayrollOverrideModal-BFEQA8PZ.js"),__vite__mapDeps([250,1,73,33,17,18,19]),import.meta.url),"./pages/hr/payroll-runs/index.tsx":()=>O(()=>import("./index-DXDOWGjM.js"),__vite__mapDeps([251,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,188,189,18,19]),import.meta.url),"./pages/hr/payroll-runs/show.tsx":()=>O(()=>import("./show-btx521-2.js"),__vite__mapDeps([252,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,250,73,17,18,19,249]),import.meta.url),"./pages/hr/payslips/index.tsx":()=>O(()=>import("./index-DhqFHF6S.js"),__vite__mapDeps([253,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,65,66,17,18,19]),import.meta.url),"./pages/hr/performance/employee-goals/index.tsx":()=>O(()=>import("./index-BSGmDIhX.js"),__vite__mapDeps([254,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,255,183,18,19]),import.meta.url),"./pages/hr/performance/employee-goals/view.tsx":()=>O(()=>import("./view-CbD001QY.js"),__vite__mapDeps([255,1,183,51,154,42,153,112,44,17,18,19]),import.meta.url),"./pages/hr/performance/employee-reviews/conduct.tsx":()=>O(()=>import("./conduct-ylN55ak5.js"),__vite__mapDeps([256,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,58,56,17,18,19]),import.meta.url),"./pages/hr/performance/employee-reviews/create.tsx":()=>O(()=>import("./create-Aqz7hpS_.js"),__vite__mapDeps([257,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,17,18,19]),import.meta.url),"./pages/hr/performance/employee-reviews/index.tsx":()=>O(()=>import("./index-C_0fPJzN.js"),__vite__mapDeps([258,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,68,18,19]),import.meta.url),"./pages/hr/performance/employee-reviews/show.tsx":()=>O(()=>import("./show-BQ1fRKoZ.js"),__vite__mapDeps([259,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,58,56,110,17,18,19]),import.meta.url),"./pages/hr/performance/goal-types/index.tsx":()=>O(()=>import("./index-C4WCB3_m.js"),__vite__mapDeps([260,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,154,83,84,17,18,19]),import.meta.url),"./pages/hr/performance/indicator-categories/index.tsx":()=>O(()=>import("./index-D9WfGpQf.js"),__vite__mapDeps([261,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,262,18,19]),import.meta.url),"./pages/hr/performance/indicator-categories/view.tsx":()=>O(()=>import("./view-DU_9UxWY.js"),__vite__mapDeps([262,1,39,16,17,18,19]),import.meta.url),"./pages/hr/performance/indicators/index.tsx":()=>O(()=>import("./index-C6s0y99w.js"),__vite__mapDeps([263,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,264,18,19]),import.meta.url),"./pages/hr/performance/indicators/view.tsx":()=>O(()=>import("./view-JE4sQ_qW.js"),__vite__mapDeps([264,1,105,39,146,154,16,17,18,19]),import.meta.url),"./pages/hr/performance/review-cycles/index.tsx":()=>O(()=>import("./index-BwHXA9aB.js"),__vite__mapDeps([265,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,83,84,17,18,19]),import.meta.url),"./pages/hr/promotions/index.tsx":()=>O(()=>import("./index-B95SfE_0.js"),__vite__mapDeps([266,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,267,68,18,19]),import.meta.url),"./pages/hr/promotions/view.tsx":()=>O(()=>import("./view-0ho_yqvm.js"),__vite__mapDeps([267,1,68,159,40,92,49,117,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-assessments/index.tsx":()=>O(()=>import("./index-BatXmBQU.js"),__vite__mapDeps([268,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,269,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-assessments/view.tsx":()=>O(()=>import("./view-Cn1iIsjc.js"),__vite__mapDeps([269,1,110,42,126,163,44,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-onboarding/index.tsx":()=>O(()=>import("./index-07FSnf47.js"),__vite__mapDeps([270,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-onboarding/show.tsx":()=>O(()=>import("./show-CwPiSc4f.js"),__vite__mapDeps([271,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidate-sources/index.tsx":()=>O(()=>import("./index-C0Ml30Dj.js"),__vite__mapDeps([272,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,83,16,84,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidates/convert-to-employee.tsx":()=>O(()=>import("./convert-to-employee-QLKNwij2.js"),__vite__mapDeps([273,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,70,71,84,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidates/index.tsx":()=>O(()=>import("./index-BF8fif0j.js"),__vite__mapDeps([274,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/candidates/show.tsx":()=>O(()=>import("./show-C1pwhZq9.js"),__vite__mapDeps([275,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,141,23,61,115,60,94,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/checklist-items/index.tsx":()=>O(()=>import("./index-U2bljUKu.js"),__vite__mapDeps([276,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,277,18,19]),import.meta.url),"./pages/hr/recruitment/checklist-items/view.tsx":()=>O(()=>import("./view-MkN0R0ov.js"),__vite__mapDeps([277,1,151,153,16,17,18,19]),import.meta.url),"./pages/hr/recruitment/custom-questions/index.tsx":()=>O(()=>import("./index-DvX1CIpv.js"),__vite__mapDeps([278,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,279,18,19]),import.meta.url),"./pages/hr/recruitment/custom-questions/view.tsx":()=>O(()=>import("./view-DnoEz16W.js"),__vite__mapDeps([279,1,108,107,17,18,19]),import.meta.url),"./pages/hr/recruitment/interview-feedback/index.tsx":()=>O(()=>import("./index-DmVtcg0V.js"),__vite__mapDeps([280,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,281,18,19]),import.meta.url),"./pages/hr/recruitment/interview-feedback/view.tsx":()=>O(()=>import("./view-TaZ0CeRf.js"),__vite__mapDeps([281,1,137,42,40,43,58,155,17,18,19]),import.meta.url),"./pages/hr/recruitment/interview-rounds/index.tsx":()=>O(()=>import("./index-0Z3DI-n5.js"),__vite__mapDeps([282,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,283,18,19]),import.meta.url),"./pages/hr/recruitment/interview-rounds/view.tsx":()=>O(()=>import("./view-0E0bYwEc.js"),__vite__mapDeps([283,1,43,126,40,16,17,18,19]),import.meta.url),"./pages/hr/recruitment/interview-types/index.tsx":()=>O(()=>import("./index-Cd1BYcg7.js"),__vite__mapDeps([284,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,137,83,16,84,17,18,19]),import.meta.url),"./pages/hr/recruitment/interviews/index.tsx":()=>O(()=>import("./index-BazTc7Ec.js"),__vite__mapDeps([285,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,286,18,19]),import.meta.url),"./pages/hr/recruitment/interviews/view.tsx":()=>O(()=>import("./view-C30gboqX.js"),__vite__mapDeps([286,1,101,42,40,43,46,132,61,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-categories/index.tsx":()=>O(()=>import("./index-C6pthHd0.js"),__vite__mapDeps([287,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,83,16,84,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-locations/index.tsx":()=>O(()=>import("./index-DPhivvB9.js"),__vite__mapDeps([288,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,289,18,19]),import.meta.url),"./pages/hr/recruitment/job-locations/view.tsx":()=>O(()=>import("./view-B2zB18Rr.js"),__vite__mapDeps([289,1,61,80,16,8,126,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-postings/create.tsx":()=>O(()=>import("./create-trmZ1y6e.js"),__vite__mapDeps([290,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,291,177,88,67,145,132,111,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-postings/edit.tsx":()=>O(()=>import("./edit-LuN72LBF.js"),__vite__mapDeps([292,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,25,291,177,88,67,145,132,111,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-postings/index.tsx":()=>O(()=>import("./index-BxOjzVTT.js"),__vite__mapDeps([293,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-postings/show.tsx":()=>O(()=>import("./show-ClT9zPwr.js"),__vite__mapDeps([294,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,58,60,61,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-requisitions/index.tsx":()=>O(()=>import("./index-zjF_UbLu.js"),__vite__mapDeps([295,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/job-types/index.tsx":()=>O(()=>import("./index-M4eluJfZ.js"),__vite__mapDeps([296,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,128,83,16,84,17,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/create.tsx":()=>O(()=>import("./create-ItAlWWwL.js"),__vite__mapDeps([297,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/edit.tsx":()=>O(()=>import("./edit-DObVaWFN.js"),__vite__mapDeps([298,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/generate.tsx":()=>O(()=>import("./generate-DNmdQ5bj.js"),__vite__mapDeps([299,1,119,17,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/index.tsx":()=>O(()=>import("./index-CLujnaqp.js"),__vite__mapDeps([300,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,299,18,19]),import.meta.url),"./pages/hr/recruitment/offer-templates/show.tsx":()=>O(()=>import("./show-DjWMXJgC.js"),__vite__mapDeps([301,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,56,111,17,18,19]),import.meta.url),"./pages/hr/recruitment/offers/index.tsx":()=>O(()=>import("./index-GXWegY7L.js"),__vite__mapDeps([302,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/recruitment/offers/show.tsx":()=>O(()=>import("./show-BhlcLnPW.js"),__vite__mapDeps([303,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,60,56,17,18,19]),import.meta.url),"./pages/hr/recruitment/onboarding-checklists/index.tsx":()=>O(()=>import("./index-Dt0uMvSB.js"),__vite__mapDeps([304,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,305,18,19]),import.meta.url),"./pages/hr/recruitment/onboarding-checklists/view.tsx":()=>O(()=>import("./view-DJgeOs6W.js"),__vite__mapDeps([305,1,151,126,16,17,18,19]),import.meta.url),"./pages/hr/resignations/index.tsx":()=>O(()=>import("./index-CYs3geP5.js"),__vite__mapDeps([306,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,307,68,18,19]),import.meta.url),"./pages/hr/resignations/view.tsx":()=>O(()=>import("./view-DCegI9ZM.js"),__vite__mapDeps([307,1,68,52,44,46,117,17,18,19]),import.meta.url),"./pages/hr/salary-components/index.tsx":()=>O(()=>import("./index-DYnsaMnJ.js"),__vite__mapDeps([308,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,77,65,159,158,83,16,84,140,17,18,19]),import.meta.url),"./pages/hr/shifts/calendar.tsx":()=>O(()=>import("./calendar-7JJmYI2k.js"),__vite__mapDeps([309,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,129,17,18,19]),import.meta.url),"./pages/hr/shifts/index.tsx":()=>O(()=>import("./index-DAww2MJ_.js"),__vite__mapDeps([310,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,69,70,71,25,72,73,74,75,76,77,65,66,17,59,67,311,152,16,18,19,117,83,84]),import.meta.url),"./pages/hr/shifts/view.tsx":()=>O(()=>import("./view-D19m-Fnd.js"),__vite__mapDeps([311,1,152,46,48,16,17,18,19]),import.meta.url),"./pages/hr/statutory-brackets/index.tsx":()=>O(()=>import("./index-CE095MNu.js"),__vite__mapDeps([312,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,17,18,19]),import.meta.url),"./pages/hr/terminations/index.tsx":()=>O(()=>import("./index-D68ER7Cp.js"),__vite__mapDeps([313,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,314,68,18,19]),import.meta.url),"./pages/hr/terminations/view.tsx":()=>O(()=>import("./view-jkGirsLs.js"),__vite__mapDeps([314,1,68,165,153,46,44,117,17,18,19]),import.meta.url),"./pages/hr/thirteenth-month/index.tsx":()=>O(()=>import("./index-4R996m51.js"),__vite__mapDeps([315,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,120,78,59,100,150,17,18,19]),import.meta.url),"./pages/hr/time-entries/index.tsx":()=>O(()=>import("./index-BVJa5G__.js"),__vite__mapDeps([316,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,188,189,317,18,19]),import.meta.url),"./pages/hr/time-entries/view.tsx":()=>O(()=>import("./view-DpfMHBLp.js"),__vite__mapDeps([317,1,107,109,106,46,42,44,40,17,18,19]),import.meta.url),"./pages/hr/training/assessments/index.tsx":()=>O(()=>import("./index-D7lr0To6.js"),__vite__mapDeps([318,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/training/assessments/show.tsx":()=>O(()=>import("./show-DO4Y3HfX.js"),__vite__mapDeps([319,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,87,69,70,71,25,72,73,74,75,76,77,56,83,157,17,18,19]),import.meta.url),"./pages/hr/training/employee-trainings/dashboard.tsx":()=>O(()=>import("./dashboard-D2OPNHx1.js"),__vite__mapDeps([320,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,67,17,18,19]),import.meta.url),"./pages/hr/training/employee-trainings/index.tsx":()=>O(()=>import("./index-D8Y4pbO2.js"),__vite__mapDeps([321,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,68,18,19]),import.meta.url),"./pages/hr/training/employee-trainings/show.tsx":()=>O(()=>import("./show-B-cqQHn6.js"),__vite__mapDeps([322,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,87,69,70,71,25,72,73,74,75,76,77,176,56,83,157,114,17,18,19]),import.meta.url),"./pages/hr/training/programs/index.tsx":()=>O(()=>import("./index-DMBYXv3o.js"),__vite__mapDeps([323,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/training/programs/show.tsx":()=>O(()=>import("./show-sBLYxDq4.js"),__vite__mapDeps([324,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,183,56,17,18,19]),import.meta.url),"./pages/hr/training/sessions/calendar.tsx":()=>O(()=>import("./calendar-CE42kucH.js"),__vite__mapDeps([325,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,53,67,17,18,19]),import.meta.url),"./pages/hr/training/sessions/index.tsx":()=>O(()=>import("./index-rhhnQp0L.js"),__vite__mapDeps([326,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,18,19]),import.meta.url),"./pages/hr/training/sessions/show.tsx":()=>O(()=>import("./show-C3AxymVF.js"),__vite__mapDeps([327,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,87,69,70,71,25,72,73,74,75,76,77,68,56,17,18,19]),import.meta.url),"./pages/hr/training/types/index.tsx":()=>O(()=>import("./index-B0f15GLA.js"),__vite__mapDeps([328,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,329,18,19]),import.meta.url),"./pages/hr/training/types/view.tsx":()=>O(()=>import("./view-J15i8OQc.js"),__vite__mapDeps([329,1,98,105,123,80,17,18,19]),import.meta.url),"./pages/hr/transfers/index.tsx":()=>O(()=>import("./index-DW8RlYXo.js"),__vite__mapDeps([330,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,331,18,19,68]),import.meta.url),"./pages/hr/transfers/view.tsx":()=>O(()=>import("./view-DsifVeP-.js"),__vite__mapDeps([331,1,91,123,92,80,40,44,16,117,17,18,19]),import.meta.url),"./pages/hr/trips/expenses.tsx":()=>O(()=>import("./expenses-JeSgrSam.js"),__vite__mapDeps([332,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,17,18,19]),import.meta.url),"./pages/hr/trips/index.tsx":()=>O(()=>import("./index-DFj2VUsB.js"),__vite__mapDeps([333,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,334,18,19,68]),import.meta.url),"./pages/hr/trips/view.tsx":()=>O(()=>import("./view-ByxV07S_.js"),__vite__mapDeps([334,1,142,61,44,49,117,17,18,19]),import.meta.url),"./pages/hr/warnings/index.tsx":()=>O(()=>import("./index-DDVcNMxg.js"),__vite__mapDeps([335,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,336,68,18,19]),import.meta.url),"./pages/hr/warnings/view.tsx":()=>O(()=>import("./view-D9KBamBj.js"),__vite__mapDeps([336,1,68,160,153,42,44,117,17,18,19]),import.meta.url),"./pages/landing-page/components/AboutUs.tsx":()=>O(()=>import("./AboutUs-Dzdgan1P.js"),__vite__mapDeps([337,1,338,168,43,127,58,130,94,154,17,18,19]),import.meta.url),"./pages/landing-page/components/ContactSection.tsx":()=>O(()=>import("./ContactSection-RJDSbCmK.js"),__vite__mapDeps([339,1,23,141,61,147,17,18,19]),import.meta.url),"./pages/landing-page/components/FaqSection.tsx":()=>O(()=>import("./FaqSection-CN7PLtZG.js"),__vite__mapDeps([340,1,34,17,18,19]),import.meta.url),"./pages/landing-page/components/FeaturesSection.tsx":()=>O(()=>import("./FeaturesSection-D-RNp6Oy.js"),__vite__mapDeps([341,1,338,105,94,164,46,49,127,149,16,43,168,58,8,103,144,17,18,19]),import.meta.url),"./pages/landing-page/components/Footer.tsx":()=>O(()=>import("./Footer-CzBrdWfY.js"),__vite__mapDeps([342,1,23,141,61,118,133,17,18,19]),import.meta.url),"./pages/landing-page/components/Header.tsx":()=>O(()=>import("./Header-CPmg6Bp5.js"),__vite__mapDeps([343,1,135,17,18,19]),import.meta.url),"./pages/landing-page/components/HeroSection.tsx":()=>O(()=>import("./HeroSection-Z2S1x8Si.js"),__vite__mapDeps([344,1,92,143,17,18,19]),import.meta.url),"./pages/landing-page/components/LivePreview.tsx":()=>O(()=>import("./LivePreview-BPIigd50.js"),__vite__mapDeps([345,1,117,107,106,141,23,8,17,18,19]),import.meta.url),"./pages/landing-page/components/NewsletterSection.tsx":()=>O(()=>import("./NewsletterSection-Cm0nudgR.js"),__vite__mapDeps([346,1,23,17,18,19]),import.meta.url),"./pages/landing-page/components/PlansSection.tsx":()=>O(()=>import("./PlansSection-CbnsxVRF.js"),__vite__mapDeps([347,1,338,92,17,18,19]),import.meta.url),"./pages/landing-page/components/ScreenshotsSection.tsx":()=>O(()=>import("./ScreenshotsSection-ZsoMa9xw.js"),__vite__mapDeps([348,1,338,138,17,18,19]),import.meta.url),"./pages/landing-page/components/SectionNavigation.tsx":()=>O(()=>import("./SectionNavigation-2ds3B-MX.js"),__vite__mapDeps([349,1,9,93,111,162,8,138,94,82,43,13,108,23,141,17,18,19]),import.meta.url),"./pages/landing-page/components/TeamSection.tsx":()=>O(()=>import("./TeamSection-DgmuZVwU.js"),__vite__mapDeps([350,1,133,23,17,18,19]),import.meta.url),"./pages/landing-page/components/TestimonialsSection.tsx":()=>O(()=>import("./TestimonialsSection-8hPz5wUJ.js"),__vite__mapDeps([351,1,338,145,58,17,18,19]),import.meta.url),"./pages/landing-page/components/WhyChooseUs.tsx":()=>O(()=>import("./WhyChooseUs-tfkiXnEx.js"),__vite__mapDeps([352,1,338,104,128,94,127,58,107,168,43,46,17,18,19]),import.meta.url),"./pages/landing-page/custom-page.tsx":()=>O(()=>import("./custom-page-CPuiighF.js"),__vite__mapDeps([353,1,343,135,17,18,19,342,23,141,61,118,133,12]),import.meta.url),"./pages/landing-page/custom-pages/create.tsx":()=>O(()=>import("./create-DdBN69u6.js"),__vite__mapDeps([354,1,31,177,88,67,145,132,111,10,11,30,32,33,34,6,35,36,15,37,5,7,8,9,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,355,56,17,18,19]),import.meta.url),"./pages/landing-page/custom-pages/edit.tsx":()=>O(()=>import("./edit-CEWakfnw.js"),__vite__mapDeps([356,1,31,177,88,67,145,132,111,10,11,30,32,33,34,6,35,36,15,37,5,7,8,9,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,355,56,17,18,19]),import.meta.url),"./pages/landing-page/custom-pages/index.tsx":()=>O(()=>import("./index-BsxQTXyb.js"),__vite__mapDeps([357,1,65,66,32,33,11,34,17,44,59,67,39,30,31,6,35,36,15,37,5,7,8,9,10,38,40,13,41,42,43,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,82,128,129,130,131,132,133,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,355,18,19]),import.meta.url),"./pages/landing-page/index.tsx":()=>O(()=>import("./index-Duh_t5s5.js"),__vite__mapDeps([358,1,343,135,17,18,19,344,92,143,341,338,105,94,164,46,49,127,149,16,43,168,58,8,103,144,348,138,352,104,128,107,337,130,154,350,133,23,351,145,347,340,34,346,339,141,61,147,342,118,12]),import.meta.url),"./pages/landing-page/settings-about.tsx":()=>O(()=>import("./settings-about-GG9PVihu.js"),__vite__mapDeps([359,1,31,10,11,162,103,84,43,17,18,19]),import.meta.url),"./pages/landing-page/settings-contact.tsx":()=>O(()=>import("./settings-contact-d0_U5LO2.js"),__vite__mapDeps([360,1,10,11,141,61,17,18,19]),import.meta.url),"./pages/landing-page/settings-features.tsx":()=>O(()=>import("./settings-features-DNQBmccf.js"),__vite__mapDeps([361,1,31,10,11,162,58,84,17,18,19]),import.meta.url),"./pages/landing-page/settings-templates.tsx":()=>O(()=>import("./settings-templates-g5OZiiRG.js"),__vite__mapDeps([362,1,31,10,11,162,17,18,19]),import.meta.url),"./pages/landing-page/settings.tsx":()=>O(()=>import("./settings-B86VyvB8.js"),__vite__mapDeps([363,1,31,10,11,30,32,33,34,6,35,36,15,37,5,7,8,9,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,355,361,162,58,84,17,18,19,359,103,93,111,94,138,82,108,23,141,124,117]),import.meta.url),"./pages/login-history/index.tsx":()=>O(()=>import("./index-BNOEQDEd.js"),__vite__mapDeps([364,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,18,19]),import.meta.url),"./pages/manage-language.tsx":()=>O(()=>import("./manage-language-BcTjK0GJ.js"),__vite__mapDeps([365,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,73,77,95,117,84,17,18,19]),import.meta.url),"./pages/media-library.tsx":()=>O(()=>import("./media-library-BLmhvmu9.js"),__vite__mapDeps([366,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,122,67,125,82,114,84,17,18,19]),import.meta.url),"./pages/meetings/action-items/index.tsx":()=>O(()=>import("./index-BDpKvLvJ.js"),__vite__mapDeps([367,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,368,18,19]),import.meta.url),"./pages/meetings/action-items/view.tsx":()=>O(()=>import("./view-B1OOFt0r.js"),__vite__mapDeps([368,1,151,42,44,160,17,18,19]),import.meta.url),"./pages/meetings/meeting-attendees/index.tsx":()=>O(()=>import("./index-Ck8yYIR2.js"),__vite__mapDeps([369,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,370,18,19]),import.meta.url),"./pages/meetings/meeting-attendees/view.tsx":()=>O(()=>import("./view-Dyr47ZtR.js"),__vite__mapDeps([370,1,43,42,45,46,107,17,18,19]),import.meta.url),"./pages/meetings/meeting-minutes/index.tsx":()=>O(()=>import("./index-CC616HWW.js"),__vite__mapDeps([371,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,372,18,19]),import.meta.url),"./pages/meetings/meeting-minutes/view.tsx":()=>O(()=>import("./view-CRyrgb0P.js"),__vite__mapDeps([372,1,45,42,46,17,18,19]),import.meta.url),"./pages/meetings/meeting-rooms/index.tsx":()=>O(()=>import("./index-C1ChM6f-.js"),__vite__mapDeps([373,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,374,18,19]),import.meta.url),"./pages/meetings/meeting-rooms/view.tsx":()=>O(()=>import("./view-7uUxZAzH.js"),__vite__mapDeps([374,1,138,61,43,16,126,132,17,18,19]),import.meta.url),"./pages/meetings/meeting-types/index.tsx":()=>O(()=>import("./index-D81_-1V7.js"),__vite__mapDeps([375,1,77,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,83,16,84,17,18,19]),import.meta.url),"./pages/meetings/meetings/index.tsx":()=>O(()=>import("./index-CP9ZrXLY.js"),__vite__mapDeps([376,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,65,66,17,377,18,19]),import.meta.url),"./pages/meetings/meetings/view.tsx":()=>O(()=>import("./view-Bp1EXKNS.js"),__vite__mapDeps([377,1,45,46,42,61,7,17,18,19]),import.meta.url),"./pages/newsletters/index.tsx":()=>O(()=>import("./index-B76rJyOC.js"),__vite__mapDeps([378,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,77,65,66,17,18,19]),import.meta.url),"./pages/permissions/index.tsx":()=>O(()=>import("./index-BU-HRVXV.js"),__vite__mapDeps([379,1,380,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,17,18,19]),import.meta.url),"./pages/plans/create.tsx":()=>O(()=>import("./create-D1cxLDHA.js"),__vite__mapDeps([381,1,382,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,17,18,19]),import.meta.url),"./pages/plans/edit.tsx":()=>O(()=>import("./edit-Cq41ctsr.js"),__vite__mapDeps([383,1,382,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,17,18,19]),import.meta.url),"./pages/plans/form.tsx":()=>O(()=>import("./form-VUM5bQKz.js"),__vite__mapDeps([382,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,17,18,19]),import.meta.url),"./pages/plans/index.tsx":()=>O(()=>import("./index-Ce33qTIq.js"),__vite__mapDeps([384,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,176,77,107,115,166,189,82,106,153,113,168,125,78,83,84,96,17,385,18,19]),import.meta.url),"./pages/plans/plan-orders.tsx":()=>O(()=>import("./plan-orders-j2XjTlVV.js"),__vite__mapDeps([386,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,65,66,17,18,19]),import.meta.url),"./pages/plans/plan-request.tsx":()=>O(()=>import("./plan-request-gP7ecbK6.js"),__vite__mapDeps([387,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,65,66,17,18,19]),import.meta.url),"./pages/referral/components/payout-requests.tsx":()=>O(()=>import("./payout-requests-3LVTkOgB.js"),__vite__mapDeps([388,1,31,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,36,40,80,60,100,101,45,44,102,103,104,105,34,62,38,106,107,78,108,109,71,110,46,111,50,37,13,112,113,49,114,115,116,117,118,119,120,121,59,47,122,41,123,8,124,125,126,127,82,128,39,129,130,131,132,133,67,15,76,16,134,52,23,61,135,136,137,138,139,140,141,142,143,144,145,7,146,147,148,9,149,150,151,83,58,152,153,154,155,156,48,84,157,158,159,160,161,162,163,164,165,42,43,166,167,168,17,18,19]),import.meta.url),"./pages/referral/components/referral-dashboard.tsx":()=>O(()=>import("./referral-dashboard-B3KOw-d5.js"),__vite__mapDeps([389,1,43,46,49,159,94,23,44,37,17,18,19]),import.meta.url),"./pages/referral/components/referral-settings.tsx":()=>O(()=>import("./referral-settings-BfItF-NA.js"),__vite__mapDeps([390,1,31,10,11,17,18,19]),import.meta.url),"./pages/referral/components/referred-users-section.tsx":()=>O(()=>import("./referred-users-section-CUDX25qY.js"),__vite__mapDeps([391,1,65,43,107,49,44,17,18,19]),import.meta.url),"./pages/referral/index.tsx":()=>O(()=>import("./index-Cv6i2NcW.js"),__vite__mapDeps([392,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,73,355,389,159,94,23,17,18,19,388,86,87,88,89,90,56,91,92,93,81,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,160,161,162,163,164,165,166,167,168,390,391,65]),import.meta.url),"./pages/referral/referred-users.tsx":()=>O(()=>import("./referred-users-BvGde4A8.js"),__vite__mapDeps([393,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,107,56,17,18,19]),import.meta.url),"./pages/roles/index.tsx":()=>O(()=>import("./index-CbufqmQT.js"),__vite__mapDeps([394,1,380,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,59,122,123,124,125,126,127,82,128,129,130,131,132,133,67,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,17,18,19]),import.meta.url),"./pages/settings/components/brand-settings.tsx":()=>O(()=>Promise.resolve().then(()=>$3),void 0,import.meta.url),"./pages/settings/components/cache-settings.tsx":()=>O(()=>import("./cache-settings-B_8J---F.js"),__vite__mapDeps([395,1,125,84,17,18,19]),import.meta.url),"./pages/settings/components/chatgpt-settings.tsx":()=>O(()=>import("./chatgpt-settings-D_IVaC5b.js"),__vite__mapDeps([396,1,32,33,11,34,17,18,19]),import.meta.url),"./pages/settings/components/cookie-settings.tsx":()=>O(()=>import("./cookie-settings-D7p7EysW.js"),__vite__mapDeps([397,1,31,10,11,114,17,18,19]),import.meta.url),"./pages/settings/components/currency-settings.tsx":()=>O(()=>import("./currency-settings-BT4omTSx.js"),__vite__mapDeps([398,1,32,33,11,34,10,49,82,17,18,19]),import.meta.url),"./pages/settings/components/email-notification-settings.tsx":()=>O(()=>import("./email-notification-settings-CPtrgANi.js"),__vite__mapDeps([399,1,10,11,176,73,33,97,17,18,19]),import.meta.url),"./pages/settings/components/email-settings.tsx":()=>O(()=>import("./email-settings-D6iy7QiV.js"),__vite__mapDeps([400,1,32,33,11,34,189,23,148,106,42,16,147,17,18,19]),import.meta.url),"./pages/settings/components/experience-certificate-settings.tsx":()=>O(()=>import("./experience-certificate-settings-DVg3g6Wh.js"),__vite__mapDeps([401,1,32,33,11,34,177,88,67,145,132,111,6,82,17,18,19]),import.meta.url),"./pages/settings/components/google-calendar-settings.tsx":()=>O(()=>import("./google-calendar-settings-eMbsVytU.js"),__vite__mapDeps([402,1,10,11,17,18,19]),import.meta.url),"./pages/settings/components/ip-restriction-settings.tsx":()=>O(()=>import("./ip-restriction-settings-D34h7VGk.js"),__vite__mapDeps([403,1,77,69,31,32,33,11,34,70,71,25,10,72,73,74,75,76,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,36,40,80,60,100,101,45,44,102,103,104,105,62,38,106,107,78,108,109,110,46,111,50,37,13,112,113,49,114,115,116,117,118,119,120,121,59,47,122,41,123,8,124,125,126,127,82,128,39,129,130,131,132,133,67,15,16,134,52,23,61,135,136,137,138,139,140,141,142,143,144,145,7,146,147,148,9,149,150,151,83,58,152,153,154,155,156,48,84,157,158,159,160,161,162,163,164,165,42,43,166,167,168,17,18,19]),import.meta.url),"./pages/settings/components/joining-letter-settings.tsx":()=>O(()=>import("./joining-letter-settings-Dg8J1HvK.js"),__vite__mapDeps([404,1,32,33,11,34,177,88,67,145,132,111,6,82,17,18,19]),import.meta.url),"./pages/settings/components/noc-settings.tsx":()=>O(()=>import("./noc-settings-Btctqwcg.js"),__vite__mapDeps([405,1,32,33,11,34,177,88,67,145,132,111,6,82,17,18,19]),import.meta.url),"./pages/settings/components/payment-settings.tsx":()=>O(()=>import("./payment-settings-DH-KiRcT.js"),__vite__mapDeps([406,1,31,32,33,11,34,189,10,106,116,117,70,71,96,13,166,50,17,18,19]),import.meta.url),"./pages/settings/components/recaptcha-settings.tsx":()=>O(()=>import("./recaptcha-settings-Cr42TArj.js"),__vite__mapDeps([407,1,32,33,11,34,10,17,18,19]),import.meta.url),"./pages/settings/components/seo-settings.tsx":()=>O(()=>import("./seo-settings-BzvLQN-Z.js"),__vite__mapDeps([408,1,31,130,17,18,19]),import.meta.url),"./pages/settings/components/storage-settings.tsx":()=>O(()=>import("./storage-settings-etuGiLdE.js"),__vite__mapDeps([409,1,176,25,11,125,17,18,19]),import.meta.url),"./pages/settings/components/stripe-settings.tsx":()=>O(()=>import("./stripe-settings-BAwI1r-t.js"),__vite__mapDeps([410,1,10,11,189,13,106,116,117,17,18,19]),import.meta.url),"./pages/settings/components/system-settings.tsx":()=>O(()=>import("./system-settings-CiunzQ_e.js"),__vite__mapDeps([411,1,32,33,11,34,10,35,6,17,18,19]),import.meta.url),"./pages/settings/components/webhook-settings.tsx":()=>O(()=>import("./webhook-settings-CJnyQOMC.js"),__vite__mapDeps([412,1,32,33,11,34,87,77,131,83,84,17,18,19]),import.meta.url),"./pages/settings/components/working-days-settings.tsx":()=>O(()=>import("./working-days-settings-Ba_UCqex.js"),__vite__mapDeps([413,1,10,11,46,17,18,19]),import.meta.url),"./pages/settings/index.tsx":()=>O(()=>import("./index-3kfBTgG2.js"),__vite__mapDeps([414,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,73,411,17,18,19,398,82,400,189,23,148,106,16,147,406,116,117,70,71,96,166,409,176,25,125,407,396,397,114,408,130,395,84,413,403,77,69,72,74,75,76,86,87,88,89,90,56,91,92,93,81,94,95,97,98,99,80,60,100,101,102,103,104,105,62,107,78,108,109,110,111,112,113,115,118,119,120,121,59,122,123,124,126,127,128,129,131,132,133,67,134,61,135,136,137,138,139,140,141,142,143,144,145,146,149,150,151,83,58,152,153,154,155,156,157,158,159,160,161,162,163,164,165,167,168,405,177,401,404,355]),import.meta.url),"./pages/settings/profile-settings.tsx":()=>O(()=>import("./profile-settings-mvFr8XaK.js"),__vite__mapDeps([415,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,3,102,16,17,18,19]),import.meta.url),"./pages/superadmin/dashboard.tsx":()=>O(()=>import("./dashboard-Bn4z_3Hu.js"),__vite__mapDeps([416,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,80,153,117,92,159,106,164,156,17,18,19]),import.meta.url),"./pages/users/index.tsx":()=>O(()=>import("./index-aEHS69qc.js"),__vite__mapDeps([417,1,30,31,32,33,11,34,6,35,36,15,37,5,7,8,9,10,38,39,40,13,41,42,43,44,45,46,47,48,49,50,51,52,65,66,17,59,67,86,87,88,89,90,56,91,92,93,81,94,95,96,97,98,99,80,60,100,101,102,103,104,105,62,106,107,78,108,109,71,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,82,128,129,130,131,132,133,76,16,134,23,61,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,83,58,152,153,154,155,156,84,157,158,159,160,161,162,163,164,165,166,167,168,69,70,25,72,73,74,75,77,68,418,18,19]),import.meta.url),"./pages/users/view.tsx":()=>O(()=>import("./view-CBDIEe_U.js"),__vite__mapDeps([418,1,42,23,16,44,150,17,18,19]),import.meta.url),"./pages/welcome.tsx":()=>O(()=>import("./welcome-C5pxBnvT.js"),__vite__mapDeps([419,1,17,18,19]),import.meta.url)});return lL(`./pages/${t}.tsx`,r).then(a=>{const o=a.default,l=o.layout;return o.layout=u=>{const f=l?l(u):u;return x.jsx(n4,{children:f})},a})},setup({el:t,App:r,props:a}){const o=a.initialPage.props.globalSettings||{};SL(o);try{window.page=a.initialPage}catch{}const l=pL.createRoot(t);xL();const u=()=>l.render(x.jsx(r,{...a}));Bt.isInitialized?u():Bt.on("initialized",u)},progress:{color:"#4B5563"}});export{L4 as $,M3 as A,Z0 as B,P_ as C,V3 as D,BP as E,PP as F,Xn as G,E4 as H,_a as I,xn as J,JS as K,Gn as L,fp as M,F4 as N,H4 as O,Y0 as P,k4 as Q,B4 as R,GP as S,mL as T,b_ as U,xa as V,R4 as W,Sm as X,H_ as Y,T4 as Z,wm as _,Y_ as a,j4 as a0,P4 as a1,M4 as a2,z4 as a3,U4 as a4,V4 as a5,q4 as a6,e_ as a7,A4 as a8,C4 as a9,N4 as aa,D4 as ab,Hp as ac,up as ad,Rs as ae,h_ as af,O4 as ag,TM as ah,UP as ai,v_ as aj,NP as ak,L_ as al,Ql as am,bm as an,dt as ao,z3 as ap,Bt as aq,$4 as ar,I3 as as,nL as b,ym as c,w4 as d,Me as e,BS as f,Ka as g,k_ as h,I4 as i,I_ as j,$_ as k,V_ as l,M_ as m,z_ as n,vt as o,F_ as p,H3 as q,Aa as r,KM as s,G4 as t,oj as u,QM as v,ZM as w,J0 as x,$P as y,U_ as z}; diff --git a/public/build/assets/apply-BE2iVNrk.js b/public/build/assets/apply-D2x9Z5WS.js similarity index 97% rename from public/build/assets/apply-BE2iVNrk.js rename to public/build/assets/apply-D2x9Z5WS.js index 102abb85a..1b4c0696d 100644 --- a/public/build/assets/apply-BE2iVNrk.js +++ b/public/build/assets/apply-D2x9Z5WS.js @@ -1 +1 @@ -import{r as C,j as e}from"./ui-Z445SNHD.js";import{u as $,c as J,b as Y,H as Z,g as S,d as B,C as p,l as j,m as y,n as N,L as n,I as c,F as Q,U as M,o as R}from"./app-CfhhiFAk.js";import{T as G}from"./textarea-kpRjGGLz.js";import{S as w,a as F,b as A,c as q,d as r}from"./select-BrY9osYp.js";import{C as W}from"./checkbox-1_Cig_g5.js";import{u as X,C as ee,a as se}from"./use-brand-theme-CmuRtpGN.js";import{u as te}from"./use-favicon-Dgw0iu9k.js";import{A as re}from"./arrow-left-B_Yqvwsn.js";import{U as ae}from"./user-C37aWgZX.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";function Ne(){var L,U,D;const{t:s}=$(),{jobPosting:o,customQuestions:g,candidateSources:x,applicantFields:_,companyId:le,companySettings:u,userSlug:f}=J().props,v=(o==null?void 0:o.visibility)||[],[V,b]=C.useState(!1),[k,I]=C.useState(null),[z,P]=C.useState(null);te(),X();const{data:l,setData:i,post:H,processing:T,errors:a}=Y({first_name:"",last_name:"",email:"",phone:"",address:"",city:"",state:"",zip_code:"",country:"Afghanistan",gender:"male",date_of_birth:"",current_position:"",current_company:"",current_salary:"",experience_years:"",expected_salary:"",coverletter_message:"",source_id:x&&x.length>0?x[0].id.toString():"company-website",resume:null,cover_letter_file:null,terms_condition_check:!1}),E=(t,d)=>{d==="resume"?(I(t),i("resume",t)):(P(t),i("cover_letter_file",t))},K=t=>{t.preventDefault();const d={};g&&g.length>0&&g.forEach(m=>{const O=l[`custom_question_${m.id}`]||"";d[m.question]=O});const h=new FormData;Object.keys(l).forEach(m=>{m!=="terms_condition_check"&&m!=="resume"&&m!=="cover_letter_file"&&h.append(m,l[m]||"")}),h.append("terms_condition_check",l.terms_condition_check===!0||l.terms_condition_check==="1"||l.terms_condition_check===1?"on":"off"),Object.keys(d).length>0&&h.append("custom_question",JSON.stringify(d)),l.resume&&h.append("resume",l.resume),l.cover_letter_file&&h.append("cover_letter_file",l.cover_letter_file),H(route("career.job.submit",[f,o.code]),{data:h,forceFormData:!0,onSuccess:()=>{i({first_name:"",last_name:"",email:"",phone:"",address:"",city:"",state:"",zip_code:"",country:"Afghanistan",gender:"male",date_of_birth:"",current_position:"",current_company:"",current_salary:"",experience_years:"",expected_salary:"",coverletter_message:"",source_id:x&&x.length>0?x[0].id.toString():"company-website",resume:null,cover_letter_file:null,terms_condition_check:!1}),I(null),P(null),b(!0),setTimeout(()=>{b(!1),window.location.href=route("career.index",f)},5e3)},onError:m=>{console.error("Submission errors:",m)}})};return e.jsxs(e.Fragment,{children:[e.jsx(Z,{title:`${s("Apply for")} ${o.title} - ${s("Career Application")}`,children:(u==null?void 0:u.favIcon)&&e.jsxs(e.Fragment,{children:[e.jsx("link",{rel:"icon",href:S(u.favIcon)}),e.jsx("link",{rel:"shortcut icon",href:S(u.favIcon)}),e.jsx("link",{rel:"apple-touch-icon",href:S(u.favIcon)})]})}),e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[V&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 pointer-events-none",children:e.jsx("div",{className:"relative bg-white rounded-lg shadow-xl max-w-md w-full mx-auto transform transition-all duration-300 animate-in zoom-in-95 slide-in-from-bottom-4 pointer-events-auto",children:e.jsxs("div",{className:"p-6 text-center",children:[e.jsx("div",{className:"mx-auto flex items-center justify-center h-16 w-16 rounded-full bg-green-100 mb-4 animate-in zoom-in duration-500 delay-200",children:e.jsx("svg",{className:"h-8 w-8 text-green-600 animate-bounce",fill:"currentColor",viewBox:"0 0 20 20",children:e.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})})}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 animate-in slide-in-from-bottom-2 duration-500 delay-300",children:s("Application Submitted Successfully!")}),e.jsx("p",{className:"text-sm text-gray-600 mb-6 animate-in slide-in-from-bottom-2 duration-500 delay-400",children:s("We will review your application and get back to you soon.")}),e.jsx("button",{onClick:()=>{b(!1),window.location.href=route("career.index",f)},className:"w-full bg-green-600 text-white px-4 py-2 rounded-md hover:bg-green-700 transition-colors duration-200 animate-in slide-in-from-bottom-2 duration-500 delay-500",children:s("Close")})]})})}),e.jsx(ee,{logoOnly:!0,companySettings:u}),e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[e.jsx("div",{className:"mb-6",children:e.jsxs(B,{href:route("career.job-details",[f,o.code]),className:"inline-flex items-center text-blue-600 hover:text-blue-800",children:[e.jsx(re,{className:"h-4 w-4 mr-2"}),s("Back to Job Details")]})}),e.jsx(p,{className:"mb-8",children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"text-2xl font-bold text-gray-900 mb-2",children:[s("Apply for")," ",o.title]}),e.jsxs("p",{className:"text-gray-600",children:[((L=o.branch)==null?void 0:L.name)||"General"," • ",((U=o.location)==null?void 0:U.name)||"Remote"," • ",((D=o.job_type)==null?void 0:D.name)||"Full-time"]})]})})}),e.jsxs("form",{onSubmit:K,className:"space-y-8",children:[a.error&&e.jsx("div",{className:"bg-red-50 border border-red-200 rounded-md p-4",children:e.jsx("p",{className:"text-sm text-red-600",children:a.error})}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsxs(N,{className:"flex items-center gap-2 text-lg font-semibold",children:[e.jsx(ae,{className:"h-5 w-5"}),s("Personal Information")]})}),e.jsxs(j,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs(n,{required:!0,htmlFor:"firstName",className:"text-sm font-medium text-gray-700",children:[" ",s("First Name")," "]}),e.jsx(c,{id:"firstName",value:l.first_name,onChange:t=>i("first_name",t.target.value),placeholder:s("Enter your first name"),className:"mt-1",required:!0}),a.first_name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.first_name})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"lastName",className:"text-sm font-medium text-gray-700",required:!0,children:[s("Last Name")," "]}),e.jsx(c,{id:"lastName",value:l.last_name,onChange:t=>i("last_name",t.target.value),placeholder:s("Enter your last name"),className:"mt-1",required:!0}),a.last_name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.last_name})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"email",className:"text-sm font-medium text-gray-700",required:!0,children:s("Email Address")}),e.jsx(c,{id:"email",type:"email",value:l.email,onChange:t=>i("email",t.target.value),placeholder:"your.email@example.com",className:"mt-1",required:!0}),a.email&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.email})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"phone",className:"text-sm font-medium text-gray-700",required:!0,children:s("Phone Number")}),e.jsx(c,{id:"phone",type:"tel",value:l.phone,onChange:t=>i("phone",t.target.value),placeholder:"+1 (555) 123-4567",className:"mt-1",required:!0}),a.phone&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.phone})]})]}),_&&_.length>0&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[_.includes("gender")&&e.jsxs("div",{children:[e.jsx(n,{htmlFor:"gender",className:"text-sm font-medium text-gray-700",children:s("Gender")}),e.jsxs(w,{value:l.gender,onValueChange:t=>i("gender",t),children:[e.jsx(F,{className:"mt-1",children:e.jsx(A,{placeholder:s("Select Gender")})}),e.jsxs(q,{children:[e.jsx(r,{value:"male",children:s("Male")}),e.jsx(r,{value:"female",children:s("Female")}),e.jsx(r,{value:"other",children:s("Other")})]})]}),a.gender&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.gender})]}),_.includes("date_of_birth")&&e.jsxs("div",{children:[e.jsx(n,{htmlFor:"date_of_birth",className:"text-sm font-medium text-gray-700",children:s("Date of Birth")}),e.jsx(c,{id:"date_of_birth",type:"date",value:l.date_of_birth,onChange:t=>i("date_of_birth",t.target.value),className:"mt-1"}),a.date_of_birth&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.date_of_birth})]})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"address",className:"text-sm font-medium text-gray-700",required:!0,children:s("Address")}),e.jsx(c,{id:"address",value:l.address,onChange:t=>i("address",t.target.value),placeholder:s("Street address"),className:"mt-1"}),a.address&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.address})]}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"city",className:"text-sm font-medium text-gray-700",required:!0,children:s("City")}),e.jsx(c,{id:"city",value:l.city,onChange:t=>i("city",t.target.value),placeholder:s("City"),className:"mt-1"}),a.city&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.city})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"state",className:"text-sm font-medium text-gray-700",required:!0,children:s("State")}),e.jsx(c,{id:"state",value:l.state,onChange:t=>i("state",t.target.value),placeholder:s("State"),className:"mt-1"}),a.state&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.state})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"zip_code",className:"text-sm font-medium text-gray-700",required:!0,children:s("ZIP Code")}),e.jsx(c,{id:"zip_code",value:l.zip_code,onChange:t=>i("zip_code",t.target.value),placeholder:"12345",className:"mt-1"}),a.zip_code&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.zip_code})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"country",className:"text-sm font-medium text-gray-700",required:!0,children:s("Country")}),e.jsxs(w,{value:l.country,onValueChange:t=>i("country",t),children:[e.jsx(F,{className:"mt-1",children:e.jsx(A,{placeholder:s("Select Country")})}),e.jsxs(q,{searchable:!0,children:[e.jsx(r,{value:"Afghanistan",children:s("Afghanistan")}),e.jsx(r,{value:"Albania",children:s("Albania")}),e.jsx(r,{value:"Algeria",children:s("Algeria")}),e.jsx(r,{value:"Argentina",children:s("Argentina")}),e.jsx(r,{value:"Australia",children:s("Australia")}),e.jsx(r,{value:"Belgium",children:s("Belgium")}),e.jsx(r,{value:"Brazil",children:s("Brazil")}),e.jsx(r,{value:"Canada",children:s("Canada")}),e.jsx(r,{value:"China",children:s("China")}),e.jsx(r,{value:"Colombia",children:s("Colombia")}),e.jsx(r,{value:"Denmark",children:s("Denmark")}),e.jsx(r,{value:"Egypt",children:s("Egypt")}),e.jsx(r,{value:"Finland",children:s("Finland")}),e.jsx(r,{value:"France",children:s("France")}),e.jsx(r,{value:"Germany",children:s("Germany")}),e.jsx(r,{value:"Greece",children:s("Greece")}),e.jsx(r,{value:"India",children:s("India")}),e.jsx(r,{value:"Indonesia",children:s("Indonesia")}),e.jsx(r,{value:"Ireland",children:s("Ireland")}),e.jsx(r,{value:"Italy",children:s("Italy")}),e.jsx(r,{value:"Japan",children:s("Japan")}),e.jsx(r,{value:"Kenya",children:s("Kenya")}),e.jsx(r,{value:"Malaysia",children:s("Malaysia")}),e.jsx(r,{value:"Mexico",children:s("Mexico")}),e.jsx(r,{value:"Netherlands",children:s("Netherlands")}),e.jsx(r,{value:"New Zealand",children:s("New Zealand")}),e.jsx(r,{value:"Nigeria",children:s("Nigeria")}),e.jsx(r,{value:"Norway",children:s("Norway")}),e.jsx(r,{value:"Pakistan",children:s("Pakistan")}),e.jsx(r,{value:"Philippines",children:s("Philippines")}),e.jsx(r,{value:"Poland",children:s("Poland")}),e.jsx(r,{value:"Portugal",children:s("Portugal")}),e.jsx(r,{value:"Russia",children:s("Russia")}),e.jsx(r,{value:"Saudi Arabia",children:s("Saudi Arabia")}),e.jsx(r,{value:"Singapore",children:s("Singapore")}),e.jsx(r,{value:"South Africa",children:s("South Africa")}),e.jsx(r,{value:"South Korea",children:s("South Korea")}),e.jsx(r,{value:"Spain",children:s("Spain")}),e.jsx(r,{value:"Sweden",children:s("Sweden")}),e.jsx(r,{value:"Switzerland",children:s("Switzerland")}),e.jsx(r,{value:"Thailand",children:s("Thailand")}),e.jsx(r,{value:"Turkey",children:s("Turkey")}),e.jsx(r,{value:"United Arab Emirates",children:s("United Arab Emirates")}),e.jsx(r,{value:"United Kingdom",children:s("United Kingdom")}),e.jsx(r,{value:"United States",children:s("United States")}),e.jsx(r,{value:"Vietnam",children:s("Vietnam")})]})]}),a.country&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.country})]})]})]})]}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsx(N,{className:"text-lg font-semibold",children:s("Professional Information")})}),e.jsxs(j,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"currentPosition",className:"text-sm font-medium text-gray-700",required:!0,children:s("Current Position")}),e.jsx(c,{id:"currentPosition",value:l.current_position,onChange:t=>i("current_position",t.target.value),placeholder:s("e.g., Software Engineer"),className:"mt-1"}),a.current_position&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.current_position})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"currentCompany",className:"text-sm font-medium text-gray-700",required:!0,children:s("Current Company")}),e.jsx(c,{id:"currentCompany",value:l.current_company,onChange:t=>i("current_company",t.target.value),placeholder:s("e.g., Tech Corp"),className:"mt-1"}),a.current_company&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.current_company})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"experience",className:"text-sm font-medium text-gray-700",required:!0,children:s("Years of Experience")}),e.jsx(c,{id:"experience",type:"number",step:"0.5",min:"0",max:"50",value:l.experience_years,onChange:t=>i("experience_years",t.target.value),placeholder:s("e.g., 2.5"),className:"mt-1",required:!0}),a.experience_years&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.experience_years})]}),e.jsxs("div",{children:[e.jsx(n,{required:!0,htmlFor:"currentSalary",className:"text-sm font-medium text-gray-700",children:s("Current Salary")}),e.jsx(c,{id:"currentSalary",type:"number",step:"0.01",min:"0",value:l.current_salary,onChange:t=>i("current_salary",t.target.value),placeholder:"e.g., 60000",className:"mt-1"}),a.current_salary&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.current_salary})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"expectedSalary",className:"text-sm font-medium text-gray-700",required:!0,children:s("Expected Salary")}),e.jsx(c,{id:"expectedSalary",type:"number",step:"0.01",min:"0",value:l.expected_salary,onChange:t=>i("expected_salary",t.target.value),placeholder:"e.g., 80000",className:"mt-1"}),a.expected_salary&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.expected_salary})]})]})]})]}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsxs(N,{className:"flex items-center gap-2 text-lg font-semibold",children:[e.jsx(Q,{className:"h-5 w-5"}),s("Documents")]})}),e.jsxs(j,{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(n,{className:"text-sm font-medium text-gray-700",required:!0,children:s("Resume/CV")}),e.jsx("div",{className:"mt-2 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-lg hover:border-blue-400 transition-colors",children:e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx(M,{className:"mx-auto h-10 w-10 text-gray-400"}),e.jsxs("div",{className:"text-sm text-gray-600",children:[e.jsxs("label",{htmlFor:"resume",className:"relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-blue-500",children:[e.jsx("span",{children:s("Upload your resume")}),e.jsx("input",{id:"resume",type:"file",className:"sr-only",onChange:t=>{var d;return((d=t.target.files)==null?void 0:d[0])&&E(t.target.files[0],"resume")}})]}),e.jsxs("span",{className:"text-gray-500",children:[" ",s("or drag and drop")]})]}),k&&e.jsxs("p",{className:"text-sm text-green-600 font-medium flex items-center justify-center gap-1",children:[e.jsx("span",{className:"text-green-500",children:"✓"})," ",k.name]}),a.resume&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.resume})]})})]}),v&&v.includes("cover_letter")&&e.jsxs("div",{children:[e.jsxs(n,{className:"text-sm font-medium text-gray-700",required:!0,children:[s("Cover Letter")," ",e.jsxs("span",{className:"text-gray-500 text-xs",children:["(",s("Optional"),")"]})]}),e.jsx("div",{className:"mt-2 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-lg hover:border-blue-400 transition-colors",children:e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx(M,{className:"mx-auto h-10 w-10 text-gray-400"}),e.jsxs("div",{className:"text-sm text-gray-600",children:[e.jsxs("label",{htmlFor:"coverLetterFile",className:"relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-blue-500",children:[e.jsx("span",{children:s("Upload cover letter")}),e.jsx("input",{id:"coverLetterFile",type:"file",className:"sr-only",onChange:t=>{var d;return((d=t.target.files)==null?void 0:d[0])&&E(t.target.files[0],"coverLetter")}})]}),e.jsxs("span",{className:"text-gray-500",children:[" ",s("or drag and drop")]})]}),z&&e.jsxs("p",{className:"text-sm text-green-600 font-medium flex items-center justify-center gap-1",children:[e.jsx("span",{className:"text-green-500",children:"✓"})," ",z.name]}),a.cover_letter_file&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.cover_letter_file})]})})]})]})]}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsx(N,{className:"text-lg font-semibold",children:s("Additional Information")})}),e.jsxs(j,{className:"space-y-4",children:[v&&v.includes("cover_letter")&&e.jsxs("div",{children:[e.jsx(n,{htmlFor:"coverLetter",className:"text-sm font-medium text-gray-700",required:!0,children:s("Cover Letter Message")}),e.jsx(G,{id:"coverLetter",value:l.coverletter_message,onChange:t=>i("coverletter_message",t.target.value),placeholder:s("Tell us why you're interested in this position..."),rows:4,className:"mt-1 resize-none"}),a.coverletter_message&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.coverletter_message})]}),e.jsxs("div",{children:[e.jsx(n,{required:!0,htmlFor:"howDidYouHear",className:"text-sm font-medium text-gray-700",children:s("How did you hear about this position?")}),e.jsxs(w,{value:l.source_id,onValueChange:t=>i("source_id",t),children:[e.jsx(F,{className:"mt-1",children:e.jsx(A,{placeholder:s("Select an option")})}),e.jsx(q,{searchable:!0,children:x&&x.length>0&&x.map(t=>e.jsx(r,{value:t.id.toString(),children:t.name},t.id))})]}),a.source_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.source_id})]})]})]}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsx(N,{className:"text-lg font-semibold",children:s("Additional Questions")})}),e.jsx(j,{className:"space-y-4",children:g&&g.length>0?g.map((t,d)=>e.jsxs("div",{children:[e.jsx(n,{className:"text-sm font-medium text-gray-700",required:t.required===1,children:t.question}),e.jsx(G,{value:l[`custom_question_${t.id}`]||"",onChange:h=>i(`custom_question_${t.id}`,h.target.value),placeholder:s("Your answer..."),rows:3,className:"mt-1 resize-none",required:t.required===1}),a.custom_question&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.custom_question})]},t.id)):e.jsx("p",{className:"text-sm text-gray-600",children:s("No additional questions at this time.")})})]}),v&&v.includes("terms_and_conditions")&&e.jsx(p,{children:e.jsxs(j,{className:"pt-6 space-y-4",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx(W,{id:"acceptTerms",checked:l.terms_condition_check||!1,onCheckedChange:t=>i("terms_condition_check",t),className:"mt-0.5"}),e.jsx(n,{htmlFor:"acceptTerms",className:"text-sm leading-5 text-gray-700",children:s("I accept the terms and conditions for this position")})]}),a.terms_condition_check&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.terms_condition_check})]})}),e.jsxs("div",{className:"flex justify-end space-x-4",children:[e.jsx(B,{href:route("career.job-details",[f,o.code]),children:e.jsx(R,{type:"button",variant:"outline",children:s("Cancel")})}),e.jsx(R,{type:"submit",disabled:T||!l.resume,className:"px-8",children:s(T?"Submitting...":"Submit Application")})]})]})]}),e.jsx(se,{companySettings:u})]})]})}export{Ne as default}; +import{r as C,j as e}from"./ui-Z445SNHD.js";import{u as $,c as J,b as Y,H as Z,g as S,d as B,C as p,l as j,m as y,n as N,L as n,I as c,F as Q,U as M,o as R}from"./app-Dya84jp7.js";import{T as G}from"./textarea-yeg8ONhy.js";import{S as w,a as F,b as A,c as q,d as r}from"./select-CHkpLxhL.js";import{C as W}from"./checkbox-BLrehV38.js";import{u as X,C as ee,a as se}from"./use-brand-theme-Cg8kbbAC.js";import{u as te}from"./use-favicon-B8cqaHhj.js";import{A as re}from"./arrow-left-BUNj5JJK.js";import{U as ae}from"./user-77BPqA3J.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";function Ne(){var L,U,D;const{t:s}=$(),{jobPosting:o,customQuestions:g,candidateSources:x,applicantFields:_,companyId:le,companySettings:u,userSlug:f}=J().props,v=(o==null?void 0:o.visibility)||[],[V,b]=C.useState(!1),[k,I]=C.useState(null),[z,P]=C.useState(null);te(),X();const{data:l,setData:i,post:H,processing:T,errors:a}=Y({first_name:"",last_name:"",email:"",phone:"",address:"",city:"",state:"",zip_code:"",country:"Afghanistan",gender:"male",date_of_birth:"",current_position:"",current_company:"",current_salary:"",experience_years:"",expected_salary:"",coverletter_message:"",source_id:x&&x.length>0?x[0].id.toString():"company-website",resume:null,cover_letter_file:null,terms_condition_check:!1}),E=(t,d)=>{d==="resume"?(I(t),i("resume",t)):(P(t),i("cover_letter_file",t))},K=t=>{t.preventDefault();const d={};g&&g.length>0&&g.forEach(m=>{const O=l[`custom_question_${m.id}`]||"";d[m.question]=O});const h=new FormData;Object.keys(l).forEach(m=>{m!=="terms_condition_check"&&m!=="resume"&&m!=="cover_letter_file"&&h.append(m,l[m]||"")}),h.append("terms_condition_check",l.terms_condition_check===!0||l.terms_condition_check==="1"||l.terms_condition_check===1?"on":"off"),Object.keys(d).length>0&&h.append("custom_question",JSON.stringify(d)),l.resume&&h.append("resume",l.resume),l.cover_letter_file&&h.append("cover_letter_file",l.cover_letter_file),H(route("career.job.submit",[f,o.code]),{data:h,forceFormData:!0,onSuccess:()=>{i({first_name:"",last_name:"",email:"",phone:"",address:"",city:"",state:"",zip_code:"",country:"Afghanistan",gender:"male",date_of_birth:"",current_position:"",current_company:"",current_salary:"",experience_years:"",expected_salary:"",coverletter_message:"",source_id:x&&x.length>0?x[0].id.toString():"company-website",resume:null,cover_letter_file:null,terms_condition_check:!1}),I(null),P(null),b(!0),setTimeout(()=>{b(!1),window.location.href=route("career.index",f)},5e3)},onError:m=>{console.error("Submission errors:",m)}})};return e.jsxs(e.Fragment,{children:[e.jsx(Z,{title:`${s("Apply for")} ${o.title} - ${s("Career Application")}`,children:(u==null?void 0:u.favIcon)&&e.jsxs(e.Fragment,{children:[e.jsx("link",{rel:"icon",href:S(u.favIcon)}),e.jsx("link",{rel:"shortcut icon",href:S(u.favIcon)}),e.jsx("link",{rel:"apple-touch-icon",href:S(u.favIcon)})]})}),e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[V&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 pointer-events-none",children:e.jsx("div",{className:"relative bg-white rounded-lg shadow-xl max-w-md w-full mx-auto transform transition-all duration-300 animate-in zoom-in-95 slide-in-from-bottom-4 pointer-events-auto",children:e.jsxs("div",{className:"p-6 text-center",children:[e.jsx("div",{className:"mx-auto flex items-center justify-center h-16 w-16 rounded-full bg-green-100 mb-4 animate-in zoom-in duration-500 delay-200",children:e.jsx("svg",{className:"h-8 w-8 text-green-600 animate-bounce",fill:"currentColor",viewBox:"0 0 20 20",children:e.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})})}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 animate-in slide-in-from-bottom-2 duration-500 delay-300",children:s("Application Submitted Successfully!")}),e.jsx("p",{className:"text-sm text-gray-600 mb-6 animate-in slide-in-from-bottom-2 duration-500 delay-400",children:s("We will review your application and get back to you soon.")}),e.jsx("button",{onClick:()=>{b(!1),window.location.href=route("career.index",f)},className:"w-full bg-green-600 text-white px-4 py-2 rounded-md hover:bg-green-700 transition-colors duration-200 animate-in slide-in-from-bottom-2 duration-500 delay-500",children:s("Close")})]})})}),e.jsx(ee,{logoOnly:!0,companySettings:u}),e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[e.jsx("div",{className:"mb-6",children:e.jsxs(B,{href:route("career.job-details",[f,o.code]),className:"inline-flex items-center text-blue-600 hover:text-blue-800",children:[e.jsx(re,{className:"h-4 w-4 mr-2"}),s("Back to Job Details")]})}),e.jsx(p,{className:"mb-8",children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"text-2xl font-bold text-gray-900 mb-2",children:[s("Apply for")," ",o.title]}),e.jsxs("p",{className:"text-gray-600",children:[((L=o.branch)==null?void 0:L.name)||"General"," • ",((U=o.location)==null?void 0:U.name)||"Remote"," • ",((D=o.job_type)==null?void 0:D.name)||"Full-time"]})]})})}),e.jsxs("form",{onSubmit:K,className:"space-y-8",children:[a.error&&e.jsx("div",{className:"bg-red-50 border border-red-200 rounded-md p-4",children:e.jsx("p",{className:"text-sm text-red-600",children:a.error})}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsxs(N,{className:"flex items-center gap-2 text-lg font-semibold",children:[e.jsx(ae,{className:"h-5 w-5"}),s("Personal Information")]})}),e.jsxs(j,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs(n,{required:!0,htmlFor:"firstName",className:"text-sm font-medium text-gray-700",children:[" ",s("First Name")," "]}),e.jsx(c,{id:"firstName",value:l.first_name,onChange:t=>i("first_name",t.target.value),placeholder:s("Enter your first name"),className:"mt-1",required:!0}),a.first_name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.first_name})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"lastName",className:"text-sm font-medium text-gray-700",required:!0,children:[s("Last Name")," "]}),e.jsx(c,{id:"lastName",value:l.last_name,onChange:t=>i("last_name",t.target.value),placeholder:s("Enter your last name"),className:"mt-1",required:!0}),a.last_name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.last_name})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"email",className:"text-sm font-medium text-gray-700",required:!0,children:s("Email Address")}),e.jsx(c,{id:"email",type:"email",value:l.email,onChange:t=>i("email",t.target.value),placeholder:"your.email@example.com",className:"mt-1",required:!0}),a.email&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.email})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"phone",className:"text-sm font-medium text-gray-700",required:!0,children:s("Phone Number")}),e.jsx(c,{id:"phone",type:"tel",value:l.phone,onChange:t=>i("phone",t.target.value),placeholder:"+1 (555) 123-4567",className:"mt-1",required:!0}),a.phone&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.phone})]})]}),_&&_.length>0&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[_.includes("gender")&&e.jsxs("div",{children:[e.jsx(n,{htmlFor:"gender",className:"text-sm font-medium text-gray-700",children:s("Gender")}),e.jsxs(w,{value:l.gender,onValueChange:t=>i("gender",t),children:[e.jsx(F,{className:"mt-1",children:e.jsx(A,{placeholder:s("Select Gender")})}),e.jsxs(q,{children:[e.jsx(r,{value:"male",children:s("Male")}),e.jsx(r,{value:"female",children:s("Female")}),e.jsx(r,{value:"other",children:s("Other")})]})]}),a.gender&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.gender})]}),_.includes("date_of_birth")&&e.jsxs("div",{children:[e.jsx(n,{htmlFor:"date_of_birth",className:"text-sm font-medium text-gray-700",children:s("Date of Birth")}),e.jsx(c,{id:"date_of_birth",type:"date",value:l.date_of_birth,onChange:t=>i("date_of_birth",t.target.value),className:"mt-1"}),a.date_of_birth&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.date_of_birth})]})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"address",className:"text-sm font-medium text-gray-700",required:!0,children:s("Address")}),e.jsx(c,{id:"address",value:l.address,onChange:t=>i("address",t.target.value),placeholder:s("Street address"),className:"mt-1"}),a.address&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.address})]}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"city",className:"text-sm font-medium text-gray-700",required:!0,children:s("City")}),e.jsx(c,{id:"city",value:l.city,onChange:t=>i("city",t.target.value),placeholder:s("City"),className:"mt-1"}),a.city&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.city})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"state",className:"text-sm font-medium text-gray-700",required:!0,children:s("State")}),e.jsx(c,{id:"state",value:l.state,onChange:t=>i("state",t.target.value),placeholder:s("State"),className:"mt-1"}),a.state&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.state})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"zip_code",className:"text-sm font-medium text-gray-700",required:!0,children:s("ZIP Code")}),e.jsx(c,{id:"zip_code",value:l.zip_code,onChange:t=>i("zip_code",t.target.value),placeholder:"12345",className:"mt-1"}),a.zip_code&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.zip_code})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"country",className:"text-sm font-medium text-gray-700",required:!0,children:s("Country")}),e.jsxs(w,{value:l.country,onValueChange:t=>i("country",t),children:[e.jsx(F,{className:"mt-1",children:e.jsx(A,{placeholder:s("Select Country")})}),e.jsxs(q,{searchable:!0,children:[e.jsx(r,{value:"Afghanistan",children:s("Afghanistan")}),e.jsx(r,{value:"Albania",children:s("Albania")}),e.jsx(r,{value:"Algeria",children:s("Algeria")}),e.jsx(r,{value:"Argentina",children:s("Argentina")}),e.jsx(r,{value:"Australia",children:s("Australia")}),e.jsx(r,{value:"Belgium",children:s("Belgium")}),e.jsx(r,{value:"Brazil",children:s("Brazil")}),e.jsx(r,{value:"Canada",children:s("Canada")}),e.jsx(r,{value:"China",children:s("China")}),e.jsx(r,{value:"Colombia",children:s("Colombia")}),e.jsx(r,{value:"Denmark",children:s("Denmark")}),e.jsx(r,{value:"Egypt",children:s("Egypt")}),e.jsx(r,{value:"Finland",children:s("Finland")}),e.jsx(r,{value:"France",children:s("France")}),e.jsx(r,{value:"Germany",children:s("Germany")}),e.jsx(r,{value:"Greece",children:s("Greece")}),e.jsx(r,{value:"India",children:s("India")}),e.jsx(r,{value:"Indonesia",children:s("Indonesia")}),e.jsx(r,{value:"Ireland",children:s("Ireland")}),e.jsx(r,{value:"Italy",children:s("Italy")}),e.jsx(r,{value:"Japan",children:s("Japan")}),e.jsx(r,{value:"Kenya",children:s("Kenya")}),e.jsx(r,{value:"Malaysia",children:s("Malaysia")}),e.jsx(r,{value:"Mexico",children:s("Mexico")}),e.jsx(r,{value:"Netherlands",children:s("Netherlands")}),e.jsx(r,{value:"New Zealand",children:s("New Zealand")}),e.jsx(r,{value:"Nigeria",children:s("Nigeria")}),e.jsx(r,{value:"Norway",children:s("Norway")}),e.jsx(r,{value:"Pakistan",children:s("Pakistan")}),e.jsx(r,{value:"Philippines",children:s("Philippines")}),e.jsx(r,{value:"Poland",children:s("Poland")}),e.jsx(r,{value:"Portugal",children:s("Portugal")}),e.jsx(r,{value:"Russia",children:s("Russia")}),e.jsx(r,{value:"Saudi Arabia",children:s("Saudi Arabia")}),e.jsx(r,{value:"Singapore",children:s("Singapore")}),e.jsx(r,{value:"South Africa",children:s("South Africa")}),e.jsx(r,{value:"South Korea",children:s("South Korea")}),e.jsx(r,{value:"Spain",children:s("Spain")}),e.jsx(r,{value:"Sweden",children:s("Sweden")}),e.jsx(r,{value:"Switzerland",children:s("Switzerland")}),e.jsx(r,{value:"Thailand",children:s("Thailand")}),e.jsx(r,{value:"Turkey",children:s("Turkey")}),e.jsx(r,{value:"United Arab Emirates",children:s("United Arab Emirates")}),e.jsx(r,{value:"United Kingdom",children:s("United Kingdom")}),e.jsx(r,{value:"United States",children:s("United States")}),e.jsx(r,{value:"Vietnam",children:s("Vietnam")})]})]}),a.country&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.country})]})]})]})]}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsx(N,{className:"text-lg font-semibold",children:s("Professional Information")})}),e.jsxs(j,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"currentPosition",className:"text-sm font-medium text-gray-700",required:!0,children:s("Current Position")}),e.jsx(c,{id:"currentPosition",value:l.current_position,onChange:t=>i("current_position",t.target.value),placeholder:s("e.g., Software Engineer"),className:"mt-1"}),a.current_position&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.current_position})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"currentCompany",className:"text-sm font-medium text-gray-700",required:!0,children:s("Current Company")}),e.jsx(c,{id:"currentCompany",value:l.current_company,onChange:t=>i("current_company",t.target.value),placeholder:s("e.g., Tech Corp"),className:"mt-1"}),a.current_company&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.current_company})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"experience",className:"text-sm font-medium text-gray-700",required:!0,children:s("Years of Experience")}),e.jsx(c,{id:"experience",type:"number",step:"0.5",min:"0",max:"50",value:l.experience_years,onChange:t=>i("experience_years",t.target.value),placeholder:s("e.g., 2.5"),className:"mt-1",required:!0}),a.experience_years&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.experience_years})]}),e.jsxs("div",{children:[e.jsx(n,{required:!0,htmlFor:"currentSalary",className:"text-sm font-medium text-gray-700",children:s("Current Salary")}),e.jsx(c,{id:"currentSalary",type:"number",step:"0.01",min:"0",value:l.current_salary,onChange:t=>i("current_salary",t.target.value),placeholder:"e.g., 60000",className:"mt-1"}),a.current_salary&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.current_salary})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"expectedSalary",className:"text-sm font-medium text-gray-700",required:!0,children:s("Expected Salary")}),e.jsx(c,{id:"expectedSalary",type:"number",step:"0.01",min:"0",value:l.expected_salary,onChange:t=>i("expected_salary",t.target.value),placeholder:"e.g., 80000",className:"mt-1"}),a.expected_salary&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.expected_salary})]})]})]})]}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsxs(N,{className:"flex items-center gap-2 text-lg font-semibold",children:[e.jsx(Q,{className:"h-5 w-5"}),s("Documents")]})}),e.jsxs(j,{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(n,{className:"text-sm font-medium text-gray-700",required:!0,children:s("Resume/CV")}),e.jsx("div",{className:"mt-2 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-lg hover:border-blue-400 transition-colors",children:e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx(M,{className:"mx-auto h-10 w-10 text-gray-400"}),e.jsxs("div",{className:"text-sm text-gray-600",children:[e.jsxs("label",{htmlFor:"resume",className:"relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-blue-500",children:[e.jsx("span",{children:s("Upload your resume")}),e.jsx("input",{id:"resume",type:"file",className:"sr-only",onChange:t=>{var d;return((d=t.target.files)==null?void 0:d[0])&&E(t.target.files[0],"resume")}})]}),e.jsxs("span",{className:"text-gray-500",children:[" ",s("or drag and drop")]})]}),k&&e.jsxs("p",{className:"text-sm text-green-600 font-medium flex items-center justify-center gap-1",children:[e.jsx("span",{className:"text-green-500",children:"✓"})," ",k.name]}),a.resume&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.resume})]})})]}),v&&v.includes("cover_letter")&&e.jsxs("div",{children:[e.jsxs(n,{className:"text-sm font-medium text-gray-700",required:!0,children:[s("Cover Letter")," ",e.jsxs("span",{className:"text-gray-500 text-xs",children:["(",s("Optional"),")"]})]}),e.jsx("div",{className:"mt-2 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-lg hover:border-blue-400 transition-colors",children:e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx(M,{className:"mx-auto h-10 w-10 text-gray-400"}),e.jsxs("div",{className:"text-sm text-gray-600",children:[e.jsxs("label",{htmlFor:"coverLetterFile",className:"relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-blue-500",children:[e.jsx("span",{children:s("Upload cover letter")}),e.jsx("input",{id:"coverLetterFile",type:"file",className:"sr-only",onChange:t=>{var d;return((d=t.target.files)==null?void 0:d[0])&&E(t.target.files[0],"coverLetter")}})]}),e.jsxs("span",{className:"text-gray-500",children:[" ",s("or drag and drop")]})]}),z&&e.jsxs("p",{className:"text-sm text-green-600 font-medium flex items-center justify-center gap-1",children:[e.jsx("span",{className:"text-green-500",children:"✓"})," ",z.name]}),a.cover_letter_file&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.cover_letter_file})]})})]})]})]}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsx(N,{className:"text-lg font-semibold",children:s("Additional Information")})}),e.jsxs(j,{className:"space-y-4",children:[v&&v.includes("cover_letter")&&e.jsxs("div",{children:[e.jsx(n,{htmlFor:"coverLetter",className:"text-sm font-medium text-gray-700",required:!0,children:s("Cover Letter Message")}),e.jsx(G,{id:"coverLetter",value:l.coverletter_message,onChange:t=>i("coverletter_message",t.target.value),placeholder:s("Tell us why you're interested in this position..."),rows:4,className:"mt-1 resize-none"}),a.coverletter_message&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.coverletter_message})]}),e.jsxs("div",{children:[e.jsx(n,{required:!0,htmlFor:"howDidYouHear",className:"text-sm font-medium text-gray-700",children:s("How did you hear about this position?")}),e.jsxs(w,{value:l.source_id,onValueChange:t=>i("source_id",t),children:[e.jsx(F,{className:"mt-1",children:e.jsx(A,{placeholder:s("Select an option")})}),e.jsx(q,{searchable:!0,children:x&&x.length>0&&x.map(t=>e.jsx(r,{value:t.id.toString(),children:t.name},t.id))})]}),a.source_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.source_id})]})]})]}),e.jsxs(p,{children:[e.jsx(y,{children:e.jsx(N,{className:"text-lg font-semibold",children:s("Additional Questions")})}),e.jsx(j,{className:"space-y-4",children:g&&g.length>0?g.map((t,d)=>e.jsxs("div",{children:[e.jsx(n,{className:"text-sm font-medium text-gray-700",required:t.required===1,children:t.question}),e.jsx(G,{value:l[`custom_question_${t.id}`]||"",onChange:h=>i(`custom_question_${t.id}`,h.target.value),placeholder:s("Your answer..."),rows:3,className:"mt-1 resize-none",required:t.required===1}),a.custom_question&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.custom_question})]},t.id)):e.jsx("p",{className:"text-sm text-gray-600",children:s("No additional questions at this time.")})})]}),v&&v.includes("terms_and_conditions")&&e.jsx(p,{children:e.jsxs(j,{className:"pt-6 space-y-4",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx(W,{id:"acceptTerms",checked:l.terms_condition_check||!1,onCheckedChange:t=>i("terms_condition_check",t),className:"mt-0.5"}),e.jsx(n,{htmlFor:"acceptTerms",className:"text-sm leading-5 text-gray-700",children:s("I accept the terms and conditions for this position")})]}),a.terms_condition_check&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.terms_condition_check})]})}),e.jsxs("div",{className:"flex justify-end space-x-4",children:[e.jsx(B,{href:route("career.job-details",[f,o.code]),children:e.jsx(R,{type:"button",variant:"outline",children:s("Cancel")})}),e.jsx(R,{type:"submit",disabled:T||!l.resume,className:"px-8",children:s(T?"Submitting...":"Submit Application")})]})]})]}),e.jsx(se,{companySettings:u})]})]})}export{Ne as default}; diff --git a/public/build/assets/arrow-down-left-B7-m5tqv.js b/public/build/assets/arrow-down-left-B_VdNN9z.js similarity index 87% rename from public/build/assets/arrow-down-left-B7-m5tqv.js rename to public/build/assets/arrow-down-left-B_VdNN9z.js index ff3031ea2..b2fb8876f 100644 --- a/public/build/assets/arrow-down-left-B7-m5tqv.js +++ b/public/build/assets/arrow-down-left-B_VdNN9z.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/arrow-left-B_Yqvwsn.js b/public/build/assets/arrow-left-BUNj5JJK.js similarity index 87% rename from public/build/assets/arrow-left-B_Yqvwsn.js rename to public/build/assets/arrow-left-BUNj5JJK.js index 7abdfa80b..48629cc0b 100644 --- a/public/build/assets/arrow-left-B_Yqvwsn.js +++ b/public/build/assets/arrow-left-BUNj5JJK.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/arrow-right-0WTHrq3r.js b/public/build/assets/arrow-right-BHW--AGU.js similarity index 87% rename from public/build/assets/arrow-right-0WTHrq3r.js rename to public/build/assets/arrow-right-BHW--AGU.js index 93cb1ed32..2fe933d0c 100644 --- a/public/build/assets/arrow-right-0WTHrq3r.js +++ b/public/build/assets/arrow-right-BHW--AGU.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/arrow-right-left-oZQEgmVQ.js b/public/build/assets/arrow-right-left-rbTR90Mc.js similarity index 89% rename from public/build/assets/arrow-right-left-oZQEgmVQ.js rename to public/build/assets/arrow-right-left-rbTR90Mc.js index dbc58ff2f..f754f3aef 100644 --- a/public/build/assets/arrow-right-left-oZQEgmVQ.js +++ b/public/build/assets/arrow-right-left-rbTR90Mc.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/arrow-up-down-Bd89yBZf.js b/public/build/assets/arrow-up-down-B7nj--dP.js similarity index 89% rename from public/build/assets/arrow-up-down-Bd89yBZf.js rename to public/build/assets/arrow-up-down-B7nj--dP.js index 3d11123cf..9f0167aa8 100644 --- a/public/build/assets/arrow-up-down-Bd89yBZf.js +++ b/public/build/assets/arrow-up-down-B7nj--dP.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/auth-button-BnJeEQoR.js b/public/build/assets/auth-button-C1AEioKh.js similarity index 89% rename from public/build/assets/auth-button-BnJeEQoR.js rename to public/build/assets/auth-button-C1AEioKh.js index 5d3b4ccbd..1445ae6d3 100644 --- a/public/build/assets/auth-button-BnJeEQoR.js +++ b/public/build/assets/auth-button-C1AEioKh.js @@ -1 +1 @@ -import{j as a}from"./ui-Z445SNHD.js";import{a as u,T as d}from"./app-CfhhiFAk.js";import{L as c}from"./loader-circle-wGk7YsPK.js";function x({processing:t=!1,tabIndex:s,children:e,className:n="",disabled:m,...o}){const{themeColor:r,customColor:l}=u(),i=r==="custom"?l:d[r];return a.jsxs("button",{...o,type:o.type||"submit",className:`w-full text-white font-medium py-2.5 rounded-lg shadow-md hover:shadow-lg transition-all duration-200 transform hover:-translate-y-0.5 ${n}`,tabIndex:s,disabled:t||m,style:{backgroundColor:i},children:[t&&a.jsx(c,{className:"h-4 w-4 animate-spin mr-2 inline"}),e]})}export{x as A}; +import{j as a}from"./ui-Z445SNHD.js";import{a as u,T as d}from"./app-Dya84jp7.js";import{L as c}from"./loader-circle-BLsTZrwM.js";function x({processing:t=!1,tabIndex:s,children:e,className:n="",disabled:m,...o}){const{themeColor:r,customColor:l}=u(),i=r==="custom"?l:d[r];return a.jsxs("button",{...o,type:o.type||"submit",className:`w-full text-white font-medium py-2.5 rounded-lg shadow-md hover:shadow-lg transition-all duration-200 transform hover:-translate-y-0.5 ${n}`,tabIndex:s,disabled:t||m,style:{backgroundColor:i},children:[t&&a.jsx(c,{className:"h-4 w-4 animate-spin mr-2 inline"}),e]})}export{x as A}; diff --git a/public/build/assets/auth-layout-ISq1MRqV.js b/public/build/assets/auth-layout-CuYQAqvO.js similarity index 93% rename from public/build/assets/auth-layout-ISq1MRqV.js rename to public/build/assets/auth-layout-CuYQAqvO.js index 636a99d5d..332aac9a8 100644 --- a/public/build/assets/auth-layout-ISq1MRqV.js +++ b/public/build/assets/auth-layout-CuYQAqvO.js @@ -1 +1 @@ -import{r as v,R as y,j as e}from"./ui-Z445SNHD.js";import{u as _,a as $,f as H,c as M,H as I,T as O,g as P}from"./app-CfhhiFAk.js";import{L as z,C as B}from"./CookieConsentBanner-Do3n0EfV.js";import{u as F}from"./use-favicon-Dgw0iu9k.js";import{C as U}from"./credit-card-BmdpMcMw.js";function S({children:N,title:d,description:c,icon:i,status:l,statusType:k="success"}){var b,g;F();const{t:V,i18n:u}=_(),[q,C]=v.useState(!1),{logoLight:L,logoDark:w,themeColor:m,customColor:E}=$(),{appearance:R}=H(),x=R==="dark"?L:w,r=m==="custom"?E:O[m],t=(g=(b=window.page)==null?void 0:b.props)==null?void 0:g.globalSettings;t!=null&&t.is_demo;const s=M().props.userLanguage;v.useEffect(()=>{C(!0),s&&u.language!==s&&u.changeLanguage(s)},[s]);const p=y.useCallback(()=>{const o=(t==null?void 0:t.is_demo)||!1,n=s||(t==null?void 0:t.defaultLanguage),D=["ar","he"].includes(n);let a="ltr";const T=(o?(A=>{var f;if(typeof document>"u")return null;const h=`; ${document.cookie}`.split(`; ${A}=`);if(h.length===2){const j=(f=h.pop())==null?void 0:f.split(";").shift();return j?decodeURIComponent(j):null}return null})("layoutPosition"):t==null?void 0:t.layoutDirection)==="right";return(D||T)&&(a="rtl"),document.documentElement.dir=a,document.documentElement.setAttribute("dir",a),document.body.dir=a,a},[s,t==null?void 0:t.defaultLanguage,t==null?void 0:t.is_demo,t==null?void 0:t.layoutDirection]);return y.useLayoutEffect(()=>{const o=p(),n=new MutationObserver(()=>{document.documentElement.dir!==o&&(document.documentElement.dir=o,document.documentElement.setAttribute("dir",o))});return n.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),()=>{n.disconnect(),document.documentElement.dir="ltr",document.documentElement.setAttribute("dir","ltr"),document.body.dir="ltr"}},[p]),e.jsxs("div",{className:"min-h-screen bg-gray-50 relative overflow-hidden",children:[e.jsx(I,{title:d}),e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("div",{className:"absolute inset-0 light:bg-gradient-to-br from-slate-50 via-gray-50 to-stone-100"}),e.jsx("div",{className:"absolute inset-0 opacity-70",style:{backgroundImage:`radial-gradient(circle at 30% 70%, ${r} 1px, transparent 1px)`,backgroundSize:"80px 80px"}})]}),e.jsx("div",{className:"absolute top-6 right-6 z-10 md:block hidden",children:e.jsx(z,{})}),e.jsx("div",{className:"flex items-center justify-center min-h-screen p-6",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsx("div",{className:"text-center mb-8",children:e.jsx("div",{className:"relative lg:inline-block pb-2 lg:px-6",children:x?e.jsx("img",{src:P(x),alt:"Logo",className:"w-auto mx-auto"}):e.jsx(U,{className:"h-8 w-8 mx-auto",style:{color:r}})})}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -top-3 -left-3 w-6 h-6 border-l-2 border-t-2 rounded-tl-md",style:{borderColor:r}}),e.jsx("div",{className:"absolute -bottom-3 -right-3 w-6 h-6 border-r-2 border-b-2 rounded-br-md",style:{borderColor:r}}),e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg lg:p-8 p-4 lg:pt-5 shadow-sm",children:[e.jsxs("div",{className:"text-center mb-4",children:[i&&e.jsx("div",{className:"mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-full",style:{backgroundColor:`${r}20`},children:i}),e.jsx("h1",{className:"text-2xl font-semibold text-gray-900 mb-1.5 tracking-wide",children:d}),e.jsx("div",{className:"w-12 h-px mx-auto mb-2.5",style:{backgroundColor:r}}),c&&e.jsx("p",{className:"text-gray-700 text-sm",children:c})]}),l&&e.jsx("div",{className:`mb-6 text-center text-sm font-medium ${k==="success"?"text-green-700 dark:text-green-400 bg-green-50 dark:bg-green-900/20 border-green-200 dark:border-green-800/30":"text-red-700 dark:text-red-400 bg-red-50 dark:bg-red-900/20 border-red-200 dark:border-red-800/30"} p-3 rounded-lg border`,children:l}),N]})]}),e.jsx("div",{className:"text-center mt-6",children:e.jsx("div",{className:"inline-flex items-center space-x-2 bg-white backdrop-blur-sm rounded-md px-4 py-2 border border-gray-200",children:e.jsx("p",{className:"text-sm text-gray-500",children:(t==null?void 0:t.footerText)||"© 2026 HRM SaaS"})})})]})}),e.jsx(B,{})]})}export{S as A}; +import{r as v,R as y,j as e}from"./ui-Z445SNHD.js";import{u as _,a as $,f as H,c as M,H as I,T as O,g as P}from"./app-Dya84jp7.js";import{L as z,C as B}from"./CookieConsentBanner-dwye0O-l.js";import{u as F}from"./use-favicon-B8cqaHhj.js";import{C as U}from"./credit-card-BKi_ThdS.js";function S({children:N,title:d,description:c,icon:i,status:l,statusType:k="success"}){var b,g;F();const{t:V,i18n:u}=_(),[q,C]=v.useState(!1),{logoLight:L,logoDark:w,themeColor:m,customColor:E}=$(),{appearance:R}=H(),x=R==="dark"?L:w,r=m==="custom"?E:O[m],t=(g=(b=window.page)==null?void 0:b.props)==null?void 0:g.globalSettings;t!=null&&t.is_demo;const s=M().props.userLanguage;v.useEffect(()=>{C(!0),s&&u.language!==s&&u.changeLanguage(s)},[s]);const p=y.useCallback(()=>{const o=(t==null?void 0:t.is_demo)||!1,n=s||(t==null?void 0:t.defaultLanguage),D=["ar","he"].includes(n);let a="ltr";const T=(o?(A=>{var f;if(typeof document>"u")return null;const h=`; ${document.cookie}`.split(`; ${A}=`);if(h.length===2){const j=(f=h.pop())==null?void 0:f.split(";").shift();return j?decodeURIComponent(j):null}return null})("layoutPosition"):t==null?void 0:t.layoutDirection)==="right";return(D||T)&&(a="rtl"),document.documentElement.dir=a,document.documentElement.setAttribute("dir",a),document.body.dir=a,a},[s,t==null?void 0:t.defaultLanguage,t==null?void 0:t.is_demo,t==null?void 0:t.layoutDirection]);return y.useLayoutEffect(()=>{const o=p(),n=new MutationObserver(()=>{document.documentElement.dir!==o&&(document.documentElement.dir=o,document.documentElement.setAttribute("dir",o))});return n.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),()=>{n.disconnect(),document.documentElement.dir="ltr",document.documentElement.setAttribute("dir","ltr"),document.body.dir="ltr"}},[p]),e.jsxs("div",{className:"min-h-screen bg-gray-50 relative overflow-hidden",children:[e.jsx(I,{title:d}),e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("div",{className:"absolute inset-0 light:bg-gradient-to-br from-slate-50 via-gray-50 to-stone-100"}),e.jsx("div",{className:"absolute inset-0 opacity-70",style:{backgroundImage:`radial-gradient(circle at 30% 70%, ${r} 1px, transparent 1px)`,backgroundSize:"80px 80px"}})]}),e.jsx("div",{className:"absolute top-6 right-6 z-10 md:block hidden",children:e.jsx(z,{})}),e.jsx("div",{className:"flex items-center justify-center min-h-screen p-6",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsx("div",{className:"text-center mb-8",children:e.jsx("div",{className:"relative lg:inline-block pb-2 lg:px-6",children:x?e.jsx("img",{src:P(x),alt:"Logo",className:"w-auto mx-auto"}):e.jsx(U,{className:"h-8 w-8 mx-auto",style:{color:r}})})}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -top-3 -left-3 w-6 h-6 border-l-2 border-t-2 rounded-tl-md",style:{borderColor:r}}),e.jsx("div",{className:"absolute -bottom-3 -right-3 w-6 h-6 border-r-2 border-b-2 rounded-br-md",style:{borderColor:r}}),e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg lg:p-8 p-4 lg:pt-5 shadow-sm",children:[e.jsxs("div",{className:"text-center mb-4",children:[i&&e.jsx("div",{className:"mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-full",style:{backgroundColor:`${r}20`},children:i}),e.jsx("h1",{className:"text-2xl font-semibold text-gray-900 mb-1.5 tracking-wide",children:d}),e.jsx("div",{className:"w-12 h-px mx-auto mb-2.5",style:{backgroundColor:r}}),c&&e.jsx("p",{className:"text-gray-700 text-sm",children:c})]}),l&&e.jsx("div",{className:`mb-6 text-center text-sm font-medium ${k==="success"?"text-green-700 dark:text-green-400 bg-green-50 dark:bg-green-900/20 border-green-200 dark:border-green-800/30":"text-red-700 dark:text-red-400 bg-red-50 dark:bg-red-900/20 border-red-200 dark:border-red-800/30"} p-3 rounded-lg border`,children:l}),N]})]}),e.jsx("div",{className:"text-center mt-6",children:e.jsx("div",{className:"inline-flex items-center space-x-2 bg-white backdrop-blur-sm rounded-md px-4 py-2 border border-gray-200",children:e.jsx("p",{className:"text-sm text-gray-500",children:(t==null?void 0:t.footerText)||"© 2026 HRM SaaS"})})})]})}),e.jsx(B,{})]})}export{S as A}; diff --git a/public/build/assets/award-DMMowKjz.js b/public/build/assets/award-D1KbOerA.js similarity index 90% rename from public/build/assets/award-DMMowKjz.js rename to public/build/assets/award-D1KbOerA.js index 83476006d..c0a2f7067 100644 --- a/public/build/assets/award-DMMowKjz.js +++ b/public/build/assets/award-D1KbOerA.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/ban-61sP3ZVw.js b/public/build/assets/ban-BM0r7XNR.js similarity index 87% rename from public/build/assets/ban-61sP3ZVw.js rename to public/build/assets/ban-BM0r7XNR.js index 691cc0d1d..f4445bb6e 100644 --- a/public/build/assets/ban-61sP3ZVw.js +++ b/public/build/assets/ban-BM0r7XNR.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/bell-DXAvb3Z0.js b/public/build/assets/bell-DRg7kyzT.js similarity index 90% rename from public/build/assets/bell-DXAvb3Z0.js rename to public/build/assets/bell-DRg7kyzT.js index 52f164181..339f436b5 100644 --- a/public/build/assets/bell-DXAvb3Z0.js +++ b/public/build/assets/bell-DRg7kyzT.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/book-open-3qYfaEN0.js b/public/build/assets/book-open-DIuydbp9.js similarity index 90% rename from public/build/assets/book-open-3qYfaEN0.js rename to public/build/assets/book-open-DIuydbp9.js index 76183cf26..6261c75be 100644 --- a/public/build/assets/book-open-3qYfaEN0.js +++ b/public/build/assets/book-open-DIuydbp9.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/boxes-C2a1Xilp.js b/public/build/assets/boxes-Dyz92FXO.js similarity index 95% rename from public/build/assets/boxes-C2a1Xilp.js rename to public/build/assets/boxes-Dyz92FXO.js index 1ed628101..1cffdd571 100644 --- a/public/build/assets/boxes-C2a1Xilp.js +++ b/public/build/assets/boxes-Dyz92FXO.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/briefcase-CLRn8zVu.js b/public/build/assets/briefcase-Btn3T9V4.js similarity index 89% rename from public/build/assets/briefcase-CLRn8zVu.js rename to public/build/assets/briefcase-Btn3T9V4.js index 0b3f14287..3ea85e156 100644 --- a/public/build/assets/briefcase-CLRn8zVu.js +++ b/public/build/assets/briefcase-Btn3T9V4.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/building-2-D7cTdbG2.js b/public/build/assets/building-2-CASHKqFo.js similarity index 93% rename from public/build/assets/building-2-D7cTdbG2.js rename to public/build/assets/building-2-CASHKqFo.js index 1b1ecaa64..ab7a0bd2e 100644 --- a/public/build/assets/building-2-D7cTdbG2.js +++ b/public/build/assets/building-2-CASHKqFo.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/building-Cyq-0nCs.js b/public/build/assets/building-DyhEfKj4.js similarity index 94% rename from public/build/assets/building-Cyq-0nCs.js rename to public/build/assets/building-DyhEfKj4.js index e9b74202c..91d5ab18a 100644 --- a/public/build/assets/building-Cyq-0nCs.js +++ b/public/build/assets/building-DyhEfKj4.js @@ -1,4 +1,4 @@ -import{G as h}from"./app-CfhhiFAk.js";/** +import{G as h}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/cache-settings-CSv5JD42.js b/public/build/assets/cache-settings-B_8J---F.js similarity index 93% rename from public/build/assets/cache-settings-CSv5JD42.js rename to public/build/assets/cache-settings-B_8J---F.js index b8ee69766..77925b9c5 100644 --- a/public/build/assets/cache-settings-CSv5JD42.js +++ b/public/build/assets/cache-settings-B_8J---F.js @@ -1 +1 @@ -import{r as h,j as e}from"./ui-Z445SNHD.js";import{u,ap as p,o as x,r as f,t}from"./app-CfhhiFAk.js";import{H as j}from"./hard-drive-B_Mpft6K.js";import{T as g}from"./trash-2-C1NR_7Ss.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({cacheSize:d="0.00"}){const{t:s}=u(),[i,c]=h.useState(!1),m=()=>{c(!0),f.post(route("settings.cache.clear"),{},{preserveScroll:!0,onSuccess:r=>{var o,l;const a=(o=r.props.flash)==null?void 0:o.success,n=(l=r.props.flash)==null?void 0:l.error;a?t.success(a):n&&t.error(n)},onError:r=>{const a=r.error||Object.values(r).join(", ")||s("Failed to clear cache");t.error(a)},onFinish:()=>{c(!1)}})};return e.jsx(p,{title:s("Cache Settings"),description:s("Manage application cache to improve performance"),children:e.jsxs("div",{className:"space-y-6",children:[e.jsx("div",{className:"p-3 bg-muted/50 rounded-lg",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:s("This is a page meant for more advanced users, simply ignore it if you don't understand what cache is.")})}),e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(j,{className:"h-5 w-5 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium",children:s("Current Cache Size")}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[d," MB ",s("of cached data")]})]})]}),e.jsxs(x,{onClick:m,disabled:i,variant:"destructive",size:"sm",children:[e.jsx(g,{className:"h-4 w-4 mr-2"}),s(i?"Clearing...":"Clear Cache")]})]}),e.jsxs("div",{className:"text-sm text-muted-foreground",children:[e.jsxs("p",{children:[s("Clearing cache will remove"),":"]}),e.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[e.jsx("li",{children:s("Application cache")}),e.jsx("li",{children:s("Route cache")}),e.jsx("li",{children:s("View cache")}),e.jsx("li",{children:s("Configuration cache")})]})]})]})})}export{M as default}; +import{r as h,j as e}from"./ui-Z445SNHD.js";import{u,ap as p,o as x,r as f,t}from"./app-Dya84jp7.js";import{H as j}from"./hard-drive-7VwcRvWp.js";import{T as g}from"./trash-2-BeirBLIk.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({cacheSize:d="0.00"}){const{t:s}=u(),[i,c]=h.useState(!1),m=()=>{c(!0),f.post(route("settings.cache.clear"),{},{preserveScroll:!0,onSuccess:r=>{var o,l;const a=(o=r.props.flash)==null?void 0:o.success,n=(l=r.props.flash)==null?void 0:l.error;a?t.success(a):n&&t.error(n)},onError:r=>{const a=r.error||Object.values(r).join(", ")||s("Failed to clear cache");t.error(a)},onFinish:()=>{c(!1)}})};return e.jsx(p,{title:s("Cache Settings"),description:s("Manage application cache to improve performance"),children:e.jsxs("div",{className:"space-y-6",children:[e.jsx("div",{className:"p-3 bg-muted/50 rounded-lg",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:s("This is a page meant for more advanced users, simply ignore it if you don't understand what cache is.")})}),e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(j,{className:"h-5 w-5 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium",children:s("Current Cache Size")}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[d," MB ",s("of cached data")]})]})]}),e.jsxs(x,{onClick:m,disabled:i,variant:"destructive",size:"sm",children:[e.jsx(g,{className:"h-4 w-4 mr-2"}),s(i?"Clearing...":"Clear Cache")]})]}),e.jsxs("div",{className:"text-sm text-muted-foreground",children:[e.jsxs("p",{children:[s("Clearing cache will remove"),":"]}),e.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[e.jsx("li",{children:s("Application cache")}),e.jsx("li",{children:s("Route cache")}),e.jsx("li",{children:s("View cache")}),e.jsx("li",{children:s("Configuration cache")})]})]})]})})}export{M as default}; diff --git a/public/build/assets/calculator-CAq-8OXK.js b/public/build/assets/calculator-D-XBwqfe.js similarity index 94% rename from public/build/assets/calculator-CAq-8OXK.js rename to public/build/assets/calculator-D-XBwqfe.js index c0e6e8cc5..f7cf4bdb9 100644 --- a/public/build/assets/calculator-CAq-8OXK.js +++ b/public/build/assets/calculator-D-XBwqfe.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/calendar-DZbQGEJ_.js b/public/build/assets/calendar-1Xop4ez3.js similarity index 79% rename from public/build/assets/calendar-DZbQGEJ_.js rename to public/build/assets/calendar-1Xop4ez3.js index 94e33e77f..c536d39fe 100644 --- a/public/build/assets/calendar-DZbQGEJ_.js +++ b/public/build/assets/calendar-1Xop4ez3.js @@ -1 +1 @@ -import{r as o,j as e}from"./ui-Z445SNHD.js";import{P as k}from"./page-template-BTxLyiDA.js";import{u as _,c as T,F as B,B as i,D as P,h as H,j as L,k as F,r as M}from"./app-CfhhiFAk.js";import{F as A,i as G,a as R,b as $}from"./index-DrmIhGnK.js";import{L as O}from"./list-D0MAUZMV.js";import{D as Y}from"./download-Bk1k2_dW.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Pe(){var p,h;const{t}=_(),{calendarEvents:x,branches:u,categories:g,years:b,currentYear:j,filters:c={}}=T().props,[l,I]=o.useState(c.category||""),[d,U]=o.useState(c.branch_id||""),[n,V]=o.useState(j.toString()),[a,y]=o.useState(null),[f,m]=o.useState(!1),v=r=>{const s=r.event;y({id:s.id,title:s.title,start:s.start,end:s.end,...s.extendedProps}),m(!0)},N=()=>{M.get(route("hr.holidays.index"),{year:n,category:l||void 0,branch_id:d||void 0})},w=()=>{window.open(route("hr.holidays.export.pdf",{year:n,category:l||void 0,branch_id:d||void 0}),"_blank")},D=()=>{window.open(route("hr.holidays.export.ical",{year:n,category:l||void 0,branch_id:d||void 0}),"_blank")},S=[{label:t("List View"),icon:e.jsx(O,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:N},{label:t("Export PDF"),icon:e.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:w},{label:t("Export iCal"),icon:e.jsx(Y,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:D}],C=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.holidays.index")},{title:t("Holidays"),href:route("hr.holidays.index")},{title:t("Calendar")}];return[t("All Categories"),...(g||[]).map(r=>({value:r,label:r.charAt(0).toUpperCase()+r.slice(1)}))],[t("All Branches"),...(u||[]).map(r=>({value:r.id.toString(),label:r.name}))],[...(b||[]).map(r=>({value:r.toString(),label:r.toString()}))],e.jsxs(k,{title:`${t("Holiday Calendar")} - ${n}`,url:"/hr/holidays/calendar",actions:S,breadcrumbs:C,children:[e.jsxs("div",{className:"mb-6 flex flex-wrap gap-2",children:[e.jsx(i,{variant:"secondary",className:"bg-blue-50 text-blue-700 hover:bg-blue-50",children:t("National")}),e.jsx(i,{variant:"secondary",className:"bg-purple-50 text-purple-700 hover:bg-purple-50",children:t("Religious")}),e.jsx(i,{variant:"secondary",className:"bg-green-50 text-green-700 hover:bg-green-50",children:t("Company Specific")}),e.jsx(i,{variant:"secondary",className:"bg-amber-50 text-amber-700 hover:bg-amber-50",children:t("Regional")})]}),e.jsx("div",{className:"bg-white rounded-lg shadow p-6",children:e.jsx("div",{style:{height:"600px"},children:e.jsx(A,{plugins:[G,R,$],initialView:"dayGridMonth",headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},buttonText:{today:t("Today"),month:t("Month"),week:t("Week"),day:t("Day")},events:x,height:"100%",eventClick:v,dayMaxEvents:!0,weekends:!0})})}),e.jsx(P,{open:f,onOpenChange:m,children:e.jsxs(H,{className:"max-w-md",children:[e.jsx(L,{children:e.jsx(F,{children:a==null?void 0:a.title})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{variant:"outline",children:a==null?void 0:a.category}),(a==null?void 0:a.is_half_day)&&e.jsx(i,{variant:"secondary",children:t("Half Day")}),a!=null&&a.is_paid?e.jsx(i,{variant:"outline",className:"bg-green-50 text-green-700",children:t("Paid")}):e.jsx(i,{variant:"outline",className:"bg-red-50 text-red-700",children:t("Unpaid")})]}),(a==null?void 0:a.description)&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Description")}),e.jsx("p",{className:"font-medium",children:a.description})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Start Date")}),e.jsx("p",{className:"font-medium",children:a!=null&&a.start?((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(a.start,!1))||new Date(a.start).toLocaleDateString():""})]}),(a==null?void 0:a.end)&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:t("End Date")}),e.jsx("p",{className:"font-medium",children:((h=window.appSettings)==null?void 0:h.formatDateTimeSimple(a.end,!1))||new Date(a.end).toLocaleDateString()})]}),(a==null?void 0:a.branches)&&a.branches.length>0&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Branches")}),e.jsx("div",{className:"flex flex-wrap gap-1",children:a.branches.map((r,s)=>e.jsx(i,{variant:"outline",className:"text-xs",children:r},s))})]})]})]})})]})}export{Pe as default}; +import{r as o,j as e}from"./ui-Z445SNHD.js";import{P as k}from"./page-template-CLNVC8w_.js";import{u as _,c as T,F as B,B as i,D as P,h as H,j as L,k as F,r as M}from"./app-Dya84jp7.js";import{F as A,i as G,a as R,b as $}from"./index-DrmIhGnK.js";import{L as O}from"./list-C_2fG_BT.js";import{D as Y}from"./download-BBNmalxc.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Pe(){var p,h;const{t}=_(),{calendarEvents:x,branches:u,categories:g,years:b,currentYear:j,filters:c={}}=T().props,[l,I]=o.useState(c.category||""),[d,U]=o.useState(c.branch_id||""),[n,V]=o.useState(j.toString()),[a,y]=o.useState(null),[f,m]=o.useState(!1),v=r=>{const s=r.event;y({id:s.id,title:s.title,start:s.start,end:s.end,...s.extendedProps}),m(!0)},N=()=>{M.get(route("hr.holidays.index"),{year:n,category:l||void 0,branch_id:d||void 0})},w=()=>{window.open(route("hr.holidays.export.pdf",{year:n,category:l||void 0,branch_id:d||void 0}),"_blank")},D=()=>{window.open(route("hr.holidays.export.ical",{year:n,category:l||void 0,branch_id:d||void 0}),"_blank")},S=[{label:t("List View"),icon:e.jsx(O,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:N},{label:t("Export PDF"),icon:e.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:w},{label:t("Export iCal"),icon:e.jsx(Y,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:D}],C=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.holidays.index")},{title:t("Holidays"),href:route("hr.holidays.index")},{title:t("Calendar")}];return[t("All Categories"),...(g||[]).map(r=>({value:r,label:r.charAt(0).toUpperCase()+r.slice(1)}))],[t("All Branches"),...(u||[]).map(r=>({value:r.id.toString(),label:r.name}))],[...(b||[]).map(r=>({value:r.toString(),label:r.toString()}))],e.jsxs(k,{title:`${t("Holiday Calendar")} - ${n}`,url:"/hr/holidays/calendar",actions:S,breadcrumbs:C,children:[e.jsxs("div",{className:"mb-6 flex flex-wrap gap-2",children:[e.jsx(i,{variant:"secondary",className:"bg-blue-50 text-blue-700 hover:bg-blue-50",children:t("National")}),e.jsx(i,{variant:"secondary",className:"bg-purple-50 text-purple-700 hover:bg-purple-50",children:t("Religious")}),e.jsx(i,{variant:"secondary",className:"bg-green-50 text-green-700 hover:bg-green-50",children:t("Company Specific")}),e.jsx(i,{variant:"secondary",className:"bg-amber-50 text-amber-700 hover:bg-amber-50",children:t("Regional")})]}),e.jsx("div",{className:"bg-white rounded-lg shadow p-6",children:e.jsx("div",{style:{height:"600px"},children:e.jsx(A,{plugins:[G,R,$],initialView:"dayGridMonth",headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},buttonText:{today:t("Today"),month:t("Month"),week:t("Week"),day:t("Day")},events:x,height:"100%",eventClick:v,dayMaxEvents:!0,weekends:!0})})}),e.jsx(P,{open:f,onOpenChange:m,children:e.jsxs(H,{className:"max-w-md",children:[e.jsx(L,{children:e.jsx(F,{children:a==null?void 0:a.title})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{variant:"outline",children:a==null?void 0:a.category}),(a==null?void 0:a.is_half_day)&&e.jsx(i,{variant:"secondary",children:t("Half Day")}),a!=null&&a.is_paid?e.jsx(i,{variant:"outline",className:"bg-green-50 text-green-700",children:t("Paid")}):e.jsx(i,{variant:"outline",className:"bg-red-50 text-red-700",children:t("Unpaid")})]}),(a==null?void 0:a.description)&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Description")}),e.jsx("p",{className:"font-medium",children:a.description})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Start Date")}),e.jsx("p",{className:"font-medium",children:a!=null&&a.start?((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(a.start,!1))||new Date(a.start).toLocaleDateString():""})]}),(a==null?void 0:a.end)&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:t("End Date")}),e.jsx("p",{className:"font-medium",children:((h=window.appSettings)==null?void 0:h.formatDateTimeSimple(a.end,!1))||new Date(a.end).toLocaleDateString()})]}),(a==null?void 0:a.branches)&&a.branches.length>0&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Branches")}),e.jsx("div",{className:"flex flex-wrap gap-1",children:a.branches.map((r,s)=>e.jsx(i,{variant:"outline",className:"text-xs",children:r},s))})]})]})]})})]})}export{Pe as default}; diff --git a/public/build/assets/calendar-D4496zB_.js b/public/build/assets/calendar-7JJmYI2k.js similarity index 88% rename from public/build/assets/calendar-D4496zB_.js rename to public/build/assets/calendar-7JJmYI2k.js index a11c99f8f..fa3f363b8 100644 --- a/public/build/assets/calendar-D4496zB_.js +++ b/public/build/assets/calendar-7JJmYI2k.js @@ -1 +1 @@ -import{r as n,j as e}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-BTxLyiDA.js";import{u as re,c as te,x as ae,I as se,o as y,P as ie,r as u,t as c}from"./app-CfhhiFAk.js";import{S as f,a as j,b as k,c as v,d as h}from"./select-BrY9osYp.js";import{C as le}from"./CrudFormModal-DAR9q-oM.js";import{R as de}from"./refresh-cw-DWorkL8J.js";import{C as A}from"./calendar-CfUpdaK5.js";import{L as ne}from"./layout-list-BgC0E-xE.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";function rr(){var D,M,E;const{t:r}=re(),{users:m,dates:l,departments:I,shifts:F,filters:x,auth:o}=te().props,$=(o==null?void 0:o.permissions)||[],L=(D=o==null?void 0:o.user)==null?void 0:D.type,[w,O]=n.useState(((M=x.month)==null?void 0:M.toString())||new Date().getMonth()+1+""),[N,P]=n.useState(((E=x.year)==null?void 0:E.toString())||new Date().getFullYear().toString()),[p,V]=n.useState(x.department_id||"all"),[_,T]=n.useState(x.search||""),[Y,b]=n.useState(!1),[q,g]=n.useState(!1),[d,z]=n.useState(null),S=["admin","hr","manager","company"].includes(L)||ae($,"manage-shifts"),C=()=>{u.get(route("hr.shifts.calendar"),{month:w,year:N,department_id:p!=="all"?p:void 0,search:_||void 0},{preserveState:!0,preserveScroll:!0})},J=(t,a,s)=>{if(!S)return;const i={employee_id:t.id,employee_name:t.name,employee_code:t.employee_code,date:a,start_date:a,end_date:a,shift_id:s.shift_id||"",shift_name:s.shift_name,start_time:s.start_time,end_time:s.end_time,is_rest_day:s.status==="RD"||s.is_rest_day};z(i),g(!0)},B=()=>{g(!1),b(!0)},G=t=>{const a=c.loading(r("Assigning shifts..."));u.post(route("hr.shifts.assign"),t,{onSuccess:s=>{b(!1),c.dismiss(a),s.props.flash.success&&c.success(r(s.props.flash.success))},onError:s=>{c.dismiss(a),c.error(Object.values(s).join(", "))}})},K=[{value:"1",label:r("January")},{value:"2",label:r("February")},{value:"3",label:r("March")},{value:"4",label:r("April")},{value:"5",label:r("May")},{value:"6",label:r("June")},{value:"7",label:r("July")},{value:"8",label:r("August")},{value:"9",label:r("September")},{value:"10",label:r("October")},{value:"11",label:r("November")},{value:"12",label:r("December")}],U=new Date().getFullYear(),H=Array.from({length:5},(t,a)=>(U-2+a).toString()),Q=(t,a)=>{if(a==="RD")return"bg-gray-200 text-gray-600 border-gray-300 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-700";const s=t.toLowerCase();return s.includes("morning")?"bg-green-100 text-green-700 border-green-200 dark:bg-green-900/30 dark:text-green-300 dark:border-green-800":s.includes("night")?"bg-indigo-100 text-indigo-700 border-indigo-200 dark:bg-indigo-900/30 dark:text-indigo-300 dark:border-indigo-800":s.includes("evening")?"bg-orange-100 text-orange-700 border-orange-200 dark:bg-orange-900/30 dark:text-orange-300 dark:border-orange-800":"bg-sky-100 text-sky-700 border-sky-200 dark:bg-sky-900/30 dark:text-sky-300 dark:border-sky-800"};return e.jsxs(ee,{title:r("Monthly Shift Calendar"),url:"/hr/shifts/calendar",breadcrumbs:[{title:r("Dashboard"),href:route("dashboard")},{title:r("Shift Management"),href:route("hr.shifts.index")},{title:r("Calendar")}],actions:[{label:r("List View"),icon:e.jsx(ne,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>u.get(route("hr.shifts.index"))}],children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow-sm border border-gray-200 dark:border-gray-800 p-4 mb-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-4 items-end",children:[e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Month")}),e.jsxs(f,{value:w,onValueChange:O,children:[e.jsx(j,{className:"w-full",children:e.jsx(k,{placeholder:r("Month")})}),e.jsx(v,{children:K.map(t=>e.jsx(h,{value:t.value,children:t.label},t.value))})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Year")}),e.jsxs(f,{value:N,onValueChange:P,children:[e.jsx(j,{className:"w-full",children:e.jsx(k,{placeholder:r("Year")})}),e.jsx(v,{children:H.map(t=>e.jsx(h,{value:t,children:t},t))})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Department")}),e.jsxs(f,{value:p,onValueChange:V,children:[e.jsx(j,{className:"w-full",children:e.jsx(k,{placeholder:r("All Departments")})}),e.jsxs(v,{children:[e.jsx(h,{value:"all",children:r("All Departments")}),I.map(t=>e.jsx(h,{value:t.id.toString(),children:t.name},t.id))]})]})]}),e.jsxs("div",{className:"flex-[2] space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Search Employee")}),e.jsx(se,{placeholder:r("Search by name..."),value:_,onChange:t=>T(t.target.value),onKeyDown:t=>t.key==="Enter"&&C()})]}),e.jsxs(y,{onClick:C,className:"bg-indigo-500 hover:bg-indigo-600",children:[e.jsx(de,{className:"h-4 w-4 mr-2"}),r("Refresh")]})]})}),e.jsxs("div",{className:"bg-sky-50 dark:bg-sky-900/10 border border-sky-100 dark:border-sky-900/30 rounded-xl p-4 mb-6 shadow-sm",children:[e.jsxs("div",{className:"flex flex-wrap gap-4 items-center mb-3",children:[e.jsxs("span",{className:"text-sm font-bold text-sky-800 dark:text-sky-300 flex items-center gap-2",children:[e.jsx("div",{className:"w-1.5 h-4 bg-sky-500 rounded-full"}),r("Shift Legend")]}),e.jsxs("div",{className:"flex items-center gap-2 px-2 py-1 rounded bg-gray-200/50 dark:bg-gray-800/50 border border-gray-200 dark:border-gray-700",children:[e.jsx("span",{className:"w-3 h-3 rounded-full bg-gray-400"}),e.jsx("span",{className:"text-xs font-semibold text-gray-700 dark:text-gray-300",children:r("Rest Day")})]}),e.jsxs("div",{className:"ml-auto flex items-center text-xs font-bold text-green-600 dark:text-green-400 bg-green-50 dark:bg-green-900/30 px-3 py-1.5 rounded-full border border-green-200 dark:border-green-800 shadow-sm transition-all hover:shadow-md cursor-default",children:[e.jsx(A,{className:"h-3.5 w-3.5 mr-2"}),r("Interactive Grid")]})]}),e.jsx("p",{className:"text-[10px] text-sky-600/70 dark:text-sky-400/50 pl-1 font-medium italic",children:r("* Click any cell to view details or modify assignment. The grid syncs directly with attendance records.")})]}),e.jsx("div",{className:"bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-lg shadow-sm overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto pb-2",children:e.jsxs("table",{className:"min-w-max w-full border-separate border-spacing-0 text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-gray-50/80 dark:bg-gray-800/80",children:[e.jsx("th",{className:"p-3 text-left font-bold text-gray-700 dark:text-gray-300 uppercase tracking-wider sticky left-0 z-10 bg-gray-50/95 dark:bg-gray-800/95 border-r border-b border-gray-200 dark:border-gray-800 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.1)] backdrop-blur min-w-[280px]",children:r("Employee")}),l==null?void 0:l.map((t,a)=>e.jsxs("th",{className:"p-2 border-r border-b border-gray-200 dark:border-gray-800 min-w-[50px] text-center last:border-r-0",children:[e.jsx("div",{className:"font-bold text-gray-800 dark:text-gray-200 text-base",children:t.day}),e.jsx("div",{className:"text-[10px] text-gray-500 dark:text-gray-400 uppercase tracking-widest",children:t.day_name})]},a))]})}),e.jsx("tbody",{children:(m==null?void 0:m.length)>0?m.map(t=>e.jsxs("tr",{className:"hover:bg-gray-50/50 dark:hover:bg-gray-800/50 transition-colors",children:[e.jsx("td",{className:"p-3 bg-white dark:bg-gray-900 border-r border-b border-gray-200 dark:border-gray-800 sticky left-0 z-10 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.05)]",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-indigo-100 dark:bg-indigo-900/50 flex items-center justify-center text-indigo-700 dark:text-indigo-300 font-bold border border-indigo-200 dark:border-indigo-800",children:t.name.split(" ").map(a=>a[0]).join("").substring(0,2).toUpperCase()}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-gray-900 dark:text-gray-100 whitespace-nowrap",children:t.name}),e.jsxs("div",{className:"text-xs text-gray-400 dark:text-gray-500 whitespace-nowrap",children:[t.employee_code," • ",t.designation]}),e.jsx("div",{className:"text-[10px] text-gray-400 dark:text-gray-500",children:t.department})]})]})}),l==null?void 0:l.map((a,s)=>{const i=t.shifts[a.date],R=i.status==="RD",W=Q(i.shift_name||"",i.status),X=R?r("RD"):i.shift_name?i.shift_name.split(" ")[0]:i.status,Z=i.start_time?i.start_time.replace(/^0/,"").replace(/\s*([AP]M)$/i," $1"):"";return e.jsx("td",{className:"p-1 border-r border-b border-gray-100 dark:border-gray-800 last:border-r-0 text-center min-w-[70px]",children:e.jsxs("div",{className:`flex flex-col items-center justify-center py-1 px-1.5 rounded border text-[11px] font-extrabold transition-all shadow-sm h-[50px] w-full ${W} ${S?"cursor-pointer hover:brightness-95 active:scale-95":""}`,onClick:()=>J(t,a.date,i),children:[e.jsx("span",{className:"leading-tight text-center",children:X}),i.start_time&&!R&&e.jsx("span",{className:"text-[9px] font-semibold text-current opacity-75 mt-0.5 tracking-tight",children:Z})]})},s)})]},t.id)):e.jsx("tr",{children:e.jsx("td",{colSpan:(l==null?void 0:l.length)+1,className:"p-8 text-center text-gray-500 dark:text-gray-400",children:r("No active shift scheduling found for these parameters.")})})})]})})}),q&&d&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm animate-in fade-in duration-200",children:e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-xl shadow-2xl border border-gray-200 dark:border-gray-800 w-full max-w-md overflow-hidden transform transition-all animate-in zoom-in-95 duration-200",children:[e.jsxs("div",{className:"bg-indigo-600 p-6 text-white relative",children:[e.jsx("button",{onClick:()=>g(!1),className:"absolute top-4 right-4 text-white/70 hover:text-white transition",children:e.jsx(ie,{className:"h-6 w-6 rotate-45"})}),e.jsx("h3",{className:"text-xl font-bold",children:r("Shift Details")}),e.jsx("p",{className:"text-indigo-100 text-sm",children:new Date(d.date).toLocaleDateString(void 0,{weekday:"long",year:"numeric",month:"long",day:"numeric"})})]}),e.jsxs("div",{className:"p-6 space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-indigo-100 dark:bg-indigo-900/50 flex items-center justify-center text-indigo-700 dark:text-indigo-300 font-bold text-lg border border-indigo-200",children:d.employee_name[0]}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-gray-900 dark:text-gray-100 text-lg",children:d.employee_name}),e.jsx("div",{className:"text-sm text-gray-400",children:d.employee_code||r("Employee")})]})]}),e.jsx("div",{className:"space-y-4 pt-2",children:e.jsxs("div",{className:"flex items-center gap-3 p-4 rounded-lg bg-gray-50 dark:bg-gray-800/50 border border-gray-100 dark:border-gray-800",children:[e.jsx("div",{className:`p-2 rounded-md ${d.is_rest_day?"bg-gray-200 text-gray-600":"bg-green-100 text-green-600"}`,children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs text-gray-400 uppercase font-semibold tracking-wider font-mono",children:r("Assigned Shift")}),e.jsx("div",{className:"font-bold text-gray-800 dark:text-gray-200",children:d.is_rest_day?r("Rest Day"):d.shift_name})]})]})}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(y,{variant:"outline",className:"flex-1",onClick:()=>g(!1),children:r("Close")}),e.jsx(y,{className:"flex-1 bg-indigo-600 hover:bg-indigo-700",onClick:B,children:r("Edit Assignment")})]})]})]})}),e.jsx(le,{isOpen:Y,onClose:()=>b(!1),onSubmit:G,title:r("Assign Shift"),mode:"create",initialData:d,formConfig:{fields:[{name:"employee_name",label:r("Employee"),type:"text",disabled:!0,row:1,width:"full"},{name:"employee_id",label:r("Employee ID"),type:"text",disabled:!0,conditional:()=>!1},{name:"start_date",label:r("Start Date"),type:"date",required:!0,row:2,width:"50%"},{name:"end_date",label:r("End Date"),type:"date",required:!0,row:2,width:"50%"},{name:"shift_id",label:r("Select Shift"),type:"select",required:!1,options:F.map(t=>({value:t.id.toString(),label:`${t.name} (${t.start_time} - ${t.end_time})`})),row:3,width:"full",conditional:t=>!t.is_rest_day},{name:"is_rest_day",label:r("Mark as Rest Day"),type:"checkbox",required:!1,row:4,width:"full"}],layout:"default"}})]})}export{rr as default}; +import{r as n,j as e}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-CLNVC8w_.js";import{u as re,c as te,x as ae,I as se,o as y,P as ie,r as u,t as c}from"./app-Dya84jp7.js";import{S as f,a as j,b as k,c as v,d as h}from"./select-CHkpLxhL.js";import{C as le}from"./CrudFormModal-CsuqSfb2.js";import{R as de}from"./refresh-cw-D_C_cDSu.js";import{C as A}from"./calendar-DuRYaSj5.js";import{L as ne}from"./layout-list-Cqn_SURh.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";function rr(){var D,M,E;const{t:r}=re(),{users:m,dates:l,departments:I,shifts:F,filters:x,auth:o}=te().props,$=(o==null?void 0:o.permissions)||[],L=(D=o==null?void 0:o.user)==null?void 0:D.type,[w,O]=n.useState(((M=x.month)==null?void 0:M.toString())||new Date().getMonth()+1+""),[N,P]=n.useState(((E=x.year)==null?void 0:E.toString())||new Date().getFullYear().toString()),[p,V]=n.useState(x.department_id||"all"),[_,T]=n.useState(x.search||""),[Y,b]=n.useState(!1),[q,g]=n.useState(!1),[d,z]=n.useState(null),S=["admin","hr","manager","company"].includes(L)||ae($,"manage-shifts"),C=()=>{u.get(route("hr.shifts.calendar"),{month:w,year:N,department_id:p!=="all"?p:void 0,search:_||void 0},{preserveState:!0,preserveScroll:!0})},J=(t,a,s)=>{if(!S)return;const i={employee_id:t.id,employee_name:t.name,employee_code:t.employee_code,date:a,start_date:a,end_date:a,shift_id:s.shift_id||"",shift_name:s.shift_name,start_time:s.start_time,end_time:s.end_time,is_rest_day:s.status==="RD"||s.is_rest_day};z(i),g(!0)},B=()=>{g(!1),b(!0)},G=t=>{const a=c.loading(r("Assigning shifts..."));u.post(route("hr.shifts.assign"),t,{onSuccess:s=>{b(!1),c.dismiss(a),s.props.flash.success&&c.success(r(s.props.flash.success))},onError:s=>{c.dismiss(a),c.error(Object.values(s).join(", "))}})},K=[{value:"1",label:r("January")},{value:"2",label:r("February")},{value:"3",label:r("March")},{value:"4",label:r("April")},{value:"5",label:r("May")},{value:"6",label:r("June")},{value:"7",label:r("July")},{value:"8",label:r("August")},{value:"9",label:r("September")},{value:"10",label:r("October")},{value:"11",label:r("November")},{value:"12",label:r("December")}],U=new Date().getFullYear(),H=Array.from({length:5},(t,a)=>(U-2+a).toString()),Q=(t,a)=>{if(a==="RD")return"bg-gray-200 text-gray-600 border-gray-300 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-700";const s=t.toLowerCase();return s.includes("morning")?"bg-green-100 text-green-700 border-green-200 dark:bg-green-900/30 dark:text-green-300 dark:border-green-800":s.includes("night")?"bg-indigo-100 text-indigo-700 border-indigo-200 dark:bg-indigo-900/30 dark:text-indigo-300 dark:border-indigo-800":s.includes("evening")?"bg-orange-100 text-orange-700 border-orange-200 dark:bg-orange-900/30 dark:text-orange-300 dark:border-orange-800":"bg-sky-100 text-sky-700 border-sky-200 dark:bg-sky-900/30 dark:text-sky-300 dark:border-sky-800"};return e.jsxs(ee,{title:r("Monthly Shift Calendar"),url:"/hr/shifts/calendar",breadcrumbs:[{title:r("Dashboard"),href:route("dashboard")},{title:r("Shift Management"),href:route("hr.shifts.index")},{title:r("Calendar")}],actions:[{label:r("List View"),icon:e.jsx(ne,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>u.get(route("hr.shifts.index"))}],children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow-sm border border-gray-200 dark:border-gray-800 p-4 mb-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-4 items-end",children:[e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Month")}),e.jsxs(f,{value:w,onValueChange:O,children:[e.jsx(j,{className:"w-full",children:e.jsx(k,{placeholder:r("Month")})}),e.jsx(v,{children:K.map(t=>e.jsx(h,{value:t.value,children:t.label},t.value))})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Year")}),e.jsxs(f,{value:N,onValueChange:P,children:[e.jsx(j,{className:"w-full",children:e.jsx(k,{placeholder:r("Year")})}),e.jsx(v,{children:H.map(t=>e.jsx(h,{value:t,children:t},t))})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Department")}),e.jsxs(f,{value:p,onValueChange:V,children:[e.jsx(j,{className:"w-full",children:e.jsx(k,{placeholder:r("All Departments")})}),e.jsxs(v,{children:[e.jsx(h,{value:"all",children:r("All Departments")}),I.map(t=>e.jsx(h,{value:t.id.toString(),children:t.name},t.id))]})]})]}),e.jsxs("div",{className:"flex-[2] space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Search Employee")}),e.jsx(se,{placeholder:r("Search by name..."),value:_,onChange:t=>T(t.target.value),onKeyDown:t=>t.key==="Enter"&&C()})]}),e.jsxs(y,{onClick:C,className:"bg-indigo-500 hover:bg-indigo-600",children:[e.jsx(de,{className:"h-4 w-4 mr-2"}),r("Refresh")]})]})}),e.jsxs("div",{className:"bg-sky-50 dark:bg-sky-900/10 border border-sky-100 dark:border-sky-900/30 rounded-xl p-4 mb-6 shadow-sm",children:[e.jsxs("div",{className:"flex flex-wrap gap-4 items-center mb-3",children:[e.jsxs("span",{className:"text-sm font-bold text-sky-800 dark:text-sky-300 flex items-center gap-2",children:[e.jsx("div",{className:"w-1.5 h-4 bg-sky-500 rounded-full"}),r("Shift Legend")]}),e.jsxs("div",{className:"flex items-center gap-2 px-2 py-1 rounded bg-gray-200/50 dark:bg-gray-800/50 border border-gray-200 dark:border-gray-700",children:[e.jsx("span",{className:"w-3 h-3 rounded-full bg-gray-400"}),e.jsx("span",{className:"text-xs font-semibold text-gray-700 dark:text-gray-300",children:r("Rest Day")})]}),e.jsxs("div",{className:"ml-auto flex items-center text-xs font-bold text-green-600 dark:text-green-400 bg-green-50 dark:bg-green-900/30 px-3 py-1.5 rounded-full border border-green-200 dark:border-green-800 shadow-sm transition-all hover:shadow-md cursor-default",children:[e.jsx(A,{className:"h-3.5 w-3.5 mr-2"}),r("Interactive Grid")]})]}),e.jsx("p",{className:"text-[10px] text-sky-600/70 dark:text-sky-400/50 pl-1 font-medium italic",children:r("* Click any cell to view details or modify assignment. The grid syncs directly with attendance records.")})]}),e.jsx("div",{className:"bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-lg shadow-sm overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto pb-2",children:e.jsxs("table",{className:"min-w-max w-full border-separate border-spacing-0 text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-gray-50/80 dark:bg-gray-800/80",children:[e.jsx("th",{className:"p-3 text-left font-bold text-gray-700 dark:text-gray-300 uppercase tracking-wider sticky left-0 z-10 bg-gray-50/95 dark:bg-gray-800/95 border-r border-b border-gray-200 dark:border-gray-800 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.1)] backdrop-blur min-w-[280px]",children:r("Employee")}),l==null?void 0:l.map((t,a)=>e.jsxs("th",{className:"p-2 border-r border-b border-gray-200 dark:border-gray-800 min-w-[50px] text-center last:border-r-0",children:[e.jsx("div",{className:"font-bold text-gray-800 dark:text-gray-200 text-base",children:t.day}),e.jsx("div",{className:"text-[10px] text-gray-500 dark:text-gray-400 uppercase tracking-widest",children:t.day_name})]},a))]})}),e.jsx("tbody",{children:(m==null?void 0:m.length)>0?m.map(t=>e.jsxs("tr",{className:"hover:bg-gray-50/50 dark:hover:bg-gray-800/50 transition-colors",children:[e.jsx("td",{className:"p-3 bg-white dark:bg-gray-900 border-r border-b border-gray-200 dark:border-gray-800 sticky left-0 z-10 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.05)]",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-indigo-100 dark:bg-indigo-900/50 flex items-center justify-center text-indigo-700 dark:text-indigo-300 font-bold border border-indigo-200 dark:border-indigo-800",children:t.name.split(" ").map(a=>a[0]).join("").substring(0,2).toUpperCase()}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-gray-900 dark:text-gray-100 whitespace-nowrap",children:t.name}),e.jsxs("div",{className:"text-xs text-gray-400 dark:text-gray-500 whitespace-nowrap",children:[t.employee_code," • ",t.designation]}),e.jsx("div",{className:"text-[10px] text-gray-400 dark:text-gray-500",children:t.department})]})]})}),l==null?void 0:l.map((a,s)=>{const i=t.shifts[a.date],R=i.status==="RD",W=Q(i.shift_name||"",i.status),X=R?r("RD"):i.shift_name?i.shift_name.split(" ")[0]:i.status,Z=i.start_time?i.start_time.replace(/^0/,"").replace(/\s*([AP]M)$/i," $1"):"";return e.jsx("td",{className:"p-1 border-r border-b border-gray-100 dark:border-gray-800 last:border-r-0 text-center min-w-[70px]",children:e.jsxs("div",{className:`flex flex-col items-center justify-center py-1 px-1.5 rounded border text-[11px] font-extrabold transition-all shadow-sm h-[50px] w-full ${W} ${S?"cursor-pointer hover:brightness-95 active:scale-95":""}`,onClick:()=>J(t,a.date,i),children:[e.jsx("span",{className:"leading-tight text-center",children:X}),i.start_time&&!R&&e.jsx("span",{className:"text-[9px] font-semibold text-current opacity-75 mt-0.5 tracking-tight",children:Z})]})},s)})]},t.id)):e.jsx("tr",{children:e.jsx("td",{colSpan:(l==null?void 0:l.length)+1,className:"p-8 text-center text-gray-500 dark:text-gray-400",children:r("No active shift scheduling found for these parameters.")})})})]})})}),q&&d&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm animate-in fade-in duration-200",children:e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-xl shadow-2xl border border-gray-200 dark:border-gray-800 w-full max-w-md overflow-hidden transform transition-all animate-in zoom-in-95 duration-200",children:[e.jsxs("div",{className:"bg-indigo-600 p-6 text-white relative",children:[e.jsx("button",{onClick:()=>g(!1),className:"absolute top-4 right-4 text-white/70 hover:text-white transition",children:e.jsx(ie,{className:"h-6 w-6 rotate-45"})}),e.jsx("h3",{className:"text-xl font-bold",children:r("Shift Details")}),e.jsx("p",{className:"text-indigo-100 text-sm",children:new Date(d.date).toLocaleDateString(void 0,{weekday:"long",year:"numeric",month:"long",day:"numeric"})})]}),e.jsxs("div",{className:"p-6 space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-indigo-100 dark:bg-indigo-900/50 flex items-center justify-center text-indigo-700 dark:text-indigo-300 font-bold text-lg border border-indigo-200",children:d.employee_name[0]}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-gray-900 dark:text-gray-100 text-lg",children:d.employee_name}),e.jsx("div",{className:"text-sm text-gray-400",children:d.employee_code||r("Employee")})]})]}),e.jsx("div",{className:"space-y-4 pt-2",children:e.jsxs("div",{className:"flex items-center gap-3 p-4 rounded-lg bg-gray-50 dark:bg-gray-800/50 border border-gray-100 dark:border-gray-800",children:[e.jsx("div",{className:`p-2 rounded-md ${d.is_rest_day?"bg-gray-200 text-gray-600":"bg-green-100 text-green-600"}`,children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs text-gray-400 uppercase font-semibold tracking-wider font-mono",children:r("Assigned Shift")}),e.jsx("div",{className:"font-bold text-gray-800 dark:text-gray-200",children:d.is_rest_day?r("Rest Day"):d.shift_name})]})]})}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(y,{variant:"outline",className:"flex-1",onClick:()=>g(!1),children:r("Close")}),e.jsx(y,{className:"flex-1 bg-indigo-600 hover:bg-indigo-700",onClick:B,children:r("Edit Assignment")})]})]})]})}),e.jsx(le,{isOpen:Y,onClose:()=>b(!1),onSubmit:G,title:r("Assign Shift"),mode:"create",initialData:d,formConfig:{fields:[{name:"employee_name",label:r("Employee"),type:"text",disabled:!0,row:1,width:"full"},{name:"employee_id",label:r("Employee ID"),type:"text",disabled:!0,conditional:()=>!1},{name:"start_date",label:r("Start Date"),type:"date",required:!0,row:2,width:"50%"},{name:"end_date",label:r("End Date"),type:"date",required:!0,row:2,width:"50%"},{name:"shift_id",label:r("Select Shift"),type:"select",required:!1,options:F.map(t=>({value:t.id.toString(),label:`${t.name} (${t.start_time} - ${t.end_time})`})),row:3,width:"full",conditional:t=>!t.is_rest_day},{name:"is_rest_day",label:r("Mark as Rest Day"),type:"checkbox",required:!1,row:4,width:"full"}],layout:"default"}})]})}export{rr as default}; diff --git a/public/build/assets/calendar-DZXr_GgA.js b/public/build/assets/calendar-CE42kucH.js similarity index 71% rename from public/build/assets/calendar-DZXr_GgA.js rename to public/build/assets/calendar-CE42kucH.js index dc02c8c48..9aecd8295 100644 --- a/public/build/assets/calendar-DZXr_GgA.js +++ b/public/build/assets/calendar-CE42kucH.js @@ -1 +1 @@ -import{r as m,j as t}from"./ui-Z445SNHD.js";import{P as N}from"./page-template-BTxLyiDA.js";import{u as T,c as _,C as k,r as l}from"./app-CfhhiFAk.js";import{F as y,i as V,a as A,b as F}from"./index-DrmIhGnK.js";import{S as d,a as c,b as p,c as u,d as h}from"./select-BrY9osYp.js";import{L as G}from"./list-D0MAUZMV.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function je(){const{t:r}=T(),{calendarEvents:g,trainingPrograms:x,filters:n={}}=_().props,[s,v]=m.useState(n.training_program_id||"all"),[i,b]=m.useState(n.status||"all"),j=()=>{l.get(route("hr.training-sessions.index"))},S=e=>{const a=e.event.id;l.get(route("hr.training-sessions.show",a))},o=(e,a)=>{l.get(route("hr.training-sessions.calendar"),{[e]:a==="all"?void 0:a,...e!=="training_program_id"&&s!=="all"?{training_program_id:s}:{},...e!=="status"&&i!=="all"?{status:i}:{}},{preserveState:!0})},f=[{label:r("List View"),icon:t.jsx(G,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:j}],C=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.training-sessions.index")},{title:r("Training Management"),href:route("hr.training-sessions.index")},{title:r("Training Sessions"),href:route("hr.training-sessions.index")},{title:r("Calendar")}],w=[{value:"all",label:r("All Programs")},...(x||[]).map(e=>({value:e.id.toString(),label:e.name}))],P=[{value:"all",label:r("All Statuses")},{value:"scheduled",label:r("Scheduled")},{value:"in_progress",label:r("In Progress")},{value:"completed",label:r("Completed")},{value:"cancelled",label:r("Cancelled")}];return t.jsxs(N,{title:r("Training Sessions Calendar"),url:"/hr/training/sessions/calendar",actions:f,breadcrumbs:C,children:[t.jsxs("div",{className:"flex flex-wrap gap-4 mb-4",children:[t.jsxs("div",{className:"w-full md:w-64",children:[t.jsx("label",{className:"block text-sm font-medium mb-1",children:r("Program")}),t.jsxs(d,{value:s,onValueChange:e=>{v(e),o("training_program_id",e)},children:[t.jsx(c,{children:t.jsx(p,{placeholder:r("All Programs")})}),t.jsx(u,{children:w.map(e=>t.jsx(h,{value:e.value,children:e.label},e.value))})]})]}),t.jsxs("div",{className:"w-full md:w-64",children:[t.jsx("label",{className:"block text-sm font-medium mb-1",children:r("Status")}),t.jsxs(d,{value:i,onValueChange:e=>{b(e),o("status",e)},children:[t.jsx(c,{children:t.jsx(p,{placeholder:r("All Statuses")})}),t.jsx(u,{children:P.map(e=>t.jsx(h,{value:e.value,children:e.label},e.value))})]})]})]}),t.jsx(k,{className:"p-4",children:t.jsx(y,{plugins:[V,A,F],initialView:"dayGridMonth",headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},events:g,eventClick:S,eventTimeFormat:{hour:"2-digit",minute:"2-digit",meridiem:"short"},height:"auto",aspectRatio:1.8,eventDisplay:"block",eventContent:e=>t.jsxs("div",{className:"p-1 overflow-hidden",children:[t.jsx("div",{className:"font-medium text-xs truncate",children:e.event.title}),e.view.type!=="dayGridMonth"&&t.jsx("div",{className:"text-xs truncate",children:e.event.extendedProps.program})]})})})]})}export{je as default}; +import{r as m,j as t}from"./ui-Z445SNHD.js";import{P as N}from"./page-template-CLNVC8w_.js";import{u as T,c as _,C as k,r as l}from"./app-Dya84jp7.js";import{F as y,i as V,a as A,b as F}from"./index-DrmIhGnK.js";import{S as d,a as c,b as p,c as u,d as h}from"./select-CHkpLxhL.js";import{L as G}from"./list-C_2fG_BT.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function je(){const{t:r}=T(),{calendarEvents:g,trainingPrograms:x,filters:n={}}=_().props,[s,v]=m.useState(n.training_program_id||"all"),[i,b]=m.useState(n.status||"all"),j=()=>{l.get(route("hr.training-sessions.index"))},S=e=>{const a=e.event.id;l.get(route("hr.training-sessions.show",a))},o=(e,a)=>{l.get(route("hr.training-sessions.calendar"),{[e]:a==="all"?void 0:a,...e!=="training_program_id"&&s!=="all"?{training_program_id:s}:{},...e!=="status"&&i!=="all"?{status:i}:{}},{preserveState:!0})},f=[{label:r("List View"),icon:t.jsx(G,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:j}],C=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.training-sessions.index")},{title:r("Training Management"),href:route("hr.training-sessions.index")},{title:r("Training Sessions"),href:route("hr.training-sessions.index")},{title:r("Calendar")}],w=[{value:"all",label:r("All Programs")},...(x||[]).map(e=>({value:e.id.toString(),label:e.name}))],P=[{value:"all",label:r("All Statuses")},{value:"scheduled",label:r("Scheduled")},{value:"in_progress",label:r("In Progress")},{value:"completed",label:r("Completed")},{value:"cancelled",label:r("Cancelled")}];return t.jsxs(N,{title:r("Training Sessions Calendar"),url:"/hr/training/sessions/calendar",actions:f,breadcrumbs:C,children:[t.jsxs("div",{className:"flex flex-wrap gap-4 mb-4",children:[t.jsxs("div",{className:"w-full md:w-64",children:[t.jsx("label",{className:"block text-sm font-medium mb-1",children:r("Program")}),t.jsxs(d,{value:s,onValueChange:e=>{v(e),o("training_program_id",e)},children:[t.jsx(c,{children:t.jsx(p,{placeholder:r("All Programs")})}),t.jsx(u,{children:w.map(e=>t.jsx(h,{value:e.value,children:e.label},e.value))})]})]}),t.jsxs("div",{className:"w-full md:w-64",children:[t.jsx("label",{className:"block text-sm font-medium mb-1",children:r("Status")}),t.jsxs(d,{value:i,onValueChange:e=>{b(e),o("status",e)},children:[t.jsx(c,{children:t.jsx(p,{placeholder:r("All Statuses")})}),t.jsx(u,{children:P.map(e=>t.jsx(h,{value:e.value,children:e.label},e.value))})]})]})]}),t.jsx(k,{className:"p-4",children:t.jsx(y,{plugins:[V,A,F],initialView:"dayGridMonth",headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},events:g,eventClick:S,eventTimeFormat:{hour:"2-digit",minute:"2-digit",meridiem:"short"},height:"auto",aspectRatio:1.8,eventDisplay:"block",eventContent:e=>t.jsxs("div",{className:"p-1 overflow-hidden",children:[t.jsx("div",{className:"font-medium text-xs truncate",children:e.event.title}),e.view.type!=="dayGridMonth"&&t.jsx("div",{className:"text-xs truncate",children:e.event.extendedProps.program})]})})})]})}export{je as default}; diff --git a/public/build/assets/calendar-CfUpdaK5.js b/public/build/assets/calendar-DuRYaSj5.js similarity index 90% rename from public/build/assets/calendar-CfUpdaK5.js rename to public/build/assets/calendar-DuRYaSj5.js index 6bef4ce6e..0f1fd8c99 100644 --- a/public/build/assets/calendar-CfUpdaK5.js +++ b/public/build/assets/calendar-DuRYaSj5.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/calendar-check-B2HQiQ2A.js b/public/build/assets/calendar-check-Cei2wfOk.js similarity index 91% rename from public/build/assets/calendar-check-B2HQiQ2A.js rename to public/build/assets/calendar-check-Cei2wfOk.js index 629dc8a96..7cee5297c 100644 --- a/public/build/assets/calendar-check-B2HQiQ2A.js +++ b/public/build/assets/calendar-check-Cei2wfOk.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/calendar-days-CiPhwZgb.js b/public/build/assets/calendar-days-CURbwGg4.js similarity index 93% rename from public/build/assets/calendar-days-CiPhwZgb.js rename to public/build/assets/calendar-days-CURbwGg4.js index 06461f365..629f15039 100644 --- a/public/build/assets/calendar-days-CiPhwZgb.js +++ b/public/build/assets/calendar-days-CURbwGg4.js @@ -1,4 +1,4 @@ -import{G as h}from"./app-CfhhiFAk.js";/** +import{G as h}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/calendar-DK7BNiGj.js b/public/build/assets/calendar-q-CcV4Mq.js similarity index 93% rename from public/build/assets/calendar-DK7BNiGj.js rename to public/build/assets/calendar-q-CcV4Mq.js index 6e0ecc779..9f7b33859 100644 --- a/public/build/assets/calendar-DK7BNiGj.js +++ b/public/build/assets/calendar-q-CcV4Mq.js @@ -1 +1 @@ -import{r as g,j as e}from"./ui-Z445SNHD.js";import{P as Ee}from"./page-template-BTxLyiDA.js";import{u as Oe,c as He,x as Me,I as Te,o as de,P as Re,ao as ce,t as n,r as S}from"./app-CfhhiFAk.js";import{S as A,a as D,b as E,c as O,d as v}from"./select-BrY9osYp.js";import{C as Fe}from"./CrudFormModal-DAR9q-oM.js";import{R as Pe}from"./refresh-cw-DWorkL8J.js";import{C as Ve}from"./calendar-CfUpdaK5.js";import{L as Be}from"./layout-list-BgC0E-xE.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";function Tr(){var G,K,Q,X,Z,I;const{t:r}=Oe(),{auth:j,users:d,dates:m,departments:he,branches:pe,filters:C,errors:xe,leaveTypes:B}=He().props,me=(j==null?void 0:j.permissions)||[],be=(G=j==null?void 0:j.user)==null?void 0:G.type,[q,ge]=g.useState(((K=C.month)==null?void 0:K.toString())||new Date().getMonth()+1+""),[W,fe]=g.useState(((Q=C.year)==null?void 0:Q.toString())||new Date().getFullYear().toString()),[M,ue]=g.useState(C.department_id||"all"),[T,ye]=g.useState(C.branch_id||"all"),[Y,ve]=g.useState(C.search||""),[je,f]=g.useState(!1),[a,R]=g.useState(null),[u,H]=g.useState("create"),[F,$]=g.useState(null),z=["admin","hr","manager","company"].includes(be)||Me(me,"edit-attendance-records"),U=()=>{S.get(route("hr.attendance-records.calendar"),{month:q,year:W,department_id:M!=="all"?M:void 0,branch_id:T!=="all"?T:void 0,search:Y||void 0},{preserveState:!0,preserveScroll:!0})},J=(t,s)=>{s&&ce.get(route("hr.attendance-records.get-leave-balance"),{params:{employee_id:t,leave_type_id:s}}).then(i=>{$(i.data)})},_e=(t,s,i)=>{var o;if(z){if(i.record){if(i.record.is_approved_leave){H("view"),R({status:"on_leave",employee_id:t.id,employee_name:t.name,date:s,notes:r("This is an approved Leave Application from the Leave module."),is_readonly:!0}),f(!0);return}H("view"),R({...i.record,clock_in:i.record.clock_in?i.record.clock_in.substring(0,5):"",clock_out:i.record.clock_out?i.record.clock_out.substring(0,5):"",employee_id:t.id,employee_name:t.name,date:s}),i.record.status==="on_leave"&&i.record.leave_type_id&&J(t.id,i.record.leave_type_id)}else{const c=new Date(s).toLocaleDateString("en-US",{weekday:"long"}).toLowerCase(),p=((o=t.rest_days)==null?void 0:o.includes(c))??(c==="saturday"||c==="sunday");H("create"),R({employee_id:t.id,employee_name:t.name,date:s,status:p?"rest_day":"present",is_rest_day:p,clock_in:"",clock_out:""}),$(null)}f(!0)}},ke=t=>{const s=d==null?void 0:d.find(l=>{var c;return l.id.toString()===((c=t.employee_id)==null?void 0:c.toString())});if(!(t.shift_name||t.shift_start_time||s&&s.shift)){n.error(r("Cannot save: No shift assigned to this record or employee."));return}if(u==="edit"&&!(a!=null&&a.id)){n.error(r("Invalid record ID for update."));return}const o=n.loading(r(u==="create"?"Creating attendance record...":"Updating attendance record..."));u==="create"?S.post(route("hr.attendance-records.store"),t,{onSuccess:l=>{n.dismiss(o),l.props.flash.success?(f(!1),n.success(r(l.props.flash.success))):l.props.flash.error&&n.error(r(l.props.flash.error))},onError:l=>{n.dismiss(o),n.error(Object.values(l).join(", "))}}):S.put(route("hr.attendance-records.update",a.id),t,{onSuccess:l=>{n.dismiss(o),l.props.flash.success?(f(!1),n.success(r(l.props.flash.success))):l.props.flash.error&&n.error(r(l.props.flash.error))},onError:l=>{n.dismiss(o),n.error(Object.values(l).join(", "))}})},we=t=>{const s=t.is_approved_leave||t.leave_application_id,i=n.loading(r(s?"Cancelling leave application...":"Deleting attendance record..."));s&&t.leave_application_id?S.post(route("hr.attendance-records.cancel-leave"),{leave_application_id:t.leave_application_id},{onSuccess:o=>{n.dismiss(i),o.props.flash.success?(f(!1),n.success(r(o.props.flash.success))):o.props.flash.error&&n.error(r(o.props.flash.error))},onError:o=>{n.dismiss(i),n.error(Object.values(o).join(", "))}}):t.id&&S.delete(route("hr.attendance-records.destroy",t.id),{onSuccess:o=>{n.dismiss(i),o.props.flash.success?(f(!1),n.success(r(o.props.flash.success))):o.props.flash.error&&n.error(r(o.props.flash.error))},onError:o=>{n.dismiss(i),n.error(Object.values(o).join(", "))}})},Ne=[{value:"1",label:r("January")},{value:"2",label:r("February")},{value:"3",label:r("March")},{value:"4",label:r("April")},{value:"5",label:r("May")},{value:"6",label:r("June")},{value:"7",label:r("July")},{value:"8",label:r("August")},{value:"9",label:r("September")},{value:"10",label:r("October")},{value:"11",label:r("November")},{value:"12",label:r("December")}],Se=new Date().getFullYear(),Ce=Array.from({length:5},(t,s)=>(Se-2+s).toString()),Le=t=>{switch(t){case"P":return"bg-green-500 text-white border border-green-600";case"A":return"bg-red-500 text-white border border-red-600";case"L":return"bg-amber-500 text-white border border-amber-600";case"E":return"bg-orange-500 text-white border border-orange-600";case"H":return"bg-cyan-500 text-white border border-cyan-600";case"LV":return"bg-indigo-600 text-white border border-indigo-700 shadow-md transform scale-110";case"HD":return"bg-sky-500 text-white border border-sky-600";case"RD":return"bg-gray-500 text-white border border-gray-600";case"OT":return"bg-fuchsia-500 text-white border border-fuchsia-600";case"ND":return"bg-slate-800 text-white border border-slate-900";case"W":return"bg-gray-400 text-white border border-gray-500";case"--":default:return"bg-gray-100 text-gray-400 border border-gray-200"}};return e.jsxs(Ee,{title:r("Monthly Attendance Calendar"),url:"/hr/attendance-records/calendar",breadcrumbs:[{title:r("Dashboard"),href:route("dashboard")},{title:r("Attendance"),href:route("hr.attendance-records.index")},{title:r("Calendar")}],actions:[{label:r("List View"),icon:e.jsx(Be,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>S.get(route("hr.attendance-records.index",{view:"list"}))}],children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow-sm border border-gray-200 dark:border-gray-800 p-4 mb-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-4 items-end",children:[e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Month")}),e.jsxs(A,{value:q,onValueChange:ge,children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("Month")})}),e.jsx(O,{children:Ne.map(t=>e.jsx(v,{value:t.value,children:t.label},t.value))})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Year")}),e.jsxs(A,{value:W,onValueChange:fe,children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("Year")})}),e.jsx(O,{children:Ce.map(t=>e.jsx(v,{value:t,children:t},t))})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Department")}),e.jsxs(A,{value:M,onValueChange:ue,children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("All Departments")})}),e.jsxs(O,{children:[e.jsx(v,{value:"all",children:r("All Departments")}),he.map(t=>e.jsx(v,{value:t.id.toString(),children:t.name},t.id))]})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Branch")}),e.jsxs(A,{value:T,onValueChange:ye,children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("All Branches")})}),e.jsxs(O,{children:[e.jsx(v,{value:"all",children:r("All Branches")}),(pe||[]).map(t=>e.jsx(v,{value:t.id.toString(),children:t.name},t.id))]})]})]}),e.jsxs("div",{className:"flex-[2] space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Search Employee")}),e.jsx(Te,{placeholder:r("Search by name..."),value:Y,onChange:t=>ve(t.target.value),onKeyDown:t=>t.key==="Enter"&&U()})]}),e.jsxs(de,{onClick:U,className:"bg-indigo-500 hover:bg-indigo-600",children:[e.jsx(Pe,{className:"h-4 w-4 mr-2"}),r("Refresh")]})]})}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-lg p-3 mb-6 flex flex-wrap gap-x-4 gap-y-3 items-center",children:[e.jsxs("span",{className:"text-sm font-semibold text-gray-700 dark:text-gray-300 mr-2",children:[r("Legend"),":"]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-green-500 border border-green-600 text-white text-[10px] font-bold tracking-tight",children:"P"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Present")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-red-500 border border-red-600 text-white text-[10px] font-bold tracking-tight",children:"A"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Absent")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-amber-500 border border-amber-600 text-white text-[10px] font-bold tracking-tight",children:"L"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Late")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-orange-500 border border-orange-600 text-white text-[10px] font-bold tracking-tight",children:"E"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Early Checkout")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-cyan-500 border border-cyan-600 text-white text-[10px] font-bold tracking-tight",children:"H"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Half Day")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-indigo-500 border border-indigo-600 text-white text-[10px] font-bold tracking-tight",children:"LV"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Leave")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-sky-500 border border-sky-600 text-white text-[10px] font-bold tracking-tight",children:"HD"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Holiday")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-gray-500 border border-gray-600 text-white text-[10px] font-bold tracking-tight",children:"RD"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Rest Day")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-fuchsia-500 border border-fuchsia-600 text-white text-[10px] font-bold tracking-tight",children:"OT"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Overtime")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-slate-800 border border-slate-900 text-white text-[10px] font-bold tracking-tight",children:"ND"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Night Differential")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-gray-400 border border-gray-500 text-white text-[10px] font-bold tracking-tight",children:"W"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Weekend")})]}),e.jsxs("div",{className:"md:ml-auto flex items-center text-xs font-medium text-amber-600 dark:text-amber-400 bg-amber-50 dark:bg-amber-900/30 px-3 py-1 rounded-full border border-amber-200 dark:border-amber-800",children:[e.jsx(Ve,{className:"h-3.5 w-3.5 mr-1.5"}),r("Leave Integrated Grid")]})]}),e.jsx("div",{className:"bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-lg shadow-sm overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto pb-2",children:e.jsxs("table",{className:"min-w-max w-full border-separate border-spacing-0 text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-gray-50/80 dark:bg-gray-800/80",children:[e.jsx("th",{className:"p-3 text-left font-bold text-gray-700 dark:text-gray-300 uppercase tracking-wider sticky left-0 z-10 bg-gray-50/95 dark:bg-gray-800/95 border-r border-b border-gray-200 dark:border-gray-800 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.1)] backdrop-blur min-w-[280px]",children:r("Employee")}),m==null?void 0:m.map((t,s)=>e.jsxs("th",{className:"p-2 border-r border-b border-gray-200 dark:border-gray-800 min-w-[50px] text-center last:border-r-0",children:[e.jsx("div",{className:"font-bold text-gray-800 dark:text-gray-200 text-base",children:t.day}),e.jsx("div",{className:"text-[10px] text-gray-500 dark:text-gray-400 uppercase tracking-widest",children:t.day_name})]},s))]})}),e.jsx("tbody",{children:(d==null?void 0:d.length)>0?d.map(t=>{var s,i;return e.jsxs("tr",{className:"hover:bg-gray-50/50 dark:hover:bg-gray-800/50 transition-colors",children:[e.jsx("td",{className:"p-3 bg-white dark:bg-gray-900 border-r border-b border-gray-200 dark:border-gray-800 sticky left-0 z-10 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.05)]",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-amber-100 dark:bg-amber-900/50 flex items-center justify-center text-amber-700 dark:text-amber-300 font-bold border border-amber-200 dark:border-amber-800",children:t.name.split(" ").map(o=>o[0]).join("").substring(0,2).toUpperCase()}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-gray-900 dark:text-gray-100 whitespace-nowrap",children:t.name}),e.jsxs("div",{className:"text-xs text-gray-400 dark:text-gray-500 whitespace-nowrap",children:[t.employee_code," • ",t.designation]}),e.jsxs("div",{className:"text-[10px] text-gray-400 dark:text-gray-500",children:[t.department,(i=(s=t.employee)==null?void 0:s.branch)!=null&&i.name?` • ${t.employee.branch.name}`:""]})]})]})}),m==null?void 0:m.map((o,l)=>{var p;const c=t.records[o.date];return e.jsx("td",{className:"p-2 border-r border-b border-gray-100 dark:border-gray-800 last:border-r-0 text-center",children:e.jsx("div",{className:`inline-flex items-center justify-center w-8 h-8 rounded-lg text-[10px] font-bold transition-all shadow-sm ${Le(c.status)} ${z?"cursor-pointer hover:scale-110 active:scale-95":""} ${(p=c.record)!=null&&p.is_approved_leave?"ring-2 ring-indigo-400 ring-offset-1":""}`,title:c.label,onClick:()=>_e(t,o.date,c),children:c.status})},l)})]},t.id)}):e.jsx("tr",{children:e.jsx("td",{colSpan:(m==null?void 0:m.length)+1,className:"p-8 text-center text-gray-500 dark:text-gray-400",children:r("No attendance data found for these parameters.")})})})]})})}),e.jsx(Fe,{isOpen:je,onClose:()=>f(!1),onSubmit:ke,title:a!=null&&a.is_readonly?r("Leave Details"):r(u==="create"?"Add Attendance Record":u==="view"?"View Attendance Record":"Update Attendance Record"),mode:a!=null&&a.is_readonly?"view":u,initialData:a,errors:xe,onEdit:a!=null&&a.is_readonly?void 0:()=>H("edit"),onDelete:a!=null&&a.id||a!=null&&a.leave_application_id?()=>we(a):void 0,formConfig:{fields:[{name:"date",label:r("Date"),type:"date",disabled:!0,required:!0,row:1,width:"48%"},{name:"employee_name",label:r("Employee"),type:"text",disabled:!0,row:1,width:"48%"},{name:"shift_display",label:"",type:"custom",row:2,width:"full",render:(t,s)=>{var p,x,y;const i=d==null?void 0:d.find(P=>{var b;return P.id.toString()===((b=s.employee_id)==null?void 0:b.toString())}),o=s.shift_name||((p=i==null?void 0:i.shift)==null?void 0:p.name),l=s.shift_start_time||((x=i==null?void 0:i.shift)==null?void 0:x.start_time),c=s.shift_end_time||((y=i==null?void 0:i.shift)==null?void 0:y.end_time);return o?e.jsxs("div",{className:"text-[10px] font-bold text-indigo-700 bg-indigo-50 dark:bg-indigo-900/30 px-2 py-0.5 rounded border border-indigo-100 dark:border-indigo-800 inline-flex items-center gap-1",children:[e.jsxs("span",{className:"opacity-70 uppercase tracking-tighter",children:[r("Shift"),":"]}),e.jsxs("span",{children:[o," (",l," - ",c,")"]})]}):e.jsxs("div",{className:"text-[10px] font-bold text-red-700 bg-red-50 dark:bg-red-900/30 px-2 py-0.5 rounded border border-red-100 dark:border-red-800 inline-flex items-center gap-1",children:[e.jsxs("span",{className:"uppercase tracking-tighter",children:[r("Error"),":"]}),e.jsx("span",{children:r("No shift assigned to this employee.")})]})}},{name:"holiday_display",label:"",type:"custom",row:2,width:"full",conditional:(t,s)=>!!(s!=null&&s.is_holiday||s!=null&&s.holiday_name),render:(t,s)=>!(s!=null&&s.is_holiday)&&!(s!=null&&s.holiday_name)?null:e.jsxs("div",{className:"flex items-center gap-2 text-sm font-bold text-sky-700 bg-sky-50 dark:bg-sky-900/30 px-3 py-2 rounded-lg border border-sky-200 dark:border-sky-800 animate-in fade-in slide-in-from-top-1",children:[e.jsx("span",{className:"text-base",children:"🎉"}),e.jsxs("span",{children:[r("Holiday"),": ",s.holiday_name||r("Holiday")]})]})},{name:"clock_in",label:r("Clock In"),type:"time",required:!1,disabled:!(a!=null&&a.shift_name||a!=null&&a.shift_start_time||(X=d==null?void 0:d.find(t=>{var s;return t.id.toString()===((s=a==null?void 0:a.employee_id)==null?void 0:s.toString())}))!=null&&X.shift),row:3,width:"48%",conditional:(t,s)=>!["absent","on_leave","holiday","rest_day"].includes(s==null?void 0:s.status)},{name:"clock_out",label:r("Clock Out"),type:"time",required:!1,disabled:!(a!=null&&a.shift_name||a!=null&&a.shift_start_time||(Z=d==null?void 0:d.find(t=>{var s;return t.id.toString()===((s=a==null?void 0:a.employee_id)==null?void 0:s.toString())}))!=null&&Z.shift),row:3,width:"48%",conditional:(t,s)=>!["absent","on_leave","holiday","rest_day"].includes(s==null?void 0:s.status)},{name:"status",label:r("Status"),type:"select",required:!0,disabled:(a==null?void 0:a.is_readonly)||!(a!=null&&a.shift_name||a!=null&&a.shift_start_time||(I=d==null?void 0:d.find(t=>{var s;return t.id.toString()===((s=a==null?void 0:a.employee_id)==null?void 0:s.toString())}))!=null&&I.shift),options:[{value:"present",label:r("Present")},{value:"absent",label:r("Absent")},{value:"half_day",label:r("Half Day")},{value:"on_leave",label:r("On Leave")},{value:"holiday",label:r("Holiday")},{value:"rest_day",label:r("Rest Day")}],row:4,width:"48%"},{name:"is_rest_day",label:r("Is Rest Day? (For DOLE Multiplier)"),type:"switch",row:4,width:"48%",disabled:a==null?void 0:a.is_readonly},{name:"leave_type_id",label:r("Leave Type"),type:"select",required:!0,disabled:a==null?void 0:a.is_readonly,conditional:(t,s)=>(s==null?void 0:s.status)==="on_leave",options:(B||[]).map(t=>({value:t.id.toString(),label:t.name})),row:5,width:"full",render:(t,s,i)=>{var o;return e.jsxs("div",{className:"space-y-3",children:[e.jsxs(A,{value:((o=s.leave_type_id)==null?void 0:o.toString())||"",onValueChange:l=>{i("leave_type_id",l),J(s.employee_id,l)},disabled:(a==null?void 0:a.is_readonly)||u==="view",children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("Select Leave Type")})}),e.jsx(O,{className:"z-[70000]",children:(B||[]).map(l=>e.jsx(v,{value:l.id.toString(),children:l.name},l.id))})]}),F&&e.jsxs("div",{className:"flex items-center justify-between text-sm font-medium text-indigo-700 bg-indigo-50/50 dark:bg-indigo-900/20 px-3 py-2 rounded-md border border-indigo-100 dark:border-indigo-800 animate-in fade-in slide-in-from-top-1",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-indigo-500 animate-pulse"}),r("Available Balance")]}),e.jsxs("span",{className:"text-lg font-bold",children:[F.balance," ",e.jsxs("span",{className:"text-xs font-normal text-indigo-400",children:["/ ",F.allocated," ",r("days")]})]})]})]})}},{name:"validation_warnings",label:"",type:"custom",row:6,width:"full",conditional:(t,s)=>!["absent","on_leave","holiday","rest_day"].includes(s==null?void 0:s.status)&&(s==null?void 0:s.clock_in)&&(s==null?void 0:s.clock_out)&&(s==null?void 0:s.employee_id),render:(t,s)=>{var te,ae,ie;const i=d==null?void 0:d.find(h=>{var N;return h.id.toString()===((N=s.employee_id)==null?void 0:N.toString())}),o=s.shift_start_time||((te=i==null?void 0:i.shift)==null?void 0:te.start_time),l=s.shift_end_time||((ae=i==null?void 0:i.shift)==null?void 0:ae.end_time);if(!o||!l)return null;const c=s.clock_in,p=s.clock_out,x=[],y=h=>{if(!h)return 0;const[N,V]=h.split(":").map(Number);return N*60+(V||0)},P=5;let b=y(c),_=y(p);const k=y(o);let w=y(l);b-k>720?b-=1440:b-k<-720&&(b+=1440),w<=k&&(w+=1440,_0&&LDe&&x.push({code:"L",message:r("Late: Clock in is later than shift start."),color:"bg-amber-500"}),_=w+60){const h=((_-w)/60).toFixed(1);x.push({code:"OT",message:r("Overtime: Clocked out late ({{hours}}h).",{hours:h}),color:"bg-purple-500",isOt:!0,otHours:h})}return x.length===0?null:e.jsx("div",{className:"space-y-2 mt-2",children:x.map((h,N)=>e.jsxs("div",{className:"flex items-center justify-between gap-3 bg-amber-50/50 dark:bg-amber-900/10 border border-amber-100 dark:border-amber-800/50 p-2 rounded-lg animate-in fade-in slide-in-from-top-1",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:`flex-shrink-0 w-8 h-8 rounded-md ${h.color} flex items-center justify-center text-white text-[10px] font-bold shadow-sm`,children:h.code}),e.jsx("div",{className:"text-xs text-amber-800 dark:text-amber-200 font-medium",children:h.message})]}),h.isOt&&!s.is_approved_overtime&&e.jsxs(de,{size:"sm",variant:"outline",className:"h-7 text-xs border-purple-200 text-purple-700 hover:bg-purple-50 dark:border-purple-800 dark:text-purple-300 dark:hover:bg-purple-900/30",onClick:V=>{V.preventDefault(),ce.post(route("hr.overtime.store"),{date:s.date,user_id:s.employee_id,requested_hours:h.otHours,reason:"Automatically generated from late clock out."}).then(oe=>{n.success(r("Overtime requested! Please click Save to save your attendance record."))}).catch(oe=>{var le,ne;n.error(((ne=(le=oe.response)==null?void 0:le.data)==null?void 0:ne.message)||r("Failed to apply for overtime."))})},children:[e.jsx(Re,{className:"w-3 h-3 mr-1"}),r("Apply OT")]}),h.isOt&&s.is_approved_overtime&&e.jsx("span",{className:"text-xs font-bold text-green-600 dark:text-green-400 bg-green-50 dark:bg-green-900/20 px-2 py-1 rounded border border-green-200 dark:border-green-800",children:r("Approved")})]},N))})}},{name:"notes",label:r("Notes"),type:"textarea",required:!1,disabled:a==null?void 0:a.is_readonly,row:7,width:"full"}],layout:"default"}})]})}export{Tr as default}; +import{r as g,j as e}from"./ui-Z445SNHD.js";import{P as Ee}from"./page-template-CLNVC8w_.js";import{u as Oe,c as He,x as Me,I as Te,o as de,P as Re,ao as ce,t as n,r as S}from"./app-Dya84jp7.js";import{S as A,a as D,b as E,c as O,d as v}from"./select-CHkpLxhL.js";import{C as Fe}from"./CrudFormModal-CsuqSfb2.js";import{R as Pe}from"./refresh-cw-D_C_cDSu.js";import{C as Ve}from"./calendar-DuRYaSj5.js";import{L as Be}from"./layout-list-Cqn_SURh.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";function Tr(){var G,K,Q,X,Z,I;const{t:r}=Oe(),{auth:j,users:d,dates:m,departments:he,branches:pe,filters:C,errors:xe,leaveTypes:B}=He().props,me=(j==null?void 0:j.permissions)||[],be=(G=j==null?void 0:j.user)==null?void 0:G.type,[q,ge]=g.useState(((K=C.month)==null?void 0:K.toString())||new Date().getMonth()+1+""),[W,fe]=g.useState(((Q=C.year)==null?void 0:Q.toString())||new Date().getFullYear().toString()),[M,ue]=g.useState(C.department_id||"all"),[T,ye]=g.useState(C.branch_id||"all"),[Y,ve]=g.useState(C.search||""),[je,f]=g.useState(!1),[a,R]=g.useState(null),[u,H]=g.useState("create"),[F,$]=g.useState(null),z=["admin","hr","manager","company"].includes(be)||Me(me,"edit-attendance-records"),U=()=>{S.get(route("hr.attendance-records.calendar"),{month:q,year:W,department_id:M!=="all"?M:void 0,branch_id:T!=="all"?T:void 0,search:Y||void 0},{preserveState:!0,preserveScroll:!0})},J=(t,s)=>{s&&ce.get(route("hr.attendance-records.get-leave-balance"),{params:{employee_id:t,leave_type_id:s}}).then(i=>{$(i.data)})},_e=(t,s,i)=>{var o;if(z){if(i.record){if(i.record.is_approved_leave){H("view"),R({status:"on_leave",employee_id:t.id,employee_name:t.name,date:s,notes:r("This is an approved Leave Application from the Leave module."),is_readonly:!0}),f(!0);return}H("view"),R({...i.record,clock_in:i.record.clock_in?i.record.clock_in.substring(0,5):"",clock_out:i.record.clock_out?i.record.clock_out.substring(0,5):"",employee_id:t.id,employee_name:t.name,date:s}),i.record.status==="on_leave"&&i.record.leave_type_id&&J(t.id,i.record.leave_type_id)}else{const c=new Date(s).toLocaleDateString("en-US",{weekday:"long"}).toLowerCase(),p=((o=t.rest_days)==null?void 0:o.includes(c))??(c==="saturday"||c==="sunday");H("create"),R({employee_id:t.id,employee_name:t.name,date:s,status:p?"rest_day":"present",is_rest_day:p,clock_in:"",clock_out:""}),$(null)}f(!0)}},ke=t=>{const s=d==null?void 0:d.find(l=>{var c;return l.id.toString()===((c=t.employee_id)==null?void 0:c.toString())});if(!(t.shift_name||t.shift_start_time||s&&s.shift)){n.error(r("Cannot save: No shift assigned to this record or employee."));return}if(u==="edit"&&!(a!=null&&a.id)){n.error(r("Invalid record ID for update."));return}const o=n.loading(r(u==="create"?"Creating attendance record...":"Updating attendance record..."));u==="create"?S.post(route("hr.attendance-records.store"),t,{onSuccess:l=>{n.dismiss(o),l.props.flash.success?(f(!1),n.success(r(l.props.flash.success))):l.props.flash.error&&n.error(r(l.props.flash.error))},onError:l=>{n.dismiss(o),n.error(Object.values(l).join(", "))}}):S.put(route("hr.attendance-records.update",a.id),t,{onSuccess:l=>{n.dismiss(o),l.props.flash.success?(f(!1),n.success(r(l.props.flash.success))):l.props.flash.error&&n.error(r(l.props.flash.error))},onError:l=>{n.dismiss(o),n.error(Object.values(l).join(", "))}})},we=t=>{const s=t.is_approved_leave||t.leave_application_id,i=n.loading(r(s?"Cancelling leave application...":"Deleting attendance record..."));s&&t.leave_application_id?S.post(route("hr.attendance-records.cancel-leave"),{leave_application_id:t.leave_application_id},{onSuccess:o=>{n.dismiss(i),o.props.flash.success?(f(!1),n.success(r(o.props.flash.success))):o.props.flash.error&&n.error(r(o.props.flash.error))},onError:o=>{n.dismiss(i),n.error(Object.values(o).join(", "))}}):t.id&&S.delete(route("hr.attendance-records.destroy",t.id),{onSuccess:o=>{n.dismiss(i),o.props.flash.success?(f(!1),n.success(r(o.props.flash.success))):o.props.flash.error&&n.error(r(o.props.flash.error))},onError:o=>{n.dismiss(i),n.error(Object.values(o).join(", "))}})},Ne=[{value:"1",label:r("January")},{value:"2",label:r("February")},{value:"3",label:r("March")},{value:"4",label:r("April")},{value:"5",label:r("May")},{value:"6",label:r("June")},{value:"7",label:r("July")},{value:"8",label:r("August")},{value:"9",label:r("September")},{value:"10",label:r("October")},{value:"11",label:r("November")},{value:"12",label:r("December")}],Se=new Date().getFullYear(),Ce=Array.from({length:5},(t,s)=>(Se-2+s).toString()),Le=t=>{switch(t){case"P":return"bg-green-500 text-white border border-green-600";case"A":return"bg-red-500 text-white border border-red-600";case"L":return"bg-amber-500 text-white border border-amber-600";case"E":return"bg-orange-500 text-white border border-orange-600";case"H":return"bg-cyan-500 text-white border border-cyan-600";case"LV":return"bg-indigo-600 text-white border border-indigo-700 shadow-md transform scale-110";case"HD":return"bg-sky-500 text-white border border-sky-600";case"RD":return"bg-gray-500 text-white border border-gray-600";case"OT":return"bg-fuchsia-500 text-white border border-fuchsia-600";case"ND":return"bg-slate-800 text-white border border-slate-900";case"W":return"bg-gray-400 text-white border border-gray-500";case"--":default:return"bg-gray-100 text-gray-400 border border-gray-200"}};return e.jsxs(Ee,{title:r("Monthly Attendance Calendar"),url:"/hr/attendance-records/calendar",breadcrumbs:[{title:r("Dashboard"),href:route("dashboard")},{title:r("Attendance"),href:route("hr.attendance-records.index")},{title:r("Calendar")}],actions:[{label:r("List View"),icon:e.jsx(Be,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>S.get(route("hr.attendance-records.index",{view:"list"}))}],children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow-sm border border-gray-200 dark:border-gray-800 p-4 mb-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-4 items-end",children:[e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Month")}),e.jsxs(A,{value:q,onValueChange:ge,children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("Month")})}),e.jsx(O,{children:Ne.map(t=>e.jsx(v,{value:t.value,children:t.label},t.value))})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Year")}),e.jsxs(A,{value:W,onValueChange:fe,children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("Year")})}),e.jsx(O,{children:Ce.map(t=>e.jsx(v,{value:t,children:t},t))})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Department")}),e.jsxs(A,{value:M,onValueChange:ue,children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("All Departments")})}),e.jsxs(O,{children:[e.jsx(v,{value:"all",children:r("All Departments")}),he.map(t=>e.jsx(v,{value:t.id.toString(),children:t.name},t.id))]})]})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Branch")}),e.jsxs(A,{value:T,onValueChange:ye,children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("All Branches")})}),e.jsxs(O,{children:[e.jsx(v,{value:"all",children:r("All Branches")}),(pe||[]).map(t=>e.jsx(v,{value:t.id.toString(),children:t.name},t.id))]})]})]}),e.jsxs("div",{className:"flex-[2] space-y-1",children:[e.jsx("label",{className:"text-xs font-semibold text-gray-500",children:r("Search Employee")}),e.jsx(Te,{placeholder:r("Search by name..."),value:Y,onChange:t=>ve(t.target.value),onKeyDown:t=>t.key==="Enter"&&U()})]}),e.jsxs(de,{onClick:U,className:"bg-indigo-500 hover:bg-indigo-600",children:[e.jsx(Pe,{className:"h-4 w-4 mr-2"}),r("Refresh")]})]})}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-lg p-3 mb-6 flex flex-wrap gap-x-4 gap-y-3 items-center",children:[e.jsxs("span",{className:"text-sm font-semibold text-gray-700 dark:text-gray-300 mr-2",children:[r("Legend"),":"]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-green-500 border border-green-600 text-white text-[10px] font-bold tracking-tight",children:"P"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Present")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-red-500 border border-red-600 text-white text-[10px] font-bold tracking-tight",children:"A"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Absent")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-amber-500 border border-amber-600 text-white text-[10px] font-bold tracking-tight",children:"L"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Late")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-orange-500 border border-orange-600 text-white text-[10px] font-bold tracking-tight",children:"E"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Early Checkout")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-cyan-500 border border-cyan-600 text-white text-[10px] font-bold tracking-tight",children:"H"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Half Day")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-indigo-500 border border-indigo-600 text-white text-[10px] font-bold tracking-tight",children:"LV"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Leave")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-sky-500 border border-sky-600 text-white text-[10px] font-bold tracking-tight",children:"HD"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Holiday")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-gray-500 border border-gray-600 text-white text-[10px] font-bold tracking-tight",children:"RD"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Rest Day")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-fuchsia-500 border border-fuchsia-600 text-white text-[10px] font-bold tracking-tight",children:"OT"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Overtime")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-slate-800 border border-slate-900 text-white text-[10px] font-bold tracking-tight",children:"ND"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Night Differential")})]}),e.jsxs("div",{className:"flex items-center gap-1.5 hover:opacity-80 transition cursor-help",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded bg-gray-400 border border-gray-500 text-white text-[10px] font-bold tracking-tight",children:"W"}),e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:r("Weekend")})]}),e.jsxs("div",{className:"md:ml-auto flex items-center text-xs font-medium text-amber-600 dark:text-amber-400 bg-amber-50 dark:bg-amber-900/30 px-3 py-1 rounded-full border border-amber-200 dark:border-amber-800",children:[e.jsx(Ve,{className:"h-3.5 w-3.5 mr-1.5"}),r("Leave Integrated Grid")]})]}),e.jsx("div",{className:"bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-lg shadow-sm overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto pb-2",children:e.jsxs("table",{className:"min-w-max w-full border-separate border-spacing-0 text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-gray-50/80 dark:bg-gray-800/80",children:[e.jsx("th",{className:"p-3 text-left font-bold text-gray-700 dark:text-gray-300 uppercase tracking-wider sticky left-0 z-10 bg-gray-50/95 dark:bg-gray-800/95 border-r border-b border-gray-200 dark:border-gray-800 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.1)] backdrop-blur min-w-[280px]",children:r("Employee")}),m==null?void 0:m.map((t,s)=>e.jsxs("th",{className:"p-2 border-r border-b border-gray-200 dark:border-gray-800 min-w-[50px] text-center last:border-r-0",children:[e.jsx("div",{className:"font-bold text-gray-800 dark:text-gray-200 text-base",children:t.day}),e.jsx("div",{className:"text-[10px] text-gray-500 dark:text-gray-400 uppercase tracking-widest",children:t.day_name})]},s))]})}),e.jsx("tbody",{children:(d==null?void 0:d.length)>0?d.map(t=>{var s,i;return e.jsxs("tr",{className:"hover:bg-gray-50/50 dark:hover:bg-gray-800/50 transition-colors",children:[e.jsx("td",{className:"p-3 bg-white dark:bg-gray-900 border-r border-b border-gray-200 dark:border-gray-800 sticky left-0 z-10 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.05)]",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-amber-100 dark:bg-amber-900/50 flex items-center justify-center text-amber-700 dark:text-amber-300 font-bold border border-amber-200 dark:border-amber-800",children:t.name.split(" ").map(o=>o[0]).join("").substring(0,2).toUpperCase()}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-gray-900 dark:text-gray-100 whitespace-nowrap",children:t.name}),e.jsxs("div",{className:"text-xs text-gray-400 dark:text-gray-500 whitespace-nowrap",children:[t.employee_code," • ",t.designation]}),e.jsxs("div",{className:"text-[10px] text-gray-400 dark:text-gray-500",children:[t.department,(i=(s=t.employee)==null?void 0:s.branch)!=null&&i.name?` • ${t.employee.branch.name}`:""]})]})]})}),m==null?void 0:m.map((o,l)=>{var p;const c=t.records[o.date];return e.jsx("td",{className:"p-2 border-r border-b border-gray-100 dark:border-gray-800 last:border-r-0 text-center",children:e.jsx("div",{className:`inline-flex items-center justify-center w-8 h-8 rounded-lg text-[10px] font-bold transition-all shadow-sm ${Le(c.status)} ${z?"cursor-pointer hover:scale-110 active:scale-95":""} ${(p=c.record)!=null&&p.is_approved_leave?"ring-2 ring-indigo-400 ring-offset-1":""}`,title:c.label,onClick:()=>_e(t,o.date,c),children:c.status})},l)})]},t.id)}):e.jsx("tr",{children:e.jsx("td",{colSpan:(m==null?void 0:m.length)+1,className:"p-8 text-center text-gray-500 dark:text-gray-400",children:r("No attendance data found for these parameters.")})})})]})})}),e.jsx(Fe,{isOpen:je,onClose:()=>f(!1),onSubmit:ke,title:a!=null&&a.is_readonly?r("Leave Details"):r(u==="create"?"Add Attendance Record":u==="view"?"View Attendance Record":"Update Attendance Record"),mode:a!=null&&a.is_readonly?"view":u,initialData:a,errors:xe,onEdit:a!=null&&a.is_readonly?void 0:()=>H("edit"),onDelete:a!=null&&a.id||a!=null&&a.leave_application_id?()=>we(a):void 0,formConfig:{fields:[{name:"date",label:r("Date"),type:"date",disabled:!0,required:!0,row:1,width:"48%"},{name:"employee_name",label:r("Employee"),type:"text",disabled:!0,row:1,width:"48%"},{name:"shift_display",label:"",type:"custom",row:2,width:"full",render:(t,s)=>{var p,x,y;const i=d==null?void 0:d.find(P=>{var b;return P.id.toString()===((b=s.employee_id)==null?void 0:b.toString())}),o=s.shift_name||((p=i==null?void 0:i.shift)==null?void 0:p.name),l=s.shift_start_time||((x=i==null?void 0:i.shift)==null?void 0:x.start_time),c=s.shift_end_time||((y=i==null?void 0:i.shift)==null?void 0:y.end_time);return o?e.jsxs("div",{className:"text-[10px] font-bold text-indigo-700 bg-indigo-50 dark:bg-indigo-900/30 px-2 py-0.5 rounded border border-indigo-100 dark:border-indigo-800 inline-flex items-center gap-1",children:[e.jsxs("span",{className:"opacity-70 uppercase tracking-tighter",children:[r("Shift"),":"]}),e.jsxs("span",{children:[o," (",l," - ",c,")"]})]}):e.jsxs("div",{className:"text-[10px] font-bold text-red-700 bg-red-50 dark:bg-red-900/30 px-2 py-0.5 rounded border border-red-100 dark:border-red-800 inline-flex items-center gap-1",children:[e.jsxs("span",{className:"uppercase tracking-tighter",children:[r("Error"),":"]}),e.jsx("span",{children:r("No shift assigned to this employee.")})]})}},{name:"holiday_display",label:"",type:"custom",row:2,width:"full",conditional:(t,s)=>!!(s!=null&&s.is_holiday||s!=null&&s.holiday_name),render:(t,s)=>!(s!=null&&s.is_holiday)&&!(s!=null&&s.holiday_name)?null:e.jsxs("div",{className:"flex items-center gap-2 text-sm font-bold text-sky-700 bg-sky-50 dark:bg-sky-900/30 px-3 py-2 rounded-lg border border-sky-200 dark:border-sky-800 animate-in fade-in slide-in-from-top-1",children:[e.jsx("span",{className:"text-base",children:"🎉"}),e.jsxs("span",{children:[r("Holiday"),": ",s.holiday_name||r("Holiday")]})]})},{name:"clock_in",label:r("Clock In"),type:"time",required:!1,disabled:!(a!=null&&a.shift_name||a!=null&&a.shift_start_time||(X=d==null?void 0:d.find(t=>{var s;return t.id.toString()===((s=a==null?void 0:a.employee_id)==null?void 0:s.toString())}))!=null&&X.shift),row:3,width:"48%",conditional:(t,s)=>!["absent","on_leave","holiday","rest_day"].includes(s==null?void 0:s.status)},{name:"clock_out",label:r("Clock Out"),type:"time",required:!1,disabled:!(a!=null&&a.shift_name||a!=null&&a.shift_start_time||(Z=d==null?void 0:d.find(t=>{var s;return t.id.toString()===((s=a==null?void 0:a.employee_id)==null?void 0:s.toString())}))!=null&&Z.shift),row:3,width:"48%",conditional:(t,s)=>!["absent","on_leave","holiday","rest_day"].includes(s==null?void 0:s.status)},{name:"status",label:r("Status"),type:"select",required:!0,disabled:(a==null?void 0:a.is_readonly)||!(a!=null&&a.shift_name||a!=null&&a.shift_start_time||(I=d==null?void 0:d.find(t=>{var s;return t.id.toString()===((s=a==null?void 0:a.employee_id)==null?void 0:s.toString())}))!=null&&I.shift),options:[{value:"present",label:r("Present")},{value:"absent",label:r("Absent")},{value:"half_day",label:r("Half Day")},{value:"on_leave",label:r("On Leave")},{value:"holiday",label:r("Holiday")},{value:"rest_day",label:r("Rest Day")}],row:4,width:"48%"},{name:"is_rest_day",label:r("Is Rest Day? (For DOLE Multiplier)"),type:"switch",row:4,width:"48%",disabled:a==null?void 0:a.is_readonly},{name:"leave_type_id",label:r("Leave Type"),type:"select",required:!0,disabled:a==null?void 0:a.is_readonly,conditional:(t,s)=>(s==null?void 0:s.status)==="on_leave",options:(B||[]).map(t=>({value:t.id.toString(),label:t.name})),row:5,width:"full",render:(t,s,i)=>{var o;return e.jsxs("div",{className:"space-y-3",children:[e.jsxs(A,{value:((o=s.leave_type_id)==null?void 0:o.toString())||"",onValueChange:l=>{i("leave_type_id",l),J(s.employee_id,l)},disabled:(a==null?void 0:a.is_readonly)||u==="view",children:[e.jsx(D,{className:"w-full",children:e.jsx(E,{placeholder:r("Select Leave Type")})}),e.jsx(O,{className:"z-[70000]",children:(B||[]).map(l=>e.jsx(v,{value:l.id.toString(),children:l.name},l.id))})]}),F&&e.jsxs("div",{className:"flex items-center justify-between text-sm font-medium text-indigo-700 bg-indigo-50/50 dark:bg-indigo-900/20 px-3 py-2 rounded-md border border-indigo-100 dark:border-indigo-800 animate-in fade-in slide-in-from-top-1",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-indigo-500 animate-pulse"}),r("Available Balance")]}),e.jsxs("span",{className:"text-lg font-bold",children:[F.balance," ",e.jsxs("span",{className:"text-xs font-normal text-indigo-400",children:["/ ",F.allocated," ",r("days")]})]})]})]})}},{name:"validation_warnings",label:"",type:"custom",row:6,width:"full",conditional:(t,s)=>!["absent","on_leave","holiday","rest_day"].includes(s==null?void 0:s.status)&&(s==null?void 0:s.clock_in)&&(s==null?void 0:s.clock_out)&&(s==null?void 0:s.employee_id),render:(t,s)=>{var te,ae,ie;const i=d==null?void 0:d.find(h=>{var N;return h.id.toString()===((N=s.employee_id)==null?void 0:N.toString())}),o=s.shift_start_time||((te=i==null?void 0:i.shift)==null?void 0:te.start_time),l=s.shift_end_time||((ae=i==null?void 0:i.shift)==null?void 0:ae.end_time);if(!o||!l)return null;const c=s.clock_in,p=s.clock_out,x=[],y=h=>{if(!h)return 0;const[N,V]=h.split(":").map(Number);return N*60+(V||0)},P=5;let b=y(c),_=y(p);const k=y(o);let w=y(l);b-k>720?b-=1440:b-k<-720&&(b+=1440),w<=k&&(w+=1440,_0&&LDe&&x.push({code:"L",message:r("Late: Clock in is later than shift start."),color:"bg-amber-500"}),_=w+60){const h=((_-w)/60).toFixed(1);x.push({code:"OT",message:r("Overtime: Clocked out late ({{hours}}h).",{hours:h}),color:"bg-purple-500",isOt:!0,otHours:h})}return x.length===0?null:e.jsx("div",{className:"space-y-2 mt-2",children:x.map((h,N)=>e.jsxs("div",{className:"flex items-center justify-between gap-3 bg-amber-50/50 dark:bg-amber-900/10 border border-amber-100 dark:border-amber-800/50 p-2 rounded-lg animate-in fade-in slide-in-from-top-1",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:`flex-shrink-0 w-8 h-8 rounded-md ${h.color} flex items-center justify-center text-white text-[10px] font-bold shadow-sm`,children:h.code}),e.jsx("div",{className:"text-xs text-amber-800 dark:text-amber-200 font-medium",children:h.message})]}),h.isOt&&!s.is_approved_overtime&&e.jsxs(de,{size:"sm",variant:"outline",className:"h-7 text-xs border-purple-200 text-purple-700 hover:bg-purple-50 dark:border-purple-800 dark:text-purple-300 dark:hover:bg-purple-900/30",onClick:V=>{V.preventDefault(),ce.post(route("hr.overtime.store"),{date:s.date,user_id:s.employee_id,requested_hours:h.otHours,reason:"Automatically generated from late clock out."}).then(oe=>{n.success(r("Overtime requested! Please click Save to save your attendance record."))}).catch(oe=>{var le,ne;n.error(((ne=(le=oe.response)==null?void 0:le.data)==null?void 0:ne.message)||r("Failed to apply for overtime."))})},children:[e.jsx(Re,{className:"w-3 h-3 mr-1"}),r("Apply OT")]}),h.isOt&&s.is_approved_overtime&&e.jsx("span",{className:"text-xs font-bold text-green-600 dark:text-green-400 bg-green-50 dark:bg-green-900/20 px-2 py-1 rounded border border-green-200 dark:border-green-800",children:r("Approved")})]},N))})}},{name:"notes",label:r("Notes"),type:"textarea",required:!1,disabled:a==null?void 0:a.is_readonly,row:7,width:"full"}],layout:"default"}})]})}export{Tr as default}; diff --git a/public/build/assets/camera-C44LyAAQ.js b/public/build/assets/camera-CcveDep5.js similarity index 89% rename from public/build/assets/camera-C44LyAAQ.js rename to public/build/assets/camera-CcveDep5.js index 386b5a28c..d2e855dec 100644 --- a/public/build/assets/camera-C44LyAAQ.js +++ b/public/build/assets/camera-CcveDep5.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/chart-column-CXNcY9Vx.js b/public/build/assets/chart-column-B76eI9Qi.js similarity index 90% rename from public/build/assets/chart-column-CXNcY9Vx.js rename to public/build/assets/chart-column-B76eI9Qi.js index 8ffe56bfb..da1126c01 100644 --- a/public/build/assets/chart-column-CXNcY9Vx.js +++ b/public/build/assets/chart-column-B76eI9Qi.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/chart-no-axes-column-BrIh_iVD.js b/public/build/assets/chart-no-axes-column-BoCXnewH.js similarity index 90% rename from public/build/assets/chart-no-axes-column-BrIh_iVD.js rename to public/build/assets/chart-no-axes-column-BoCXnewH.js index 076b014d3..c193b939f 100644 --- a/public/build/assets/chart-no-axes-column-BrIh_iVD.js +++ b/public/build/assets/chart-no-axes-column-BoCXnewH.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/chart-no-axes-column-increasing-B7MqdTh5.js b/public/build/assets/chart-no-axes-column-increasing-DGWtPhLs.js similarity index 90% rename from public/build/assets/chart-no-axes-column-increasing-B7MqdTh5.js rename to public/build/assets/chart-no-axes-column-increasing-DGWtPhLs.js index 5c0f3b82e..d21cb850f 100644 --- a/public/build/assets/chart-no-axes-column-increasing-B7MqdTh5.js +++ b/public/build/assets/chart-no-axes-column-increasing-DGWtPhLs.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/chatgpt-demo-XaBb-3C8.js b/public/build/assets/chatgpt-demo-CneZQ9wg.js similarity index 85% rename from public/build/assets/chatgpt-demo-XaBb-3C8.js rename to public/build/assets/chatgpt-demo-CneZQ9wg.js index e7ca1d40e..3b4b978ea 100644 --- a/public/build/assets/chatgpt-demo-XaBb-3C8.js +++ b/public/build/assets/chatgpt-demo-CneZQ9wg.js @@ -1,2 +1,2 @@ -import{j as e,r as g}from"./ui-Z445SNHD.js";import{C as v,P as D}from"./page-template-BTxLyiDA.js";import{u as G,o as h,I as P,c as w,x as T,C as f,L as N,D as M,h as A,j as S,k as F}from"./app-CfhhiFAk.js";import{B as I}from"./sparkles-BIbzOfb3.js";import{T as O}from"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function b({onClick:t,text:a="Auto Generate",variant:i="outline",size:l="sm",className:c=""}){const{t:p}=G();return e.jsxs(h,{type:"button",variant:i,size:l,onClick:t,className:`flex items-center gap-2 relative z-[70000] ${c}`,"data-chatgpt-button":!0,children:[e.jsx(I,{className:"h-4 w-4"}),p(a)]})}function y({value:t,onChange:a,placeholder:i,type:l="input",rows:c=3,className:p="",required:r=!1,disabled:u=!1,modalTitle:d="AI Content Generator",modalPlaceholder:m="Describe what you want to generate...",buttonText:x="Auto Generate",buttonVariant:s="outline"}){const[o,n]=g.useState(!1),j=C=>{a(C),n(!1)},k=l==="textarea"?O:P;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:`flex gap-2 ${p}`,children:[e.jsx(k,{value:t,onChange:C=>a(C.target.value),placeholder:i,className:"flex-1",required:r,disabled:u,rows:l==="textarea"?c:void 0}),e.jsx(b,{onClick:()=>n(!0),text:x,variant:s,className:"shrink-0"})]}),e.jsx(v,{isOpen:o,onClose:()=>n(!1),onGenerate:j,title:d,placeholder:m})]})}function B({title:t,url:a,buttons:i=[],children:l,breadcrumbs:c}){const{t:p}=G(),{auth:r}=w().props,u=(r==null?void 0:r.permissions)||[],d=[{title:p("Dashboard"),href:route("dashboard")},{title:t}],m=c||d,x=i.filter(s=>!s.permission||T(u,s.permission)).map(s=>({label:s.label,icon:s.icon,variant:s.variant,onClick:s.onClick}));return e.jsx(D,{title:t,url:a,actions:x,breadcrumbs:m,children:e.jsx("div",{className:"space-y-4",children:l})})}function Ne(){const{t}=G(),[a,i]=g.useState({productName:"",description:"",marketingCopy:""}),[l,c]=g.useState(!1),[p,r]=g.useState(!1),[u,d]=g.useState(!1),m=(o,n)=>{i(j=>({...j,[o]:n}))},x=o=>{const n=o.split(` +import{j as e,r as g}from"./ui-Z445SNHD.js";import{C as v,P as D}from"./page-template-CLNVC8w_.js";import{u as G,o as h,I as P,c as w,x as T,C as f,L as N,D as M,h as A,j as S,k as F}from"./app-Dya84jp7.js";import{B as I}from"./sparkles-C1HgyvOv.js";import{T as O}from"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function b({onClick:t,text:a="Auto Generate",variant:i="outline",size:l="sm",className:c=""}){const{t:p}=G();return e.jsxs(h,{type:"button",variant:i,size:l,onClick:t,className:`flex items-center gap-2 relative z-[70000] ${c}`,"data-chatgpt-button":!0,children:[e.jsx(I,{className:"h-4 w-4"}),p(a)]})}function y({value:t,onChange:a,placeholder:i,type:l="input",rows:c=3,className:p="",required:r=!1,disabled:u=!1,modalTitle:d="AI Content Generator",modalPlaceholder:m="Describe what you want to generate...",buttonText:x="Auto Generate",buttonVariant:s="outline"}){const[o,n]=g.useState(!1),j=C=>{a(C),n(!1)},k=l==="textarea"?O:P;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:`flex gap-2 ${p}`,children:[e.jsx(k,{value:t,onChange:C=>a(C.target.value),placeholder:i,className:"flex-1",required:r,disabled:u,rows:l==="textarea"?c:void 0}),e.jsx(b,{onClick:()=>n(!0),text:x,variant:s,className:"shrink-0"})]}),e.jsx(v,{isOpen:o,onClose:()=>n(!1),onGenerate:j,title:d,placeholder:m})]})}function B({title:t,url:a,buttons:i=[],children:l,breadcrumbs:c}){const{t:p}=G(),{auth:r}=w().props,u=(r==null?void 0:r.permissions)||[],d=[{title:p("Dashboard"),href:route("dashboard")},{title:t}],m=c||d,x=i.filter(s=>!s.permission||T(u,s.permission)).map(s=>({label:s.label,icon:s.icon,variant:s.variant,onClick:s.onClick}));return e.jsx(D,{title:t,url:a,actions:x,breadcrumbs:m,children:e.jsx("div",{className:"space-y-4",children:l})})}function Ne(){const{t}=G(),[a,i]=g.useState({productName:"",description:"",marketingCopy:""}),[l,c]=g.useState(!1),[p,r]=g.useState(!1),[u,d]=g.useState(!1),m=(o,n)=>{i(j=>({...j,[o]:n}))},x=o=>{const n=o.split(` `).filter(j=>j.trim());n.length>=3&&i({productName:n[0]||"",description:n[1]||"",marketingCopy:n[2]||""})},s=[{title:t("Dashboard"),href:route("dashboard")},{title:t("ChatGPT Demo")}];return e.jsxs(B,{title:"ChatGPT Integration Demo",breadcrumbs:s,children:[e.jsxs("div",{className:"max-w-4xl mx-auto space-y-6",children:[e.jsxs(f,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-4",children:t("Modal Stacking Demo")}),e.jsx("p",{className:"text-sm text-gray-600 mb-4",children:t("Test independent modal stacking: Open the Coupon Dialog, then open ChatGPT Modal on top of it.")}),e.jsxs("div",{className:"space-x-2",children:[e.jsx(h,{onClick:()=>r(!0),children:"Open Add Coupon Dialog"}),e.jsx(h,{variant:"outline",onClick:()=>d(!0),children:"Open ChatGPT Modal"})]})]}),e.jsxs(f,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-4",children:t("Product Information Form")}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(N,{htmlFor:"productName",children:t("Product Name")}),e.jsx(y,{value:a.productName,onChange:o=>m("productName",o),placeholder:t("Enter product name"),modalTitle:"Generate Product Name",modalPlaceholder:"Describe your product and target market to generate a catchy product name"})]}),e.jsxs("div",{children:[e.jsx(N,{htmlFor:"description",children:t("Product Description")}),e.jsx(y,{value:a.description,onChange:o=>m("description",o),placeholder:t("Enter product description"),type:"textarea",rows:4,modalTitle:"Generate Product Description",modalPlaceholder:"Describe your product features, benefits, and target audience to generate a compelling description"})]}),e.jsxs("div",{children:[e.jsx(N,{htmlFor:"marketingCopy",children:t("Marketing Copy")}),e.jsx(y,{value:a.marketingCopy,onChange:o=>m("marketingCopy",o),placeholder:t("Enter marketing copy"),type:"textarea",rows:3,modalTitle:"Generate Marketing Copy",modalPlaceholder:"Create persuasive marketing copy that highlights your product's unique selling points",buttonText:"Generate Copy"})]}),e.jsx("div",{className:"pt-4 border-t",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium",children:t("Bulk Content Generation")}),e.jsx("p",{className:"text-sm text-gray-600",children:t("Generate all content at once")})]}),e.jsx(b,{onClick:()=>c(!0),text:"Generate All Content",variant:"default"})]})})]})]}),e.jsxs(f,{className:"p-6",children:[e.jsx("h3",{className:"text-lg font-semibold mb-4",children:t("Current Form Data")}),e.jsxs("div",{className:"space-y-2 text-sm",children:[e.jsxs("div",{children:[e.jsxs("strong",{children:[t("Product Name"),":"]})," ",a.productName||t("Not set")]}),e.jsxs("div",{children:[e.jsxs("strong",{children:[t("Description"),":"]})," ",a.description||t("Not set")]}),e.jsxs("div",{children:[e.jsxs("strong",{children:[t("Marketing Copy"),":"]})," ",a.marketingCopy||t("Not set")]})]})]})]}),e.jsx(v,{isOpen:l,onClose:()=>c(!1),onGenerate:x,title:"Generate All Product Content",placeholder:"Describe your product in detail. I'll generate a product name, description, and marketing copy for you. Separate each with a new line."}),e.jsx(M,{open:p,onOpenChange:r,children:e.jsxs(A,{modalId:"demo-coupon-dialog",children:[e.jsx(S,{children:e.jsx(F,{children:"Add Coupon"})}),e.jsxs("div",{className:"space-y-4 py-4",children:[e.jsx("p",{children:"This is the Add Coupon Dialog content."}),e.jsx("p",{className:"text-sm text-gray-600",children:"Click the button below to open ChatGPT Modal on top of this dialog."}),e.jsx(h,{onClick:()=>d(!0),children:"Open ChatGPT Assistant"}),e.jsxs("div",{className:"flex justify-end space-x-2 pt-4",children:[e.jsx(h,{variant:"outline",onClick:()=>r(!1),children:"Cancel"}),e.jsx(h,{onClick:()=>r(!1),children:"Save Coupon"})]})]})]})}),e.jsx(v,{isOpen:u,onClose:()=>d(!1),onGenerate:o=>{d(!1)},title:"AI Content Generator",placeholder:"This ChatGPT modal opens on top of other dialogs..."})]})}export{Ne as default}; diff --git a/public/build/assets/chatgpt-settings-DS2lPGzN.js b/public/build/assets/chatgpt-settings-D_IVaC5b.js similarity index 89% rename from public/build/assets/chatgpt-settings-DS2lPGzN.js rename to public/build/assets/chatgpt-settings-D_IVaC5b.js index fe78a2493..f1ab3250b 100644 --- a/public/build/assets/chatgpt-settings-DS2lPGzN.js +++ b/public/build/assets/chatgpt-settings-D_IVaC5b.js @@ -1 +1 @@ -import{r as j,j as t}from"./ui-Z445SNHD.js";import{u as v,c as T,ap as b,L as x,I as y,o as C,y as P,r as G,t as l}from"./app-CfhhiFAk.js";import{S as M,a as K,b as I,c as N,d as o}from"./select-BrY9osYp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";function z({settings:p={}}){const{t:r}=v(),S=T().props,n={chatgptKey:"",chatgptModel:"gpt-3.5-turbo"},c=Object.keys(p).length>0?p:S.settings||{},[i,g]=j.useState(()=>({chatgptKey:c.chatgptKey||n.chatgptKey,chatgptModel:c.chatgptModel||n.chatgptModel}));j.useEffect(()=>{if(Object.keys(c).length>0){const a=Object.keys(n).reduce((e,s)=>(e[s]=c[s]||n[s],e),{});g(e=>({...e,...a}))}},[c]);const h=(a,e)=>{g(s=>({...s,[a]:e}))},f=a=>{a.preventDefault(),G.post(route("settings.chatgpt.update"),i,{preserveScroll:!0,onSuccess:e=>{var u,m;const s=(u=e.props.flash)==null?void 0:u.success,d=(m=e.props.flash)==null?void 0:m.error;s?l.success(s):d&&l.error(d)},onError:e=>{const s=e.error||Object.values(e).join(", ")||r("Failed to update Chat GPT settings");l.error(s)}})};return t.jsx(b,{title:r("Chat GPT Settings"),description:r("Configure Chat GPT integration settings for AI-powered features"),action:t.jsxs(C,{type:"submit",form:"chatgpt-settings-form",size:"sm",children:[t.jsx(P,{className:"h-4 w-4 mr-2"}),r("Save Changes")]}),children:t.jsx("form",{id:"chatgpt-settings-form",onSubmit:f,className:"space-y-6",children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[t.jsx(x,{htmlFor:"chatgptKey",children:r("Chat GPT Key")}),t.jsx(y,{id:"chatgptKey",type:"password",value:i.chatgptKey,onChange:a=>h("chatgptKey",a.target.value),placeholder:r("Enter your OpenAI API key")})]}),t.jsxs("div",{className:"grid gap-2",children:[t.jsx(x,{htmlFor:"chatgptModel",children:r("Chat GPT Model Name")}),t.jsxs(M,{value:i.chatgptModel,onValueChange:a=>h("chatgptModel",a),children:[t.jsx(K,{children:t.jsx(I,{placeholder:r("Select Chat GPT model")})}),t.jsxs(N,{children:[t.jsx(o,{value:"gpt-3.5-turbo",children:"GPT-3.5 Turbo"}),t.jsx(o,{value:"gpt-3.5-turbo-16k",children:"GPT-3.5 Turbo 16K"}),t.jsx(o,{value:"gpt-4",children:"GPT-4"}),t.jsx(o,{value:"gpt-4-turbo",children:"GPT-4 Turbo"}),t.jsx(o,{value:"gpt-4o",children:"GPT-4o"}),t.jsx(o,{value:"gpt-4o-mini",children:"GPT-4o Mini"})]})]})]})]})})})}export{z as default}; +import{r as j,j as t}from"./ui-Z445SNHD.js";import{u as v,c as T,ap as b,L as x,I as y,o as C,y as P,r as G,t as l}from"./app-Dya84jp7.js";import{S as M,a as K,b as I,c as N,d as o}from"./select-CHkpLxhL.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";function z({settings:p={}}){const{t:r}=v(),S=T().props,n={chatgptKey:"",chatgptModel:"gpt-3.5-turbo"},c=Object.keys(p).length>0?p:S.settings||{},[i,g]=j.useState(()=>({chatgptKey:c.chatgptKey||n.chatgptKey,chatgptModel:c.chatgptModel||n.chatgptModel}));j.useEffect(()=>{if(Object.keys(c).length>0){const a=Object.keys(n).reduce((e,s)=>(e[s]=c[s]||n[s],e),{});g(e=>({...e,...a}))}},[c]);const h=(a,e)=>{g(s=>({...s,[a]:e}))},f=a=>{a.preventDefault(),G.post(route("settings.chatgpt.update"),i,{preserveScroll:!0,onSuccess:e=>{var u,m;const s=(u=e.props.flash)==null?void 0:u.success,d=(m=e.props.flash)==null?void 0:m.error;s?l.success(s):d&&l.error(d)},onError:e=>{const s=e.error||Object.values(e).join(", ")||r("Failed to update Chat GPT settings");l.error(s)}})};return t.jsx(b,{title:r("Chat GPT Settings"),description:r("Configure Chat GPT integration settings for AI-powered features"),action:t.jsxs(C,{type:"submit",form:"chatgpt-settings-form",size:"sm",children:[t.jsx(P,{className:"h-4 w-4 mr-2"}),r("Save Changes")]}),children:t.jsx("form",{id:"chatgpt-settings-form",onSubmit:f,className:"space-y-6",children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[t.jsx(x,{htmlFor:"chatgptKey",children:r("Chat GPT Key")}),t.jsx(y,{id:"chatgptKey",type:"password",value:i.chatgptKey,onChange:a=>h("chatgptKey",a.target.value),placeholder:r("Enter your OpenAI API key")})]}),t.jsxs("div",{className:"grid gap-2",children:[t.jsx(x,{htmlFor:"chatgptModel",children:r("Chat GPT Model Name")}),t.jsxs(M,{value:i.chatgptModel,onValueChange:a=>h("chatgptModel",a),children:[t.jsx(K,{children:t.jsx(I,{placeholder:r("Select Chat GPT model")})}),t.jsxs(N,{children:[t.jsx(o,{value:"gpt-3.5-turbo",children:"GPT-3.5 Turbo"}),t.jsx(o,{value:"gpt-3.5-turbo-16k",children:"GPT-3.5 Turbo 16K"}),t.jsx(o,{value:"gpt-4",children:"GPT-4"}),t.jsx(o,{value:"gpt-4-turbo",children:"GPT-4 Turbo"}),t.jsx(o,{value:"gpt-4o",children:"GPT-4o"}),t.jsx(o,{value:"gpt-4o-mini",children:"GPT-4o Mini"})]})]})]})]})})})}export{z as default}; diff --git a/public/build/assets/checkbox-1_Cig_g5.js b/public/build/assets/checkbox-BLrehV38.js similarity index 99% rename from public/build/assets/checkbox-1_Cig_g5.js rename to public/build/assets/checkbox-BLrehV38.js index 18b38e909..124067f54 100644 --- a/public/build/assets/checkbox-1_Cig_g5.js +++ b/public/build/assets/checkbox-BLrehV38.js @@ -1 +1 @@ -import{r as c,j as p,f as F,o as L,k as q,m as I,n as w,H as W}from"./ui-Z445SNHD.js";import{u as z}from"./index-9MclThM-.js";import{V as G,e as N}from"./app-CfhhiFAk.js";function K(e,t=[]){let o=[];function s(n,a){const i=c.createContext(a),l=o.length;o=[...o,a];const d=u=>{var m;const{scope:f,children:k,...h}=u,x=((m=f==null?void 0:f[e])==null?void 0:m[l])||i,y=c.useMemo(()=>h,Object.values(h));return p.jsx(x.Provider,{value:y,children:k})};d.displayName=n+"Provider";function b(u,f){var x;const k=((x=f==null?void 0:f[e])==null?void 0:x[l])||i,h=c.useContext(k);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${u}\` must be used within \`${n}\``)}return[d,b]}const r=()=>{const n=o.map(a=>c.createContext(a));return function(i){const l=(i==null?void 0:i[e])||n;return c.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return r.scopeName=e,[s,U(r,...t)]}function U(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const s=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(n){const a=s.reduce((i,{useScope:l,scopeName:d})=>{const u=l(n)[`__scope${d}`];return{...i,...u}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return o.scopeName=t.scopeName,o}function X(e){const t=Z(e),o=c.forwardRef((s,r)=>{const{children:n,...a}=s,i=c.Children.toArray(n),l=i.find(Q);if(l){const d=l.props.children,b=i.map(u=>u===l?c.Children.count(d)>1?c.Children.only(null):c.isValidElement(d)?d.props.children:null:u);return p.jsx(t,{...a,ref:r,children:c.isValidElement(d)?c.cloneElement(d,void 0,b):null})}return p.jsx(t,{...a,ref:r,children:n})});return o.displayName=`${e}.Slot`,o}function Z(e){const t=c.forwardRef((o,s)=>{const{children:r,...n}=o;if(c.isValidElement(r)){const a=ee(r),i=Y(n,r.props);return r.type!==c.Fragment&&(i.ref=s?F(s,a):a),c.cloneElement(r,i)}return c.Children.count(r)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var J=Symbol("radix.slottable");function Q(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===J}function Y(e,t){const o={...t};for(const s in t){const r=e[s],n=t[s];/^on[A-Z]/.test(s)?r&&n?o[s]=(...i)=>{const l=n(...i);return r(...i),l}:r&&(o[s]=r):s==="style"?o[s]={...r,...n}:s==="className"&&(o[s]=[r,n].filter(Boolean).join(" "))}return{...e,...o}}function ee(e){var s,r;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var te=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],P=te.reduce((e,t)=>{const o=X(`Primitive.${t}`),s=c.forwardRef((r,n)=>{const{asChild:a,...i}=r,l=a?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...i,ref:n})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),g="Checkbox",[re]=K(g),[ne,_]=re(g);function oe(e){const{__scopeCheckbox:t,checked:o,children:s,defaultChecked:r,disabled:n,form:a,name:i,onCheckedChange:l,required:d,value:b="on",internal_do_not_use_render:u}=e,[f,k]=q({prop:o,defaultProp:r??!1,onChange:l,caller:g}),[h,x]=c.useState(null),[y,m]=c.useState(null),C=c.useRef(!1),E=h?!!a||!!h.closest("form"):!0,S={checked:f,disabled:n,setChecked:k,control:h,setControl:x,name:i,form:a,value:b,hasConsumerStoppedPropagationRef:C,required:d,defaultChecked:v(r)?!1:r,isFormControl:E,bubbleInput:y,setBubbleInput:m};return p.jsx(ne,{scope:t,...S,children:se(u)?u(S):s})}var B="CheckboxTrigger",O=c.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:o,...s},r)=>{const{control:n,value:a,disabled:i,checked:l,required:d,setControl:b,setChecked:u,hasConsumerStoppedPropagationRef:f,isFormControl:k,bubbleInput:h}=_(B,e),x=I(r,b),y=c.useRef(l);return c.useEffect(()=>{const m=n==null?void 0:n.form;if(m){const C=()=>u(y.current);return m.addEventListener("reset",C),()=>m.removeEventListener("reset",C)}},[n,u]),p.jsx(P.button,{type:"button",role:"checkbox","aria-checked":v(l)?"mixed":l,"aria-required":d,"data-state":D(l),"data-disabled":i?"":void 0,disabled:i,value:a,...s,ref:x,onKeyDown:w(t,m=>{m.key==="Enter"&&m.preventDefault()}),onClick:w(o,m=>{u(C=>v(C)?!0:!C),h&&k&&(f.current=m.isPropagationStopped(),f.current||m.stopPropagation())})})});O.displayName=B;var R=c.forwardRef((e,t)=>{const{__scopeCheckbox:o,name:s,checked:r,defaultChecked:n,required:a,disabled:i,value:l,onCheckedChange:d,form:b,...u}=e;return p.jsx(oe,{__scopeCheckbox:o,checked:r,defaultChecked:n,disabled:i,required:a,onCheckedChange:d,name:s,form:b,value:l,internal_do_not_use_render:({isFormControl:f})=>p.jsxs(p.Fragment,{children:[p.jsx(O,{...u,ref:t,__scopeCheckbox:o}),f&&p.jsx(T,{__scopeCheckbox:o})]})})});R.displayName=g;var $="CheckboxIndicator",A=c.forwardRef((e,t)=>{const{__scopeCheckbox:o,forceMount:s,...r}=e,n=_($,o);return p.jsx(L,{present:s||v(n.checked)||n.checked===!0,children:p.jsx(P.span,{"data-state":D(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});A.displayName=$;var M="CheckboxBubbleInput",T=c.forwardRef(({__scopeCheckbox:e,...t},o)=>{const{control:s,hasConsumerStoppedPropagationRef:r,checked:n,defaultChecked:a,required:i,disabled:l,name:d,value:b,form:u,bubbleInput:f,setBubbleInput:k}=_(M,e),h=I(o,k),x=z(n),y=W(s);c.useEffect(()=>{const C=f;if(!C)return;const E=window.HTMLInputElement.prototype,j=Object.getOwnPropertyDescriptor(E,"checked").set,H=!r.current;if(x!==n&&j){const V=new Event("click",{bubbles:H});C.indeterminate=v(n),j.call(C,v(n)?!1:n),C.dispatchEvent(V)}},[f,x,n,r]);const m=c.useRef(v(n)?!1:n);return p.jsx(P.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a??m.current,required:i,disabled:l,name:d,value:b,form:u,...t,tabIndex:-1,ref:h,style:{...t.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});T.displayName=M;function se(e){return typeof e=="function"}function v(e){return e==="indeterminate"}function D(e){return v(e)?"indeterminate":e?"checked":"unchecked"}const ce=c.forwardRef(({className:e,...t},o)=>p.jsx(R,{ref:o,className:N("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background cursor-pointer 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",e),...t,children:p.jsx(A,{className:N("flex items-center justify-center text-current"),children:p.jsx(G,{className:"h-4 w-4"})})}));ce.displayName=R.displayName;export{ce as C,R as a,A as b}; +import{r as c,j as p,f as F,o as L,k as q,m as I,n as w,H as W}from"./ui-Z445SNHD.js";import{u as z}from"./index-9MclThM-.js";import{V as G,e as N}from"./app-Dya84jp7.js";function K(e,t=[]){let o=[];function s(n,a){const i=c.createContext(a),l=o.length;o=[...o,a];const d=u=>{var m;const{scope:f,children:k,...h}=u,x=((m=f==null?void 0:f[e])==null?void 0:m[l])||i,y=c.useMemo(()=>h,Object.values(h));return p.jsx(x.Provider,{value:y,children:k})};d.displayName=n+"Provider";function b(u,f){var x;const k=((x=f==null?void 0:f[e])==null?void 0:x[l])||i,h=c.useContext(k);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${u}\` must be used within \`${n}\``)}return[d,b]}const r=()=>{const n=o.map(a=>c.createContext(a));return function(i){const l=(i==null?void 0:i[e])||n;return c.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return r.scopeName=e,[s,U(r,...t)]}function U(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const s=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(n){const a=s.reduce((i,{useScope:l,scopeName:d})=>{const u=l(n)[`__scope${d}`];return{...i,...u}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return o.scopeName=t.scopeName,o}function X(e){const t=Z(e),o=c.forwardRef((s,r)=>{const{children:n,...a}=s,i=c.Children.toArray(n),l=i.find(Q);if(l){const d=l.props.children,b=i.map(u=>u===l?c.Children.count(d)>1?c.Children.only(null):c.isValidElement(d)?d.props.children:null:u);return p.jsx(t,{...a,ref:r,children:c.isValidElement(d)?c.cloneElement(d,void 0,b):null})}return p.jsx(t,{...a,ref:r,children:n})});return o.displayName=`${e}.Slot`,o}function Z(e){const t=c.forwardRef((o,s)=>{const{children:r,...n}=o;if(c.isValidElement(r)){const a=ee(r),i=Y(n,r.props);return r.type!==c.Fragment&&(i.ref=s?F(s,a):a),c.cloneElement(r,i)}return c.Children.count(r)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var J=Symbol("radix.slottable");function Q(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===J}function Y(e,t){const o={...t};for(const s in t){const r=e[s],n=t[s];/^on[A-Z]/.test(s)?r&&n?o[s]=(...i)=>{const l=n(...i);return r(...i),l}:r&&(o[s]=r):s==="style"?o[s]={...r,...n}:s==="className"&&(o[s]=[r,n].filter(Boolean).join(" "))}return{...e,...o}}function ee(e){var s,r;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var te=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],P=te.reduce((e,t)=>{const o=X(`Primitive.${t}`),s=c.forwardRef((r,n)=>{const{asChild:a,...i}=r,l=a?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...i,ref:n})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),g="Checkbox",[re]=K(g),[ne,_]=re(g);function oe(e){const{__scopeCheckbox:t,checked:o,children:s,defaultChecked:r,disabled:n,form:a,name:i,onCheckedChange:l,required:d,value:b="on",internal_do_not_use_render:u}=e,[f,k]=q({prop:o,defaultProp:r??!1,onChange:l,caller:g}),[h,x]=c.useState(null),[y,m]=c.useState(null),C=c.useRef(!1),E=h?!!a||!!h.closest("form"):!0,S={checked:f,disabled:n,setChecked:k,control:h,setControl:x,name:i,form:a,value:b,hasConsumerStoppedPropagationRef:C,required:d,defaultChecked:v(r)?!1:r,isFormControl:E,bubbleInput:y,setBubbleInput:m};return p.jsx(ne,{scope:t,...S,children:se(u)?u(S):s})}var B="CheckboxTrigger",O=c.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:o,...s},r)=>{const{control:n,value:a,disabled:i,checked:l,required:d,setControl:b,setChecked:u,hasConsumerStoppedPropagationRef:f,isFormControl:k,bubbleInput:h}=_(B,e),x=I(r,b),y=c.useRef(l);return c.useEffect(()=>{const m=n==null?void 0:n.form;if(m){const C=()=>u(y.current);return m.addEventListener("reset",C),()=>m.removeEventListener("reset",C)}},[n,u]),p.jsx(P.button,{type:"button",role:"checkbox","aria-checked":v(l)?"mixed":l,"aria-required":d,"data-state":D(l),"data-disabled":i?"":void 0,disabled:i,value:a,...s,ref:x,onKeyDown:w(t,m=>{m.key==="Enter"&&m.preventDefault()}),onClick:w(o,m=>{u(C=>v(C)?!0:!C),h&&k&&(f.current=m.isPropagationStopped(),f.current||m.stopPropagation())})})});O.displayName=B;var R=c.forwardRef((e,t)=>{const{__scopeCheckbox:o,name:s,checked:r,defaultChecked:n,required:a,disabled:i,value:l,onCheckedChange:d,form:b,...u}=e;return p.jsx(oe,{__scopeCheckbox:o,checked:r,defaultChecked:n,disabled:i,required:a,onCheckedChange:d,name:s,form:b,value:l,internal_do_not_use_render:({isFormControl:f})=>p.jsxs(p.Fragment,{children:[p.jsx(O,{...u,ref:t,__scopeCheckbox:o}),f&&p.jsx(T,{__scopeCheckbox:o})]})})});R.displayName=g;var $="CheckboxIndicator",A=c.forwardRef((e,t)=>{const{__scopeCheckbox:o,forceMount:s,...r}=e,n=_($,o);return p.jsx(L,{present:s||v(n.checked)||n.checked===!0,children:p.jsx(P.span,{"data-state":D(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});A.displayName=$;var M="CheckboxBubbleInput",T=c.forwardRef(({__scopeCheckbox:e,...t},o)=>{const{control:s,hasConsumerStoppedPropagationRef:r,checked:n,defaultChecked:a,required:i,disabled:l,name:d,value:b,form:u,bubbleInput:f,setBubbleInput:k}=_(M,e),h=I(o,k),x=z(n),y=W(s);c.useEffect(()=>{const C=f;if(!C)return;const E=window.HTMLInputElement.prototype,j=Object.getOwnPropertyDescriptor(E,"checked").set,H=!r.current;if(x!==n&&j){const V=new Event("click",{bubbles:H});C.indeterminate=v(n),j.call(C,v(n)?!1:n),C.dispatchEvent(V)}},[f,x,n,r]);const m=c.useRef(v(n)?!1:n);return p.jsx(P.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a??m.current,required:i,disabled:l,name:d,value:b,form:u,...t,tabIndex:-1,ref:h,style:{...t.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});T.displayName=M;function se(e){return typeof e=="function"}function v(e){return e==="indeterminate"}function D(e){return v(e)?"indeterminate":e?"checked":"unchecked"}const ce=c.forwardRef(({className:e,...t},o)=>p.jsx(R,{ref:o,className:N("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background cursor-pointer 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",e),...t,children:p.jsx(A,{className:N("flex items-center justify-center text-current"),children:p.jsx(G,{className:"h-4 w-4"})})}));ce.displayName=R.displayName;export{ce as C,R as a,A as b}; diff --git a/public/build/assets/chevron-left-DzjQ74li.js b/public/build/assets/chevron-left-CQUDAoaX.js similarity index 86% rename from public/build/assets/chevron-left-DzjQ74li.js rename to public/build/assets/chevron-left-CQUDAoaX.js index 6e121b2c7..49bb83a40 100644 --- a/public/build/assets/chevron-left-DzjQ74li.js +++ b/public/build/assets/chevron-left-CQUDAoaX.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/chevron-right-Bd9XWZHZ.js b/public/build/assets/chevron-right-D4JxSs4d.js similarity index 86% rename from public/build/assets/chevron-right-Bd9XWZHZ.js rename to public/build/assets/chevron-right-D4JxSs4d.js index 3b48c7248..731e94591 100644 --- a/public/build/assets/chevron-right-Bd9XWZHZ.js +++ b/public/build/assets/chevron-right-D4JxSs4d.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/chevron-up-DepFp6b6.js b/public/build/assets/chevron-up-DHaGktre.js similarity index 92% rename from public/build/assets/chevron-up-DepFp6b6.js rename to public/build/assets/chevron-up-DHaGktre.js index a0e9fc309..7f1d2e265 100644 --- a/public/build/assets/chevron-up-DepFp6b6.js +++ b/public/build/assets/chevron-up-DHaGktre.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/circle-BoWbKVIN.js b/public/build/assets/circle-C2Wo_gI7.js similarity index 86% rename from public/build/assets/circle-BoWbKVIN.js rename to public/build/assets/circle-C2Wo_gI7.js index 68262a499..64d2f6909 100644 --- a/public/build/assets/circle-BoWbKVIN.js +++ b/public/build/assets/circle-C2Wo_gI7.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/circle-alert-64DrdoHv.js b/public/build/assets/circle-alert-Ddjg2Qwp.js similarity index 90% rename from public/build/assets/circle-alert-64DrdoHv.js rename to public/build/assets/circle-alert-Ddjg2Qwp.js index 2b1ac150f..b9b7a37ea 100644 --- a/public/build/assets/circle-alert-64DrdoHv.js +++ b/public/build/assets/circle-alert-Ddjg2Qwp.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/circle-check-BE5AcCr7.js b/public/build/assets/circle-check-BSTxZIbF.js similarity index 87% rename from public/build/assets/circle-check-BE5AcCr7.js rename to public/build/assets/circle-check-BSTxZIbF.js index dde0f4276..21bc068f9 100644 --- a/public/build/assets/circle-check-BE5AcCr7.js +++ b/public/build/assets/circle-check-BSTxZIbF.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/circle-check-big-C5Cqj7-2.js b/public/build/assets/circle-check-big-Cju4ilPH.js similarity index 88% rename from public/build/assets/circle-check-big-C5Cqj7-2.js rename to public/build/assets/circle-check-big-Cju4ilPH.js index 6535f2af1..15312549a 100644 --- a/public/build/assets/circle-check-big-C5Cqj7-2.js +++ b/public/build/assets/circle-check-big-Cju4ilPH.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/circle-help-qSaafQwl.js b/public/build/assets/circle-help-DYANbqeK.js similarity index 89% rename from public/build/assets/circle-help-qSaafQwl.js rename to public/build/assets/circle-help-DYANbqeK.js index 3a276ed4c..7a6d9a7d9 100644 --- a/public/build/assets/circle-help-qSaafQwl.js +++ b/public/build/assets/circle-help-DYANbqeK.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/circle-x-C1aiFLrz.js b/public/build/assets/circle-x-Dg5wGIim.js similarity index 88% rename from public/build/assets/circle-x-C1aiFLrz.js rename to public/build/assets/circle-x-Dg5wGIim.js index bf7c2cef7..9cda9128e 100644 --- a/public/build/assets/circle-x-C1aiFLrz.js +++ b/public/build/assets/circle-x-Dg5wGIim.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/clipboard-list-DA9ABN1f.js b/public/build/assets/clipboard-list-C-5sn1G-.js similarity index 92% rename from public/build/assets/clipboard-list-DA9ABN1f.js rename to public/build/assets/clipboard-list-C-5sn1G-.js index 34afa1d55..e4c6c380e 100644 --- a/public/build/assets/clipboard-list-DA9ABN1f.js +++ b/public/build/assets/clipboard-list-C-5sn1G-.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/clock-CwFdn-oy.js b/public/build/assets/clock-LnEFQ-vK.js similarity index 88% rename from public/build/assets/clock-CwFdn-oy.js rename to public/build/assets/clock-LnEFQ-vK.js index ac28f9861..5b1243617 100644 --- a/public/build/assets/clock-CwFdn-oy.js +++ b/public/build/assets/clock-LnEFQ-vK.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/code-BfjQUpEO.js b/public/build/assets/code-znlKMFkF.js similarity index 88% rename from public/build/assets/code-BfjQUpEO.js rename to public/build/assets/code-znlKMFkF.js index 12a0704f9..58c28105f 100644 --- a/public/build/assets/code-BfjQUpEO.js +++ b/public/build/assets/code-znlKMFkF.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/coins-BDVfLngB.js b/public/build/assets/coins-CgSV4zfi.js similarity index 90% rename from public/build/assets/coins-BDVfLngB.js rename to public/build/assets/coins-CgSV4zfi.js index 5eeee3122..655264939 100644 --- a/public/build/assets/coins-BDVfLngB.js +++ b/public/build/assets/coins-CgSV4zfi.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/conduct-DRlCH6fa.js b/public/build/assets/conduct-ylN55ak5.js similarity index 84% rename from public/build/assets/conduct-DRlCH6fa.js rename to public/build/assets/conduct-ylN55ak5.js index 7a09326f7..1980a561b 100644 --- a/public/build/assets/conduct-DRlCH6fa.js +++ b/public/build/assets/conduct-ylN55ak5.js @@ -1 +1 @@ -import{r as d,j as e}from"./ui-Z445SNHD.js";import{P as $}from"./page-template-BTxLyiDA.js";import{u as z,c as H,C as R,m as k,n as S,z as _,l as E,B as p,I as L,o as P,t as o,r as x}from"./app-CfhhiFAk.js";import{T}from"./textarea-kpRjGGLz.js";import{S as M}from"./star-DQsTg5F1.js";import{A as q}from"./arrow-left-B_Yqvwsn.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Pe(){var j,y,w;const{t:s}=z(),{review:n,indicators:h}=H().props,[m,u]=d.useState(h.map(r=>({indicator_id:r.id,rating:r.rating||3,comments:r.comments||""}))),[g,B]=d.useState(""),[U,f]=d.useState({}),D=(r,a)=>{u(t=>{const i=[...t];return i[r]={...i[r],rating:a},i})},A=(r,a)=>{u(t=>{const i=[...t];return i[r]={...i[r],comments:a},i})},I=r=>{r.preventDefault();const a={};if(m.forEach((t,i)=>{t.rating||(a[`ratings.${i}.rating`]=s("Rating is required"))}),Object.keys(a).length>0){f(a);return}o.loading(s("Submitting review...")),x.post(route("hr.performance.employee-reviews.submit-ratings",n.id),{ratings:m,overall_comments:g},{onSuccess:t=>{o.dismiss(),t.props.flash.success&&o.success(s(t.props.flash.success)),x.visit(route("hr.performance.employee-reviews.show",n.id))},onError:t=>{o.dismiss(),f(t),typeof t=="string"?o.error(s(t)):o.error(s("Failed to submit review"))}})},v=()=>{x.visit(route("hr.performance.employee-reviews.index"))},F=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:s("Performance"),href:route("hr.performance.indicator-categories.index")},{title:s("Employee Reviews"),href:route("hr.performance.employee-reviews.index")},{title:s("Conduct Review")}],O=h.reduce((r,a)=>{const t=a.category||"Uncategorized";return r[t]||(r[t]=[]),r[t].push(a),r},{});return e.jsx($,{title:s("Conduct Performance Review"),url:`/hr/performance/employee-reviews/${n.id}/conduct`,breadcrumbs:F,actions:[{label:s("Back"),icon:e.jsx(q,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:v}],children:e.jsx("form",{onSubmit:I,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(R,{children:[e.jsxs(k,{children:[e.jsx(S,{children:s("Review Information")}),e.jsx(_,{children:s("You are conducting a performance review for:")})]}),e.jsx(E,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:s("Employee")}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-gray-100",children:(j=n.employee)==null?void 0:j.name})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:s("Review Cycle")}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-gray-100",children:(y=n.review_cycle)==null?void 0:y.name})]})]}),e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:s("Review Date")}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-gray-100",children:n.review_date?((w=window.appSettings)==null?void 0:w.formatDateTimeSimple(n.review_date,!1))||new Date(n.review_date).toLocaleString():"-"})]})})]})})]}),e.jsxs(R,{children:[e.jsxs(k,{children:[e.jsx(S,{children:s("Performance Ratings")}),e.jsx(_,{children:s("Rate the employee on each performance indicator")})]}),e.jsx(E,{children:e.jsxs("div",{className:"space-y-8",children:[Object.entries(O).map(([r,a])=>e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:r}),e.jsx("div",{className:"space-y-6",children:a.map((t,i)=>{var N,b,C;const l=m.findIndex(c=>c.indicator_id===t.id);return e.jsx("div",{className:"border rounded-md p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:t.name}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:t.description||s("No description")}),e.jsxs("div",{className:"flex flex-wrap gap-2 mt-2",children:[t.measurement_unit&&e.jsxs(p,{variant:"outline",children:[s("Measurement"),": ",t.measurement_unit]}),t.target_value&&e.jsxs(p,{variant:"outline",children:[s("Target"),": ",t.target_value]}),e.jsxs(p,{variant:"outline",children:[s("Weight"),": ",t.weight]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Rating")}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"text-lg font-bold mr-1",children:(N=m[l])==null?void 0:N.rating}),e.jsx(M,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})]})]}),e.jsx(L,{type:"range",min:1,max:5,step:.5,value:(b=m[l])==null?void 0:b.rating,onChange:c=>D(l,parseFloat(c.target.value)),className:"w-full"}),e.jsxs("div",{className:"flex justify-between text-xs text-gray-500",children:[e.jsx("span",{children:s("Poor")}),e.jsx("span",{children:s("Average")}),e.jsx("span",{children:s("Excellent")})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{htmlFor:`comments-${t.id}`,className:"text-sm font-medium",children:s("Comments")}),e.jsx(T,{id:`comments-${t.id}`,value:(C=m[l])==null?void 0:C.comments,onChange:c=>A(l,c.target.value),placeholder:s("Add specific feedback for this indicator"),rows:2})]})]})},t.id)})})]},r)),e.jsx("div",{className:"pt-4 border-t",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{htmlFor:"overall-comments",className:"text-sm font-medium",children:s("Overall Comments")}),e.jsx(T,{id:"overall-comments",value:g,onChange:r=>B(r.target.value),placeholder:s("Add overall feedback and recommendations"),rows:4})]})})]})}),e.jsxs("div",{className:"flex justify-end space-x-4 px-6 pb-6",children:[e.jsx(P,{type:"button",variant:"outline",onClick:v,children:s("Cancel")}),e.jsx(P,{type:"submit",children:s("Submit Review")})]})]})]})})})}export{Pe as default}; +import{r as d,j as e}from"./ui-Z445SNHD.js";import{P as $}from"./page-template-CLNVC8w_.js";import{u as z,c as H,C as R,m as k,n as S,z as _,l as E,B as p,I as L,o as P,t as o,r as x}from"./app-Dya84jp7.js";import{T}from"./textarea-yeg8ONhy.js";import{S as M}from"./star-DCkLKzoE.js";import{A as q}from"./arrow-left-BUNj5JJK.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Pe(){var j,y,w;const{t:s}=z(),{review:n,indicators:h}=H().props,[m,u]=d.useState(h.map(r=>({indicator_id:r.id,rating:r.rating||3,comments:r.comments||""}))),[g,B]=d.useState(""),[U,f]=d.useState({}),D=(r,a)=>{u(t=>{const i=[...t];return i[r]={...i[r],rating:a},i})},A=(r,a)=>{u(t=>{const i=[...t];return i[r]={...i[r],comments:a},i})},I=r=>{r.preventDefault();const a={};if(m.forEach((t,i)=>{t.rating||(a[`ratings.${i}.rating`]=s("Rating is required"))}),Object.keys(a).length>0){f(a);return}o.loading(s("Submitting review...")),x.post(route("hr.performance.employee-reviews.submit-ratings",n.id),{ratings:m,overall_comments:g},{onSuccess:t=>{o.dismiss(),t.props.flash.success&&o.success(s(t.props.flash.success)),x.visit(route("hr.performance.employee-reviews.show",n.id))},onError:t=>{o.dismiss(),f(t),typeof t=="string"?o.error(s(t)):o.error(s("Failed to submit review"))}})},v=()=>{x.visit(route("hr.performance.employee-reviews.index"))},F=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:s("Performance"),href:route("hr.performance.indicator-categories.index")},{title:s("Employee Reviews"),href:route("hr.performance.employee-reviews.index")},{title:s("Conduct Review")}],O=h.reduce((r,a)=>{const t=a.category||"Uncategorized";return r[t]||(r[t]=[]),r[t].push(a),r},{});return e.jsx($,{title:s("Conduct Performance Review"),url:`/hr/performance/employee-reviews/${n.id}/conduct`,breadcrumbs:F,actions:[{label:s("Back"),icon:e.jsx(q,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:v}],children:e.jsx("form",{onSubmit:I,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(R,{children:[e.jsxs(k,{children:[e.jsx(S,{children:s("Review Information")}),e.jsx(_,{children:s("You are conducting a performance review for:")})]}),e.jsx(E,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:s("Employee")}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-gray-100",children:(j=n.employee)==null?void 0:j.name})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:s("Review Cycle")}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-gray-100",children:(y=n.review_cycle)==null?void 0:y.name})]})]}),e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:s("Review Date")}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-gray-100",children:n.review_date?((w=window.appSettings)==null?void 0:w.formatDateTimeSimple(n.review_date,!1))||new Date(n.review_date).toLocaleString():"-"})]})})]})})]}),e.jsxs(R,{children:[e.jsxs(k,{children:[e.jsx(S,{children:s("Performance Ratings")}),e.jsx(_,{children:s("Rate the employee on each performance indicator")})]}),e.jsx(E,{children:e.jsxs("div",{className:"space-y-8",children:[Object.entries(O).map(([r,a])=>e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:r}),e.jsx("div",{className:"space-y-6",children:a.map((t,i)=>{var N,b,C;const l=m.findIndex(c=>c.indicator_id===t.id);return e.jsx("div",{className:"border rounded-md p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:t.name}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:t.description||s("No description")}),e.jsxs("div",{className:"flex flex-wrap gap-2 mt-2",children:[t.measurement_unit&&e.jsxs(p,{variant:"outline",children:[s("Measurement"),": ",t.measurement_unit]}),t.target_value&&e.jsxs(p,{variant:"outline",children:[s("Target"),": ",t.target_value]}),e.jsxs(p,{variant:"outline",children:[s("Weight"),": ",t.weight]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Rating")}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"text-lg font-bold mr-1",children:(N=m[l])==null?void 0:N.rating}),e.jsx(M,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})]})]}),e.jsx(L,{type:"range",min:1,max:5,step:.5,value:(b=m[l])==null?void 0:b.rating,onChange:c=>D(l,parseFloat(c.target.value)),className:"w-full"}),e.jsxs("div",{className:"flex justify-between text-xs text-gray-500",children:[e.jsx("span",{children:s("Poor")}),e.jsx("span",{children:s("Average")}),e.jsx("span",{children:s("Excellent")})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{htmlFor:`comments-${t.id}`,className:"text-sm font-medium",children:s("Comments")}),e.jsx(T,{id:`comments-${t.id}`,value:(C=m[l])==null?void 0:C.comments,onChange:c=>A(l,c.target.value),placeholder:s("Add specific feedback for this indicator"),rows:2})]})]})},t.id)})})]},r)),e.jsx("div",{className:"pt-4 border-t",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{htmlFor:"overall-comments",className:"text-sm font-medium",children:s("Overall Comments")}),e.jsx(T,{id:"overall-comments",value:g,onChange:r=>B(r.target.value),placeholder:s("Add overall feedback and recommendations"),rows:4})]})})]})}),e.jsxs("div",{className:"flex justify-end space-x-4 px-6 pb-6",children:[e.jsx(P,{type:"button",variant:"outline",onClick:v,children:s("Cancel")}),e.jsx(P,{type:"submit",children:s("Submit Review")})]})]})]})})})}export{Pe as default}; diff --git a/public/build/assets/confirm-password-CxuZ_jnp.js b/public/build/assets/confirm-password-JjFVLWP9.js similarity index 69% rename from public/build/assets/confirm-password-CxuZ_jnp.js rename to public/build/assets/confirm-password-JjFVLWP9.js index 78a8e6351..4c1838edf 100644 --- a/public/build/assets/confirm-password-CxuZ_jnp.js +++ b/public/build/assets/confirm-password-JjFVLWP9.js @@ -1 +1 @@ -import{j as r}from"./ui-Z445SNHD.js";import{u as f,a as x,b as h,L as w,I as y,T as g}from"./app-CfhhiFAk.js";import{I as b}from"./input-error-TZ1o_PqE.js";import{A as j}from"./auth-layout-ISq1MRqV.js";import{A as v}from"./auth-button-BnJeEQoR.js";import{L as e}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./use-favicon-Dgw0iu9k.js";import"./credit-card-BmdpMcMw.js";import"./loader-circle-wGk7YsPK.js";function z(){const{t:s}=f(),{themeColor:t,customColor:i}=x(),a=t==="custom"?i:g[t],{data:n,setData:m,post:p,processing:l,errors:d,reset:c}=h({password:""}),u=o=>{o.preventDefault(),p(route("password.confirm"),{onFinish:()=>c("password")})};return r.jsx(j,{title:s("Confirm your password"),description:s("This is a secure area of the application. Please confirm your password before continuing."),icon:r.jsx(e,{className:"h-7 w-7",style:{color:a}}),children:r.jsxs("form",{onSubmit:u,className:"space-y-5",children:[r.jsx("div",{className:"space-y-4",children:r.jsxs("div",{className:"relative",children:[r.jsx(w,{htmlFor:"password",className:"text-gray-700 dark:text-gray-300 font-medium mb-1 block",children:s("Password")}),r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:r.jsx(e,{className:"h-5 w-5 text-gray-400"})}),r.jsx(y,{id:"password",type:"password",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"current-password",value:n.password,onChange:o=>m("password",o.target.value),placeholder:"••••••••",className:"pl-10 w-full border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 rounded-lg transition-all duration-200",style:{"--tw-ring-color":a}})]}),r.jsx(b,{message:d.password})]})}),r.jsx(v,{tabIndex:2,processing:l,children:s("Confirm password")})]})})}export{z as default}; +import{j as r}from"./ui-Z445SNHD.js";import{u as f,a as x,b as h,L as w,I as y,T as g}from"./app-Dya84jp7.js";import{I as b}from"./input-error-eAcZLOer.js";import{A as j}from"./auth-layout-CuYQAqvO.js";import{A as v}from"./auth-button-C1AEioKh.js";import{L as e}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-dwye0O-l.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./use-favicon-B8cqaHhj.js";import"./credit-card-BKi_ThdS.js";import"./loader-circle-BLsTZrwM.js";function z(){const{t:s}=f(),{themeColor:t,customColor:i}=x(),a=t==="custom"?i:g[t],{data:n,setData:m,post:p,processing:l,errors:d,reset:c}=h({password:""}),u=o=>{o.preventDefault(),p(route("password.confirm"),{onFinish:()=>c("password")})};return r.jsx(j,{title:s("Confirm your password"),description:s("This is a secure area of the application. Please confirm your password before continuing."),icon:r.jsx(e,{className:"h-7 w-7",style:{color:a}}),children:r.jsxs("form",{onSubmit:u,className:"space-y-5",children:[r.jsx("div",{className:"space-y-4",children:r.jsxs("div",{className:"relative",children:[r.jsx(w,{htmlFor:"password",className:"text-gray-700 dark:text-gray-300 font-medium mb-1 block",children:s("Password")}),r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:r.jsx(e,{className:"h-5 w-5 text-gray-400"})}),r.jsx(y,{id:"password",type:"password",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"current-password",value:n.password,onChange:o=>m("password",o.target.value),placeholder:"••••••••",className:"pl-10 w-full border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 rounded-lg transition-all duration-200",style:{"--tw-ring-color":a}})]}),r.jsx(b,{message:d.password})]})}),r.jsx(v,{tabIndex:2,processing:l,children:s("Confirm password")})]})})}export{z as default}; diff --git a/public/build/assets/convert-to-employee-Bs7b-vKF.js b/public/build/assets/convert-to-employee-QLKNwij2.js similarity index 93% rename from public/build/assets/convert-to-employee-Bs7b-vKF.js rename to public/build/assets/convert-to-employee-QLKNwij2.js index cdc9860f3..ba266f818 100644 --- a/public/build/assets/convert-to-employee-Bs7b-vKF.js +++ b/public/build/assets/convert-to-employee-QLKNwij2.js @@ -1 +1 @@ -import{r as w,j as e}from"./ui-Z445SNHD.js";import{P as Q}from"./page-template-BTxLyiDA.js";import{u as U,c as X,C as g,m as y,n as v,l as b,L as i,I as l,g as Y,M as O,o as f,P as ee,r as k,t as R}from"./app-CfhhiFAk.js";import{S as u,a as x,b as p,c as _,d as h}from"./select-BrY9osYp.js";import{R as re,a as E}from"./radio-group-CLGfOEmR.js";import{T as se}from"./trash-2-C1NR_7Ss.js";import{A as ae}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./circle-BoWbKVIN.js";function He(){var B,$;const{t:s}=U(),{candidate:c,branches:L,departments:I,designations:P,documentTypes:G,shifts:C,attendancePolicies:q,generatedEmployeeId:M}=X().props,[t,j]=w.useState({name:`${c.first_name} ${c.last_name}`,biometric_emp_id:"",email:c.email,password:"",phone:c.phone||"",date_of_birth:c.date_of_birth||"",gender:c.gender||"",branch_id:c.branch_id?c.branch_id.toString():"",department_id:c.department_id?c.department_id.toString():"",designation_id:"",shift_id:"",attendance_policy_id:"",date_of_joining:new Date().toISOString().split("T")[0],employment_type:"Full-time",employee_status:"active",address_line_1:c.address||"",address_line_2:"",city:c.city||"",state:c.state||"",country:c.country||"",postal_code:c.zip_code||"",emergency_contact_name:"",emergency_contact_relationship:"",emergency_contact_number:"",bank_name:"",account_holder_name:`${c.first_name} ${c.last_name}`,account_number:"",bank_identifier_code:"",bank_branch:"",tax_payer_id:"",salary:c.final_salary||"",documents:[]}),[a,N]=w.useState({}),[T,F]=w.useState(!1),z=t.branch_id?I.filter(r=>String(r.branch_id)===String(t.branch_id)):I,H=t.department_id?P.filter(r=>String(r.department_id)===String(t.department_id)):P,d=(r,o)=>{j(n=>({...n,[r]:o})),a[r]&&N(n=>{const m={...n};return delete m[r],m}),r==="branch_id"&&j(n=>({...n,branch_id:o,department_id:"",designation_id:""})),r==="department_id"&&j(n=>({...n,department_id:o,designation_id:""}))},S=(r,o,n)=>{const m=[...t.documents];m[r]={...m[r],[o]:n},j(D=>({...D,documents:m}));const A=`documents.${r}.${o}`;a[A]&&N(D=>{const V={...D};return delete V[A],V})},J=()=>{j(r=>({...r,documents:[...r.documents,{document_type_id:"",file_path:"",expiry_date:""}]}))},W=r=>{const o=[...t.documents];o.splice(r,1),j(m=>({...m,documents:o}));const n={...a};Object.keys(n).forEach(m=>{m.startsWith(`documents.${r}.`)&&delete n[m]}),N(n)},K=r=>{r.preventDefault(),F(!0);const o=new FormData;Object.entries(t).forEach(([n,m])=>{n!=="documents"&&m!=null&&m!==""&&o.append(n,m)}),o.append("candidate_id",c.id.toString()),t.documents.forEach((n,m)=>{n.document_type_id&&o.append(`documents[${m}][document_type_id]`,n.document_type_id),n.file_path&&o.append(`documents[${m}][file_path]`,n.file_path),n.expiry_date&&o.append(`documents[${m}][expiry_date]`,n.expiry_date)}),k.post(route("hr.employees.store"),o,{forceFormData:!0,onSuccess:n=>{F(!1),n.props.flash.success&&R.success(s(n.props.flash.success))},onError:n=>{F(!1),N(n),R.error(s("Please correct the errors in the form"))}})},Z=[{title:s("Dashboard"),href:route("dashboard")},{title:s("Recruitment"),href:route("hr.recruitment.candidates.index")},{title:s("Candidates"),href:route("hr.recruitment.candidates.index")},{title:s("Convert to Employee")}];return e.jsxs(Q,{title:s("Convert Candidate to Employee"),url:`/hr/recruitment/candidates/${c.id}/convert-to-employee`,breadcrumbs:Z,actions:[{label:s("Back to Candidates"),icon:e.jsx(ae,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>k.get(route("hr.recruitment.candidates.index"))}],children:[e.jsxs(g,{className:"mb-6",children:[e.jsx(y,{children:e.jsx(v,{children:s("Candidate Information")})}),e.jsx(b,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 text-sm",children:[e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Name"),":"]})," ",c.first_name," ",c.last_name]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Email"),":"]})," ",c.email]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Job"),":"]})," ",(B=c.job)==null?void 0:B.title]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Experience"),":"]})," ",c.experience_years," ",s("years")]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Final Salary"),":"]})," ",c.final_salary?($=window.appSettings)==null?void 0:$.formatCurrency(c.final_salary):"-"]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Status"),":"]})," ",c.status]})]})})]}),e.jsxs("form",{onSubmit:K,className:"space-y-6",children:[e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Basic Information")})}),e.jsx(b,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"name",required:!0,children:[s("Full Name")," "]}),e.jsx(l,{id:"name",value:t.name,required:!0,onChange:r=>d("name",r.target.value),className:a.name?"border-red-500":""}),a.name&&e.jsx("p",{className:"text-red-500 text-xs",children:a.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"employee_id",required:!0,children:s("Employee ID")}),e.jsx(l,{id:"employee_id",value:M,readOnly:!0,className:"bg-muted"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s("Employee ID will be auto-generated")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"biometric_emp_id",required:!0,children:s("Employee Code")}),e.jsx(l,{id:"biometric_emp_id",required:!0,value:t.biometric_emp_id||"",onChange:r=>d("biometric_emp_id",r.target.value),className:a.biometric_emp_id?"border-red-500":""}),a.biometric_emp_id&&e.jsx("p",{className:"text-red-500 text-xs",children:a.biometric_emp_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"email",required:!0,children:[s("Email")," "]}),e.jsx(l,{id:"email",type:"email",required:!0,value:t.email,onChange:r=>d("email",r.target.value),className:a.email?"border-red-500":""}),a.email&&e.jsx("p",{className:"text-red-500 text-xs",children:a.email})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"password",required:!0,children:[s("Password")," "]}),e.jsx(l,{id:"password",type:"password",required:!0,value:t.password,onChange:r=>d("password",r.target.value),className:a.password?"border-red-500":""}),a.password&&e.jsx("p",{className:"text-red-500 text-xs",children:a.password})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"phone",required:!0,children:s("Phone Number")}),e.jsx(l,{id:"phone",required:!0,value:t.phone,onChange:r=>d("phone",r.target.value),className:a.phone?"border-red-500":""}),a.phone&&e.jsx("p",{className:"text-red-500 text-xs",children:a.phone})]}),e.jsxs("div",{className:"space-y-2",required:!0,children:[e.jsx(i,{htmlFor:"date_of_birth",children:s("Date of Birth")}),e.jsx(l,{id:"date_of_birth",required:!0,type:"date",value:t.date_of_birth,onChange:r=>d("date_of_birth",r.target.value),className:a.date_of_birth?"border-red-500":""}),a.date_of_birth&&e.jsx("p",{className:"text-red-500 text-xs",children:a.date_of_birth})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"gender",required:!0,children:s("Gender")}),e.jsxs(re,{value:t.gender,onValueChange:r=>d("gender",r),className:"flex space-x-4",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(E,{value:"male",id:"gender-male"}),e.jsx(i,{htmlFor:"gender-male",children:s("Male")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(E,{value:"female",id:"gender-female"}),e.jsx(i,{htmlFor:"gender-female",children:s("Female")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(E,{value:"other",id:"gender-other"}),e.jsx(i,{htmlFor:"gender-other",children:s("Other")})]})]}),a.gender&&e.jsx("p",{className:"text-red-500 text-xs",children:a.gender})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"profile_image",required:!0,children:s("Profile Image")}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 h-32",children:t.profile_image?e.jsx("img",{src:Y(t.profile_image),alt:"Profile Image",className:"max-h-full max-w-full object-contain rounded-full"}):e.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[e.jsx("div",{className:"h-12 w-12 bg-muted flex items-center justify-center rounded-full border border-dashed",children:e.jsx("span",{className:"font-semibold text-xs text-muted-foreground",children:s("Image")})}),e.jsx("span",{className:"text-xs",children:"No image selected"})]})}),e.jsx(O,{label:"",value:t.profile_image||"",onChange:r=>d("profile_image",r),placeholder:"Select profile image...",showPreview:!1})]}),a.profile_image&&e.jsx("p",{className:"text-red-500 text-xs",children:a.profile_image})]})]})})]}),e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Employment Details")})}),e.jsx(b,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"branch_id",required:!0,children:[s("Branch")," "]}),e.jsxs(u,{value:t.branch_id,required:!0,onValueChange:r=>d("branch_id",r),children:[e.jsx(x,{className:a.branch_id?"border-red-500":"",children:e.jsx(p,{placeholder:s("Select Branch")})}),e.jsx(_,{searchable:!0,children:L.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]}),a.branch_id&&e.jsx("p",{className:"text-red-500 text-xs",children:a.branch_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"department_id",required:!0,children:[s("Department")," "]}),e.jsxs(u,{value:t.department_id,onValueChange:r=>d("department_id",r),disabled:!t.branch_id,required:!0,children:[e.jsx(x,{className:a.department_id?"border-red-500":"",children:e.jsx(p,{placeholder:t.branch_id?s("Select Department"):s("Select Branch First")})}),e.jsx(_,{searchable:!0,children:z.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]}),a.department_id&&e.jsx("p",{className:"text-red-500 text-xs",children:a.department_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"designation_id",required:!0,children:[s("Designation")," "]}),e.jsxs(u,{value:t.designation_id,onValueChange:r=>d("designation_id",r),disabled:!t.department_id,required:!0,children:[e.jsx(x,{className:a.designation_id?"border-red-500":"",children:e.jsx(p,{placeholder:t.department_id?s("Select Designation"):s("Select Department First")})}),e.jsx(_,{searchable:!0,children:H.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]}),a.designation_id&&e.jsx("p",{className:"text-red-500 text-xs",children:a.designation_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"date_of_joining",required:!0,children:[s("Date of Joining")," "]}),e.jsx(l,{id:"date_of_joining",type:"date",required:!0,value:t.date_of_joining,onChange:r=>d("date_of_joining",r.target.value),className:a.date_of_joining?"border-red-500":""}),a.date_of_joining&&e.jsx("p",{className:"text-red-500 text-xs",children:a.date_of_joining})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"employment_type",children:s("Employment Type")}),e.jsxs(u,{value:t.employment_type,onValueChange:r=>d("employment_type",r),children:[e.jsx(x,{children:e.jsx(p,{})}),e.jsxs(_,{children:[e.jsx(h,{value:"Full-time",children:s("Full-time")}),e.jsx(h,{value:"Part-time",children:s("Part-time")}),e.jsx(h,{value:"Contract",children:s("Contract")}),e.jsx(h,{value:"Internship",children:s("Internship")})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"employee_status",required:!0,children:s("Employee Status")}),e.jsxs(u,{value:t.employee_status,onValueChange:r=>d("employee_status",r),children:[e.jsx(x,{className:a.employee_status?"border-red-500":"",children:e.jsx(p,{})}),e.jsxs(_,{children:[e.jsx(h,{value:"active",children:s("Active")}),e.jsx(h,{value:"inactive",children:s("Inactive")}),e.jsx(h,{value:"probation",children:s("Probation")}),e.jsx(h,{value:"terminated",children:s("Terminated")})]})]}),a.employee_status&&e.jsx("p",{className:"text-red-500 text-xs",children:a.employee_status})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"shift_id",children:s("Shift")}),e.jsxs(u,{value:t.shift_id,onValueChange:r=>d("shift_id",r),children:[e.jsx(x,{children:e.jsx(p,{placeholder:s("Select Shift (Optional)")})}),e.jsx(_,{children:C==null?void 0:C.map(r=>e.jsxs(h,{value:r.id.toString(),children:[r.name," (",r.start_time," - ",r.end_time,")"]},r.id))})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"attendance_policy_id",children:s("Attendance Policy")}),e.jsxs(u,{value:t.attendance_policy_id,onValueChange:r=>d("attendance_policy_id",r),children:[e.jsx(x,{children:e.jsx(p,{placeholder:s("Select Attendance Policy (Optional)")})}),e.jsx(_,{children:q==null?void 0:q.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]})]})]})})]}),e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Contact Information")})}),e.jsxs(b,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"address_line_1",required:!0,children:[s("Address Line 1")," "]}),e.jsx(l,{id:"address_line_1",required:!0,value:t.address_line_1,onChange:r=>d("address_line_1",r.target.value),className:a.address_line_1?"border-red-500":""}),a.address_line_1&&e.jsx("p",{className:"text-red-500 text-xs",children:a.address_line_1})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"address_line_2",required:!0,children:s("Address Line 2")}),e.jsx(l,{id:"address_line_2",required:!0,value:t.address_line_2,onChange:r=>d("address_line_2",r.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"city",required:!0,children:[s("City")," "]}),e.jsx(l,{id:"city",required:!0,value:t.city,onChange:r=>d("city",r.target.value),className:a.city?"border-red-500":""}),a.city&&e.jsx("p",{className:"text-red-500 text-xs",children:a.city})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"state",required:!0,children:[s("State/Province")," "]}),e.jsx(l,{id:"state",required:!0,value:t.state,onChange:r=>d("state",r.target.value),className:a.state?"border-red-500":""}),a.state&&e.jsx("p",{className:"text-red-500 text-xs",children:a.state})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"country",required:!0,children:[s("Country")," "]}),e.jsx(l,{id:"country",required:!0,value:t.country,onChange:r=>d("country",r.target.value),className:a.country?"border-red-500":""}),a.country&&e.jsx("p",{className:"text-red-500 text-xs",children:a.country})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"postal_code",required:!0,children:[s("Postal/Zip Code")," "]}),e.jsx(l,{id:"postal_code",required:!0,value:t.postal_code,onChange:r=>d("postal_code",r.target.value),className:a.postal_code?"border-red-500":""}),a.postal_code&&e.jsx("p",{className:"text-red-500 text-xs",children:a.postal_code})]})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:s("Emergency Contact")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"emergency_contact_name",required:!0,children:[s("Name")," "]}),e.jsx(l,{id:"emergency_contact_name",required:!0,value:t.emergency_contact_name,onChange:r=>d("emergency_contact_name",r.target.value),className:a.emergency_contact_name?"border-red-500":""}),a.emergency_contact_name&&e.jsx("p",{className:"text-red-500 text-xs",children:a.emergency_contact_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"emergency_contact_relationship",required:!0,children:[s("Relationship")," "]}),e.jsx(l,{id:"emergency_contact_relationship",required:!0,value:t.emergency_contact_relationship,onChange:r=>d("emergency_contact_relationship",r.target.value),className:a.emergency_contact_relationship?"border-red-500":""}),a.emergency_contact_relationship&&e.jsx("p",{className:"text-red-500 text-xs",children:a.emergency_contact_relationship})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"emergency_contact_number",required:!0,children:[s("Phone Number")," "]}),e.jsx(l,{id:"emergency_contact_number",required:!0,value:t.emergency_contact_number,onChange:r=>d("emergency_contact_number",r.target.value),className:a.emergency_contact_number?"border-red-500":""}),a.emergency_contact_number&&e.jsx("p",{className:"text-red-500 text-xs",children:a.emergency_contact_number})]})]})]})]})]}),e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Banking Information")})}),e.jsx(b,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"bank_name",required:!0,children:[s("Bank Name")," "]}),e.jsx(l,{id:"bank_name",required:!0,value:t.bank_name,onChange:r=>d("bank_name",r.target.value),className:a.bank_name?"border-red-500":""}),a.bank_name&&e.jsx("p",{className:"text-red-500 text-xs",children:a.bank_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"account_holder_name",required:!0,children:[s("Account Holder Name")," "]}),e.jsx(l,{id:"account_holder_name",required:!0,value:t.account_holder_name,onChange:r=>d("account_holder_name",r.target.value),className:a.account_holder_name?"border-red-500":""}),a.account_holder_name&&e.jsx("p",{className:"text-red-500 text-xs",children:a.account_holder_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"account_number",required:!0,children:[s("Account Number")," "]}),e.jsx(l,{id:"account_number",required:!0,value:t.account_number,onChange:r=>d("account_number",r.target.value),className:a.account_number?"border-red-500":""}),a.account_number&&e.jsx("p",{className:"text-red-500 text-xs",children:a.account_number})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"bank_identifier_code",required:!0,children:s("Bank Identifier Code (BIC/SWIFT)")}),e.jsx(l,{id:"bank_identifier_code",required:!0,value:t.bank_identifier_code,onChange:r=>d("bank_identifier_code",r.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"bank_branch",required:!0,children:s("Bank Branch")}),e.jsx(l,{id:"bank_branch",required:!0,value:t.bank_branch,onChange:r=>d("bank_branch",r.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"tax_payer_id",children:s("Tax Payer ID")}),e.jsx(l,{id:"tax_payer_id",value:t.tax_payer_id,onChange:r=>d("tax_payer_id",r.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"salary",required:!0,children:[s("Salary")," "]}),e.jsx(l,{id:"salary",type:"number",min:"0",step:"0.01",required:!0,value:t.salary,onChange:r=>d("salary",r.target.value),className:a.salary?"border-red-500":""}),a.salary&&e.jsx("p",{className:"text-red-500 text-xs",children:a.salary})]})]})})]}),e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Documents")})}),e.jsxs(b,{className:"space-y-4",children:[t.documents.map((r,o)=>e.jsxs("div",{className:"border rounded-md p-4 space-y-4",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("h3",{className:"text-lg font-medium",children:[s("Document")," #",o+1]}),e.jsx(f,{type:"button",variant:"ghost",size:"sm",onClick:()=>W(o),children:e.jsx(se,{className:"h-4 w-4 text-red-500"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{children:[s("Document Type")," "]}),e.jsxs(u,{value:r.document_type_id,onValueChange:n=>S(o,"document_type_id",n),children:[e.jsx(x,{children:e.jsx(p,{placeholder:s("Select Document Type")})}),e.jsx(_,{children:G.map(n=>e.jsx(h,{value:n.id.toString(),children:n.name},n.id))})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{children:[s("File")," "]}),e.jsx(O,{label:"",value:r.file_path||"",onChange:n=>S(o,"file_path",n),placeholder:"Select document file...",showPreview:!1})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{children:s("Expiry Date")}),e.jsx(l,{type:"date",value:r.expiry_date,onChange:n=>S(o,"expiry_date",n.target.value)})]})]})]},o)),e.jsxs(f,{type:"button",variant:"outline",onClick:J,children:[e.jsx(ee,{className:"h-4 w-4 mr-2"}),s("Add Document")]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-4",children:[e.jsx(f,{type:"button",variant:"outline",onClick:()=>k.get(route("hr.recruitment.candidates.index")),children:s("Cancel")}),e.jsx(f,{type:"submit",disabled:T,children:s(T?"Converting...":"Convert to Employee")})]})]})]})}export{He as default}; +import{r as w,j as e}from"./ui-Z445SNHD.js";import{P as Q}from"./page-template-CLNVC8w_.js";import{u as U,c as X,C as g,m as y,n as v,l as b,L as i,I as l,g as Y,M as O,o as f,P as ee,r as k,t as R}from"./app-Dya84jp7.js";import{S as u,a as x,b as p,c as _,d as h}from"./select-CHkpLxhL.js";import{R as re,a as E}from"./radio-group-BMzEN82K.js";import{T as se}from"./trash-2-BeirBLIk.js";import{A as ae}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./circle-C2Wo_gI7.js";function He(){var B,$;const{t:s}=U(),{candidate:c,branches:L,departments:I,designations:P,documentTypes:G,shifts:C,attendancePolicies:q,generatedEmployeeId:M}=X().props,[t,j]=w.useState({name:`${c.first_name} ${c.last_name}`,biometric_emp_id:"",email:c.email,password:"",phone:c.phone||"",date_of_birth:c.date_of_birth||"",gender:c.gender||"",branch_id:c.branch_id?c.branch_id.toString():"",department_id:c.department_id?c.department_id.toString():"",designation_id:"",shift_id:"",attendance_policy_id:"",date_of_joining:new Date().toISOString().split("T")[0],employment_type:"Full-time",employee_status:"active",address_line_1:c.address||"",address_line_2:"",city:c.city||"",state:c.state||"",country:c.country||"",postal_code:c.zip_code||"",emergency_contact_name:"",emergency_contact_relationship:"",emergency_contact_number:"",bank_name:"",account_holder_name:`${c.first_name} ${c.last_name}`,account_number:"",bank_identifier_code:"",bank_branch:"",tax_payer_id:"",salary:c.final_salary||"",documents:[]}),[a,N]=w.useState({}),[T,F]=w.useState(!1),z=t.branch_id?I.filter(r=>String(r.branch_id)===String(t.branch_id)):I,H=t.department_id?P.filter(r=>String(r.department_id)===String(t.department_id)):P,d=(r,o)=>{j(n=>({...n,[r]:o})),a[r]&&N(n=>{const m={...n};return delete m[r],m}),r==="branch_id"&&j(n=>({...n,branch_id:o,department_id:"",designation_id:""})),r==="department_id"&&j(n=>({...n,department_id:o,designation_id:""}))},S=(r,o,n)=>{const m=[...t.documents];m[r]={...m[r],[o]:n},j(D=>({...D,documents:m}));const A=`documents.${r}.${o}`;a[A]&&N(D=>{const V={...D};return delete V[A],V})},J=()=>{j(r=>({...r,documents:[...r.documents,{document_type_id:"",file_path:"",expiry_date:""}]}))},W=r=>{const o=[...t.documents];o.splice(r,1),j(m=>({...m,documents:o}));const n={...a};Object.keys(n).forEach(m=>{m.startsWith(`documents.${r}.`)&&delete n[m]}),N(n)},K=r=>{r.preventDefault(),F(!0);const o=new FormData;Object.entries(t).forEach(([n,m])=>{n!=="documents"&&m!=null&&m!==""&&o.append(n,m)}),o.append("candidate_id",c.id.toString()),t.documents.forEach((n,m)=>{n.document_type_id&&o.append(`documents[${m}][document_type_id]`,n.document_type_id),n.file_path&&o.append(`documents[${m}][file_path]`,n.file_path),n.expiry_date&&o.append(`documents[${m}][expiry_date]`,n.expiry_date)}),k.post(route("hr.employees.store"),o,{forceFormData:!0,onSuccess:n=>{F(!1),n.props.flash.success&&R.success(s(n.props.flash.success))},onError:n=>{F(!1),N(n),R.error(s("Please correct the errors in the form"))}})},Z=[{title:s("Dashboard"),href:route("dashboard")},{title:s("Recruitment"),href:route("hr.recruitment.candidates.index")},{title:s("Candidates"),href:route("hr.recruitment.candidates.index")},{title:s("Convert to Employee")}];return e.jsxs(Q,{title:s("Convert Candidate to Employee"),url:`/hr/recruitment/candidates/${c.id}/convert-to-employee`,breadcrumbs:Z,actions:[{label:s("Back to Candidates"),icon:e.jsx(ae,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>k.get(route("hr.recruitment.candidates.index"))}],children:[e.jsxs(g,{className:"mb-6",children:[e.jsx(y,{children:e.jsx(v,{children:s("Candidate Information")})}),e.jsx(b,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 text-sm",children:[e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Name"),":"]})," ",c.first_name," ",c.last_name]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Email"),":"]})," ",c.email]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Job"),":"]})," ",(B=c.job)==null?void 0:B.title]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Experience"),":"]})," ",c.experience_years," ",s("years")]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Final Salary"),":"]})," ",c.final_salary?($=window.appSettings)==null?void 0:$.formatCurrency(c.final_salary):"-"]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-medium",children:[s("Status"),":"]})," ",c.status]})]})})]}),e.jsxs("form",{onSubmit:K,className:"space-y-6",children:[e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Basic Information")})}),e.jsx(b,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"name",required:!0,children:[s("Full Name")," "]}),e.jsx(l,{id:"name",value:t.name,required:!0,onChange:r=>d("name",r.target.value),className:a.name?"border-red-500":""}),a.name&&e.jsx("p",{className:"text-red-500 text-xs",children:a.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"employee_id",required:!0,children:s("Employee ID")}),e.jsx(l,{id:"employee_id",value:M,readOnly:!0,className:"bg-muted"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s("Employee ID will be auto-generated")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"biometric_emp_id",required:!0,children:s("Employee Code")}),e.jsx(l,{id:"biometric_emp_id",required:!0,value:t.biometric_emp_id||"",onChange:r=>d("biometric_emp_id",r.target.value),className:a.biometric_emp_id?"border-red-500":""}),a.biometric_emp_id&&e.jsx("p",{className:"text-red-500 text-xs",children:a.biometric_emp_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"email",required:!0,children:[s("Email")," "]}),e.jsx(l,{id:"email",type:"email",required:!0,value:t.email,onChange:r=>d("email",r.target.value),className:a.email?"border-red-500":""}),a.email&&e.jsx("p",{className:"text-red-500 text-xs",children:a.email})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"password",required:!0,children:[s("Password")," "]}),e.jsx(l,{id:"password",type:"password",required:!0,value:t.password,onChange:r=>d("password",r.target.value),className:a.password?"border-red-500":""}),a.password&&e.jsx("p",{className:"text-red-500 text-xs",children:a.password})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"phone",required:!0,children:s("Phone Number")}),e.jsx(l,{id:"phone",required:!0,value:t.phone,onChange:r=>d("phone",r.target.value),className:a.phone?"border-red-500":""}),a.phone&&e.jsx("p",{className:"text-red-500 text-xs",children:a.phone})]}),e.jsxs("div",{className:"space-y-2",required:!0,children:[e.jsx(i,{htmlFor:"date_of_birth",children:s("Date of Birth")}),e.jsx(l,{id:"date_of_birth",required:!0,type:"date",value:t.date_of_birth,onChange:r=>d("date_of_birth",r.target.value),className:a.date_of_birth?"border-red-500":""}),a.date_of_birth&&e.jsx("p",{className:"text-red-500 text-xs",children:a.date_of_birth})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"gender",required:!0,children:s("Gender")}),e.jsxs(re,{value:t.gender,onValueChange:r=>d("gender",r),className:"flex space-x-4",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(E,{value:"male",id:"gender-male"}),e.jsx(i,{htmlFor:"gender-male",children:s("Male")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(E,{value:"female",id:"gender-female"}),e.jsx(i,{htmlFor:"gender-female",children:s("Female")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(E,{value:"other",id:"gender-other"}),e.jsx(i,{htmlFor:"gender-other",children:s("Other")})]})]}),a.gender&&e.jsx("p",{className:"text-red-500 text-xs",children:a.gender})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"profile_image",required:!0,children:s("Profile Image")}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 h-32",children:t.profile_image?e.jsx("img",{src:Y(t.profile_image),alt:"Profile Image",className:"max-h-full max-w-full object-contain rounded-full"}):e.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[e.jsx("div",{className:"h-12 w-12 bg-muted flex items-center justify-center rounded-full border border-dashed",children:e.jsx("span",{className:"font-semibold text-xs text-muted-foreground",children:s("Image")})}),e.jsx("span",{className:"text-xs",children:"No image selected"})]})}),e.jsx(O,{label:"",value:t.profile_image||"",onChange:r=>d("profile_image",r),placeholder:"Select profile image...",showPreview:!1})]}),a.profile_image&&e.jsx("p",{className:"text-red-500 text-xs",children:a.profile_image})]})]})})]}),e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Employment Details")})}),e.jsx(b,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"branch_id",required:!0,children:[s("Branch")," "]}),e.jsxs(u,{value:t.branch_id,required:!0,onValueChange:r=>d("branch_id",r),children:[e.jsx(x,{className:a.branch_id?"border-red-500":"",children:e.jsx(p,{placeholder:s("Select Branch")})}),e.jsx(_,{searchable:!0,children:L.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]}),a.branch_id&&e.jsx("p",{className:"text-red-500 text-xs",children:a.branch_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"department_id",required:!0,children:[s("Department")," "]}),e.jsxs(u,{value:t.department_id,onValueChange:r=>d("department_id",r),disabled:!t.branch_id,required:!0,children:[e.jsx(x,{className:a.department_id?"border-red-500":"",children:e.jsx(p,{placeholder:t.branch_id?s("Select Department"):s("Select Branch First")})}),e.jsx(_,{searchable:!0,children:z.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]}),a.department_id&&e.jsx("p",{className:"text-red-500 text-xs",children:a.department_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"designation_id",required:!0,children:[s("Designation")," "]}),e.jsxs(u,{value:t.designation_id,onValueChange:r=>d("designation_id",r),disabled:!t.department_id,required:!0,children:[e.jsx(x,{className:a.designation_id?"border-red-500":"",children:e.jsx(p,{placeholder:t.department_id?s("Select Designation"):s("Select Department First")})}),e.jsx(_,{searchable:!0,children:H.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]}),a.designation_id&&e.jsx("p",{className:"text-red-500 text-xs",children:a.designation_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"date_of_joining",required:!0,children:[s("Date of Joining")," "]}),e.jsx(l,{id:"date_of_joining",type:"date",required:!0,value:t.date_of_joining,onChange:r=>d("date_of_joining",r.target.value),className:a.date_of_joining?"border-red-500":""}),a.date_of_joining&&e.jsx("p",{className:"text-red-500 text-xs",children:a.date_of_joining})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"employment_type",children:s("Employment Type")}),e.jsxs(u,{value:t.employment_type,onValueChange:r=>d("employment_type",r),children:[e.jsx(x,{children:e.jsx(p,{})}),e.jsxs(_,{children:[e.jsx(h,{value:"Full-time",children:s("Full-time")}),e.jsx(h,{value:"Part-time",children:s("Part-time")}),e.jsx(h,{value:"Contract",children:s("Contract")}),e.jsx(h,{value:"Internship",children:s("Internship")})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"employee_status",required:!0,children:s("Employee Status")}),e.jsxs(u,{value:t.employee_status,onValueChange:r=>d("employee_status",r),children:[e.jsx(x,{className:a.employee_status?"border-red-500":"",children:e.jsx(p,{})}),e.jsxs(_,{children:[e.jsx(h,{value:"active",children:s("Active")}),e.jsx(h,{value:"inactive",children:s("Inactive")}),e.jsx(h,{value:"probation",children:s("Probation")}),e.jsx(h,{value:"terminated",children:s("Terminated")})]})]}),a.employee_status&&e.jsx("p",{className:"text-red-500 text-xs",children:a.employee_status})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"shift_id",children:s("Shift")}),e.jsxs(u,{value:t.shift_id,onValueChange:r=>d("shift_id",r),children:[e.jsx(x,{children:e.jsx(p,{placeholder:s("Select Shift (Optional)")})}),e.jsx(_,{children:C==null?void 0:C.map(r=>e.jsxs(h,{value:r.id.toString(),children:[r.name," (",r.start_time," - ",r.end_time,")"]},r.id))})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"attendance_policy_id",children:s("Attendance Policy")}),e.jsxs(u,{value:t.attendance_policy_id,onValueChange:r=>d("attendance_policy_id",r),children:[e.jsx(x,{children:e.jsx(p,{placeholder:s("Select Attendance Policy (Optional)")})}),e.jsx(_,{children:q==null?void 0:q.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]})]})]})})]}),e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Contact Information")})}),e.jsxs(b,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"address_line_1",required:!0,children:[s("Address Line 1")," "]}),e.jsx(l,{id:"address_line_1",required:!0,value:t.address_line_1,onChange:r=>d("address_line_1",r.target.value),className:a.address_line_1?"border-red-500":""}),a.address_line_1&&e.jsx("p",{className:"text-red-500 text-xs",children:a.address_line_1})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"address_line_2",required:!0,children:s("Address Line 2")}),e.jsx(l,{id:"address_line_2",required:!0,value:t.address_line_2,onChange:r=>d("address_line_2",r.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"city",required:!0,children:[s("City")," "]}),e.jsx(l,{id:"city",required:!0,value:t.city,onChange:r=>d("city",r.target.value),className:a.city?"border-red-500":""}),a.city&&e.jsx("p",{className:"text-red-500 text-xs",children:a.city})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"state",required:!0,children:[s("State/Province")," "]}),e.jsx(l,{id:"state",required:!0,value:t.state,onChange:r=>d("state",r.target.value),className:a.state?"border-red-500":""}),a.state&&e.jsx("p",{className:"text-red-500 text-xs",children:a.state})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"country",required:!0,children:[s("Country")," "]}),e.jsx(l,{id:"country",required:!0,value:t.country,onChange:r=>d("country",r.target.value),className:a.country?"border-red-500":""}),a.country&&e.jsx("p",{className:"text-red-500 text-xs",children:a.country})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"postal_code",required:!0,children:[s("Postal/Zip Code")," "]}),e.jsx(l,{id:"postal_code",required:!0,value:t.postal_code,onChange:r=>d("postal_code",r.target.value),className:a.postal_code?"border-red-500":""}),a.postal_code&&e.jsx("p",{className:"text-red-500 text-xs",children:a.postal_code})]})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:s("Emergency Contact")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"emergency_contact_name",required:!0,children:[s("Name")," "]}),e.jsx(l,{id:"emergency_contact_name",required:!0,value:t.emergency_contact_name,onChange:r=>d("emergency_contact_name",r.target.value),className:a.emergency_contact_name?"border-red-500":""}),a.emergency_contact_name&&e.jsx("p",{className:"text-red-500 text-xs",children:a.emergency_contact_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"emergency_contact_relationship",required:!0,children:[s("Relationship")," "]}),e.jsx(l,{id:"emergency_contact_relationship",required:!0,value:t.emergency_contact_relationship,onChange:r=>d("emergency_contact_relationship",r.target.value),className:a.emergency_contact_relationship?"border-red-500":""}),a.emergency_contact_relationship&&e.jsx("p",{className:"text-red-500 text-xs",children:a.emergency_contact_relationship})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"emergency_contact_number",required:!0,children:[s("Phone Number")," "]}),e.jsx(l,{id:"emergency_contact_number",required:!0,value:t.emergency_contact_number,onChange:r=>d("emergency_contact_number",r.target.value),className:a.emergency_contact_number?"border-red-500":""}),a.emergency_contact_number&&e.jsx("p",{className:"text-red-500 text-xs",children:a.emergency_contact_number})]})]})]})]})]}),e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Banking Information")})}),e.jsx(b,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"bank_name",required:!0,children:[s("Bank Name")," "]}),e.jsx(l,{id:"bank_name",required:!0,value:t.bank_name,onChange:r=>d("bank_name",r.target.value),className:a.bank_name?"border-red-500":""}),a.bank_name&&e.jsx("p",{className:"text-red-500 text-xs",children:a.bank_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"account_holder_name",required:!0,children:[s("Account Holder Name")," "]}),e.jsx(l,{id:"account_holder_name",required:!0,value:t.account_holder_name,onChange:r=>d("account_holder_name",r.target.value),className:a.account_holder_name?"border-red-500":""}),a.account_holder_name&&e.jsx("p",{className:"text-red-500 text-xs",children:a.account_holder_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"account_number",required:!0,children:[s("Account Number")," "]}),e.jsx(l,{id:"account_number",required:!0,value:t.account_number,onChange:r=>d("account_number",r.target.value),className:a.account_number?"border-red-500":""}),a.account_number&&e.jsx("p",{className:"text-red-500 text-xs",children:a.account_number})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"bank_identifier_code",required:!0,children:s("Bank Identifier Code (BIC/SWIFT)")}),e.jsx(l,{id:"bank_identifier_code",required:!0,value:t.bank_identifier_code,onChange:r=>d("bank_identifier_code",r.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"bank_branch",required:!0,children:s("Bank Branch")}),e.jsx(l,{id:"bank_branch",required:!0,value:t.bank_branch,onChange:r=>d("bank_branch",r.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"tax_payer_id",children:s("Tax Payer ID")}),e.jsx(l,{id:"tax_payer_id",value:t.tax_payer_id,onChange:r=>d("tax_payer_id",r.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"salary",required:!0,children:[s("Salary")," "]}),e.jsx(l,{id:"salary",type:"number",min:"0",step:"0.01",required:!0,value:t.salary,onChange:r=>d("salary",r.target.value),className:a.salary?"border-red-500":""}),a.salary&&e.jsx("p",{className:"text-red-500 text-xs",children:a.salary})]})]})})]}),e.jsxs(g,{children:[e.jsx(y,{children:e.jsx(v,{children:s("Documents")})}),e.jsxs(b,{className:"space-y-4",children:[t.documents.map((r,o)=>e.jsxs("div",{className:"border rounded-md p-4 space-y-4",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("h3",{className:"text-lg font-medium",children:[s("Document")," #",o+1]}),e.jsx(f,{type:"button",variant:"ghost",size:"sm",onClick:()=>W(o),children:e.jsx(se,{className:"h-4 w-4 text-red-500"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{children:[s("Document Type")," "]}),e.jsxs(u,{value:r.document_type_id,onValueChange:n=>S(o,"document_type_id",n),children:[e.jsx(x,{children:e.jsx(p,{placeholder:s("Select Document Type")})}),e.jsx(_,{children:G.map(n=>e.jsx(h,{value:n.id.toString(),children:n.name},n.id))})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{children:[s("File")," "]}),e.jsx(O,{label:"",value:r.file_path||"",onChange:n=>S(o,"file_path",n),placeholder:"Select document file...",showPreview:!1})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{children:s("Expiry Date")}),e.jsx(l,{type:"date",value:r.expiry_date,onChange:n=>S(o,"expiry_date",n.target.value)})]})]})]},o)),e.jsxs(f,{type:"button",variant:"outline",onClick:J,children:[e.jsx(ee,{className:"h-4 w-4 mr-2"}),s("Add Document")]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-4",children:[e.jsx(f,{type:"button",variant:"outline",onClick:()=>k.get(route("hr.recruitment.candidates.index")),children:s("Cancel")}),e.jsx(f,{type:"submit",disabled:T,children:s(T?"Converting...":"Convert to Employee")})]})]})]})}export{He as default}; diff --git a/public/build/assets/cookie-settings-ZygGKw1c.js b/public/build/assets/cookie-settings-D7p7EysW.js similarity index 95% rename from public/build/assets/cookie-settings-ZygGKw1c.js rename to public/build/assets/cookie-settings-D7p7EysW.js index 2dbf86a28..54bfef67f 100644 --- a/public/build/assets/cookie-settings-ZygGKw1c.js +++ b/public/build/assets/cookie-settings-D7p7EysW.js @@ -1 +1 @@ -import{r as y,j as e}from"./ui-Z445SNHD.js";import{u as U,c as b,ap as N,L as r,I as d,o as C,y as T,r as S,t as p}from"./app-CfhhiFAk.js";import{T as g}from"./textarea-kpRjGGLz.js";import{S as j}from"./switch-CKduD2wX.js";import{D as w}from"./download-Bk1k2_dW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function P({settings:k={}}){const{t}=U(),D=b().props,s={cookieTitle:"Cookie Consent",strictlyCookieTitle:"Strictly Necessary Cookies",cookieDescription:"We use cookies to enhance your browsing experience and provide personalized content.",strictlyCookieDescription:"These cookies are essential for the website to function properly.",contactUsDescription:"If you have any questions about our cookie policy, please contact us.",contactUsUrl:"https://example.com/contact"},i=Object.keys(k).length>0?k:D.settings||{},[c,h]=y.useState(()=>({enableLogging:i.enableLogging==="1"||i.enableLogging===!0,strictlyNecessaryCookies:!0,cookieTitle:i.cookieTitle||s.cookieTitle,strictlyCookieTitle:i.strictlyCookieTitle||s.strictlyCookieTitle,cookieDescription:i.cookieDescription||s.cookieDescription,strictlyCookieDescription:i.strictlyCookieDescription||s.strictlyCookieDescription,contactUsDescription:i.contactUsDescription||s.contactUsDescription,contactUsUrl:i.contactUsUrl||s.contactUsUrl}));y.useEffect(()=>{Object.keys(i).length>0&&h(o=>({...o,enableLogging:i.enableLogging==="1"||i.enableLogging===!0,strictlyNecessaryCookies:!0,cookieTitle:i.cookieTitle||s.cookieTitle,strictlyCookieTitle:i.strictlyCookieTitle||s.strictlyCookieTitle,cookieDescription:i.cookieDescription||s.cookieDescription,strictlyCookieDescription:i.strictlyCookieDescription||s.strictlyCookieDescription,contactUsDescription:i.contactUsDescription||s.contactUsDescription,contactUsUrl:i.contactUsUrl||s.contactUsUrl}))},[i]);const n=(o,a)=>{h(l=>({...l,[o]:a}))},f=o=>{o.preventDefault(),S.post(route("settings.cookie.update"),c,{preserveScroll:!0,onSuccess:a=>{var u,x;const l=(u=a.props.flash)==null?void 0:u.success,m=(x=a.props.flash)==null?void 0:x.error;l?p.success(l):m&&p.error(m)},onError:a=>{const l=a.error||Object.values(a).join(", ")||t("Failed to update cookie settings");p.error(l)}})},v=()=>{window.location.href=route("cookie.consent.download")};return e.jsx(N,{title:t("Cookie Settings"),description:t("Configure cookie consent and privacy settings for your application"),action:e.jsxs(C,{type:"submit",form:"cookie-settings-form",size:"sm",children:[e.jsx(T,{className:"h-4 w-4 mr-2"}),t("Save Changes")]}),children:e.jsxs("form",{id:"cookie-settings-form",onSubmit:f,className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"flex items-center justify-between space-x-2",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(r,{htmlFor:"enableLogging",children:t("Enable Logging")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Enable cookie activity logging")})]}),e.jsx(j,{id:"enableLogging",checked:c.enableLogging,onCheckedChange:o=>n("enableLogging",o)})]}),e.jsxs("div",{className:"flex items-center justify-between space-x-2",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(r,{htmlFor:"strictlyNecessaryCookies",children:t("Strictly Necessary Cookies")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("These cookies are always enabled and cannot be disabled")})]}),e.jsx(j,{id:"strictlyNecessaryCookies",checked:!0,disabled:!0})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"cookieTitle",children:t("Cookie Title")}),e.jsx(d,{id:"cookieTitle",type:"text",value:c.cookieTitle,onChange:o=>n("cookieTitle",o.target.value),placeholder:t("Enter the main cookie consent title")})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"strictlyCookieTitle",children:t("Strictly Cookie Title")}),e.jsx(d,{id:"strictlyCookieTitle",type:"text",value:c.strictlyCookieTitle,onChange:o=>n("strictlyCookieTitle",o.target.value),placeholder:t("Enter the strictly necessary cookies title")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"cookieDescription",children:t("Cookie Description")}),e.jsx(g,{id:"cookieDescription",value:c.cookieDescription,onChange:o=>n("cookieDescription",o.target.value),placeholder:t("Enter the cookie consent description"),rows:4})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"strictlyCookieDescription",children:t("Strictly Cookie Description")}),e.jsx(g,{id:"strictlyCookieDescription",value:c.strictlyCookieDescription,onChange:o=>n("strictlyCookieDescription",o.target.value),placeholder:t("Enter the strictly necessary cookies description"),rows:4})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"contactUsDescription",children:t("Contact Us Description")}),e.jsx(g,{id:"contactUsDescription",value:c.contactUsDescription,onChange:o=>n("contactUsDescription",o.target.value),placeholder:t("Enter the contact us description for cookie inquiries"),rows:3})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"contactUsUrl",children:t("Contact Us URL")}),e.jsx(d,{id:"contactUsUrl",type:"url",value:c.contactUsUrl,onChange:o=>n("contactUsUrl",o.target.value),placeholder:t("Enter the contact us URL for cookie inquiries")})]})]}),e.jsx("div",{className:"pt-4 border-t",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-medium",children:t("Download Accepted Cookies")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Download a CSV file of accepted cookie preferences"})]}),e.jsxs(C,{type:"button",variant:"outline",size:"sm",onClick:v,children:[e.jsx(w,{className:"h-4 w-4 mr-2"}),"Download CSV"]})]})})]})})}export{P as default}; +import{r as y,j as e}from"./ui-Z445SNHD.js";import{u as U,c as b,ap as N,L as r,I as d,o as C,y as T,r as S,t as p}from"./app-Dya84jp7.js";import{T as g}from"./textarea-yeg8ONhy.js";import{S as j}from"./switch-DyHgm-Sg.js";import{D as w}from"./download-BBNmalxc.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function P({settings:k={}}){const{t}=U(),D=b().props,s={cookieTitle:"Cookie Consent",strictlyCookieTitle:"Strictly Necessary Cookies",cookieDescription:"We use cookies to enhance your browsing experience and provide personalized content.",strictlyCookieDescription:"These cookies are essential for the website to function properly.",contactUsDescription:"If you have any questions about our cookie policy, please contact us.",contactUsUrl:"https://example.com/contact"},i=Object.keys(k).length>0?k:D.settings||{},[c,h]=y.useState(()=>({enableLogging:i.enableLogging==="1"||i.enableLogging===!0,strictlyNecessaryCookies:!0,cookieTitle:i.cookieTitle||s.cookieTitle,strictlyCookieTitle:i.strictlyCookieTitle||s.strictlyCookieTitle,cookieDescription:i.cookieDescription||s.cookieDescription,strictlyCookieDescription:i.strictlyCookieDescription||s.strictlyCookieDescription,contactUsDescription:i.contactUsDescription||s.contactUsDescription,contactUsUrl:i.contactUsUrl||s.contactUsUrl}));y.useEffect(()=>{Object.keys(i).length>0&&h(o=>({...o,enableLogging:i.enableLogging==="1"||i.enableLogging===!0,strictlyNecessaryCookies:!0,cookieTitle:i.cookieTitle||s.cookieTitle,strictlyCookieTitle:i.strictlyCookieTitle||s.strictlyCookieTitle,cookieDescription:i.cookieDescription||s.cookieDescription,strictlyCookieDescription:i.strictlyCookieDescription||s.strictlyCookieDescription,contactUsDescription:i.contactUsDescription||s.contactUsDescription,contactUsUrl:i.contactUsUrl||s.contactUsUrl}))},[i]);const n=(o,a)=>{h(l=>({...l,[o]:a}))},f=o=>{o.preventDefault(),S.post(route("settings.cookie.update"),c,{preserveScroll:!0,onSuccess:a=>{var u,x;const l=(u=a.props.flash)==null?void 0:u.success,m=(x=a.props.flash)==null?void 0:x.error;l?p.success(l):m&&p.error(m)},onError:a=>{const l=a.error||Object.values(a).join(", ")||t("Failed to update cookie settings");p.error(l)}})},v=()=>{window.location.href=route("cookie.consent.download")};return e.jsx(N,{title:t("Cookie Settings"),description:t("Configure cookie consent and privacy settings for your application"),action:e.jsxs(C,{type:"submit",form:"cookie-settings-form",size:"sm",children:[e.jsx(T,{className:"h-4 w-4 mr-2"}),t("Save Changes")]}),children:e.jsxs("form",{id:"cookie-settings-form",onSubmit:f,className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"flex items-center justify-between space-x-2",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(r,{htmlFor:"enableLogging",children:t("Enable Logging")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Enable cookie activity logging")})]}),e.jsx(j,{id:"enableLogging",checked:c.enableLogging,onCheckedChange:o=>n("enableLogging",o)})]}),e.jsxs("div",{className:"flex items-center justify-between space-x-2",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(r,{htmlFor:"strictlyNecessaryCookies",children:t("Strictly Necessary Cookies")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("These cookies are always enabled and cannot be disabled")})]}),e.jsx(j,{id:"strictlyNecessaryCookies",checked:!0,disabled:!0})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"cookieTitle",children:t("Cookie Title")}),e.jsx(d,{id:"cookieTitle",type:"text",value:c.cookieTitle,onChange:o=>n("cookieTitle",o.target.value),placeholder:t("Enter the main cookie consent title")})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"strictlyCookieTitle",children:t("Strictly Cookie Title")}),e.jsx(d,{id:"strictlyCookieTitle",type:"text",value:c.strictlyCookieTitle,onChange:o=>n("strictlyCookieTitle",o.target.value),placeholder:t("Enter the strictly necessary cookies title")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"cookieDescription",children:t("Cookie Description")}),e.jsx(g,{id:"cookieDescription",value:c.cookieDescription,onChange:o=>n("cookieDescription",o.target.value),placeholder:t("Enter the cookie consent description"),rows:4})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"strictlyCookieDescription",children:t("Strictly Cookie Description")}),e.jsx(g,{id:"strictlyCookieDescription",value:c.strictlyCookieDescription,onChange:o=>n("strictlyCookieDescription",o.target.value),placeholder:t("Enter the strictly necessary cookies description"),rows:4})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"contactUsDescription",children:t("Contact Us Description")}),e.jsx(g,{id:"contactUsDescription",value:c.contactUsDescription,onChange:o=>n("contactUsDescription",o.target.value),placeholder:t("Enter the contact us description for cookie inquiries"),rows:3})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(r,{htmlFor:"contactUsUrl",children:t("Contact Us URL")}),e.jsx(d,{id:"contactUsUrl",type:"url",value:c.contactUsUrl,onChange:o=>n("contactUsUrl",o.target.value),placeholder:t("Enter the contact us URL for cookie inquiries")})]})]}),e.jsx("div",{className:"pt-4 border-t",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-medium",children:t("Download Accepted Cookies")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Download a CSV file of accepted cookie preferences"})]}),e.jsxs(C,{type:"button",variant:"outline",size:"sm",onClick:v,children:[e.jsx(w,{className:"h-4 w-4 mr-2"}),"Download CSV"]})]})})]})})}export{P as default}; diff --git a/public/build/assets/copy-xfopPExK.js b/public/build/assets/copy-G5cMddid.js similarity index 89% rename from public/build/assets/copy-xfopPExK.js rename to public/build/assets/copy-G5cMddid.js index 7672d3846..fae012d03 100644 --- a/public/build/assets/copy-xfopPExK.js +++ b/public/build/assets/copy-G5cMddid.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/create-DA2IkrK2.js b/public/build/assets/create-Aqz7hpS_.js similarity index 80% rename from public/build/assets/create-DA2IkrK2.js rename to public/build/assets/create-Aqz7hpS_.js index 7b2ce7980..122522aeb 100644 --- a/public/build/assets/create-DA2IkrK2.js +++ b/public/build/assets/create-Aqz7hpS_.js @@ -1 +1 @@ -import{r as f,j as e}from"./ui-Z445SNHD.js";import{P as R}from"./page-template-BTxLyiDA.js";import{u as E,c as F,C as D,m as I,n as P,z as V,l as k,L as c,I as q,o as S,t as d,r as w}from"./app-CfhhiFAk.js";import{S as p,a as h,b as v,c as x,d as o}from"./select-BrY9osYp.js";import{A as T}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function fe(){const{t:r}=E(),{employees:j,reviewCycles:g}=F().props,[l,_]=f.useState({employee_id:"",reviewer_id:"",review_cycle_id:"",review_date:"",status:"scheduled"}),[s,n]=f.useState({}),C=i=>{const{name:t,value:a}=i.target;_(u=>({...u,[t]:a})),s[t]&&n(u=>({...u,[t]:null}))},m=(i,t)=>{_(a=>({...a,[i]:t})),s[i]&&n(a=>({...a,[i]:null}))},N=i=>{i.preventDefault();const t={};if(l.employee_id||(t.employee_id=r("Employee is required")),l.reviewer_id||(t.reviewer_id=r("Reviewer is required")),l.review_cycle_id||(t.review_cycle_id=r("Review cycle is required")),l.review_date||(t.review_date=r("Review date is required")),Object.keys(t).length>0){n(t);return}d.loading(r("Scheduling employee review...")),w.post(route("hr.performance.employee-reviews.store"),l,{onSuccess:a=>{d.dismiss(),a.props.flash.success&&d.success(r(a.props.flash.success)),w.visit(route("hr.performance.employee-reviews.index"))},onError:a=>{d.dismiss(),n(a),typeof a=="string"?d.error(r(a)):d.error(r("Failed to schedule employee review"))}})},y=()=>{w.visit(route("hr.performance.employee-reviews.index"))},b=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.performance.employee-reviews.index")},{title:r("Performance"),href:route("hr.performance.employee-reviews.index")},{title:r("Employee Reviews"),href:route("hr.performance.employee-reviews.index")},{title:r("Schedule Review")}];return e.jsx(R,{title:r("Schedule Employee Review"),url:"/hr/performance/employee-reviews/create",breadcrumbs:b,actions:[{label:r("Back"),icon:e.jsx(T,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:y}],children:e.jsx("form",{onSubmit:N,children:e.jsxs(D,{children:[e.jsxs(I,{children:[e.jsx(P,{children:r("Schedule New Review")}),e.jsx(V,{children:r("Create a new performance review for an employee")})]}),e.jsx(k,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"employee_id",children:[r("Employee")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(p,{value:l.employee_id,onValueChange:i=>m("employee_id",i),children:[e.jsx(h,{className:s.employee_id?"border-red-500":"",children:e.jsx(v,{placeholder:r("Select employee")})}),e.jsx(x,{searchable:!0,children:j.map(i=>e.jsx(o,{value:i.id.toString(),children:`${i.name} (${i.employee_id})`},i.id))})]}),s.employee_id&&e.jsx("p",{className:"text-red-500 text-sm",children:s.employee_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"reviewer_id",children:[r("Reviewer")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(p,{value:l.reviewer_id,onValueChange:i=>m("reviewer_id",i),children:[e.jsx(h,{className:s.reviewer_id?"border-red-500":"",children:e.jsx(v,{placeholder:r("Select reviewer")})}),e.jsx(x,{searchable:!0,children:j.map(i=>e.jsx(o,{value:i.id.toString(),children:`${i.name} (${i.employee_id})`},i.id))})]}),s.reviewer_id&&e.jsx("p",{className:"text-red-500 text-sm",children:s.reviewer_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"review_cycle_id",children:[r("Review Cycle")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(p,{value:l.review_cycle_id,onValueChange:i=>m("review_cycle_id",i),children:[e.jsx(h,{className:s.review_cycle_id?"border-red-500":"",children:e.jsx(v,{placeholder:r("Select review cycle")})}),e.jsx(x,{searchable:!0,children:g.map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),s.review_cycle_id&&e.jsx("p",{className:"text-red-500 text-sm",children:s.review_cycle_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"review_date",children:[r("Review Date")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(q,{id:"review_date",name:"review_date",type:"date",value:l.review_date,onChange:C,className:s.review_date?"border-red-500":""}),s.review_date&&e.jsx("p",{className:"text-red-500 text-sm",children:s.review_date})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"status",children:r("Status")}),e.jsxs(p,{value:l.status,onValueChange:i=>m("status",i),children:[e.jsx(h,{children:e.jsx(v,{placeholder:r("Select status")})}),e.jsxs(x,{children:[e.jsx(o,{value:"scheduled",children:r("Scheduled")}),e.jsx(o,{value:"in_progress",children:r("In Progress")})]})]})]})]})}),e.jsxs("div",{className:"flex justify-end space-x-4 px-6 pb-6",children:[e.jsx(S,{type:"button",variant:"outline",onClick:y,children:r("Cancel")}),e.jsx(S,{type:"submit",children:r("Schedule Review")})]})]})})})}export{fe as default}; +import{r as f,j as e}from"./ui-Z445SNHD.js";import{P as R}from"./page-template-CLNVC8w_.js";import{u as E,c as F,C as D,m as I,n as P,z as V,l as k,L as c,I as q,o as S,t as d,r as w}from"./app-Dya84jp7.js";import{S as p,a as h,b as v,c as x,d as o}from"./select-CHkpLxhL.js";import{A as T}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function fe(){const{t:r}=E(),{employees:j,reviewCycles:g}=F().props,[l,_]=f.useState({employee_id:"",reviewer_id:"",review_cycle_id:"",review_date:"",status:"scheduled"}),[s,n]=f.useState({}),C=i=>{const{name:t,value:a}=i.target;_(u=>({...u,[t]:a})),s[t]&&n(u=>({...u,[t]:null}))},m=(i,t)=>{_(a=>({...a,[i]:t})),s[i]&&n(a=>({...a,[i]:null}))},N=i=>{i.preventDefault();const t={};if(l.employee_id||(t.employee_id=r("Employee is required")),l.reviewer_id||(t.reviewer_id=r("Reviewer is required")),l.review_cycle_id||(t.review_cycle_id=r("Review cycle is required")),l.review_date||(t.review_date=r("Review date is required")),Object.keys(t).length>0){n(t);return}d.loading(r("Scheduling employee review...")),w.post(route("hr.performance.employee-reviews.store"),l,{onSuccess:a=>{d.dismiss(),a.props.flash.success&&d.success(r(a.props.flash.success)),w.visit(route("hr.performance.employee-reviews.index"))},onError:a=>{d.dismiss(),n(a),typeof a=="string"?d.error(r(a)):d.error(r("Failed to schedule employee review"))}})},y=()=>{w.visit(route("hr.performance.employee-reviews.index"))},b=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.performance.employee-reviews.index")},{title:r("Performance"),href:route("hr.performance.employee-reviews.index")},{title:r("Employee Reviews"),href:route("hr.performance.employee-reviews.index")},{title:r("Schedule Review")}];return e.jsx(R,{title:r("Schedule Employee Review"),url:"/hr/performance/employee-reviews/create",breadcrumbs:b,actions:[{label:r("Back"),icon:e.jsx(T,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:y}],children:e.jsx("form",{onSubmit:N,children:e.jsxs(D,{children:[e.jsxs(I,{children:[e.jsx(P,{children:r("Schedule New Review")}),e.jsx(V,{children:r("Create a new performance review for an employee")})]}),e.jsx(k,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"employee_id",children:[r("Employee")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(p,{value:l.employee_id,onValueChange:i=>m("employee_id",i),children:[e.jsx(h,{className:s.employee_id?"border-red-500":"",children:e.jsx(v,{placeholder:r("Select employee")})}),e.jsx(x,{searchable:!0,children:j.map(i=>e.jsx(o,{value:i.id.toString(),children:`${i.name} (${i.employee_id})`},i.id))})]}),s.employee_id&&e.jsx("p",{className:"text-red-500 text-sm",children:s.employee_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"reviewer_id",children:[r("Reviewer")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(p,{value:l.reviewer_id,onValueChange:i=>m("reviewer_id",i),children:[e.jsx(h,{className:s.reviewer_id?"border-red-500":"",children:e.jsx(v,{placeholder:r("Select reviewer")})}),e.jsx(x,{searchable:!0,children:j.map(i=>e.jsx(o,{value:i.id.toString(),children:`${i.name} (${i.employee_id})`},i.id))})]}),s.reviewer_id&&e.jsx("p",{className:"text-red-500 text-sm",children:s.reviewer_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"review_cycle_id",children:[r("Review Cycle")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(p,{value:l.review_cycle_id,onValueChange:i=>m("review_cycle_id",i),children:[e.jsx(h,{className:s.review_cycle_id?"border-red-500":"",children:e.jsx(v,{placeholder:r("Select review cycle")})}),e.jsx(x,{searchable:!0,children:g.map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),s.review_cycle_id&&e.jsx("p",{className:"text-red-500 text-sm",children:s.review_cycle_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"review_date",children:[r("Review Date")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(q,{id:"review_date",name:"review_date",type:"date",value:l.review_date,onChange:C,className:s.review_date?"border-red-500":""}),s.review_date&&e.jsx("p",{className:"text-red-500 text-sm",children:s.review_date})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"status",children:r("Status")}),e.jsxs(p,{value:l.status,onValueChange:i=>m("status",i),children:[e.jsx(h,{children:e.jsx(v,{placeholder:r("Select status")})}),e.jsxs(x,{children:[e.jsx(o,{value:"scheduled",children:r("Scheduled")}),e.jsx(o,{value:"in_progress",children:r("In Progress")})]})]})]})]})}),e.jsxs("div",{className:"flex justify-end space-x-4 px-6 pb-6",children:[e.jsx(S,{type:"button",variant:"outline",onClick:y,children:r("Cancel")}),e.jsx(S,{type:"submit",children:r("Schedule Review")})]})]})})})}export{fe as default}; diff --git a/public/build/assets/create-D1cxLDHA.js b/public/build/assets/create-D1cxLDHA.js new file mode 100644 index 000000000..b06b2ed32 --- /dev/null +++ b/public/build/assets/create-D1cxLDHA.js @@ -0,0 +1 @@ +import{j as t}from"./ui-Z445SNHD.js";import o from"./form-VUM5bQKz.js";import"./page-template-CLNVC8w_.js";import"./app-Dya84jp7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";function N({hasDefaultPlan:r}){return t.jsx(o,{hasDefaultPlan:r})}export{N as default}; diff --git a/public/build/assets/create-CEEzYIw1.js b/public/build/assets/create-D6ap4dph.js similarity index 94% rename from public/build/assets/create-CEEzYIw1.js rename to public/build/assets/create-D6ap4dph.js index 024737965..38e3e1df7 100644 --- a/public/build/assets/create-CEEzYIw1.js +++ b/public/build/assets/create-D6ap4dph.js @@ -1 +1 @@ -import{r as g,j as e}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-BTxLyiDA.js";import{u as se,c as re,C as b,m as f,n as N,l as v,L as n,I as o,o as S,P as ae,r as F,t as I}from"./app-CfhhiFAk.js";import{S as x,a as p,b as u,c as _,d as h}from"./select-BrY9osYp.js";import{R as te,a as P}from"./radio-group-CLGfOEmR.js";import{M as de}from"./multi-select-field-Dxyl0jtB.js";import{T as ie}from"./trash-2-C1NR_7Ss.js";import{A as le}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./circle-BoWbKVIN.js";function Qe(){const{t:a}=se(),{branches:L,departments:T,designations:q,documentTypes:C,shifts:k,attendancePolicies:ne,generatedEmployeeId:O,csrf_token:$,roles:B,defaultRole:A}=re().props,U=C&&Array.isArray(C)?C.filter(s=>s.is_required).map(s=>({document_type_id:s.id.toString(),file:null,expiry_date:"",is_required:!0})):[],[i,j]=g.useState({name:"",biometric_emp_id:"",email:"",password:"",phone:"",date_of_birth:"",gender:"",branch_id:"",department_id:"",designation_id:"",shift_id:"",rest_days:[],date_of_joining:"",employment_type:"Full-time",employee_status:"active",address_line_1:"",address_line_2:"",city:"",state:"",country:"",postal_code:"",emergency_contact_name:"",emergency_contact_relationship:"",emergency_contact_number:"",bank_name:"",account_holder_name:"",account_number:"",bank_identifier_code:"",bank_branch:"",tax_payer_id:"",salary:"",role_id:A?String(A):"",documents:U}),[r,y]=g.useState({}),[ce,D]=g.useState(!1),[R,z]=g.useState(null),[V,G]=g.useState(null),H=i.branch_id?T.filter(s=>String(s.branch_id)===String(i.branch_id)):T,W=i.department_id?q.filter(s=>String(s.department_id)===String(i.department_id)):q,c=(s,t)=>{j(d=>({...d,[s]:t})),r[s]&&y(d=>{const l={...d};return delete l[s],l}),s==="branch_id"&&j(d=>({...d,branch_id:t,department_id:"",designation_id:""})),s==="department_id"&&j(d=>({...d,department_id:t,designation_id:""}))},J=s=>{if(s.target.files&&s.target.files[0]){const t=s.target.files[0];z(t),G(URL.createObjectURL(t)),r.profile_image&&y(d=>{const l={...d};return delete l.profile_image,l})}},E=(s,t,d)=>{const l=[...i.documents];l[s]={...l[s],[t]:d},j(w=>({...w,documents:l}));const m=`documents.${s}.${t}`;r[m]&&y(w=>{const M={...w};return delete M[m],M})},K=(s,t)=>{if(t.target.files&&t.target.files[0]){const d=t.target.files[0];E(s,"file",d)}},X=()=>{j(s=>({...s,documents:[...s.documents,{document_type_id:"",file:null,expiry_date:""}]}))},Z=s=>{const t=[...i.documents];t.splice(s,1),j(l=>({...l,documents:t}));const d={...r};Object.keys(d).forEach(l=>{l.startsWith(`documents.${s}.`)&&delete d[l]}),y(d)},Q=s=>{s.preventDefault(),D(!0);const t=new FormData;$&&t.append("_token",$),Object.entries(i).forEach(([d,l])=>{d!=="documents"&&(Array.isArray(l)?l.forEach(m=>{t.append(`${d}[]`,m)}):l!=null&&l!==""&&t.append(d,l))}),R&&t.append("profile_image",R),i.documents.forEach((d,l)=>{d.document_type_id&&t.append(`documents[${l}][document_type_id]`,d.document_type_id),d.file&&t.append(`documents[${l}][file]`,d.file),d.expiry_date&&t.append(`documents[${l}][expiry_date]`,d.expiry_date)}),F.post(route("hr.employees.store"),t,{forceFormData:!0,preserveState:!0,onSuccess:d=>{var l,m;if(D(!1),(l=d.props.flash)!=null&&l.error){I.error(a(d.props.flash.error));return}(m=d.props.flash)!=null&&m.success&&I.success(a(d.props.flash.success)),F.get(route("hr.employees.index"))},onError:d=>{D(!1),y(d);const l=Object.values(d)[0];I.error(l?String(l):a("Please correct the errors in the form")),setTimeout(()=>{const m=document.querySelector(".text-red-500, .border-red-500");m&&(m.scrollIntoView({behavior:"smooth",block:"center"}),(m.tagName==="INPUT"||m.tagName==="TEXTAREA"||m.tagName==="SELECT")&&m.focus())},100)}})},Y=[{title:a("Dashboard"),href:route("dashboard")},{title:a("HR Management"),href:route("hr.employees.index")},{title:a("Employees"),href:route("hr.employees.index")},{title:a("Create Employee")}];return e.jsx(ee,{title:a("Create Employee"),url:"/hr/employees/create",breadcrumbs:Y,actions:[{label:a("Back"),icon:e.jsx(le,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>F.get(route("hr.employees.index"))}],children:e.jsxs("form",{onSubmit:Q,className:"space-y-6",children:[e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Basic Information")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"name",required:!0,children:a("Full Name")}),e.jsx(o,{id:"name",value:i.name,onChange:s=>c("name",s.target.value),className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"employee_id",children:a("Employee ID")}),e.jsx(o,{id:"employee_id",value:O,readOnly:!0,className:"bg-muted"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("Employee ID will be auto-generated")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"biometric_emp_id",children:a("Employee Code")}),e.jsx(o,{id:"biometric_emp_id",value:i.biometric_emp_id||"",onChange:s=>c("biometric_emp_id",s.target.value),placeholder:"",className:r.biometric_emp_id?"border-red-500":""}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("This ID will be used to map employee with biometric device.")}),r.biometric_emp_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.biometric_emp_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"email",required:!0,children:a("Email")}),e.jsx(o,{id:"email",type:"email",required:!0,value:i.email,onChange:s=>c("email",s.target.value),className:r.email?"border-red-500":""}),r.email&&e.jsx("p",{className:"text-red-500 text-xs",children:r.email})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"password",required:!0,children:a("Password")}),e.jsx(o,{id:"password",type:"password",required:!0,value:i.password,onChange:s=>c("password",s.target.value),className:r.password?"border-red-500":""}),r.password&&e.jsx("p",{className:"text-red-500 text-xs",children:r.password})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"role_id",children:a("Role")}),e.jsxs(x,{value:i.role_id,onValueChange:s=>c("role_id",s),children:[e.jsx(p,{id:"role_id",className:r.role_id?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select role")})}),e.jsx(_,{children:B&&B.map(s=>e.jsx(h,{value:String(s.id),children:s.name.charAt(0).toUpperCase()+s.name.slice(1)},s.id))})]}),r.role_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.role_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"phone",required:!0,children:a("Phone Number")}),e.jsx(o,{id:"phone",required:!0,value:i.phone,onChange:s=>c("phone",s.target.value),className:r.phone?"border-red-500":""}),r.phone&&e.jsx("p",{className:"text-red-500 text-xs",children:r.phone})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"date_of_birth",required:!0,children:a("Date of Birth")}),e.jsx("div",{className:"cursor-pointer",onClick:s=>{var d;const t=s.currentTarget.querySelector("input");try{(d=t==null?void 0:t.showPicker)==null||d.call(t)}catch{t==null||t.focus()}},children:e.jsx(o,{id:"date_of_birth",type:"date",required:!0,value:i.date_of_birth,onChange:s=>c("date_of_birth",s.target.value),className:`cursor-pointer ${r.date_of_birth?"border-red-500":""}`})}),r.date_of_birth&&e.jsx("p",{className:"text-red-500 text-xs",children:r.date_of_birth})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{required:!0,children:a("Gender")}),e.jsxs(te,{value:i.gender,onValueChange:s=>c("gender",s),className:"flex space-x-4",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{value:"male",id:"gender-male"}),e.jsx(n,{htmlFor:"gender-male",children:a("Male")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{value:"female",id:"gender-female"}),e.jsx(n,{htmlFor:"gender-female",children:a("Female")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{value:"other",id:"gender-other"}),e.jsx(n,{htmlFor:"gender-other",children:a("Other")})]})]}),r.gender&&e.jsx("p",{className:"text-red-500 text-xs",children:r.gender})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{children:a("Profile Image")}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 h-32",children:V?e.jsx("img",{src:V,alt:"Profile Image",className:"max-h-full max-w-full object-contain rounded-full"}):e.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[e.jsx("div",{className:"h-12 w-12 bg-muted flex items-center justify-center rounded-full border border-dashed",children:e.jsx("span",{className:"font-semibold text-xs text-muted-foreground",children:a("Image")})}),e.jsx("span",{className:"text-xs",children:a("No image selected")})]})}),e.jsx(o,{type:"file",accept:"image/*",onChange:J,className:"cursor-pointer"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Max file size: 2MB")})]}),r.profile_image&&e.jsx("p",{className:"text-red-500 text-xs",children:r.profile_image})]})]})})]}),e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Employment Details")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"branch_id",required:!0,children:a("Branch")}),e.jsxs(x,{required:!0,value:i.branch_id,onValueChange:s=>c("branch_id",s),children:[e.jsx(p,{className:r.branch_id?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Branch")})}),e.jsx(_,{searchable:!0,children:L.map(s=>e.jsx(h,{value:s.id.toString(),children:s.name},s.id))})]}),r.branch_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.branch_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"department_id",required:!0,children:a("Department")}),e.jsxs(x,{required:!0,value:i.department_id,onValueChange:s=>c("department_id",s),disabled:!i.branch_id,children:[e.jsx(p,{className:r.department_id?"border-red-500":"",children:e.jsx(u,{placeholder:i.branch_id?a("Select Department"):a("Select Branch First")})}),e.jsx(_,{searchable:!0,children:H.map(s=>e.jsx(h,{value:s.id.toString(),children:s.name},s.id))})]}),r.department_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.department_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"designation_id",required:!0,children:a("Designation")}),e.jsxs(x,{required:!0,value:i.designation_id,onValueChange:s=>c("designation_id",s),disabled:!i.department_id,children:[e.jsx(p,{className:r.designation_id?"border-red-500":"",children:e.jsx(u,{placeholder:i.department_id?a("Select Designation"):a("Select Department First")})}),e.jsx(_,{searchable:!0,children:W.map(s=>e.jsx(h,{value:s.id.toString(),children:s.name},s.id))})]}),r.designation_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.designation_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"date_of_joining",children:a("Date of Joining")}),e.jsx("div",{className:"cursor-pointer",onClick:s=>{var d;const t=s.currentTarget.querySelector("input");try{(d=t==null?void 0:t.showPicker)==null||d.call(t)}catch{t==null||t.focus()}},children:e.jsx(o,{id:"date_of_joining",type:"date",value:i.date_of_joining,onChange:s=>c("date_of_joining",s.target.value),className:`cursor-pointer ${r.date_of_joining?"border-red-500":""}`})}),r.date_of_joining&&e.jsx("p",{className:"text-red-500 text-xs",children:r.date_of_joining})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"employment_type",children:a("Employment Type")}),e.jsxs(x,{value:i.employment_type,onValueChange:s=>c("employment_type",s),children:[e.jsx(p,{className:r.employment_type?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Employment Type")})}),e.jsxs(_,{children:[e.jsx(h,{value:"Full-time",children:a("Full-time")}),e.jsx(h,{value:"Part-time",children:a("Part-time")}),e.jsx(h,{value:"Contract",children:a("Contract")}),e.jsx(h,{value:"Internship",children:a("Internship")}),e.jsx(h,{value:"Temporary",children:a("Temporary")})]})]}),r.employment_type&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employment_type})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"employee_status",children:a("Employee Status")}),e.jsxs(x,{value:i.employee_status,onValueChange:s=>c("employee_status",s),children:[e.jsx(p,{className:r.employee_status?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Employee Status")})}),e.jsxs(_,{children:[e.jsx(h,{value:"active",children:a("Active")}),e.jsx(h,{value:"inactive",children:a("Inactive")}),e.jsx(h,{value:"probation",children:a("Probation")}),e.jsx(h,{value:"terminated",children:a("Terminated")})]})]}),r.employee_status&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employee_status})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"shift_id",children:a("Shift")}),e.jsxs(x,{value:i.shift_id,onValueChange:s=>c("shift_id",s),children:[e.jsx(p,{className:r.shift_id?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Shift (Optional)")})}),e.jsx(_,{searchable:!0,children:k==null?void 0:k.map(s=>e.jsxs(h,{value:s.id.toString(),children:[s.name," (",s.start_time," - ",s.end_time,")"]},s.id))})]}),r.shift_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.shift_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"rest_days",children:a("Rest Days")}),e.jsx(de,{field:{name:"rest_days",label:a("Rest Days"),options:[{value:"monday",label:a("Monday")},{value:"tuesday",label:a("Tuesday")},{value:"wednesday",label:a("Wednesday")},{value:"thursday",label:a("Thursday")},{value:"friday",label:a("Friday")},{value:"saturday",label:a("Saturday")},{value:"sunday",label:a("Sunday")}]},formData:i,handleChange:c}),r.rest_days&&e.jsx("p",{className:"text-red-500 text-xs",children:r.rest_days})]})]})})]}),e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Contact Information")})}),e.jsxs(v,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"address_line_1",children:a("Address Line 1")}),e.jsx(o,{id:"address_line_1",value:i.address_line_1,onChange:s=>c("address_line_1",s.target.value),className:r.address_line_1?"border-red-500":""}),r.address_line_1&&e.jsx("p",{className:"text-red-500 text-xs",children:r.address_line_1})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"address_line_2",children:a("Address Line 2")}),e.jsx(o,{id:"address_line_2",value:i.address_line_2,onChange:s=>c("address_line_2",s.target.value),className:r.address_line_2?"border-red-500":""}),r.address_line_2&&e.jsx("p",{className:"text-red-500 text-xs",children:r.address_line_2})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"city",children:a("City")}),e.jsx(o,{id:"city",value:i.city,onChange:s=>c("city",s.target.value),className:r.city?"border-red-500":""}),r.city&&e.jsx("p",{className:"text-red-500 text-xs",children:r.city})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"state",children:a("State/Province")}),e.jsx(o,{id:"state",value:i.state,onChange:s=>c("state",s.target.value),className:r.state?"border-red-500":""}),r.state&&e.jsx("p",{className:"text-red-500 text-xs",children:r.state})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"country",children:a("Country")}),e.jsx(o,{id:"country",value:i.country,onChange:s=>c("country",s.target.value),className:r.country?"border-red-500":""}),r.country&&e.jsx("p",{className:"text-red-500 text-xs",children:r.country})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"postal_code",children:a("Postal/Zip Code")}),e.jsx(o,{id:"postal_code",value:i.postal_code,onChange:s=>c("postal_code",s.target.value),className:r.postal_code?"border-red-500":""}),r.postal_code&&e.jsx("p",{className:"text-red-500 text-xs",children:r.postal_code})]})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:a("Emergency Contact")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"emergency_contact_name",children:a("Name")}),e.jsx(o,{id:"emergency_contact_name",value:i.emergency_contact_name,onChange:s=>c("emergency_contact_name",s.target.value),className:r.emergency_contact_name?"border-red-500":""}),r.emergency_contact_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"emergency_contact_relationship",children:a("Relationship")}),e.jsx(o,{id:"emergency_contact_relationship",value:i.emergency_contact_relationship,onChange:s=>c("emergency_contact_relationship",s.target.value),className:r.emergency_contact_relationship?"border-red-500":""}),r.emergency_contact_relationship&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_relationship})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"emergency_contact_number",children:a("Phone Number")}),e.jsx(o,{id:"emergency_contact_number",value:i.emergency_contact_number,onChange:s=>c("emergency_contact_number",s.target.value),className:r.emergency_contact_number?"border-red-500":""}),r.emergency_contact_number&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_number})]})]})]})]})]}),e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Banking Information")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"bank_name",children:a("Bank Name")}),e.jsx(o,{id:"bank_name",value:i.bank_name,onChange:s=>c("bank_name",s.target.value),className:r.bank_name?"border-red-500":""}),r.bank_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"account_holder_name",children:a("Account Holder Name")}),e.jsx(o,{id:"account_holder_name",value:i.account_holder_name,onChange:s=>c("account_holder_name",s.target.value),className:r.account_holder_name?"border-red-500":""}),r.account_holder_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.account_holder_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"account_number",children:a("Account Number")}),e.jsx(o,{id:"account_number",value:i.account_number,onChange:s=>c("account_number",s.target.value),className:r.account_number?"border-red-500":""}),r.account_number&&e.jsx("p",{className:"text-red-500 text-xs",children:r.account_number})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"bank_identifier_code",children:a("Bank Identifier Code (BIC/SWIFT)")}),e.jsx(o,{id:"bank_identifier_code",value:i.bank_identifier_code,onChange:s=>c("bank_identifier_code",s.target.value),className:r.bank_identifier_code?"border-red-500":""}),r.bank_identifier_code&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_identifier_code})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"bank_branch",children:a("Bank Branch")}),e.jsx(o,{id:"bank_branch",value:i.bank_branch,onChange:s=>c("bank_branch",s.target.value),className:r.bank_branch?"border-red-500":""}),r.bank_branch&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_branch})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"tax_payer_id",children:a("Tax Payer ID")}),e.jsx(o,{id:"tax_payer_id",value:i.tax_payer_id,onChange:s=>c("tax_payer_id",s.target.value),className:r.tax_payer_id?"border-red-500":""}),r.tax_payer_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.tax_payer_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"salary",required:!0,children:a("Base Salary")}),e.jsx(o,{required:!0,id:"salary",type:"number",step:"0.01",value:i.salary,onChange:s=>c("salary",s.target.value),className:r.salary?"border-red-500":""}),r.salary&&e.jsx("p",{className:"text-red-500 text-xs",children:r.salary})]})]})})]}),e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Documents")})}),e.jsxs(v,{className:"space-y-4",children:[i.documents.map((s,t)=>e.jsxs("div",{className:"border rounded-md p-4 space-y-4",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("h3",{className:"text-lg font-medium",children:[a("Document")," #",t+1]}),!s.is_required&&e.jsx(S,{type:"button",variant:"ghost",size:"sm",onClick:()=>Z(t),children:e.jsx(ie,{className:"h-4 w-4 text-red-500"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(n,{htmlFor:`document_type_${t}`,children:[a("Document Type")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(x,{value:s.document_type_id,onValueChange:d=>E(t,"document_type_id",d),children:[e.jsx(p,{className:r[`documents.${t}.document_type_id`]?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Document Type")})}),e.jsx(_,{children:C.filter(d=>d.id.toString()===s.document_type_id?!0:!i.documents.some(l=>l.document_type_id===d.id.toString())).map(d=>e.jsxs(h,{value:d.id.toString(),children:[d.name," ",d.is_required&&e.jsx("span",{className:"text-red-500",children:"*"})]},d.id))})]}),r[`documents.${t}.document_type_id`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.document_type_id`]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(n,{children:[a("File")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx(o,{type:"file",onChange:d=>K(t,d),className:r[`documents.${t}.file`]?"border-red-500":""}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Max file size: 5MB")})]}),r[`documents.${t}.file`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.file`]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:`document_expiry_${t}`,children:a("Expiry Date")}),e.jsx("div",{className:"cursor-pointer",onClick:d=>{var m;const l=d.currentTarget.querySelector("input");try{(m=l==null?void 0:l.showPicker)==null||m.call(l)}catch{l==null||l.focus()}},children:e.jsx(o,{id:`document_expiry_${t}`,type:"date",value:s.expiry_date,onChange:d=>E(t,"expiry_date",d.target.value),className:`cursor-pointer ${r[`documents.${t}.expiry_date`]?"border-red-500":""}`})}),r[`documents.${t}.expiry_date`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.expiry_date`]})]})]})]},t)),e.jsxs(S,{type:"button",variant:"outline",onClick:X,className:"mt-4",children:[e.jsx(ae,{className:"h-4 w-4 mr-2"}),a("Add Document")]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-4",children:[e.jsx(S,{type:"button",variant:"outline",onClick:()=>F.get(route("hr.employees.index")),children:a("Cancel")}),e.jsx(S,{type:"submit",children:a("Save")})]})]})})}export{Qe as default}; +import{r as g,j as e}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-CLNVC8w_.js";import{u as se,c as re,C as b,m as f,n as N,l as v,L as n,I as o,o as S,P as ae,r as F,t as I}from"./app-Dya84jp7.js";import{S as x,a as p,b as u,c as _,d as h}from"./select-CHkpLxhL.js";import{R as te,a as P}from"./radio-group-BMzEN82K.js";import{M as de}from"./multi-select-field-CO_GzZgi.js";import{T as ie}from"./trash-2-BeirBLIk.js";import{A as le}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./circle-C2Wo_gI7.js";function Qe(){const{t:a}=se(),{branches:L,departments:T,designations:q,documentTypes:C,shifts:k,attendancePolicies:ne,generatedEmployeeId:O,csrf_token:$,roles:B,defaultRole:A}=re().props,U=C&&Array.isArray(C)?C.filter(s=>s.is_required).map(s=>({document_type_id:s.id.toString(),file:null,expiry_date:"",is_required:!0})):[],[i,j]=g.useState({name:"",biometric_emp_id:"",email:"",password:"",phone:"",date_of_birth:"",gender:"",branch_id:"",department_id:"",designation_id:"",shift_id:"",rest_days:[],date_of_joining:"",employment_type:"Full-time",employee_status:"active",address_line_1:"",address_line_2:"",city:"",state:"",country:"",postal_code:"",emergency_contact_name:"",emergency_contact_relationship:"",emergency_contact_number:"",bank_name:"",account_holder_name:"",account_number:"",bank_identifier_code:"",bank_branch:"",tax_payer_id:"",salary:"",role_id:A?String(A):"",documents:U}),[r,y]=g.useState({}),[ce,D]=g.useState(!1),[R,z]=g.useState(null),[V,G]=g.useState(null),H=i.branch_id?T.filter(s=>String(s.branch_id)===String(i.branch_id)):T,W=i.department_id?q.filter(s=>String(s.department_id)===String(i.department_id)):q,c=(s,t)=>{j(d=>({...d,[s]:t})),r[s]&&y(d=>{const l={...d};return delete l[s],l}),s==="branch_id"&&j(d=>({...d,branch_id:t,department_id:"",designation_id:""})),s==="department_id"&&j(d=>({...d,department_id:t,designation_id:""}))},J=s=>{if(s.target.files&&s.target.files[0]){const t=s.target.files[0];z(t),G(URL.createObjectURL(t)),r.profile_image&&y(d=>{const l={...d};return delete l.profile_image,l})}},E=(s,t,d)=>{const l=[...i.documents];l[s]={...l[s],[t]:d},j(w=>({...w,documents:l}));const m=`documents.${s}.${t}`;r[m]&&y(w=>{const M={...w};return delete M[m],M})},K=(s,t)=>{if(t.target.files&&t.target.files[0]){const d=t.target.files[0];E(s,"file",d)}},X=()=>{j(s=>({...s,documents:[...s.documents,{document_type_id:"",file:null,expiry_date:""}]}))},Z=s=>{const t=[...i.documents];t.splice(s,1),j(l=>({...l,documents:t}));const d={...r};Object.keys(d).forEach(l=>{l.startsWith(`documents.${s}.`)&&delete d[l]}),y(d)},Q=s=>{s.preventDefault(),D(!0);const t=new FormData;$&&t.append("_token",$),Object.entries(i).forEach(([d,l])=>{d!=="documents"&&(Array.isArray(l)?l.forEach(m=>{t.append(`${d}[]`,m)}):l!=null&&l!==""&&t.append(d,l))}),R&&t.append("profile_image",R),i.documents.forEach((d,l)=>{d.document_type_id&&t.append(`documents[${l}][document_type_id]`,d.document_type_id),d.file&&t.append(`documents[${l}][file]`,d.file),d.expiry_date&&t.append(`documents[${l}][expiry_date]`,d.expiry_date)}),F.post(route("hr.employees.store"),t,{forceFormData:!0,preserveState:!0,onSuccess:d=>{var l,m;if(D(!1),(l=d.props.flash)!=null&&l.error){I.error(a(d.props.flash.error));return}(m=d.props.flash)!=null&&m.success&&I.success(a(d.props.flash.success)),F.get(route("hr.employees.index"))},onError:d=>{D(!1),y(d);const l=Object.values(d)[0];I.error(l?String(l):a("Please correct the errors in the form")),setTimeout(()=>{const m=document.querySelector(".text-red-500, .border-red-500");m&&(m.scrollIntoView({behavior:"smooth",block:"center"}),(m.tagName==="INPUT"||m.tagName==="TEXTAREA"||m.tagName==="SELECT")&&m.focus())},100)}})},Y=[{title:a("Dashboard"),href:route("dashboard")},{title:a("HR Management"),href:route("hr.employees.index")},{title:a("Employees"),href:route("hr.employees.index")},{title:a("Create Employee")}];return e.jsx(ee,{title:a("Create Employee"),url:"/hr/employees/create",breadcrumbs:Y,actions:[{label:a("Back"),icon:e.jsx(le,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>F.get(route("hr.employees.index"))}],children:e.jsxs("form",{onSubmit:Q,className:"space-y-6",children:[e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Basic Information")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"name",required:!0,children:a("Full Name")}),e.jsx(o,{id:"name",value:i.name,onChange:s=>c("name",s.target.value),className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"employee_id",children:a("Employee ID")}),e.jsx(o,{id:"employee_id",value:O,readOnly:!0,className:"bg-muted"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("Employee ID will be auto-generated")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"biometric_emp_id",children:a("Employee Code")}),e.jsx(o,{id:"biometric_emp_id",value:i.biometric_emp_id||"",onChange:s=>c("biometric_emp_id",s.target.value),placeholder:"",className:r.biometric_emp_id?"border-red-500":""}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("This ID will be used to map employee with biometric device.")}),r.biometric_emp_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.biometric_emp_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"email",required:!0,children:a("Email")}),e.jsx(o,{id:"email",type:"email",required:!0,value:i.email,onChange:s=>c("email",s.target.value),className:r.email?"border-red-500":""}),r.email&&e.jsx("p",{className:"text-red-500 text-xs",children:r.email})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"password",required:!0,children:a("Password")}),e.jsx(o,{id:"password",type:"password",required:!0,value:i.password,onChange:s=>c("password",s.target.value),className:r.password?"border-red-500":""}),r.password&&e.jsx("p",{className:"text-red-500 text-xs",children:r.password})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"role_id",children:a("Role")}),e.jsxs(x,{value:i.role_id,onValueChange:s=>c("role_id",s),children:[e.jsx(p,{id:"role_id",className:r.role_id?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select role")})}),e.jsx(_,{children:B&&B.map(s=>e.jsx(h,{value:String(s.id),children:s.name.charAt(0).toUpperCase()+s.name.slice(1)},s.id))})]}),r.role_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.role_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"phone",required:!0,children:a("Phone Number")}),e.jsx(o,{id:"phone",required:!0,value:i.phone,onChange:s=>c("phone",s.target.value),className:r.phone?"border-red-500":""}),r.phone&&e.jsx("p",{className:"text-red-500 text-xs",children:r.phone})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"date_of_birth",required:!0,children:a("Date of Birth")}),e.jsx("div",{className:"cursor-pointer",onClick:s=>{var d;const t=s.currentTarget.querySelector("input");try{(d=t==null?void 0:t.showPicker)==null||d.call(t)}catch{t==null||t.focus()}},children:e.jsx(o,{id:"date_of_birth",type:"date",required:!0,value:i.date_of_birth,onChange:s=>c("date_of_birth",s.target.value),className:`cursor-pointer ${r.date_of_birth?"border-red-500":""}`})}),r.date_of_birth&&e.jsx("p",{className:"text-red-500 text-xs",children:r.date_of_birth})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{required:!0,children:a("Gender")}),e.jsxs(te,{value:i.gender,onValueChange:s=>c("gender",s),className:"flex space-x-4",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{value:"male",id:"gender-male"}),e.jsx(n,{htmlFor:"gender-male",children:a("Male")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{value:"female",id:"gender-female"}),e.jsx(n,{htmlFor:"gender-female",children:a("Female")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{value:"other",id:"gender-other"}),e.jsx(n,{htmlFor:"gender-other",children:a("Other")})]})]}),r.gender&&e.jsx("p",{className:"text-red-500 text-xs",children:r.gender})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{children:a("Profile Image")}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 h-32",children:V?e.jsx("img",{src:V,alt:"Profile Image",className:"max-h-full max-w-full object-contain rounded-full"}):e.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[e.jsx("div",{className:"h-12 w-12 bg-muted flex items-center justify-center rounded-full border border-dashed",children:e.jsx("span",{className:"font-semibold text-xs text-muted-foreground",children:a("Image")})}),e.jsx("span",{className:"text-xs",children:a("No image selected")})]})}),e.jsx(o,{type:"file",accept:"image/*",onChange:J,className:"cursor-pointer"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Max file size: 2MB")})]}),r.profile_image&&e.jsx("p",{className:"text-red-500 text-xs",children:r.profile_image})]})]})})]}),e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Employment Details")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"branch_id",required:!0,children:a("Branch")}),e.jsxs(x,{required:!0,value:i.branch_id,onValueChange:s=>c("branch_id",s),children:[e.jsx(p,{className:r.branch_id?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Branch")})}),e.jsx(_,{searchable:!0,children:L.map(s=>e.jsx(h,{value:s.id.toString(),children:s.name},s.id))})]}),r.branch_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.branch_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"department_id",required:!0,children:a("Department")}),e.jsxs(x,{required:!0,value:i.department_id,onValueChange:s=>c("department_id",s),disabled:!i.branch_id,children:[e.jsx(p,{className:r.department_id?"border-red-500":"",children:e.jsx(u,{placeholder:i.branch_id?a("Select Department"):a("Select Branch First")})}),e.jsx(_,{searchable:!0,children:H.map(s=>e.jsx(h,{value:s.id.toString(),children:s.name},s.id))})]}),r.department_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.department_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"designation_id",required:!0,children:a("Designation")}),e.jsxs(x,{required:!0,value:i.designation_id,onValueChange:s=>c("designation_id",s),disabled:!i.department_id,children:[e.jsx(p,{className:r.designation_id?"border-red-500":"",children:e.jsx(u,{placeholder:i.department_id?a("Select Designation"):a("Select Department First")})}),e.jsx(_,{searchable:!0,children:W.map(s=>e.jsx(h,{value:s.id.toString(),children:s.name},s.id))})]}),r.designation_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.designation_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"date_of_joining",children:a("Date of Joining")}),e.jsx("div",{className:"cursor-pointer",onClick:s=>{var d;const t=s.currentTarget.querySelector("input");try{(d=t==null?void 0:t.showPicker)==null||d.call(t)}catch{t==null||t.focus()}},children:e.jsx(o,{id:"date_of_joining",type:"date",value:i.date_of_joining,onChange:s=>c("date_of_joining",s.target.value),className:`cursor-pointer ${r.date_of_joining?"border-red-500":""}`})}),r.date_of_joining&&e.jsx("p",{className:"text-red-500 text-xs",children:r.date_of_joining})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"employment_type",children:a("Employment Type")}),e.jsxs(x,{value:i.employment_type,onValueChange:s=>c("employment_type",s),children:[e.jsx(p,{className:r.employment_type?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Employment Type")})}),e.jsxs(_,{children:[e.jsx(h,{value:"Full-time",children:a("Full-time")}),e.jsx(h,{value:"Part-time",children:a("Part-time")}),e.jsx(h,{value:"Contract",children:a("Contract")}),e.jsx(h,{value:"Internship",children:a("Internship")}),e.jsx(h,{value:"Temporary",children:a("Temporary")})]})]}),r.employment_type&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employment_type})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"employee_status",children:a("Employee Status")}),e.jsxs(x,{value:i.employee_status,onValueChange:s=>c("employee_status",s),children:[e.jsx(p,{className:r.employee_status?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Employee Status")})}),e.jsxs(_,{children:[e.jsx(h,{value:"active",children:a("Active")}),e.jsx(h,{value:"inactive",children:a("Inactive")}),e.jsx(h,{value:"probation",children:a("Probation")}),e.jsx(h,{value:"terminated",children:a("Terminated")})]})]}),r.employee_status&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employee_status})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"shift_id",children:a("Shift")}),e.jsxs(x,{value:i.shift_id,onValueChange:s=>c("shift_id",s),children:[e.jsx(p,{className:r.shift_id?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Shift (Optional)")})}),e.jsx(_,{searchable:!0,children:k==null?void 0:k.map(s=>e.jsxs(h,{value:s.id.toString(),children:[s.name," (",s.start_time," - ",s.end_time,")"]},s.id))})]}),r.shift_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.shift_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"rest_days",children:a("Rest Days")}),e.jsx(de,{field:{name:"rest_days",label:a("Rest Days"),options:[{value:"monday",label:a("Monday")},{value:"tuesday",label:a("Tuesday")},{value:"wednesday",label:a("Wednesday")},{value:"thursday",label:a("Thursday")},{value:"friday",label:a("Friday")},{value:"saturday",label:a("Saturday")},{value:"sunday",label:a("Sunday")}]},formData:i,handleChange:c}),r.rest_days&&e.jsx("p",{className:"text-red-500 text-xs",children:r.rest_days})]})]})})]}),e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Contact Information")})}),e.jsxs(v,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"address_line_1",children:a("Address Line 1")}),e.jsx(o,{id:"address_line_1",value:i.address_line_1,onChange:s=>c("address_line_1",s.target.value),className:r.address_line_1?"border-red-500":""}),r.address_line_1&&e.jsx("p",{className:"text-red-500 text-xs",children:r.address_line_1})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"address_line_2",children:a("Address Line 2")}),e.jsx(o,{id:"address_line_2",value:i.address_line_2,onChange:s=>c("address_line_2",s.target.value),className:r.address_line_2?"border-red-500":""}),r.address_line_2&&e.jsx("p",{className:"text-red-500 text-xs",children:r.address_line_2})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"city",children:a("City")}),e.jsx(o,{id:"city",value:i.city,onChange:s=>c("city",s.target.value),className:r.city?"border-red-500":""}),r.city&&e.jsx("p",{className:"text-red-500 text-xs",children:r.city})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"state",children:a("State/Province")}),e.jsx(o,{id:"state",value:i.state,onChange:s=>c("state",s.target.value),className:r.state?"border-red-500":""}),r.state&&e.jsx("p",{className:"text-red-500 text-xs",children:r.state})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"country",children:a("Country")}),e.jsx(o,{id:"country",value:i.country,onChange:s=>c("country",s.target.value),className:r.country?"border-red-500":""}),r.country&&e.jsx("p",{className:"text-red-500 text-xs",children:r.country})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"postal_code",children:a("Postal/Zip Code")}),e.jsx(o,{id:"postal_code",value:i.postal_code,onChange:s=>c("postal_code",s.target.value),className:r.postal_code?"border-red-500":""}),r.postal_code&&e.jsx("p",{className:"text-red-500 text-xs",children:r.postal_code})]})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:a("Emergency Contact")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"emergency_contact_name",children:a("Name")}),e.jsx(o,{id:"emergency_contact_name",value:i.emergency_contact_name,onChange:s=>c("emergency_contact_name",s.target.value),className:r.emergency_contact_name?"border-red-500":""}),r.emergency_contact_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"emergency_contact_relationship",children:a("Relationship")}),e.jsx(o,{id:"emergency_contact_relationship",value:i.emergency_contact_relationship,onChange:s=>c("emergency_contact_relationship",s.target.value),className:r.emergency_contact_relationship?"border-red-500":""}),r.emergency_contact_relationship&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_relationship})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"emergency_contact_number",children:a("Phone Number")}),e.jsx(o,{id:"emergency_contact_number",value:i.emergency_contact_number,onChange:s=>c("emergency_contact_number",s.target.value),className:r.emergency_contact_number?"border-red-500":""}),r.emergency_contact_number&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_number})]})]})]})]})]}),e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Banking Information")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"bank_name",children:a("Bank Name")}),e.jsx(o,{id:"bank_name",value:i.bank_name,onChange:s=>c("bank_name",s.target.value),className:r.bank_name?"border-red-500":""}),r.bank_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"account_holder_name",children:a("Account Holder Name")}),e.jsx(o,{id:"account_holder_name",value:i.account_holder_name,onChange:s=>c("account_holder_name",s.target.value),className:r.account_holder_name?"border-red-500":""}),r.account_holder_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.account_holder_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"account_number",children:a("Account Number")}),e.jsx(o,{id:"account_number",value:i.account_number,onChange:s=>c("account_number",s.target.value),className:r.account_number?"border-red-500":""}),r.account_number&&e.jsx("p",{className:"text-red-500 text-xs",children:r.account_number})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"bank_identifier_code",children:a("Bank Identifier Code (BIC/SWIFT)")}),e.jsx(o,{id:"bank_identifier_code",value:i.bank_identifier_code,onChange:s=>c("bank_identifier_code",s.target.value),className:r.bank_identifier_code?"border-red-500":""}),r.bank_identifier_code&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_identifier_code})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"bank_branch",children:a("Bank Branch")}),e.jsx(o,{id:"bank_branch",value:i.bank_branch,onChange:s=>c("bank_branch",s.target.value),className:r.bank_branch?"border-red-500":""}),r.bank_branch&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_branch})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"tax_payer_id",children:a("Tax Payer ID")}),e.jsx(o,{id:"tax_payer_id",value:i.tax_payer_id,onChange:s=>c("tax_payer_id",s.target.value),className:r.tax_payer_id?"border-red-500":""}),r.tax_payer_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.tax_payer_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:"salary",required:!0,children:a("Base Salary")}),e.jsx(o,{required:!0,id:"salary",type:"number",step:"0.01",value:i.salary,onChange:s=>c("salary",s.target.value),className:r.salary?"border-red-500":""}),r.salary&&e.jsx("p",{className:"text-red-500 text-xs",children:r.salary})]})]})})]}),e.jsxs(b,{children:[e.jsx(f,{children:e.jsx(N,{children:a("Documents")})}),e.jsxs(v,{className:"space-y-4",children:[i.documents.map((s,t)=>e.jsxs("div",{className:"border rounded-md p-4 space-y-4",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("h3",{className:"text-lg font-medium",children:[a("Document")," #",t+1]}),!s.is_required&&e.jsx(S,{type:"button",variant:"ghost",size:"sm",onClick:()=>Z(t),children:e.jsx(ie,{className:"h-4 w-4 text-red-500"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(n,{htmlFor:`document_type_${t}`,children:[a("Document Type")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(x,{value:s.document_type_id,onValueChange:d=>E(t,"document_type_id",d),children:[e.jsx(p,{className:r[`documents.${t}.document_type_id`]?"border-red-500":"",children:e.jsx(u,{placeholder:a("Select Document Type")})}),e.jsx(_,{children:C.filter(d=>d.id.toString()===s.document_type_id?!0:!i.documents.some(l=>l.document_type_id===d.id.toString())).map(d=>e.jsxs(h,{value:d.id.toString(),children:[d.name," ",d.is_required&&e.jsx("span",{className:"text-red-500",children:"*"})]},d.id))})]}),r[`documents.${t}.document_type_id`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.document_type_id`]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(n,{children:[a("File")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx(o,{type:"file",onChange:d=>K(t,d),className:r[`documents.${t}.file`]?"border-red-500":""}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Max file size: 5MB")})]}),r[`documents.${t}.file`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.file`]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(n,{htmlFor:`document_expiry_${t}`,children:a("Expiry Date")}),e.jsx("div",{className:"cursor-pointer",onClick:d=>{var m;const l=d.currentTarget.querySelector("input");try{(m=l==null?void 0:l.showPicker)==null||m.call(l)}catch{l==null||l.focus()}},children:e.jsx(o,{id:`document_expiry_${t}`,type:"date",value:s.expiry_date,onChange:d=>E(t,"expiry_date",d.target.value),className:`cursor-pointer ${r[`documents.${t}.expiry_date`]?"border-red-500":""}`})}),r[`documents.${t}.expiry_date`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.expiry_date`]})]})]})]},t)),e.jsxs(S,{type:"button",variant:"outline",onClick:X,className:"mt-4",children:[e.jsx(ae,{className:"h-4 w-4 mr-2"}),a("Add Document")]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-4",children:[e.jsx(S,{type:"button",variant:"outline",onClick:()=>F.get(route("hr.employees.index")),children:a("Cancel")}),e.jsx(S,{type:"submit",children:a("Save")})]})]})})}export{Qe as default}; diff --git a/public/build/assets/create-DOeqbBui.js b/public/build/assets/create-DOeqbBui.js deleted file mode 100644 index 05fb40da8..000000000 --- a/public/build/assets/create-DOeqbBui.js +++ /dev/null @@ -1 +0,0 @@ -import{j as t}from"./ui-Z445SNHD.js";import o from"./form-BrKq2IwS.js";import"./page-template-BTxLyiDA.js";import"./app-CfhhiFAk.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";function N({hasDefaultPlan:r}){return t.jsx(o,{hasDefaultPlan:r})}export{N as default}; diff --git a/public/build/assets/create-D4Jx_5ir.js b/public/build/assets/create-DdBN69u6.js similarity index 79% rename from public/build/assets/create-D4Jx_5ir.js rename to public/build/assets/create-DdBN69u6.js index d7a4a54d8..e5f6c9e13 100644 --- a/public/build/assets/create-D4Jx_5ir.js +++ b/public/build/assets/create-DdBN69u6.js @@ -1 +1 @@ -import{r as g,j as e}from"./ui-Z445SNHD.js";import{u as f,c as j,C as v,m as N,n as C,z as _,l as b,L as l,I as d,o as h,r as p,t as o}from"./app-CfhhiFAk.js";import{T as y}from"./textarea-kpRjGGLz.js";import{R as P}from"./rich-text-editor-6rkrWVFe.js";import{S as T}from"./switch-CKduD2wX.js";import{P as w}from"./page-template-BTxLyiDA.js";import{T as F}from"./toaster-Bc5RPjCT.js";import{A as L}from"./arrow-left-B_Yqvwsn.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./unlink-BUU37FwK.js";import"./list-D0MAUZMV.js";import"./quote-CVpLTvYv.js";import"./link-Bv_VEBSZ.js";import"./code-BfjQUpEO.js";import"./index-9MclThM-.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";function Ce(){const{t}=f(),{globalSettings:i}=j().props,[s,m]=g.useState({title:"",content:"",meta_title:"",meta_description:"",is_active:!0,sort_order:0}),x=r=>{r.preventDefault(),i!=null&&i.is_demo||o.loading(t("Creating page...")),p.post(route("landing-page.custom-pages.store"),s,{onSuccess:a=>{var c,n;i!=null&&i.is_demo||o.dismiss(),(c=a.props.flash)!=null&&c.success?o.success(t(a.props.flash.success)):(n=a.props.flash)!=null&&n.error&&o.error(t(a.props.flash.error))},onError:a=>{i!=null&&i.is_demo||o.dismiss(),typeof a=="object"&&a!==null?Object.values(a).flat().forEach(n=>{o.error(t(n))}):typeof a=="string"?o.error(t(a)):o.error(t("Failed to create page"))}})},u=()=>{p.get(route("landing-page.custom-pages.index"))};return e.jsxs(w,{title:t("Create Custom Page"),url:"/custom-pages/create",breadcrumbs:[{title:t("Dashboard"),href:route("dashboard")},{title:t("Landing Page"),href:route("landing-page")},{title:t("Custom Pages"),href:route("landing-page.custom-pages.index")},{title:t("Create")}],actions:[{label:t("Back"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>p.get(route("landing-page.custom-pages.index"))}],children:[e.jsxs(v,{children:[e.jsxs(N,{children:[e.jsx(C,{className:"text-lg",children:t("Page Information")}),e.jsx(_,{children:t("Create a new custom page for your landing site")})]}),e.jsx(b,{children:e.jsxs("form",{onSubmit:x,className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"title",className:"text-sm font-medium",children:[t("Page Title")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(d,{id:"title",value:s.title,onChange:r=>m({...s,title:r.target.value}),placeholder:t("e.g., About Us, Privacy Policy"),required:!0,className:"w-full"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("The title will be used to automatically generate the URL slug")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"content",className:"text-sm font-medium",children:[t("Content")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("div",{className:"min-h-[300px]",children:e.jsx(P,{content:s.content,onChange:r=>m({...s,content:r}),placeholder:t("Write your page content here...")})}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Use the editor toolbar to format your content with headings, lists, links, and more")})]}),e.jsxs("div",{className:"space-y-4 pt-4 border-t",children:[e.jsx("h3",{className:"text-sm font-semibold",children:t("SEO Settings")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"meta_title",className:"text-sm font-medium",children:t("Meta Title")}),e.jsx(d,{id:"meta_title",value:s.meta_title,onChange:r=>m({...s,meta_title:r.target.value}),placeholder:t("SEO optimized title"),maxLength:60}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Recommended: 50-60 characters")," (",s.meta_title.length,"/60)"]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"sort_order",className:"text-sm font-medium",children:t("Sort Order")}),e.jsx(d,{id:"sort_order",type:"number",value:s.sort_order,onChange:r=>m({...s,sort_order:parseInt(r.target.value)||0}),placeholder:"0",min:"0"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Lower numbers appear first in navigation")})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"meta_description",className:"text-sm font-medium",children:t("Meta Description")}),e.jsx(y,{id:"meta_description",value:s.meta_description,onChange:r=>m({...s,meta_description:r.target.value}),placeholder:t("Brief description for search engines"),rows:3,maxLength:160}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Recommended: 150-160 characters")," (",s.meta_description.length,"/160)"]})]})]}),e.jsxs("div",{className:"space-y-4 pt-4 border-t",children:[e.jsx("h3",{className:"text-sm font-semibold",children:t("Publish Settings")}),e.jsxs("div",{className:"flex items-start space-x-3 p-4 bg-muted/50 rounded-lg",children:[e.jsx(T,{id:"is_active",checked:s.is_active,onCheckedChange:r=>m({...s,is_active:r})}),e.jsxs("div",{className:"flex-1",children:[e.jsx(l,{htmlFor:"is_active",className:"text-sm font-medium cursor-pointer",children:t("Publish Page")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s.is_active?t("This page will be visible to the public immediately"):t("This page will be saved as a draft and hidden from public view")})]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-3 pt-6 border-t",children:[e.jsx(h,{type:"button",variant:"outline",onClick:u,children:t("Cancel")}),e.jsx(h,{type:"submit",children:t("Create Page")})]})]})})]}),e.jsx(F,{})]})}export{Ce as default}; +import{r as g,j as e}from"./ui-Z445SNHD.js";import{u as f,c as j,C as v,m as N,n as C,z as _,l as b,L as l,I as d,o as h,r as p,t as o}from"./app-Dya84jp7.js";import{T as y}from"./textarea-yeg8ONhy.js";import{R as P}from"./rich-text-editor-uObNYFW4.js";import{S as T}from"./switch-DyHgm-Sg.js";import{P as w}from"./page-template-CLNVC8w_.js";import{T as F}from"./toaster-Bc5RPjCT.js";import{A as L}from"./arrow-left-BUNj5JJK.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./unlink-BLQWL2NW.js";import"./list-C_2fG_BT.js";import"./quote-BmDTOIsR.js";import"./link-DXJwkkHX.js";import"./code-znlKMFkF.js";import"./index-9MclThM-.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";function Ce(){const{t}=f(),{globalSettings:i}=j().props,[s,m]=g.useState({title:"",content:"",meta_title:"",meta_description:"",is_active:!0,sort_order:0}),x=r=>{r.preventDefault(),i!=null&&i.is_demo||o.loading(t("Creating page...")),p.post(route("landing-page.custom-pages.store"),s,{onSuccess:a=>{var c,n;i!=null&&i.is_demo||o.dismiss(),(c=a.props.flash)!=null&&c.success?o.success(t(a.props.flash.success)):(n=a.props.flash)!=null&&n.error&&o.error(t(a.props.flash.error))},onError:a=>{i!=null&&i.is_demo||o.dismiss(),typeof a=="object"&&a!==null?Object.values(a).flat().forEach(n=>{o.error(t(n))}):typeof a=="string"?o.error(t(a)):o.error(t("Failed to create page"))}})},u=()=>{p.get(route("landing-page.custom-pages.index"))};return e.jsxs(w,{title:t("Create Custom Page"),url:"/custom-pages/create",breadcrumbs:[{title:t("Dashboard"),href:route("dashboard")},{title:t("Landing Page"),href:route("landing-page")},{title:t("Custom Pages"),href:route("landing-page.custom-pages.index")},{title:t("Create")}],actions:[{label:t("Back"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>p.get(route("landing-page.custom-pages.index"))}],children:[e.jsxs(v,{children:[e.jsxs(N,{children:[e.jsx(C,{className:"text-lg",children:t("Page Information")}),e.jsx(_,{children:t("Create a new custom page for your landing site")})]}),e.jsx(b,{children:e.jsxs("form",{onSubmit:x,className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"title",className:"text-sm font-medium",children:[t("Page Title")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(d,{id:"title",value:s.title,onChange:r=>m({...s,title:r.target.value}),placeholder:t("e.g., About Us, Privacy Policy"),required:!0,className:"w-full"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("The title will be used to automatically generate the URL slug")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"content",className:"text-sm font-medium",children:[t("Content")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("div",{className:"min-h-[300px]",children:e.jsx(P,{content:s.content,onChange:r=>m({...s,content:r}),placeholder:t("Write your page content here...")})}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Use the editor toolbar to format your content with headings, lists, links, and more")})]}),e.jsxs("div",{className:"space-y-4 pt-4 border-t",children:[e.jsx("h3",{className:"text-sm font-semibold",children:t("SEO Settings")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"meta_title",className:"text-sm font-medium",children:t("Meta Title")}),e.jsx(d,{id:"meta_title",value:s.meta_title,onChange:r=>m({...s,meta_title:r.target.value}),placeholder:t("SEO optimized title"),maxLength:60}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Recommended: 50-60 characters")," (",s.meta_title.length,"/60)"]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"sort_order",className:"text-sm font-medium",children:t("Sort Order")}),e.jsx(d,{id:"sort_order",type:"number",value:s.sort_order,onChange:r=>m({...s,sort_order:parseInt(r.target.value)||0}),placeholder:"0",min:"0"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Lower numbers appear first in navigation")})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"meta_description",className:"text-sm font-medium",children:t("Meta Description")}),e.jsx(y,{id:"meta_description",value:s.meta_description,onChange:r=>m({...s,meta_description:r.target.value}),placeholder:t("Brief description for search engines"),rows:3,maxLength:160}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Recommended: 150-160 characters")," (",s.meta_description.length,"/160)"]})]})]}),e.jsxs("div",{className:"space-y-4 pt-4 border-t",children:[e.jsx("h3",{className:"text-sm font-semibold",children:t("Publish Settings")}),e.jsxs("div",{className:"flex items-start space-x-3 p-4 bg-muted/50 rounded-lg",children:[e.jsx(T,{id:"is_active",checked:s.is_active,onCheckedChange:r=>m({...s,is_active:r})}),e.jsxs("div",{className:"flex-1",children:[e.jsx(l,{htmlFor:"is_active",className:"text-sm font-medium cursor-pointer",children:t("Publish Page")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s.is_active?t("This page will be visible to the public immediately"):t("This page will be saved as a draft and hidden from public view")})]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-3 pt-6 border-t",children:[e.jsx(h,{type:"button",variant:"outline",onClick:u,children:t("Cancel")}),e.jsx(h,{type:"submit",children:t("Create Page")})]})]})})]}),e.jsx(F,{})]})}export{Ce as default}; diff --git a/public/build/assets/create-C72t9NiC.js b/public/build/assets/create-DttjtICA.js similarity index 80% rename from public/build/assets/create-C72t9NiC.js rename to public/build/assets/create-DttjtICA.js index 4940f16eb..5a85401f7 100644 --- a/public/build/assets/create-C72t9NiC.js +++ b/public/build/assets/create-DttjtICA.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as w}from"./page-template-BTxLyiDA.js";import{u as E,c as D,b as I,C as d,m,n as p,l as x,L as c,I as v,o as C,r as b,t as o}from"./app-CfhhiFAk.js";import{T as _}from"./textarea-kpRjGGLz.js";import{S as g,a as N,b as y,c as T,d as h}from"./select-BrY9osYp.js";import{C as V}from"./checkbox-1_Cig_g5.js";import{A as P}from"./arrow-left-B_Yqvwsn.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function _e(){const{t}=E(),{contractTypes:l,globalSettings:s}=D().props,{data:i,setData:n,post:k,processing:u,errors:a,clearErrors:q}=I({name:"",description:"",contract_type_id:"",template_content:"",variables:"",clauses:"",is_default:!1,status:"active"}),F=r=>{r.preventDefault(),q(),s!=null&&s.is_demo||o.loading(t("Creating contract template...")),k(route("hr.contracts.contract-templates.store"),{onSuccess:j=>{var f;s!=null&&s.is_demo||o.dismiss(),(f=j.props.flash)!=null&&f.success&&o.success(t(j.props.flash.success))},onError:()=>{s!=null&&s.is_demo||o.dismiss(),o.error(t("Please fix the errors below"))}})},S=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-templates.index")},{title:t("Contract Templates"),href:route("hr.contracts.contract-templates.index")},{title:t("Create")}];return e.jsx(w,{title:t("Create Contract Template"),breadcrumbs:S,actions:[{label:t("Back"),icon:e.jsx(P,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>b.get(route("hr.contracts.contract-templates.index"))}],children:e.jsxs("form",{onSubmit:F,className:"space-y-6",children:[e.jsxs(d,{children:[e.jsx(m,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(x,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(c,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(v,{id:"name",value:i.name,onChange:r=>n("name",r.target.value),placeholder:t("Enter template name"),required:!0,className:a.name?"border-red-500":""}),a.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.name})]}),e.jsxs("div",{children:[e.jsx(c,{htmlFor:"contract_type_id",required:!0,children:t("Contract Type")}),e.jsxs(g,{value:i.contract_type_id,onValueChange:r=>n("contract_type_id",r),children:[e.jsx(N,{className:a.contract_type_id?"border-red-500":"",children:e.jsx(y,{placeholder:t("Select Contract Type")})}),e.jsx(T,{searchable:!0,children:l==null?void 0:l.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]}),a.contract_type_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.contract_type_id})]}),e.jsxs("div",{children:[e.jsx(c,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(g,{value:i.status,onValueChange:r=>n("status",r),children:[e.jsx(N,{className:a.status?"border-red-500":"",children:e.jsx(y,{})}),e.jsxs(T,{children:[e.jsx(h,{value:"active",children:t("Active")}),e.jsx(h,{value:"inactive",children:t("Inactive")})]})]}),a.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.status})]})]}),e.jsxs("div",{children:[e.jsx(c,{htmlFor:"description",children:t("Description")}),e.jsx(_,{id:"description",value:i.description,onChange:r=>n("description",r.target.value),placeholder:t("Enter description"),rows:2,className:a.description?"border-red-500":""}),a.description&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.description})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{id:"is_default",checked:i.is_default,onCheckedChange:r=>n("is_default",r)}),e.jsx(c,{htmlFor:"is_default",children:t("Set as Default for Contract Type")})]})]})]}),e.jsxs(d,{children:[e.jsx(m,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(x,{children:e.jsxs("div",{children:[e.jsx(c,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{variable_name}} for dynamic content")}),e.jsx(_,{id:"template_content",value:i.template_content,onChange:r=>n("template_content",r.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${a.template_content?"border-red-500":""}`}),a.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.template_content})]})})]}),e.jsxs(d,{children:[e.jsx(m,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Variables")})}),e.jsx(x,{children:e.jsxs("div",{children:[e.jsx(c,{htmlFor:"variables",required:!0,children:t("Variables")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of variable names (without {{}})")}),e.jsx(v,{id:"variables",value:i.variables,onChange:r=>n("variables",r.target.value),placeholder:"employee_name, company_name, start_date",required:!0,className:a.variables?"border-red-500":""}),a.variables&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.variables})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(C,{type:"button",variant:"outline",onClick:()=>b.get(route("hr.contracts.contract-templates.index")),children:t("Cancel")}),e.jsx(C,{type:"submit",disabled:u,children:t(u?"Creating...":"Create Template")})]})]})})}export{_e as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as w}from"./page-template-CLNVC8w_.js";import{u as E,c as D,b as I,C as d,m,n as p,l as x,L as c,I as v,o as C,r as b,t as o}from"./app-Dya84jp7.js";import{T as _}from"./textarea-yeg8ONhy.js";import{S as g,a as N,b as y,c as T,d as h}from"./select-CHkpLxhL.js";import{C as V}from"./checkbox-BLrehV38.js";import{A as P}from"./arrow-left-BUNj5JJK.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function _e(){const{t}=E(),{contractTypes:l,globalSettings:s}=D().props,{data:i,setData:n,post:k,processing:u,errors:a,clearErrors:q}=I({name:"",description:"",contract_type_id:"",template_content:"",variables:"",clauses:"",is_default:!1,status:"active"}),F=r=>{r.preventDefault(),q(),s!=null&&s.is_demo||o.loading(t("Creating contract template...")),k(route("hr.contracts.contract-templates.store"),{onSuccess:j=>{var f;s!=null&&s.is_demo||o.dismiss(),(f=j.props.flash)!=null&&f.success&&o.success(t(j.props.flash.success))},onError:()=>{s!=null&&s.is_demo||o.dismiss(),o.error(t("Please fix the errors below"))}})},S=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-templates.index")},{title:t("Contract Templates"),href:route("hr.contracts.contract-templates.index")},{title:t("Create")}];return e.jsx(w,{title:t("Create Contract Template"),breadcrumbs:S,actions:[{label:t("Back"),icon:e.jsx(P,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>b.get(route("hr.contracts.contract-templates.index"))}],children:e.jsxs("form",{onSubmit:F,className:"space-y-6",children:[e.jsxs(d,{children:[e.jsx(m,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(x,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(c,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(v,{id:"name",value:i.name,onChange:r=>n("name",r.target.value),placeholder:t("Enter template name"),required:!0,className:a.name?"border-red-500":""}),a.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.name})]}),e.jsxs("div",{children:[e.jsx(c,{htmlFor:"contract_type_id",required:!0,children:t("Contract Type")}),e.jsxs(g,{value:i.contract_type_id,onValueChange:r=>n("contract_type_id",r),children:[e.jsx(N,{className:a.contract_type_id?"border-red-500":"",children:e.jsx(y,{placeholder:t("Select Contract Type")})}),e.jsx(T,{searchable:!0,children:l==null?void 0:l.map(r=>e.jsx(h,{value:r.id.toString(),children:r.name},r.id))})]}),a.contract_type_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.contract_type_id})]}),e.jsxs("div",{children:[e.jsx(c,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(g,{value:i.status,onValueChange:r=>n("status",r),children:[e.jsx(N,{className:a.status?"border-red-500":"",children:e.jsx(y,{})}),e.jsxs(T,{children:[e.jsx(h,{value:"active",children:t("Active")}),e.jsx(h,{value:"inactive",children:t("Inactive")})]})]}),a.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.status})]})]}),e.jsxs("div",{children:[e.jsx(c,{htmlFor:"description",children:t("Description")}),e.jsx(_,{id:"description",value:i.description,onChange:r=>n("description",r.target.value),placeholder:t("Enter description"),rows:2,className:a.description?"border-red-500":""}),a.description&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.description})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{id:"is_default",checked:i.is_default,onCheckedChange:r=>n("is_default",r)}),e.jsx(c,{htmlFor:"is_default",children:t("Set as Default for Contract Type")})]})]})]}),e.jsxs(d,{children:[e.jsx(m,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(x,{children:e.jsxs("div",{children:[e.jsx(c,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{variable_name}} for dynamic content")}),e.jsx(_,{id:"template_content",value:i.template_content,onChange:r=>n("template_content",r.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${a.template_content?"border-red-500":""}`}),a.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.template_content})]})})]}),e.jsxs(d,{children:[e.jsx(m,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Variables")})}),e.jsx(x,{children:e.jsxs("div",{children:[e.jsx(c,{htmlFor:"variables",required:!0,children:t("Variables")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of variable names (without {{}})")}),e.jsx(v,{id:"variables",value:i.variables,onChange:r=>n("variables",r.target.value),placeholder:"employee_name, company_name, start_date",required:!0,className:a.variables?"border-red-500":""}),a.variables&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.variables})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(C,{type:"button",variant:"outline",onClick:()=>b.get(route("hr.contracts.contract-templates.index")),children:t("Cancel")}),e.jsx(C,{type:"submit",disabled:u,children:t(u?"Creating...":"Create Template")})]})]})})}export{_e as default}; diff --git a/public/build/assets/create-MS7LrsiO.js b/public/build/assets/create-IoumbhUE.js similarity index 83% rename from public/build/assets/create-MS7LrsiO.js rename to public/build/assets/create-IoumbhUE.js index b9ed11fc3..65208a418 100644 --- a/public/build/assets/create-MS7LrsiO.js +++ b/public/build/assets/create-IoumbhUE.js @@ -1,3 +1,3 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as q}from"./page-template-BTxLyiDA.js";import{u as w,c as I,b as P,C as m,m as u,n as p,l as x,L as o,I as y,o as b,r as D,t as c}from"./app-CfhhiFAk.js";import{T as h}from"./textarea-kpRjGGLz.js";import{S as j,a as f,b as v,c as _,d}from"./select-BrY9osYp.js";import{C as V}from"./checkbox-1_Cig_g5.js";import{A as E}from"./arrow-left-B_Yqvwsn.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function Ce(){const{t}=w(),{categories:n,globalSettings:l}=I().props,{data:a,setData:i,post:T,processing:g,errors:r,clearErrors:F}=P({name:"",description:"",category_id:"",template_content:"",placeholders:"",default_values:"",file_format:"pdf",is_default:!1,status:"active"}),S=s=>{if(s.preventDefault(),F(),a.default_values)try{JSON.parse(a.default_values)}catch{c.error(t("Default Values must be valid JSON"));return}l!=null&&l.is_demo||c.loading(t("Creating document template...")),T(route("hr.documents.document-templates.store"),{onSuccess:C=>{var N;l!=null&&l.is_demo||c.dismiss(),(N=C.props.flash)!=null&&N.success&&c.success(t(C.props.flash.success))},onError:()=>{l!=null&&l.is_demo||c.dismiss(),c.error(t("Please fix the errors below"))}})},k=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-templates.index")},{title:t("Document Templates"),href:route("hr.documents.document-templates.index")},{title:t("Create")}];return e.jsx(q,{title:t("Create Document Template"),breadcrumbs:k,actions:[{label:t("Back"),icon:e.jsx(E,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>D.get(route("hr.documents.document-templates.index"))}],children:e.jsxs("form",{onSubmit:S,className:"space-y-6",children:[e.jsxs(m,{children:[e.jsx(u,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(x,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(y,{id:"name",value:a.name,onChange:s=>i("name",s.target.value),placeholder:t("Enter template name"),required:!0,className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"category_id",required:!0,children:t("Category")}),e.jsxs(j,{value:a.category_id,onValueChange:s=>i("category_id",s),children:[e.jsx(f,{className:r.category_id?"border-red-500":"",children:e.jsx(v,{placeholder:t("Select Category")})}),e.jsx(_,{searchable:!0,children:n==null?void 0:n.map(s=>e.jsx(d,{value:s.id.toString(),children:s.name},s.id))})]}),r.category_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.category_id})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"file_format",children:t("File Format")}),e.jsxs(j,{value:a.file_format,onValueChange:s=>i("file_format",s),children:[e.jsx(f,{className:r.file_format?"border-red-500":"",children:e.jsx(v,{})}),e.jsxs(_,{children:[e.jsx(d,{value:"pdf",children:"PDF"}),e.jsx(d,{value:"doc",children:"DOC"}),e.jsx(d,{value:"docx",children:"DOCX"}),e.jsx(d,{value:"txt",children:"TXT"})]})]}),r.file_format&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.file_format})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(j,{value:a.status,onValueChange:s=>i("status",s),children:[e.jsx(f,{className:r.status?"border-red-500":"",children:e.jsx(v,{})}),e.jsxs(_,{children:[e.jsx(d,{value:"active",children:t("Active")}),e.jsx(d,{value:"inactive",children:t("Inactive")})]})]}),r.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.status})]})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"description",children:t("Description")}),e.jsx(h,{id:"description",value:a.description,onChange:s=>i("description",s.target.value),placeholder:t("Enter description"),rows:2,className:r.description?"border-red-500":""}),r.description&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.description})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{id:"is_default",checked:a.is_default,onCheckedChange:s=>i("is_default",s)}),e.jsx(o,{htmlFor:"is_default",children:t("Set as Default for Category")})]})]})]}),e.jsxs(m,{children:[e.jsx(u,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(x,{className:"space-y-4",children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{placeholder_name}} for dynamic content")}),e.jsx(h,{id:"template_content",value:a.template_content,onChange:s=>i("template_content",s.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${r.template_content?"border-red-500":""}`}),r.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.template_content})]})})]}),e.jsxs(m,{children:[e.jsx(u,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Placeholders & Default Values")})}),e.jsxs(x,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"placeholders",required:!0,children:t("Placeholders")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of placeholder names (without {{}})")}),e.jsx(y,{id:"placeholders",value:a.placeholders,onChange:s=>i("placeholders",s.target.value),placeholder:"employee_name, company_name, date",required:!0,className:r.placeholders?"border-red-500":""}),r.placeholders&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.placeholders})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"default_values",children:t("Default Values")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t('JSON object e.g. {"company_name": "Acme Inc"}')}),e.jsx(h,{id:"default_values",value:a.default_values,onChange:s=>i("default_values",s.target.value),placeholder:`{ +import{j as e}from"./ui-Z445SNHD.js";import{P as q}from"./page-template-CLNVC8w_.js";import{u as w,c as I,b as P,C as m,m as u,n as p,l as x,L as o,I as y,o as b,r as D,t as c}from"./app-Dya84jp7.js";import{T as h}from"./textarea-yeg8ONhy.js";import{S as j,a as f,b as v,c as _,d}from"./select-CHkpLxhL.js";import{C as V}from"./checkbox-BLrehV38.js";import{A as E}from"./arrow-left-BUNj5JJK.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function Ce(){const{t}=w(),{categories:n,globalSettings:l}=I().props,{data:a,setData:i,post:T,processing:g,errors:r,clearErrors:F}=P({name:"",description:"",category_id:"",template_content:"",placeholders:"",default_values:"",file_format:"pdf",is_default:!1,status:"active"}),S=s=>{if(s.preventDefault(),F(),a.default_values)try{JSON.parse(a.default_values)}catch{c.error(t("Default Values must be valid JSON"));return}l!=null&&l.is_demo||c.loading(t("Creating document template...")),T(route("hr.documents.document-templates.store"),{onSuccess:C=>{var N;l!=null&&l.is_demo||c.dismiss(),(N=C.props.flash)!=null&&N.success&&c.success(t(C.props.flash.success))},onError:()=>{l!=null&&l.is_demo||c.dismiss(),c.error(t("Please fix the errors below"))}})},k=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-templates.index")},{title:t("Document Templates"),href:route("hr.documents.document-templates.index")},{title:t("Create")}];return e.jsx(q,{title:t("Create Document Template"),breadcrumbs:k,actions:[{label:t("Back"),icon:e.jsx(E,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>D.get(route("hr.documents.document-templates.index"))}],children:e.jsxs("form",{onSubmit:S,className:"space-y-6",children:[e.jsxs(m,{children:[e.jsx(u,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(x,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(y,{id:"name",value:a.name,onChange:s=>i("name",s.target.value),placeholder:t("Enter template name"),required:!0,className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"category_id",required:!0,children:t("Category")}),e.jsxs(j,{value:a.category_id,onValueChange:s=>i("category_id",s),children:[e.jsx(f,{className:r.category_id?"border-red-500":"",children:e.jsx(v,{placeholder:t("Select Category")})}),e.jsx(_,{searchable:!0,children:n==null?void 0:n.map(s=>e.jsx(d,{value:s.id.toString(),children:s.name},s.id))})]}),r.category_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.category_id})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"file_format",children:t("File Format")}),e.jsxs(j,{value:a.file_format,onValueChange:s=>i("file_format",s),children:[e.jsx(f,{className:r.file_format?"border-red-500":"",children:e.jsx(v,{})}),e.jsxs(_,{children:[e.jsx(d,{value:"pdf",children:"PDF"}),e.jsx(d,{value:"doc",children:"DOC"}),e.jsx(d,{value:"docx",children:"DOCX"}),e.jsx(d,{value:"txt",children:"TXT"})]})]}),r.file_format&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.file_format})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(j,{value:a.status,onValueChange:s=>i("status",s),children:[e.jsx(f,{className:r.status?"border-red-500":"",children:e.jsx(v,{})}),e.jsxs(_,{children:[e.jsx(d,{value:"active",children:t("Active")}),e.jsx(d,{value:"inactive",children:t("Inactive")})]})]}),r.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.status})]})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"description",children:t("Description")}),e.jsx(h,{id:"description",value:a.description,onChange:s=>i("description",s.target.value),placeholder:t("Enter description"),rows:2,className:r.description?"border-red-500":""}),r.description&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.description})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{id:"is_default",checked:a.is_default,onCheckedChange:s=>i("is_default",s)}),e.jsx(o,{htmlFor:"is_default",children:t("Set as Default for Category")})]})]})]}),e.jsxs(m,{children:[e.jsx(u,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(x,{className:"space-y-4",children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{placeholder_name}} for dynamic content")}),e.jsx(h,{id:"template_content",value:a.template_content,onChange:s=>i("template_content",s.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${r.template_content?"border-red-500":""}`}),r.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.template_content})]})})]}),e.jsxs(m,{children:[e.jsx(u,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Placeholders & Default Values")})}),e.jsxs(x,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"placeholders",required:!0,children:t("Placeholders")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of placeholder names (without {{}})")}),e.jsx(y,{id:"placeholders",value:a.placeholders,onChange:s=>i("placeholders",s.target.value),placeholder:"employee_name, company_name, date",required:!0,className:r.placeholders?"border-red-500":""}),r.placeholders&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.placeholders})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"default_values",children:t("Default Values")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t('JSON object e.g. {"company_name": "Acme Inc"}')}),e.jsx(h,{id:"default_values",value:a.default_values,onChange:s=>i("default_values",s.target.value),placeholder:`{ "company_name": "Acme Inc" }`,rows:4,className:`font-mono text-sm ${r.default_values?"border-red-500":""}`}),r.default_values&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.default_values})]})]})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(b,{type:"button",variant:"outline",onClick:()=>D.get(route("hr.documents.document-templates.index")),children:t("Cancel")}),e.jsx(b,{type:"submit",disabled:g,children:t(g?"Creating...":"Create Template")})]})]})})}export{Ce as default}; diff --git a/public/build/assets/create-0bJrGrq4.js b/public/build/assets/create-ItAlWWwL.js similarity index 77% rename from public/build/assets/create-0bJrGrq4.js rename to public/build/assets/create-ItAlWWwL.js index bd3451456..3cb0fe6aa 100644 --- a/public/build/assets/create-0bJrGrq4.js +++ b/public/build/assets/create-ItAlWWwL.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as T}from"./page-template-BTxLyiDA.js";import{u as _,c as S,b as q,C as m,m as c,n as d,l as p,L as o,I as f,o as j,r as b,t as s}from"./app-CfhhiFAk.js";import{T as k}from"./textarea-kpRjGGLz.js";import{S as w,a as E,b as F,c as I,d as v}from"./select-BrY9osYp.js";import{A as P}from"./arrow-left-B_Yqvwsn.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function be(){const{t}=_(),{globalSettings:n}=S().props,{data:i,setData:l,post:g,processing:x,errors:r,clearErrors:C}=q({name:"",template_content:"",variables:"",status:"active"}),N=a=>{a.preventDefault(),C(),n!=null&&n.is_demo||s.loading(t("Creating offer template...")),g(route("hr.recruitment.offer-templates.store"),{onSuccess:u=>{var h;s.dismiss(),(h=u.props.flash)!=null&&h.success&&s.success(t(u.props.flash.success))},onError:()=>{s.dismiss(),s.error(t("Please fix the errors below"))}})},y=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.offer-templates.index")},{title:t("Offer Templates"),href:route("hr.recruitment.offer-templates.index")},{title:t("Create")}];return e.jsx(T,{title:t("Create Offer Template"),breadcrumbs:y,actions:[{label:t("Back"),icon:e.jsx(P,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>b.get(route("hr.recruitment.offer-templates.index"))}],children:e.jsxs("form",{onSubmit:N,className:"space-y-6",children:[e.jsxs(m,{children:[e.jsx(c,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(p,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(f,{id:"name",value:i.name,onChange:a=>l("name",a.target.value),placeholder:t("Enter template name"),required:!0,className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(w,{value:i.status,onValueChange:a=>l("status",a),children:[e.jsx(E,{className:r.status?"border-red-500":"",children:e.jsx(F,{})}),e.jsxs(I,{children:[e.jsx(v,{value:"active",children:t("Active")}),e.jsx(v,{value:"inactive",children:t("Inactive")})]})]}),r.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.status})]})]})})]}),e.jsxs(m,{children:[e.jsx(c,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(p,{children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{variable_name}} for dynamic content")}),e.jsx(k,{id:"template_content",value:i.template_content,onChange:a=>l("template_content",a.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${r.template_content?"border-red-500":""}`}),r.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.template_content})]})})]}),e.jsxs(m,{children:[e.jsx(c,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Variables")})}),e.jsx(p,{children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"variables",required:!0,children:t("Variables")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of variable names (without {{}})")}),e.jsx(f,{required:!0,id:"variables",value:i.variables,onChange:a=>l("variables",a.target.value),placeholder:"candidate_name, position, salary, start_date",className:r.variables?"border-red-500":""}),r.variables&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.variables})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(j,{type:"button",variant:"outline",onClick:()=>b.get(route("hr.recruitment.offer-templates.index")),children:t("Cancel")}),e.jsx(j,{type:"submit",disabled:x,children:t(x?"Creating...":"Create Template")})]})]})})}export{be as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as T}from"./page-template-CLNVC8w_.js";import{u as _,c as S,b as q,C as m,m as c,n as d,l as p,L as o,I as f,o as j,r as b,t as s}from"./app-Dya84jp7.js";import{T as k}from"./textarea-yeg8ONhy.js";import{S as w,a as E,b as F,c as I,d as v}from"./select-CHkpLxhL.js";import{A as P}from"./arrow-left-BUNj5JJK.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function be(){const{t}=_(),{globalSettings:n}=S().props,{data:i,setData:l,post:g,processing:x,errors:r,clearErrors:C}=q({name:"",template_content:"",variables:"",status:"active"}),N=a=>{a.preventDefault(),C(),n!=null&&n.is_demo||s.loading(t("Creating offer template...")),g(route("hr.recruitment.offer-templates.store"),{onSuccess:u=>{var h;s.dismiss(),(h=u.props.flash)!=null&&h.success&&s.success(t(u.props.flash.success))},onError:()=>{s.dismiss(),s.error(t("Please fix the errors below"))}})},y=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.offer-templates.index")},{title:t("Offer Templates"),href:route("hr.recruitment.offer-templates.index")},{title:t("Create")}];return e.jsx(T,{title:t("Create Offer Template"),breadcrumbs:y,actions:[{label:t("Back"),icon:e.jsx(P,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>b.get(route("hr.recruitment.offer-templates.index"))}],children:e.jsxs("form",{onSubmit:N,className:"space-y-6",children:[e.jsxs(m,{children:[e.jsx(c,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(p,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(f,{id:"name",value:i.name,onChange:a=>l("name",a.target.value),placeholder:t("Enter template name"),required:!0,className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(w,{value:i.status,onValueChange:a=>l("status",a),children:[e.jsx(E,{className:r.status?"border-red-500":"",children:e.jsx(F,{})}),e.jsxs(I,{children:[e.jsx(v,{value:"active",children:t("Active")}),e.jsx(v,{value:"inactive",children:t("Inactive")})]})]}),r.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.status})]})]})})]}),e.jsxs(m,{children:[e.jsx(c,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(p,{children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{variable_name}} for dynamic content")}),e.jsx(k,{id:"template_content",value:i.template_content,onChange:a=>l("template_content",a.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${r.template_content?"border-red-500":""}`}),r.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.template_content})]})})]}),e.jsxs(m,{children:[e.jsx(c,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Variables")})}),e.jsx(p,{children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"variables",required:!0,children:t("Variables")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of variable names (without {{}})")}),e.jsx(f,{required:!0,id:"variables",value:i.variables,onChange:a=>l("variables",a.target.value),placeholder:"candidate_name, position, salary, start_date",className:r.variables?"border-red-500":""}),r.variables&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.variables})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(j,{type:"button",variant:"outline",onClick:()=>b.get(route("hr.recruitment.offer-templates.index")),children:t("Cancel")}),e.jsx(j,{type:"submit",disabled:x,children:t(x?"Creating...":"Create Template")})]})]})})}export{be as default}; diff --git a/public/build/assets/create-Dxb0-r-t.js b/public/build/assets/create-trmZ1y6e.js similarity index 89% rename from public/build/assets/create-Dxb0-r-t.js rename to public/build/assets/create-trmZ1y6e.js index 06811e302..f5e0c6480 100644 --- a/public/build/assets/create-Dxb0-r-t.js +++ b/public/build/assets/create-trmZ1y6e.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as D}from"./page-template-BTxLyiDA.js";import{u as M,c as R,b as w,C as x,m as p,n as m,l as h,L as n,I as d,o as P,r as E,t as u}from"./app-CfhhiFAk.js";import{S as j,a as _,b as g,c as y,d as o}from"./select-BrY9osYp.js";import{C as v}from"./checkbox-1_Cig_g5.js";import{T as A}from"./tag-input-C5bCQZVs.js";import{R as S}from"./rich-text-editor-6rkrWVFe.js";import{A as B}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./unlink-BUU37FwK.js";import"./list-D0MAUZMV.js";import"./quote-CVpLTvYv.js";import"./link-Bv_VEBSZ.js";import"./code-BfjQUpEO.js";function Le(){const{t:r}=M(),{jobTypes:f,locations:N,branches:C,departments:k,customQuestions:q,companySlug:b}=R().props,{data:s,setData:a,post:T,processing:F,errors:t}=w({title:"",job_type_id:"",location_id:"",branch_id:"",department_id:"",priority:"Low",skills:[],positions:1,min_experience:0,max_experience:"",min_salary:"",max_salary:"",description:"",requirements:"",education:"",benefits:"",start_date:"",application_deadline:"",application_type:"existing",application_url:b?route("career.index",b):route("career.index"),code:"",custom_question:[],applicant:[],visibility:[],is_featured:!1}),L=i=>{i.preventDefault(),u.loading(r("Creating job posting...")),T(route("hr.recruitment.job-postings.store"),{onSuccess:l=>{u.dismiss(),l.props.flash.success&&u.success(r(l.props.flash.success))},onError:l=>{u.dismiss(),typeof l=="string"?u.error(r(l)):u.error(r("Failed to create job posting"))}})},J=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.job-postings.index")},{title:r("Job Postings"),href:route("hr.recruitment.job-postings.index")},{title:r("Create")}];return e.jsx(D,{title:r("Create Job Posting"),breadcrumbs:J,actions:[{label:r("Back"),icon:e.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>E.get(route("hr.recruitment.job-postings.index"))}],children:e.jsxs("form",{onSubmit:L,className:"space-y-6",children:[e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Basic Information")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"title",required:!0,children:[r("Job Title")," "]}),e.jsx(d,{id:"title",value:s.title,onChange:i=>a("title",i.target.value),placeholder:r("Enter job title"),required:!0}),t.title&&e.jsx("p",{className:"text-sm text-red-500",children:t.title})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"job_type_id",required:!0,children:r("Job Type")}),e.jsxs(j,{value:s.job_type_id,onValueChange:i=>a("job_type_id",i),children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Job Type")})}),e.jsx(y,{searchable:!0,children:f==null?void 0:f.map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),t.job_type_id&&e.jsx("p",{className:"text-sm text-red-500",children:t.job_type_id})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"location_id",required:!0,children:[r("Location")," "]}),e.jsxs(j,{value:s.location_id,onValueChange:i=>a("location_id",i),children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Location")})}),e.jsx(y,{searchable:!0,children:N==null?void 0:N.map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),t.location_id&&e.jsx("p",{className:"text-sm text-red-500",children:t.location_id})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"branch_id",required:!0,children:r("Branch")}),e.jsxs(j,{value:s.branch_id,onValueChange:i=>{a("branch_id",i),a("department_id","")},children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Branch")})}),e.jsx(y,{searchable:!0,children:C==null?void 0:C.map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),t.branch_id&&e.jsx("p",{className:"text-sm text-red-500",children:t.branch_id})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"department_id",children:r("Department")}),e.jsxs(j,{value:s.department_id,onValueChange:i=>a("department_id",i),disabled:!s.branch_id,children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Department")})}),e.jsx(y,{searchable:!0,children:k==null?void 0:k.filter(i=>i.branch_id===parseInt(s.branch_id)).map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),t.department_id&&e.jsx("p",{className:"text-sm text-red-500",children:t.department_id})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"priority",required:!0,children:r("Priority")}),e.jsxs(j,{value:s.priority,onValueChange:i=>a("priority",i),children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Priority")})}),e.jsxs(y,{children:[e.jsx(o,{value:"Low",children:r("Low")}),e.jsx(o,{value:"Medium",children:r("Medium")}),e.jsx(o,{value:"High",children:r("High")})]})]}),t.priority&&e.jsx("p",{className:"text-sm text-red-500",children:t.priority})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"skills",required:!0,children:[r("Required Skills")," "]}),e.jsx(A,{value:s.skills,onChange:i=>a("skills",i),placeholder:r("Type Required Skills and press Enter")}),t.skills&&e.jsx("p",{className:"text-sm text-red-500",children:t.skills})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"start_date",required:!0,children:r("Start Date")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var c;const l=i.currentTarget.querySelector("input");try{(c=l==null?void 0:l.showPicker)==null||c.call(l)}catch{l==null||l.focus()}},children:e.jsx(d,{id:"start_date",type:"date",value:s.start_date,onChange:i=>a("start_date",i.target.value),className:"cursor-pointer"})}),t.start_date&&e.jsx("p",{className:"text-sm text-red-500",children:t.start_date})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"application_deadline",required:!0,children:r("Application Deadline")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var c;const l=i.currentTarget.querySelector("input");try{(c=l==null?void 0:l.showPicker)==null||c.call(l)}catch{l==null||l.focus()}},children:e.jsx(d,{id:"application_deadline",type:"date",value:s.application_deadline,onChange:i=>a("application_deadline",i.target.value),className:"cursor-pointer"})}),t.application_deadline&&e.jsx("p",{className:"text-sm text-red-500",children:t.application_deadline})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"application_type",required:!0,children:r("Job Application")}),e.jsxs(j,{value:s.application_type,onValueChange:i=>{a("application_type",i),i==="existing"?a("application_url",b?route("career.index",b):route("career.index")):a("application_url","")},children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Application Type")})}),e.jsxs(y,{children:[e.jsx(o,{value:"existing",children:r("Existing Link")}),e.jsx(o,{value:"custom",children:r("Custom Link")})]})]}),t.application_type&&e.jsx("p",{className:"text-sm text-red-500",children:t.application_type})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"application_url",required:!0,children:r("Application URL")}),e.jsx(d,{id:"application_url",value:s.application_url,onChange:i=>a("application_url",i.target.value),placeholder:r("Enter application URL"),disabled:s.application_type==="existing"}),t.application_url&&e.jsx("p",{className:"text-sm text-red-500",children:t.application_url})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"positions",required:!0,children:[r("Number of Positions")," "]}),e.jsx(d,{id:"positions",type:"number",min:"1",value:s.positions,onChange:i=>a("positions",parseInt(i.target.value)||1),placeholder:r("Enter number of positions")}),t.positions&&e.jsx("p",{className:"text-sm text-red-500",children:t.positions})]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(v,{id:"is_featured",checked:s.is_featured,onCheckedChange:i=>a("is_featured",i)}),e.jsx(n,{htmlFor:"is_featured",children:r("Featured Job")})]})]})]}),e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Experience & Salary")})}),e.jsx(h,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"min_experience",required:!0,children:[r("Min Experience (Years)")," "]}),e.jsx(d,{id:"min_experience",type:"number",min:"0",step:"0.1",value:s.min_experience,onChange:i=>a("min_experience",parseFloat(i.target.value)||0)}),t.min_experience&&e.jsx("p",{className:"text-sm text-red-500",children:t.min_experience})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"max_experience",required:!0,children:r("Max Experience (Years)")}),e.jsx(d,{id:"max_experience",type:"number",min:"0",step:"0.1",value:s.max_experience,onChange:i=>a("max_experience",i.target.value)}),t.max_experience&&e.jsx("p",{className:"text-sm text-red-500",children:t.max_experience})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"min_salary",required:!0,children:[" ",r("Min Salary")]}),e.jsx(d,{id:"min_salary",type:"number",min:"0",step:"0.01",value:s.min_salary,onChange:i=>a("min_salary",i.target.value)}),t.min_salary&&e.jsx("p",{className:"text-sm text-red-500",children:t.min_salary})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"max_salary",required:!0,children:r("Max Salary")}),e.jsx(d,{id:"max_salary",type:"number",min:"0",step:"0.01",value:s.max_salary,onChange:i=>a("max_salary",i.target.value)}),t.max_salary&&e.jsx("p",{className:"text-sm text-red-500",children:t.max_salary})]})]})})]}),e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Job Details")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"description",required:!0,children:r("Job Description")}),e.jsx(S,{content:s.description,onChange:i=>a("description",i),placeholder:r("Enter job description..."),className:"[&_.ProseMirror]:min-h-[150px]"}),t.description&&e.jsx("p",{className:"text-sm text-red-500",children:t.description})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"requirements",required:!0,children:r("Requirements")}),e.jsx(S,{content:s.requirements,onChange:i=>a("requirements",i),placeholder:r("Enter job requirements..."),className:"[&_.ProseMirror]:min-h-[150px]"}),t.requirements&&e.jsx("p",{className:"text-sm text-red-500",children:t.requirements})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"benefits",required:!0,children:r("Benefits")}),e.jsx(S,{content:s.benefits,onChange:i=>a("benefits",i),placeholder:r("Enter job benefits..."),className:"[&_.ProseMirror]:min-h-[120px]"}),t.benefits&&e.jsx("p",{className:"text-sm text-red-500",children:t.benefits})]})]})]}),q&&q.length>0&&e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Custom Questions")})}),e.jsx(h,{className:"space-y-4",children:q.map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(v,{id:`question_${i.id}`,checked:s.custom_question.includes(i.id),onCheckedChange:l=>{l?a("custom_question",[...s.custom_question,i.id]):a("custom_question",s.custom_question.filter(c=>c!==i.id))}}),e.jsxs(n,{htmlFor:`question_${i.id}`,className:"flex-1",children:[i.question,i.required===1&&e.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})]},i.id))})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Need to Ask?")})}),e.jsx(h,{className:"space-y-4",children:[{key:"gender",label:r("Gender")},{key:"date_of_birth",label:r("Date Of Birth")}].map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(v,{id:`applicant_${i.key}`,checked:s.applicant.includes(i.key),onCheckedChange:l=>{l?a("applicant",[...s.applicant,i.key]):a("applicant",s.applicant.filter(c=>c!==i.key))}}),e.jsx(n,{htmlFor:`applicant_${i.key}`,children:i.label})]},i.key))})]}),e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Need to Show Option?")})}),e.jsx(h,{className:"space-y-4",children:[{key:"cover_letter",label:r("Cover Letter")},{key:"terms_and_conditions",label:r("Terms And Conditions")}].map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(v,{id:`visibility_${i.key}`,checked:s.visibility.includes(i.key),onCheckedChange:l=>{l?a("visibility",[...s.visibility,i.key]):a("visibility",s.visibility.filter(c=>c!==i.key))}}),e.jsx(n,{htmlFor:`visibility_${i.key}`,children:i.label})]},i.key))})]})]}),e.jsxs("div",{className:"flex justify-end space-x-2",children:[e.jsx(P,{type:"button",variant:"outline",onClick:()=>E.get(route("hr.recruitment.job-postings.index")),children:r("Cancel")}),e.jsx(P,{type:"submit",disabled:F,children:r(F?"Creating...":"Create Job Posting")})]})]})})}export{Le as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as D}from"./page-template-CLNVC8w_.js";import{u as M,c as R,b as w,C as x,m as p,n as m,l as h,L as n,I as d,o as P,r as E,t as u}from"./app-Dya84jp7.js";import{S as j,a as _,b as g,c as y,d as o}from"./select-CHkpLxhL.js";import{C as v}from"./checkbox-BLrehV38.js";import{T as A}from"./tag-input-B-Rs7khN.js";import{R as S}from"./rich-text-editor-uObNYFW4.js";import{A as B}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./unlink-BLQWL2NW.js";import"./list-C_2fG_BT.js";import"./quote-BmDTOIsR.js";import"./link-DXJwkkHX.js";import"./code-znlKMFkF.js";function Le(){const{t:r}=M(),{jobTypes:f,locations:N,branches:C,departments:k,customQuestions:q,companySlug:b}=R().props,{data:s,setData:a,post:T,processing:F,errors:t}=w({title:"",job_type_id:"",location_id:"",branch_id:"",department_id:"",priority:"Low",skills:[],positions:1,min_experience:0,max_experience:"",min_salary:"",max_salary:"",description:"",requirements:"",education:"",benefits:"",start_date:"",application_deadline:"",application_type:"existing",application_url:b?route("career.index",b):route("career.index"),code:"",custom_question:[],applicant:[],visibility:[],is_featured:!1}),L=i=>{i.preventDefault(),u.loading(r("Creating job posting...")),T(route("hr.recruitment.job-postings.store"),{onSuccess:l=>{u.dismiss(),l.props.flash.success&&u.success(r(l.props.flash.success))},onError:l=>{u.dismiss(),typeof l=="string"?u.error(r(l)):u.error(r("Failed to create job posting"))}})},J=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.job-postings.index")},{title:r("Job Postings"),href:route("hr.recruitment.job-postings.index")},{title:r("Create")}];return e.jsx(D,{title:r("Create Job Posting"),breadcrumbs:J,actions:[{label:r("Back"),icon:e.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>E.get(route("hr.recruitment.job-postings.index"))}],children:e.jsxs("form",{onSubmit:L,className:"space-y-6",children:[e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Basic Information")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"title",required:!0,children:[r("Job Title")," "]}),e.jsx(d,{id:"title",value:s.title,onChange:i=>a("title",i.target.value),placeholder:r("Enter job title"),required:!0}),t.title&&e.jsx("p",{className:"text-sm text-red-500",children:t.title})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"job_type_id",required:!0,children:r("Job Type")}),e.jsxs(j,{value:s.job_type_id,onValueChange:i=>a("job_type_id",i),children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Job Type")})}),e.jsx(y,{searchable:!0,children:f==null?void 0:f.map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),t.job_type_id&&e.jsx("p",{className:"text-sm text-red-500",children:t.job_type_id})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"location_id",required:!0,children:[r("Location")," "]}),e.jsxs(j,{value:s.location_id,onValueChange:i=>a("location_id",i),children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Location")})}),e.jsx(y,{searchable:!0,children:N==null?void 0:N.map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),t.location_id&&e.jsx("p",{className:"text-sm text-red-500",children:t.location_id})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"branch_id",required:!0,children:r("Branch")}),e.jsxs(j,{value:s.branch_id,onValueChange:i=>{a("branch_id",i),a("department_id","")},children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Branch")})}),e.jsx(y,{searchable:!0,children:C==null?void 0:C.map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),t.branch_id&&e.jsx("p",{className:"text-sm text-red-500",children:t.branch_id})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"department_id",children:r("Department")}),e.jsxs(j,{value:s.department_id,onValueChange:i=>a("department_id",i),disabled:!s.branch_id,children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Department")})}),e.jsx(y,{searchable:!0,children:k==null?void 0:k.filter(i=>i.branch_id===parseInt(s.branch_id)).map(i=>e.jsx(o,{value:i.id.toString(),children:i.name},i.id))})]}),t.department_id&&e.jsx("p",{className:"text-sm text-red-500",children:t.department_id})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"priority",required:!0,children:r("Priority")}),e.jsxs(j,{value:s.priority,onValueChange:i=>a("priority",i),children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Priority")})}),e.jsxs(y,{children:[e.jsx(o,{value:"Low",children:r("Low")}),e.jsx(o,{value:"Medium",children:r("Medium")}),e.jsx(o,{value:"High",children:r("High")})]})]}),t.priority&&e.jsx("p",{className:"text-sm text-red-500",children:t.priority})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"skills",required:!0,children:[r("Required Skills")," "]}),e.jsx(A,{value:s.skills,onChange:i=>a("skills",i),placeholder:r("Type Required Skills and press Enter")}),t.skills&&e.jsx("p",{className:"text-sm text-red-500",children:t.skills})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"start_date",required:!0,children:r("Start Date")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var c;const l=i.currentTarget.querySelector("input");try{(c=l==null?void 0:l.showPicker)==null||c.call(l)}catch{l==null||l.focus()}},children:e.jsx(d,{id:"start_date",type:"date",value:s.start_date,onChange:i=>a("start_date",i.target.value),className:"cursor-pointer"})}),t.start_date&&e.jsx("p",{className:"text-sm text-red-500",children:t.start_date})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"application_deadline",required:!0,children:r("Application Deadline")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var c;const l=i.currentTarget.querySelector("input");try{(c=l==null?void 0:l.showPicker)==null||c.call(l)}catch{l==null||l.focus()}},children:e.jsx(d,{id:"application_deadline",type:"date",value:s.application_deadline,onChange:i=>a("application_deadline",i.target.value),className:"cursor-pointer"})}),t.application_deadline&&e.jsx("p",{className:"text-sm text-red-500",children:t.application_deadline})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"application_type",required:!0,children:r("Job Application")}),e.jsxs(j,{value:s.application_type,onValueChange:i=>{a("application_type",i),i==="existing"?a("application_url",b?route("career.index",b):route("career.index")):a("application_url","")},children:[e.jsx(_,{children:e.jsx(g,{placeholder:r("Select Application Type")})}),e.jsxs(y,{children:[e.jsx(o,{value:"existing",children:r("Existing Link")}),e.jsx(o,{value:"custom",children:r("Custom Link")})]})]}),t.application_type&&e.jsx("p",{className:"text-sm text-red-500",children:t.application_type})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"application_url",required:!0,children:r("Application URL")}),e.jsx(d,{id:"application_url",value:s.application_url,onChange:i=>a("application_url",i.target.value),placeholder:r("Enter application URL"),disabled:s.application_type==="existing"}),t.application_url&&e.jsx("p",{className:"text-sm text-red-500",children:t.application_url})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"positions",required:!0,children:[r("Number of Positions")," "]}),e.jsx(d,{id:"positions",type:"number",min:"1",value:s.positions,onChange:i=>a("positions",parseInt(i.target.value)||1),placeholder:r("Enter number of positions")}),t.positions&&e.jsx("p",{className:"text-sm text-red-500",children:t.positions})]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(v,{id:"is_featured",checked:s.is_featured,onCheckedChange:i=>a("is_featured",i)}),e.jsx(n,{htmlFor:"is_featured",children:r("Featured Job")})]})]})]}),e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Experience & Salary")})}),e.jsx(h,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"min_experience",required:!0,children:[r("Min Experience (Years)")," "]}),e.jsx(d,{id:"min_experience",type:"number",min:"0",step:"0.1",value:s.min_experience,onChange:i=>a("min_experience",parseFloat(i.target.value)||0)}),t.min_experience&&e.jsx("p",{className:"text-sm text-red-500",children:t.min_experience})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"max_experience",required:!0,children:r("Max Experience (Years)")}),e.jsx(d,{id:"max_experience",type:"number",min:"0",step:"0.1",value:s.max_experience,onChange:i=>a("max_experience",i.target.value)}),t.max_experience&&e.jsx("p",{className:"text-sm text-red-500",children:t.max_experience})]}),e.jsxs("div",{children:[e.jsxs(n,{htmlFor:"min_salary",required:!0,children:[" ",r("Min Salary")]}),e.jsx(d,{id:"min_salary",type:"number",min:"0",step:"0.01",value:s.min_salary,onChange:i=>a("min_salary",i.target.value)}),t.min_salary&&e.jsx("p",{className:"text-sm text-red-500",children:t.min_salary})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"max_salary",required:!0,children:r("Max Salary")}),e.jsx(d,{id:"max_salary",type:"number",min:"0",step:"0.01",value:s.max_salary,onChange:i=>a("max_salary",i.target.value)}),t.max_salary&&e.jsx("p",{className:"text-sm text-red-500",children:t.max_salary})]})]})})]}),e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Job Details")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"description",required:!0,children:r("Job Description")}),e.jsx(S,{content:s.description,onChange:i=>a("description",i),placeholder:r("Enter job description..."),className:"[&_.ProseMirror]:min-h-[150px]"}),t.description&&e.jsx("p",{className:"text-sm text-red-500",children:t.description})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"requirements",required:!0,children:r("Requirements")}),e.jsx(S,{content:s.requirements,onChange:i=>a("requirements",i),placeholder:r("Enter job requirements..."),className:"[&_.ProseMirror]:min-h-[150px]"}),t.requirements&&e.jsx("p",{className:"text-sm text-red-500",children:t.requirements})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"benefits",required:!0,children:r("Benefits")}),e.jsx(S,{content:s.benefits,onChange:i=>a("benefits",i),placeholder:r("Enter job benefits..."),className:"[&_.ProseMirror]:min-h-[120px]"}),t.benefits&&e.jsx("p",{className:"text-sm text-red-500",children:t.benefits})]})]})]}),q&&q.length>0&&e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Custom Questions")})}),e.jsx(h,{className:"space-y-4",children:q.map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(v,{id:`question_${i.id}`,checked:s.custom_question.includes(i.id),onCheckedChange:l=>{l?a("custom_question",[...s.custom_question,i.id]):a("custom_question",s.custom_question.filter(c=>c!==i.id))}}),e.jsxs(n,{htmlFor:`question_${i.id}`,className:"flex-1",children:[i.question,i.required===1&&e.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})]},i.id))})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Need to Ask?")})}),e.jsx(h,{className:"space-y-4",children:[{key:"gender",label:r("Gender")},{key:"date_of_birth",label:r("Date Of Birth")}].map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(v,{id:`applicant_${i.key}`,checked:s.applicant.includes(i.key),onCheckedChange:l=>{l?a("applicant",[...s.applicant,i.key]):a("applicant",s.applicant.filter(c=>c!==i.key))}}),e.jsx(n,{htmlFor:`applicant_${i.key}`,children:i.label})]},i.key))})]}),e.jsxs(x,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Need to Show Option?")})}),e.jsx(h,{className:"space-y-4",children:[{key:"cover_letter",label:r("Cover Letter")},{key:"terms_and_conditions",label:r("Terms And Conditions")}].map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(v,{id:`visibility_${i.key}`,checked:s.visibility.includes(i.key),onCheckedChange:l=>{l?a("visibility",[...s.visibility,i.key]):a("visibility",s.visibility.filter(c=>c!==i.key))}}),e.jsx(n,{htmlFor:`visibility_${i.key}`,children:i.label})]},i.key))})]})]}),e.jsxs("div",{className:"flex justify-end space-x-2",children:[e.jsx(P,{type:"button",variant:"outline",onClick:()=>E.get(route("hr.recruitment.job-postings.index")),children:r("Cancel")}),e.jsx(P,{type:"submit",disabled:F,children:r(F?"Creating...":"Create Job Posting")})]})]})})}export{Le as default}; diff --git a/public/build/assets/credit-card-BmdpMcMw.js b/public/build/assets/credit-card-BKi_ThdS.js similarity index 88% rename from public/build/assets/credit-card-BmdpMcMw.js rename to public/build/assets/credit-card-BKi_ThdS.js index a918db668..d446242b1 100644 --- a/public/build/assets/credit-card-BmdpMcMw.js +++ b/public/build/assets/credit-card-BKi_ThdS.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/crosshair-D1Bk7XgB.js b/public/build/assets/crosshair-CURvK9L2.js similarity index 91% rename from public/build/assets/crosshair-D1Bk7XgB.js rename to public/build/assets/crosshair-CURvK9L2.js index 42b90423e..36c771b0c 100644 --- a/public/build/assets/crosshair-D1Bk7XgB.js +++ b/public/build/assets/crosshair-CURvK9L2.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/crown-hSojj3Kc.js b/public/build/assets/crown-CroP5qiL.js similarity index 92% rename from public/build/assets/crown-hSojj3Kc.js rename to public/build/assets/crown-CroP5qiL.js index 4ecc2dfc5..fb3ccbca9 100644 --- a/public/build/assets/crown-hSojj3Kc.js +++ b/public/build/assets/crown-CroP5qiL.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/currency-settings-WgmyxKUz.js b/public/build/assets/currency-settings-BT4omTSx.js similarity index 95% rename from public/build/assets/currency-settings-WgmyxKUz.js rename to public/build/assets/currency-settings-BT4omTSx.js index aa576d55d..cb67e7cdc 100644 --- a/public/build/assets/currency-settings-WgmyxKUz.js +++ b/public/build/assets/currency-settings-BT4omTSx.js @@ -1 +1 @@ -import{r as C,j as e}from"./ui-Z445SNHD.js";import{u as _,c as A,ap as z,C as L,m as O,l as R,I as H,o as x,L as m,B as U,al as f,s as y,v as N,w as S,V as v,y as W,t as u,r as q}from"./app-CfhhiFAk.js";import{S as w,a as F,b as P,c as D,d as l}from"./select-BrY9osYp.js";import{S as I}from"./switch-CKduD2wX.js";import{D as G}from"./dollar-sign-DYXFWWsE.js";import{I as b}from"./info-D_4wnc_R.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";function le(){const{t:a}=_(),{currencies:n=[],systemSettings:d={},globalSettings:i}=A().props,[r,g]=C.useState({decimalFormat:d.decimalFormat||"2",defaultCurrency:d.defaultCurrency||"USD",decimalSeparator:d.decimalSeparator||".",thousandsSeparator:d.thousandsSeparator||",",floatNumber:d.floatNumber!=="0",currencySymbolSpace:d.currencySymbolSpace==="1",currencySymbolPosition:d.currencySymbolPosition||"before",currencyName:""}),[k,T]=C.useState(1234.56);C.useEffect(()=>{if(n&&n.length>0){const s=n.find(t=>t.code===r.defaultCurrency);s&&g(t=>({...t,currencyName:s.name}))}},[n,r.defaultCurrency]);const o=(s,t)=>{g(c=>({...c,[s]:t}))},V=s=>{const t=n.find(c=>c.code===s);g(c=>({...c,defaultCurrency:s,currencyName:(t==null?void 0:t.name)||s}))},B=()=>{try{let s=k;const t=parseInt(r.decimalFormat);r.floatNumber||(s=Math.floor(s));const c=s.toFixed(t).split(".");r.thousandsSeparator!=="none"&&(c[0]=c[0].replace(/\B(?=(\d{3})+(?!\d))/g,r.thousandsSeparator));const j=c.join(r.decimalSeparator),h=n.find(M=>M.code===r.defaultCurrency),p=(h==null?void 0:h.symbol)||"$",$=r.currencySymbolSpace?" ":"";return r.currencySymbolPosition==="before"?`${p}${$}${j}`:`${j}${$}${p}`}catch{return"Invalid format"}},E=s=>{s.preventDefault(),i!=null&&i.is_demo||u.loading(a("Saving currency settings...")),q.post(route("settings.currency.update"),r,{preserveScroll:!0,onSuccess:t=>{var h,p;i!=null&&i.is_demo||u.dismiss();const c=(h=t.props.flash)==null?void 0:h.success,j=(p=t.props.flash)==null?void 0:p.error;c?u.success(c):j?u.error(j):u.success(a("Currency settings updated successfully"))},onError:t=>{i!=null&&i.is_demo||u.dismiss();const c=t.error||Object.values(t).join(", ")||a("Failed to update currency settings");u.error(c)}})};return e.jsx(z,{title:a("Currency Settings"),description:a("Configure how currency values are displayed throughout the application"),action:e.jsxs(x,{type:"submit",form:"currency-settings-form",size:"sm",children:[e.jsx(W,{className:"h-4 w-4 mr-2"}),a("Save Changes")]}),children:e.jsx("form",{id:"currency-settings-form",onSubmit:E,children:e.jsx("div",{className:"grid grid-cols-1 gap-6",children:e.jsx("div",{children:e.jsxs(L,{children:[e.jsx(O,{className:"pb-3",children:e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(G,{className:"h-5 w-5 text-primary"}),e.jsx("h3",{className:"text-base font-medium",children:a("Format Options")})]})})}),e.jsx(R,{children:e.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[e.jsxs("div",{className:"p-4 bg-muted/30 rounded-md border flex flex-col md:flex-row items-center justify-between",children:[e.jsxs("div",{className:"flex flex-col items-center md:items-start mb-3 md:mb-0",children:[e.jsx("div",{className:"text-2xl font-semibold mb-1",children:B()}),e.jsxs("div",{className:"text-xs text-muted-foreground",children:[r.currencyName," (",r.defaultCurrency,")"]})]}),e.jsx("div",{className:"w-full md:w-auto md:max-w-[200px]",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(H,{type:"number",className:"text-right h-8 text-sm",value:k,onChange:s=>T(parseFloat(s.target.value)||0),placeholder:"Test amount"}),e.jsx(x,{variant:"outline",onClick:()=>T(1234.56),type:"button",size:"sm",className:"h-8 text-xs",children:"Reset"})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"defaultCurrency",className:"font-medium",children:a("Default Currency")}),e.jsx(U,{variant:"outline",className:"font-mono",children:r.defaultCurrency})]}),e.jsxs(w,{value:r.defaultCurrency,onValueChange:V,children:[e.jsx(F,{children:e.jsx(P,{placeholder:a("Select currency")})}),e.jsx(D,{children:e.jsx("div",{className:"max-h-[300px] overflow-y-auto",children:n&&n.length>0?n.map(s=>e.jsx(l,{value:s.code,children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"w-8 text-center",children:s.symbol}),e.jsxs("span",{children:[s.code," - ",s.name]}),s.is_default&&e.jsx("span",{className:"ml-2 text-xs text-primary",children:"(Default)"})]})},s.id)):e.jsx("div",{className:"p-2 text-center text-muted-foreground",children:a("No currencies found")})})})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"decimalFormat",className:"font-medium",children:a("Decimal Places")}),e.jsx(f,{children:e.jsxs(y,{children:[e.jsx(N,{asChild:!0,children:e.jsx(b,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(S,{children:e.jsx("p",{children:a("Number of digits after decimal point")})})]})})]}),e.jsxs(w,{value:r.decimalFormat,onValueChange:s=>o("decimalFormat",s),children:[e.jsx(F,{children:e.jsx(P,{placeholder:"Select decimal format"})}),e.jsxs(D,{children:[e.jsx(l,{value:"0",children:"0 (e.g., 1234)"}),e.jsx(l,{value:"1",children:"1 (e.g., 1234.5)"}),e.jsx(l,{value:"2",children:"2 (e.g., 1234.56)"}),e.jsx(l,{value:"3",children:"3 (e.g., 1234.567)"}),e.jsx(l,{value:"4",children:"4 (e.g., 1234.5678)"})]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"currencySymbolPosition",className:"font-medium",children:a("Symbol Position")}),e.jsx(f,{children:e.jsxs(y,{children:[e.jsx(N,{asChild:!0,children:e.jsx(b,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(S,{children:e.jsx("p",{children:a("Where to place the currency symbol")})})]})})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs(x,{type:"button",variant:r.currencySymbolPosition==="before"?"default":"outline",className:"justify-center",onClick:()=>o("currencySymbolPosition","before"),children:[e.jsx("span",{className:"mr-2",children:"$"}),"100",r.currencySymbolPosition==="before"&&e.jsx(v,{className:"h-4 w-4 ml-2"})]}),e.jsxs(x,{type:"button",variant:r.currencySymbolPosition==="after"?"default":"outline",className:"justify-center",onClick:()=>o("currencySymbolPosition","after"),children:["100",e.jsx("span",{className:"ml-2",children:"$"}),r.currencySymbolPosition==="after"&&e.jsx(v,{className:"h-4 w-4 ml-2"})]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"decimalSeparator",className:"font-medium",children:a("Decimal Separator")}),e.jsx(f,{children:e.jsxs(y,{children:[e.jsx(N,{asChild:!0,children:e.jsx(b,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(S,{children:e.jsx("p",{children:a("Character used to separate decimal places")})})]})})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs(x,{type:"button",variant:r.decimalSeparator==="."?"default":"outline",className:"justify-center",onClick:()=>o("decimalSeparator","."),children:[a("Dot")," (123.45)",r.decimalSeparator==="."&&e.jsx(v,{className:"h-4 w-4 ml-2"})]}),e.jsxs(x,{type:"button",variant:r.decimalSeparator===","?"default":"outline",className:"justify-center",onClick:()=>o("decimalSeparator",","),children:[a("Comma")," (123,45)",r.decimalSeparator===","&&e.jsx(v,{className:"h-4 w-4 ml-2"})]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"thousandsSeparator",className:"font-medium",children:a("Thousands Separator")}),e.jsx(f,{children:e.jsxs(y,{children:[e.jsx(N,{asChild:!0,children:e.jsx(b,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(S,{children:e.jsx("p",{children:a("Character used to group thousands")})})]})})]}),e.jsxs(w,{value:r.thousandsSeparator,onValueChange:s=>o("thousandsSeparator",s),children:[e.jsx(F,{children:e.jsx(P,{placeholder:a("Select thousands separator")})}),e.jsxs(D,{children:[e.jsx(l,{value:",",children:"Comma (1,234.56)"}),e.jsx(l,{value:".",children:"Dot (1.234,56)"}),e.jsx(l,{value:" ",children:"Space (1 234.56)"}),e.jsx(l,{value:"none",children:"None (123456.78)"})]})]})]}),e.jsx("div",{className:"space-y-3 border rounded-md p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(m,{htmlFor:"floatNumber",className:"font-medium",children:a("Show Decimals")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:a("Display decimal places in amounts")})]}),e.jsx(I,{id:"floatNumber",checked:r.floatNumber,onCheckedChange:s=>o("floatNumber",s)})]})}),e.jsx("div",{className:"space-y-3 border rounded-md p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(m,{htmlFor:"currencySymbolSpace",className:"font-medium",children:a("Add Space")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:a("Space between amount and symbol")})]}),e.jsx(I,{id:"currencySymbolSpace",checked:r.currencySymbolSpace,onCheckedChange:s=>o("currencySymbolSpace",s)})]})})]})]})})]})})})})})}export{le as default}; +import{r as C,j as e}from"./ui-Z445SNHD.js";import{u as _,c as A,ap as z,C as L,m as O,l as R,I as H,o as x,L as m,B as U,al as f,s as y,v as N,w as S,V as v,y as W,t as u,r as q}from"./app-Dya84jp7.js";import{S as w,a as F,b as P,c as D,d as l}from"./select-CHkpLxhL.js";import{S as I}from"./switch-DyHgm-Sg.js";import{D as G}from"./dollar-sign-DH2Tc178.js";import{I as b}from"./info-CPi9bOGM.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";function le(){const{t:a}=_(),{currencies:n=[],systemSettings:d={},globalSettings:i}=A().props,[r,g]=C.useState({decimalFormat:d.decimalFormat||"2",defaultCurrency:d.defaultCurrency||"USD",decimalSeparator:d.decimalSeparator||".",thousandsSeparator:d.thousandsSeparator||",",floatNumber:d.floatNumber!=="0",currencySymbolSpace:d.currencySymbolSpace==="1",currencySymbolPosition:d.currencySymbolPosition||"before",currencyName:""}),[k,T]=C.useState(1234.56);C.useEffect(()=>{if(n&&n.length>0){const s=n.find(t=>t.code===r.defaultCurrency);s&&g(t=>({...t,currencyName:s.name}))}},[n,r.defaultCurrency]);const o=(s,t)=>{g(c=>({...c,[s]:t}))},V=s=>{const t=n.find(c=>c.code===s);g(c=>({...c,defaultCurrency:s,currencyName:(t==null?void 0:t.name)||s}))},B=()=>{try{let s=k;const t=parseInt(r.decimalFormat);r.floatNumber||(s=Math.floor(s));const c=s.toFixed(t).split(".");r.thousandsSeparator!=="none"&&(c[0]=c[0].replace(/\B(?=(\d{3})+(?!\d))/g,r.thousandsSeparator));const j=c.join(r.decimalSeparator),h=n.find(M=>M.code===r.defaultCurrency),p=(h==null?void 0:h.symbol)||"$",$=r.currencySymbolSpace?" ":"";return r.currencySymbolPosition==="before"?`${p}${$}${j}`:`${j}${$}${p}`}catch{return"Invalid format"}},E=s=>{s.preventDefault(),i!=null&&i.is_demo||u.loading(a("Saving currency settings...")),q.post(route("settings.currency.update"),r,{preserveScroll:!0,onSuccess:t=>{var h,p;i!=null&&i.is_demo||u.dismiss();const c=(h=t.props.flash)==null?void 0:h.success,j=(p=t.props.flash)==null?void 0:p.error;c?u.success(c):j?u.error(j):u.success(a("Currency settings updated successfully"))},onError:t=>{i!=null&&i.is_demo||u.dismiss();const c=t.error||Object.values(t).join(", ")||a("Failed to update currency settings");u.error(c)}})};return e.jsx(z,{title:a("Currency Settings"),description:a("Configure how currency values are displayed throughout the application"),action:e.jsxs(x,{type:"submit",form:"currency-settings-form",size:"sm",children:[e.jsx(W,{className:"h-4 w-4 mr-2"}),a("Save Changes")]}),children:e.jsx("form",{id:"currency-settings-form",onSubmit:E,children:e.jsx("div",{className:"grid grid-cols-1 gap-6",children:e.jsx("div",{children:e.jsxs(L,{children:[e.jsx(O,{className:"pb-3",children:e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(G,{className:"h-5 w-5 text-primary"}),e.jsx("h3",{className:"text-base font-medium",children:a("Format Options")})]})})}),e.jsx(R,{children:e.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[e.jsxs("div",{className:"p-4 bg-muted/30 rounded-md border flex flex-col md:flex-row items-center justify-between",children:[e.jsxs("div",{className:"flex flex-col items-center md:items-start mb-3 md:mb-0",children:[e.jsx("div",{className:"text-2xl font-semibold mb-1",children:B()}),e.jsxs("div",{className:"text-xs text-muted-foreground",children:[r.currencyName," (",r.defaultCurrency,")"]})]}),e.jsx("div",{className:"w-full md:w-auto md:max-w-[200px]",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(H,{type:"number",className:"text-right h-8 text-sm",value:k,onChange:s=>T(parseFloat(s.target.value)||0),placeholder:"Test amount"}),e.jsx(x,{variant:"outline",onClick:()=>T(1234.56),type:"button",size:"sm",className:"h-8 text-xs",children:"Reset"})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"defaultCurrency",className:"font-medium",children:a("Default Currency")}),e.jsx(U,{variant:"outline",className:"font-mono",children:r.defaultCurrency})]}),e.jsxs(w,{value:r.defaultCurrency,onValueChange:V,children:[e.jsx(F,{children:e.jsx(P,{placeholder:a("Select currency")})}),e.jsx(D,{children:e.jsx("div",{className:"max-h-[300px] overflow-y-auto",children:n&&n.length>0?n.map(s=>e.jsx(l,{value:s.code,children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"w-8 text-center",children:s.symbol}),e.jsxs("span",{children:[s.code," - ",s.name]}),s.is_default&&e.jsx("span",{className:"ml-2 text-xs text-primary",children:"(Default)"})]})},s.id)):e.jsx("div",{className:"p-2 text-center text-muted-foreground",children:a("No currencies found")})})})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"decimalFormat",className:"font-medium",children:a("Decimal Places")}),e.jsx(f,{children:e.jsxs(y,{children:[e.jsx(N,{asChild:!0,children:e.jsx(b,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(S,{children:e.jsx("p",{children:a("Number of digits after decimal point")})})]})})]}),e.jsxs(w,{value:r.decimalFormat,onValueChange:s=>o("decimalFormat",s),children:[e.jsx(F,{children:e.jsx(P,{placeholder:"Select decimal format"})}),e.jsxs(D,{children:[e.jsx(l,{value:"0",children:"0 (e.g., 1234)"}),e.jsx(l,{value:"1",children:"1 (e.g., 1234.5)"}),e.jsx(l,{value:"2",children:"2 (e.g., 1234.56)"}),e.jsx(l,{value:"3",children:"3 (e.g., 1234.567)"}),e.jsx(l,{value:"4",children:"4 (e.g., 1234.5678)"})]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"currencySymbolPosition",className:"font-medium",children:a("Symbol Position")}),e.jsx(f,{children:e.jsxs(y,{children:[e.jsx(N,{asChild:!0,children:e.jsx(b,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(S,{children:e.jsx("p",{children:a("Where to place the currency symbol")})})]})})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs(x,{type:"button",variant:r.currencySymbolPosition==="before"?"default":"outline",className:"justify-center",onClick:()=>o("currencySymbolPosition","before"),children:[e.jsx("span",{className:"mr-2",children:"$"}),"100",r.currencySymbolPosition==="before"&&e.jsx(v,{className:"h-4 w-4 ml-2"})]}),e.jsxs(x,{type:"button",variant:r.currencySymbolPosition==="after"?"default":"outline",className:"justify-center",onClick:()=>o("currencySymbolPosition","after"),children:["100",e.jsx("span",{className:"ml-2",children:"$"}),r.currencySymbolPosition==="after"&&e.jsx(v,{className:"h-4 w-4 ml-2"})]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"decimalSeparator",className:"font-medium",children:a("Decimal Separator")}),e.jsx(f,{children:e.jsxs(y,{children:[e.jsx(N,{asChild:!0,children:e.jsx(b,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(S,{children:e.jsx("p",{children:a("Character used to separate decimal places")})})]})})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs(x,{type:"button",variant:r.decimalSeparator==="."?"default":"outline",className:"justify-center",onClick:()=>o("decimalSeparator","."),children:[a("Dot")," (123.45)",r.decimalSeparator==="."&&e.jsx(v,{className:"h-4 w-4 ml-2"})]}),e.jsxs(x,{type:"button",variant:r.decimalSeparator===","?"default":"outline",className:"justify-center",onClick:()=>o("decimalSeparator",","),children:[a("Comma")," (123,45)",r.decimalSeparator===","&&e.jsx(v,{className:"h-4 w-4 ml-2"})]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{htmlFor:"thousandsSeparator",className:"font-medium",children:a("Thousands Separator")}),e.jsx(f,{children:e.jsxs(y,{children:[e.jsx(N,{asChild:!0,children:e.jsx(b,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(S,{children:e.jsx("p",{children:a("Character used to group thousands")})})]})})]}),e.jsxs(w,{value:r.thousandsSeparator,onValueChange:s=>o("thousandsSeparator",s),children:[e.jsx(F,{children:e.jsx(P,{placeholder:a("Select thousands separator")})}),e.jsxs(D,{children:[e.jsx(l,{value:",",children:"Comma (1,234.56)"}),e.jsx(l,{value:".",children:"Dot (1.234,56)"}),e.jsx(l,{value:" ",children:"Space (1 234.56)"}),e.jsx(l,{value:"none",children:"None (123456.78)"})]})]})]}),e.jsx("div",{className:"space-y-3 border rounded-md p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(m,{htmlFor:"floatNumber",className:"font-medium",children:a("Show Decimals")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:a("Display decimal places in amounts")})]}),e.jsx(I,{id:"floatNumber",checked:r.floatNumber,onCheckedChange:s=>o("floatNumber",s)})]})}),e.jsx("div",{className:"space-y-3 border rounded-md p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(m,{htmlFor:"currencySymbolSpace",className:"font-medium",children:a("Add Space")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:a("Space between amount and symbol")})]}),e.jsx(I,{id:"currencySymbolSpace",checked:r.currencySymbolSpace,onCheckedChange:s=>o("currencySymbolSpace",s)})]})})]})]})})]})})})})})}export{le as default}; diff --git a/public/build/assets/custom-page-DdQaGiXq.js b/public/build/assets/custom-page-CPuiighF.js similarity index 89% rename from public/build/assets/custom-page-DdQaGiXq.js rename to public/build/assets/custom-page-CPuiighF.js index 2dd021366..8101e38e0 100644 --- a/public/build/assets/custom-page-DdQaGiXq.js +++ b/public/build/assets/custom-page-CPuiighF.js @@ -1,4 +1,4 @@ -import{R,j as o}from"./ui-Z445SNHD.js";import{c as z,H as A}from"./app-CfhhiFAk.js";import F from"./Header-DgbIWCbH.js";import T from"./Footer-EjF7VPLK.js";import{u as $}from"./use-favicon-Dgw0iu9k.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./menu-Ce4PLUkG.js";import"./mail-CGIE7ZEy.js";import"./phone-B_MwJBjY.js";import"./map-pin-BEMjKB1T.js";import"./instagram-BINpUnZv.js";import"./twitter-C171Pyox.js";function Z(){var u,f,h,x,g,b,y,j,_,v,C,N,k;const l=z(),{page:t,customPages:P=[],settings:e}=l.props,i=l.props.globalSettings;R.useEffect(()=>{const r=(i==null?void 0:i.is_demo)||!1;let c="left";if(r){const m=(H=>{var E;if(typeof document>"u")return null;const w=`; ${document.cookie}`.split(`; ${H}=`);if(w.length===2){const D=(E=w.pop())==null?void 0:E.split(";").shift();return D?decodeURIComponent(D):null}return null})("layoutPosition");(m==="left"||m==="right")&&(c=m)}else{const s=i==null?void 0:i.layoutDirection;(s==="left"||s==="right")&&(c=s)}const n=c==="right"?"rtl":"ltr";document.documentElement.dir=n,document.documentElement.setAttribute("dir",n),setTimeout(()=>{document.documentElement.getAttribute("dir")!==n&&(document.documentElement.dir=n,document.documentElement.setAttribute("dir",n))},1)},[]);const I=` +import{R,j as o}from"./ui-Z445SNHD.js";import{c as z,H as A}from"./app-Dya84jp7.js";import F from"./Header-CPmg6Bp5.js";import T from"./Footer-CzBrdWfY.js";import{u as $}from"./use-favicon-B8cqaHhj.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./menu-GuULvnRC.js";import"./mail-Cha_PX4q.js";import"./phone-3MnRoAYu.js";import"./map-pin-DFWKFR9c.js";import"./instagram-hxbchcd2.js";import"./twitter-DZQVDI4Y.js";function Z(){var u,f,h,x,g,b,y,j,_,v,C,N,k;const l=z(),{page:t,customPages:P=[],settings:e}=l.props,i=l.props.globalSettings;R.useEffect(()=>{const r=(i==null?void 0:i.is_demo)||!1;let c="left";if(r){const m=(H=>{var E;if(typeof document>"u")return null;const w=`; ${document.cookie}`.split(`; ${H}=`);if(w.length===2){const D=(E=w.pop())==null?void 0:E.split(";").shift();return D?decodeURIComponent(D):null}return null})("layoutPosition");(m==="left"||m==="right")&&(c=m)}else{const s=i==null?void 0:i.layoutDirection;(s==="left"||s==="right")&&(c=s)}const n=c==="right"?"rtl":"ltr";document.documentElement.dir=n,document.documentElement.setAttribute("dir",n),setTimeout(()=>{document.documentElement.getAttribute("dir")!==n&&(document.documentElement.dir=n,document.documentElement.setAttribute("dir",n))},1)},[]);const I=` .prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { color: #1f2937; font-weight: 600; diff --git a/public/build/assets/dashboard-Cq38_JDx.js b/public/build/assets/dashboard-Bn4z_3Hu.js similarity index 87% rename from public/build/assets/dashboard-Cq38_JDx.js rename to public/build/assets/dashboard-Bn4z_3Hu.js index 8c115705a..27b3a0575 100644 --- a/public/build/assets/dashboard-Cq38_JDx.js +++ b/public/build/assets/dashboard-Bn4z_3Hu.js @@ -1 +1 @@ -import{j as e,r as w}from"./ui-Z445SNHD.js";import{P as y}from"./page-template-BTxLyiDA.js";import{u as f,C as i,m as p,n as u,l,d as k,r as C}from"./app-CfhhiFAk.js";import{B as h}from"./building-2-D7cTdbG2.js";import{C as j}from"./credit-card-BmdpMcMw.js";import{D as N}from"./dollar-sign-DYXFWWsE.js";import{T as R}from"./tag-JSZ9YmZg.js";import{E as T}from"./eye--FVGKpVp.js";import{S as P}from"./sparkles-BIbzOfb3.js";import{A as S}from"./arrow-right-0WTHrq3r.js";import{T as b}from"./trending-up-Bi4f72Tj.js";import{R as A}from"./refresh-cw-DWorkL8J.js";import{C as E}from"./circle-alert-64DrdoHv.js";import{U as L}from"./user-plus-DXHdW4q-.js";import{T as G}from"./ticket-iWUCgUMN.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({userType:t,stats:s}){const{t:r}=f(),m=[{title:r("Company Management"),description:r("Manage all registered companies and their subscriptions"),icon:h,color:"blue",href:route("companies.index"),count:(s==null?void 0:s.totalCompanies)||0},{title:r("Plan Management"),description:r("Create and manage subscription plans"),icon:j,color:"purple",href:route("plans.index"),count:(s==null?void 0:s.activePlans)||0},{title:r("Revenue Tracking"),description:r("Track and manage plan orders and revenue"),icon:N,color:"green",href:route("plan-orders.index"),count:s!=null&&s.totalRevenue?window.appSettings.formatCurrency(s.totalRevenue):0},{title:r("Coupon Management"),description:r("Create and manage discount coupons"),icon:R,color:"orange",href:route("coupons.index"),count:(s==null?void 0:s.activeCoupons)||0}],d=[{title:r("Business Views"),description:r("Track views of your digital business cards"),icon:T,color:"orange",href:route("dashboard"),count:(s==null?void 0:s.totalViews)||0}],x=t==="superadmin"?m:d,a=n=>{const c={blue:"bg-blue-100 text-blue-600 dark:bg-blue-900 dark:text-blue-400",green:"bg-green-100 text-green-600 dark:bg-green-900 dark:text-green-400",teal:"bg-teal-100 text-teal-600 dark:bg-teal-900 dark:text-teal-400",purple:"bg-purple-100 text-purple-600 dark:bg-purple-900 dark:text-purple-400",orange:"bg-orange-100 text-orange-600 dark:bg-orange-900 dark:text-orange-400"};return c[n]||c.blue};return e.jsxs(i,{className:"border-2 border-dashed border-primary/20",children:[e.jsxs(p,{className:"text-center pb-4",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-2",children:[e.jsx(P,{className:"h-5 w-5 text-primary"}),e.jsx(u,{className:"text-xl font-semibold",children:r("Features")})]}),e.jsx("p",{className:"text-base text-muted-foreground",children:r(t==="superadmin"?"Comprehensive system management and oversight tools":"Everything you need to manage your digital business presence")})]}),e.jsxs(l,{children:[e.jsx("div",{className:"grid gap-4 grid-cols-2 lg:grid-cols-4",children:x.map(n=>{const c=n.icon;return e.jsx(k,{href:n.href,className:"group relative",children:e.jsx(i,{className:"h-full transition-all duration-200 hover:shadow-md cursor-pointer",children:e.jsxs(l,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsx("div",{className:`rounded-full p-2 ${a(n.color)}`,children:e.jsx(c,{className:"h-4 w-4"})}),e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-sm font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:n.count})]}),e.jsx("h3",{className:"text-base font-semibold mb-1 group-hover:text-primary transition-colors",children:n.title}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:n.description}),e.jsxs("div",{className:"flex items-center justify-between text-sm text-muted-foreground group-hover:text-primary transition-colors",children:[e.jsx("span",{children:r("Explore")}),e.jsx(S,{className:"h-3 w-3 transition-transform group-hover:translate-x-1"})]})]})})},n.title)})}),e.jsx("div",{className:"mt-4 text-center",children:e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-primary/10 text-primary",children:[e.jsx(b,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"text-sm font-medium",children:t==="superadmin"?r("System growing at {{growth}}% monthly",{growth:(s==null?void 0:s.monthlyGrowth)||0}):r("Your business views increased by {{growth}}%",{growth:(s==null?void 0:s.monthlyGrowth)||0})})]})})]})]})}function Re({dashboardData:t}){var g;const{t:s}=f(),[r,m]=w.useState(!1),d=()=>{m(!0),C.reload({only:["dashboardData"]}),setTimeout(()=>m(!1),1e3)},x=[{label:s("Refresh"),icon:e.jsx(A,{className:`h-4 w-4 ${r?"animate-spin":""}`}),variant:"outline",onClick:d}],a=(t==null?void 0:t.stats)||{totalCompanies:156,totalNfcCards:89,totalRevenue:45678,activePlans:89,pendingRequests:12,monthlyGrowth:15.2},n=(t==null?void 0:t.recentActivity)||[],c=(t==null?void 0:t.topPlans)||[{name:"Professional",subscribers:45,revenue:13500},{name:"Business",subscribers:32,revenue:9600},{name:"Enterprise",subscribers:12,revenue:7200}];return e.jsx(y,{title:s("Dashboard"),url:"/dashboard",actions:x,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-3 md:grid-cols-3 xl:grid-cols-6",children:[e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Active Plans")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:a.activePlans.toLocaleString()})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-purple-100 p-2 dark:bg-purple-900",children:e.jsx(j,{className:"h-4 w-4 text-purple-600 dark:text-purple-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Pending Requests")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:a.pendingRequests.toLocaleString()})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-orange-100 p-2 dark:bg-orange-900",children:e.jsx(E,{className:"h-4 w-4 text-orange-600 dark:text-orange-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Monthly Growth")}),e.jsxs("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:[a.monthlyGrowth,"%"]})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-emerald-100 p-2 dark:bg-emerald-900",children:e.jsx(b,{className:"h-4 w-4 text-emerald-600 dark:text-emerald-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Total Companies")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:a.totalCompanies.toLocaleString()})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-blue-100 p-2 dark:bg-blue-900",children:e.jsx(h,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Total Revenue")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:window.appSettings.formatCurrency(a.totalRevenue.toLocaleString())})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-yellow-100 p-2 dark:bg-yellow-900",children:e.jsx(N,{className:"h-4 w-4 text-yellow-600 dark:text-yellow-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Total Users")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:((g=a.totalUsers)==null?void 0:g.toLocaleString())||0})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-indigo-100 p-2 dark:bg-indigo-900",children:e.jsx(L,{className:"h-4 w-4 text-indigo-600 dark:text-indigo-400"})})]})})})]}),e.jsxs("div",{className:"grid gap-6 lg:grid-cols-2",children:[e.jsxs(i,{children:[e.jsx(p,{className:"pb-3",children:e.jsxs(u,{className:"flex items-center gap-2 text-base font-semibold",children:[e.jsx(h,{className:"h-4 w-4 flex-shrink-0"}),s("Recently Registered Companies")]})}),e.jsx(l,{children:e.jsx("div",{className:"space-y-3",children:n.length>0?n.map(o=>e.jsxs("div",{className:"flex items-start gap-3 p-3 rounded-lg bg-muted/50",children:[e.jsx("div",{className:"w-2 h-2 rounded-full mt-2 flex-shrink-0 bg-green-500"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-medium truncate",children:o.name}),e.jsx("p",{className:"text-sm text-muted-foreground truncate",children:o.email})]}),e.jsx("div",{className:"text-right flex-shrink-0",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:o.registered_at})})]},o.id)):e.jsx("p",{className:"text-sm text-muted-foreground text-center py-4",children:s("No companies registered yet")})})})]}),e.jsxs(i,{children:[e.jsx(p,{className:"pb-3",children:e.jsxs(u,{className:"flex items-center gap-2 text-base font-semibold",children:[e.jsx(G,{className:"h-4 w-4 flex-shrink-0"}),s("Top Performing Plans")]})}),e.jsx(l,{children:e.jsx("div",{className:"space-y-3",children:c.map((o,v)=>e.jsxs("div",{className:"flex items-center justify-between p-3 rounded-lg bg-muted/50",children:[e.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[e.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/10 flex items-center justify-center flex-shrink-0",children:e.jsxs("span",{className:"text-sm font-bold text-primary",children:["#",v+1]})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium truncate",children:o.name}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[o.subscribers," ",s("subscribers")]})]})]}),e.jsxs("div",{className:"text-right flex-shrink-0",children:[e.jsxs("p",{className:"text-sm font-semibold",children:["$",o.revenue.toLocaleString()]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s("revenue")})]})]},o.name))})})]})]}),e.jsx(M,{userType:"superadmin",stats:a})]})})}export{Re as default}; +import{j as e,r as w}from"./ui-Z445SNHD.js";import{P as y}from"./page-template-CLNVC8w_.js";import{u as f,C as i,m as p,n as u,l,d as k,r as C}from"./app-Dya84jp7.js";import{B as h}from"./building-2-CASHKqFo.js";import{C as j}from"./credit-card-BKi_ThdS.js";import{D as N}from"./dollar-sign-DH2Tc178.js";import{T as R}from"./tag-Bq7fLwM4.js";import{E as T}from"./eye-CCNnMtu4.js";import{S as P}from"./sparkles-C1HgyvOv.js";import{A as S}from"./arrow-right-BHW--AGU.js";import{T as b}from"./trending-up-BT453ptk.js";import{R as A}from"./refresh-cw-D_C_cDSu.js";import{C as E}from"./circle-alert-Ddjg2Qwp.js";import{U as L}from"./user-plus-BpaQ3zuJ.js";import{T as G}from"./ticket-Cl2Nq5Ff.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({userType:t,stats:s}){const{t:r}=f(),m=[{title:r("Company Management"),description:r("Manage all registered companies and their subscriptions"),icon:h,color:"blue",href:route("companies.index"),count:(s==null?void 0:s.totalCompanies)||0},{title:r("Plan Management"),description:r("Create and manage subscription plans"),icon:j,color:"purple",href:route("plans.index"),count:(s==null?void 0:s.activePlans)||0},{title:r("Revenue Tracking"),description:r("Track and manage plan orders and revenue"),icon:N,color:"green",href:route("plan-orders.index"),count:s!=null&&s.totalRevenue?window.appSettings.formatCurrency(s.totalRevenue):0},{title:r("Coupon Management"),description:r("Create and manage discount coupons"),icon:R,color:"orange",href:route("coupons.index"),count:(s==null?void 0:s.activeCoupons)||0}],d=[{title:r("Business Views"),description:r("Track views of your digital business cards"),icon:T,color:"orange",href:route("dashboard"),count:(s==null?void 0:s.totalViews)||0}],x=t==="superadmin"?m:d,a=n=>{const c={blue:"bg-blue-100 text-blue-600 dark:bg-blue-900 dark:text-blue-400",green:"bg-green-100 text-green-600 dark:bg-green-900 dark:text-green-400",teal:"bg-teal-100 text-teal-600 dark:bg-teal-900 dark:text-teal-400",purple:"bg-purple-100 text-purple-600 dark:bg-purple-900 dark:text-purple-400",orange:"bg-orange-100 text-orange-600 dark:bg-orange-900 dark:text-orange-400"};return c[n]||c.blue};return e.jsxs(i,{className:"border-2 border-dashed border-primary/20",children:[e.jsxs(p,{className:"text-center pb-4",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-2",children:[e.jsx(P,{className:"h-5 w-5 text-primary"}),e.jsx(u,{className:"text-xl font-semibold",children:r("Features")})]}),e.jsx("p",{className:"text-base text-muted-foreground",children:r(t==="superadmin"?"Comprehensive system management and oversight tools":"Everything you need to manage your digital business presence")})]}),e.jsxs(l,{children:[e.jsx("div",{className:"grid gap-4 grid-cols-2 lg:grid-cols-4",children:x.map(n=>{const c=n.icon;return e.jsx(k,{href:n.href,className:"group relative",children:e.jsx(i,{className:"h-full transition-all duration-200 hover:shadow-md cursor-pointer",children:e.jsxs(l,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsx("div",{className:`rounded-full p-2 ${a(n.color)}`,children:e.jsx(c,{className:"h-4 w-4"})}),e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-sm font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:n.count})]}),e.jsx("h3",{className:"text-base font-semibold mb-1 group-hover:text-primary transition-colors",children:n.title}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:n.description}),e.jsxs("div",{className:"flex items-center justify-between text-sm text-muted-foreground group-hover:text-primary transition-colors",children:[e.jsx("span",{children:r("Explore")}),e.jsx(S,{className:"h-3 w-3 transition-transform group-hover:translate-x-1"})]})]})})},n.title)})}),e.jsx("div",{className:"mt-4 text-center",children:e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-primary/10 text-primary",children:[e.jsx(b,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"text-sm font-medium",children:t==="superadmin"?r("System growing at {{growth}}% monthly",{growth:(s==null?void 0:s.monthlyGrowth)||0}):r("Your business views increased by {{growth}}%",{growth:(s==null?void 0:s.monthlyGrowth)||0})})]})})]})]})}function Re({dashboardData:t}){var g;const{t:s}=f(),[r,m]=w.useState(!1),d=()=>{m(!0),C.reload({only:["dashboardData"]}),setTimeout(()=>m(!1),1e3)},x=[{label:s("Refresh"),icon:e.jsx(A,{className:`h-4 w-4 ${r?"animate-spin":""}`}),variant:"outline",onClick:d}],a=(t==null?void 0:t.stats)||{totalCompanies:156,totalNfcCards:89,totalRevenue:45678,activePlans:89,pendingRequests:12,monthlyGrowth:15.2},n=(t==null?void 0:t.recentActivity)||[],c=(t==null?void 0:t.topPlans)||[{name:"Professional",subscribers:45,revenue:13500},{name:"Business",subscribers:32,revenue:9600},{name:"Enterprise",subscribers:12,revenue:7200}];return e.jsx(y,{title:s("Dashboard"),url:"/dashboard",actions:x,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-3 md:grid-cols-3 xl:grid-cols-6",children:[e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Active Plans")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:a.activePlans.toLocaleString()})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-purple-100 p-2 dark:bg-purple-900",children:e.jsx(j,{className:"h-4 w-4 text-purple-600 dark:text-purple-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Pending Requests")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:a.pendingRequests.toLocaleString()})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-orange-100 p-2 dark:bg-orange-900",children:e.jsx(E,{className:"h-4 w-4 text-orange-600 dark:text-orange-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Monthly Growth")}),e.jsxs("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:[a.monthlyGrowth,"%"]})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-emerald-100 p-2 dark:bg-emerald-900",children:e.jsx(b,{className:"h-4 w-4 text-emerald-600 dark:text-emerald-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Total Companies")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:a.totalCompanies.toLocaleString()})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-blue-100 p-2 dark:bg-blue-900",children:e.jsx(h,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Total Revenue")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:window.appSettings.formatCurrency(a.totalRevenue.toLocaleString())})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-yellow-100 p-2 dark:bg-yellow-900",children:e.jsx(N,{className:"h-4 w-4 text-yellow-600 dark:text-yellow-400"})})]})})}),e.jsx(i,{children:e.jsx(l,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground truncate",children:s("Total Users")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold tracking-tight",children:((g=a.totalUsers)==null?void 0:g.toLocaleString())||0})]}),e.jsx("div",{className:"flex-shrink-0 rounded-full bg-indigo-100 p-2 dark:bg-indigo-900",children:e.jsx(L,{className:"h-4 w-4 text-indigo-600 dark:text-indigo-400"})})]})})})]}),e.jsxs("div",{className:"grid gap-6 lg:grid-cols-2",children:[e.jsxs(i,{children:[e.jsx(p,{className:"pb-3",children:e.jsxs(u,{className:"flex items-center gap-2 text-base font-semibold",children:[e.jsx(h,{className:"h-4 w-4 flex-shrink-0"}),s("Recently Registered Companies")]})}),e.jsx(l,{children:e.jsx("div",{className:"space-y-3",children:n.length>0?n.map(o=>e.jsxs("div",{className:"flex items-start gap-3 p-3 rounded-lg bg-muted/50",children:[e.jsx("div",{className:"w-2 h-2 rounded-full mt-2 flex-shrink-0 bg-green-500"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-medium truncate",children:o.name}),e.jsx("p",{className:"text-sm text-muted-foreground truncate",children:o.email})]}),e.jsx("div",{className:"text-right flex-shrink-0",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:o.registered_at})})]},o.id)):e.jsx("p",{className:"text-sm text-muted-foreground text-center py-4",children:s("No companies registered yet")})})})]}),e.jsxs(i,{children:[e.jsx(p,{className:"pb-3",children:e.jsxs(u,{className:"flex items-center gap-2 text-base font-semibold",children:[e.jsx(G,{className:"h-4 w-4 flex-shrink-0"}),s("Top Performing Plans")]})}),e.jsx(l,{children:e.jsx("div",{className:"space-y-3",children:c.map((o,v)=>e.jsxs("div",{className:"flex items-center justify-between p-3 rounded-lg bg-muted/50",children:[e.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[e.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/10 flex items-center justify-center flex-shrink-0",children:e.jsxs("span",{className:"text-sm font-bold text-primary",children:["#",v+1]})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium truncate",children:o.name}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[o.subscribers," ",s("subscribers")]})]})]}),e.jsxs("div",{className:"text-right flex-shrink-0",children:[e.jsxs("p",{className:"text-sm font-semibold",children:["$",o.revenue.toLocaleString()]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s("revenue")})]})]},o.name))})})]})]}),e.jsx(M,{userType:"superadmin",stats:a})]})})}export{Re as default}; diff --git a/public/build/assets/dashboard-BhA5vOBq.js b/public/build/assets/dashboard-Bz6Eb38A.js similarity index 80% rename from public/build/assets/dashboard-BhA5vOBq.js rename to public/build/assets/dashboard-Bz6Eb38A.js index 101793419..099ea296a 100644 --- a/public/build/assets/dashboard-BhA5vOBq.js +++ b/public/build/assets/dashboard-Bz6Eb38A.js @@ -1 +1 @@ -import{r as C,j as e}from"./ui-Z445SNHD.js";import{P as M}from"./page-template-BTxLyiDA.js";import{u as P,c as R,x as B,C as o,l,r as f,m as E,n as H,z as L,B as j,A as F,o as V}from"./app-CfhhiFAk.js";import{T as $,a as q,b as d,c as m}from"./tabs-pc4jrsjt.js";import{L as z}from"./list-D0MAUZMV.js";import{B as O}from"./bell-DXAvb3Z0.js";import{S as U}from"./star-DQsTg5F1.js";import{T as I}from"./triangle-alert-DGWTh17w.js";import{C as K}from"./calendar-CfUpdaK5.js";import{f as w}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */function $e(){const{t}=P(),{auth:p,allAnnouncements:i,featuredAnnouncements:h,highPriorityAnnouncements:x,upcomingAnnouncements:y,categories:X,departments:G,branches:J,employee:n,filters:Q={}}=R().props,A=(p==null?void 0:p.permissions)||[],[u,b]=C.useState([]);C.useEffect(()=>{if(n&&i){const s=i.filter(r=>r.viewed_by&&r.viewed_by.some(a=>a.id===n.id)).map(r=>r.id);b(s)}},[i,n]);const T=s=>{var r;n&&!u.includes(s.id)&&fetch(route("hr.announcements.mark-as-read",s.id),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((r=document.querySelector('meta[name="csrf-token"]'))==null?void 0:r.getAttribute("content"))||""}}).then(a=>a.json()).then(a=>{a.success&&b([...u,s.id])}),f.get(route("hr.announcements.show",s.id))},_=()=>{f.get(route("hr.announcements.index"))},k=()=>{f.get(route("hr.announcements.index"),{},{onSuccess:()=>{setTimeout(()=>{var s;(s=document.querySelector('[data-action="create-announcement"]'))==null||s.dispatchEvent(new MouseEvent("click",{bubbles:!0}))},500)}})},g=[];g.push({label:t("List View"),icon:e.jsx(z,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:_}),B(A,"create-announcements")&&g.push({label:t("Create Announcement"),icon:e.jsx(O,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:k});const S=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.announcements.index")},{title:t("Announcements"),href:route("hr.announcements.index")},{title:t("Dashboard")}],c=(s,r=!1)=>{var N,v;const a=u.includes(s.id),D={"company news":"bg-blue-50 text-blue-700 ring-blue-600/20","policy updates":"bg-purple-50 text-purple-700 ring-purple-600/20",events:"bg-green-50 text-green-700 ring-green-600/20",HR:"bg-amber-50 text-amber-700 ring-amber-600/20","IT updates":"bg-indigo-50 text-indigo-700 ring-indigo-600/20"}[s.category]||"bg-gray-50 text-gray-700 ring-gray-600/20";return e.jsxs(o,{className:`mb-4 ${r?"border-red-300 bg-red-50/30":""} ${!a&&n?"border-l-4 border-l-blue-500":""}`,children:[e.jsx(E,{className:"pb-3",children:e.jsxs("div",{className:"flex justify-between items-start gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx(H,{className:"text-base font-semibold text-gray-900 dark:text-gray-100 mb-2",children:s.title}),e.jsx(L,{className:"text-sm text-gray-600 dark:text-gray-400",children:s.description})]}),e.jsxs("div",{className:"flex flex-col items-end space-y-1.5 flex-shrink-0",children:[e.jsx(j,{variant:"outline",className:`text-xs ring-1 ring-inset ${D}`,children:s.category.charAt(0).toUpperCase()+s.category.slice(1)}),s.is_featured&&e.jsxs(j,{variant:"secondary",className:"text-xs bg-purple-50 text-purple-700 hover:bg-purple-50",children:[e.jsx(U,{className:"h-3 w-3 mr-1"})," ",t("Featured")]}),s.is_high_priority&&e.jsxs(j,{variant:"secondary",className:"text-xs bg-red-50 text-red-700 hover:bg-red-50",children:[e.jsx(I,{className:"h-3 w-3 mr-1"})," ",t("High Priority")]})]})]})}),e.jsxs(l,{className:"pb-3",children:[e.jsx("div",{className:"text-xs text-gray-600 dark:text-gray-400 mb-3",children:s.start_date&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(K,{className:"h-3.5 w-3.5 mr-1.5"}),e.jsx("span",{children:((N=window.appSettings)==null?void 0:N.formatDateTimeSimple(s.start_date,!1))||w(new Date(s.start_date),"MMM dd, yyyy")}),s.end_date&&e.jsxs("span",{children:[" - ",((v=window.appSettings)==null?void 0:v.formatDateTimeSimple(s.end_date,!1))||w(new Date(s.end_date),"MMM dd, yyyy")]})]})}),e.jsxs("p",{className:"line-clamp-3 text-sm text-gray-700 dark:text-gray-300 leading-relaxed",children:[s.content.replace(/<[^>]*>?/gm," ").substring(0,200),"..."]})]}),e.jsx(F,{children:e.jsx(V,{variant:"default",size:"sm",onClick:()=>T(s),children:t("Read More")})})]},s.id)};return e.jsx(M,{title:t("Announcement Dashboard"),url:"/hr/announcements/dashboard",actions:g,breadcrumbs:S,children:e.jsxs($,{defaultValue:"all",className:"w-full",children:[e.jsxs(q,{className:"mb-4",children:[e.jsx(d,{value:"all",children:t("All Announcements")}),e.jsx(d,{value:"high-priority",children:t("High Priority")}),e.jsx(d,{value:"featured",children:t("Featured")}),e.jsx(d,{value:"upcoming",children:t("Upcoming")})]}),e.jsx(m,{value:"all",className:"mt-0",children:i&&i.length>0?e.jsx("div",{className:"space-y-4",children:i.map(s=>c(s,s.is_high_priority))}):e.jsx(o,{children:e.jsx(l,{className:"py-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:t("No announcements found.")})})})}),e.jsx(m,{value:"high-priority",className:"mt-0",children:x&&x.length>0?e.jsx("div",{className:"space-y-4",children:x.map(s=>c(s,!0))}):e.jsx(o,{children:e.jsx(l,{className:"py-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:t("No high priority announcements found.")})})})}),e.jsx(m,{value:"featured",className:"mt-0",children:h&&h.length>0?e.jsx("div",{className:"space-y-4",children:h.map(s=>c(s,s.is_high_priority))}):e.jsx(o,{children:e.jsx(l,{className:"py-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:t("No featured announcements found.")})})})}),e.jsx(m,{value:"upcoming",className:"mt-0",children:y.length>0?e.jsx("div",{className:"space-y-4",children:y.map(s=>c(s,s.is_high_priority))}):e.jsx(o,{children:e.jsx(l,{className:"py-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:t("No upcoming announcements found.")})})})})]})})}export{$e as default}; +import{r as C,j as e}from"./ui-Z445SNHD.js";import{P as M}from"./page-template-CLNVC8w_.js";import{u as P,c as R,x as B,C as o,l,r as f,m as E,n as H,z as L,B as j,A as F,o as V}from"./app-Dya84jp7.js";import{T as $,a as q,b as d,c as m}from"./tabs-CsP5VcXV.js";import{L as z}from"./list-C_2fG_BT.js";import{B as O}from"./bell-DRg7kyzT.js";import{S as U}from"./star-DCkLKzoE.js";import{T as I}from"./triangle-alert-CpPzdeiH.js";import{C as K}from"./calendar-DuRYaSj5.js";import{f as w}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */function $e(){const{t}=P(),{auth:p,allAnnouncements:i,featuredAnnouncements:h,highPriorityAnnouncements:x,upcomingAnnouncements:y,categories:X,departments:G,branches:J,employee:n,filters:Q={}}=R().props,A=(p==null?void 0:p.permissions)||[],[u,b]=C.useState([]);C.useEffect(()=>{if(n&&i){const s=i.filter(r=>r.viewed_by&&r.viewed_by.some(a=>a.id===n.id)).map(r=>r.id);b(s)}},[i,n]);const T=s=>{var r;n&&!u.includes(s.id)&&fetch(route("hr.announcements.mark-as-read",s.id),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((r=document.querySelector('meta[name="csrf-token"]'))==null?void 0:r.getAttribute("content"))||""}}).then(a=>a.json()).then(a=>{a.success&&b([...u,s.id])}),f.get(route("hr.announcements.show",s.id))},_=()=>{f.get(route("hr.announcements.index"))},k=()=>{f.get(route("hr.announcements.index"),{},{onSuccess:()=>{setTimeout(()=>{var s;(s=document.querySelector('[data-action="create-announcement"]'))==null||s.dispatchEvent(new MouseEvent("click",{bubbles:!0}))},500)}})},g=[];g.push({label:t("List View"),icon:e.jsx(z,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:_}),B(A,"create-announcements")&&g.push({label:t("Create Announcement"),icon:e.jsx(O,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:k});const S=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.announcements.index")},{title:t("Announcements"),href:route("hr.announcements.index")},{title:t("Dashboard")}],c=(s,r=!1)=>{var N,v;const a=u.includes(s.id),D={"company news":"bg-blue-50 text-blue-700 ring-blue-600/20","policy updates":"bg-purple-50 text-purple-700 ring-purple-600/20",events:"bg-green-50 text-green-700 ring-green-600/20",HR:"bg-amber-50 text-amber-700 ring-amber-600/20","IT updates":"bg-indigo-50 text-indigo-700 ring-indigo-600/20"}[s.category]||"bg-gray-50 text-gray-700 ring-gray-600/20";return e.jsxs(o,{className:`mb-4 ${r?"border-red-300 bg-red-50/30":""} ${!a&&n?"border-l-4 border-l-blue-500":""}`,children:[e.jsx(E,{className:"pb-3",children:e.jsxs("div",{className:"flex justify-between items-start gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx(H,{className:"text-base font-semibold text-gray-900 dark:text-gray-100 mb-2",children:s.title}),e.jsx(L,{className:"text-sm text-gray-600 dark:text-gray-400",children:s.description})]}),e.jsxs("div",{className:"flex flex-col items-end space-y-1.5 flex-shrink-0",children:[e.jsx(j,{variant:"outline",className:`text-xs ring-1 ring-inset ${D}`,children:s.category.charAt(0).toUpperCase()+s.category.slice(1)}),s.is_featured&&e.jsxs(j,{variant:"secondary",className:"text-xs bg-purple-50 text-purple-700 hover:bg-purple-50",children:[e.jsx(U,{className:"h-3 w-3 mr-1"})," ",t("Featured")]}),s.is_high_priority&&e.jsxs(j,{variant:"secondary",className:"text-xs bg-red-50 text-red-700 hover:bg-red-50",children:[e.jsx(I,{className:"h-3 w-3 mr-1"})," ",t("High Priority")]})]})]})}),e.jsxs(l,{className:"pb-3",children:[e.jsx("div",{className:"text-xs text-gray-600 dark:text-gray-400 mb-3",children:s.start_date&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(K,{className:"h-3.5 w-3.5 mr-1.5"}),e.jsx("span",{children:((N=window.appSettings)==null?void 0:N.formatDateTimeSimple(s.start_date,!1))||w(new Date(s.start_date),"MMM dd, yyyy")}),s.end_date&&e.jsxs("span",{children:[" - ",((v=window.appSettings)==null?void 0:v.formatDateTimeSimple(s.end_date,!1))||w(new Date(s.end_date),"MMM dd, yyyy")]})]})}),e.jsxs("p",{className:"line-clamp-3 text-sm text-gray-700 dark:text-gray-300 leading-relaxed",children:[s.content.replace(/<[^>]*>?/gm," ").substring(0,200),"..."]})]}),e.jsx(F,{children:e.jsx(V,{variant:"default",size:"sm",onClick:()=>T(s),children:t("Read More")})})]},s.id)};return e.jsx(M,{title:t("Announcement Dashboard"),url:"/hr/announcements/dashboard",actions:g,breadcrumbs:S,children:e.jsxs($,{defaultValue:"all",className:"w-full",children:[e.jsxs(q,{className:"mb-4",children:[e.jsx(d,{value:"all",children:t("All Announcements")}),e.jsx(d,{value:"high-priority",children:t("High Priority")}),e.jsx(d,{value:"featured",children:t("Featured")}),e.jsx(d,{value:"upcoming",children:t("Upcoming")})]}),e.jsx(m,{value:"all",className:"mt-0",children:i&&i.length>0?e.jsx("div",{className:"space-y-4",children:i.map(s=>c(s,s.is_high_priority))}):e.jsx(o,{children:e.jsx(l,{className:"py-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:t("No announcements found.")})})})}),e.jsx(m,{value:"high-priority",className:"mt-0",children:x&&x.length>0?e.jsx("div",{className:"space-y-4",children:x.map(s=>c(s,!0))}):e.jsx(o,{children:e.jsx(l,{className:"py-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:t("No high priority announcements found.")})})})}),e.jsx(m,{value:"featured",className:"mt-0",children:h&&h.length>0?e.jsx("div",{className:"space-y-4",children:h.map(s=>c(s,s.is_high_priority))}):e.jsx(o,{children:e.jsx(l,{className:"py-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:t("No featured announcements found.")})})})}),e.jsx(m,{value:"upcoming",className:"mt-0",children:y.length>0?e.jsx("div",{className:"space-y-4",children:y.map(s=>c(s,s.is_high_priority))}):e.jsx(o,{children:e.jsx(l,{className:"py-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:t("No upcoming announcements found.")})})})})]})})}export{$e as default}; diff --git a/public/build/assets/dashboard-Cfbs-0VV.js b/public/build/assets/dashboard-CdiMuNwF.js similarity index 99% rename from public/build/assets/dashboard-Cfbs-0VV.js rename to public/build/assets/dashboard-CdiMuNwF.js index 61d990913..ec7ccb234 100644 --- a/public/build/assets/dashboard-Cfbs-0VV.js +++ b/public/build/assets/dashboard-CdiMuNwF.js @@ -1,4 +1,4 @@ -var Tx=Object.defineProperty;var Mx=(e,t,r)=>t in e?Tx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Io=(e,t,r)=>Mx(e,typeof t!="symbol"?t+"":t,r);import{r as v,y as cr,b as Sm,a as bs,e as Nx,j as P}from"./ui-Z445SNHD.js";import{r as Dx,P as $x}from"./page-template-BTxLyiDA.js";import{u as Rx,c as Lx,C as Te,l as Me,x as zx,o as wf,m as It,n as Tt,B as Qt}from"./app-CfhhiFAk.js";import{R as Bx}from"./refresh-cw-DWorkL8J.js";import{U as Pf}from"./users-C4LpG59H.js";import{B as Fx}from"./building-2-D7cTdbG2.js";import{C as Wx}from"./clock-CwFdn-oy.js";import{C as To}from"./calendar-CfUpdaK5.js";import{B as Of}from"./briefcase-CLRn8zVu.js";import{U as Mo}from"./user-plus-DXHdW4q-.js";import{C as Kx}from"./circle-check-big-C5Cqj7-2.js";import{C as qx}from"./copy-xfopPExK.js";import{E as Ux}from"./external-link-QgK5Wt8A.js";import{C as Hx}from"./chart-column-CXNcY9Vx.js";import{c as H}from"./utils-BWxnHGCV.js";import{T as Af}from"./trending-up-Bi4f72Tj.js";import{B as Gx}from"./bell-DXAvb3Z0.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */var Yx=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];function xs(e){if(typeof e!="string")return!1;var t=Yx;return t.includes(e)}var Vx=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Xx=new Set(Vx);function jm(e){return typeof e!="string"?!1:Xx.has(e)}function Em(e){return typeof e=="string"&&e.startsWith("data-")}function Ye(e){if(typeof e!="object"||e===null)return{};var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(jm(r)||Em(r))&&(t[r]=e[r]);return t}function Cr(e){if(e==null)return null;if(v.isValidElement(e)&&typeof e.props=="object"&&e.props!==null){var t=e.props;return Ye(t)}return typeof e=="object"&&!Array.isArray(e)?Ye(e):null}function Fe(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(jm(r)||Em(r)||xs(r))&&(t[r]=e[r]);return t}function Zx(e){return e==null?null:v.isValidElement(e)?Fe(e.props):typeof e=="object"&&!Array.isArray(e)?Fe(e):null}var Jx=["children","width","height","viewBox","className","style","title","desc"];function pu(){return pu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var{children:r,width:n,height:i,viewBox:a,className:o,style:l,title:u,desc:c}=e,s=Qx(e,Jx),f=a||{width:n,height:i,x:0,y:0},d=H("recharts-surface",o);return v.createElement("svg",pu({},Fe(s),{className:d,width:n,height:i,style:l,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height),ref:t}),v.createElement("title",null,u),v.createElement("desc",null,c),r)}),tw=["children","className"];function mu(){return mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var{children:r,className:n}=e,i=rw(e,tw),a=H("recharts-layer",n);return v.createElement("g",mu({className:a},Fe(i),{ref:t}),r)}),_m=v.createContext(null),iw=()=>v.useContext(_m);function re(e){return function(){return e}}const Cm=Math.cos,Bi=Math.sin,gt=Math.sqrt,Fi=Math.PI,Ra=2*Fi,yu=Math.PI,gu=2*yu,yr=1e-6,aw=gu-yr;function km(e){this._+=e[0];for(let t=1,r=e.length;t=0))throw new Error(`invalid digits: ${e}`);if(t>15)return km;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;iyr)if(!(Math.abs(f*u-c*s)>yr)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let h=n-o,m=i-l,p=u*u+c*c,y=h*h+m*m,g=Math.sqrt(p),b=Math.sqrt(d),O=a*Math.tan((yu-Math.acos((p+d-y)/(2*g*b)))/2),x=O/b,A=O/g;Math.abs(x-1)>yr&&this._append`L${t+x*s},${r+x*f}`,this._append`A${a},${a},0,0,${+(f*h>s*m)},${this._x1=t+A*u},${this._y1=r+A*c}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(i),u=n*Math.sin(i),c=t+l,s=r+u,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${c},${s}`:(Math.abs(this._x1-c)>yr||Math.abs(this._y1-s)>yr)&&this._append`L${c},${s}`,n&&(d<0&&(d=d%gu+gu),d>aw?this._append`A${n},${n},0,1,${f},${t-l},${r-u}A${n},${n},0,1,${f},${this._x1=c},${this._y1=s}`:d>yr&&this._append`A${n},${n},0,${+(d>=yu)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function Ps(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new lw(t)}function Os(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Im(e){this._context=e}Im.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function La(e){return new Im(e)}function Tm(e){return e[0]}function Mm(e){return e[1]}function Nm(e,t){var r=re(!0),n=null,i=La,a=null,o=Ps(l);e=typeof e=="function"?e:e===void 0?Tm:re(e),t=typeof t=="function"?t:t===void 0?Mm:re(t);function l(u){var c,s=(u=Os(u)).length,f,d=!1,h;for(n==null&&(a=i(h=o())),c=0;c<=s;++c)!(c=h;--m)l.point(O[m],x[m]);l.lineEnd(),l.areaEnd()}g&&(O[d]=+e(y,d,f),x[d]=+t(y,d,f),l.point(n?+n(y,d,f):O[d],r?+r(y,d,f):x[d]))}if(b)return l=null,b+""||null}function s(){return Nm().defined(i).curve(o).context(a)}return c.x=function(f){return arguments.length?(e=typeof f=="function"?f:re(+f),n=null,c):e},c.x0=function(f){return arguments.length?(e=typeof f=="function"?f:re(+f),c):e},c.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:re(+f),c):n},c.y=function(f){return arguments.length?(t=typeof f=="function"?f:re(+f),r=null,c):t},c.y0=function(f){return arguments.length?(t=typeof f=="function"?f:re(+f),c):t},c.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:re(+f),c):r},c.lineX0=c.lineY0=function(){return s().x(e).y(t)},c.lineY1=function(){return s().x(e).y(r)},c.lineX1=function(){return s().x(n).y(t)},c.defined=function(f){return arguments.length?(i=typeof f=="function"?f:re(!!f),c):i},c.curve=function(f){return arguments.length?(o=f,a!=null&&(l=o(a)),c):o},c.context=function(f){return arguments.length?(f==null?a=l=null:l=o(a=f),c):a},c}class Dm{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function uw(e){return new Dm(e,!0)}function sw(e){return new Dm(e,!1)}const As={draw(e,t){const r=gt(t/Fi);e.moveTo(r,0),e.arc(0,0,r,0,Ra)}},cw={draw(e,t){const r=gt(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},$m=gt(1/3),fw=$m*2,dw={draw(e,t){const r=gt(t/fw),n=r*$m;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},vw={draw(e,t){const r=gt(t),n=-r/2;e.rect(n,n,r,r)}},hw=.8908130915292852,Rm=Bi(Fi/10)/Bi(7*Fi/10),pw=Bi(Ra/10)*Rm,mw=-Cm(Ra/10)*Rm,yw={draw(e,t){const r=gt(t*hw),n=pw*r,i=mw*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=Ra*a/5,l=Cm(o),u=Bi(o);e.lineTo(u*r,-l*r),e.lineTo(l*n-u*i,u*n+l*i)}e.closePath()}},No=gt(3),gw={draw(e,t){const r=-gt(t/(No*3));e.moveTo(0,r*2),e.lineTo(-No*r,-r),e.lineTo(No*r,-r),e.closePath()}},nt=-.5,it=gt(3)/2,bu=1/gt(12),bw=(bu/2+1)*3,xw={draw(e,t){const r=gt(t/bw),n=r/2,i=r*bu,a=n,o=r*bu+r,l=-a,u=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(l,u),e.lineTo(nt*n-it*i,it*n+nt*i),e.lineTo(nt*a-it*o,it*a+nt*o),e.lineTo(nt*l-it*u,it*l+nt*u),e.lineTo(nt*n+it*i,nt*i-it*n),e.lineTo(nt*a+it*o,nt*o-it*a),e.lineTo(nt*l+it*u,nt*u-it*l),e.closePath()}};function ww(e,t){let r=null,n=Ps(i);e=typeof e=="function"?e:re(e||As),t=typeof t=="function"?t:re(t===void 0?64:+t);function i(){let a;if(r||(r=a=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:re(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:re(+a),i):t},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function Wi(){}function Ki(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function Lm(e){this._context=e}Lm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ki(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ki(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Pw(e){return new Lm(e)}function zm(e){this._context=e}zm.prototype={areaStart:Wi,areaEnd:Wi,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ki(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Ow(e){return new zm(e)}function Bm(e){this._context=e}Bm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Ki(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Aw(e){return new Bm(e)}function Fm(e){this._context=e}Fm.prototype={areaStart:Wi,areaEnd:Wi,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Sw(e){return new Fm(e)}function Sf(e){return e<0?-1:1}function jf(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),l=(a*i+o*n)/(n+i);return(Sf(a)+Sf(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(l))||0}function Ef(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function Do(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,l=(a-n)/3;e._context.bezierCurveTo(n+l,i+l*t,a-l,o-l*r,a,o)}function qi(e){this._context=e}qi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Do(this,this._t0,Ef(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Do(this,Ef(this,r=jf(this,e,t)),r);break;default:Do(this,this._t0,r=jf(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function Wm(e){this._context=new Km(e)}(Wm.prototype=Object.create(qi.prototype)).point=function(e,t){qi.prototype.point.call(this,t,e)};function Km(e){this._context=e}Km.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function jw(e){return new qi(e)}function Ew(e){return new Wm(e)}function qm(e){this._context=e}qm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=_f(e),i=_f(t),a=0,o=1;o=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function Cw(e){return new za(e,.5)}function kw(e){return new za(e,0)}function Iw(e){return new za(e,1)}function kr(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,l=a.length;r=0;)r[t]=t;return r}function Tw(e,t){return e[t]}function Mw(e){const t=[];return t.key=e,t}function Nw(){var e=re([]),t=xu,r=kr,n=Tw;function i(a){var o=Array.from(e.apply(this,arguments),Mw),l,u=o.length,c=-1,s;for(const f of a)for(l=0,++c;l0){for(var r,n,i=0,a=e[0].length,o;i0){for(var r=0,n=e[t[0]],i,a=n.length;r0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n1&&arguments[1]!==void 0?arguments[1]:Ww,r=10**t,n=Math.round(e*r)/r;return Object.is(n,-0)?0:n}function ce(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n{var l=r[o-1];return typeof l=="string"?i+l+a:l!==void 0?i+nr(l)+a:i+a},"")}var Ee=e=>e===0?0:e>0?1:-1,mt=e=>typeof e=="number"&&e!=+e,Tr=e=>typeof e=="string"&&e.indexOf("%")===e.length-1,N=e=>(typeof e=="number"||e instanceof Number)&&!mt(e),St=e=>N(e)||typeof e=="string",Kw=0,Mn=e=>{var t=++Kw;return"".concat(e||"").concat(t)},$e=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!N(t)&&typeof t!="string")return n;var a;if(Tr(t)){if(r==null)return n;var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return mt(a)&&(a=n),i&&r!=null&&a>r&&(a=r),a},Hm=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;nn&&(typeof t=="function"?t(n):Ir(n,t))===r)}var de=e=>e===null||typeof e>"u",Yn=e=>de(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function He(e){return e!=null}function Lr(){}var qw=["type","size","sizeType"];function wu(){return wu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t="symbol".concat(Yn(e));return Ym[t]||As},Jw=(e,t,r)=>{if(t==="area")return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var n=18*Xw;return 1.25*e*e*(Math.tan(n)-Math.tan(n*2)*Math.tan(n)**2)}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},Qw=(e,t)=>{Ym["symbol".concat(Yn(e))]=t},_s=e=>{var{type:t="circle",size:r=64,sizeType:n="area"}=e,i=Yw(e,qw),a=Rf(Rf({},i),{},{type:t,size:r,sizeType:n}),o="circle";typeof t=="string"&&(o=t);var l=()=>{var d=Zw(o),h=ww().type(d).size(Jw(r,n,o)),m=h();if(m!==null)return m},{className:u,cx:c,cy:s}=a,f=Fe(a);return N(c)&&N(s)&&N(r)?v.createElement("path",wu({},f,{className:H("recharts-symbols",u),transform:"translate(".concat(c,", ").concat(s,")"),d:l()})):null};_s.registerSymbol=Qw;var Vm=e=>"radius"in e&&"startAngle"in e&&"endAngle"in e,Cs=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var r=e;if(v.isValidElement(e)&&(r=e.props),typeof r!="object"&&typeof r!="function")return null;var n={};return Object.keys(r).forEach(i=>{xs(i)&&(n[i]=(a=>r[i](r,a)))}),n},eP=(e,t,r)=>n=>(e(t,r,n),null),Vn=(e,t,r)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var n=null;return Object.keys(e).forEach(i=>{var a=e[i];xs(i)&&typeof a=="function"&&(n||(n={}),n[i]=eP(a,t,r))}),n};function Lf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function tP(e){for(var t=1;t(o[l]===void 0&&n[l]!==void 0&&(o[l]=n[l]),o),r);return a}function Ui(){return Ui=Object.assign?Object.assign.bind():function(e){for(var t=1;tt in e?Tx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Io=(e,t,r)=>Mx(e,typeof t!="symbol"?t+"":t,r);import{r as v,y as cr,b as Sm,a as bs,e as Nx,j as P}from"./ui-Z445SNHD.js";import{r as Dx,P as $x}from"./page-template-CLNVC8w_.js";import{u as Rx,c as Lx,C as Te,l as Me,x as zx,o as wf,m as It,n as Tt,B as Qt}from"./app-Dya84jp7.js";import{R as Bx}from"./refresh-cw-D_C_cDSu.js";import{U as Pf}from"./users-BzCDZrS0.js";import{B as Fx}from"./building-2-CASHKqFo.js";import{C as Wx}from"./clock-LnEFQ-vK.js";import{C as To}from"./calendar-DuRYaSj5.js";import{B as Of}from"./briefcase-Btn3T9V4.js";import{U as Mo}from"./user-plus-BpaQ3zuJ.js";import{C as Kx}from"./circle-check-big-Cju4ilPH.js";import{C as qx}from"./copy-G5cMddid.js";import{E as Ux}from"./external-link-Cr5OfBdg.js";import{C as Hx}from"./chart-column-B76eI9Qi.js";import{c as H}from"./utils-BWxnHGCV.js";import{T as Af}from"./trending-up-BT453ptk.js";import{B as Gx}from"./bell-DRg7kyzT.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./CookieConsentBanner-dwye0O-l.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */var Yx=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];function xs(e){if(typeof e!="string")return!1;var t=Yx;return t.includes(e)}var Vx=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Xx=new Set(Vx);function jm(e){return typeof e!="string"?!1:Xx.has(e)}function Em(e){return typeof e=="string"&&e.startsWith("data-")}function Ye(e){if(typeof e!="object"||e===null)return{};var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(jm(r)||Em(r))&&(t[r]=e[r]);return t}function Cr(e){if(e==null)return null;if(v.isValidElement(e)&&typeof e.props=="object"&&e.props!==null){var t=e.props;return Ye(t)}return typeof e=="object"&&!Array.isArray(e)?Ye(e):null}function Fe(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(jm(r)||Em(r)||xs(r))&&(t[r]=e[r]);return t}function Zx(e){return e==null?null:v.isValidElement(e)?Fe(e.props):typeof e=="object"&&!Array.isArray(e)?Fe(e):null}var Jx=["children","width","height","viewBox","className","style","title","desc"];function pu(){return pu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var{children:r,width:n,height:i,viewBox:a,className:o,style:l,title:u,desc:c}=e,s=Qx(e,Jx),f=a||{width:n,height:i,x:0,y:0},d=H("recharts-surface",o);return v.createElement("svg",pu({},Fe(s),{className:d,width:n,height:i,style:l,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height),ref:t}),v.createElement("title",null,u),v.createElement("desc",null,c),r)}),tw=["children","className"];function mu(){return mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var{children:r,className:n}=e,i=rw(e,tw),a=H("recharts-layer",n);return v.createElement("g",mu({className:a},Fe(i),{ref:t}),r)}),_m=v.createContext(null),iw=()=>v.useContext(_m);function re(e){return function(){return e}}const Cm=Math.cos,Bi=Math.sin,gt=Math.sqrt,Fi=Math.PI,Ra=2*Fi,yu=Math.PI,gu=2*yu,yr=1e-6,aw=gu-yr;function km(e){this._+=e[0];for(let t=1,r=e.length;t=0))throw new Error(`invalid digits: ${e}`);if(t>15)return km;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;iyr)if(!(Math.abs(f*u-c*s)>yr)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let h=n-o,m=i-l,p=u*u+c*c,y=h*h+m*m,g=Math.sqrt(p),b=Math.sqrt(d),O=a*Math.tan((yu-Math.acos((p+d-y)/(2*g*b)))/2),x=O/b,A=O/g;Math.abs(x-1)>yr&&this._append`L${t+x*s},${r+x*f}`,this._append`A${a},${a},0,0,${+(f*h>s*m)},${this._x1=t+A*u},${this._y1=r+A*c}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(i),u=n*Math.sin(i),c=t+l,s=r+u,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${c},${s}`:(Math.abs(this._x1-c)>yr||Math.abs(this._y1-s)>yr)&&this._append`L${c},${s}`,n&&(d<0&&(d=d%gu+gu),d>aw?this._append`A${n},${n},0,1,${f},${t-l},${r-u}A${n},${n},0,1,${f},${this._x1=c},${this._y1=s}`:d>yr&&this._append`A${n},${n},0,${+(d>=yu)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function Ps(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new lw(t)}function Os(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Im(e){this._context=e}Im.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function La(e){return new Im(e)}function Tm(e){return e[0]}function Mm(e){return e[1]}function Nm(e,t){var r=re(!0),n=null,i=La,a=null,o=Ps(l);e=typeof e=="function"?e:e===void 0?Tm:re(e),t=typeof t=="function"?t:t===void 0?Mm:re(t);function l(u){var c,s=(u=Os(u)).length,f,d=!1,h;for(n==null&&(a=i(h=o())),c=0;c<=s;++c)!(c=h;--m)l.point(O[m],x[m]);l.lineEnd(),l.areaEnd()}g&&(O[d]=+e(y,d,f),x[d]=+t(y,d,f),l.point(n?+n(y,d,f):O[d],r?+r(y,d,f):x[d]))}if(b)return l=null,b+""||null}function s(){return Nm().defined(i).curve(o).context(a)}return c.x=function(f){return arguments.length?(e=typeof f=="function"?f:re(+f),n=null,c):e},c.x0=function(f){return arguments.length?(e=typeof f=="function"?f:re(+f),c):e},c.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:re(+f),c):n},c.y=function(f){return arguments.length?(t=typeof f=="function"?f:re(+f),r=null,c):t},c.y0=function(f){return arguments.length?(t=typeof f=="function"?f:re(+f),c):t},c.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:re(+f),c):r},c.lineX0=c.lineY0=function(){return s().x(e).y(t)},c.lineY1=function(){return s().x(e).y(r)},c.lineX1=function(){return s().x(n).y(t)},c.defined=function(f){return arguments.length?(i=typeof f=="function"?f:re(!!f),c):i},c.curve=function(f){return arguments.length?(o=f,a!=null&&(l=o(a)),c):o},c.context=function(f){return arguments.length?(f==null?a=l=null:l=o(a=f),c):a},c}class Dm{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function uw(e){return new Dm(e,!0)}function sw(e){return new Dm(e,!1)}const As={draw(e,t){const r=gt(t/Fi);e.moveTo(r,0),e.arc(0,0,r,0,Ra)}},cw={draw(e,t){const r=gt(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},$m=gt(1/3),fw=$m*2,dw={draw(e,t){const r=gt(t/fw),n=r*$m;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},vw={draw(e,t){const r=gt(t),n=-r/2;e.rect(n,n,r,r)}},hw=.8908130915292852,Rm=Bi(Fi/10)/Bi(7*Fi/10),pw=Bi(Ra/10)*Rm,mw=-Cm(Ra/10)*Rm,yw={draw(e,t){const r=gt(t*hw),n=pw*r,i=mw*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=Ra*a/5,l=Cm(o),u=Bi(o);e.lineTo(u*r,-l*r),e.lineTo(l*n-u*i,u*n+l*i)}e.closePath()}},No=gt(3),gw={draw(e,t){const r=-gt(t/(No*3));e.moveTo(0,r*2),e.lineTo(-No*r,-r),e.lineTo(No*r,-r),e.closePath()}},nt=-.5,it=gt(3)/2,bu=1/gt(12),bw=(bu/2+1)*3,xw={draw(e,t){const r=gt(t/bw),n=r/2,i=r*bu,a=n,o=r*bu+r,l=-a,u=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(l,u),e.lineTo(nt*n-it*i,it*n+nt*i),e.lineTo(nt*a-it*o,it*a+nt*o),e.lineTo(nt*l-it*u,it*l+nt*u),e.lineTo(nt*n+it*i,nt*i-it*n),e.lineTo(nt*a+it*o,nt*o-it*a),e.lineTo(nt*l+it*u,nt*u-it*l),e.closePath()}};function ww(e,t){let r=null,n=Ps(i);e=typeof e=="function"?e:re(e||As),t=typeof t=="function"?t:re(t===void 0?64:+t);function i(){let a;if(r||(r=a=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:re(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:re(+a),i):t},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function Wi(){}function Ki(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function Lm(e){this._context=e}Lm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ki(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ki(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Pw(e){return new Lm(e)}function zm(e){this._context=e}zm.prototype={areaStart:Wi,areaEnd:Wi,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ki(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Ow(e){return new zm(e)}function Bm(e){this._context=e}Bm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Ki(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Aw(e){return new Bm(e)}function Fm(e){this._context=e}Fm.prototype={areaStart:Wi,areaEnd:Wi,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Sw(e){return new Fm(e)}function Sf(e){return e<0?-1:1}function jf(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),l=(a*i+o*n)/(n+i);return(Sf(a)+Sf(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(l))||0}function Ef(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function Do(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,l=(a-n)/3;e._context.bezierCurveTo(n+l,i+l*t,a-l,o-l*r,a,o)}function qi(e){this._context=e}qi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Do(this,this._t0,Ef(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Do(this,Ef(this,r=jf(this,e,t)),r);break;default:Do(this,this._t0,r=jf(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function Wm(e){this._context=new Km(e)}(Wm.prototype=Object.create(qi.prototype)).point=function(e,t){qi.prototype.point.call(this,t,e)};function Km(e){this._context=e}Km.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function jw(e){return new qi(e)}function Ew(e){return new Wm(e)}function qm(e){this._context=e}qm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=_f(e),i=_f(t),a=0,o=1;o=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function Cw(e){return new za(e,.5)}function kw(e){return new za(e,0)}function Iw(e){return new za(e,1)}function kr(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,l=a.length;r=0;)r[t]=t;return r}function Tw(e,t){return e[t]}function Mw(e){const t=[];return t.key=e,t}function Nw(){var e=re([]),t=xu,r=kr,n=Tw;function i(a){var o=Array.from(e.apply(this,arguments),Mw),l,u=o.length,c=-1,s;for(const f of a)for(l=0,++c;l0){for(var r,n,i=0,a=e[0].length,o;i0){for(var r=0,n=e[t[0]],i,a=n.length;r0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n1&&arguments[1]!==void 0?arguments[1]:Ww,r=10**t,n=Math.round(e*r)/r;return Object.is(n,-0)?0:n}function ce(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n{var l=r[o-1];return typeof l=="string"?i+l+a:l!==void 0?i+nr(l)+a:i+a},"")}var Ee=e=>e===0?0:e>0?1:-1,mt=e=>typeof e=="number"&&e!=+e,Tr=e=>typeof e=="string"&&e.indexOf("%")===e.length-1,N=e=>(typeof e=="number"||e instanceof Number)&&!mt(e),St=e=>N(e)||typeof e=="string",Kw=0,Mn=e=>{var t=++Kw;return"".concat(e||"").concat(t)},$e=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!N(t)&&typeof t!="string")return n;var a;if(Tr(t)){if(r==null)return n;var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return mt(a)&&(a=n),i&&r!=null&&a>r&&(a=r),a},Hm=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;nn&&(typeof t=="function"?t(n):Ir(n,t))===r)}var de=e=>e===null||typeof e>"u",Yn=e=>de(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function He(e){return e!=null}function Lr(){}var qw=["type","size","sizeType"];function wu(){return wu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t="symbol".concat(Yn(e));return Ym[t]||As},Jw=(e,t,r)=>{if(t==="area")return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var n=18*Xw;return 1.25*e*e*(Math.tan(n)-Math.tan(n*2)*Math.tan(n)**2)}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},Qw=(e,t)=>{Ym["symbol".concat(Yn(e))]=t},_s=e=>{var{type:t="circle",size:r=64,sizeType:n="area"}=e,i=Yw(e,qw),a=Rf(Rf({},i),{},{type:t,size:r,sizeType:n}),o="circle";typeof t=="string"&&(o=t);var l=()=>{var d=Zw(o),h=ww().type(d).size(Jw(r,n,o)),m=h();if(m!==null)return m},{className:u,cx:c,cy:s}=a,f=Fe(a);return N(c)&&N(s)&&N(r)?v.createElement("path",wu({},f,{className:H("recharts-symbols",u),transform:"translate(".concat(c,", ").concat(s,")"),d:l()})):null};_s.registerSymbol=Qw;var Vm=e=>"radius"in e&&"startAngle"in e&&"endAngle"in e,Cs=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var r=e;if(v.isValidElement(e)&&(r=e.props),typeof r!="object"&&typeof r!="function")return null;var n={};return Object.keys(r).forEach(i=>{xs(i)&&(n[i]=(a=>r[i](r,a)))}),n},eP=(e,t,r)=>n=>(e(t,r,n),null),Vn=(e,t,r)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var n=null;return Object.keys(e).forEach(i=>{var a=e[i];xs(i)&&typeof a=="function"&&(n||(n={}),n[i]=eP(a,t,r))}),n};function Lf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function tP(e){for(var t=1;t(o[l]===void 0&&n[l]!==void 0&&(o[l]=n[l]),o),r);return a}function Ui(){return Ui=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var d=s.formatter||i,h=H({"recharts-legend-item":!0,["legend-item-".concat(f)]:!0,inactive:s.inactive});if(s.type==="none")return null;var m=s.inactive?a:s.color,p=d?d(s.value,s,f):s.value;return v.createElement("li",Ui({className:h,style:u,key:"legend-item-".concat(f)},Vn(e,s,f)),v.createElement(ws,{width:r,height:r,viewBox:l,style:c,"aria-label":"".concat(p," legend icon")},v.createElement(cP,{data:s,iconType:o,inactiveColor:a})),v.createElement("span",{className:"recharts-legend-item-text",style:{color:m}},p))})}var dP=e=>{var t=ge(e,sP),{payload:r,layout:n,align:i}=t;if(!r||!r.length)return null;var a={padding:0,margin:0,textAlign:n==="horizontal"?i:"left"};return v.createElement("ul",{className:"recharts-default-legend",style:a},v.createElement(fP,Ui({},t,{payload:r})))},Ko={},qo={},Bf;function vP(){return Bf||(Bf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n){const i=new Map;for(let a=0;a=0}e.isLength=t})(Vo)),Vo}var qf;function ks(){return qf||(qf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=pP();function r(n){return n!=null&&typeof n!="function"&&t.isLength(n.length)}e.isArrayLike=r})(Yo)),Yo}var Xo={},Uf;function mP(){return Uf||(Uf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return typeof r=="object"&&r!==null}e.isObjectLike=t})(Xo)),Xo}var Hf;function yP(){return Hf||(Hf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ks(),r=mP();function n(i){return r.isObjectLike(i)&&t.isArrayLike(i)}e.isArrayLikeObject=n})(Go)),Go}var Zo={},Jo={},Gf;function gP(){return Gf||(Gf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Es();function r(n){return function(i){return t.get(i,n)}}e.property=r})(Jo)),Jo}var Qo={},el={},tl={},rl={},Yf;function Zm(){return Yf||(Yf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r!==null&&(typeof r=="object"||typeof r=="function")}e.isObject=t})(rl)),rl}var nl={},Vf;function Jm(){return Vf||(Vf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==null||typeof r!="object"&&typeof r!="function"}e.isPrimitive=t})(nl)),nl}var il={},Xf;function Qm(){return Xf||(Xf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n){return r===n||Number.isNaN(r)&&Number.isNaN(n)}e.isEqualsSameValueZero=t})(il)),il}var Zf;function bP(){return Zf||(Zf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Zm(),r=Jm(),n=Qm();function i(s,f,d){return typeof d!="function"?i(s,f,()=>{}):a(s,f,function h(m,p,y,g,b,O){const x=d(m,p,y,g,b,O);return x!==void 0?!!x:a(m,p,h,O)},new Map)}function a(s,f,d,h){if(f===s)return!0;switch(typeof f){case"object":return o(s,f,d,h);case"function":return Object.keys(f).length>0?a(s,{...f},d,h):n.isEqualsSameValueZero(s,f);default:return t.isObject(s)?typeof f=="string"?f==="":!0:n.isEqualsSameValueZero(s,f)}}function o(s,f,d,h){if(f==null)return!0;if(Array.isArray(f))return u(s,f,d,h);if(f instanceof Map)return l(s,f,d,h);if(f instanceof Set)return c(s,f,d,h);const m=Object.keys(f);if(s==null||r.isPrimitive(s))return m.length===0;if(m.length===0)return!0;if(h!=null&&h.has(f))return h.get(f)===s;h==null||h.set(f,s);try{for(let p=0;p{})}e.isMatch=r})(el)),el}var al={},ol={},ll={},Qf;function xP(){return Qf||(Qf=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return Object.getOwnPropertySymbols(r).filter(n=>Object.prototype.propertyIsEnumerable.call(r,n))}e.getSymbols=t})(ll)),ll}var ul={},ed;function Is(){return ed||(ed=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==null?r===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(r)}e.getTag=t})(ul)),ul}var sl={},td;function ty(){return td||(td=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t="[object RegExp]",r="[object String]",n="[object Number]",i="[object Boolean]",a="[object Arguments]",o="[object Symbol]",l="[object Date]",u="[object Map]",c="[object Set]",s="[object Array]",f="[object Function]",d="[object ArrayBuffer]",h="[object Object]",m="[object Error]",p="[object DataView]",y="[object Uint8Array]",g="[object Uint8ClampedArray]",b="[object Uint16Array]",O="[object Uint32Array]",x="[object BigUint64Array]",A="[object Int8Array]",w="[object Int16Array]",S="[object Int32Array]",E="[object BigInt64Array]",C="[object Float32Array]",M="[object Float64Array]";e.argumentsTag=a,e.arrayBufferTag=d,e.arrayTag=s,e.bigInt64ArrayTag=E,e.bigUint64ArrayTag=x,e.booleanTag=i,e.dataViewTag=p,e.dateTag=l,e.errorTag=m,e.float32ArrayTag=C,e.float64ArrayTag=M,e.functionTag=f,e.int16ArrayTag=w,e.int32ArrayTag=S,e.int8ArrayTag=A,e.mapTag=u,e.numberTag=n,e.objectTag=h,e.regexpTag=t,e.setTag=c,e.stringTag=r,e.symbolTag=o,e.uint16ArrayTag=b,e.uint32ArrayTag=O,e.uint8ArrayTag=y,e.uint8ClampedArrayTag=g})(sl)),sl}var cl={},rd;function wP(){return rd||(rd=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}e.isTypedArray=t})(cl)),cl}var nd;function ry(){return nd||(nd=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=xP(),r=Is(),n=ty(),i=Jm(),a=wP();function o(s,f){return l(s,void 0,s,new Map,f)}function l(s,f,d,h=new Map,m=void 0){const p=m==null?void 0:m(s,f,d,h);if(p!==void 0)return p;if(i.isPrimitive(s))return s;if(h.has(s))return h.get(s);if(Array.isArray(s)){const y=new Array(s.length);h.set(s,y);for(let g=0;gt.isMatch(a,i)}e.matches=n})(Qo)),Qo}var fl={},dl={},vl={},od;function AP(){return od||(od=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ry(),r=Is(),n=ty();function i(a,o){return t.cloneDeepWith(a,(l,u,c,s)=>{const f=o==null?void 0:o(l,u,c,s);if(f!==void 0)return f;if(typeof a=="object"){if(r.getTag(a)===n.objectTag&&typeof a.constructor!="function"){const d={};return s.set(a,d),t.copyProperties(d,a,c,s),d}switch(Object.prototype.toString.call(a)){case n.numberTag:case n.stringTag:case n.booleanTag:{const d=new a.constructor(a==null?void 0:a.valueOf());return t.copyProperties(d,a),d}case n.argumentsTag:{const d={};return t.copyProperties(d,a),d.length=a.length,d[Symbol.iterator]=a[Symbol.iterator],d}default:return}}})}e.cloneDeepWith=i})(vl)),vl}var ld;function SP(){return ld||(ld=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=AP();function r(n){return t.cloneDeepWith(n)}e.cloneDeep=r})(dl)),dl}var hl={},pl={},ud;function ny(){return ud||(ud=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=/^(?:0|[1-9]\d*)$/;function r(n,i=Number.MAX_SAFE_INTEGER){switch(typeof n){case"number":return Number.isInteger(n)&&n>=0&&n{x.get(route("hr.assets.index"))},u=()=>{x.get(route("hr.assets.depreciation-report"))},D=[{label:a("Asset List"),icon:e.jsx(U,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:M},{label:a("Depreciation Report"),icon:e.jsx(w,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:u}],T=[{title:a("Dashboard"),href:route("dashboard")},{title:a("HR Management"),href:route("hr.assets.index")},{title:a("Asset Management"),href:route("hr.assets.index")},{title:a("Asset Dashboard")}];return a("Available"),a("Assigned"),a("Under Maintenance"),a("Disposed"),e.jsxs(S,{title:a("Asset Dashboard"),url:"/hr/assets/dashboard",actions:D,breadcrumbs:T,children:[e.jsxs("div",{className:"mb-4 grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-4",children:[e.jsxs(d,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-slate-500"}),e.jsxs(i,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Total Assets")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:s.total}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-slate-600 dark:text-slate-400",children:[e.jsx(z,{className:"h-3 w-3"}),e.jsx("span",{className:"font-medium",children:a("All registered assets")})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-slate-100 dark:bg-slate-800",children:e.jsx(W,{className:"h-5 w-5 text-slate-600 dark:text-slate-400"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-slate-100 dark:bg-slate-800",children:e.jsx("div",{className:"h-full w-full rounded-full bg-slate-500"})})})]})]}),e.jsxs(d,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-green-500"}),e.jsxs(i,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Available")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:s.available}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-green-600 dark:text-green-500",children:[e.jsx(_,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[s.total>0?Math.round(s.available/s.total*100):0,"% ",a("of total")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-green-100 dark:bg-green-900/40",children:e.jsx(_,{className:"h-5 w-5 text-green-600 dark:text-green-500"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-green-100 dark:bg-green-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-green-500 transition-all",style:{width:`${s.total>0?s.available/s.total*100:0}%`}})})})]})]}),e.jsxs(d,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-blue-500"}),e.jsxs(i,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Assigned")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:s.assigned}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-blue-600 dark:text-blue-500",children:[e.jsx(C,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[s.total>0?Math.round(s.assigned/s.total*100):0,"% ",a("of total")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/40",children:e.jsx(C,{className:"h-5 w-5 text-blue-600 dark:text-blue-500"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-blue-100 dark:bg-blue-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-blue-500 transition-all",style:{width:`${s.total>0?s.assigned/s.total*100:0}%`}})})})]})]}),e.jsxs(d,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-amber-500"}),e.jsxs(i,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Under Maintenance")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:s.under_maintenance}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-amber-600 dark:text-amber-500",children:[e.jsx(A,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[s.total>0?Math.round(s.under_maintenance/s.total*100):0,"% ",a("of total")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-amber-100 dark:bg-amber-900/40",children:e.jsx(A,{className:"h-5 w-5 text-amber-600 dark:text-amber-500"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-amber-100 dark:bg-amber-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-amber-500 transition-all",style:{width:`${s.total>0?s.under_maintenance/s.total*100:0}%`}})})})]})]})]}),e.jsxs(d,{className:"mb-6 overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Asset Value Summary")})}),e.jsxs(i,{className:"pt-6",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-3",children:[e.jsxs("div",{className:"flex flex-col space-y-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Total Purchase Value")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-gray-100",children:(j=window.appSettings)==null?void 0:j.formatCurrency(l.total_purchase_value||0)})]}),e.jsxs("div",{className:"flex flex-col space-y-1 border-t border-gray-100 pt-4 md:border-t-0 md:border-l md:pt-0 md:pl-6 dark:border-gray-800",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Total Current Value")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-gray-100",children:(N=window.appSettings)==null?void 0:N.formatCurrency(l.total_current_value||0)})]}),e.jsxs("div",{className:"flex flex-col space-y-1 border-t border-gray-100 pt-4 md:border-t-0 md:border-l md:pt-0 md:pl-6 dark:border-gray-800",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Total Depreciation")}),e.jsx("p",{className:"text-2xl font-bold text-red-600 dark:text-red-400",children:(f=window.appSettings)==null?void 0:f.formatCurrency(l.total_depreciation||0)})]})]}),e.jsxs("div",{className:"mt-8 rounded-lg bg-gray-50 p-4 dark:bg-gray-900/50",children:[e.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[e.jsx("p",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:a("Depreciation Progress")}),e.jsxs("p",{className:"text-sm font-bold text-gray-900 dark:text-gray-100",children:[Number(l.total_purchase_value||0)>0?Math.round(Number(l.total_depreciation||0)/Number(l.total_purchase_value||0)*100):0,"%"]})]}),e.jsx(k,{value:Number(l.total_purchase_value||0)>0?Number(l.total_depreciation||0)/Number(l.total_purchase_value||0)*100:0,className:"h-2.5 bg-gray-200 dark:bg-gray-800"})]})]}),e.jsx(R,{className:"bg-gray-50/50 pt-4 pb-4 dark:bg-gray-800/50",children:e.jsxs(o,{variant:"outline",size:"sm",onClick:u,className:"w-full sm:w-auto",children:[e.jsx(w,{className:"mr-2 h-4 w-4"}),a("View Depreciation Report")]})})]}),e.jsxs("div",{className:"mb-6 grid grid-cols-1 gap-6 lg:grid-cols-2",children:[e.jsxs(d,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Asset Distribution")})}),e.jsx(i,{className:"pt-6",children:b.length>0?e.jsx("div",{className:"space-y-5",children:b.map((t,r)=>e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[e.jsx("p",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:t.name}),e.jsx("span",{className:"rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-semibold text-gray-700 dark:bg-gray-800 dark:text-gray-300",children:t.count})]}),e.jsx(k,{value:s.total>0?t.count/s.total*100:0,className:"h-2 bg-gray-100 dark:bg-gray-800"})]},r))}):e.jsx("div",{className:"py-12 text-center text-sm text-gray-500 dark:text-gray-400",children:a("No asset data available")})})]}),e.jsxs(d,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Recent Assignments")})}),e.jsx(i,{className:"pt-0",children:g&&g.length>0?e.jsx("div",{className:"divide-y divide-gray-100 dark:divide-gray-800",children:g.map(t=>{var r,n,v;return e.jsxs("div",{className:"-mx-2 flex items-center justify-between rounded-md px-2 py-4 transition-colors hover:bg-gray-50/50 dark:hover:bg-gray-800/50",children:[e.jsxs("div",{className:"flex-1 overflow-hidden pr-4",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-gray-900 dark:text-gray-100",children:(r=t.asset)==null?void 0:r.name}),e.jsxs("div",{className:"mt-1 flex items-center space-x-2 text-xs text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium text-gray-700 dark:text-gray-300",children:(n=t.employee)==null?void 0:n.name}),e.jsx("span",{className:"text-gray-300 dark:text-gray-600",children:"•"}),e.jsx("span",{children:((v=window.appSettings)==null?void 0:v.formatDateTimeSimple(t.checkout_date,!1))||y(new Date(t.checkout_date),"MMM dd, yyyy")})]})]}),e.jsx(o,{variant:"ghost",size:"sm",className:"h-8 shrink-0",onClick:()=>x.get(route("hr.assets.show",t.asset_id)),children:a("View")})]},t.id)})}):e.jsx("div",{className:"py-12 text-center text-sm text-gray-500 dark:text-gray-400",children:a("No recent assignments")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-2",children:[e.jsxs(d,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Upcoming Maintenance")})}),e.jsx(i,{className:"pt-0",children:h&&h.length>0?e.jsx("div",{className:"divide-y divide-gray-100 dark:divide-gray-800",children:h.map(t=>{var r,n;return e.jsxs("div",{className:"-mx-2 flex items-center justify-between rounded-md px-2 py-4 transition-colors hover:bg-gray-50/50 dark:hover:bg-gray-800/50",children:[e.jsxs("div",{className:"flex-1 overflow-hidden pr-4",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-gray-900 dark:text-gray-100",children:(r=t.asset)==null?void 0:r.name}),e.jsxs("div",{className:"mt-1 flex items-center space-x-2 text-xs text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium text-amber-600 dark:text-amber-500",children:t.maintenance_type}),e.jsx("span",{className:"text-gray-300 dark:text-gray-600",children:"•"}),e.jsx("span",{children:((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(t.start_date,!1))||y(new Date(t.start_date),"MMM dd, yyyy")})]})]}),e.jsx(o,{variant:"ghost",size:"sm",className:"h-8 shrink-0",onClick:()=>x.get(route("hr.assets.show",t.asset_id)),children:a("View")})]},t.id)})}):e.jsx("div",{className:"py-12 text-center text-sm text-gray-500 dark:text-gray-400",children:a("No upcoming maintenance")})})]}),e.jsxs(d,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Expiring Warranties")})}),e.jsx(i,{className:"pt-0",children:p&&p.length>0?e.jsx("div",{className:"divide-y divide-gray-100 dark:divide-gray-800",children:p.map(t=>{var r;return e.jsxs("div",{className:"-mx-2 flex items-center justify-between rounded-md px-2 py-4 transition-colors hover:bg-gray-50/50 dark:hover:bg-gray-800/50",children:[e.jsxs("div",{className:"flex-1 overflow-hidden pr-4",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-gray-900 dark:text-gray-100",children:t.name}),e.jsxs("div",{className:"mt-1 flex items-center space-x-2 text-xs text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium text-gray-700 dark:text-gray-300",children:t.warranty_info}),e.jsx("span",{className:"text-gray-300 dark:text-gray-600",children:"•"}),e.jsxs("span",{className:"text-red-600 dark:text-red-400",children:[a("Expires"),":"," ",((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t.warranty_expiry_date,!1))||y(new Date(t.warranty_expiry_date),"MMM dd, yyyy")]})]})]}),e.jsx(o,{variant:"ghost",size:"sm",className:"h-8 shrink-0",onClick:()=>x.get(route("hr.assets.show",t.id)),children:a("View")})]},t.id)})}):e.jsx("div",{className:"py-12 text-center text-sm text-gray-500 dark:text-gray-400",children:a("No expiring warranties")})})]})]})]})}export{De as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as S}from"./page-template-CLNVC8w_.js";import{u as V,c as P,C as d,l as i,m,n as c,A as R,o,r as x}from"./app-Dya84jp7.js";import{P as k}from"./progress-NbCMYaUz.js";import{L as U}from"./list-C_2fG_BT.js";import{C as w}from"./chart-no-axes-column-increasing-DGWtPhLs.js";import{T as z}from"./trending-up-BT453ptk.js";import{P as W}from"./package-BMnRSK1k.js";import{C as _}from"./circle-check-big-Cju4ilPH.js";import{U as C}from"./user-check-DC9_V3Qo.js";import{W as A}from"./wrench-D9olQ4TN.js";import{f as y}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */function De(){var j,N,f;const{t:a}=V(),{assetCounts:s,assetTypeData:b,recentAssignments:g,upcomingMaintenance:h,expiringWarranties:p,assetValueSummary:l}=P().props,M=()=>{x.get(route("hr.assets.index"))},u=()=>{x.get(route("hr.assets.depreciation-report"))},D=[{label:a("Asset List"),icon:e.jsx(U,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:M},{label:a("Depreciation Report"),icon:e.jsx(w,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:u}],T=[{title:a("Dashboard"),href:route("dashboard")},{title:a("HR Management"),href:route("hr.assets.index")},{title:a("Asset Management"),href:route("hr.assets.index")},{title:a("Asset Dashboard")}];return a("Available"),a("Assigned"),a("Under Maintenance"),a("Disposed"),e.jsxs(S,{title:a("Asset Dashboard"),url:"/hr/assets/dashboard",actions:D,breadcrumbs:T,children:[e.jsxs("div",{className:"mb-4 grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-4",children:[e.jsxs(d,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-slate-500"}),e.jsxs(i,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Total Assets")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:s.total}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-slate-600 dark:text-slate-400",children:[e.jsx(z,{className:"h-3 w-3"}),e.jsx("span",{className:"font-medium",children:a("All registered assets")})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-slate-100 dark:bg-slate-800",children:e.jsx(W,{className:"h-5 w-5 text-slate-600 dark:text-slate-400"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-slate-100 dark:bg-slate-800",children:e.jsx("div",{className:"h-full w-full rounded-full bg-slate-500"})})})]})]}),e.jsxs(d,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-green-500"}),e.jsxs(i,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Available")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:s.available}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-green-600 dark:text-green-500",children:[e.jsx(_,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[s.total>0?Math.round(s.available/s.total*100):0,"% ",a("of total")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-green-100 dark:bg-green-900/40",children:e.jsx(_,{className:"h-5 w-5 text-green-600 dark:text-green-500"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-green-100 dark:bg-green-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-green-500 transition-all",style:{width:`${s.total>0?s.available/s.total*100:0}%`}})})})]})]}),e.jsxs(d,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-blue-500"}),e.jsxs(i,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Assigned")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:s.assigned}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-blue-600 dark:text-blue-500",children:[e.jsx(C,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[s.total>0?Math.round(s.assigned/s.total*100):0,"% ",a("of total")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/40",children:e.jsx(C,{className:"h-5 w-5 text-blue-600 dark:text-blue-500"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-blue-100 dark:bg-blue-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-blue-500 transition-all",style:{width:`${s.total>0?s.assigned/s.total*100:0}%`}})})})]})]}),e.jsxs(d,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-amber-500"}),e.jsxs(i,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Under Maintenance")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:s.under_maintenance}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-amber-600 dark:text-amber-500",children:[e.jsx(A,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[s.total>0?Math.round(s.under_maintenance/s.total*100):0,"% ",a("of total")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-amber-100 dark:bg-amber-900/40",children:e.jsx(A,{className:"h-5 w-5 text-amber-600 dark:text-amber-500"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-amber-100 dark:bg-amber-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-amber-500 transition-all",style:{width:`${s.total>0?s.under_maintenance/s.total*100:0}%`}})})})]})]})]}),e.jsxs(d,{className:"mb-6 overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Asset Value Summary")})}),e.jsxs(i,{className:"pt-6",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-3",children:[e.jsxs("div",{className:"flex flex-col space-y-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Total Purchase Value")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-gray-100",children:(j=window.appSettings)==null?void 0:j.formatCurrency(l.total_purchase_value||0)})]}),e.jsxs("div",{className:"flex flex-col space-y-1 border-t border-gray-100 pt-4 md:border-t-0 md:border-l md:pt-0 md:pl-6 dark:border-gray-800",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Total Current Value")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-gray-100",children:(N=window.appSettings)==null?void 0:N.formatCurrency(l.total_current_value||0)})]}),e.jsxs("div",{className:"flex flex-col space-y-1 border-t border-gray-100 pt-4 md:border-t-0 md:border-l md:pt-0 md:pl-6 dark:border-gray-800",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:a("Total Depreciation")}),e.jsx("p",{className:"text-2xl font-bold text-red-600 dark:text-red-400",children:(f=window.appSettings)==null?void 0:f.formatCurrency(l.total_depreciation||0)})]})]}),e.jsxs("div",{className:"mt-8 rounded-lg bg-gray-50 p-4 dark:bg-gray-900/50",children:[e.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[e.jsx("p",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:a("Depreciation Progress")}),e.jsxs("p",{className:"text-sm font-bold text-gray-900 dark:text-gray-100",children:[Number(l.total_purchase_value||0)>0?Math.round(Number(l.total_depreciation||0)/Number(l.total_purchase_value||0)*100):0,"%"]})]}),e.jsx(k,{value:Number(l.total_purchase_value||0)>0?Number(l.total_depreciation||0)/Number(l.total_purchase_value||0)*100:0,className:"h-2.5 bg-gray-200 dark:bg-gray-800"})]})]}),e.jsx(R,{className:"bg-gray-50/50 pt-4 pb-4 dark:bg-gray-800/50",children:e.jsxs(o,{variant:"outline",size:"sm",onClick:u,className:"w-full sm:w-auto",children:[e.jsx(w,{className:"mr-2 h-4 w-4"}),a("View Depreciation Report")]})})]}),e.jsxs("div",{className:"mb-6 grid grid-cols-1 gap-6 lg:grid-cols-2",children:[e.jsxs(d,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Asset Distribution")})}),e.jsx(i,{className:"pt-6",children:b.length>0?e.jsx("div",{className:"space-y-5",children:b.map((t,r)=>e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[e.jsx("p",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:t.name}),e.jsx("span",{className:"rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-semibold text-gray-700 dark:bg-gray-800 dark:text-gray-300",children:t.count})]}),e.jsx(k,{value:s.total>0?t.count/s.total*100:0,className:"h-2 bg-gray-100 dark:bg-gray-800"})]},r))}):e.jsx("div",{className:"py-12 text-center text-sm text-gray-500 dark:text-gray-400",children:a("No asset data available")})})]}),e.jsxs(d,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Recent Assignments")})}),e.jsx(i,{className:"pt-0",children:g&&g.length>0?e.jsx("div",{className:"divide-y divide-gray-100 dark:divide-gray-800",children:g.map(t=>{var r,n,v;return e.jsxs("div",{className:"-mx-2 flex items-center justify-between rounded-md px-2 py-4 transition-colors hover:bg-gray-50/50 dark:hover:bg-gray-800/50",children:[e.jsxs("div",{className:"flex-1 overflow-hidden pr-4",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-gray-900 dark:text-gray-100",children:(r=t.asset)==null?void 0:r.name}),e.jsxs("div",{className:"mt-1 flex items-center space-x-2 text-xs text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium text-gray-700 dark:text-gray-300",children:(n=t.employee)==null?void 0:n.name}),e.jsx("span",{className:"text-gray-300 dark:text-gray-600",children:"•"}),e.jsx("span",{children:((v=window.appSettings)==null?void 0:v.formatDateTimeSimple(t.checkout_date,!1))||y(new Date(t.checkout_date),"MMM dd, yyyy")})]})]}),e.jsx(o,{variant:"ghost",size:"sm",className:"h-8 shrink-0",onClick:()=>x.get(route("hr.assets.show",t.asset_id)),children:a("View")})]},t.id)})}):e.jsx("div",{className:"py-12 text-center text-sm text-gray-500 dark:text-gray-400",children:a("No recent assignments")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-2",children:[e.jsxs(d,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Upcoming Maintenance")})}),e.jsx(i,{className:"pt-0",children:h&&h.length>0?e.jsx("div",{className:"divide-y divide-gray-100 dark:divide-gray-800",children:h.map(t=>{var r,n;return e.jsxs("div",{className:"-mx-2 flex items-center justify-between rounded-md px-2 py-4 transition-colors hover:bg-gray-50/50 dark:hover:bg-gray-800/50",children:[e.jsxs("div",{className:"flex-1 overflow-hidden pr-4",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-gray-900 dark:text-gray-100",children:(r=t.asset)==null?void 0:r.name}),e.jsxs("div",{className:"mt-1 flex items-center space-x-2 text-xs text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium text-amber-600 dark:text-amber-500",children:t.maintenance_type}),e.jsx("span",{className:"text-gray-300 dark:text-gray-600",children:"•"}),e.jsx("span",{children:((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(t.start_date,!1))||y(new Date(t.start_date),"MMM dd, yyyy")})]})]}),e.jsx(o,{variant:"ghost",size:"sm",className:"h-8 shrink-0",onClick:()=>x.get(route("hr.assets.show",t.asset_id)),children:a("View")})]},t.id)})}):e.jsx("div",{className:"py-12 text-center text-sm text-gray-500 dark:text-gray-400",children:a("No upcoming maintenance")})})]}),e.jsxs(d,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(m,{className:"bg-gray-50/50 pb-4 dark:bg-gray-800/50",children:e.jsx(c,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a("Expiring Warranties")})}),e.jsx(i,{className:"pt-0",children:p&&p.length>0?e.jsx("div",{className:"divide-y divide-gray-100 dark:divide-gray-800",children:p.map(t=>{var r;return e.jsxs("div",{className:"-mx-2 flex items-center justify-between rounded-md px-2 py-4 transition-colors hover:bg-gray-50/50 dark:hover:bg-gray-800/50",children:[e.jsxs("div",{className:"flex-1 overflow-hidden pr-4",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-gray-900 dark:text-gray-100",children:t.name}),e.jsxs("div",{className:"mt-1 flex items-center space-x-2 text-xs text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium text-gray-700 dark:text-gray-300",children:t.warranty_info}),e.jsx("span",{className:"text-gray-300 dark:text-gray-600",children:"•"}),e.jsxs("span",{className:"text-red-600 dark:text-red-400",children:[a("Expires"),":"," ",((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t.warranty_expiry_date,!1))||y(new Date(t.warranty_expiry_date),"MMM dd, yyyy")]})]})]}),e.jsx(o,{variant:"ghost",size:"sm",className:"h-8 shrink-0",onClick:()=>x.get(route("hr.assets.show",t.id)),children:a("View")})]},t.id)})}):e.jsx("div",{className:"py-12 text-center text-sm text-gray-500 dark:text-gray-400",children:a("No expiring warranties")})})]})]})]})}export{De as default}; diff --git a/public/build/assets/dashboard-EyalI_Q2.js b/public/build/assets/dashboard-D2OPNHx1.js similarity index 84% rename from public/build/assets/dashboard-EyalI_Q2.js rename to public/build/assets/dashboard-D2OPNHx1.js index 5bcd843e4..f98c8007c 100644 --- a/public/build/assets/dashboard-EyalI_Q2.js +++ b/public/build/assets/dashboard-D2OPNHx1.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as f}from"./page-template-BTxLyiDA.js";import{u as b,c as k,C as a,m as r,n as i,l,z as u,A as w,o as v,r as g}from"./app-CfhhiFAk.js";import{P as T}from"./progress-CJ4ij2ij.js";import{L as C}from"./list-D0MAUZMV.js";import{f as h}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */function ce(){const{t}=b(),{statistics:n,programStats:o,recentCompletions:c,upcomingTrainings:p}=k().props,j=()=>{g.get(route("hr.employee-trainings.index"))},y=[{label:t("List View"),icon:e.jsx(C,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:j}],N=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.employee-trainings.index")},{title:t("Training Management"),href:route("hr.employee-trainings.index")},{title:t("Employee Trainings"),href:route("hr.employee-trainings.index")},{title:t("Dashboard")}];return e.jsxs(f,{title:t("Training Dashboard"),url:"/hr/training/employee-trainings/dashboard",actions:y,breadcrumbs:N,children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4 mb-6",children:[e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Total Trainings")})}),e.jsx(l,{children:e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-gray-100",children:n.totalTrainings})})]}),e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Completed")})}),e.jsxs(l,{children:[e.jsx("p",{className:"text-2xl font-bold text-green-600 dark:text-green-400",children:n.completedTrainings}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:[n.completionRate,"% ",t("Completion Rate")]})]})]}),e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("In Progress")})}),e.jsx(l,{children:e.jsx("p",{className:"text-2xl font-bold text-blue-600 dark:text-blue-400",children:n.inProgressTrainings})})]}),e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Assigned")})}),e.jsx(l,{children:e.jsx("p",{className:"text-2xl font-bold text-amber-600 dark:text-amber-400",children:n.assignedTrainings})})]}),e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Failed")})}),e.jsx(l,{children:e.jsx("p",{className:"text-2xl font-bold text-red-600 dark:text-red-400",children:n.failedTrainings})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6",children:[e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Program Completion Rates")})}),e.jsx(l,{children:o&&o.length>0?e.jsx("div",{className:"space-y-4",children:o.map((s,d)=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between mb-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s.name}),e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:[s.completion_rate,"%"]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(T,{value:s.completion_rate,className:"h-2 flex-1"}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:[s.completed,"/",s.total]})]})]},d))}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No program data available")})})]}),e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Recent Completions")})}),e.jsx(l,{children:c&&c.length>0?e.jsx("div",{className:"space-y-3",children:c.map(s=>{var d,x,m;return e.jsxs("div",{className:"flex items-start justify-between pb-3 border-b last:border-0",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 mb-1",children:(d=s.employee)==null?void 0:d.name}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:(x=s.training_program)==null?void 0:x.name}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-0.5",children:[t("Completed")," ",((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.completion_date,!1))||h(new Date(s.completion_date),"MMM dd, yyyy")]})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:s.score?`${s.score}%`:"-"}),e.jsx("p",{className:"text-xs",children:s.is_passed?e.jsx("span",{className:"text-green-600 dark:text-green-400",children:t("Passed")}):e.jsx("span",{className:"text-red-600 dark:text-red-400",children:t("Failed")})})]})]},s.id)})}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No recent completions")})})]})]}),e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Upcoming Trainings")})}),e.jsx(l,{children:p&&p.length>0?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:p.map(s=>{var d,x,m;return e.jsxs(a,{className:"border",children:[e.jsxs(r,{className:"pb-2",children:[e.jsx(i,{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:(d=s.training_program)==null?void 0:d.name}),e.jsx(u,{className:"text-xs",children:(x=s.employee)==null?void 0:x.name})]}),e.jsx(l,{className:"pb-2",children:e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium",children:t("Assigned")})," ",((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.assigned_date,!1))||h(new Date(s.assigned_date),"MMM dd, yyyy")]})}),e.jsx(w,{children:e.jsx(v,{variant:"outline",size:"sm",className:"w-full",onClick:()=>g.get(route("hr.employee-trainings.show",s.id)),children:t("View Details")})})]},s.id)})}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No upcoming trainings")})})]})]})}export{ce as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as f}from"./page-template-CLNVC8w_.js";import{u as b,c as k,C as a,m as r,n as i,l,z as u,A as w,o as v,r as g}from"./app-Dya84jp7.js";import{P as T}from"./progress-NbCMYaUz.js";import{L as C}from"./list-C_2fG_BT.js";import{f as h}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */function ce(){const{t}=b(),{statistics:n,programStats:o,recentCompletions:c,upcomingTrainings:p}=k().props,j=()=>{g.get(route("hr.employee-trainings.index"))},y=[{label:t("List View"),icon:e.jsx(C,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:j}],N=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.employee-trainings.index")},{title:t("Training Management"),href:route("hr.employee-trainings.index")},{title:t("Employee Trainings"),href:route("hr.employee-trainings.index")},{title:t("Dashboard")}];return e.jsxs(f,{title:t("Training Dashboard"),url:"/hr/training/employee-trainings/dashboard",actions:y,breadcrumbs:N,children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4 mb-6",children:[e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Total Trainings")})}),e.jsx(l,{children:e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-gray-100",children:n.totalTrainings})})]}),e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Completed")})}),e.jsxs(l,{children:[e.jsx("p",{className:"text-2xl font-bold text-green-600 dark:text-green-400",children:n.completedTrainings}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:[n.completionRate,"% ",t("Completion Rate")]})]})]}),e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("In Progress")})}),e.jsx(l,{children:e.jsx("p",{className:"text-2xl font-bold text-blue-600 dark:text-blue-400",children:n.inProgressTrainings})})]}),e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Assigned")})}),e.jsx(l,{children:e.jsx("p",{className:"text-2xl font-bold text-amber-600 dark:text-amber-400",children:n.assignedTrainings})})]}),e.jsxs(a,{children:[e.jsx(r,{className:"pb-2",children:e.jsx(i,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Failed")})}),e.jsx(l,{children:e.jsx("p",{className:"text-2xl font-bold text-red-600 dark:text-red-400",children:n.failedTrainings})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6",children:[e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Program Completion Rates")})}),e.jsx(l,{children:o&&o.length>0?e.jsx("div",{className:"space-y-4",children:o.map((s,d)=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between mb-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s.name}),e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:[s.completion_rate,"%"]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(T,{value:s.completion_rate,className:"h-2 flex-1"}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:[s.completed,"/",s.total]})]})]},d))}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No program data available")})})]}),e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Recent Completions")})}),e.jsx(l,{children:c&&c.length>0?e.jsx("div",{className:"space-y-3",children:c.map(s=>{var d,x,m;return e.jsxs("div",{className:"flex items-start justify-between pb-3 border-b last:border-0",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 mb-1",children:(d=s.employee)==null?void 0:d.name}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:(x=s.training_program)==null?void 0:x.name}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-0.5",children:[t("Completed")," ",((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.completion_date,!1))||h(new Date(s.completion_date),"MMM dd, yyyy")]})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:s.score?`${s.score}%`:"-"}),e.jsx("p",{className:"text-xs",children:s.is_passed?e.jsx("span",{className:"text-green-600 dark:text-green-400",children:t("Passed")}):e.jsx("span",{className:"text-red-600 dark:text-red-400",children:t("Failed")})})]})]},s.id)})}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No recent completions")})})]})]}),e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Upcoming Trainings")})}),e.jsx(l,{children:p&&p.length>0?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:p.map(s=>{var d,x,m;return e.jsxs(a,{className:"border",children:[e.jsxs(r,{className:"pb-2",children:[e.jsx(i,{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:(d=s.training_program)==null?void 0:d.name}),e.jsx(u,{className:"text-xs",children:(x=s.employee)==null?void 0:x.name})]}),e.jsx(l,{className:"pb-2",children:e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium",children:t("Assigned")})," ",((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.assigned_date,!1))||h(new Date(s.assigned_date),"MMM dd, yyyy")]})}),e.jsx(w,{children:e.jsx(v,{variant:"outline",size:"sm",className:"w-full",onClick:()=>g.get(route("hr.employee-trainings.show",s.id)),children:t("View Details")})})]},s.id)})}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No upcoming trainings")})})]})]})}export{ce as default}; diff --git a/public/build/assets/depreciation-report-TgdmfIPE.js b/public/build/assets/depreciation-report-Ctuc5gL8.js similarity index 68% rename from public/build/assets/depreciation-report-TgdmfIPE.js rename to public/build/assets/depreciation-report-Ctuc5gL8.js index eb2fddbea..6613ab89b 100644 --- a/public/build/assets/depreciation-report-TgdmfIPE.js +++ b/public/build/assets/depreciation-report-Ctuc5gL8.js @@ -1 +1 @@ -import{r as h,j as e}from"./ui-Z445SNHD.js";import{P as K}from"./page-template-BTxLyiDA.js";import{u as Q,c as W,C as g,l as x,m as X,n as Y,r as u}from"./app-CfhhiFAk.js";import{S as Z}from"./search-and-filter-bar-6Pp-FsiR.js";import{P as ee}from"./pagination-D8A_HnL5.js";import{P as re,S as D,C as te}from"./CrudTable-qPWooc10.js";import{L as ae}from"./list-D0MAUZMV.js";import{C as se}from"./chart-no-axes-column-increasing-B7MqdTh5.js";import{D as ie}from"./download-Bk1k2_dW.js";import{T as oe}from"./trending-up-Bi4f72Tj.js";import{D as ne}from"./dollar-sign-DYXFWWsE.js";import{T as P}from"./trending-down-DeoG-P9A.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./filter-uErFRSPT.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function Ut(){var N,w,k,S;const{t:r}=Q(),{assets:s,assetTypes:T,totalPurchaseValue:n,totalCurrentValue:f,totalDepreciation:_,filters:i={}}=W().props,[l,v]=h.useState(i.asset_type_id||""),[d,b]=h.useState(i.purchase_date_from||""),[p,j]=h.useState(i.purchase_date_to||""),[F,y]=h.useState(!1),A=()=>{u.get(route("hr.assets.index"))},R=()=>{u.get(route("hr.assets.dashboard"))},V=()=>l!==""||d!==""||p!=="",L=()=>(l!==""?1:0)+(d!==""?1:0)+(p!==""?1:0),M=()=>{u.get(route("hr.assets.depreciation-report"),{page:1,asset_type_id:l||void 0,purchase_date_from:d||void 0,purchase_date_to:p||void 0,sort_field:i.sort_field||void 0,sort_direction:i.sort_direction||void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},$=t=>{const a=i.sort_field===t&&i.sort_direction==="asc"?"desc":"asc";u.get(route("hr.assets.depreciation-report"),{sort_field:t,sort_direction:a,page:1,asset_type_id:l||void 0,purchase_date_from:d||void 0,purchase_date_to:p||void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},E=()=>{v(""),b(""),j(""),y(!1),u.get(route("hr.assets.depreciation-report"),{page:1,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},U=t=>{const a=new URL(t).searchParams.get("page")||"1";u.get(route("hr.assets.depreciation-report"),{page:a,asset_type_id:l||void 0,purchase_date_from:d||void 0,purchase_date_to:p||void 0,sort_field:i.sort_field||void 0,sort_direction:i.sort_direction||void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},B=t=>{u.get(route("hr.assets.depreciation-report"),{page:1,per_page:parseInt(t),asset_type_id:l||void 0,purchase_date_from:d||void 0,purchase_date_to:p||void 0,sort_field:i.sort_field||void 0,sort_direction:i.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})},H=()=>{window.print()},I=()=>{const t=new URLSearchParams({...l&&{asset_type_id:l},...d&&{purchase_date_from:d},...p&&{purchase_date_to:p}});window.open(`${route("hr.assets.export-depreciation-csv")}?${t.toString()}`,"_blank")},O=[{label:r("Asset List"),icon:e.jsx(ae,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:A},{label:r("Dashboard"),icon:e.jsx(se,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:R},{label:r("Print"),icon:e.jsx(re,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:H,className:"print:hidden"},{label:r("Export CSV"),icon:e.jsx(ie,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:I,className:"print:hidden"}],q=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.assets.index")},{title:r("Asset Management"),href:route("hr.assets.index")},{title:r("Depreciation Report")}],z=[{value:"",label:r("All Types")},...(T||[]).map(t=>({value:t.id.toString(),label:t.name}))],G=(t,a)=>!t||t===0?0:(t-a)/t*100,J=[{key:"name",label:r("Asset Name"),sortable:!0,render:(t,a)=>{var o;return e.jsxs("div",{children:[e.jsx("div",{className:"font-medium",children:a.name}),e.jsx("div",{className:"text-xs text-gray-500",children:((o=a.asset_type)==null?void 0:o.name)||"-"})]})}},{key:"purchase_date",label:r("Purchase Date"),sortable:!0,render:t=>{var a;return t?((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString():"-"}},{key:"purchase_cost",label:r("Purchase Cost"),sortable:!0,render:t=>{var o;const a=parseFloat(t||0);return((o=window.appSettings)==null?void 0:o.formatCurrency(a))??"-"}},{key:"depreciation_method",label:r("Depreciation Method"),render:(t,a)=>{var m;const o=(m=a.depreciation)==null?void 0:m.method;return o==="straight_line"?r("Straight Line"):o==="reducing_balance"?r("Reducing Balance"):"-"}},{key:"current_value",label:r("Current Value"),render:(t,a)=>{var m,c;const o=parseFloat(((m=a.depreciation)==null?void 0:m.current_value)||0);return((c=window.appSettings)==null?void 0:c.formatCurrency(o))??"-"}},{key:"depreciation_amount",label:r("Depreciation"),render:(t,a)=>{var c,C;const o=parseFloat(a.purchase_cost||0),m=parseFloat(((c=a.depreciation)==null?void 0:c.current_value)||0);return((C=window.appSettings)==null?void 0:C.formatCurrency(o-m))??"-"}},{key:"depreciation_pct",label:r("Depreciation %"),render:(t,a)=>{var c;const o=parseFloat(a.purchase_cost||0),m=parseFloat(((c=a.depreciation)==null?void 0:c.current_value)||0);return`${G(o,m).toFixed(2)}%`}}];return e.jsxs(K,{title:r("Asset Depreciation Report"),url:"/hr/assets/depreciation-report",actions:O,breadcrumbs:q,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4 print:hidden",children:e.jsx(Z,{searchTerm:"",onSearchChange:()=>{},onSearch:()=>{},filters:[{name:"asset_type_id",label:r("Asset Type"),type:"select",value:l,onChange:v,options:z},{name:"purchase_date_from",label:r("Purchase Date From"),type:"date",value:d,onChange:b},{name:"purchase_date_to",label:r("Purchase Date To"),type:"date",value:p,onChange:j}],showFilters:F,setShowFilters:y,hasActiveFilters:V,activeFilterCount:L,onResetFilters:E,onApplyFilters:M,currentPerPage:((N=i.per_page)==null?void 0:N.toString())||"10",onPerPageChange:B,hideSearch:!0})}),e.jsxs("div",{className:"mb-4 grid grid-cols-1 gap-3 md:grid-cols-3",children:[e.jsxs(g,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-blue-500"}),e.jsxs(x,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:r("Total Purchase Value")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:(w=window.appSettings)==null?void 0:w.formatCurrency(n||0)}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-blue-600 dark:text-blue-400",children:[e.jsx(D,{className:"h-3 w-3"}),e.jsx("span",{className:"font-medium",children:r("Original cost of all assets")})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/40",children:e.jsx(D,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-blue-100 dark:bg-blue-900/40",children:e.jsx("div",{className:"h-full w-full rounded-full bg-blue-500"})})})]})]}),e.jsxs(g,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-green-500"}),e.jsxs(x,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:r("Total Current Value")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:(k=window.appSettings)==null?void 0:k.formatCurrency(f||0)}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-green-600 dark:text-green-500",children:[e.jsx(oe,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[n>0?Math.round(f/n*100):0,"% ",r("of purchase value")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-green-100 dark:bg-green-900/40",children:e.jsx(ne,{className:"h-5 w-5 text-green-600 dark:text-green-500"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-green-100 dark:bg-green-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-green-500 transition-all",style:{width:`${n>0?f/n*100:0}%`}})})})]})]}),e.jsxs(g,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-red-500"}),e.jsxs(x,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:r("Total Depreciation")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-red-600 dark:text-red-400",children:(S=window.appSettings)==null?void 0:S.formatCurrency(_||0)}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-red-600 dark:text-red-400",children:[e.jsx(P,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[n>0?Math.round(_/n*100):0,"% ",r("of purchase value")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-red-100 dark:bg-red-900/40",children:e.jsx(P,{className:"h-5 w-5 text-red-600 dark:text-red-400"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-red-100 dark:bg-red-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-red-500 transition-all",style:{width:`${n>0?_/n*100:0}%`}})})})]})]})]}),e.jsxs(g,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(X,{className:"bg-gray-50/50 pb-3 dark:bg-gray-800/50",children:e.jsx(Y,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:r("Asset Depreciation Details")})}),e.jsxs(x,{className:"p-0",children:[e.jsx("div",{className:"overflow-hidden",children:e.jsx(te,{columns:J,actions:[],data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:()=>{},sortField:i.sort_field,sortDirection:i.sort_direction,onSort:$,permissions:[],showActions:!1})}),e.jsx("div",{className:"print:hidden",children:e.jsx(ee,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:r("assets"),onPageChange:U})})]})]})]})}export{Ut as default}; +import{r as h,j as e}from"./ui-Z445SNHD.js";import{P as K}from"./page-template-CLNVC8w_.js";import{u as Q,c as W,C as g,l as x,m as X,n as Y,r as u}from"./app-Dya84jp7.js";import{S as Z}from"./search-and-filter-bar-DWH0yn_r.js";import{P as ee}from"./pagination-4PUepASD.js";import{P as re,S as D,C as te}from"./CrudTable-yqxtM6E_.js";import{L as ae}from"./list-C_2fG_BT.js";import{C as se}from"./chart-no-axes-column-increasing-DGWtPhLs.js";import{D as ie}from"./download-BBNmalxc.js";import{T as oe}from"./trending-up-BT453ptk.js";import{D as ne}from"./dollar-sign-DH2Tc178.js";import{T as P}from"./trending-down-DmDmdusz.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./filter-BTHjyusi.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function Ut(){var N,w,k,S;const{t:r}=Q(),{assets:s,assetTypes:T,totalPurchaseValue:n,totalCurrentValue:f,totalDepreciation:_,filters:i={}}=W().props,[l,v]=h.useState(i.asset_type_id||""),[d,b]=h.useState(i.purchase_date_from||""),[p,j]=h.useState(i.purchase_date_to||""),[F,y]=h.useState(!1),A=()=>{u.get(route("hr.assets.index"))},R=()=>{u.get(route("hr.assets.dashboard"))},V=()=>l!==""||d!==""||p!=="",L=()=>(l!==""?1:0)+(d!==""?1:0)+(p!==""?1:0),M=()=>{u.get(route("hr.assets.depreciation-report"),{page:1,asset_type_id:l||void 0,purchase_date_from:d||void 0,purchase_date_to:p||void 0,sort_field:i.sort_field||void 0,sort_direction:i.sort_direction||void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},$=t=>{const a=i.sort_field===t&&i.sort_direction==="asc"?"desc":"asc";u.get(route("hr.assets.depreciation-report"),{sort_field:t,sort_direction:a,page:1,asset_type_id:l||void 0,purchase_date_from:d||void 0,purchase_date_to:p||void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},E=()=>{v(""),b(""),j(""),y(!1),u.get(route("hr.assets.depreciation-report"),{page:1,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},U=t=>{const a=new URL(t).searchParams.get("page")||"1";u.get(route("hr.assets.depreciation-report"),{page:a,asset_type_id:l||void 0,purchase_date_from:d||void 0,purchase_date_to:p||void 0,sort_field:i.sort_field||void 0,sort_direction:i.sort_direction||void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},B=t=>{u.get(route("hr.assets.depreciation-report"),{page:1,per_page:parseInt(t),asset_type_id:l||void 0,purchase_date_from:d||void 0,purchase_date_to:p||void 0,sort_field:i.sort_field||void 0,sort_direction:i.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})},H=()=>{window.print()},I=()=>{const t=new URLSearchParams({...l&&{asset_type_id:l},...d&&{purchase_date_from:d},...p&&{purchase_date_to:p}});window.open(`${route("hr.assets.export-depreciation-csv")}?${t.toString()}`,"_blank")},O=[{label:r("Asset List"),icon:e.jsx(ae,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:A},{label:r("Dashboard"),icon:e.jsx(se,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:R},{label:r("Print"),icon:e.jsx(re,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:H,className:"print:hidden"},{label:r("Export CSV"),icon:e.jsx(ie,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:I,className:"print:hidden"}],q=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.assets.index")},{title:r("Asset Management"),href:route("hr.assets.index")},{title:r("Depreciation Report")}],z=[{value:"",label:r("All Types")},...(T||[]).map(t=>({value:t.id.toString(),label:t.name}))],G=(t,a)=>!t||t===0?0:(t-a)/t*100,J=[{key:"name",label:r("Asset Name"),sortable:!0,render:(t,a)=>{var o;return e.jsxs("div",{children:[e.jsx("div",{className:"font-medium",children:a.name}),e.jsx("div",{className:"text-xs text-gray-500",children:((o=a.asset_type)==null?void 0:o.name)||"-"})]})}},{key:"purchase_date",label:r("Purchase Date"),sortable:!0,render:t=>{var a;return t?((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString():"-"}},{key:"purchase_cost",label:r("Purchase Cost"),sortable:!0,render:t=>{var o;const a=parseFloat(t||0);return((o=window.appSettings)==null?void 0:o.formatCurrency(a))??"-"}},{key:"depreciation_method",label:r("Depreciation Method"),render:(t,a)=>{var m;const o=(m=a.depreciation)==null?void 0:m.method;return o==="straight_line"?r("Straight Line"):o==="reducing_balance"?r("Reducing Balance"):"-"}},{key:"current_value",label:r("Current Value"),render:(t,a)=>{var m,c;const o=parseFloat(((m=a.depreciation)==null?void 0:m.current_value)||0);return((c=window.appSettings)==null?void 0:c.formatCurrency(o))??"-"}},{key:"depreciation_amount",label:r("Depreciation"),render:(t,a)=>{var c,C;const o=parseFloat(a.purchase_cost||0),m=parseFloat(((c=a.depreciation)==null?void 0:c.current_value)||0);return((C=window.appSettings)==null?void 0:C.formatCurrency(o-m))??"-"}},{key:"depreciation_pct",label:r("Depreciation %"),render:(t,a)=>{var c;const o=parseFloat(a.purchase_cost||0),m=parseFloat(((c=a.depreciation)==null?void 0:c.current_value)||0);return`${G(o,m).toFixed(2)}%`}}];return e.jsxs(K,{title:r("Asset Depreciation Report"),url:"/hr/assets/depreciation-report",actions:O,breadcrumbs:q,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4 print:hidden",children:e.jsx(Z,{searchTerm:"",onSearchChange:()=>{},onSearch:()=>{},filters:[{name:"asset_type_id",label:r("Asset Type"),type:"select",value:l,onChange:v,options:z},{name:"purchase_date_from",label:r("Purchase Date From"),type:"date",value:d,onChange:b},{name:"purchase_date_to",label:r("Purchase Date To"),type:"date",value:p,onChange:j}],showFilters:F,setShowFilters:y,hasActiveFilters:V,activeFilterCount:L,onResetFilters:E,onApplyFilters:M,currentPerPage:((N=i.per_page)==null?void 0:N.toString())||"10",onPerPageChange:B,hideSearch:!0})}),e.jsxs("div",{className:"mb-4 grid grid-cols-1 gap-3 md:grid-cols-3",children:[e.jsxs(g,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-blue-500"}),e.jsxs(x,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:r("Total Purchase Value")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:(w=window.appSettings)==null?void 0:w.formatCurrency(n||0)}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-blue-600 dark:text-blue-400",children:[e.jsx(D,{className:"h-3 w-3"}),e.jsx("span",{className:"font-medium",children:r("Original cost of all assets")})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/40",children:e.jsx(D,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-blue-100 dark:bg-blue-900/40",children:e.jsx("div",{className:"h-full w-full rounded-full bg-blue-500"})})})]})]}),e.jsxs(g,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-green-500"}),e.jsxs(x,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:r("Total Current Value")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-gray-900 dark:text-gray-100",children:(k=window.appSettings)==null?void 0:k.formatCurrency(f||0)}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-green-600 dark:text-green-500",children:[e.jsx(oe,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[n>0?Math.round(f/n*100):0,"% ",r("of purchase value")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-green-100 dark:bg-green-900/40",children:e.jsx(ne,{className:"h-5 w-5 text-green-600 dark:text-green-500"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-green-100 dark:bg-green-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-green-500 transition-all",style:{width:`${n>0?f/n*100:0}%`}})})})]})]}),e.jsxs(g,{className:"relative overflow-hidden border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 w-1 rounded-l-xl bg-red-500"}),e.jsxs(x,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:r("Total Depreciation")}),e.jsx("p",{className:"mt-1 text-2xl font-bold text-red-600 dark:text-red-400",children:(S=window.appSettings)==null?void 0:S.formatCurrency(_||0)}),e.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-red-600 dark:text-red-400",children:[e.jsx(P,{className:"h-3 w-3"}),e.jsxs("span",{className:"font-medium",children:[n>0?Math.round(_/n*100):0,"% ",r("of purchase value")]})]})]}),e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-red-100 dark:bg-red-900/40",children:e.jsx(P,{className:"h-5 w-5 text-red-600 dark:text-red-400"})})]}),e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-red-100 dark:bg-red-900/40",children:e.jsx("div",{className:"h-full rounded-full bg-red-500 transition-all",style:{width:`${n>0?_/n*100:0}%`}})})})]})]})]}),e.jsxs(g,{className:"border-0 shadow-sm ring-1 ring-gray-200 dark:ring-gray-800",children:[e.jsx(X,{className:"bg-gray-50/50 pb-3 dark:bg-gray-800/50",children:e.jsx(Y,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:r("Asset Depreciation Details")})}),e.jsxs(x,{className:"p-0",children:[e.jsx("div",{className:"overflow-hidden",children:e.jsx(te,{columns:J,actions:[],data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:()=>{},sortField:i.sort_field,sortDirection:i.sort_direction,onSort:$,permissions:[],showActions:!1})}),e.jsx("div",{className:"print:hidden",children:e.jsx(ee,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:r("assets"),onPageChange:U})})]})]})]})}export{Ut as default}; diff --git a/public/build/assets/dollar-sign-DYXFWWsE.js b/public/build/assets/dollar-sign-DH2Tc178.js similarity index 89% rename from public/build/assets/dollar-sign-DYXFWWsE.js rename to public/build/assets/dollar-sign-DH2Tc178.js index 6e19c3919..1ba74043b 100644 --- a/public/build/assets/dollar-sign-DYXFWWsE.js +++ b/public/build/assets/dollar-sign-DH2Tc178.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/download-Bk1k2_dW.js b/public/build/assets/download-BBNmalxc.js similarity index 90% rename from public/build/assets/download-Bk1k2_dW.js rename to public/build/assets/download-BBNmalxc.js index 04189cc0f..cdb9d146a 100644 --- a/public/build/assets/download-Bk1k2_dW.js +++ b/public/build/assets/download-BBNmalxc.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/edit-Dfqzkhqt.js b/public/build/assets/edit-C7rfSCHC.js similarity index 80% rename from public/build/assets/edit-Dfqzkhqt.js rename to public/build/assets/edit-C7rfSCHC.js index da8459629..f32906447 100644 --- a/public/build/assets/edit-Dfqzkhqt.js +++ b/public/build/assets/edit-C7rfSCHC.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as w}from"./page-template-BTxLyiDA.js";import{u as D,c as I,b as V,C as m,m as p,n as x,l as h,L as o,I as b,o as C,r as g,t as l}from"./app-CfhhiFAk.js";import{T as y}from"./textarea-kpRjGGLz.js";import{S as N,a as T,b as k,c as E,d as u}from"./select-BrY9osYp.js";import{C as P}from"./checkbox-1_Cig_g5.js";import{A as U}from"./arrow-left-B_Yqvwsn.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ye(){var v;const{t}=D(),{contractTemplate:s,contractTypes:d,globalSettings:i}=I().props,{data:n,setData:c,put:S,processing:j,errors:a,clearErrors:q}=V({name:s.name||"",description:s.description||"",contract_type_id:((v=s.contract_type_id)==null?void 0:v.toString())||"",template_content:s.template_content||"",variables:Array.isArray(s.variables)?s.variables.join(", "):s.variables||"",clauses:Array.isArray(s.clauses)?s.clauses.join(", "):s.clauses||"",is_default:s.is_default||!1,status:s.status||"active"}),F=r=>{r.preventDefault(),q(),i!=null&&i.is_demo||l.loading(t("Updating contract template...")),S(route("hr.contracts.contract-templates.update",s.id),{onSuccess:f=>{var _;i!=null&&i.is_demo||l.dismiss(),(_=f.props.flash)!=null&&_.success&&l.success(t(f.props.flash.success))},onError:()=>{i!=null&&i.is_demo||l.dismiss(),l.error(t("Please fix the errors below"))}})},A=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-templates.index")},{title:t("Contract Templates"),href:route("hr.contracts.contract-templates.index")},{title:t("Edit")}];return e.jsx(w,{title:t("Edit Contract Template"),breadcrumbs:A,actions:[{label:t("Back"),icon:e.jsx(U,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>g.get(route("hr.contracts.contract-templates.index"))}],children:e.jsxs("form",{onSubmit:F,className:"space-y-6",children:[e.jsxs(m,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(b,{id:"name",value:n.name,onChange:r=>c("name",r.target.value),placeholder:t("Enter template name"),required:!0,className:a.name?"border-red-500":""}),a.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"contract_type_id",required:!0,children:t("Contract Type")}),e.jsxs(N,{value:n.contract_type_id,onValueChange:r=>c("contract_type_id",r),children:[e.jsx(T,{className:a.contract_type_id?"border-red-500":"",children:e.jsx(k,{placeholder:t("Select Contract Type")})}),e.jsx(E,{searchable:!0,children:d==null?void 0:d.map(r=>e.jsx(u,{value:r.id.toString(),children:r.name},r.id))})]}),a.contract_type_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.contract_type_id})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(N,{value:n.status,onValueChange:r=>c("status",r),children:[e.jsx(T,{className:a.status?"border-red-500":"",children:e.jsx(k,{})}),e.jsxs(E,{children:[e.jsx(u,{value:"active",children:t("Active")}),e.jsx(u,{value:"inactive",children:t("Inactive")})]})]}),a.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.status})]})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"description",children:t("Description")}),e.jsx(y,{id:"description",value:n.description,onChange:r=>c("description",r.target.value),placeholder:t("Enter description"),rows:2,className:a.description?"border-red-500":""}),a.description&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.description})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{id:"is_default",checked:n.is_default,onCheckedChange:r=>c("is_default",r)}),e.jsx(o,{htmlFor:"is_default",children:t("Set as Default for Contract Type")})]})]})]}),e.jsxs(m,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(h,{children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{variable_name}} for dynamic content")}),e.jsx(y,{id:"template_content",value:n.template_content,onChange:r=>c("template_content",r.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${a.template_content?"border-red-500":""}`}),a.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.template_content})]})})]}),e.jsxs(m,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Variables")})}),e.jsx(h,{children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"variables",required:!0,children:t("Variables")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of variable names (without {{}})")}),e.jsx(b,{id:"variables",value:n.variables,onChange:r=>c("variables",r.target.value),placeholder:"employee_name, company_name, start_date",required:!0,className:a.variables?"border-red-500":""}),a.variables&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.variables})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(C,{type:"button",variant:"outline",onClick:()=>g.get(route("hr.contracts.contract-templates.index")),children:t("Cancel")}),e.jsx(C,{type:"submit",disabled:j,children:t(j?"Updating...":"Update Template")})]})]})})}export{ye as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as w}from"./page-template-CLNVC8w_.js";import{u as D,c as I,b as V,C as m,m as p,n as x,l as h,L as o,I as b,o as C,r as g,t as l}from"./app-Dya84jp7.js";import{T as y}from"./textarea-yeg8ONhy.js";import{S as N,a as T,b as k,c as E,d as u}from"./select-CHkpLxhL.js";import{C as P}from"./checkbox-BLrehV38.js";import{A as U}from"./arrow-left-BUNj5JJK.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ye(){var v;const{t}=D(),{contractTemplate:s,contractTypes:d,globalSettings:i}=I().props,{data:n,setData:c,put:S,processing:j,errors:a,clearErrors:q}=V({name:s.name||"",description:s.description||"",contract_type_id:((v=s.contract_type_id)==null?void 0:v.toString())||"",template_content:s.template_content||"",variables:Array.isArray(s.variables)?s.variables.join(", "):s.variables||"",clauses:Array.isArray(s.clauses)?s.clauses.join(", "):s.clauses||"",is_default:s.is_default||!1,status:s.status||"active"}),F=r=>{r.preventDefault(),q(),i!=null&&i.is_demo||l.loading(t("Updating contract template...")),S(route("hr.contracts.contract-templates.update",s.id),{onSuccess:f=>{var _;i!=null&&i.is_demo||l.dismiss(),(_=f.props.flash)!=null&&_.success&&l.success(t(f.props.flash.success))},onError:()=>{i!=null&&i.is_demo||l.dismiss(),l.error(t("Please fix the errors below"))}})},A=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-templates.index")},{title:t("Contract Templates"),href:route("hr.contracts.contract-templates.index")},{title:t("Edit")}];return e.jsx(w,{title:t("Edit Contract Template"),breadcrumbs:A,actions:[{label:t("Back"),icon:e.jsx(U,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>g.get(route("hr.contracts.contract-templates.index"))}],children:e.jsxs("form",{onSubmit:F,className:"space-y-6",children:[e.jsxs(m,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(b,{id:"name",value:n.name,onChange:r=>c("name",r.target.value),placeholder:t("Enter template name"),required:!0,className:a.name?"border-red-500":""}),a.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"contract_type_id",required:!0,children:t("Contract Type")}),e.jsxs(N,{value:n.contract_type_id,onValueChange:r=>c("contract_type_id",r),children:[e.jsx(T,{className:a.contract_type_id?"border-red-500":"",children:e.jsx(k,{placeholder:t("Select Contract Type")})}),e.jsx(E,{searchable:!0,children:d==null?void 0:d.map(r=>e.jsx(u,{value:r.id.toString(),children:r.name},r.id))})]}),a.contract_type_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.contract_type_id})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(N,{value:n.status,onValueChange:r=>c("status",r),children:[e.jsx(T,{className:a.status?"border-red-500":"",children:e.jsx(k,{})}),e.jsxs(E,{children:[e.jsx(u,{value:"active",children:t("Active")}),e.jsx(u,{value:"inactive",children:t("Inactive")})]})]}),a.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.status})]})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"description",children:t("Description")}),e.jsx(y,{id:"description",value:n.description,onChange:r=>c("description",r.target.value),placeholder:t("Enter description"),rows:2,className:a.description?"border-red-500":""}),a.description&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.description})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{id:"is_default",checked:n.is_default,onCheckedChange:r=>c("is_default",r)}),e.jsx(o,{htmlFor:"is_default",children:t("Set as Default for Contract Type")})]})]})]}),e.jsxs(m,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(h,{children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{variable_name}} for dynamic content")}),e.jsx(y,{id:"template_content",value:n.template_content,onChange:r=>c("template_content",r.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${a.template_content?"border-red-500":""}`}),a.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.template_content})]})})]}),e.jsxs(m,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Variables")})}),e.jsx(h,{children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"variables",required:!0,children:t("Variables")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of variable names (without {{}})")}),e.jsx(b,{id:"variables",value:n.variables,onChange:r=>c("variables",r.target.value),placeholder:"employee_name, company_name, start_date",required:!0,className:a.variables?"border-red-500":""}),a.variables&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:a.variables})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(C,{type:"button",variant:"outline",onClick:()=>g.get(route("hr.contracts.contract-templates.index")),children:t("Cancel")}),e.jsx(C,{type:"submit",disabled:j,children:t(j?"Updating...":"Update Template")})]})]})})}export{ye as default}; diff --git a/public/build/assets/edit-YozH1frd.js b/public/build/assets/edit-CEWakfnw.js similarity index 79% rename from public/build/assets/edit-YozH1frd.js rename to public/build/assets/edit-CEWakfnw.js index d9ce2ec0a..47d3a0269 100644 --- a/public/build/assets/edit-YozH1frd.js +++ b/public/build/assets/edit-CEWakfnw.js @@ -1 +1 @@ -import{r as f,j as e}from"./ui-Z445SNHD.js";import{u as j,c as v,C as N,m as _,n as b,z as C,l as y,L as l,I as p,o as x,r as h,t as m}from"./app-CfhhiFAk.js";import{T as P}from"./textarea-kpRjGGLz.js";import{R as T}from"./rich-text-editor-6rkrWVFe.js";import{S as w}from"./switch-CKduD2wX.js";import{P as E}from"./page-template-BTxLyiDA.js";import{T as F}from"./toaster-Bc5RPjCT.js";import{A as L}from"./arrow-left-B_Yqvwsn.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./unlink-BUU37FwK.js";import"./list-D0MAUZMV.js";import"./quote-CVpLTvYv.js";import"./link-Bv_VEBSZ.js";import"./code-BfjQUpEO.js";import"./index-9MclThM-.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";function be(){const{t}=j(),{page:i,globalSettings:o}=v().props,[s,n]=f.useState({title:i.title,content:i.content,meta_title:i.meta_title||"",meta_description:i.meta_description||"",is_active:i.is_active,sort_order:i.sort_order||0}),u=r=>{r.preventDefault(),o!=null&&o.is_demo||m.loading(t("Updating page...")),h.put(route("landing-page.custom-pages.update",i.id),s,{onSuccess:a=>{var c,d;o!=null&&o.is_demo||m.dismiss(),(c=a.props.flash)!=null&&c.success?m.success(t(a.props.flash.success)):(d=a.props.flash)!=null&&d.error&&m.error(t(a.props.flash.error))},onError:a=>{o!=null&&o.is_demo||m.dismiss(),typeof a=="object"&&a!==null?Object.values(a).flat().forEach(d=>{m.error(t(d))}):typeof a=="string"?m.error(t(a)):m.error(t("Failed to update page"))}})},g=()=>{h.get(route("landing-page.custom-pages.index"))};return e.jsxs(E,{title:t("Edit Custom Page"),url:`/custom-pages/${i.id}/edit`,breadcrumbs:[{title:t("Dashboard"),href:route("dashboard")},{title:t("Landing Page"),href:route("landing-page")},{title:t("Custom Pages"),href:route("landing-page.custom-pages.index")},{title:t("Edit")}],actions:[{label:t("Back"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>h.get(route("landing-page.custom-pages.index"))}],children:[e.jsxs(N,{children:[e.jsxs(_,{children:[e.jsx(b,{className:"text-lg",children:t("Page Information")}),e.jsx(C,{children:t("Update your custom page content and settings")})]}),e.jsx(y,{children:e.jsxs("form",{onSubmit:u,className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"title",className:"text-sm font-medium",children:[t("Page Title")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(p,{id:"title",value:s.title,onChange:r=>n({...s,title:r.target.value}),placeholder:t("e.g., About Us, Privacy Policy"),required:!0,className:"w-full"}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Current slug"),": ",e.jsxs("span",{className:"font-mono",children:["/page/",i.slug]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"content",className:"text-sm font-medium",children:[t("Content")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("div",{className:"min-h-[300px]",children:e.jsx(T,{content:s.content,onChange:r=>n({...s,content:r}),placeholder:t("Write your page content here...")})}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Use the editor toolbar to format your content with headings, lists, links, and more")})]}),e.jsxs("div",{className:"space-y-4 pt-4 border-t",children:[e.jsx("h3",{className:"text-sm font-semibold",children:t("SEO Settings")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"meta_title",className:"text-sm font-medium",children:t("Meta Title")}),e.jsx(p,{id:"meta_title",value:s.meta_title,onChange:r=>n({...s,meta_title:r.target.value}),placeholder:t("SEO optimized title"),maxLength:60}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Recommended: 50-60 characters")," (",s.meta_title.length,"/60)"]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"sort_order",className:"text-sm font-medium",children:t("Sort Order")}),e.jsx(p,{id:"sort_order",type:"number",value:s.sort_order,onChange:r=>n({...s,sort_order:parseInt(r.target.value)||0}),placeholder:"0",min:"0"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Lower numbers appear first in navigation")})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"meta_description",className:"text-sm font-medium",children:t("Meta Description")}),e.jsx(P,{id:"meta_description",value:s.meta_description,onChange:r=>n({...s,meta_description:r.target.value}),placeholder:t("Brief description for search engines"),rows:3,maxLength:160}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Recommended: 150-160 characters")," (",s.meta_description.length,"/160)"]})]})]}),e.jsxs("div",{className:"space-y-4 pt-4 border-t",children:[e.jsx("h3",{className:"text-sm font-semibold",children:t("Publish Settings")}),e.jsxs("div",{className:"flex items-start space-x-3 p-4 bg-muted/50 rounded-lg",children:[e.jsx(w,{id:"is_active",checked:s.is_active,onCheckedChange:r=>n({...s,is_active:r})}),e.jsxs("div",{className:"flex-1",children:[e.jsx(l,{htmlFor:"is_active",className:"text-sm font-medium cursor-pointer",children:t("Publish Page")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s.is_active?t("This page will be visible to the public immediately"):t("This page will be saved as a draft and hidden from public view")})]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-3 pt-4 border-t",children:[e.jsx(x,{type:"button",variant:"outline",onClick:g,children:t("Cancel")}),e.jsx(x,{type:"submit",children:t("Update Page")})]})]})})]}),e.jsx(F,{})]})}export{be as default}; +import{r as f,j as e}from"./ui-Z445SNHD.js";import{u as j,c as v,C as N,m as _,n as b,z as C,l as y,L as l,I as p,o as x,r as h,t as m}from"./app-Dya84jp7.js";import{T as P}from"./textarea-yeg8ONhy.js";import{R as T}from"./rich-text-editor-uObNYFW4.js";import{S as w}from"./switch-DyHgm-Sg.js";import{P as E}from"./page-template-CLNVC8w_.js";import{T as F}from"./toaster-Bc5RPjCT.js";import{A as L}from"./arrow-left-BUNj5JJK.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./unlink-BLQWL2NW.js";import"./list-C_2fG_BT.js";import"./quote-BmDTOIsR.js";import"./link-DXJwkkHX.js";import"./code-znlKMFkF.js";import"./index-9MclThM-.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";function be(){const{t}=j(),{page:i,globalSettings:o}=v().props,[s,n]=f.useState({title:i.title,content:i.content,meta_title:i.meta_title||"",meta_description:i.meta_description||"",is_active:i.is_active,sort_order:i.sort_order||0}),u=r=>{r.preventDefault(),o!=null&&o.is_demo||m.loading(t("Updating page...")),h.put(route("landing-page.custom-pages.update",i.id),s,{onSuccess:a=>{var c,d;o!=null&&o.is_demo||m.dismiss(),(c=a.props.flash)!=null&&c.success?m.success(t(a.props.flash.success)):(d=a.props.flash)!=null&&d.error&&m.error(t(a.props.flash.error))},onError:a=>{o!=null&&o.is_demo||m.dismiss(),typeof a=="object"&&a!==null?Object.values(a).flat().forEach(d=>{m.error(t(d))}):typeof a=="string"?m.error(t(a)):m.error(t("Failed to update page"))}})},g=()=>{h.get(route("landing-page.custom-pages.index"))};return e.jsxs(E,{title:t("Edit Custom Page"),url:`/custom-pages/${i.id}/edit`,breadcrumbs:[{title:t("Dashboard"),href:route("dashboard")},{title:t("Landing Page"),href:route("landing-page")},{title:t("Custom Pages"),href:route("landing-page.custom-pages.index")},{title:t("Edit")}],actions:[{label:t("Back"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>h.get(route("landing-page.custom-pages.index"))}],children:[e.jsxs(N,{children:[e.jsxs(_,{children:[e.jsx(b,{className:"text-lg",children:t("Page Information")}),e.jsx(C,{children:t("Update your custom page content and settings")})]}),e.jsx(y,{children:e.jsxs("form",{onSubmit:u,className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"title",className:"text-sm font-medium",children:[t("Page Title")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(p,{id:"title",value:s.title,onChange:r=>n({...s,title:r.target.value}),placeholder:t("e.g., About Us, Privacy Policy"),required:!0,className:"w-full"}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Current slug"),": ",e.jsxs("span",{className:"font-mono",children:["/page/",i.slug]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"content",className:"text-sm font-medium",children:[t("Content")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("div",{className:"min-h-[300px]",children:e.jsx(T,{content:s.content,onChange:r=>n({...s,content:r}),placeholder:t("Write your page content here...")})}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Use the editor toolbar to format your content with headings, lists, links, and more")})]}),e.jsxs("div",{className:"space-y-4 pt-4 border-t",children:[e.jsx("h3",{className:"text-sm font-semibold",children:t("SEO Settings")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"meta_title",className:"text-sm font-medium",children:t("Meta Title")}),e.jsx(p,{id:"meta_title",value:s.meta_title,onChange:r=>n({...s,meta_title:r.target.value}),placeholder:t("SEO optimized title"),maxLength:60}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Recommended: 50-60 characters")," (",s.meta_title.length,"/60)"]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"sort_order",className:"text-sm font-medium",children:t("Sort Order")}),e.jsx(p,{id:"sort_order",type:"number",value:s.sort_order,onChange:r=>n({...s,sort_order:parseInt(r.target.value)||0}),placeholder:"0",min:"0"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Lower numbers appear first in navigation")})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"meta_description",className:"text-sm font-medium",children:t("Meta Description")}),e.jsx(P,{id:"meta_description",value:s.meta_description,onChange:r=>n({...s,meta_description:r.target.value}),placeholder:t("Brief description for search engines"),rows:3,maxLength:160}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t("Recommended: 150-160 characters")," (",s.meta_description.length,"/160)"]})]})]}),e.jsxs("div",{className:"space-y-4 pt-4 border-t",children:[e.jsx("h3",{className:"text-sm font-semibold",children:t("Publish Settings")}),e.jsxs("div",{className:"flex items-start space-x-3 p-4 bg-muted/50 rounded-lg",children:[e.jsx(w,{id:"is_active",checked:s.is_active,onCheckedChange:r=>n({...s,is_active:r})}),e.jsxs("div",{className:"flex-1",children:[e.jsx(l,{htmlFor:"is_active",className:"text-sm font-medium cursor-pointer",children:t("Publish Page")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s.is_active?t("This page will be visible to the public immediately"):t("This page will be saved as a draft and hidden from public view")})]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-3 pt-4 border-t",children:[e.jsx(x,{type:"button",variant:"outline",onClick:g,children:t("Cancel")}),e.jsx(x,{type:"submit",children:t("Update Page")})]})]})})]}),e.jsx(F,{})]})}export{be as default}; diff --git a/public/build/assets/edit-DTz0GzMY.js b/public/build/assets/edit-CX7bkawy.js similarity index 95% rename from public/build/assets/edit-DTz0GzMY.js rename to public/build/assets/edit-CX7bkawy.js index 4ba8eef9a..f397b246c 100644 --- a/public/build/assets/edit-DTz0GzMY.js +++ b/public/build/assets/edit-CX7bkawy.js @@ -1 +1 @@ -import{r as u,j as e}from"./ui-Z445SNHD.js";import{P as Le}from"./page-template-BTxLyiDA.js";import{u as Me,c as Oe,C as N,m as w,n as k,l as v,L as c,I as m,g as Ue,o as C,P as ze,r as E,t as _}from"./app-CfhhiFAk.js";import{S as j,a as y,b as g,c as f,d as p}from"./select-BrY9osYp.js";import{R as Ge,a as B}from"./radio-group-CLGfOEmR.js";import{M as He}from"./multi-select-field-Dxyl0jtB.js";import{E as We}from"./eye--FVGKpVp.js";import{T as Ne}from"./trash-2-C1NR_7Ss.js";import{A as Je}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./circle-BoWbKVIN.js";function Vs(){var H,W,J,K,X,Y,Z,Q,ee,se,re,ae,te,ie,le,ne,de,ce,oe,me,he,xe,pe,_e,ue,je,ye,ge,fe,be;const{t:a}=Me(),{employee:n,branches:ve,departments:A,designations:R,documentTypes:Ce,shifts:P,attendancePolicies:Ke,csrf_token:V,roles:L,currentRoleId:M}=Oe().props,[l,I]=u.useState({name:n.name||"",employee_id:((H=n.employee)==null?void 0:H.employee_id)||"",biometric_emp_id:((W=n.employee)==null?void 0:W.biometric_emp_id)||"",email:n.email||"",password:"",phone:((J=n.employee)==null?void 0:J.phone)||"",date_of_birth:((K=n.employee)==null?void 0:K.date_of_birth)||"",gender:((X=n.employee)==null?void 0:X.gender)||"",branch_id:(Y=n.employee)!=null&&Y.branch_id?n.employee.branch_id.toString():"",department_id:(Z=n.employee)!=null&&Z.department_id?n.employee.department_id.toString():"",designation_id:(Q=n.employee)!=null&&Q.designation_id?n.employee.designation_id.toString():"",shift_id:(ee=n.employee)!=null&&ee.shift_id?n.employee.shift_id.toString():"",rest_days:((se=n.employee)==null?void 0:se.rest_days)||[],date_of_joining:((re=n.employee)==null?void 0:re.date_of_joining)||"",employment_type:((ae=n.employee)==null?void 0:ae.employment_type)||"Full-time",employee_status:((te=n.employee)==null?void 0:te.employee_status)||"active",address_line_1:((ie=n.employee)==null?void 0:ie.address_line_1)||"",address_line_2:((le=n.employee)==null?void 0:le.address_line_2)||"",city:((ne=n.employee)==null?void 0:ne.city)||"",state:((de=n.employee)==null?void 0:de.state)||"",country:((ce=n.employee)==null?void 0:ce.country)||"",postal_code:((oe=n.employee)==null?void 0:oe.postal_code)||"",emergency_contact_name:((me=n.employee)==null?void 0:me.emergency_contact_name)||"",emergency_contact_relationship:((he=n.employee)==null?void 0:he.emergency_contact_relationship)||"",emergency_contact_number:((xe=n.employee)==null?void 0:xe.emergency_contact_number)||"",bank_name:((pe=n.employee)==null?void 0:pe.bank_name)||"",account_holder_name:((_e=n.employee)==null?void 0:_e.account_holder_name)||"",account_number:((ue=n.employee)==null?void 0:ue.account_number)||"",bank_identifier_code:((je=n.employee)==null?void 0:je.bank_identifier_code)||"",bank_branch:((ye=n.employee)==null?void 0:ye.bank_branch)||"",tax_payer_id:((ge=n.employee)==null?void 0:ge.tax_payer_id)||"",salary:((fe=n.employee)==null?void 0:fe.base_salary)||"",role_id:M?String(M):"",documents:[]}),[r,S]=u.useState({}),[O,T]=u.useState(!1),[U,Se]=u.useState(null),[z,Fe]=u.useState(n.avatar?n.avatar:null),[D,we]=u.useState(((be=n.employee)==null?void 0:be.documents)||[]),[b,$]=u.useState([]),[ke,Ee]=u.useState(!1),[De,G]=u.useState(!1),Pe=ke&&l.branch_id?A.filter(s=>String(s.branch_id)===String(l.branch_id)):A,Ie=De&&l.department_id?R.filter(s=>String(s.department_id)===String(l.department_id)):R,o=(s,t)=>{I(i=>({...i,[s]:t})),r[s]&&S(i=>{const d={...i};return delete d[s],d}),s==="branch_id"&&(Ee(!0),G(!1),I(i=>({...i,branch_id:t,department_id:"",designation_id:""}))),s==="department_id"&&(G(!0),I(i=>({...i,department_id:t,designation_id:""})))},Te=s=>{if(s.target.files&&s.target.files[0]){const t=s.target.files[0];Se(t),Fe(URL.createObjectURL(t)),r.profile_image&&S(i=>{const d={...i};return delete d.profile_image,d})}},q=(s,t,i)=>{const d=[...b];d[s]={...d[s],[t]:i},$(d);const h=`new_documents.${s}.${t}`;r[h]&&S(x=>{const F={...x};return delete F[h],F})},$e=(s,t)=>{if(t.target.files&&t.target.files[0]){const i=t.target.files[0];q(s,"file",i)}},qe=()=>{$([...b,{document_type_id:"",file:null,expiry_date:""}])},Be=s=>{const t=[...b];t.splice(s,1),$(t);const i={...r};Object.keys(i).forEach(d=>{d.startsWith(`new_documents.${s}.`)&&delete i[d]}),S(i)},Ae=s=>{E.delete(route("hr.employees.documents.destroy",[n.id,s]),{preserveScroll:!0,preserveState:!0,onSuccess:t=>{_.dismiss(),t.props.flash.success?_.success(a(t.props.flash.success)):t.props.flash.error&&_.error(a(t.props.flash.error)),we(D.filter(i=>i.id!==s))},onError:t=>{_.dismiss(),typeof t=="string"?_.error(a(t)):_.error(a("Failed to delete document: {{errors}}",{errors:Object.values(t).join(", ")}))}})},Re=s=>{var i;s.preventDefault(),T(!0);const t=new FormData;if(V&&t.append("_token",V),t.append("_method","PUT"),Object.entries(l).forEach(([d,h])=>{d!=="documents"&&(Array.isArray(h)?h.forEach(x=>{t.append(`${d}[]`,x)}):h!=null&&h!==""&&t.append(d,h))}),U&&t.append("profile_image",U),b.forEach((d,h)=>{d.document_type_id&&t.append(`documents[${h}][document_type_id]`,d.document_type_id),d.file&&t.append(`documents[${h}][file]`,d.file),d.expiry_date&&t.append(`documents[${h}][expiry_date]`,d.expiry_date)}),!((i=n.employee)!=null&&i.id)){_.error(a("Employee data not found"));return}E.post(route("hr.employees.update",n.employee.id),t,{forceFormData:!0,preserveState:!0,onSuccess:d=>{var h,x;if(T(!1),(h=d.props.flash)!=null&&h.error){_.error(a(d.props.flash.error));return}(x=d.props.flash)!=null&&x.success&&_.success(a(d.props.flash.success)),E.get(route("hr.employees.index"))},onError:d=>{T(!1),S(d);const h=Object.values(d)[0];_.error(h?String(h):a("Please correct the errors in the form")),setTimeout(()=>{const x=document.querySelector(".text-red-500, .border-red-500");x&&(x.scrollIntoView({behavior:"smooth",block:"center"}),(x.tagName==="INPUT"||x.tagName==="TEXTAREA"||x.tagName==="SELECT")&&x.focus())},100)}})},Ve=[{title:a("Dashboard"),href:route("dashboard")},{title:a("HR Management"),href:route("hr.employees.index")},{title:a("Employees"),href:route("hr.employees.index")},{title:a("Edit Employee")}];return e.jsx(Le,{title:a("Edit Employee"),url:`/hr/employees/${n.id}/edit`,breadcrumbs:Ve,actions:[{label:a("Back"),icon:e.jsx(Je,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>E.get(route("hr.employees.index"))}],children:e.jsxs("form",{onSubmit:Re,className:"space-y-6",children:[e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Basic Information")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"name",required:!0,children:a("Full Name")}),e.jsx(m,{id:"name",value:l.name,onChange:s=>o("name",s.target.value),className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"employee_id",children:a("Employee ID")}),e.jsx(m,{id:"employee_id",value:l.employee_id,onChange:s=>o("employee_id",s.target.value),className:r.employee_id?"border-red-500":""}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("Auto-generated code. You may edit if needed.")}),r.employee_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employee_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"biometric_emp_id",children:a("Employee Code")}),e.jsx(m,{id:"biometric_emp_id",value:l.biometric_emp_id||"",onChange:s=>o("biometric_emp_id",s.target.value),placeholder:"",className:r.biometric_emp_id?"border-red-500":""}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("This ID will be used to map employee with biometric device.")}),r.biometric_emp_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.biometric_emp_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"email",required:!0,children:a("Email")}),e.jsx(m,{id:"email",type:"email",required:!0,value:l.email,onChange:s=>o("email",s.target.value),className:r.email?"border-red-500":""}),r.email&&e.jsx("p",{className:"text-red-500 text-xs",children:r.email})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"password",children:[a("Password")," ",e.jsx("span",{className:"text-sm text-muted-foreground",children:a("(Leave blank to keep current)")})]}),e.jsx(m,{id:"password",type:"password",value:l.password,onChange:s=>o("password",s.target.value),className:r.password?"border-red-500":""}),r.password&&e.jsx("p",{className:"text-red-500 text-xs",children:r.password})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"role_id",children:a("Role")}),e.jsxs(j,{value:l.role_id,onValueChange:s=>o("role_id",s),children:[e.jsx(y,{id:"role_id",className:r.role_id?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select role")})}),e.jsx(f,{children:L&&L.map(s=>e.jsx(p,{value:String(s.id),children:s.name.charAt(0).toUpperCase()+s.name.slice(1)},s.id))})]}),r.role_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.role_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"phone",required:!0,children:a("Phone Number")}),e.jsx(m,{id:"phone",required:!0,value:l.phone,onChange:s=>o("phone",s.target.value),className:r.phone?"border-red-500":""}),r.phone&&e.jsx("p",{className:"text-red-500 text-xs",children:r.phone})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"date_of_birth",required:!0,children:a("Date of Birth")}),e.jsx("div",{className:"cursor-pointer",onClick:s=>{var i;const t=s.currentTarget.querySelector("input");try{(i=t==null?void 0:t.showPicker)==null||i.call(t)}catch{t==null||t.focus()}},children:e.jsx(m,{id:"date_of_birth",type:"date",required:!0,value:l.date_of_birth,onChange:s=>o("date_of_birth",s.target.value),className:`cursor-pointer ${r.date_of_birth?"border-red-500":""}`})}),r.date_of_birth&&e.jsx("p",{className:"text-red-500 text-xs",children:r.date_of_birth})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{required:!0,children:a("Gender")}),e.jsxs(Ge,{value:l.gender,onValueChange:s=>o("gender",s),className:"flex space-x-4",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(B,{value:"male",id:"gender-male"}),e.jsx(c,{htmlFor:"gender-male",children:a("Male")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(B,{value:"female",id:"gender-female"}),e.jsx(c,{htmlFor:"gender-female",children:a("Female")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(B,{value:"other",id:"gender-other"}),e.jsx(c,{htmlFor:"gender-other",children:a("Other")})]})]}),r.gender&&e.jsx("p",{className:"text-red-500 text-xs",children:r.gender})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{children:a("Profile Image")}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 h-32",children:z?e.jsx("img",{src:z,alt:"Profile Image",className:"max-h-full max-w-full object-contain rounded-full"}):l.profile_image?e.jsx("img",{src:Ue(l.profile_image),alt:"Profile Image",className:"max-h-full max-w-full object-contain rounded-full"}):e.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[e.jsx("div",{className:"h-12 w-12 bg-muted flex items-center justify-center rounded-full border border-dashed",children:e.jsx("span",{className:"font-semibold text-xs text-muted-foreground",children:a("Image")})}),e.jsx("span",{className:"text-xs",children:a("No image selected")})]})}),e.jsx(m,{type:"file",accept:"image/*",onChange:Te,className:"cursor-pointer"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Max file size: 2MB")})]}),r.profile_image&&e.jsx("p",{className:"text-red-500 text-xs",children:r.profile_image})]})]})})]}),e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Employment Details")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"branch_id",required:!0,children:a("Branch")}),e.jsxs(j,{required:!0,value:l.branch_id,onValueChange:s=>o("branch_id",s),children:[e.jsx(y,{className:r.branch_id?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Branch")})}),e.jsx(f,{searchable:!0,children:ve.map(s=>e.jsx(p,{value:s.id.toString(),children:s.name},s.id))})]}),r.branch_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.branch_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"department_id",required:!0,children:a("Department")}),e.jsxs(j,{required:!0,value:l.department_id,onValueChange:s=>o("department_id",s),disabled:!l.branch_id,children:[e.jsx(y,{className:r.department_id?"border-red-500":"",children:e.jsx(g,{placeholder:l.branch_id?a("Select Department"):a("Select Branch First")})}),e.jsx(f,{searchable:!0,children:Pe.map(s=>e.jsx(p,{value:s.id.toString(),children:s.name},s.id))})]}),r.department_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.department_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"designation_id",required:!0,children:a("Designation")}),e.jsxs(j,{required:!0,value:l.designation_id,onValueChange:s=>o("designation_id",s),disabled:!l.department_id,children:[e.jsx(y,{className:r.designation_id?"border-red-500":"",children:e.jsx(g,{placeholder:l.department_id?a("Select Designation"):a("Select Department First")})}),e.jsx(f,{searchable:!0,children:Ie.map(s=>e.jsx(p,{value:s.id.toString(),children:s.name},s.id))})]}),r.designation_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.designation_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"date_of_joining",children:a("Date of Joining")}),e.jsx("div",{className:"cursor-pointer",onClick:s=>{var i;const t=s.currentTarget.querySelector("input");try{(i=t==null?void 0:t.showPicker)==null||i.call(t)}catch{t==null||t.focus()}},children:e.jsx(m,{id:"date_of_joining",type:"date",value:l.date_of_joining,onChange:s=>o("date_of_joining",s.target.value),className:`cursor-pointer ${r.date_of_joining?"border-red-500":""}`})}),r.date_of_joining&&e.jsx("p",{className:"text-red-500 text-xs",children:r.date_of_joining})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"employment_type",children:a("Employment Type")}),e.jsxs(j,{value:l.employment_type,onValueChange:s=>o("employment_type",s),children:[e.jsx(y,{className:r.employment_type?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Employment Type")})}),e.jsxs(f,{children:[e.jsx(p,{value:"Full-time",children:a("Full-time")}),e.jsx(p,{value:"Part-time",children:a("Part-time")}),e.jsx(p,{value:"Contract",children:a("Contract")}),e.jsx(p,{value:"Internship",children:a("Internship")}),e.jsx(p,{value:"Temporary",children:a("Temporary")})]})]}),r.employment_type&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employment_type})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"employee_status",children:a("Employee Status")}),e.jsxs(j,{value:l.employee_status,onValueChange:s=>o("employee_status",s),children:[e.jsx(y,{className:r.employee_status?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Employee Status")})}),e.jsxs(f,{children:[e.jsx(p,{value:"active",children:a("Active")}),e.jsx(p,{value:"inactive",children:a("Inactive")}),e.jsx(p,{value:"probation",children:a("Probation")}),e.jsx(p,{value:"terminated",children:a("Terminated")})]})]}),r.employee_status&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employee_status})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"shift_id",children:a("Shift")}),e.jsxs(j,{value:l.shift_id,onValueChange:s=>o("shift_id",s),children:[e.jsx(y,{className:r.shift_id?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Shift (Optional)")})}),e.jsx(f,{searchable:!0,children:P==null?void 0:P.map(s=>e.jsxs(p,{value:s.id.toString(),children:[s.name," (",s.start_time," - ",s.end_time,")"]},s.id))})]}),r.shift_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.shift_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"rest_days",children:a("Rest Days")}),e.jsx(He,{field:{name:"rest_days",label:a("Rest Days"),options:[{value:"monday",label:a("Monday")},{value:"tuesday",label:a("Tuesday")},{value:"wednesday",label:a("Wednesday")},{value:"thursday",label:a("Thursday")},{value:"friday",label:a("Friday")},{value:"saturday",label:a("Saturday")},{value:"sunday",label:a("Sunday")}]},formData:l,handleChange:o}),r.rest_days&&e.jsx("p",{className:"text-red-500 text-xs",children:r.rest_days})]})]})})]}),e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Contact Information")})}),e.jsxs(v,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"address_line_1",children:a("Address Line 1")}),e.jsx(m,{id:"address_line_1",value:l.address_line_1,onChange:s=>o("address_line_1",s.target.value),className:r.address_line_1?"border-red-500":""}),r.address_line_1&&e.jsx("p",{className:"text-red-500 text-xs",children:r.address_line_1})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"address_line_2",children:a("Address Line 2")}),e.jsx(m,{id:"address_line_2",value:l.address_line_2,onChange:s=>o("address_line_2",s.target.value),className:r.address_line_2?"border-red-500":""}),r.address_line_2&&e.jsx("p",{className:"text-red-500 text-xs",children:r.address_line_2})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"city",children:a("City")}),e.jsx(m,{id:"city",value:l.city,onChange:s=>o("city",s.target.value),className:r.city?"border-red-500":""}),r.city&&e.jsx("p",{className:"text-red-500 text-xs",children:r.city})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"state",children:a("State/Province")}),e.jsx(m,{id:"state",value:l.state,onChange:s=>o("state",s.target.value),className:r.state?"border-red-500":""}),r.state&&e.jsx("p",{className:"text-red-500 text-xs",children:r.state})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"country",children:a("Country")}),e.jsx(m,{id:"country",value:l.country,onChange:s=>o("country",s.target.value),className:r.country?"border-red-500":""}),r.country&&e.jsx("p",{className:"text-red-500 text-xs",children:r.country})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"postal_code",children:a("Postal/Zip Code")}),e.jsx(m,{id:"postal_code",value:l.postal_code,onChange:s=>o("postal_code",s.target.value),className:r.postal_code?"border-red-500":""}),r.postal_code&&e.jsx("p",{className:"text-red-500 text-xs",children:r.postal_code})]})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:a("Emergency Contact")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"emergency_contact_name",children:a("Name")}),e.jsx(m,{id:"emergency_contact_name",value:l.emergency_contact_name,onChange:s=>o("emergency_contact_name",s.target.value),className:r.emergency_contact_name?"border-red-500":""}),r.emergency_contact_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"emergency_contact_relationship",children:a("Relationship")}),e.jsx(m,{id:"emergency_contact_relationship",value:l.emergency_contact_relationship,onChange:s=>o("emergency_contact_relationship",s.target.value),className:r.emergency_contact_relationship?"border-red-500":""}),r.emergency_contact_relationship&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_relationship})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"emergency_contact_number",children:a("Phone Number")}),e.jsx(m,{id:"emergency_contact_number",value:l.emergency_contact_number,onChange:s=>o("emergency_contact_number",s.target.value),className:r.emergency_contact_number?"border-red-500":""}),r.emergency_contact_number&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_number})]})]})]})]})]}),e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Banking Information")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"bank_name",children:a("Bank Name")}),e.jsx(m,{id:"bank_name",value:l.bank_name,onChange:s=>o("bank_name",s.target.value),className:r.bank_name?"border-red-500":""}),r.bank_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"account_holder_name",children:a("Account Holder Name")}),e.jsx(m,{id:"account_holder_name",value:l.account_holder_name,onChange:s=>o("account_holder_name",s.target.value),className:r.account_holder_name?"border-red-500":""}),r.account_holder_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.account_holder_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"account_number",children:a("Account Number")}),e.jsx(m,{id:"account_number",value:l.account_number,onChange:s=>o("account_number",s.target.value),className:r.account_number?"border-red-500":""}),r.account_number&&e.jsx("p",{className:"text-red-500 text-xs",children:r.account_number})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"bank_identifier_code",children:a("Bank Identifier Code (BIC/SWIFT)")}),e.jsx(m,{id:"bank_identifier_code",value:l.bank_identifier_code,onChange:s=>o("bank_identifier_code",s.target.value),className:r.bank_identifier_code?"border-red-500":""}),r.bank_identifier_code&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_identifier_code})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"bank_branch",children:a("Bank Branch")}),e.jsx(m,{id:"bank_branch",value:l.bank_branch,onChange:s=>o("bank_branch",s.target.value),className:r.bank_branch?"border-red-500":""}),r.bank_branch&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_branch})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"tax_payer_id",children:a("Tax Payer ID")}),e.jsx(m,{id:"tax_payer_id",value:l.tax_payer_id,onChange:s=>o("tax_payer_id",s.target.value),className:r.tax_payer_id?"border-red-500":""}),r.tax_payer_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.tax_payer_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"salary",required:!0,children:a("Base Salary")}),e.jsx(m,{id:"salary",required:!0,type:"number",step:"0.01",value:l.salary,onChange:s=>o("salary",s.target.value),className:r.salary?"border-red-500":""}),r.salary&&e.jsx("p",{className:"text-red-500 text-xs",children:r.salary})]})]})})]}),e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Documents")})}),e.jsxs(v,{className:"space-y-4",children:[D.length>0&&e.jsxs("div",{className:"mb-6",children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:a("Existing Documents")}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:D.map(s=>{var t;return e.jsx(N,{className:"border",children:e.jsx(v,{className:"p-4",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsx("div",{className:"flex items-center",children:e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium",children:(t=s.document_type)==null?void 0:t.name}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s.expiry_date?`${a("Expires")}: ${new Date(s.expiry_date).toLocaleDateString()}`:a("No expiry date")}),e.jsx("div",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium mt-2 ${s.verification_status==="verified"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":s.verification_status==="rejected"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20"}`,children:s.verification_status==="verified"?a("Verified"):s.verification_status==="rejected"?a("Rejected"):a("Pending")})]})}),e.jsxs("div",{className:"flex space-x-2",children:[e.jsx(C,{type:"button",variant:"outline",size:"sm",onClick:()=>window.open(s.document_url||s.file_path,"_blank"),children:e.jsx(We,{className:"h-4 w-4"})}),e.jsx(C,{type:"button",variant:"outline",size:"sm",onClick:()=>Ae(s.id),children:e.jsx(Ne,{className:"h-4 w-4 text-red-500"})})]})]})})},s.id)})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:a("Add New Documents")}),b.map((s,t)=>e.jsxs("div",{className:"border rounded-md p-4 space-y-4 mb-4",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("h3",{className:"text-lg font-medium",children:[a("Document")," #",t+1]}),e.jsx(C,{type:"button",variant:"ghost",size:"sm",onClick:()=>Be(t),children:e.jsx(Ne,{className:"h-4 w-4 text-red-500"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:`document_type_${t}`,children:[a("Document Type")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(j,{value:s.document_type_id,onValueChange:i=>q(t,"document_type_id",i),children:[e.jsx(y,{className:r[`documents.${t}.document_type_id`]?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Document Type")})}),e.jsx(f,{children:Ce.filter(i=>{if(i.id.toString()===s.document_type_id)return!0;const d=D.some(x=>{var F;return((F=x.document_type_id)==null?void 0:F.toString())===i.id.toString()}),h=b.some(x=>x.document_type_id===i.id.toString());return!d&&!h}).map(i=>e.jsxs(p,{value:i.id.toString(),children:[i.name," ",i.is_required&&e.jsx("span",{className:"text-red-500",children:"*"})]},i.id))})]}),r[`documents.${t}.document_type_id`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.document_type_id`]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{children:[a("File")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx(m,{type:"file",onChange:i=>$e(t,i),className:r[`documents.${t}.file`]?"border-red-500":""}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Max file size: 5MB")})]}),r[`documents.${t}.file`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.file`]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:`document_expiry_${t}`,children:a("Expiry Date")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var h;const d=i.currentTarget.querySelector("input");try{(h=d==null?void 0:d.showPicker)==null||h.call(d)}catch{d==null||d.focus()}},children:e.jsx(m,{id:`document_expiry_${t}`,type:"date",value:s.expiry_date,onChange:i=>q(t,"expiry_date",i.target.value),className:`cursor-pointer ${r[`documents.${t}.expiry_date`]?"border-red-500":""}`})}),r[`documents.${t}.expiry_date`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.expiry_date`]})]})]})]},t)),e.jsxs(C,{type:"button",variant:"outline",onClick:qe,className:"mt-4",children:[e.jsx(ze,{className:"h-4 w-4 mr-2"}),a("Add Document")]})]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-4",children:[e.jsx(C,{type:"button",variant:"outline",onClick:()=>E.get(route("hr.employees.index")),children:a("Cancel")}),e.jsx(C,{type:"submit",disabled:O,children:a(O?"Saving...":"Update Employee")})]})]})})}export{Vs as default}; +import{r as u,j as e}from"./ui-Z445SNHD.js";import{P as Le}from"./page-template-CLNVC8w_.js";import{u as Me,c as Oe,C as N,m as w,n as k,l as v,L as c,I as m,g as Ue,o as C,P as ze,r as E,t as _}from"./app-Dya84jp7.js";import{S as j,a as y,b as g,c as f,d as p}from"./select-CHkpLxhL.js";import{R as Ge,a as B}from"./radio-group-BMzEN82K.js";import{M as He}from"./multi-select-field-CO_GzZgi.js";import{E as We}from"./eye-CCNnMtu4.js";import{T as Ne}from"./trash-2-BeirBLIk.js";import{A as Je}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./circle-C2Wo_gI7.js";function Vs(){var H,W,J,K,X,Y,Z,Q,ee,se,re,ae,te,ie,le,ne,de,ce,oe,me,he,xe,pe,_e,ue,je,ye,ge,fe,be;const{t:a}=Me(),{employee:n,branches:ve,departments:A,designations:R,documentTypes:Ce,shifts:P,attendancePolicies:Ke,csrf_token:V,roles:L,currentRoleId:M}=Oe().props,[l,I]=u.useState({name:n.name||"",employee_id:((H=n.employee)==null?void 0:H.employee_id)||"",biometric_emp_id:((W=n.employee)==null?void 0:W.biometric_emp_id)||"",email:n.email||"",password:"",phone:((J=n.employee)==null?void 0:J.phone)||"",date_of_birth:((K=n.employee)==null?void 0:K.date_of_birth)||"",gender:((X=n.employee)==null?void 0:X.gender)||"",branch_id:(Y=n.employee)!=null&&Y.branch_id?n.employee.branch_id.toString():"",department_id:(Z=n.employee)!=null&&Z.department_id?n.employee.department_id.toString():"",designation_id:(Q=n.employee)!=null&&Q.designation_id?n.employee.designation_id.toString():"",shift_id:(ee=n.employee)!=null&&ee.shift_id?n.employee.shift_id.toString():"",rest_days:((se=n.employee)==null?void 0:se.rest_days)||[],date_of_joining:((re=n.employee)==null?void 0:re.date_of_joining)||"",employment_type:((ae=n.employee)==null?void 0:ae.employment_type)||"Full-time",employee_status:((te=n.employee)==null?void 0:te.employee_status)||"active",address_line_1:((ie=n.employee)==null?void 0:ie.address_line_1)||"",address_line_2:((le=n.employee)==null?void 0:le.address_line_2)||"",city:((ne=n.employee)==null?void 0:ne.city)||"",state:((de=n.employee)==null?void 0:de.state)||"",country:((ce=n.employee)==null?void 0:ce.country)||"",postal_code:((oe=n.employee)==null?void 0:oe.postal_code)||"",emergency_contact_name:((me=n.employee)==null?void 0:me.emergency_contact_name)||"",emergency_contact_relationship:((he=n.employee)==null?void 0:he.emergency_contact_relationship)||"",emergency_contact_number:((xe=n.employee)==null?void 0:xe.emergency_contact_number)||"",bank_name:((pe=n.employee)==null?void 0:pe.bank_name)||"",account_holder_name:((_e=n.employee)==null?void 0:_e.account_holder_name)||"",account_number:((ue=n.employee)==null?void 0:ue.account_number)||"",bank_identifier_code:((je=n.employee)==null?void 0:je.bank_identifier_code)||"",bank_branch:((ye=n.employee)==null?void 0:ye.bank_branch)||"",tax_payer_id:((ge=n.employee)==null?void 0:ge.tax_payer_id)||"",salary:((fe=n.employee)==null?void 0:fe.base_salary)||"",role_id:M?String(M):"",documents:[]}),[r,S]=u.useState({}),[O,T]=u.useState(!1),[U,Se]=u.useState(null),[z,Fe]=u.useState(n.avatar?n.avatar:null),[D,we]=u.useState(((be=n.employee)==null?void 0:be.documents)||[]),[b,$]=u.useState([]),[ke,Ee]=u.useState(!1),[De,G]=u.useState(!1),Pe=ke&&l.branch_id?A.filter(s=>String(s.branch_id)===String(l.branch_id)):A,Ie=De&&l.department_id?R.filter(s=>String(s.department_id)===String(l.department_id)):R,o=(s,t)=>{I(i=>({...i,[s]:t})),r[s]&&S(i=>{const d={...i};return delete d[s],d}),s==="branch_id"&&(Ee(!0),G(!1),I(i=>({...i,branch_id:t,department_id:"",designation_id:""}))),s==="department_id"&&(G(!0),I(i=>({...i,department_id:t,designation_id:""})))},Te=s=>{if(s.target.files&&s.target.files[0]){const t=s.target.files[0];Se(t),Fe(URL.createObjectURL(t)),r.profile_image&&S(i=>{const d={...i};return delete d.profile_image,d})}},q=(s,t,i)=>{const d=[...b];d[s]={...d[s],[t]:i},$(d);const h=`new_documents.${s}.${t}`;r[h]&&S(x=>{const F={...x};return delete F[h],F})},$e=(s,t)=>{if(t.target.files&&t.target.files[0]){const i=t.target.files[0];q(s,"file",i)}},qe=()=>{$([...b,{document_type_id:"",file:null,expiry_date:""}])},Be=s=>{const t=[...b];t.splice(s,1),$(t);const i={...r};Object.keys(i).forEach(d=>{d.startsWith(`new_documents.${s}.`)&&delete i[d]}),S(i)},Ae=s=>{E.delete(route("hr.employees.documents.destroy",[n.id,s]),{preserveScroll:!0,preserveState:!0,onSuccess:t=>{_.dismiss(),t.props.flash.success?_.success(a(t.props.flash.success)):t.props.flash.error&&_.error(a(t.props.flash.error)),we(D.filter(i=>i.id!==s))},onError:t=>{_.dismiss(),typeof t=="string"?_.error(a(t)):_.error(a("Failed to delete document: {{errors}}",{errors:Object.values(t).join(", ")}))}})},Re=s=>{var i;s.preventDefault(),T(!0);const t=new FormData;if(V&&t.append("_token",V),t.append("_method","PUT"),Object.entries(l).forEach(([d,h])=>{d!=="documents"&&(Array.isArray(h)?h.forEach(x=>{t.append(`${d}[]`,x)}):h!=null&&h!==""&&t.append(d,h))}),U&&t.append("profile_image",U),b.forEach((d,h)=>{d.document_type_id&&t.append(`documents[${h}][document_type_id]`,d.document_type_id),d.file&&t.append(`documents[${h}][file]`,d.file),d.expiry_date&&t.append(`documents[${h}][expiry_date]`,d.expiry_date)}),!((i=n.employee)!=null&&i.id)){_.error(a("Employee data not found"));return}E.post(route("hr.employees.update",n.employee.id),t,{forceFormData:!0,preserveState:!0,onSuccess:d=>{var h,x;if(T(!1),(h=d.props.flash)!=null&&h.error){_.error(a(d.props.flash.error));return}(x=d.props.flash)!=null&&x.success&&_.success(a(d.props.flash.success)),E.get(route("hr.employees.index"))},onError:d=>{T(!1),S(d);const h=Object.values(d)[0];_.error(h?String(h):a("Please correct the errors in the form")),setTimeout(()=>{const x=document.querySelector(".text-red-500, .border-red-500");x&&(x.scrollIntoView({behavior:"smooth",block:"center"}),(x.tagName==="INPUT"||x.tagName==="TEXTAREA"||x.tagName==="SELECT")&&x.focus())},100)}})},Ve=[{title:a("Dashboard"),href:route("dashboard")},{title:a("HR Management"),href:route("hr.employees.index")},{title:a("Employees"),href:route("hr.employees.index")},{title:a("Edit Employee")}];return e.jsx(Le,{title:a("Edit Employee"),url:`/hr/employees/${n.id}/edit`,breadcrumbs:Ve,actions:[{label:a("Back"),icon:e.jsx(Je,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>E.get(route("hr.employees.index"))}],children:e.jsxs("form",{onSubmit:Re,className:"space-y-6",children:[e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Basic Information")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"name",required:!0,children:a("Full Name")}),e.jsx(m,{id:"name",value:l.name,onChange:s=>o("name",s.target.value),className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"employee_id",children:a("Employee ID")}),e.jsx(m,{id:"employee_id",value:l.employee_id,onChange:s=>o("employee_id",s.target.value),className:r.employee_id?"border-red-500":""}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("Auto-generated code. You may edit if needed.")}),r.employee_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employee_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"biometric_emp_id",children:a("Employee Code")}),e.jsx(m,{id:"biometric_emp_id",value:l.biometric_emp_id||"",onChange:s=>o("biometric_emp_id",s.target.value),placeholder:"",className:r.biometric_emp_id?"border-red-500":""}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("This ID will be used to map employee with biometric device.")}),r.biometric_emp_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.biometric_emp_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"email",required:!0,children:a("Email")}),e.jsx(m,{id:"email",type:"email",required:!0,value:l.email,onChange:s=>o("email",s.target.value),className:r.email?"border-red-500":""}),r.email&&e.jsx("p",{className:"text-red-500 text-xs",children:r.email})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:"password",children:[a("Password")," ",e.jsx("span",{className:"text-sm text-muted-foreground",children:a("(Leave blank to keep current)")})]}),e.jsx(m,{id:"password",type:"password",value:l.password,onChange:s=>o("password",s.target.value),className:r.password?"border-red-500":""}),r.password&&e.jsx("p",{className:"text-red-500 text-xs",children:r.password})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"role_id",children:a("Role")}),e.jsxs(j,{value:l.role_id,onValueChange:s=>o("role_id",s),children:[e.jsx(y,{id:"role_id",className:r.role_id?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select role")})}),e.jsx(f,{children:L&&L.map(s=>e.jsx(p,{value:String(s.id),children:s.name.charAt(0).toUpperCase()+s.name.slice(1)},s.id))})]}),r.role_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.role_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"phone",required:!0,children:a("Phone Number")}),e.jsx(m,{id:"phone",required:!0,value:l.phone,onChange:s=>o("phone",s.target.value),className:r.phone?"border-red-500":""}),r.phone&&e.jsx("p",{className:"text-red-500 text-xs",children:r.phone})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"date_of_birth",required:!0,children:a("Date of Birth")}),e.jsx("div",{className:"cursor-pointer",onClick:s=>{var i;const t=s.currentTarget.querySelector("input");try{(i=t==null?void 0:t.showPicker)==null||i.call(t)}catch{t==null||t.focus()}},children:e.jsx(m,{id:"date_of_birth",type:"date",required:!0,value:l.date_of_birth,onChange:s=>o("date_of_birth",s.target.value),className:`cursor-pointer ${r.date_of_birth?"border-red-500":""}`})}),r.date_of_birth&&e.jsx("p",{className:"text-red-500 text-xs",children:r.date_of_birth})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{required:!0,children:a("Gender")}),e.jsxs(Ge,{value:l.gender,onValueChange:s=>o("gender",s),className:"flex space-x-4",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(B,{value:"male",id:"gender-male"}),e.jsx(c,{htmlFor:"gender-male",children:a("Male")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(B,{value:"female",id:"gender-female"}),e.jsx(c,{htmlFor:"gender-female",children:a("Female")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(B,{value:"other",id:"gender-other"}),e.jsx(c,{htmlFor:"gender-other",children:a("Other")})]})]}),r.gender&&e.jsx("p",{className:"text-red-500 text-xs",children:r.gender})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{children:a("Profile Image")}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"border rounded-md p-4 flex items-center justify-center bg-muted/30 h-32",children:z?e.jsx("img",{src:z,alt:"Profile Image",className:"max-h-full max-w-full object-contain rounded-full"}):l.profile_image?e.jsx("img",{src:Ue(l.profile_image),alt:"Profile Image",className:"max-h-full max-w-full object-contain rounded-full"}):e.jsxs("div",{className:"text-muted-foreground flex flex-col items-center gap-2",children:[e.jsx("div",{className:"h-12 w-12 bg-muted flex items-center justify-center rounded-full border border-dashed",children:e.jsx("span",{className:"font-semibold text-xs text-muted-foreground",children:a("Image")})}),e.jsx("span",{className:"text-xs",children:a("No image selected")})]})}),e.jsx(m,{type:"file",accept:"image/*",onChange:Te,className:"cursor-pointer"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Max file size: 2MB")})]}),r.profile_image&&e.jsx("p",{className:"text-red-500 text-xs",children:r.profile_image})]})]})})]}),e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Employment Details")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"branch_id",required:!0,children:a("Branch")}),e.jsxs(j,{required:!0,value:l.branch_id,onValueChange:s=>o("branch_id",s),children:[e.jsx(y,{className:r.branch_id?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Branch")})}),e.jsx(f,{searchable:!0,children:ve.map(s=>e.jsx(p,{value:s.id.toString(),children:s.name},s.id))})]}),r.branch_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.branch_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"department_id",required:!0,children:a("Department")}),e.jsxs(j,{required:!0,value:l.department_id,onValueChange:s=>o("department_id",s),disabled:!l.branch_id,children:[e.jsx(y,{className:r.department_id?"border-red-500":"",children:e.jsx(g,{placeholder:l.branch_id?a("Select Department"):a("Select Branch First")})}),e.jsx(f,{searchable:!0,children:Pe.map(s=>e.jsx(p,{value:s.id.toString(),children:s.name},s.id))})]}),r.department_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.department_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"designation_id",required:!0,children:a("Designation")}),e.jsxs(j,{required:!0,value:l.designation_id,onValueChange:s=>o("designation_id",s),disabled:!l.department_id,children:[e.jsx(y,{className:r.designation_id?"border-red-500":"",children:e.jsx(g,{placeholder:l.department_id?a("Select Designation"):a("Select Department First")})}),e.jsx(f,{searchable:!0,children:Ie.map(s=>e.jsx(p,{value:s.id.toString(),children:s.name},s.id))})]}),r.designation_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.designation_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"date_of_joining",children:a("Date of Joining")}),e.jsx("div",{className:"cursor-pointer",onClick:s=>{var i;const t=s.currentTarget.querySelector("input");try{(i=t==null?void 0:t.showPicker)==null||i.call(t)}catch{t==null||t.focus()}},children:e.jsx(m,{id:"date_of_joining",type:"date",value:l.date_of_joining,onChange:s=>o("date_of_joining",s.target.value),className:`cursor-pointer ${r.date_of_joining?"border-red-500":""}`})}),r.date_of_joining&&e.jsx("p",{className:"text-red-500 text-xs",children:r.date_of_joining})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"employment_type",children:a("Employment Type")}),e.jsxs(j,{value:l.employment_type,onValueChange:s=>o("employment_type",s),children:[e.jsx(y,{className:r.employment_type?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Employment Type")})}),e.jsxs(f,{children:[e.jsx(p,{value:"Full-time",children:a("Full-time")}),e.jsx(p,{value:"Part-time",children:a("Part-time")}),e.jsx(p,{value:"Contract",children:a("Contract")}),e.jsx(p,{value:"Internship",children:a("Internship")}),e.jsx(p,{value:"Temporary",children:a("Temporary")})]})]}),r.employment_type&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employment_type})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"employee_status",children:a("Employee Status")}),e.jsxs(j,{value:l.employee_status,onValueChange:s=>o("employee_status",s),children:[e.jsx(y,{className:r.employee_status?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Employee Status")})}),e.jsxs(f,{children:[e.jsx(p,{value:"active",children:a("Active")}),e.jsx(p,{value:"inactive",children:a("Inactive")}),e.jsx(p,{value:"probation",children:a("Probation")}),e.jsx(p,{value:"terminated",children:a("Terminated")})]})]}),r.employee_status&&e.jsx("p",{className:"text-red-500 text-xs",children:r.employee_status})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"shift_id",children:a("Shift")}),e.jsxs(j,{value:l.shift_id,onValueChange:s=>o("shift_id",s),children:[e.jsx(y,{className:r.shift_id?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Shift (Optional)")})}),e.jsx(f,{searchable:!0,children:P==null?void 0:P.map(s=>e.jsxs(p,{value:s.id.toString(),children:[s.name," (",s.start_time," - ",s.end_time,")"]},s.id))})]}),r.shift_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.shift_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"rest_days",children:a("Rest Days")}),e.jsx(He,{field:{name:"rest_days",label:a("Rest Days"),options:[{value:"monday",label:a("Monday")},{value:"tuesday",label:a("Tuesday")},{value:"wednesday",label:a("Wednesday")},{value:"thursday",label:a("Thursday")},{value:"friday",label:a("Friday")},{value:"saturday",label:a("Saturday")},{value:"sunday",label:a("Sunday")}]},formData:l,handleChange:o}),r.rest_days&&e.jsx("p",{className:"text-red-500 text-xs",children:r.rest_days})]})]})})]}),e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Contact Information")})}),e.jsxs(v,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"address_line_1",children:a("Address Line 1")}),e.jsx(m,{id:"address_line_1",value:l.address_line_1,onChange:s=>o("address_line_1",s.target.value),className:r.address_line_1?"border-red-500":""}),r.address_line_1&&e.jsx("p",{className:"text-red-500 text-xs",children:r.address_line_1})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"address_line_2",children:a("Address Line 2")}),e.jsx(m,{id:"address_line_2",value:l.address_line_2,onChange:s=>o("address_line_2",s.target.value),className:r.address_line_2?"border-red-500":""}),r.address_line_2&&e.jsx("p",{className:"text-red-500 text-xs",children:r.address_line_2})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"city",children:a("City")}),e.jsx(m,{id:"city",value:l.city,onChange:s=>o("city",s.target.value),className:r.city?"border-red-500":""}),r.city&&e.jsx("p",{className:"text-red-500 text-xs",children:r.city})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"state",children:a("State/Province")}),e.jsx(m,{id:"state",value:l.state,onChange:s=>o("state",s.target.value),className:r.state?"border-red-500":""}),r.state&&e.jsx("p",{className:"text-red-500 text-xs",children:r.state})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"country",children:a("Country")}),e.jsx(m,{id:"country",value:l.country,onChange:s=>o("country",s.target.value),className:r.country?"border-red-500":""}),r.country&&e.jsx("p",{className:"text-red-500 text-xs",children:r.country})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"postal_code",children:a("Postal/Zip Code")}),e.jsx(m,{id:"postal_code",value:l.postal_code,onChange:s=>o("postal_code",s.target.value),className:r.postal_code?"border-red-500":""}),r.postal_code&&e.jsx("p",{className:"text-red-500 text-xs",children:r.postal_code})]})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:a("Emergency Contact")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"emergency_contact_name",children:a("Name")}),e.jsx(m,{id:"emergency_contact_name",value:l.emergency_contact_name,onChange:s=>o("emergency_contact_name",s.target.value),className:r.emergency_contact_name?"border-red-500":""}),r.emergency_contact_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"emergency_contact_relationship",children:a("Relationship")}),e.jsx(m,{id:"emergency_contact_relationship",value:l.emergency_contact_relationship,onChange:s=>o("emergency_contact_relationship",s.target.value),className:r.emergency_contact_relationship?"border-red-500":""}),r.emergency_contact_relationship&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_relationship})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"emergency_contact_number",children:a("Phone Number")}),e.jsx(m,{id:"emergency_contact_number",value:l.emergency_contact_number,onChange:s=>o("emergency_contact_number",s.target.value),className:r.emergency_contact_number?"border-red-500":""}),r.emergency_contact_number&&e.jsx("p",{className:"text-red-500 text-xs",children:r.emergency_contact_number})]})]})]})]})]}),e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Banking Information")})}),e.jsx(v,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"bank_name",children:a("Bank Name")}),e.jsx(m,{id:"bank_name",value:l.bank_name,onChange:s=>o("bank_name",s.target.value),className:r.bank_name?"border-red-500":""}),r.bank_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"account_holder_name",children:a("Account Holder Name")}),e.jsx(m,{id:"account_holder_name",value:l.account_holder_name,onChange:s=>o("account_holder_name",s.target.value),className:r.account_holder_name?"border-red-500":""}),r.account_holder_name&&e.jsx("p",{className:"text-red-500 text-xs",children:r.account_holder_name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"account_number",children:a("Account Number")}),e.jsx(m,{id:"account_number",value:l.account_number,onChange:s=>o("account_number",s.target.value),className:r.account_number?"border-red-500":""}),r.account_number&&e.jsx("p",{className:"text-red-500 text-xs",children:r.account_number})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"bank_identifier_code",children:a("Bank Identifier Code (BIC/SWIFT)")}),e.jsx(m,{id:"bank_identifier_code",value:l.bank_identifier_code,onChange:s=>o("bank_identifier_code",s.target.value),className:r.bank_identifier_code?"border-red-500":""}),r.bank_identifier_code&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_identifier_code})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"bank_branch",children:a("Bank Branch")}),e.jsx(m,{id:"bank_branch",value:l.bank_branch,onChange:s=>o("bank_branch",s.target.value),className:r.bank_branch?"border-red-500":""}),r.bank_branch&&e.jsx("p",{className:"text-red-500 text-xs",children:r.bank_branch})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"tax_payer_id",children:a("Tax Payer ID")}),e.jsx(m,{id:"tax_payer_id",value:l.tax_payer_id,onChange:s=>o("tax_payer_id",s.target.value),className:r.tax_payer_id?"border-red-500":""}),r.tax_payer_id&&e.jsx("p",{className:"text-red-500 text-xs",children:r.tax_payer_id})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"salary",required:!0,children:a("Base Salary")}),e.jsx(m,{id:"salary",required:!0,type:"number",step:"0.01",value:l.salary,onChange:s=>o("salary",s.target.value),className:r.salary?"border-red-500":""}),r.salary&&e.jsx("p",{className:"text-red-500 text-xs",children:r.salary})]})]})})]}),e.jsxs(N,{children:[e.jsx(w,{children:e.jsx(k,{children:a("Documents")})}),e.jsxs(v,{className:"space-y-4",children:[D.length>0&&e.jsxs("div",{className:"mb-6",children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:a("Existing Documents")}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:D.map(s=>{var t;return e.jsx(N,{className:"border",children:e.jsx(v,{className:"p-4",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsx("div",{className:"flex items-center",children:e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium",children:(t=s.document_type)==null?void 0:t.name}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s.expiry_date?`${a("Expires")}: ${new Date(s.expiry_date).toLocaleDateString()}`:a("No expiry date")}),e.jsx("div",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium mt-2 ${s.verification_status==="verified"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":s.verification_status==="rejected"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20"}`,children:s.verification_status==="verified"?a("Verified"):s.verification_status==="rejected"?a("Rejected"):a("Pending")})]})}),e.jsxs("div",{className:"flex space-x-2",children:[e.jsx(C,{type:"button",variant:"outline",size:"sm",onClick:()=>window.open(s.document_url||s.file_path,"_blank"),children:e.jsx(We,{className:"h-4 w-4"})}),e.jsx(C,{type:"button",variant:"outline",size:"sm",onClick:()=>Ae(s.id),children:e.jsx(Ne,{className:"h-4 w-4 text-red-500"})})]})]})})},s.id)})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium mb-4",children:a("Add New Documents")}),b.map((s,t)=>e.jsxs("div",{className:"border rounded-md p-4 space-y-4 mb-4",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("h3",{className:"text-lg font-medium",children:[a("Document")," #",t+1]}),e.jsx(C,{type:"button",variant:"ghost",size:"sm",onClick:()=>Be(t),children:e.jsx(Ne,{className:"h-4 w-4 text-red-500"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{htmlFor:`document_type_${t}`,children:[a("Document Type")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(j,{value:s.document_type_id,onValueChange:i=>q(t,"document_type_id",i),children:[e.jsx(y,{className:r[`documents.${t}.document_type_id`]?"border-red-500":"",children:e.jsx(g,{placeholder:a("Select Document Type")})}),e.jsx(f,{children:Ce.filter(i=>{if(i.id.toString()===s.document_type_id)return!0;const d=D.some(x=>{var F;return((F=x.document_type_id)==null?void 0:F.toString())===i.id.toString()}),h=b.some(x=>x.document_type_id===i.id.toString());return!d&&!h}).map(i=>e.jsxs(p,{value:i.id.toString(),children:[i.name," ",i.is_required&&e.jsx("span",{className:"text-red-500",children:"*"})]},i.id))})]}),r[`documents.${t}.document_type_id`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.document_type_id`]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(c,{children:[a("File")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx(m,{type:"file",onChange:i=>$e(t,i),className:r[`documents.${t}.file`]?"border-red-500":""}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Max file size: 5MB")})]}),r[`documents.${t}.file`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.file`]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:`document_expiry_${t}`,children:a("Expiry Date")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var h;const d=i.currentTarget.querySelector("input");try{(h=d==null?void 0:d.showPicker)==null||h.call(d)}catch{d==null||d.focus()}},children:e.jsx(m,{id:`document_expiry_${t}`,type:"date",value:s.expiry_date,onChange:i=>q(t,"expiry_date",i.target.value),className:`cursor-pointer ${r[`documents.${t}.expiry_date`]?"border-red-500":""}`})}),r[`documents.${t}.expiry_date`]&&e.jsx("p",{className:"text-red-500 text-xs",children:r[`documents.${t}.expiry_date`]})]})]})]},t)),e.jsxs(C,{type:"button",variant:"outline",onClick:qe,className:"mt-4",children:[e.jsx(ze,{className:"h-4 w-4 mr-2"}),a("Add Document")]})]})]})]}),e.jsxs("div",{className:"flex justify-end space-x-4",children:[e.jsx(C,{type:"button",variant:"outline",onClick:()=>E.get(route("hr.employees.index")),children:a("Cancel")}),e.jsx(C,{type:"submit",disabled:O,children:a(O?"Saving...":"Update Employee")})]})]})})}export{Vs as default}; diff --git a/public/build/assets/edit-Cq41ctsr.js b/public/build/assets/edit-Cq41ctsr.js new file mode 100644 index 000000000..cae302176 --- /dev/null +++ b/public/build/assets/edit-Cq41ctsr.js @@ -0,0 +1 @@ +import{j as o}from"./ui-Z445SNHD.js";import m from"./form-VUM5bQKz.js";import"./page-template-CLNVC8w_.js";import"./app-Dya84jp7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";function O({plan:r,otherDefaultPlanExists:t}){return o.jsx(m,{plan:r,otherDefaultPlanExists:t})}export{O as default}; diff --git a/public/build/assets/edit-BI8SqA1F.js b/public/build/assets/edit-DObVaWFN.js similarity index 77% rename from public/build/assets/edit-BI8SqA1F.js rename to public/build/assets/edit-DObVaWFN.js index 9d24d69cd..813c5a59f 100644 --- a/public/build/assets/edit-BI8SqA1F.js +++ b/public/build/assets/edit-DObVaWFN.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as _}from"./page-template-BTxLyiDA.js";import{u as S,c as E,b as q,C as c,m as d,n as p,l as x,L as n,I as j,o as b,r as v,t as i}from"./app-CfhhiFAk.js";import{T as k}from"./textarea-kpRjGGLz.js";import{S as w,a as A,b as F,c as I,d as g}from"./select-BrY9osYp.js";import{A as P}from"./arrow-left-B_Yqvwsn.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ve(){const{t}=S(),{offerTemplate:s,globalSettings:m}=E().props,{data:l,setData:o,put:N,processing:u,errors:r,clearErrors:y}=q({name:s.name||"",template_content:s.template_content||"",variables:Array.isArray(s.variables)?s.variables.join(", "):s.variables||"",status:s.status||"active"}),C=a=>{a.preventDefault(),y(),m!=null&&m.is_demo||i.loading(t("Updating offer template...")),N(route("hr.recruitment.offer-templates.update",s.id),{onSuccess:h=>{var f;i.dismiss(),(f=h.props.flash)!=null&&f.success&&i.success(t(h.props.flash.success))},onError:()=>{i.dismiss(),i.error(t("Please fix the errors below"))}})},T=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.offer-templates.index")},{title:t("Offer Templates"),href:route("hr.recruitment.offer-templates.index")},{title:t("Edit")}];return e.jsx(_,{title:t("Edit Offer Template"),breadcrumbs:T,actions:[{label:t("Back"),icon:e.jsx(P,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>v.get(route("hr.recruitment.offer-templates.index"))}],children:e.jsxs("form",{onSubmit:C,className:"space-y-6",children:[e.jsxs(c,{children:[e.jsx(d,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(x,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(j,{id:"name",value:l.name,onChange:a=>o("name",a.target.value),placeholder:t("Enter template name"),required:!0,className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.name})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(w,{value:l.status,onValueChange:a=>o("status",a),children:[e.jsx(A,{className:r.status?"border-red-500":"",children:e.jsx(F,{})}),e.jsxs(I,{children:[e.jsx(g,{value:"active",children:t("Active")}),e.jsx(g,{value:"inactive",children:t("Inactive")})]})]}),r.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.status})]})]})})]}),e.jsxs(c,{children:[e.jsx(d,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(x,{children:e.jsxs("div",{children:[e.jsx(n,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{variable_name}} for dynamic content")}),e.jsx(k,{id:"template_content",value:l.template_content,onChange:a=>o("template_content",a.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${r.template_content?"border-red-500":""}`}),r.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.template_content})]})})]}),e.jsxs(c,{children:[e.jsx(d,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Variables")})}),e.jsx(x,{children:e.jsxs("div",{children:[e.jsx(n,{htmlFor:"variables",required:!0,children:t("Variables")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of variable names (without {{}})")}),e.jsx(j,{required:!0,id:"variables",value:l.variables,onChange:a=>o("variables",a.target.value),placeholder:"candidate_name, position, salary, start_date",className:r.variables?"border-red-500":""}),r.variables&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.variables})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(b,{type:"button",variant:"outline",onClick:()=>v.get(route("hr.recruitment.offer-templates.index")),children:t("Cancel")}),e.jsx(b,{type:"submit",disabled:u,children:t(u?"Updating...":"Update Template")})]})]})})}export{ve as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as _}from"./page-template-CLNVC8w_.js";import{u as S,c as E,b as q,C as c,m as d,n as p,l as x,L as n,I as j,o as b,r as v,t as i}from"./app-Dya84jp7.js";import{T as k}from"./textarea-yeg8ONhy.js";import{S as w,a as A,b as F,c as I,d as g}from"./select-CHkpLxhL.js";import{A as P}from"./arrow-left-BUNj5JJK.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ve(){const{t}=S(),{offerTemplate:s,globalSettings:m}=E().props,{data:l,setData:o,put:N,processing:u,errors:r,clearErrors:y}=q({name:s.name||"",template_content:s.template_content||"",variables:Array.isArray(s.variables)?s.variables.join(", "):s.variables||"",status:s.status||"active"}),C=a=>{a.preventDefault(),y(),m!=null&&m.is_demo||i.loading(t("Updating offer template...")),N(route("hr.recruitment.offer-templates.update",s.id),{onSuccess:h=>{var f;i.dismiss(),(f=h.props.flash)!=null&&f.success&&i.success(t(h.props.flash.success))},onError:()=>{i.dismiss(),i.error(t("Please fix the errors below"))}})},T=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.offer-templates.index")},{title:t("Offer Templates"),href:route("hr.recruitment.offer-templates.index")},{title:t("Edit")}];return e.jsx(_,{title:t("Edit Offer Template"),breadcrumbs:T,actions:[{label:t("Back"),icon:e.jsx(P,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>v.get(route("hr.recruitment.offer-templates.index"))}],children:e.jsxs("form",{onSubmit:C,className:"space-y-6",children:[e.jsxs(c,{children:[e.jsx(d,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(x,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(j,{id:"name",value:l.name,onChange:a=>o("name",a.target.value),placeholder:t("Enter template name"),required:!0,className:r.name?"border-red-500":""}),r.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.name})]}),e.jsxs("div",{children:[e.jsx(n,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(w,{value:l.status,onValueChange:a=>o("status",a),children:[e.jsx(A,{className:r.status?"border-red-500":"",children:e.jsx(F,{})}),e.jsxs(I,{children:[e.jsx(g,{value:"active",children:t("Active")}),e.jsx(g,{value:"inactive",children:t("Inactive")})]})]}),r.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.status})]})]})})]}),e.jsxs(c,{children:[e.jsx(d,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(x,{children:e.jsxs("div",{children:[e.jsx(n,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{variable_name}} for dynamic content")}),e.jsx(k,{id:"template_content",value:l.template_content,onChange:a=>o("template_content",a.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${r.template_content?"border-red-500":""}`}),r.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.template_content})]})})]}),e.jsxs(c,{children:[e.jsx(d,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Variables")})}),e.jsx(x,{children:e.jsxs("div",{children:[e.jsx(n,{htmlFor:"variables",required:!0,children:t("Variables")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of variable names (without {{}})")}),e.jsx(j,{required:!0,id:"variables",value:l.variables,onChange:a=>o("variables",a.target.value),placeholder:"candidate_name, position, salary, start_date",className:r.variables?"border-red-500":""}),r.variables&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:r.variables})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(b,{type:"button",variant:"outline",onClick:()=>v.get(route("hr.recruitment.offer-templates.index")),children:t("Cancel")}),e.jsx(b,{type:"submit",disabled:u,children:t(u?"Updating...":"Update Template")})]})]})})}export{ve as default}; diff --git a/public/build/assets/edit-CYyr8VQA.js b/public/build/assets/edit-LuN72LBF.js similarity index 90% rename from public/build/assets/edit-CYyr8VQA.js rename to public/build/assets/edit-LuN72LBF.js index 7cc003caa..22ad66d93 100644 --- a/public/build/assets/edit-CYyr8VQA.js +++ b/public/build/assets/edit-LuN72LBF.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as A}from"./page-template-BTxLyiDA.js";import{u as V,c as B,b as $,C as j,m as _,n as g,l as y,L as d,I as p,o as J,r as w,t as b}from"./app-CfhhiFAk.js";import{S as x,a as m,b as h,c as u,d as c}from"./select-BrY9osYp.js";import{C as f}from"./checkbox-1_Cig_g5.js";import{T as U}from"./tag-input-C5bCQZVs.js";import{R as F}from"./rich-text-editor-6rkrWVFe.js";import{A as O}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./unlink-BUU37FwK.js";import"./list-D0MAUZMV.js";import"./quote-CVpLTvYv.js";import"./link-Bv_VEBSZ.js";import"./code-BfjQUpEO.js";function Me(){var E,T,D,L;const{t}=V(),{jobPosting:a,jobTypes:N,locations:k,branches:C,departments:S,customQuestions:q,companySlug:v}=B().props,{data:s,setData:l,put:I,processing:P,errors:r}=$({title:a.title||"",job_type_id:((E=a.job_type_id)==null?void 0:E.toString())||"",location_id:((T=a.location_id)==null?void 0:T.toString())||"",branch_id:((D=a.branch_id)==null?void 0:D.toString())||"",department_id:((L=a.department_id)==null?void 0:L.toString())||"",priority:a.priority||"",status:a.status||"Draft",skills:a.skills||[],positions:a.positions||1,min_experience:a.min_experience||0,max_experience:a.max_experience||"",min_salary:a.min_salary||"",max_salary:a.max_salary||"",description:a.description||"",requirements:a.requirements||"",education:a.education||"",benefits:a.benefits||"",start_date:a.start_date?new Date(a.start_date).toISOString().split("T")[0]:"",application_deadline:a.application_deadline?new Date(a.application_deadline).toISOString().split("T")[0]:"",application_type:a.application_type||"existing",application_url:a.application_type==="existing"?v?route("career.index",v):route("career.index"):a.application_url||"",code:a.code||"",custom_question:a.custom_question||[],applicant:a.applicant||[],visibility:a.visibility||[],is_featured:a.is_featured||!1}),M=i=>{i.preventDefault(),b.loading(t("Updating job posting...")),I(route("hr.recruitment.job-postings.update",a.id),{onSuccess:n=>{b.dismiss(),n.props.flash.success&&b.success(t(n.props.flash.success))},onError:n=>{b.dismiss(),typeof n=="string"?b.error(t(n)):b.error(t("Failed to update job posting"))}})},R=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.job-postings.index")},{title:t("Job Postings"),href:route("hr.recruitment.job-postings.index")},{title:t("Edit")}];return e.jsx(A,{title:t("Edit Job Posting"),breadcrumbs:R,actions:[{label:t("Back"),icon:e.jsx(O,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>w.get(route("hr.recruitment.job-postings.index"))}],children:e.jsxs("form",{onSubmit:M,className:"space-y-6",children:[e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(y,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(d,{htmlFor:"title",required:!0,children:t("Job Title")}),e.jsx(p,{id:"title",value:s.title,onChange:i=>l("title",i.target.value),placeholder:t("Enter job title")}),r.title&&e.jsx("p",{className:"text-sm text-red-500",children:r.title})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"job_type_id",required:!0,children:t("Job Type")}),e.jsxs(x,{value:s.job_type_id,onValueChange:i=>l("job_type_id",i),children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Job Type")})}),e.jsx(u,{searchable:!0,children:N==null?void 0:N.map(i=>e.jsx(c,{value:i.id.toString(),children:i.name},i.id))})]}),r.job_type_id&&e.jsx("p",{className:"text-sm text-red-500",children:r.job_type_id})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"location_id",required:!0,children:t("Location")}),e.jsxs(x,{value:s.location_id,onValueChange:i=>l("location_id",i),children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Location")})}),e.jsx(u,{searchable:!0,children:k==null?void 0:k.map(i=>e.jsx(c,{value:i.id.toString(),children:i.name},i.id))})]}),r.location_id&&e.jsx("p",{className:"text-sm text-red-500",children:r.location_id})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"branch_id",required:!0,children:t("Branch")}),e.jsxs(x,{value:s.branch_id,onValueChange:i=>{l("branch_id",i),l("department_id","")},children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Branch")})}),e.jsx(u,{searchable:!0,children:C==null?void 0:C.map(i=>e.jsx(c,{value:i.id.toString(),children:i.name},i.id))})]}),r.branch_id&&e.jsx("p",{className:"text-sm text-red-500",children:r.branch_id})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"department_id",children:t("Department")}),e.jsxs(x,{value:s.department_id,onValueChange:i=>l("department_id",i),disabled:!s.branch_id,children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Department")})}),e.jsx(u,{searchable:!0,children:S==null?void 0:S.filter(i=>i.branch_id===parseInt(s.branch_id)).map(i=>e.jsx(c,{value:i.id.toString(),children:i.name},i.id))})]}),r.department_id&&e.jsx("p",{className:"text-sm text-red-500",children:r.department_id})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"priority",required:!0,children:t("Priority")}),e.jsxs(x,{value:s.priority,onValueChange:i=>l("priority",i),children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Priority")})}),e.jsxs(u,{children:[e.jsx(c,{value:"Low",children:t("Low")}),e.jsx(c,{value:"Medium",children:t("Medium")}),e.jsx(c,{value:"High",children:t("High")})]})]}),r.priority&&e.jsx("p",{className:"text-sm text-red-500",children:r.priority})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"skills",required:!0,children:t("Required Skills")}),e.jsx(U,{value:s.skills||[],onChange:i=>l("skills",i),placeholder:t("Type Required Skills and press Enter")}),r.skills&&e.jsx("p",{className:"text-sm text-red-500",children:r.skills})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"start_date",required:!0,children:t("Start Date")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var o;const n=i.currentTarget.querySelector("input");try{(o=n==null?void 0:n.showPicker)==null||o.call(n)}catch{n==null||n.focus()}},children:e.jsx(p,{id:"start_date",type:"date",value:s.start_date,onChange:i=>l("start_date",i.target.value),className:"cursor-pointer"})}),r.start_date&&e.jsx("p",{className:"text-sm text-red-500",children:r.start_date})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"application_deadline",required:!0,children:t("Application Deadline")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var o;const n=i.currentTarget.querySelector("input");try{(o=n==null?void 0:n.showPicker)==null||o.call(n)}catch{n==null||n.focus()}},children:e.jsx(p,{id:"application_deadline",type:"date",value:s.application_deadline,onChange:i=>l("application_deadline",i.target.value),className:"cursor-pointer"})}),r.application_deadline&&e.jsx("p",{className:"text-sm text-red-500",children:r.application_deadline})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"application_type",required:!0,children:t("Job Application")}),e.jsxs(x,{value:s.application_type,onValueChange:i=>{l("application_type",i),i==="existing"?l("application_url",v?route("career.index",v):route("career.index")):l("application_url","")},children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Application Type")})}),e.jsxs(u,{children:[e.jsx(c,{value:"existing",children:t("Existing Link")}),e.jsx(c,{value:"custom",children:t("Custom Link")})]})]}),r.application_type&&e.jsx("p",{className:"text-sm text-red-500",children:r.application_type})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"application_url",required:!0,children:t("Application URL")}),e.jsx(p,{id:"application_url",value:s.application_url,onChange:i=>l("application_url",i.target.value),placeholder:t("Enter application URL"),disabled:s.application_type==="existing"}),r.application_url&&e.jsx("p",{className:"text-sm text-red-500",children:r.application_url})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"positions",required:!0,children:t("Number of Positions")}),e.jsx(p,{id:"positions",type:"number",min:"1",value:s.positions,onChange:i=>l("positions",parseInt(i.target.value)||1),placeholder:t("Enter number of positions")}),r.positions&&e.jsx("p",{className:"text-sm text-red-500",children:r.positions})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(x,{value:s.status,onValueChange:i=>l("status",i),children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Status")})}),e.jsxs(u,{children:[e.jsx(c,{value:"Draft",children:t("Draft")}),e.jsx(c,{value:"Published",children:t("Published")}),e.jsx(c,{value:"Closed",children:t("Closed")})]})]}),r.status&&e.jsx("p",{className:"text-sm text-red-500",children:r.status})]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(f,{id:"is_featured",checked:s.is_featured,onCheckedChange:i=>l("is_featured",i)}),e.jsx(d,{htmlFor:"is_featured",children:t("Featured Job")})]})]})]}),e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Experience & Salary")})}),e.jsx(y,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(d,{htmlFor:"min_experience",required:!0,children:t("Min Experience (Years)")}),e.jsx(p,{id:"min_experience",type:"number",min:"0",step:"0.1",value:s.min_experience,onChange:i=>l("min_experience",parseFloat(i.target.value)||0)}),r.min_experience&&e.jsx("p",{className:"text-sm text-red-500",children:r.min_experience})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"max_experience",required:!0,children:t("Max Experience (Years)")}),e.jsx(p,{id:"max_experience",type:"number",min:"0",step:"0.1",value:s.max_experience,onChange:i=>l("max_experience",i.target.value)}),r.max_experience&&e.jsx("p",{className:"text-sm text-red-500",children:r.max_experience})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"min_salary",required:!0,children:t("Min Salary")}),e.jsx(p,{id:"min_salary",type:"number",min:"0",step:"0.01",value:s.min_salary,onChange:i=>l("min_salary",i.target.value)}),r.min_salary&&e.jsx("p",{className:"text-sm text-red-500",children:r.min_salary})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"max_salary",required:!0,children:t("Max Salary")}),e.jsx(p,{id:"max_salary",type:"number",min:"0",step:"0.01",value:s.max_salary,onChange:i=>l("max_salary",i.target.value)}),r.max_salary&&e.jsx("p",{className:"text-sm text-red-500",children:r.max_salary})]})]})})]}),e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Job Details")})}),e.jsxs(y,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(d,{htmlFor:"description",required:!0,children:t("Job Description")}),e.jsx(F,{content:s.description,onChange:i=>l("description",i),placeholder:t("Enter job description..."),className:"[&_.ProseMirror]:min-h-[150px]"}),r.description&&e.jsx("p",{className:"text-sm text-red-500",children:r.description})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"requirements",required:!0,children:t("Requirements")}),e.jsx(F,{content:s.requirements,onChange:i=>l("requirements",i),placeholder:t("Enter job requirements..."),className:"[&_.ProseMirror]:min-h-[150px]"}),r.requirements&&e.jsx("p",{className:"text-sm text-red-500",children:r.requirements})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"benefits",required:!0,children:t("Benefits")}),e.jsx(F,{content:s.benefits,onChange:i=>l("benefits",i),placeholder:t("Enter job benefits..."),className:"[&_.ProseMirror]:min-h-[120px]"}),r.benefits&&e.jsx("p",{className:"text-sm text-red-500",children:r.benefits})]})]})]}),q&&q.length>0&&e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Custom Questions")})}),e.jsx(y,{className:"space-y-4",children:q.map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(f,{id:`question_${i.id}`,checked:s.custom_question.includes(i.id),onCheckedChange:n=>{n?l("custom_question",[...s.custom_question,i.id]):l("custom_question",s.custom_question.filter(o=>o!==i.id))}}),e.jsxs(d,{htmlFor:`question_${i.id}`,className:"flex-1",children:[i.question,i.required===1&&e.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})]},i.id))})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Need to Ask?")})}),e.jsx(y,{className:"space-y-4",children:[{key:"gender",label:t("Gender")},{key:"date_of_birth",label:t("Date Of Birth")}].map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(f,{id:`applicant_${i.key}`,checked:s.applicant.includes(i.key),onCheckedChange:n=>{n?l("applicant",[...s.applicant,i.key]):l("applicant",s.applicant.filter(o=>o!==i.key))}}),e.jsx(d,{htmlFor:`applicant_${i.key}`,children:i.label})]},i.key))})]}),e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Need to Show Option?")})}),e.jsx(y,{className:"space-y-4",children:[{key:"cover_letter",label:t("Cover Letter")},{key:"terms_and_conditions",label:t("Terms And Conditions")}].map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(f,{id:`visibility_${i.key}`,checked:s.visibility.includes(i.key),onCheckedChange:n=>{n?l("visibility",[...s.visibility,i.key]):l("visibility",s.visibility.filter(o=>o!==i.key))}}),e.jsx(d,{htmlFor:`visibility_${i.key}`,children:i.label})]},i.key))})]})]}),e.jsxs("div",{className:"flex justify-end space-x-2",children:[e.jsx(J,{type:"button",variant:"outline",onClick:()=>w.get(route("hr.recruitment.job-postings.show",a.id)),children:t("Cancel")}),e.jsx(J,{type:"submit",disabled:P,children:t(P?"Updating...":"Update Job Posting")})]})]})})}export{Me as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as A}from"./page-template-CLNVC8w_.js";import{u as V,c as B,b as $,C as j,m as _,n as g,l as y,L as d,I as p,o as J,r as w,t as b}from"./app-Dya84jp7.js";import{S as x,a as m,b as h,c as u,d as c}from"./select-CHkpLxhL.js";import{C as f}from"./checkbox-BLrehV38.js";import{T as U}from"./tag-input-B-Rs7khN.js";import{R as F}from"./rich-text-editor-uObNYFW4.js";import{A as O}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./unlink-BLQWL2NW.js";import"./list-C_2fG_BT.js";import"./quote-BmDTOIsR.js";import"./link-DXJwkkHX.js";import"./code-znlKMFkF.js";function Me(){var E,T,D,L;const{t}=V(),{jobPosting:a,jobTypes:N,locations:k,branches:C,departments:S,customQuestions:q,companySlug:v}=B().props,{data:s,setData:l,put:I,processing:P,errors:r}=$({title:a.title||"",job_type_id:((E=a.job_type_id)==null?void 0:E.toString())||"",location_id:((T=a.location_id)==null?void 0:T.toString())||"",branch_id:((D=a.branch_id)==null?void 0:D.toString())||"",department_id:((L=a.department_id)==null?void 0:L.toString())||"",priority:a.priority||"",status:a.status||"Draft",skills:a.skills||[],positions:a.positions||1,min_experience:a.min_experience||0,max_experience:a.max_experience||"",min_salary:a.min_salary||"",max_salary:a.max_salary||"",description:a.description||"",requirements:a.requirements||"",education:a.education||"",benefits:a.benefits||"",start_date:a.start_date?new Date(a.start_date).toISOString().split("T")[0]:"",application_deadline:a.application_deadline?new Date(a.application_deadline).toISOString().split("T")[0]:"",application_type:a.application_type||"existing",application_url:a.application_type==="existing"?v?route("career.index",v):route("career.index"):a.application_url||"",code:a.code||"",custom_question:a.custom_question||[],applicant:a.applicant||[],visibility:a.visibility||[],is_featured:a.is_featured||!1}),M=i=>{i.preventDefault(),b.loading(t("Updating job posting...")),I(route("hr.recruitment.job-postings.update",a.id),{onSuccess:n=>{b.dismiss(),n.props.flash.success&&b.success(t(n.props.flash.success))},onError:n=>{b.dismiss(),typeof n=="string"?b.error(t(n)):b.error(t("Failed to update job posting"))}})},R=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.job-postings.index")},{title:t("Job Postings"),href:route("hr.recruitment.job-postings.index")},{title:t("Edit")}];return e.jsx(A,{title:t("Edit Job Posting"),breadcrumbs:R,actions:[{label:t("Back"),icon:e.jsx(O,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>w.get(route("hr.recruitment.job-postings.index"))}],children:e.jsxs("form",{onSubmit:M,className:"space-y-6",children:[e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(y,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(d,{htmlFor:"title",required:!0,children:t("Job Title")}),e.jsx(p,{id:"title",value:s.title,onChange:i=>l("title",i.target.value),placeholder:t("Enter job title")}),r.title&&e.jsx("p",{className:"text-sm text-red-500",children:r.title})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"job_type_id",required:!0,children:t("Job Type")}),e.jsxs(x,{value:s.job_type_id,onValueChange:i=>l("job_type_id",i),children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Job Type")})}),e.jsx(u,{searchable:!0,children:N==null?void 0:N.map(i=>e.jsx(c,{value:i.id.toString(),children:i.name},i.id))})]}),r.job_type_id&&e.jsx("p",{className:"text-sm text-red-500",children:r.job_type_id})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"location_id",required:!0,children:t("Location")}),e.jsxs(x,{value:s.location_id,onValueChange:i=>l("location_id",i),children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Location")})}),e.jsx(u,{searchable:!0,children:k==null?void 0:k.map(i=>e.jsx(c,{value:i.id.toString(),children:i.name},i.id))})]}),r.location_id&&e.jsx("p",{className:"text-sm text-red-500",children:r.location_id})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"branch_id",required:!0,children:t("Branch")}),e.jsxs(x,{value:s.branch_id,onValueChange:i=>{l("branch_id",i),l("department_id","")},children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Branch")})}),e.jsx(u,{searchable:!0,children:C==null?void 0:C.map(i=>e.jsx(c,{value:i.id.toString(),children:i.name},i.id))})]}),r.branch_id&&e.jsx("p",{className:"text-sm text-red-500",children:r.branch_id})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"department_id",children:t("Department")}),e.jsxs(x,{value:s.department_id,onValueChange:i=>l("department_id",i),disabled:!s.branch_id,children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Department")})}),e.jsx(u,{searchable:!0,children:S==null?void 0:S.filter(i=>i.branch_id===parseInt(s.branch_id)).map(i=>e.jsx(c,{value:i.id.toString(),children:i.name},i.id))})]}),r.department_id&&e.jsx("p",{className:"text-sm text-red-500",children:r.department_id})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"priority",required:!0,children:t("Priority")}),e.jsxs(x,{value:s.priority,onValueChange:i=>l("priority",i),children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Priority")})}),e.jsxs(u,{children:[e.jsx(c,{value:"Low",children:t("Low")}),e.jsx(c,{value:"Medium",children:t("Medium")}),e.jsx(c,{value:"High",children:t("High")})]})]}),r.priority&&e.jsx("p",{className:"text-sm text-red-500",children:r.priority})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"skills",required:!0,children:t("Required Skills")}),e.jsx(U,{value:s.skills||[],onChange:i=>l("skills",i),placeholder:t("Type Required Skills and press Enter")}),r.skills&&e.jsx("p",{className:"text-sm text-red-500",children:r.skills})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"start_date",required:!0,children:t("Start Date")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var o;const n=i.currentTarget.querySelector("input");try{(o=n==null?void 0:n.showPicker)==null||o.call(n)}catch{n==null||n.focus()}},children:e.jsx(p,{id:"start_date",type:"date",value:s.start_date,onChange:i=>l("start_date",i.target.value),className:"cursor-pointer"})}),r.start_date&&e.jsx("p",{className:"text-sm text-red-500",children:r.start_date})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"application_deadline",required:!0,children:t("Application Deadline")}),e.jsx("div",{className:"cursor-pointer",onClick:i=>{var o;const n=i.currentTarget.querySelector("input");try{(o=n==null?void 0:n.showPicker)==null||o.call(n)}catch{n==null||n.focus()}},children:e.jsx(p,{id:"application_deadline",type:"date",value:s.application_deadline,onChange:i=>l("application_deadline",i.target.value),className:"cursor-pointer"})}),r.application_deadline&&e.jsx("p",{className:"text-sm text-red-500",children:r.application_deadline})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"application_type",required:!0,children:t("Job Application")}),e.jsxs(x,{value:s.application_type,onValueChange:i=>{l("application_type",i),i==="existing"?l("application_url",v?route("career.index",v):route("career.index")):l("application_url","")},children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Application Type")})}),e.jsxs(u,{children:[e.jsx(c,{value:"existing",children:t("Existing Link")}),e.jsx(c,{value:"custom",children:t("Custom Link")})]})]}),r.application_type&&e.jsx("p",{className:"text-sm text-red-500",children:r.application_type})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"application_url",required:!0,children:t("Application URL")}),e.jsx(p,{id:"application_url",value:s.application_url,onChange:i=>l("application_url",i.target.value),placeholder:t("Enter application URL"),disabled:s.application_type==="existing"}),r.application_url&&e.jsx("p",{className:"text-sm text-red-500",children:r.application_url})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"positions",required:!0,children:t("Number of Positions")}),e.jsx(p,{id:"positions",type:"number",min:"1",value:s.positions,onChange:i=>l("positions",parseInt(i.target.value)||1),placeholder:t("Enter number of positions")}),r.positions&&e.jsx("p",{className:"text-sm text-red-500",children:r.positions})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(x,{value:s.status,onValueChange:i=>l("status",i),children:[e.jsx(m,{children:e.jsx(h,{placeholder:t("Select Status")})}),e.jsxs(u,{children:[e.jsx(c,{value:"Draft",children:t("Draft")}),e.jsx(c,{value:"Published",children:t("Published")}),e.jsx(c,{value:"Closed",children:t("Closed")})]})]}),r.status&&e.jsx("p",{className:"text-sm text-red-500",children:r.status})]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(f,{id:"is_featured",checked:s.is_featured,onCheckedChange:i=>l("is_featured",i)}),e.jsx(d,{htmlFor:"is_featured",children:t("Featured Job")})]})]})]}),e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Experience & Salary")})}),e.jsx(y,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(d,{htmlFor:"min_experience",required:!0,children:t("Min Experience (Years)")}),e.jsx(p,{id:"min_experience",type:"number",min:"0",step:"0.1",value:s.min_experience,onChange:i=>l("min_experience",parseFloat(i.target.value)||0)}),r.min_experience&&e.jsx("p",{className:"text-sm text-red-500",children:r.min_experience})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"max_experience",required:!0,children:t("Max Experience (Years)")}),e.jsx(p,{id:"max_experience",type:"number",min:"0",step:"0.1",value:s.max_experience,onChange:i=>l("max_experience",i.target.value)}),r.max_experience&&e.jsx("p",{className:"text-sm text-red-500",children:r.max_experience})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"min_salary",required:!0,children:t("Min Salary")}),e.jsx(p,{id:"min_salary",type:"number",min:"0",step:"0.01",value:s.min_salary,onChange:i=>l("min_salary",i.target.value)}),r.min_salary&&e.jsx("p",{className:"text-sm text-red-500",children:r.min_salary})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"max_salary",required:!0,children:t("Max Salary")}),e.jsx(p,{id:"max_salary",type:"number",min:"0",step:"0.01",value:s.max_salary,onChange:i=>l("max_salary",i.target.value)}),r.max_salary&&e.jsx("p",{className:"text-sm text-red-500",children:r.max_salary})]})]})})]}),e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Job Details")})}),e.jsxs(y,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(d,{htmlFor:"description",required:!0,children:t("Job Description")}),e.jsx(F,{content:s.description,onChange:i=>l("description",i),placeholder:t("Enter job description..."),className:"[&_.ProseMirror]:min-h-[150px]"}),r.description&&e.jsx("p",{className:"text-sm text-red-500",children:r.description})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"requirements",required:!0,children:t("Requirements")}),e.jsx(F,{content:s.requirements,onChange:i=>l("requirements",i),placeholder:t("Enter job requirements..."),className:"[&_.ProseMirror]:min-h-[150px]"}),r.requirements&&e.jsx("p",{className:"text-sm text-red-500",children:r.requirements})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"benefits",required:!0,children:t("Benefits")}),e.jsx(F,{content:s.benefits,onChange:i=>l("benefits",i),placeholder:t("Enter job benefits..."),className:"[&_.ProseMirror]:min-h-[120px]"}),r.benefits&&e.jsx("p",{className:"text-sm text-red-500",children:r.benefits})]})]})]}),q&&q.length>0&&e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Custom Questions")})}),e.jsx(y,{className:"space-y-4",children:q.map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(f,{id:`question_${i.id}`,checked:s.custom_question.includes(i.id),onCheckedChange:n=>{n?l("custom_question",[...s.custom_question,i.id]):l("custom_question",s.custom_question.filter(o=>o!==i.id))}}),e.jsxs(d,{htmlFor:`question_${i.id}`,className:"flex-1",children:[i.question,i.required===1&&e.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})]},i.id))})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Need to Ask?")})}),e.jsx(y,{className:"space-y-4",children:[{key:"gender",label:t("Gender")},{key:"date_of_birth",label:t("Date Of Birth")}].map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(f,{id:`applicant_${i.key}`,checked:s.applicant.includes(i.key),onCheckedChange:n=>{n?l("applicant",[...s.applicant,i.key]):l("applicant",s.applicant.filter(o=>o!==i.key))}}),e.jsx(d,{htmlFor:`applicant_${i.key}`,children:i.label})]},i.key))})]}),e.jsxs(j,{children:[e.jsx(_,{children:e.jsx(g,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Need to Show Option?")})}),e.jsx(y,{className:"space-y-4",children:[{key:"cover_letter",label:t("Cover Letter")},{key:"terms_and_conditions",label:t("Terms And Conditions")}].map(i=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(f,{id:`visibility_${i.key}`,checked:s.visibility.includes(i.key),onCheckedChange:n=>{n?l("visibility",[...s.visibility,i.key]):l("visibility",s.visibility.filter(o=>o!==i.key))}}),e.jsx(d,{htmlFor:`visibility_${i.key}`,children:i.label})]},i.key))})]})]}),e.jsxs("div",{className:"flex justify-end space-x-2",children:[e.jsx(J,{type:"button",variant:"outline",onClick:()=>w.get(route("hr.recruitment.job-postings.show",a.id)),children:t("Cancel")}),e.jsx(J,{type:"submit",disabled:P,children:t(P?"Updating...":"Update Job Posting")})]})]})})}export{Me as default}; diff --git a/public/build/assets/edit-V_ht8tGC.js b/public/build/assets/edit-V_ht8tGC.js deleted file mode 100644 index 6c2c4954d..000000000 --- a/public/build/assets/edit-V_ht8tGC.js +++ /dev/null @@ -1 +0,0 @@ -import{j as o}from"./ui-Z445SNHD.js";import m from"./form-BrKq2IwS.js";import"./page-template-BTxLyiDA.js";import"./app-CfhhiFAk.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";function O({plan:r,otherDefaultPlanExists:t}){return o.jsx(m,{plan:r,otherDefaultPlanExists:t})}export{O as default}; diff --git a/public/build/assets/edit-Dq9tcmGS.js b/public/build/assets/edit-XCtlV2mF.js similarity index 83% rename from public/build/assets/edit-Dq9tcmGS.js rename to public/build/assets/edit-XCtlV2mF.js index 3e77c8588..42476d27b 100644 --- a/public/build/assets/edit-Dq9tcmGS.js +++ b/public/build/assets/edit-XCtlV2mF.js @@ -1,3 +1,3 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as w}from"./page-template-BTxLyiDA.js";import{u as A,c as I,b as P,C as u,m as p,n as x,l as h,L as o,I as D,o as T,r as F,t as n}from"./app-CfhhiFAk.js";import{T as j}from"./textarea-kpRjGGLz.js";import{S as f,a as v,b as _,c as g,d as c}from"./select-BrY9osYp.js";import{C as V}from"./checkbox-1_Cig_g5.js";import{A as O}from"./arrow-left-B_Yqvwsn.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function Ce(){var N;const{t}=A(),{documentTemplate:a,categories:m,globalSettings:i}=I().props,{data:l,setData:d,put:S,processing:y,errors:s,clearErrors:k}=P({name:a.name||"",description:a.description||"",category_id:((N=a.category_id)==null?void 0:N.toString())||"",template_content:a.template_content||"",placeholders:Array.isArray(a.placeholders)?a.placeholders.join(", "):a.placeholders||"",default_values:a.default_values?JSON.stringify(a.default_values,null,2):"",file_format:a.file_format||"pdf",is_default:a.is_default||!1,status:a.status||"active"}),E=r=>{if(r.preventDefault(),k(),l.default_values)try{JSON.parse(l.default_values)}catch{n.error(t("Default Values must be valid JSON"));return}i!=null&&i.is_demo||n.loading(t("Updating document template...")),S(route("hr.documents.document-templates.update",a.id),{onSuccess:C=>{var b;i!=null&&i.is_demo||n.dismiss(),(b=C.props.flash)!=null&&b.success&&n.success(t(C.props.flash.success))},onError:()=>{i!=null&&i.is_demo||n.dismiss(),n.error(t("Please fix the errors below"))}})},q=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-templates.index")},{title:t("Document Templates"),href:route("hr.documents.document-templates.index")},{title:t("Edit")}];return e.jsx(w,{title:t("Edit Document Template"),breadcrumbs:q,actions:[{label:t("Back"),icon:e.jsx(O,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>F.get(route("hr.documents.document-templates.index"))}],children:e.jsxs("form",{onSubmit:E,className:"space-y-6",children:[e.jsxs(u,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(D,{id:"name",value:l.name,onChange:r=>d("name",r.target.value),placeholder:t("Enter template name"),required:!0,className:s.name?"border-red-500":""}),s.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"category_id",required:!0,children:t("Category")}),e.jsxs(f,{value:l.category_id,onValueChange:r=>d("category_id",r),children:[e.jsx(v,{className:s.category_id?"border-red-500":"",children:e.jsx(_,{placeholder:t("Select Category")})}),e.jsx(g,{searchable:!0,children:m==null?void 0:m.map(r=>e.jsx(c,{value:r.id.toString(),children:r.name},r.id))})]}),s.category_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.category_id})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"file_format",children:t("File Format")}),e.jsxs(f,{value:l.file_format,onValueChange:r=>d("file_format",r),children:[e.jsx(v,{className:s.file_format?"border-red-500":"",children:e.jsx(_,{})}),e.jsxs(g,{children:[e.jsx(c,{value:"pdf",children:"PDF"}),e.jsx(c,{value:"doc",children:"DOC"}),e.jsx(c,{value:"docx",children:"DOCX"}),e.jsx(c,{value:"txt",children:"TXT"})]})]}),s.file_format&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.file_format})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(f,{value:l.status,onValueChange:r=>d("status",r),children:[e.jsx(v,{className:s.status?"border-red-500":"",children:e.jsx(_,{})}),e.jsxs(g,{children:[e.jsx(c,{value:"active",children:t("Active")}),e.jsx(c,{value:"inactive",children:t("Inactive")})]})]}),s.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.status})]})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"description",children:t("Description")}),e.jsx(j,{id:"description",value:l.description,onChange:r=>d("description",r.target.value),placeholder:t("Enter description"),rows:2,className:s.description?"border-red-500":""}),s.description&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.description})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{id:"is_default",checked:l.is_default,onCheckedChange:r=>d("is_default",r)}),e.jsx(o,{htmlFor:"is_default",children:t("Set as Default for Category")})]})]})]}),e.jsxs(u,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(h,{className:"space-y-4",children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{placeholder_name}} for dynamic content")}),e.jsx(j,{id:"template_content",value:l.template_content,onChange:r=>d("template_content",r.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${s.template_content?"border-red-500":""}`}),s.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.template_content})]})})]}),e.jsxs(u,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Placeholders & Default Values")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"placeholders",required:!0,children:t("Placeholders")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of placeholder names (without {{}})")}),e.jsx(D,{id:"placeholders",value:l.placeholders,onChange:r=>d("placeholders",r.target.value),placeholder:"employee_name, company_name, date",required:!0,className:s.placeholders?"border-red-500":""}),s.placeholders&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.placeholders})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"default_values",children:t("Default Values")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t('JSON object e.g. {"company_name": "Acme Inc"}')}),e.jsx(j,{id:"default_values",value:l.default_values,onChange:r=>d("default_values",r.target.value),placeholder:`{ +import{j as e}from"./ui-Z445SNHD.js";import{P as w}from"./page-template-CLNVC8w_.js";import{u as A,c as I,b as P,C as u,m as p,n as x,l as h,L as o,I as D,o as T,r as F,t as n}from"./app-Dya84jp7.js";import{T as j}from"./textarea-yeg8ONhy.js";import{S as f,a as v,b as _,c as g,d as c}from"./select-CHkpLxhL.js";import{C as V}from"./checkbox-BLrehV38.js";import{A as O}from"./arrow-left-BUNj5JJK.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function Ce(){var N;const{t}=A(),{documentTemplate:a,categories:m,globalSettings:i}=I().props,{data:l,setData:d,put:S,processing:y,errors:s,clearErrors:k}=P({name:a.name||"",description:a.description||"",category_id:((N=a.category_id)==null?void 0:N.toString())||"",template_content:a.template_content||"",placeholders:Array.isArray(a.placeholders)?a.placeholders.join(", "):a.placeholders||"",default_values:a.default_values?JSON.stringify(a.default_values,null,2):"",file_format:a.file_format||"pdf",is_default:a.is_default||!1,status:a.status||"active"}),E=r=>{if(r.preventDefault(),k(),l.default_values)try{JSON.parse(l.default_values)}catch{n.error(t("Default Values must be valid JSON"));return}i!=null&&i.is_demo||n.loading(t("Updating document template...")),S(route("hr.documents.document-templates.update",a.id),{onSuccess:C=>{var b;i!=null&&i.is_demo||n.dismiss(),(b=C.props.flash)!=null&&b.success&&n.success(t(C.props.flash.success))},onError:()=>{i!=null&&i.is_demo||n.dismiss(),n.error(t("Please fix the errors below"))}})},q=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-templates.index")},{title:t("Document Templates"),href:route("hr.documents.document-templates.index")},{title:t("Edit")}];return e.jsx(w,{title:t("Edit Document Template"),breadcrumbs:q,actions:[{label:t("Back"),icon:e.jsx(O,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>F.get(route("hr.documents.document-templates.index"))}],children:e.jsxs("form",{onSubmit:E,className:"space-y-6",children:[e.jsxs(u,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:t("Template Name")}),e.jsx(D,{id:"name",value:l.name,onChange:r=>d("name",r.target.value),placeholder:t("Enter template name"),required:!0,className:s.name?"border-red-500":""}),s.name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"category_id",required:!0,children:t("Category")}),e.jsxs(f,{value:l.category_id,onValueChange:r=>d("category_id",r),children:[e.jsx(v,{className:s.category_id?"border-red-500":"",children:e.jsx(_,{placeholder:t("Select Category")})}),e.jsx(g,{searchable:!0,children:m==null?void 0:m.map(r=>e.jsx(c,{value:r.id.toString(),children:r.name},r.id))})]}),s.category_id&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.category_id})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"file_format",children:t("File Format")}),e.jsxs(f,{value:l.file_format,onValueChange:r=>d("file_format",r),children:[e.jsx(v,{className:s.file_format?"border-red-500":"",children:e.jsx(_,{})}),e.jsxs(g,{children:[e.jsx(c,{value:"pdf",children:"PDF"}),e.jsx(c,{value:"doc",children:"DOC"}),e.jsx(c,{value:"docx",children:"DOCX"}),e.jsx(c,{value:"txt",children:"TXT"})]})]}),s.file_format&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.file_format})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"status",required:!0,children:t("Status")}),e.jsxs(f,{value:l.status,onValueChange:r=>d("status",r),children:[e.jsx(v,{className:s.status?"border-red-500":"",children:e.jsx(_,{})}),e.jsxs(g,{children:[e.jsx(c,{value:"active",children:t("Active")}),e.jsx(c,{value:"inactive",children:t("Inactive")})]})]}),s.status&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.status})]})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"description",children:t("Description")}),e.jsx(j,{id:"description",value:l.description,onChange:r=>d("description",r.target.value),placeholder:t("Enter description"),rows:2,className:s.description?"border-red-500":""}),s.description&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.description})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{id:"is_default",checked:l.is_default,onCheckedChange:r=>d("is_default",r)}),e.jsx(o,{htmlFor:"is_default",children:t("Set as Default for Category")})]})]})]}),e.jsxs(u,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsx(h,{className:"space-y-4",children:e.jsxs("div",{children:[e.jsx(o,{htmlFor:"template_content",required:!0,children:t("Content")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Use {{placeholder_name}} for dynamic content")}),e.jsx(j,{id:"template_content",value:l.template_content,onChange:r=>d("template_content",r.target.value),placeholder:t("Enter template content..."),rows:14,required:!0,className:`font-mono text-sm ${s.template_content?"border-red-500":""}`}),s.template_content&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.template_content})]})})]}),e.jsxs(u,{children:[e.jsx(p,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Placeholders & Default Values")})}),e.jsxs(h,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"placeholders",required:!0,children:t("Placeholders")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Comma-separated list of placeholder names (without {{}})")}),e.jsx(D,{id:"placeholders",value:l.placeholders,onChange:r=>d("placeholders",r.target.value),placeholder:"employee_name, company_name, date",required:!0,className:s.placeholders?"border-red-500":""}),s.placeholders&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.placeholders})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"default_values",children:t("Default Values")}),e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t('JSON object e.g. {"company_name": "Acme Inc"}')}),e.jsx(j,{id:"default_values",value:l.default_values,onChange:r=>d("default_values",r.target.value),placeholder:`{ "company_name": "Acme Inc" }`,rows:4,className:`font-mono text-sm ${s.default_values?"border-red-500":""}`}),s.default_values&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:s.default_values})]})]})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(T,{type:"button",variant:"outline",onClick:()=>F.get(route("hr.documents.document-templates.index")),children:t("Cancel")}),e.jsx(T,{type:"submit",disabled:y,children:t(y?"Updating...":"Update Template")})]})]})})}export{Ce as default}; diff --git a/public/build/assets/email-notification-settings-C-4YCEEU.js b/public/build/assets/email-notification-settings-CPtrgANi.js similarity index 95% rename from public/build/assets/email-notification-settings-C-4YCEEU.js rename to public/build/assets/email-notification-settings-CPtrgANi.js index 5d2c7db27..908f52620 100644 --- a/public/build/assets/email-notification-settings-C-4YCEEU.js +++ b/public/build/assets/email-notification-settings-CPtrgANi.js @@ -1 +1 @@ -import{r as f,j as a}from"./ui-Z445SNHD.js";import{u as j,ap as _,o as u,B as N,L as b,y as w}from"./app-CfhhiFAk.js";import{S as x}from"./switch-CKduD2wX.js";import{T as C,a as y,b as A,c as S}from"./tabs-pc4jrsjt.js";import{S as k}from"./scroll-area-Dxv7Ysgl.js";import{B as T}from"./bell-DXAvb3Z0.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";import"./index-BdQq_4o_.js";const R=[{id:"general",name:"General",icon:"🔔",notifications:[{id:"system_update",name:"System Updates",enabled:!0},{id:"security_alert",name:"Security Alerts",enabled:!0},{id:"maintenance",name:"Scheduled Maintenance",enabled:!1},{id:"login_activity",name:"Login Activity",enabled:!0},{id:"password_reset",name:"Password Reset",enabled:!0}]},{id:"accounting",name:"Accounting",icon:"💰",notifications:[{id:"invoice_created",name:"Invoice Created",enabled:!0},{id:"payment_received",name:"Payment Received",enabled:!0},{id:"payment_reminder",name:"Payment Reminder",enabled:!0},{id:"bill_due",name:"Bill Due",enabled:!1},{id:"expense_approval",name:"Expense Approval",enabled:!0}]},{id:"appointment",name:"Appointment",icon:"📅",notifications:[{id:"appointment_created",name:"Appointment Created",enabled:!0},{id:"appointment_reminder",name:"Appointment Reminder",enabled:!0},{id:"appointment_cancelled",name:"Appointment Cancelled",enabled:!0},{id:"appointment_rescheduled",name:"Appointment Rescheduled",enabled:!0}]},{id:"cmms",name:"CMMS",icon:"🔧",notifications:[{id:"maintenance_due",name:"Maintenance Due",enabled:!0},{id:"work_order_created",name:"Work Order Created",enabled:!0},{id:"work_order_assigned",name:"Work Order Assigned",enabled:!0},{id:"work_order_completed",name:"Work Order Completed",enabled:!1},{id:"inventory_low",name:"Inventory Low",enabled:!0}]},{id:"lms",name:"LMS",icon:"📚",notifications:[{id:"course_enrollment",name:"Course Enrollment",enabled:!0},{id:"course_completion",name:"Course Completion",enabled:!0},{id:"quiz_results",name:"Quiz Results",enabled:!0},{id:"certificate_issued",name:"Certificate Issued",enabled:!0},{id:"new_course_available",name:"New Course Available",enabled:!1}]},{id:"crm",name:"CRM",icon:"👥",notifications:[{id:"lead_created",name:"Lead Created",enabled:!0},{id:"deal_won",name:"Deal Won",enabled:!0},{id:"deal_lost",name:"Deal Lost",enabled:!1},{id:"task_assigned",name:"Task Assigned",enabled:!0},{id:"follow_up_reminder",name:"Follow-up Reminder",enabled:!0}]},{id:"hrm",name:"HRM",icon:"👔",notifications:[{id:"leave_request",name:"Leave Request",enabled:!0},{id:"leave_approval",name:"Leave Approval",enabled:!0},{id:"attendance_reminder",name:"Attendance Reminder",enabled:!1},{id:"payroll_processed",name:"Payroll Processed",enabled:!0},{id:"performance_review",name:"Performance Review",enabled:!0}]},{id:"project",name:"Project",icon:"📊",notifications:[{id:"project_created",name:"Project Created",enabled:!0},{id:"task_assigned",name:"Task Assigned",enabled:!0},{id:"milestone_completed",name:"Milestone Completed",enabled:!0},{id:"project_deadline",name:"Project Deadline",enabled:!0},{id:"budget_exceeded",name:"Budget Exceeded",enabled:!1}]}];function I(){const{t}=j(),[r,c]=f.useState(R),[m,p]=f.useState("general"),h=(e,n,i)=>{c(s=>s.map(d=>d.id===e?{...d,notifications:d.notifications.map(o=>o.id===n?{...o,enabled:i}:o)}:d))},g=(e,n)=>{c(i=>i.map(s=>s.id===e?{...s,notifications:s.notifications.map(d=>({...d,enabled:n}))}:s))},l=e=>{const n=r.find(i=>i.id===e);return n?n.notifications.filter(i=>i.enabled).length:0},v=e=>{e.preventDefault()};return a.jsx(_,{title:t("Email Notification Settings"),description:t("Configure which email notifications are sent for different modules"),action:a.jsxs(u,{type:"submit",form:"notification-settings-form",size:"sm",children:[a.jsx(w,{className:"h-4 w-4 mr-2"}),t("Save Changes")]}),children:a.jsx("form",{id:"notification-settings-form",onSubmit:v,children:a.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[a.jsx("div",{className:"md:w-64 flex-shrink-0",children:a.jsxs("div",{className:"sticky top-24",children:[a.jsxs("div",{className:"text-sm font-medium mb-2 flex items-center",children:[a.jsx(T,{className:"h-4 w-4 mr-2"}),t("Modules")]}),a.jsx(k,{className:"h-[calc(100vh-12rem)]",children:a.jsx("div",{className:"space-y-1 pr-4",children:r.map(e=>a.jsxs(u,{variant:"ghost",className:"w-full justify-start",onClick:()=>p(e.id),"data-active":m===e.id,children:[a.jsx("span",{className:"mr-2",children:e.icon}),a.jsx("span",{className:"flex-1 text-left",children:e.name}),a.jsxs(N,{variant:"outline",className:"ml-2",children:[l(e.id),"/",e.notifications.length]})]},e.id))})})]})}),a.jsx("div",{className:"flex-1",children:a.jsxs(C,{value:m,onValueChange:p,className:"w-full",children:[a.jsx(y,{className:"mb-4 w-full overflow-x-auto flex-nowrap",children:r.map(e=>a.jsxs(A,{value:e.id,className:"flex items-center gap-2",children:[a.jsx("span",{children:e.icon}),e.name]},e.id))}),r.map(e=>a.jsxs(S,{value:e.id,className:"space-y-4",children:[a.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-md bg-muted/30",children:[a.jsxs("div",{children:[a.jsxs("h3",{className:"text-base font-medium flex items-center gap-2",children:[a.jsx("span",{children:e.icon}),e.name," ",t("Notifications")]}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[l(e.id)," of ",e.notifications.length," ",t("notifications enabled")]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(b,{htmlFor:`toggle-all-${e.id}`,className:"text-sm",children:t("Toggle All")}),a.jsx(x,{id:`toggle-all-${e.id}`,checked:l(e.id)===e.notifications.length,onCheckedChange:n=>g(e.id,n)})]})]}),a.jsx("div",{className:"grid gap-4",children:e.notifications.map(n=>a.jsxs("div",{className:"flex items-center justify-between p-3 border rounded-md hover:bg-muted/20",children:[a.jsx(b,{htmlFor:`${e.id}-${n.id}`,className:"cursor-pointer flex-1",children:n.name}),a.jsx(x,{id:`${e.id}-${n.id}`,checked:n.enabled,onCheckedChange:i=>h(e.id,n.id,i)})]},n.id))})]},e.id))]})})]})})})}export{I as default}; +import{r as f,j as a}from"./ui-Z445SNHD.js";import{u as j,ap as _,o as u,B as N,L as b,y as w}from"./app-Dya84jp7.js";import{S as x}from"./switch-DyHgm-Sg.js";import{T as C,a as y,b as A,c as S}from"./tabs-CsP5VcXV.js";import{S as k}from"./scroll-area-T2TE8oKI.js";import{B as T}from"./bell-DRg7kyzT.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";import"./index-BdQq_4o_.js";const R=[{id:"general",name:"General",icon:"🔔",notifications:[{id:"system_update",name:"System Updates",enabled:!0},{id:"security_alert",name:"Security Alerts",enabled:!0},{id:"maintenance",name:"Scheduled Maintenance",enabled:!1},{id:"login_activity",name:"Login Activity",enabled:!0},{id:"password_reset",name:"Password Reset",enabled:!0}]},{id:"accounting",name:"Accounting",icon:"💰",notifications:[{id:"invoice_created",name:"Invoice Created",enabled:!0},{id:"payment_received",name:"Payment Received",enabled:!0},{id:"payment_reminder",name:"Payment Reminder",enabled:!0},{id:"bill_due",name:"Bill Due",enabled:!1},{id:"expense_approval",name:"Expense Approval",enabled:!0}]},{id:"appointment",name:"Appointment",icon:"📅",notifications:[{id:"appointment_created",name:"Appointment Created",enabled:!0},{id:"appointment_reminder",name:"Appointment Reminder",enabled:!0},{id:"appointment_cancelled",name:"Appointment Cancelled",enabled:!0},{id:"appointment_rescheduled",name:"Appointment Rescheduled",enabled:!0}]},{id:"cmms",name:"CMMS",icon:"🔧",notifications:[{id:"maintenance_due",name:"Maintenance Due",enabled:!0},{id:"work_order_created",name:"Work Order Created",enabled:!0},{id:"work_order_assigned",name:"Work Order Assigned",enabled:!0},{id:"work_order_completed",name:"Work Order Completed",enabled:!1},{id:"inventory_low",name:"Inventory Low",enabled:!0}]},{id:"lms",name:"LMS",icon:"📚",notifications:[{id:"course_enrollment",name:"Course Enrollment",enabled:!0},{id:"course_completion",name:"Course Completion",enabled:!0},{id:"quiz_results",name:"Quiz Results",enabled:!0},{id:"certificate_issued",name:"Certificate Issued",enabled:!0},{id:"new_course_available",name:"New Course Available",enabled:!1}]},{id:"crm",name:"CRM",icon:"👥",notifications:[{id:"lead_created",name:"Lead Created",enabled:!0},{id:"deal_won",name:"Deal Won",enabled:!0},{id:"deal_lost",name:"Deal Lost",enabled:!1},{id:"task_assigned",name:"Task Assigned",enabled:!0},{id:"follow_up_reminder",name:"Follow-up Reminder",enabled:!0}]},{id:"hrm",name:"HRM",icon:"👔",notifications:[{id:"leave_request",name:"Leave Request",enabled:!0},{id:"leave_approval",name:"Leave Approval",enabled:!0},{id:"attendance_reminder",name:"Attendance Reminder",enabled:!1},{id:"payroll_processed",name:"Payroll Processed",enabled:!0},{id:"performance_review",name:"Performance Review",enabled:!0}]},{id:"project",name:"Project",icon:"📊",notifications:[{id:"project_created",name:"Project Created",enabled:!0},{id:"task_assigned",name:"Task Assigned",enabled:!0},{id:"milestone_completed",name:"Milestone Completed",enabled:!0},{id:"project_deadline",name:"Project Deadline",enabled:!0},{id:"budget_exceeded",name:"Budget Exceeded",enabled:!1}]}];function I(){const{t}=j(),[r,c]=f.useState(R),[m,p]=f.useState("general"),h=(e,n,i)=>{c(s=>s.map(d=>d.id===e?{...d,notifications:d.notifications.map(o=>o.id===n?{...o,enabled:i}:o)}:d))},g=(e,n)=>{c(i=>i.map(s=>s.id===e?{...s,notifications:s.notifications.map(d=>({...d,enabled:n}))}:s))},l=e=>{const n=r.find(i=>i.id===e);return n?n.notifications.filter(i=>i.enabled).length:0},v=e=>{e.preventDefault()};return a.jsx(_,{title:t("Email Notification Settings"),description:t("Configure which email notifications are sent for different modules"),action:a.jsxs(u,{type:"submit",form:"notification-settings-form",size:"sm",children:[a.jsx(w,{className:"h-4 w-4 mr-2"}),t("Save Changes")]}),children:a.jsx("form",{id:"notification-settings-form",onSubmit:v,children:a.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[a.jsx("div",{className:"md:w-64 flex-shrink-0",children:a.jsxs("div",{className:"sticky top-24",children:[a.jsxs("div",{className:"text-sm font-medium mb-2 flex items-center",children:[a.jsx(T,{className:"h-4 w-4 mr-2"}),t("Modules")]}),a.jsx(k,{className:"h-[calc(100vh-12rem)]",children:a.jsx("div",{className:"space-y-1 pr-4",children:r.map(e=>a.jsxs(u,{variant:"ghost",className:"w-full justify-start",onClick:()=>p(e.id),"data-active":m===e.id,children:[a.jsx("span",{className:"mr-2",children:e.icon}),a.jsx("span",{className:"flex-1 text-left",children:e.name}),a.jsxs(N,{variant:"outline",className:"ml-2",children:[l(e.id),"/",e.notifications.length]})]},e.id))})})]})}),a.jsx("div",{className:"flex-1",children:a.jsxs(C,{value:m,onValueChange:p,className:"w-full",children:[a.jsx(y,{className:"mb-4 w-full overflow-x-auto flex-nowrap",children:r.map(e=>a.jsxs(A,{value:e.id,className:"flex items-center gap-2",children:[a.jsx("span",{children:e.icon}),e.name]},e.id))}),r.map(e=>a.jsxs(S,{value:e.id,className:"space-y-4",children:[a.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-md bg-muted/30",children:[a.jsxs("div",{children:[a.jsxs("h3",{className:"text-base font-medium flex items-center gap-2",children:[a.jsx("span",{children:e.icon}),e.name," ",t("Notifications")]}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[l(e.id)," of ",e.notifications.length," ",t("notifications enabled")]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(b,{htmlFor:`toggle-all-${e.id}`,className:"text-sm",children:t("Toggle All")}),a.jsx(x,{id:`toggle-all-${e.id}`,checked:l(e.id)===e.notifications.length,onCheckedChange:n=>g(e.id,n)})]})]}),a.jsx("div",{className:"grid gap-4",children:e.notifications.map(n=>a.jsxs("div",{className:"flex items-center justify-between p-3 border rounded-md hover:bg-muted/20",children:[a.jsx(b,{htmlFor:`${e.id}-${n.id}`,className:"cursor-pointer flex-1",children:n.name}),a.jsx(x,{id:`${e.id}-${n.id}`,checked:n.enabled,onCheckedChange:i=>h(e.id,n.id,i)})]},n.id))})]},e.id))]})})]})})})}export{I as default}; diff --git a/public/build/assets/email-settings-CgeSmhsA.js b/public/build/assets/email-settings-D6iy7QiV.js similarity index 93% rename from public/build/assets/email-settings-CgeSmhsA.js rename to public/build/assets/email-settings-D6iy7QiV.js index 4bd15434c..1d64536df 100644 --- a/public/build/assets/email-settings-CgeSmhsA.js +++ b/public/build/assets/email-settings-D6iy7QiV.js @@ -1 +1 @@ -import{r as v,j as e}from"./ui-Z445SNHD.js";import{u as O,c as b,ap as q,C as w,l as T,L as c,I as d,al as B,s as H,v as W,w as G,o as E,y as J,t,r as _}from"./app-CfhhiFAk.js";import{S as F,a as M,b as A,c as P,d as p}from"./select-BrY9osYp.js";import{A as K,a as Q}from"./alert-DH0o7BP8.js";import{M as L}from"./mail-CGIE7ZEy.js";import{S}from"./server-Dw1-QcTX.js";import{C as X}from"./circle-alert-64DrdoHv.js";import{U as D}from"./user-C37aWgZX.js";import{L as I}from"./lock-By6rMOj7.js";import{S as R}from"./send-Cj7KqUHo.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";function pe(){const{t:r}=O(),{settings:n={},globalSettings:a}=b().props,[o,U]=v.useState({provider:n.email_provider||"smtp",driver:n.email_driver||"smtp",host:n.email_host||"smtp.example.com",port:n.email_port||"587",username:n.email_username||"user@example.com",password:n.email_password?"••••••••••••":"",encryption:n.email_encryption||"tls",fromAddress:n.email_from_address||"noreply@example.com",fromName:n.email_from_name||"WorkDo System"}),[h,V]=v.useState(""),[y,g]=v.useState(!1),[N,u]=v.useState(null),m=(s,i)=>{U(l=>({...l,[s]:i}))},k=s=>{s.preventDefault(),a!=null&&a.is_demo||t.loading(r("Saving email settings...")),_.post(route("settings.email.update"),o,{preserveScroll:!0,onSuccess:i=>{var j,f;a!=null&&a.is_demo||t.dismiss();const l=(j=i.props.flash)==null?void 0:j.success,x=(f=i.props.flash)==null?void 0:f.error;l?t.success(l):x?t.error(x):t.success(r("Email settings saved successfully"))},onError:i=>{a!=null&&a.is_demo||t.dismiss();const l=i.error||Object.values(i).join(", ")||r("Failed to save email settings");t.error(l)}})},z=s=>{s.preventDefault(),h&&(g(!0),u(null),a!=null&&a.is_demo||t.loading(r("Sending test email...")),_.post(route("settings.email.test"),{email:h},{preserveScroll:!0,onSuccess:i=>{var j,f;g(!1),a!=null&&a.is_demo||t.dismiss();const l=(j=i.props.flash)==null?void 0:j.success,x=(f=i.props.flash)==null?void 0:f.error;if(l)t.success(l),u({success:!0,message:l});else if(x)t.error(x),u({success:!1,message:x});else{const C=r("Test email sent successfully to {{email}}",{email:h});t.success(C),u({success:!0,message:C})}setTimeout(()=>{u(null)},5e3)},onError:i=>{g(!1),a!=null&&a.is_demo||t.dismiss();const l=i.error||Object.values(i).join(", ")||r("Failed to send test email");t.error(l),u({success:!1,message:l}),setTimeout(()=>{u(null)},5e3)}}))};return e.jsx(q,{title:r("Email Settings"),description:r("Configure email server settings for system notifications and communications"),action:e.jsxs(E,{type:"submit",form:"email-settings-form",size:"sm",children:[e.jsx(J,{className:"h-4 w-4 mr-2"}),r("Save Changes")]}),children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-2",children:e.jsx("form",{id:"email-settings-form",onSubmit:k,children:e.jsx(w,{children:e.jsx(T,{className:"pt-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"provider",className:"font-medium",children:r("Email Provider")})]}),e.jsxs(F,{value:o.provider,onValueChange:s=>{m("provider",s),s==="smtp"?m("driver","smtp"):s==="mailgun"?m("driver","mailgun"):s==="ses"&&m("driver","ses")},children:[e.jsx(M,{children:e.jsx(A,{placeholder:"Select provider"})}),e.jsxs(P,{children:[e.jsx(p,{value:"smtp",children:"SMTP"}),e.jsx(p,{value:"mailgun",children:"Mailgun"}),e.jsx(p,{value:"ses",children:"Amazon SES"}),e.jsx(p,{value:"sendmail",children:"Sendmail"})]})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"driver",className:"font-medium",children:r("Mail Driver")})]}),e.jsx(d,{id:"driver",value:o.driver,onChange:s=>m("driver",s.target.value),placeholder:"smtp"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"host",className:"font-medium",children:r("SMTP Host")})]}),e.jsx(d,{id:"host",value:o.host,onChange:s=>m("host",s.target.value),placeholder:"smtp.example.com"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"port",className:"font-medium",children:r("SMTP Port")}),e.jsx(B,{children:e.jsxs(H,{children:[e.jsx(W,{asChild:!0,children:e.jsx(X,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(G,{children:e.jsx("p",{children:r("Common ports: 25, 465, 587, 2525")})})]})})]}),e.jsx(d,{id:"port",value:o.port,onChange:s=>m("port",s.target.value),placeholder:"587"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(D,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"username",className:"font-medium",children:r("SMTP Username")})]}),e.jsx(d,{id:"username",value:o.username,onChange:s=>m("username",s.target.value),placeholder:"user@example.com"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"password",className:"font-medium",children:r("SMTP Password")})]}),e.jsx(d,{id:"password",type:"password",value:o.password,onChange:s=>m("password",s.target.value),placeholder:"••••••••••••"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"encryption",className:"font-medium",children:r("Mail Encryption")})]}),e.jsxs(F,{value:o.encryption,onValueChange:s=>m("encryption",s),children:[e.jsx(M,{children:e.jsx(A,{placeholder:"Select encryption"})}),e.jsxs(P,{children:[e.jsx(p,{value:"tls",children:"TLS"}),e.jsx(p,{value:"ssl",children:"SSL"}),e.jsx(p,{value:"none",children:"None"})]})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"fromAddress",className:"font-medium",children:r("From Address")})]}),e.jsx(d,{id:"fromAddress",value:o.fromAddress,onChange:s=>m("fromAddress",s.target.value),placeholder:"noreply@example.com"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(D,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"fromName",className:"font-medium",children:r("From Name")})]}),e.jsx(d,{id:"fromName",value:o.fromName,onChange:s=>m("fromName",s.target.value),placeholder:"System"})]})]})})})})}),e.jsx("div",{className:"lg:col-span-1",children:e.jsx(w,{children:e.jsx(T,{className:"pt-6",children:e.jsxs("form",{onSubmit:z,className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(R,{className:"h-4 w-4 text-primary"}),e.jsx("h3",{className:"text-base font-medium",children:r("Test Email Configuration")})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(c,{htmlFor:"testEmail",className:"font-medium",children:r("Send Test To")}),e.jsx(d,{id:"testEmail",type:"email",value:h,onChange:s=>V(s.target.value),placeholder:"test@example.com",required:!0}),e.jsx("p",{className:"text-xs text-muted-foreground",children:r("Enter an email address to send a test message")})]}),N&&e.jsx(K,{variant:N.success?"success":"destructive",className:"py-2",children:e.jsx(Q,{children:N.message})}),e.jsx(E,{type:"submit",className:"w-full",disabled:y||!h,children:y?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"animate-spin mr-2",children:"◌"}),r("Sending...")]}):e.jsxs(e.Fragment,{children:[e.jsx(R,{className:"h-4 w-4 mr-2"}),r("Send Test Email")]})})]})})})})]})})}export{pe as default}; +import{r as v,j as e}from"./ui-Z445SNHD.js";import{u as O,c as b,ap as q,C as w,l as T,L as c,I as d,al as B,s as H,v as W,w as G,o as E,y as J,t,r as _}from"./app-Dya84jp7.js";import{S as F,a as M,b as A,c as P,d as p}from"./select-CHkpLxhL.js";import{A as K,a as Q}from"./alert-CyJVNPY9.js";import{M as L}from"./mail-Cha_PX4q.js";import{S}from"./server-Bk9UD-_r.js";import{C as X}from"./circle-alert-Ddjg2Qwp.js";import{U as D}from"./user-77BPqA3J.js";import{L as I}from"./lock-DaHvMEII.js";import{S as R}from"./send-Cs5D4i9u.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";function pe(){const{t:r}=O(),{settings:n={},globalSettings:a}=b().props,[o,U]=v.useState({provider:n.email_provider||"smtp",driver:n.email_driver||"smtp",host:n.email_host||"smtp.example.com",port:n.email_port||"587",username:n.email_username||"user@example.com",password:n.email_password?"••••••••••••":"",encryption:n.email_encryption||"tls",fromAddress:n.email_from_address||"noreply@example.com",fromName:n.email_from_name||"WorkDo System"}),[h,V]=v.useState(""),[y,g]=v.useState(!1),[N,u]=v.useState(null),m=(s,i)=>{U(l=>({...l,[s]:i}))},k=s=>{s.preventDefault(),a!=null&&a.is_demo||t.loading(r("Saving email settings...")),_.post(route("settings.email.update"),o,{preserveScroll:!0,onSuccess:i=>{var j,f;a!=null&&a.is_demo||t.dismiss();const l=(j=i.props.flash)==null?void 0:j.success,x=(f=i.props.flash)==null?void 0:f.error;l?t.success(l):x?t.error(x):t.success(r("Email settings saved successfully"))},onError:i=>{a!=null&&a.is_demo||t.dismiss();const l=i.error||Object.values(i).join(", ")||r("Failed to save email settings");t.error(l)}})},z=s=>{s.preventDefault(),h&&(g(!0),u(null),a!=null&&a.is_demo||t.loading(r("Sending test email...")),_.post(route("settings.email.test"),{email:h},{preserveScroll:!0,onSuccess:i=>{var j,f;g(!1),a!=null&&a.is_demo||t.dismiss();const l=(j=i.props.flash)==null?void 0:j.success,x=(f=i.props.flash)==null?void 0:f.error;if(l)t.success(l),u({success:!0,message:l});else if(x)t.error(x),u({success:!1,message:x});else{const C=r("Test email sent successfully to {{email}}",{email:h});t.success(C),u({success:!0,message:C})}setTimeout(()=>{u(null)},5e3)},onError:i=>{g(!1),a!=null&&a.is_demo||t.dismiss();const l=i.error||Object.values(i).join(", ")||r("Failed to send test email");t.error(l),u({success:!1,message:l}),setTimeout(()=>{u(null)},5e3)}}))};return e.jsx(q,{title:r("Email Settings"),description:r("Configure email server settings for system notifications and communications"),action:e.jsxs(E,{type:"submit",form:"email-settings-form",size:"sm",children:[e.jsx(J,{className:"h-4 w-4 mr-2"}),r("Save Changes")]}),children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-2",children:e.jsx("form",{id:"email-settings-form",onSubmit:k,children:e.jsx(w,{children:e.jsx(T,{className:"pt-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"provider",className:"font-medium",children:r("Email Provider")})]}),e.jsxs(F,{value:o.provider,onValueChange:s=>{m("provider",s),s==="smtp"?m("driver","smtp"):s==="mailgun"?m("driver","mailgun"):s==="ses"&&m("driver","ses")},children:[e.jsx(M,{children:e.jsx(A,{placeholder:"Select provider"})}),e.jsxs(P,{children:[e.jsx(p,{value:"smtp",children:"SMTP"}),e.jsx(p,{value:"mailgun",children:"Mailgun"}),e.jsx(p,{value:"ses",children:"Amazon SES"}),e.jsx(p,{value:"sendmail",children:"Sendmail"})]})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"driver",className:"font-medium",children:r("Mail Driver")})]}),e.jsx(d,{id:"driver",value:o.driver,onChange:s=>m("driver",s.target.value),placeholder:"smtp"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"host",className:"font-medium",children:r("SMTP Host")})]}),e.jsx(d,{id:"host",value:o.host,onChange:s=>m("host",s.target.value),placeholder:"smtp.example.com"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"port",className:"font-medium",children:r("SMTP Port")}),e.jsx(B,{children:e.jsxs(H,{children:[e.jsx(W,{asChild:!0,children:e.jsx(X,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(G,{children:e.jsx("p",{children:r("Common ports: 25, 465, 587, 2525")})})]})})]}),e.jsx(d,{id:"port",value:o.port,onChange:s=>m("port",s.target.value),placeholder:"587"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(D,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"username",className:"font-medium",children:r("SMTP Username")})]}),e.jsx(d,{id:"username",value:o.username,onChange:s=>m("username",s.target.value),placeholder:"user@example.com"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"password",className:"font-medium",children:r("SMTP Password")})]}),e.jsx(d,{id:"password",type:"password",value:o.password,onChange:s=>m("password",s.target.value),placeholder:"••••••••••••"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"encryption",className:"font-medium",children:r("Mail Encryption")})]}),e.jsxs(F,{value:o.encryption,onValueChange:s=>m("encryption",s),children:[e.jsx(M,{children:e.jsx(A,{placeholder:"Select encryption"})}),e.jsxs(P,{children:[e.jsx(p,{value:"tls",children:"TLS"}),e.jsx(p,{value:"ssl",children:"SSL"}),e.jsx(p,{value:"none",children:"None"})]})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"fromAddress",className:"font-medium",children:r("From Address")})]}),e.jsx(d,{id:"fromAddress",value:o.fromAddress,onChange:s=>m("fromAddress",s.target.value),placeholder:"noreply@example.com"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(D,{className:"h-4 w-4 text-muted-foreground"}),e.jsx(c,{htmlFor:"fromName",className:"font-medium",children:r("From Name")})]}),e.jsx(d,{id:"fromName",value:o.fromName,onChange:s=>m("fromName",s.target.value),placeholder:"System"})]})]})})})})}),e.jsx("div",{className:"lg:col-span-1",children:e.jsx(w,{children:e.jsx(T,{className:"pt-6",children:e.jsxs("form",{onSubmit:z,className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(R,{className:"h-4 w-4 text-primary"}),e.jsx("h3",{className:"text-base font-medium",children:r("Test Email Configuration")})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(c,{htmlFor:"testEmail",className:"font-medium",children:r("Send Test To")}),e.jsx(d,{id:"testEmail",type:"email",value:h,onChange:s=>V(s.target.value),placeholder:"test@example.com",required:!0}),e.jsx("p",{className:"text-xs text-muted-foreground",children:r("Enter an email address to send a test message")})]}),N&&e.jsx(K,{variant:N.success?"success":"destructive",className:"py-2",children:e.jsx(Q,{children:N.message})}),e.jsx(E,{type:"submit",className:"w-full",disabled:y||!h,children:y?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"animate-spin mr-2",children:"◌"}),r("Sending...")]}):e.jsxs(e.Fragment,{children:[e.jsx(R,{className:"h-4 w-4 mr-2"}),r("Send Test Email")]})})]})})})})]})})}export{pe as default}; diff --git a/public/build/assets/employee-dashboard-BkctMP3j.js b/public/build/assets/employee-dashboard-tHYcgFQh.js similarity index 92% rename from public/build/assets/employee-dashboard-BkctMP3j.js rename to public/build/assets/employee-dashboard-tHYcgFQh.js index 34f0cb73b..f8ebe55f1 100644 --- a/public/build/assets/employee-dashboard-BkctMP3j.js +++ b/public/build/assets/employee-dashboard-tHYcgFQh.js @@ -1 +1 @@ -import{r as h,j as e}from"./ui-Z445SNHD.js";import{P as G}from"./page-template-BTxLyiDA.js";import{u as J,c as K,D as Q,h as X,j as Y,k as Z,p as D,q as ee,o as W,C as f,l as j,m as B,n as H,B as C,t as l,r as P}from"./app-CfhhiFAk.js";import{R as te}from"./refresh-cw-DWorkL8J.js";import{B as se}from"./bell-DXAvb3Z0.js";import{U as re}from"./users-C4LpG59H.js";import{f as E}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */function Ve({dashboardData:s}){var O;const{t:r}=J(),{auth:g}=K().props;g!=null&&g.permissions;const[y,S]=h.useState(!1),[T,A]=h.useState(null),[M,L]=h.useState(null),[ne,ie]=h.useState(""),[R,w]=h.useState(!1),[F,I]=h.useState(""),[d,$]=h.useState(null);h.useEffect(()=>{var x,u;const t=s==null?void 0:s.todayAttendance;t&&(t.clock_in&&(A(((x=window.appSettings)==null?void 0:x.formatTime(t.clock_in))||t.clock_in),S(!t.clock_out)),t.clock_out&&L(((u=window.appSettings)==null?void 0:u.formatTime(t.clock_out))||t.clock_out));const p=setInterval(()=>{const n=s==null?void 0:s.employeeShift,i=s==null?void 0:s.todayAttendance;if(n&&(i!=null&&i.clock_in)&&!(i!=null&&i.clock_out)&&y){const c=new Date,a=new Date(`1970-01-01T${n.end_time}`);new Date(`1970-01-01T${c.getHours()}:${c.getMinutes()}:${c.getSeconds()}`)>a&&window.location.reload()}},6e4);return()=>clearInterval(p)},[s,y]);const q=()=>{l.loading(r("Fetching location and clocking in...")),navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>{k(t.coords.latitude,t.coords.longitude)},t=>{k(null,null)},{enableHighAccuracy:!0,timeout:1e4,maximumAge:0}):k(null,null)},k=(t,m,p=!1)=>{var x,u;P.post(route("hr.attendance.clock-in"),{employee_id:g.user.id,latitude:t,longitude:m,force_location:p,branch_id:((x=s==null?void 0:s.employee)==null?void 0:x.branch_id)||((u=g.user.employee)==null?void 0:u.branch_id)},{onSuccess:n=>{var i,c,a;if(l.dismiss(),(i=n.props.flash)!=null&&i.location_warning)I(n.props.flash.location_warning),$({type:"in",lat:t,lng:m}),w(!0);else if((c=n.props.flash)!=null&&c.success){S(!0);const o=new Date,v=`${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}`;A(((a=window.appSettings)==null?void 0:a.formatTime(v))||v),l.success(r(n.props.flash.success))}else l.error(r(n.props.flash.error||"Failed to clock in"))},onError:(n,i)=>{var c,a;if(l.dismiss(),(a=(c=i==null?void 0:i.props)==null?void 0:c.flash)!=null&&a.error)l.error(r(i.props.flash.error));else if(typeof n=="string")l.error(n);else if(n&&Object.keys(n).length>0){const o=Object.values(n)[0];l.error(Array.isArray(o)?o[0]:o)}else l.error(r("Failed to clock in. Please try again."))}})},z=()=>{l.loading(r("Fetching location and clocking out...")),navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>{b(t.coords.latitude,t.coords.longitude)},t=>{b(null,null)},{enableHighAccuracy:!0,timeout:1e4,maximumAge:0}):b(null,null)},b=(t,m,p=!1)=>{var x,u;P.post(route("hr.attendance.clock-out"),{employee_id:g.user.id,latitude:t,longitude:m,force_location:p,branch_id:((x=s==null?void 0:s.employee)==null?void 0:x.branch_id)||((u=g.user.employee)==null?void 0:u.branch_id)},{onSuccess:n=>{var i,c,a;if(l.dismiss(),(i=n.props.flash)!=null&&i.location_warning)I(n.props.flash.location_warning),$({type:"out",lat:t,lng:m}),w(!0);else if((c=n.props.flash)!=null&&c.success){S(!1);const o=new Date,v=`${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}`;L(((a=window.appSettings)==null?void 0:a.formatTime(v))||v),l.success(r(n.props.flash.success))}else l.error(r(n.props.flash.error||"Failed to clock out"))},onError:(n,i)=>{var c,a;if(l.dismiss(),(a=(c=i==null?void 0:i.props)==null?void 0:c.flash)!=null&&a.error)l.error(r(i.props.flash.error));else if(typeof n=="string")l.error(n);else if(n&&Object.keys(n).length>0){const o=Object.values(n)[0];l.error(Array.isArray(o)?o[0]:o)}else l.error(r("Failed to clock out. Please try again."))}})},V=[{label:r("Refresh"),icon:e.jsx(te,{className:"h-4 w-4"}),variant:"outline",onClick:()=>window.location.reload()}],_=(s==null?void 0:s.stats)||{totalAwards:0,totalWarnings:0,totalComplaints:0},N=(s==null?void 0:s.recentActivities)||{announcements:[],meetings:[]},U=t=>({approved:"bg-green-50 text-green-700 ring-green-600/20",pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"})[t]||"bg-gray-50 text-gray-700 ring-gray-600/20";return e.jsxs(G,{title:r("Dashboard"),url:"/dashboard",actions:V,children:[e.jsx(Q,{open:R,onOpenChange:w,children:e.jsxs(X,{children:[e.jsxs(Y,{children:[e.jsx(Z,{children:r("Location Warning")}),e.jsx(D,{className:"pt-2 text-base text-gray-700",children:F})]}),e.jsxs(ee,{className:"mt-4",children:[e.jsx(W,{variant:"outline",onClick:()=>w(!1),children:r("Cancel")}),e.jsx(W,{onClick:()=>{w(!1),(d==null?void 0:d.type)==="in"?k(d.lat,d.lng,!0):(d==null?void 0:d.type)==="out"&&b(d.lat,d.lng,!0)},children:r("Proceed")})]})]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"text-center",children:[e.jsxs("h1",{className:"text-2xl font-bold mb-2",children:["Welcome, ",(O=g.user)==null?void 0:O.name,"!"]}),e.jsx("p",{className:"text-muted-foreground",children:"Stay updated with company announcements and meetings"})]})})}),e.jsxs("div",{className:"grid gap-6 grid-cols-1 md:grid-cols-3",children:[e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Awards")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:_.totalAwards})]}),e.jsx("div",{className:"rounded-full bg-green-100 p-3 dark:bg-green-900",children:e.jsx("svg",{className:"h-5 w-5 text-green-600 dark:text-green-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"})})})]})})}),e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Warnings")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:_.totalWarnings})]}),e.jsx("div",{className:"rounded-full bg-yellow-100 p-3 dark:bg-yellow-900",children:e.jsx("svg",{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L4.082 16.5c-.77.833.192 2.5 1.732 2.5z"})})})]})})}),e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Complaints")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:_.totalComplaints})]}),e.jsx("div",{className:"rounded-full bg-red-100 p-3 dark:bg-red-900",children:e.jsx("svg",{className:"h-5 w-5 text-red-600 dark:text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})})]})})})]}),(s==null?void 0:s.enableClockInOut)&&e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-lg font-semibold mb-4",children:r("Attendance")}),(s==null?void 0:s.employeeShift)&&e.jsx("div",{className:"mb-4 p-3 bg-blue-50 rounded-lg border border-blue-200",children:e.jsxs("p",{className:"text-sm text-blue-600 font-medium",children:[s.employeeShift.name," ",s.employeeShift.start_time," to ",s.employeeShift.end_time]})}),e.jsxs("div",{className:"flex justify-center gap-4 mb-6",children:[e.jsxs("button",{className:`flex items-center justify-center px-8 py-4 rounded-lg font-semibold transition-colors shadow-md ${y?"bg-gray-400 cursor-not-allowed text-white":"bg-green-500 hover:bg-green-600 text-white"}`,onClick:q,disabled:y,children:[e.jsxs("svg",{className:"h-5 w-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6v6l4 2"}),e.jsx("circle",{cx:"12",cy:"12",r:"10"})]}),r("Clock In")]}),e.jsxs("button",{className:`flex items-center justify-center px-8 py-4 rounded-lg font-semibold transition-colors shadow-md ${y?"bg-red-500 hover:bg-red-600 text-white":"bg-gray-400 cursor-not-allowed text-white"}`,onClick:z,disabled:!y,children:[e.jsx("svg",{className:"h-5 w-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"})}),r("Clock Out")]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"bg-green-50 p-4 rounded-lg border border-green-200",children:[e.jsx("p",{className:"text-sm text-green-600 font-medium mb-1",children:r("Clock In Time")}),e.jsx("p",{className:"text-lg font-bold text-green-800",children:T||"--:-- --"}),e.jsx("p",{className:"text-xs text-green-600",children:T?"Today":"Not clocked in"})]}),e.jsxs("div",{className:"bg-red-50 p-4 rounded-lg border border-red-200",children:[e.jsx("p",{className:"text-sm text-red-600 font-medium mb-1",children:r("Clock Out Time")}),e.jsx("p",{className:"text-lg font-bold text-red-800",children:M||"--:-- --"}),e.jsx("p",{className:"text-xs text-red-600",children:M?"Today":"Not clocked out"})]})]})]})})}),e.jsxs("div",{className:"grid gap-6 lg:grid-cols-2",children:[e.jsxs(f,{children:[e.jsx(B,{children:e.jsxs(H,{className:"flex items-center justify-between text-lg font-semibold",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(se,{className:"h-5 w-5"}),r("Recent Announcements")]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{variant:"secondary",children:N.announcements.length}),e.jsx("button",{onClick:()=>window.location.href=route("hr.announcements.index"),className:"px-2 py-1 text-xs bg-blue-100 text-blue-700 hover:bg-blue-200 rounded-md font-medium transition-colors",children:r("View All")})]})]})}),e.jsx(j,{children:N.announcements.length>0?e.jsx("div",{className:"space-y-3 max-h-80 overflow-y-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100",children:N.announcements.map((t,m)=>e.jsx("div",{className:"flex items-center justify-between p-3 border rounded-lg",children:e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("p",{className:"font-medium",children:t.title}),t.is_high_priority&&e.jsx(C,{variant:"outline",className:"text-xs ring-1 ring-inset bg-red-50 text-red-700 ring-red-600/20",children:"High Priority"})]}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[t.category," • ",(()=>{try{return t.created_at?E(new Date(t.created_at),"MMM dd, yyyy"):"N/A"}catch{return"Invalid date"}})()]})]})},m))}):e.jsx("div",{className:"text-center py-8 text-muted-foreground",children:r("No recent announcements")})})]}),e.jsxs(f,{children:[e.jsx(B,{children:e.jsxs(H,{className:"flex items-center justify-between text-lg font-semibold",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(re,{className:"h-5 w-5"}),r("Recent Meetings")]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{variant:"secondary",children:N.meetings.length}),e.jsx("button",{onClick:()=>window.location.href=route("meetings.meetings.index"),className:"px-2 py-1 text-xs bg-blue-100 text-blue-700 hover:bg-blue-200 rounded-md font-medium transition-colors",children:r("View All")})]})]})}),e.jsx(j,{children:N.meetings.length>0?e.jsx("div",{className:"space-y-3 max-h-80 overflow-y-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100",children:N.meetings.map((t,m)=>e.jsx("div",{className:"flex items-center justify-between p-3 border rounded-lg",children:e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("p",{className:"font-medium",children:t.title}),e.jsx(C,{variant:"outline",className:`text-xs ring-1 ring-inset ${U(t.status)}`,children:t.status})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:(()=>{try{if(!t.meeting_date)return"No date set";const p=new Date(t.meeting_date);if(isNaN(p.getTime()))return"Invalid date";const x=E(p,"MMM dd, yyyy"),u=t.start_time&&t.end_time?` • ${t.start_time} - ${t.end_time}`:"";return x+u}catch{return"Invalid date"}})()})]})},m))}):e.jsx("div",{className:"text-center py-8 text-muted-foreground",children:r("No recent meetings")})})]})]})]})]})}export{Ve as default}; +import{r as h,j as e}from"./ui-Z445SNHD.js";import{P as G}from"./page-template-CLNVC8w_.js";import{u as J,c as K,D as Q,h as X,j as Y,k as Z,p as D,q as ee,o as W,C as f,l as j,m as B,n as H,B as C,t as l,r as P}from"./app-Dya84jp7.js";import{R as te}from"./refresh-cw-D_C_cDSu.js";import{B as se}from"./bell-DRg7kyzT.js";import{U as re}from"./users-BzCDZrS0.js";import{f as E}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */function Ve({dashboardData:s}){var O;const{t:r}=J(),{auth:g}=K().props;g!=null&&g.permissions;const[y,S]=h.useState(!1),[T,A]=h.useState(null),[M,L]=h.useState(null),[ne,ie]=h.useState(""),[R,w]=h.useState(!1),[F,I]=h.useState(""),[d,$]=h.useState(null);h.useEffect(()=>{var x,u;const t=s==null?void 0:s.todayAttendance;t&&(t.clock_in&&(A(((x=window.appSettings)==null?void 0:x.formatTime(t.clock_in))||t.clock_in),S(!t.clock_out)),t.clock_out&&L(((u=window.appSettings)==null?void 0:u.formatTime(t.clock_out))||t.clock_out));const p=setInterval(()=>{const n=s==null?void 0:s.employeeShift,i=s==null?void 0:s.todayAttendance;if(n&&(i!=null&&i.clock_in)&&!(i!=null&&i.clock_out)&&y){const c=new Date,a=new Date(`1970-01-01T${n.end_time}`);new Date(`1970-01-01T${c.getHours()}:${c.getMinutes()}:${c.getSeconds()}`)>a&&window.location.reload()}},6e4);return()=>clearInterval(p)},[s,y]);const q=()=>{l.loading(r("Fetching location and clocking in...")),navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>{k(t.coords.latitude,t.coords.longitude)},t=>{k(null,null)},{enableHighAccuracy:!0,timeout:1e4,maximumAge:0}):k(null,null)},k=(t,m,p=!1)=>{var x,u;P.post(route("hr.attendance.clock-in"),{employee_id:g.user.id,latitude:t,longitude:m,force_location:p,branch_id:((x=s==null?void 0:s.employee)==null?void 0:x.branch_id)||((u=g.user.employee)==null?void 0:u.branch_id)},{onSuccess:n=>{var i,c,a;if(l.dismiss(),(i=n.props.flash)!=null&&i.location_warning)I(n.props.flash.location_warning),$({type:"in",lat:t,lng:m}),w(!0);else if((c=n.props.flash)!=null&&c.success){S(!0);const o=new Date,v=`${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}`;A(((a=window.appSettings)==null?void 0:a.formatTime(v))||v),l.success(r(n.props.flash.success))}else l.error(r(n.props.flash.error||"Failed to clock in"))},onError:(n,i)=>{var c,a;if(l.dismiss(),(a=(c=i==null?void 0:i.props)==null?void 0:c.flash)!=null&&a.error)l.error(r(i.props.flash.error));else if(typeof n=="string")l.error(n);else if(n&&Object.keys(n).length>0){const o=Object.values(n)[0];l.error(Array.isArray(o)?o[0]:o)}else l.error(r("Failed to clock in. Please try again."))}})},z=()=>{l.loading(r("Fetching location and clocking out...")),navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>{b(t.coords.latitude,t.coords.longitude)},t=>{b(null,null)},{enableHighAccuracy:!0,timeout:1e4,maximumAge:0}):b(null,null)},b=(t,m,p=!1)=>{var x,u;P.post(route("hr.attendance.clock-out"),{employee_id:g.user.id,latitude:t,longitude:m,force_location:p,branch_id:((x=s==null?void 0:s.employee)==null?void 0:x.branch_id)||((u=g.user.employee)==null?void 0:u.branch_id)},{onSuccess:n=>{var i,c,a;if(l.dismiss(),(i=n.props.flash)!=null&&i.location_warning)I(n.props.flash.location_warning),$({type:"out",lat:t,lng:m}),w(!0);else if((c=n.props.flash)!=null&&c.success){S(!1);const o=new Date,v=`${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}`;L(((a=window.appSettings)==null?void 0:a.formatTime(v))||v),l.success(r(n.props.flash.success))}else l.error(r(n.props.flash.error||"Failed to clock out"))},onError:(n,i)=>{var c,a;if(l.dismiss(),(a=(c=i==null?void 0:i.props)==null?void 0:c.flash)!=null&&a.error)l.error(r(i.props.flash.error));else if(typeof n=="string")l.error(n);else if(n&&Object.keys(n).length>0){const o=Object.values(n)[0];l.error(Array.isArray(o)?o[0]:o)}else l.error(r("Failed to clock out. Please try again."))}})},V=[{label:r("Refresh"),icon:e.jsx(te,{className:"h-4 w-4"}),variant:"outline",onClick:()=>window.location.reload()}],_=(s==null?void 0:s.stats)||{totalAwards:0,totalWarnings:0,totalComplaints:0},N=(s==null?void 0:s.recentActivities)||{announcements:[],meetings:[]},U=t=>({approved:"bg-green-50 text-green-700 ring-green-600/20",pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"})[t]||"bg-gray-50 text-gray-700 ring-gray-600/20";return e.jsxs(G,{title:r("Dashboard"),url:"/dashboard",actions:V,children:[e.jsx(Q,{open:R,onOpenChange:w,children:e.jsxs(X,{children:[e.jsxs(Y,{children:[e.jsx(Z,{children:r("Location Warning")}),e.jsx(D,{className:"pt-2 text-base text-gray-700",children:F})]}),e.jsxs(ee,{className:"mt-4",children:[e.jsx(W,{variant:"outline",onClick:()=>w(!1),children:r("Cancel")}),e.jsx(W,{onClick:()=>{w(!1),(d==null?void 0:d.type)==="in"?k(d.lat,d.lng,!0):(d==null?void 0:d.type)==="out"&&b(d.lat,d.lng,!0)},children:r("Proceed")})]})]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"text-center",children:[e.jsxs("h1",{className:"text-2xl font-bold mb-2",children:["Welcome, ",(O=g.user)==null?void 0:O.name,"!"]}),e.jsx("p",{className:"text-muted-foreground",children:"Stay updated with company announcements and meetings"})]})})}),e.jsxs("div",{className:"grid gap-6 grid-cols-1 md:grid-cols-3",children:[e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Awards")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:_.totalAwards})]}),e.jsx("div",{className:"rounded-full bg-green-100 p-3 dark:bg-green-900",children:e.jsx("svg",{className:"h-5 w-5 text-green-600 dark:text-green-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"})})})]})})}),e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Warnings")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:_.totalWarnings})]}),e.jsx("div",{className:"rounded-full bg-yellow-100 p-3 dark:bg-yellow-900",children:e.jsx("svg",{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L4.082 16.5c-.77.833.192 2.5 1.732 2.5z"})})})]})})}),e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Complaints")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:_.totalComplaints})]}),e.jsx("div",{className:"rounded-full bg-red-100 p-3 dark:bg-red-900",children:e.jsx("svg",{className:"h-5 w-5 text-red-600 dark:text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})})]})})})]}),(s==null?void 0:s.enableClockInOut)&&e.jsx(f,{children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-lg font-semibold mb-4",children:r("Attendance")}),(s==null?void 0:s.employeeShift)&&e.jsx("div",{className:"mb-4 p-3 bg-blue-50 rounded-lg border border-blue-200",children:e.jsxs("p",{className:"text-sm text-blue-600 font-medium",children:[s.employeeShift.name," ",s.employeeShift.start_time," to ",s.employeeShift.end_time]})}),e.jsxs("div",{className:"flex justify-center gap-4 mb-6",children:[e.jsxs("button",{className:`flex items-center justify-center px-8 py-4 rounded-lg font-semibold transition-colors shadow-md ${y?"bg-gray-400 cursor-not-allowed text-white":"bg-green-500 hover:bg-green-600 text-white"}`,onClick:q,disabled:y,children:[e.jsxs("svg",{className:"h-5 w-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6v6l4 2"}),e.jsx("circle",{cx:"12",cy:"12",r:"10"})]}),r("Clock In")]}),e.jsxs("button",{className:`flex items-center justify-center px-8 py-4 rounded-lg font-semibold transition-colors shadow-md ${y?"bg-red-500 hover:bg-red-600 text-white":"bg-gray-400 cursor-not-allowed text-white"}`,onClick:z,disabled:!y,children:[e.jsx("svg",{className:"h-5 w-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"})}),r("Clock Out")]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"bg-green-50 p-4 rounded-lg border border-green-200",children:[e.jsx("p",{className:"text-sm text-green-600 font-medium mb-1",children:r("Clock In Time")}),e.jsx("p",{className:"text-lg font-bold text-green-800",children:T||"--:-- --"}),e.jsx("p",{className:"text-xs text-green-600",children:T?"Today":"Not clocked in"})]}),e.jsxs("div",{className:"bg-red-50 p-4 rounded-lg border border-red-200",children:[e.jsx("p",{className:"text-sm text-red-600 font-medium mb-1",children:r("Clock Out Time")}),e.jsx("p",{className:"text-lg font-bold text-red-800",children:M||"--:-- --"}),e.jsx("p",{className:"text-xs text-red-600",children:M?"Today":"Not clocked out"})]})]})]})})}),e.jsxs("div",{className:"grid gap-6 lg:grid-cols-2",children:[e.jsxs(f,{children:[e.jsx(B,{children:e.jsxs(H,{className:"flex items-center justify-between text-lg font-semibold",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(se,{className:"h-5 w-5"}),r("Recent Announcements")]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{variant:"secondary",children:N.announcements.length}),e.jsx("button",{onClick:()=>window.location.href=route("hr.announcements.index"),className:"px-2 py-1 text-xs bg-blue-100 text-blue-700 hover:bg-blue-200 rounded-md font-medium transition-colors",children:r("View All")})]})]})}),e.jsx(j,{children:N.announcements.length>0?e.jsx("div",{className:"space-y-3 max-h-80 overflow-y-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100",children:N.announcements.map((t,m)=>e.jsx("div",{className:"flex items-center justify-between p-3 border rounded-lg",children:e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("p",{className:"font-medium",children:t.title}),t.is_high_priority&&e.jsx(C,{variant:"outline",className:"text-xs ring-1 ring-inset bg-red-50 text-red-700 ring-red-600/20",children:"High Priority"})]}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[t.category," • ",(()=>{try{return t.created_at?E(new Date(t.created_at),"MMM dd, yyyy"):"N/A"}catch{return"Invalid date"}})()]})]})},m))}):e.jsx("div",{className:"text-center py-8 text-muted-foreground",children:r("No recent announcements")})})]}),e.jsxs(f,{children:[e.jsx(B,{children:e.jsxs(H,{className:"flex items-center justify-between text-lg font-semibold",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(re,{className:"h-5 w-5"}),r("Recent Meetings")]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{variant:"secondary",children:N.meetings.length}),e.jsx("button",{onClick:()=>window.location.href=route("meetings.meetings.index"),className:"px-2 py-1 text-xs bg-blue-100 text-blue-700 hover:bg-blue-200 rounded-md font-medium transition-colors",children:r("View All")})]})]})}),e.jsx(j,{children:N.meetings.length>0?e.jsx("div",{className:"space-y-3 max-h-80 overflow-y-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100",children:N.meetings.map((t,m)=>e.jsx("div",{className:"flex items-center justify-between p-3 border rounded-lg",children:e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("p",{className:"font-medium",children:t.title}),e.jsx(C,{variant:"outline",className:`text-xs ring-1 ring-inset ${U(t.status)}`,children:t.status})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:(()=>{try{if(!t.meeting_date)return"No date set";const p=new Date(t.meeting_date);if(isNaN(p.getTime()))return"Invalid date";const x=E(p,"MMM dd, yyyy"),u=t.start_time&&t.end_time?` • ${t.start_time} - ${t.end_time}`:"";return x+u}catch{return"Invalid date"}})()})]})},m))}):e.jsx("div",{className:"text-center py-8 text-muted-foreground",children:r("No recent meetings")})})]})]})]})]})}export{Ve as default}; diff --git a/public/build/assets/expenses-BdrPMJrA.js b/public/build/assets/expenses-JeSgrSam.js similarity index 69% rename from public/build/assets/expenses-BdrPMJrA.js rename to public/build/assets/expenses-JeSgrSam.js index 998b116e5..ffd2cde15 100644 --- a/public/build/assets/expenses-BdrPMJrA.js +++ b/public/build/assets/expenses-JeSgrSam.js @@ -1 +1 @@ -import{r as m,j as t}from"./ui-Z445SNHD.js";import{P as L}from"./page-template-BTxLyiDA.js";import{u as V,c as $,r as d,x as C,P as B,o as G,C as h,m as y,n as j,z,l as k,M as I,t as i}from"./app-CfhhiFAk.js";import{C as Y}from"./CrudTable-qPWooc10.js";import{C as H}from"./CrudFormModal-DAR9q-oM.js";import{C as J}from"./CrudDeleteModal-CKTiD3_K.js";import{A as K}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function _r(){var v,S,D;const{t:e}=V(),{auth:c,trip:o,expenses:x}=$().props,u=(c==null?void 0:c.permissions)||[],[E,g]=m.useState(!1),[A,n]=m.useState(!1),[p,w]=m.useState(null),[l,b]=m.useState("create"),N=(r,a)=>{switch(w(a),r){case"view":b("view"),n(!0);break;case"edit":b("edit"),n(!0);break;case"delete":g(!0);break;case"download-receipt":window.open(route("hr.trips.expenses.download-receipt",[o.id,a.id]),"_blank");break}},P=()=>{w(null),b("create"),n(!0)},T=r=>{const a=r;l==="create"?(i.loading(e("Adding expense...")),d.post(route("hr.trips.expenses.store",o.id),a,{onSuccess:s=>{n(!1),i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error))},onError:s=>{i.dismiss(),typeof s=="string"?i.error(e(s)):i.error(e("Failed to add expense: {{errors}}",{errors:Object.values(s).join(", ")}))}})):l==="edit"&&(i.loading(e("Updating expense...")),d.put(route("hr.trips.expenses.update",[o.id,p.id]),a,{onSuccess:s=>{n(!1),i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error))},onError:s=>{i.dismiss(),typeof s=="string"?i.error(e(s)):i.error(e("Failed to update expense: {{errors}}",{errors:Object.values(s).join(", ")}))}}))},_=()=>{i.loading(e("Deleting expense...")),d.delete(route("hr.trips.expenses.destroy",[o.id,p.id]),{onSuccess:r=>{g(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to delete expense: {{errors}}",{errors:Object.values(r).join(", ")}))}})},f=[];f.push({label:e("Back"),icon:t.jsx(K,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>d.get(route("hr.trips.index"))}),C(u,"manage-trip-expenses")&&f.push({label:e("Add Expense"),icon:t.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>P()});const R=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.trips.index")},{title:e("Trips"),href:route("hr.trips.index")},{title:e("Trip Expenses")}],M=[{key:"expense_type",label:e("Type"),render:(r,a,s)=>r||"-"},{key:"expense_date",label:e("Date"),render:r=>{var a;return r?((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(r,!1))||new Date(r).toLocaleString():"-"}},{key:"amount",label:e("Amount"),render:(r,a)=>r?window.appSettings.formatCurrency(r):"-"},{key:"description",label:e("Description"),render:r=>r||"-"},{key:"is_reimbursable",label:e("Reimbursable"),render:r=>r?t.jsx("span",{className:"inline-flex items-center rounded-md bg-green-50 px-2 py-1 text-xs font-medium text-green-700 ring-1 ring-inset ring-green-600/20",children:e("Yes")}):t.jsx("span",{className:"inline-flex items-center rounded-md bg-red-50 px-2 py-1 text-xs font-medium text-red-700 ring-1 ring-inset ring-red-600/20",children:e("No")})},{key:"status",label:e("Status"),render:r=>{const a={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a[r]||""}`,children:r.charAt(0).toUpperCase()+r.slice(1)})}},{key:"receipt",label:e("Receipt"),render:(r,a)=>r&&r.trim()!==""?t.jsx(G,{variant:"outline",size:"sm",className:"flex items-center text-blue-500",onClick:s=>{s.stopPropagation(),N("download-receipt",a)},children:e("View Receipt")}):"-"}],F=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"manage-trip-expenses"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"manage-trip-expenses"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"manage-trip-expenses"}],U=x.reduce((r,a)=>r+parseFloat(a.amount),0),O=x.filter(r=>r.is_reimbursable).reduce((r,a)=>r+parseFloat(a.amount),0);return t.jsxs(L,{title:`${e("Trip Expenses")} - ${o.purpose}`,url:"/hr/trips/expenses",actions:f,breadcrumbs:R,children:[t.jsxs(h,{className:"mb-6",children:[t.jsxs(y,{children:[t.jsx(j,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Trip Details")}),t.jsx(z,{children:e("Information about the trip")})]}),t.jsx(k,{children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Employee")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:((v=o.employee)==null?void 0:v.name)||"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Destination")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.destination||"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Purpose")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.purpose||"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Start Date")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.start_date?((S=window.appSettings)==null?void 0:S.formatDateTimeSimple(o.start_date,!1))||new Date(o.start_date).toLocaleString():"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("End Date")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.end_date?((D=window.appSettings)==null?void 0:D.formatDateTimeSimple(o.end_date,!1))||new Date(o.end_date).toLocaleString():"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Status")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.status?o.status.charAt(0).toUpperCase()+o.status.slice(1):"-"})]})]})})]}),t.jsxs(h,{className:"mb-6",children:[t.jsx(y,{children:t.jsx(j,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Expense Summary")})}),t.jsx(k,{children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[t.jsxs("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-4 rounded-lg",children:[t.jsx("p",{className:"text-xs font-semibold text-blue-700 dark:text-blue-400 uppercase tracking-wide mb-2",children:e("Total Expenses")}),t.jsx("p",{className:"text-xl font-bold text-blue-900 dark:text-blue-100",children:window.appSettings.formatCurrency(U)})]}),t.jsxs("div",{className:"bg-green-50 dark:bg-green-900/20 p-4 rounded-lg",children:[t.jsx("p",{className:"text-xs font-semibold text-green-700 dark:text-green-400 uppercase tracking-wide mb-2",children:e("Reimbursable")}),t.jsx("p",{className:"text-xl font-bold text-green-900 dark:text-green-100",children:window.appSettings.formatCurrency(O)})]}),t.jsxs("div",{className:"bg-purple-50 dark:bg-purple-900/20 p-4 rounded-lg",children:[t.jsx("p",{className:"text-xs font-semibold text-purple-700 dark:text-purple-400 uppercase tracking-wide mb-2",children:e("Advance Amount")}),t.jsx("p",{className:"text-xl font-bold text-purple-900 dark:text-purple-100",children:window.appSettings.formatCurrency(o.advance_amount||0)})]})]})})]}),t.jsxs(h,{children:[t.jsx(y,{children:t.jsx(j,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Expense List")})}),t.jsx(k,{children:t.jsx(Y,{columns:M,actions:F,data:x||[],from:1,onAction:N,permissions:u,entityPermissions:{view:"manage-trip-expenses",create:"manage-trip-expenses",edit:"manage-trip-expenses",delete:"manage-trip-expenses"}})})]}),t.jsx(H,{isOpen:A,onClose:()=>n(!1),onSubmit:T,formConfig:{fields:[{name:"expense_type",label:e("Expense Type"),type:"select",required:!0,options:[{value:"Transportation",label:e("Transportation")},{value:"Accommodation",label:e("Accommodation")},{value:"Meals",label:e("Meals")},{value:"Registration Fees",label:e("Registration Fees")},{value:"Entertainment",label:e("Entertainment")},{value:"Miscellaneous",label:e("Miscellaneous")}]},{name:"expense_date",label:e("Expense Date"),type:"date",required:!0},{name:"amount",label:e("Amount"),type:"number",required:!0,min:0,step:.01},{name:"currency",label:e("Currency"),type:"select",required:!0,options:[{value:"USD",label:"USD"},{value:"EUR",label:"EUR"},{value:"GBP",label:"GBP"},{value:"JPY",label:"JPY"},{value:"AUD",label:"AUD"},{value:"CAD",label:"CAD"},{value:"SGD",label:"SGD"},{value:"AED",label:"AED"},{value:"INR",label:"INR"}],defaultValue:"USD"},{name:"description",label:e("Description"),type:"textarea"},{name:"receipt",label:e("Receipt"),type:"custom",render:(r,a,s)=>t.jsx(I,{value:String(a[r.name]||""),onChange:q=>s(r.name,q),placeholder:e("Select receipt file...")})},{name:"is_reimbursable",label:e("Reimbursable"),type:"checkbox",defaultValue:!0},...l==="edit"&&C(u,"approve-trip-expenses")?[{name:"status",label:e("Status"),type:"select",options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}]}]:[]],modalSize:"md"},initialData:p,title:e(l==="create"?"Add New Expense":l==="edit"?"Edit Expense":"View Expense"),mode:l}),t.jsx(J,{isOpen:E,onClose:()=>g(!1),onConfirm:_,itemName:`${(p==null?void 0:p.expense_type)||""} - ${(p==null?void 0:p.amount)||""}`,entityName:"expense"})]})}export{_r as default}; +import{r as m,j as t}from"./ui-Z445SNHD.js";import{P as L}from"./page-template-CLNVC8w_.js";import{u as V,c as $,r as d,x as C,P as B,o as G,C as h,m as y,n as j,z,l as k,M as I,t as i}from"./app-Dya84jp7.js";import{C as Y}from"./CrudTable-yqxtM6E_.js";import{C as H}from"./CrudFormModal-CsuqSfb2.js";import{C as J}from"./CrudDeleteModal-D32N6I8y.js";import{A as K}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function _r(){var v,S,D;const{t:e}=V(),{auth:c,trip:o,expenses:x}=$().props,u=(c==null?void 0:c.permissions)||[],[E,g]=m.useState(!1),[A,n]=m.useState(!1),[p,w]=m.useState(null),[l,b]=m.useState("create"),N=(r,a)=>{switch(w(a),r){case"view":b("view"),n(!0);break;case"edit":b("edit"),n(!0);break;case"delete":g(!0);break;case"download-receipt":window.open(route("hr.trips.expenses.download-receipt",[o.id,a.id]),"_blank");break}},P=()=>{w(null),b("create"),n(!0)},T=r=>{const a=r;l==="create"?(i.loading(e("Adding expense...")),d.post(route("hr.trips.expenses.store",o.id),a,{onSuccess:s=>{n(!1),i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error))},onError:s=>{i.dismiss(),typeof s=="string"?i.error(e(s)):i.error(e("Failed to add expense: {{errors}}",{errors:Object.values(s).join(", ")}))}})):l==="edit"&&(i.loading(e("Updating expense...")),d.put(route("hr.trips.expenses.update",[o.id,p.id]),a,{onSuccess:s=>{n(!1),i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error))},onError:s=>{i.dismiss(),typeof s=="string"?i.error(e(s)):i.error(e("Failed to update expense: {{errors}}",{errors:Object.values(s).join(", ")}))}}))},_=()=>{i.loading(e("Deleting expense...")),d.delete(route("hr.trips.expenses.destroy",[o.id,p.id]),{onSuccess:r=>{g(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to delete expense: {{errors}}",{errors:Object.values(r).join(", ")}))}})},f=[];f.push({label:e("Back"),icon:t.jsx(K,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>d.get(route("hr.trips.index"))}),C(u,"manage-trip-expenses")&&f.push({label:e("Add Expense"),icon:t.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>P()});const R=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.trips.index")},{title:e("Trips"),href:route("hr.trips.index")},{title:e("Trip Expenses")}],M=[{key:"expense_type",label:e("Type"),render:(r,a,s)=>r||"-"},{key:"expense_date",label:e("Date"),render:r=>{var a;return r?((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(r,!1))||new Date(r).toLocaleString():"-"}},{key:"amount",label:e("Amount"),render:(r,a)=>r?window.appSettings.formatCurrency(r):"-"},{key:"description",label:e("Description"),render:r=>r||"-"},{key:"is_reimbursable",label:e("Reimbursable"),render:r=>r?t.jsx("span",{className:"inline-flex items-center rounded-md bg-green-50 px-2 py-1 text-xs font-medium text-green-700 ring-1 ring-inset ring-green-600/20",children:e("Yes")}):t.jsx("span",{className:"inline-flex items-center rounded-md bg-red-50 px-2 py-1 text-xs font-medium text-red-700 ring-1 ring-inset ring-red-600/20",children:e("No")})},{key:"status",label:e("Status"),render:r=>{const a={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a[r]||""}`,children:r.charAt(0).toUpperCase()+r.slice(1)})}},{key:"receipt",label:e("Receipt"),render:(r,a)=>r&&r.trim()!==""?t.jsx(G,{variant:"outline",size:"sm",className:"flex items-center text-blue-500",onClick:s=>{s.stopPropagation(),N("download-receipt",a)},children:e("View Receipt")}):"-"}],F=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"manage-trip-expenses"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"manage-trip-expenses"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"manage-trip-expenses"}],U=x.reduce((r,a)=>r+parseFloat(a.amount),0),O=x.filter(r=>r.is_reimbursable).reduce((r,a)=>r+parseFloat(a.amount),0);return t.jsxs(L,{title:`${e("Trip Expenses")} - ${o.purpose}`,url:"/hr/trips/expenses",actions:f,breadcrumbs:R,children:[t.jsxs(h,{className:"mb-6",children:[t.jsxs(y,{children:[t.jsx(j,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Trip Details")}),t.jsx(z,{children:e("Information about the trip")})]}),t.jsx(k,{children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Employee")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:((v=o.employee)==null?void 0:v.name)||"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Destination")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.destination||"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Purpose")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.purpose||"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Start Date")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.start_date?((S=window.appSettings)==null?void 0:S.formatDateTimeSimple(o.start_date,!1))||new Date(o.start_date).toLocaleString():"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("End Date")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.end_date?((D=window.appSettings)==null?void 0:D.formatDateTimeSimple(o.end_date,!1))||new Date(o.end_date).toLocaleString():"-"})]}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:e("Status")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:o.status?o.status.charAt(0).toUpperCase()+o.status.slice(1):"-"})]})]})})]}),t.jsxs(h,{className:"mb-6",children:[t.jsx(y,{children:t.jsx(j,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Expense Summary")})}),t.jsx(k,{children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[t.jsxs("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-4 rounded-lg",children:[t.jsx("p",{className:"text-xs font-semibold text-blue-700 dark:text-blue-400 uppercase tracking-wide mb-2",children:e("Total Expenses")}),t.jsx("p",{className:"text-xl font-bold text-blue-900 dark:text-blue-100",children:window.appSettings.formatCurrency(U)})]}),t.jsxs("div",{className:"bg-green-50 dark:bg-green-900/20 p-4 rounded-lg",children:[t.jsx("p",{className:"text-xs font-semibold text-green-700 dark:text-green-400 uppercase tracking-wide mb-2",children:e("Reimbursable")}),t.jsx("p",{className:"text-xl font-bold text-green-900 dark:text-green-100",children:window.appSettings.formatCurrency(O)})]}),t.jsxs("div",{className:"bg-purple-50 dark:bg-purple-900/20 p-4 rounded-lg",children:[t.jsx("p",{className:"text-xs font-semibold text-purple-700 dark:text-purple-400 uppercase tracking-wide mb-2",children:e("Advance Amount")}),t.jsx("p",{className:"text-xl font-bold text-purple-900 dark:text-purple-100",children:window.appSettings.formatCurrency(o.advance_amount||0)})]})]})})]}),t.jsxs(h,{children:[t.jsx(y,{children:t.jsx(j,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Expense List")})}),t.jsx(k,{children:t.jsx(Y,{columns:M,actions:F,data:x||[],from:1,onAction:N,permissions:u,entityPermissions:{view:"manage-trip-expenses",create:"manage-trip-expenses",edit:"manage-trip-expenses",delete:"manage-trip-expenses"}})})]}),t.jsx(H,{isOpen:A,onClose:()=>n(!1),onSubmit:T,formConfig:{fields:[{name:"expense_type",label:e("Expense Type"),type:"select",required:!0,options:[{value:"Transportation",label:e("Transportation")},{value:"Accommodation",label:e("Accommodation")},{value:"Meals",label:e("Meals")},{value:"Registration Fees",label:e("Registration Fees")},{value:"Entertainment",label:e("Entertainment")},{value:"Miscellaneous",label:e("Miscellaneous")}]},{name:"expense_date",label:e("Expense Date"),type:"date",required:!0},{name:"amount",label:e("Amount"),type:"number",required:!0,min:0,step:.01},{name:"currency",label:e("Currency"),type:"select",required:!0,options:[{value:"USD",label:"USD"},{value:"EUR",label:"EUR"},{value:"GBP",label:"GBP"},{value:"JPY",label:"JPY"},{value:"AUD",label:"AUD"},{value:"CAD",label:"CAD"},{value:"SGD",label:"SGD"},{value:"AED",label:"AED"},{value:"INR",label:"INR"}],defaultValue:"USD"},{name:"description",label:e("Description"),type:"textarea"},{name:"receipt",label:e("Receipt"),type:"custom",render:(r,a,s)=>t.jsx(I,{value:String(a[r.name]||""),onChange:q=>s(r.name,q),placeholder:e("Select receipt file...")})},{name:"is_reimbursable",label:e("Reimbursable"),type:"checkbox",defaultValue:!0},...l==="edit"&&C(u,"approve-trip-expenses")?[{name:"status",label:e("Status"),type:"select",options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}]}]:[]],modalSize:"md"},initialData:p,title:e(l==="create"?"Add New Expense":l==="edit"?"Edit Expense":"View Expense"),mode:l}),t.jsx(J,{isOpen:E,onClose:()=>g(!1),onConfirm:_,itemName:`${(p==null?void 0:p.expense_type)||""} - ${(p==null?void 0:p.amount)||""}`,entityName:"expense"})]})}export{_r as default}; diff --git a/public/build/assets/experience-certificate-settings-BUN-EjHN.js b/public/build/assets/experience-certificate-settings-DVg3g6Wh.js similarity index 90% rename from public/build/assets/experience-certificate-settings-BUN-EjHN.js rename to public/build/assets/experience-certificate-settings-DVg3g6Wh.js index 8d9bc79e5..1c047dd2f 100644 --- a/public/build/assets/experience-certificate-settings-BUN-EjHN.js +++ b/public/build/assets/experience-certificate-settings-DVg3g6Wh.js @@ -1,4 +1,4 @@ -import{r as n,j as e}from"./ui-Z445SNHD.js";import{u as T,c as k,ap as P,C as L,m as D,l as M,L as x,al as g,s as f,v as j,w as y,o as I,y as R,r as F,t as o}from"./app-CfhhiFAk.js";import{S as H,a as J,b as O,c as U,d as V}from"./select-BrY9osYp.js";import{R as W}from"./rich-text-editor-6rkrWVFe.js";import{R as z}from"./react-country-flag.esm-Bs2jngHP.js";import{I as v}from"./info-D_4wnc_R.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./unlink-BUU37FwK.js";import"./list-D0MAUZMV.js";import"./quote-CVpLTvYv.js";import"./link-Bv_VEBSZ.js";import"./code-BfjQUpEO.js";function le({templates:l=[]}){const{t:r}=T(),{globalSettings:d}=k().props,b=(d==null?void 0:d.availableLanguages)||[],[t,C]=n.useState("en"),[p,c]=n.useState(""),[u,m]=n.useState(!1),[N,h]=n.useState(0),S=(()=>{const s=l.find(a=>a.language===t);return s!=null&&s.variables?(typeof s.variables=="string"?JSON.parse(s.variables):s.variables).map(i=>({key:i.replace(/_/g," ").replace(/\b\w/g,E=>E.toUpperCase()),label:`{${i}}`})):[{key:"Date",label:"{date}"},{key:"Company Name",label:"{company_name}"},{key:"Employee Name",label:"{employee_name}"},{key:"Designation",label:"{designation}"},{key:"Joining Date",label:"{joining_date}"},{key:"Leaving Date",label:"{leaving_date}"}]})(),w=` +import{r as n,j as e}from"./ui-Z445SNHD.js";import{u as T,c as k,ap as P,C as L,m as D,l as M,L as x,al as g,s as f,v as j,w as y,o as I,y as R,r as F,t as o}from"./app-Dya84jp7.js";import{S as H,a as J,b as O,c as U,d as V}from"./select-CHkpLxhL.js";import{R as W}from"./rich-text-editor-uObNYFW4.js";import{R as z}from"./react-country-flag.esm-Bs2jngHP.js";import{I as v}from"./info-CPi9bOGM.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./unlink-BLQWL2NW.js";import"./list-C_2fG_BT.js";import"./quote-BmDTOIsR.js";import"./link-DXJwkkHX.js";import"./code-znlKMFkF.js";function le({templates:l=[]}){const{t:r}=T(),{globalSettings:d}=k().props,b=(d==null?void 0:d.availableLanguages)||[],[t,C]=n.useState("en"),[p,c]=n.useState(""),[u,m]=n.useState(!1),[N,h]=n.useState(0),S=(()=>{const s=l.find(a=>a.language===t);return s!=null&&s.variables?(typeof s.variables=="string"?JSON.parse(s.variables):s.variables).map(i=>({key:i.replace(/_/g," ").replace(/\b\w/g,E=>E.toUpperCase()),label:`{${i}}`})):[{key:"Date",label:"{date}"},{key:"Company Name",label:"{company_name}"},{key:"Employee Name",label:"{employee_name}"},{key:"Designation",label:"{designation}"},{key:"Joining Date",label:"{joining_date}"},{key:"Leaving Date",label:"{leaving_date}"}]})(),w=`

Experience Certificate

Date: {date}

diff --git a/public/build/assets/external-link-QgK5Wt8A.js b/public/build/assets/external-link-Cr5OfBdg.js similarity index 90% rename from public/build/assets/external-link-QgK5Wt8A.js rename to public/build/assets/external-link-Cr5OfBdg.js index 0e1a67b3d..67344ec92 100644 --- a/public/build/assets/external-link-QgK5Wt8A.js +++ b/public/build/assets/external-link-Cr5OfBdg.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/eye--FVGKpVp.js b/public/build/assets/eye-CCNnMtu4.js similarity index 90% rename from public/build/assets/eye--FVGKpVp.js rename to public/build/assets/eye-CCNnMtu4.js index 00f859c25..e534d8e73 100644 --- a/public/build/assets/eye--FVGKpVp.js +++ b/public/build/assets/eye-CCNnMtu4.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/eye-off-CTWV_K-G.js b/public/build/assets/eye-off-C7-ukqyH.js similarity index 93% rename from public/build/assets/eye-off-CTWV_K-G.js rename to public/build/assets/eye-off-C7-ukqyH.js index 8e6b3acf5..859d6b135 100644 --- a/public/build/assets/eye-off-CTWV_K-G.js +++ b/public/build/assets/eye-off-C7-ukqyH.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/file-down-Dd8zePUY.js b/public/build/assets/file-down-DO17xCrw.js similarity index 91% rename from public/build/assets/file-down-Dd8zePUY.js rename to public/build/assets/file-down-DO17xCrw.js index 35dfad884..991eb7b72 100644 --- a/public/build/assets/file-down-Dd8zePUY.js +++ b/public/build/assets/file-down-DO17xCrw.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/file-up-BGHgeTEG.js b/public/build/assets/file-up-mHt_z-hD.js similarity index 91% rename from public/build/assets/file-up-BGHgeTEG.js rename to public/build/assets/file-up-mHt_z-hD.js index 6ab4f0586..ebffc1dae 100644 --- a/public/build/assets/file-up-BGHgeTEG.js +++ b/public/build/assets/file-up-mHt_z-hD.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/filter-uErFRSPT.js b/public/build/assets/filter-BTHjyusi.js similarity index 87% rename from public/build/assets/filter-uErFRSPT.js rename to public/build/assets/filter-BTHjyusi.js index 66c6be553..87566c996 100644 --- a/public/build/assets/filter-uErFRSPT.js +++ b/public/build/assets/filter-BTHjyusi.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/fingerprint-DTUiU2wR.js b/public/build/assets/fingerprint-aH6d8cFa.js similarity index 94% rename from public/build/assets/fingerprint-DTUiU2wR.js rename to public/build/assets/fingerprint-aH6d8cFa.js index 66ee04da8..1e0c1933f 100644 --- a/public/build/assets/fingerprint-DTUiU2wR.js +++ b/public/build/assets/fingerprint-aH6d8cFa.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/forgot-password-yxbZL-Fe.js b/public/build/assets/forgot-password-HE1521nu.js similarity index 74% rename from public/build/assets/forgot-password-yxbZL-Fe.js rename to public/build/assets/forgot-password-HE1521nu.js index ed0c5a885..3fe323d72 100644 --- a/public/build/assets/forgot-password-yxbZL-Fe.js +++ b/public/build/assets/forgot-password-HE1521nu.js @@ -1 +1 @@ -import{r as h,j as e}from"./ui-Z445SNHD.js";import{u as y,a as b,b as f,L as g,I as j,T as w}from"./app-CfhhiFAk.js";import{I as k}from"./input-error-TZ1o_PqE.js";import{T as E}from"./text-link-CgVy1bNC.js";import{A as v}from"./auth-layout-ISq1MRqV.js";import{R as C}from"./recaptcha-D-hXS7fB.js";import{M as N}from"./mail-CGIE7ZEy.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./use-favicon-Dgw0iu9k.js";import"./credit-card-BmdpMcMw.js";function K({status:l}){const{t:r}=y(),[n,s]=h.useState(""),{themeColor:a,customColor:c}=b(),t=a==="custom"?c:w[a],{data:i,setData:d,post:p,processing:m,errors:u}=f({email:""}),x=o=>{o.preventDefault(),p(route("password.email"),{data:{...i,recaptcha_token:n}})};return e.jsx(v,{title:r("Forgot your password?"),description:r("Enter your email to receive a password reset link"),icon:e.jsx(N,{className:"h-7 w-7",style:{color:t}}),status:l,children:e.jsxs("form",{className:"space-y-5",onSubmit:x,children:[e.jsxs("div",{className:"mb-4",children:[e.jsx(g,{htmlFor:"email",className:"block text-sm font-medium text-gray-900",children:r("Email address")}),e.jsx(j,{id:"email",type:"email",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"email",value:i.email,onChange:o=>d("email",o.target.value),placeholder:"Enter your email",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:o=>o.target.style.borderColor=t,onBlur:o=>o.target.style.borderColor="rgb(209 213 219)"}),e.jsx(k,{message:u.email})]}),e.jsx(C,{onVerify:s,onExpired:()=>s(""),onError:()=>s("")}),e.jsx("button",{type:"submit",disabled:m,tabIndex:2,className:"cursor-pointer w-full text-white py-2.5 text-sm font-medium tracking-wide transition-all duration-200 rounded-md shadow-md hover:shadow-lg transform hover:scale-[1.02] disabled:opacity-50",style:{backgroundColor:t},children:r(m?"Sending...":"Send Reset Link")}),e.jsx("div",{className:"text-center",children:e.jsxs("p",{className:"text-sm text-gray-500",children:[r("Remember your password?")," ",e.jsx(E,{href:route("login"),className:"font-medium hover:underline",style:{color:t},tabIndex:3,children:r("Back to login")})]})})]})})}export{K as default}; +import{r as h,j as e}from"./ui-Z445SNHD.js";import{u as y,a as b,b as f,L as g,I as j,T as w}from"./app-Dya84jp7.js";import{I as k}from"./input-error-eAcZLOer.js";import{T as E}from"./text-link-Qbn0vFC1.js";import{A as v}from"./auth-layout-CuYQAqvO.js";import{R as C}from"./recaptcha-DWdHEy2a.js";import{M as N}from"./mail-Cha_PX4q.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-dwye0O-l.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./use-favicon-B8cqaHhj.js";import"./credit-card-BKi_ThdS.js";function K({status:l}){const{t:r}=y(),[n,s]=h.useState(""),{themeColor:a,customColor:c}=b(),t=a==="custom"?c:w[a],{data:i,setData:d,post:p,processing:m,errors:u}=f({email:""}),x=o=>{o.preventDefault(),p(route("password.email"),{data:{...i,recaptcha_token:n}})};return e.jsx(v,{title:r("Forgot your password?"),description:r("Enter your email to receive a password reset link"),icon:e.jsx(N,{className:"h-7 w-7",style:{color:t}}),status:l,children:e.jsxs("form",{className:"space-y-5",onSubmit:x,children:[e.jsxs("div",{className:"mb-4",children:[e.jsx(g,{htmlFor:"email",className:"block text-sm font-medium text-gray-900",children:r("Email address")}),e.jsx(j,{id:"email",type:"email",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"email",value:i.email,onChange:o=>d("email",o.target.value),placeholder:"Enter your email",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:o=>o.target.style.borderColor=t,onBlur:o=>o.target.style.borderColor="rgb(209 213 219)"}),e.jsx(k,{message:u.email})]}),e.jsx(C,{onVerify:s,onExpired:()=>s(""),onError:()=>s("")}),e.jsx("button",{type:"submit",disabled:m,tabIndex:2,className:"cursor-pointer w-full text-white py-2.5 text-sm font-medium tracking-wide transition-all duration-200 rounded-md shadow-md hover:shadow-lg transform hover:scale-[1.02] disabled:opacity-50",style:{backgroundColor:t},children:r(m?"Sending...":"Send Reset Link")}),e.jsx("div",{className:"text-center",children:e.jsxs("p",{className:"text-sm text-gray-500",children:[r("Remember your password?")," ",e.jsx(E,{href:route("login"),className:"font-medium hover:underline",style:{color:t},tabIndex:3,children:r("Back to login")})]})})]})})}export{K as default}; diff --git a/public/build/assets/form-BrKq2IwS.js b/public/build/assets/form-VUM5bQKz.js similarity index 83% rename from public/build/assets/form-BrKq2IwS.js rename to public/build/assets/form-VUM5bQKz.js index 7ab6564c2..a5624257d 100644 --- a/public/build/assets/form-BrKq2IwS.js +++ b/public/build/assets/form-VUM5bQKz.js @@ -1 +1 @@ -import{r as _,j as e}from"./ui-Z445SNHD.js";import{P as N}from"./page-template-BTxLyiDA.js";import{u as F,c as P,L as o,I as m,o as f,r as u,t as n}from"./app-CfhhiFAk.js";import{T as S}from"./textarea-kpRjGGLz.js";import{S as h}from"./switch-CKduD2wX.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function he({plan:r,hasDefaultPlan:y=!1,otherDefaultPlanExists:q=!1}){const{t:s}=F(),{globalSettings:w}=P().props,[p,c]=_.useState(!1),d=!!r,[i,x]=_.useState({name:(r==null?void 0:r.name)||"",price:(r==null?void 0:r.price)||0,yearly_price:(r==null?void 0:r.yearly_price)||void 0,duration:(r==null?void 0:r.duration)||"monthly",description:(r==null?void 0:r.description)||"",max_users:(r==null?void 0:r.max_users)||0,max_employees:(r==null?void 0:r.max_employees)||0,storage_limit:(r==null?void 0:r.storage_limit)||0,enable_chatgpt:(r==null?void 0:r.enable_chatgpt)||"off",is_trial:(r==null?void 0:r.is_trial)||null,trial_day:(r==null?void 0:r.trial_day)||0,is_plan_enable:(r==null?void 0:r.is_plan_enable)||"on",is_default:(r==null?void 0:r.is_default)||!1}),l=t=>{const{name:a,value:g}=t.target;x(C=>({...C,[a]:g}))},j=(t,a)=>{x(g=>({...g,[t]:a?"on":"off"}))},b=t=>{x(a=>({...a,is_default:t}))},v=t=>{t.preventDefault(),c(!0),d?u.put(route("plans.update",r.id),i,{onSuccess:()=>{c(!1),u.get(route("plans.index"))},onError:a=>{c(!1),n.dismiss(),typeof a=="string"?n.error(s(a)):n.error(s("Failed to update plan: {{errors}}",{errors:Object.values(a).join(", ")}))}}):u.post(route("plans.store"),i,{onSuccess:()=>{c(!1),u.get(route("plans.index"))},onError:a=>{c(!1),n.dismiss(),typeof a=="string"?n.error(s(a)):n.error(s("Failed to create plan: {{errors}}",{errors:Object.values(a).join(", ")}))}})};return e.jsx(N,{title:s(d?"Edit Plan":"Create Plan"),description:s(d?"Update subscription plan details":"Add a new subscription plan"),url:d?route("plans.update",r.id):"/plans/create",breadcrumbs:[{title:s("Dashboard"),href:route("dashboard")},{title:s("Plans"),href:route("plans.index")},{title:s(d?"Edit Plan":"Create Plan")}],children:e.jsx("div",{className:"bg-white rounded-lg shadow p-6",children:e.jsxs("form",{onSubmit:v,className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:s("Plan Name")}),e.jsx(m,{id:"name",name:"name",value:i.name,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"price",required:!0,children:s("Monthly Price")}),e.jsx(m,{id:"price",name:"price",type:"number",step:"0.01",value:i.price,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"yearly_price",required:!0,children:s("Yearly Price")}),e.jsx(m,{id:"yearly_price",name:"yearly_price",type:"number",step:"0.01",value:i.yearly_price||"",onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"description",children:s("Description")}),e.jsx(S,{id:"description",name:"description",value:i.description,onChange:l,rows:3})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"max_users",required:!0,children:s("Maximum Users")}),e.jsx(m,{id:"max_users",name:"max_users",type:"number",value:i.max_users,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"max_employees",required:!0,children:s("Maximum Employees")}),e.jsx(m,{id:"max_employees",name:"max_employees",type:"number",value:i.max_employees,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"storage_limit",required:!0,children:s("Storage Limit (GB)")}),e.jsx(m,{id:"storage_limit",name:"storage_limit",type:"number",step:"0.01",value:i.storage_limit,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"trial_day",children:s("Trial Days")}),e.jsx(m,{id:"trial_day",name:"trial_day",type:"number",value:i.trial_day,onChange:l})]})]})]}),e.jsxs("div",{className:"border rounded-lg p-4 space-y-4",children:[e.jsx("h3",{className:"font-medium",children:s("Features")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(o,{htmlFor:"enable_chatgpt",children:s("AI Integration")}),e.jsx(h,{id:"enable_chatgpt",checked:i.enable_chatgpt==="on",onCheckedChange:t=>j("enable_chatgpt",t)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(o,{htmlFor:"is_trial",children:s("Enable Trial")}),e.jsx(h,{id:"is_trial",checked:i.is_trial==="on",onCheckedChange:t=>j("is_trial",t)})]})]})]}),e.jsxs("div",{className:"border rounded-lg p-4 space-y-4",children:[e.jsx("h3",{className:"font-medium",children:s("Settings")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(o,{htmlFor:"is_plan_enable",children:s("Active")}),e.jsx(h,{id:"is_plan_enable",checked:i.is_plan_enable==="on",onCheckedChange:t=>j("is_plan_enable",t)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"is_default",children:s("Default Plan")}),(d?!(r!=null&&r.is_default):y)&&e.jsx("p",{className:"text-xs text-amber-600 mt-1",children:s("Setting this as default will remove default status from the current default plan.")})]}),e.jsx(h,{id:"is_default",checked:i.is_default,onCheckedChange:b})]})]})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(f,{type:"button",variant:"outline",onClick:()=>u.get(route("plans.index")),children:s("Cancel")}),e.jsx(f,{type:"submit",disabled:p,children:s(p?d?"Updating...":"Creating...":d?"Update Plan":"Create Plan")})]})]})})})}export{he as default}; +import{r as _,j as e}from"./ui-Z445SNHD.js";import{P as N}from"./page-template-CLNVC8w_.js";import{u as F,c as P,L as o,I as m,o as f,r as u,t as n}from"./app-Dya84jp7.js";import{T as S}from"./textarea-yeg8ONhy.js";import{S as h}from"./switch-DyHgm-Sg.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function he({plan:r,hasDefaultPlan:y=!1,otherDefaultPlanExists:q=!1}){const{t:s}=F(),{globalSettings:w}=P().props,[p,c]=_.useState(!1),d=!!r,[i,x]=_.useState({name:(r==null?void 0:r.name)||"",price:(r==null?void 0:r.price)||0,yearly_price:(r==null?void 0:r.yearly_price)||void 0,duration:(r==null?void 0:r.duration)||"monthly",description:(r==null?void 0:r.description)||"",max_users:(r==null?void 0:r.max_users)||0,max_employees:(r==null?void 0:r.max_employees)||0,storage_limit:(r==null?void 0:r.storage_limit)||0,enable_chatgpt:(r==null?void 0:r.enable_chatgpt)||"off",is_trial:(r==null?void 0:r.is_trial)||null,trial_day:(r==null?void 0:r.trial_day)||0,is_plan_enable:(r==null?void 0:r.is_plan_enable)||"on",is_default:(r==null?void 0:r.is_default)||!1}),l=t=>{const{name:a,value:g}=t.target;x(C=>({...C,[a]:g}))},j=(t,a)=>{x(g=>({...g,[t]:a?"on":"off"}))},b=t=>{x(a=>({...a,is_default:t}))},v=t=>{t.preventDefault(),c(!0),d?u.put(route("plans.update",r.id),i,{onSuccess:()=>{c(!1),u.get(route("plans.index"))},onError:a=>{c(!1),n.dismiss(),typeof a=="string"?n.error(s(a)):n.error(s("Failed to update plan: {{errors}}",{errors:Object.values(a).join(", ")}))}}):u.post(route("plans.store"),i,{onSuccess:()=>{c(!1),u.get(route("plans.index"))},onError:a=>{c(!1),n.dismiss(),typeof a=="string"?n.error(s(a)):n.error(s("Failed to create plan: {{errors}}",{errors:Object.values(a).join(", ")}))}})};return e.jsx(N,{title:s(d?"Edit Plan":"Create Plan"),description:s(d?"Update subscription plan details":"Add a new subscription plan"),url:d?route("plans.update",r.id):"/plans/create",breadcrumbs:[{title:s("Dashboard"),href:route("dashboard")},{title:s("Plans"),href:route("plans.index")},{title:s(d?"Edit Plan":"Create Plan")}],children:e.jsx("div",{className:"bg-white rounded-lg shadow p-6",children:e.jsxs("form",{onSubmit:v,className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",required:!0,children:s("Plan Name")}),e.jsx(m,{id:"name",name:"name",value:i.name,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"price",required:!0,children:s("Monthly Price")}),e.jsx(m,{id:"price",name:"price",type:"number",step:"0.01",value:i.price,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"yearly_price",required:!0,children:s("Yearly Price")}),e.jsx(m,{id:"yearly_price",name:"yearly_price",type:"number",step:"0.01",value:i.yearly_price||"",onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"description",children:s("Description")}),e.jsx(S,{id:"description",name:"description",value:i.description,onChange:l,rows:3})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"max_users",required:!0,children:s("Maximum Users")}),e.jsx(m,{id:"max_users",name:"max_users",type:"number",value:i.max_users,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"max_employees",required:!0,children:s("Maximum Employees")}),e.jsx(m,{id:"max_employees",name:"max_employees",type:"number",value:i.max_employees,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"storage_limit",required:!0,children:s("Storage Limit (GB)")}),e.jsx(m,{id:"storage_limit",name:"storage_limit",type:"number",step:"0.01",value:i.storage_limit,onChange:l,required:!0})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"trial_day",children:s("Trial Days")}),e.jsx(m,{id:"trial_day",name:"trial_day",type:"number",value:i.trial_day,onChange:l})]})]})]}),e.jsxs("div",{className:"border rounded-lg p-4 space-y-4",children:[e.jsx("h3",{className:"font-medium",children:s("Features")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(o,{htmlFor:"enable_chatgpt",children:s("AI Integration")}),e.jsx(h,{id:"enable_chatgpt",checked:i.enable_chatgpt==="on",onCheckedChange:t=>j("enable_chatgpt",t)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(o,{htmlFor:"is_trial",children:s("Enable Trial")}),e.jsx(h,{id:"is_trial",checked:i.is_trial==="on",onCheckedChange:t=>j("is_trial",t)})]})]})]}),e.jsxs("div",{className:"border rounded-lg p-4 space-y-4",children:[e.jsx("h3",{className:"font-medium",children:s("Settings")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(o,{htmlFor:"is_plan_enable",children:s("Active")}),e.jsx(h,{id:"is_plan_enable",checked:i.is_plan_enable==="on",onCheckedChange:t=>j("is_plan_enable",t)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"is_default",children:s("Default Plan")}),(d?!(r!=null&&r.is_default):y)&&e.jsx("p",{className:"text-xs text-amber-600 mt-1",children:s("Setting this as default will remove default status from the current default plan.")})]}),e.jsx(h,{id:"is_default",checked:i.is_default,onCheckedChange:b})]})]})]}),e.jsxs("div",{className:"flex justify-end gap-3",children:[e.jsx(f,{type:"button",variant:"outline",onClick:()=>u.get(route("plans.index")),children:s("Cancel")}),e.jsx(f,{type:"submit",disabled:p,children:s(p?d?"Updating...":"Creating...":d?"Update Plan":"Create Plan")})]})]})})})}export{he as default}; diff --git a/public/build/assets/generate-BdLQjM1G.js b/public/build/assets/generate-C8citJrT.js similarity index 95% rename from public/build/assets/generate-BdLQjM1G.js rename to public/build/assets/generate-C8citJrT.js index 7545972d8..ce4ad2e91 100644 --- a/public/build/assets/generate-BdLQjM1G.js +++ b/public/build/assets/generate-C8citJrT.js @@ -1 +1 @@ -import{r as d,j as e}from"./ui-Z445SNHD.js";import{u as j,c as y,h as v,j as N,k as b,L as k,I as w,F,o as p}from"./app-CfhhiFAk.js";import{F as x}from"./file-down-Dd8zePUY.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function O({record:t,onClose:i}){const{t:n}=j(),{csrf_token:h}=y().props,l=d.useRef(null),[c,m]=d.useState(()=>{const s={};return(t.placeholders||[]).forEach(a=>{var r;s[a]=((r=t.default_values)==null?void 0:r[a])||""}),s}),u=()=>{l.current&&(l.current.submit(),m(()=>{const s={};return(t.placeholders||[]).forEach(a=>{s[a]=""}),s}),i())},g=`${t.name}_${new Date().toISOString().split("T")[0]}`,f=route("hr.documents.document-templates.generate",t.id),o=t.file_format||"txt";return e.jsxs(v,{className:"max-w-lg max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:s=>s.preventDefault(),children:[e.jsx(N,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(x,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{children:[e.jsx(b,{className:"text-xl font-semibold",children:n("Generate Document")}),e.jsxs("div",{className:"flex items-center gap-2 mt-0.5",children:[e.jsx("p",{className:"text-sm text-gray-500",children:t.name}),e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-0.5 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:o.toUpperCase()})]})]})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("form",{ref:l,method:"POST",action:f,style:{display:"none"},children:[e.jsx("input",{type:"hidden",name:"_token",value:h}),e.jsx("input",{type:"hidden",name:"filename",value:g}),Object.entries(c).map(([s,a])=>e.jsx("input",{type:"hidden",name:`values[${s}]`,value:a},s))]}),t.placeholders&&t.placeholders.length>0?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:n("Fill in the values for the template placeholders below.")}),e.jsx("div",{className:"space-y-3",children:t.placeholders.map(s=>e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(k,{htmlFor:s,className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s.replace(/_/g," ").replace(/\b\w/g,a=>a.toUpperCase())}),e.jsx(w,{id:s,value:c[s]||"",onChange:a=>m(r=>({...r,[s]:a.target.value})),placeholder:`Enter ${s.replace(/_/g," ")}`})]},s))})]}):e.jsxs("div",{className:"flex items-center gap-3 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[e.jsx(F,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:n("This template has no placeholders. Click Generate to download the document.")})]}),e.jsxs("div",{className:"flex items-center justify-end gap-3 pt-2 border-t border-gray-100 dark:border-gray-700",children:[e.jsx(p,{variant:"outline",onClick:i,children:n("Cancel")}),e.jsxs(p,{onClick:u,children:[e.jsx(x,{className:"h-4 w-4 mr-2"}),n("Generate")," ",o.toUpperCase()]})]})]})]})}export{O as default}; +import{r as d,j as e}from"./ui-Z445SNHD.js";import{u as j,c as y,h as v,j as N,k as b,L as k,I as w,F,o as p}from"./app-Dya84jp7.js";import{F as x}from"./file-down-DO17xCrw.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function O({record:t,onClose:i}){const{t:n}=j(),{csrf_token:h}=y().props,l=d.useRef(null),[c,m]=d.useState(()=>{const s={};return(t.placeholders||[]).forEach(a=>{var r;s[a]=((r=t.default_values)==null?void 0:r[a])||""}),s}),u=()=>{l.current&&(l.current.submit(),m(()=>{const s={};return(t.placeholders||[]).forEach(a=>{s[a]=""}),s}),i())},g=`${t.name}_${new Date().toISOString().split("T")[0]}`,f=route("hr.documents.document-templates.generate",t.id),o=t.file_format||"txt";return e.jsxs(v,{className:"max-w-lg max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:s=>s.preventDefault(),children:[e.jsx(N,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(x,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{children:[e.jsx(b,{className:"text-xl font-semibold",children:n("Generate Document")}),e.jsxs("div",{className:"flex items-center gap-2 mt-0.5",children:[e.jsx("p",{className:"text-sm text-gray-500",children:t.name}),e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-0.5 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:o.toUpperCase()})]})]})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("form",{ref:l,method:"POST",action:f,style:{display:"none"},children:[e.jsx("input",{type:"hidden",name:"_token",value:h}),e.jsx("input",{type:"hidden",name:"filename",value:g}),Object.entries(c).map(([s,a])=>e.jsx("input",{type:"hidden",name:`values[${s}]`,value:a},s))]}),t.placeholders&&t.placeholders.length>0?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:n("Fill in the values for the template placeholders below.")}),e.jsx("div",{className:"space-y-3",children:t.placeholders.map(s=>e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(k,{htmlFor:s,className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:s.replace(/_/g," ").replace(/\b\w/g,a=>a.toUpperCase())}),e.jsx(w,{id:s,value:c[s]||"",onChange:a=>m(r=>({...r,[s]:a.target.value})),placeholder:`Enter ${s.replace(/_/g," ")}`})]},s))})]}):e.jsxs("div",{className:"flex items-center gap-3 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[e.jsx(F,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:n("This template has no placeholders. Click Generate to download the document.")})]}),e.jsxs("div",{className:"flex items-center justify-end gap-3 pt-2 border-t border-gray-100 dark:border-gray-700",children:[e.jsx(p,{variant:"outline",onClick:i,children:n("Cancel")}),e.jsxs(p,{onClick:u,children:[e.jsx(x,{className:"h-4 w-4 mr-2"}),n("Generate")," ",o.toUpperCase()]})]})]})]})}export{O as default}; diff --git a/public/build/assets/generate-DaVjSTCS.js b/public/build/assets/generate-DNmdQ5bj.js similarity index 95% rename from public/build/assets/generate-DaVjSTCS.js rename to public/build/assets/generate-DNmdQ5bj.js index 6c04f61fb..277471321 100644 --- a/public/build/assets/generate-DaVjSTCS.js +++ b/public/build/assets/generate-DNmdQ5bj.js @@ -1 +1 @@ -import{r as m,j as e}from"./ui-Z445SNHD.js";import{u as j,c as f,h as y,j as b,k as v,L as N,I as k,F as w,o}from"./app-CfhhiFAk.js";import{F as p}from"./file-down-Dd8zePUY.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function O({record:t,onClose:l}){const{t:r}=j(),{csrf_token:x}=f().props,n=m.useRef(null),[i,c]=m.useState(()=>{const a={};return(t.variables||[]).forEach(s=>{a[s]=""}),a}),d=()=>{n.current&&(n.current.submit(),c(()=>{const a={};return(t.variables||[]).forEach(s=>{a[s]=""}),a}),l())},h=`${t.name}_${new Date().toISOString().split("T")[0]}`,u=route("hr.recruitment.offer-templates.generate",t.id);return e.jsxs(y,{className:"max-w-lg max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(p,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{children:[e.jsx(v,{className:"text-xl font-semibold",children:r("Generate Offer")}),e.jsx("p",{className:"text-sm text-gray-500 mt-0.5",children:t.name})]})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("form",{ref:n,method:"POST",action:u,style:{display:"none"},children:[e.jsx("input",{type:"hidden",name:"_token",value:x}),e.jsx("input",{type:"hidden",name:"filename",value:h}),Object.entries(i).map(([a,s])=>e.jsx("input",{type:"hidden",name:`variables[${a}]`,value:s},a))]}),t.variables&&t.variables.length>0?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Fill in the values for the template variables below.")}),e.jsx("div",{className:"space-y-3",children:t.variables.map(a=>e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:a,className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:a.replace(/_/g," ").replace(/\b\w/g,s=>s.toUpperCase())}),e.jsx(k,{id:a,value:i[a]||"",onChange:s=>c(g=>({...g,[a]:s.target.value})),placeholder:`Enter ${a.replace(/_/g," ")}`})]},a))})]}):e.jsxs("div",{className:"flex items-center gap-3 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[e.jsx(w,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:r("This template has no variables. Click Generate to download the PDF.")})]}),e.jsxs("div",{className:"flex items-center justify-end gap-3 pt-2 border-t border-gray-100 dark:border-gray-700",children:[e.jsx(o,{variant:"outline",onClick:l,children:r("Cancel")}),e.jsxs(o,{onClick:d,children:[e.jsx(p,{className:"h-4 w-4 mr-2"}),r("Generate PDF")]})]})]})]})}export{O as default}; +import{r as m,j as e}from"./ui-Z445SNHD.js";import{u as j,c as f,h as y,j as b,k as v,L as N,I as k,F as w,o}from"./app-Dya84jp7.js";import{F as p}from"./file-down-DO17xCrw.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function O({record:t,onClose:l}){const{t:r}=j(),{csrf_token:x}=f().props,n=m.useRef(null),[i,c]=m.useState(()=>{const a={};return(t.variables||[]).forEach(s=>{a[s]=""}),a}),d=()=>{n.current&&(n.current.submit(),c(()=>{const a={};return(t.variables||[]).forEach(s=>{a[s]=""}),a}),l())},h=`${t.name}_${new Date().toISOString().split("T")[0]}`,u=route("hr.recruitment.offer-templates.generate",t.id);return e.jsxs(y,{className:"max-w-lg max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(p,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{children:[e.jsx(v,{className:"text-xl font-semibold",children:r("Generate Offer")}),e.jsx("p",{className:"text-sm text-gray-500 mt-0.5",children:t.name})]})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("form",{ref:n,method:"POST",action:u,style:{display:"none"},children:[e.jsx("input",{type:"hidden",name:"_token",value:x}),e.jsx("input",{type:"hidden",name:"filename",value:h}),Object.entries(i).map(([a,s])=>e.jsx("input",{type:"hidden",name:`variables[${a}]`,value:s},a))]}),t.variables&&t.variables.length>0?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Fill in the values for the template variables below.")}),e.jsx("div",{className:"space-y-3",children:t.variables.map(a=>e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:a,className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:a.replace(/_/g," ").replace(/\b\w/g,s=>s.toUpperCase())}),e.jsx(k,{id:a,value:i[a]||"",onChange:s=>c(g=>({...g,[a]:s.target.value})),placeholder:`Enter ${a.replace(/_/g," ")}`})]},a))})]}):e.jsxs("div",{className:"flex items-center gap-3 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[e.jsx(w,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:r("This template has no variables. Click Generate to download the PDF.")})]}),e.jsxs("div",{className:"flex items-center justify-end gap-3 pt-2 border-t border-gray-100 dark:border-gray-700",children:[e.jsx(o,{variant:"outline",onClick:l,children:r("Cancel")}),e.jsxs(o,{onClick:d,children:[e.jsx(p,{className:"h-4 w-4 mr-2"}),r("Generate PDF")]})]})]})]})}export{O as default}; diff --git a/public/build/assets/generate-CFssguy1.js b/public/build/assets/generate-DVcDuXVF.js similarity index 95% rename from public/build/assets/generate-CFssguy1.js rename to public/build/assets/generate-DVcDuXVF.js index 8588a4534..1bbb27954 100644 --- a/public/build/assets/generate-CFssguy1.js +++ b/public/build/assets/generate-DVcDuXVF.js @@ -1 +1 @@ -import{r as o,j as e}from"./ui-Z445SNHD.js";import{u as j,c as f,h as y,j as b,k as v,L as N,I as k,F as w,o as m}from"./app-CfhhiFAk.js";import{F as p}from"./file-down-Dd8zePUY.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function _({record:t,onClose:l}){const{t:r}=j(),{csrf_token:x}=f().props,n=o.useRef(null),[i,c]=o.useState(()=>{const a={};return(t.variables||[]).forEach(s=>{a[s]=""}),a}),d=()=>{n.current&&(n.current.submit(),c(()=>{const a={};return(t.variables||[]).forEach(s=>{a[s]=""}),a}),l())},h=`${t.name}_${new Date().toISOString().split("T")[0]}`,u=route("hr.contracts.contract-templates.generate",t.id);return e.jsxs(y,{className:"max-w-lg max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(p,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{children:[e.jsx(v,{className:"text-xl font-semibold",children:r("Generate Contract")}),e.jsx("p",{className:"text-sm text-gray-500 mt-0.5",children:t.name})]})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("form",{ref:n,method:"POST",action:u,style:{display:"none"},children:[e.jsx("input",{type:"hidden",name:"_token",value:x}),e.jsx("input",{type:"hidden",name:"filename",value:h}),Object.entries(i).map(([a,s])=>e.jsx("input",{type:"hidden",name:`variables[${a}]`,value:s},a))]}),t.variables&&t.variables.length>0?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Fill in the values for the template variables below.")}),e.jsx("div",{className:"space-y-3",children:t.variables.map(a=>e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:a,className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:a.replace(/_/g," ").replace(/\b\w/g,s=>s.toUpperCase())}),e.jsx(k,{id:a,value:i[a]||"",onChange:s=>c(g=>({...g,[a]:s.target.value})),placeholder:`Enter ${a.replace(/_/g," ")}`})]},a))})]}):e.jsxs("div",{className:"flex items-center gap-3 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[e.jsx(w,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:r("This template has no variables. Click Generate to download the PDF.")})]}),e.jsxs("div",{className:"flex items-center justify-end gap-3 pt-2 border-t border-gray-100 dark:border-gray-700",children:[e.jsx(m,{variant:"outline",onClick:l,children:r("Cancel")}),e.jsxs(m,{onClick:d,children:[e.jsx(p,{className:"h-4 w-4 mr-2"}),r("Generate PDF")]})]})]})]})}export{_ as default}; +import{r as o,j as e}from"./ui-Z445SNHD.js";import{u as j,c as f,h as y,j as b,k as v,L as N,I as k,F as w,o as m}from"./app-Dya84jp7.js";import{F as p}from"./file-down-DO17xCrw.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function _({record:t,onClose:l}){const{t:r}=j(),{csrf_token:x}=f().props,n=o.useRef(null),[i,c]=o.useState(()=>{const a={};return(t.variables||[]).forEach(s=>{a[s]=""}),a}),d=()=>{n.current&&(n.current.submit(),c(()=>{const a={};return(t.variables||[]).forEach(s=>{a[s]=""}),a}),l())},h=`${t.name}_${new Date().toISOString().split("T")[0]}`,u=route("hr.contracts.contract-templates.generate",t.id);return e.jsxs(y,{className:"max-w-lg max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(p,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{children:[e.jsx(v,{className:"text-xl font-semibold",children:r("Generate Contract")}),e.jsx("p",{className:"text-sm text-gray-500 mt-0.5",children:t.name})]})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("form",{ref:n,method:"POST",action:u,style:{display:"none"},children:[e.jsx("input",{type:"hidden",name:"_token",value:x}),e.jsx("input",{type:"hidden",name:"filename",value:h}),Object.entries(i).map(([a,s])=>e.jsx("input",{type:"hidden",name:`variables[${a}]`,value:s},a))]}),t.variables&&t.variables.length>0?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Fill in the values for the template variables below.")}),e.jsx("div",{className:"space-y-3",children:t.variables.map(a=>e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:a,className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:a.replace(/_/g," ").replace(/\b\w/g,s=>s.toUpperCase())}),e.jsx(k,{id:a,value:i[a]||"",onChange:s=>c(g=>({...g,[a]:s.target.value})),placeholder:`Enter ${a.replace(/_/g," ")}`})]},a))})]}):e.jsxs("div",{className:"flex items-center gap-3 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg",children:[e.jsx(w,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:r("This template has no variables. Click Generate to download the PDF.")})]}),e.jsxs("div",{className:"flex items-center justify-end gap-3 pt-2 border-t border-gray-100 dark:border-gray-700",children:[e.jsx(m,{variant:"outline",onClick:l,children:r("Cancel")}),e.jsxs(m,{onClick:d,children:[e.jsx(p,{className:"h-4 w-4 mr-2"}),r("Generate PDF")]})]})]})]})}export{_ as default}; diff --git a/public/build/assets/gift-DXGdvbnX.js b/public/build/assets/gift-CQwwB55q.js similarity index 92% rename from public/build/assets/gift-DXGdvbnX.js rename to public/build/assets/gift-CQwwB55q.js index 15a0847fa..89038543d 100644 --- a/public/build/assets/gift-DXGdvbnX.js +++ b/public/build/assets/gift-CQwwB55q.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/git-branch-B0hRoz5x.js b/public/build/assets/git-branch-BmbBP1kF.js similarity index 90% rename from public/build/assets/git-branch-B0hRoz5x.js rename to public/build/assets/git-branch-BmbBP1kF.js index a5ceef951..dd0c9c838 100644 --- a/public/build/assets/git-branch-B0hRoz5x.js +++ b/public/build/assets/git-branch-BmbBP1kF.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/globe-DePi6jyA.js b/public/build/assets/globe-5zZ4IsmY.js similarity index 89% rename from public/build/assets/globe-DePi6jyA.js rename to public/build/assets/globe-5zZ4IsmY.js index 0e20d4674..45823159a 100644 --- a/public/build/assets/globe-DePi6jyA.js +++ b/public/build/assets/globe-5zZ4IsmY.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/google-calendar-settings-ByBUhdYk.js b/public/build/assets/google-calendar-settings-eMbsVytU.js similarity index 95% rename from public/build/assets/google-calendar-settings-ByBUhdYk.js rename to public/build/assets/google-calendar-settings-eMbsVytU.js index 944d45a74..f7624aba1 100644 --- a/public/build/assets/google-calendar-settings-ByBUhdYk.js +++ b/public/build/assets/google-calendar-settings-eMbsVytU.js @@ -1 +1 @@ -import{r as g,j as e}from"./ui-Z445SNHD.js";import{u as S,ap as E,L as i,I as h,U as v,o as N,y,r as I,t as c}from"./app-CfhhiFAk.js";import{S as F}from"./switch-CKduD2wX.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function k({settings:t={}}){const{t:a}=S(),[m,d]=g.useState(!1),[s,p]=g.useState({googleCalendarEnabled:t.googleCalendarEnabled==="1"||t.googleCalendarEnabled==="true",googleCalendarId:t.googleCalendarId||""}),[u,j]=g.useState(null),b=l=>{l.preventDefault(),d(!0);const o=new FormData;o.append("googleCalendarEnabled",s.googleCalendarEnabled?"1":"0"),o.append("googleCalendarId",s.googleCalendarId),u&&o.append("googleCalendarJson",u),I.post(route("settings.google-calendar.update"),o,{preserveScroll:!0,onSuccess:n=>{var x,f;d(!1);const r=(x=n.props.flash)==null?void 0:x.success,C=(f=n.props.flash)==null?void 0:f.error;r?c.success(r):C&&c.error(C)},onError:n=>{d(!1);const r=n.error||Object.values(n).join(", ")||a("Failed to update Google Calendar settings");c.error(r)}})};return e.jsx(E,{title:a("Google Calendar Settings"),description:a("Configure Google Calendar integration for appointment synchronization"),action:e.jsxs(N,{type:"submit",form:"google-calendar-form",disabled:m,size:"sm",children:[e.jsx(y,{className:"h-4 w-4 mr-2"}),a(m?"Saving...":"Save Changes")]}),children:e.jsxs("form",{id:"google-calendar-form",onSubmit:b,className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(i,{htmlFor:"googleCalendarEnabled",children:a("Enable Google Calendar")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("Enable Google Calendar integration for appointments")})]}),e.jsx(F,{id:"googleCalendarEnabled",checked:s.googleCalendarEnabled,onCheckedChange:l=>p(o=>({...o,googleCalendarEnabled:l}))})]}),s.googleCalendarEnabled&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"googleCalendarId",children:a("Google Calendar ID")}),e.jsx(h,{id:"googleCalendarId",type:"text",value:s.googleCalendarId,onChange:l=>p(o=>({...o,googleCalendarId:l.target.value})),placeholder:a("Enter your Google Calendar ID")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"googleCalendarJson",children:a("Google Calendar JSON File")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(h,{id:"googleCalendarJson",type:"file",accept:".json",onChange:l=>{var o;return j(((o=l.target.files)==null?void 0:o[0])||null)},className:"flex-1"}),e.jsx(v,{className:"h-4 w-4 text-muted-foreground"})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("JSON files only, max 2MB")})]})]})]})})}export{k as default}; +import{r as g,j as e}from"./ui-Z445SNHD.js";import{u as S,ap as E,L as i,I as h,U as v,o as N,y,r as I,t as c}from"./app-Dya84jp7.js";import{S as F}from"./switch-DyHgm-Sg.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function k({settings:t={}}){const{t:a}=S(),[m,d]=g.useState(!1),[s,p]=g.useState({googleCalendarEnabled:t.googleCalendarEnabled==="1"||t.googleCalendarEnabled==="true",googleCalendarId:t.googleCalendarId||""}),[u,j]=g.useState(null),b=l=>{l.preventDefault(),d(!0);const o=new FormData;o.append("googleCalendarEnabled",s.googleCalendarEnabled?"1":"0"),o.append("googleCalendarId",s.googleCalendarId),u&&o.append("googleCalendarJson",u),I.post(route("settings.google-calendar.update"),o,{preserveScroll:!0,onSuccess:n=>{var x,f;d(!1);const r=(x=n.props.flash)==null?void 0:x.success,C=(f=n.props.flash)==null?void 0:f.error;r?c.success(r):C&&c.error(C)},onError:n=>{d(!1);const r=n.error||Object.values(n).join(", ")||a("Failed to update Google Calendar settings");c.error(r)}})};return e.jsx(E,{title:a("Google Calendar Settings"),description:a("Configure Google Calendar integration for appointment synchronization"),action:e.jsxs(N,{type:"submit",form:"google-calendar-form",disabled:m,size:"sm",children:[e.jsx(y,{className:"h-4 w-4 mr-2"}),a(m?"Saving...":"Save Changes")]}),children:e.jsxs("form",{id:"google-calendar-form",onSubmit:b,className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(i,{htmlFor:"googleCalendarEnabled",children:a("Enable Google Calendar")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("Enable Google Calendar integration for appointments")})]}),e.jsx(F,{id:"googleCalendarEnabled",checked:s.googleCalendarEnabled,onCheckedChange:l=>p(o=>({...o,googleCalendarEnabled:l}))})]}),s.googleCalendarEnabled&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"googleCalendarId",children:a("Google Calendar ID")}),e.jsx(h,{id:"googleCalendarId",type:"text",value:s.googleCalendarId,onChange:l=>p(o=>({...o,googleCalendarId:l.target.value})),placeholder:a("Enter your Google Calendar ID")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"googleCalendarJson",children:a("Google Calendar JSON File")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(h,{id:"googleCalendarJson",type:"file",accept:".json",onChange:l=>{var o;return j(((o=l.target.files)==null?void 0:o[0])||null)},className:"flex-1"}),e.jsx(v,{className:"h-4 w-4 text-muted-foreground"})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("JSON files only, max 2MB")})]})]})]})})}export{k as default}; diff --git a/public/build/assets/grip-vertical-DE07jY4a.js b/public/build/assets/grip-vertical-jJ2YrfNT.js similarity index 92% rename from public/build/assets/grip-vertical-DE07jY4a.js rename to public/build/assets/grip-vertical-jJ2YrfNT.js index eb901cdf1..d00be130d 100644 --- a/public/build/assets/grip-vertical-DE07jY4a.js +++ b/public/build/assets/grip-vertical-jJ2YrfNT.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/hard-drive-B_Mpft6K.js b/public/build/assets/hard-drive-7VwcRvWp.js similarity index 92% rename from public/build/assets/hard-drive-B_Mpft6K.js rename to public/build/assets/hard-drive-7VwcRvWp.js index 8ba6f49b6..7634897d0 100644 --- a/public/build/assets/hard-drive-B_Mpft6K.js +++ b/public/build/assets/hard-drive-7VwcRvWp.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/hash-BdwQ_IPO.js b/public/build/assets/hash-CHQJ9wMw.js similarity index 91% rename from public/build/assets/hash-BdwQ_IPO.js rename to public/build/assets/hash-CHQJ9wMw.js index 60a5d8f49..ee9c9807b 100644 --- a/public/build/assets/hash-BdwQ_IPO.js +++ b/public/build/assets/hash-CHQJ9wMw.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/house-CL9v9Cnk.js b/public/build/assets/house-iKjbmxem.js similarity index 96% rename from public/build/assets/house-CL9v9Cnk.js rename to public/build/assets/house-iKjbmxem.js index 9095ce376..4654dbc75 100644 --- a/public/build/assets/house-CL9v9Cnk.js +++ b/public/build/assets/house-iKjbmxem.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/i18n-CM7rzmSQ.js b/public/build/assets/i18n-Db6Gz1TD.js similarity index 95% rename from public/build/assets/i18n-CM7rzmSQ.js rename to public/build/assets/i18n-Db6Gz1TD.js index 539b2a4ae..19da25e3c 100644 --- a/public/build/assets/i18n-CM7rzmSQ.js +++ b/public/build/assets/i18n-Db6Gz1TD.js @@ -1 +1 @@ -import{r as C,j as t}from"./ui-Z445SNHD.js";import{P as ue}from"./page-template-BTxLyiDA.js";import{u as he,c as je,x as K,P as xe,S as L,I as ve,o as M,L as q,r as u,t as n,aq as H}from"./app-CfhhiFAk.js";import{S as W,a as G,b as J,c as Q,d as w}from"./select-BrY9osYp.js";import{P as Ce}from"./pagination-D8A_HnL5.js";import{C as Fe}from"./CrudTable-qPWooc10.js";import{C as _e}from"./CrudFormModal-DAR9q-oM.js";import{C as ye}from"./CrudDeleteModal-CKTiD3_K.js";import{F as we}from"./filter-uErFRSPT.js";function ge({config:j,title:O,url:X,buttons:T=[],breadcrumbs:Y}){var R;const{t:c}=he(),{entity:o,table:b,filters:y=[],form:N,hooks:d}=j,{auth:A,globalSettings:r,...z}=je().props,E=(A==null?void 0:A.permissions)||[],_=z[o.name]||{data:[],links:[]},m=z.filters||{},[f,I]=C.useState(m.search||""),[F,S]=C.useState({}),[P,V]=C.useState(!1),[Z,x]=C.useState(!1),[ee,$]=C.useState(!1),[v,B]=C.useState(null),[h,U]=C.useState("create");C.useEffect(()=>{const e={};y.forEach(s=>{const l=s.name||s.key;e[l]=m[l]||""}),S(e)},[]);const g=()=>Object.entries(F).some(([e,s])=>s&&s!=="")||f!=="",se=()=>Object.entries(F).filter(([e,s])=>s&&s!=="").length+(f?1:0),re=e=>{e.preventDefault(),ie()},ie=()=>{const e={page:1};f&&(e.search=f),Object.entries(F).forEach(([s,l])=>{l&&l!==""&&(e[s]=l)}),m.per_page&&(e.per_page=m.per_page),u.get(o.endpoint,e,{preserveState:!0,preserveScroll:!0})},ae=(e,s)=>{S(p=>({...p,[e]:s}));const l={page:1};f&&(l.search=f);const a={...F,[e]:s};Object.entries(a).forEach(([p,i])=>{i&&i!==""&&(l[p]=i)}),m.per_page&&(l.per_page=m.per_page),u.get(o.endpoint,l,{preserveState:!0,preserveScroll:!0})},te=e=>{const s=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc",l={sort_field:e,sort_direction:s,page:1};f&&(l.search=f),Object.entries(F).forEach(([a,p])=>{p&&p!==""&&(l[a]=p)}),m.per_page&&(l.per_page=m.per_page),u.get(o.endpoint,l,{preserveState:!0,preserveScroll:!0})},oe=(e,s)=>{switch(B(s),e){case"view":U("view"),x(!0);break;case"edit":U("edit"),x(!0);break;case"delete":$(!0);break}},ne=()=>{B(null),U("create"),x(!0)},ce=e=>{const s={...e};if(o.name==="roles"){if(s.permissions&&Array.isArray(s.permissions)){const p=s.permissions.map(i=>typeof i=="object"&&i!==null&&i.name?i.name:String(i));s.permissions=p}const a={label:s.label,description:s.description||"",permissions:s.permissions||[]};Object.keys(s).forEach(p=>{delete s[p]}),Object.assign(s,a)}else if(s.permissions&&Array.isArray(s.permissions)){const a={};s.permissions.forEach((p,i)=>{a[i]=String(p)}),s.permissions=a}if(o.name==="permissions"&&h==="edit"&&delete s.name,N.fields.some(a=>a.type==="file")){const a=N.fields.filter(i=>i.type==="file").map(i=>i.name),p=new FormData;Object.keys(s).forEach(i=>{if(a.includes(i)&&h==="edit"){s[i]&&typeof s[i]=="object"&&p.append(i,s[i]);return}p.append(i,s[i])}),h==="create"?(r!=null&&r.is_demo||n.loading(c("Creating...")),u.post(o.endpoint,p,{onSuccess:i=>{x(!1),r!=null&&r.is_demo||n.dismiss(),i.props.flash.success?n.success(c(i.props.flash.success)):i.props.flash.error&&n.error(c(i.props.flash.error)),d!=null&&d.afterCreate&&d.afterCreate(e,i.props[o.name])},onError:i=>{r!=null&&r.is_demo||n.dismiss(),typeof i=="string"?n.error(c(i)):n.error(c(`Failed to create ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(i).join(", ")}))}})):h==="edit"&&(r!=null&&r.is_demo||n.loading(c("Updating...")),u.post(`${o.endpoint}/${v.id}?_method=PUT`,p,{onSuccess:i=>{x(!1),r!=null&&r.is_demo||n.dismiss(),i.props.flash.success?n.success(c(i.props.flash.success)):i.props.flash.error&&n.error(c(i.props.flash.error)),d!=null&&d.afterUpdate&&d.afterUpdate(e,i.props[o.name])},onError:i=>{r!=null&&r.is_demo||n.dismiss(),typeof i=="string"?n.error(c(i)):n.error(c(`Failed to update ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(i).join(", ")}))}}));return}h==="create"?(r!=null&&r.is_demo||n.loading(c("Creating...")),u.post(o.endpoint,s,{onSuccess:a=>{x(!1),r!=null&&r.is_demo||n.dismiss(),a.props.flash.success?n.success(c(a.props.flash.success)):a.props.flash.error&&n.error(c(a.props.flash.error)),d!=null&&d.afterCreate&&d.afterCreate(e,a.props[o.name])},onError:a=>{r!=null&&r.is_demo||n.dismiss(),typeof a=="string"?n.error(c(a)):n.error(c(`Failed to create ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(a).join(", ")}))}})):h==="edit"&&(r!=null&&r.is_demo||n.loading(c("Updating...")),u.put(`${o.endpoint}/${v.id}`,s,{onSuccess:a=>{x(!1),r!=null&&r.is_demo||n.dismiss(),a.props.flash.success?n.success(c(a.props.flash.success)):a.props.flash.error&&n.error(c(a.props.flash.error)),d!=null&&d.afterUpdate&&d.afterUpdate(e,a.props[o.name])},onError:a=>{r!=null&&r.is_demo||n.dismiss(),typeof a=="string"?n.error(c(a)):n.error(c(`Failed to update ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(a).join(", ")}))}}))},le=()=>{r!=null&&r.is_demo||n.loading(c("Deleting...")),u.delete(`${o.endpoint}/${v.id}`,{onSuccess:e=>{$(!1),r!=null&&r.is_demo||n.dismiss(),e.props.flash.success?n.success(c(e.props.flash.success)):e.props.flash.error&&n.error(c(e.props.flash.error)),d!=null&&d.afterDelete&&d.afterDelete(v.id)},onError:e=>{r!=null&&r.is_demo||n.dismiss(),typeof e=="string"?n.error(c(e)):n.error(c(`Failed to delete ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(e).join(", ")}))}})},de=()=>{const e={};y.forEach(s=>{e[s.key]=s.type==="select"?"all":""}),S(e),I(""),V(!1),u.get(o.endpoint,{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},pe=T.every(e=>e.showAddButton!==!1),D=[];T.forEach(e=>{(!e.permission||K(E,e.permission))&&D.push({label:e.label,icon:e.icon,variant:e.variant,onClick:e.onClick})}),pe&&K(E,o.permissions.create)&&D.push({label:`Add ${o.name.slice(0,-1).charAt(0).toUpperCase()+o.name.slice(0,-1).slice(1)}`,icon:t.jsx(xe,{className:"h-4 w-4"}),variant:"default",onClick:()=>ne()});const k=O||o.name.charAt(0).toUpperCase()+o.name.slice(1),me=[{title:c("Dashboard"),href:route("dashboard")},{title:k}],fe=Y||me;return t.jsxs(ue,{title:k,url:X,actions:D,breadcrumbs:fe,noPadding:!0,children:[t.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4",children:t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsxs("form",{onSubmit:re,className:"flex gap-2",children:[t.jsxs("div",{className:"relative w-64",children:[t.jsx(L,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),t.jsx(ve,{placeholder:`Search ${o.name}...`,value:f,onChange:e=>I(e.target.value),className:"w-full pl-9"})]}),t.jsxs(M,{type:"submit",size:"sm",children:[t.jsx(L,{className:"h-4 w-4 mr-1.5"}),c("Search")]})]}),y.length>0&&t.jsx("div",{className:"ml-2",children:t.jsxs(M,{variant:g()?"default":"outline",size:"sm",className:"h-8 px-2 py-1",onClick:()=>V(!P),children:[t.jsx(we,{className:"h-3.5 w-3.5 mr-1.5"}),P?"Hide Filters":"Filters",g()&&t.jsx("span",{className:"ml-1 bg-primary-foreground text-primary rounded-full w-5 h-5 flex items-center justify-center text-xs",children:se()})]})})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsxs(q,{className:"text-xs text-muted-foreground",children:[c("Per Page"),":"]}),t.jsxs(W,{value:((R=m.per_page)==null?void 0:R.toString())||"10",onValueChange:e=>{const s={page:1,per_page:parseInt(e)};f&&(s.search=f),Object.entries(F).forEach(([l,a])=>{a&&a!==""&&(s[l]=a)}),u.get(o.endpoint,s,{preserveState:!0,preserveScroll:!0})},children:[t.jsx(G,{className:"w-16 h-8",children:t.jsx(J,{})}),t.jsxs(Q,{children:[t.jsx(w,{value:"10",children:"10"}),t.jsx(w,{value:"25",children:"25"}),t.jsx(w,{value:"50",children:"50"}),t.jsx(w,{value:"100",children:"100"})]})]})]})]}),P&&y.length>0&&t.jsx("div",{className:"w-full mt-3 p-4 bg-gray-50 dark:bg-gray-800 border dark:border-gray-700 rounded-md",children:t.jsxs("div",{className:"flex flex-wrap gap-4 items-end",children:[y.map(e=>{var l;const s=e.name||e.key;return t.jsxs("div",{className:"space-y-2",children:[t.jsx(q,{children:e.label}),e.type==="select"&&t.jsxs(W,{value:F[s]||"",onValueChange:a=>ae(s,a),children:[t.jsx(G,{className:"w-40",children:t.jsx(J,{placeholder:`All ${e.label}`})}),t.jsx(Q,{children:(l=e.options)==null?void 0:l.map(a=>t.jsx(w,{value:a.value,children:a.label},a.value))})]})]},s)}),t.jsx(M,{variant:"outline",size:"sm",className:"h-9",onClick:de,disabled:!g(),children:c("Reset Filters")})]})})]})}),t.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[t.jsx(Fe,{columns:b.columns,actions:b.actions,data:_.data,from:_.from||1,onAction:oe,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:te,statusColors:b.statusColors,permissions:E,entityPermissions:o.permissions}),t.jsx(Ce,{from:_.from||0,to:_.to||0,total:_.total,links:_.links,entityName:o.name,onPageChange:e=>u.get(e)})]}),t.jsx(_e,{isOpen:Z,onClose:()=>x(!1),onSubmit:ce,formConfig:{...N,modalSize:j.modalSize||N.modalSize},initialData:v,title:h==="create"?`Add New ${o.name.slice(0,-1).charAt(0).toUpperCase()+o.name.slice(0,-1).slice(1)}`:h==="edit"?`Edit ${o.name.slice(0,-1).charAt(0).toUpperCase()+o.name.slice(0,-1).slice(1)}`:`View ${o.name.slice(0,-1).charAt(0).toUpperCase()+o.name.slice(0,-1).slice(1)}`,mode:h,description:j.description}),t.jsx(ye,{isOpen:ee,onClose:()=>$(!1),onConfirm:le,itemName:(v==null?void 0:v.name)||"",entityName:o.name.slice(0,-1)})]})}const De=(j,O)=>H.isInitialized?H.t(j,O):typeof j=="string"?j:String(j);export{ge as P,De as t}; +import{r as C,j as t}from"./ui-Z445SNHD.js";import{P as ue}from"./page-template-CLNVC8w_.js";import{u as he,c as je,x as K,P as xe,S as L,I as ve,o as M,L as q,r as u,t as n,aq as H}from"./app-Dya84jp7.js";import{S as W,a as G,b as J,c as Q,d as w}from"./select-CHkpLxhL.js";import{P as Ce}from"./pagination-4PUepASD.js";import{C as Fe}from"./CrudTable-yqxtM6E_.js";import{C as _e}from"./CrudFormModal-CsuqSfb2.js";import{C as ye}from"./CrudDeleteModal-D32N6I8y.js";import{F as we}from"./filter-BTHjyusi.js";function ge({config:j,title:O,url:X,buttons:T=[],breadcrumbs:Y}){var R;const{t:c}=he(),{entity:o,table:b,filters:y=[],form:N,hooks:d}=j,{auth:A,globalSettings:r,...z}=je().props,E=(A==null?void 0:A.permissions)||[],_=z[o.name]||{data:[],links:[]},m=z.filters||{},[f,I]=C.useState(m.search||""),[F,S]=C.useState({}),[P,V]=C.useState(!1),[Z,x]=C.useState(!1),[ee,$]=C.useState(!1),[v,B]=C.useState(null),[h,U]=C.useState("create");C.useEffect(()=>{const e={};y.forEach(s=>{const l=s.name||s.key;e[l]=m[l]||""}),S(e)},[]);const g=()=>Object.entries(F).some(([e,s])=>s&&s!=="")||f!=="",se=()=>Object.entries(F).filter(([e,s])=>s&&s!=="").length+(f?1:0),re=e=>{e.preventDefault(),ie()},ie=()=>{const e={page:1};f&&(e.search=f),Object.entries(F).forEach(([s,l])=>{l&&l!==""&&(e[s]=l)}),m.per_page&&(e.per_page=m.per_page),u.get(o.endpoint,e,{preserveState:!0,preserveScroll:!0})},ae=(e,s)=>{S(p=>({...p,[e]:s}));const l={page:1};f&&(l.search=f);const a={...F,[e]:s};Object.entries(a).forEach(([p,i])=>{i&&i!==""&&(l[p]=i)}),m.per_page&&(l.per_page=m.per_page),u.get(o.endpoint,l,{preserveState:!0,preserveScroll:!0})},te=e=>{const s=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc",l={sort_field:e,sort_direction:s,page:1};f&&(l.search=f),Object.entries(F).forEach(([a,p])=>{p&&p!==""&&(l[a]=p)}),m.per_page&&(l.per_page=m.per_page),u.get(o.endpoint,l,{preserveState:!0,preserveScroll:!0})},oe=(e,s)=>{switch(B(s),e){case"view":U("view"),x(!0);break;case"edit":U("edit"),x(!0);break;case"delete":$(!0);break}},ne=()=>{B(null),U("create"),x(!0)},ce=e=>{const s={...e};if(o.name==="roles"){if(s.permissions&&Array.isArray(s.permissions)){const p=s.permissions.map(i=>typeof i=="object"&&i!==null&&i.name?i.name:String(i));s.permissions=p}const a={label:s.label,description:s.description||"",permissions:s.permissions||[]};Object.keys(s).forEach(p=>{delete s[p]}),Object.assign(s,a)}else if(s.permissions&&Array.isArray(s.permissions)){const a={};s.permissions.forEach((p,i)=>{a[i]=String(p)}),s.permissions=a}if(o.name==="permissions"&&h==="edit"&&delete s.name,N.fields.some(a=>a.type==="file")){const a=N.fields.filter(i=>i.type==="file").map(i=>i.name),p=new FormData;Object.keys(s).forEach(i=>{if(a.includes(i)&&h==="edit"){s[i]&&typeof s[i]=="object"&&p.append(i,s[i]);return}p.append(i,s[i])}),h==="create"?(r!=null&&r.is_demo||n.loading(c("Creating...")),u.post(o.endpoint,p,{onSuccess:i=>{x(!1),r!=null&&r.is_demo||n.dismiss(),i.props.flash.success?n.success(c(i.props.flash.success)):i.props.flash.error&&n.error(c(i.props.flash.error)),d!=null&&d.afterCreate&&d.afterCreate(e,i.props[o.name])},onError:i=>{r!=null&&r.is_demo||n.dismiss(),typeof i=="string"?n.error(c(i)):n.error(c(`Failed to create ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(i).join(", ")}))}})):h==="edit"&&(r!=null&&r.is_demo||n.loading(c("Updating...")),u.post(`${o.endpoint}/${v.id}?_method=PUT`,p,{onSuccess:i=>{x(!1),r!=null&&r.is_demo||n.dismiss(),i.props.flash.success?n.success(c(i.props.flash.success)):i.props.flash.error&&n.error(c(i.props.flash.error)),d!=null&&d.afterUpdate&&d.afterUpdate(e,i.props[o.name])},onError:i=>{r!=null&&r.is_demo||n.dismiss(),typeof i=="string"?n.error(c(i)):n.error(c(`Failed to update ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(i).join(", ")}))}}));return}h==="create"?(r!=null&&r.is_demo||n.loading(c("Creating...")),u.post(o.endpoint,s,{onSuccess:a=>{x(!1),r!=null&&r.is_demo||n.dismiss(),a.props.flash.success?n.success(c(a.props.flash.success)):a.props.flash.error&&n.error(c(a.props.flash.error)),d!=null&&d.afterCreate&&d.afterCreate(e,a.props[o.name])},onError:a=>{r!=null&&r.is_demo||n.dismiss(),typeof a=="string"?n.error(c(a)):n.error(c(`Failed to create ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(a).join(", ")}))}})):h==="edit"&&(r!=null&&r.is_demo||n.loading(c("Updating...")),u.put(`${o.endpoint}/${v.id}`,s,{onSuccess:a=>{x(!1),r!=null&&r.is_demo||n.dismiss(),a.props.flash.success?n.success(c(a.props.flash.success)):a.props.flash.error&&n.error(c(a.props.flash.error)),d!=null&&d.afterUpdate&&d.afterUpdate(e,a.props[o.name])},onError:a=>{r!=null&&r.is_demo||n.dismiss(),typeof a=="string"?n.error(c(a)):n.error(c(`Failed to update ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(a).join(", ")}))}}))},le=()=>{r!=null&&r.is_demo||n.loading(c("Deleting...")),u.delete(`${o.endpoint}/${v.id}`,{onSuccess:e=>{$(!1),r!=null&&r.is_demo||n.dismiss(),e.props.flash.success?n.success(c(e.props.flash.success)):e.props.flash.error&&n.error(c(e.props.flash.error)),d!=null&&d.afterDelete&&d.afterDelete(v.id)},onError:e=>{r!=null&&r.is_demo||n.dismiss(),typeof e=="string"?n.error(c(e)):n.error(c(`Failed to delete ${o.name.slice(0,-1)}: {{errors}}`,{errors:Object.values(e).join(", ")}))}})},de=()=>{const e={};y.forEach(s=>{e[s.key]=s.type==="select"?"all":""}),S(e),I(""),V(!1),u.get(o.endpoint,{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},pe=T.every(e=>e.showAddButton!==!1),D=[];T.forEach(e=>{(!e.permission||K(E,e.permission))&&D.push({label:e.label,icon:e.icon,variant:e.variant,onClick:e.onClick})}),pe&&K(E,o.permissions.create)&&D.push({label:`Add ${o.name.slice(0,-1).charAt(0).toUpperCase()+o.name.slice(0,-1).slice(1)}`,icon:t.jsx(xe,{className:"h-4 w-4"}),variant:"default",onClick:()=>ne()});const k=O||o.name.charAt(0).toUpperCase()+o.name.slice(1),me=[{title:c("Dashboard"),href:route("dashboard")},{title:k}],fe=Y||me;return t.jsxs(ue,{title:k,url:X,actions:D,breadcrumbs:fe,noPadding:!0,children:[t.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4",children:t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsxs("form",{onSubmit:re,className:"flex gap-2",children:[t.jsxs("div",{className:"relative w-64",children:[t.jsx(L,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),t.jsx(ve,{placeholder:`Search ${o.name}...`,value:f,onChange:e=>I(e.target.value),className:"w-full pl-9"})]}),t.jsxs(M,{type:"submit",size:"sm",children:[t.jsx(L,{className:"h-4 w-4 mr-1.5"}),c("Search")]})]}),y.length>0&&t.jsx("div",{className:"ml-2",children:t.jsxs(M,{variant:g()?"default":"outline",size:"sm",className:"h-8 px-2 py-1",onClick:()=>V(!P),children:[t.jsx(we,{className:"h-3.5 w-3.5 mr-1.5"}),P?"Hide Filters":"Filters",g()&&t.jsx("span",{className:"ml-1 bg-primary-foreground text-primary rounded-full w-5 h-5 flex items-center justify-center text-xs",children:se()})]})})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsxs(q,{className:"text-xs text-muted-foreground",children:[c("Per Page"),":"]}),t.jsxs(W,{value:((R=m.per_page)==null?void 0:R.toString())||"10",onValueChange:e=>{const s={page:1,per_page:parseInt(e)};f&&(s.search=f),Object.entries(F).forEach(([l,a])=>{a&&a!==""&&(s[l]=a)}),u.get(o.endpoint,s,{preserveState:!0,preserveScroll:!0})},children:[t.jsx(G,{className:"w-16 h-8",children:t.jsx(J,{})}),t.jsxs(Q,{children:[t.jsx(w,{value:"10",children:"10"}),t.jsx(w,{value:"25",children:"25"}),t.jsx(w,{value:"50",children:"50"}),t.jsx(w,{value:"100",children:"100"})]})]})]})]}),P&&y.length>0&&t.jsx("div",{className:"w-full mt-3 p-4 bg-gray-50 dark:bg-gray-800 border dark:border-gray-700 rounded-md",children:t.jsxs("div",{className:"flex flex-wrap gap-4 items-end",children:[y.map(e=>{var l;const s=e.name||e.key;return t.jsxs("div",{className:"space-y-2",children:[t.jsx(q,{children:e.label}),e.type==="select"&&t.jsxs(W,{value:F[s]||"",onValueChange:a=>ae(s,a),children:[t.jsx(G,{className:"w-40",children:t.jsx(J,{placeholder:`All ${e.label}`})}),t.jsx(Q,{children:(l=e.options)==null?void 0:l.map(a=>t.jsx(w,{value:a.value,children:a.label},a.value))})]})]},s)}),t.jsx(M,{variant:"outline",size:"sm",className:"h-9",onClick:de,disabled:!g(),children:c("Reset Filters")})]})})]})}),t.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[t.jsx(Fe,{columns:b.columns,actions:b.actions,data:_.data,from:_.from||1,onAction:oe,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:te,statusColors:b.statusColors,permissions:E,entityPermissions:o.permissions}),t.jsx(Ce,{from:_.from||0,to:_.to||0,total:_.total,links:_.links,entityName:o.name,onPageChange:e=>u.get(e)})]}),t.jsx(_e,{isOpen:Z,onClose:()=>x(!1),onSubmit:ce,formConfig:{...N,modalSize:j.modalSize||N.modalSize},initialData:v,title:h==="create"?`Add New ${o.name.slice(0,-1).charAt(0).toUpperCase()+o.name.slice(0,-1).slice(1)}`:h==="edit"?`Edit ${o.name.slice(0,-1).charAt(0).toUpperCase()+o.name.slice(0,-1).slice(1)}`:`View ${o.name.slice(0,-1).charAt(0).toUpperCase()+o.name.slice(0,-1).slice(1)}`,mode:h,description:j.description}),t.jsx(ye,{isOpen:ee,onClose:()=>$(!1),onConfirm:le,itemName:(v==null?void 0:v.name)||"",entityName:o.name.slice(0,-1)})]})}const De=(j,O)=>H.isInitialized?H.t(j,O):typeof j=="string"?j:String(j);export{ge as P,De as t}; diff --git a/public/build/assets/index-BtjYh975.js b/public/build/assets/index-07FSnf47.js similarity index 67% rename from public/build/assets/index-BtjYh975.js rename to public/build/assets/index-07FSnf47.js index b26c21a9d..e61bf2511 100644 --- a/public/build/assets/index-BtjYh975.js +++ b/public/build/assets/index-07FSnf47.js @@ -1 +1 @@ -import{r as u,j as s}from"./ui-Z445SNHD.js";import{P as se}from"./page-template-BTxLyiDA.js";import{u as ae,c as ne,x as le,P as pe,r as m,t as o}from"./app-CfhhiFAk.js";import{C as me}from"./CrudTable-qPWooc10.js";import{C as q}from"./CrudFormModal-DAR9q-oM.js";import{C as de}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ce}from"./pagination-D8A_HnL5.js";import{S as ue}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Yr(){var N,M;const{t}=ae(),{auth:f,candidateOnboarding:i,employees:S,checklists:A,buddyEmployees:v,filters:a={}}=ne().props,x=(f==null?void 0:f.permissions)||[],[g,C]=u.useState(a.search||""),[d,w]=u.useState(a.status||"_empty_"),[c,P]=u.useState(a.employee_id||"_empty_"),[I,j]=u.useState(!1),[T,h]=u.useState(!1),[B,b]=u.useState(!1),[R,_]=u.useState(!1),[n,k]=u.useState(null),[y,F]=u.useState("create"),U=()=>d!=="_empty_"||c!=="_empty_"||g!=="",L=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(g!==""?1:0),V=e=>{e.preventDefault(),E()},E=()=>{m.get(route("hr.recruitment.candidate-onboarding.index"),{page:1,search:g||void 0,status:d!=="_empty_"?d:void 0,employee_id:c!=="_empty_"?c:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},$=e=>{const r=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";m.get(route("hr.recruitment.candidate-onboarding.index"),{sort_field:e,sort_direction:r,page:1,search:g||void 0,status:d!=="_empty_"?d:void 0,employee_id:c!=="_empty_"?c:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},z=(e,r)=>{switch(k(r),e){case"view":m.get(route("hr.recruitment.candidate-onboarding.show",r.id));break;case"edit":F("edit"),b(!0);break;case"delete":h(!0);break;case"update-status":_(!0);break}},G=()=>{k(null),F("create"),b(!0)},H=e=>{D.filter(r=>r.value==="_empty_"||r.value!==e.employee_id),y==="create"?(o.loading(t("Creating candidate onboarding...")),m.post(route("hr.recruitment.candidate-onboarding.store"),e,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(t(r)):o.error(t("Failed to create candidate onboarding: {{errors}}",{errors:Object.values(r).join(", ")}))}})):y==="edit"&&(o.loading(t("Updating candidate onboarding...")),m.put(route("hr.recruitment.candidate-onboarding.update",n.id),e,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(t(r)):o.error(t("Failed to update candidate onboarding: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},J=()=>{o.loading(t("Deleting candidate onboarding...")),m.delete(route("hr.recruitment.candidate-onboarding.destroy",n.id),{onSuccess:e=>{h(!1),o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{o.dismiss(),typeof e=="string"?o.error(t(e)):o.error(t("Failed to delete candidate onboarding: {{errors}}",{errors:Object.values(e).join(", ")}))}})},K=e=>{o.loading(t("Updating status...")),m.put(route("hr.recruitment.candidate-onboarding.update-status",n.id),e,{onSuccess:r=>{_(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(t(r)):o.error(t("Failed to update status: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Q=()=>{C(""),w("_empty_"),P("_empty_"),j(!1),m.get(route("hr.recruitment.candidate-onboarding.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},O=[];le(x,"create-candidate-onboarding")&&O.push({label:t("Start Onboarding"),icon:s.jsx(pe,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>G()});const W=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.candidate-onboarding.index")},{title:t("Candidate Onboarding")}],X=e=>{switch(e){case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"In Progress":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},Y=[{key:"employee.name",label:t("Employee"),render:(e,r)=>{var l;return(l=r.employee)!=null&&l.name?s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:r.employee.name}),s.jsx("div",{className:"text-xs text-gray-500",children:r.employee.email||"-"})]}):"-"}},{key:"checklist.name",label:t("Checklist"),render:(e,r)=>{var l;return((l=r.checklist)==null?void 0:l.name)||"-"}},{key:"start_date",label:t("Start Date"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"buddy_employee.name",label:t("Buddy"),render:(e,r)=>{var l;return((l=r.buddy_employee)==null?void 0:l.name)||"-"}},{key:"status",label:t("Status"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${X(e)}`,children:t(e)})},{key:"created_at",label:t("Created"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],Z=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-candidate-onboarding"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-candidate-onboarding"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"manage-candidate-onboarding-status"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-candidate-onboarding"}],ee=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Pending",label:t("Pending")},{value:"In Progress",label:t("In Progress")},{value:"Completed",label:t("Completed")}],te=[{value:"_empty_",label:t("All Employees"),disabled:!0},...(S||[]).map(e=>({value:e.id.toString(),label:e.name}))],re=[{value:"_empty_",label:t("Select Employee")},...(S||[]).map(e=>({value:e.id.toString(),label:e.name}))],oe=[{value:"_empty_",label:t("Select Checklist")},...(A||[]).map(e=>({value:e.id.toString(),label:e.name}))],D=[{value:"_empty_",label:t("Select Buddy")},...(v||[]).map(e=>({value:e.id.toString(),label:e.name}))];return s.jsxs(se,{title:t("Candidate Onboarding"),url:"/hr/recruitment/candidate-onboarding",actions:O,breadcrumbs:W,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ue,{searchTerm:g,onSearchChange:C,onSearch:V,filters:[{name:"status",label:t("Status"),type:"select",value:d,onChange:w,options:ee,searchable:!0},{name:"employee_id",label:t("Employee"),type:"select",value:c,onChange:P,options:te,searchable:!0}],showFilters:I,setShowFilters:j,hasActiveFilters:U,activeFilterCount:L,onResetFilters:Q,onApplyFilters:E,currentPerPage:((N=a.per_page)==null?void 0:N.toString())||"10",onPerPageChange:e=>{m.get(route("hr.recruitment.candidate-onboarding.index"),{page:1,per_page:parseInt(e),search:g||void 0,status:d!=="_empty_"?d:void 0,employee_id:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(me,{columns:Y,actions:Z,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:z,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:$,permissions:x,entityPermissions:{view:"view-candidate-onboarding",create:"create-candidate-onboarding",edit:"edit-candidate-onboarding",delete:"delete-candidate-onboarding"}}),s.jsx(ce,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("onboarding records"),onPageChange:e=>m.get(e)})]}),s.jsx(q,{isOpen:B,onClose:()=>b(!1),onSubmit:H,formConfig:{fields:[{name:"employee_id",label:t("Employee"),type:"select",required:!0,options:re.filter(e=>e.value!=="_empty_"),searchable:!0,onChange:(e,r)=>{((n==null?void 0:n.buddy_employee_id)||"")===e&&r("buddy_employee_id","")}},{name:"checklist_id",label:t("Onboarding Checklist"),type:"select",required:!0,options:oe.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"start_date",label:t("Start Date"),type:"date",required:!0},{name:"buddy_employee_id",label:t("Buddy Employee"),type:"select",required:!0,options:D.filter(e=>e.value!=="_empty_"),searchable:!0,render:(e,r,l)=>{const ie=v.filter(p=>p.id.toString()!==r.employee_id).map(p=>({value:p.id.toString(),label:p.name}));return s.jsxs("select",{className:"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background",value:r[e.name]||"",onChange:p=>l(e.name,p.target.value),children:[s.jsx("option",{value:"",selected:!0,disabled:!0,children:t("Select Buddy")}),ie.map(p=>s.jsx("option",{value:p.value,children:p.label},p.value))]})}}]},initialData:n,title:t(y==="create"?"Start New Onboarding":y==="edit"?"Edit Onboarding":"View Onboarding"),mode:y}),s.jsx(de,{isOpen:T,onClose:()=>h(!1),onConfirm:J,itemName:n?(M=n.employee)==null?void 0:M.name:"",entityName:"onboarding record"}),s.jsx(q,{isOpen:R,onClose:()=>_(!1),onSubmit:K,formConfig:{fields:[{name:"status",label:t("Status"),type:"select",required:!0,options:[{value:"Pending",label:t("Pending")},{value:"In Progress",label:t("In Progress")},{value:"Completed",label:t("Completed")}]}]},initialData:n?{status:n.status}:{},title:t("Update Onboarding Status"),mode:"edit"})]})}export{Yr as default}; +import{r as u,j as s}from"./ui-Z445SNHD.js";import{P as se}from"./page-template-CLNVC8w_.js";import{u as ae,c as ne,x as le,P as pe,r as m,t as o}from"./app-Dya84jp7.js";import{C as me}from"./CrudTable-yqxtM6E_.js";import{C as q}from"./CrudFormModal-CsuqSfb2.js";import{C as de}from"./CrudDeleteModal-D32N6I8y.js";import{P as ce}from"./pagination-4PUepASD.js";import{S as ue}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Yr(){var N,M;const{t}=ae(),{auth:f,candidateOnboarding:i,employees:S,checklists:A,buddyEmployees:v,filters:a={}}=ne().props,x=(f==null?void 0:f.permissions)||[],[g,C]=u.useState(a.search||""),[d,w]=u.useState(a.status||"_empty_"),[c,P]=u.useState(a.employee_id||"_empty_"),[I,j]=u.useState(!1),[T,h]=u.useState(!1),[B,b]=u.useState(!1),[R,_]=u.useState(!1),[n,k]=u.useState(null),[y,F]=u.useState("create"),U=()=>d!=="_empty_"||c!=="_empty_"||g!=="",L=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(g!==""?1:0),V=e=>{e.preventDefault(),E()},E=()=>{m.get(route("hr.recruitment.candidate-onboarding.index"),{page:1,search:g||void 0,status:d!=="_empty_"?d:void 0,employee_id:c!=="_empty_"?c:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},$=e=>{const r=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";m.get(route("hr.recruitment.candidate-onboarding.index"),{sort_field:e,sort_direction:r,page:1,search:g||void 0,status:d!=="_empty_"?d:void 0,employee_id:c!=="_empty_"?c:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},z=(e,r)=>{switch(k(r),e){case"view":m.get(route("hr.recruitment.candidate-onboarding.show",r.id));break;case"edit":F("edit"),b(!0);break;case"delete":h(!0);break;case"update-status":_(!0);break}},G=()=>{k(null),F("create"),b(!0)},H=e=>{D.filter(r=>r.value==="_empty_"||r.value!==e.employee_id),y==="create"?(o.loading(t("Creating candidate onboarding...")),m.post(route("hr.recruitment.candidate-onboarding.store"),e,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(t(r)):o.error(t("Failed to create candidate onboarding: {{errors}}",{errors:Object.values(r).join(", ")}))}})):y==="edit"&&(o.loading(t("Updating candidate onboarding...")),m.put(route("hr.recruitment.candidate-onboarding.update",n.id),e,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(t(r)):o.error(t("Failed to update candidate onboarding: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},J=()=>{o.loading(t("Deleting candidate onboarding...")),m.delete(route("hr.recruitment.candidate-onboarding.destroy",n.id),{onSuccess:e=>{h(!1),o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{o.dismiss(),typeof e=="string"?o.error(t(e)):o.error(t("Failed to delete candidate onboarding: {{errors}}",{errors:Object.values(e).join(", ")}))}})},K=e=>{o.loading(t("Updating status...")),m.put(route("hr.recruitment.candidate-onboarding.update-status",n.id),e,{onSuccess:r=>{_(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(t(r)):o.error(t("Failed to update status: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Q=()=>{C(""),w("_empty_"),P("_empty_"),j(!1),m.get(route("hr.recruitment.candidate-onboarding.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},O=[];le(x,"create-candidate-onboarding")&&O.push({label:t("Start Onboarding"),icon:s.jsx(pe,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>G()});const W=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.candidate-onboarding.index")},{title:t("Candidate Onboarding")}],X=e=>{switch(e){case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"In Progress":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},Y=[{key:"employee.name",label:t("Employee"),render:(e,r)=>{var l;return(l=r.employee)!=null&&l.name?s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:r.employee.name}),s.jsx("div",{className:"text-xs text-gray-500",children:r.employee.email||"-"})]}):"-"}},{key:"checklist.name",label:t("Checklist"),render:(e,r)=>{var l;return((l=r.checklist)==null?void 0:l.name)||"-"}},{key:"start_date",label:t("Start Date"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"buddy_employee.name",label:t("Buddy"),render:(e,r)=>{var l;return((l=r.buddy_employee)==null?void 0:l.name)||"-"}},{key:"status",label:t("Status"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${X(e)}`,children:t(e)})},{key:"created_at",label:t("Created"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],Z=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-candidate-onboarding"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-candidate-onboarding"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"manage-candidate-onboarding-status"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-candidate-onboarding"}],ee=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Pending",label:t("Pending")},{value:"In Progress",label:t("In Progress")},{value:"Completed",label:t("Completed")}],te=[{value:"_empty_",label:t("All Employees"),disabled:!0},...(S||[]).map(e=>({value:e.id.toString(),label:e.name}))],re=[{value:"_empty_",label:t("Select Employee")},...(S||[]).map(e=>({value:e.id.toString(),label:e.name}))],oe=[{value:"_empty_",label:t("Select Checklist")},...(A||[]).map(e=>({value:e.id.toString(),label:e.name}))],D=[{value:"_empty_",label:t("Select Buddy")},...(v||[]).map(e=>({value:e.id.toString(),label:e.name}))];return s.jsxs(se,{title:t("Candidate Onboarding"),url:"/hr/recruitment/candidate-onboarding",actions:O,breadcrumbs:W,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ue,{searchTerm:g,onSearchChange:C,onSearch:V,filters:[{name:"status",label:t("Status"),type:"select",value:d,onChange:w,options:ee,searchable:!0},{name:"employee_id",label:t("Employee"),type:"select",value:c,onChange:P,options:te,searchable:!0}],showFilters:I,setShowFilters:j,hasActiveFilters:U,activeFilterCount:L,onResetFilters:Q,onApplyFilters:E,currentPerPage:((N=a.per_page)==null?void 0:N.toString())||"10",onPerPageChange:e=>{m.get(route("hr.recruitment.candidate-onboarding.index"),{page:1,per_page:parseInt(e),search:g||void 0,status:d!=="_empty_"?d:void 0,employee_id:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(me,{columns:Y,actions:Z,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:z,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:$,permissions:x,entityPermissions:{view:"view-candidate-onboarding",create:"create-candidate-onboarding",edit:"edit-candidate-onboarding",delete:"delete-candidate-onboarding"}}),s.jsx(ce,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("onboarding records"),onPageChange:e=>m.get(e)})]}),s.jsx(q,{isOpen:B,onClose:()=>b(!1),onSubmit:H,formConfig:{fields:[{name:"employee_id",label:t("Employee"),type:"select",required:!0,options:re.filter(e=>e.value!=="_empty_"),searchable:!0,onChange:(e,r)=>{((n==null?void 0:n.buddy_employee_id)||"")===e&&r("buddy_employee_id","")}},{name:"checklist_id",label:t("Onboarding Checklist"),type:"select",required:!0,options:oe.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"start_date",label:t("Start Date"),type:"date",required:!0},{name:"buddy_employee_id",label:t("Buddy Employee"),type:"select",required:!0,options:D.filter(e=>e.value!=="_empty_"),searchable:!0,render:(e,r,l)=>{const ie=v.filter(p=>p.id.toString()!==r.employee_id).map(p=>({value:p.id.toString(),label:p.name}));return s.jsxs("select",{className:"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background",value:r[e.name]||"",onChange:p=>l(e.name,p.target.value),children:[s.jsx("option",{value:"",selected:!0,disabled:!0,children:t("Select Buddy")}),ie.map(p=>s.jsx("option",{value:p.value,children:p.label},p.value))]})}}]},initialData:n,title:t(y==="create"?"Start New Onboarding":y==="edit"?"Edit Onboarding":"View Onboarding"),mode:y}),s.jsx(de,{isOpen:T,onClose:()=>h(!1),onConfirm:J,itemName:n?(M=n.employee)==null?void 0:M.name:"",entityName:"onboarding record"}),s.jsx(q,{isOpen:R,onClose:()=>_(!1),onSubmit:K,formConfig:{fields:[{name:"status",label:t("Status"),type:"select",required:!0,options:[{value:"Pending",label:t("Pending")},{value:"In Progress",label:t("In Progress")},{value:"Completed",label:t("Completed")}]}]},initialData:n?{status:n.status}:{},title:t("Update Onboarding Status"),mode:"edit"})]})}export{Yr as default}; diff --git a/public/build/assets/index-DJuy97vM.js b/public/build/assets/index-0Z3DI-n5.js similarity index 62% rename from public/build/assets/index-DJuy97vM.js rename to public/build/assets/index-0Z3DI-n5.js index c2204f846..da9a746e3 100644 --- a/public/build/assets/index-DJuy97vM.js +++ b/public/build/assets/index-0Z3DI-n5.js @@ -1 +1 @@ -import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as Y}from"./page-template-BTxLyiDA.js";import{u as Z,c as R,x as ee,P as te,r as d,D as re,t as i}from"./app-CfhhiFAk.js";import{C as ie}from"./CrudTable-qPWooc10.js";import{C as oe}from"./CrudFormModal-DAR9q-oM.js";import{C as se}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ne}from"./pagination-D8A_HnL5.js";import{S as ae}from"./search-and-filter-bar-6Pp-FsiR.js";import pe from"./view-5dgAhEQh.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Qr(){var A;const{t}=Z(),{auth:b,interviewRounds:o,jobPostings:_,filters:n={}}=R().props,S=(b==null?void 0:b.permissions)||[],[c,y]=l.useState(n.search||""),[p,w]=l.useState(n.status||"_empty_"),[m,x]=l.useState(n.job_id||"_empty_"),[I,j]=l.useState(!1),[q,g]=l.useState(!1),[E,f]=l.useState(!1),[u,F]=l.useState(null),[v,C]=l.useState("create"),[h,P]=l.useState(null),$=()=>p!=="_empty_"||m!=="_empty_"||c!=="",T=()=>(p!=="_empty_"?1:0)+(m!=="_empty_"?1:0)+(c!==""?1:0),M=e=>{e.preventDefault(),N()},N=()=>{d.get(route("hr.recruitment.interview-rounds.index"),{page:1,search:c||void 0,status:p!=="_empty_"?p:void 0,job_id:m!=="_empty_"?m:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},J=e=>{const r=n.sort_field===e&&n.sort_direction==="asc"?"desc":"asc";d.get(route("hr.recruitment.interview-rounds.index"),{sort_field:e,sort_direction:r,page:1,search:c||void 0,status:p!=="_empty_"?p:void 0,job_id:m!=="_empty_"?m:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},V=(e,r)=>{switch(F(r),e){case"view":P(r);break;case"edit":C("edit"),f(!0);break;case"delete":g(!0);break;case"toggle-status":z(r);break}},L=()=>{F(null),C("create"),f(!0)},B=e=>{v==="create"?(i.loading(t("Creating interview round...")),d.post(route("hr.recruitment.interview-rounds.store"),e,{onSuccess:r=>{f(!1),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to create interview round: ${Object.values(r).join(", ")}`)}})):v==="edit"&&(i.loading(t("Updating interview round...")),d.put(route("hr.recruitment.interview-rounds.update",u.id),e,{onSuccess:r=>{f(!1),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update interview round: ${Object.values(r).join(", ")}`)}}))},U=()=>{i.loading(t("Deleting interview round...")),d.delete(route("hr.recruitment.interview-rounds.destroy",u.id),{onSuccess:e=>{g(!1),i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete interview round: ${Object.values(e).join(", ")}`)}})},z=e=>{const r=e.status==="active"?"inactive":"active";i.loading(`${t(r==="active"?"Activating":"Deactivating")} interview round...`),d.put(route("hr.recruitment.interview-rounds.toggle-status",e.id),{},{onSuccess:a=>{i.dismiss(),a.props.flash.success?i.success(t(a.props.flash.success)):a.props.flash.error&&i.error(t(a.props.flash.error))},onError:a=>{i.dismiss(),typeof a=="string"?i.error(a):i.error(`Failed to update interview round status: ${Object.values(a).join(", ")}`)}})},G=()=>{y(""),w("_empty_"),x("_empty_"),j(!1),d.get(route("hr.recruitment.interview-rounds.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},D=[];ee(S,"create-interview-rounds")&&D.push({label:t("Add Interview Round"),icon:s.jsx(te,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>L()});const H=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.interview-rounds.index")},{title:t("Interview Rounds")}],K=[{key:"job.title",label:t("Job"),render:(e,r)=>{var a,O;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((a=r.job)==null?void 0:a.title)||"-"}),s.jsx("div",{className:"text-xs text-gray-500",children:((O=r.job)==null?void 0:O.job_code)||""})]})}},{key:"sequence_number",label:t("Sequence"),sortable:!1,render:e=>s.jsx("span",{className:"inline-flex items-center rounded-full bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:e})},{key:"name",label:t("Name"),sortable:!1,render:e=>s.jsx("div",{className:"font-medium",children:e})},{key:"description",label:t("Description"),render:e=>e||"-"},{key:"status",label:t("Status"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t(e==="active"?"Active":"Inactive")})},{key:"created_at",label:t("Created At"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],Q=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-interview-rounds"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-interview-rounds"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-interview-rounds"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-interview-rounds"}],k=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}],W=[{value:"_empty_",label:t("All Jobs"),disabled:!0},...(_||[]).map(e=>({value:e.id.toString(),label:`${e.job_code} - ${e.title}`}))],X=[{value:"_empty_",label:t("Select Job")},...(_||[]).map(e=>({value:e.id.toString(),label:`${e.job_code} - ${e.title}`}))];return s.jsxs(Y,{title:t("Interview Rounds"),url:"/hr/recruitment/interview-rounds",actions:D,breadcrumbs:H,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ae,{searchTerm:c,onSearchChange:y,onSearch:M,filters:[{name:"status",label:t("Status"),type:"select",value:p,onChange:w,options:k},{name:"job_id",label:t("Job"),type:"select",value:m,onChange:x,options:W,searchable:!0}],showFilters:I,setShowFilters:j,hasActiveFilters:$,activeFilterCount:T,onResetFilters:G,onApplyFilters:N,currentPerPage:((A=n.per_page)==null?void 0:A.toString())||"10",onPerPageChange:e=>{d.get(route("hr.recruitment.interview-rounds.index"),{page:1,per_page:parseInt(e),search:c||void 0,status:p!=="_empty_"?p:void 0,job_id:m!=="_empty_"?m:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(ie,{columns:K,actions:Q,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:V,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:J,permissions:S,entityPermissions:{view:"view-interview-rounds",create:"create-interview-rounds",edit:"edit-interview-rounds",delete:"delete-interview-rounds"}}),s.jsx(ne,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("interview rounds"),onPageChange:e=>d.get(e)})]}),s.jsx(oe,{isOpen:E,onClose:()=>f(!1),onSubmit:B,formConfig:{fields:[{name:"job_id",label:t("Job"),type:"select",required:!0,options:X.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"name",label:t("Name"),type:"text",required:!0},{name:"sequence_number",label:t("Sequence Number"),type:"number",required:!0,min:1},{name:"description",label:t("Description"),type:"textarea"},{name:"status",label:t("Status"),type:"select",required:!0,options:k.filter(e=>e.value!=="_empty_")}]},initialData:u,title:t(v==="create"?"Add New Interview Round":"Edit Interview Round"),mode:v}),s.jsx(se,{isOpen:q,onClose:()=>g(!1),onConfirm:U,itemName:(u==null?void 0:u.name)||"",entityName:"interview round"}),s.jsx(re,{open:!!h,onOpenChange:()=>P(null),children:h&&s.jsx(pe,{interviewRound:h})})]})}export{Qr as default}; +import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as Y}from"./page-template-CLNVC8w_.js";import{u as Z,c as R,x as ee,P as te,r as d,D as re,t as i}from"./app-Dya84jp7.js";import{C as ie}from"./CrudTable-yqxtM6E_.js";import{C as oe}from"./CrudFormModal-CsuqSfb2.js";import{C as se}from"./CrudDeleteModal-D32N6I8y.js";import{P as ne}from"./pagination-4PUepASD.js";import{S as ae}from"./search-and-filter-bar-DWH0yn_r.js";import pe from"./view-0E0bYwEc.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Qr(){var A;const{t}=Z(),{auth:b,interviewRounds:o,jobPostings:_,filters:n={}}=R().props,S=(b==null?void 0:b.permissions)||[],[c,y]=l.useState(n.search||""),[p,w]=l.useState(n.status||"_empty_"),[m,x]=l.useState(n.job_id||"_empty_"),[I,j]=l.useState(!1),[q,g]=l.useState(!1),[E,f]=l.useState(!1),[u,F]=l.useState(null),[v,C]=l.useState("create"),[h,P]=l.useState(null),$=()=>p!=="_empty_"||m!=="_empty_"||c!=="",T=()=>(p!=="_empty_"?1:0)+(m!=="_empty_"?1:0)+(c!==""?1:0),M=e=>{e.preventDefault(),N()},N=()=>{d.get(route("hr.recruitment.interview-rounds.index"),{page:1,search:c||void 0,status:p!=="_empty_"?p:void 0,job_id:m!=="_empty_"?m:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},J=e=>{const r=n.sort_field===e&&n.sort_direction==="asc"?"desc":"asc";d.get(route("hr.recruitment.interview-rounds.index"),{sort_field:e,sort_direction:r,page:1,search:c||void 0,status:p!=="_empty_"?p:void 0,job_id:m!=="_empty_"?m:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},V=(e,r)=>{switch(F(r),e){case"view":P(r);break;case"edit":C("edit"),f(!0);break;case"delete":g(!0);break;case"toggle-status":z(r);break}},L=()=>{F(null),C("create"),f(!0)},B=e=>{v==="create"?(i.loading(t("Creating interview round...")),d.post(route("hr.recruitment.interview-rounds.store"),e,{onSuccess:r=>{f(!1),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to create interview round: ${Object.values(r).join(", ")}`)}})):v==="edit"&&(i.loading(t("Updating interview round...")),d.put(route("hr.recruitment.interview-rounds.update",u.id),e,{onSuccess:r=>{f(!1),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update interview round: ${Object.values(r).join(", ")}`)}}))},U=()=>{i.loading(t("Deleting interview round...")),d.delete(route("hr.recruitment.interview-rounds.destroy",u.id),{onSuccess:e=>{g(!1),i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete interview round: ${Object.values(e).join(", ")}`)}})},z=e=>{const r=e.status==="active"?"inactive":"active";i.loading(`${t(r==="active"?"Activating":"Deactivating")} interview round...`),d.put(route("hr.recruitment.interview-rounds.toggle-status",e.id),{},{onSuccess:a=>{i.dismiss(),a.props.flash.success?i.success(t(a.props.flash.success)):a.props.flash.error&&i.error(t(a.props.flash.error))},onError:a=>{i.dismiss(),typeof a=="string"?i.error(a):i.error(`Failed to update interview round status: ${Object.values(a).join(", ")}`)}})},G=()=>{y(""),w("_empty_"),x("_empty_"),j(!1),d.get(route("hr.recruitment.interview-rounds.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},D=[];ee(S,"create-interview-rounds")&&D.push({label:t("Add Interview Round"),icon:s.jsx(te,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>L()});const H=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.interview-rounds.index")},{title:t("Interview Rounds")}],K=[{key:"job.title",label:t("Job"),render:(e,r)=>{var a,O;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((a=r.job)==null?void 0:a.title)||"-"}),s.jsx("div",{className:"text-xs text-gray-500",children:((O=r.job)==null?void 0:O.job_code)||""})]})}},{key:"sequence_number",label:t("Sequence"),sortable:!1,render:e=>s.jsx("span",{className:"inline-flex items-center rounded-full bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:e})},{key:"name",label:t("Name"),sortable:!1,render:e=>s.jsx("div",{className:"font-medium",children:e})},{key:"description",label:t("Description"),render:e=>e||"-"},{key:"status",label:t("Status"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t(e==="active"?"Active":"Inactive")})},{key:"created_at",label:t("Created At"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],Q=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-interview-rounds"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-interview-rounds"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-interview-rounds"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-interview-rounds"}],k=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}],W=[{value:"_empty_",label:t("All Jobs"),disabled:!0},...(_||[]).map(e=>({value:e.id.toString(),label:`${e.job_code} - ${e.title}`}))],X=[{value:"_empty_",label:t("Select Job")},...(_||[]).map(e=>({value:e.id.toString(),label:`${e.job_code} - ${e.title}`}))];return s.jsxs(Y,{title:t("Interview Rounds"),url:"/hr/recruitment/interview-rounds",actions:D,breadcrumbs:H,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ae,{searchTerm:c,onSearchChange:y,onSearch:M,filters:[{name:"status",label:t("Status"),type:"select",value:p,onChange:w,options:k},{name:"job_id",label:t("Job"),type:"select",value:m,onChange:x,options:W,searchable:!0}],showFilters:I,setShowFilters:j,hasActiveFilters:$,activeFilterCount:T,onResetFilters:G,onApplyFilters:N,currentPerPage:((A=n.per_page)==null?void 0:A.toString())||"10",onPerPageChange:e=>{d.get(route("hr.recruitment.interview-rounds.index"),{page:1,per_page:parseInt(e),search:c||void 0,status:p!=="_empty_"?p:void 0,job_id:m!=="_empty_"?m:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(ie,{columns:K,actions:Q,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:V,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:J,permissions:S,entityPermissions:{view:"view-interview-rounds",create:"create-interview-rounds",edit:"edit-interview-rounds",delete:"delete-interview-rounds"}}),s.jsx(ne,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("interview rounds"),onPageChange:e=>d.get(e)})]}),s.jsx(oe,{isOpen:E,onClose:()=>f(!1),onSubmit:B,formConfig:{fields:[{name:"job_id",label:t("Job"),type:"select",required:!0,options:X.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"name",label:t("Name"),type:"text",required:!0},{name:"sequence_number",label:t("Sequence Number"),type:"number",required:!0,min:1},{name:"description",label:t("Description"),type:"textarea"},{name:"status",label:t("Status"),type:"select",required:!0,options:k.filter(e=>e.value!=="_empty_")}]},initialData:u,title:t(v==="create"?"Add New Interview Round":"Edit Interview Round"),mode:v}),s.jsx(se,{isOpen:q,onClose:()=>g(!1),onConfirm:U,itemName:(u==null?void 0:u.name)||"",entityName:"interview round"}),s.jsx(re,{open:!!h,onOpenChange:()=>P(null),children:h&&s.jsx(pe,{interviewRound:h})})]})}export{Qr as default}; diff --git a/public/build/assets/index-CIa3Xokp.js b/public/build/assets/index-3kfBTgG2.js similarity index 65% rename from public/build/assets/index-CIa3Xokp.js rename to public/build/assets/index-3kfBTgG2.js index 350de1400..bd4c883d4 100644 --- a/public/build/assets/index-CIa3Xokp.js +++ b/public/build/assets/index-3kfBTgG2.js @@ -1 +1 @@ -import{r as i,j as e}from"./ui-Z445SNHD.js";import{P as gt}from"./page-template-BTxLyiDA.js";import{u as lt,K as ft,c as ut,ad as dt,F as ht,S as yt,o as St,e as xt,as as jt}from"./app-CfhhiFAk.js";import{S as Nt}from"./scroll-area-Dxv7Ysgl.js";import Rt from"./system-settings-BOfM4ZSu.js";import wt from"./currency-settings-WgmyxKUz.js";import bt from"./email-settings-CgeSmhsA.js";import kt from"./payment-settings-BTgVS2wQ.js";import Tt from"./storage-settings-B8KLOCSA.js";import Ct from"./recaptcha-settings-C2nUOtIM.js";import Pt from"./chatgpt-settings-DS2lPGzN.js";import vt from"./cookie-settings-ZygGKw1c.js";import Et from"./seo-settings-BcLiux8O.js";import Bt from"./cache-settings-CSv5JD42.js";import It from"./working-days-settings-CLpYREMh.js";import Dt from"./ip-restriction-settings-0-6ixzy_.js";import Lt from"./noc-settings-Bp7HoVl3.js";import Ft from"./experience-certificate-settings-BUN-EjHN.js";import Wt from"./joining-letter-settings-6wlzZ749.js";import{T as zt}from"./toaster-Bc5RPjCT.js";import{S as At}from"./settings-BwhyNRyj.js";import{D as Gt}from"./dollar-sign-DYXFWWsE.js";import{M as Ht}from"./mail-CGIE7ZEy.js";import{C as Jt}from"./clock-CwFdn-oy.js";import{N as Mt,F as Ot,B as Vt,a as $t}from"./CrudTable-qPWooc10.js";import{B as Kt}from"./briefcase-CLRn8zVu.js";import{C as Ut}from"./credit-card-BmdpMcMw.js";import{H as Ge}from"./hard-drive-B_Mpft6K.js";import{S as Yt}from"./shield-BXgaUVtY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./info-D_4wnc_R.js";import"./alert-DH0o7BP8.js";import"./server-Dw1-QcTX.js";import"./circle-alert-64DrdoHv.js";import"./lock-By6rMOj7.js";import"./send-Cj7KqUHo.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./indian-rupee-Dzf_OaiN.js";import"./wallet-OtmBA2C9.js";import"./tabs-pc4jrsjt.js";import"./checkbox-1_Cig_g5.js";import"./download-Bk1k2_dW.js";import"./lightbulb-BGgHG47R.js";import"./trash-2-C1NR_7Ss.js";import"./CrudDeleteModal-CKTiD3_K.js";import"./CrudFormModal-DAR9q-oM.js";import"./multi-select-field-Dxyl0jtB.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./external-link-QgK5Wt8A.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hash-BdwQ_IPO.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./log-in-DDjMW0xI.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./rich-text-editor-6rkrWVFe.js";function er(){var I,D,L,F,W,z,A,G,H,J,M,O,V,$,K,U,Y,_,q,Q,X,Z,ee,te,se,ie,ne,re,oe,me,ae,pe,ce,ge,le,fe,ue,de,he,ye,Se,xe;const{t:n}=lt(),{position:d}=ft(),{systemSettings:a={},cacheSize:He="0.00",timezones:Je={},dateFormats:Me={},timeFormats:Oe={},paymentSettings:Ve={},webhooks:_t=[],auth:t={},globalSettings:u={},nocTemplates:$e=[],joiningLetterTemplates:Ke=[],experienceCertificateTemplates:Ue=[],languages:qt=[]}=ut().props,p=u==null?void 0:u.is_saas,[Ye,o]=i.useState("system-settings"),_e=[{title:n("System Settings"),href:"#system-settings",icon:e.jsx(At,{className:"h-4 w-4 mr-2"}),permission:"manage-system-settings"},{title:n("Brand Settings"),href:"#brand-settings",icon:e.jsx(dt,{className:"h-4 w-4 mr-2"}),permission:"manage-brand-settings"},{title:n("Currency Settings"),href:"#currency-settings",icon:e.jsx(Gt,{className:"h-4 w-4 mr-2"}),permission:"manage-currency-settings"},{title:n("Email Settings"),href:"#email-settings",icon:e.jsx(Ht,{className:"h-4 w-4 mr-2"}),permission:"manage-email-settings"},{title:n("Working Days Settings"),href:"#working-days-settings",icon:e.jsx(Jt,{className:"h-4 w-4 mr-2"}),permission:"manage-working-days-settings"},{title:n("IP Restriction Settings"),href:"#ip-restriction-settings",icon:e.jsx(Mt,{className:"h-4 w-4 mr-2"}),permission:"manage-ip-restriction-settings"},{title:n("NOC Settings"),href:"#noc-settings",icon:e.jsx(ht,{className:"h-4 w-4 mr-2"}),permission:"manage-noc"},{title:n("Experience Certificate Settings"),href:"#experience-certificate-settings",icon:e.jsx(Kt,{className:"h-4 w-4 mr-2"}),permission:"manage-experience-certificate"},{title:n("Joining Letter Settings"),href:"#joining-letter-settings",icon:e.jsx(Ot,{className:"h-4 w-4 mr-2"}),permission:"manage-joining-letter"},{title:n("Payment Settings"),href:"#payment-settings",icon:e.jsx(Ut,{className:"h-4 w-4 mr-2"}),permission:"manage-payment-settings"},{title:n("Storage Settings"),href:"#storage-settings",icon:e.jsx(Ge,{className:"h-4 w-4 mr-2"}),permission:"manage-storage-settings"},{title:n("ReCaptcha Settings"),href:"#recaptcha-settings",icon:e.jsx(Yt,{className:"h-4 w-4 mr-2"}),permission:"manage-recaptcha-settings"},{title:n("Chat GPT Settings"),href:"#chatgpt-settings",icon:e.jsx(Vt,{className:"h-4 w-4 mr-2"}),permission:"manage-chatgpt-settings"},{title:n("Cookie Settings"),href:"#cookie-settings",icon:e.jsx($t,{className:"h-4 w-4 mr-2"}),permission:"manage-cookie-settings"},{title:n("SEO Settings"),href:"#seo-settings",icon:e.jsx(yt,{className:"h-4 w-4 mr-2"}),permission:"manage-seo-settings"},{title:n("Cache Settings"),href:"#cache-settings",icon:e.jsx(Ge,{className:"h-4 w-4 mr-2"}),permission:"manage-cache-settings"}].filter(r=>{var m,s,c,g,l;if(r.permission==="manage-working-days-settings"&&((m=t.user)==null?void 0:m.type)==="superadmin"||r.permission==="manage-ip-restriction-settings"&&((s=t.user)==null?void 0:s.type)==="superadmin"||r.permission==="manage-noc"&&((c=t.user)==null?void 0:c.type)==="superadmin"||r.permission==="manage-experience-certificate"&&((g=t.user)==null?void 0:g.type)==="superadmin"||r.permission==="manage-joining-letter"&&((l=t.user)==null?void 0:l.type)==="superadmin")return!1;if(!r.permission||t.permissions&&t.permissions.includes(r.permission))return!0;if(t.user&&t.user.type==="company"){const f=["manage-system-settings","manage-email-settings","manage-currency-settings","manage-brand-settings","manage-webhook-settings","manage-working-days-settings","manage-ip-restriction-settings","settings"];return p||f.push("manage-storage-settings","manage-recaptcha-settings","manage-chatgpt-settings","manage-cookie-settings","manage-seo-settings","manage-cache-settings","manage-working-days-settings","manage-ip-restriction-settings"),f.includes(r.permission)}return!1}),h=i.useRef(null),y=i.useRef(null),S=i.useRef(null),x=i.useRef(null),j=i.useRef(null),N=i.useRef(null),R=i.useRef(null),w=i.useRef(null),b=i.useRef(null),k=i.useRef(null),T=i.useRef(null),C=i.useRef(null),qe=i.useRef(null),Qe=i.useRef(null),Xe=i.useRef(null),P=i.useRef(null),v=i.useRef(null),E=i.useRef(null),B=i.useRef(null);i.useEffect(()=>{const r=()=>{var je,Ne,Re,we,be,ke,Te,Ce,Pe,ve,Ee,Be,Ie,De,Le,Fe,We,ze,Ae;const s=window.scrollY+100;(je=h.current)!=null&&je.offsetTop;const c=((Ne=y.current)==null?void 0:Ne.offsetTop)||0,g=((Re=S.current)==null?void 0:Re.offsetTop)||0,l=((we=x.current)==null?void 0:we.offsetTop)||0,f=((be=j.current)==null?void 0:be.offsetTop)||0,et=((ke=N.current)==null?void 0:ke.offsetTop)||0,tt=((Te=R.current)==null?void 0:Te.offsetTop)||0,st=((Ce=w.current)==null?void 0:Ce.offsetTop)||0,it=((Pe=b.current)==null?void 0:Pe.offsetTop)||0,nt=((ve=k.current)==null?void 0:ve.offsetTop)||0,rt=((Ee=T.current)==null?void 0:Ee.offsetTop)||0,ot=((Be=C.current)==null?void 0:Be.offsetTop)||0;(Ie=qe.current)!=null&&Ie.offsetTop,(De=Qe.current)!=null&&De.offsetTop,(Le=Xe.current)!=null&&Le.offsetTop;const mt=((Fe=P.current)==null?void 0:Fe.offsetTop)||0,at=((We=v.current)==null?void 0:We.offsetTop)||0,pt=((ze=E.current)==null?void 0:ze.offsetTop)||0,ct=((Ae=B.current)==null?void 0:Ae.offsetTop)||0;s>=ct?o("joining-letter-settings"):s>=pt?o("experience-certificate-settings"):s>=at?o("noc-settings"):s>=mt?o("ip-restriction-settings"):s>=ot?o("cache-settings"):s>=rt?o("seo-settings"):s>=nt?o("cookie-settings"):s>=it?o("chatgpt-settings"):s>=st?o("recaptcha-settings"):s>=tt?o("storage-settings"):s>=et?o("payment-settings"):s>=l?o("working-days-settings"):s>=f?o("email-settings"):s>=g?o("currency-settings"):s>=c?o("brand-settings"):o("system-settings")};window.addEventListener("scroll",r);const m=window.location.hash.replace("#","");if(m){const s=document.getElementById(m);s&&(s.scrollIntoView({behavior:"smooth"}),o(m))}return()=>{window.removeEventListener("scroll",r)}},[]);const Ze=r=>{const m=r.replace("#",""),s=document.getElementById(m);s&&(s.scrollIntoView({behavior:"smooth"}),o(m))};return e.jsxs(gt,{title:n("Settings"),url:"/settings",breadcrumbs:[{title:n("Dashboard"),href:route("dashboard")},{title:n("Settings")}],children:[e.jsxs("div",{className:"flex flex-col md:flex-row gap-8",dir:d==="right"?"rtl":"ltr",children:[e.jsx("div",{className:"md:w-64 flex-shrink-0",children:e.jsx("div",{className:"sticky top-20",children:e.jsx(Nt,{className:"h-[calc(100vh-5rem)]",children:e.jsx("div",{className:`space-y-1 ${d==="rtl"?"pl-4":"pr-4"}`,children:_e.map(r=>e.jsxs(St,{variant:"ghost",className:xt("w-full justify-start",{"bg-muted font-medium":Ye===r.href.replace("#","")}),onClick:()=>Ze(r.href),children:[r.icon,r.title]},r.href))})})})}),e.jsxs("div",{className:"flex-1",children:[(((I=t.permissions)==null?void 0:I.includes("manage-system-settings"))||((D=t.user)==null?void 0:D.type)==="superadmin"||((L=t.user)==null?void 0:L.type)==="company")&&e.jsx("section",{id:"system-settings",ref:h,className:"mb-8",children:e.jsx(Rt,{settings:a,timezones:Je,dateFormats:Me,timeFormats:Oe,isCompanyUser:((F=t.user)==null?void 0:F.type)==="company"})}),(((W=t.permissions)==null?void 0:W.includes("manage-brand-settings"))||((z=t.user)==null?void 0:z.type)==="superadmin")&&e.jsx("section",{id:"brand-settings",ref:y,className:"mb-8",children:e.jsx(jt,{settings:a})}),(((A=t.permissions)==null?void 0:A.includes("manage-currency-settings"))||((G=t.user)==null?void 0:G.type)==="superadmin"||((H=t.user)==null?void 0:H.type)==="company")&&e.jsx("section",{id:"currency-settings",ref:S,className:"mb-8",children:e.jsx(wt,{})}),(((J=t.permissions)==null?void 0:J.includes("manage-email-settings"))||((M=t.user)==null?void 0:M.type)==="superadmin")&&e.jsx("section",{id:"email-settings",ref:j,className:"mb-8",children:e.jsx(bt,{})}),((O=t.user)==null?void 0:O.type)!=="superadmin"&&(((V=t.permissions)==null?void 0:V.includes("manage-working-days-settings"))||(($=t.user)==null?void 0:$.type)==="company")&&e.jsx("section",{id:"working-days-settings",ref:x,className:"mb-8",children:e.jsx(It,{settings:a})}),((K=t.user)==null?void 0:K.type)==="company"&&((U=t.permissions)==null?void 0:U.includes("manage-ip-restriction-settings"))&&e.jsx("section",{id:"ip-restriction-settings",ref:P,className:"mb-8",children:e.jsx(Dt,{})}),((Y=t.user)==null?void 0:Y.type)==="company"&&((_=t.permissions)==null?void 0:_.includes("manage-noc"))&&e.jsx("section",{id:"noc-settings",ref:v,className:"mb-8",children:e.jsx(Lt,{templates:$e})}),((q=t.user)==null?void 0:q.type)==="company"&&((Q=t.permissions)==null?void 0:Q.includes("manage-experience-certificate"))&&e.jsx("section",{id:"experience-certificate-settings",ref:E,className:"mb-8",children:e.jsx(Ft,{templates:Ue})}),((X=t.user)==null?void 0:X.type)==="company"&&((Z=t.permissions)==null?void 0:Z.includes("manage-joining-letter"))&&e.jsx("section",{id:"joining-letter-settings",ref:B,className:"mb-8",children:e.jsx(Wt,{templates:Ke})}),(((ee=t.permissions)==null?void 0:ee.includes("manage-payment-settings"))||((te=t.user)==null?void 0:te.type)==="superadmin")&&e.jsx("section",{id:"payment-settings",ref:N,className:"mb-8",children:e.jsx(kt,{settings:Ve})}),((se=t.permissions)==null?void 0:se.includes("manage-settings"))&&(((ie=t.user)==null?void 0:ie.type)==="superadmin"||((ne=t.user)==null?void 0:ne.type)==="company"&&!p)&&e.jsx("section",{id:"storage-settings",ref:R,className:"mb-8",children:e.jsx(Tt,{settings:a})}),(((re=t.permissions)==null?void 0:re.includes("manage-recaptcha-settings"))||((oe=t.user)==null?void 0:oe.type)==="superadmin"||((me=t.user)==null?void 0:me.type)==="company"&&!p)&&e.jsx("section",{id:"recaptcha-settings",ref:w,className:"mb-8",children:e.jsx(Ct,{settings:a})}),(((ae=t.permissions)==null?void 0:ae.includes("manage-chatgpt-settings"))||((pe=t.user)==null?void 0:pe.type)==="superadmin"||((ce=t.user)==null?void 0:ce.type)==="company"&&!p)&&e.jsx("section",{id:"chatgpt-settings",ref:b,className:"mb-8",children:e.jsx(Pt,{settings:a})}),(((ge=t.permissions)==null?void 0:ge.includes("manage-cookie-settings"))||((le=t.user)==null?void 0:le.type)==="superadmin"||((fe=t.user)==null?void 0:fe.type)==="company"&&!p)&&e.jsx("section",{id:"cookie-settings",ref:k,className:"mb-8",children:e.jsx(vt,{settings:a})}),(((ue=t.permissions)==null?void 0:ue.includes("manage-seo-settings"))||((de=t.user)==null?void 0:de.type)==="superadmin"||((he=t.user)==null?void 0:he.type)==="company"&&!p)&&e.jsx("section",{id:"seo-settings",ref:T,className:"mb-8",children:e.jsx(Et,{settings:a})}),(((ye=t.permissions)==null?void 0:ye.includes("manage-cache-settings"))||((Se=t.user)==null?void 0:Se.type)==="superadmin"||((xe=t.user)==null?void 0:xe.type)==="company"&&!p)&&e.jsx("section",{id:"cache-settings",ref:C,className:"mb-8",children:e.jsx(Bt,{cacheSize:He})})]})]}),e.jsx(zt,{})]})}export{er as default}; +import{r as i,j as e}from"./ui-Z445SNHD.js";import{P as gt}from"./page-template-CLNVC8w_.js";import{u as lt,K as ft,c as ut,ad as dt,F as ht,S as yt,o as St,e as xt,as as jt}from"./app-Dya84jp7.js";import{S as Nt}from"./scroll-area-T2TE8oKI.js";import Rt from"./system-settings-CiunzQ_e.js";import wt from"./currency-settings-BT4omTSx.js";import bt from"./email-settings-D6iy7QiV.js";import kt from"./payment-settings-DH-KiRcT.js";import Tt from"./storage-settings-etuGiLdE.js";import Ct from"./recaptcha-settings-Cr42TArj.js";import Pt from"./chatgpt-settings-D_IVaC5b.js";import vt from"./cookie-settings-D7p7EysW.js";import Et from"./seo-settings-BzvLQN-Z.js";import Bt from"./cache-settings-B_8J---F.js";import It from"./working-days-settings-Ba_UCqex.js";import Dt from"./ip-restriction-settings-D34h7VGk.js";import Lt from"./noc-settings-Btctqwcg.js";import Ft from"./experience-certificate-settings-DVg3g6Wh.js";import Wt from"./joining-letter-settings-Dg8J1HvK.js";import{T as zt}from"./toaster-Bc5RPjCT.js";import{S as At}from"./settings-amvA_CjN.js";import{D as Gt}from"./dollar-sign-DH2Tc178.js";import{M as Ht}from"./mail-Cha_PX4q.js";import{C as Jt}from"./clock-LnEFQ-vK.js";import{N as Mt,F as Ot,B as Vt,a as $t}from"./CrudTable-yqxtM6E_.js";import{B as Kt}from"./briefcase-Btn3T9V4.js";import{C as Ut}from"./credit-card-BKi_ThdS.js";import{H as Ge}from"./hard-drive-7VwcRvWp.js";import{S as Yt}from"./shield-CDL27iRK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./info-CPi9bOGM.js";import"./alert-CyJVNPY9.js";import"./server-Bk9UD-_r.js";import"./circle-alert-Ddjg2Qwp.js";import"./lock-DaHvMEII.js";import"./send-Cs5D4i9u.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./indian-rupee-CCruSHM0.js";import"./wallet-ChDgCFUl.js";import"./tabs-CsP5VcXV.js";import"./checkbox-BLrehV38.js";import"./download-BBNmalxc.js";import"./lightbulb-BaPQrzRp.js";import"./trash-2-BeirBLIk.js";import"./CrudDeleteModal-D32N6I8y.js";import"./CrudFormModal-CsuqSfb2.js";import"./multi-select-field-CO_GzZgi.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./external-link-Cr5OfBdg.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hash-CHQJ9wMw.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./log-in-3L4UHGsD.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./rich-text-editor-uObNYFW4.js";function er(){var I,D,L,F,W,z,A,G,H,J,M,O,V,$,K,U,Y,_,q,Q,X,Z,ee,te,se,ie,ne,re,oe,me,ae,pe,ce,ge,le,fe,ue,de,he,ye,Se,xe;const{t:n}=lt(),{position:d}=ft(),{systemSettings:a={},cacheSize:He="0.00",timezones:Je={},dateFormats:Me={},timeFormats:Oe={},paymentSettings:Ve={},webhooks:_t=[],auth:t={},globalSettings:u={},nocTemplates:$e=[],joiningLetterTemplates:Ke=[],experienceCertificateTemplates:Ue=[],languages:qt=[]}=ut().props,p=u==null?void 0:u.is_saas,[Ye,o]=i.useState("system-settings"),_e=[{title:n("System Settings"),href:"#system-settings",icon:e.jsx(At,{className:"h-4 w-4 mr-2"}),permission:"manage-system-settings"},{title:n("Brand Settings"),href:"#brand-settings",icon:e.jsx(dt,{className:"h-4 w-4 mr-2"}),permission:"manage-brand-settings"},{title:n("Currency Settings"),href:"#currency-settings",icon:e.jsx(Gt,{className:"h-4 w-4 mr-2"}),permission:"manage-currency-settings"},{title:n("Email Settings"),href:"#email-settings",icon:e.jsx(Ht,{className:"h-4 w-4 mr-2"}),permission:"manage-email-settings"},{title:n("Working Days Settings"),href:"#working-days-settings",icon:e.jsx(Jt,{className:"h-4 w-4 mr-2"}),permission:"manage-working-days-settings"},{title:n("IP Restriction Settings"),href:"#ip-restriction-settings",icon:e.jsx(Mt,{className:"h-4 w-4 mr-2"}),permission:"manage-ip-restriction-settings"},{title:n("NOC Settings"),href:"#noc-settings",icon:e.jsx(ht,{className:"h-4 w-4 mr-2"}),permission:"manage-noc"},{title:n("Experience Certificate Settings"),href:"#experience-certificate-settings",icon:e.jsx(Kt,{className:"h-4 w-4 mr-2"}),permission:"manage-experience-certificate"},{title:n("Joining Letter Settings"),href:"#joining-letter-settings",icon:e.jsx(Ot,{className:"h-4 w-4 mr-2"}),permission:"manage-joining-letter"},{title:n("Payment Settings"),href:"#payment-settings",icon:e.jsx(Ut,{className:"h-4 w-4 mr-2"}),permission:"manage-payment-settings"},{title:n("Storage Settings"),href:"#storage-settings",icon:e.jsx(Ge,{className:"h-4 w-4 mr-2"}),permission:"manage-storage-settings"},{title:n("ReCaptcha Settings"),href:"#recaptcha-settings",icon:e.jsx(Yt,{className:"h-4 w-4 mr-2"}),permission:"manage-recaptcha-settings"},{title:n("Chat GPT Settings"),href:"#chatgpt-settings",icon:e.jsx(Vt,{className:"h-4 w-4 mr-2"}),permission:"manage-chatgpt-settings"},{title:n("Cookie Settings"),href:"#cookie-settings",icon:e.jsx($t,{className:"h-4 w-4 mr-2"}),permission:"manage-cookie-settings"},{title:n("SEO Settings"),href:"#seo-settings",icon:e.jsx(yt,{className:"h-4 w-4 mr-2"}),permission:"manage-seo-settings"},{title:n("Cache Settings"),href:"#cache-settings",icon:e.jsx(Ge,{className:"h-4 w-4 mr-2"}),permission:"manage-cache-settings"}].filter(r=>{var m,s,c,g,l;if(r.permission==="manage-working-days-settings"&&((m=t.user)==null?void 0:m.type)==="superadmin"||r.permission==="manage-ip-restriction-settings"&&((s=t.user)==null?void 0:s.type)==="superadmin"||r.permission==="manage-noc"&&((c=t.user)==null?void 0:c.type)==="superadmin"||r.permission==="manage-experience-certificate"&&((g=t.user)==null?void 0:g.type)==="superadmin"||r.permission==="manage-joining-letter"&&((l=t.user)==null?void 0:l.type)==="superadmin")return!1;if(!r.permission||t.permissions&&t.permissions.includes(r.permission))return!0;if(t.user&&t.user.type==="company"){const f=["manage-system-settings","manage-email-settings","manage-currency-settings","manage-brand-settings","manage-webhook-settings","manage-working-days-settings","manage-ip-restriction-settings","settings"];return p||f.push("manage-storage-settings","manage-recaptcha-settings","manage-chatgpt-settings","manage-cookie-settings","manage-seo-settings","manage-cache-settings","manage-working-days-settings","manage-ip-restriction-settings"),f.includes(r.permission)}return!1}),h=i.useRef(null),y=i.useRef(null),S=i.useRef(null),x=i.useRef(null),j=i.useRef(null),N=i.useRef(null),R=i.useRef(null),w=i.useRef(null),b=i.useRef(null),k=i.useRef(null),T=i.useRef(null),C=i.useRef(null),qe=i.useRef(null),Qe=i.useRef(null),Xe=i.useRef(null),P=i.useRef(null),v=i.useRef(null),E=i.useRef(null),B=i.useRef(null);i.useEffect(()=>{const r=()=>{var je,Ne,Re,we,be,ke,Te,Ce,Pe,ve,Ee,Be,Ie,De,Le,Fe,We,ze,Ae;const s=window.scrollY+100;(je=h.current)!=null&&je.offsetTop;const c=((Ne=y.current)==null?void 0:Ne.offsetTop)||0,g=((Re=S.current)==null?void 0:Re.offsetTop)||0,l=((we=x.current)==null?void 0:we.offsetTop)||0,f=((be=j.current)==null?void 0:be.offsetTop)||0,et=((ke=N.current)==null?void 0:ke.offsetTop)||0,tt=((Te=R.current)==null?void 0:Te.offsetTop)||0,st=((Ce=w.current)==null?void 0:Ce.offsetTop)||0,it=((Pe=b.current)==null?void 0:Pe.offsetTop)||0,nt=((ve=k.current)==null?void 0:ve.offsetTop)||0,rt=((Ee=T.current)==null?void 0:Ee.offsetTop)||0,ot=((Be=C.current)==null?void 0:Be.offsetTop)||0;(Ie=qe.current)!=null&&Ie.offsetTop,(De=Qe.current)!=null&&De.offsetTop,(Le=Xe.current)!=null&&Le.offsetTop;const mt=((Fe=P.current)==null?void 0:Fe.offsetTop)||0,at=((We=v.current)==null?void 0:We.offsetTop)||0,pt=((ze=E.current)==null?void 0:ze.offsetTop)||0,ct=((Ae=B.current)==null?void 0:Ae.offsetTop)||0;s>=ct?o("joining-letter-settings"):s>=pt?o("experience-certificate-settings"):s>=at?o("noc-settings"):s>=mt?o("ip-restriction-settings"):s>=ot?o("cache-settings"):s>=rt?o("seo-settings"):s>=nt?o("cookie-settings"):s>=it?o("chatgpt-settings"):s>=st?o("recaptcha-settings"):s>=tt?o("storage-settings"):s>=et?o("payment-settings"):s>=l?o("working-days-settings"):s>=f?o("email-settings"):s>=g?o("currency-settings"):s>=c?o("brand-settings"):o("system-settings")};window.addEventListener("scroll",r);const m=window.location.hash.replace("#","");if(m){const s=document.getElementById(m);s&&(s.scrollIntoView({behavior:"smooth"}),o(m))}return()=>{window.removeEventListener("scroll",r)}},[]);const Ze=r=>{const m=r.replace("#",""),s=document.getElementById(m);s&&(s.scrollIntoView({behavior:"smooth"}),o(m))};return e.jsxs(gt,{title:n("Settings"),url:"/settings",breadcrumbs:[{title:n("Dashboard"),href:route("dashboard")},{title:n("Settings")}],children:[e.jsxs("div",{className:"flex flex-col md:flex-row gap-8",dir:d==="right"?"rtl":"ltr",children:[e.jsx("div",{className:"md:w-64 flex-shrink-0",children:e.jsx("div",{className:"sticky top-20",children:e.jsx(Nt,{className:"h-[calc(100vh-5rem)]",children:e.jsx("div",{className:`space-y-1 ${d==="rtl"?"pl-4":"pr-4"}`,children:_e.map(r=>e.jsxs(St,{variant:"ghost",className:xt("w-full justify-start",{"bg-muted font-medium":Ye===r.href.replace("#","")}),onClick:()=>Ze(r.href),children:[r.icon,r.title]},r.href))})})})}),e.jsxs("div",{className:"flex-1",children:[(((I=t.permissions)==null?void 0:I.includes("manage-system-settings"))||((D=t.user)==null?void 0:D.type)==="superadmin"||((L=t.user)==null?void 0:L.type)==="company")&&e.jsx("section",{id:"system-settings",ref:h,className:"mb-8",children:e.jsx(Rt,{settings:a,timezones:Je,dateFormats:Me,timeFormats:Oe,isCompanyUser:((F=t.user)==null?void 0:F.type)==="company"})}),(((W=t.permissions)==null?void 0:W.includes("manage-brand-settings"))||((z=t.user)==null?void 0:z.type)==="superadmin")&&e.jsx("section",{id:"brand-settings",ref:y,className:"mb-8",children:e.jsx(jt,{settings:a})}),(((A=t.permissions)==null?void 0:A.includes("manage-currency-settings"))||((G=t.user)==null?void 0:G.type)==="superadmin"||((H=t.user)==null?void 0:H.type)==="company")&&e.jsx("section",{id:"currency-settings",ref:S,className:"mb-8",children:e.jsx(wt,{})}),(((J=t.permissions)==null?void 0:J.includes("manage-email-settings"))||((M=t.user)==null?void 0:M.type)==="superadmin")&&e.jsx("section",{id:"email-settings",ref:j,className:"mb-8",children:e.jsx(bt,{})}),((O=t.user)==null?void 0:O.type)!=="superadmin"&&(((V=t.permissions)==null?void 0:V.includes("manage-working-days-settings"))||(($=t.user)==null?void 0:$.type)==="company")&&e.jsx("section",{id:"working-days-settings",ref:x,className:"mb-8",children:e.jsx(It,{settings:a})}),((K=t.user)==null?void 0:K.type)==="company"&&((U=t.permissions)==null?void 0:U.includes("manage-ip-restriction-settings"))&&e.jsx("section",{id:"ip-restriction-settings",ref:P,className:"mb-8",children:e.jsx(Dt,{})}),((Y=t.user)==null?void 0:Y.type)==="company"&&((_=t.permissions)==null?void 0:_.includes("manage-noc"))&&e.jsx("section",{id:"noc-settings",ref:v,className:"mb-8",children:e.jsx(Lt,{templates:$e})}),((q=t.user)==null?void 0:q.type)==="company"&&((Q=t.permissions)==null?void 0:Q.includes("manage-experience-certificate"))&&e.jsx("section",{id:"experience-certificate-settings",ref:E,className:"mb-8",children:e.jsx(Ft,{templates:Ue})}),((X=t.user)==null?void 0:X.type)==="company"&&((Z=t.permissions)==null?void 0:Z.includes("manage-joining-letter"))&&e.jsx("section",{id:"joining-letter-settings",ref:B,className:"mb-8",children:e.jsx(Wt,{templates:Ke})}),(((ee=t.permissions)==null?void 0:ee.includes("manage-payment-settings"))||((te=t.user)==null?void 0:te.type)==="superadmin")&&e.jsx("section",{id:"payment-settings",ref:N,className:"mb-8",children:e.jsx(kt,{settings:Ve})}),((se=t.permissions)==null?void 0:se.includes("manage-settings"))&&(((ie=t.user)==null?void 0:ie.type)==="superadmin"||((ne=t.user)==null?void 0:ne.type)==="company"&&!p)&&e.jsx("section",{id:"storage-settings",ref:R,className:"mb-8",children:e.jsx(Tt,{settings:a})}),(((re=t.permissions)==null?void 0:re.includes("manage-recaptcha-settings"))||((oe=t.user)==null?void 0:oe.type)==="superadmin"||((me=t.user)==null?void 0:me.type)==="company"&&!p)&&e.jsx("section",{id:"recaptcha-settings",ref:w,className:"mb-8",children:e.jsx(Ct,{settings:a})}),(((ae=t.permissions)==null?void 0:ae.includes("manage-chatgpt-settings"))||((pe=t.user)==null?void 0:pe.type)==="superadmin"||((ce=t.user)==null?void 0:ce.type)==="company"&&!p)&&e.jsx("section",{id:"chatgpt-settings",ref:b,className:"mb-8",children:e.jsx(Pt,{settings:a})}),(((ge=t.permissions)==null?void 0:ge.includes("manage-cookie-settings"))||((le=t.user)==null?void 0:le.type)==="superadmin"||((fe=t.user)==null?void 0:fe.type)==="company"&&!p)&&e.jsx("section",{id:"cookie-settings",ref:k,className:"mb-8",children:e.jsx(vt,{settings:a})}),(((ue=t.permissions)==null?void 0:ue.includes("manage-seo-settings"))||((de=t.user)==null?void 0:de.type)==="superadmin"||((he=t.user)==null?void 0:he.type)==="company"&&!p)&&e.jsx("section",{id:"seo-settings",ref:T,className:"mb-8",children:e.jsx(Et,{settings:a})}),(((ye=t.permissions)==null?void 0:ye.includes("manage-cache-settings"))||((Se=t.user)==null?void 0:Se.type)==="superadmin"||((xe=t.user)==null?void 0:xe.type)==="company"&&!p)&&e.jsx("section",{id:"cache-settings",ref:C,className:"mb-8",children:e.jsx(Bt,{cacheSize:He})})]})]}),e.jsx(zt,{})]})}export{er as default}; diff --git a/public/build/assets/index-CtUZEotS.js b/public/build/assets/index-4R996m51.js similarity index 93% rename from public/build/assets/index-CtUZEotS.js rename to public/build/assets/index-4R996m51.js index eb60dcf09..71bd849a7 100644 --- a/public/build/assets/index-CtUZEotS.js +++ b/public/build/assets/index-4R996m51.js @@ -1 +1 @@ -import{r as l,j as e,R as re}from"./ui-Z445SNHD.js";import{P as le}from"./page-template-BTxLyiDA.js";import{u as de,c as ne,o as c,y as oe,r as f,t as i}from"./app-CfhhiFAk.js";import{S as ie}from"./sparkles-BIbzOfb3.js";import{F as me,P as ce}from"./pen-line-BrTss6NX.js";import{C as xe}from"./circle-check-BE5AcCr7.js";import{F as he}from"./filter-uErFRSPT.js";import{C as ue}from"./calculator-CAq-8OXK.js";import{U as pe}from"./users-C4LpG59H.js";import{D as be}from"./dollar-sign-DYXFWWsE.js";import{S as ge}from"./shield-check-Ca-zuQJC.js";import{C as fe}from"./chevron-up-DepFp6b6.js";import{C as je}from"./chevron-right-Bd9XWZHZ.js";import{C as ke}from"./calendar-CfUpdaK5.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function mt(){var D,I;const{t:s}=de(),{activeRun:a,pastRuns:Ne=[],branches:$=[],availableYears:E=[],filters:x={}}=ne().props,M=new Date().getFullYear(),[h,z]=l.useState(x.start_year||M),[u,H]=l.useState(x.start_month||1),[p,J]=l.useState(x.end_year||M),[b,U]=l.useState(x.end_month||12),[N,V]=l.useState(x.branch_id||""),[G,q]=l.useState(null),[C,Q]=l.useState({}),[_,v]=l.useState(null),[g,w]=l.useState(null),[A,P]=l.useState("0"),[F,B]=l.useState(""),y=[{id:1,name:"January"},{id:2,name:"February"},{id:3,name:"March"},{id:4,name:"April"},{id:5,name:"May"},{id:6,name:"June"},{id:7,name:"July"},{id:8,name:"August"},{id:9,name:"September"},{id:10,name:"October"},{id:11,name:"November"},{id:12,name:"December"}],W=t=>{f.get(route("hr.thirteenth-month.index"),{start_year:h,start_month:u,end_year:p,end_month:b,branch_id:N||void 0},{preserveState:!0})},X=t=>{t.preventDefault(),f.post(route("hr.thirteenth-month.store"),{start_year:h,start_month:u,end_year:p,end_month:b,branch_id:N||null},{onSuccess:()=>i.success(s("13th Month Pay range calculated successfully!")),onError:()=>i.error(s("Failed to calculate 13th Month Pay range."))})},Z=()=>{a!=null&&a.id&&confirm(s("Are you sure you want to approve and lock this 13th Month Pay run?"))&&f.post(route("hr.thirteenth-month.approve",a.id),{},{onSuccess:()=>i.success(s("13th Month Pay run approved!"))})},R=t=>{w(t),P(String(t.adjustment_amount||0)),B(t.notes||"")},K=t=>{t.preventDefault(),g&&f.put(route("hr.thirteenth-month.entries.update",g.id),{adjustment_amount:parseFloat(A)||0,notes:F},{onSuccess:()=>{i.success(s("Adjustment saved successfully!")),w(null)},onError:()=>i.error(s("Failed to save adjustment."))})},ee=(t,r,n,S)=>{Q(o=>{const k=o[t]||{...S};return{...o,[t]:{...k,[r]:n}}})},te=t=>{const r=t.id,n=C[r]||t.monthly_earnings||{};v(r),f.put(route("hr.thirteenth-month.entries.update",r),{monthly_earnings:n},{onSuccess:()=>{i.success(s("Monthly breakdown updated & 13th Month recalculated!")),v(null)},onError:()=>{i.error(s("Failed to update monthly breakdown.")),v(null)}})},d=t=>{const r=typeof t=="string"?parseFloat(t):t;return new Intl.NumberFormat("en-PH",{style:"currency",currency:"PHP"}).format(r||0)},j=t=>{var r;return((r=y.find(n=>n.id===t))==null?void 0:r.name)||`Month ${t}`};return e.jsxs(le,{title:s("13th Month Pay Management"),children:[e.jsxs("div",{className:"space-y-6",children:[e.jsx("div",{className:"relative overflow-hidden rounded-2xl bg-gradient-to-r from-slate-900 via-emerald-950 to-slate-900 p-6 md:p-8 text-white shadow-xl border border-emerald-500/20",children:e.jsxs("div",{className:"relative z-10 flex flex-col md:flex-row justify-between items-start md:items-center gap-4",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-emerald-500/20 text-emerald-300 text-xs font-semibold uppercase tracking-wider mb-2 border border-emerald-500/30",children:[e.jsx(ie,{className:"w-3.5 h-3.5"})," DOLE PD 851 Compliant • Inline Monthly Backtrack"]}),e.jsx("h1",{className:"text-2xl md:text-3xl font-extrabold tracking-tight",children:s("13th Month Pay Module")}),e.jsx("p",{className:"text-sm text-slate-300 max-w-2xl mt-1",children:s("Expand any employee to edit their monthly base earnings directly inline. Perfect for backtracking prior months before system migration.")})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[a&&e.jsxs("a",{href:route("hr.thirteenth-month.export-csv",a.id),className:"inline-flex items-center gap-2 px-4 py-2 rounded-xl bg-slate-800 hover:bg-slate-700 text-white font-medium text-sm transition-all border border-slate-700 shadow-md",children:[e.jsx(me,{className:"w-4 h-4 text-emerald-400"}),s("Export Bank Advice (CSV)")]}),(a==null?void 0:a.status)==="draft"&&e.jsxs(c,{onClick:Z,className:"bg-emerald-600 hover:bg-emerald-500 text-white font-medium shadow-lg shadow-emerald-900/30",children:[e.jsx(xe,{className:"w-4 h-4 mr-2"}),s("Approve & Lock Run")]})]})]})}),e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl p-5 border border-slate-200 dark:border-slate-800 shadow-sm space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2 text-slate-800 dark:text-slate-200 font-semibold text-sm",children:[e.jsx(he,{className:"w-4 h-4 text-emerald-500"}),s("Date Range & Branch Selection")]}),(a==null?void 0:a.status)&&e.jsxs("span",{className:`px-3 py-1 text-xs font-semibold rounded-full uppercase tracking-wider ${a.status==="approved"?"bg-emerald-100 text-emerald-800 dark:bg-emerald-900/40 dark:text-emerald-300":"bg-amber-100 text-amber-800 dark:bg-amber-900/40 dark:text-amber-300"}`,children:[s("Status"),": ",a.status]})]}),e.jsxs("form",{onSubmit:X,className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-4 items-end",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("From (Start Month & Year)")}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx("select",{value:u,onChange:t=>H(parseInt(t.target.value)),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500",children:y.map(t=>e.jsx("option",{value:t.id,children:t.name.slice(0,3)},t.id))}),e.jsx("select",{value:h,onChange:t=>z(parseInt(t.target.value)),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500",children:E.map(t=>e.jsx("option",{value:t,children:t},t))})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("To (End Month & Year)")}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx("select",{value:b,onChange:t=>U(parseInt(t.target.value)),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500",children:y.map(t=>e.jsx("option",{value:t.id,children:t.name.slice(0,3)},t.id))}),e.jsx("select",{value:p,onChange:t=>J(parseInt(t.target.value)),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500",children:E.map(t=>e.jsx("option",{value:t,children:t},t))})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("Branch")}),e.jsxs("select",{value:N,onChange:t=>V(t.target.value),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500 h-9",children:[e.jsx("option",{value:"",children:s("All Branches")}),$.map(t=>e.jsx("option",{value:t.id,children:t.name},t.id))]})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{type:"button",variant:"outline",onClick:()=>W(),className:"w-full text-xs font-medium",children:s("Load Range")}),e.jsxs(c,{type:"submit",className:"w-full bg-emerald-600 hover:bg-emerald-700 text-white font-medium text-xs",children:[e.jsx(ue,{className:"w-3.5 h-3.5 mr-1"}),s("Calculate")]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl p-5 border border-slate-200 dark:border-slate-800 shadow-sm flex items-center gap-4",children:[e.jsx("div",{className:"p-3 rounded-xl bg-blue-500/10 text-blue-600 dark:text-blue-400",children:e.jsx(pe,{className:"w-6 h-6"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-slate-500 dark:text-slate-400 uppercase tracking-wider",children:s("Eligible Employees")}),e.jsx("h3",{className:"text-2xl font-bold text-slate-900 dark:text-slate-100",children:(a==null?void 0:a.employee_count)||0})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl p-5 border border-slate-200 dark:border-slate-800 shadow-sm flex items-center gap-4",children:[e.jsx("div",{className:"p-3 rounded-xl bg-emerald-500/10 text-emerald-600 dark:text-emerald-400",children:e.jsx(be,{className:"w-6 h-6"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-slate-500 dark:text-slate-400 uppercase tracking-wider",children:s("Total Base Earnings")}),e.jsx("h3",{className:"text-2xl font-bold text-slate-900 dark:text-slate-100",children:d((a==null?void 0:a.total_base_earnings)||0)})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl p-5 border border-slate-200 dark:border-slate-800 shadow-sm flex items-center gap-4 border-l-4 border-l-emerald-500",children:[e.jsx("div",{className:"p-3 rounded-xl bg-emerald-500/20 text-emerald-600 dark:text-emerald-300",children:e.jsx(ge,{className:"w-6 h-6"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-slate-500 dark:text-slate-400 uppercase tracking-wider",children:s("Net 13th Month Payout")}),e.jsx("h3",{className:"text-2xl font-bold text-emerald-600 dark:text-emerald-400",children:d((a==null?void 0:a.total_payout)||0)})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-slate-800 shadow-sm overflow-hidden",children:[e.jsxs("div",{className:"px-6 py-4 border-b border-slate-200 dark:border-slate-800 flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900 dark:text-slate-100 text-base",children:s("13th Month Pay Employee Breakdown")}),e.jsxs("p",{className:"text-xs text-slate-500 mt-0.5",children:[s("Selected Range"),": ",e.jsxs("span",{className:"font-medium text-emerald-600 dark:text-emerald-400",children:[j(u)," ",h]})," → ",e.jsxs("span",{className:"font-medium text-emerald-600 dark:text-emerald-400",children:[j(b)," ",p]})]})]}),e.jsx("span",{className:"text-xs text-slate-500 font-medium",children:s("Formula: Total Base Earned ÷ 12")})]}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left text-sm text-slate-600 dark:text-slate-300",children:[e.jsx("thead",{className:"bg-slate-50 dark:bg-slate-800/50 text-xs uppercase tracking-wider text-slate-500 dark:text-slate-400 border-b border-slate-200 dark:border-slate-800",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-3 font-semibold",children:s("Employee")}),e.jsx("th",{className:"px-6 py-3 font-semibold",children:s("Department")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-right",children:s("Total Base Earned")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-right",children:s("Computed 13th Month")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-right",children:s("Adjustment")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-right",children:s("Final Payout")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-center",children:s("Actions")})]})}),e.jsx("tbody",{className:"divide-y divide-slate-200 dark:divide-slate-800",children:a!=null&&a.entries&&a.entries.length>0?a.entries.map(t=>{var Y,T,L,O;const r=G===t.id,n=((Y=t.employee)==null?void 0:Y.user)||{},S=((L=(T=t.employee)==null?void 0:T.department)==null?void 0:L.name)||"General",o=t.monthly_earnings||{},k=C[t.id]||o;return e.jsxs(re.Fragment,{children:[e.jsxs("tr",{className:"hover:bg-slate-50 dark:hover:bg-slate-800/40 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 font-medium text-slate-900 dark:text-slate-100",children:e.jsxs("button",{type:"button",onClick:()=>q(r?null:t.id),className:"inline-flex items-center gap-2 hover:text-emerald-600 transition-colors text-left",children:[r?e.jsx(fe,{className:"w-4 h-4 text-emerald-500"}):e.jsx(je,{className:"w-4 h-4 text-slate-400"}),e.jsxs("div",{children:[e.jsx("span",{className:"font-semibold",children:n.name||"Staff"}),e.jsx("span",{className:"block text-xs text-slate-400 font-normal",children:((O=t.employee)==null?void 0:O.employee_code)||`EMP-${t.employee_id}`})]})]})}),e.jsx("td",{className:"px-6 py-4",children:S}),e.jsx("td",{className:"px-6 py-4 text-right font-medium",children:d(t.total_base_earned)}),e.jsx("td",{className:"px-6 py-4 text-right font-medium text-slate-700 dark:text-slate-300",children:d(t.computed_amount)}),e.jsx("td",{className:`px-6 py-4 text-right font-medium ${t.adjustment_amount!==0?"text-amber-600 dark:text-amber-400 font-semibold":"text-slate-400"}`,children:d(t.adjustment_amount)}),e.jsx("td",{className:"px-6 py-4 text-right font-bold text-emerald-600 dark:text-emerald-400 text-base",children:d(t.final_payout)}),e.jsx("td",{className:"px-6 py-4 text-center",children:e.jsx("button",{type:"button",onClick:()=>R(t),className:"p-1.5 rounded-lg text-slate-500 hover:text-emerald-600 hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors",title:s("Edit Adjustment"),children:e.jsx(ce,{className:"w-4 h-4"})})})]}),r&&e.jsx("tr",{className:"bg-slate-50/80 dark:bg-slate-800/40",children:e.jsx("td",{colSpan:7,className:"px-6 py-5 border-y border-slate-200 dark:border-slate-800",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs font-semibold text-slate-800 dark:text-slate-200 uppercase tracking-wider",children:[e.jsx(ke,{className:"w-4 h-4 text-emerald-500"}),s("Monthly Earnings Breakdown")," (",j(u)," ",h," → ",j(b)," ",p,")",e.jsxs("span",{className:"normal-case text-slate-400 font-normal ml-1",children:["(",s("Edit amounts below for backtracking prior months"),")"]})]}),e.jsx(c,{type:"button",size:"sm",onClick:()=>te(t),disabled:_===t.id,className:"bg-emerald-600 hover:bg-emerald-500 text-white font-medium text-xs shadow-sm h-8",children:_===t.id?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-3 h-3 border-2 border-white border-t-transparent rounded-full animate-spin mr-1.5"}),s("Saving...")]}):e.jsxs(e.Fragment,{children:[e.jsx(oe,{className:"w-3.5 h-3.5 mr-1.5"}),s("Save Monthly Breakdown")]})})]}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 md:grid-cols-6 gap-3",children:Object.keys(o).map(m=>{const se=k[m]!==void 0?k[m]:o[m];return e.jsxs("div",{className:"p-3 rounded-xl bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 shadow-sm focus-within:ring-2 focus-within:ring-emerald-500",children:[e.jsx("span",{className:"block text-xs text-slate-500 dark:text-slate-400 font-semibold mb-1 text-center",children:m}),e.jsxs("div",{className:"relative flex items-center",children:[e.jsx("span",{className:"absolute left-2 text-xs font-semibold text-slate-400",children:"₱"}),e.jsx("input",{type:"number",step:"0.01",value:se,onChange:ae=>ee(t.id,m,ae.target.value,o),className:"w-full pl-5 pr-1 py-1 text-xs font-bold text-right text-slate-900 dark:text-slate-100 rounded-md border-slate-300 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 focus:bg-white dark:focus:bg-slate-900 focus:ring-0 focus:border-emerald-500"})]})]},m)})})]})})})]},t.id)}):e.jsx("tr",{children:e.jsx("td",{colSpan:7,className:"px-6 py-12 text-center text-slate-400",children:s("No 13th Month Pay records calculated yet.")})})})]})})]})]}),g&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm p-4",children:e.jsxs("div",{className:"w-full max-w-md bg-white dark:bg-slate-900 rounded-2xl p-6 border border-slate-200 dark:border-slate-800 shadow-2xl space-y-4",children:[e.jsxs("h3",{className:"text-lg font-bold text-slate-900 dark:text-slate-100",children:[s("Edit Adjustment for")," ",((I=(D=g.employee)==null?void 0:D.user)==null?void 0:I.name)||"Staff"]}),e.jsxs("form",{onSubmit:K,className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("Computed Amount")}),e.jsx("input",{type:"text",disabled:!0,value:d(g.computed_amount),className:"w-full rounded-lg bg-slate-100 dark:bg-slate-800 text-slate-700 dark:text-slate-300 text-sm font-medium border-slate-300 dark:border-slate-700"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("Adjustment Amount (+ / - PHP)")}),e.jsx("input",{type:"number",step:"0.01",value:A,onChange:t=>P(t.target.value),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-sm focus:ring-emerald-500 focus:border-emerald-500"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("Notes / Reason")}),e.jsx("input",{type:"text",value:F,onChange:t=>B(t.target.value),placeholder:s("e.g. Approved performance bonus adjustment"),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-sm focus:ring-emerald-500 focus:border-emerald-500"})]}),e.jsxs("div",{className:"flex justify-end gap-3 pt-2",children:[e.jsx(c,{type:"button",variant:"outline",onClick:()=>w(null),children:s("Cancel")}),e.jsx(c,{type:"submit",className:"bg-emerald-600 hover:bg-emerald-700 text-white",children:s("Save Adjustment")})]})]})]})})]})}export{mt as default}; +import{r as l,j as e,R as re}from"./ui-Z445SNHD.js";import{P as le}from"./page-template-CLNVC8w_.js";import{u as de,c as ne,o as c,y as oe,r as f,t as i}from"./app-Dya84jp7.js";import{S as ie}from"./sparkles-C1HgyvOv.js";import{F as me,P as ce}from"./pen-line-D3y4U--J.js";import{C as xe}from"./circle-check-BSTxZIbF.js";import{F as he}from"./filter-BTHjyusi.js";import{C as ue}from"./calculator-D-XBwqfe.js";import{U as pe}from"./users-BzCDZrS0.js";import{D as be}from"./dollar-sign-DH2Tc178.js";import{S as ge}from"./shield-check-CGAYPEyR.js";import{C as fe}from"./chevron-up-DHaGktre.js";import{C as je}from"./chevron-right-D4JxSs4d.js";import{C as ke}from"./calendar-DuRYaSj5.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function mt(){var D,I;const{t:s}=de(),{activeRun:a,pastRuns:Ne=[],branches:$=[],availableYears:E=[],filters:x={}}=ne().props,M=new Date().getFullYear(),[h,z]=l.useState(x.start_year||M),[u,H]=l.useState(x.start_month||1),[p,J]=l.useState(x.end_year||M),[b,U]=l.useState(x.end_month||12),[N,V]=l.useState(x.branch_id||""),[G,q]=l.useState(null),[C,Q]=l.useState({}),[_,v]=l.useState(null),[g,w]=l.useState(null),[A,P]=l.useState("0"),[F,B]=l.useState(""),y=[{id:1,name:"January"},{id:2,name:"February"},{id:3,name:"March"},{id:4,name:"April"},{id:5,name:"May"},{id:6,name:"June"},{id:7,name:"July"},{id:8,name:"August"},{id:9,name:"September"},{id:10,name:"October"},{id:11,name:"November"},{id:12,name:"December"}],W=t=>{f.get(route("hr.thirteenth-month.index"),{start_year:h,start_month:u,end_year:p,end_month:b,branch_id:N||void 0},{preserveState:!0})},X=t=>{t.preventDefault(),f.post(route("hr.thirteenth-month.store"),{start_year:h,start_month:u,end_year:p,end_month:b,branch_id:N||null},{onSuccess:()=>i.success(s("13th Month Pay range calculated successfully!")),onError:()=>i.error(s("Failed to calculate 13th Month Pay range."))})},Z=()=>{a!=null&&a.id&&confirm(s("Are you sure you want to approve and lock this 13th Month Pay run?"))&&f.post(route("hr.thirteenth-month.approve",a.id),{},{onSuccess:()=>i.success(s("13th Month Pay run approved!"))})},R=t=>{w(t),P(String(t.adjustment_amount||0)),B(t.notes||"")},K=t=>{t.preventDefault(),g&&f.put(route("hr.thirteenth-month.entries.update",g.id),{adjustment_amount:parseFloat(A)||0,notes:F},{onSuccess:()=>{i.success(s("Adjustment saved successfully!")),w(null)},onError:()=>i.error(s("Failed to save adjustment."))})},ee=(t,r,n,S)=>{Q(o=>{const k=o[t]||{...S};return{...o,[t]:{...k,[r]:n}}})},te=t=>{const r=t.id,n=C[r]||t.monthly_earnings||{};v(r),f.put(route("hr.thirteenth-month.entries.update",r),{monthly_earnings:n},{onSuccess:()=>{i.success(s("Monthly breakdown updated & 13th Month recalculated!")),v(null)},onError:()=>{i.error(s("Failed to update monthly breakdown.")),v(null)}})},d=t=>{const r=typeof t=="string"?parseFloat(t):t;return new Intl.NumberFormat("en-PH",{style:"currency",currency:"PHP"}).format(r||0)},j=t=>{var r;return((r=y.find(n=>n.id===t))==null?void 0:r.name)||`Month ${t}`};return e.jsxs(le,{title:s("13th Month Pay Management"),children:[e.jsxs("div",{className:"space-y-6",children:[e.jsx("div",{className:"relative overflow-hidden rounded-2xl bg-gradient-to-r from-slate-900 via-emerald-950 to-slate-900 p-6 md:p-8 text-white shadow-xl border border-emerald-500/20",children:e.jsxs("div",{className:"relative z-10 flex flex-col md:flex-row justify-between items-start md:items-center gap-4",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-emerald-500/20 text-emerald-300 text-xs font-semibold uppercase tracking-wider mb-2 border border-emerald-500/30",children:[e.jsx(ie,{className:"w-3.5 h-3.5"})," DOLE PD 851 Compliant • Inline Monthly Backtrack"]}),e.jsx("h1",{className:"text-2xl md:text-3xl font-extrabold tracking-tight",children:s("13th Month Pay Module")}),e.jsx("p",{className:"text-sm text-slate-300 max-w-2xl mt-1",children:s("Expand any employee to edit their monthly base earnings directly inline. Perfect for backtracking prior months before system migration.")})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[a&&e.jsxs("a",{href:route("hr.thirteenth-month.export-csv",a.id),className:"inline-flex items-center gap-2 px-4 py-2 rounded-xl bg-slate-800 hover:bg-slate-700 text-white font-medium text-sm transition-all border border-slate-700 shadow-md",children:[e.jsx(me,{className:"w-4 h-4 text-emerald-400"}),s("Export Bank Advice (CSV)")]}),(a==null?void 0:a.status)==="draft"&&e.jsxs(c,{onClick:Z,className:"bg-emerald-600 hover:bg-emerald-500 text-white font-medium shadow-lg shadow-emerald-900/30",children:[e.jsx(xe,{className:"w-4 h-4 mr-2"}),s("Approve & Lock Run")]})]})]})}),e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl p-5 border border-slate-200 dark:border-slate-800 shadow-sm space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2 text-slate-800 dark:text-slate-200 font-semibold text-sm",children:[e.jsx(he,{className:"w-4 h-4 text-emerald-500"}),s("Date Range & Branch Selection")]}),(a==null?void 0:a.status)&&e.jsxs("span",{className:`px-3 py-1 text-xs font-semibold rounded-full uppercase tracking-wider ${a.status==="approved"?"bg-emerald-100 text-emerald-800 dark:bg-emerald-900/40 dark:text-emerald-300":"bg-amber-100 text-amber-800 dark:bg-amber-900/40 dark:text-amber-300"}`,children:[s("Status"),": ",a.status]})]}),e.jsxs("form",{onSubmit:X,className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-4 items-end",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("From (Start Month & Year)")}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx("select",{value:u,onChange:t=>H(parseInt(t.target.value)),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500",children:y.map(t=>e.jsx("option",{value:t.id,children:t.name.slice(0,3)},t.id))}),e.jsx("select",{value:h,onChange:t=>z(parseInt(t.target.value)),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500",children:E.map(t=>e.jsx("option",{value:t,children:t},t))})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("To (End Month & Year)")}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx("select",{value:b,onChange:t=>U(parseInt(t.target.value)),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500",children:y.map(t=>e.jsx("option",{value:t.id,children:t.name.slice(0,3)},t.id))}),e.jsx("select",{value:p,onChange:t=>J(parseInt(t.target.value)),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500",children:E.map(t=>e.jsx("option",{value:t,children:t},t))})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("Branch")}),e.jsxs("select",{value:N,onChange:t=>V(t.target.value),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-xs focus:ring-emerald-500 focus:border-emerald-500 h-9",children:[e.jsx("option",{value:"",children:s("All Branches")}),$.map(t=>e.jsx("option",{value:t.id,children:t.name},t.id))]})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{type:"button",variant:"outline",onClick:()=>W(),className:"w-full text-xs font-medium",children:s("Load Range")}),e.jsxs(c,{type:"submit",className:"w-full bg-emerald-600 hover:bg-emerald-700 text-white font-medium text-xs",children:[e.jsx(ue,{className:"w-3.5 h-3.5 mr-1"}),s("Calculate")]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl p-5 border border-slate-200 dark:border-slate-800 shadow-sm flex items-center gap-4",children:[e.jsx("div",{className:"p-3 rounded-xl bg-blue-500/10 text-blue-600 dark:text-blue-400",children:e.jsx(pe,{className:"w-6 h-6"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-slate-500 dark:text-slate-400 uppercase tracking-wider",children:s("Eligible Employees")}),e.jsx("h3",{className:"text-2xl font-bold text-slate-900 dark:text-slate-100",children:(a==null?void 0:a.employee_count)||0})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl p-5 border border-slate-200 dark:border-slate-800 shadow-sm flex items-center gap-4",children:[e.jsx("div",{className:"p-3 rounded-xl bg-emerald-500/10 text-emerald-600 dark:text-emerald-400",children:e.jsx(be,{className:"w-6 h-6"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-slate-500 dark:text-slate-400 uppercase tracking-wider",children:s("Total Base Earnings")}),e.jsx("h3",{className:"text-2xl font-bold text-slate-900 dark:text-slate-100",children:d((a==null?void 0:a.total_base_earnings)||0)})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl p-5 border border-slate-200 dark:border-slate-800 shadow-sm flex items-center gap-4 border-l-4 border-l-emerald-500",children:[e.jsx("div",{className:"p-3 rounded-xl bg-emerald-500/20 text-emerald-600 dark:text-emerald-300",children:e.jsx(ge,{className:"w-6 h-6"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-slate-500 dark:text-slate-400 uppercase tracking-wider",children:s("Net 13th Month Payout")}),e.jsx("h3",{className:"text-2xl font-bold text-emerald-600 dark:text-emerald-400",children:d((a==null?void 0:a.total_payout)||0)})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-slate-800 shadow-sm overflow-hidden",children:[e.jsxs("div",{className:"px-6 py-4 border-b border-slate-200 dark:border-slate-800 flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900 dark:text-slate-100 text-base",children:s("13th Month Pay Employee Breakdown")}),e.jsxs("p",{className:"text-xs text-slate-500 mt-0.5",children:[s("Selected Range"),": ",e.jsxs("span",{className:"font-medium text-emerald-600 dark:text-emerald-400",children:[j(u)," ",h]})," → ",e.jsxs("span",{className:"font-medium text-emerald-600 dark:text-emerald-400",children:[j(b)," ",p]})]})]}),e.jsx("span",{className:"text-xs text-slate-500 font-medium",children:s("Formula: Total Base Earned ÷ 12")})]}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left text-sm text-slate-600 dark:text-slate-300",children:[e.jsx("thead",{className:"bg-slate-50 dark:bg-slate-800/50 text-xs uppercase tracking-wider text-slate-500 dark:text-slate-400 border-b border-slate-200 dark:border-slate-800",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-3 font-semibold",children:s("Employee")}),e.jsx("th",{className:"px-6 py-3 font-semibold",children:s("Department")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-right",children:s("Total Base Earned")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-right",children:s("Computed 13th Month")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-right",children:s("Adjustment")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-right",children:s("Final Payout")}),e.jsx("th",{className:"px-6 py-3 font-semibold text-center",children:s("Actions")})]})}),e.jsx("tbody",{className:"divide-y divide-slate-200 dark:divide-slate-800",children:a!=null&&a.entries&&a.entries.length>0?a.entries.map(t=>{var Y,T,L,O;const r=G===t.id,n=((Y=t.employee)==null?void 0:Y.user)||{},S=((L=(T=t.employee)==null?void 0:T.department)==null?void 0:L.name)||"General",o=t.monthly_earnings||{},k=C[t.id]||o;return e.jsxs(re.Fragment,{children:[e.jsxs("tr",{className:"hover:bg-slate-50 dark:hover:bg-slate-800/40 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 font-medium text-slate-900 dark:text-slate-100",children:e.jsxs("button",{type:"button",onClick:()=>q(r?null:t.id),className:"inline-flex items-center gap-2 hover:text-emerald-600 transition-colors text-left",children:[r?e.jsx(fe,{className:"w-4 h-4 text-emerald-500"}):e.jsx(je,{className:"w-4 h-4 text-slate-400"}),e.jsxs("div",{children:[e.jsx("span",{className:"font-semibold",children:n.name||"Staff"}),e.jsx("span",{className:"block text-xs text-slate-400 font-normal",children:((O=t.employee)==null?void 0:O.employee_code)||`EMP-${t.employee_id}`})]})]})}),e.jsx("td",{className:"px-6 py-4",children:S}),e.jsx("td",{className:"px-6 py-4 text-right font-medium",children:d(t.total_base_earned)}),e.jsx("td",{className:"px-6 py-4 text-right font-medium text-slate-700 dark:text-slate-300",children:d(t.computed_amount)}),e.jsx("td",{className:`px-6 py-4 text-right font-medium ${t.adjustment_amount!==0?"text-amber-600 dark:text-amber-400 font-semibold":"text-slate-400"}`,children:d(t.adjustment_amount)}),e.jsx("td",{className:"px-6 py-4 text-right font-bold text-emerald-600 dark:text-emerald-400 text-base",children:d(t.final_payout)}),e.jsx("td",{className:"px-6 py-4 text-center",children:e.jsx("button",{type:"button",onClick:()=>R(t),className:"p-1.5 rounded-lg text-slate-500 hover:text-emerald-600 hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors",title:s("Edit Adjustment"),children:e.jsx(ce,{className:"w-4 h-4"})})})]}),r&&e.jsx("tr",{className:"bg-slate-50/80 dark:bg-slate-800/40",children:e.jsx("td",{colSpan:7,className:"px-6 py-5 border-y border-slate-200 dark:border-slate-800",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs font-semibold text-slate-800 dark:text-slate-200 uppercase tracking-wider",children:[e.jsx(ke,{className:"w-4 h-4 text-emerald-500"}),s("Monthly Earnings Breakdown")," (",j(u)," ",h," → ",j(b)," ",p,")",e.jsxs("span",{className:"normal-case text-slate-400 font-normal ml-1",children:["(",s("Edit amounts below for backtracking prior months"),")"]})]}),e.jsx(c,{type:"button",size:"sm",onClick:()=>te(t),disabled:_===t.id,className:"bg-emerald-600 hover:bg-emerald-500 text-white font-medium text-xs shadow-sm h-8",children:_===t.id?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-3 h-3 border-2 border-white border-t-transparent rounded-full animate-spin mr-1.5"}),s("Saving...")]}):e.jsxs(e.Fragment,{children:[e.jsx(oe,{className:"w-3.5 h-3.5 mr-1.5"}),s("Save Monthly Breakdown")]})})]}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 md:grid-cols-6 gap-3",children:Object.keys(o).map(m=>{const se=k[m]!==void 0?k[m]:o[m];return e.jsxs("div",{className:"p-3 rounded-xl bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 shadow-sm focus-within:ring-2 focus-within:ring-emerald-500",children:[e.jsx("span",{className:"block text-xs text-slate-500 dark:text-slate-400 font-semibold mb-1 text-center",children:m}),e.jsxs("div",{className:"relative flex items-center",children:[e.jsx("span",{className:"absolute left-2 text-xs font-semibold text-slate-400",children:"₱"}),e.jsx("input",{type:"number",step:"0.01",value:se,onChange:ae=>ee(t.id,m,ae.target.value,o),className:"w-full pl-5 pr-1 py-1 text-xs font-bold text-right text-slate-900 dark:text-slate-100 rounded-md border-slate-300 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 focus:bg-white dark:focus:bg-slate-900 focus:ring-0 focus:border-emerald-500"})]})]},m)})})]})})})]},t.id)}):e.jsx("tr",{children:e.jsx("td",{colSpan:7,className:"px-6 py-12 text-center text-slate-400",children:s("No 13th Month Pay records calculated yet.")})})})]})})]})]}),g&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm p-4",children:e.jsxs("div",{className:"w-full max-w-md bg-white dark:bg-slate-900 rounded-2xl p-6 border border-slate-200 dark:border-slate-800 shadow-2xl space-y-4",children:[e.jsxs("h3",{className:"text-lg font-bold text-slate-900 dark:text-slate-100",children:[s("Edit Adjustment for")," ",((I=(D=g.employee)==null?void 0:D.user)==null?void 0:I.name)||"Staff"]}),e.jsxs("form",{onSubmit:K,className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("Computed Amount")}),e.jsx("input",{type:"text",disabled:!0,value:d(g.computed_amount),className:"w-full rounded-lg bg-slate-100 dark:bg-slate-800 text-slate-700 dark:text-slate-300 text-sm font-medium border-slate-300 dark:border-slate-700"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("Adjustment Amount (+ / - PHP)")}),e.jsx("input",{type:"number",step:"0.01",value:A,onChange:t=>P(t.target.value),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-sm focus:ring-emerald-500 focus:border-emerald-500"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-medium text-slate-600 dark:text-slate-400 mb-1",children:s("Notes / Reason")}),e.jsx("input",{type:"text",value:F,onChange:t=>B(t.target.value),placeholder:s("e.g. Approved performance bonus adjustment"),className:"w-full rounded-lg border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 text-sm focus:ring-emerald-500 focus:border-emerald-500"})]}),e.jsxs("div",{className:"flex justify-end gap-3 pt-2",children:[e.jsx(c,{type:"button",variant:"outline",onClick:()=>w(null),children:s("Cancel")}),e.jsx(c,{type:"submit",className:"bg-emerald-600 hover:bg-emerald-700 text-white",children:s("Save Adjustment")})]})]})]})})]})}export{mt as default}; diff --git a/public/build/assets/index-tbtskYrP.js b/public/build/assets/index-7SkKqPGK.js similarity index 73% rename from public/build/assets/index-tbtskYrP.js rename to public/build/assets/index-7SkKqPGK.js index ebf54dd12..08d35345c 100644 --- a/public/build/assets/index-tbtskYrP.js +++ b/public/build/assets/index-7SkKqPGK.js @@ -1 +1 @@ -import{r as c,j as o}from"./ui-Z445SNHD.js";import{P as ne}from"./page-template-BTxLyiDA.js";import{u as le,c as pe,x as ce,P as me,r as m,t as a}from"./app-CfhhiFAk.js";import{C as de}from"./CrudTable-qPWooc10.js";import{C as q}from"./CrudFormModal-DAR9q-oM.js";import{C as ue}from"./CrudDeleteModal-CKTiD3_K.js";import{P as fe}from"./pagination-D8A_HnL5.js";import{S as we}from"./search-and-filter-bar-6Pp-FsiR.js";import{R as he}from"./refresh-cw-DWorkL8J.js";import{U as _e}from"./user-C37aWgZX.js";import{C as ge}from"./calendar-CfUpdaK5.js";import{D as ye}from"./dollar-sign-DYXFWWsE.js";import{C as T}from"./clock-CwFdn-oy.js";import{P as be}from"./play-C-QVLyAb.js";import{C as xe}from"./circle-x-C1aiFLrz.js";import{C as ve}from"./circle-check-big-C5Cqj7-2.js";import{f as Se}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ls(){var O;const{t}=le(),{auth:b,contractRenewals:i,contracts:S,employees:E,filters:p={}}=pe().props,j=(b==null?void 0:b.permissions)||[],[w,C]=c.useState(p.search||""),[d,N]=c.useState(p.status||"_empty_"),[u,A]=c.useState(p.contract_id||"_empty_"),[M,P]=c.useState(!1),[B,x]=c.useState(!1),[$,h]=c.useState(!1),[I,y]=c.useState(!1),[l,F]=c.useState(null),[g,v]=c.useState("create"),[_,k]=c.useState("approve"),L=()=>d!=="_empty_"||u!=="_empty_"||w!=="",U=()=>(d!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(w!==""?1:0),V=e=>{e.preventDefault(),R()},R=()=>{m.get(route("hr.contracts.contract-renewals.index"),{page:1,search:w||void 0,status:d!=="_empty_"?d:void 0,contract_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},X=e=>{const r=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";m.get(route("hr.contracts.contract-renewals.index"),{sort_field:e,sort_direction:r,page:1,search:w||void 0,status:d!=="_empty_"?d:void 0,contract_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},z=(e,r)=>{switch(F(r),e){case"view":v("view"),h(!0);break;case"edit":v("edit"),h(!0);break;case"delete":x(!0);break;case"approve":k("approve"),y(!0);break;case"reject":k("reject"),y(!0);break;case"process":confirm(t("Are you sure you want to process this renewal? This will update the original contract."))&&(a.loading(t("Processing renewal...")),m.put(route("hr.contracts.contract-renewals.process",r.id),{},{onSuccess:s=>{a.dismiss(),s.props.flash.success?a.success(t(s.props.flash.success)):s.props.flash.error&&a.error(t(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(t(s)):a.error(t("Failed to process renewal: {{errors}}",{errors:Object.values(s).join(", ")}))}}));break}},G=()=>{F(null),v("create"),h(!0)},H=e=>{e.new_allowances&&typeof e.new_allowances=="string"&&(e.new_allowances=e.new_allowances.split(",").map(r=>{var n,f;const s=r.trim().split(":");return{name:(n=s[0])==null?void 0:n.trim(),amount:parseFloat((f=s[1])==null?void 0:f.trim())||0}}).filter(r=>r.name)),e.new_benefits&&typeof e.new_benefits=="string"&&(e.new_benefits=e.new_benefits.split(",").map(r=>r.trim()).filter(Boolean)),g==="create"?(a.loading(t("Creating contract renewal...")),m.post(route("hr.contracts.contract-renewals.store"),e,{onSuccess:r=>{h(!1),a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(t(r)):a.error(t("Failed to create contract renewal: {{errors}}",{errors:Object.values(r).join(", ")}))}})):g==="edit"&&(a.loading(t("Updating contract renewal...")),m.put(route("hr.contracts.contract-renewals.update",l.id),e,{onSuccess:r=>{h(!1),a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(t(r)):a.error(t("Failed to update contract renewal: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},J=()=>{a.loading(t("Deleting contract renewal...")),m.delete(route("hr.contracts.contract-renewals.destroy",l.id),{onSuccess:e=>{x(!1),a.dismiss(),e.props.flash.success?a.success(t(e.props.flash.success)):e.props.flash.error&&a.error(t(e.props.flash.error))},onError:e=>{a.dismiss(),typeof e=="string"?a.error(t(e)):a.error(t("Failed to delete contract renewal: {{errors}}",{errors:Object.values(e).join(", ")}))}})},K=e=>{const r=_==="approve"?"hr.contracts.contract-renewals.approve":"hr.contracts.contract-renewals.reject";a.loading(t(_==="approve"?"Approving renewal...":"Rejecting renewal...")),m.put(route(r,l.id),{approval_notes:e.approval_notes||void 0},{onSuccess:s=>{y(!1),a.dismiss(),s.props.flash.success?a.success(t(s.props.flash.success)):s.props.flash.error&&a.error(t(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(t(s)):a.error(t("Failed to process approval: {{errors}}",{errors:Object.values(s).join(", ")}))}})},Q=()=>{C(""),N("_empty_"),A("_empty_"),P(!1),m.get(route("hr.contracts.contract-renewals.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},D=[];ce(j,"create-contract-renewals")&&D.push({label:t("Add Renewal"),icon:o.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>G()});const W=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-renewals.index")},{title:t("Contract Renewals")}],Y=e=>{switch(e){case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Approved":return"bg-green-50 text-green-700 ring-green-600/20";case"Rejected":return"bg-red-50 text-red-700 ring-red-600/10";case"Processed":return"bg-blue-50 text-blue-700 ring-blue-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},Z=e=>{switch(e){case"Pending":return o.jsx(T,{className:"h-3 w-3"});case"Approved":return o.jsx(ve,{className:"h-3 w-3"});case"Rejected":return o.jsx(xe,{className:"h-3 w-3"});case"Processed":return o.jsx(be,{className:"h-3 w-3"});default:return o.jsx(T,{className:"h-3 w-3"})}},ee=(e,r)=>{let s=e||0;return r&&Array.isArray(r)&&r.forEach(n=>{s+=(n==null?void 0:n.amount)||0}),s},te=[{key:"renewal_number",label:t("Renewal #"),sortable:!0,render:(e,r)=>{var s;return o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(he,{className:"h-4 w-4 text-gray-500"}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:e}),o.jsx("div",{className:"text-xs text-gray-500",children:(s=r.contract)==null?void 0:s.contract_number})]})]})}},{key:"contract.employee.name",label:t("Employee"),render:(e,r)=>{var s,n;return o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(_e,{className:"h-4 w-4 text-gray-500"}),((n=(s=r.contract)==null?void 0:s.employee)==null?void 0:n.name)||"-"]})}},{key:"current_end_date",label:t("Renewal Period"),sortable:!0,render:(e,r)=>{var s,n,f;return o.jsxs("div",{children:[o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(ge,{className:"h-4 w-4 text-gray-500"}),o.jsxs("span",{className:"text-sm",children:["Current ends: ",((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()]})]}),o.jsxs("div",{className:"text-xs text-gray-500",children:["New: ",((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(r.new_start_date,!1))||new Date(r.new_start_date).toLocaleDateString()," - ",((f=window.appSettings)==null?void 0:f.formatDateTimeSimple(r.new_end_date,!1))||new Date(r.new_end_date).toLocaleDateString()]})]})}},{key:"new_basic_salary",label:t("New Compensation"),render:(e,r)=>{var n,f;const s=ee(e,r.new_allowances);return o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(ye,{className:"h-4 w-4 text-gray-500"}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:(n=window.appSettings)==null?void 0:n.formatCurrency(s)}),o.jsxs("div",{className:"text-xs text-gray-500",children:["Base: ",(f=window.appSettings)==null?void 0:f.formatCurrency(e),r.new_allowances&&Array.isArray(r.new_allowances)&&r.new_allowances.length>0&&o.jsxs("span",{children:[" + ",r.new_allowances.length," allowances"]})]})]})]})}},{key:"status",label:t("Status"),render:e=>o.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Y(e)}`,children:[Z(e),t(e)]})},{key:"requester.name",label:t("Requested By"),render:(e,r)=>{var s;return((s=r.requester)==null?void 0:s.name)||"-"}},{key:"approved_at",label:t("Approved"),render:(e,r)=>{var s,n;return e?o.jsxs("div",{children:[o.jsx("div",{className:"text-sm",children:((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}),o.jsx("div",{className:"text-xs text-gray-500",children:(n=r.approver)==null?void 0:n.name})]}):"-"}}],re=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-contract-renewals"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-contract-renewals",condition:e=>e.status==="Pending"},{label:t("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-contract-renewals",condition:e=>e.status==="Pending"},{label:t("Reject"),icon:"XCircle",action:"reject",className:"text-red-500",requiredPermission:"reject-contract-renewals",condition:e=>e.status==="Pending"},{label:t("Process"),icon:"Play",action:"process",className:"text-purple-500",requiredPermission:"edit-contract-renewals",condition:e=>e.status==="Approved"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-contract-renewals",condition:e=>e.status!=="Processed"}],se=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Pending",label:t("Pending")},{value:"Approved",label:t("Approved")},{value:"Rejected",label:t("Rejected")},{value:"Processed",label:t("Processed")}],oe=[{value:"_empty_",label:t("All Contracts"),disabled:!0},...(S||[]).map(e=>{var r;return{value:e.id.toString(),label:`${e.contract_number} - ${(r=e.employee)==null?void 0:r.name} (Expires: ${Se(new Date(e.end_date),"MMM dd, yyyy")})`}})],ae=[{value:"_empty_",label:t("Select Contract")},...(S||[]).map(e=>{var r;return{value:e.id.toString(),label:`${e.contract_number} - ${(r=e.employee)==null?void 0:r.name}`}})],ie=[{value:"_empty_",label:t("Select Requester")},...(E||[]).map(e=>({value:e.id.toString(),label:e.name}))];return o.jsxs(ne,{title:t("Contract Renewals"),url:"/hr/contracts/contract-renewals",actions:D,breadcrumbs:W,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(we,{searchTerm:w,onSearchChange:C,onSearch:V,filters:[{name:"status",label:t("Status"),type:"select",value:d,onChange:N,options:se},{name:"contract_id",label:t("Contract"),type:"select",value:u,onChange:A,options:oe,searchable:!0}],showFilters:M,setShowFilters:P,hasActiveFilters:L,activeFilterCount:U,onResetFilters:Q,onApplyFilters:R,currentPerPage:((O=p.per_page)==null?void 0:O.toString())||"10",onPerPageChange:e=>{m.get(route("hr.contracts.contract-renewals.index"),{page:1,per_page:parseInt(e),search:w||void 0,status:d!=="_empty_"?d:void 0,contract_id:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(de,{columns:te,actions:re,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:z,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:X,permissions:j,entityPermissions:{view:"view-contract-renewals",create:"create-contract-renewals",edit:"edit-contract-renewals",delete:"delete-contract-renewals"}}),o.jsx(fe,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("contract renewals"),onPageChange:e=>m.get(e)})]}),o.jsx(q,{isOpen:$,onClose:()=>h(!1),onSubmit:H,formConfig:{fields:[{name:"contract_id",label:t("Contract"),type:"select",required:!0,options:ae.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"new_start_date",label:t("New Start Date"),type:"date",required:!0},{name:"new_end_date",label:t("New End Date"),type:"date",required:!0},{name:"new_basic_salary",label:t("New Basic Salary"),type:"number",required:!0,min:0,step:.01},{name:"new_allowances",label:t("New Allowances"),type:"text",helpText:t("Format: Name:Amount, Name:Amount (e.g., Transport:500, Meal:300)")},{name:"new_benefits",label:t("New Benefits"),type:"text",helpText:t("Comma-separated list of benefits")},{name:"new_terms_conditions",label:t("New Terms & Conditions"),type:"textarea",rows:4},{name:"changes_summary",label:t("Changes Summary"),type:"textarea",rows:3,helpText:t("Summary of changes from current contract")},{name:"reason",label:t("Reason for Renewal"),type:"textarea",rows:2},{name:"requested_by",label:t("Requested By"),type:"select",required:!0,options:ie.filter(e=>e.value!=="_empty_"),searchable:!0}],modalSize:"xl"},initialData:l?{...l,new_allowances:l.new_allowances&&Array.isArray(l.new_allowances)?l.new_allowances.map(e=>`${e.name}:${e.amount}`).join(", "):"",new_benefits:l.new_benefits&&Array.isArray(l.new_benefits)?l.new_benefits.join(", "):""}:null,title:t(g==="create"?"Add Contract Renewal":g==="edit"?"Edit Contract Renewal":"View Contract Renewal"),mode:g}),o.jsx(ue,{isOpen:B,onClose:()=>x(!1),onConfirm:J,itemName:(l==null?void 0:l.renewal_number)||"",entityName:"contract renewal"}),o.jsx(q,{isOpen:I,onClose:()=>y(!1),onSubmit:K,formConfig:{fields:[{name:"approval_notes",label:t(_==="approve"?"Approval Notes (Optional)":"Rejection Reason"),type:"textarea",required:_==="reject",rows:4}]},initialData:{},title:t(_==="approve"?"Approve Renewal":"Reject Renewal"),mode:"edit",submitLabel:t(_==="approve"?"Approve":"Reject")})]})}export{ls as default}; +import{r as c,j as o}from"./ui-Z445SNHD.js";import{P as ne}from"./page-template-CLNVC8w_.js";import{u as le,c as pe,x as ce,P as me,r as m,t as a}from"./app-Dya84jp7.js";import{C as de}from"./CrudTable-yqxtM6E_.js";import{C as q}from"./CrudFormModal-CsuqSfb2.js";import{C as ue}from"./CrudDeleteModal-D32N6I8y.js";import{P as fe}from"./pagination-4PUepASD.js";import{S as we}from"./search-and-filter-bar-DWH0yn_r.js";import{R as he}from"./refresh-cw-D_C_cDSu.js";import{U as _e}from"./user-77BPqA3J.js";import{C as ge}from"./calendar-DuRYaSj5.js";import{D as ye}from"./dollar-sign-DH2Tc178.js";import{C as T}from"./clock-LnEFQ-vK.js";import{P as be}from"./play-BxVAbvyQ.js";import{C as xe}from"./circle-x-Dg5wGIim.js";import{C as ve}from"./circle-check-big-Cju4ilPH.js";import{f as Se}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ls(){var O;const{t}=le(),{auth:b,contractRenewals:i,contracts:S,employees:E,filters:p={}}=pe().props,j=(b==null?void 0:b.permissions)||[],[w,C]=c.useState(p.search||""),[d,N]=c.useState(p.status||"_empty_"),[u,A]=c.useState(p.contract_id||"_empty_"),[M,P]=c.useState(!1),[B,x]=c.useState(!1),[$,h]=c.useState(!1),[I,y]=c.useState(!1),[l,F]=c.useState(null),[g,v]=c.useState("create"),[_,k]=c.useState("approve"),L=()=>d!=="_empty_"||u!=="_empty_"||w!=="",U=()=>(d!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(w!==""?1:0),V=e=>{e.preventDefault(),R()},R=()=>{m.get(route("hr.contracts.contract-renewals.index"),{page:1,search:w||void 0,status:d!=="_empty_"?d:void 0,contract_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},X=e=>{const r=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";m.get(route("hr.contracts.contract-renewals.index"),{sort_field:e,sort_direction:r,page:1,search:w||void 0,status:d!=="_empty_"?d:void 0,contract_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},z=(e,r)=>{switch(F(r),e){case"view":v("view"),h(!0);break;case"edit":v("edit"),h(!0);break;case"delete":x(!0);break;case"approve":k("approve"),y(!0);break;case"reject":k("reject"),y(!0);break;case"process":confirm(t("Are you sure you want to process this renewal? This will update the original contract."))&&(a.loading(t("Processing renewal...")),m.put(route("hr.contracts.contract-renewals.process",r.id),{},{onSuccess:s=>{a.dismiss(),s.props.flash.success?a.success(t(s.props.flash.success)):s.props.flash.error&&a.error(t(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(t(s)):a.error(t("Failed to process renewal: {{errors}}",{errors:Object.values(s).join(", ")}))}}));break}},G=()=>{F(null),v("create"),h(!0)},H=e=>{e.new_allowances&&typeof e.new_allowances=="string"&&(e.new_allowances=e.new_allowances.split(",").map(r=>{var n,f;const s=r.trim().split(":");return{name:(n=s[0])==null?void 0:n.trim(),amount:parseFloat((f=s[1])==null?void 0:f.trim())||0}}).filter(r=>r.name)),e.new_benefits&&typeof e.new_benefits=="string"&&(e.new_benefits=e.new_benefits.split(",").map(r=>r.trim()).filter(Boolean)),g==="create"?(a.loading(t("Creating contract renewal...")),m.post(route("hr.contracts.contract-renewals.store"),e,{onSuccess:r=>{h(!1),a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(t(r)):a.error(t("Failed to create contract renewal: {{errors}}",{errors:Object.values(r).join(", ")}))}})):g==="edit"&&(a.loading(t("Updating contract renewal...")),m.put(route("hr.contracts.contract-renewals.update",l.id),e,{onSuccess:r=>{h(!1),a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(t(r)):a.error(t("Failed to update contract renewal: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},J=()=>{a.loading(t("Deleting contract renewal...")),m.delete(route("hr.contracts.contract-renewals.destroy",l.id),{onSuccess:e=>{x(!1),a.dismiss(),e.props.flash.success?a.success(t(e.props.flash.success)):e.props.flash.error&&a.error(t(e.props.flash.error))},onError:e=>{a.dismiss(),typeof e=="string"?a.error(t(e)):a.error(t("Failed to delete contract renewal: {{errors}}",{errors:Object.values(e).join(", ")}))}})},K=e=>{const r=_==="approve"?"hr.contracts.contract-renewals.approve":"hr.contracts.contract-renewals.reject";a.loading(t(_==="approve"?"Approving renewal...":"Rejecting renewal...")),m.put(route(r,l.id),{approval_notes:e.approval_notes||void 0},{onSuccess:s=>{y(!1),a.dismiss(),s.props.flash.success?a.success(t(s.props.flash.success)):s.props.flash.error&&a.error(t(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(t(s)):a.error(t("Failed to process approval: {{errors}}",{errors:Object.values(s).join(", ")}))}})},Q=()=>{C(""),N("_empty_"),A("_empty_"),P(!1),m.get(route("hr.contracts.contract-renewals.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},D=[];ce(j,"create-contract-renewals")&&D.push({label:t("Add Renewal"),icon:o.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>G()});const W=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-renewals.index")},{title:t("Contract Renewals")}],Y=e=>{switch(e){case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Approved":return"bg-green-50 text-green-700 ring-green-600/20";case"Rejected":return"bg-red-50 text-red-700 ring-red-600/10";case"Processed":return"bg-blue-50 text-blue-700 ring-blue-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},Z=e=>{switch(e){case"Pending":return o.jsx(T,{className:"h-3 w-3"});case"Approved":return o.jsx(ve,{className:"h-3 w-3"});case"Rejected":return o.jsx(xe,{className:"h-3 w-3"});case"Processed":return o.jsx(be,{className:"h-3 w-3"});default:return o.jsx(T,{className:"h-3 w-3"})}},ee=(e,r)=>{let s=e||0;return r&&Array.isArray(r)&&r.forEach(n=>{s+=(n==null?void 0:n.amount)||0}),s},te=[{key:"renewal_number",label:t("Renewal #"),sortable:!0,render:(e,r)=>{var s;return o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(he,{className:"h-4 w-4 text-gray-500"}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:e}),o.jsx("div",{className:"text-xs text-gray-500",children:(s=r.contract)==null?void 0:s.contract_number})]})]})}},{key:"contract.employee.name",label:t("Employee"),render:(e,r)=>{var s,n;return o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(_e,{className:"h-4 w-4 text-gray-500"}),((n=(s=r.contract)==null?void 0:s.employee)==null?void 0:n.name)||"-"]})}},{key:"current_end_date",label:t("Renewal Period"),sortable:!0,render:(e,r)=>{var s,n,f;return o.jsxs("div",{children:[o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(ge,{className:"h-4 w-4 text-gray-500"}),o.jsxs("span",{className:"text-sm",children:["Current ends: ",((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()]})]}),o.jsxs("div",{className:"text-xs text-gray-500",children:["New: ",((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(r.new_start_date,!1))||new Date(r.new_start_date).toLocaleDateString()," - ",((f=window.appSettings)==null?void 0:f.formatDateTimeSimple(r.new_end_date,!1))||new Date(r.new_end_date).toLocaleDateString()]})]})}},{key:"new_basic_salary",label:t("New Compensation"),render:(e,r)=>{var n,f;const s=ee(e,r.new_allowances);return o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(ye,{className:"h-4 w-4 text-gray-500"}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:(n=window.appSettings)==null?void 0:n.formatCurrency(s)}),o.jsxs("div",{className:"text-xs text-gray-500",children:["Base: ",(f=window.appSettings)==null?void 0:f.formatCurrency(e),r.new_allowances&&Array.isArray(r.new_allowances)&&r.new_allowances.length>0&&o.jsxs("span",{children:[" + ",r.new_allowances.length," allowances"]})]})]})]})}},{key:"status",label:t("Status"),render:e=>o.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Y(e)}`,children:[Z(e),t(e)]})},{key:"requester.name",label:t("Requested By"),render:(e,r)=>{var s;return((s=r.requester)==null?void 0:s.name)||"-"}},{key:"approved_at",label:t("Approved"),render:(e,r)=>{var s,n;return e?o.jsxs("div",{children:[o.jsx("div",{className:"text-sm",children:((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}),o.jsx("div",{className:"text-xs text-gray-500",children:(n=r.approver)==null?void 0:n.name})]}):"-"}}],re=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-contract-renewals"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-contract-renewals",condition:e=>e.status==="Pending"},{label:t("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-contract-renewals",condition:e=>e.status==="Pending"},{label:t("Reject"),icon:"XCircle",action:"reject",className:"text-red-500",requiredPermission:"reject-contract-renewals",condition:e=>e.status==="Pending"},{label:t("Process"),icon:"Play",action:"process",className:"text-purple-500",requiredPermission:"edit-contract-renewals",condition:e=>e.status==="Approved"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-contract-renewals",condition:e=>e.status!=="Processed"}],se=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Pending",label:t("Pending")},{value:"Approved",label:t("Approved")},{value:"Rejected",label:t("Rejected")},{value:"Processed",label:t("Processed")}],oe=[{value:"_empty_",label:t("All Contracts"),disabled:!0},...(S||[]).map(e=>{var r;return{value:e.id.toString(),label:`${e.contract_number} - ${(r=e.employee)==null?void 0:r.name} (Expires: ${Se(new Date(e.end_date),"MMM dd, yyyy")})`}})],ae=[{value:"_empty_",label:t("Select Contract")},...(S||[]).map(e=>{var r;return{value:e.id.toString(),label:`${e.contract_number} - ${(r=e.employee)==null?void 0:r.name}`}})],ie=[{value:"_empty_",label:t("Select Requester")},...(E||[]).map(e=>({value:e.id.toString(),label:e.name}))];return o.jsxs(ne,{title:t("Contract Renewals"),url:"/hr/contracts/contract-renewals",actions:D,breadcrumbs:W,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(we,{searchTerm:w,onSearchChange:C,onSearch:V,filters:[{name:"status",label:t("Status"),type:"select",value:d,onChange:N,options:se},{name:"contract_id",label:t("Contract"),type:"select",value:u,onChange:A,options:oe,searchable:!0}],showFilters:M,setShowFilters:P,hasActiveFilters:L,activeFilterCount:U,onResetFilters:Q,onApplyFilters:R,currentPerPage:((O=p.per_page)==null?void 0:O.toString())||"10",onPerPageChange:e=>{m.get(route("hr.contracts.contract-renewals.index"),{page:1,per_page:parseInt(e),search:w||void 0,status:d!=="_empty_"?d:void 0,contract_id:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(de,{columns:te,actions:re,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:z,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:X,permissions:j,entityPermissions:{view:"view-contract-renewals",create:"create-contract-renewals",edit:"edit-contract-renewals",delete:"delete-contract-renewals"}}),o.jsx(fe,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("contract renewals"),onPageChange:e=>m.get(e)})]}),o.jsx(q,{isOpen:$,onClose:()=>h(!1),onSubmit:H,formConfig:{fields:[{name:"contract_id",label:t("Contract"),type:"select",required:!0,options:ae.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"new_start_date",label:t("New Start Date"),type:"date",required:!0},{name:"new_end_date",label:t("New End Date"),type:"date",required:!0},{name:"new_basic_salary",label:t("New Basic Salary"),type:"number",required:!0,min:0,step:.01},{name:"new_allowances",label:t("New Allowances"),type:"text",helpText:t("Format: Name:Amount, Name:Amount (e.g., Transport:500, Meal:300)")},{name:"new_benefits",label:t("New Benefits"),type:"text",helpText:t("Comma-separated list of benefits")},{name:"new_terms_conditions",label:t("New Terms & Conditions"),type:"textarea",rows:4},{name:"changes_summary",label:t("Changes Summary"),type:"textarea",rows:3,helpText:t("Summary of changes from current contract")},{name:"reason",label:t("Reason for Renewal"),type:"textarea",rows:2},{name:"requested_by",label:t("Requested By"),type:"select",required:!0,options:ie.filter(e=>e.value!=="_empty_"),searchable:!0}],modalSize:"xl"},initialData:l?{...l,new_allowances:l.new_allowances&&Array.isArray(l.new_allowances)?l.new_allowances.map(e=>`${e.name}:${e.amount}`).join(", "):"",new_benefits:l.new_benefits&&Array.isArray(l.new_benefits)?l.new_benefits.join(", "):""}:null,title:t(g==="create"?"Add Contract Renewal":g==="edit"?"Edit Contract Renewal":"View Contract Renewal"),mode:g}),o.jsx(ue,{isOpen:B,onClose:()=>x(!1),onConfirm:J,itemName:(l==null?void 0:l.renewal_number)||"",entityName:"contract renewal"}),o.jsx(q,{isOpen:I,onClose:()=>y(!1),onSubmit:K,formConfig:{fields:[{name:"approval_notes",label:t(_==="approve"?"Approval Notes (Optional)":"Rejection Reason"),type:"textarea",required:_==="reject",rows:4}]},initialData:{},title:t(_==="approve"?"Approve Renewal":"Reject Renewal"),mode:"edit",submitLabel:t(_==="approve"?"Approve":"Reject")})]})}export{ls as default}; diff --git a/public/build/assets/index-Btn7vxVU.js b/public/build/assets/index-B0f15GLA.js similarity index 62% rename from public/build/assets/index-Btn7vxVU.js rename to public/build/assets/index-B0f15GLA.js index 73bf48d48..4f8e06878 100644 --- a/public/build/assets/index-Btn7vxVU.js +++ b/public/build/assets/index-B0f15GLA.js @@ -1 +1 @@ -import{r as n,j as a}from"./ui-Z445SNHD.js";import{P as oe}from"./page-template-BTxLyiDA.js";import{u as ae,c as ne,x as pe,P as me,B as le,r as d,D as de,t as r}from"./app-CfhhiFAk.js";import{C as ce}from"./CrudTable-qPWooc10.js";import{C as q}from"./CrudFormModal-DAR9q-oM.js";import{C as ue}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ge}from"./pagination-D8A_HnL5.js";import{S as he}from"./search-and-filter-bar-6Pp-FsiR.js";import fe from"./view-NP05V4-N.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ri(){var E,T,B;const{t}=ae(),{auth:S,trainingTypes:o,branches:I,departments:f,filters:p={}}=ne().props,D=(S==null?void 0:S.permissions)||[],[g,j]=n.useState(p.search||""),[m,C]=n.useState(p.branch_id||""),[l,b]=n.useState(p.department_id||""),[R,F]=n.useState(!1),[$,_]=n.useState(!1),[u,V]=n.useState(null),[z,w]=n.useState([]);n.useEffect(()=>{if(m===""||m==="_none_")w(f||[]),b("");else{const e=f.filter(i=>i.branch_id.toString()===m);w(e),l&&!e.find(i=>i.id.toString()===l)&&b("")}},[m,f,l]);const[U,v]=n.useState(!1),[H,h]=n.useState(!1),[c,N]=n.useState(null),[y,P]=n.useState("create"),[x,A]=n.useState(null),G=()=>m!==""||l!==""||g!=="",J=()=>(m!==""?1:0)+(l!==""?1:0)+(g!==""?1:0),K=e=>{e.preventDefault(),O()},O=()=>{d.get(route("hr.training-types.index"),{page:1,search:g||void 0,branch_id:m||void 0,department_id:l||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},L=e=>{const i=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";d.get(route("hr.training-types.index"),{sort_field:e,sort_direction:i,page:1,search:g||void 0,branch_id:m||void 0,department_id:l||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Q=(e,i)=>{switch(N(i),e){case"view":A(i);break;case"edit":P("edit"),h(!0);break;case"assign-departments":V(i),_(!0);break;case"delete":v(!0);break}},W=()=>{N(null),P("create"),h(!0)},X=e=>{const i={...e};y==="create"?(r.loading(t("Creating training type...")),d.post(route("hr.training-types.store"),i,{onSuccess:s=>{h(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error?r.error(t(s.props.flash.error)):r.success(t("Training type created successfully"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(t(`Failed to create training type: ${Object.values(s).join(", ")}`))}})):y==="edit"&&(r.loading(t("Updating training type...")),d.put(route("hr.training-types.update",c.id),i,{onSuccess:s=>{h(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error?r.error(t(s.props.flash.error)):r.success(t("Training type updated successfully"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(t(`Failed to update training type: ${Object.values(s).join(", ")}`))}}))},Y=e=>{r.loading(t("Assigning departments...")),d.put(route("hr.training-types.assign-departments",u.id),{department_ids:e.department_ids},{onSuccess:i=>{_(!1),r.dismiss(),i.props.flash.success?r.success(t(i.props.flash.success)):r.success(t("Departments assigned successfully"))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(i):r.error(t(`Failed to assign departments: ${Object.values(i).join(", ")}`))}})},Z=()=>{r.loading(t("Deleting training type...")),d.delete(route("hr.training-types.destroy",c.id),{onSuccess:e=>{v(!1),r.dismiss(),e.props.flash.success?r.success(t(e.props.flash.success)):e.props.flash.error?r.error(t(e.props.flash.error)):r.success(t("Training type deleted successfully"))},onError:e=>{r.dismiss(),typeof e=="string"?r.error(e):r.error(t(`Failed to delete training type: ${Object.values(e).join(", ")}`))}})},ee=()=>{j(""),C(""),b(""),F(!1),d.get(route("hr.training-types.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},k=[];pe(D,"create-training-types")&&k.push({label:t("Add Training Type"),icon:a.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>W()});const te=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.training-types.index")},{title:t("Training Management"),href:route("hr.training-types.index")},{title:t("Training Types")}],re=[{key:"name",label:t("Name"),sortable:!0,render:e=>e||"-"},{key:"departments",label:t("Departments"),render:e=>!e||e.length===0?a.jsx("span",{className:"text-gray-500",children:t("Departments Not Assigned")}):a.jsx("div",{className:"flex flex-wrap gap-1",children:e.map(i=>{var s;return a.jsxs(le,{variant:"outline",className:"flex flex-col items-start",children:[a.jsx("div",{className:"font-medium",children:i.name}),a.jsx("div",{className:"text-xs text-gray-500",children:((s=i.branch)==null?void 0:s.name)||"-"})]},i.id)})})},{key:"training_programs_count",label:t("Programs"),render:(e,i)=>i.training_programs_count||"0"}],ie=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-training-types"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-training-types"},{label:t("Assign Departments"),icon:"Users",action:"assign-departments",className:"text-green-500",requiredPermission:"edit-training-types"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-training-types"}],M=[{value:"_none_",label:t("All Branches")},...(I||[]).map(e=>({value:e.id.toString(),label:e.name}))],se=[{value:"_none_",label:t("All Departments")},...z.map(e=>({value:e.id.toString(),label:e.name}))];return a.jsxs(oe,{title:t("Training Types"),url:"/hr/training/types",actions:k,breadcrumbs:te,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(he,{searchTerm:g,onSearchChange:j,onSearch:K,filters:[{name:"branch_id",label:t("Branch"),type:"select",value:m,onChange:C,options:M,searchable:!0},{name:"department_id",label:t("Department"),type:"select",value:l,onChange:b,options:se,searchable:!0}],showFilters:R,setShowFilters:F,hasActiveFilters:G,activeFilterCount:J,onResetFilters:ee,onApplyFilters:O,currentPerPage:((E=p.per_page)==null?void 0:E.toString())||"10",onPerPageChange:e=>{d.get(route("hr.training-types.index"),{page:1,per_page:parseInt(e),search:g||void 0,branch_id:m||void 0,department_id:l||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(ce,{columns:re,actions:ie,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:Q,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:L,permissions:D,entityPermissions:{view:"view-training-types",create:"create-training-types",edit:"edit-training-types",delete:"delete-training-types"}}),a.jsx(ge,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("training types"),onPageChange:e=>d.get(e)})]}),a.jsx(q,{isOpen:H,onClose:()=>h(!1),onSubmit:X,formConfig:{fields:[{name:"name",label:t("Name"),type:"text",required:!0},{name:"description",label:t("Description"),type:"textarea"},{name:"branch_id",label:t("Branch"),type:"select",required:!0,searchable:!0,options:M.filter(e=>e.value!=="_none_")}],modalSize:"md"},initialData:c?{...c,branch_id:((T=c.branch_id)==null?void 0:T.toString())??""}:null,title:t(y==="create"?"Add New Training Type":"Edit Training Type"),mode:y}),a.jsx(q,{isOpen:$,onClose:()=>_(!1),onSubmit:Y,formConfig:{fields:[{name:"department_ids",label:t("Departments"),type:"multi-select",options:f.filter(e=>e.branch_id===(u==null?void 0:u.branch_id)).map(e=>({value:e.id.toString(),label:e.name})),helpText:t("Select departments for this training type")}],modalSize:"2xl"},initialData:{department_ids:((B=u==null?void 0:u.departments)==null?void 0:B.map(e=>e.id.toString()))||[]},title:t("Assign Departments"),mode:"edit"}),a.jsx(ue,{isOpen:U,onClose:()=>v(!1),onConfirm:Z,itemName:(c==null?void 0:c.name)||"",entityName:"training type"}),a.jsx(de,{open:!!x,onOpenChange:()=>A(null),children:x&&a.jsx(fe,{trainingType:x})})]})}export{ri as default}; +import{r as n,j as a}from"./ui-Z445SNHD.js";import{P as oe}from"./page-template-CLNVC8w_.js";import{u as ae,c as ne,x as pe,P as me,B as le,r as d,D as de,t as r}from"./app-Dya84jp7.js";import{C as ce}from"./CrudTable-yqxtM6E_.js";import{C as q}from"./CrudFormModal-CsuqSfb2.js";import{C as ue}from"./CrudDeleteModal-D32N6I8y.js";import{P as ge}from"./pagination-4PUepASD.js";import{S as he}from"./search-and-filter-bar-DWH0yn_r.js";import fe from"./view-J15i8OQc.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ri(){var E,T,B;const{t}=ae(),{auth:S,trainingTypes:o,branches:I,departments:f,filters:p={}}=ne().props,D=(S==null?void 0:S.permissions)||[],[g,j]=n.useState(p.search||""),[m,C]=n.useState(p.branch_id||""),[l,b]=n.useState(p.department_id||""),[R,F]=n.useState(!1),[$,_]=n.useState(!1),[u,V]=n.useState(null),[z,w]=n.useState([]);n.useEffect(()=>{if(m===""||m==="_none_")w(f||[]),b("");else{const e=f.filter(i=>i.branch_id.toString()===m);w(e),l&&!e.find(i=>i.id.toString()===l)&&b("")}},[m,f,l]);const[U,v]=n.useState(!1),[H,h]=n.useState(!1),[c,N]=n.useState(null),[y,P]=n.useState("create"),[x,A]=n.useState(null),G=()=>m!==""||l!==""||g!=="",J=()=>(m!==""?1:0)+(l!==""?1:0)+(g!==""?1:0),K=e=>{e.preventDefault(),O()},O=()=>{d.get(route("hr.training-types.index"),{page:1,search:g||void 0,branch_id:m||void 0,department_id:l||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},L=e=>{const i=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";d.get(route("hr.training-types.index"),{sort_field:e,sort_direction:i,page:1,search:g||void 0,branch_id:m||void 0,department_id:l||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Q=(e,i)=>{switch(N(i),e){case"view":A(i);break;case"edit":P("edit"),h(!0);break;case"assign-departments":V(i),_(!0);break;case"delete":v(!0);break}},W=()=>{N(null),P("create"),h(!0)},X=e=>{const i={...e};y==="create"?(r.loading(t("Creating training type...")),d.post(route("hr.training-types.store"),i,{onSuccess:s=>{h(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error?r.error(t(s.props.flash.error)):r.success(t("Training type created successfully"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(t(`Failed to create training type: ${Object.values(s).join(", ")}`))}})):y==="edit"&&(r.loading(t("Updating training type...")),d.put(route("hr.training-types.update",c.id),i,{onSuccess:s=>{h(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error?r.error(t(s.props.flash.error)):r.success(t("Training type updated successfully"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(t(`Failed to update training type: ${Object.values(s).join(", ")}`))}}))},Y=e=>{r.loading(t("Assigning departments...")),d.put(route("hr.training-types.assign-departments",u.id),{department_ids:e.department_ids},{onSuccess:i=>{_(!1),r.dismiss(),i.props.flash.success?r.success(t(i.props.flash.success)):r.success(t("Departments assigned successfully"))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(i):r.error(t(`Failed to assign departments: ${Object.values(i).join(", ")}`))}})},Z=()=>{r.loading(t("Deleting training type...")),d.delete(route("hr.training-types.destroy",c.id),{onSuccess:e=>{v(!1),r.dismiss(),e.props.flash.success?r.success(t(e.props.flash.success)):e.props.flash.error?r.error(t(e.props.flash.error)):r.success(t("Training type deleted successfully"))},onError:e=>{r.dismiss(),typeof e=="string"?r.error(e):r.error(t(`Failed to delete training type: ${Object.values(e).join(", ")}`))}})},ee=()=>{j(""),C(""),b(""),F(!1),d.get(route("hr.training-types.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},k=[];pe(D,"create-training-types")&&k.push({label:t("Add Training Type"),icon:a.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>W()});const te=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.training-types.index")},{title:t("Training Management"),href:route("hr.training-types.index")},{title:t("Training Types")}],re=[{key:"name",label:t("Name"),sortable:!0,render:e=>e||"-"},{key:"departments",label:t("Departments"),render:e=>!e||e.length===0?a.jsx("span",{className:"text-gray-500",children:t("Departments Not Assigned")}):a.jsx("div",{className:"flex flex-wrap gap-1",children:e.map(i=>{var s;return a.jsxs(le,{variant:"outline",className:"flex flex-col items-start",children:[a.jsx("div",{className:"font-medium",children:i.name}),a.jsx("div",{className:"text-xs text-gray-500",children:((s=i.branch)==null?void 0:s.name)||"-"})]},i.id)})})},{key:"training_programs_count",label:t("Programs"),render:(e,i)=>i.training_programs_count||"0"}],ie=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-training-types"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-training-types"},{label:t("Assign Departments"),icon:"Users",action:"assign-departments",className:"text-green-500",requiredPermission:"edit-training-types"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-training-types"}],M=[{value:"_none_",label:t("All Branches")},...(I||[]).map(e=>({value:e.id.toString(),label:e.name}))],se=[{value:"_none_",label:t("All Departments")},...z.map(e=>({value:e.id.toString(),label:e.name}))];return a.jsxs(oe,{title:t("Training Types"),url:"/hr/training/types",actions:k,breadcrumbs:te,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(he,{searchTerm:g,onSearchChange:j,onSearch:K,filters:[{name:"branch_id",label:t("Branch"),type:"select",value:m,onChange:C,options:M,searchable:!0},{name:"department_id",label:t("Department"),type:"select",value:l,onChange:b,options:se,searchable:!0}],showFilters:R,setShowFilters:F,hasActiveFilters:G,activeFilterCount:J,onResetFilters:ee,onApplyFilters:O,currentPerPage:((E=p.per_page)==null?void 0:E.toString())||"10",onPerPageChange:e=>{d.get(route("hr.training-types.index"),{page:1,per_page:parseInt(e),search:g||void 0,branch_id:m||void 0,department_id:l||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(ce,{columns:re,actions:ie,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:Q,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:L,permissions:D,entityPermissions:{view:"view-training-types",create:"create-training-types",edit:"edit-training-types",delete:"delete-training-types"}}),a.jsx(ge,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("training types"),onPageChange:e=>d.get(e)})]}),a.jsx(q,{isOpen:H,onClose:()=>h(!1),onSubmit:X,formConfig:{fields:[{name:"name",label:t("Name"),type:"text",required:!0},{name:"description",label:t("Description"),type:"textarea"},{name:"branch_id",label:t("Branch"),type:"select",required:!0,searchable:!0,options:M.filter(e=>e.value!=="_none_")}],modalSize:"md"},initialData:c?{...c,branch_id:((T=c.branch_id)==null?void 0:T.toString())??""}:null,title:t(y==="create"?"Add New Training Type":"Edit Training Type"),mode:y}),a.jsx(q,{isOpen:$,onClose:()=>_(!1),onSubmit:Y,formConfig:{fields:[{name:"department_ids",label:t("Departments"),type:"multi-select",options:f.filter(e=>e.branch_id===(u==null?void 0:u.branch_id)).map(e=>({value:e.id.toString(),label:e.name})),helpText:t("Select departments for this training type")}],modalSize:"2xl"},initialData:{department_ids:((B=u==null?void 0:u.departments)==null?void 0:B.map(e=>e.id.toString()))||[]},title:t("Assign Departments"),mode:"edit"}),a.jsx(ue,{isOpen:U,onClose:()=>v(!1),onConfirm:Z,itemName:(c==null?void 0:c.name)||"",entityName:"training type"}),a.jsx(de,{open:!!x,onOpenChange:()=>A(null),children:x&&a.jsx(fe,{trainingType:x})})]})}export{ri as default}; diff --git a/public/build/assets/index-D5sgV30H.js b/public/build/assets/index-B1jGHDZT.js similarity index 82% rename from public/build/assets/index-D5sgV30H.js rename to public/build/assets/index-B1jGHDZT.js index 59173624f..3e04a8667 100644 --- a/public/build/assets/index-D5sgV30H.js +++ b/public/build/assets/index-B1jGHDZT.js @@ -1 +1 @@ -import{r as p,j as e}from"./ui-Z445SNHD.js";import{P as O}from"./page-template-BTxLyiDA.js";import{u as N,c as q,o as h,P as S,r as v,t as g,ao as M}from"./app-CfhhiFAk.js";import{C as j}from"./CrudFormModal-DAR9q-oM.js";import{C as D}from"./circle-check-big-C5Cqj7-2.js";import{C as R}from"./circle-x-C1aiFLrz.js";import{f as k}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";const E=({date:r,userId:n,onChange:d})=>{const{t:l}=N(),[a,m]=p.useState({loading:!1});return p.useEffect(()=>{r&&(m({loading:!0}),M.get(route("hr.overtime.get-attendance-details"),{params:{date:r,user_id:n}}).then(o=>{m({loading:!1,...o.data}),o.data.has_overtime&&o.data.suggested_hours&&d(o.data.suggested_hours)}).catch(()=>{m({loading:!1,message:l("Failed to load attendance details.")})}))},[r,n]),r?a.loading?e.jsx("div",{className:"text-xs text-gray-500 animate-pulse",children:l("Checking attendance records...")}):a.message?e.jsxs("div",{className:`mt-2 p-3 rounded-lg border text-sm ${a.has_overtime?"bg-indigo-50 border-indigo-200 text-indigo-700 dark:bg-indigo-900/20 dark:border-indigo-800 dark:text-indigo-300":"bg-gray-50 border-gray-200 text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400"}`,children:[e.jsx("div",{className:"font-medium mb-1",children:a.has_overtime?l("Overtime Detected!"):l("Attendance Info")}),e.jsx("div",{className:"text-xs opacity-90",children:a.message})]}):null:null};function Oe(){const{t:r}=N(),{applications:n,can_approve:d,auth:l,users:a}=q().props,[m,o]=p.useState(!1),[_,x]=p.useState(!1),[i,b]=p.useState(null),w=()=>{b({date:k(new Date,"yyyy-MM-dd"),requested_hours:1,reason:""}),o(!0)},C=t=>{v.post(route("hr.overtime.store"),t,{onSuccess:s=>{s.props.flash.success?(g.success(r(s.props.flash.success)),o(!1)):s.props.flash.error&&g.error(r(s.props.flash.error))}})},f=(t,s)=>{b({...t,new_status:s,approved_hours:t.requested_hours,admin_remarks:""}),x(!0)},A=t=>{v.put(route("hr.overtime.updateStatus",t.id),{status:t.new_status,approved_hours:t.new_status==="approved"?t.approved_hours:null,admin_remarks:t.admin_remarks},{onSuccess:s=>{s.props.flash.success&&(g.success(r(s.props.flash.success)),x(!1))}})};return e.jsxs(O,{title:r("Overtime Applications"),description:r("Manage and track overtime requests"),children:[e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-100 dark:border-gray-700/50 overflow-hidden",children:[e.jsxs("div",{className:"p-4 border-b border-gray-100 dark:border-gray-700 flex justify-between items-center",children:[e.jsx("h2",{className:"text-lg font-semibold",children:r("All Requests")}),e.jsxs(h,{onClick:w,children:[e.jsx(S,{className:"w-4 h-4 mr-2"}),r("Apply Overtime")]})]}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm text-left text-gray-500 dark:text-gray-400",children:[e.jsx("thead",{className:"text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-3",children:r("Date")}),d&&e.jsx("th",{className:"px-6 py-3",children:r("Employee")}),e.jsx("th",{className:"px-6 py-3 text-right",children:r("Requested (h)")}),e.jsx("th",{className:"px-6 py-3 text-right",children:r("Approved (h)")}),e.jsx("th",{className:"px-6 py-3",children:r("Reason")}),e.jsx("th",{className:"px-6 py-3",children:r("Status")}),e.jsx("th",{className:"px-6 py-3 text-right",children:r("Actions")})]})}),e.jsx("tbody",{children:n.length===0?e.jsx("tr",{children:e.jsx("td",{colSpan:d?7:6,className:"px-6 py-8 text-center text-gray-400",children:r("No overtime applications found.")})}):n.map(t=>{var s,c,u,y;return e.jsxs("tr",{className:"bg-white border-b dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 font-medium text-gray-900 dark:text-white",children:k(new Date(t.date),"MMM dd, yyyy")}),d&&e.jsxs("td",{className:"px-6 py-4",children:[e.jsx("div",{className:"font-semibold text-gray-900 dark:text-white",children:(s=t.user)==null?void 0:s.name}),e.jsx("div",{className:"text-xs text-gray-500",children:(y=(u=(c=t.user)==null?void 0:c.employee)==null?void 0:u.department)==null?void 0:y.name})]}),e.jsxs("td",{className:"px-6 py-4 text-right font-medium",children:[t.requested_hours,"h"]}),e.jsx("td",{className:"px-6 py-4 text-right font-bold text-green-600 dark:text-green-400",children:t.approved_hours?`${t.approved_hours}h`:"-"}),e.jsx("td",{className:"px-6 py-4 max-w-xs truncate",title:t.reason,children:t.reason||"-"}),e.jsx("td",{className:"px-6 py-4",children:e.jsx("span",{className:`px-2.5 py-1 text-xs font-semibold rounded-full border ${t.status==="pending"?"bg-amber-50 text-amber-600 border-amber-200 dark:bg-amber-900/20 dark:text-amber-400 dark:border-amber-800":t.status==="approved"?"bg-green-50 text-green-600 border-green-200 dark:bg-green-900/20 dark:text-green-400 dark:border-green-800":"bg-red-50 text-red-600 border-red-200 dark:bg-red-900/20 dark:text-red-400 dark:border-red-800"}`,children:r(t.status.charAt(0).toUpperCase()+t.status.slice(1))})}),e.jsx("td",{className:"px-6 py-4 text-right space-x-2",children:t.status==="pending"&&d&&e.jsxs(e.Fragment,{children:[e.jsx(h,{size:"sm",variant:"outline",className:"h-8 border-green-200 text-green-600 hover:bg-green-50 dark:border-green-800 dark:text-green-400 dark:hover:bg-green-900/20",onClick:()=>f(t,"approved"),children:e.jsx(D,{className:"w-4 h-4"})}),e.jsx(h,{size:"sm",variant:"outline",className:"h-8 border-red-200 text-red-600 hover:bg-red-50 dark:border-red-800 dark:text-red-400 dark:hover:bg-red-900/20",onClick:()=>f(t,"rejected"),children:e.jsx(R,{className:"w-4 h-4"})})]})})]},t.id)})})]})})]}),e.jsx(j,{isOpen:m,onClose:()=>o(!1),title:r("Apply for Overtime"),mode:"create",formConfig:{fields:[...d&&a?[{name:"user_id",label:r("Employee (Optional)"),type:"select",required:!1,width:"full",options:a.map(t=>({label:t.name,value:t.id.toString()}))}]:[],{name:"date",label:r("Date"),type:"date",required:!0,width:"full"},{name:"auto_detect",label:"",type:"custom",render:(t,s,c)=>e.jsx(E,{date:s.date,userId:s.user_id,onChange:u=>c("requested_hours",u)})},{name:"requested_hours",label:r("Requested Hours"),type:"number",required:!0,width:"full"},{name:"reason",label:r("Reason"),type:"textarea",required:!1,width:"full"}]},initialData:i||{},onSubmit:C,submitButtonText:r("Submit Application")}),e.jsx(j,{isOpen:_,onClose:()=>x(!1),title:(i==null?void 0:i.new_status)==="approved"?r("Approve Overtime"):r("Reject Overtime"),mode:"edit",formConfig:{fields:[...(i==null?void 0:i.new_status)==="approved"?[{name:"approved_hours",label:r("Approved Hours (You can adjust this)"),type:"number",required:!0,width:"full"}]:[],{name:"admin_remarks",label:r("Remarks (Optional)"),type:"textarea",required:!1,width:"full"}]},initialData:i||{},onSubmit:A,submitButtonText:r("Confirm")})]})}export{Oe as default}; +import{r as p,j as e}from"./ui-Z445SNHD.js";import{P as O}from"./page-template-CLNVC8w_.js";import{u as N,c as q,o as h,P as S,r as v,t as g,ao as M}from"./app-Dya84jp7.js";import{C as j}from"./CrudFormModal-CsuqSfb2.js";import{C as D}from"./circle-check-big-Cju4ilPH.js";import{C as R}from"./circle-x-Dg5wGIim.js";import{f as k}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";const E=({date:r,userId:n,onChange:d})=>{const{t:l}=N(),[a,m]=p.useState({loading:!1});return p.useEffect(()=>{r&&(m({loading:!0}),M.get(route("hr.overtime.get-attendance-details"),{params:{date:r,user_id:n}}).then(o=>{m({loading:!1,...o.data}),o.data.has_overtime&&o.data.suggested_hours&&d(o.data.suggested_hours)}).catch(()=>{m({loading:!1,message:l("Failed to load attendance details.")})}))},[r,n]),r?a.loading?e.jsx("div",{className:"text-xs text-gray-500 animate-pulse",children:l("Checking attendance records...")}):a.message?e.jsxs("div",{className:`mt-2 p-3 rounded-lg border text-sm ${a.has_overtime?"bg-indigo-50 border-indigo-200 text-indigo-700 dark:bg-indigo-900/20 dark:border-indigo-800 dark:text-indigo-300":"bg-gray-50 border-gray-200 text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400"}`,children:[e.jsx("div",{className:"font-medium mb-1",children:a.has_overtime?l("Overtime Detected!"):l("Attendance Info")}),e.jsx("div",{className:"text-xs opacity-90",children:a.message})]}):null:null};function Oe(){const{t:r}=N(),{applications:n,can_approve:d,auth:l,users:a}=q().props,[m,o]=p.useState(!1),[_,x]=p.useState(!1),[i,b]=p.useState(null),w=()=>{b({date:k(new Date,"yyyy-MM-dd"),requested_hours:1,reason:""}),o(!0)},C=t=>{v.post(route("hr.overtime.store"),t,{onSuccess:s=>{s.props.flash.success?(g.success(r(s.props.flash.success)),o(!1)):s.props.flash.error&&g.error(r(s.props.flash.error))}})},f=(t,s)=>{b({...t,new_status:s,approved_hours:t.requested_hours,admin_remarks:""}),x(!0)},A=t=>{v.put(route("hr.overtime.updateStatus",t.id),{status:t.new_status,approved_hours:t.new_status==="approved"?t.approved_hours:null,admin_remarks:t.admin_remarks},{onSuccess:s=>{s.props.flash.success&&(g.success(r(s.props.flash.success)),x(!1))}})};return e.jsxs(O,{title:r("Overtime Applications"),description:r("Manage and track overtime requests"),children:[e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-100 dark:border-gray-700/50 overflow-hidden",children:[e.jsxs("div",{className:"p-4 border-b border-gray-100 dark:border-gray-700 flex justify-between items-center",children:[e.jsx("h2",{className:"text-lg font-semibold",children:r("All Requests")}),e.jsxs(h,{onClick:w,children:[e.jsx(S,{className:"w-4 h-4 mr-2"}),r("Apply Overtime")]})]}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm text-left text-gray-500 dark:text-gray-400",children:[e.jsx("thead",{className:"text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-3",children:r("Date")}),d&&e.jsx("th",{className:"px-6 py-3",children:r("Employee")}),e.jsx("th",{className:"px-6 py-3 text-right",children:r("Requested (h)")}),e.jsx("th",{className:"px-6 py-3 text-right",children:r("Approved (h)")}),e.jsx("th",{className:"px-6 py-3",children:r("Reason")}),e.jsx("th",{className:"px-6 py-3",children:r("Status")}),e.jsx("th",{className:"px-6 py-3 text-right",children:r("Actions")})]})}),e.jsx("tbody",{children:n.length===0?e.jsx("tr",{children:e.jsx("td",{colSpan:d?7:6,className:"px-6 py-8 text-center text-gray-400",children:r("No overtime applications found.")})}):n.map(t=>{var s,c,u,y;return e.jsxs("tr",{className:"bg-white border-b dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 font-medium text-gray-900 dark:text-white",children:k(new Date(t.date),"MMM dd, yyyy")}),d&&e.jsxs("td",{className:"px-6 py-4",children:[e.jsx("div",{className:"font-semibold text-gray-900 dark:text-white",children:(s=t.user)==null?void 0:s.name}),e.jsx("div",{className:"text-xs text-gray-500",children:(y=(u=(c=t.user)==null?void 0:c.employee)==null?void 0:u.department)==null?void 0:y.name})]}),e.jsxs("td",{className:"px-6 py-4 text-right font-medium",children:[t.requested_hours,"h"]}),e.jsx("td",{className:"px-6 py-4 text-right font-bold text-green-600 dark:text-green-400",children:t.approved_hours?`${t.approved_hours}h`:"-"}),e.jsx("td",{className:"px-6 py-4 max-w-xs truncate",title:t.reason,children:t.reason||"-"}),e.jsx("td",{className:"px-6 py-4",children:e.jsx("span",{className:`px-2.5 py-1 text-xs font-semibold rounded-full border ${t.status==="pending"?"bg-amber-50 text-amber-600 border-amber-200 dark:bg-amber-900/20 dark:text-amber-400 dark:border-amber-800":t.status==="approved"?"bg-green-50 text-green-600 border-green-200 dark:bg-green-900/20 dark:text-green-400 dark:border-green-800":"bg-red-50 text-red-600 border-red-200 dark:bg-red-900/20 dark:text-red-400 dark:border-red-800"}`,children:r(t.status.charAt(0).toUpperCase()+t.status.slice(1))})}),e.jsx("td",{className:"px-6 py-4 text-right space-x-2",children:t.status==="pending"&&d&&e.jsxs(e.Fragment,{children:[e.jsx(h,{size:"sm",variant:"outline",className:"h-8 border-green-200 text-green-600 hover:bg-green-50 dark:border-green-800 dark:text-green-400 dark:hover:bg-green-900/20",onClick:()=>f(t,"approved"),children:e.jsx(D,{className:"w-4 h-4"})}),e.jsx(h,{size:"sm",variant:"outline",className:"h-8 border-red-200 text-red-600 hover:bg-red-50 dark:border-red-800 dark:text-red-400 dark:hover:bg-red-900/20",onClick:()=>f(t,"rejected"),children:e.jsx(R,{className:"w-4 h-4"})})]})})]},t.id)})})]})})]}),e.jsx(j,{isOpen:m,onClose:()=>o(!1),title:r("Apply for Overtime"),mode:"create",formConfig:{fields:[...d&&a?[{name:"user_id",label:r("Employee (Optional)"),type:"select",required:!1,width:"full",options:a.map(t=>({label:t.name,value:t.id.toString()}))}]:[],{name:"date",label:r("Date"),type:"date",required:!0,width:"full"},{name:"auto_detect",label:"",type:"custom",render:(t,s,c)=>e.jsx(E,{date:s.date,userId:s.user_id,onChange:u=>c("requested_hours",u)})},{name:"requested_hours",label:r("Requested Hours"),type:"number",required:!0,width:"full"},{name:"reason",label:r("Reason"),type:"textarea",required:!1,width:"full"}]},initialData:i||{},onSubmit:C,submitButtonText:r("Submit Application")}),e.jsx(j,{isOpen:_,onClose:()=>x(!1),title:(i==null?void 0:i.new_status)==="approved"?r("Approve Overtime"):r("Reject Overtime"),mode:"edit",formConfig:{fields:[...(i==null?void 0:i.new_status)==="approved"?[{name:"approved_hours",label:r("Approved Hours (You can adjust this)"),type:"number",required:!0,width:"full"}]:[],{name:"admin_remarks",label:r("Remarks (Optional)"),type:"textarea",required:!1,width:"full"}]},initialData:i||{},onSubmit:A,submitButtonText:r("Confirm")})]})}export{Oe as default}; diff --git a/public/build/assets/index-ClbcQXHo.js b/public/build/assets/index-B2s-YkQ5.js similarity index 60% rename from public/build/assets/index-ClbcQXHo.js rename to public/build/assets/index-B2s-YkQ5.js index ac02e49ad..de1253e46 100644 --- a/public/build/assets/index-ClbcQXHo.js +++ b/public/build/assets/index-B2s-YkQ5.js @@ -1 +1 @@ -import{r as d,j as a}from"./ui-Z445SNHD.js";import{P as J}from"./page-template-BTxLyiDA.js";import{u as K,c as Q,x as W,P as X,r as l,D as Y,t as o}from"./app-CfhhiFAk.js";import{C as Z}from"./CrudTable-qPWooc10.js";import{C as ee}from"./CrudFormModal-DAR9q-oM.js";import{C as re}from"./CrudDeleteModal-CKTiD3_K.js";import{P as te}from"./pagination-D8A_HnL5.js";import{S as ie}from"./search-and-filter-bar-6Pp-FsiR.js";import oe from"./view-FrvU1Gq2.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Ht(){var N;const{t:e}=K(),{auth:g,designations:s,departments:v,filters:p={},globalSettings:t}=Q().props,b=(g==null?void 0:g.permissions)||[],[c,_]=d.useState(p.search||""),[m,j]=d.useState(p.department||"all"),[k,w]=d.useState(!1),[A,f]=d.useState(!1),[O,x]=d.useState(!1),[u,y]=d.useState(null),[h,C]=d.useState("create"),[D,S]=d.useState(null),E=()=>c!==""||m!=="all",M=()=>(c?1:0)+(m!=="all"?1:0),T=r=>{r.preventDefault(),F()},F=()=>{l.get(route("hr.designations.index"),{page:1,search:c||void 0,department:m!=="all"?m:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},I=r=>{const i=p.sort_field===r&&p.sort_direction==="asc"?"desc":"asc";l.get(route("hr.designations.index"),{sort_field:r,sort_direction:i,page:1,search:c||void 0,department:m!=="all"?m:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},q=(r,i)=>{switch(y(i),r){case"view":S(i);break;case"edit":C("edit"),f(!0);break;case"delete":x(!0);break;case"toggle-status":V(i);break}},$=()=>{y(null),C("create"),f(!0)},B=r=>{h==="create"?(t!=null&&t.is_demo||o.loading(e("Creating designation...")),l.post(route("hr.designations.store"),r,{onSuccess:i=>{f(!1),t!=null&&t.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to create designation: {{errors}}",{errors:Object.values(i).join(", ")}))}})):h==="edit"&&(t!=null&&t.is_demo||o.loading(e("Updating designation...")),l.put(route("hr.designations.update",u.id),r,{onSuccess:i=>{f(!1),t!=null&&t.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to update designation: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},R=()=>{t!=null&&t.is_demo||o.loading(e("Deleting designation...")),l.delete(route("hr.designations.destroy",u.id),{onSuccess:r=>{x(!1),t!=null&&t.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete designation: {{errors}}",{errors:Object.values(r).join(", ")}))}})},V=r=>{const i=r.status==="active"?"inactive":"active";t!=null&&t.is_demo||o.loading(`${e(i==="active"?"Activating":"Deactivating")} designation...`),l.put(route("hr.designations.toggle-status",r.id),{},{onSuccess:n=>{t!=null&&t.is_demo||o.dismiss(),n.props.flash.success?o.success(e(n.props.flash.success)):n.props.flash.error&&o.error(e(n.props.flash.error))},onError:n=>{t!=null&&t.is_demo||o.dismiss(),typeof n=="string"?o.error(e(n)):o.error(e("Failed to update designation status: {{errors}}",{errors:Object.values(n).join(", ")}))}})},L=()=>{_(""),j("all"),w(!1),l.get(route("hr.designations.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},P=[];W(b,"create-designations")&&P.push({label:e("Add Designation"),icon:a.jsx(X,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>$()});const z=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.designations.index")},{title:e("Designations")}],H=[{key:"name",label:e("Name"),sortable:!0},{key:"department",label:e("Department"),render:(r,i)=>{var n;return r?a.jsxs("div",{children:[a.jsx("div",{children:r.name}),a.jsxs("div",{className:"text-xs text-muted-foreground",children:[e("Branch"),": ",((n=r.branch)==null?void 0:n.name)||"-"]})]}):"-"}},{key:"status",label:e("Status"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],U=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-designations"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-designations"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"toggle-status-designations"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-designations"}],G=[{value:"all",label:e("All Departments")},...(v||[]).map(r=>{var i;return{value:r.id.toString(),label:`${r.name} (${((i=r.branch)==null?void 0:i.name)||e("No Branch")})`}})];return a.jsxs(J,{title:e("Designations"),url:"/hr/designations",actions:P,breadcrumbs:z,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ie,{searchTerm:c,onSearchChange:_,onSearch:T,filters:[{name:"department",label:e("Department"),type:"select",value:m,searchable:!0,onChange:j,options:G}],showFilters:k,setShowFilters:w,hasActiveFilters:E,activeFilterCount:M,onResetFilters:L,onApplyFilters:F,currentPerPage:((N=p.per_page)==null?void 0:N.toString())||"10",onPerPageChange:r=>{l.get(route("hr.designations.index"),{page:1,per_page:parseInt(r),search:c||void 0,department:m!=="all"?m:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Z,{columns:H,actions:U,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:q,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:I,permissions:b,entityPermissions:{view:"view-designations",create:"create-designations",edit:"edit-designations",delete:"delete-designations"}}),a.jsx(te,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("designations"),onPageChange:r=>l.get(r)})]}),a.jsx(ee,{isOpen:A,onClose:()=>f(!1),onSubmit:B,formConfig:{fields:[{name:"name",label:e("Designation Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"department_id",label:e("Department"),type:"select",searchable:!0,options:v?v.map(r=>{var i;return{value:r.id.toString(),label:`${r.name} (${((i=r.branch)==null?void 0:i.name)||e("No Branch")})`}}):[],required:!0},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"lg"},initialData:u,title:e(h==="create"?"Add New Designation":"Edit Designation"),mode:h}),a.jsx(re,{isOpen:O,onClose:()=>x(!1),onConfirm:R,itemName:(u==null?void 0:u.name)||"",entityName:"designation"}),a.jsx(Y,{open:!!D,onOpenChange:()=>S(null),children:D&&a.jsx(oe,{designation:D})})]})}export{Ht as default}; +import{r as d,j as a}from"./ui-Z445SNHD.js";import{P as J}from"./page-template-CLNVC8w_.js";import{u as K,c as Q,x as W,P as X,r as l,D as Y,t as o}from"./app-Dya84jp7.js";import{C as Z}from"./CrudTable-yqxtM6E_.js";import{C as ee}from"./CrudFormModal-CsuqSfb2.js";import{C as re}from"./CrudDeleteModal-D32N6I8y.js";import{P as te}from"./pagination-4PUepASD.js";import{S as ie}from"./search-and-filter-bar-DWH0yn_r.js";import oe from"./view-C5MKftPZ.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Ht(){var N;const{t:e}=K(),{auth:g,designations:s,departments:v,filters:p={},globalSettings:t}=Q().props,b=(g==null?void 0:g.permissions)||[],[c,_]=d.useState(p.search||""),[m,j]=d.useState(p.department||"all"),[k,w]=d.useState(!1),[A,f]=d.useState(!1),[O,x]=d.useState(!1),[u,y]=d.useState(null),[h,C]=d.useState("create"),[D,S]=d.useState(null),E=()=>c!==""||m!=="all",M=()=>(c?1:0)+(m!=="all"?1:0),T=r=>{r.preventDefault(),F()},F=()=>{l.get(route("hr.designations.index"),{page:1,search:c||void 0,department:m!=="all"?m:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},I=r=>{const i=p.sort_field===r&&p.sort_direction==="asc"?"desc":"asc";l.get(route("hr.designations.index"),{sort_field:r,sort_direction:i,page:1,search:c||void 0,department:m!=="all"?m:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},q=(r,i)=>{switch(y(i),r){case"view":S(i);break;case"edit":C("edit"),f(!0);break;case"delete":x(!0);break;case"toggle-status":V(i);break}},$=()=>{y(null),C("create"),f(!0)},B=r=>{h==="create"?(t!=null&&t.is_demo||o.loading(e("Creating designation...")),l.post(route("hr.designations.store"),r,{onSuccess:i=>{f(!1),t!=null&&t.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to create designation: {{errors}}",{errors:Object.values(i).join(", ")}))}})):h==="edit"&&(t!=null&&t.is_demo||o.loading(e("Updating designation...")),l.put(route("hr.designations.update",u.id),r,{onSuccess:i=>{f(!1),t!=null&&t.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to update designation: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},R=()=>{t!=null&&t.is_demo||o.loading(e("Deleting designation...")),l.delete(route("hr.designations.destroy",u.id),{onSuccess:r=>{x(!1),t!=null&&t.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete designation: {{errors}}",{errors:Object.values(r).join(", ")}))}})},V=r=>{const i=r.status==="active"?"inactive":"active";t!=null&&t.is_demo||o.loading(`${e(i==="active"?"Activating":"Deactivating")} designation...`),l.put(route("hr.designations.toggle-status",r.id),{},{onSuccess:n=>{t!=null&&t.is_demo||o.dismiss(),n.props.flash.success?o.success(e(n.props.flash.success)):n.props.flash.error&&o.error(e(n.props.flash.error))},onError:n=>{t!=null&&t.is_demo||o.dismiss(),typeof n=="string"?o.error(e(n)):o.error(e("Failed to update designation status: {{errors}}",{errors:Object.values(n).join(", ")}))}})},L=()=>{_(""),j("all"),w(!1),l.get(route("hr.designations.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},P=[];W(b,"create-designations")&&P.push({label:e("Add Designation"),icon:a.jsx(X,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>$()});const z=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.designations.index")},{title:e("Designations")}],H=[{key:"name",label:e("Name"),sortable:!0},{key:"department",label:e("Department"),render:(r,i)=>{var n;return r?a.jsxs("div",{children:[a.jsx("div",{children:r.name}),a.jsxs("div",{className:"text-xs text-muted-foreground",children:[e("Branch"),": ",((n=r.branch)==null?void 0:n.name)||"-"]})]}):"-"}},{key:"status",label:e("Status"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],U=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-designations"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-designations"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"toggle-status-designations"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-designations"}],G=[{value:"all",label:e("All Departments")},...(v||[]).map(r=>{var i;return{value:r.id.toString(),label:`${r.name} (${((i=r.branch)==null?void 0:i.name)||e("No Branch")})`}})];return a.jsxs(J,{title:e("Designations"),url:"/hr/designations",actions:P,breadcrumbs:z,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ie,{searchTerm:c,onSearchChange:_,onSearch:T,filters:[{name:"department",label:e("Department"),type:"select",value:m,searchable:!0,onChange:j,options:G}],showFilters:k,setShowFilters:w,hasActiveFilters:E,activeFilterCount:M,onResetFilters:L,onApplyFilters:F,currentPerPage:((N=p.per_page)==null?void 0:N.toString())||"10",onPerPageChange:r=>{l.get(route("hr.designations.index"),{page:1,per_page:parseInt(r),search:c||void 0,department:m!=="all"?m:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Z,{columns:H,actions:U,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:q,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:I,permissions:b,entityPermissions:{view:"view-designations",create:"create-designations",edit:"edit-designations",delete:"delete-designations"}}),a.jsx(te,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("designations"),onPageChange:r=>l.get(r)})]}),a.jsx(ee,{isOpen:A,onClose:()=>f(!1),onSubmit:B,formConfig:{fields:[{name:"name",label:e("Designation Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"department_id",label:e("Department"),type:"select",searchable:!0,options:v?v.map(r=>{var i;return{value:r.id.toString(),label:`${r.name} (${((i=r.branch)==null?void 0:i.name)||e("No Branch")})`}}):[],required:!0},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"lg"},initialData:u,title:e(h==="create"?"Add New Designation":"Edit Designation"),mode:h}),a.jsx(re,{isOpen:O,onClose:()=>x(!1),onConfirm:R,itemName:(u==null?void 0:u.name)||"",entityName:"designation"}),a.jsx(Y,{open:!!D,onOpenChange:()=>S(null),children:D&&a.jsx(oe,{designation:D})})]})}export{Ht as default}; diff --git a/public/build/assets/index-B76rJyOC.js b/public/build/assets/index-B76rJyOC.js new file mode 100644 index 000000000..9576f6da9 --- /dev/null +++ b/public/build/assets/index-B76rJyOC.js @@ -0,0 +1 @@ +import{r as c,j as p}from"./ui-Z445SNHD.js";import{P as A}from"./page-template-CLNVC8w_.js";import{u as E,c as O,r as n,t as m}from"./app-Dya84jp7.js";import{C as M}from"./CrudTable-yqxtM6E_.js";import{C as R}from"./CrudDeleteModal-D32N6I8y.js";import{P as I}from"./pagination-4PUepASD.js";import{S as L}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function Se(){var S;const{t:e}=E(),{auth:d,newsletters:t,filters:o={},globalSettings:i}=O().props,b=(d==null?void 0:d.permissions)||[],[s,f]=c.useState(o.search||""),[_,h]=c.useState(!1),[v,u]=c.useState(!1),[l,x]=c.useState(null),w=()=>s!=="",P=()=>s!==""?1:0,D=r=>{r.preventDefault(),g()},g=()=>{n.get(route("newsletters.index"),{page:1,search:s||void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},C=r=>{const a=o.sort_field===r&&o.sort_direction==="asc"?"desc":"asc";n.get(route("newsletters.index"),{sort_field:r,sort_direction:a,page:1,search:s||void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},F=(r,a)=>{switch(x(a),r){case"delete":u(!0);break}},j=()=>{i!=null&&i.is_demo||m.loading(e("Deleting newsletter subscription...")),n.delete(route("newsletters.destroy",l.id),{onSuccess:r=>{u(!1),i!=null&&i.is_demo||m.dismiss(),r.props.flash.success?m.success(e(r.props.flash.success)):r.props.flash.error&&m.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||m.dismiss(),typeof r=="string"?m.error(e(r)):m.error(e("Failed to delete newsletter subscription: {{errors}}",{errors:Object.values(r).join(", ")}))}})},y=()=>{f(""),h(!1),n.get(route("newsletters.index"),{page:1,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},N=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Landing Page"),href:route("landing-page")},{title:e("Newsletter")}],T=[{key:"email",label:e("Email"),sortable:!0,render:r=>r||"-"},{key:"created_at",label:e("Subscribed Date"),sortable:!0,render:r=>{var a;return((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],k=[{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-newsletters"}];return p.jsxs(A,{title:e("Newsletter"),url:"/newsletters",breadcrumbs:N,noPadding:!0,children:[p.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:p.jsx(L,{searchTerm:s,onSearchChange:f,onSearch:D,filters:[],showFilters:_,setShowFilters:h,hasActiveFilters:w,activeFilterCount:P,onResetFilters:y,onApplyFilters:g,currentPerPage:((S=o.per_page)==null?void 0:S.toString())||"10",onPerPageChange:r=>{n.get(route("newsletters.index"),{page:1,per_page:parseInt(r),search:s||void 0},{preserveState:!0,preserveScroll:!0})}})}),p.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[p.jsx(M,{columns:T,actions:k,data:(t==null?void 0:t.data)||[],from:(t==null?void 0:t.from)||1,onAction:F,sortField:o.sort_field,sortDirection:o.sort_direction,onSort:C,permissions:b,entityPermissions:{delete:"delete-newsletters"}}),p.jsx(I,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:e("newsletter subscriptions"),onPageChange:r=>n.get(r)})]}),p.jsx(R,{isOpen:v,onClose:()=>u(!1),onConfirm:j,itemName:(l==null?void 0:l.email)||"",itemType:e("newsletter subscription")})]})}export{Se as default}; diff --git a/public/build/assets/index-C-rkBD8E.js b/public/build/assets/index-B95SfE_0.js similarity index 69% rename from public/build/assets/index-C-rkBD8E.js rename to public/build/assets/index-B95SfE_0.js index e61108f4c..8646acbca 100644 --- a/public/build/assets/index-C-rkBD8E.js +++ b/public/build/assets/index-B95SfE_0.js @@ -1 +1 @@ -import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as fe}from"./page-template-BTxLyiDA.js";import{u as ge,c as he,x as H,P as be,B as ve,F as ye,g as Se,r as c,M as xe,D as _e,t as i}from"./app-CfhhiFAk.js";import{C as je}from"./CrudTable-qPWooc10.js";import{C as G}from"./CrudFormModal-DAR9q-oM.js";import{C as we}from"./CrudDeleteModal-CKTiD3_K.js";import{P as De}from"./pagination-D8A_HnL5.js";import{S as Pe}from"./search-and-filter-bar-6Pp-FsiR.js";import Ce from"./view-CeXwvO2y.js";import{u as ke}from"./use-initials-BK4eRgYY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function hr(){var V,I,U;const{t:e}=ge(),{auth:S,promotions:a,employees:J,designations:D,filters:l={}}=he().props,x=(S==null?void 0:S.permissions)||[],K=ke(),[u,P]=p.useState(l.search||""),[f,C]=p.useState(l.employee_id||""),[g,k]=p.useState(l.designation_id||""),[d,F]=p.useState(l.status||"all"),[h,N]=p.useState(l.date_from||""),[b,E]=p.useState(l.date_to||""),[Q,A]=p.useState(!1),[W,_]=p.useState(!1),[X,v]=p.useState(!1),[Y,j]=p.useState(!1),[n,O]=p.useState(null),[y,M]=p.useState("create"),[w,T]=p.useState(null),Z=()=>f!==""||g!==""||d!=="all"||h!==""||b!==""||u!=="",ee=()=>(f!==""?1:0)+(g!==""?1:0)+(d!=="all"?1:0)+(h!==""?1:0)+(b!==""?1:0)+(u!==""?1:0),te=t=>{t.preventDefault(),$()},$=()=>{c.get(route("hr.promotions.index"),{page:1,search:u||void 0,employee_id:f||void 0,designation_id:g||void 0,status:d!=="all"?d:void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},oe=t=>{const o=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";c.get(route("hr.promotions.index"),{sort_field:t,sort_direction:o,page:1,search:u||void 0,employee_id:f||void 0,designation_id:g||void 0,status:d!=="all"?d:void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},re=(t,o)=>{switch(O(o),t){case"view":T(o);break;case"edit":M("edit"),v(!0);break;case"delete":_(!0);break;case"update-status":j(!0);break;case"download-document":window.open(route("hr.promotions.download-document",o.id),"_blank");break}},ie=()=>{O(null),M("create"),v(!0)},se=t=>{const o=t;y==="create"?(i.loading(e("Creating promotion...")),c.post(route("hr.promotions.store"),o,{onSuccess:r=>{v(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to create promotion: {{errors}}",{errors:Object.values(r).join(", ")}))}})):y==="edit"&&(i.loading(e("Updating promotion...")),c.put(route("hr.promotions.update",n.id),o,{onSuccess:r=>{v(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update promotion: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},ae=t=>{i.loading(e("Updating promotion status...")),c.put(route("hr.promotions.update-status",n.id),{status:t},{onSuccess:o=>{j(!1),i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to update promotion status: {{errors}}",{errors:Object.values(o).join(", ")}))}})},ne=()=>{i.loading(e("Deleting promotion...")),c.delete(route("hr.promotions.destroy",n.id),{onSuccess:t=>{_(!1),i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{i.dismiss(),typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete promotion: {{errors}}",{errors:Object.values(t).join(", ")}))}})},le=()=>{P(""),C(""),k(""),F("all"),N(""),E(""),A(!1),c.get(route("hr.promotions.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},q=[];H(x,"create-promotions")&&q.push({label:e("Add Promotion"),icon:s.jsx(be,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ie()});const pe=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.promotions.index")},{title:e("Promotions")}],me=[{key:"employee.name",label:e("Employee"),render:(t,o)=>{var r,m,z,B,L;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(r=o.employee)!=null&&r.avatar?s.jsx("img",{src:o.employee.avatar,alt:(m=o.employee)==null?void 0:m.name,className:"h-full w-full object-cover"}):K(((z=o.employee)==null?void 0:z.name)||"")}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((B=o.employee)==null?void 0:B.name)||"-"}),s.jsx("div",{className:"text-sm text-muted-foreground",children:((L=o.employee)==null?void 0:L.email)||""})]})]})}},{key:"previous_designation",label:e("Previous Designation"),render:t=>t||"-"},{key:"designation.name",label:e("New Designation"),render:(t,o)=>{var r;return((r=o.designation)==null?void 0:r.name)||"-"}},{key:"promotion_date",label:e("Promotion Date"),sortable:!0,render:t=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"effective_date",label:e("Effective Date"),sortable:!0,render:t=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"salary_adjustment",label:e("Salary Adjustment"),render:t=>t?window.appSettings.formatCurrency(t):"-"},{key:"status",label:e("Status"),render:t=>{let o="";switch(t){case"pending":o="bg-yellow-100 text-yellow-800 border-yellow-200";break;case"approved":o="bg-green-100 text-green-800 border-green-200";break;case"rejected":o="bg-red-100 text-red-800 border-red-200";break;default:o="bg-gray-100 text-gray-800 border-gray-200"}return s.jsx(ve,{className:`${o} capitalize`,children:t})}},{key:"document",label:e("Document"),render:(t,o)=>t&&t.trim()!==""?s.jsx("a",{href:Se(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:s.jsx(ye,{className:"h-4 w-4"})}):"-"}],de=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-promotions"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-promotions"},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:["approve-promotions","reject-promotions"]},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-promotions"}],R=[{value:"",label:e("All Employees")},...(J||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],ce=[{value:"",label:e("All Designations")},...(D||[]).map(t=>{var o,r,m;return{value:t.id.toString(),label:`${t.name} - ${((o=t.department)==null?void 0:o.name)||""} (${((m=(r=t.department)==null?void 0:r.branch)==null?void 0:m.name)||""})`}})],ue=[{value:"all",label:e("All Statuses")},{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}];return s.jsxs(fe,{title:e("Promotions"),url:"/hr/promotions",actions:q,breadcrumbs:pe,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(Pe,{searchTerm:u,onSearchChange:P,onSearch:te,filters:[...H(x,"manage-any-promotions")?[{name:"employee_id",label:e("Employee"),type:"select",value:f,onChange:C,options:R,searchable:!0}]:[],{name:"designation_id",label:e("Designation"),type:"select",value:g,onChange:k,options:ce,searchable:!0},{name:"status",label:e("Status"),type:"select",value:d,onChange:F,options:ue},{name:"date_from",label:e("Date From"),type:"date",value:h,onChange:N},{name:"date_to",label:e("Date To"),type:"date",value:b,onChange:E}],showFilters:Q,setShowFilters:A,hasActiveFilters:Z,activeFilterCount:ee,onResetFilters:le,onApplyFilters:$,currentPerPage:((V=l.per_page)==null?void 0:V.toString())||"10",onPerPageChange:t=>{c.get(route("hr.promotions.index"),{page:1,per_page:parseInt(t),search:u||void 0,employee_id:f||void 0,designation_id:g||void 0,status:d!=="all"?d:void 0,date_from:h||void 0,date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(je,{columns:me,actions:de,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:re,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:oe,permissions:x,entityPermissions:{view:"view-promotions",create:"create-promotions",edit:"edit-promotions",delete:"delete-promotions"}}),s.jsx(De,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("promotions"),onPageChange:t=>c.get(t)})]}),s.jsx(G,{isOpen:X,onClose:()=>v(!1),onSubmit:se,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:R.filter(t=>t.value!==""),searchable:!0},{name:"previous_designation",label:e("Previous Designation"),type:"text",required:!0},{name:"designation_id",label:e("New Designation"),type:"select",required:!0,searchable:!0,options:(D||[]).map(t=>{var o,r,m;return{value:t.id.toString(),label:`${t.name} - ${((o=t.department)==null?void 0:o.name)||""} (${((m=(r=t.department)==null?void 0:r.branch)==null?void 0:m.name)||""})`}})},{name:"promotion_date",label:e("Promotion Date"),type:"date",required:!0},{name:"effective_date",label:e("Effective Date"),type:"date",required:!0},{name:"salary_adjustment",label:e("Salary Adjustment"),type:"number",min:0,step:.01},{name:"reason",label:e("Reason for Promotion"),type:"textarea"},{name:"document",label:e("Document"),type:"custom",render:(t,o,r)=>s.jsx(xe,{value:String(o[t.name]||""),onChange:m=>r(t.name,m),placeholder:e("Select document file...")})},{name:"status",label:e("Status"),type:"select",options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}],defaultValue:"pending"}],modalSize:"lg"},initialData:n,title:e(y==="create"?"Add New Promotion":"Edit Promotion"),mode:y}),s.jsx(we,{isOpen:W,onClose:()=>_(!1),onConfirm:ne,itemName:`${((I=n==null?void 0:n.employee)==null?void 0:I.name)||""} - ${((U=n==null?void 0:n.designation)==null?void 0:U.name)||""}`,entityName:"promotion"}),s.jsx(_e,{open:!!w,onOpenChange:()=>T(null),children:w&&s.jsx(Ce,{promotion:w})}),s.jsx(G,{isOpen:Y,onClose:()=>j(!1),onSubmit:t=>ae(t.status),formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}],defaultValue:(n==null?void 0:n.status)||"pending"}],modalSize:"sm"},initialData:n?{status:n.status}:{status:"pending"},title:e("Update Promotion Status"),mode:"edit"})]})}export{hr as default}; +import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as fe}from"./page-template-CLNVC8w_.js";import{u as ge,c as he,x as H,P as be,B as ve,F as ye,g as Se,r as c,M as xe,D as _e,t as i}from"./app-Dya84jp7.js";import{C as je}from"./CrudTable-yqxtM6E_.js";import{C as G}from"./CrudFormModal-CsuqSfb2.js";import{C as we}from"./CrudDeleteModal-D32N6I8y.js";import{P as De}from"./pagination-4PUepASD.js";import{S as Pe}from"./search-and-filter-bar-DWH0yn_r.js";import Ce from"./view-0ho_yqvm.js";import{u as ke}from"./use-initials-BK4eRgYY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function hr(){var V,I,U;const{t:e}=ge(),{auth:S,promotions:a,employees:J,designations:D,filters:l={}}=he().props,x=(S==null?void 0:S.permissions)||[],K=ke(),[u,P]=p.useState(l.search||""),[f,C]=p.useState(l.employee_id||""),[g,k]=p.useState(l.designation_id||""),[d,F]=p.useState(l.status||"all"),[h,N]=p.useState(l.date_from||""),[b,E]=p.useState(l.date_to||""),[Q,A]=p.useState(!1),[W,_]=p.useState(!1),[X,v]=p.useState(!1),[Y,j]=p.useState(!1),[n,O]=p.useState(null),[y,M]=p.useState("create"),[w,T]=p.useState(null),Z=()=>f!==""||g!==""||d!=="all"||h!==""||b!==""||u!=="",ee=()=>(f!==""?1:0)+(g!==""?1:0)+(d!=="all"?1:0)+(h!==""?1:0)+(b!==""?1:0)+(u!==""?1:0),te=t=>{t.preventDefault(),$()},$=()=>{c.get(route("hr.promotions.index"),{page:1,search:u||void 0,employee_id:f||void 0,designation_id:g||void 0,status:d!=="all"?d:void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},oe=t=>{const o=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";c.get(route("hr.promotions.index"),{sort_field:t,sort_direction:o,page:1,search:u||void 0,employee_id:f||void 0,designation_id:g||void 0,status:d!=="all"?d:void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},re=(t,o)=>{switch(O(o),t){case"view":T(o);break;case"edit":M("edit"),v(!0);break;case"delete":_(!0);break;case"update-status":j(!0);break;case"download-document":window.open(route("hr.promotions.download-document",o.id),"_blank");break}},ie=()=>{O(null),M("create"),v(!0)},se=t=>{const o=t;y==="create"?(i.loading(e("Creating promotion...")),c.post(route("hr.promotions.store"),o,{onSuccess:r=>{v(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to create promotion: {{errors}}",{errors:Object.values(r).join(", ")}))}})):y==="edit"&&(i.loading(e("Updating promotion...")),c.put(route("hr.promotions.update",n.id),o,{onSuccess:r=>{v(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update promotion: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},ae=t=>{i.loading(e("Updating promotion status...")),c.put(route("hr.promotions.update-status",n.id),{status:t},{onSuccess:o=>{j(!1),i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to update promotion status: {{errors}}",{errors:Object.values(o).join(", ")}))}})},ne=()=>{i.loading(e("Deleting promotion...")),c.delete(route("hr.promotions.destroy",n.id),{onSuccess:t=>{_(!1),i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{i.dismiss(),typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete promotion: {{errors}}",{errors:Object.values(t).join(", ")}))}})},le=()=>{P(""),C(""),k(""),F("all"),N(""),E(""),A(!1),c.get(route("hr.promotions.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},q=[];H(x,"create-promotions")&&q.push({label:e("Add Promotion"),icon:s.jsx(be,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ie()});const pe=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.promotions.index")},{title:e("Promotions")}],me=[{key:"employee.name",label:e("Employee"),render:(t,o)=>{var r,m,z,B,L;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(r=o.employee)!=null&&r.avatar?s.jsx("img",{src:o.employee.avatar,alt:(m=o.employee)==null?void 0:m.name,className:"h-full w-full object-cover"}):K(((z=o.employee)==null?void 0:z.name)||"")}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((B=o.employee)==null?void 0:B.name)||"-"}),s.jsx("div",{className:"text-sm text-muted-foreground",children:((L=o.employee)==null?void 0:L.email)||""})]})]})}},{key:"previous_designation",label:e("Previous Designation"),render:t=>t||"-"},{key:"designation.name",label:e("New Designation"),render:(t,o)=>{var r;return((r=o.designation)==null?void 0:r.name)||"-"}},{key:"promotion_date",label:e("Promotion Date"),sortable:!0,render:t=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"effective_date",label:e("Effective Date"),sortable:!0,render:t=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"salary_adjustment",label:e("Salary Adjustment"),render:t=>t?window.appSettings.formatCurrency(t):"-"},{key:"status",label:e("Status"),render:t=>{let o="";switch(t){case"pending":o="bg-yellow-100 text-yellow-800 border-yellow-200";break;case"approved":o="bg-green-100 text-green-800 border-green-200";break;case"rejected":o="bg-red-100 text-red-800 border-red-200";break;default:o="bg-gray-100 text-gray-800 border-gray-200"}return s.jsx(ve,{className:`${o} capitalize`,children:t})}},{key:"document",label:e("Document"),render:(t,o)=>t&&t.trim()!==""?s.jsx("a",{href:Se(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:s.jsx(ye,{className:"h-4 w-4"})}):"-"}],de=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-promotions"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-promotions"},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:["approve-promotions","reject-promotions"]},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-promotions"}],R=[{value:"",label:e("All Employees")},...(J||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],ce=[{value:"",label:e("All Designations")},...(D||[]).map(t=>{var o,r,m;return{value:t.id.toString(),label:`${t.name} - ${((o=t.department)==null?void 0:o.name)||""} (${((m=(r=t.department)==null?void 0:r.branch)==null?void 0:m.name)||""})`}})],ue=[{value:"all",label:e("All Statuses")},{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}];return s.jsxs(fe,{title:e("Promotions"),url:"/hr/promotions",actions:q,breadcrumbs:pe,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(Pe,{searchTerm:u,onSearchChange:P,onSearch:te,filters:[...H(x,"manage-any-promotions")?[{name:"employee_id",label:e("Employee"),type:"select",value:f,onChange:C,options:R,searchable:!0}]:[],{name:"designation_id",label:e("Designation"),type:"select",value:g,onChange:k,options:ce,searchable:!0},{name:"status",label:e("Status"),type:"select",value:d,onChange:F,options:ue},{name:"date_from",label:e("Date From"),type:"date",value:h,onChange:N},{name:"date_to",label:e("Date To"),type:"date",value:b,onChange:E}],showFilters:Q,setShowFilters:A,hasActiveFilters:Z,activeFilterCount:ee,onResetFilters:le,onApplyFilters:$,currentPerPage:((V=l.per_page)==null?void 0:V.toString())||"10",onPerPageChange:t=>{c.get(route("hr.promotions.index"),{page:1,per_page:parseInt(t),search:u||void 0,employee_id:f||void 0,designation_id:g||void 0,status:d!=="all"?d:void 0,date_from:h||void 0,date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(je,{columns:me,actions:de,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:re,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:oe,permissions:x,entityPermissions:{view:"view-promotions",create:"create-promotions",edit:"edit-promotions",delete:"delete-promotions"}}),s.jsx(De,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("promotions"),onPageChange:t=>c.get(t)})]}),s.jsx(G,{isOpen:X,onClose:()=>v(!1),onSubmit:se,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:R.filter(t=>t.value!==""),searchable:!0},{name:"previous_designation",label:e("Previous Designation"),type:"text",required:!0},{name:"designation_id",label:e("New Designation"),type:"select",required:!0,searchable:!0,options:(D||[]).map(t=>{var o,r,m;return{value:t.id.toString(),label:`${t.name} - ${((o=t.department)==null?void 0:o.name)||""} (${((m=(r=t.department)==null?void 0:r.branch)==null?void 0:m.name)||""})`}})},{name:"promotion_date",label:e("Promotion Date"),type:"date",required:!0},{name:"effective_date",label:e("Effective Date"),type:"date",required:!0},{name:"salary_adjustment",label:e("Salary Adjustment"),type:"number",min:0,step:.01},{name:"reason",label:e("Reason for Promotion"),type:"textarea"},{name:"document",label:e("Document"),type:"custom",render:(t,o,r)=>s.jsx(xe,{value:String(o[t.name]||""),onChange:m=>r(t.name,m),placeholder:e("Select document file...")})},{name:"status",label:e("Status"),type:"select",options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}],defaultValue:"pending"}],modalSize:"lg"},initialData:n,title:e(y==="create"?"Add New Promotion":"Edit Promotion"),mode:y}),s.jsx(we,{isOpen:W,onClose:()=>_(!1),onConfirm:ne,itemName:`${((I=n==null?void 0:n.employee)==null?void 0:I.name)||""} - ${((U=n==null?void 0:n.designation)==null?void 0:U.name)||""}`,entityName:"promotion"}),s.jsx(_e,{open:!!w,onOpenChange:()=>T(null),children:w&&s.jsx(Ce,{promotion:w})}),s.jsx(G,{isOpen:Y,onClose:()=>j(!1),onSubmit:t=>ae(t.status),formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}],defaultValue:(n==null?void 0:n.status)||"pending"}],modalSize:"sm"},initialData:n?{status:n.status}:{status:"pending"},title:e("Update Promotion Status"),mode:"edit"})]})}export{hr as default}; diff --git a/public/build/assets/index-Cw_jOgcF.js b/public/build/assets/index-BDpKvLvJ.js similarity index 71% rename from public/build/assets/index-Cw_jOgcF.js rename to public/build/assets/index-BDpKvLvJ.js index b376de53c..ce42885af 100644 --- a/public/build/assets/index-Cw_jOgcF.js +++ b/public/build/assets/index-BDpKvLvJ.js @@ -1 +1 @@ -import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as ge}from"./page-template-BTxLyiDA.js";import{u as _e,c as fe,x as ye,P as he,r as _,D as xe,t as o}from"./app-CfhhiFAk.js";import{C as be}from"./CrudTable-qPWooc10.js";import{C as L}from"./CrudFormModal-DAR9q-oM.js";import{C as ve}from"./CrudDeleteModal-CKTiD3_K.js";import{P as we}from"./pagination-D8A_HnL5.js";import{S as je}from"./search-and-filter-bar-6Pp-FsiR.js";import Pe from"./view-Bdd5ZGnN.js";import{U as Ce}from"./user-C37aWgZX.js";import{C as Se}from"./calendar-CfUpdaK5.js";import{f as H}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ui(){var R;const{t:e}=_e(),{auth:x,actionItems:a,meetings:P,employees:C,filters:p={},globalSettings:i}=fe().props,S=(x==null?void 0:x.permissions)||[],[f,N]=l.useState(p.search||""),[d,D]=l.useState(p.status||"_empty_"),[c,F]=l.useState(p.priority||"_empty_"),[u,A]=l.useState(p.assigned_to||"_empty_"),[g,M]=l.useState(p.meeting_id||"_empty_"),[I,O]=l.useState(!1),[V,b]=l.useState(!1),[z,y]=l.useState(!1),[B,v]=l.useState(!1),[n,T]=l.useState(null),[h,$]=l.useState("create"),[w,k]=l.useState(null),G=()=>d!=="_empty_"||c!=="_empty_"||u!=="_empty_"||g!=="_empty_"||f!=="",J=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(g!=="_empty_"?1:0)+(f!==""?1:0),K=t=>{t.preventDefault(),E()},E=()=>{_.get(route("meetings.action-items.index"),{page:1,search:f||void 0,status:d!=="_empty_"?d:void 0,priority:c!=="_empty_"?c:void 0,assigned_to:u!=="_empty_"?u:void 0,meeting_id:g!=="_empty_"?g:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Q=t=>{const r=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";_.get(route("meetings.action-items.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,status:d!=="_empty_"?d:void 0,priority:c!=="_empty_"?c:void 0,assigned_to:u!=="_empty_"?u:void 0,meeting_id:g!=="_empty_"?g:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},W=(t,r)=>{switch(T(r),t){case"view":k(r);break;case"edit":$("edit"),y(!0);break;case"delete":b(!0);break;case"update-progress":v(!0);break}},X=()=>{T(null),$("create"),y(!0)},Y=t=>{h==="create"?(i!=null&&i.is_demo||o.loading(e("Creating action item...")),_.post(route("meetings.action-items.store"),t,{onSuccess:r=>{y(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to create action item: ${Object.values(r).join(", ")}`)}})):h==="edit"&&(i!=null&&i.is_demo||o.loading(e("Updating action item...")),_.put(route("meetings.action-items.update",n.id),t,{onSuccess:r=>{y(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update action item: ${Object.values(r).join(", ")}`)}}))},Z=()=>{i!=null&&i.is_demo||o.loading(e("Deleting action item...")),_.delete(route("meetings.action-items.destroy",n.id),{onSuccess:t=>{b(!1),i!=null&&i.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to delete action item: ${Object.values(t).join(", ")}`)}})},ee=t=>{i!=null&&i.is_demo||o.loading(e("Updating progress...")),_.put(route("meetings.action-items.update-progress",n.id),{progress_percentage:t.progress_percentage,notes:t.notes},{onSuccess:r=>{v(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update progress: ${Object.values(r).join(", ")}`)}})},te=()=>{N(""),D("_empty_"),F("_empty_"),A("_empty_"),M("_empty_"),O(!1),_.get(route("meetings.action-items.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},q=[];ye(S,"create-action-items")&&q.push({label:e("Add Action Item"),icon:s.jsx(he,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const re=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Meetings"),href:route("meetings.action-items.index")},{title:e("Action Items")}],ie=t=>{switch(t){case"Not Started":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"In Progress":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";case"Overdue":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},se=t=>{switch(t){case"Low":return"bg-green-50 text-green-700 ring-green-600/20";case"Medium":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"High":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Critical":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},oe=(t,r)=>{if(r==="Completed")return null;const m=new Date,ue=new Date(t).getTime()-m.getTime();return Math.ceil(ue/(1e3*60*60*24))},ae=[{key:"title",label:e("Action Item"),sortable:!0,render:(t,r)=>{var m;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:t}),s.jsx("div",{className:"text-xs text-gray-500",children:(m=r.meeting)==null?void 0:m.title})]})}},{key:"assignee.name",label:e("Assigned To"),render:(t,r)=>{var m;return s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(Ce,{className:"h-4 w-4 text-gray-500"}),((m=r.assignee)==null?void 0:m.name)||"-"]})}},{key:"due_date",label:e("Due Date"),sortable:!0,render:(t,r)=>{var j;const m=oe(t,r.status);return s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(Se,{className:"h-4 w-4 text-gray-500"}),((j=window.appSettings)==null?void 0:j.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()]}),m!==null&&s.jsx("div",{className:`text-xs ${m<0?"text-red-600":m<=3?"text-orange-600":"text-gray-500"}`,children:m<0?`${Math.abs(m)} days overdue`:m===0?"Due today":`${m} days remaining`})]})}},{key:"priority",label:e("Priority"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${se(t)}`,children:e(t)})},{key:"progress_percentage",label:e("Progress"),render:(t,r)=>s.jsxs("div",{className:"w-full",children:[s.jsxs("div",{className:"flex items-center justify-between mb-1",children:[s.jsxs("span",{className:"text-xs text-gray-600",children:[t,"%"]}),s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ie(r.status)}`,children:e(r.status)})]}),s.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2",children:s.jsx("div",{className:`h-2 rounded-full ${r.status==="Completed"?"bg-green-500":r.status==="Overdue"?"bg-red-500":"bg-blue-500"}`,style:{width:`${t}%`}})})]})}],ne=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-action-items"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-action-items"},{label:e("Update Progress"),icon:"TrendingUp",action:"update-progress",className:"text-green-500",requiredPermission:"edit-action-items"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-action-items"}],me=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"Not Started",label:e("Not Started")},{value:"In Progress",label:e("In Progress")},{value:"Completed",label:e("Completed")},{value:"Overdue",label:e("Overdue")}],U=[{value:"_empty_",label:e("All Priorities"),disabled:!0},{value:"Low",label:e("Low")},{value:"Medium",label:e("Medium")},{value:"High",label:e("High")},{value:"Critical",label:e("Critical")}],pe=[{value:"_empty_",label:e("All Assignees"),disabled:!0},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))],le=[{value:"_empty_",label:e("All Meetings"),disabled:!0},...(P||[]).map(t=>({value:t.id.toString(),label:`${t.title} - ${H(new Date(t.meeting_date),"MMM dd, yyyy")}`}))],de=[{value:"_empty_",label:e("Select Meeting")},...(P||[]).map(t=>({value:t.id.toString(),label:`${t.title} - ${H(new Date(t.meeting_date),"MMM dd, yyyy")}`}))],ce=[{value:"_empty_",label:e("Select Assignee")},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))];return s.jsxs(ge,{title:e("Action Items"),url:"/meetings/action-items",actions:q,breadcrumbs:re,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(je,{searchTerm:f,onSearchChange:N,onSearch:K,filters:[{name:"status",label:e("Status"),type:"select",value:d,onChange:D,options:me},{name:"priority",label:e("Priority"),type:"select",value:c,onChange:F,options:U},{name:"assigned_to",label:e("Assignee"),type:"select",value:u,onChange:A,options:pe,searchable:!0},{name:"meeting_id",label:e("Meeting"),type:"select",value:g,onChange:M,options:le,searchable:!0}],showFilters:I,setShowFilters:O,hasActiveFilters:G,activeFilterCount:J,onResetFilters:te,onApplyFilters:E,currentPerPage:((R=p.per_page)==null?void 0:R.toString())||"10",onPerPageChange:t=>{_.get(route("meetings.action-items.index"),{page:1,per_page:parseInt(t),search:f||void 0,status:d!=="_empty_"?d:void 0,priority:c!=="_empty_"?c:void 0,assigned_to:u!=="_empty_"?u:void 0,meeting_id:g!=="_empty_"?g:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(be,{columns:ae,actions:ne,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:W,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:Q,permissions:S,entityPermissions:{view:"view-action-items",create:"create-action-items",edit:"edit-action-items",delete:"delete-action-items"}}),s.jsx(we,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("action items"),onPageChange:t=>_.get(t)})]}),s.jsx(L,{isOpen:z,onClose:()=>y(!1),onSubmit:Y,formConfig:{fields:[{name:"meeting_id",label:e("Meeting"),type:"select",required:!0,options:de.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"title",label:e("Action Item Title"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea",rows:3},{name:"assigned_to",label:e("Assign To"),type:"select",required:!0,options:ce.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"due_date",label:e("Due Date"),type:"date",required:!0},{name:"priority",label:e("Priority"),type:"select",required:!0,options:U.filter(t=>t.value!=="_empty_")},{name:"progress_percentage",label:e("Progress (%)"),type:"number",min:0,max:100,helpText:e("Current completion percentage")},{name:"notes",label:e("Notes"),type:"textarea",rows:2}],modalSize:"xl"},initialData:n?{...n,due_date:n.due_date?window.appSettings.formatDateTimeSimple(n.due_date,!1):n.due_date}:null,title:e(h==="create"?"Add Action Item":"Edit Action Item"),mode:h}),s.jsx(ve,{isOpen:V,onClose:()=>b(!1),onConfirm:Z,itemName:(n==null?void 0:n.title)||"",entityName:"action item"}),s.jsx(L,{isOpen:B,onClose:()=>v(!1),onSubmit:ee,formConfig:{fields:[{name:"progress_percentage",label:e("Progress Percentage"),type:"number",required:!0,min:0,max:100,helpText:e("Enter completion percentage (0-100)")},{name:"notes",label:e("Progress Notes"),type:"textarea",rows:3,helpText:e("Optional notes about the progress")}],modalSize:"md"},initialData:{progress_percentage:(n==null?void 0:n.progress_percentage)||0,notes:(n==null?void 0:n.notes)||""},title:e("Update Progress"),mode:"edit",submitButtonText:e("Update Progress")}),s.jsx(xe,{open:!!w,onOpenChange:()=>k(null),children:w&&s.jsx(Pe,{actionItem:w})})]})}export{ui as default}; +import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as ge}from"./page-template-CLNVC8w_.js";import{u as _e,c as fe,x as ye,P as he,r as _,D as xe,t as o}from"./app-Dya84jp7.js";import{C as be}from"./CrudTable-yqxtM6E_.js";import{C as L}from"./CrudFormModal-CsuqSfb2.js";import{C as ve}from"./CrudDeleteModal-D32N6I8y.js";import{P as we}from"./pagination-4PUepASD.js";import{S as je}from"./search-and-filter-bar-DWH0yn_r.js";import Pe from"./view-B1OOFt0r.js";import{U as Ce}from"./user-77BPqA3J.js";import{C as Se}from"./calendar-DuRYaSj5.js";import{f as H}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ui(){var R;const{t:e}=_e(),{auth:x,actionItems:a,meetings:P,employees:C,filters:p={},globalSettings:i}=fe().props,S=(x==null?void 0:x.permissions)||[],[f,N]=l.useState(p.search||""),[d,D]=l.useState(p.status||"_empty_"),[c,F]=l.useState(p.priority||"_empty_"),[u,A]=l.useState(p.assigned_to||"_empty_"),[g,M]=l.useState(p.meeting_id||"_empty_"),[I,O]=l.useState(!1),[V,b]=l.useState(!1),[z,y]=l.useState(!1),[B,v]=l.useState(!1),[n,T]=l.useState(null),[h,$]=l.useState("create"),[w,k]=l.useState(null),G=()=>d!=="_empty_"||c!=="_empty_"||u!=="_empty_"||g!=="_empty_"||f!=="",J=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(g!=="_empty_"?1:0)+(f!==""?1:0),K=t=>{t.preventDefault(),E()},E=()=>{_.get(route("meetings.action-items.index"),{page:1,search:f||void 0,status:d!=="_empty_"?d:void 0,priority:c!=="_empty_"?c:void 0,assigned_to:u!=="_empty_"?u:void 0,meeting_id:g!=="_empty_"?g:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Q=t=>{const r=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";_.get(route("meetings.action-items.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,status:d!=="_empty_"?d:void 0,priority:c!=="_empty_"?c:void 0,assigned_to:u!=="_empty_"?u:void 0,meeting_id:g!=="_empty_"?g:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},W=(t,r)=>{switch(T(r),t){case"view":k(r);break;case"edit":$("edit"),y(!0);break;case"delete":b(!0);break;case"update-progress":v(!0);break}},X=()=>{T(null),$("create"),y(!0)},Y=t=>{h==="create"?(i!=null&&i.is_demo||o.loading(e("Creating action item...")),_.post(route("meetings.action-items.store"),t,{onSuccess:r=>{y(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to create action item: ${Object.values(r).join(", ")}`)}})):h==="edit"&&(i!=null&&i.is_demo||o.loading(e("Updating action item...")),_.put(route("meetings.action-items.update",n.id),t,{onSuccess:r=>{y(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update action item: ${Object.values(r).join(", ")}`)}}))},Z=()=>{i!=null&&i.is_demo||o.loading(e("Deleting action item...")),_.delete(route("meetings.action-items.destroy",n.id),{onSuccess:t=>{b(!1),i!=null&&i.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to delete action item: ${Object.values(t).join(", ")}`)}})},ee=t=>{i!=null&&i.is_demo||o.loading(e("Updating progress...")),_.put(route("meetings.action-items.update-progress",n.id),{progress_percentage:t.progress_percentage,notes:t.notes},{onSuccess:r=>{v(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update progress: ${Object.values(r).join(", ")}`)}})},te=()=>{N(""),D("_empty_"),F("_empty_"),A("_empty_"),M("_empty_"),O(!1),_.get(route("meetings.action-items.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},q=[];ye(S,"create-action-items")&&q.push({label:e("Add Action Item"),icon:s.jsx(he,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const re=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Meetings"),href:route("meetings.action-items.index")},{title:e("Action Items")}],ie=t=>{switch(t){case"Not Started":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"In Progress":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";case"Overdue":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},se=t=>{switch(t){case"Low":return"bg-green-50 text-green-700 ring-green-600/20";case"Medium":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"High":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Critical":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},oe=(t,r)=>{if(r==="Completed")return null;const m=new Date,ue=new Date(t).getTime()-m.getTime();return Math.ceil(ue/(1e3*60*60*24))},ae=[{key:"title",label:e("Action Item"),sortable:!0,render:(t,r)=>{var m;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:t}),s.jsx("div",{className:"text-xs text-gray-500",children:(m=r.meeting)==null?void 0:m.title})]})}},{key:"assignee.name",label:e("Assigned To"),render:(t,r)=>{var m;return s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(Ce,{className:"h-4 w-4 text-gray-500"}),((m=r.assignee)==null?void 0:m.name)||"-"]})}},{key:"due_date",label:e("Due Date"),sortable:!0,render:(t,r)=>{var j;const m=oe(t,r.status);return s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(Se,{className:"h-4 w-4 text-gray-500"}),((j=window.appSettings)==null?void 0:j.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()]}),m!==null&&s.jsx("div",{className:`text-xs ${m<0?"text-red-600":m<=3?"text-orange-600":"text-gray-500"}`,children:m<0?`${Math.abs(m)} days overdue`:m===0?"Due today":`${m} days remaining`})]})}},{key:"priority",label:e("Priority"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${se(t)}`,children:e(t)})},{key:"progress_percentage",label:e("Progress"),render:(t,r)=>s.jsxs("div",{className:"w-full",children:[s.jsxs("div",{className:"flex items-center justify-between mb-1",children:[s.jsxs("span",{className:"text-xs text-gray-600",children:[t,"%"]}),s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ie(r.status)}`,children:e(r.status)})]}),s.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2",children:s.jsx("div",{className:`h-2 rounded-full ${r.status==="Completed"?"bg-green-500":r.status==="Overdue"?"bg-red-500":"bg-blue-500"}`,style:{width:`${t}%`}})})]})}],ne=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-action-items"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-action-items"},{label:e("Update Progress"),icon:"TrendingUp",action:"update-progress",className:"text-green-500",requiredPermission:"edit-action-items"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-action-items"}],me=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"Not Started",label:e("Not Started")},{value:"In Progress",label:e("In Progress")},{value:"Completed",label:e("Completed")},{value:"Overdue",label:e("Overdue")}],U=[{value:"_empty_",label:e("All Priorities"),disabled:!0},{value:"Low",label:e("Low")},{value:"Medium",label:e("Medium")},{value:"High",label:e("High")},{value:"Critical",label:e("Critical")}],pe=[{value:"_empty_",label:e("All Assignees"),disabled:!0},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))],le=[{value:"_empty_",label:e("All Meetings"),disabled:!0},...(P||[]).map(t=>({value:t.id.toString(),label:`${t.title} - ${H(new Date(t.meeting_date),"MMM dd, yyyy")}`}))],de=[{value:"_empty_",label:e("Select Meeting")},...(P||[]).map(t=>({value:t.id.toString(),label:`${t.title} - ${H(new Date(t.meeting_date),"MMM dd, yyyy")}`}))],ce=[{value:"_empty_",label:e("Select Assignee")},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))];return s.jsxs(ge,{title:e("Action Items"),url:"/meetings/action-items",actions:q,breadcrumbs:re,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(je,{searchTerm:f,onSearchChange:N,onSearch:K,filters:[{name:"status",label:e("Status"),type:"select",value:d,onChange:D,options:me},{name:"priority",label:e("Priority"),type:"select",value:c,onChange:F,options:U},{name:"assigned_to",label:e("Assignee"),type:"select",value:u,onChange:A,options:pe,searchable:!0},{name:"meeting_id",label:e("Meeting"),type:"select",value:g,onChange:M,options:le,searchable:!0}],showFilters:I,setShowFilters:O,hasActiveFilters:G,activeFilterCount:J,onResetFilters:te,onApplyFilters:E,currentPerPage:((R=p.per_page)==null?void 0:R.toString())||"10",onPerPageChange:t=>{_.get(route("meetings.action-items.index"),{page:1,per_page:parseInt(t),search:f||void 0,status:d!=="_empty_"?d:void 0,priority:c!=="_empty_"?c:void 0,assigned_to:u!=="_empty_"?u:void 0,meeting_id:g!=="_empty_"?g:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(be,{columns:ae,actions:ne,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:W,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:Q,permissions:S,entityPermissions:{view:"view-action-items",create:"create-action-items",edit:"edit-action-items",delete:"delete-action-items"}}),s.jsx(we,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("action items"),onPageChange:t=>_.get(t)})]}),s.jsx(L,{isOpen:z,onClose:()=>y(!1),onSubmit:Y,formConfig:{fields:[{name:"meeting_id",label:e("Meeting"),type:"select",required:!0,options:de.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"title",label:e("Action Item Title"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea",rows:3},{name:"assigned_to",label:e("Assign To"),type:"select",required:!0,options:ce.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"due_date",label:e("Due Date"),type:"date",required:!0},{name:"priority",label:e("Priority"),type:"select",required:!0,options:U.filter(t=>t.value!=="_empty_")},{name:"progress_percentage",label:e("Progress (%)"),type:"number",min:0,max:100,helpText:e("Current completion percentage")},{name:"notes",label:e("Notes"),type:"textarea",rows:2}],modalSize:"xl"},initialData:n?{...n,due_date:n.due_date?window.appSettings.formatDateTimeSimple(n.due_date,!1):n.due_date}:null,title:e(h==="create"?"Add Action Item":"Edit Action Item"),mode:h}),s.jsx(ve,{isOpen:V,onClose:()=>b(!1),onConfirm:Z,itemName:(n==null?void 0:n.title)||"",entityName:"action item"}),s.jsx(L,{isOpen:B,onClose:()=>v(!1),onSubmit:ee,formConfig:{fields:[{name:"progress_percentage",label:e("Progress Percentage"),type:"number",required:!0,min:0,max:100,helpText:e("Enter completion percentage (0-100)")},{name:"notes",label:e("Progress Notes"),type:"textarea",rows:3,helpText:e("Optional notes about the progress")}],modalSize:"md"},initialData:{progress_percentage:(n==null?void 0:n.progress_percentage)||0,notes:(n==null?void 0:n.notes)||""},title:e("Update Progress"),mode:"edit",submitButtonText:e("Update Progress")}),s.jsx(xe,{open:!!w,onOpenChange:()=>k(null),children:w&&s.jsx(Pe,{actionItem:w})})]})}export{ui as default}; diff --git a/public/build/assets/index-CEqr8902.js b/public/build/assets/index-BE_62-Dr.js similarity index 72% rename from public/build/assets/index-CEqr8902.js rename to public/build/assets/index-BE_62-Dr.js index 28492a8e7..d38e5474c 100644 --- a/public/build/assets/index-CEqr8902.js +++ b/public/build/assets/index-BE_62-Dr.js @@ -1 +1 @@ -import{r as l,j as o}from"./ui-Z445SNHD.js";import{P as je}from"./page-template-BTxLyiDA.js";import{u as Fe,c as Pe,E as Ae,x as Te,P as Ne,B as w,F as ke,g as Ee,r as m,M as Oe,t as n}from"./app-CfhhiFAk.js";import{C as Be}from"./CrudTable-qPWooc10.js";import{C as Me}from"./CrudFormModal-DAR9q-oM.js";import{C as Re}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Ie}from"./pagination-D8A_HnL5.js";import{S as qe}from"./search-and-filter-bar-6Pp-FsiR.js";import{R as He}from"./rich-text-editor-6rkrWVFe.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ja(){var z,G,J,K,Q,X,Y;const{t:e}=Fe(),{auth:P,announcements:i,departments:re,branches:ae,categories:oe,filters:s={}}=Pe().props,N=(P==null?void 0:P.permissions)||[],[d,k]=l.useState(s.search||""),[u,E]=l.useState(s.category||""),[h,O]=l.useState(s.department_id||""),[g,B]=l.useState(s.branch_id||""),[b,M]=l.useState(s.status||""),[f,R]=l.useState(s.priority||""),[v,I]=l.useState(s.featured==="true"),[y,q]=l.useState(s.date_from||""),[x,H]=l.useState(s.date_to||""),[ne,U]=l.useState(!1),[ie,A]=l.useState(!1),[se,_]=l.useState(!1),[p,V]=l.useState(null),[S,L]=l.useState("create"),le=()=>u!==""||h!==""||g!==""||b!==""||f!==""||v||y!==""||x!==""||d!=="",me=()=>(u!==""?1:0)+(h!==""?1:0)+(g!==""?1:0)+(b!==""?1:0)+(f!==""?1:0)+(v?1:0)+(y!==""?1:0)+(x!==""?1:0)+(d!==""?1:0),pe=t=>{t.preventDefault(),W()},W=()=>{m.get(route("hr.announcements.index"),{page:1,search:d||void 0,category:u||void 0,department_id:h||void 0,branch_id:g||void 0,status:b||void 0,priority:f||void 0,featured:v?"true":void 0,date_from:y||void 0,date_to:x||void 0,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},ce=t=>{const r=s.sort_field===t&&s.sort_direction==="asc"?"desc":"asc";m.get(route("hr.announcements.index"),{sort_field:t,sort_direction:r,page:1,search:d||void 0,category:u||void 0,department_id:h||void 0,branch_id:g||void 0,status:b||void 0,priority:f||void 0,featured:v?"true":void 0,date_from:y||void 0,date_to:x||void 0,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},de=(t,r)=>{switch(V(r),t){case"view":m.get(route("hr.announcements.show",r.id));break;case"edit":L("edit"),_(!0);break;case"delete":A(!0);break;case"statistics":m.visit(route("hr.announcements.statistics",r.id));break;case"download-attachment":window.open(route("hr.announcements.download-attachment",r.id),"_blank");break}},ue=()=>{V(null),L("create"),_(!0)},he=()=>{m.get(route("hr.announcements.dashboard"))},ge=t=>{const r=t;S==="create"?(n.loading(e("Creating announcement...")),m.post(route("hr.announcements.store"),r,{onSuccess:a=>{_(!1),n.dismiss(),a.props.flash.success?n.success(e(a.props.flash.success)):a.props.flash.error&&n.error(e(a.props.flash.error))},onError:a=>{n.dismiss(),typeof a=="string"?n.error(e(a)):n.error(e("Failed to create announcement: {{errors}}",{errors:Object.values(a).join(", ")}))}})):S==="edit"&&(n.loading(e("Updating announcement...")),m.put(route("hr.announcements.update",p.id),r,{onSuccess:a=>{_(!1),n.dismiss(),a.props.flash.success?n.success(e(a.props.flash.success)):a.props.flash.error&&n.error(e(a.props.flash.error))},onError:a=>{n.dismiss(),typeof a=="string"?n.error(e(a)):n.error(e("Failed to update announcement: {{errors}}",{errors:Object.values(a).join(", ")}))}}))},be=()=>{n.loading(e("Deleting announcement...")),m.delete(route("hr.announcements.destroy",p.id),{onSuccess:t=>{A(!1),n.dismiss(),t.props.flash.success?n.success(e(t.props.flash.success)):t.props.flash.error&&n.error(e(t.props.flash.error))},onError:t=>{n.dismiss(),typeof t=="string"?n.error(e(t)):n.error(e("Failed to delete announcement: {{errors}}",{errors:Object.values(t).join(", ")}))}})},fe=()=>{k(""),E(""),O(""),B(""),M(""),R(""),I(!1),q(""),H(""),U(!1),m.get(route("hr.announcements.index"),{page:1,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},T=[];T.push({label:e("Dashboard View"),icon:o.jsx(Ae,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:he}),Te(N,"create-announcements")&&T.push({label:e("Add Announcement"),icon:o.jsx(Ne,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ue()});const ve=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.announcements.index")},{title:e("Announcements")}],ye=[{key:"title",label:e("Title"),sortable:!0,render:(t,r)=>{const a=[];return r.is_featured&&a.push(o.jsx(w,{variant:"secondary",className:"bg-purple-50 text-purple-700 hover:bg-purple-50 ml-2",children:e("Featured")},"featured")),r.is_high_priority&&a.push(o.jsx(w,{variant:"secondary",className:"bg-red-50 text-red-700 hover:bg-red-50 ml-2",children:e("High Priority")},"priority")),o.jsxs("div",{className:"flex items-center flex-wrap gap-1",children:[o.jsx("span",{className:"font-medium",children:t}),a]})}},{key:"category",label:e("Category"),render:t=>{const a={"company news":"bg-blue-50 text-blue-700 ring-blue-600/20","policy updates":"bg-purple-50 text-purple-700 ring-purple-600/20",events:"bg-green-50 text-green-700 ring-green-600/20",HR:"bg-amber-50 text-amber-700 ring-amber-600/20","IT updates":"bg-indigo-50 text-indigo-700 ring-indigo-600/20"}[t]||"bg-gray-50 text-gray-700 ring-gray-600/20";return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"date_range",label:e("Date Range"),sortable:!0,render:(t,r)=>{var ee,te;const a=r.start_date?((ee=window.appSettings)==null?void 0:ee.formatDateTimeSimple(r.start_date,!1))||new Date(r.start_date).toLocaleString():"-",c=r.end_date?((te=window.appSettings)==null?void 0:te.formatDateTimeSimple(r.end_date,!1))||new Date(r.end_date).toLocaleString():"-",C=new Date,D=new Date(r.start_date),Z=r.end_date?new Date(r.end_date):null;let j,F;return D>C?(j=e("Upcoming"),F="bg-blue-50 text-blue-700 ring-blue-600/20"):Z&&Z{var C,D;if(r.is_company_wide)return o.jsx(w,{variant:"outline",className:"bg-blue-50 text-blue-700 hover:bg-blue-50",children:e("Company-wide")});const a=((C=r.departments)==null?void 0:C.length)||0,c=((D=r.branches)==null?void 0:D.length)||0;return o.jsxs("div",{className:"space-y-1",children:[a>0&&o.jsx(w,{variant:"outline",className:"bg-green-50 text-green-700 hover:bg-green-50",children:e("{{count}} Departments",{count:a})}),c>0&&o.jsx(w,{variant:"outline",className:"bg-amber-50 text-amber-700 hover:bg-amber-50",children:e("{{count}} Branches",{count:c})})]})}},{key:"attachments",label:e("Attachments"),render:(t,r)=>t&&t.trim()!==""?o.jsx("a",{href:Ee(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Attachment"),children:o.jsx(ke,{className:"h-4 w-4"})}):"-"}],xe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-announcements"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-announcements"},{label:e("Statistics"),icon:"BarChart",action:"statistics",className:"text-indigo-500",requiredPermission:"view-announcements"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-announcements"}],_e=[{value:"",label:e("All Categories")},...(oe||[]).map(t=>({value:t,label:t.charAt(0).toUpperCase()+t.slice(1)}))],Se=[{value:"",label:e("All Departments")},...(re||[]).map(t=>({value:t.id.toString(),label:t.name}))],$=[{value:"",label:e("All Branches")},...(ae||[]).map(t=>({value:t.id.toString(),label:t.name}))],Ce=[{value:"",label:e("All Statuses")},{value:"active",label:e("Active")},{value:"upcoming",label:e("Upcoming")},{value:"expired",label:e("Expired")}],we=[{value:"",label:e("All Priorities")},{value:"high",label:e("High Priority")},{value:"normal",label:e("Normal Priority")}],De=[{value:"company news",label:e("Company News")},{value:"policy updates",label:e("Policy Updates")},{value:"events",label:e("Events")},{value:"HR",label:e("HR")},{value:"IT updates",label:e("IT Updates")}];return o.jsxs(je,{title:e("Announcements"),url:"/hr/announcements",actions:T,breadcrumbs:ve,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(qe,{searchTerm:d,onSearchChange:k,onSearch:pe,filters:[{name:"category",label:e("Category"),type:"select",value:u,onChange:E,options:_e},{name:"department_id",label:e("Department"),type:"select",value:h,onChange:O,options:Se},{name:"branch_id",label:e("Branch"),type:"select",value:g,onChange:B,options:$},{name:"status",label:e("Status"),type:"select",value:b,onChange:M,options:Ce},{name:"priority",label:e("Priority"),type:"select",value:f,onChange:R,options:we},{name:"featured",label:e("Featured Only"),type:"checkbox",value:v,onChange:I},{name:"date_from",label:e("Date From"),type:"date",value:y,onChange:q},{name:"date_to",label:e("Date To"),type:"date",value:x,onChange:H}],showFilters:ne,setShowFilters:U,hasActiveFilters:le,activeFilterCount:me,onResetFilters:fe,onApplyFilters:W,currentPerPage:((z=s.per_page)==null?void 0:z.toString())||"10",onPerPageChange:t=>{m.get(route("hr.announcements.index"),{page:1,per_page:parseInt(t),search:d||void 0,category:u||void 0,department_id:h||void 0,branch_id:g||void 0,status:b||void 0,priority:f||void 0,featured:v?"true":void 0,date_from:y||void 0,date_to:x||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(Be,{columns:ye,actions:xe,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:de,sortField:s.sort_field,sortDirection:s.sort_direction,onSort:ce,permissions:N,entityPermissions:{view:"view-announcements",create:"create-announcements",edit:"edit-announcements",delete:"delete-announcements"}}),o.jsx(Ie,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("announcements"),onPageChange:t=>m.get(t)})]}),o.jsx(Me,{isOpen:se,onClose:()=>_(!1),onSubmit:ge,formConfig:{fields:[{name:"title",label:e("Title"),type:"text",required:!0},{name:"category",label:e("Category"),type:"select",required:!0,options:De},{name:"description",label:e("Short Description"),type:"textarea",helpText:e("Brief summary of the announcement")},{name:"content",label:e("Content"),type:"custom",required:!0,render:(t,r,a)=>o.jsx(He,{value:r[t.name]||"",onChange:c=>a(t.name,c),placeholder:e("Enter announcement content...")})},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",helpText:e("Leave empty for indefinite announcements")},{name:"attachments",label:e("Attachments"),type:"custom",render:(t,r,a)=>o.jsx(Oe,{value:String(r[t.name]||""),onChange:c=>a(t.name,c),placeholder:e("Select attachment file...")}),helpText:e("Upload PDF, Word or image file (max 5MB)")},{name:"is_featured",label:e("Featured Announcement"),type:"checkbox",helpText:e("Featured announcements are highlighted on the dashboard")},{name:"is_high_priority",label:e("High Priority"),type:"checkbox",helpText:e("High priority announcements are shown at the top of the list")},{name:"is_company_wide",label:e("Company-wide Announcement"),type:"checkbox",defaultValue:!0,helpText:e("If unchecked, you must select specific departments or branches")},{name:"branch_department_selection",type:"dependent-dropdown",showWhen:t=>!t.is_company_wide,dependentConfig:[{name:"branch_ids",label:e("Target Branches"),multiple:!0,options:$.filter(t=>t.value!==""),helpText:e("Select branches that should receive this announcement")},{name:"department_ids",label:e("Target Departments"),multiple:!0,apiEndpoint:"/hr/announcements/get-departments/{branch_ids}",helpText:e("Select departments that should receive this announcement")}]}],modalSize:"xl"},initialData:p?{...p,department_ids:((K=(J=(G=p.departments)==null?void 0:G[0])==null?void 0:J.id)==null?void 0:K.toString())||"",branch_ids:((Y=(X=(Q=p.branches)==null?void 0:Q[0])==null?void 0:X.id)==null?void 0:Y.toString())||"",is_company_wide:p.is_company_wide??!0}:null,title:e(S==="create"?"Add New Announcement":S==="edit"?"Edit Announcement":"View Announcement"),mode:S}),o.jsx(Re,{isOpen:ie,onClose:()=>A(!1),onConfirm:be,itemName:(p==null?void 0:p.title)||"",entityName:"announcement"})]})}export{ja as default}; +import{r as l,j as o}from"./ui-Z445SNHD.js";import{P as je}from"./page-template-CLNVC8w_.js";import{u as Fe,c as Pe,E as Ae,x as Te,P as Ne,B as w,F as ke,g as Ee,r as m,M as Oe,t as n}from"./app-Dya84jp7.js";import{C as Be}from"./CrudTable-yqxtM6E_.js";import{C as Me}from"./CrudFormModal-CsuqSfb2.js";import{C as Re}from"./CrudDeleteModal-D32N6I8y.js";import{P as Ie}from"./pagination-4PUepASD.js";import{S as qe}from"./search-and-filter-bar-DWH0yn_r.js";import{R as He}from"./rich-text-editor-uObNYFW4.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ja(){var z,G,J,K,Q,X,Y;const{t:e}=Fe(),{auth:P,announcements:i,departments:re,branches:ae,categories:oe,filters:s={}}=Pe().props,N=(P==null?void 0:P.permissions)||[],[d,k]=l.useState(s.search||""),[u,E]=l.useState(s.category||""),[h,O]=l.useState(s.department_id||""),[g,B]=l.useState(s.branch_id||""),[b,M]=l.useState(s.status||""),[f,R]=l.useState(s.priority||""),[v,I]=l.useState(s.featured==="true"),[y,q]=l.useState(s.date_from||""),[x,H]=l.useState(s.date_to||""),[ne,U]=l.useState(!1),[ie,A]=l.useState(!1),[se,_]=l.useState(!1),[p,V]=l.useState(null),[S,L]=l.useState("create"),le=()=>u!==""||h!==""||g!==""||b!==""||f!==""||v||y!==""||x!==""||d!=="",me=()=>(u!==""?1:0)+(h!==""?1:0)+(g!==""?1:0)+(b!==""?1:0)+(f!==""?1:0)+(v?1:0)+(y!==""?1:0)+(x!==""?1:0)+(d!==""?1:0),pe=t=>{t.preventDefault(),W()},W=()=>{m.get(route("hr.announcements.index"),{page:1,search:d||void 0,category:u||void 0,department_id:h||void 0,branch_id:g||void 0,status:b||void 0,priority:f||void 0,featured:v?"true":void 0,date_from:y||void 0,date_to:x||void 0,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},ce=t=>{const r=s.sort_field===t&&s.sort_direction==="asc"?"desc":"asc";m.get(route("hr.announcements.index"),{sort_field:t,sort_direction:r,page:1,search:d||void 0,category:u||void 0,department_id:h||void 0,branch_id:g||void 0,status:b||void 0,priority:f||void 0,featured:v?"true":void 0,date_from:y||void 0,date_to:x||void 0,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},de=(t,r)=>{switch(V(r),t){case"view":m.get(route("hr.announcements.show",r.id));break;case"edit":L("edit"),_(!0);break;case"delete":A(!0);break;case"statistics":m.visit(route("hr.announcements.statistics",r.id));break;case"download-attachment":window.open(route("hr.announcements.download-attachment",r.id),"_blank");break}},ue=()=>{V(null),L("create"),_(!0)},he=()=>{m.get(route("hr.announcements.dashboard"))},ge=t=>{const r=t;S==="create"?(n.loading(e("Creating announcement...")),m.post(route("hr.announcements.store"),r,{onSuccess:a=>{_(!1),n.dismiss(),a.props.flash.success?n.success(e(a.props.flash.success)):a.props.flash.error&&n.error(e(a.props.flash.error))},onError:a=>{n.dismiss(),typeof a=="string"?n.error(e(a)):n.error(e("Failed to create announcement: {{errors}}",{errors:Object.values(a).join(", ")}))}})):S==="edit"&&(n.loading(e("Updating announcement...")),m.put(route("hr.announcements.update",p.id),r,{onSuccess:a=>{_(!1),n.dismiss(),a.props.flash.success?n.success(e(a.props.flash.success)):a.props.flash.error&&n.error(e(a.props.flash.error))},onError:a=>{n.dismiss(),typeof a=="string"?n.error(e(a)):n.error(e("Failed to update announcement: {{errors}}",{errors:Object.values(a).join(", ")}))}}))},be=()=>{n.loading(e("Deleting announcement...")),m.delete(route("hr.announcements.destroy",p.id),{onSuccess:t=>{A(!1),n.dismiss(),t.props.flash.success?n.success(e(t.props.flash.success)):t.props.flash.error&&n.error(e(t.props.flash.error))},onError:t=>{n.dismiss(),typeof t=="string"?n.error(e(t)):n.error(e("Failed to delete announcement: {{errors}}",{errors:Object.values(t).join(", ")}))}})},fe=()=>{k(""),E(""),O(""),B(""),M(""),R(""),I(!1),q(""),H(""),U(!1),m.get(route("hr.announcements.index"),{page:1,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},T=[];T.push({label:e("Dashboard View"),icon:o.jsx(Ae,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:he}),Te(N,"create-announcements")&&T.push({label:e("Add Announcement"),icon:o.jsx(Ne,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ue()});const ve=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.announcements.index")},{title:e("Announcements")}],ye=[{key:"title",label:e("Title"),sortable:!0,render:(t,r)=>{const a=[];return r.is_featured&&a.push(o.jsx(w,{variant:"secondary",className:"bg-purple-50 text-purple-700 hover:bg-purple-50 ml-2",children:e("Featured")},"featured")),r.is_high_priority&&a.push(o.jsx(w,{variant:"secondary",className:"bg-red-50 text-red-700 hover:bg-red-50 ml-2",children:e("High Priority")},"priority")),o.jsxs("div",{className:"flex items-center flex-wrap gap-1",children:[o.jsx("span",{className:"font-medium",children:t}),a]})}},{key:"category",label:e("Category"),render:t=>{const a={"company news":"bg-blue-50 text-blue-700 ring-blue-600/20","policy updates":"bg-purple-50 text-purple-700 ring-purple-600/20",events:"bg-green-50 text-green-700 ring-green-600/20",HR:"bg-amber-50 text-amber-700 ring-amber-600/20","IT updates":"bg-indigo-50 text-indigo-700 ring-indigo-600/20"}[t]||"bg-gray-50 text-gray-700 ring-gray-600/20";return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"date_range",label:e("Date Range"),sortable:!0,render:(t,r)=>{var ee,te;const a=r.start_date?((ee=window.appSettings)==null?void 0:ee.formatDateTimeSimple(r.start_date,!1))||new Date(r.start_date).toLocaleString():"-",c=r.end_date?((te=window.appSettings)==null?void 0:te.formatDateTimeSimple(r.end_date,!1))||new Date(r.end_date).toLocaleString():"-",C=new Date,D=new Date(r.start_date),Z=r.end_date?new Date(r.end_date):null;let j,F;return D>C?(j=e("Upcoming"),F="bg-blue-50 text-blue-700 ring-blue-600/20"):Z&&Z{var C,D;if(r.is_company_wide)return o.jsx(w,{variant:"outline",className:"bg-blue-50 text-blue-700 hover:bg-blue-50",children:e("Company-wide")});const a=((C=r.departments)==null?void 0:C.length)||0,c=((D=r.branches)==null?void 0:D.length)||0;return o.jsxs("div",{className:"space-y-1",children:[a>0&&o.jsx(w,{variant:"outline",className:"bg-green-50 text-green-700 hover:bg-green-50",children:e("{{count}} Departments",{count:a})}),c>0&&o.jsx(w,{variant:"outline",className:"bg-amber-50 text-amber-700 hover:bg-amber-50",children:e("{{count}} Branches",{count:c})})]})}},{key:"attachments",label:e("Attachments"),render:(t,r)=>t&&t.trim()!==""?o.jsx("a",{href:Ee(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Attachment"),children:o.jsx(ke,{className:"h-4 w-4"})}):"-"}],xe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-announcements"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-announcements"},{label:e("Statistics"),icon:"BarChart",action:"statistics",className:"text-indigo-500",requiredPermission:"view-announcements"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-announcements"}],_e=[{value:"",label:e("All Categories")},...(oe||[]).map(t=>({value:t,label:t.charAt(0).toUpperCase()+t.slice(1)}))],Se=[{value:"",label:e("All Departments")},...(re||[]).map(t=>({value:t.id.toString(),label:t.name}))],$=[{value:"",label:e("All Branches")},...(ae||[]).map(t=>({value:t.id.toString(),label:t.name}))],Ce=[{value:"",label:e("All Statuses")},{value:"active",label:e("Active")},{value:"upcoming",label:e("Upcoming")},{value:"expired",label:e("Expired")}],we=[{value:"",label:e("All Priorities")},{value:"high",label:e("High Priority")},{value:"normal",label:e("Normal Priority")}],De=[{value:"company news",label:e("Company News")},{value:"policy updates",label:e("Policy Updates")},{value:"events",label:e("Events")},{value:"HR",label:e("HR")},{value:"IT updates",label:e("IT Updates")}];return o.jsxs(je,{title:e("Announcements"),url:"/hr/announcements",actions:T,breadcrumbs:ve,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(qe,{searchTerm:d,onSearchChange:k,onSearch:pe,filters:[{name:"category",label:e("Category"),type:"select",value:u,onChange:E,options:_e},{name:"department_id",label:e("Department"),type:"select",value:h,onChange:O,options:Se},{name:"branch_id",label:e("Branch"),type:"select",value:g,onChange:B,options:$},{name:"status",label:e("Status"),type:"select",value:b,onChange:M,options:Ce},{name:"priority",label:e("Priority"),type:"select",value:f,onChange:R,options:we},{name:"featured",label:e("Featured Only"),type:"checkbox",value:v,onChange:I},{name:"date_from",label:e("Date From"),type:"date",value:y,onChange:q},{name:"date_to",label:e("Date To"),type:"date",value:x,onChange:H}],showFilters:ne,setShowFilters:U,hasActiveFilters:le,activeFilterCount:me,onResetFilters:fe,onApplyFilters:W,currentPerPage:((z=s.per_page)==null?void 0:z.toString())||"10",onPerPageChange:t=>{m.get(route("hr.announcements.index"),{page:1,per_page:parseInt(t),search:d||void 0,category:u||void 0,department_id:h||void 0,branch_id:g||void 0,status:b||void 0,priority:f||void 0,featured:v?"true":void 0,date_from:y||void 0,date_to:x||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(Be,{columns:ye,actions:xe,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:de,sortField:s.sort_field,sortDirection:s.sort_direction,onSort:ce,permissions:N,entityPermissions:{view:"view-announcements",create:"create-announcements",edit:"edit-announcements",delete:"delete-announcements"}}),o.jsx(Ie,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("announcements"),onPageChange:t=>m.get(t)})]}),o.jsx(Me,{isOpen:se,onClose:()=>_(!1),onSubmit:ge,formConfig:{fields:[{name:"title",label:e("Title"),type:"text",required:!0},{name:"category",label:e("Category"),type:"select",required:!0,options:De},{name:"description",label:e("Short Description"),type:"textarea",helpText:e("Brief summary of the announcement")},{name:"content",label:e("Content"),type:"custom",required:!0,render:(t,r,a)=>o.jsx(He,{value:r[t.name]||"",onChange:c=>a(t.name,c),placeholder:e("Enter announcement content...")})},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",helpText:e("Leave empty for indefinite announcements")},{name:"attachments",label:e("Attachments"),type:"custom",render:(t,r,a)=>o.jsx(Oe,{value:String(r[t.name]||""),onChange:c=>a(t.name,c),placeholder:e("Select attachment file...")}),helpText:e("Upload PDF, Word or image file (max 5MB)")},{name:"is_featured",label:e("Featured Announcement"),type:"checkbox",helpText:e("Featured announcements are highlighted on the dashboard")},{name:"is_high_priority",label:e("High Priority"),type:"checkbox",helpText:e("High priority announcements are shown at the top of the list")},{name:"is_company_wide",label:e("Company-wide Announcement"),type:"checkbox",defaultValue:!0,helpText:e("If unchecked, you must select specific departments or branches")},{name:"branch_department_selection",type:"dependent-dropdown",showWhen:t=>!t.is_company_wide,dependentConfig:[{name:"branch_ids",label:e("Target Branches"),multiple:!0,options:$.filter(t=>t.value!==""),helpText:e("Select branches that should receive this announcement")},{name:"department_ids",label:e("Target Departments"),multiple:!0,apiEndpoint:"/hr/announcements/get-departments/{branch_ids}",helpText:e("Select departments that should receive this announcement")}]}],modalSize:"xl"},initialData:p?{...p,department_ids:((K=(J=(G=p.departments)==null?void 0:G[0])==null?void 0:J.id)==null?void 0:K.toString())||"",branch_ids:((Y=(X=(Q=p.branches)==null?void 0:Q[0])==null?void 0:X.id)==null?void 0:Y.toString())||"",is_company_wide:p.is_company_wide??!0}:null,title:e(S==="create"?"Add New Announcement":S==="edit"?"Edit Announcement":"View Announcement"),mode:S}),o.jsx(Re,{isOpen:ie,onClose:()=>A(!1),onConfirm:be,itemName:(p==null?void 0:p.title)||"",entityName:"announcement"})]})}export{ja as default}; diff --git a/public/build/assets/index-BvU7Sn67.js b/public/build/assets/index-BF8fif0j.js similarity index 65% rename from public/build/assets/index-BvU7Sn67.js rename to public/build/assets/index-BF8fif0j.js index b05bb2e92..d9737915a 100644 --- a/public/build/assets/index-BvU7Sn67.js +++ b/public/build/assets/index-BF8fif0j.js @@ -1 +1 @@ -import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as Z}from"./page-template-BTxLyiDA.js";import{u as ee,c as te,r as u,t as o}from"./app-CfhhiFAk.js";import{C as re}from"./CrudTable-qPWooc10.js";import{C as oe}from"./CrudFormModal-DAR9q-oM.js";import{C as ie}from"./CrudDeleteModal-CKTiD3_K.js";import{P as se}from"./pagination-D8A_HnL5.js";import{S as ae}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Kr(){var O;const{t}=ee(),{auth:g,candidates:i,jobPostings:h,sources:v,employees:D,filters:p={},globalSettings:m}=te().props,E=(g==null?void 0:g.permissions)||[],[_,S]=n.useState(p.search||""),[l,x]=n.useState(p.status||"_empty_"),[d,j]=n.useState(p.job_id||"_empty_"),[c,w]=n.useState(p.source_id||"_empty_"),[A,C]=n.useState(!1),[M,b]=n.useState(!1),[pe,ne]=n.useState(!1),[f,F]=n.useState(null),[me,le]=n.useState("create"),[$,y]=n.useState(!1),[I,R]=n.useState(""),T=()=>l!=="_empty_"||d!=="_empty_"||c!=="_empty_"||_!=="",U=()=>(l!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(_!==""?1:0),q=e=>{e.preventDefault(),N()},N=()=>{u.get(route("hr.recruitment.candidates.index"),{page:1,search:_||void 0,status:l!=="_empty_"?l:void 0,job_id:d!=="_empty_"?d:void 0,source_id:c!=="_empty_"?c:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},H=e=>{const r=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";u.get(route("hr.recruitment.candidates.index"),{sort_field:e,sort_direction:r,page:1,search:_||void 0,status:l!=="_empty_"?l:void 0,job_id:d!=="_empty_"?d:void 0,source_id:c!=="_empty_"?c:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},J=(e,r)=>{switch(F(r),e){case"view":u.get(route("hr.recruitment.candidates.show",r.id));break;case"delete":b(!0);break;case"update-status":F(r),R(r.status),y(!0);break;case"convert-to-employee":m!=null&&m.is_demo||o.loading(t("Loading conversion form...")),u.get(route("hr.recruitment.candidates.convert-to-employee",r.id),{},{onSuccess:a=>{m!=null&&m.is_demo||o.dismiss(),a.props.flash.success?o.success(t(a.props.flash.success)):a.props.flash.error&&o.error(t(a.props.flash.error))},onError:a=>{m!=null&&m.is_demo||o.dismiss(),typeof a=="string"?o.error(t(a)):o.error(t("Failed to load conversion form: {{errors}}",{errors:Object.values(a).join(", ")}))}});break}},L=()=>{o.loading(t("Deleting candidate...")),u.delete(route("hr.recruitment.candidates.destroy",f.id),{onSuccess:e=>{b(!1),o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{o.dismiss(),typeof e=="string"?o.error(t(e)):o.error(t("Failed to delete candidate: {{errors}}",{errors:Object.values(e).join(", ")}))}})},B=e=>{e.status&&(o.loading(t("Updating status...")),u.put(route("hr.recruitment.candidates.update-status",f.id),{status:e.status},{onSuccess:r=>{y(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(t(r)):o.error(t("Failed to update status: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},V=()=>{S(""),x("_empty_"),j("_empty_"),w("_empty_"),C(!1),u.get(route("hr.recruitment.candidates.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Y=[],z=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.candidates.index")},{title:t("Candidates")}],G=e=>{switch(e){case"New":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Screening":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Interview":return"bg-purple-50 text-purple-700 ring-purple-600/20";case"Offer":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Hired":return"bg-green-50 text-green-700 ring-green-600/20";case"Rejected":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},K=[{key:"full_name",label:t("Name"),sortable:!0,render:(e,r)=>s.jsxs("div",{children:[s.jsxs("div",{className:"font-medium",children:[r.first_name," ",r.last_name]}),s.jsx("div",{className:"text-xs text-gray-500",children:r.email})]})},{key:"job.title",label:t("Job"),render:(e,r)=>{var a,k;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((a=r.job)==null?void 0:a.title)||"-"}),s.jsx("div",{className:"text-xs text-gray-500",children:((k=r.job)==null?void 0:k.job_code)||""})]})}},{key:"source.name",label:t("Source"),render:(e,r)=>{var a;return((a=r.source)==null?void 0:a.name)||"-"}},{key:"experience_years",label:t("Experience"),render:e=>`${e} ${t("years")}`},{key:"expected_salary",label:t("Expected Salary"),render:e=>{var r;return e?(r=window.appSettings)==null?void 0:r.formatCurrency(e):"-"}},{key:"status",label:t("Status"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${G(e)}`,children:t(e)})},{key:"is_employee",label:t("Employee Converted"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e?"bg-green-50 text-green-700 ring-green-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:t(e?"Yes":"No")})},{key:"application_date",label:t("Applied"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],Q=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-candidates"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"edit-candidates",condition:e=>!["Hired","Rejected"].includes(e.status)},{label:t("Convert to Employee"),icon:"UserPlus",action:"convert-to-employee",className:"text-purple-500",requiredPermission:"create-employees",condition:e=>e.status==="Hired"&&!e.is_employee},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-candidates"}],P=[{value:"_empty_",label:t("All Statuses")},{value:"New",label:t("New")},{value:"Screening",label:t("Screening")},{value:"Interview",label:t("Interview")},{value:"Offer",label:t("Offer")},{value:"Hired",label:t("Hired")},{value:"Rejected",label:t("Rejected")}],W=[{value:"_empty_",label:t("All Jobs")},...(h||[]).map(e=>({value:e.id.toString(),label:`${e.job_code} - ${e.title}`}))],X=[{value:"_empty_",label:t("All Sources")},...(v||[]).map(e=>({value:e.id.toString(),label:e.name}))];return[t("Select Job"),...(h||[]).map(e=>({value:e.id.toString(),label:`${e.job_code} - ${e.title}`}))],[t("Select Source"),...(v||[]).map(e=>({value:e.id.toString(),label:e.name}))],[t("Select Employee"),...(D||[]).map(e=>({value:e.id.toString(),label:e.name}))],s.jsxs(Z,{title:t("Candidates"),url:"/hr/recruitment/candidates",actions:Y,breadcrumbs:z,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ae,{searchTerm:_,onSearchChange:S,onSearch:q,filters:[{name:"status",label:t("Status"),type:"select",value:l,onChange:x,options:P},{name:"job_id",label:t("Job"),type:"select",value:d,onChange:j,options:W,searchable:!0},{name:"source_id",label:t("Source"),type:"select",value:c,onChange:w,options:X,searchable:!0}],showFilters:A,setShowFilters:C,hasActiveFilters:T,activeFilterCount:U,onResetFilters:V,onApplyFilters:N,currentPerPage:((O=p.per_page)==null?void 0:O.toString())||"10",onPerPageChange:e=>{u.get(route("hr.recruitment.candidates.index"),{page:1,per_page:parseInt(e),search:_||void 0,status:l!=="_empty_"?l:void 0,job_id:d!=="_empty_"?d:void 0,source_id:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(re,{columns:K,actions:Q,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:J,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:H,permissions:E,entityPermissions:{view:"view-candidates",create:"create-candidates",edit:"edit-candidates",delete:"delete-candidates"}}),s.jsx(se,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("candidates"),onPageChange:e=>u.get(e)})]}),s.jsx(ie,{isOpen:M,onClose:()=>b(!1),onConfirm:L,itemName:f?`${f.first_name} ${f.last_name}`:"",entityName:"candidate"}),s.jsx(oe,{isOpen:$,onClose:()=>y(!1),onSubmit:B,formConfig:{fields:[{name:"status",label:t("Status"),type:"select",required:!0,options:P.filter(e=>e.value!=="_empty_")}]},initialData:{status:I},title:t("Update Candidate Status"),mode:"edit",submitLabel:t("Update Status")})]})}export{Kr as default}; +import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as Z}from"./page-template-CLNVC8w_.js";import{u as ee,c as te,r as u,t as o}from"./app-Dya84jp7.js";import{C as re}from"./CrudTable-yqxtM6E_.js";import{C as oe}from"./CrudFormModal-CsuqSfb2.js";import{C as ie}from"./CrudDeleteModal-D32N6I8y.js";import{P as se}from"./pagination-4PUepASD.js";import{S as ae}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Kr(){var O;const{t}=ee(),{auth:g,candidates:i,jobPostings:h,sources:v,employees:D,filters:p={},globalSettings:m}=te().props,E=(g==null?void 0:g.permissions)||[],[_,S]=n.useState(p.search||""),[l,x]=n.useState(p.status||"_empty_"),[d,j]=n.useState(p.job_id||"_empty_"),[c,w]=n.useState(p.source_id||"_empty_"),[A,C]=n.useState(!1),[M,b]=n.useState(!1),[pe,ne]=n.useState(!1),[f,F]=n.useState(null),[me,le]=n.useState("create"),[$,y]=n.useState(!1),[I,R]=n.useState(""),T=()=>l!=="_empty_"||d!=="_empty_"||c!=="_empty_"||_!=="",U=()=>(l!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(_!==""?1:0),q=e=>{e.preventDefault(),N()},N=()=>{u.get(route("hr.recruitment.candidates.index"),{page:1,search:_||void 0,status:l!=="_empty_"?l:void 0,job_id:d!=="_empty_"?d:void 0,source_id:c!=="_empty_"?c:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},H=e=>{const r=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";u.get(route("hr.recruitment.candidates.index"),{sort_field:e,sort_direction:r,page:1,search:_||void 0,status:l!=="_empty_"?l:void 0,job_id:d!=="_empty_"?d:void 0,source_id:c!=="_empty_"?c:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},J=(e,r)=>{switch(F(r),e){case"view":u.get(route("hr.recruitment.candidates.show",r.id));break;case"delete":b(!0);break;case"update-status":F(r),R(r.status),y(!0);break;case"convert-to-employee":m!=null&&m.is_demo||o.loading(t("Loading conversion form...")),u.get(route("hr.recruitment.candidates.convert-to-employee",r.id),{},{onSuccess:a=>{m!=null&&m.is_demo||o.dismiss(),a.props.flash.success?o.success(t(a.props.flash.success)):a.props.flash.error&&o.error(t(a.props.flash.error))},onError:a=>{m!=null&&m.is_demo||o.dismiss(),typeof a=="string"?o.error(t(a)):o.error(t("Failed to load conversion form: {{errors}}",{errors:Object.values(a).join(", ")}))}});break}},L=()=>{o.loading(t("Deleting candidate...")),u.delete(route("hr.recruitment.candidates.destroy",f.id),{onSuccess:e=>{b(!1),o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{o.dismiss(),typeof e=="string"?o.error(t(e)):o.error(t("Failed to delete candidate: {{errors}}",{errors:Object.values(e).join(", ")}))}})},B=e=>{e.status&&(o.loading(t("Updating status...")),u.put(route("hr.recruitment.candidates.update-status",f.id),{status:e.status},{onSuccess:r=>{y(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(t(r)):o.error(t("Failed to update status: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},V=()=>{S(""),x("_empty_"),j("_empty_"),w("_empty_"),C(!1),u.get(route("hr.recruitment.candidates.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Y=[],z=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.candidates.index")},{title:t("Candidates")}],G=e=>{switch(e){case"New":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Screening":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Interview":return"bg-purple-50 text-purple-700 ring-purple-600/20";case"Offer":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Hired":return"bg-green-50 text-green-700 ring-green-600/20";case"Rejected":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},K=[{key:"full_name",label:t("Name"),sortable:!0,render:(e,r)=>s.jsxs("div",{children:[s.jsxs("div",{className:"font-medium",children:[r.first_name," ",r.last_name]}),s.jsx("div",{className:"text-xs text-gray-500",children:r.email})]})},{key:"job.title",label:t("Job"),render:(e,r)=>{var a,k;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((a=r.job)==null?void 0:a.title)||"-"}),s.jsx("div",{className:"text-xs text-gray-500",children:((k=r.job)==null?void 0:k.job_code)||""})]})}},{key:"source.name",label:t("Source"),render:(e,r)=>{var a;return((a=r.source)==null?void 0:a.name)||"-"}},{key:"experience_years",label:t("Experience"),render:e=>`${e} ${t("years")}`},{key:"expected_salary",label:t("Expected Salary"),render:e=>{var r;return e?(r=window.appSettings)==null?void 0:r.formatCurrency(e):"-"}},{key:"status",label:t("Status"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${G(e)}`,children:t(e)})},{key:"is_employee",label:t("Employee Converted"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e?"bg-green-50 text-green-700 ring-green-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:t(e?"Yes":"No")})},{key:"application_date",label:t("Applied"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],Q=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-candidates"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"edit-candidates",condition:e=>!["Hired","Rejected"].includes(e.status)},{label:t("Convert to Employee"),icon:"UserPlus",action:"convert-to-employee",className:"text-purple-500",requiredPermission:"create-employees",condition:e=>e.status==="Hired"&&!e.is_employee},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-candidates"}],P=[{value:"_empty_",label:t("All Statuses")},{value:"New",label:t("New")},{value:"Screening",label:t("Screening")},{value:"Interview",label:t("Interview")},{value:"Offer",label:t("Offer")},{value:"Hired",label:t("Hired")},{value:"Rejected",label:t("Rejected")}],W=[{value:"_empty_",label:t("All Jobs")},...(h||[]).map(e=>({value:e.id.toString(),label:`${e.job_code} - ${e.title}`}))],X=[{value:"_empty_",label:t("All Sources")},...(v||[]).map(e=>({value:e.id.toString(),label:e.name}))];return[t("Select Job"),...(h||[]).map(e=>({value:e.id.toString(),label:`${e.job_code} - ${e.title}`}))],[t("Select Source"),...(v||[]).map(e=>({value:e.id.toString(),label:e.name}))],[t("Select Employee"),...(D||[]).map(e=>({value:e.id.toString(),label:e.name}))],s.jsxs(Z,{title:t("Candidates"),url:"/hr/recruitment/candidates",actions:Y,breadcrumbs:z,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ae,{searchTerm:_,onSearchChange:S,onSearch:q,filters:[{name:"status",label:t("Status"),type:"select",value:l,onChange:x,options:P},{name:"job_id",label:t("Job"),type:"select",value:d,onChange:j,options:W,searchable:!0},{name:"source_id",label:t("Source"),type:"select",value:c,onChange:w,options:X,searchable:!0}],showFilters:A,setShowFilters:C,hasActiveFilters:T,activeFilterCount:U,onResetFilters:V,onApplyFilters:N,currentPerPage:((O=p.per_page)==null?void 0:O.toString())||"10",onPerPageChange:e=>{u.get(route("hr.recruitment.candidates.index"),{page:1,per_page:parseInt(e),search:_||void 0,status:l!=="_empty_"?l:void 0,job_id:d!=="_empty_"?d:void 0,source_id:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(re,{columns:K,actions:Q,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:J,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:H,permissions:E,entityPermissions:{view:"view-candidates",create:"create-candidates",edit:"edit-candidates",delete:"delete-candidates"}}),s.jsx(se,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("candidates"),onPageChange:e=>u.get(e)})]}),s.jsx(ie,{isOpen:M,onClose:()=>b(!1),onConfirm:L,itemName:f?`${f.first_name} ${f.last_name}`:"",entityName:"candidate"}),s.jsx(oe,{isOpen:$,onClose:()=>y(!1),onSubmit:B,formConfig:{fields:[{name:"status",label:t("Status"),type:"select",required:!0,options:P.filter(e=>e.value!=="_empty_")}]},initialData:{status:I},title:t("Update Candidate Status"),mode:"edit",submitLabel:t("Update Status")})]})}export{Kr as default}; diff --git a/public/build/assets/index-DrqUs-Ht.js b/public/build/assets/index-BKa9SN2b.js similarity index 92% rename from public/build/assets/index-DrqUs-Ht.js rename to public/build/assets/index-BKa9SN2b.js index bb4ceaa82..337c701d4 100644 --- a/public/build/assets/index-DrqUs-Ht.js +++ b/public/build/assets/index-BKa9SN2b.js @@ -1 +1 @@ -import{r as u,j as e}from"./ui-Z445SNHD.js";import{C as ne}from"./CrudDeleteModal-CKTiD3_K.js";import{u as me,c as xe,x as O,L as b,I as A,F as L,o as x,S as he,X as pe,r as j,t as i}from"./app-CfhhiFAk.js";import{P as ue}from"./page-template-BTxLyiDA.js";import{P as ge}from"./pagination-D8A_HnL5.js";import{S as C,a as S,b as F,c as D,d as m}from"./select-BrY9osYp.js";import{T as ye}from"./textarea-kpRjGGLz.js";import{U as ve}from"./user-C37aWgZX.js";import{T as je}from"./trending-up-Bi4f72Tj.js";import{A as fe}from"./award-DMMowKjz.js";import{D as Ne}from"./dollar-sign-DYXFWWsE.js";import{B as be}from"./briefcase-CLRn8zVu.js";import{I as ke,A as _e,G as we,S as Ce,B as Se}from"./scale-BUz-ovAe.js";import{S as Fe}from"./settings-BwhyNRyj.js";import{U as De}from"./users-C4LpG59H.js";import{H as Ae,S as Te}from"./shield-BXgaUVtY.js";import{B as Be}from"./building-Cyq-0nCs.js";import{C as Ie}from"./clipboard-list-DA9ABN1f.js";import{F as B}from"./sparkles-BIbzOfb3.js";import{T}from"./triangle-alert-DGWTh17w.js";import{a as Ue,C as qe}from"./chevron-up-DepFp6b6.js";import{S as Y}from"./square-pen-bMHyT06o.js";import{L as J}from"./lock-By6rMOj7.js";import{T as Q}from"./trash-2-C1NR_7Ss.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./index-BdQq_4o_.js";const z={FileText:L,Folder:B,Shield:Te,Book:Se,ClipboardList:Ie,Scale:Ce,GraduationCap:we,Building:Be,Heart:Ae,Users:De,Settings:Fe,Archive:_e,IdCard:ke,Briefcase:be,DollarSign:Ne,Award:fe,TrendingUp:je,User:ve};function Ts(){const{t:r}=me(),{auth:I,documentCategories:o,filters:l={},globalSettings:t}=xe().props,U=(I==null?void 0:I.permissions)||[],[k,V]=u.useState(l.search||""),[g,H]=u.useState(l.status||"_empty_"),[y,R]=u.useState(l.is_mandatory||"_empty_"),[W,q]=u.useState(!1),[_,E]=u.useState(null),[f,G]=u.useState("create"),[M,Z]=u.useState(new Set),[d,h]=u.useState({name:"",description:"",color:"#3B82F6",icon:"Folder",is_mandatory:!1,status:"active"}),[c,w]=u.useState({}),ee=[{value:"IdCard",label:"IdCard"},{value:"GraduationCap",label:"GraduationCap"},{value:"Briefcase",label:"Briefcase"},{value:"DollarSign",label:"DollarSign"},{value:"Heart",label:"Heart"},{value:"Scale",label:"Scale"},{value:"Award",label:"Award"},{value:"TrendingUp",label:"TrendingUp"},{value:"User",label:"User"},{value:"Shield",label:"Shield"},{value:"FileText",label:"FileText"},{value:"Folder",label:"Folder"},{value:"Book",label:"Book"},{value:"ClipboardList",label:"ClipboardList"},{value:"Building",label:"Building"},{value:"Users",label:"Users"},{value:"Settings",label:"Settings"},{value:"Archive",label:"Archive"}],P=()=>{h({name:"",description:"",color:"#3B82F6",icon:"Folder",is_mandatory:!1,status:"active"}),w({}),G("create"),E(null)},se=s=>{h({name:s.name||"",description:s.description||"",color:s.color||"#3B82F6",icon:s.icon||"Folder",is_mandatory:s.is_mandatory??!1,status:s.status||"active"}),G("edit"),E(s),w({})},K=s=>{s.preventDefault(),re()},re=()=>{j.get(route("hr.documents.document-categories.index"),{page:1,search:k||void 0,status:g!=="_empty_"?g:void 0,is_mandatory:y!=="_empty_"?y:void 0,per_page:l.per_page||10,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})},ae=()=>{V(""),H("_empty_"),R("_empty_"),j.get(route("hr.documents.document-categories.index"),{page:1,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},te=s=>{const a=l.sort_field===s&&l.sort_direction==="asc"?"desc":"asc";j.get(route("hr.documents.document-categories.index"),{sort_field:s,sort_direction:a,page:1,search:k||void 0,status:g!=="_empty_"?g:void 0,is_mandatory:y!=="_empty_"?y:void 0,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},N=(s,a)=>{switch(E(a),s){case"edit":se(a),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":q(!0);break;case"toggle-status":de(a);break}},ie=s=>{s.preventDefault(),w({}),f==="create"?(t!=null&&t.is_demo||i.loading(r("Creating document category...")),j.post(route("hr.documents.document-categories.store"),d,{onSuccess:a=>{t!=null&&t.is_demo||i.dismiss(),a.props.flash.success?(i.success(r(a.props.flash.success)),P()):a.props.flash.error&&i.error(r(a.props.flash.error))},onError:a=>{t!=null&&t.is_demo||i.dismiss(),w(a),typeof a=="string"?i.error(a):i.error(r("Please check the form for errors"))}})):f==="edit"&&(t!=null&&t.is_demo||i.loading(r("Updating document category...")),j.put(route("hr.documents.document-categories.update",_.id),d,{onSuccess:a=>{t!=null&&t.is_demo||i.dismiss(),a.props.flash.success?(i.success(r(a.props.flash.success)),P()):a.props.flash.error&&i.error(r(a.props.flash.error))},onError:a=>{t!=null&&t.is_demo||i.dismiss(),w(a),typeof a=="string"?i.error(a):i.error(r("Please check the form for errors"))}}))},oe=()=>{t!=null&&t.is_demo||i.loading(r("Deleting document category...")),j.delete(route("hr.documents.document-categories.destroy",_.id),{onSuccess:s=>{q(!1),t!=null&&t.is_demo||i.dismiss(),s.props.flash.success?i.success(r(s.props.flash.success)):s.props.flash.error&&i.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to delete document category: ${Object.values(s).join(", ")}`)}})},de=s=>{const a=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||i.loading(`${r(a==="active"?"Activating":"Deactivating")} document category...`),j.put(route("hr.documents.document-categories.toggle-status",s.id),{},{onSuccess:v=>{t!=null&&t.is_demo||i.dismiss(),v.props.flash.success?i.success(r(v.props.flash.success)):v.props.flash.error&&i.error(r(v.props.flash.error))},onError:v=>{t!=null&&t.is_demo||i.dismiss(),typeof v=="string"?i.error(v):i.error(`Failed to update document category status: ${Object.values(v).join(", ")}`)}})},le=s=>{const a=new Set(M);a.has(s)?a.delete(s):a.add(s),Z(a)},ce=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Document Management"),href:route("hr.documents.document-categories.index")},{title:r("Document Categories")}],p=O(U,"create-document-categories"),n=O(U,"edit-document-categories"),X=O(U,"delete-document-categories"),$=()=>g!=="_empty_"||y!=="_empty_"||k!=="";return e.jsxs(ue,{title:r("Document Categories"),description:"",url:"/hr/documents/document-categories",breadcrumbs:ce,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-3",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-4 rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"border-b border-gray-200 p-6 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(f==="create"?"Add New Category":"Edit Category")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r(f==="create"?"Fill in the details to create a new document category":"Update the category details below")})]}),e.jsxs("form",{onSubmit:ie,className:"space-y-4 p-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{required:!0,htmlFor:"name",className:"required",children:r("Category Name")}),e.jsx(A,{id:"name",type:"text",value:d.name,onChange:s=>h({...d,name:s.target.value}),placeholder:r("e.g., HR Policies, Contracts"),className:c.name?"border-red-500":"",disabled:!p&&!n,required:!0}),c.name&&e.jsx("p",{className:"text-sm text-red-500",children:c.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{htmlFor:"description",children:r("Description")}),e.jsx(ye,{id:"description",value:d.description,onChange:s=>h({...d,description:s.target.value}),placeholder:r("Brief description of the category"),rows:3,className:c.description?"border-red-500":"",disabled:!p&&!n}),c.description&&e.jsx("p",{className:"text-sm text-red-500",children:c.description})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{required:!0,htmlFor:"color",className:"required",children:r("Color")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(A,{id:"color",type:"color",value:d.color,onChange:s=>h({...d,color:s.target.value}),className:`h-10 w-12 cursor-pointer p-1 ${c.color?"border-red-500":""}`,disabled:!p&&!n,required:!0}),e.jsx(A,{type:"text",value:d.color,onChange:s=>h({...d,color:s.target.value}),className:"flex-1 font-mono text-sm uppercase",disabled:!p&&!n,placeholder:"#3B82F6",pattern:"^#[0-9A-Fa-f]{6}$",required:!0})]}),c.color&&e.jsx("p",{className:"text-sm text-red-500",children:c.color})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{required:!0,htmlFor:"icon",className:"required",children:r("Icon")}),e.jsxs(C,{value:d.icon,onValueChange:s=>h({...d,icon:s}),disabled:!p&&!n,required:!0,children:[e.jsx(S,{className:c.icon?"border-red-500":"",children:e.jsx(F,{placeholder:r("Select icon")})}),e.jsx(D,{children:ee.map(s=>{const a=z[s.value];return e.jsx(m,{value:s.value,children:e.jsxs("div",{className:"flex items-center gap-2",children:[a&&e.jsx(a,{className:"h-4 w-4"}),e.jsx("span",{children:s.label})]})},s.value)})})]}),c.icon&&e.jsx("p",{className:"text-sm text-red-500",children:c.icon})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{htmlFor:"is_mandatory",children:r("Mandatory Category")}),e.jsxs(C,{value:d.is_mandatory?"yes":"no",onValueChange:s=>h({...d,is_mandatory:s==="yes"}),disabled:!p&&!n,children:[e.jsx(S,{children:e.jsx(F,{placeholder:r("Select")})}),e.jsxs(D,{children:[e.jsx(m,{value:"yes",children:r("Yes, Mandatory")}),e.jsx(m,{value:"no",children:r("No, Optional")})]})]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:r("Documents in mandatory categories require acknowledgment")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(C,{value:d.status,onValueChange:s=>h({...d,status:s}),disabled:!p&&!n,required:!0,children:[e.jsx(S,{className:c.status?"border-red-500":"",children:e.jsx(F,{placeholder:r("Select status")})}),e.jsxs(D,{children:[e.jsx(m,{value:"active",children:r("Active")}),e.jsx(m,{value:"inactive",children:r("Inactive")})]})]}),c.status&&e.jsx("p",{className:"text-sm text-red-500",children:c.status})]}),e.jsxs("div",{className:"flex items-center gap-3 border-t border-gray-200 pt-4 dark:border-gray-700",children:[(p||n)&&e.jsx(x,{type:"submit",className:"flex-1",children:r(f==="create"?"Add Category":"Update Category")}),f==="edit"&&e.jsx(x,{type:"button",variant:"outline",onClick:P,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"space-y-4 lg:col-span-2",children:[e.jsx("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(he,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-gray-400"}),e.jsx(A,{type:"text",placeholder:r("Search categories..."),value:k,onChange:s=>V(s.target.value),onKeyDown:s=>s.key==="Enter"&&K(s),className:"pl-10"})]}),e.jsx(x,{onClick:K,variant:"default",children:r("Search")}),$()&&e.jsxs(x,{onClick:ae,variant:"outline",children:[e.jsx(pe,{className:"mr-2 h-4 w-4"}),r("Reset")]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:[e.jsxs(C,{value:g,onValueChange:H,children:[e.jsx(S,{children:e.jsx(F,{placeholder:r("All Statuses")})}),e.jsxs(D,{children:[e.jsx(m,{value:"_empty_",children:r("All Statuses")}),e.jsx(m,{value:"active",children:r("Active")}),e.jsx(m,{value:"inactive",children:r("Inactive")})]})]}),e.jsxs(C,{value:y,onValueChange:R,children:[e.jsx(S,{children:e.jsx(F,{placeholder:r("All Types")})}),e.jsxs(D,{children:[e.jsx(m,{value:"_empty_",children:r("All Types")}),e.jsx(m,{value:"true",children:r("Mandatory")}),e.jsx(m,{value:"false",children:r("Optional")})]})]})]})]})}),e.jsx("div",{className:"overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:((o==null?void 0:o.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"border-b border-gray-200 px-6 py-4 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Document Categories")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r("Manage how documents are organized and categorized.")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"cursor-pointer px-4 py-3 text-left text-xs font-medium tracking-wider text-gray-500 select-none dark:text-gray-300",onClick:()=>te("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Category"),l.sort_field==="name"?l.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Documents")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Type")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Actions")})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200 bg-white dark:divide-gray-700 dark:bg-gray-800",children:o.data.map(s=>{const a=z[s.icon]||B;return e.jsxs("tr",{className:"transition-colors hover:bg-gray-50 dark:hover:bg-gray-700/50",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg text-white",style:{backgroundColor:s.color||"#3B82F6"},children:e.jsx(a,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsxs("div",{className:"flex flex-row items-center gap-1.5 text-sm font-medium text-gray-900 dark:text-white",children:[s.name,s.is_mandatory&&e.jsx("span",{title:r("Mandatory"),children:e.jsx(T,{className:"h-3.5 w-3.5 text-red-500"})})]}),s.description&&e.jsxs("div",{className:"mt-0.5 max-w-xs text-sm text-gray-500 dark:text-gray-400",children:[e.jsx("div",{className:M.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>le(s.id),className:"mt-1 inline-flex items-center text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:M.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(Ue,{className:"mr-1 h-3 w-3"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(qe,{className:"mr-1 h-3 w-3"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-gray-50 px-2.5 py-1 text-xs font-medium text-gray-600 ring-1 ring-gray-500/10 ring-inset dark:bg-gray-700 dark:text-gray-300",children:[e.jsx(L,{className:"h-3.5 w-3.5 text-gray-400"}),s.documents_count||0]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.is_mandatory?"bg-red-50 text-red-700 ring-red-600/10":"bg-blue-50 text-blue-700 ring-blue-600/20"}`,children:s.is_mandatory?e.jsxs(e.Fragment,{children:[e.jsx(T,{className:"mr-1 h-3 w-3"}),r("Mandatory")]}):r("Optional")})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right text-sm font-medium whitespace-nowrap",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("edit",s),className:"h-8 w-8 p-0 text-amber-500 hover:bg-amber-50 hover:text-amber-600 dark:hover:bg-amber-900/20",title:r("Edit Category"),children:e.jsx(Y,{className:"h-4 w-4"})}),n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500 hover:bg-orange-50 hover:text-orange-600 dark:hover:bg-orange-900/20":"text-green-600 hover:bg-green-50 hover:text-green-700 dark:hover:bg-green-900/20"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(J,{className:"h-4 w-4"})}),X&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("delete",s),className:"h-8 w-8 p-0 text-red-500 hover:bg-red-50 hover:text-red-600 dark:hover:bg-red-900/20",title:r("Delete Category"),children:e.jsx(Q,{className:"h-4 w-4"})})]})})]},s.id)})})]})})}),e.jsx("div",{className:"space-y-4 p-4 lg:hidden",children:o.data.map(s=>{const a=z[s.icon]||B;return e.jsxs("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"mb-3 flex items-start justify-between",children:[e.jsxs("div",{className:"flex gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg text-white",style:{backgroundColor:s.color||"#3B82F6"},children:e.jsx(a,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsxs("h4",{className:"flex items-center gap-1.5 text-sm font-semibold text-gray-900 dark:text-white",children:[s.name,s.is_mandatory&&e.jsx(T,{className:"h-3.5 w-3.5 text-red-500"})]}),s.description&&e.jsx("p",{className:"mt-1 line-clamp-2 text-sm text-gray-500 dark:text-gray-400",children:s.description})]})]}),e.jsxs("div",{className:"ml-4 flex justify-end gap-1",children:[n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(Y,{className:"h-4 w-4"})}),n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(J,{className:"h-4 w-4"})}),X&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(Q,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"mt-3 grid grid-cols-2 gap-4 border-t border-gray-100 pt-3 dark:border-gray-700",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Type")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.is_mandatory?"bg-red-50 text-red-700 ring-red-600/10":"bg-blue-50 text-blue-700 ring-blue-600/20"}`,children:s.is_mandatory?e.jsxs(e.Fragment,{children:[e.jsx(T,{className:"mr-1 h-3 w-3"}),r("Mandatory")]}):r("Optional")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Documents")}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-gray-50 px-2.5 py-0.5 text-xs font-medium text-gray-600 ring-1 ring-gray-500/10 ring-inset dark:bg-gray-700 dark:text-gray-300",children:[e.jsx(L,{className:"h-3 w-3 text-gray-400"}),s.documents_count||0]})]}),e.jsxs("div",{className:"col-span-2",children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]})]},s.id)})}),(o==null?void 0:o.total)>((o==null?void 0:o.per_page)||10)&&e.jsx("div",{className:"border-t border-gray-200 px-6 py-4 dark:border-gray-700",children:e.jsx(ge,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:r("categories"),onPageChange:s=>{const a=new URL(s).searchParams.get("page");j.get(route("hr.documents.document-categories.index"),{page:a,per_page:l.per_page||10,search:k||void 0,status:g!=="_empty_"?g:void 0,is_mandatory:y!=="_empty_"?y:void 0,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-gray-100 dark:bg-gray-700",children:e.jsx(B,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"mb-2 text-lg font-medium text-gray-900 dark:text-white",children:r("No document categories found")}),e.jsx("p",{className:"mx-auto mb-6 max-w-sm text-gray-500 dark:text-gray-400",children:$()?r("No categories match your search criteria. Try adjusting your filters."):r("Create document categories to organize your team documents.")}),!$()&&p&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first category.")})]})})]})]}),e.jsx(ne,{isOpen:W,onClose:()=>q(!1),onConfirm:oe,itemName:(_==null?void 0:_.name)||"",entityName:"document category"})]})}export{Ts as default}; +import{r as u,j as e}from"./ui-Z445SNHD.js";import{C as ne}from"./CrudDeleteModal-D32N6I8y.js";import{u as me,c as xe,x as O,L as b,I as A,F as L,o as x,S as he,X as pe,r as j,t as i}from"./app-Dya84jp7.js";import{P as ue}from"./page-template-CLNVC8w_.js";import{P as ge}from"./pagination-4PUepASD.js";import{S as C,a as S,b as F,c as D,d as m}from"./select-CHkpLxhL.js";import{T as ye}from"./textarea-yeg8ONhy.js";import{U as ve}from"./user-77BPqA3J.js";import{T as je}from"./trending-up-BT453ptk.js";import{A as fe}from"./award-D1KbOerA.js";import{D as Ne}from"./dollar-sign-DH2Tc178.js";import{B as be}from"./briefcase-Btn3T9V4.js";import{I as ke,A as _e,G as we,S as Ce,B as Se}from"./scale-BzSuyiWe.js";import{S as Fe}from"./settings-amvA_CjN.js";import{U as De}from"./users-BzCDZrS0.js";import{H as Ae,S as Te}from"./shield-CDL27iRK.js";import{B as Be}from"./building-DyhEfKj4.js";import{C as Ie}from"./clipboard-list-C-5sn1G-.js";import{F as B}from"./sparkles-C1HgyvOv.js";import{T}from"./triangle-alert-CpPzdeiH.js";import{a as Ue,C as qe}from"./chevron-up-DHaGktre.js";import{S as Y}from"./square-pen-CzdhbxyN.js";import{L as J}from"./lock-DaHvMEII.js";import{T as Q}from"./trash-2-BeirBLIk.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./index-BdQq_4o_.js";const z={FileText:L,Folder:B,Shield:Te,Book:Se,ClipboardList:Ie,Scale:Ce,GraduationCap:we,Building:Be,Heart:Ae,Users:De,Settings:Fe,Archive:_e,IdCard:ke,Briefcase:be,DollarSign:Ne,Award:fe,TrendingUp:je,User:ve};function Ts(){const{t:r}=me(),{auth:I,documentCategories:o,filters:l={},globalSettings:t}=xe().props,U=(I==null?void 0:I.permissions)||[],[k,V]=u.useState(l.search||""),[g,H]=u.useState(l.status||"_empty_"),[y,R]=u.useState(l.is_mandatory||"_empty_"),[W,q]=u.useState(!1),[_,E]=u.useState(null),[f,G]=u.useState("create"),[M,Z]=u.useState(new Set),[d,h]=u.useState({name:"",description:"",color:"#3B82F6",icon:"Folder",is_mandatory:!1,status:"active"}),[c,w]=u.useState({}),ee=[{value:"IdCard",label:"IdCard"},{value:"GraduationCap",label:"GraduationCap"},{value:"Briefcase",label:"Briefcase"},{value:"DollarSign",label:"DollarSign"},{value:"Heart",label:"Heart"},{value:"Scale",label:"Scale"},{value:"Award",label:"Award"},{value:"TrendingUp",label:"TrendingUp"},{value:"User",label:"User"},{value:"Shield",label:"Shield"},{value:"FileText",label:"FileText"},{value:"Folder",label:"Folder"},{value:"Book",label:"Book"},{value:"ClipboardList",label:"ClipboardList"},{value:"Building",label:"Building"},{value:"Users",label:"Users"},{value:"Settings",label:"Settings"},{value:"Archive",label:"Archive"}],P=()=>{h({name:"",description:"",color:"#3B82F6",icon:"Folder",is_mandatory:!1,status:"active"}),w({}),G("create"),E(null)},se=s=>{h({name:s.name||"",description:s.description||"",color:s.color||"#3B82F6",icon:s.icon||"Folder",is_mandatory:s.is_mandatory??!1,status:s.status||"active"}),G("edit"),E(s),w({})},K=s=>{s.preventDefault(),re()},re=()=>{j.get(route("hr.documents.document-categories.index"),{page:1,search:k||void 0,status:g!=="_empty_"?g:void 0,is_mandatory:y!=="_empty_"?y:void 0,per_page:l.per_page||10,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})},ae=()=>{V(""),H("_empty_"),R("_empty_"),j.get(route("hr.documents.document-categories.index"),{page:1,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},te=s=>{const a=l.sort_field===s&&l.sort_direction==="asc"?"desc":"asc";j.get(route("hr.documents.document-categories.index"),{sort_field:s,sort_direction:a,page:1,search:k||void 0,status:g!=="_empty_"?g:void 0,is_mandatory:y!=="_empty_"?y:void 0,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},N=(s,a)=>{switch(E(a),s){case"edit":se(a),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":q(!0);break;case"toggle-status":de(a);break}},ie=s=>{s.preventDefault(),w({}),f==="create"?(t!=null&&t.is_demo||i.loading(r("Creating document category...")),j.post(route("hr.documents.document-categories.store"),d,{onSuccess:a=>{t!=null&&t.is_demo||i.dismiss(),a.props.flash.success?(i.success(r(a.props.flash.success)),P()):a.props.flash.error&&i.error(r(a.props.flash.error))},onError:a=>{t!=null&&t.is_demo||i.dismiss(),w(a),typeof a=="string"?i.error(a):i.error(r("Please check the form for errors"))}})):f==="edit"&&(t!=null&&t.is_demo||i.loading(r("Updating document category...")),j.put(route("hr.documents.document-categories.update",_.id),d,{onSuccess:a=>{t!=null&&t.is_demo||i.dismiss(),a.props.flash.success?(i.success(r(a.props.flash.success)),P()):a.props.flash.error&&i.error(r(a.props.flash.error))},onError:a=>{t!=null&&t.is_demo||i.dismiss(),w(a),typeof a=="string"?i.error(a):i.error(r("Please check the form for errors"))}}))},oe=()=>{t!=null&&t.is_demo||i.loading(r("Deleting document category...")),j.delete(route("hr.documents.document-categories.destroy",_.id),{onSuccess:s=>{q(!1),t!=null&&t.is_demo||i.dismiss(),s.props.flash.success?i.success(r(s.props.flash.success)):s.props.flash.error&&i.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to delete document category: ${Object.values(s).join(", ")}`)}})},de=s=>{const a=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||i.loading(`${r(a==="active"?"Activating":"Deactivating")} document category...`),j.put(route("hr.documents.document-categories.toggle-status",s.id),{},{onSuccess:v=>{t!=null&&t.is_demo||i.dismiss(),v.props.flash.success?i.success(r(v.props.flash.success)):v.props.flash.error&&i.error(r(v.props.flash.error))},onError:v=>{t!=null&&t.is_demo||i.dismiss(),typeof v=="string"?i.error(v):i.error(`Failed to update document category status: ${Object.values(v).join(", ")}`)}})},le=s=>{const a=new Set(M);a.has(s)?a.delete(s):a.add(s),Z(a)},ce=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Document Management"),href:route("hr.documents.document-categories.index")},{title:r("Document Categories")}],p=O(U,"create-document-categories"),n=O(U,"edit-document-categories"),X=O(U,"delete-document-categories"),$=()=>g!=="_empty_"||y!=="_empty_"||k!=="";return e.jsxs(ue,{title:r("Document Categories"),description:"",url:"/hr/documents/document-categories",breadcrumbs:ce,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-3",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-4 rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"border-b border-gray-200 p-6 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(f==="create"?"Add New Category":"Edit Category")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r(f==="create"?"Fill in the details to create a new document category":"Update the category details below")})]}),e.jsxs("form",{onSubmit:ie,className:"space-y-4 p-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{required:!0,htmlFor:"name",className:"required",children:r("Category Name")}),e.jsx(A,{id:"name",type:"text",value:d.name,onChange:s=>h({...d,name:s.target.value}),placeholder:r("e.g., HR Policies, Contracts"),className:c.name?"border-red-500":"",disabled:!p&&!n,required:!0}),c.name&&e.jsx("p",{className:"text-sm text-red-500",children:c.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{htmlFor:"description",children:r("Description")}),e.jsx(ye,{id:"description",value:d.description,onChange:s=>h({...d,description:s.target.value}),placeholder:r("Brief description of the category"),rows:3,className:c.description?"border-red-500":"",disabled:!p&&!n}),c.description&&e.jsx("p",{className:"text-sm text-red-500",children:c.description})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{required:!0,htmlFor:"color",className:"required",children:r("Color")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(A,{id:"color",type:"color",value:d.color,onChange:s=>h({...d,color:s.target.value}),className:`h-10 w-12 cursor-pointer p-1 ${c.color?"border-red-500":""}`,disabled:!p&&!n,required:!0}),e.jsx(A,{type:"text",value:d.color,onChange:s=>h({...d,color:s.target.value}),className:"flex-1 font-mono text-sm uppercase",disabled:!p&&!n,placeholder:"#3B82F6",pattern:"^#[0-9A-Fa-f]{6}$",required:!0})]}),c.color&&e.jsx("p",{className:"text-sm text-red-500",children:c.color})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{required:!0,htmlFor:"icon",className:"required",children:r("Icon")}),e.jsxs(C,{value:d.icon,onValueChange:s=>h({...d,icon:s}),disabled:!p&&!n,required:!0,children:[e.jsx(S,{className:c.icon?"border-red-500":"",children:e.jsx(F,{placeholder:r("Select icon")})}),e.jsx(D,{children:ee.map(s=>{const a=z[s.value];return e.jsx(m,{value:s.value,children:e.jsxs("div",{className:"flex items-center gap-2",children:[a&&e.jsx(a,{className:"h-4 w-4"}),e.jsx("span",{children:s.label})]})},s.value)})})]}),c.icon&&e.jsx("p",{className:"text-sm text-red-500",children:c.icon})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{htmlFor:"is_mandatory",children:r("Mandatory Category")}),e.jsxs(C,{value:d.is_mandatory?"yes":"no",onValueChange:s=>h({...d,is_mandatory:s==="yes"}),disabled:!p&&!n,children:[e.jsx(S,{children:e.jsx(F,{placeholder:r("Select")})}),e.jsxs(D,{children:[e.jsx(m,{value:"yes",children:r("Yes, Mandatory")}),e.jsx(m,{value:"no",children:r("No, Optional")})]})]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:r("Documents in mandatory categories require acknowledgment")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(b,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(C,{value:d.status,onValueChange:s=>h({...d,status:s}),disabled:!p&&!n,required:!0,children:[e.jsx(S,{className:c.status?"border-red-500":"",children:e.jsx(F,{placeholder:r("Select status")})}),e.jsxs(D,{children:[e.jsx(m,{value:"active",children:r("Active")}),e.jsx(m,{value:"inactive",children:r("Inactive")})]})]}),c.status&&e.jsx("p",{className:"text-sm text-red-500",children:c.status})]}),e.jsxs("div",{className:"flex items-center gap-3 border-t border-gray-200 pt-4 dark:border-gray-700",children:[(p||n)&&e.jsx(x,{type:"submit",className:"flex-1",children:r(f==="create"?"Add Category":"Update Category")}),f==="edit"&&e.jsx(x,{type:"button",variant:"outline",onClick:P,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"space-y-4 lg:col-span-2",children:[e.jsx("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(he,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-gray-400"}),e.jsx(A,{type:"text",placeholder:r("Search categories..."),value:k,onChange:s=>V(s.target.value),onKeyDown:s=>s.key==="Enter"&&K(s),className:"pl-10"})]}),e.jsx(x,{onClick:K,variant:"default",children:r("Search")}),$()&&e.jsxs(x,{onClick:ae,variant:"outline",children:[e.jsx(pe,{className:"mr-2 h-4 w-4"}),r("Reset")]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:[e.jsxs(C,{value:g,onValueChange:H,children:[e.jsx(S,{children:e.jsx(F,{placeholder:r("All Statuses")})}),e.jsxs(D,{children:[e.jsx(m,{value:"_empty_",children:r("All Statuses")}),e.jsx(m,{value:"active",children:r("Active")}),e.jsx(m,{value:"inactive",children:r("Inactive")})]})]}),e.jsxs(C,{value:y,onValueChange:R,children:[e.jsx(S,{children:e.jsx(F,{placeholder:r("All Types")})}),e.jsxs(D,{children:[e.jsx(m,{value:"_empty_",children:r("All Types")}),e.jsx(m,{value:"true",children:r("Mandatory")}),e.jsx(m,{value:"false",children:r("Optional")})]})]})]})]})}),e.jsx("div",{className:"overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:((o==null?void 0:o.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"border-b border-gray-200 px-6 py-4 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Document Categories")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r("Manage how documents are organized and categorized.")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"cursor-pointer px-4 py-3 text-left text-xs font-medium tracking-wider text-gray-500 select-none dark:text-gray-300",onClick:()=>te("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Category"),l.sort_field==="name"?l.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Documents")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Type")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Actions")})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200 bg-white dark:divide-gray-700 dark:bg-gray-800",children:o.data.map(s=>{const a=z[s.icon]||B;return e.jsxs("tr",{className:"transition-colors hover:bg-gray-50 dark:hover:bg-gray-700/50",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg text-white",style:{backgroundColor:s.color||"#3B82F6"},children:e.jsx(a,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsxs("div",{className:"flex flex-row items-center gap-1.5 text-sm font-medium text-gray-900 dark:text-white",children:[s.name,s.is_mandatory&&e.jsx("span",{title:r("Mandatory"),children:e.jsx(T,{className:"h-3.5 w-3.5 text-red-500"})})]}),s.description&&e.jsxs("div",{className:"mt-0.5 max-w-xs text-sm text-gray-500 dark:text-gray-400",children:[e.jsx("div",{className:M.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>le(s.id),className:"mt-1 inline-flex items-center text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:M.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(Ue,{className:"mr-1 h-3 w-3"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(qe,{className:"mr-1 h-3 w-3"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-gray-50 px-2.5 py-1 text-xs font-medium text-gray-600 ring-1 ring-gray-500/10 ring-inset dark:bg-gray-700 dark:text-gray-300",children:[e.jsx(L,{className:"h-3.5 w-3.5 text-gray-400"}),s.documents_count||0]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.is_mandatory?"bg-red-50 text-red-700 ring-red-600/10":"bg-blue-50 text-blue-700 ring-blue-600/20"}`,children:s.is_mandatory?e.jsxs(e.Fragment,{children:[e.jsx(T,{className:"mr-1 h-3 w-3"}),r("Mandatory")]}):r("Optional")})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right text-sm font-medium whitespace-nowrap",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("edit",s),className:"h-8 w-8 p-0 text-amber-500 hover:bg-amber-50 hover:text-amber-600 dark:hover:bg-amber-900/20",title:r("Edit Category"),children:e.jsx(Y,{className:"h-4 w-4"})}),n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500 hover:bg-orange-50 hover:text-orange-600 dark:hover:bg-orange-900/20":"text-green-600 hover:bg-green-50 hover:text-green-700 dark:hover:bg-green-900/20"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(J,{className:"h-4 w-4"})}),X&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("delete",s),className:"h-8 w-8 p-0 text-red-500 hover:bg-red-50 hover:text-red-600 dark:hover:bg-red-900/20",title:r("Delete Category"),children:e.jsx(Q,{className:"h-4 w-4"})})]})})]},s.id)})})]})})}),e.jsx("div",{className:"space-y-4 p-4 lg:hidden",children:o.data.map(s=>{const a=z[s.icon]||B;return e.jsxs("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"mb-3 flex items-start justify-between",children:[e.jsxs("div",{className:"flex gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg text-white",style:{backgroundColor:s.color||"#3B82F6"},children:e.jsx(a,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsxs("h4",{className:"flex items-center gap-1.5 text-sm font-semibold text-gray-900 dark:text-white",children:[s.name,s.is_mandatory&&e.jsx(T,{className:"h-3.5 w-3.5 text-red-500"})]}),s.description&&e.jsx("p",{className:"mt-1 line-clamp-2 text-sm text-gray-500 dark:text-gray-400",children:s.description})]})]}),e.jsxs("div",{className:"ml-4 flex justify-end gap-1",children:[n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(Y,{className:"h-4 w-4"})}),n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(J,{className:"h-4 w-4"})}),X&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>N("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(Q,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"mt-3 grid grid-cols-2 gap-4 border-t border-gray-100 pt-3 dark:border-gray-700",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Type")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.is_mandatory?"bg-red-50 text-red-700 ring-red-600/10":"bg-blue-50 text-blue-700 ring-blue-600/20"}`,children:s.is_mandatory?e.jsxs(e.Fragment,{children:[e.jsx(T,{className:"mr-1 h-3 w-3"}),r("Mandatory")]}):r("Optional")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Documents")}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-gray-50 px-2.5 py-0.5 text-xs font-medium text-gray-600 ring-1 ring-gray-500/10 ring-inset dark:bg-gray-700 dark:text-gray-300",children:[e.jsx(L,{className:"h-3 w-3 text-gray-400"}),s.documents_count||0]})]}),e.jsxs("div",{className:"col-span-2",children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]})]},s.id)})}),(o==null?void 0:o.total)>((o==null?void 0:o.per_page)||10)&&e.jsx("div",{className:"border-t border-gray-200 px-6 py-4 dark:border-gray-700",children:e.jsx(ge,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:r("categories"),onPageChange:s=>{const a=new URL(s).searchParams.get("page");j.get(route("hr.documents.document-categories.index"),{page:a,per_page:l.per_page||10,search:k||void 0,status:g!=="_empty_"?g:void 0,is_mandatory:y!=="_empty_"?y:void 0,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-gray-100 dark:bg-gray-700",children:e.jsx(B,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"mb-2 text-lg font-medium text-gray-900 dark:text-white",children:r("No document categories found")}),e.jsx("p",{className:"mx-auto mb-6 max-w-sm text-gray-500 dark:text-gray-400",children:$()?r("No categories match your search criteria. Try adjusting your filters."):r("Create document categories to organize your team documents.")}),!$()&&p&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first category.")})]})})]})]}),e.jsx(ne,{isOpen:W,onClose:()=>q(!1),onConfirm:oe,itemName:(_==null?void 0:_.name)||"",entityName:"document category"})]})}export{Ts as default}; diff --git a/public/build/assets/index-JNaZNbb5.js b/public/build/assets/index-BNOEQDEd.js similarity index 59% rename from public/build/assets/index-JNaZNbb5.js rename to public/build/assets/index-BNOEQDEd.js index e2e5b3f0c..79fed427c 100644 --- a/public/build/assets/index-JNaZNbb5.js +++ b/public/build/assets/index-BNOEQDEd.js @@ -1 +1 @@ -import{r as u,j as e}from"./ui-Z445SNHD.js";import{P as J}from"./page-template-BTxLyiDA.js";import{u as z,c as $,r as l,D as G,h as K,j as Q,k as W,t as d}from"./app-CfhhiFAk.js";import{C as X}from"./CrudTable-qPWooc10.js";import{C as Y}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Z}from"./pagination-D8A_HnL5.js";import{S as H}from"./search-and-filter-bar-6Pp-FsiR.js";import{A as I}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function At(){var j,v,N,w,S,D,_;const{t}=z(),{auth:a,loginHistory:s,filters:p={},globalSettings:m}=$().props,C=(a==null?void 0:a.permissions)||[],[c,f]=u.useState(p.search||""),[P,g]=u.useState(!1),[k,x]=u.useState(!1),[T,y]=u.useState(!1),[i,F]=u.useState(null),A=()=>c!=="",O=()=>c!==""?1:0,L=r=>{r.preventDefault(),b()},b=()=>{l.get(route("login-history.index"),{page:1,search:c||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},U=r=>{const o=p.sort_field===r&&p.sort_direction==="asc"?"desc":"asc";l.get(route("login-history.index"),{sort_field:r,sort_direction:o,page:1,search:c||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},E=(r,o)=>{switch(F(o),r){case"view":y(!0);break;case"delete":x(!0);break}},M=()=>{m!=null&&m.is_demo||d.loading(t("Deleting login history...")),l.delete(route("login-history.destroy",i.id),{onSuccess:r=>{x(!1),m!=null&&m.is_demo||d.dismiss(),r.props.flash.success?d.success(t(r.props.flash.success)):r.props.flash.error&&d.error(t(r.props.flash.error))},onError:r=>{m!=null&&m.is_demo||d.dismiss(),typeof r=="string"?d.error(t(r)):d.error(t("Failed to delete login history: {{errors}}",{errors:Object.values(r).join(", ")}))}})},R=()=>{f(""),g(!1),l.get(route("login-history.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},V=[{title:t("Dashboard"),href:route("dashboard")},...((j=a==null?void 0:a.user)==null?void 0:j.type)==="company"?[{title:t("Users"),href:route("users.index")}]:[{title:t("Companies"),href:route("companies.index")}],{title:t("Login History")}],q=[{key:"user.name",label:t("User"),render:(r,o)=>{var n,h;return e.jsxs("div",{children:[e.jsx("div",{className:"font-medium",children:((n=o.user)==null?void 0:n.name)||"-"}),e.jsx("div",{className:"text-xs text-gray-500",children:((h=o.user)==null?void 0:h.email)||""})]})}},{key:"user.type",label:t("User Type"),render:(r,o)=>{var h;const n=((h=o.user)==null?void 0:h.type)||"-";return n.charAt(0).toUpperCase()+n.slice(1)}},{key:"ip",label:t("IP Address"),sortable:!0,render:r=>r||"-"},{key:"date",label:t("Login Date"),sortable:!0,render:r=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(r,!0))||new Date(r).toLocaleString()}},{key:"Details",label:t("Details"),render:r=>{try{const o=JSON.parse(r||"{}");return e.jsxs("div",{className:"text-xs",children:[e.jsx("div",{children:o.browser_name||"-"}),e.jsx("div",{className:"text-gray-500",children:o.os_name||"-"})]})}catch{return"-"}}}],B=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"show-login-history"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-login-history"}];return e.jsxs(J,{title:t("Login History"),url:"/login-history",breadcrumbs:V,noPadding:!0,actions:[{label:t("Back"),icon:e.jsx(I,{className:"h-4 w-4"}),variant:"outline",onClick:()=>{var r;return l.visit(((r=a==null?void 0:a.user)==null?void 0:r.type)==="company"?route("users.index"):route("companies.index"))}}],children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:e.jsx(H,{searchTerm:c,onSearchChange:f,onSearch:L,filters:[],showFilters:P,setShowFilters:g,hasActiveFilters:A,activeFilterCount:O,onResetFilters:R,onApplyFilters:b,currentPerPage:((v=p.per_page)==null?void 0:v.toString())||"10",onPerPageChange:r=>{l.get(route("login-history.index"),{page:1,per_page:parseInt(r),search:c||void 0},{preserveState:!0,preserveScroll:!0})}})}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[e.jsx(X,{columns:q,actions:B,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:E,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:U,permissions:C,entityPermissions:{delete:"delete-login-history"}}),e.jsx(Z,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("login records"),onPageChange:r=>l.get(r)})]}),e.jsx(Y,{isOpen:k,onClose:()=>x(!1),onConfirm:M,itemName:`${((N=i==null?void 0:i.user)==null?void 0:N.name)||""} `,itemType:t("login history")}),e.jsx(G,{open:T,onOpenChange:y,children:e.jsxs(K,{className:"max-w-xl max-h-[80vh] overflow-y-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100",children:[e.jsx(Q,{children:e.jsx(W,{children:t("Login Details")})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("User")}),e.jsx("span",{className:"font-medium",children:((w=i==null?void 0:i.user)==null?void 0:w.name)||"-"})]}),e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("Email")}),e.jsx("span",{className:"font-medium",children:((S=i==null?void 0:i.user)==null?void 0:S.email)||"-"})]}),e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("User Type")}),e.jsx("span",{className:"font-medium",children:(D=i==null?void 0:i.user)!=null&&D.type?i.user.type.charAt(0).toUpperCase()+i.user.type.slice(1):"-"})]}),e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("IP Address")}),e.jsx("span",{className:"font-medium",children:(i==null?void 0:i.ip)||"-"})]}),e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("Login Date")}),e.jsx("span",{className:"font-medium",children:i!=null&&i.date?((_=window.appSettings)==null?void 0:_.formatDateTimeSimple(i.date,!0))||new Date(i.date).toLocaleString():"-"})]}),(()=>{try{const r=JSON.parse((i==null?void 0:i.Details)||"{}");return Object.entries(r).map(([o,n])=>e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600 capitalize",children:o.replace(/_/g," ")}),e.jsx("span",{className:"font-medium",children:String(n)||"-"})]},o))}catch{return null}})()]})]})})]})}export{At as default}; +import{r as u,j as e}from"./ui-Z445SNHD.js";import{P as J}from"./page-template-CLNVC8w_.js";import{u as z,c as $,r as l,D as G,h as K,j as Q,k as W,t as d}from"./app-Dya84jp7.js";import{C as X}from"./CrudTable-yqxtM6E_.js";import{C as Y}from"./CrudDeleteModal-D32N6I8y.js";import{P as Z}from"./pagination-4PUepASD.js";import{S as H}from"./search-and-filter-bar-DWH0yn_r.js";import{A as I}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function At(){var j,v,N,w,S,D,_;const{t}=z(),{auth:a,loginHistory:s,filters:p={},globalSettings:m}=$().props,C=(a==null?void 0:a.permissions)||[],[c,f]=u.useState(p.search||""),[P,g]=u.useState(!1),[k,x]=u.useState(!1),[T,y]=u.useState(!1),[i,F]=u.useState(null),A=()=>c!=="",O=()=>c!==""?1:0,L=r=>{r.preventDefault(),b()},b=()=>{l.get(route("login-history.index"),{page:1,search:c||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},U=r=>{const o=p.sort_field===r&&p.sort_direction==="asc"?"desc":"asc";l.get(route("login-history.index"),{sort_field:r,sort_direction:o,page:1,search:c||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},E=(r,o)=>{switch(F(o),r){case"view":y(!0);break;case"delete":x(!0);break}},M=()=>{m!=null&&m.is_demo||d.loading(t("Deleting login history...")),l.delete(route("login-history.destroy",i.id),{onSuccess:r=>{x(!1),m!=null&&m.is_demo||d.dismiss(),r.props.flash.success?d.success(t(r.props.flash.success)):r.props.flash.error&&d.error(t(r.props.flash.error))},onError:r=>{m!=null&&m.is_demo||d.dismiss(),typeof r=="string"?d.error(t(r)):d.error(t("Failed to delete login history: {{errors}}",{errors:Object.values(r).join(", ")}))}})},R=()=>{f(""),g(!1),l.get(route("login-history.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},V=[{title:t("Dashboard"),href:route("dashboard")},...((j=a==null?void 0:a.user)==null?void 0:j.type)==="company"?[{title:t("Users"),href:route("users.index")}]:[{title:t("Companies"),href:route("companies.index")}],{title:t("Login History")}],q=[{key:"user.name",label:t("User"),render:(r,o)=>{var n,h;return e.jsxs("div",{children:[e.jsx("div",{className:"font-medium",children:((n=o.user)==null?void 0:n.name)||"-"}),e.jsx("div",{className:"text-xs text-gray-500",children:((h=o.user)==null?void 0:h.email)||""})]})}},{key:"user.type",label:t("User Type"),render:(r,o)=>{var h;const n=((h=o.user)==null?void 0:h.type)||"-";return n.charAt(0).toUpperCase()+n.slice(1)}},{key:"ip",label:t("IP Address"),sortable:!0,render:r=>r||"-"},{key:"date",label:t("Login Date"),sortable:!0,render:r=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(r,!0))||new Date(r).toLocaleString()}},{key:"Details",label:t("Details"),render:r=>{try{const o=JSON.parse(r||"{}");return e.jsxs("div",{className:"text-xs",children:[e.jsx("div",{children:o.browser_name||"-"}),e.jsx("div",{className:"text-gray-500",children:o.os_name||"-"})]})}catch{return"-"}}}],B=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"show-login-history"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-login-history"}];return e.jsxs(J,{title:t("Login History"),url:"/login-history",breadcrumbs:V,noPadding:!0,actions:[{label:t("Back"),icon:e.jsx(I,{className:"h-4 w-4"}),variant:"outline",onClick:()=>{var r;return l.visit(((r=a==null?void 0:a.user)==null?void 0:r.type)==="company"?route("users.index"):route("companies.index"))}}],children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:e.jsx(H,{searchTerm:c,onSearchChange:f,onSearch:L,filters:[],showFilters:P,setShowFilters:g,hasActiveFilters:A,activeFilterCount:O,onResetFilters:R,onApplyFilters:b,currentPerPage:((v=p.per_page)==null?void 0:v.toString())||"10",onPerPageChange:r=>{l.get(route("login-history.index"),{page:1,per_page:parseInt(r),search:c||void 0},{preserveState:!0,preserveScroll:!0})}})}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[e.jsx(X,{columns:q,actions:B,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:E,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:U,permissions:C,entityPermissions:{delete:"delete-login-history"}}),e.jsx(Z,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("login records"),onPageChange:r=>l.get(r)})]}),e.jsx(Y,{isOpen:k,onClose:()=>x(!1),onConfirm:M,itemName:`${((N=i==null?void 0:i.user)==null?void 0:N.name)||""} `,itemType:t("login history")}),e.jsx(G,{open:T,onOpenChange:y,children:e.jsxs(K,{className:"max-w-xl max-h-[80vh] overflow-y-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100",children:[e.jsx(Q,{children:e.jsx(W,{children:t("Login Details")})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("User")}),e.jsx("span",{className:"font-medium",children:((w=i==null?void 0:i.user)==null?void 0:w.name)||"-"})]}),e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("Email")}),e.jsx("span",{className:"font-medium",children:((S=i==null?void 0:i.user)==null?void 0:S.email)||"-"})]}),e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("User Type")}),e.jsx("span",{className:"font-medium",children:(D=i==null?void 0:i.user)!=null&&D.type?i.user.type.charAt(0).toUpperCase()+i.user.type.slice(1):"-"})]}),e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("IP Address")}),e.jsx("span",{className:"font-medium",children:(i==null?void 0:i.ip)||"-"})]}),e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600",children:t("Login Date")}),e.jsx("span",{className:"font-medium",children:i!=null&&i.date?((_=window.appSettings)==null?void 0:_.formatDateTimeSimple(i.date,!0))||new Date(i.date).toLocaleString():"-"})]}),(()=>{try{const r=JSON.parse((i==null?void 0:i.Details)||"{}");return Object.entries(r).map(([o,n])=>e.jsxs("div",{className:"flex justify-between py-2 border-b border-gray-100",children:[e.jsx("span",{className:"text-gray-600 capitalize",children:o.replace(/_/g," ")}),e.jsx("span",{className:"font-medium",children:String(n)||"-"})]},o))}catch{return null}})()]})]})})]})}export{At as default}; diff --git a/public/build/assets/index-jrL8Swqa.js b/public/build/assets/index-BS6rhCib.js similarity index 70% rename from public/build/assets/index-jrL8Swqa.js rename to public/build/assets/index-BS6rhCib.js index 2bcae20ee..198a3706b 100644 --- a/public/build/assets/index-jrL8Swqa.js +++ b/public/build/assets/index-BS6rhCib.js @@ -1 +1 @@ -import{r as c,j as o}from"./ui-Z445SNHD.js";import{P as de}from"./page-template-BTxLyiDA.js";import{u as ce,c as ue,x as b,P as ve,r as y,M as fe,D as he,t as i}from"./app-CfhhiFAk.js";import{C as ye}from"./CrudTable-qPWooc10.js";import{C as _e}from"./CrudFormModal-DAR9q-oM.js";import{C as xe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as be}from"./pagination-D8A_HnL5.js";import{S as ge}from"./search-and-filter-bar-6Pp-FsiR.js";import{u as we}from"./use-initials-BK4eRgYY.js";import Se from"./view-DXMFTn3s.js";import{F as je}from"./file-down-Dd8zePUY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function fa(){var $,U,I,G;const{t:r}=ce(),{auth:n,leaveApplications:l,employees:j,leaveTypes:C,filters:d={},globalSettings:a}=ue().props,_=(n==null?void 0:n.permissions)||[],J=we(),u=!(b(_,"manage-leave-applications")||b(_,"manage-any-leave-applications"))&&(($=n==null?void 0:n.user)==null?void 0:$.type)==="employee",[x,k]=c.useState(d.search||""),[v,F]=c.useState(d.employee_id||"all"),[f,E]=c.useState(d.leave_type_id||"all"),[h,N]=c.useState(d.status||"all"),[z,T]=c.useState(!1),[B,g]=c.useState(!1),[H,D]=c.useState(!1),[Oe,Pe]=c.useState(!1),[m,L]=c.useState(null),[w,A]=c.useState("create"),[O,M]=c.useState(null),W=()=>x!==""||v!=="all"||f!=="all"||h!=="all",K=()=>(x?1:0)+(v!=="all"?1:0)+(f!=="all"?1:0)+(h!=="all"?1:0),Q=e=>{e.preventDefault(),R()},R=()=>{y.get(route("hr.leave-applications.index"),{page:1,search:x||void 0,employee_id:v!=="all"?v:void 0,leave_type_id:f!=="all"?f:void 0,status:h!=="all"?h:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},Y=e=>{const t=d.sort_field===e&&d.sort_direction==="asc"?"desc":"asc";y.get(route("hr.leave-applications.index"),{sort_field:e,sort_direction:t,page:1,search:x||void 0,employee_id:v!=="all"?v:void 0,leave_type_id:f!=="all"?f:void 0,status:h!=="all"?h:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},Z=(e,t)=>{switch(L(t),e){case"view":M(t);break;case"edit":A("edit"),g(!0);break;case"delete":D(!0);break;case"approve":q(t,"approved");break;case"reject":q(t,"rejected");break}},ee=()=>{L(null),A("create"),g(!0)},te=e=>{w==="create"?(a!=null&&a.is_demo||i.loading(r("Creating leave application...")),y.post(route("hr.leave-applications.store"),e,{onSuccess:t=>{g(!1),a!=null&&a.is_demo||i.dismiss(),t.props.flash.success?i.success(r(t.props.flash.success)):t.props.flash.error&&i.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to create leave application: ${Object.values(t).join(", ")}`)}})):w==="edit"&&(a!=null&&a.is_demo||i.loading(r("Updating leave application...")),y.put(route("hr.leave-applications.update",m.id),e,{onSuccess:t=>{g(!1),a!=null&&a.is_demo||i.dismiss(),t.props.flash.success?i.success(r(t.props.flash.success)):t.props.flash.error&&i.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to update leave application: ${Object.values(t).join(", ")}`)}}))},re=()=>{a!=null&&a.is_demo||i.loading(r("Deleting leave application...")),y.delete(route("hr.leave-applications.destroy",m.id),{onSuccess:e=>{D(!1),a!=null&&a.is_demo||i.dismiss(),e.props.flash.success?i.success(r(e.props.flash.success)):e.props.flash.error&&i.error(r(e.props.flash.error))},onError:e=>{a!=null&&a.is_demo||i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete leave application: ${Object.values(e).join(", ")}`)}})},q=(e,t)=>{const p=r(t==="approved"?"Approving":"Rejecting");a!=null&&a.is_demo||i.loading(`${p} leave application...`),y.put(route("hr.leave-applications.update-status",e.id),{status:t,manager_comments:""},{onSuccess:s=>{a!=null&&a.is_demo||i.dismiss(),s.props.flash.success?i.success(r(s.props.flash.success)):s.props.flash.error&&i.error(r(s.props.flash.error))},onError:s=>{a!=null&&a.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to update leave application status: ${Object.values(s).join(", ")}`)}})},ae=()=>{k(""),F("all"),E("all"),N("all"),T(!1),y.get(route("hr.leave-applications.index"),{page:1,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},ie=async()=>{try{const e=await fetch(route("hr.leave-applications.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!e.ok){const S=await e.json().catch(()=>({}));i.error(r(S.message||"Failed to export leave applications"));return}const t=await e.blob(),p=window.URL.createObjectURL(t),s=document.createElement("a");s.href=p,s.download=`leave_applications_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(s),s.click(),window.URL.revokeObjectURL(p),document.body.removeChild(s)}catch{i.error(r("Failed to export leave applications"))}},P=[];b(_,"export-leave-applications")&&P.push({label:r("Export"),icon:o.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ie}),(b(_,"create-leave-applications")||u)&&P.push({label:r("Add Leave Application"),icon:o.jsx(ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ee()});const oe=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Leave Management"),href:route("hr.leave-applications.index")},{title:r("Leave Applications")}],se=[{key:"employee",label:r("Employee"),render:(e,t)=>{var p,s,S,X,V;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(p=t.employee)!=null&&p.avatar?o.jsx("img",{src:t.employee.avatar,alt:(s=t.employee)==null?void 0:s.name,className:"h-full w-full object-cover"}):J(((S=t.employee)==null?void 0:S.name)||"")}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((X=t.employee)==null?void 0:X.name)||"-"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:((V=t.employee)==null?void 0:V.email)||""})]})]})}},{key:"leave_type",label:r("Leave Type"),render:(e,t)=>{var p,s;return o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:(p=t.leave_type)==null?void 0:p.color}}),o.jsx("span",{children:((s=t.leave_type)==null?void 0:s.name)||"-"})]})}},{key:"start_date",label:r("Start Date"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"end_date",label:r("End Date"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"total_days",label:r("Days"),render:e=>o.jsx("span",{className:"font-mono",children:e})},{key:"status",label:r("Status"),render:e=>{const t={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t[e]}`,children:e.charAt(0).toUpperCase()+e.slice(1)})}},{key:"created_at",label:r("Applied On"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],le=[{label:r("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:u?void 0:"view-leave-applications"},{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:u?void 0:"edit-leave-applications",condition:e=>e.status==="pending"},{label:r("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-leave-applications",condition:e=>{var p;return!(e.status!=="pending"||e.employee_id===((p=n==null?void 0:n.user)==null?void 0:p.id)&&!b(_,"manage-own-leave-applications"))}},{label:r("Reject"),icon:"XCircle",action:"reject",className:"text-red-500",requiredPermission:"reject-leave-applications",condition:e=>{var p;return!(e.status!=="pending"||e.employee_id===((p=n==null?void 0:n.user)==null?void 0:p.id)&&!b(_,"manage-own-leave-applications"))}},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:u?void 0:"delete-leave-applications",condition:e=>u?e.status==="pending":!0}],pe=[{value:"all",label:r("All Employees"),disabled:!0},...(j||[]).map(e=>({value:e.id.toString(),label:e.name}))],ne=[{value:"all",label:r("All Leave Types"),disabled:!0},...(C||[]).map(e=>({value:e.id.toString(),label:e.name}))],me=[{value:"all",label:r("All Statuses"),disabled:!0},{value:"pending",label:r("Pending")},{value:"approved",label:r("Approved")},{value:"rejected",label:r("Rejected")}];return o.jsxs(de,{title:r("Leave Applications"),url:"/hr/leave-applications",actions:P,breadcrumbs:oe,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ge,{searchTerm:x,onSearchChange:k,onSearch:Q,filters:[...u?[]:[{name:"employee_id",label:r("Employee"),type:"select",value:v,onChange:F,options:pe,searchable:!0}],{name:"leave_type_id",label:r("Leave Type"),type:"select",value:f,onChange:E,options:ne,searchable:!0},{name:"status",label:r("Status"),type:"select",value:h,onChange:N,options:me}],showFilters:z,setShowFilters:T,hasActiveFilters:W,activeFilterCount:K,onResetFilters:ae,onApplyFilters:R,currentPerPage:((U=d.per_page)==null?void 0:U.toString())||"10",onPerPageChange:e=>{y.get(route("hr.leave-applications.index"),{page:1,per_page:parseInt(e),search:x||void 0,employee_id:v!=="all"?v:void 0,leave_type_id:f!=="all"?f:void 0,status:h!=="all"?h:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(ye,{columns:se,actions:le,data:(l==null?void 0:l.data)||[],from:(l==null?void 0:l.from)||1,onAction:Z,sortField:d.sort_field,sortDirection:d.sort_direction,onSort:Y,permissions:_,entityPermissions:u?void 0:{view:"view-leave-applications",create:"create-leave-applications",edit:"edit-leave-applications",delete:"delete-leave-applications"}}),o.jsx(be,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:r("leave applications"),onPageChange:e=>y.get(e)})]}),o.jsx(_e,{isOpen:B,onClose:()=>g(!1),onSubmit:te,formConfig:{fields:[{name:"employee_id",label:r("Employee"),type:"select",required:!0,searchable:!0,conditional:()=>!u,options:j?j.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"leave_type_id",label:r("Leave Type"),type:"select",required:!0,searchable:!0,options:C?C.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"start_date",label:r("Start Date"),type:"date",required:!0},{name:"end_date",label:r("End Date"),type:"date",required:!0},{name:"reason",label:r("Reason"),type:"textarea",required:!0},{name:"attachment",label:r("Attachment"),type:"custom",render:(e,t,p)=>o.jsx("div",{children:o.jsx(fe,{value:String(t[e.name]||""),onChange:s=>p(e.name,s),placeholder:r("Select attachment file...")})}),helpText:r("Upload PDF, DOC, DOCX, JPG, JPEG, PNG files")}],modalSize:"lg"},initialData:m?{...m,start_date:m.start_date?window.appSettings.formatDateTimeSimple(m.start_date,!1):m.start_date,end_date:m.end_date?window.appSettings.formatDateTimeSimple(m.end_date,!1):m.end_date}:u&&(n!=null&&n.user)?{employee_id:n.user.id.toString()}:null,title:r(w==="create"?"Add New Leave Application":"Edit Leave Application"),mode:w}),o.jsx(xe,{isOpen:H,onClose:()=>D(!1),onConfirm:re,itemName:`${(I=m==null?void 0:m.employee)==null?void 0:I.name} - ${(G=m==null?void 0:m.leave_type)==null?void 0:G.name}`||"",entityName:"leave application"}),o.jsx(he,{open:!!O,onOpenChange:()=>M(null),children:O&&o.jsx(Se,{leaveApplication:O})})]})}export{fa as default}; +import{r as c,j as o}from"./ui-Z445SNHD.js";import{P as de}from"./page-template-CLNVC8w_.js";import{u as ce,c as ue,x as b,P as ve,r as y,M as fe,D as he,t as i}from"./app-Dya84jp7.js";import{C as ye}from"./CrudTable-yqxtM6E_.js";import{C as _e}from"./CrudFormModal-CsuqSfb2.js";import{C as xe}from"./CrudDeleteModal-D32N6I8y.js";import{P as be}from"./pagination-4PUepASD.js";import{S as ge}from"./search-and-filter-bar-DWH0yn_r.js";import{u as we}from"./use-initials-BK4eRgYY.js";import Se from"./view-CIsuARGL.js";import{F as je}from"./file-down-DO17xCrw.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function fa(){var $,U,I,G;const{t:r}=ce(),{auth:n,leaveApplications:l,employees:j,leaveTypes:C,filters:d={},globalSettings:a}=ue().props,_=(n==null?void 0:n.permissions)||[],J=we(),u=!(b(_,"manage-leave-applications")||b(_,"manage-any-leave-applications"))&&(($=n==null?void 0:n.user)==null?void 0:$.type)==="employee",[x,k]=c.useState(d.search||""),[v,F]=c.useState(d.employee_id||"all"),[f,E]=c.useState(d.leave_type_id||"all"),[h,N]=c.useState(d.status||"all"),[z,T]=c.useState(!1),[B,g]=c.useState(!1),[H,D]=c.useState(!1),[Oe,Pe]=c.useState(!1),[m,L]=c.useState(null),[w,A]=c.useState("create"),[O,M]=c.useState(null),W=()=>x!==""||v!=="all"||f!=="all"||h!=="all",K=()=>(x?1:0)+(v!=="all"?1:0)+(f!=="all"?1:0)+(h!=="all"?1:0),Q=e=>{e.preventDefault(),R()},R=()=>{y.get(route("hr.leave-applications.index"),{page:1,search:x||void 0,employee_id:v!=="all"?v:void 0,leave_type_id:f!=="all"?f:void 0,status:h!=="all"?h:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},Y=e=>{const t=d.sort_field===e&&d.sort_direction==="asc"?"desc":"asc";y.get(route("hr.leave-applications.index"),{sort_field:e,sort_direction:t,page:1,search:x||void 0,employee_id:v!=="all"?v:void 0,leave_type_id:f!=="all"?f:void 0,status:h!=="all"?h:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},Z=(e,t)=>{switch(L(t),e){case"view":M(t);break;case"edit":A("edit"),g(!0);break;case"delete":D(!0);break;case"approve":q(t,"approved");break;case"reject":q(t,"rejected");break}},ee=()=>{L(null),A("create"),g(!0)},te=e=>{w==="create"?(a!=null&&a.is_demo||i.loading(r("Creating leave application...")),y.post(route("hr.leave-applications.store"),e,{onSuccess:t=>{g(!1),a!=null&&a.is_demo||i.dismiss(),t.props.flash.success?i.success(r(t.props.flash.success)):t.props.flash.error&&i.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to create leave application: ${Object.values(t).join(", ")}`)}})):w==="edit"&&(a!=null&&a.is_demo||i.loading(r("Updating leave application...")),y.put(route("hr.leave-applications.update",m.id),e,{onSuccess:t=>{g(!1),a!=null&&a.is_demo||i.dismiss(),t.props.flash.success?i.success(r(t.props.flash.success)):t.props.flash.error&&i.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to update leave application: ${Object.values(t).join(", ")}`)}}))},re=()=>{a!=null&&a.is_demo||i.loading(r("Deleting leave application...")),y.delete(route("hr.leave-applications.destroy",m.id),{onSuccess:e=>{D(!1),a!=null&&a.is_demo||i.dismiss(),e.props.flash.success?i.success(r(e.props.flash.success)):e.props.flash.error&&i.error(r(e.props.flash.error))},onError:e=>{a!=null&&a.is_demo||i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete leave application: ${Object.values(e).join(", ")}`)}})},q=(e,t)=>{const p=r(t==="approved"?"Approving":"Rejecting");a!=null&&a.is_demo||i.loading(`${p} leave application...`),y.put(route("hr.leave-applications.update-status",e.id),{status:t,manager_comments:""},{onSuccess:s=>{a!=null&&a.is_demo||i.dismiss(),s.props.flash.success?i.success(r(s.props.flash.success)):s.props.flash.error&&i.error(r(s.props.flash.error))},onError:s=>{a!=null&&a.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to update leave application status: ${Object.values(s).join(", ")}`)}})},ae=()=>{k(""),F("all"),E("all"),N("all"),T(!1),y.get(route("hr.leave-applications.index"),{page:1,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},ie=async()=>{try{const e=await fetch(route("hr.leave-applications.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!e.ok){const S=await e.json().catch(()=>({}));i.error(r(S.message||"Failed to export leave applications"));return}const t=await e.blob(),p=window.URL.createObjectURL(t),s=document.createElement("a");s.href=p,s.download=`leave_applications_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(s),s.click(),window.URL.revokeObjectURL(p),document.body.removeChild(s)}catch{i.error(r("Failed to export leave applications"))}},P=[];b(_,"export-leave-applications")&&P.push({label:r("Export"),icon:o.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ie}),(b(_,"create-leave-applications")||u)&&P.push({label:r("Add Leave Application"),icon:o.jsx(ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ee()});const oe=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Leave Management"),href:route("hr.leave-applications.index")},{title:r("Leave Applications")}],se=[{key:"employee",label:r("Employee"),render:(e,t)=>{var p,s,S,X,V;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(p=t.employee)!=null&&p.avatar?o.jsx("img",{src:t.employee.avatar,alt:(s=t.employee)==null?void 0:s.name,className:"h-full w-full object-cover"}):J(((S=t.employee)==null?void 0:S.name)||"")}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((X=t.employee)==null?void 0:X.name)||"-"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:((V=t.employee)==null?void 0:V.email)||""})]})]})}},{key:"leave_type",label:r("Leave Type"),render:(e,t)=>{var p,s;return o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:(p=t.leave_type)==null?void 0:p.color}}),o.jsx("span",{children:((s=t.leave_type)==null?void 0:s.name)||"-"})]})}},{key:"start_date",label:r("Start Date"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"end_date",label:r("End Date"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"total_days",label:r("Days"),render:e=>o.jsx("span",{className:"font-mono",children:e})},{key:"status",label:r("Status"),render:e=>{const t={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t[e]}`,children:e.charAt(0).toUpperCase()+e.slice(1)})}},{key:"created_at",label:r("Applied On"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],le=[{label:r("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:u?void 0:"view-leave-applications"},{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:u?void 0:"edit-leave-applications",condition:e=>e.status==="pending"},{label:r("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-leave-applications",condition:e=>{var p;return!(e.status!=="pending"||e.employee_id===((p=n==null?void 0:n.user)==null?void 0:p.id)&&!b(_,"manage-own-leave-applications"))}},{label:r("Reject"),icon:"XCircle",action:"reject",className:"text-red-500",requiredPermission:"reject-leave-applications",condition:e=>{var p;return!(e.status!=="pending"||e.employee_id===((p=n==null?void 0:n.user)==null?void 0:p.id)&&!b(_,"manage-own-leave-applications"))}},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:u?void 0:"delete-leave-applications",condition:e=>u?e.status==="pending":!0}],pe=[{value:"all",label:r("All Employees"),disabled:!0},...(j||[]).map(e=>({value:e.id.toString(),label:e.name}))],ne=[{value:"all",label:r("All Leave Types"),disabled:!0},...(C||[]).map(e=>({value:e.id.toString(),label:e.name}))],me=[{value:"all",label:r("All Statuses"),disabled:!0},{value:"pending",label:r("Pending")},{value:"approved",label:r("Approved")},{value:"rejected",label:r("Rejected")}];return o.jsxs(de,{title:r("Leave Applications"),url:"/hr/leave-applications",actions:P,breadcrumbs:oe,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ge,{searchTerm:x,onSearchChange:k,onSearch:Q,filters:[...u?[]:[{name:"employee_id",label:r("Employee"),type:"select",value:v,onChange:F,options:pe,searchable:!0}],{name:"leave_type_id",label:r("Leave Type"),type:"select",value:f,onChange:E,options:ne,searchable:!0},{name:"status",label:r("Status"),type:"select",value:h,onChange:N,options:me}],showFilters:z,setShowFilters:T,hasActiveFilters:W,activeFilterCount:K,onResetFilters:ae,onApplyFilters:R,currentPerPage:((U=d.per_page)==null?void 0:U.toString())||"10",onPerPageChange:e=>{y.get(route("hr.leave-applications.index"),{page:1,per_page:parseInt(e),search:x||void 0,employee_id:v!=="all"?v:void 0,leave_type_id:f!=="all"?f:void 0,status:h!=="all"?h:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(ye,{columns:se,actions:le,data:(l==null?void 0:l.data)||[],from:(l==null?void 0:l.from)||1,onAction:Z,sortField:d.sort_field,sortDirection:d.sort_direction,onSort:Y,permissions:_,entityPermissions:u?void 0:{view:"view-leave-applications",create:"create-leave-applications",edit:"edit-leave-applications",delete:"delete-leave-applications"}}),o.jsx(be,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:r("leave applications"),onPageChange:e=>y.get(e)})]}),o.jsx(_e,{isOpen:B,onClose:()=>g(!1),onSubmit:te,formConfig:{fields:[{name:"employee_id",label:r("Employee"),type:"select",required:!0,searchable:!0,conditional:()=>!u,options:j?j.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"leave_type_id",label:r("Leave Type"),type:"select",required:!0,searchable:!0,options:C?C.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"start_date",label:r("Start Date"),type:"date",required:!0},{name:"end_date",label:r("End Date"),type:"date",required:!0},{name:"reason",label:r("Reason"),type:"textarea",required:!0},{name:"attachment",label:r("Attachment"),type:"custom",render:(e,t,p)=>o.jsx("div",{children:o.jsx(fe,{value:String(t[e.name]||""),onChange:s=>p(e.name,s),placeholder:r("Select attachment file...")})}),helpText:r("Upload PDF, DOC, DOCX, JPG, JPEG, PNG files")}],modalSize:"lg"},initialData:m?{...m,start_date:m.start_date?window.appSettings.formatDateTimeSimple(m.start_date,!1):m.start_date,end_date:m.end_date?window.appSettings.formatDateTimeSimple(m.end_date,!1):m.end_date}:u&&(n!=null&&n.user)?{employee_id:n.user.id.toString()}:null,title:r(w==="create"?"Add New Leave Application":"Edit Leave Application"),mode:w}),o.jsx(xe,{isOpen:H,onClose:()=>D(!1),onConfirm:re,itemName:`${(I=m==null?void 0:m.employee)==null?void 0:I.name} - ${(G=m==null?void 0:m.leave_type)==null?void 0:G.name}`||"",entityName:"leave application"}),o.jsx(he,{open:!!O,onOpenChange:()=>M(null),children:O&&o.jsx(Se,{leaveApplication:O})})]})}export{fa as default}; diff --git a/public/build/assets/index-DfDYhnBt.js b/public/build/assets/index-BSGmDIhX.js similarity index 66% rename from public/build/assets/index-DfDYhnBt.js rename to public/build/assets/index-BSGmDIhX.js index f2be4cfe6..787f3b115 100644 --- a/public/build/assets/index-DfDYhnBt.js +++ b/public/build/assets/index-BSGmDIhX.js @@ -1 +1 @@ -import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-BTxLyiDA.js";import{u as le,c as pe,x as M,P as me,r as d,D as ne,t as o}from"./app-CfhhiFAk.js";import{C as de}from"./CrudTable-qPWooc10.js";import{C as q}from"./CrudFormModal-DAR9q-oM.js";import{C as ce}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ue}from"./pagination-D8A_HnL5.js";import{S as ge}from"./search-and-filter-bar-6Pp-FsiR.js";import fe from"./view-DeKROn_z.js";import{P as I}from"./progress-CJ4ij2ij.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ro(){var A;const{t:e}=le(),{auth:h,goals:a,employees:P,goalTypes:C,filters:i={}}=pe().props,b=(h==null?void 0:h.permissions)||[],[c,j]=p.useState(i.search||""),[u,w]=p.useState(i.employee_id||""),[g,E]=p.useState(i.goal_type_id||""),[n,N]=p.useState(i.status||"all"),[$,k]=p.useState(!1),[V,S]=p.useState(!1),[R,f]=p.useState(!1),[U,x]=p.useState(!1),[l,D]=p.useState(null),[y,F]=p.useState("create"),[v,T]=p.useState(null),[_,z]=p.useState(0),B=()=>n!=="all"||c!==""||u!==""||g!=="",L=()=>(n!=="all"?1:0)+(c?1:0)+(u?1:0)+(g?1:0),H=t=>{t.preventDefault(),O()},O=()=>{d.get(route("hr.performance.employee-goals.index"),{page:1,search:c||void 0,employee_id:u||void 0,goal_type_id:g||void 0,status:n!=="all"?n:void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},J=t=>{const r=i.sort_field===t&&i.sort_direction==="asc"?"desc":"asc";d.get(route("hr.performance.employee-goals.index"),{sort_field:t,sort_direction:r,page:1,search:c||void 0,employee_id:u||void 0,goal_type_id:g||void 0,status:n!=="all"?n:void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},K=(t,r)=>{switch(D(r),t){case"view":T(r);break;case"edit":F("edit"),f(!0);break;case"delete":S(!0);break;case"update-progress":z(r.progress||0),x(!0);break}},Q=()=>{D(null),F("create"),f(!0)},W=t=>{y==="create"?(o.loading(e("Creating employee goal...")),d.post(route("hr.performance.employee-goals.store"),t,{onSuccess:r=>{f(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Employee goal created successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to create goal: ${Object.values(r).join(", ")}`)}})):y==="edit"&&(o.loading(e("Updating employee goal...")),d.put(route("hr.performance.employee-goals.update",l.id),t,{onSuccess:r=>{f(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Employee goal updated successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update goal: ${Object.values(r).join(", ")}`)}}))},X=t=>{o.loading(e("Updating goal progress...")),d.put(route("hr.performance.employee-goals.update-progress",l.id),{progress:t.progress},{onSuccess:r=>{x(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Goal progress updated successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update progress: ${Object.values(r).join(", ")}`)}})},Y=()=>{o.loading(e("Deleting employee goal...")),d.delete(route("hr.performance.employee-goals.destroy",l.id),{onSuccess:t=>{S(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error?o.error(e(t.props.flash.error)):o.success(e("Employee goal deleted successfully"))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to delete goal: ${Object.values(t).join(", ")}`)}})},Z=()=>{j(""),w(""),E(""),N("all"),k(!1),d.get(route("hr.performance.employee-goals.index"),{page:1,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},G=[];M(b,"create-employee-goals")&&G.push({label:e("Add Goal"),icon:s.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>Q()});const ee=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:e("Performance"),href:route("hr.performance.indicator-categories.index")},{title:e("Employee Goals")}],te=[{key:"title",label:e("Title"),sortable:!0},{key:"employee",label:e("Employee"),render:(t,r)=>{var m;return((m=r.employee)==null?void 0:m.name)||"-"}},{key:"goal_type.name",label:e("Goal Type"),render:(t,r)=>{var m;return((m=r.goal_type)==null?void 0:m.name)||"-"}},{key:"start_date",label:e("Start Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"end_date",label:e("End Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"progress",label:e("Progress"),render:t=>s.jsxs("div",{className:"flex items-center gap-2 w-full min-w-[120px]",children:[s.jsx(I,{value:t,className:"h-2 flex-1"}),s.jsxs("span",{className:"text-xs font-medium text-gray-600 dark:text-gray-400 shrink-0",children:[t,"%"]})]})},{key:"status",label:e("Status"),render:t=>{let r="",m="";switch(t){case"not_started":r="bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20",m=e("Not Started");break;case"in_progress":r="bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20",m=e("In Progress");break;case"completed":r="bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",m=e("Completed");break;default:r="bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20",m=t}return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r}`,children:m})}}],re=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-goals"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-goals"},{label:e("Update Progress"),icon:"BarChart",action:"update-progress",className:"text-green-500",requiredPermission:"edit-employee-goals"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-goals"}],oe=[{value:"all",label:e("All Statuses")},{value:"not_started",label:e("Not Started")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")}],se=[{value:"",label:e("All Employees")},...(P||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],ae=[{value:"",label:e("All Goal Types")},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))];return s.jsxs(ie,{title:e("Employee Goals"),url:"/hr/performance/employee-goals",actions:G,breadcrumbs:ee,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ge,{searchTerm:c,onSearchChange:j,onSearch:H,filters:[...M(b,"manage-any-employee-goals")?[{name:"employee_id",label:e("Employee"),type:"select",value:u,onChange:w,options:se,searchable:!0}]:[],{name:"goal_type_id",label:e("Goal Type"),type:"select",value:g,onChange:E,options:ae,searchable:!0},{name:"status",label:e("Status"),type:"select",value:n,onChange:N,options:oe}],showFilters:$,setShowFilters:k,hasActiveFilters:B,activeFilterCount:L,onResetFilters:Z,onApplyFilters:O,currentPerPage:((A=i.per_page)==null?void 0:A.toString())||"10",onPerPageChange:t=>{d.get(route("hr.performance.employee-goals.index"),{page:1,per_page:parseInt(t),search:c||void 0,employee_id:u||void 0,goal_type_id:g||void 0,status:n!=="all"?n:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(de,{columns:te,actions:re,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:K,sortField:i.sort_field,sortDirection:i.sort_direction,onSort:J,permissions:b,entityPermissions:{view:"view-employee-goals",create:"create-employee-goals",edit:"edit-employee-goals",delete:"delete-employee-goals"}}),s.jsx(ue,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("employee goals"),onPageChange:t=>d.get(t)})]}),s.jsx(q,{isOpen:R,onClose:()=>f(!1),onSubmit:W,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,searchable:!0,options:P.map(t=>({value:t.id,label:`${t.name} (${t.employee_id})`}))},{name:"goal_type_id",label:e("Goal Type"),type:"select",searchable:!0,required:!0,options:C.map(t=>({value:t.id.toString(),label:t.name}))},{name:"title",label:e("Goal Title"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",required:!0},{name:"target",label:e("Target"),type:"text",placeholder:"e.g., Complete 5 projects, Achieve 95% accuracy, etc."},{name:"progress",label:e("Progress (%)"),type:"number",min:0,max:100,defaultValue:0},{name:"status",label:e("Status"),type:"select",options:[{value:"not_started",label:e("Not Started")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")}],defaultValue:"not_started"}],modalSize:"lg"},initialData:l?{...l,start_date:l.start_date?l.start_date.substring(0,10):"",end_date:l.end_date?l.end_date.substring(0,10):""}:null,title:e(y==="create"?"Add New Employee Goal":"Edit Employee Goal"),mode:y}),s.jsx(q,{isOpen:U,onClose:()=>x(!1),onSubmit:X,formConfig:{fields:[{name:"progress",label:e("Progress (%)"),type:"number",min:0,max:100,step:5,required:!0}],modalSize:"sm"},initialData:{progress:_},title:e("Update Goal Progress"),mode:"edit",customContent:s.jsxs("div",{className:"mb-4 text-center",children:[s.jsxs("div",{className:"text-3xl font-bold",children:[_,"%"]}),s.jsx(I,{value:_,className:"h-2 mt-2"})]})}),s.jsx(ce,{isOpen:V,onClose:()=>S(!1),onConfirm:Y,itemName:(l==null?void 0:l.title)||"",entityName:"employee goal"}),s.jsx(ne,{open:!!v,onOpenChange:()=>T(null),children:v&&s.jsx(fe,{goal:v})})]})}export{ro as default}; +import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-CLNVC8w_.js";import{u as le,c as pe,x as M,P as me,r as d,D as ne,t as o}from"./app-Dya84jp7.js";import{C as de}from"./CrudTable-yqxtM6E_.js";import{C as q}from"./CrudFormModal-CsuqSfb2.js";import{C as ce}from"./CrudDeleteModal-D32N6I8y.js";import{P as ue}from"./pagination-4PUepASD.js";import{S as ge}from"./search-and-filter-bar-DWH0yn_r.js";import fe from"./view-CbD001QY.js";import{P as I}from"./progress-NbCMYaUz.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ro(){var A;const{t:e}=le(),{auth:h,goals:a,employees:P,goalTypes:C,filters:i={}}=pe().props,b=(h==null?void 0:h.permissions)||[],[c,j]=p.useState(i.search||""),[u,w]=p.useState(i.employee_id||""),[g,E]=p.useState(i.goal_type_id||""),[n,N]=p.useState(i.status||"all"),[$,k]=p.useState(!1),[V,S]=p.useState(!1),[R,f]=p.useState(!1),[U,x]=p.useState(!1),[l,D]=p.useState(null),[y,F]=p.useState("create"),[v,T]=p.useState(null),[_,z]=p.useState(0),B=()=>n!=="all"||c!==""||u!==""||g!=="",L=()=>(n!=="all"?1:0)+(c?1:0)+(u?1:0)+(g?1:0),H=t=>{t.preventDefault(),O()},O=()=>{d.get(route("hr.performance.employee-goals.index"),{page:1,search:c||void 0,employee_id:u||void 0,goal_type_id:g||void 0,status:n!=="all"?n:void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},J=t=>{const r=i.sort_field===t&&i.sort_direction==="asc"?"desc":"asc";d.get(route("hr.performance.employee-goals.index"),{sort_field:t,sort_direction:r,page:1,search:c||void 0,employee_id:u||void 0,goal_type_id:g||void 0,status:n!=="all"?n:void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},K=(t,r)=>{switch(D(r),t){case"view":T(r);break;case"edit":F("edit"),f(!0);break;case"delete":S(!0);break;case"update-progress":z(r.progress||0),x(!0);break}},Q=()=>{D(null),F("create"),f(!0)},W=t=>{y==="create"?(o.loading(e("Creating employee goal...")),d.post(route("hr.performance.employee-goals.store"),t,{onSuccess:r=>{f(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Employee goal created successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to create goal: ${Object.values(r).join(", ")}`)}})):y==="edit"&&(o.loading(e("Updating employee goal...")),d.put(route("hr.performance.employee-goals.update",l.id),t,{onSuccess:r=>{f(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Employee goal updated successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update goal: ${Object.values(r).join(", ")}`)}}))},X=t=>{o.loading(e("Updating goal progress...")),d.put(route("hr.performance.employee-goals.update-progress",l.id),{progress:t.progress},{onSuccess:r=>{x(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Goal progress updated successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update progress: ${Object.values(r).join(", ")}`)}})},Y=()=>{o.loading(e("Deleting employee goal...")),d.delete(route("hr.performance.employee-goals.destroy",l.id),{onSuccess:t=>{S(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error?o.error(e(t.props.flash.error)):o.success(e("Employee goal deleted successfully"))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to delete goal: ${Object.values(t).join(", ")}`)}})},Z=()=>{j(""),w(""),E(""),N("all"),k(!1),d.get(route("hr.performance.employee-goals.index"),{page:1,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},G=[];M(b,"create-employee-goals")&&G.push({label:e("Add Goal"),icon:s.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>Q()});const ee=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:e("Performance"),href:route("hr.performance.indicator-categories.index")},{title:e("Employee Goals")}],te=[{key:"title",label:e("Title"),sortable:!0},{key:"employee",label:e("Employee"),render:(t,r)=>{var m;return((m=r.employee)==null?void 0:m.name)||"-"}},{key:"goal_type.name",label:e("Goal Type"),render:(t,r)=>{var m;return((m=r.goal_type)==null?void 0:m.name)||"-"}},{key:"start_date",label:e("Start Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"end_date",label:e("End Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"progress",label:e("Progress"),render:t=>s.jsxs("div",{className:"flex items-center gap-2 w-full min-w-[120px]",children:[s.jsx(I,{value:t,className:"h-2 flex-1"}),s.jsxs("span",{className:"text-xs font-medium text-gray-600 dark:text-gray-400 shrink-0",children:[t,"%"]})]})},{key:"status",label:e("Status"),render:t=>{let r="",m="";switch(t){case"not_started":r="bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20",m=e("Not Started");break;case"in_progress":r="bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20",m=e("In Progress");break;case"completed":r="bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",m=e("Completed");break;default:r="bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20",m=t}return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r}`,children:m})}}],re=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-goals"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-goals"},{label:e("Update Progress"),icon:"BarChart",action:"update-progress",className:"text-green-500",requiredPermission:"edit-employee-goals"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-goals"}],oe=[{value:"all",label:e("All Statuses")},{value:"not_started",label:e("Not Started")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")}],se=[{value:"",label:e("All Employees")},...(P||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],ae=[{value:"",label:e("All Goal Types")},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))];return s.jsxs(ie,{title:e("Employee Goals"),url:"/hr/performance/employee-goals",actions:G,breadcrumbs:ee,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ge,{searchTerm:c,onSearchChange:j,onSearch:H,filters:[...M(b,"manage-any-employee-goals")?[{name:"employee_id",label:e("Employee"),type:"select",value:u,onChange:w,options:se,searchable:!0}]:[],{name:"goal_type_id",label:e("Goal Type"),type:"select",value:g,onChange:E,options:ae,searchable:!0},{name:"status",label:e("Status"),type:"select",value:n,onChange:N,options:oe}],showFilters:$,setShowFilters:k,hasActiveFilters:B,activeFilterCount:L,onResetFilters:Z,onApplyFilters:O,currentPerPage:((A=i.per_page)==null?void 0:A.toString())||"10",onPerPageChange:t=>{d.get(route("hr.performance.employee-goals.index"),{page:1,per_page:parseInt(t),search:c||void 0,employee_id:u||void 0,goal_type_id:g||void 0,status:n!=="all"?n:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(de,{columns:te,actions:re,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:K,sortField:i.sort_field,sortDirection:i.sort_direction,onSort:J,permissions:b,entityPermissions:{view:"view-employee-goals",create:"create-employee-goals",edit:"edit-employee-goals",delete:"delete-employee-goals"}}),s.jsx(ue,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("employee goals"),onPageChange:t=>d.get(t)})]}),s.jsx(q,{isOpen:R,onClose:()=>f(!1),onSubmit:W,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,searchable:!0,options:P.map(t=>({value:t.id,label:`${t.name} (${t.employee_id})`}))},{name:"goal_type_id",label:e("Goal Type"),type:"select",searchable:!0,required:!0,options:C.map(t=>({value:t.id.toString(),label:t.name}))},{name:"title",label:e("Goal Title"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",required:!0},{name:"target",label:e("Target"),type:"text",placeholder:"e.g., Complete 5 projects, Achieve 95% accuracy, etc."},{name:"progress",label:e("Progress (%)"),type:"number",min:0,max:100,defaultValue:0},{name:"status",label:e("Status"),type:"select",options:[{value:"not_started",label:e("Not Started")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")}],defaultValue:"not_started"}],modalSize:"lg"},initialData:l?{...l,start_date:l.start_date?l.start_date.substring(0,10):"",end_date:l.end_date?l.end_date.substring(0,10):""}:null,title:e(y==="create"?"Add New Employee Goal":"Edit Employee Goal"),mode:y}),s.jsx(q,{isOpen:U,onClose:()=>x(!1),onSubmit:X,formConfig:{fields:[{name:"progress",label:e("Progress (%)"),type:"number",min:0,max:100,step:5,required:!0}],modalSize:"sm"},initialData:{progress:_},title:e("Update Goal Progress"),mode:"edit",customContent:s.jsxs("div",{className:"mb-4 text-center",children:[s.jsxs("div",{className:"text-3xl font-bold",children:[_,"%"]}),s.jsx(I,{value:_,className:"h-2 mt-2"})]})}),s.jsx(ce,{isOpen:V,onClose:()=>S(!1),onConfirm:Y,itemName:(l==null?void 0:l.title)||"",entityName:"employee goal"}),s.jsx(ne,{open:!!v,onOpenChange:()=>T(null),children:v&&s.jsx(fe,{goal:v})})]})}export{ro as default}; diff --git a/public/build/assets/index-BU-HRVXV.js b/public/build/assets/index-BU-HRVXV.js new file mode 100644 index 000000000..88b0588b0 --- /dev/null +++ b/public/build/assets/index-BU-HRVXV.js @@ -0,0 +1 @@ +import{R as n,j as o}from"./ui-Z445SNHD.js";import{t as i,P as u}from"./i18n-Db6Gz1TD.js";import{d as a,B as l,e as d,u as x}from"./app-Dya84jp7.js";import{S as b}from"./switch-DyHgm-Sg.js";import"./page-template-CLNVC8w_.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./pagination-4PUepASD.js";import"./CrudTable-yqxtM6E_.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./CrudFormModal-CsuqSfb2.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./CrudDeleteModal-D32N6I8y.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const f={status:(e={},r="bg-gray-100 text-gray-800")=>t=>{if(t==null)return o.jsx("span",{children:"-"});if(typeof t=="boolean")return o.jsx(l,{className:d("capitalize",t?"bg-green-100 text-green-800":"bg-red-100 text-red-800"),children:t?"Active":"Inactive"});const m=e[t]||r;return o.jsx(l,{className:d("capitalize",m),children:t})},image:(e="h-16 w-20 rounded-md object-cover shadow-sm",r="https://placehold.co/200x150?text=Image+Not+Found")=>(t,m)=>{if(!t)return o.jsx("div",{className:"text-center text-gray-400",children:"No image"});const p=typeof t=="string"&&t.startsWith("http")?t:`/storage/${t}`;return o.jsx("div",{className:"flex justify-center",children:o.jsx("img",{src:p,alt:"Image",className:e,onError:s=>{s.currentTarget.src=r}})})},price:(e="USD",r="en-US")=>t=>{if(t==null)return o.jsx("span",{children:"-"});const m=typeof t=="string"?parseFloat(t):t;return o.jsx("span",{className:"text-sm font-medium",children:m.toLocaleString(r,{style:"currency",currency:e})})},date:(e=!1)=>r=>{if(!r)return o.jsx("span",{children:"-"});try{if(typeof window<"u"&&window.appSettings){const p=window.appSettings.formatDateTime(r,!1);return o.jsx("span",{className:"text-sm",children:p})}const t=new Date(r),m=e?{dateStyle:"medium",timeStyle:"short"}:{dateStyle:"medium"};return o.jsx("span",{className:"text-sm",children:t.toLocaleDateString("en-US",m)})}catch{return o.jsx("span",{className:"text-sm",children:r})}},boolean:()=>e=>o.jsx("span",{children:e?"Yes":"No"}),relation:e=>(r,t)=>t?t&&t[e]?o.jsx("span",{children:t[e]}):o.jsx("span",{children:"-"}):o.jsx("span",{children:"-"}),link:(e,r="text-blue-600 hover:underline",t=!1)=>(m,p)=>{if(!m)return o.jsx("span",{children:"-"});const s=typeof e=="function"?e(p):e.replace(":id",p.id);return o.jsx(a,{href:s,className:r,target:t?"_blank":void 0,children:m})},button:(e,r,t="px-2 py-1 text-xs bg-blue-500 text-white rounded hover:bg-blue-600",m=!1)=>(p,s)=>{const c=typeof r=="function"?r(s):r.replace(":id",s.id);return o.jsx(a,{href:c,className:t,target:m?"_blank":void 0,children:e})},switch:(e,r=!1)=>(t,m)=>{const p=()=>{!r&&e&&e(m.id,!t)};return n.createElement("div",{className:"flex items-center justify-center"},[n.createElement(b,{key:"switch",checked:!!t,onCheckedChange:p,disabled:r})])}},h={entity:{name:"permissions",endpoint:route("permissions.index"),permissions:{view:"view-permissions",create:"create-permissions",edit:"edit-permissions",delete:"delete-permissions"}},description:i("Manage system permissions for different modules"),table:{columns:[{key:"module",label:i("Module"),sortable:!0,render:f.status({[i("Products")]:"bg-blue-100 text-blue-800",[i("Categories")]:"bg-green-100 text-green-800",[i("Contacts")]:"bg-purple-100 text-purple-800",[i("Permissions")]:"bg-amber-100 text-amber-800",[i("Roles")]:"bg-red-100 text-red-800",[i("Users")]:"bg-indigo-100 text-indigo-800"})},{key:"name",label:i("Name"),sortable:!0},{key:"label",label:i("Label"),sortable:!0},{key:"description",label:i("Description")},{key:"created_at",label:i("Created At"),sortable:!0,render:e=>`${window.appSettings.formatDateTime(e,!1)}`}],actions:[{label:i("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-permissions"},{label:i("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-permissions"},{label:i("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-permissions"}]},filters:[{key:"module",label:i("Module"),type:"select",options:[]}],form:{fields:[{name:"module",label:i("Module"),type:"text",required:!0},{name:"label",label:i("Label"),type:"text",required:!0,description:i("The name field will be automatically generated from this label")},{name:"description",label:i("Description"),type:"textarea"}]}};function rr(){const{t:e}=x(),r=[{title:e("Dashboard"),href:route("dashboard")},{title:e("User Management"),href:route("roles.index")},{title:e("Permissions")}];return o.jsx(u,{config:h,url:"/permissions",breadcrumbs:r})}export{rr as default}; diff --git a/public/build/assets/index-DK_uunBY.js b/public/build/assets/index-BVJa5G__.js similarity index 69% rename from public/build/assets/index-DK_uunBY.js rename to public/build/assets/index-BVJa5G__.js index 4db25ea62..a921bb2d3 100644 --- a/public/build/assets/index-DK_uunBY.js +++ b/public/build/assets/index-BVJa5G__.js @@ -1 +1 @@ -import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as je}from"./page-template-BTxLyiDA.js";import{u as be,c as ge,x as P,P as _e,r as f,D as we,t as i}from"./app-CfhhiFAk.js";import{C as Se}from"./CrudTable-qPWooc10.js";import{C as Ce}from"./CrudFormModal-DAR9q-oM.js";import{C as ke}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Fe}from"./pagination-D8A_HnL5.js";import{S as Pe}from"./search-and-filter-bar-6Pp-FsiR.js";import{I as De}from"./ImportModal-CxDgVhxL.js";import Ne from"./view-DvxHpVLL.js";import{F as Te}from"./file-down-Dd8zePUY.js";import{F as Oe}from"./file-up-BGHgeTEG.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./pen-line-BrTss6NX.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./alert-DH0o7BP8.js";function go(){var V,H;const{t}=be(),{auth:S,timeEntries:a,employees:C,projects:Q,filters:p={},hasSampleFile:Y,globalSettings:o}=ge().props,b=(S==null?void 0:S.permissions)||[],[y,D]=l.useState(p.search||""),[d,N]=l.useState(p.employee_id||"all"),[c,T]=l.useState(p.status||"all"),[u,O]=l.useState(p.project||"all"),[v,E]=l.useState(p.date_from||""),[x,A]=l.useState(p.date_to||""),[Z,q]=l.useState(!1),[ee,j]=l.useState(!1),[te,k]=l.useState(!1),[re,R]=l.useState(!1),[n,I]=l.useState(null),[g,M]=l.useState("create"),[F,U]=l.useState(null),oe=()=>y!==""||d!=="all"||c!=="all"||u!=="all"||v!==""||x!=="",ie=()=>(y?1:0)+(d!=="all"?1:0)+(c!=="all"?1:0)+(u!=="all"?1:0)+(v?1:0)+(x?1:0),se=e=>{e.preventDefault(),$()},$=()=>{f.get(route("hr.time-entries.index"),{page:1,search:y||void 0,employee_id:d!=="all"?d:void 0,status:c!=="all"?c:void 0,project:u!=="all"?u:void 0,date_from:v||void 0,date_to:x||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},ae=e=>{const r=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";f.get(route("hr.time-entries.index"),{sort_field:e,sort_direction:r,page:1,search:y||void 0,employee_id:d!=="all"?d:void 0,status:c!=="all"?c:void 0,project:u!=="all"?u:void 0,date_from:v||void 0,date_to:x||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},me=(e,r)=>{switch(I(r),e){case"view":U(r);break;case"edit":M("edit"),j(!0);break;case"delete":k(!0);break;case"approve":L(r,"approved");break;case"reject":L(r,"rejected");break}},pe=()=>{I(null),M("create"),j(!0)},le=e=>{g==="create"?(o!=null&&o.is_demo||i.loading(t("Creating time entry...")),f.post(route("hr.time-entries.store"),e,{onSuccess:r=>{j(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to create time entry: ${Object.values(r).join(", ")}`)}})):g==="edit"&&(o!=null&&o.is_demo||i.loading(t("Updating time entry...")),f.put(route("hr.time-entries.update",n.id),e,{onSuccess:r=>{j(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update time entry: ${Object.values(r).join(", ")}`)}}))},ne=()=>{o!=null&&o.is_demo||i.loading(t("Deleting time entry...")),f.delete(route("hr.time-entries.destroy",n.id),{onSuccess:e=>{k(!1),o!=null&&o.is_demo||i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete time entry: ${Object.values(e).join(", ")}`)}})},L=(e,r)=>{const h=t(r==="approved"?"Approving":"Rejecting");o!=null&&o.is_demo||i.loading(`${h} time entry...`),f.put(route("hr.time-entries.update-status",e.id),{status:r,manager_comments:""},{onSuccess:m=>{o!=null&&o.is_demo||i.dismiss(),m.props.flash.success?i.success(t(m.props.flash.success)):m.props.flash.error&&i.error(t(m.props.flash.error))},onError:m=>{o!=null&&o.is_demo||i.dismiss(),typeof m=="string"?i.error(m):i.error(`Failed to update time entry status: ${Object.values(m).join(", ")}`)}})},de=()=>{D(""),N("all"),T("all"),O("all"),E(""),A(""),q(!1),f.get(route("hr.time-entries.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},ce=async()=>{try{const e=await fetch(route("hr.time-entries.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!e.ok){const w=await e.json().catch(()=>({}));i.error(t(w.message||"Failed to export time entries"));return}const r=await e.blob(),h=window.URL.createObjectURL(r),m=document.createElement("a");m.href=h,m.download=`time_entries_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(m),m.click(),window.URL.revokeObjectURL(h),document.body.removeChild(m)}catch{i.error(t("Failed to export time entries"))}},_=[];P(b,"export-time-entry")&&_.push({label:t("Export"),icon:s.jsx(Te,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ce}),P(b,"import-time-entry")&&_.push({label:t("Import"),icon:s.jsx(Oe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>R(!0)}),P(b,"create-time-entries")&&_.push({label:t("Add Time Entry"),icon:s.jsx(_e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>pe()});const ue=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Time Tracking"),href:route("hr.time-entries.index")},{title:t("Time Entries")}],fe=[{key:"employee",label:t("Employee"),render:(e,r)=>{var h,m,w,X,z,B,G;return s.jsxs("div",{className:"flex items-center space-x-3",children:[s.jsxs("div",{className:"relative",children:[(h=r.employee)!=null&&h.avatar?s.jsx("img",{src:r.employee.avatar,alt:((m=r.employee)==null?void 0:m.name)||"",className:"w-8 h-8 rounded-full object-cover",onError:W=>{var K;W.currentTarget.style.display="none";const J=(K=W.currentTarget.parentElement)==null?void 0:K.querySelector(".avatar-fallback");J&&(J.style.display="flex")}}):null,s.jsx("div",{className:`avatar-fallback w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-700 font-semibold text-xs${(w=r.employee)!=null&&w.avatar?" hidden":""}`,children:((B=(z=(X=r.employee)==null?void 0:X.name)==null?void 0:z.charAt(0))==null?void 0:B.toUpperCase())||"U"})]}),s.jsx("span",{className:"font-medium",children:((G=r.employee)==null?void 0:G.name)||"-"})]})}},{key:"date",label:t("Date"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"hours",label:t("Hours"),render:e=>s.jsxs("span",{className:"font-mono text-blue-600",children:[e,"h"]})},{key:"project",label:t("Project"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e?"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:e||t("No Project")})},{key:"status",label:t("Status"),render:e=>{const r={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[e]}`,children:e.charAt(0).toUpperCase()+e.slice(1)})}},{key:"created_at",label:t("Submitted On"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],he=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-time-entries"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-time-entries",condition:e=>e.status==="pending"},{label:t("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-time-entries",condition:e=>e.status==="pending"},{label:t("Reject"),icon:"XCircle",action:"reject",className:"text-red-500",requiredPermission:"reject-time-entries",condition:e=>e.status==="pending"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-time-entries",condition:e=>e.status==="pending"}],ye=[{value:"all",label:t("All Employees")},...(C||[]).map(e=>({value:e.id.toString(),label:e.name}))],ve=[{value:"all",label:t("All Statuses")},{value:"pending",label:t("Pending")},{value:"approved",label:t("Approved")},{value:"rejected",label:t("Rejected")}],xe=[{value:"all",label:t("All Projects")},...(Q||[]).map(e=>({value:e,label:e}))];return s.jsxs(je,{title:t("Time Entry Management"),url:"/hr/time-entries",actions:_,breadcrumbs:ue,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(Pe,{searchTerm:y,onSearchChange:D,onSearch:se,filters:[{name:"employee_id",label:t("Employee"),type:"select",value:d,onChange:N,options:ye},{name:"status",label:t("Status"),type:"select",value:c,onChange:T,options:ve},{name:"project",label:t("Project"),type:"select",value:u,onChange:O,options:xe},{name:"date_from",label:t("Date From"),type:"date",value:v,onChange:E},{name:"date_to",label:t("Date To"),type:"date",value:x,onChange:A}],showFilters:Z,setShowFilters:q,hasActiveFilters:oe,activeFilterCount:ie,onResetFilters:de,onApplyFilters:$,currentPerPage:((V=p.per_page)==null?void 0:V.toString())||"10",onPerPageChange:e=>{f.get(route("hr.time-entries.index"),{page:1,per_page:parseInt(e),search:y||void 0,employee_id:d!=="all"?d:void 0,status:c!=="all"?c:void 0,project:u!=="all"?u:void 0,date_from:v||void 0,date_to:x||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(Se,{columns:fe,actions:he,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:me,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:ae,permissions:b,entityPermissions:{view:"view-time-entries",create:"create-time-entries",edit:"edit-time-entries",delete:"delete-time-entries"}}),s.jsx(Fe,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("time entries"),onPageChange:e=>f.get(e)})]}),s.jsx(Ce,{isOpen:ee,onClose:()=>j(!1),onSubmit:le,formConfig:{fields:[{name:"employee_id",label:t("Employee"),type:"select",required:!0,options:C?C.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"date",label:t("Date"),type:"date",required:!0},{name:"hours",label:t("Hours"),type:"number",required:!0,min:.5,max:24,step:.5},{name:"project",label:t("Project"),type:"text"},{name:"description",label:t("Description"),type:"textarea",required:!0}],modalSize:"lg"},initialData:n?{...n,date:n.date?window.appSettings.formatDateTimeSimple(n.date,!1):n.date}:null,title:t(g==="create"?"Add New Time Entry":"Edit Time Entry"),mode:g}),s.jsx(we,{open:!!F,onOpenChange:()=>U(null),children:F&&s.jsx(Ne,{record:F})}),s.jsx(ke,{isOpen:te,onClose:()=>k(!1),onConfirm:ne,itemName:`${(H=n==null?void 0:n.employee)==null?void 0:H.name}`||"",entityName:"time entry"}),s.jsx(De,{isOpen:re,onClose:()=>R(!1),title:t("Import Time Entries from CSV/Excel"),importRoute:"hr.time-entries.import",parseRoute:"hr.time-entries.parse",sampleRoute:Y?"hr.time-entries.download.template":void 0,importNotes:t("Ensure that the employee names match exactly with existing employees in your system."),modalSize:"xl",databaseFields:[{key:"employee",required:!0},{key:"date",required:!0},{key:"hours",required:!0},{key:"project"},{key:"description"}]})]})}export{go as default}; +import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as je}from"./page-template-CLNVC8w_.js";import{u as be,c as ge,x as P,P as _e,r as f,D as we,t as i}from"./app-Dya84jp7.js";import{C as Se}from"./CrudTable-yqxtM6E_.js";import{C as Ce}from"./CrudFormModal-CsuqSfb2.js";import{C as ke}from"./CrudDeleteModal-D32N6I8y.js";import{P as Fe}from"./pagination-4PUepASD.js";import{S as Pe}from"./search-and-filter-bar-DWH0yn_r.js";import{I as De}from"./ImportModal-s55JxI6I.js";import Ne from"./view-DpfMHBLp.js";import{F as Te}from"./file-down-DO17xCrw.js";import{F as Oe}from"./file-up-mHt_z-hD.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./pen-line-D3y4U--J.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./alert-CyJVNPY9.js";function go(){var V,H;const{t}=be(),{auth:S,timeEntries:a,employees:C,projects:Q,filters:p={},hasSampleFile:Y,globalSettings:o}=ge().props,b=(S==null?void 0:S.permissions)||[],[y,D]=l.useState(p.search||""),[d,N]=l.useState(p.employee_id||"all"),[c,T]=l.useState(p.status||"all"),[u,O]=l.useState(p.project||"all"),[v,E]=l.useState(p.date_from||""),[x,A]=l.useState(p.date_to||""),[Z,q]=l.useState(!1),[ee,j]=l.useState(!1),[te,k]=l.useState(!1),[re,R]=l.useState(!1),[n,I]=l.useState(null),[g,M]=l.useState("create"),[F,U]=l.useState(null),oe=()=>y!==""||d!=="all"||c!=="all"||u!=="all"||v!==""||x!=="",ie=()=>(y?1:0)+(d!=="all"?1:0)+(c!=="all"?1:0)+(u!=="all"?1:0)+(v?1:0)+(x?1:0),se=e=>{e.preventDefault(),$()},$=()=>{f.get(route("hr.time-entries.index"),{page:1,search:y||void 0,employee_id:d!=="all"?d:void 0,status:c!=="all"?c:void 0,project:u!=="all"?u:void 0,date_from:v||void 0,date_to:x||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},ae=e=>{const r=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";f.get(route("hr.time-entries.index"),{sort_field:e,sort_direction:r,page:1,search:y||void 0,employee_id:d!=="all"?d:void 0,status:c!=="all"?c:void 0,project:u!=="all"?u:void 0,date_from:v||void 0,date_to:x||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},me=(e,r)=>{switch(I(r),e){case"view":U(r);break;case"edit":M("edit"),j(!0);break;case"delete":k(!0);break;case"approve":L(r,"approved");break;case"reject":L(r,"rejected");break}},pe=()=>{I(null),M("create"),j(!0)},le=e=>{g==="create"?(o!=null&&o.is_demo||i.loading(t("Creating time entry...")),f.post(route("hr.time-entries.store"),e,{onSuccess:r=>{j(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to create time entry: ${Object.values(r).join(", ")}`)}})):g==="edit"&&(o!=null&&o.is_demo||i.loading(t("Updating time entry...")),f.put(route("hr.time-entries.update",n.id),e,{onSuccess:r=>{j(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update time entry: ${Object.values(r).join(", ")}`)}}))},ne=()=>{o!=null&&o.is_demo||i.loading(t("Deleting time entry...")),f.delete(route("hr.time-entries.destroy",n.id),{onSuccess:e=>{k(!1),o!=null&&o.is_demo||i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete time entry: ${Object.values(e).join(", ")}`)}})},L=(e,r)=>{const h=t(r==="approved"?"Approving":"Rejecting");o!=null&&o.is_demo||i.loading(`${h} time entry...`),f.put(route("hr.time-entries.update-status",e.id),{status:r,manager_comments:""},{onSuccess:m=>{o!=null&&o.is_demo||i.dismiss(),m.props.flash.success?i.success(t(m.props.flash.success)):m.props.flash.error&&i.error(t(m.props.flash.error))},onError:m=>{o!=null&&o.is_demo||i.dismiss(),typeof m=="string"?i.error(m):i.error(`Failed to update time entry status: ${Object.values(m).join(", ")}`)}})},de=()=>{D(""),N("all"),T("all"),O("all"),E(""),A(""),q(!1),f.get(route("hr.time-entries.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},ce=async()=>{try{const e=await fetch(route("hr.time-entries.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!e.ok){const w=await e.json().catch(()=>({}));i.error(t(w.message||"Failed to export time entries"));return}const r=await e.blob(),h=window.URL.createObjectURL(r),m=document.createElement("a");m.href=h,m.download=`time_entries_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(m),m.click(),window.URL.revokeObjectURL(h),document.body.removeChild(m)}catch{i.error(t("Failed to export time entries"))}},_=[];P(b,"export-time-entry")&&_.push({label:t("Export"),icon:s.jsx(Te,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ce}),P(b,"import-time-entry")&&_.push({label:t("Import"),icon:s.jsx(Oe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>R(!0)}),P(b,"create-time-entries")&&_.push({label:t("Add Time Entry"),icon:s.jsx(_e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>pe()});const ue=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Time Tracking"),href:route("hr.time-entries.index")},{title:t("Time Entries")}],fe=[{key:"employee",label:t("Employee"),render:(e,r)=>{var h,m,w,X,z,B,G;return s.jsxs("div",{className:"flex items-center space-x-3",children:[s.jsxs("div",{className:"relative",children:[(h=r.employee)!=null&&h.avatar?s.jsx("img",{src:r.employee.avatar,alt:((m=r.employee)==null?void 0:m.name)||"",className:"w-8 h-8 rounded-full object-cover",onError:W=>{var K;W.currentTarget.style.display="none";const J=(K=W.currentTarget.parentElement)==null?void 0:K.querySelector(".avatar-fallback");J&&(J.style.display="flex")}}):null,s.jsx("div",{className:`avatar-fallback w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-700 font-semibold text-xs${(w=r.employee)!=null&&w.avatar?" hidden":""}`,children:((B=(z=(X=r.employee)==null?void 0:X.name)==null?void 0:z.charAt(0))==null?void 0:B.toUpperCase())||"U"})]}),s.jsx("span",{className:"font-medium",children:((G=r.employee)==null?void 0:G.name)||"-"})]})}},{key:"date",label:t("Date"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"hours",label:t("Hours"),render:e=>s.jsxs("span",{className:"font-mono text-blue-600",children:[e,"h"]})},{key:"project",label:t("Project"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e?"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:e||t("No Project")})},{key:"status",label:t("Status"),render:e=>{const r={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[e]}`,children:e.charAt(0).toUpperCase()+e.slice(1)})}},{key:"created_at",label:t("Submitted On"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],he=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-time-entries"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-time-entries",condition:e=>e.status==="pending"},{label:t("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-time-entries",condition:e=>e.status==="pending"},{label:t("Reject"),icon:"XCircle",action:"reject",className:"text-red-500",requiredPermission:"reject-time-entries",condition:e=>e.status==="pending"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-time-entries",condition:e=>e.status==="pending"}],ye=[{value:"all",label:t("All Employees")},...(C||[]).map(e=>({value:e.id.toString(),label:e.name}))],ve=[{value:"all",label:t("All Statuses")},{value:"pending",label:t("Pending")},{value:"approved",label:t("Approved")},{value:"rejected",label:t("Rejected")}],xe=[{value:"all",label:t("All Projects")},...(Q||[]).map(e=>({value:e,label:e}))];return s.jsxs(je,{title:t("Time Entry Management"),url:"/hr/time-entries",actions:_,breadcrumbs:ue,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(Pe,{searchTerm:y,onSearchChange:D,onSearch:se,filters:[{name:"employee_id",label:t("Employee"),type:"select",value:d,onChange:N,options:ye},{name:"status",label:t("Status"),type:"select",value:c,onChange:T,options:ve},{name:"project",label:t("Project"),type:"select",value:u,onChange:O,options:xe},{name:"date_from",label:t("Date From"),type:"date",value:v,onChange:E},{name:"date_to",label:t("Date To"),type:"date",value:x,onChange:A}],showFilters:Z,setShowFilters:q,hasActiveFilters:oe,activeFilterCount:ie,onResetFilters:de,onApplyFilters:$,currentPerPage:((V=p.per_page)==null?void 0:V.toString())||"10",onPerPageChange:e=>{f.get(route("hr.time-entries.index"),{page:1,per_page:parseInt(e),search:y||void 0,employee_id:d!=="all"?d:void 0,status:c!=="all"?c:void 0,project:u!=="all"?u:void 0,date_from:v||void 0,date_to:x||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(Se,{columns:fe,actions:he,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:me,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:ae,permissions:b,entityPermissions:{view:"view-time-entries",create:"create-time-entries",edit:"edit-time-entries",delete:"delete-time-entries"}}),s.jsx(Fe,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("time entries"),onPageChange:e=>f.get(e)})]}),s.jsx(Ce,{isOpen:ee,onClose:()=>j(!1),onSubmit:le,formConfig:{fields:[{name:"employee_id",label:t("Employee"),type:"select",required:!0,options:C?C.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"date",label:t("Date"),type:"date",required:!0},{name:"hours",label:t("Hours"),type:"number",required:!0,min:.5,max:24,step:.5},{name:"project",label:t("Project"),type:"text"},{name:"description",label:t("Description"),type:"textarea",required:!0}],modalSize:"lg"},initialData:n?{...n,date:n.date?window.appSettings.formatDateTimeSimple(n.date,!1):n.date}:null,title:t(g==="create"?"Add New Time Entry":"Edit Time Entry"),mode:g}),s.jsx(we,{open:!!F,onOpenChange:()=>U(null),children:F&&s.jsx(Ne,{record:F})}),s.jsx(ke,{isOpen:te,onClose:()=>k(!1),onConfirm:ne,itemName:`${(H=n==null?void 0:n.employee)==null?void 0:H.name}`||"",entityName:"time entry"}),s.jsx(De,{isOpen:re,onClose:()=>R(!1),title:t("Import Time Entries from CSV/Excel"),importRoute:"hr.time-entries.import",parseRoute:"hr.time-entries.parse",sampleRoute:Y?"hr.time-entries.download.template":void 0,importNotes:t("Ensure that the employee names match exactly with existing employees in your system."),modalSize:"xl",databaseFields:[{key:"employee",required:!0},{key:"date",required:!0},{key:"hours",required:!0},{key:"project"},{key:"description"}]})]})}export{go as default}; diff --git a/public/build/assets/index-DFa3CjCm.js b/public/build/assets/index-BatXmBQU.js similarity index 64% rename from public/build/assets/index-DFa3CjCm.js rename to public/build/assets/index-BatXmBQU.js index 1f464c4ed..8d867a10b 100644 --- a/public/build/assets/index-DFa3CjCm.js +++ b/public/build/assets/index-BatXmBQU.js @@ -1 +1 @@ -import{r as p,j as a}from"./ui-Z445SNHD.js";import{P as te}from"./page-template-BTxLyiDA.js";import{u as se,c as re,x as ie,P as ae,r as d,D as oe,t as r}from"./app-CfhhiFAk.js";import{C as ne}from"./CrudTable-qPWooc10.js";import{C as me}from"./CrudFormModal-DAR9q-oM.js";import{C as le}from"./CrudDeleteModal-CKTiD3_K.js";import{P as pe}from"./pagination-D8A_HnL5.js";import{S as de}from"./search-and-filter-bar-6Pp-FsiR.js";import ce from"./view-ZfV1RGFO.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Ys(){var k,O,$;const{t}=se(),{auth:h,assessments:i,candidates:b,employees:M,filters:o={}}=re().props,S=(h==null?void 0:h.permissions)||[],[u,v]=p.useState(o.search||""),[m,x]=p.useState(o.status||"_empty_"),[l,C]=p.useState(o.candidate_id||"_empty_"),[q,j]=p.useState(!1),[T,g]=p.useState(!1),[I,f]=p.useState(!1),[n,F]=p.useState(null),[_,P]=p.useState("create"),[y,w]=p.useState(null),R=()=>m!=="_empty_"||l!=="_empty_"||u!=="",B=()=>(m!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(u!==""?1:0),V=e=>{e.preventDefault(),A()},A=()=>{d.get(route("hr.recruitment.candidate-assessments.index"),{page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,candidate_id:l!=="_empty_"?l:void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},z=e=>{const s=o.sort_field===e&&o.sort_direction==="asc"?"desc":"asc";d.get(route("hr.recruitment.candidate-assessments.index"),{sort_field:e,sort_direction:s,page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,candidate_id:l!=="_empty_"?l:void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},L=(e,s)=>{switch(F(s),e){case"view":w(s);break;case"edit":P("edit"),f(!0);break;case"delete":g(!0);break}},U=()=>{F(null),P("create"),f(!0)},G=e=>{_==="create"?(r.loading(t("Creating assessment...")),d.post(route("hr.recruitment.candidate-assessments.store"),e,{onSuccess:s=>{f(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error?r.error(t(s.props.flash.error)):r.success(t("Assessment created successfully"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to create assessment: ${Object.values(s).join(", ")}`)}})):_==="edit"&&(r.loading(t("Updating assessment...")),d.put(route("hr.recruitment.candidate-assessments.update",n.id),e,{onSuccess:s=>{f(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error?r.error(t(s.props.flash.error)):r.success(t("Assessment updated successfully"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to update assessment: ${Object.values(s).join(", ")}`)}}))},H=()=>{r.loading(t("Deleting assessment...")),d.delete(route("hr.recruitment.candidate-assessments.destroy",n.id),{onSuccess:e=>{g(!1),r.dismiss(),e.props.flash.success?r.success(t(e.props.flash.success)):e.props.flash.error?r.error(t(e.props.flash.error)):r.success(t("Assessment deleted successfully"))},onError:e=>{r.dismiss(),typeof e=="string"?r.error(e):r.error(`Failed to delete assessment: ${Object.values(e).join(", ")}`)}})},J=()=>{v(""),x("_empty_"),C("_empty_"),j(!1),d.get(route("hr.recruitment.candidate-assessments.index"),{page:1,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},D=[];ie(S,"create-candidate-assessments")&&D.push({label:t("Add Assessment"),icon:a.jsx(ae,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>U()});const K=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.candidate-assessments.index")},{title:t("Candidate Assessments")}],Q=e=>{switch(e){case"Pass":return"bg-green-50 text-green-700 ring-green-600/20";case"Fail":return"bg-red-50 text-red-700 ring-red-600/10";case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},W=[{key:"candidate.full_name",label:t("Candidate"),render:(e,s)=>{var c,E;return a.jsx("div",{children:a.jsxs("div",{className:"font-medium",children:[(c=s.candidate)==null?void 0:c.first_name," ",(E=s.candidate)==null?void 0:E.last_name]})})}},{key:"assessment_name",label:t("Assessment"),sortable:!0,render:e=>a.jsx("div",{className:"font-medium",children:e})},{key:"score",label:t("Score"),render:(e,s)=>{if(!s.score||!s.max_score)return"-";const c=Math.round(s.score/s.max_score*100);return a.jsxs("div",{children:[a.jsxs("div",{className:"font-medium",children:[s.score,"/",s.max_score]}),a.jsxs("div",{className:"text-xs text-gray-500",children:[c,"%"]})]})}},{key:"pass_fail_status",label:t("Status"),render:e=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Q(e)}`,children:t(e)})},{key:"conductor.name",label:t("Conducted By"),render:(e,s)=>{var c;return((c=s.conductor)==null?void 0:c.name)||"-"}},{key:"assessment_date",label:t("Date"),sortable:!0,render:e=>{var s;return((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],X=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-candidate-assessments"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-candidate-assessments"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-candidate-assessments"}],N=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Pass",label:t("Pass")},{value:"Fail",label:t("Fail")},{value:"Pending",label:t("Pending")}],Y=[{value:"_empty_",label:t("All Candidates"),disabled:!0},...(b||[]).map(e=>({value:e.id.toString(),label:`${e.first_name} ${e.last_name}`}))],Z=[{value:"_empty_",label:t("Select Candidate")},...(b||[]).map(e=>({value:e.id.toString(),label:`${e.first_name} ${e.last_name}`}))],ee=[...(M||[]).map(e=>({value:e.id.toString(),label:e.name}))];return a.jsxs(te,{title:t("Candidate Assessments"),url:"/hr/recruitment/candidate-assessments",actions:D,breadcrumbs:K,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(de,{searchTerm:u,onSearchChange:v,onSearch:V,filters:[{name:"status",label:t("Status"),type:"select",value:m,onChange:x,options:N},{name:"candidate_id",label:t("Candidate"),type:"select",value:l,onChange:C,options:Y,searchable:!0}],showFilters:q,setShowFilters:j,hasActiveFilters:R,activeFilterCount:B,onResetFilters:J,onApplyFilters:A,currentPerPage:((k=o.per_page)==null?void 0:k.toString())||"10",onPerPageChange:e=>{d.get(route("hr.recruitment.candidate-assessments.index"),{page:1,per_page:parseInt(e),search:u||void 0,status:m!=="_empty_"?m:void 0,candidate_id:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(ne,{columns:W,actions:X,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:L,sortField:o.sort_field,sortDirection:o.sort_direction,onSort:z,permissions:S,entityPermissions:{view:"view-candidate-assessments",create:"create-candidate-assessments",edit:"edit-candidate-assessments",delete:"delete-candidate-assessments"}}),a.jsx(pe,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("assessments"),onPageChange:e=>d.get(e)})]}),a.jsx(me,{isOpen:I,onClose:()=>f(!1),onSubmit:G,formConfig:{fields:[{name:"candidate_id",label:t("Candidate"),type:"select",required:!0,options:Z.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"assessment_name",label:t("Assessment Name"),type:"text",required:!0},{name:"score",label:t("Score"),type:"number",min:0},{name:"max_score",label:t("Max Score"),type:"number",min:1},{name:"pass_fail_status",label:t("Status"),type:"select",required:!0,options:N.filter(e=>e.value!=="_empty_")},{name:"conducted_by",label:t("Conducted By"),type:"select",required:!0,options:ee,placeholder:t("Select Employee"),searchable:!0},{name:"assessment_date",label:t("Assessment Date"),type:"date",required:!0},{name:"comments",label:t("Comments"),type:"textarea"}],modalSize:"lg"},initialData:n?{...n,assessment_date:n.assessment_date?window.appSettings.formatDateTimeSimple(n.assessment_date,!1):n.assessment_date}:null,title:t(_==="create"?"Add New Assessment":"Edit Assessment"),mode:_}),a.jsx(le,{isOpen:T,onClose:()=>g(!1),onConfirm:H,itemName:n?`${(O=n.candidate)==null?void 0:O.first_name} ${($=n.candidate)==null?void 0:$.last_name} - ${n.assessment_name}`:"",entityName:"assessment"}),a.jsx(oe,{open:!!y,onOpenChange:()=>w(null),children:y&&a.jsx(ce,{assessment:y})})]})}export{Ys as default}; +import{r as p,j as a}from"./ui-Z445SNHD.js";import{P as te}from"./page-template-CLNVC8w_.js";import{u as se,c as re,x as ie,P as ae,r as d,D as oe,t as r}from"./app-Dya84jp7.js";import{C as ne}from"./CrudTable-yqxtM6E_.js";import{C as me}from"./CrudFormModal-CsuqSfb2.js";import{C as le}from"./CrudDeleteModal-D32N6I8y.js";import{P as pe}from"./pagination-4PUepASD.js";import{S as de}from"./search-and-filter-bar-DWH0yn_r.js";import ce from"./view-Cn1iIsjc.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Ys(){var k,O,$;const{t}=se(),{auth:h,assessments:i,candidates:b,employees:M,filters:o={}}=re().props,S=(h==null?void 0:h.permissions)||[],[u,v]=p.useState(o.search||""),[m,x]=p.useState(o.status||"_empty_"),[l,C]=p.useState(o.candidate_id||"_empty_"),[q,j]=p.useState(!1),[T,g]=p.useState(!1),[I,f]=p.useState(!1),[n,F]=p.useState(null),[_,P]=p.useState("create"),[y,w]=p.useState(null),R=()=>m!=="_empty_"||l!=="_empty_"||u!=="",B=()=>(m!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(u!==""?1:0),V=e=>{e.preventDefault(),A()},A=()=>{d.get(route("hr.recruitment.candidate-assessments.index"),{page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,candidate_id:l!=="_empty_"?l:void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},z=e=>{const s=o.sort_field===e&&o.sort_direction==="asc"?"desc":"asc";d.get(route("hr.recruitment.candidate-assessments.index"),{sort_field:e,sort_direction:s,page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,candidate_id:l!=="_empty_"?l:void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},L=(e,s)=>{switch(F(s),e){case"view":w(s);break;case"edit":P("edit"),f(!0);break;case"delete":g(!0);break}},U=()=>{F(null),P("create"),f(!0)},G=e=>{_==="create"?(r.loading(t("Creating assessment...")),d.post(route("hr.recruitment.candidate-assessments.store"),e,{onSuccess:s=>{f(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error?r.error(t(s.props.flash.error)):r.success(t("Assessment created successfully"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to create assessment: ${Object.values(s).join(", ")}`)}})):_==="edit"&&(r.loading(t("Updating assessment...")),d.put(route("hr.recruitment.candidate-assessments.update",n.id),e,{onSuccess:s=>{f(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error?r.error(t(s.props.flash.error)):r.success(t("Assessment updated successfully"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to update assessment: ${Object.values(s).join(", ")}`)}}))},H=()=>{r.loading(t("Deleting assessment...")),d.delete(route("hr.recruitment.candidate-assessments.destroy",n.id),{onSuccess:e=>{g(!1),r.dismiss(),e.props.flash.success?r.success(t(e.props.flash.success)):e.props.flash.error?r.error(t(e.props.flash.error)):r.success(t("Assessment deleted successfully"))},onError:e=>{r.dismiss(),typeof e=="string"?r.error(e):r.error(`Failed to delete assessment: ${Object.values(e).join(", ")}`)}})},J=()=>{v(""),x("_empty_"),C("_empty_"),j(!1),d.get(route("hr.recruitment.candidate-assessments.index"),{page:1,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},D=[];ie(S,"create-candidate-assessments")&&D.push({label:t("Add Assessment"),icon:a.jsx(ae,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>U()});const K=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.candidate-assessments.index")},{title:t("Candidate Assessments")}],Q=e=>{switch(e){case"Pass":return"bg-green-50 text-green-700 ring-green-600/20";case"Fail":return"bg-red-50 text-red-700 ring-red-600/10";case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},W=[{key:"candidate.full_name",label:t("Candidate"),render:(e,s)=>{var c,E;return a.jsx("div",{children:a.jsxs("div",{className:"font-medium",children:[(c=s.candidate)==null?void 0:c.first_name," ",(E=s.candidate)==null?void 0:E.last_name]})})}},{key:"assessment_name",label:t("Assessment"),sortable:!0,render:e=>a.jsx("div",{className:"font-medium",children:e})},{key:"score",label:t("Score"),render:(e,s)=>{if(!s.score||!s.max_score)return"-";const c=Math.round(s.score/s.max_score*100);return a.jsxs("div",{children:[a.jsxs("div",{className:"font-medium",children:[s.score,"/",s.max_score]}),a.jsxs("div",{className:"text-xs text-gray-500",children:[c,"%"]})]})}},{key:"pass_fail_status",label:t("Status"),render:e=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Q(e)}`,children:t(e)})},{key:"conductor.name",label:t("Conducted By"),render:(e,s)=>{var c;return((c=s.conductor)==null?void 0:c.name)||"-"}},{key:"assessment_date",label:t("Date"),sortable:!0,render:e=>{var s;return((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],X=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-candidate-assessments"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-candidate-assessments"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-candidate-assessments"}],N=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Pass",label:t("Pass")},{value:"Fail",label:t("Fail")},{value:"Pending",label:t("Pending")}],Y=[{value:"_empty_",label:t("All Candidates"),disabled:!0},...(b||[]).map(e=>({value:e.id.toString(),label:`${e.first_name} ${e.last_name}`}))],Z=[{value:"_empty_",label:t("Select Candidate")},...(b||[]).map(e=>({value:e.id.toString(),label:`${e.first_name} ${e.last_name}`}))],ee=[...(M||[]).map(e=>({value:e.id.toString(),label:e.name}))];return a.jsxs(te,{title:t("Candidate Assessments"),url:"/hr/recruitment/candidate-assessments",actions:D,breadcrumbs:K,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(de,{searchTerm:u,onSearchChange:v,onSearch:V,filters:[{name:"status",label:t("Status"),type:"select",value:m,onChange:x,options:N},{name:"candidate_id",label:t("Candidate"),type:"select",value:l,onChange:C,options:Y,searchable:!0}],showFilters:q,setShowFilters:j,hasActiveFilters:R,activeFilterCount:B,onResetFilters:J,onApplyFilters:A,currentPerPage:((k=o.per_page)==null?void 0:k.toString())||"10",onPerPageChange:e=>{d.get(route("hr.recruitment.candidate-assessments.index"),{page:1,per_page:parseInt(e),search:u||void 0,status:m!=="_empty_"?m:void 0,candidate_id:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(ne,{columns:W,actions:X,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:L,sortField:o.sort_field,sortDirection:o.sort_direction,onSort:z,permissions:S,entityPermissions:{view:"view-candidate-assessments",create:"create-candidate-assessments",edit:"edit-candidate-assessments",delete:"delete-candidate-assessments"}}),a.jsx(pe,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("assessments"),onPageChange:e=>d.get(e)})]}),a.jsx(me,{isOpen:I,onClose:()=>f(!1),onSubmit:G,formConfig:{fields:[{name:"candidate_id",label:t("Candidate"),type:"select",required:!0,options:Z.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"assessment_name",label:t("Assessment Name"),type:"text",required:!0},{name:"score",label:t("Score"),type:"number",min:0},{name:"max_score",label:t("Max Score"),type:"number",min:1},{name:"pass_fail_status",label:t("Status"),type:"select",required:!0,options:N.filter(e=>e.value!=="_empty_")},{name:"conducted_by",label:t("Conducted By"),type:"select",required:!0,options:ee,placeholder:t("Select Employee"),searchable:!0},{name:"assessment_date",label:t("Assessment Date"),type:"date",required:!0},{name:"comments",label:t("Comments"),type:"textarea"}],modalSize:"lg"},initialData:n?{...n,assessment_date:n.assessment_date?window.appSettings.formatDateTimeSimple(n.assessment_date,!1):n.assessment_date}:null,title:t(_==="create"?"Add New Assessment":"Edit Assessment"),mode:_}),a.jsx(le,{isOpen:T,onClose:()=>g(!1),onConfirm:H,itemName:n?`${(O=n.candidate)==null?void 0:O.first_name} ${($=n.candidate)==null?void 0:$.last_name} - ${n.assessment_name}`:"",entityName:"assessment"}),a.jsx(oe,{open:!!y,onOpenChange:()=>w(null),children:y&&a.jsx(ce,{assessment:y})})]})}export{Ys as default}; diff --git a/public/build/assets/index-BohFrjjc.js b/public/build/assets/index-BazTc7Ec.js similarity index 70% rename from public/build/assets/index-BohFrjjc.js rename to public/build/assets/index-BazTc7Ec.js index 42a50de46..0ded54abf 100644 --- a/public/build/assets/index-BohFrjjc.js +++ b/public/build/assets/index-BazTc7Ec.js @@ -1 +1 @@ -import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as ge}from"./page-template-BTxLyiDA.js";import{u as ve,c as be,x as Se,P as ye,r as u,D as xe,t as i}from"./app-CfhhiFAk.js";import{C as we}from"./CrudTable-qPWooc10.js";import{C as X}from"./CrudFormModal-DAR9q-oM.js";import{C as Ce}from"./CrudDeleteModal-CKTiD3_K.js";import{P as je}from"./pagination-D8A_HnL5.js";import{S as Fe}from"./search-and-filter-bar-6Pp-FsiR.js";import Ne from"./view-CUmR-B1R.js";import{S as ke,a as Oe,b as Pe,c as Ie,d as Te}from"./select-BrY9osYp.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./index-BdQq_4o_.js";import"./leaflet-ChJqBZBV.js";function vi(){var R,L,U,V,z;const{t}=ve(),{auth:y,interviews:a,candidates:F,interviewTypes:B,employees:G,filters:d={}}=be().props,N=(y==null?void 0:y.permissions)||[],[f,k]=l.useState(d.search||""),[p,O]=l.useState(d.status||"_empty_"),[c,P]=l.useState(d.candidate_id||"_empty_"),[H,I]=l.useState(!1),[W,x]=l.useState(!1),[J,g]=l.useState(!1),[n,w]=l.useState(null),[b,T]=l.useState("create"),[C,D]=l.useState(null),[K,j]=l.useState(!1),[Q,Y]=l.useState(""),[Z,h]=l.useState([]),[S,v]=l.useState(""),ee=()=>p!=="_empty_"||c!=="_empty_"||f!=="",te=()=>(p!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(f!==""?1:0),re=e=>{e.preventDefault(),$()},$=()=>{u.get(route("hr.recruitment.interviews.index"),{page:1,search:f||void 0,status:p!=="_empty_"?p:void 0,candidate_id:c!=="_empty_"?c:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},ie=e=>{const r=d.sort_field===e&&d.sort_direction==="asc"?"desc":"asc";u.get(route("hr.recruitment.interviews.index"),{sort_field:e,sort_direction:r,page:1,search:f||void 0,status:p!=="_empty_"?p:void 0,candidate_id:c!=="_empty_"?c:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},se=async(e,r)=>{switch(w(r),e==="edit"&&r.candidate_id&&(v(r.candidate_id.toString()),await q(r.candidate_id.toString())),e){case"view":D(r);break;case"edit":T("edit"),g(!0);break;case"delete":x(!0);break;case"update-status":w(r),Y(r.status),j(!0);break}},q=async(e,r=!0)=>{if(r&&h([]),e&&e!=="_empty_")try{const _=await(await fetch(route("hr.recruitment.interviews.rounds-by-candidate",e),{method:"GET",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}})).json();h(_||[])}catch(o){console.error("Error fetching rounds:",o),h([])}else h([])},ae=()=>{w(null),T("create"),h([]),v(""),g(!0)},oe=e=>{S&&(e.candidate_id=S),b==="create"?(i.loading(t("Scheduling interview...")),u.post(route("hr.recruitment.interviews.store"),e,{onSuccess:r=>{g(!1),v(""),h([]),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to schedule interview: ${Object.values(r).join(", ")}`)}})):b==="edit"&&(i.loading(t("Updating interview...")),u.put(route("hr.recruitment.interviews.update",n.id),e,{onSuccess:r=>{g(!1),v(""),h([]),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update interview: ${Object.values(r).join(", ")}`)}}))},ne=()=>{i.loading(t("Deleting interview...")),u.delete(route("hr.recruitment.interviews.destroy",n.id),{onSuccess:e=>{x(!1),i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete interview: ${Object.values(e).join(", ")}`)}})},le=e=>{e.status&&(i.loading(t("Updating status...")),u.put(route("hr.recruitment.interviews.update-status",n.id),{status:e.status},{onSuccess:r=>{j(!1),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update status: ${Object.values(r).join(", ")}`)}}))},me=()=>{k(""),O("_empty_"),P("_empty_"),I(!1),u.get(route("hr.recruitment.interviews.index"),{page:1,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},E=[];Se(N,"create-interviews")&&E.push({label:t("Schedule Interview"),icon:s.jsx(ye,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ae()});const de=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.interviews.index")},{title:t("Interviews")}],pe=e=>{switch(e){case"Scheduled":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";case"Cancelled":return"bg-red-50 text-red-700 ring-red-600/10";case"No-show":return"bg-orange-50 text-orange-700 ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},ce=[{key:"candidate.full_name",label:t("Candidate"),render:(e,r)=>{var o,_,m;return s.jsxs("div",{children:[s.jsxs("div",{className:"font-medium",children:[(o=r.candidate)==null?void 0:o.first_name," ",(_=r.candidate)==null?void 0:_.last_name]}),s.jsx("div",{className:"text-xs text-gray-500",children:(m=r.job)==null?void 0:m.title})]})}},{key:"round.name",label:t("Round"),render:(e,r)=>{var o;return((o=r.round)==null?void 0:o.name)||"-"}},{key:"interview_type.name",label:t("Type"),render:(e,r)=>{var o;return((o=r.interview_type)==null?void 0:o.name)||"-"}},{key:"scheduled_date",label:t("Date & Time"),sortable:!1,render:(e,r)=>{var o;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(r.scheduled_date,!1))||new Date(r.scheduled_date).toLocaleDateString()}),s.jsxs("div",{className:"text-xs text-gray-500",children:[window.appSettings.formatTime(r.scheduled_time)," (",r.duration," min)"]})]})}},{key:"location",label:t("Location"),render:(e,r)=>r.meeting_link?s.jsx("span",{className:"text-blue-600",children:t("Online")}):e||"-"},{key:"status",label:t("Status"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${pe(e)}`,children:t(e)})},{key:"feedback_submitted",label:t("Feedback"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e?"bg-green-50 text-green-700 ring-green-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:t(e?"Submitted":"Pending")})}],ue=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-interviews"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-interviews"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"edit-interviews"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-interviews"}],M=[{value:"_empty_",label:t("All Statuses")},{value:"Scheduled",label:t("Scheduled")},{value:"Completed",label:t("Completed")},{value:"Cancelled",label:t("Cancelled")},{value:"No-show",label:t("No-show")}],he=[{value:"_empty_",label:t("All Candidates"),disable:!0},...(F||[]).map(e=>({value:e.id.toString(),label:`${e.first_name} ${e.last_name}`}))],A=[{value:"_empty_",label:t("Select Candidate")},...(F||[]).map(e=>({value:e.id.toString(),label:`${e.first_name} ${e.last_name}`}))],fe=[{value:"_empty_",label:t("Select Interview Type")},...(B||[]).map(e=>({value:e.id.toString(),label:e.name}))],_e=(G||[]).map(e=>({value:e.id.toString(),label:e.name||`${e.first_name} ${e.last_name}`||e.employee_id}));return s.jsxs(ge,{title:t("Interviews"),url:"/hr/recruitment/interviews",actions:E,breadcrumbs:de,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(Fe,{searchTerm:f,onSearchChange:k,onSearch:re,filters:[{name:"status",label:t("Status"),type:"select",value:p,onChange:O,options:M,searchable:!0},{name:"candidate_id",label:t("Candidate"),type:"select",value:c,onChange:P,options:he,searchable:!0}],showFilters:H,setShowFilters:I,hasActiveFilters:ee,activeFilterCount:te,onResetFilters:me,onApplyFilters:$,currentPerPage:((R=d.per_page)==null?void 0:R.toString())||"10",onPerPageChange:e=>{u.get(route("hr.recruitment.interviews.index"),{page:1,per_page:parseInt(e),search:f||void 0,status:p!=="_empty_"?p:void 0,candidate_id:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(we,{columns:ce,actions:ue,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:se,sortField:d.sort_field,sortDirection:d.sort_direction,onSort:ie,permissions:N,entityPermissions:{view:"view-interviews",create:"create-interviews",edit:"edit-interviews",delete:"delete-interviews"}}),s.jsx(je,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("interviews"),onPageChange:e=>u.get(e)})]}),s.jsx(X,{isOpen:J,onClose:()=>g(!1),onSubmit:oe,formConfig:{fields:[{name:"candidate_id",label:t("Candidate"),type:"select",required:!1,options:A.filter(e=>e.value!=="_empty_"),render:(e,r,o)=>{const _=S||r[e.name]||"";return s.jsxs(ke,{value:_,onValueChange:m=>{v(m),o(e.name,m),h([]),o("round_id",""),q(m)},children:[s.jsx(Oe,{children:s.jsx(Pe,{placeholder:t("Select Candidate")})}),s.jsx(Ie,{className:"z-[60000]",searchable:!0,children:A.filter(m=>m.value!=="_empty_").map(m=>s.jsx(Te,{value:String(m.value),children:m.label},m.value))})]})}},{name:"round_id",label:t("Interview Round"),type:"select",required:!0,searchable:!0,key:`round-${S}`,options:Z.map(e=>({value:e.id.toString(),label:e.name}))},{name:"interview_type_id",label:t("Interview Type"),type:"select",required:!0,options:fe.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"scheduled_date",label:t("Date"),type:"date",required:!0},{name:"scheduled_time",label:t("Time"),type:"time",required:!0},{name:"duration",label:t("Duration (minutes)"),type:"number",required:!0,min:15,max:480},{name:"location",label:t("Location"),type:"text"},{name:"meeting_link",label:t("Meeting Link"),type:"text",placeholder:"https://meet.google.com/xxx-xxxx-xxx"},{name:"interviewers",label:t("Interviewers"),type:"multi-select",required:!0,options:_e}],modalSize:"lg"},initialData:n?{...n,candidate_id:(L=n.candidate_id)==null?void 0:L.toString(),scheduled_date:n.scheduled_date?window.appSettings.formatDateTimeSimple(n.scheduled_date,!1):n.scheduled_date}:null,title:t(b==="create"?"Schedule New Interview":"Edit Interview"),mode:b}),s.jsx(Ce,{isOpen:W,onClose:()=>x(!1),onConfirm:ne,itemName:n?`${(U=n.candidate)==null?void 0:U.first_name} ${(V=n.candidate)==null?void 0:V.last_name} - ${(z=n.round)==null?void 0:z.name}`:"",entityName:"interview"}),s.jsx(X,{isOpen:K,onClose:()=>j(!1),onSubmit:le,formConfig:{fields:[{name:"status",label:t("Status"),type:"select",required:!0,options:M.filter(e=>e.value!=="_empty_")}]},initialData:{status:Q},title:t("Update Interview Status"),mode:"edit",submitLabel:t("Update Status")}),s.jsx(xe,{open:!!C,onOpenChange:()=>D(null),children:C&&s.jsx(Ne,{interview:C})})]})}export{vi as default}; +import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as ge}from"./page-template-CLNVC8w_.js";import{u as ve,c as be,x as Se,P as ye,r as u,D as xe,t as i}from"./app-Dya84jp7.js";import{C as we}from"./CrudTable-yqxtM6E_.js";import{C as X}from"./CrudFormModal-CsuqSfb2.js";import{C as Ce}from"./CrudDeleteModal-D32N6I8y.js";import{P as je}from"./pagination-4PUepASD.js";import{S as Fe}from"./search-and-filter-bar-DWH0yn_r.js";import Ne from"./view-C30gboqX.js";import{S as ke,a as Oe,b as Pe,c as Ie,d as Te}from"./select-CHkpLxhL.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./index-BdQq_4o_.js";import"./leaflet-ChJqBZBV.js";function vi(){var R,L,U,V,z;const{t}=ve(),{auth:y,interviews:a,candidates:F,interviewTypes:B,employees:G,filters:d={}}=be().props,N=(y==null?void 0:y.permissions)||[],[f,k]=l.useState(d.search||""),[p,O]=l.useState(d.status||"_empty_"),[c,P]=l.useState(d.candidate_id||"_empty_"),[H,I]=l.useState(!1),[W,x]=l.useState(!1),[J,g]=l.useState(!1),[n,w]=l.useState(null),[b,T]=l.useState("create"),[C,D]=l.useState(null),[K,j]=l.useState(!1),[Q,Y]=l.useState(""),[Z,h]=l.useState([]),[S,v]=l.useState(""),ee=()=>p!=="_empty_"||c!=="_empty_"||f!=="",te=()=>(p!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(f!==""?1:0),re=e=>{e.preventDefault(),$()},$=()=>{u.get(route("hr.recruitment.interviews.index"),{page:1,search:f||void 0,status:p!=="_empty_"?p:void 0,candidate_id:c!=="_empty_"?c:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},ie=e=>{const r=d.sort_field===e&&d.sort_direction==="asc"?"desc":"asc";u.get(route("hr.recruitment.interviews.index"),{sort_field:e,sort_direction:r,page:1,search:f||void 0,status:p!=="_empty_"?p:void 0,candidate_id:c!=="_empty_"?c:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},se=async(e,r)=>{switch(w(r),e==="edit"&&r.candidate_id&&(v(r.candidate_id.toString()),await q(r.candidate_id.toString())),e){case"view":D(r);break;case"edit":T("edit"),g(!0);break;case"delete":x(!0);break;case"update-status":w(r),Y(r.status),j(!0);break}},q=async(e,r=!0)=>{if(r&&h([]),e&&e!=="_empty_")try{const _=await(await fetch(route("hr.recruitment.interviews.rounds-by-candidate",e),{method:"GET",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}})).json();h(_||[])}catch(o){console.error("Error fetching rounds:",o),h([])}else h([])},ae=()=>{w(null),T("create"),h([]),v(""),g(!0)},oe=e=>{S&&(e.candidate_id=S),b==="create"?(i.loading(t("Scheduling interview...")),u.post(route("hr.recruitment.interviews.store"),e,{onSuccess:r=>{g(!1),v(""),h([]),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to schedule interview: ${Object.values(r).join(", ")}`)}})):b==="edit"&&(i.loading(t("Updating interview...")),u.put(route("hr.recruitment.interviews.update",n.id),e,{onSuccess:r=>{g(!1),v(""),h([]),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update interview: ${Object.values(r).join(", ")}`)}}))},ne=()=>{i.loading(t("Deleting interview...")),u.delete(route("hr.recruitment.interviews.destroy",n.id),{onSuccess:e=>{x(!1),i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete interview: ${Object.values(e).join(", ")}`)}})},le=e=>{e.status&&(i.loading(t("Updating status...")),u.put(route("hr.recruitment.interviews.update-status",n.id),{status:e.status},{onSuccess:r=>{j(!1),i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update status: ${Object.values(r).join(", ")}`)}}))},me=()=>{k(""),O("_empty_"),P("_empty_"),I(!1),u.get(route("hr.recruitment.interviews.index"),{page:1,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},E=[];Se(N,"create-interviews")&&E.push({label:t("Schedule Interview"),icon:s.jsx(ye,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ae()});const de=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.interviews.index")},{title:t("Interviews")}],pe=e=>{switch(e){case"Scheduled":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";case"Cancelled":return"bg-red-50 text-red-700 ring-red-600/10";case"No-show":return"bg-orange-50 text-orange-700 ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},ce=[{key:"candidate.full_name",label:t("Candidate"),render:(e,r)=>{var o,_,m;return s.jsxs("div",{children:[s.jsxs("div",{className:"font-medium",children:[(o=r.candidate)==null?void 0:o.first_name," ",(_=r.candidate)==null?void 0:_.last_name]}),s.jsx("div",{className:"text-xs text-gray-500",children:(m=r.job)==null?void 0:m.title})]})}},{key:"round.name",label:t("Round"),render:(e,r)=>{var o;return((o=r.round)==null?void 0:o.name)||"-"}},{key:"interview_type.name",label:t("Type"),render:(e,r)=>{var o;return((o=r.interview_type)==null?void 0:o.name)||"-"}},{key:"scheduled_date",label:t("Date & Time"),sortable:!1,render:(e,r)=>{var o;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(r.scheduled_date,!1))||new Date(r.scheduled_date).toLocaleDateString()}),s.jsxs("div",{className:"text-xs text-gray-500",children:[window.appSettings.formatTime(r.scheduled_time)," (",r.duration," min)"]})]})}},{key:"location",label:t("Location"),render:(e,r)=>r.meeting_link?s.jsx("span",{className:"text-blue-600",children:t("Online")}):e||"-"},{key:"status",label:t("Status"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${pe(e)}`,children:t(e)})},{key:"feedback_submitted",label:t("Feedback"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e?"bg-green-50 text-green-700 ring-green-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:t(e?"Submitted":"Pending")})}],ue=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-interviews"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-interviews"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"edit-interviews"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-interviews"}],M=[{value:"_empty_",label:t("All Statuses")},{value:"Scheduled",label:t("Scheduled")},{value:"Completed",label:t("Completed")},{value:"Cancelled",label:t("Cancelled")},{value:"No-show",label:t("No-show")}],he=[{value:"_empty_",label:t("All Candidates"),disable:!0},...(F||[]).map(e=>({value:e.id.toString(),label:`${e.first_name} ${e.last_name}`}))],A=[{value:"_empty_",label:t("Select Candidate")},...(F||[]).map(e=>({value:e.id.toString(),label:`${e.first_name} ${e.last_name}`}))],fe=[{value:"_empty_",label:t("Select Interview Type")},...(B||[]).map(e=>({value:e.id.toString(),label:e.name}))],_e=(G||[]).map(e=>({value:e.id.toString(),label:e.name||`${e.first_name} ${e.last_name}`||e.employee_id}));return s.jsxs(ge,{title:t("Interviews"),url:"/hr/recruitment/interviews",actions:E,breadcrumbs:de,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(Fe,{searchTerm:f,onSearchChange:k,onSearch:re,filters:[{name:"status",label:t("Status"),type:"select",value:p,onChange:O,options:M,searchable:!0},{name:"candidate_id",label:t("Candidate"),type:"select",value:c,onChange:P,options:he,searchable:!0}],showFilters:H,setShowFilters:I,hasActiveFilters:ee,activeFilterCount:te,onResetFilters:me,onApplyFilters:$,currentPerPage:((R=d.per_page)==null?void 0:R.toString())||"10",onPerPageChange:e=>{u.get(route("hr.recruitment.interviews.index"),{page:1,per_page:parseInt(e),search:f||void 0,status:p!=="_empty_"?p:void 0,candidate_id:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(we,{columns:ce,actions:ue,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:se,sortField:d.sort_field,sortDirection:d.sort_direction,onSort:ie,permissions:N,entityPermissions:{view:"view-interviews",create:"create-interviews",edit:"edit-interviews",delete:"delete-interviews"}}),s.jsx(je,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("interviews"),onPageChange:e=>u.get(e)})]}),s.jsx(X,{isOpen:J,onClose:()=>g(!1),onSubmit:oe,formConfig:{fields:[{name:"candidate_id",label:t("Candidate"),type:"select",required:!1,options:A.filter(e=>e.value!=="_empty_"),render:(e,r,o)=>{const _=S||r[e.name]||"";return s.jsxs(ke,{value:_,onValueChange:m=>{v(m),o(e.name,m),h([]),o("round_id",""),q(m)},children:[s.jsx(Oe,{children:s.jsx(Pe,{placeholder:t("Select Candidate")})}),s.jsx(Ie,{className:"z-[60000]",searchable:!0,children:A.filter(m=>m.value!=="_empty_").map(m=>s.jsx(Te,{value:String(m.value),children:m.label},m.value))})]})}},{name:"round_id",label:t("Interview Round"),type:"select",required:!0,searchable:!0,key:`round-${S}`,options:Z.map(e=>({value:e.id.toString(),label:e.name}))},{name:"interview_type_id",label:t("Interview Type"),type:"select",required:!0,options:fe.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"scheduled_date",label:t("Date"),type:"date",required:!0},{name:"scheduled_time",label:t("Time"),type:"time",required:!0},{name:"duration",label:t("Duration (minutes)"),type:"number",required:!0,min:15,max:480},{name:"location",label:t("Location"),type:"text"},{name:"meeting_link",label:t("Meeting Link"),type:"text",placeholder:"https://meet.google.com/xxx-xxxx-xxx"},{name:"interviewers",label:t("Interviewers"),type:"multi-select",required:!0,options:_e}],modalSize:"lg"},initialData:n?{...n,candidate_id:(L=n.candidate_id)==null?void 0:L.toString(),scheduled_date:n.scheduled_date?window.appSettings.formatDateTimeSimple(n.scheduled_date,!1):n.scheduled_date}:null,title:t(b==="create"?"Schedule New Interview":"Edit Interview"),mode:b}),s.jsx(Ce,{isOpen:W,onClose:()=>x(!1),onConfirm:ne,itemName:n?`${(U=n.candidate)==null?void 0:U.first_name} ${(V=n.candidate)==null?void 0:V.last_name} - ${(z=n.round)==null?void 0:z.name}`:"",entityName:"interview"}),s.jsx(X,{isOpen:K,onClose:()=>j(!1),onSubmit:le,formConfig:{fields:[{name:"status",label:t("Status"),type:"select",required:!0,options:M.filter(e=>e.value!=="_empty_")}]},initialData:{status:Q},title:t("Update Interview Status"),mode:"edit",submitLabel:t("Update Status")}),s.jsx(xe,{open:!!C,onOpenChange:()=>D(null),children:C&&s.jsx(Ne,{interview:C})})]})}export{vi as default}; diff --git a/public/build/assets/index-BdMii99d.js b/public/build/assets/index-BdMii99d.js deleted file mode 100644 index c4055eca8..000000000 --- a/public/build/assets/index-BdMii99d.js +++ /dev/null @@ -1 +0,0 @@ -import{r as c,j as p}from"./ui-Z445SNHD.js";import{P as A}from"./page-template-BTxLyiDA.js";import{u as E,c as O,r as n,t as m}from"./app-CfhhiFAk.js";import{C as M}from"./CrudTable-qPWooc10.js";import{C as R}from"./CrudDeleteModal-CKTiD3_K.js";import{P as I}from"./pagination-D8A_HnL5.js";import{S as L}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function Se(){var S;const{t:e}=E(),{auth:d,newsletters:t,filters:o={},globalSettings:i}=O().props,b=(d==null?void 0:d.permissions)||[],[s,f]=c.useState(o.search||""),[_,h]=c.useState(!1),[v,u]=c.useState(!1),[l,x]=c.useState(null),w=()=>s!=="",P=()=>s!==""?1:0,D=r=>{r.preventDefault(),g()},g=()=>{n.get(route("newsletters.index"),{page:1,search:s||void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},C=r=>{const a=o.sort_field===r&&o.sort_direction==="asc"?"desc":"asc";n.get(route("newsletters.index"),{sort_field:r,sort_direction:a,page:1,search:s||void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},F=(r,a)=>{switch(x(a),r){case"delete":u(!0);break}},j=()=>{i!=null&&i.is_demo||m.loading(e("Deleting newsletter subscription...")),n.delete(route("newsletters.destroy",l.id),{onSuccess:r=>{u(!1),i!=null&&i.is_demo||m.dismiss(),r.props.flash.success?m.success(e(r.props.flash.success)):r.props.flash.error&&m.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||m.dismiss(),typeof r=="string"?m.error(e(r)):m.error(e("Failed to delete newsletter subscription: {{errors}}",{errors:Object.values(r).join(", ")}))}})},y=()=>{f(""),h(!1),n.get(route("newsletters.index"),{page:1,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},N=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Landing Page"),href:route("landing-page")},{title:e("Newsletter")}],T=[{key:"email",label:e("Email"),sortable:!0,render:r=>r||"-"},{key:"created_at",label:e("Subscribed Date"),sortable:!0,render:r=>{var a;return((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],k=[{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-newsletters"}];return p.jsxs(A,{title:e("Newsletter"),url:"/newsletters",breadcrumbs:N,noPadding:!0,children:[p.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:p.jsx(L,{searchTerm:s,onSearchChange:f,onSearch:D,filters:[],showFilters:_,setShowFilters:h,hasActiveFilters:w,activeFilterCount:P,onResetFilters:y,onApplyFilters:g,currentPerPage:((S=o.per_page)==null?void 0:S.toString())||"10",onPerPageChange:r=>{n.get(route("newsletters.index"),{page:1,per_page:parseInt(r),search:s||void 0},{preserveState:!0,preserveScroll:!0})}})}),p.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[p.jsx(M,{columns:T,actions:k,data:(t==null?void 0:t.data)||[],from:(t==null?void 0:t.from)||1,onAction:F,sortField:o.sort_field,sortDirection:o.sort_direction,onSort:C,permissions:b,entityPermissions:{delete:"delete-newsletters"}}),p.jsx(I,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:e("newsletter subscriptions"),onPageChange:r=>n.get(r)})]}),p.jsx(R,{isOpen:v,onClose:()=>u(!1),onConfirm:j,itemName:(l==null?void 0:l.email)||"",itemType:e("newsletter subscription")})]})}export{Se as default}; diff --git a/public/build/assets/index-cXt_xBft.js b/public/build/assets/index-BsIszv37.js similarity index 74% rename from public/build/assets/index-cXt_xBft.js rename to public/build/assets/index-BsIszv37.js index 12fd3d1ea..956f5bee1 100644 --- a/public/build/assets/index-cXt_xBft.js +++ b/public/build/assets/index-BsIszv37.js @@ -1,4 +1,4 @@ -import{r as n,j as e}from"./ui-Z445SNHD.js";import{P as u}from"./page-template-BTxLyiDA.js";import{F as j,i as y,a as f,b}from"./index-DrmIhGnK.js";import{u as N,D,h as w,j as v,k as C,B as r}from"./app-CfhhiFAk.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function di({events:a,canManage:s}){const{t}=N(),[i,m]=n.useState(null),[d,o]=n.useState(!1),p=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Calendar")}],x=[],c=h=>{const l=a.find(g=>String(g.id)===String(h.event.id));l&&(m(l),o(!0))};return e.jsxs(u,{title:t("Calendar"),url:"/calendar",breadcrumbs:p,actions:x,children:[e.jsxs("div",{className:"bg-white rounded-lg shadow p-6",children:[e.jsx("div",{className:"mb-4 flex justify-between items-center",children:e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[e.jsx("div",{className:"w-3 h-3 bg-blue-500 rounded"}),e.jsx("span",{children:t("Meetings")})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[e.jsx("div",{className:"w-3 h-3 bg-green-500 rounded"}),e.jsx("span",{children:t("Holidays")})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[e.jsx("div",{className:"w-3 h-3 bg-yellow-500 rounded"}),e.jsx("span",{children:t("Leaves")})]})]})}),e.jsx("div",{style:{height:"600px"},children:e.jsx(j,{plugins:[y,f,b],initialView:"dayGridMonth",headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},events:a,height:"100%",editable:s,selectable:s,selectMirror:!0,dayMaxEvents:!0,weekends:!0,eventDisplay:"block",eventBackgroundColor:"",eventBorderColor:"",eventTextColor:"white",eventClick:c,displayEventTime:!1})})]}),e.jsx(D,{open:d,onOpenChange:o,children:e.jsxs(w,{className:"max-w-md",children:[e.jsx(v,{children:e.jsx(C,{children:i==null?void 0:i.title})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(r,{variant:"outline",className:` +import{r as n,j as e}from"./ui-Z445SNHD.js";import{P as u}from"./page-template-CLNVC8w_.js";import{F as j,i as y,a as f,b}from"./index-DrmIhGnK.js";import{u as N,D,h as w,j as v,k as C,B as r}from"./app-Dya84jp7.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function di({events:a,canManage:s}){const{t}=N(),[i,m]=n.useState(null),[d,o]=n.useState(!1),p=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Calendar")}],x=[],c=h=>{const l=a.find(g=>String(g.id)===String(h.event.id));l&&(m(l),o(!0))};return e.jsxs(u,{title:t("Calendar"),url:"/calendar",breadcrumbs:p,actions:x,children:[e.jsxs("div",{className:"bg-white rounded-lg shadow p-6",children:[e.jsx("div",{className:"mb-4 flex justify-between items-center",children:e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[e.jsx("div",{className:"w-3 h-3 bg-blue-500 rounded"}),e.jsx("span",{children:t("Meetings")})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[e.jsx("div",{className:"w-3 h-3 bg-green-500 rounded"}),e.jsx("span",{children:t("Holidays")})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[e.jsx("div",{className:"w-3 h-3 bg-yellow-500 rounded"}),e.jsx("span",{children:t("Leaves")})]})]})}),e.jsx("div",{style:{height:"600px"},children:e.jsx(j,{plugins:[y,f,b],initialView:"dayGridMonth",headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},events:a,height:"100%",editable:s,selectable:s,selectMirror:!0,dayMaxEvents:!0,weekends:!0,eventDisplay:"block",eventBackgroundColor:"",eventBorderColor:"",eventTextColor:"white",eventClick:c,displayEventTime:!1})})]}),e.jsx(D,{open:d,onOpenChange:o,children:e.jsxs(w,{className:"max-w-md",children:[e.jsx(v,{children:e.jsx(C,{children:i==null?void 0:i.title})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(r,{variant:"outline",className:` ${(i==null?void 0:i.type)==="meeting"?"bg-blue-50 text-blue-700":""} ${(i==null?void 0:i.type)==="holiday"?"bg-green-50 text-green-700":""} ${(i==null?void 0:i.type)==="leave"?"bg-yellow-50 text-yellow-700":""} diff --git a/public/build/assets/index-BsxQTXyb.js b/public/build/assets/index-BsxQTXyb.js new file mode 100644 index 000000000..55dbe437e --- /dev/null +++ b/public/build/assets/index-BsxQTXyb.js @@ -0,0 +1 @@ +import{r as g,j as o}from"./ui-Z445SNHD.js";import{u as w,c as y,r as p,P as N,t as a}from"./app-Dya84jp7.js";import{P as T}from"./pagination-4PUepASD.js";import{S as k}from"./search-and-filter-bar-DWH0yn_r.js";import{P as F}from"./page-template-CLNVC8w_.js";import{C as A}from"./CrudTable-yqxtM6E_.js";import{C as E}from"./CrudDeleteModal-D32N6I8y.js";import{T as I}from"./toaster-Bc5RPjCT.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./calendar-DuRYaSj5.js";import"./filter-BTHjyusi.js";import"./list-C_2fG_BT.js";import"./layout-grid-3SDzvK8c.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function ge(){var f;const{t:m}=w(),{pages:r,filters:n={},globalSettings:i}=y().props,[h,c]=g.useState(!1),[d,u]=g.useState(null),[s,x]=g.useState(n.search||""),S=t=>{p.get(route("landing-page.custom-pages.edit",t.id))},b=t=>{u(t),c(!0)},C=()=>{i!=null&&i.is_demo||a.loading(m("Deleting page...")),p.delete(route("landing-page.custom-pages.destroy",d.id),{onSuccess:t=>{var e,l;c(!1),u(null),i!=null&&i.is_demo||a.dismiss(),(e=t.props.flash)!=null&&e.success?a.success(m(t.props.flash.success)):(l=t.props.flash)!=null&&l.error&&a.error(m(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||a.dismiss(),typeof t=="string"?a.error(m(t)):a.error(m("Failed to delete page"))}})},P=t=>{t.preventDefault();const e={page:1};s&&(e.search=s),p.get(route("landing-page.custom-pages.index"),e,{preserveState:!0,preserveScroll:!0})},v=(t,e)=>{t==="edit"?S(e):t==="delete"&&b(e)},j=t=>{const e=n.sort_field===t&&n.sort_direction==="desc"?"asc":"desc",l={sort_field:t,sort_direction:e,page:1};s&&(l.search=s),p.get(route("landing-page.custom-pages.index"),l,{preserveState:!0,preserveScroll:!0})},D=[{key:"title",label:"Title",sortable:!0,render:t=>o.jsx("div",{className:"font-medium",children:t})},{key:"content",label:"Content",render:t=>{const e=t.replace(/<[^>]*>/g,"");return o.jsxs("div",{className:"max-w-xs truncate",title:e,children:[e.substring(0,100),"..."]})}},{key:"is_active",label:"Status",render:t=>{const e=t?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e}`,children:t?"Active":"Inactive"})}},{key:"created_at",label:"Created",sortable:!0,render:t=>{var e;return((e=window.appSettings)==null?void 0:e.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],_=[{label:"Edit",icon:"Edit",action:"edit",className:"text-amber-500"},{label:"Delete",icon:"Trash2",action:"delete",className:"text-red-500"}];return o.jsxs(F,{title:"Custom Pages",url:"/custom-pages",breadcrumbs:[{title:m("Dashboard"),href:route("dashboard")},{title:m("Landing Page"),href:route("landing-page")},{title:m("Custom Pages")}],actions:[{label:"Add Page",icon:o.jsx(N,{className:"w-4 h-4 mr-2"}),variant:"default",onClick:()=>p.get(route("landing-page.custom-pages.create"))}],noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(k,{searchTerm:s,onSearchChange:x,onSearch:P,filters:[],showFilters:!1,setShowFilters:()=>{},hasActiveFilters:()=>!1,activeFilterCount:()=>0,onResetFilters:()=>{},currentPerPage:((f=n.per_page)==null?void 0:f.toString())||"10",onPerPageChange:t=>{const e={page:1,per_page:parseInt(t)};s&&(e.search=s),p.get(route("landing-page.custom-pages.index"),e,{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(A,{columns:D,actions:_,data:(r==null?void 0:r.data)||r||[],from:(r==null?void 0:r.from)||1,onAction:v,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:j}),(r==null?void 0:r.links)&&o.jsx(T,{from:(r==null?void 0:r.from)||0,to:(r==null?void 0:r.to)||0,total:(r==null?void 0:r.total)||0,links:r==null?void 0:r.links,entityName:"pages",onPageChange:t=>p.get(t)})]}),o.jsx(E,{isOpen:h,onClose:()=>{c(!1),u(null)},onConfirm:C,itemName:(d==null?void 0:d.title)||"",entityName:"page"}),o.jsx(I,{})]})}export{ge as default}; diff --git a/public/build/assets/index-CY9ihQ1o.js b/public/build/assets/index-BwHXA9aB.js similarity index 92% rename from public/build/assets/index-CY9ihQ1o.js rename to public/build/assets/index-BwHXA9aB.js index f01d43adc..e81403063 100644 --- a/public/build/assets/index-CY9ihQ1o.js +++ b/public/build/assets/index-BwHXA9aB.js @@ -1 +1 @@ -import{r as m,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-BTxLyiDA.js";import{u as ce,c as de,x as M,L as q,I as H,o as p,S as le,X as ne,r as f,t as i}from"./app-CfhhiFAk.js";import{C as oe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as me}from"./pagination-D8A_HnL5.js";import{T as xe}from"./textarea-kpRjGGLz.js";import{S,a as _,b as F,c as C,d as u}from"./select-BrY9osYp.js";import{R as O}from"./refresh-cw-DWorkL8J.js";import{a as he,C as pe}from"./chevron-up-DepFp6b6.js";import{S as K}from"./square-pen-bMHyT06o.js";import{T as X}from"./trash-2-C1NR_7Ss.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";const Y=["Monthly","Quarterly","Semi-Annual","Annual","One-time"];function sr(){const{t:s}=ce(),{auth:R,reviewCycles:t,filters:d={},globalSettings:a}=de().props,D=(R==null?void 0:R.permissions)||[],[b,U]=m.useState(d.search||""),[x,z]=m.useState(d.status||"all"),[h,V]=m.useState(d.frequency||"all"),[G,A]=m.useState(!1),[w,E]=m.useState(null),[y,L]=m.useState("create"),[l,v]=m.useState({name:"",frequency:"",description:"",status:"active"}),[o,j]=m.useState({}),[P,J]=m.useState(new Set),N=M(D,"create-review-cycles"),g=M(D,"edit-review-cycles"),B=M(D,"delete-review-cycles"),W=r=>{const c=new Set(P);c.has(r)?c.delete(r):c.add(r),J(c)},T=()=>{v({name:"",frequency:"",description:"",status:"active"}),j({}),L("create"),E(null)},Z=r=>{v({name:r.name||"",frequency:r.frequency||"",description:r.description||"",status:r.status||"active"}),L("edit"),E(r),j({})},Q=r=>{r.preventDefault(),ee()},ee=()=>{f.get(route("hr.performance.review-cycles.index"),{page:1,search:b||void 0,status:x!=="all"?x:void 0,frequency:h!=="all"?h:void 0,per_page:d.per_page||10},{preserveState:!0,preserveScroll:!0})},re=()=>{U(""),z("all"),V("all"),f.get(route("hr.performance.review-cycles.index"),{page:1,per_page:d.per_page||10},{preserveState:!0,preserveScroll:!0})},$=r=>{const c=d.sort_field===r&&d.sort_direction==="asc"?"desc":"asc";f.get(route("hr.performance.review-cycles.index"),{sort_field:r,sort_direction:c,page:1,search:b||void 0,status:x!=="all"?x:void 0,frequency:h!=="all"?h:void 0,per_page:d.per_page||10},{preserveState:!0,preserveScroll:!0})},k=(r,c)=>{switch(r){case"edit":Z(c),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":E(c),A(!0);break}},se=r=>{r.preventDefault(),j({});const c={};if(l.name.trim()||(c.name=s("Review cycle name is required")),l.frequency||(c.frequency=s("Frequency is required")),l.status||(c.status=s("Status is required")),Object.keys(c).length>0){j(c);return}y==="create"?(a!=null&&a.is_demo||i.loading(s("Creating review cycle...")),f.post(route("hr.performance.review-cycles.store"),l,{onSuccess:n=>{a!=null&&a.is_demo||i.dismiss(),n.props.flash.success?(i.success(s(n.props.flash.success)),T()):n.props.flash.error&&i.error(s(n.props.flash.error))},onError:n=>{a!=null&&a.is_demo||i.dismiss(),j(n),i.error(s("Please check the form for errors"))}})):y==="edit"&&(a!=null&&a.is_demo||i.loading(s("Updating review cycle...")),f.put(route("hr.performance.review-cycles.update",w.id),l,{onSuccess:n=>{a!=null&&a.is_demo||i.dismiss(),n.props.flash.success?(i.success(s(n.props.flash.success)),T()):n.props.flash.error&&i.error(s(n.props.flash.error))},onError:n=>{a!=null&&a.is_demo||i.dismiss(),j(n),i.error(s("Please check the form for errors"))}}))},te=()=>{a!=null&&a.is_demo||i.loading(s("Deleting review cycle...")),f.delete(route("hr.performance.review-cycles.destroy",w.id),{onSuccess:r=>{A(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(s(r.props.flash.success)):r.props.flash.error&&i.error(s(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),i.error(s(typeof r=="string"?r:"Failed to delete review cycle"))}})},ae=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:s("Performance"),href:route("hr.performance.indicator-categories.index")},{title:s("Review Cycles")}],I=b||x!=="all"||h!=="all";return e.jsxs(ie,{title:s("Review Cycles"),description:"",url:"/hr/performance/review-cycles",breadcrumbs:ae,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s(y==="create"?"Add New Review Cycle":"Edit Review Cycle")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s(y==="create"?"Fill in the details to create a new review cycle":"Update the review cycle details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(q,{required:!0,htmlFor:"name",className:"required",children:s("Review Cycle Name")}),e.jsx(H,{id:"name",value:l.name,onChange:r=>v({...l,name:r.target.value}),placeholder:s("e.g., Annual Review 2026"),className:o.name?"border-red-500":"",disabled:!N&&!g}),o.name&&e.jsx("p",{className:"text-sm text-red-500",children:o.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(q,{required:!0,htmlFor:"frequency",className:"required",children:s("Frequency")}),e.jsxs(S,{value:l.frequency,onValueChange:r=>v({...l,frequency:r}),disabled:!N&&!g,children:[e.jsx(_,{className:o.frequency?"border-red-500":"",children:e.jsx(F,{placeholder:s("Select frequency")})}),e.jsx(C,{children:Y.map(r=>e.jsx(u,{value:r,children:s(r)},r))})]}),o.frequency&&e.jsx("p",{className:"text-sm text-red-500",children:o.frequency})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(q,{htmlFor:"description",children:s("Description")}),e.jsx(xe,{id:"description",value:l.description,onChange:r=>v({...l,description:r.target.value}),placeholder:s("Brief description of the review cycle"),rows:3,className:o.description?"border-red-500":"",disabled:!N&&!g}),o.description&&e.jsx("p",{className:"text-sm text-red-500",children:o.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(q,{required:!0,htmlFor:"status",className:"required",children:s("Status")}),e.jsxs(S,{value:l.status,onValueChange:r=>v({...l,status:r}),disabled:!N&&!g,children:[e.jsx(_,{className:o.status?"border-red-500":"",children:e.jsx(F,{})}),e.jsxs(C,{children:[e.jsx(u,{value:"active",children:s("Active")}),e.jsx(u,{value:"inactive",children:s("Inactive")})]})]}),o.status&&e.jsx("p",{className:"text-sm text-red-500",children:o.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(N||g)&&e.jsx(p,{type:"submit",className:"flex-1",children:s(y==="create"?"Add Review Cycle":"Update Review Cycle")}),y==="edit"&&e.jsx(p,{type:"button",variant:"outline",onClick:T,children:s("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(le,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(H,{placeholder:s("Search review cycles..."),value:b,onChange:r=>U(r.target.value),onKeyDown:r=>r.key==="Enter"&&Q(r),className:"pl-10"})]}),e.jsx(p,{onClick:Q,variant:"default",children:s("Search")}),I&&e.jsxs(p,{onClick:re,variant:"outline",children:[e.jsx(ne,{className:"h-4 w-4 mr-2"}),s("Reset")]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:[e.jsxs(S,{value:h,onValueChange:V,children:[e.jsx(_,{children:e.jsx(F,{placeholder:s("All Frequencies")})}),e.jsxs(C,{children:[e.jsx(u,{value:"all",children:s("All Frequencies")}),Y.map(r=>e.jsx(u,{value:r,children:s(r)},r))]})]}),e.jsxs(S,{value:x,onValueChange:z,children:[e.jsx(_,{children:e.jsx(F,{placeholder:s("All Statuses")})}),e.jsxs(C,{children:[e.jsx(u,{value:"all",children:s("All Statuses")}),e.jsx(u,{value:"active",children:s("Active")}),e.jsx(u,{value:"inactive",children:s("Inactive")})]})]})]})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((t==null?void 0:t.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s("Review Cycles")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s("Manage performance review cycles for your organization")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>$("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[s("Name"),d.sort_field==="name"?d.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>$("frequency"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[s("Frequency"),d.sort_field==="frequency"?d.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((t==null?void 0:t.data)||[]).map(r=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-indigo-100 text-indigo-600 dark:bg-indigo-900/30 dark:text-indigo-400",children:e.jsx(O,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:P.has(r.id)?"":"line-clamp-2",children:r.description}),r.description.length>60&&e.jsx("button",{onClick:()=>W(r.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:P.has(r.id)?e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),s("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),s("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20 dark:bg-blue-900/20 dark:text-blue-300",children:s(r.frequency)})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?s("Active"):s("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[g&&e.jsx(p,{variant:"ghost",size:"sm",onClick:()=>k("edit",r),className:"h-8 w-8 p-0 text-amber-500",title:s("Edit"),children:e.jsx(K,{className:"h-4 w-4"})}),B&&e.jsx(p,{variant:"ghost",size:"sm",onClick:()=>k("delete",r),className:"h-8 w-8 p-0 text-red-500",title:s("Delete"),children:e.jsx(X,{className:"h-4 w-4"})})]})})]},r.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((t==null?void 0:t.data)||[]).map(r=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-indigo-100 text-indigo-600 dark:bg-indigo-900/30 dark:text-indigo-400",children:e.jsx(O,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:r.description,children:r.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[g&&e.jsx(p,{variant:"ghost",size:"sm",onClick:()=>k("edit",r),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(K,{className:"h-4 w-4"})}),B&&e.jsx(p,{variant:"ghost",size:"sm",onClick:()=>k("delete",r),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(X,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:s("Frequency")}),e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20",children:s(r.frequency)})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:s("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?s("Active"):s("Inactive")})]})]})]},r.id))}),(t==null?void 0:t.total)>((t==null?void 0:t.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:s("review cycles"),onPageChange:r=>{const c=new URL(r).searchParams.get("page")||"1";f.get(route("hr.performance.review-cycles.index"),{page:c,per_page:d.per_page||10,search:b||void 0,status:x!=="all"?x:void 0,frequency:h!=="all"?h:void 0,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(O,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:s("No review cycles found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:s(I?"No review cycles match your search criteria. Try adjusting your filters.":"Create review cycles to manage employee performance reviews.")}),!I&&N&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:s("Use the form on the left to add your first review cycle.")})]})})]})]}),e.jsx(oe,{isOpen:G,onClose:()=>A(!1),onConfirm:te,itemName:(w==null?void 0:w.name)||"",entityName:"review cycle"})]})}export{sr as default}; +import{r as m,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-CLNVC8w_.js";import{u as ce,c as de,x as M,L as q,I as H,o as p,S as le,X as ne,r as f,t as i}from"./app-Dya84jp7.js";import{C as oe}from"./CrudDeleteModal-D32N6I8y.js";import{P as me}from"./pagination-4PUepASD.js";import{T as xe}from"./textarea-yeg8ONhy.js";import{S,a as _,b as F,c as C,d as u}from"./select-CHkpLxhL.js";import{R as O}from"./refresh-cw-D_C_cDSu.js";import{a as he,C as pe}from"./chevron-up-DHaGktre.js";import{S as K}from"./square-pen-CzdhbxyN.js";import{T as X}from"./trash-2-BeirBLIk.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";const Y=["Monthly","Quarterly","Semi-Annual","Annual","One-time"];function sr(){const{t:s}=ce(),{auth:R,reviewCycles:t,filters:d={},globalSettings:a}=de().props,D=(R==null?void 0:R.permissions)||[],[b,U]=m.useState(d.search||""),[x,z]=m.useState(d.status||"all"),[h,V]=m.useState(d.frequency||"all"),[G,A]=m.useState(!1),[w,E]=m.useState(null),[y,L]=m.useState("create"),[l,v]=m.useState({name:"",frequency:"",description:"",status:"active"}),[o,j]=m.useState({}),[P,J]=m.useState(new Set),N=M(D,"create-review-cycles"),g=M(D,"edit-review-cycles"),B=M(D,"delete-review-cycles"),W=r=>{const c=new Set(P);c.has(r)?c.delete(r):c.add(r),J(c)},T=()=>{v({name:"",frequency:"",description:"",status:"active"}),j({}),L("create"),E(null)},Z=r=>{v({name:r.name||"",frequency:r.frequency||"",description:r.description||"",status:r.status||"active"}),L("edit"),E(r),j({})},Q=r=>{r.preventDefault(),ee()},ee=()=>{f.get(route("hr.performance.review-cycles.index"),{page:1,search:b||void 0,status:x!=="all"?x:void 0,frequency:h!=="all"?h:void 0,per_page:d.per_page||10},{preserveState:!0,preserveScroll:!0})},re=()=>{U(""),z("all"),V("all"),f.get(route("hr.performance.review-cycles.index"),{page:1,per_page:d.per_page||10},{preserveState:!0,preserveScroll:!0})},$=r=>{const c=d.sort_field===r&&d.sort_direction==="asc"?"desc":"asc";f.get(route("hr.performance.review-cycles.index"),{sort_field:r,sort_direction:c,page:1,search:b||void 0,status:x!=="all"?x:void 0,frequency:h!=="all"?h:void 0,per_page:d.per_page||10},{preserveState:!0,preserveScroll:!0})},k=(r,c)=>{switch(r){case"edit":Z(c),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":E(c),A(!0);break}},se=r=>{r.preventDefault(),j({});const c={};if(l.name.trim()||(c.name=s("Review cycle name is required")),l.frequency||(c.frequency=s("Frequency is required")),l.status||(c.status=s("Status is required")),Object.keys(c).length>0){j(c);return}y==="create"?(a!=null&&a.is_demo||i.loading(s("Creating review cycle...")),f.post(route("hr.performance.review-cycles.store"),l,{onSuccess:n=>{a!=null&&a.is_demo||i.dismiss(),n.props.flash.success?(i.success(s(n.props.flash.success)),T()):n.props.flash.error&&i.error(s(n.props.flash.error))},onError:n=>{a!=null&&a.is_demo||i.dismiss(),j(n),i.error(s("Please check the form for errors"))}})):y==="edit"&&(a!=null&&a.is_demo||i.loading(s("Updating review cycle...")),f.put(route("hr.performance.review-cycles.update",w.id),l,{onSuccess:n=>{a!=null&&a.is_demo||i.dismiss(),n.props.flash.success?(i.success(s(n.props.flash.success)),T()):n.props.flash.error&&i.error(s(n.props.flash.error))},onError:n=>{a!=null&&a.is_demo||i.dismiss(),j(n),i.error(s("Please check the form for errors"))}}))},te=()=>{a!=null&&a.is_demo||i.loading(s("Deleting review cycle...")),f.delete(route("hr.performance.review-cycles.destroy",w.id),{onSuccess:r=>{A(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(s(r.props.flash.success)):r.props.flash.error&&i.error(s(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),i.error(s(typeof r=="string"?r:"Failed to delete review cycle"))}})},ae=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:s("Performance"),href:route("hr.performance.indicator-categories.index")},{title:s("Review Cycles")}],I=b||x!=="all"||h!=="all";return e.jsxs(ie,{title:s("Review Cycles"),description:"",url:"/hr/performance/review-cycles",breadcrumbs:ae,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s(y==="create"?"Add New Review Cycle":"Edit Review Cycle")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s(y==="create"?"Fill in the details to create a new review cycle":"Update the review cycle details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(q,{required:!0,htmlFor:"name",className:"required",children:s("Review Cycle Name")}),e.jsx(H,{id:"name",value:l.name,onChange:r=>v({...l,name:r.target.value}),placeholder:s("e.g., Annual Review 2026"),className:o.name?"border-red-500":"",disabled:!N&&!g}),o.name&&e.jsx("p",{className:"text-sm text-red-500",children:o.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(q,{required:!0,htmlFor:"frequency",className:"required",children:s("Frequency")}),e.jsxs(S,{value:l.frequency,onValueChange:r=>v({...l,frequency:r}),disabled:!N&&!g,children:[e.jsx(_,{className:o.frequency?"border-red-500":"",children:e.jsx(F,{placeholder:s("Select frequency")})}),e.jsx(C,{children:Y.map(r=>e.jsx(u,{value:r,children:s(r)},r))})]}),o.frequency&&e.jsx("p",{className:"text-sm text-red-500",children:o.frequency})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(q,{htmlFor:"description",children:s("Description")}),e.jsx(xe,{id:"description",value:l.description,onChange:r=>v({...l,description:r.target.value}),placeholder:s("Brief description of the review cycle"),rows:3,className:o.description?"border-red-500":"",disabled:!N&&!g}),o.description&&e.jsx("p",{className:"text-sm text-red-500",children:o.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(q,{required:!0,htmlFor:"status",className:"required",children:s("Status")}),e.jsxs(S,{value:l.status,onValueChange:r=>v({...l,status:r}),disabled:!N&&!g,children:[e.jsx(_,{className:o.status?"border-red-500":"",children:e.jsx(F,{})}),e.jsxs(C,{children:[e.jsx(u,{value:"active",children:s("Active")}),e.jsx(u,{value:"inactive",children:s("Inactive")})]})]}),o.status&&e.jsx("p",{className:"text-sm text-red-500",children:o.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(N||g)&&e.jsx(p,{type:"submit",className:"flex-1",children:s(y==="create"?"Add Review Cycle":"Update Review Cycle")}),y==="edit"&&e.jsx(p,{type:"button",variant:"outline",onClick:T,children:s("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(le,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(H,{placeholder:s("Search review cycles..."),value:b,onChange:r=>U(r.target.value),onKeyDown:r=>r.key==="Enter"&&Q(r),className:"pl-10"})]}),e.jsx(p,{onClick:Q,variant:"default",children:s("Search")}),I&&e.jsxs(p,{onClick:re,variant:"outline",children:[e.jsx(ne,{className:"h-4 w-4 mr-2"}),s("Reset")]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:[e.jsxs(S,{value:h,onValueChange:V,children:[e.jsx(_,{children:e.jsx(F,{placeholder:s("All Frequencies")})}),e.jsxs(C,{children:[e.jsx(u,{value:"all",children:s("All Frequencies")}),Y.map(r=>e.jsx(u,{value:r,children:s(r)},r))]})]}),e.jsxs(S,{value:x,onValueChange:z,children:[e.jsx(_,{children:e.jsx(F,{placeholder:s("All Statuses")})}),e.jsxs(C,{children:[e.jsx(u,{value:"all",children:s("All Statuses")}),e.jsx(u,{value:"active",children:s("Active")}),e.jsx(u,{value:"inactive",children:s("Inactive")})]})]})]})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((t==null?void 0:t.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s("Review Cycles")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s("Manage performance review cycles for your organization")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>$("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[s("Name"),d.sort_field==="name"?d.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>$("frequency"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[s("Frequency"),d.sort_field==="frequency"?d.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((t==null?void 0:t.data)||[]).map(r=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-indigo-100 text-indigo-600 dark:bg-indigo-900/30 dark:text-indigo-400",children:e.jsx(O,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:P.has(r.id)?"":"line-clamp-2",children:r.description}),r.description.length>60&&e.jsx("button",{onClick:()=>W(r.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:P.has(r.id)?e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),s("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),s("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20 dark:bg-blue-900/20 dark:text-blue-300",children:s(r.frequency)})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?s("Active"):s("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[g&&e.jsx(p,{variant:"ghost",size:"sm",onClick:()=>k("edit",r),className:"h-8 w-8 p-0 text-amber-500",title:s("Edit"),children:e.jsx(K,{className:"h-4 w-4"})}),B&&e.jsx(p,{variant:"ghost",size:"sm",onClick:()=>k("delete",r),className:"h-8 w-8 p-0 text-red-500",title:s("Delete"),children:e.jsx(X,{className:"h-4 w-4"})})]})})]},r.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((t==null?void 0:t.data)||[]).map(r=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-indigo-100 text-indigo-600 dark:bg-indigo-900/30 dark:text-indigo-400",children:e.jsx(O,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:r.description,children:r.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[g&&e.jsx(p,{variant:"ghost",size:"sm",onClick:()=>k("edit",r),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(K,{className:"h-4 w-4"})}),B&&e.jsx(p,{variant:"ghost",size:"sm",onClick:()=>k("delete",r),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(X,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:s("Frequency")}),e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20",children:s(r.frequency)})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:s("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?s("Active"):s("Inactive")})]})]})]},r.id))}),(t==null?void 0:t.total)>((t==null?void 0:t.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:s("review cycles"),onPageChange:r=>{const c=new URL(r).searchParams.get("page")||"1";f.get(route("hr.performance.review-cycles.index"),{page:c,per_page:d.per_page||10,search:b||void 0,status:x!=="all"?x:void 0,frequency:h!=="all"?h:void 0,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(O,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:s("No review cycles found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:s(I?"No review cycles match your search criteria. Try adjusting your filters.":"Create review cycles to manage employee performance reviews.")}),!I&&N&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:s("Use the form on the left to add your first review cycle.")})]})})]})]}),e.jsx(oe,{isOpen:G,onClose:()=>A(!1),onConfirm:te,itemName:(w==null?void 0:w.name)||"",entityName:"review cycle"})]})}export{sr as default}; diff --git a/public/build/assets/index-B-BvIINs.js b/public/build/assets/index-BwP8Xt-d.js similarity index 91% rename from public/build/assets/index-B-BvIINs.js rename to public/build/assets/index-BwP8Xt-d.js index 46327a8f1..bd85d1df9 100644 --- a/public/build/assets/index-B-BvIINs.js +++ b/public/build/assets/index-BwP8Xt-d.js @@ -1 +1 @@ -import{r as h,j as e}from"./ui-Z445SNHD.js";import{P as ae}from"./page-template-BTxLyiDA.js";import{u as ie,c as de,x as E,L as P,I as $,o as n,S as ce,X as oe,r as u,t as a}from"./app-CfhhiFAk.js";import{C as le}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ne}from"./pagination-D8A_HnL5.js";import{T as me}from"./textarea-kpRjGGLz.js";import{S as L,a as R,b as B,c as T,d as b}from"./select-BrY9osYp.js";import{A as I}from"./award-DMMowKjz.js";import{a as xe,C as pe}from"./chevron-up-DepFp6b6.js";import{S as V}from"./square-pen-bMHyT06o.js";import{L as H}from"./lock-By6rMOj7.js";import{T as K}from"./trash-2-C1NR_7Ss.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ts(){const{t:s}=ie(),{auth:k,awardTypes:i,filters:o={},globalSettings:t}=de().props,C=(k==null?void 0:k.permissions)||[],[j,q]=h.useState(o.search||""),[x,M]=h.useState(o.status||"all"),[X,_]=h.useState(!1),[v,S]=h.useState(null),[g,z]=h.useState("create"),[l,N]=h.useState({name:"",description:"",status:"active"}),[m,f]=h.useState({}),[A,G]=h.useState(new Set),J=r=>{const c=new Set(A);c.has(r)?c.delete(r):c.add(r),G(c)},w=E(C,"create-award-types"),p=E(C,"edit-award-types"),O=E(C,"delete-award-types"),D=()=>{N({name:"",description:"",status:"active"}),f({}),z("create"),S(null)},Q=r=>{N({name:r.name||"",description:r.description||"",status:r.status||"active"}),z("edit"),S(r),f({})},U=r=>{r.preventDefault(),W()},W=()=>{u.get(route("hr.award-types.index"),{page:1,search:j||void 0,status:x!=="all"?x:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},Y=()=>{q(""),M("all"),u.get(route("hr.award-types.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},Z=r=>{const c=o.sort_field===r&&o.sort_direction==="asc"?"desc":"asc";u.get(route("hr.award-types.index"),{sort_field:r,sort_direction:c,page:1,search:j||void 0,status:x!=="all"?x:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},y=(r,c)=>{switch(r){case"edit":Q(c),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":S(c),_(!0);break;case"toggle-status":re(c);break}},ee=r=>{r.preventDefault(),f({});const c={};if(l.name.trim()||(c.name=s("Award type name is required")),l.status||(c.status=s("Status is required")),Object.keys(c).length>0){f(c);return}g==="create"?(t!=null&&t.is_demo||a.loading(s("Creating award type...")),u.post(route("hr.award-types.store"),l,{onSuccess:d=>{t!=null&&t.is_demo||a.dismiss(),d.props.flash.success?(a.success(s(d.props.flash.success)),D()):d.props.flash.error&&a.error(s(d.props.flash.error))},onError:d=>{t!=null&&t.is_demo||a.dismiss(),f(d),typeof d=="string"?a.error(s(d)):a.error(s("Please check the form for errors"))}})):g==="edit"&&(t!=null&&t.is_demo||a.loading(s("Updating award type...")),u.put(route("hr.award-types.update",v.id),l,{onSuccess:d=>{t!=null&&t.is_demo||a.dismiss(),d.props.flash.success?(a.success(s(d.props.flash.success)),D()):d.props.flash.error&&a.error(s(d.props.flash.error))},onError:d=>{t!=null&&t.is_demo||a.dismiss(),f(d),typeof d=="string"?a.error(s(d)):a.error(s("Please check the form for errors"))}}))},se=()=>{t!=null&&t.is_demo||a.loading(s("Deleting award type...")),u.delete(route("hr.award-types.destroy",v.id),{onSuccess:r=>{_(!1),t!=null&&t.is_demo||a.dismiss(),r.props.flash.success?a.success(s(r.props.flash.success)):r.props.flash.error&&a.error(s(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||a.dismiss(),typeof r=="string"?a.error(s(r)):a.error(s("Failed to delete award type: {{errors}}",{errors:Object.values(r).join(", ")}))}})},re=r=>{const c=r.status==="active"?"inactive":"active";t!=null&&t.is_demo||a.loading(`${s(c==="active"?"Activating":"Deactivating")} ${s("award type")}...`),u.put(route("hr.award-types.toggle-status",r.id),{},{onSuccess:d=>{t!=null&&t.is_demo||a.dismiss(),d.props.flash.success?a.success(s(d.props.flash.success)):d.props.flash.error&&a.error(s(d.props.flash.error))},onError:d=>{t!=null&&t.is_demo||a.dismiss(),typeof d=="string"?a.error(s(d)):a.error(s("Failed to update award type status: {{errors}}",{errors:Object.values(d).join(", ")}))}})},te=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.award-types.index")},{title:s("Award Types")}],F=j||x!=="all";return e.jsxs(ae,{title:s("Award Types"),description:"",url:"/hr/award-types",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s(g==="create"?"Add New Award Type":"Edit Award Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s(g==="create"?"Fill in the details to create a new award type":"Update the award type details below")})]}),e.jsxs("form",{onSubmit:ee,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:s("Award Type Name")}),e.jsx($,{id:"name",type:"text",value:l.name,onChange:r=>N({...l,name:r.target.value}),placeholder:s("e.g., Employee of the Month, Best Performer"),className:m.name?"border-red-500":"",disabled:!w&&!p,required:!0}),m.name&&e.jsx("p",{className:"text-sm text-red-500",children:m.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:s("Description")}),e.jsx(me,{id:"description",value:l.description,onChange:r=>N({...l,description:r.target.value}),placeholder:s("Brief description of the award type"),rows:3,className:m.description?"border-red-500":"",disabled:!w&&!p}),m.description&&e.jsx("p",{className:"text-sm text-red-500",children:m.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"status",className:"required",children:s("Status")}),e.jsxs(L,{value:l.status,onValueChange:r=>N({...l,status:r}),disabled:!w&&!p,children:[e.jsx(R,{className:m.status?"border-red-500":"",children:e.jsx(B,{placeholder:s("Select status")})}),e.jsxs(T,{children:[e.jsx(b,{value:"active",children:s("Active")}),e.jsx(b,{value:"inactive",children:s("Inactive")})]})]}),m.status&&e.jsx("p",{className:"text-sm text-red-500",children:m.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(w||p)&&e.jsx(n,{type:"submit",className:"flex-1",children:s(g==="create"?"Add Award Type":"Update Award Type")}),g==="edit"&&e.jsx(n,{type:"button",variant:"outline",onClick:D,children:s("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(ce,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx($,{type:"text",placeholder:s("Search award types..."),value:j,onChange:r=>q(r.target.value),onKeyDown:r=>r.key==="Enter"&&U(r),className:"pl-10"})]}),e.jsx(n,{onClick:U,variant:"default",children:s("Search")}),F&&e.jsxs(n,{onClick:Y,variant:"outline",children:[e.jsx(oe,{className:"h-4 w-4 mr-2"}),s("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(L,{value:x,onValueChange:M,children:[e.jsx(R,{children:e.jsx(B,{placeholder:s("All Statuses")})}),e.jsxs(T,{children:[e.jsx(b,{value:"all",children:s("All Statuses")}),e.jsx(b,{value:"active",children:s("Active")}),e.jsx(b,{value:"inactive",children:s("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((i==null?void 0:i.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s("Award Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s("Manage award types used for employee recognition")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>Z("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[s("Name"),o.sort_field==="name"?o.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((i==null?void 0:i.data)||[]).map(r=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-yellow-100 text-yellow-600 dark:bg-yellow-900/30 dark:text-yellow-400",children:e.jsx(I,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:A.has(r.id)?"":"line-clamp-2",children:r.description}),r.description.length>60&&e.jsx("button",{onClick:()=>J(r.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:A.has(r.id)?e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"h-3 w-3 mr-1"}),s("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),s("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?s("Active"):s("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[p&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("edit",r),className:"h-8 w-8 p-0 text-amber-500",title:s("Edit"),children:e.jsx(V,{className:"h-4 w-4"})}),p&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("toggle-status",r),className:`h-8 w-8 p-0 ${r.status==="active"?"text-orange-500":"text-green-600"}`,title:r.status==="active"?s("Deactivate"):s("Activate"),children:e.jsx(H,{className:"h-4 w-4"})}),O&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("delete",r),className:"h-8 w-8 p-0 text-red-500",title:s("Delete"),children:e.jsx(K,{className:"h-4 w-4"})})]})})]},r.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((i==null?void 0:i.data)||[]).map(r=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-yellow-100 text-yellow-600 dark:bg-yellow-900/30 dark:text-yellow-400",children:e.jsx(I,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:r.description,children:r.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[p&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("edit",r),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(V,{className:"h-4 w-4"})}),p&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("toggle-status",r),className:`h-8 w-8 p-0 ${r.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(H,{className:"h-4 w-4"})}),O&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("delete",r),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(K,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:s("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?s("Active"):s("Inactive")})]})})]},r.id))}),(i==null?void 0:i.total)>((i==null?void 0:i.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(ne,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:s("award types"),onPageChange:r=>{const c=new URL(r).searchParams.get("page");u.get(route("hr.award-types.index"),{page:c,per_page:o.per_page||10,search:j||void 0,status:x!=="all"?x:void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(I,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:s("No award types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:s(F?"No award types match your search criteria. Try adjusting your filters.":"Create award types to categorize employee recognition awards.")}),!F&&w&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:s("Use the form on the left to add your first award type.")})]})})]})]}),e.jsx(le,{isOpen:X,onClose:()=>_(!1),onConfirm:se,itemName:(v==null?void 0:v.name)||"",entityName:"award type"})]})}export{ts as default}; +import{r as h,j as e}from"./ui-Z445SNHD.js";import{P as ae}from"./page-template-CLNVC8w_.js";import{u as ie,c as de,x as E,L as P,I as $,o as n,S as ce,X as oe,r as u,t as a}from"./app-Dya84jp7.js";import{C as le}from"./CrudDeleteModal-D32N6I8y.js";import{P as ne}from"./pagination-4PUepASD.js";import{T as me}from"./textarea-yeg8ONhy.js";import{S as L,a as R,b as B,c as T,d as b}from"./select-CHkpLxhL.js";import{A as I}from"./award-D1KbOerA.js";import{a as xe,C as pe}from"./chevron-up-DHaGktre.js";import{S as V}from"./square-pen-CzdhbxyN.js";import{L as H}from"./lock-DaHvMEII.js";import{T as K}from"./trash-2-BeirBLIk.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ts(){const{t:s}=ie(),{auth:k,awardTypes:i,filters:o={},globalSettings:t}=de().props,C=(k==null?void 0:k.permissions)||[],[j,q]=h.useState(o.search||""),[x,M]=h.useState(o.status||"all"),[X,_]=h.useState(!1),[v,S]=h.useState(null),[g,z]=h.useState("create"),[l,N]=h.useState({name:"",description:"",status:"active"}),[m,f]=h.useState({}),[A,G]=h.useState(new Set),J=r=>{const c=new Set(A);c.has(r)?c.delete(r):c.add(r),G(c)},w=E(C,"create-award-types"),p=E(C,"edit-award-types"),O=E(C,"delete-award-types"),D=()=>{N({name:"",description:"",status:"active"}),f({}),z("create"),S(null)},Q=r=>{N({name:r.name||"",description:r.description||"",status:r.status||"active"}),z("edit"),S(r),f({})},U=r=>{r.preventDefault(),W()},W=()=>{u.get(route("hr.award-types.index"),{page:1,search:j||void 0,status:x!=="all"?x:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},Y=()=>{q(""),M("all"),u.get(route("hr.award-types.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},Z=r=>{const c=o.sort_field===r&&o.sort_direction==="asc"?"desc":"asc";u.get(route("hr.award-types.index"),{sort_field:r,sort_direction:c,page:1,search:j||void 0,status:x!=="all"?x:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},y=(r,c)=>{switch(r){case"edit":Q(c),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":S(c),_(!0);break;case"toggle-status":re(c);break}},ee=r=>{r.preventDefault(),f({});const c={};if(l.name.trim()||(c.name=s("Award type name is required")),l.status||(c.status=s("Status is required")),Object.keys(c).length>0){f(c);return}g==="create"?(t!=null&&t.is_demo||a.loading(s("Creating award type...")),u.post(route("hr.award-types.store"),l,{onSuccess:d=>{t!=null&&t.is_demo||a.dismiss(),d.props.flash.success?(a.success(s(d.props.flash.success)),D()):d.props.flash.error&&a.error(s(d.props.flash.error))},onError:d=>{t!=null&&t.is_demo||a.dismiss(),f(d),typeof d=="string"?a.error(s(d)):a.error(s("Please check the form for errors"))}})):g==="edit"&&(t!=null&&t.is_demo||a.loading(s("Updating award type...")),u.put(route("hr.award-types.update",v.id),l,{onSuccess:d=>{t!=null&&t.is_demo||a.dismiss(),d.props.flash.success?(a.success(s(d.props.flash.success)),D()):d.props.flash.error&&a.error(s(d.props.flash.error))},onError:d=>{t!=null&&t.is_demo||a.dismiss(),f(d),typeof d=="string"?a.error(s(d)):a.error(s("Please check the form for errors"))}}))},se=()=>{t!=null&&t.is_demo||a.loading(s("Deleting award type...")),u.delete(route("hr.award-types.destroy",v.id),{onSuccess:r=>{_(!1),t!=null&&t.is_demo||a.dismiss(),r.props.flash.success?a.success(s(r.props.flash.success)):r.props.flash.error&&a.error(s(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||a.dismiss(),typeof r=="string"?a.error(s(r)):a.error(s("Failed to delete award type: {{errors}}",{errors:Object.values(r).join(", ")}))}})},re=r=>{const c=r.status==="active"?"inactive":"active";t!=null&&t.is_demo||a.loading(`${s(c==="active"?"Activating":"Deactivating")} ${s("award type")}...`),u.put(route("hr.award-types.toggle-status",r.id),{},{onSuccess:d=>{t!=null&&t.is_demo||a.dismiss(),d.props.flash.success?a.success(s(d.props.flash.success)):d.props.flash.error&&a.error(s(d.props.flash.error))},onError:d=>{t!=null&&t.is_demo||a.dismiss(),typeof d=="string"?a.error(s(d)):a.error(s("Failed to update award type status: {{errors}}",{errors:Object.values(d).join(", ")}))}})},te=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.award-types.index")},{title:s("Award Types")}],F=j||x!=="all";return e.jsxs(ae,{title:s("Award Types"),description:"",url:"/hr/award-types",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s(g==="create"?"Add New Award Type":"Edit Award Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s(g==="create"?"Fill in the details to create a new award type":"Update the award type details below")})]}),e.jsxs("form",{onSubmit:ee,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:s("Award Type Name")}),e.jsx($,{id:"name",type:"text",value:l.name,onChange:r=>N({...l,name:r.target.value}),placeholder:s("e.g., Employee of the Month, Best Performer"),className:m.name?"border-red-500":"",disabled:!w&&!p,required:!0}),m.name&&e.jsx("p",{className:"text-sm text-red-500",children:m.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:s("Description")}),e.jsx(me,{id:"description",value:l.description,onChange:r=>N({...l,description:r.target.value}),placeholder:s("Brief description of the award type"),rows:3,className:m.description?"border-red-500":"",disabled:!w&&!p}),m.description&&e.jsx("p",{className:"text-sm text-red-500",children:m.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"status",className:"required",children:s("Status")}),e.jsxs(L,{value:l.status,onValueChange:r=>N({...l,status:r}),disabled:!w&&!p,children:[e.jsx(R,{className:m.status?"border-red-500":"",children:e.jsx(B,{placeholder:s("Select status")})}),e.jsxs(T,{children:[e.jsx(b,{value:"active",children:s("Active")}),e.jsx(b,{value:"inactive",children:s("Inactive")})]})]}),m.status&&e.jsx("p",{className:"text-sm text-red-500",children:m.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(w||p)&&e.jsx(n,{type:"submit",className:"flex-1",children:s(g==="create"?"Add Award Type":"Update Award Type")}),g==="edit"&&e.jsx(n,{type:"button",variant:"outline",onClick:D,children:s("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(ce,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx($,{type:"text",placeholder:s("Search award types..."),value:j,onChange:r=>q(r.target.value),onKeyDown:r=>r.key==="Enter"&&U(r),className:"pl-10"})]}),e.jsx(n,{onClick:U,variant:"default",children:s("Search")}),F&&e.jsxs(n,{onClick:Y,variant:"outline",children:[e.jsx(oe,{className:"h-4 w-4 mr-2"}),s("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(L,{value:x,onValueChange:M,children:[e.jsx(R,{children:e.jsx(B,{placeholder:s("All Statuses")})}),e.jsxs(T,{children:[e.jsx(b,{value:"all",children:s("All Statuses")}),e.jsx(b,{value:"active",children:s("Active")}),e.jsx(b,{value:"inactive",children:s("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((i==null?void 0:i.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s("Award Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s("Manage award types used for employee recognition")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>Z("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[s("Name"),o.sort_field==="name"?o.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((i==null?void 0:i.data)||[]).map(r=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-yellow-100 text-yellow-600 dark:bg-yellow-900/30 dark:text-yellow-400",children:e.jsx(I,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:A.has(r.id)?"":"line-clamp-2",children:r.description}),r.description.length>60&&e.jsx("button",{onClick:()=>J(r.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:A.has(r.id)?e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"h-3 w-3 mr-1"}),s("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),s("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?s("Active"):s("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[p&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("edit",r),className:"h-8 w-8 p-0 text-amber-500",title:s("Edit"),children:e.jsx(V,{className:"h-4 w-4"})}),p&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("toggle-status",r),className:`h-8 w-8 p-0 ${r.status==="active"?"text-orange-500":"text-green-600"}`,title:r.status==="active"?s("Deactivate"):s("Activate"),children:e.jsx(H,{className:"h-4 w-4"})}),O&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("delete",r),className:"h-8 w-8 p-0 text-red-500",title:s("Delete"),children:e.jsx(K,{className:"h-4 w-4"})})]})})]},r.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((i==null?void 0:i.data)||[]).map(r=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-yellow-100 text-yellow-600 dark:bg-yellow-900/30 dark:text-yellow-400",children:e.jsx(I,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:r.description,children:r.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[p&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("edit",r),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(V,{className:"h-4 w-4"})}),p&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("toggle-status",r),className:`h-8 w-8 p-0 ${r.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(H,{className:"h-4 w-4"})}),O&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>y("delete",r),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(K,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:s("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?s("Active"):s("Inactive")})]})})]},r.id))}),(i==null?void 0:i.total)>((i==null?void 0:i.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(ne,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:s("award types"),onPageChange:r=>{const c=new URL(r).searchParams.get("page");u.get(route("hr.award-types.index"),{page:c,per_page:o.per_page||10,search:j||void 0,status:x!=="all"?x:void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(I,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:s("No award types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:s(F?"No award types match your search criteria. Try adjusting your filters.":"Create award types to categorize employee recognition awards.")}),!F&&w&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:s("Use the form on the left to add your first award type.")})]})})]})]}),e.jsx(le,{isOpen:X,onClose:()=>_(!1),onConfirm:se,itemName:(v==null?void 0:v.name)||"",entityName:"award type"})]})}export{ts as default}; diff --git a/public/build/assets/index-PwPT8lUJ.js b/public/build/assets/index-BxOjzVTT.js similarity index 64% rename from public/build/assets/index-PwPT8lUJ.js rename to public/build/assets/index-BxOjzVTT.js index 4160317c6..ba7eaadf8 100644 --- a/public/build/assets/index-PwPT8lUJ.js +++ b/public/build/assets/index-BxOjzVTT.js @@ -1 +1 @@ -import{r as u,j as n}from"./ui-Z445SNHD.js";import{P as V}from"./page-template-BTxLyiDA.js";import{u as Y,c as z,x as G,P as H,r as m,t as s}from"./app-CfhhiFAk.js";import{C as K}from"./CrudTable-qPWooc10.js";import{C as Q}from"./CrudDeleteModal-CKTiD3_K.js";import{P as W}from"./pagination-D8A_HnL5.js";import{S as X}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function At(){var C;const{t:e}=Y(),{auth:b,jobPostings:p,filters:a={},globalSettings:t}=z().props,_=(b==null?void 0:b.permissions)||[],[c,y]=u.useState(a.search||""),[l,g]=u.useState(a.status||"_empty_"),[d,x]=u.useState(a.is_published||"_empty_"),[k,j]=u.useState(!1),[F,f]=u.useState(!1),[h,N]=u.useState(null),D=()=>l!=="_empty_"||d!=="_empty_"||c!=="",A=()=>(l!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(c!==""?1:0),T=r=>{r.preventDefault(),v()},v=()=>{m.get(route("hr.recruitment.job-postings.index"),{page:1,search:c||void 0,status:l!=="_empty_"?l:void 0,is_published:d!=="_empty_"?d:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},E=r=>{const o=a.sort_field===r&&a.sort_direction==="asc"?"desc":"asc";m.get(route("hr.recruitment.job-postings.index"),{sort_field:r,sort_direction:o,page:1,search:c||void 0,status:l!=="_empty_"?l:void 0,is_published:d!=="_empty_"?d:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},O=(r,o)=>{switch(r){case"view":m.get(route("hr.recruitment.job-postings.show",o.id));break;case"edit":m.get(route("hr.recruitment.job-postings.edit",o.id));break;case"delete":N(o),f(!0);break;case"publish":t!=null&&t.is_demo||s.loading(e("Publishing job posting...")),m.put(route("hr.recruitment.job-postings.publish",o.id),{},{onSuccess:i=>{t!=null&&t.is_demo||s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to publish job posting: {{errors}}",{errors:Object.values(i).join(", ")}))}});break;case"unpublish":t!=null&&t.is_demo||s.loading(e("Unpublishing job posting...")),m.put(route("hr.recruitment.job-postings.unpublish",o.id),{},{onSuccess:i=>{t!=null&&t.is_demo||s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to unpublish job posting: {{errors}}",{errors:Object.values(i).join(", ")}))}});break}},q=()=>{m.get(route("hr.recruitment.job-postings.create"))},R=()=>{t!=null&&t.is_demo||s.loading(e("Deleting job posting...")),m.delete(route("hr.recruitment.job-postings.destroy",h.id),{onSuccess:r=>{f(!1),t!=null&&t.is_demo||s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||s.dismiss(),typeof r=="string"?s.error(e(r)):s.error(e("Failed to delete job posting: {{errors}}",{errors:Object.values(r).join(", ")}))}})},$=()=>{y(""),g("_empty_"),x("_empty_"),j(!1),m.get(route("hr.recruitment.job-postings.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},w=[];G(_,"create-job-postings")&&w.push({label:e("Add Job Posting"),icon:n.jsx(H,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>q()});const J=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.job-postings.index")},{title:e("Job Postings")}],M=r=>{switch(r){case"Draft":return"bg-yellow-50 text-yellow-700 ring-yellow-600/20";case"Published":return"bg-green-50 text-green-700 ring-green-600/20";case"Closed":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}},U=[{key:"job_code",label:e("Code"),sortable:!0,render:r=>n.jsx("div",{className:"font-mono text-sm",children:r})},{key:"title",label:e("Title"),sortable:!0,render:(r,o)=>n.jsxs("div",{children:[n.jsx("div",{className:"font-medium",children:r}),o.is_featured&&n.jsx("span",{className:"inline-flex items-center rounded-md bg-yellow-50 px-2 py-1 text-xs font-medium text-yellow-800 ring-1 ring-inset ring-yellow-600/20",children:e("Featured")})]})},{key:"job_type.name",label:e("Type"),render:(r,o)=>{var i;return((i=o.job_type)==null?void 0:i.name)||"-"}},{key:"location.name",label:e("Location"),render:(r,o)=>{var i;return((i=o.location)==null?void 0:i.name)||"-"}},{key:"min_salary",label:e("Salary Range"),render:(r,o)=>{var i,P,S;return o.min_salary&&o.max_salary?`${(i=window.appSettings)==null?void 0:i.formatCurrency(o.min_salary)} - ${(P=window.appSettings)==null?void 0:P.formatCurrency(o.max_salary)}`:o.min_salary?`${(S=window.appSettings)==null?void 0:S.formatCurrency(o.min_salary)}+`:"-"}},{key:"candidates_count",label:e("Applications"),render:r=>n.jsx("div",{className:"text-center",children:r||0})},{key:"is_published",label:e("Published"),render:r=>n.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r?"bg-green-50 text-green-700 ring-green-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:e(r?"Yes":"No")})},{key:"status",label:e("Status"),render:r=>n.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${M(r)}`,children:e(r)})},{key:"application_deadline",label:e("Deadline"),render:r=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],I=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-job-postings"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-job-postings"},{label:e("Publish"),icon:"Upload",action:"publish",className:"text-green-500",requiredPermission:"publish-job-postings",condition:r=>!r.is_published},{label:e("Unpublish"),icon:"Download",action:"unpublish",className:"text-orange-500",requiredPermission:"publish-job-postings",condition:r=>r.is_published},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-job-postings"}],L=[{value:"_empty_",label:e("All Statuses")},{value:"Draft",label:e("Draft")},{value:"Published",label:e("Published")},{value:"Closed",label:e("Closed")}],B=[{value:"_empty_",label:e("All")},{value:"true",label:e("Published")},{value:"false",label:e("Draft")}];return n.jsxs(V,{title:e("Job Postings"),url:"/hr/recruitment/job-postings",actions:w,breadcrumbs:J,noPadding:!0,children:[n.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:n.jsx(X,{searchTerm:c,onSearchChange:y,onSearch:T,filters:[{name:"status",label:e("Status"),type:"select",value:l,onChange:g,options:L},{name:"is_published",label:e("Published"),type:"select",value:d,onChange:x,options:B}],showFilters:k,setShowFilters:j,hasActiveFilters:D,activeFilterCount:A,onResetFilters:$,onApplyFilters:v,currentPerPage:((C=a.per_page)==null?void 0:C.toString())||"10",onPerPageChange:r=>{m.get(route("hr.recruitment.job-postings.index"),{page:1,per_page:parseInt(r),search:c||void 0,status:l!=="_empty_"?l:void 0,is_published:d!=="_empty_"?d:void 0},{preserveState:!0,preserveScroll:!0})}})}),n.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[n.jsx(K,{columns:U,actions:I,data:(p==null?void 0:p.data)||[],from:(p==null?void 0:p.from)||1,onAction:O,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:E,permissions:_,entityPermissions:{view:"view-job-postings",create:"create-job-postings",edit:"edit-job-postings",delete:"delete-job-postings"}}),n.jsx(W,{from:(p==null?void 0:p.from)||0,to:(p==null?void 0:p.to)||0,total:(p==null?void 0:p.total)||0,links:p==null?void 0:p.links,entityName:e("job postings"),onPageChange:r=>m.get(r)})]}),n.jsx(Q,{isOpen:F,onClose:()=>f(!1),onConfirm:R,itemName:(h==null?void 0:h.title)||"",entityName:"job posting"})]})}export{At as default}; +import{r as u,j as n}from"./ui-Z445SNHD.js";import{P as V}from"./page-template-CLNVC8w_.js";import{u as Y,c as z,x as G,P as H,r as m,t as s}from"./app-Dya84jp7.js";import{C as K}from"./CrudTable-yqxtM6E_.js";import{C as Q}from"./CrudDeleteModal-D32N6I8y.js";import{P as W}from"./pagination-4PUepASD.js";import{S as X}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function At(){var C;const{t:e}=Y(),{auth:b,jobPostings:p,filters:a={},globalSettings:t}=z().props,_=(b==null?void 0:b.permissions)||[],[c,y]=u.useState(a.search||""),[l,g]=u.useState(a.status||"_empty_"),[d,x]=u.useState(a.is_published||"_empty_"),[k,j]=u.useState(!1),[F,f]=u.useState(!1),[h,N]=u.useState(null),D=()=>l!=="_empty_"||d!=="_empty_"||c!=="",A=()=>(l!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(c!==""?1:0),T=r=>{r.preventDefault(),v()},v=()=>{m.get(route("hr.recruitment.job-postings.index"),{page:1,search:c||void 0,status:l!=="_empty_"?l:void 0,is_published:d!=="_empty_"?d:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},E=r=>{const o=a.sort_field===r&&a.sort_direction==="asc"?"desc":"asc";m.get(route("hr.recruitment.job-postings.index"),{sort_field:r,sort_direction:o,page:1,search:c||void 0,status:l!=="_empty_"?l:void 0,is_published:d!=="_empty_"?d:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},O=(r,o)=>{switch(r){case"view":m.get(route("hr.recruitment.job-postings.show",o.id));break;case"edit":m.get(route("hr.recruitment.job-postings.edit",o.id));break;case"delete":N(o),f(!0);break;case"publish":t!=null&&t.is_demo||s.loading(e("Publishing job posting...")),m.put(route("hr.recruitment.job-postings.publish",o.id),{},{onSuccess:i=>{t!=null&&t.is_demo||s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to publish job posting: {{errors}}",{errors:Object.values(i).join(", ")}))}});break;case"unpublish":t!=null&&t.is_demo||s.loading(e("Unpublishing job posting...")),m.put(route("hr.recruitment.job-postings.unpublish",o.id),{},{onSuccess:i=>{t!=null&&t.is_demo||s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to unpublish job posting: {{errors}}",{errors:Object.values(i).join(", ")}))}});break}},q=()=>{m.get(route("hr.recruitment.job-postings.create"))},R=()=>{t!=null&&t.is_demo||s.loading(e("Deleting job posting...")),m.delete(route("hr.recruitment.job-postings.destroy",h.id),{onSuccess:r=>{f(!1),t!=null&&t.is_demo||s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||s.dismiss(),typeof r=="string"?s.error(e(r)):s.error(e("Failed to delete job posting: {{errors}}",{errors:Object.values(r).join(", ")}))}})},$=()=>{y(""),g("_empty_"),x("_empty_"),j(!1),m.get(route("hr.recruitment.job-postings.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},w=[];G(_,"create-job-postings")&&w.push({label:e("Add Job Posting"),icon:n.jsx(H,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>q()});const J=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.job-postings.index")},{title:e("Job Postings")}],M=r=>{switch(r){case"Draft":return"bg-yellow-50 text-yellow-700 ring-yellow-600/20";case"Published":return"bg-green-50 text-green-700 ring-green-600/20";case"Closed":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}},U=[{key:"job_code",label:e("Code"),sortable:!0,render:r=>n.jsx("div",{className:"font-mono text-sm",children:r})},{key:"title",label:e("Title"),sortable:!0,render:(r,o)=>n.jsxs("div",{children:[n.jsx("div",{className:"font-medium",children:r}),o.is_featured&&n.jsx("span",{className:"inline-flex items-center rounded-md bg-yellow-50 px-2 py-1 text-xs font-medium text-yellow-800 ring-1 ring-inset ring-yellow-600/20",children:e("Featured")})]})},{key:"job_type.name",label:e("Type"),render:(r,o)=>{var i;return((i=o.job_type)==null?void 0:i.name)||"-"}},{key:"location.name",label:e("Location"),render:(r,o)=>{var i;return((i=o.location)==null?void 0:i.name)||"-"}},{key:"min_salary",label:e("Salary Range"),render:(r,o)=>{var i,P,S;return o.min_salary&&o.max_salary?`${(i=window.appSettings)==null?void 0:i.formatCurrency(o.min_salary)} - ${(P=window.appSettings)==null?void 0:P.formatCurrency(o.max_salary)}`:o.min_salary?`${(S=window.appSettings)==null?void 0:S.formatCurrency(o.min_salary)}+`:"-"}},{key:"candidates_count",label:e("Applications"),render:r=>n.jsx("div",{className:"text-center",children:r||0})},{key:"is_published",label:e("Published"),render:r=>n.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r?"bg-green-50 text-green-700 ring-green-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:e(r?"Yes":"No")})},{key:"status",label:e("Status"),render:r=>n.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${M(r)}`,children:e(r)})},{key:"application_deadline",label:e("Deadline"),render:r=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],I=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-job-postings"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-job-postings"},{label:e("Publish"),icon:"Upload",action:"publish",className:"text-green-500",requiredPermission:"publish-job-postings",condition:r=>!r.is_published},{label:e("Unpublish"),icon:"Download",action:"unpublish",className:"text-orange-500",requiredPermission:"publish-job-postings",condition:r=>r.is_published},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-job-postings"}],L=[{value:"_empty_",label:e("All Statuses")},{value:"Draft",label:e("Draft")},{value:"Published",label:e("Published")},{value:"Closed",label:e("Closed")}],B=[{value:"_empty_",label:e("All")},{value:"true",label:e("Published")},{value:"false",label:e("Draft")}];return n.jsxs(V,{title:e("Job Postings"),url:"/hr/recruitment/job-postings",actions:w,breadcrumbs:J,noPadding:!0,children:[n.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:n.jsx(X,{searchTerm:c,onSearchChange:y,onSearch:T,filters:[{name:"status",label:e("Status"),type:"select",value:l,onChange:g,options:L},{name:"is_published",label:e("Published"),type:"select",value:d,onChange:x,options:B}],showFilters:k,setShowFilters:j,hasActiveFilters:D,activeFilterCount:A,onResetFilters:$,onApplyFilters:v,currentPerPage:((C=a.per_page)==null?void 0:C.toString())||"10",onPerPageChange:r=>{m.get(route("hr.recruitment.job-postings.index"),{page:1,per_page:parseInt(r),search:c||void 0,status:l!=="_empty_"?l:void 0,is_published:d!=="_empty_"?d:void 0},{preserveState:!0,preserveScroll:!0})}})}),n.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[n.jsx(K,{columns:U,actions:I,data:(p==null?void 0:p.data)||[],from:(p==null?void 0:p.from)||1,onAction:O,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:E,permissions:_,entityPermissions:{view:"view-job-postings",create:"create-job-postings",edit:"edit-job-postings",delete:"delete-job-postings"}}),n.jsx(W,{from:(p==null?void 0:p.from)||0,to:(p==null?void 0:p.to)||0,total:(p==null?void 0:p.total)||0,links:p==null?void 0:p.links,entityName:e("job postings"),onPageChange:r=>m.get(r)})]}),n.jsx(Q,{isOpen:F,onClose:()=>f(!1),onConfirm:R,itemName:(h==null?void 0:h.title)||"",entityName:"job posting"})]})}export{At as default}; diff --git a/public/build/assets/index-D49SHwyU.js b/public/build/assets/index-C0Ml30Dj.js similarity index 91% rename from public/build/assets/index-D49SHwyU.js rename to public/build/assets/index-C0Ml30Dj.js index d31704822..b47db0c33 100644 --- a/public/build/assets/index-D49SHwyU.js +++ b/public/build/assets/index-C0Ml30Dj.js @@ -1 +1 @@ -import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-BTxLyiDA.js";import{u as de,c as ce,x as E,L as P,I as U,o as n,S as oe,X as ne,r as h,t as d}from"./app-CfhhiFAk.js";import{C as le}from"./CrudDeleteModal-CKTiD3_K.js";import{P as me}from"./pagination-D8A_HnL5.js";import{T as xe}from"./textarea-kpRjGGLz.js";import{S as $,a as B,b as V,c as G,d as N}from"./select-BrY9osYp.js";import{G as A}from"./globe-DePi6jyA.js";import{a as he,C as pe}from"./chevron-up-DepFp6b6.js";import{S as J}from"./square-pen-bMHyT06o.js";import{L as K}from"./lock-By6rMOj7.js";import{T as X}from"./trash-2-C1NR_7Ss.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ts(){const{t:r}=de(),{auth:C,candidateSources:a,filters:c={},globalSettings:t}=ce().props,_=(C==null?void 0:C.permissions)||[],[b,T]=x.useState(c.search||""),[p,I]=x.useState(c.status||"all"),[H,k]=x.useState(!1),[g,w]=x.useState(null),[f,q]=x.useState("create"),[F,Q]=x.useState(new Set),[o,j]=x.useState({name:"",description:"",status:"active"}),[l,v]=x.useState({}),y=E(_,"create-candidate-sources"),u=E(_,"edit-candidate-sources"),z=E(_,"delete-candidate-sources"),W=s=>{const i=new Set(F);i.has(s)?i.delete(s):i.add(s),Q(i)},D=()=>{j({name:"",description:"",status:"active"}),v({}),q("create"),w(null)},L=s=>{j({name:s.name||"",description:s.description||"",status:s.status||"active"}),q("edit"),w(s),v({}),window.scrollTo({top:0,behavior:"smooth"})},Y=()=>{const s={};return o.name.trim()?o.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Name is required"),["active","inactive"].includes(o.status)||(s.status=r("Please select a valid status")),v(s),Object.keys(s).length===0},M=(s={})=>{h.get(route("hr.recruitment.candidate-sources.index"),{page:1,search:b||void 0,status:p!=="all"?p:void 0,per_page:c.per_page||10,sort_field:c.sort_field||void 0,sort_direction:c.sort_direction||void 0,...s},{preserveState:!0,preserveScroll:!0})},O=s=>{s.preventDefault(),M()},Z=()=>{T(""),I("all"),h.get(route("hr.recruitment.candidate-sources.index"),{page:1,per_page:c.per_page||10},{preserveState:!0,preserveScroll:!0})},ee=s=>{const i=c.sort_field===s&&c.sort_direction==="asc"?"desc":"asc";M({sort_field:s,sort_direction:i})},se=s=>{s.preventDefault(),Y()&&(f==="create"?(t!=null&&t.is_demo||d.loading(r("Creating candidate source...")),h.post(route("hr.recruitment.candidate-sources.store"),o,{onSuccess:i=>{t!=null&&t.is_demo||d.dismiss(),i.props.flash.success?(d.success(r(i.props.flash.success)),D()):i.props.flash.error&&d.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||d.dismiss(),v(i),d.error(r("Please check the form for errors"))}})):(t!=null&&t.is_demo||d.loading(r("Updating candidate source...")),h.put(route("hr.recruitment.candidate-sources.update",g.id),o,{onSuccess:i=>{t!=null&&t.is_demo||d.dismiss(),i.props.flash.success?(d.success(r(i.props.flash.success)),D()):i.props.flash.error&&d.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||d.dismiss(),v(i),d.error(r("Please check the form for errors"))}})))},re=()=>{t!=null&&t.is_demo||d.loading(r("Deleting candidate source...")),h.delete(route("hr.recruitment.candidate-sources.destroy",g.id),{onSuccess:s=>{k(!1),t!=null&&t.is_demo||d.dismiss(),s.props.flash.success?d.success(r(s.props.flash.success)):s.props.flash.error&&d.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||d.dismiss(),d.error(typeof s=="string"?r(s):r("Failed to delete candidate source: {{errors}}",{errors:Object.values(s).join(", ")}))}})},R=s=>{const i=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||d.loading(r(i==="active"?"Activating candidate source...":"Deactivating candidate source...")),h.put(route("hr.recruitment.candidate-sources.toggle-status",s.id),{},{onSuccess:m=>{t!=null&&t.is_demo||d.dismiss(),m.props.flash.success?d.success(r(m.props.flash.success)):m.props.flash.error&&d.error(r(m.props.flash.error))},onError:m=>{t!=null&&t.is_demo||d.dismiss(),d.error(typeof m=="string"?r(m):r("Failed to update status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},te=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.candidate-sources.index")},{title:r("Candidate Sources")}],S=!!b||p!=="all",ae=({field:s})=>c.sort_field===s?e.jsx("span",{children:c.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(ie,{title:r("Candidate Sources"),description:"",url:"/hr/recruitment/candidate-sources",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(f==="create"?"Add New Candidate Source":"Edit Candidate Source")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(f==="create"?"Fill in the details to create a new candidate source":"Update the candidate source details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:r("Source Name")}),e.jsx(U,{id:"name",type:"text",value:o.name,onChange:s=>j({...o,name:s.target.value}),placeholder:r("e.g., LinkedIn, Referral, Job Board"),className:l.name?"border-red-500":"",disabled:!y&&!u,required:!0}),l.name&&e.jsx("p",{className:"text-sm text-red-500",children:l.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:r("Description")}),e.jsx(xe,{id:"description",value:o.description,onChange:s=>j({...o,description:s.target.value}),placeholder:r("Brief description of the candidate source"),rows:3,className:l.description?"border-red-500":"",disabled:!y&&!u}),l.description&&e.jsx("p",{className:"text-sm text-red-500",children:l.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs($,{value:o.status,onValueChange:s=>j({...o,status:s}),disabled:!y&&!u,children:[e.jsx(B,{className:l.status?"border-red-500":"",children:e.jsx(V,{placeholder:r("Select status")})}),e.jsxs(G,{children:[e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]}),l.status&&e.jsx("p",{className:"text-sm text-red-500",children:l.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(y||u)&&e.jsx(n,{type:"submit",className:"flex-1",children:r(f==="create"?"Add Candidate Source":"Update Candidate Source")}),f==="edit"&&e.jsx(n,{type:"button",variant:"outline",onClick:D,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(oe,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(U,{type:"text",placeholder:r("Search candidate sources..."),value:b,onChange:s=>T(s.target.value),onKeyDown:s=>s.key==="Enter"&&O(s),className:"pl-10"})]}),e.jsx(n,{onClick:O,variant:"default",children:r("Search")}),S&&e.jsxs(n,{onClick:Z,variant:"outline",children:[e.jsx(ne,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs($,{value:p,onValueChange:I,children:[e.jsx(B,{children:e.jsx(V,{placeholder:r("All Statuses")})}),e.jsxs(G,{children:[e.jsx(N,{value:"all",children:r("All Statuses")}),e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((a==null?void 0:a.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Candidate Sources")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage sources used to track candidate origins")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>ee("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(ae,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-emerald-100 text-emerald-600 dark:bg-emerald-900/30 dark:text-emerald-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:F.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>W(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:F.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>L(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(J,{className:"h-4 w-4"})}),e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>R(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(K,{className:"h-4 w-4"})})]}),z&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(X,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-emerald-100 text-emerald-600 dark:bg-emerald-900/30 dark:text-emerald-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>L(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(J,{className:"h-4 w-4"})}),e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>R(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(K,{className:"h-4 w-4"})})]}),z&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(X,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]},s.id))}),(a==null?void 0:a.total)>((a==null?void 0:a.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("candidate sources"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");h.get(route("hr.recruitment.candidate-sources.index"),{page:i,per_page:c.per_page||10,search:b||void 0,status:p!=="all"?p:void 0,sort_field:c.sort_field||void 0,sort_direction:c.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(A,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No candidate sources found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(S?"No candidate sources match your search criteria. Try adjusting your filters.":"Create candidate sources to track where your candidates come from.")}),!S&&y&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first candidate source.")})]})})]})]}),e.jsx(le,{isOpen:H,onClose:()=>k(!1),onConfirm:re,itemName:(g==null?void 0:g.name)||"",entityName:"candidate source"})]})}export{ts as default}; +import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-CLNVC8w_.js";import{u as de,c as ce,x as E,L as P,I as U,o as n,S as oe,X as ne,r as h,t as d}from"./app-Dya84jp7.js";import{C as le}from"./CrudDeleteModal-D32N6I8y.js";import{P as me}from"./pagination-4PUepASD.js";import{T as xe}from"./textarea-yeg8ONhy.js";import{S as $,a as B,b as V,c as G,d as N}from"./select-CHkpLxhL.js";import{G as A}from"./globe-5zZ4IsmY.js";import{a as he,C as pe}from"./chevron-up-DHaGktre.js";import{S as J}from"./square-pen-CzdhbxyN.js";import{L as K}from"./lock-DaHvMEII.js";import{T as X}from"./trash-2-BeirBLIk.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ts(){const{t:r}=de(),{auth:C,candidateSources:a,filters:c={},globalSettings:t}=ce().props,_=(C==null?void 0:C.permissions)||[],[b,T]=x.useState(c.search||""),[p,I]=x.useState(c.status||"all"),[H,k]=x.useState(!1),[g,w]=x.useState(null),[f,q]=x.useState("create"),[F,Q]=x.useState(new Set),[o,j]=x.useState({name:"",description:"",status:"active"}),[l,v]=x.useState({}),y=E(_,"create-candidate-sources"),u=E(_,"edit-candidate-sources"),z=E(_,"delete-candidate-sources"),W=s=>{const i=new Set(F);i.has(s)?i.delete(s):i.add(s),Q(i)},D=()=>{j({name:"",description:"",status:"active"}),v({}),q("create"),w(null)},L=s=>{j({name:s.name||"",description:s.description||"",status:s.status||"active"}),q("edit"),w(s),v({}),window.scrollTo({top:0,behavior:"smooth"})},Y=()=>{const s={};return o.name.trim()?o.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Name is required"),["active","inactive"].includes(o.status)||(s.status=r("Please select a valid status")),v(s),Object.keys(s).length===0},M=(s={})=>{h.get(route("hr.recruitment.candidate-sources.index"),{page:1,search:b||void 0,status:p!=="all"?p:void 0,per_page:c.per_page||10,sort_field:c.sort_field||void 0,sort_direction:c.sort_direction||void 0,...s},{preserveState:!0,preserveScroll:!0})},O=s=>{s.preventDefault(),M()},Z=()=>{T(""),I("all"),h.get(route("hr.recruitment.candidate-sources.index"),{page:1,per_page:c.per_page||10},{preserveState:!0,preserveScroll:!0})},ee=s=>{const i=c.sort_field===s&&c.sort_direction==="asc"?"desc":"asc";M({sort_field:s,sort_direction:i})},se=s=>{s.preventDefault(),Y()&&(f==="create"?(t!=null&&t.is_demo||d.loading(r("Creating candidate source...")),h.post(route("hr.recruitment.candidate-sources.store"),o,{onSuccess:i=>{t!=null&&t.is_demo||d.dismiss(),i.props.flash.success?(d.success(r(i.props.flash.success)),D()):i.props.flash.error&&d.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||d.dismiss(),v(i),d.error(r("Please check the form for errors"))}})):(t!=null&&t.is_demo||d.loading(r("Updating candidate source...")),h.put(route("hr.recruitment.candidate-sources.update",g.id),o,{onSuccess:i=>{t!=null&&t.is_demo||d.dismiss(),i.props.flash.success?(d.success(r(i.props.flash.success)),D()):i.props.flash.error&&d.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||d.dismiss(),v(i),d.error(r("Please check the form for errors"))}})))},re=()=>{t!=null&&t.is_demo||d.loading(r("Deleting candidate source...")),h.delete(route("hr.recruitment.candidate-sources.destroy",g.id),{onSuccess:s=>{k(!1),t!=null&&t.is_demo||d.dismiss(),s.props.flash.success?d.success(r(s.props.flash.success)):s.props.flash.error&&d.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||d.dismiss(),d.error(typeof s=="string"?r(s):r("Failed to delete candidate source: {{errors}}",{errors:Object.values(s).join(", ")}))}})},R=s=>{const i=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||d.loading(r(i==="active"?"Activating candidate source...":"Deactivating candidate source...")),h.put(route("hr.recruitment.candidate-sources.toggle-status",s.id),{},{onSuccess:m=>{t!=null&&t.is_demo||d.dismiss(),m.props.flash.success?d.success(r(m.props.flash.success)):m.props.flash.error&&d.error(r(m.props.flash.error))},onError:m=>{t!=null&&t.is_demo||d.dismiss(),d.error(typeof m=="string"?r(m):r("Failed to update status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},te=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.candidate-sources.index")},{title:r("Candidate Sources")}],S=!!b||p!=="all",ae=({field:s})=>c.sort_field===s?e.jsx("span",{children:c.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(ie,{title:r("Candidate Sources"),description:"",url:"/hr/recruitment/candidate-sources",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(f==="create"?"Add New Candidate Source":"Edit Candidate Source")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(f==="create"?"Fill in the details to create a new candidate source":"Update the candidate source details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:r("Source Name")}),e.jsx(U,{id:"name",type:"text",value:o.name,onChange:s=>j({...o,name:s.target.value}),placeholder:r("e.g., LinkedIn, Referral, Job Board"),className:l.name?"border-red-500":"",disabled:!y&&!u,required:!0}),l.name&&e.jsx("p",{className:"text-sm text-red-500",children:l.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:r("Description")}),e.jsx(xe,{id:"description",value:o.description,onChange:s=>j({...o,description:s.target.value}),placeholder:r("Brief description of the candidate source"),rows:3,className:l.description?"border-red-500":"",disabled:!y&&!u}),l.description&&e.jsx("p",{className:"text-sm text-red-500",children:l.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs($,{value:o.status,onValueChange:s=>j({...o,status:s}),disabled:!y&&!u,children:[e.jsx(B,{className:l.status?"border-red-500":"",children:e.jsx(V,{placeholder:r("Select status")})}),e.jsxs(G,{children:[e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]}),l.status&&e.jsx("p",{className:"text-sm text-red-500",children:l.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(y||u)&&e.jsx(n,{type:"submit",className:"flex-1",children:r(f==="create"?"Add Candidate Source":"Update Candidate Source")}),f==="edit"&&e.jsx(n,{type:"button",variant:"outline",onClick:D,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(oe,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(U,{type:"text",placeholder:r("Search candidate sources..."),value:b,onChange:s=>T(s.target.value),onKeyDown:s=>s.key==="Enter"&&O(s),className:"pl-10"})]}),e.jsx(n,{onClick:O,variant:"default",children:r("Search")}),S&&e.jsxs(n,{onClick:Z,variant:"outline",children:[e.jsx(ne,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs($,{value:p,onValueChange:I,children:[e.jsx(B,{children:e.jsx(V,{placeholder:r("All Statuses")})}),e.jsxs(G,{children:[e.jsx(N,{value:"all",children:r("All Statuses")}),e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((a==null?void 0:a.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Candidate Sources")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage sources used to track candidate origins")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>ee("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(ae,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-emerald-100 text-emerald-600 dark:bg-emerald-900/30 dark:text-emerald-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:F.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>W(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:F.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>L(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(J,{className:"h-4 w-4"})}),e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>R(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(K,{className:"h-4 w-4"})})]}),z&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(X,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-emerald-100 text-emerald-600 dark:bg-emerald-900/30 dark:text-emerald-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>L(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(J,{className:"h-4 w-4"})}),e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>R(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(K,{className:"h-4 w-4"})})]}),z&&e.jsx(n,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(X,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]},s.id))}),(a==null?void 0:a.total)>((a==null?void 0:a.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("candidate sources"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");h.get(route("hr.recruitment.candidate-sources.index"),{page:i,per_page:c.per_page||10,search:b||void 0,status:p!=="all"?p:void 0,sort_field:c.sort_field||void 0,sort_direction:c.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(A,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No candidate sources found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(S?"No candidate sources match your search criteria. Try adjusting your filters.":"Create candidate sources to track where your candidates come from.")}),!S&&y&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first candidate source.")})]})})]})]}),e.jsx(le,{isOpen:H,onClose:()=>k(!1),onConfirm:re,itemName:(g==null?void 0:g.name)||"",entityName:"candidate source"})]})}export{ts as default}; diff --git a/public/build/assets/index-CAMmBsqQ.js b/public/build/assets/index-C1ChM6f-.js similarity index 65% rename from public/build/assets/index-CAMmBsqQ.js rename to public/build/assets/index-C1ChM6f-.js index 68677fd5c..3b67e91fd 100644 --- a/public/build/assets/index-CAMmBsqQ.js +++ b/public/build/assets/index-C1ChM6f-.js @@ -1 +1 @@ -import{r as d,j as s}from"./ui-Z445SNHD.js";import{P as R}from"./page-template-BTxLyiDA.js";import{u as W,c as X,x as Y,P as Z,r as u,D as ee,t as o}from"./app-CfhhiFAk.js";import{C as te}from"./CrudTable-qPWooc10.js";import{C as re}from"./CrudFormModal-DAR9q-oM.js";import{C as ie}from"./CrudDeleteModal-CKTiD3_K.js";import{P as oe}from"./pagination-D8A_HnL5.js";import{S as se}from"./search-and-filter-bar-6Pp-FsiR.js";import me from"./view-DFM6GxUi.js";import{M as ae}from"./map-pin-BEMjKB1T.js";import{M as pe}from"./monitor-CnIEqEUy.js";import{U as ne}from"./users-C4LpG59H.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Rr(){var A;const{t:e}=W(),{auth:y,meetingRooms:m,filters:a={},globalSettings:r}=X().props,v=(y==null?void 0:y.permissions)||[],[f,b]=d.useState(a.search||""),[n,j]=d.useState(a.type||"_empty_"),[l,N]=d.useState(a.status||"_empty_"),[T,C]=d.useState(!1),[O,x]=d.useState(!1),[E,g]=d.useState(!1),[c,F]=d.useState(null),[h,P]=d.useState("create"),[_,k]=d.useState(null),D=()=>n!=="_empty_"||l!=="_empty_"||f!=="",I=()=>(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(f!==""?1:0),V=t=>{t.preventDefault(),w()},w=()=>{u.get(route("meetings.meeting-rooms.index"),{page:1,search:f||void 0,type:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},$=t=>{const i=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";u.get(route("meetings.meeting-rooms.index"),{sort_field:t,sort_direction:i,page:1,search:f||void 0,type:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},L=(t,i)=>{switch(F(i),t){case"view":k(i);break;case"edit":P("edit"),g(!0);break;case"delete":x(!0);break;case"toggle-status":J(i);break}},U=()=>{F(null),P("create"),g(!0)},B=t=>{t.equipment&&typeof t.equipment=="string"&&(t.equipment=t.equipment.split(",").map(i=>i.trim()).filter(Boolean)),h==="create"?(r!=null&&r.is_demo||o.loading(e("Creating meeting room...")),u.post(route("meetings.meeting-rooms.store"),t,{onSuccess:i=>{g(!1),r!=null&&r.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{r!=null&&r.is_demo||o.dismiss(),typeof i=="string"?o.error(i):o.error(`Failed to create meeting room: ${Object.values(i).join(", ")}`)}})):h==="edit"&&(r!=null&&r.is_demo||o.loading(e("Updating meeting room...")),u.put(route("meetings.meeting-rooms.update",c.id),t,{onSuccess:i=>{g(!1),r!=null&&r.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{r!=null&&r.is_demo||o.dismiss(),typeof i=="string"?o.error(i):o.error(`Failed to update meeting room: ${Object.values(i).join(", ")}`)}}))},z=()=>{r!=null&&r.is_demo||o.loading(e("Deleting meeting room...")),u.delete(route("meetings.meeting-rooms.destroy",c.id),{onSuccess:t=>{x(!1),r!=null&&r.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{r!=null&&r.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to delete meeting room: ${Object.values(t).join(", ")}`)}})},J=t=>{const i=t.status==="active"?"inactive":"active";r!=null&&r.is_demo||o.loading(`${e(i==="active"?"Activating":"Deactivating")} meeting room...`),u.put(route("meetings.meeting-rooms.toggle-status",t.id),{},{onSuccess:p=>{r!=null&&r.is_demo||o.dismiss(),p.props.flash.success?o.success(e(p.props.flash.success)):p.props.flash.error&&o.error(e(p.props.flash.error))},onError:p=>{r!=null&&r.is_demo||o.dismiss(),typeof p=="string"?o.error(p):o.error(`Failed to update meeting room status: ${Object.values(p).join(", ")}`)}})},G=()=>{b(""),j("_empty_"),N("_empty_"),C(!1),u.get(route("meetings.meeting-rooms.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},M=[];Y(v,"create-meeting-rooms")&&M.push({label:e("Add Meeting Room"),icon:s.jsx(Z,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>U()});const H=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Meetings"),href:route("meetings.meeting-rooms.index")},{title:e("Meeting Rooms")}],K=[{key:"name",label:e("Name"),sortable:!0,render:(t,i)=>s.jsxs("div",{children:[s.jsxs("div",{className:"font-medium flex items-center gap-2",children:[i.type==="Physical"?s.jsx(ae,{className:"h-4 w-4 text-gray-500"}):s.jsx(pe,{className:"h-4 w-4 text-gray-500"}),t]}),s.jsx("div",{className:"text-xs text-gray-500",children:i.type})]})},{key:"location",label:e("Location"),render:(t,i)=>i.type==="Virtual"?i.booking_url?s.jsx("a",{href:i.booking_url,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline text-sm",children:e("Join Link")}):"-":t||"-"},{key:"capacity",label:e("Capacity"),render:t=>s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(ne,{className:"h-4 w-4 text-gray-500"}),s.jsx("span",{children:t})]})},{key:"equipment",label:e("Equipment"),render:t=>!t||!Array.isArray(t)||t.length===0?"-":s.jsxs("div",{className:"flex flex-wrap gap-1",children:[t.slice(0,2).map((i,p)=>s.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:i},p)),t.length>2&&s.jsxs("span",{className:"text-xs text-gray-500",children:["+",t.length-2," more"]})]})},{key:"meetings_count",label:e("Meetings"),render:t=>s.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:t||0})},{key:"status",label:e("Status"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})}],Q=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-meeting-rooms"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-meeting-rooms"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-meeting-rooms"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-meeting-rooms"}],q=[{value:"_empty_",label:e("All Types"),disabled:!0},{value:"Physical",label:e("Physical")},{value:"Virtual",label:e("Virtual")}],S=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}];return s.jsxs(R,{title:e("Meeting Rooms"),url:"/meetings/meeting-rooms",actions:M,breadcrumbs:H,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(se,{searchTerm:f,onSearchChange:b,onSearch:V,filters:[{name:"type",label:e("Type"),type:"select",value:n,onChange:j,options:q},{name:"status",label:e("Status"),type:"select",value:l,onChange:N,options:S}],showFilters:T,setShowFilters:C,hasActiveFilters:D,activeFilterCount:I,onResetFilters:G,onApplyFilters:w,currentPerPage:((A=a.per_page)==null?void 0:A.toString())||"10",onPerPageChange:t=>{u.get(route("meetings.meeting-rooms.index"),{page:1,per_page:parseInt(t),search:f||void 0,type:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(te,{columns:K,actions:Q,data:(m==null?void 0:m.data)||[],from:(m==null?void 0:m.from)||1,onAction:L,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:$,permissions:v,entityPermissions:{view:"view-meeting-rooms",create:"create-meeting-rooms",edit:"edit-meeting-rooms",delete:"delete-meeting-rooms"}}),s.jsx(oe,{from:(m==null?void 0:m.from)||0,to:(m==null?void 0:m.to)||0,total:(m==null?void 0:m.total)||0,links:m==null?void 0:m.links,entityName:e("meeting rooms"),onPageChange:t=>u.get(t)})]}),s.jsx(re,{isOpen:E,onClose:()=>g(!1),onSubmit:B,formConfig:{fields:[{name:"name",label:e("Room Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"type",label:e("Type"),type:"select",required:!0,options:q.filter(t=>t.value!=="_empty_")},{name:"location",label:e("Location"),type:"text",helpText:e("Physical location for physical rooms")},{name:"capacity",label:e("Capacity"),type:"number",required:!0,min:1,helpText:e("Maximum number of participants")},{name:"equipment",label:e("Equipment"),type:"text",helpText:e("Comma-separated list of available equipment")},{name:"booking_url",label:e("Booking URL"),type:"text",helpText:e("Meeting link for virtual rooms")},{name:"status",label:e("Status"),type:"select",required:!0,options:S.filter(t=>t.value!=="_empty_")}],modalSize:"lg"},initialData:c?{...c,equipment:c.equipment?c.equipment.join(", "):""}:null,title:e(h==="create"?"Add New Meeting Room":"Edit Meeting Room"),mode:h}),s.jsx(ie,{isOpen:O,onClose:()=>x(!1),onConfirm:z,itemName:(c==null?void 0:c.name)||"",entityName:"meeting room"}),s.jsx(ee,{open:!!_,onOpenChange:()=>k(null),children:_&&s.jsx(me,{meetingRoom:_})})]})}export{Rr as default}; +import{r as d,j as s}from"./ui-Z445SNHD.js";import{P as R}from"./page-template-CLNVC8w_.js";import{u as W,c as X,x as Y,P as Z,r as u,D as ee,t as o}from"./app-Dya84jp7.js";import{C as te}from"./CrudTable-yqxtM6E_.js";import{C as re}from"./CrudFormModal-CsuqSfb2.js";import{C as ie}from"./CrudDeleteModal-D32N6I8y.js";import{P as oe}from"./pagination-4PUepASD.js";import{S as se}from"./search-and-filter-bar-DWH0yn_r.js";import me from"./view-7uUxZAzH.js";import{M as ae}from"./map-pin-DFWKFR9c.js";import{M as pe}from"./monitor-BYgqmcKD.js";import{U as ne}from"./users-BzCDZrS0.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Rr(){var A;const{t:e}=W(),{auth:y,meetingRooms:m,filters:a={},globalSettings:r}=X().props,v=(y==null?void 0:y.permissions)||[],[f,b]=d.useState(a.search||""),[n,j]=d.useState(a.type||"_empty_"),[l,N]=d.useState(a.status||"_empty_"),[T,C]=d.useState(!1),[O,x]=d.useState(!1),[E,g]=d.useState(!1),[c,F]=d.useState(null),[h,P]=d.useState("create"),[_,k]=d.useState(null),D=()=>n!=="_empty_"||l!=="_empty_"||f!=="",I=()=>(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(f!==""?1:0),V=t=>{t.preventDefault(),w()},w=()=>{u.get(route("meetings.meeting-rooms.index"),{page:1,search:f||void 0,type:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},$=t=>{const i=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";u.get(route("meetings.meeting-rooms.index"),{sort_field:t,sort_direction:i,page:1,search:f||void 0,type:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},L=(t,i)=>{switch(F(i),t){case"view":k(i);break;case"edit":P("edit"),g(!0);break;case"delete":x(!0);break;case"toggle-status":J(i);break}},U=()=>{F(null),P("create"),g(!0)},B=t=>{t.equipment&&typeof t.equipment=="string"&&(t.equipment=t.equipment.split(",").map(i=>i.trim()).filter(Boolean)),h==="create"?(r!=null&&r.is_demo||o.loading(e("Creating meeting room...")),u.post(route("meetings.meeting-rooms.store"),t,{onSuccess:i=>{g(!1),r!=null&&r.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{r!=null&&r.is_demo||o.dismiss(),typeof i=="string"?o.error(i):o.error(`Failed to create meeting room: ${Object.values(i).join(", ")}`)}})):h==="edit"&&(r!=null&&r.is_demo||o.loading(e("Updating meeting room...")),u.put(route("meetings.meeting-rooms.update",c.id),t,{onSuccess:i=>{g(!1),r!=null&&r.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{r!=null&&r.is_demo||o.dismiss(),typeof i=="string"?o.error(i):o.error(`Failed to update meeting room: ${Object.values(i).join(", ")}`)}}))},z=()=>{r!=null&&r.is_demo||o.loading(e("Deleting meeting room...")),u.delete(route("meetings.meeting-rooms.destroy",c.id),{onSuccess:t=>{x(!1),r!=null&&r.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{r!=null&&r.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to delete meeting room: ${Object.values(t).join(", ")}`)}})},J=t=>{const i=t.status==="active"?"inactive":"active";r!=null&&r.is_demo||o.loading(`${e(i==="active"?"Activating":"Deactivating")} meeting room...`),u.put(route("meetings.meeting-rooms.toggle-status",t.id),{},{onSuccess:p=>{r!=null&&r.is_demo||o.dismiss(),p.props.flash.success?o.success(e(p.props.flash.success)):p.props.flash.error&&o.error(e(p.props.flash.error))},onError:p=>{r!=null&&r.is_demo||o.dismiss(),typeof p=="string"?o.error(p):o.error(`Failed to update meeting room status: ${Object.values(p).join(", ")}`)}})},G=()=>{b(""),j("_empty_"),N("_empty_"),C(!1),u.get(route("meetings.meeting-rooms.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},M=[];Y(v,"create-meeting-rooms")&&M.push({label:e("Add Meeting Room"),icon:s.jsx(Z,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>U()});const H=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Meetings"),href:route("meetings.meeting-rooms.index")},{title:e("Meeting Rooms")}],K=[{key:"name",label:e("Name"),sortable:!0,render:(t,i)=>s.jsxs("div",{children:[s.jsxs("div",{className:"font-medium flex items-center gap-2",children:[i.type==="Physical"?s.jsx(ae,{className:"h-4 w-4 text-gray-500"}):s.jsx(pe,{className:"h-4 w-4 text-gray-500"}),t]}),s.jsx("div",{className:"text-xs text-gray-500",children:i.type})]})},{key:"location",label:e("Location"),render:(t,i)=>i.type==="Virtual"?i.booking_url?s.jsx("a",{href:i.booking_url,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline text-sm",children:e("Join Link")}):"-":t||"-"},{key:"capacity",label:e("Capacity"),render:t=>s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(ne,{className:"h-4 w-4 text-gray-500"}),s.jsx("span",{children:t})]})},{key:"equipment",label:e("Equipment"),render:t=>!t||!Array.isArray(t)||t.length===0?"-":s.jsxs("div",{className:"flex flex-wrap gap-1",children:[t.slice(0,2).map((i,p)=>s.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:i},p)),t.length>2&&s.jsxs("span",{className:"text-xs text-gray-500",children:["+",t.length-2," more"]})]})},{key:"meetings_count",label:e("Meetings"),render:t=>s.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:t||0})},{key:"status",label:e("Status"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})}],Q=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-meeting-rooms"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-meeting-rooms"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-meeting-rooms"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-meeting-rooms"}],q=[{value:"_empty_",label:e("All Types"),disabled:!0},{value:"Physical",label:e("Physical")},{value:"Virtual",label:e("Virtual")}],S=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}];return s.jsxs(R,{title:e("Meeting Rooms"),url:"/meetings/meeting-rooms",actions:M,breadcrumbs:H,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(se,{searchTerm:f,onSearchChange:b,onSearch:V,filters:[{name:"type",label:e("Type"),type:"select",value:n,onChange:j,options:q},{name:"status",label:e("Status"),type:"select",value:l,onChange:N,options:S}],showFilters:T,setShowFilters:C,hasActiveFilters:D,activeFilterCount:I,onResetFilters:G,onApplyFilters:w,currentPerPage:((A=a.per_page)==null?void 0:A.toString())||"10",onPerPageChange:t=>{u.get(route("meetings.meeting-rooms.index"),{page:1,per_page:parseInt(t),search:f||void 0,type:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(te,{columns:K,actions:Q,data:(m==null?void 0:m.data)||[],from:(m==null?void 0:m.from)||1,onAction:L,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:$,permissions:v,entityPermissions:{view:"view-meeting-rooms",create:"create-meeting-rooms",edit:"edit-meeting-rooms",delete:"delete-meeting-rooms"}}),s.jsx(oe,{from:(m==null?void 0:m.from)||0,to:(m==null?void 0:m.to)||0,total:(m==null?void 0:m.total)||0,links:m==null?void 0:m.links,entityName:e("meeting rooms"),onPageChange:t=>u.get(t)})]}),s.jsx(re,{isOpen:E,onClose:()=>g(!1),onSubmit:B,formConfig:{fields:[{name:"name",label:e("Room Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"type",label:e("Type"),type:"select",required:!0,options:q.filter(t=>t.value!=="_empty_")},{name:"location",label:e("Location"),type:"text",helpText:e("Physical location for physical rooms")},{name:"capacity",label:e("Capacity"),type:"number",required:!0,min:1,helpText:e("Maximum number of participants")},{name:"equipment",label:e("Equipment"),type:"text",helpText:e("Comma-separated list of available equipment")},{name:"booking_url",label:e("Booking URL"),type:"text",helpText:e("Meeting link for virtual rooms")},{name:"status",label:e("Status"),type:"select",required:!0,options:S.filter(t=>t.value!=="_empty_")}],modalSize:"lg"},initialData:c?{...c,equipment:c.equipment?c.equipment.join(", "):""}:null,title:e(h==="create"?"Add New Meeting Room":"Edit Meeting Room"),mode:h}),s.jsx(ie,{isOpen:O,onClose:()=>x(!1),onConfirm:z,itemName:(c==null?void 0:c.name)||"",entityName:"meeting room"}),s.jsx(ee,{open:!!_,onOpenChange:()=>k(null),children:_&&s.jsx(me,{meetingRoom:_})})]})}export{Rr as default}; diff --git a/public/build/assets/index-BuI0zCd-.js b/public/build/assets/index-C3vJud6I.js similarity index 66% rename from public/build/assets/index-BuI0zCd-.js rename to public/build/assets/index-C3vJud6I.js index 32465c773..62c0c45ba 100644 --- a/public/build/assets/index-BuI0zCd-.js +++ b/public/build/assets/index-C3vJud6I.js @@ -1 +1 @@ -import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as L}from"./page-template-BTxLyiDA.js";import{u as B,c as z,r as m,D as H,h as G,j as J,k as K,t as i}from"./app-CfhhiFAk.js";import{C as W}from"./CrudTable-qPWooc10.js";import{C as X}from"./CrudDeleteModal-CKTiD3_K.js";import{C as S}from"./CrudFormModal-DAR9q-oM.js";import{P as Y}from"./pagination-D8A_HnL5.js";import{S as Z}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Ar(){var j,v;const{t:e}=B(),{auth:c,contacts:a,filters:p={},globalSettings:l}=z().props,C=(c==null?void 0:c.permissions)||[],[d,b]=n.useState(p.search||""),[N,y]=n.useState(!1),[w,u]=n.useState(!1),[k,f]=n.useState(!1),[_,g]=n.useState(!1),[D,x]=n.useState(!1),[r,P]=n.useState(null),F=()=>d!=="",O=()=>d!==""?1:0,M=t=>{t.preventDefault(),h()},h=()=>{m.get(route("contacts.index"),{page:1,search:d||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},E=t=>{const o=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";m.get(route("contacts.index"),{sort_field:t,sort_direction:o,page:1,search:d||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},T=(t,o)=>{switch(P(o),t){case"view":f(!0);break;case"update-status":g(!0);break;case"send-reply":x(!0);break;case"delete":u(!0);break}},R=t=>{i.loading(e("Updating contact status...")),m.put(route("contacts.update-status",r.id),{status:t.status},{onSuccess:o=>{g(!1),i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to update contact status: {{errors}}",{errors:Object.values(o).join(", ")}))}})},q=()=>{l!=null&&l.is_demo||i.loading(e("Deleting contact...")),m.delete(route("contacts.destroy",r.id),{onSuccess:t=>{u(!1),l!=null&&l.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{l!=null&&l.is_demo||i.dismiss(),typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete contact: {{errors}}",{errors:Object.values(t).join(", ")}))}})},A=t=>{l!=null&&l.is_demo||i.loading(e("Sending reply...")),m.post(route("contacts.send-reply",r.id),{subject:t.subject,message:t.message},{onSuccess:o=>{x(!1),l!=null&&l.is_demo||i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{l!=null&&l.is_demo||i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to send reply: {{errors}}",{errors:Object.values(o).join(", ")}))}})},Q=()=>{b(""),y(!1),m.get(route("contacts.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},U=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Landing Page"),href:route("landing-page")},{title:e("Contact Inquiries")}],V=[{key:"name",label:e("Name"),sortable:!0,render:t=>t||"-"},{key:"email",label:e("Email"),sortable:!0,render:t=>t||"-"},{key:"subject",label:e("Subject"),sortable:!0,render:t=>t||"-"},{key:"status",label:e("Status"),render:t=>{const o={New:"bg-blue-50 text-blue-700 ring-blue-700/10",Contacted:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",Qualified:"bg-green-50 text-green-700 ring-green-600/20",Converted:"bg-purple-50 text-purple-700 ring-purple-700/10",Closed:"bg-gray-50 text-gray-700 ring-gray-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${o[t]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:t||"New"})}},{key:"created_at",label:e("Date"),sortable:!0,render:t=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(t,!0))||new Date(t).toLocaleString()}}],$=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-contacts"},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"update-contact-status"},{label:e("Send Reply"),icon:"Reply",action:"send-reply",className:"text-purple-500",requiredPermission:"send-reply-contacts"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-contacts"}];return s.jsxs(L,{title:e("Contact Inquiries"),url:"/contacts",breadcrumbs:U,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(Z,{searchTerm:d,onSearchChange:b,onSearch:M,filters:[],showFilters:N,setShowFilters:y,hasActiveFilters:F,activeFilterCount:O,onResetFilters:Q,onApplyFilters:h,currentPerPage:((j=p.per_page)==null?void 0:j.toString())||"10",onPerPageChange:t=>{m.get(route("contacts.index"),{page:1,per_page:parseInt(t),search:d||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(W,{columns:V,actions:$,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:T,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:E,permissions:C,entityPermissions:{view:"view-contacts",delete:"delete-contacts"}}),s.jsx(Y,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("contacts"),onPageChange:t=>m.get(t)})]}),s.jsx(X,{isOpen:w,onClose:()=>u(!1),onConfirm:q,itemName:`${(r==null?void 0:r.name)||""} - ${(r==null?void 0:r.subject)||""}`,itemType:e("contact")}),s.jsx(H,{open:k,onOpenChange:f,children:s.jsxs(G,{className:"max-w-2xl",children:[s.jsx(J,{children:s.jsx(K,{children:e("Contact Details")})}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Name")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100",children:(r==null?void 0:r.name)||"-"})]}),s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Email")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100",children:(r==null?void 0:r.email)||"-"})]})]}),s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Subject")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100",children:(r==null?void 0:r.subject)||"-"})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Status")}),s.jsx("div",{children:(()=>{const t=(r==null?void 0:r.status)||"New",o={New:"bg-blue-50 text-blue-700 ring-blue-700/10",Contacted:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",Qualified:"bg-green-50 text-green-700 ring-green-600/20",Converted:"bg-purple-50 text-purple-700 ring-purple-700/10",Closed:"bg-gray-50 text-gray-700 ring-gray-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${o[t]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:t})})()})]}),s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Date")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100",children:r!=null&&r.created_at?((v=window.appSettings)==null?void 0:v.formatDateTimeSimple(r.created_at,!0))||new Date(r.created_at).toLocaleString():"-"})]})]}),s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Message")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100 whitespace-pre-wrap",children:(r==null?void 0:r.message)||"-"})]})]})]})}),s.jsx(S,{isOpen:_,onClose:()=>g(!1),onSubmit:R,title:e("Update Contact Status"),mode:"edit",formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"New",label:e("New")},{value:"Contacted",label:e("Contacted")},{value:"Qualified",label:e("Qualified")},{value:"Converted",label:e("Converted")},{value:"Closed",label:e("Closed")}]}]},initialData:{status:(r==null?void 0:r.status)||"New"}}),s.jsx(S,{isOpen:D,onClose:()=>x(!1),onSubmit:A,title:e("Send Reply"),mode:"create",submitButtonText:e("Send"),formConfig:{fields:[{name:"email",label:e("Email"),type:"text",defaultValue:(r==null?void 0:r.email)||"",disabled:!0},{name:"subject",label:e("Subject"),type:"text",required:!0,placeholder:e("Enter reply subject")},{name:"message",label:e("Message"),type:"textarea",required:!0,placeholder:e("Enter your reply message")}],modalSize:"2xl"},initialData:{email:(r==null?void 0:r.email)||""}})]})}export{Ar as default}; +import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as L}from"./page-template-CLNVC8w_.js";import{u as B,c as z,r as m,D as H,h as G,j as J,k as K,t as i}from"./app-Dya84jp7.js";import{C as W}from"./CrudTable-yqxtM6E_.js";import{C as X}from"./CrudDeleteModal-D32N6I8y.js";import{C as S}from"./CrudFormModal-CsuqSfb2.js";import{P as Y}from"./pagination-4PUepASD.js";import{S as Z}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Ar(){var j,v;const{t:e}=B(),{auth:c,contacts:a,filters:p={},globalSettings:l}=z().props,C=(c==null?void 0:c.permissions)||[],[d,b]=n.useState(p.search||""),[N,y]=n.useState(!1),[w,u]=n.useState(!1),[k,f]=n.useState(!1),[_,g]=n.useState(!1),[D,x]=n.useState(!1),[r,P]=n.useState(null),F=()=>d!=="",O=()=>d!==""?1:0,M=t=>{t.preventDefault(),h()},h=()=>{m.get(route("contacts.index"),{page:1,search:d||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},E=t=>{const o=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";m.get(route("contacts.index"),{sort_field:t,sort_direction:o,page:1,search:d||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},T=(t,o)=>{switch(P(o),t){case"view":f(!0);break;case"update-status":g(!0);break;case"send-reply":x(!0);break;case"delete":u(!0);break}},R=t=>{i.loading(e("Updating contact status...")),m.put(route("contacts.update-status",r.id),{status:t.status},{onSuccess:o=>{g(!1),i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to update contact status: {{errors}}",{errors:Object.values(o).join(", ")}))}})},q=()=>{l!=null&&l.is_demo||i.loading(e("Deleting contact...")),m.delete(route("contacts.destroy",r.id),{onSuccess:t=>{u(!1),l!=null&&l.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{l!=null&&l.is_demo||i.dismiss(),typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete contact: {{errors}}",{errors:Object.values(t).join(", ")}))}})},A=t=>{l!=null&&l.is_demo||i.loading(e("Sending reply...")),m.post(route("contacts.send-reply",r.id),{subject:t.subject,message:t.message},{onSuccess:o=>{x(!1),l!=null&&l.is_demo||i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{l!=null&&l.is_demo||i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to send reply: {{errors}}",{errors:Object.values(o).join(", ")}))}})},Q=()=>{b(""),y(!1),m.get(route("contacts.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},U=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Landing Page"),href:route("landing-page")},{title:e("Contact Inquiries")}],V=[{key:"name",label:e("Name"),sortable:!0,render:t=>t||"-"},{key:"email",label:e("Email"),sortable:!0,render:t=>t||"-"},{key:"subject",label:e("Subject"),sortable:!0,render:t=>t||"-"},{key:"status",label:e("Status"),render:t=>{const o={New:"bg-blue-50 text-blue-700 ring-blue-700/10",Contacted:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",Qualified:"bg-green-50 text-green-700 ring-green-600/20",Converted:"bg-purple-50 text-purple-700 ring-purple-700/10",Closed:"bg-gray-50 text-gray-700 ring-gray-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${o[t]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:t||"New"})}},{key:"created_at",label:e("Date"),sortable:!0,render:t=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(t,!0))||new Date(t).toLocaleString()}}],$=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-contacts"},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"update-contact-status"},{label:e("Send Reply"),icon:"Reply",action:"send-reply",className:"text-purple-500",requiredPermission:"send-reply-contacts"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-contacts"}];return s.jsxs(L,{title:e("Contact Inquiries"),url:"/contacts",breadcrumbs:U,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(Z,{searchTerm:d,onSearchChange:b,onSearch:M,filters:[],showFilters:N,setShowFilters:y,hasActiveFilters:F,activeFilterCount:O,onResetFilters:Q,onApplyFilters:h,currentPerPage:((j=p.per_page)==null?void 0:j.toString())||"10",onPerPageChange:t=>{m.get(route("contacts.index"),{page:1,per_page:parseInt(t),search:d||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(W,{columns:V,actions:$,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:T,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:E,permissions:C,entityPermissions:{view:"view-contacts",delete:"delete-contacts"}}),s.jsx(Y,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("contacts"),onPageChange:t=>m.get(t)})]}),s.jsx(X,{isOpen:w,onClose:()=>u(!1),onConfirm:q,itemName:`${(r==null?void 0:r.name)||""} - ${(r==null?void 0:r.subject)||""}`,itemType:e("contact")}),s.jsx(H,{open:k,onOpenChange:f,children:s.jsxs(G,{className:"max-w-2xl",children:[s.jsx(J,{children:s.jsx(K,{children:e("Contact Details")})}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Name")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100",children:(r==null?void 0:r.name)||"-"})]}),s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Email")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100",children:(r==null?void 0:r.email)||"-"})]})]}),s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Subject")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100",children:(r==null?void 0:r.subject)||"-"})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Status")}),s.jsx("div",{children:(()=>{const t=(r==null?void 0:r.status)||"New",o={New:"bg-blue-50 text-blue-700 ring-blue-700/10",Contacted:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",Qualified:"bg-green-50 text-green-700 ring-green-600/20",Converted:"bg-purple-50 text-purple-700 ring-purple-700/10",Closed:"bg-gray-50 text-gray-700 ring-gray-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${o[t]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:t})})()})]}),s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Date")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100",children:r!=null&&r.created_at?((v=window.appSettings)==null?void 0:v.formatDateTimeSimple(r.created_at,!0))||new Date(r.created_at).toLocaleString():"-"})]})]}),s.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg",children:[s.jsx("label",{className:"block text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2",children:e("Message")}),s.jsx("p",{className:"text-gray-900 dark:text-gray-100 whitespace-pre-wrap",children:(r==null?void 0:r.message)||"-"})]})]})]})}),s.jsx(S,{isOpen:_,onClose:()=>g(!1),onSubmit:R,title:e("Update Contact Status"),mode:"edit",formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"New",label:e("New")},{value:"Contacted",label:e("Contacted")},{value:"Qualified",label:e("Qualified")},{value:"Converted",label:e("Converted")},{value:"Closed",label:e("Closed")}]}]},initialData:{status:(r==null?void 0:r.status)||"New"}}),s.jsx(S,{isOpen:D,onClose:()=>x(!1),onSubmit:A,title:e("Send Reply"),mode:"create",submitButtonText:e("Send"),formConfig:{fields:[{name:"email",label:e("Email"),type:"text",defaultValue:(r==null?void 0:r.email)||"",disabled:!0},{name:"subject",label:e("Subject"),type:"text",required:!0,placeholder:e("Enter reply subject")},{name:"message",label:e("Message"),type:"textarea",required:!0,placeholder:e("Enter your reply message")}],modalSize:"2xl"},initialData:{email:(r==null?void 0:r.email)||""}})]})}export{Ar as default}; diff --git a/public/build/assets/index-DVrBTdX3.js b/public/build/assets/index-C4WCB3_m.js similarity index 90% rename from public/build/assets/index-DVrBTdX3.js rename to public/build/assets/index-C4WCB3_m.js index 36e956a73..a0cd0c7c8 100644 --- a/public/build/assets/index-DVrBTdX3.js +++ b/public/build/assets/index-C4WCB3_m.js @@ -1 +1 @@ -import{r as p,j as e}from"./ui-Z445SNHD.js";import{P as re}from"./page-template-BTxLyiDA.js";import{u as te,c as ae,x as E,L as A,I as z,o as x,S as ie,X as de,r as h,t as i}from"./app-CfhhiFAk.js";import{C as le}from"./CrudDeleteModal-CKTiD3_K.js";import{P as oe}from"./pagination-D8A_HnL5.js";import{T as ce}from"./textarea-kpRjGGLz.js";import{S as R,a as O,b as L,c as V,d as b}from"./select-BrY9osYp.js";import{T as G}from"./target-Pzb9zAUp.js";import{a as ne,C as me}from"./chevron-up-DepFp6b6.js";import{S as B}from"./square-pen-bMHyT06o.js";import{T as $}from"./trash-2-C1NR_7Ss.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function es(){const{t:r}=te(),{auth:w,goalTypes:t,filters:o={},globalSettings:a}=ae().props,S=(w==null?void 0:w.permissions)||[],[y,I]=p.useState(o.search||""),[m,q]=p.useState(o.status||"all"),[H,C]=p.useState(!1),[j,_]=p.useState(null),[u,M]=p.useState("create"),[c,v]=p.useState({name:"",description:"",status:"active"}),[n,g]=p.useState({}),[D,K]=p.useState(new Set),N=E(S,"create-goal-types"),f=E(S,"edit-goal-types"),T=E(S,"delete-goal-types"),X=s=>{const d=new Set(D);d.has(s)?d.delete(s):d.add(s),K(d)},F=()=>{v({name:"",description:"",status:"active"}),g({}),M("create"),_(null)},J=s=>{v({name:s.name||"",description:s.description||"",status:s.status||"active"}),M("edit"),_(s),g({})},U=s=>{s.preventDefault(),Q()},Q=()=>{h.get(route("hr.performance.goal-types.index"),{page:1,search:y||void 0,status:m!=="all"?m:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},W=()=>{I(""),q("all"),h.get(route("hr.performance.goal-types.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},Y=s=>{const d=o.sort_field===s&&o.sort_direction==="asc"?"desc":"asc";h.get(route("hr.performance.goal-types.index"),{sort_field:s,sort_direction:d,page:1,search:y||void 0,status:m!=="all"?m:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},k=(s,d)=>{switch(s){case"edit":J(d),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":_(d),C(!0);break}},Z=s=>{s.preventDefault(),g({});const d={};if(c.name.trim()||(d.name=r("Goal type name is required")),c.status||(d.status=r("Status is required")),Object.keys(d).length>0){g(d);return}u==="create"?(a!=null&&a.is_demo||i.loading(r("Creating goal type...")),h.post(route("hr.performance.goal-types.store"),c,{onSuccess:l=>{a!=null&&a.is_demo||i.dismiss(),l.props.flash.success?(i.success(r(l.props.flash.success)),F()):l.props.flash.error&&i.error(r(l.props.flash.error))},onError:l=>{a!=null&&a.is_demo||i.dismiss(),g(l),i.error(r("Please check the form for errors"))}})):u==="edit"&&(a!=null&&a.is_demo||i.loading(r("Updating goal type...")),h.put(route("hr.performance.goal-types.update",j.id),c,{onSuccess:l=>{a!=null&&a.is_demo||i.dismiss(),l.props.flash.success?(i.success(r(l.props.flash.success)),F()):l.props.flash.error&&i.error(r(l.props.flash.error))},onError:l=>{a!=null&&a.is_demo||i.dismiss(),g(l),i.error(r("Please check the form for errors"))}}))},ee=()=>{a!=null&&a.is_demo||i.loading(r("Deleting goal type...")),h.delete(route("hr.performance.goal-types.destroy",j.id),{onSuccess:s=>{C(!1),a!=null&&a.is_demo||i.dismiss(),s.props.flash.success?i.success(r(s.props.flash.success)):s.props.flash.error&&i.error(r(s.props.flash.error))},onError:s=>{a!=null&&a.is_demo||i.dismiss(),i.error(r(typeof s=="string"?s:"Failed to delete goal type"))}})},se=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:r("Performance"),href:route("hr.performance.indicator-categories.index")},{title:r("Goal Types")}],P=y||m!=="all";return e.jsxs(re,{title:r("Goal Types"),description:"",url:"/hr/performance/goal-types",breadcrumbs:se,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(u==="create"?"Add New Goal Type":"Edit Goal Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(u==="create"?"Fill in the details to create a new goal type":"Update the goal type details below")})]}),e.jsxs("form",{onSubmit:Z,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(A,{required:!0,htmlFor:"name",className:"required",children:r("Goal Type Name")}),e.jsx(z,{required:!0,id:"name",type:"text",value:c.name,onChange:s=>v({...c,name:s.target.value}),placeholder:r("e.g., Personal, Professional, Team"),className:n.name?"border-red-500":"",disabled:!N&&!f}),n.name&&e.jsx("p",{className:"text-sm text-red-500",children:n.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(A,{htmlFor:"description",children:r("Description")}),e.jsx(ce,{id:"description",value:c.description,onChange:s=>v({...c,description:s.target.value}),placeholder:r("Brief description of the goal type"),rows:3,className:n.description?"border-red-500":"",disabled:!N&&!f}),n.description&&e.jsx("p",{className:"text-sm text-red-500",children:n.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(A,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(R,{value:c.status,onValueChange:s=>v({...c,status:s}),disabled:!N&&!f,children:[e.jsx(O,{className:n.status?"border-red-500":"",children:e.jsx(L,{})}),e.jsxs(V,{children:[e.jsx(b,{value:"active",children:r("Active")}),e.jsx(b,{value:"inactive",children:r("Inactive")})]})]}),n.status&&e.jsx("p",{className:"text-sm text-red-500",children:n.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(N||f)&&e.jsx(x,{type:"submit",className:"flex-1",children:r(u==="create"?"Add Goal Type":"Update Goal Type")}),u==="edit"&&e.jsx(x,{type:"button",variant:"outline",onClick:F,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(ie,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(z,{type:"text",placeholder:r("Search goal types..."),value:y,onChange:s=>I(s.target.value),onKeyDown:s=>s.key==="Enter"&&U(s),className:"pl-10"})]}),e.jsx(x,{onClick:U,variant:"default",children:r("Search")}),P&&e.jsxs(x,{onClick:W,variant:"outline",children:[e.jsx(de,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(R,{value:m,onValueChange:q,children:[e.jsx(O,{children:e.jsx(L,{placeholder:r("All Statuses")})}),e.jsxs(V,{children:[e.jsx(b,{value:"all",children:r("All Statuses")}),e.jsx(b,{value:"active",children:r("Active")}),e.jsx(b,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((t==null?void 0:t.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Goal Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage goal types for employee performance tracking")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>Y("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name"),o.sort_field==="name"?o.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((t==null?void 0:t.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(G,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:D.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>X(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:D.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(ne,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(me,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[f&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("edit",s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(B,{className:"h-4 w-4"})}),T&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("delete",s),className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx($,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((t==null?void 0:t.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(G,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[f&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(B,{className:"h-4 w-4"})}),T&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx($,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})})]},s.id))}),(t==null?void 0:t.total)>((t==null?void 0:t.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(oe,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:r("goal types"),onPageChange:s=>{const d=new URL(s).searchParams.get("page")||"1";h.get(route("hr.performance.goal-types.index"),{page:d,per_page:o.per_page||10,search:y||void 0,status:m!=="all"?m:void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(G,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No goal types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(P?"No goal types match your search criteria. Try adjusting your filters.":"Create goal types to categorize employee performance goals.")}),!P&&N&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first goal type.")})]})})]})]}),e.jsx(le,{isOpen:H,onClose:()=>C(!1),onConfirm:ee,itemName:(j==null?void 0:j.name)||"",entityName:"goal type"})]})}export{es as default}; +import{r as p,j as e}from"./ui-Z445SNHD.js";import{P as re}from"./page-template-CLNVC8w_.js";import{u as te,c as ae,x as E,L as A,I as z,o as x,S as ie,X as de,r as h,t as i}from"./app-Dya84jp7.js";import{C as le}from"./CrudDeleteModal-D32N6I8y.js";import{P as oe}from"./pagination-4PUepASD.js";import{T as ce}from"./textarea-yeg8ONhy.js";import{S as R,a as O,b as L,c as V,d as b}from"./select-CHkpLxhL.js";import{T as G}from"./target-BPl0Bsow.js";import{a as ne,C as me}from"./chevron-up-DHaGktre.js";import{S as B}from"./square-pen-CzdhbxyN.js";import{T as $}from"./trash-2-BeirBLIk.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function es(){const{t:r}=te(),{auth:w,goalTypes:t,filters:o={},globalSettings:a}=ae().props,S=(w==null?void 0:w.permissions)||[],[y,I]=p.useState(o.search||""),[m,q]=p.useState(o.status||"all"),[H,C]=p.useState(!1),[j,_]=p.useState(null),[u,M]=p.useState("create"),[c,v]=p.useState({name:"",description:"",status:"active"}),[n,g]=p.useState({}),[D,K]=p.useState(new Set),N=E(S,"create-goal-types"),f=E(S,"edit-goal-types"),T=E(S,"delete-goal-types"),X=s=>{const d=new Set(D);d.has(s)?d.delete(s):d.add(s),K(d)},F=()=>{v({name:"",description:"",status:"active"}),g({}),M("create"),_(null)},J=s=>{v({name:s.name||"",description:s.description||"",status:s.status||"active"}),M("edit"),_(s),g({})},U=s=>{s.preventDefault(),Q()},Q=()=>{h.get(route("hr.performance.goal-types.index"),{page:1,search:y||void 0,status:m!=="all"?m:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},W=()=>{I(""),q("all"),h.get(route("hr.performance.goal-types.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},Y=s=>{const d=o.sort_field===s&&o.sort_direction==="asc"?"desc":"asc";h.get(route("hr.performance.goal-types.index"),{sort_field:s,sort_direction:d,page:1,search:y||void 0,status:m!=="all"?m:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},k=(s,d)=>{switch(s){case"edit":J(d),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":_(d),C(!0);break}},Z=s=>{s.preventDefault(),g({});const d={};if(c.name.trim()||(d.name=r("Goal type name is required")),c.status||(d.status=r("Status is required")),Object.keys(d).length>0){g(d);return}u==="create"?(a!=null&&a.is_demo||i.loading(r("Creating goal type...")),h.post(route("hr.performance.goal-types.store"),c,{onSuccess:l=>{a!=null&&a.is_demo||i.dismiss(),l.props.flash.success?(i.success(r(l.props.flash.success)),F()):l.props.flash.error&&i.error(r(l.props.flash.error))},onError:l=>{a!=null&&a.is_demo||i.dismiss(),g(l),i.error(r("Please check the form for errors"))}})):u==="edit"&&(a!=null&&a.is_demo||i.loading(r("Updating goal type...")),h.put(route("hr.performance.goal-types.update",j.id),c,{onSuccess:l=>{a!=null&&a.is_demo||i.dismiss(),l.props.flash.success?(i.success(r(l.props.flash.success)),F()):l.props.flash.error&&i.error(r(l.props.flash.error))},onError:l=>{a!=null&&a.is_demo||i.dismiss(),g(l),i.error(r("Please check the form for errors"))}}))},ee=()=>{a!=null&&a.is_demo||i.loading(r("Deleting goal type...")),h.delete(route("hr.performance.goal-types.destroy",j.id),{onSuccess:s=>{C(!1),a!=null&&a.is_demo||i.dismiss(),s.props.flash.success?i.success(r(s.props.flash.success)):s.props.flash.error&&i.error(r(s.props.flash.error))},onError:s=>{a!=null&&a.is_demo||i.dismiss(),i.error(r(typeof s=="string"?s:"Failed to delete goal type"))}})},se=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:r("Performance"),href:route("hr.performance.indicator-categories.index")},{title:r("Goal Types")}],P=y||m!=="all";return e.jsxs(re,{title:r("Goal Types"),description:"",url:"/hr/performance/goal-types",breadcrumbs:se,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(u==="create"?"Add New Goal Type":"Edit Goal Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(u==="create"?"Fill in the details to create a new goal type":"Update the goal type details below")})]}),e.jsxs("form",{onSubmit:Z,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(A,{required:!0,htmlFor:"name",className:"required",children:r("Goal Type Name")}),e.jsx(z,{required:!0,id:"name",type:"text",value:c.name,onChange:s=>v({...c,name:s.target.value}),placeholder:r("e.g., Personal, Professional, Team"),className:n.name?"border-red-500":"",disabled:!N&&!f}),n.name&&e.jsx("p",{className:"text-sm text-red-500",children:n.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(A,{htmlFor:"description",children:r("Description")}),e.jsx(ce,{id:"description",value:c.description,onChange:s=>v({...c,description:s.target.value}),placeholder:r("Brief description of the goal type"),rows:3,className:n.description?"border-red-500":"",disabled:!N&&!f}),n.description&&e.jsx("p",{className:"text-sm text-red-500",children:n.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(A,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(R,{value:c.status,onValueChange:s=>v({...c,status:s}),disabled:!N&&!f,children:[e.jsx(O,{className:n.status?"border-red-500":"",children:e.jsx(L,{})}),e.jsxs(V,{children:[e.jsx(b,{value:"active",children:r("Active")}),e.jsx(b,{value:"inactive",children:r("Inactive")})]})]}),n.status&&e.jsx("p",{className:"text-sm text-red-500",children:n.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(N||f)&&e.jsx(x,{type:"submit",className:"flex-1",children:r(u==="create"?"Add Goal Type":"Update Goal Type")}),u==="edit"&&e.jsx(x,{type:"button",variant:"outline",onClick:F,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(ie,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(z,{type:"text",placeholder:r("Search goal types..."),value:y,onChange:s=>I(s.target.value),onKeyDown:s=>s.key==="Enter"&&U(s),className:"pl-10"})]}),e.jsx(x,{onClick:U,variant:"default",children:r("Search")}),P&&e.jsxs(x,{onClick:W,variant:"outline",children:[e.jsx(de,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(R,{value:m,onValueChange:q,children:[e.jsx(O,{children:e.jsx(L,{placeholder:r("All Statuses")})}),e.jsxs(V,{children:[e.jsx(b,{value:"all",children:r("All Statuses")}),e.jsx(b,{value:"active",children:r("Active")}),e.jsx(b,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((t==null?void 0:t.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Goal Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage goal types for employee performance tracking")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>Y("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name"),o.sort_field==="name"?o.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((t==null?void 0:t.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(G,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:D.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>X(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:D.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(ne,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(me,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[f&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("edit",s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(B,{className:"h-4 w-4"})}),T&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("delete",s),className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx($,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((t==null?void 0:t.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(G,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[f&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(B,{className:"h-4 w-4"})}),T&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx($,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})})]},s.id))}),(t==null?void 0:t.total)>((t==null?void 0:t.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(oe,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:r("goal types"),onPageChange:s=>{const d=new URL(s).searchParams.get("page")||"1";h.get(route("hr.performance.goal-types.index"),{page:d,per_page:o.per_page||10,search:y||void 0,status:m!=="all"?m:void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(G,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No goal types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(P?"No goal types match your search criteria. Try adjusting your filters.":"Create goal types to categorize employee performance goals.")}),!P&&N&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first goal type.")})]})})]})]}),e.jsx(le,{isOpen:H,onClose:()=>C(!1),onConfirm:ee,itemName:(j==null?void 0:j.name)||"",entityName:"goal type"})]})}export{es as default}; diff --git a/public/build/assets/index-DGZGl4KA.js b/public/build/assets/index-C4rS_B3j.js similarity index 67% rename from public/build/assets/index-DGZGl4KA.js rename to public/build/assets/index-C4rS_B3j.js index 2c3e95625..9252adcde 100644 --- a/public/build/assets/index-DGZGl4KA.js +++ b/public/build/assets/index-C4rS_B3j.js @@ -1 +1 @@ -import{r as d,j as r}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-BTxLyiDA.js";import{u as te,c as E,t as c,x as re,P as oe,F as se,r as u,D as M,h as ie,j as ae,k as me}from"./app-CfhhiFAk.js";import{C as ne}from"./CrudTable-qPWooc10.js";import{C as le}from"./CrudDeleteModal-CKTiD3_K.js";import{P as pe}from"./pagination-D8A_HnL5.js";import{S as ce}from"./search-and-filter-bar-6Pp-FsiR.js";import de from"./generate-BdLQjM1G.js";import{S as ue}from"./star-DQsTg5F1.js";import{C as ge}from"./code-BfjQUpEO.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function Kr(){var A;const{t}=te(),{auth:x,documentTemplates:s,categories:b,filters:a={},globalSettings:_}=E().props,{flash:g}=E().props,S=(x==null?void 0:x.permissions)||[];d.useEffect(()=>{g!=null&&g.error&&c.error(t(g.error))},[g==null?void 0:g.error]);const[h,j]=d.useState(a.search||""),[n,w]=d.useState(a.category_id||"_empty_"),[l,N]=d.useState(a.status||"_empty_"),[p,C]=d.useState(a.is_default||"_empty_"),[T,P]=d.useState(!1),[q,v]=d.useState(!1),[$,D]=d.useState(!1),[G,f]=d.useState(!1),[i,y]=d.useState(null),L=()=>n!=="_empty_"||l!=="_empty_"||p!=="_empty_"||h!=="",R=()=>(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(p!=="_empty_"?1:0)+(h!==""?1:0),B=e=>{e.preventDefault(),k()},k=()=>{u.get(route("hr.documents.document-templates.index"),{page:1,search:h||void 0,category_id:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,is_default:p!=="_empty_"?p:void 0,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},U=e=>{const o=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";u.get(route("hr.documents.document-templates.index"),{sort_field:e,sort_direction:o,page:1,search:h||void 0,category_id:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,is_default:p!=="_empty_"?p:void 0,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},H=(e,o)=>{switch(y(o),e){case"view":u.get(route("hr.documents.document-templates.show",o.id));break;case"edit":u.get(route("hr.documents.document-templates.edit",o.id));break;case"delete":v(!0);break;case"toggle-status":I(o);break;case"preview":y(o),D(!0);break;case"generate":y(o),f(!0);break}},V=()=>{u.get(route("hr.documents.document-templates.create"))},z=()=>{_!=null&&_.is_demo||c.loading(t("Deleting document template...")),u.delete(route("hr.documents.document-templates.destroy",i.id),{onSuccess:e=>{var o;v(!1),c.dismiss(),(o=e.props.flash)!=null&&o.success&&c.success(t(e.props.flash.success))},onError:e=>{c.dismiss(),c.error(typeof e=="string"?e:Object.values(e).join(", "))}})},I=e=>{const o=e.status==="active"?"inactive":"active";_!=null&&_.is_demo||c.loading(`${t(o==="active"?"Activating":"Deactivating")} document template...`),u.put(route("hr.documents.document-templates.toggle-status",e.id),{},{onSuccess:m=>{var O;c.dismiss(),(O=m.props.flash)!=null&&O.success&&c.success(t(m.props.flash.success))},onError:m=>{c.dismiss(),c.error(typeof m=="string"?m:Object.values(m).join(", "))}})},J=()=>{j(""),w("_empty_"),N("_empty_"),C("_empty_"),P(!1),u.get(route("hr.documents.document-templates.index"),{page:1,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},F=[];re(S,"create-document-templates")&&F.push({label:t("Add Template"),icon:r.jsx(oe,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>V()});const K=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-templates.index")},{title:t("Document Templates")}],Q=[{key:"name",label:t("Template Name"),sortable:!0,render:(e,o)=>{var m;return r.jsxs("div",{className:"flex items-center gap-3",children:[r.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center text-white",style:{backgroundColor:((m=o.category)==null?void 0:m.color)||"#3B82F6"},children:r.jsx(se,{className:"h-5 w-5"})}),r.jsxs("div",{children:[r.jsxs("div",{className:"font-medium flex items-center gap-2",children:[e,o.is_default&&r.jsx(ue,{className:"h-4 w-4 text-yellow-500 fill-current"})]}),r.jsx("div",{className:"text-xs text-gray-500",children:o.description})]})]})}},{key:"category.name",label:t("Category"),render:(e,o)=>{var m;return((m=o.category)==null?void 0:m.name)||"-"}},{key:"placeholders",label:t("Placeholders"),render:e=>!e||!Array.isArray(e)||e.length===0?"-":r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(ge,{className:"h-4 w-4 text-gray-500"}),r.jsxs("span",{children:[e.length," ",t("placeholders")]})]})},{key:"file_format",label:t("Format"),render:e=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:e.toUpperCase()})},{key:"template_content",label:t("Content Length"),render:e=>r.jsx("span",{className:"text-sm text-gray-600",children:e?`${e.length} ${t("characters")}`:"-"})},{key:"status",label:t("Status"),render:e=>r.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t(e==="active"?"Active":"Inactive")})},{key:"created_at",label:t("Created"),sortable:!0,render:e=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],W=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-document-templates"},{label:t("Preview"),icon:"FileText",action:"preview",className:"text-purple-500",requiredPermission:"view-document-templates"},{label:t("Generate"),icon:"Download",action:"generate",className:"text-green-500",requiredPermission:"view-document-templates"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-document-templates"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-document-templates"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-document-templates"}],X=[{value:"_empty_",label:t("All Categories")},...(b||[]).map(e=>({value:e.id.toString(),label:e.name}))],Y=[{value:"_empty_",label:t("All Statuses")},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}],Z=[{value:"_empty_",label:t("All")},{value:"true",label:t("Default")},{value:"false",label:t("Custom")}];return[t("Select Category"),...(b||[]).map(e=>({value:e.id.toString(),label:e.name}))],r.jsxs(ee,{title:t("Document Templates"),url:"/hr/documents/document-templates",actions:F,breadcrumbs:K,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(ce,{searchTerm:h,onSearchChange:j,onSearch:B,filters:[{name:"category_id",label:t("Category"),type:"select",value:n,searchable:!0,onChange:w,options:X},{name:"status",label:t("Status"),type:"select",value:l,onChange:N,options:Y},{name:"is_default",label:t("Type"),type:"select",value:p,onChange:C,options:Z}],showFilters:T,setShowFilters:P,hasActiveFilters:L,activeFilterCount:R,onResetFilters:J,onApplyFilters:k,currentPerPage:((A=a.per_page)==null?void 0:A.toString())||"10",onPerPageChange:e=>{u.get(route("hr.documents.document-templates.index"),{page:1,per_page:parseInt(e),search:h||void 0,category_id:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,is_default:p!=="_empty_"?p:void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(ne,{columns:Q,actions:W,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:H,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:U,permissions:S,entityPermissions:{view:"view-document-templates",create:"create-document-templates",edit:"edit-document-templates",delete:"delete-document-templates"}}),r.jsx(pe,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("document templates"),onPageChange:e=>{const o=new URL(e).searchParams.get("page");u.get(route("hr.documents.document-templates.index"),{page:o,per_page:a.per_page||10,search:h||void 0,category_id:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,is_default:p!=="_empty_"?p:void 0,sort_field:a.sort_field||void 0,sort_direction:a.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})]}),r.jsx(le,{isOpen:q,onClose:()=>v(!1),onConfirm:z,itemName:(i==null?void 0:i.name)||"",entityName:"document template"}),r.jsx(M,{open:$,onOpenChange:D,children:r.jsxs(ie,{className:"max-w-4xl max-h-[80vh]",children:[r.jsx(ae,{children:r.jsxs(me,{children:[t("Template Preview"),": ",i==null?void 0:i.name]})}),r.jsxs("div",{className:"mt-4 overflow-y-auto max-h-[60vh] pr-1",children:[r.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg border",children:r.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono",children:(i==null?void 0:i.template_content)||t("No content available")})}),(i==null?void 0:i.placeholders)&&i.placeholders.length>0&&r.jsxs("div",{className:"mt-4",children:[r.jsxs("h4",{className:"text-sm font-medium mb-2",children:[t("Available Placeholders"),":"]}),r.jsx("div",{className:"flex flex-wrap gap-2",children:i.placeholders.map((e,o)=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:`{{${e}}}`},o))})]})]})]})}),r.jsx(M,{open:G,onOpenChange:f,children:i&&r.jsx(de,{record:i,onClose:()=>f(!1)})})]})}export{Kr as default}; +import{r as d,j as r}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-CLNVC8w_.js";import{u as te,c as E,t as c,x as re,P as oe,F as se,r as u,D as M,h as ie,j as ae,k as me}from"./app-Dya84jp7.js";import{C as ne}from"./CrudTable-yqxtM6E_.js";import{C as le}from"./CrudDeleteModal-D32N6I8y.js";import{P as pe}from"./pagination-4PUepASD.js";import{S as ce}from"./search-and-filter-bar-DWH0yn_r.js";import de from"./generate-C8citJrT.js";import{S as ue}from"./star-DCkLKzoE.js";import{C as ge}from"./code-znlKMFkF.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function Kr(){var A;const{t}=te(),{auth:x,documentTemplates:s,categories:b,filters:a={},globalSettings:_}=E().props,{flash:g}=E().props,S=(x==null?void 0:x.permissions)||[];d.useEffect(()=>{g!=null&&g.error&&c.error(t(g.error))},[g==null?void 0:g.error]);const[h,j]=d.useState(a.search||""),[n,w]=d.useState(a.category_id||"_empty_"),[l,N]=d.useState(a.status||"_empty_"),[p,C]=d.useState(a.is_default||"_empty_"),[T,P]=d.useState(!1),[q,v]=d.useState(!1),[$,D]=d.useState(!1),[G,f]=d.useState(!1),[i,y]=d.useState(null),L=()=>n!=="_empty_"||l!=="_empty_"||p!=="_empty_"||h!=="",R=()=>(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(p!=="_empty_"?1:0)+(h!==""?1:0),B=e=>{e.preventDefault(),k()},k=()=>{u.get(route("hr.documents.document-templates.index"),{page:1,search:h||void 0,category_id:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,is_default:p!=="_empty_"?p:void 0,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},U=e=>{const o=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";u.get(route("hr.documents.document-templates.index"),{sort_field:e,sort_direction:o,page:1,search:h||void 0,category_id:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,is_default:p!=="_empty_"?p:void 0,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},H=(e,o)=>{switch(y(o),e){case"view":u.get(route("hr.documents.document-templates.show",o.id));break;case"edit":u.get(route("hr.documents.document-templates.edit",o.id));break;case"delete":v(!0);break;case"toggle-status":I(o);break;case"preview":y(o),D(!0);break;case"generate":y(o),f(!0);break}},V=()=>{u.get(route("hr.documents.document-templates.create"))},z=()=>{_!=null&&_.is_demo||c.loading(t("Deleting document template...")),u.delete(route("hr.documents.document-templates.destroy",i.id),{onSuccess:e=>{var o;v(!1),c.dismiss(),(o=e.props.flash)!=null&&o.success&&c.success(t(e.props.flash.success))},onError:e=>{c.dismiss(),c.error(typeof e=="string"?e:Object.values(e).join(", "))}})},I=e=>{const o=e.status==="active"?"inactive":"active";_!=null&&_.is_demo||c.loading(`${t(o==="active"?"Activating":"Deactivating")} document template...`),u.put(route("hr.documents.document-templates.toggle-status",e.id),{},{onSuccess:m=>{var O;c.dismiss(),(O=m.props.flash)!=null&&O.success&&c.success(t(m.props.flash.success))},onError:m=>{c.dismiss(),c.error(typeof m=="string"?m:Object.values(m).join(", "))}})},J=()=>{j(""),w("_empty_"),N("_empty_"),C("_empty_"),P(!1),u.get(route("hr.documents.document-templates.index"),{page:1,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},F=[];re(S,"create-document-templates")&&F.push({label:t("Add Template"),icon:r.jsx(oe,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>V()});const K=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-templates.index")},{title:t("Document Templates")}],Q=[{key:"name",label:t("Template Name"),sortable:!0,render:(e,o)=>{var m;return r.jsxs("div",{className:"flex items-center gap-3",children:[r.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center text-white",style:{backgroundColor:((m=o.category)==null?void 0:m.color)||"#3B82F6"},children:r.jsx(se,{className:"h-5 w-5"})}),r.jsxs("div",{children:[r.jsxs("div",{className:"font-medium flex items-center gap-2",children:[e,o.is_default&&r.jsx(ue,{className:"h-4 w-4 text-yellow-500 fill-current"})]}),r.jsx("div",{className:"text-xs text-gray-500",children:o.description})]})]})}},{key:"category.name",label:t("Category"),render:(e,o)=>{var m;return((m=o.category)==null?void 0:m.name)||"-"}},{key:"placeholders",label:t("Placeholders"),render:e=>!e||!Array.isArray(e)||e.length===0?"-":r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(ge,{className:"h-4 w-4 text-gray-500"}),r.jsxs("span",{children:[e.length," ",t("placeholders")]})]})},{key:"file_format",label:t("Format"),render:e=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:e.toUpperCase()})},{key:"template_content",label:t("Content Length"),render:e=>r.jsx("span",{className:"text-sm text-gray-600",children:e?`${e.length} ${t("characters")}`:"-"})},{key:"status",label:t("Status"),render:e=>r.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t(e==="active"?"Active":"Inactive")})},{key:"created_at",label:t("Created"),sortable:!0,render:e=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],W=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-document-templates"},{label:t("Preview"),icon:"FileText",action:"preview",className:"text-purple-500",requiredPermission:"view-document-templates"},{label:t("Generate"),icon:"Download",action:"generate",className:"text-green-500",requiredPermission:"view-document-templates"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-document-templates"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-document-templates"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-document-templates"}],X=[{value:"_empty_",label:t("All Categories")},...(b||[]).map(e=>({value:e.id.toString(),label:e.name}))],Y=[{value:"_empty_",label:t("All Statuses")},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}],Z=[{value:"_empty_",label:t("All")},{value:"true",label:t("Default")},{value:"false",label:t("Custom")}];return[t("Select Category"),...(b||[]).map(e=>({value:e.id.toString(),label:e.name}))],r.jsxs(ee,{title:t("Document Templates"),url:"/hr/documents/document-templates",actions:F,breadcrumbs:K,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(ce,{searchTerm:h,onSearchChange:j,onSearch:B,filters:[{name:"category_id",label:t("Category"),type:"select",value:n,searchable:!0,onChange:w,options:X},{name:"status",label:t("Status"),type:"select",value:l,onChange:N,options:Y},{name:"is_default",label:t("Type"),type:"select",value:p,onChange:C,options:Z}],showFilters:T,setShowFilters:P,hasActiveFilters:L,activeFilterCount:R,onResetFilters:J,onApplyFilters:k,currentPerPage:((A=a.per_page)==null?void 0:A.toString())||"10",onPerPageChange:e=>{u.get(route("hr.documents.document-templates.index"),{page:1,per_page:parseInt(e),search:h||void 0,category_id:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,is_default:p!=="_empty_"?p:void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(ne,{columns:Q,actions:W,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:H,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:U,permissions:S,entityPermissions:{view:"view-document-templates",create:"create-document-templates",edit:"edit-document-templates",delete:"delete-document-templates"}}),r.jsx(pe,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("document templates"),onPageChange:e=>{const o=new URL(e).searchParams.get("page");u.get(route("hr.documents.document-templates.index"),{page:o,per_page:a.per_page||10,search:h||void 0,category_id:n!=="_empty_"?n:void 0,status:l!=="_empty_"?l:void 0,is_default:p!=="_empty_"?p:void 0,sort_field:a.sort_field||void 0,sort_direction:a.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})]}),r.jsx(le,{isOpen:q,onClose:()=>v(!1),onConfirm:z,itemName:(i==null?void 0:i.name)||"",entityName:"document template"}),r.jsx(M,{open:$,onOpenChange:D,children:r.jsxs(ie,{className:"max-w-4xl max-h-[80vh]",children:[r.jsx(ae,{children:r.jsxs(me,{children:[t("Template Preview"),": ",i==null?void 0:i.name]})}),r.jsxs("div",{className:"mt-4 overflow-y-auto max-h-[60vh] pr-1",children:[r.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg border",children:r.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono",children:(i==null?void 0:i.template_content)||t("No content available")})}),(i==null?void 0:i.placeholders)&&i.placeholders.length>0&&r.jsxs("div",{className:"mt-4",children:[r.jsxs("h4",{className:"text-sm font-medium mb-2",children:[t("Available Placeholders"),":"]}),r.jsx("div",{className:"flex flex-wrap gap-2",children:i.placeholders.map((e,o)=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:`{{${e}}}`},o))})]})]})]})}),r.jsx(M,{open:G,onOpenChange:f,children:i&&r.jsx(de,{record:i,onClose:()=>f(!1)})})]})}export{Kr as default}; diff --git a/public/build/assets/index-CMsES36n.js b/public/build/assets/index-C6pthHd0.js similarity index 91% rename from public/build/assets/index-CMsES36n.js rename to public/build/assets/index-C6pthHd0.js index 24f3896f4..3f58f1fa4 100644 --- a/public/build/assets/index-CMsES36n.js +++ b/public/build/assets/index-C6pthHd0.js @@ -1 +1 @@ -import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-BTxLyiDA.js";import{u as ce,c as oe,x as E,L as P,I as L,o as l,S as de,X as le,r as h,t as c}from"./app-CfhhiFAk.js";import{C as ne}from"./CrudDeleteModal-CKTiD3_K.js";import{P as me}from"./pagination-D8A_HnL5.js";import{T as xe}from"./textarea-kpRjGGLz.js";import{S as R,a as B,b as $,c as V,d as N}from"./select-BrY9osYp.js";import{B as A}from"./briefcase-CLRn8zVu.js";import{a as he,C as pe}from"./chevron-up-DepFp6b6.js";import{S as K}from"./square-pen-bMHyT06o.js";import{L as X}from"./lock-By6rMOj7.js";import{T as G}from"./trash-2-C1NR_7Ss.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ts(){const{t:r}=ce(),{auth:_,jobCategories:a,filters:o={},globalSettings:t}=oe().props,S=(_==null?void 0:_.permissions)||[],[b,T]=x.useState(o.search||""),[p,I]=x.useState(o.status||"all"),[H,k]=x.useState(!1),[g,w]=x.useState(null),[j,J]=x.useState("create"),[C,Q]=x.useState(new Set),[d,f]=x.useState({name:"",description:"",status:"active"}),[n,v]=x.useState({}),y=E(S,"create-job-categories"),u=E(S,"edit-job-categories"),q=E(S,"delete-job-categories"),W=s=>{const i=new Set(C);i.has(s)?i.delete(s):i.add(s),Q(i)},F=()=>{f({name:"",description:"",status:"active"}),v({}),J("create"),w(null)},z=s=>{f({name:s.name||"",description:s.description||"",status:s.status||"active"}),J("edit"),w(s),v({}),window.scrollTo({top:0,behavior:"smooth"})},Y=()=>{const s={};return d.name.trim()?d.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Category name is required"),["active","inactive"].includes(d.status)||(s.status=r("Please select a valid status")),v(s),Object.keys(s).length===0},M=(s={})=>{h.get(route("hr.recruitment.job-categories.index"),{page:1,search:b||void 0,status:p!=="all"?p:void 0,per_page:o.per_page||10,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0,...s},{preserveState:!0,preserveScroll:!0})},O=s=>{s.preventDefault(),M()},Z=()=>{T(""),I("all"),h.get(route("hr.recruitment.job-categories.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},ee=s=>{const i=o.sort_field===s&&o.sort_direction==="asc"?"desc":"asc";M({sort_field:s,sort_direction:i})},se=s=>{s.preventDefault(),Y()&&(j==="create"?(t!=null&&t.is_demo||c.loading(r("Creating job category...")),h.post(route("hr.recruitment.job-categories.store"),d,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),v(i),c.error(r("Please check the form for errors"))}})):(t!=null&&t.is_demo||c.loading(r("Updating job category...")),h.put(route("hr.recruitment.job-categories.update",g.id),d,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),v(i),c.error(r("Please check the form for errors"))}})))},re=()=>{t!=null&&t.is_demo||c.loading(r("Deleting job category...")),h.delete(route("hr.recruitment.job-categories.destroy",g.id),{onSuccess:s=>{k(!1),t!=null&&t.is_demo||c.dismiss(),s.props.flash.success?c.success(r(s.props.flash.success)):s.props.flash.error&&c.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof s=="string"?r(s):r("Failed to delete job category: {{errors}}",{errors:Object.values(s).join(", ")}))}})},U=s=>{const i=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||c.loading(r(i==="active"?"Activating job category...":"Deactivating job category...")),h.put(route("hr.recruitment.job-categories.toggle-status",s.id),{},{onSuccess:m=>{t!=null&&t.is_demo||c.dismiss(),m.props.flash.success?c.success(r(m.props.flash.success)):m.props.flash.error&&c.error(r(m.props.flash.error))},onError:m=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof m=="string"?r(m):r("Failed to update status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},te=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.job-categories.index")},{title:r("Job Categories")}],D=!!b||p!=="all",ae=({field:s})=>o.sort_field===s?e.jsx("span",{children:o.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(ie,{title:r("Job Categories"),description:"",url:"/hr/recruitment/job-categories",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(j==="create"?"Add New Job Category":"Edit Job Category")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(j==="create"?"Fill in the details to create a new job category":"Update the job category details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:r("Category Name")}),e.jsx(L,{required:!0,id:"name",type:"text",value:d.name,onChange:s=>f({...d,name:s.target.value}),placeholder:r("e.g., Engineering, Marketing, Finance"),className:n.name?"border-red-500":"",disabled:!y&&!u}),n.name&&e.jsx("p",{className:"text-sm text-red-500",children:n.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:r("Description")}),e.jsx(xe,{id:"description",value:d.description,onChange:s=>f({...d,description:s.target.value}),placeholder:r("Brief description of the job category"),rows:3,className:n.description?"border-red-500":"",disabled:!y&&!u}),n.description&&e.jsx("p",{className:"text-sm text-red-500",children:n.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(R,{value:d.status,onValueChange:s=>f({...d,status:s}),disabled:!y&&!u,children:[e.jsx(B,{className:n.status?"border-red-500":"",children:e.jsx($,{placeholder:r("Select status")})}),e.jsxs(V,{children:[e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]}),n.status&&e.jsx("p",{className:"text-sm text-red-500",children:n.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(y||u)&&e.jsx(l,{type:"submit",className:"flex-1",children:r(j==="create"?"Add Job Category":"Update Job Category")}),j==="edit"&&e.jsx(l,{type:"button",variant:"outline",onClick:F,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(de,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(L,{type:"text",placeholder:r("Search job categories..."),value:b,onChange:s=>T(s.target.value),onKeyDown:s=>s.key==="Enter"&&O(s),className:"pl-10"})]}),e.jsx(l,{onClick:O,variant:"default",children:r("Search")}),D&&e.jsxs(l,{onClick:Z,variant:"outline",children:[e.jsx(le,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(R,{value:p,onValueChange:I,children:[e.jsx(B,{children:e.jsx($,{placeholder:r("All Statuses")})}),e.jsxs(V,{children:[e.jsx(N,{value:"all",children:r("All Statuses")}),e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((a==null?void 0:a.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Job Categories")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage job categories used in recruitment")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>ee("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(ae,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:C.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>W(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:C.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>z(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>U(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(X,{className:"h-4 w-4"})})]}),q&&e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(G,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>z(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>U(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(X,{className:"h-4 w-4"})})]}),q&&e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(G,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-3",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})})]},s.id))}),(a==null?void 0:a.total)>((a==null?void 0:a.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("job categories"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");h.get(route("hr.recruitment.job-categories.index"),{page:i,per_page:o.per_page||10,search:b||void 0,status:p!=="all"?p:void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(A,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No job categories found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(D?"No job categories match your search criteria. Try adjusting your filters.":"Create job categories to organize your recruitment process.")}),!D&&y&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first job category.")})]})})]})]}),e.jsx(ne,{isOpen:H,onClose:()=>k(!1),onConfirm:re,itemName:(g==null?void 0:g.name)||"",entityName:"job category"})]})}export{ts as default}; +import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-CLNVC8w_.js";import{u as ce,c as oe,x as E,L as P,I as L,o as l,S as de,X as le,r as h,t as c}from"./app-Dya84jp7.js";import{C as ne}from"./CrudDeleteModal-D32N6I8y.js";import{P as me}from"./pagination-4PUepASD.js";import{T as xe}from"./textarea-yeg8ONhy.js";import{S as R,a as B,b as $,c as V,d as N}from"./select-CHkpLxhL.js";import{B as A}from"./briefcase-Btn3T9V4.js";import{a as he,C as pe}from"./chevron-up-DHaGktre.js";import{S as K}from"./square-pen-CzdhbxyN.js";import{L as X}from"./lock-DaHvMEII.js";import{T as G}from"./trash-2-BeirBLIk.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function ts(){const{t:r}=ce(),{auth:_,jobCategories:a,filters:o={},globalSettings:t}=oe().props,S=(_==null?void 0:_.permissions)||[],[b,T]=x.useState(o.search||""),[p,I]=x.useState(o.status||"all"),[H,k]=x.useState(!1),[g,w]=x.useState(null),[j,J]=x.useState("create"),[C,Q]=x.useState(new Set),[d,f]=x.useState({name:"",description:"",status:"active"}),[n,v]=x.useState({}),y=E(S,"create-job-categories"),u=E(S,"edit-job-categories"),q=E(S,"delete-job-categories"),W=s=>{const i=new Set(C);i.has(s)?i.delete(s):i.add(s),Q(i)},F=()=>{f({name:"",description:"",status:"active"}),v({}),J("create"),w(null)},z=s=>{f({name:s.name||"",description:s.description||"",status:s.status||"active"}),J("edit"),w(s),v({}),window.scrollTo({top:0,behavior:"smooth"})},Y=()=>{const s={};return d.name.trim()?d.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Category name is required"),["active","inactive"].includes(d.status)||(s.status=r("Please select a valid status")),v(s),Object.keys(s).length===0},M=(s={})=>{h.get(route("hr.recruitment.job-categories.index"),{page:1,search:b||void 0,status:p!=="all"?p:void 0,per_page:o.per_page||10,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0,...s},{preserveState:!0,preserveScroll:!0})},O=s=>{s.preventDefault(),M()},Z=()=>{T(""),I("all"),h.get(route("hr.recruitment.job-categories.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},ee=s=>{const i=o.sort_field===s&&o.sort_direction==="asc"?"desc":"asc";M({sort_field:s,sort_direction:i})},se=s=>{s.preventDefault(),Y()&&(j==="create"?(t!=null&&t.is_demo||c.loading(r("Creating job category...")),h.post(route("hr.recruitment.job-categories.store"),d,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),v(i),c.error(r("Please check the form for errors"))}})):(t!=null&&t.is_demo||c.loading(r("Updating job category...")),h.put(route("hr.recruitment.job-categories.update",g.id),d,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),v(i),c.error(r("Please check the form for errors"))}})))},re=()=>{t!=null&&t.is_demo||c.loading(r("Deleting job category...")),h.delete(route("hr.recruitment.job-categories.destroy",g.id),{onSuccess:s=>{k(!1),t!=null&&t.is_demo||c.dismiss(),s.props.flash.success?c.success(r(s.props.flash.success)):s.props.flash.error&&c.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof s=="string"?r(s):r("Failed to delete job category: {{errors}}",{errors:Object.values(s).join(", ")}))}})},U=s=>{const i=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||c.loading(r(i==="active"?"Activating job category...":"Deactivating job category...")),h.put(route("hr.recruitment.job-categories.toggle-status",s.id),{},{onSuccess:m=>{t!=null&&t.is_demo||c.dismiss(),m.props.flash.success?c.success(r(m.props.flash.success)):m.props.flash.error&&c.error(r(m.props.flash.error))},onError:m=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof m=="string"?r(m):r("Failed to update status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},te=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.job-categories.index")},{title:r("Job Categories")}],D=!!b||p!=="all",ae=({field:s})=>o.sort_field===s?e.jsx("span",{children:o.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(ie,{title:r("Job Categories"),description:"",url:"/hr/recruitment/job-categories",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(j==="create"?"Add New Job Category":"Edit Job Category")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(j==="create"?"Fill in the details to create a new job category":"Update the job category details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:r("Category Name")}),e.jsx(L,{required:!0,id:"name",type:"text",value:d.name,onChange:s=>f({...d,name:s.target.value}),placeholder:r("e.g., Engineering, Marketing, Finance"),className:n.name?"border-red-500":"",disabled:!y&&!u}),n.name&&e.jsx("p",{className:"text-sm text-red-500",children:n.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:r("Description")}),e.jsx(xe,{id:"description",value:d.description,onChange:s=>f({...d,description:s.target.value}),placeholder:r("Brief description of the job category"),rows:3,className:n.description?"border-red-500":"",disabled:!y&&!u}),n.description&&e.jsx("p",{className:"text-sm text-red-500",children:n.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(R,{value:d.status,onValueChange:s=>f({...d,status:s}),disabled:!y&&!u,children:[e.jsx(B,{className:n.status?"border-red-500":"",children:e.jsx($,{placeholder:r("Select status")})}),e.jsxs(V,{children:[e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]}),n.status&&e.jsx("p",{className:"text-sm text-red-500",children:n.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(y||u)&&e.jsx(l,{type:"submit",className:"flex-1",children:r(j==="create"?"Add Job Category":"Update Job Category")}),j==="edit"&&e.jsx(l,{type:"button",variant:"outline",onClick:F,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(de,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(L,{type:"text",placeholder:r("Search job categories..."),value:b,onChange:s=>T(s.target.value),onKeyDown:s=>s.key==="Enter"&&O(s),className:"pl-10"})]}),e.jsx(l,{onClick:O,variant:"default",children:r("Search")}),D&&e.jsxs(l,{onClick:Z,variant:"outline",children:[e.jsx(le,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(R,{value:p,onValueChange:I,children:[e.jsx(B,{children:e.jsx($,{placeholder:r("All Statuses")})}),e.jsxs(V,{children:[e.jsx(N,{value:"all",children:r("All Statuses")}),e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((a==null?void 0:a.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Job Categories")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage job categories used in recruitment")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>ee("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(ae,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:C.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>W(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:C.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>z(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>U(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(X,{className:"h-4 w-4"})})]}),q&&e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(G,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>z(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>U(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(X,{className:"h-4 w-4"})})]}),q&&e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(G,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-3",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})})]},s.id))}),(a==null?void 0:a.total)>((a==null?void 0:a.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("job categories"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");h.get(route("hr.recruitment.job-categories.index"),{page:i,per_page:o.per_page||10,search:b||void 0,status:p!=="all"?p:void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(A,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No job categories found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(D?"No job categories match your search criteria. Try adjusting your filters.":"Create job categories to organize your recruitment process.")}),!D&&y&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first job category.")})]})})]})]}),e.jsx(ne,{isOpen:H,onClose:()=>k(!1),onConfirm:re,itemName:(g==null?void 0:g.name)||"",entityName:"job category"})]})}export{ts as default}; diff --git a/public/build/assets/index-BShKuxu1.js b/public/build/assets/index-C6s0y99w.js similarity index 61% rename from public/build/assets/index-BShKuxu1.js rename to public/build/assets/index-C6s0y99w.js index a1ee6987f..12d61c410 100644 --- a/public/build/assets/index-BShKuxu1.js +++ b/public/build/assets/index-C6s0y99w.js @@ -1 +1 @@ -import{r as m,j as a}from"./ui-Z445SNHD.js";import{P as Q}from"./page-template-BTxLyiDA.js";import{u as W,c as X,x as Y,P as Z,r as l,D as ee,t as o}from"./app-CfhhiFAk.js";import{C as re}from"./CrudTable-qPWooc10.js";import{C as te}from"./CrudFormModal-DAR9q-oM.js";import{C as oe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ie}from"./pagination-D8A_HnL5.js";import{S as ae}from"./search-and-filter-bar-6Pp-FsiR.js";import se from"./view-Bc9HsFvk.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Gt(){var D;const{t:e}=W(),{auth:h,indicators:i,categories:S,filters:s={}}=X().props,y=(h==null?void 0:h.permissions)||[],[c,x]=m.useState(s.search||""),[p,C]=m.useState(s.status||"all"),[d,_]=m.useState(s.category_id||""),[I,w]=m.useState(!1),[N,v]=m.useState(!1),[O,f]=m.useState(!1),[u,P]=m.useState(null),[g,j]=m.useState("create"),[b,F]=m.useState(null),M=()=>p!=="all"||c!==""||d!=="",T=()=>(p!=="all"?1:0)+(c?1:0)+(d?1:0),E=r=>{r.preventDefault(),k()},k=()=>{l.get(route("hr.performance.indicators.index"),{page:1,search:c||void 0,status:p!=="all"?p:void 0,category_id:d||void 0,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},q=r=>{const t=s.sort_field===r&&s.sort_direction==="asc"?"desc":"asc";l.get(route("hr.performance.indicators.index"),{sort_field:r,sort_direction:t,page:1,search:c||void 0,status:p!=="all"?p:void 0,category_id:d||void 0,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},V=(r,t)=>{switch(P(t),r){case"view":F(t);break;case"edit":j("edit"),f(!0);break;case"delete":v(!0);break;case"toggle-status":$(t);break}},R=()=>{P(null),j("create"),f(!0)},U=r=>{g==="create"?(o.loading(e("Creating performance indicator...")),l.post(route("hr.performance.indicators.store"),r,{onSuccess:t=>{f(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to create indicator: {{errors}}",{errors:Object.values(t).join(", ")}))}})):g==="edit"&&(o.loading(e("Updating performance indicator...")),l.put(route("hr.performance.indicators.update",u.id),r,{onSuccess:t=>{f(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to update indicator: {{errors}}",{errors:Object.values(t).join(", ")}))}}))},L=()=>{o.loading(e("Deleting performance indicator...")),l.delete(route("hr.performance.indicators.destroy",u.id),{onSuccess:r=>{v(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete indicator: {{errors}}",{errors:Object.values(r).join(", ")}))}})},$=r=>{const t=r.status==="active"?"inactive":"active";o.loading(`${e(t==="active"?"Activating":"Deactivating")} indicator...`),l.put(route("hr.performance.indicators.toggle-status",r.id),{},{onSuccess:n=>{o.dismiss(),n.props.flash.success?o.success(e(n.props.flash.success)):n.props.flash.error&&o.error(e(n.props.flash.error))},onError:n=>{o.dismiss(),typeof n=="string"?o.error(e(n)):o.error(e("Failed to update indicator status: {{errors}}",{errors:Object.values(n).join(", ")}))}})},z=()=>{x(""),C("all"),_(""),w(!1),l.get(route("hr.performance.indicators.index"),{page:1,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},A=[];Y(y,"create-performance-indicators")&&A.push({label:e("Add Indicator"),icon:a.jsx(Z,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>R()});const B=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:e("Performance"),href:route("hr.performance.indicator-categories.index")},{title:e("Indicators")}],H=[{key:"name",label:e("Name"),sortable:!0},{key:"category.name",label:e("Category"),render:(r,t)=>{var n;return((n=t.category)==null?void 0:n.name)||"-"}},{key:"measurement_unit",label:e("Measurement Unit"),render:r=>r||"-"},{key:"target_value",label:e("Target Value"),render:r=>r||"-"},{key:"status",label:e("Status"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var t;return r?((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleString():"-"}}],G=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-performance-indicators"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-performance-indicators"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-performance-indicators"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-performance-indicators"}],J=[{value:"all",label:e("All Statuses")},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],K=[{value:"",label:e("All Categories")},...(S||[]).map(r=>({value:r.id.toString(),label:r.name}))];return a.jsxs(Q,{title:e("Indicators"),url:"/hr/performance/indicators",actions:A,breadcrumbs:B,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ae,{searchTerm:c,onSearchChange:x,onSearch:E,filters:[{name:"category_id",label:e("Category"),type:"select",value:d,onChange:_,options:K,searchable:!0},{name:"status",label:e("Status"),type:"select",value:p,onChange:C,options:J}],showFilters:I,setShowFilters:w,hasActiveFilters:M,activeFilterCount:T,onResetFilters:z,onApplyFilters:k,currentPerPage:((D=s.per_page)==null?void 0:D.toString())||"10",onPerPageChange:r=>{l.get(route("hr.performance.indicators.index"),{page:1,per_page:parseInt(r),search:c||void 0,status:p!=="all"?p:void 0,category_id:d||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(re,{columns:H,actions:G,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:V,sortField:s.sort_field,sortDirection:s.sort_direction,onSort:q,permissions:y,entityPermissions:{view:"view-performance-indicators",create:"create-performance-indicators",edit:"edit-performance-indicators",delete:"delete-performance-indicators"}}),a.jsx(ie,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("performance indicators"),onPageChange:r=>l.get(r)})]}),a.jsx(te,{isOpen:O,onClose:()=>f(!1),onSubmit:U,formConfig:{fields:[{name:"name",label:e("Indicator Name"),type:"text",required:!0},{name:"category_id",label:e("Category"),type:"select",required:!0,searchable:!0,options:S.map(r=>({value:r.id.toString(),label:r.name}))},{name:"description",label:e("Description"),type:"textarea"},{name:"measurement_unit",label:e("Measurement Unit"),type:"text",placeholder:"e.g., Rating 1-5, Percentage, etc."},{name:"target_value",label:e("Target Value"),type:"text",placeholder:"e.g., 4, 95%, etc."},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"md"},initialData:u,title:e(g==="create"?"Add New Performance Indicator":"Edit Performance Indicator"),mode:g}),a.jsx(oe,{isOpen:N,onClose:()=>v(!1),onConfirm:L,itemName:(u==null?void 0:u.name)||"",entityName:"performance indicator"}),a.jsx(ee,{open:!!b,onOpenChange:()=>F(null),children:b&&a.jsx(se,{indicator:b})})]})}export{Gt as default}; +import{r as m,j as a}from"./ui-Z445SNHD.js";import{P as Q}from"./page-template-CLNVC8w_.js";import{u as W,c as X,x as Y,P as Z,r as l,D as ee,t as o}from"./app-Dya84jp7.js";import{C as re}from"./CrudTable-yqxtM6E_.js";import{C as te}from"./CrudFormModal-CsuqSfb2.js";import{C as oe}from"./CrudDeleteModal-D32N6I8y.js";import{P as ie}from"./pagination-4PUepASD.js";import{S as ae}from"./search-and-filter-bar-DWH0yn_r.js";import se from"./view-JE4sQ_qW.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Gt(){var D;const{t:e}=W(),{auth:h,indicators:i,categories:S,filters:s={}}=X().props,y=(h==null?void 0:h.permissions)||[],[c,x]=m.useState(s.search||""),[p,C]=m.useState(s.status||"all"),[d,_]=m.useState(s.category_id||""),[I,w]=m.useState(!1),[N,v]=m.useState(!1),[O,f]=m.useState(!1),[u,P]=m.useState(null),[g,j]=m.useState("create"),[b,F]=m.useState(null),M=()=>p!=="all"||c!==""||d!=="",T=()=>(p!=="all"?1:0)+(c?1:0)+(d?1:0),E=r=>{r.preventDefault(),k()},k=()=>{l.get(route("hr.performance.indicators.index"),{page:1,search:c||void 0,status:p!=="all"?p:void 0,category_id:d||void 0,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},q=r=>{const t=s.sort_field===r&&s.sort_direction==="asc"?"desc":"asc";l.get(route("hr.performance.indicators.index"),{sort_field:r,sort_direction:t,page:1,search:c||void 0,status:p!=="all"?p:void 0,category_id:d||void 0,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},V=(r,t)=>{switch(P(t),r){case"view":F(t);break;case"edit":j("edit"),f(!0);break;case"delete":v(!0);break;case"toggle-status":$(t);break}},R=()=>{P(null),j("create"),f(!0)},U=r=>{g==="create"?(o.loading(e("Creating performance indicator...")),l.post(route("hr.performance.indicators.store"),r,{onSuccess:t=>{f(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to create indicator: {{errors}}",{errors:Object.values(t).join(", ")}))}})):g==="edit"&&(o.loading(e("Updating performance indicator...")),l.put(route("hr.performance.indicators.update",u.id),r,{onSuccess:t=>{f(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to update indicator: {{errors}}",{errors:Object.values(t).join(", ")}))}}))},L=()=>{o.loading(e("Deleting performance indicator...")),l.delete(route("hr.performance.indicators.destroy",u.id),{onSuccess:r=>{v(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete indicator: {{errors}}",{errors:Object.values(r).join(", ")}))}})},$=r=>{const t=r.status==="active"?"inactive":"active";o.loading(`${e(t==="active"?"Activating":"Deactivating")} indicator...`),l.put(route("hr.performance.indicators.toggle-status",r.id),{},{onSuccess:n=>{o.dismiss(),n.props.flash.success?o.success(e(n.props.flash.success)):n.props.flash.error&&o.error(e(n.props.flash.error))},onError:n=>{o.dismiss(),typeof n=="string"?o.error(e(n)):o.error(e("Failed to update indicator status: {{errors}}",{errors:Object.values(n).join(", ")}))}})},z=()=>{x(""),C("all"),_(""),w(!1),l.get(route("hr.performance.indicators.index"),{page:1,per_page:s.per_page},{preserveState:!0,preserveScroll:!0})},A=[];Y(y,"create-performance-indicators")&&A.push({label:e("Add Indicator"),icon:a.jsx(Z,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>R()});const B=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:e("Performance"),href:route("hr.performance.indicator-categories.index")},{title:e("Indicators")}],H=[{key:"name",label:e("Name"),sortable:!0},{key:"category.name",label:e("Category"),render:(r,t)=>{var n;return((n=t.category)==null?void 0:n.name)||"-"}},{key:"measurement_unit",label:e("Measurement Unit"),render:r=>r||"-"},{key:"target_value",label:e("Target Value"),render:r=>r||"-"},{key:"status",label:e("Status"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var t;return r?((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleString():"-"}}],G=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-performance-indicators"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-performance-indicators"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-performance-indicators"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-performance-indicators"}],J=[{value:"all",label:e("All Statuses")},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],K=[{value:"",label:e("All Categories")},...(S||[]).map(r=>({value:r.id.toString(),label:r.name}))];return a.jsxs(Q,{title:e("Indicators"),url:"/hr/performance/indicators",actions:A,breadcrumbs:B,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ae,{searchTerm:c,onSearchChange:x,onSearch:E,filters:[{name:"category_id",label:e("Category"),type:"select",value:d,onChange:_,options:K,searchable:!0},{name:"status",label:e("Status"),type:"select",value:p,onChange:C,options:J}],showFilters:I,setShowFilters:w,hasActiveFilters:M,activeFilterCount:T,onResetFilters:z,onApplyFilters:k,currentPerPage:((D=s.per_page)==null?void 0:D.toString())||"10",onPerPageChange:r=>{l.get(route("hr.performance.indicators.index"),{page:1,per_page:parseInt(r),search:c||void 0,status:p!=="all"?p:void 0,category_id:d||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(re,{columns:H,actions:G,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:V,sortField:s.sort_field,sortDirection:s.sort_direction,onSort:q,permissions:y,entityPermissions:{view:"view-performance-indicators",create:"create-performance-indicators",edit:"edit-performance-indicators",delete:"delete-performance-indicators"}}),a.jsx(ie,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("performance indicators"),onPageChange:r=>l.get(r)})]}),a.jsx(te,{isOpen:O,onClose:()=>f(!1),onSubmit:U,formConfig:{fields:[{name:"name",label:e("Indicator Name"),type:"text",required:!0},{name:"category_id",label:e("Category"),type:"select",required:!0,searchable:!0,options:S.map(r=>({value:r.id.toString(),label:r.name}))},{name:"description",label:e("Description"),type:"textarea"},{name:"measurement_unit",label:e("Measurement Unit"),type:"text",placeholder:"e.g., Rating 1-5, Percentage, etc."},{name:"target_value",label:e("Target Value"),type:"text",placeholder:"e.g., 4, 95%, etc."},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"md"},initialData:u,title:e(g==="create"?"Add New Performance Indicator":"Edit Performance Indicator"),mode:g}),a.jsx(oe,{isOpen:N,onClose:()=>v(!1),onConfirm:L,itemName:(u==null?void 0:u.name)||"",entityName:"performance indicator"}),a.jsx(ee,{open:!!b,onOpenChange:()=>F(null),children:b&&a.jsx(se,{indicator:b})})]})}export{Gt as default}; diff --git a/public/build/assets/index-C2Giv46P.js b/public/build/assets/index-CC616HWW.js similarity index 65% rename from public/build/assets/index-C2Giv46P.js rename to public/build/assets/index-CC616HWW.js index d2a27fa0a..ff3f04c08 100644 --- a/public/build/assets/index-C2Giv46P.js +++ b/public/build/assets/index-CC616HWW.js @@ -1 +1 @@ -import{r as a,j as m}from"./ui-Z445SNHD.js";import{P as ne}from"./page-template-BTxLyiDA.js";import{u as pe,c as ae,x as de,P as le,r as u,D as ce,t as o}from"./app-CfhhiFAk.js";import{C as ue}from"./CrudTable-qPWooc10.js";import{C as _e}from"./CrudFormModal-DAR9q-oM.js";import{C as ye}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ge}from"./pagination-D8A_HnL5.js";import{S as fe}from"./search-and-filter-bar-6Pp-FsiR.js";import he from"./view-Wi8QiEXn.js";import{f as L}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function oi(){var R;const{t}=pe(),{auth:h,meetingMinutes:s,meetings:x,employees:S,filters:n={},globalSettings:i}=ae().props,w=(h==null?void 0:h.permissions)||[],[_,j]=a.useState(n.search||""),[d,C]=a.useState(n.type||"_empty_"),[l,F]=a.useState(n.meeting_id||"_empty_"),[c,M]=a.useState(n.recorded_by||"_empty_"),[B,T]=a.useState(!1),[V,b]=a.useState(!1),[z,y]=a.useState(!1),[p,N]=a.useState(null),[f,D]=a.useState("create"),[v,P]=a.useState(null),U=()=>d!=="_empty_"||l!=="_empty_"||c!=="_empty_"||_!=="",G=()=>(d!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(_!==""?1:0),H=e=>{e.preventDefault(),A()},A=()=>{u.get(route("meetings.meeting-minutes.index"),{page:1,search:_||void 0,type:d!=="_empty_"?d:void 0,meeting_id:l!=="_empty_"?l:void 0,recorded_by:c!=="_empty_"?c:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},J=e=>{const r=n.sort_field===e&&n.sort_direction==="asc"?"desc":"asc";u.get(route("meetings.meeting-minutes.index"),{sort_field:e,sort_direction:r,page:1,search:_||void 0,type:d!=="_empty_"?d:void 0,meeting_id:l!=="_empty_"?l:void 0,recorded_by:c!=="_empty_"?c:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},K=(e,r)=>{switch(N(r),e){case"view":P(r);break;case"edit":D("edit"),y(!0);break;case"delete":b(!0);break}},Q=()=>{N(null),D("create"),y(!0)},W=e=>{e.recorded_date&&e.recorded_time?e.recorded_at=`${e.recorded_date} ${e.recorded_time}`:e.recorded_date&&(e.recorded_at=`${e.recorded_date} 00:00`),delete e.recorded_date,delete e.recorded_time,f==="create"?(i!=null&&i.is_demo||o.loading(t("Creating meeting minute...")),u.post(route("meetings.meeting-minutes.store"),e,{onSuccess:r=>{y(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to create meeting minute: ${Object.values(r).join(", ")}`)}})):f==="edit"&&(i!=null&&i.is_demo||o.loading(t("Updating meeting minute...")),u.put(route("meetings.meeting-minutes.update",p.id),e,{onSuccess:r=>{y(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update meeting minute: ${Object.values(r).join(", ")}`)}}))},X=()=>{i!=null&&i.is_demo||o.loading(t("Deleting meeting minute...")),u.delete(route("meetings.meeting-minutes.destroy",p.id),{onSuccess:e=>{b(!1),i!=null&&i.is_demo||o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{i!=null&&i.is_demo||o.dismiss(),typeof e=="string"?o.error(e):o.error(`Failed to delete meeting minute: ${Object.values(e).join(", ")}`)}})},Y=()=>{j(""),C("_empty_"),F("_empty_"),M("_empty_"),T(!1),u.get(route("meetings.meeting-minutes.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},O=[];de(w,"create-meeting-minutes")&&O.push({label:t("Add Minute"),icon:m.jsx(le,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>Q()});const Z=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Meetings"),href:route("meetings.meeting-minutes.index")},{title:t("Meeting Minutes")}],ee=e=>{switch(e){case"Discussion":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Decision":return"bg-green-50 text-green-700 ring-green-600/20";case"Action Item":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Note":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20"}},te=[{key:"meeting.title",label:t("Meeting"),render:(e,r)=>{var g,$,E,I,q;return m.jsxs("div",{children:[m.jsx("div",{className:"font-medium",children:(g=r.meeting)==null?void 0:g.title}),m.jsx("div",{className:"text-xs text-gray-500",children:($=r.meeting)!=null&&$.meeting_date?((I=window.appSettings)==null?void 0:I.formatDateTimeSimple((E=r.meeting)==null?void 0:E.meeting_date,!1))||new Date((q=r.meeting)==null?void 0:q.meeting_date).toLocaleDateString():"-"})]})}},{key:"topic",label:t("Topic"),sortable:!0,render:e=>m.jsx("div",{className:"font-medium",children:e})},{key:"type",label:t("Type"),render:e=>m.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ee(e)}`,children:t(e)})},{key:"content",label:t("Content"),render:e=>m.jsx("div",{className:"max-w-xs",children:m.jsx("div",{className:"text-sm text-gray-600 truncate",children:e?e.substring(0,100)+(e.length>100?"...":""):"-"})})},{key:"recorder.name",label:t("Recorded By"),render:(e,r)=>{var g;return((g=r.recorder)==null?void 0:g.name)||"-"}},{key:"recorded_at",label:t("Recorded At"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],re=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-meeting-minutes"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-meeting-minutes"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-meeting-minutes"}],k=[{value:"_empty_",label:t("All Types"),disabled:!0},{value:"Discussion",label:t("Discussion")},{value:"Decision",label:t("Decision")},{value:"Action Item",label:t("Action Item")},{value:"Note",label:t("Note")}],ie=[{value:"_empty_",label:t("All Meetings"),disabled:!0},...(x||[]).map(e=>({value:e.id.toString(),label:`${e.title} - ${L(new Date(e.meeting_date),"MMM dd, yyyy")}`}))],oe=[{value:"_empty_",label:t("All Recorders"),disabled:!0},...(S||[]).map(e=>({value:e.id.toString(),label:e.name}))],se=[{value:"_empty_",label:t("Select Meeting")},...(x||[]).map(e=>({value:e.id.toString(),label:`${e.title} - ${L(new Date(e.meeting_date),"MMM dd, yyyy")}`}))],me=[{value:"_empty_",label:t("Select Recorder")},...(S||[]).map(e=>({value:e.id.toString(),label:e.name}))];return m.jsxs(ne,{title:t("Meeting Minutes"),url:"/meetings/meeting-minutes",actions:O,breadcrumbs:Z,noPadding:!0,children:[m.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:m.jsx(fe,{searchTerm:_,onSearchChange:j,onSearch:H,filters:[{name:"type",label:t("Type"),type:"select",value:d,onChange:C,options:k},{name:"meeting_id",label:t("Meeting"),type:"select",value:l,onChange:F,options:ie,searchable:!0},{name:"recorded_by",label:t("Recorder"),type:"select",value:c,onChange:M,options:oe,searchable:!0}],showFilters:B,setShowFilters:T,hasActiveFilters:U,activeFilterCount:G,onResetFilters:Y,onApplyFilters:A,currentPerPage:((R=n.per_page)==null?void 0:R.toString())||"10",onPerPageChange:e=>{u.get(route("meetings.meeting-minutes.index"),{page:1,per_page:parseInt(e),search:_||void 0,type:d!=="_empty_"?d:void 0,meeting_id:l!=="_empty_"?l:void 0,recorded_by:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),m.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[m.jsx(ue,{columns:te,actions:re,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:K,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:J,permissions:w,entityPermissions:{view:"view-meeting-minutes",create:"create-meeting-minutes",edit:"edit-meeting-minutes",delete:"delete-meeting-minutes"}}),m.jsx(ge,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("meeting minutes"),onPageChange:e=>u.get(e)})]}),m.jsx(_e,{isOpen:z,onClose:()=>y(!1),onSubmit:W,formConfig:{fields:[{name:"meeting_id",label:t("Meeting"),type:"select",required:!0,options:se.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"topic",label:t("Topic"),type:"text",required:!0},{name:"type",label:t("Type"),type:"select",required:!0,options:k.filter(e=>e.value!=="_empty_")},{name:"content",label:t("Content"),type:"textarea",required:!0,rows:6},{name:"recorded_by",label:t("Recorded By"),type:"select",required:!0,options:me.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"recorded_date",label:t("Recorded Date"),type:"date",helpText:t("Leave empty to use current date")},{name:"recorded_time",label:t("Recorded Time"),type:"time",helpText:t("Leave empty to use current time")}],modalSize:"xl"},initialData:p?{...p,recorded_date:p.recorded_at?new Date(p.recorded_at).toISOString().split("T")[0]:"",recorded_time:p.recorded_at?new Date(p.recorded_at).toTimeString().substring(0,5):""}:null,title:t(f==="create"?"Add Meeting Minute":"Edit Meeting Minute"),mode:f}),m.jsx(ye,{isOpen:V,onClose:()=>b(!1),onConfirm:X,itemName:(p==null?void 0:p.topic)||"",entityName:"meeting minute"}),m.jsx(ce,{open:!!v,onOpenChange:()=>P(null),children:v&&m.jsx(he,{minute:v})})]})}export{oi as default}; +import{r as a,j as m}from"./ui-Z445SNHD.js";import{P as ne}from"./page-template-CLNVC8w_.js";import{u as pe,c as ae,x as de,P as le,r as u,D as ce,t as o}from"./app-Dya84jp7.js";import{C as ue}from"./CrudTable-yqxtM6E_.js";import{C as _e}from"./CrudFormModal-CsuqSfb2.js";import{C as ye}from"./CrudDeleteModal-D32N6I8y.js";import{P as ge}from"./pagination-4PUepASD.js";import{S as fe}from"./search-and-filter-bar-DWH0yn_r.js";import he from"./view-CRyrgb0P.js";import{f as L}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function oi(){var R;const{t}=pe(),{auth:h,meetingMinutes:s,meetings:x,employees:S,filters:n={},globalSettings:i}=ae().props,w=(h==null?void 0:h.permissions)||[],[_,j]=a.useState(n.search||""),[d,C]=a.useState(n.type||"_empty_"),[l,F]=a.useState(n.meeting_id||"_empty_"),[c,M]=a.useState(n.recorded_by||"_empty_"),[B,T]=a.useState(!1),[V,b]=a.useState(!1),[z,y]=a.useState(!1),[p,N]=a.useState(null),[f,D]=a.useState("create"),[v,P]=a.useState(null),U=()=>d!=="_empty_"||l!=="_empty_"||c!=="_empty_"||_!=="",G=()=>(d!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(_!==""?1:0),H=e=>{e.preventDefault(),A()},A=()=>{u.get(route("meetings.meeting-minutes.index"),{page:1,search:_||void 0,type:d!=="_empty_"?d:void 0,meeting_id:l!=="_empty_"?l:void 0,recorded_by:c!=="_empty_"?c:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},J=e=>{const r=n.sort_field===e&&n.sort_direction==="asc"?"desc":"asc";u.get(route("meetings.meeting-minutes.index"),{sort_field:e,sort_direction:r,page:1,search:_||void 0,type:d!=="_empty_"?d:void 0,meeting_id:l!=="_empty_"?l:void 0,recorded_by:c!=="_empty_"?c:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},K=(e,r)=>{switch(N(r),e){case"view":P(r);break;case"edit":D("edit"),y(!0);break;case"delete":b(!0);break}},Q=()=>{N(null),D("create"),y(!0)},W=e=>{e.recorded_date&&e.recorded_time?e.recorded_at=`${e.recorded_date} ${e.recorded_time}`:e.recorded_date&&(e.recorded_at=`${e.recorded_date} 00:00`),delete e.recorded_date,delete e.recorded_time,f==="create"?(i!=null&&i.is_demo||o.loading(t("Creating meeting minute...")),u.post(route("meetings.meeting-minutes.store"),e,{onSuccess:r=>{y(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to create meeting minute: ${Object.values(r).join(", ")}`)}})):f==="edit"&&(i!=null&&i.is_demo||o.loading(t("Updating meeting minute...")),u.put(route("meetings.meeting-minutes.update",p.id),e,{onSuccess:r=>{y(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update meeting minute: ${Object.values(r).join(", ")}`)}}))},X=()=>{i!=null&&i.is_demo||o.loading(t("Deleting meeting minute...")),u.delete(route("meetings.meeting-minutes.destroy",p.id),{onSuccess:e=>{b(!1),i!=null&&i.is_demo||o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{i!=null&&i.is_demo||o.dismiss(),typeof e=="string"?o.error(e):o.error(`Failed to delete meeting minute: ${Object.values(e).join(", ")}`)}})},Y=()=>{j(""),C("_empty_"),F("_empty_"),M("_empty_"),T(!1),u.get(route("meetings.meeting-minutes.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},O=[];de(w,"create-meeting-minutes")&&O.push({label:t("Add Minute"),icon:m.jsx(le,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>Q()});const Z=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Meetings"),href:route("meetings.meeting-minutes.index")},{title:t("Meeting Minutes")}],ee=e=>{switch(e){case"Discussion":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Decision":return"bg-green-50 text-green-700 ring-green-600/20";case"Action Item":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Note":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20"}},te=[{key:"meeting.title",label:t("Meeting"),render:(e,r)=>{var g,$,E,I,q;return m.jsxs("div",{children:[m.jsx("div",{className:"font-medium",children:(g=r.meeting)==null?void 0:g.title}),m.jsx("div",{className:"text-xs text-gray-500",children:($=r.meeting)!=null&&$.meeting_date?((I=window.appSettings)==null?void 0:I.formatDateTimeSimple((E=r.meeting)==null?void 0:E.meeting_date,!1))||new Date((q=r.meeting)==null?void 0:q.meeting_date).toLocaleDateString():"-"})]})}},{key:"topic",label:t("Topic"),sortable:!0,render:e=>m.jsx("div",{className:"font-medium",children:e})},{key:"type",label:t("Type"),render:e=>m.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ee(e)}`,children:t(e)})},{key:"content",label:t("Content"),render:e=>m.jsx("div",{className:"max-w-xs",children:m.jsx("div",{className:"text-sm text-gray-600 truncate",children:e?e.substring(0,100)+(e.length>100?"...":""):"-"})})},{key:"recorder.name",label:t("Recorded By"),render:(e,r)=>{var g;return((g=r.recorder)==null?void 0:g.name)||"-"}},{key:"recorded_at",label:t("Recorded At"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],re=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-meeting-minutes"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-meeting-minutes"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-meeting-minutes"}],k=[{value:"_empty_",label:t("All Types"),disabled:!0},{value:"Discussion",label:t("Discussion")},{value:"Decision",label:t("Decision")},{value:"Action Item",label:t("Action Item")},{value:"Note",label:t("Note")}],ie=[{value:"_empty_",label:t("All Meetings"),disabled:!0},...(x||[]).map(e=>({value:e.id.toString(),label:`${e.title} - ${L(new Date(e.meeting_date),"MMM dd, yyyy")}`}))],oe=[{value:"_empty_",label:t("All Recorders"),disabled:!0},...(S||[]).map(e=>({value:e.id.toString(),label:e.name}))],se=[{value:"_empty_",label:t("Select Meeting")},...(x||[]).map(e=>({value:e.id.toString(),label:`${e.title} - ${L(new Date(e.meeting_date),"MMM dd, yyyy")}`}))],me=[{value:"_empty_",label:t("Select Recorder")},...(S||[]).map(e=>({value:e.id.toString(),label:e.name}))];return m.jsxs(ne,{title:t("Meeting Minutes"),url:"/meetings/meeting-minutes",actions:O,breadcrumbs:Z,noPadding:!0,children:[m.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:m.jsx(fe,{searchTerm:_,onSearchChange:j,onSearch:H,filters:[{name:"type",label:t("Type"),type:"select",value:d,onChange:C,options:k},{name:"meeting_id",label:t("Meeting"),type:"select",value:l,onChange:F,options:ie,searchable:!0},{name:"recorded_by",label:t("Recorder"),type:"select",value:c,onChange:M,options:oe,searchable:!0}],showFilters:B,setShowFilters:T,hasActiveFilters:U,activeFilterCount:G,onResetFilters:Y,onApplyFilters:A,currentPerPage:((R=n.per_page)==null?void 0:R.toString())||"10",onPerPageChange:e=>{u.get(route("meetings.meeting-minutes.index"),{page:1,per_page:parseInt(e),search:_||void 0,type:d!=="_empty_"?d:void 0,meeting_id:l!=="_empty_"?l:void 0,recorded_by:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),m.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[m.jsx(ue,{columns:te,actions:re,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:K,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:J,permissions:w,entityPermissions:{view:"view-meeting-minutes",create:"create-meeting-minutes",edit:"edit-meeting-minutes",delete:"delete-meeting-minutes"}}),m.jsx(ge,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("meeting minutes"),onPageChange:e=>u.get(e)})]}),m.jsx(_e,{isOpen:z,onClose:()=>y(!1),onSubmit:W,formConfig:{fields:[{name:"meeting_id",label:t("Meeting"),type:"select",required:!0,options:se.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"topic",label:t("Topic"),type:"text",required:!0},{name:"type",label:t("Type"),type:"select",required:!0,options:k.filter(e=>e.value!=="_empty_")},{name:"content",label:t("Content"),type:"textarea",required:!0,rows:6},{name:"recorded_by",label:t("Recorded By"),type:"select",required:!0,options:me.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"recorded_date",label:t("Recorded Date"),type:"date",helpText:t("Leave empty to use current date")},{name:"recorded_time",label:t("Recorded Time"),type:"time",helpText:t("Leave empty to use current time")}],modalSize:"xl"},initialData:p?{...p,recorded_date:p.recorded_at?new Date(p.recorded_at).toISOString().split("T")[0]:"",recorded_time:p.recorded_at?new Date(p.recorded_at).toTimeString().substring(0,5):""}:null,title:t(f==="create"?"Add Meeting Minute":"Edit Meeting Minute"),mode:f}),m.jsx(ye,{isOpen:V,onClose:()=>b(!1),onConfirm:X,itemName:(p==null?void 0:p.topic)||"",entityName:"meeting minute"}),m.jsx(ce,{open:!!v,onOpenChange:()=>P(null),children:v&&m.jsx(he,{minute:v})})]})}export{oi as default}; diff --git a/public/build/assets/index-CDq03yuW.js b/public/build/assets/index-CDq03yuW.js deleted file mode 100644 index afd86a547..000000000 --- a/public/build/assets/index-CDq03yuW.js +++ /dev/null @@ -1 +0,0 @@ -import{R as n,j as o}from"./ui-Z445SNHD.js";import{t as i,P as u}from"./i18n-CM7rzmSQ.js";import{d as a,B as l,e as d,u as x}from"./app-CfhhiFAk.js";import{S as b}from"./switch-CKduD2wX.js";import"./page-template-BTxLyiDA.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./pagination-D8A_HnL5.js";import"./CrudTable-qPWooc10.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./CrudFormModal-DAR9q-oM.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./CrudDeleteModal-CKTiD3_K.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const f={status:(e={},r="bg-gray-100 text-gray-800")=>t=>{if(t==null)return o.jsx("span",{children:"-"});if(typeof t=="boolean")return o.jsx(l,{className:d("capitalize",t?"bg-green-100 text-green-800":"bg-red-100 text-red-800"),children:t?"Active":"Inactive"});const m=e[t]||r;return o.jsx(l,{className:d("capitalize",m),children:t})},image:(e="h-16 w-20 rounded-md object-cover shadow-sm",r="https://placehold.co/200x150?text=Image+Not+Found")=>(t,m)=>{if(!t)return o.jsx("div",{className:"text-center text-gray-400",children:"No image"});const p=typeof t=="string"&&t.startsWith("http")?t:`/storage/${t}`;return o.jsx("div",{className:"flex justify-center",children:o.jsx("img",{src:p,alt:"Image",className:e,onError:s=>{s.currentTarget.src=r}})})},price:(e="USD",r="en-US")=>t=>{if(t==null)return o.jsx("span",{children:"-"});const m=typeof t=="string"?parseFloat(t):t;return o.jsx("span",{className:"text-sm font-medium",children:m.toLocaleString(r,{style:"currency",currency:e})})},date:(e=!1)=>r=>{if(!r)return o.jsx("span",{children:"-"});try{if(typeof window<"u"&&window.appSettings){const p=window.appSettings.formatDateTime(r,!1);return o.jsx("span",{className:"text-sm",children:p})}const t=new Date(r),m=e?{dateStyle:"medium",timeStyle:"short"}:{dateStyle:"medium"};return o.jsx("span",{className:"text-sm",children:t.toLocaleDateString("en-US",m)})}catch{return o.jsx("span",{className:"text-sm",children:r})}},boolean:()=>e=>o.jsx("span",{children:e?"Yes":"No"}),relation:e=>(r,t)=>t?t&&t[e]?o.jsx("span",{children:t[e]}):o.jsx("span",{children:"-"}):o.jsx("span",{children:"-"}),link:(e,r="text-blue-600 hover:underline",t=!1)=>(m,p)=>{if(!m)return o.jsx("span",{children:"-"});const s=typeof e=="function"?e(p):e.replace(":id",p.id);return o.jsx(a,{href:s,className:r,target:t?"_blank":void 0,children:m})},button:(e,r,t="px-2 py-1 text-xs bg-blue-500 text-white rounded hover:bg-blue-600",m=!1)=>(p,s)=>{const c=typeof r=="function"?r(s):r.replace(":id",s.id);return o.jsx(a,{href:c,className:t,target:m?"_blank":void 0,children:e})},switch:(e,r=!1)=>(t,m)=>{const p=()=>{!r&&e&&e(m.id,!t)};return n.createElement("div",{className:"flex items-center justify-center"},[n.createElement(b,{key:"switch",checked:!!t,onCheckedChange:p,disabled:r})])}},h={entity:{name:"permissions",endpoint:route("permissions.index"),permissions:{view:"view-permissions",create:"create-permissions",edit:"edit-permissions",delete:"delete-permissions"}},description:i("Manage system permissions for different modules"),table:{columns:[{key:"module",label:i("Module"),sortable:!0,render:f.status({[i("Products")]:"bg-blue-100 text-blue-800",[i("Categories")]:"bg-green-100 text-green-800",[i("Contacts")]:"bg-purple-100 text-purple-800",[i("Permissions")]:"bg-amber-100 text-amber-800",[i("Roles")]:"bg-red-100 text-red-800",[i("Users")]:"bg-indigo-100 text-indigo-800"})},{key:"name",label:i("Name"),sortable:!0},{key:"label",label:i("Label"),sortable:!0},{key:"description",label:i("Description")},{key:"created_at",label:i("Created At"),sortable:!0,render:e=>`${window.appSettings.formatDateTime(e,!1)}`}],actions:[{label:i("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-permissions"},{label:i("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-permissions"},{label:i("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-permissions"}]},filters:[{key:"module",label:i("Module"),type:"select",options:[]}],form:{fields:[{name:"module",label:i("Module"),type:"text",required:!0},{name:"label",label:i("Label"),type:"text",required:!0,description:i("The name field will be automatically generated from this label")},{name:"description",label:i("Description"),type:"textarea"}]}};function rr(){const{t:e}=x(),r=[{title:e("Dashboard"),href:route("dashboard")},{title:e("User Management"),href:route("roles.index")},{title:e("Permissions")}];return o.jsx(u,{config:h,url:"/permissions",breadcrumbs:r})}export{rr as default}; diff --git a/public/build/assets/index-CyRy-HC5.js b/public/build/assets/index-CE095MNu.js similarity index 53% rename from public/build/assets/index-CyRy-HC5.js rename to public/build/assets/index-CE095MNu.js index 68200d14d..380d3306c 100644 --- a/public/build/assets/index-CyRy-HC5.js +++ b/public/build/assets/index-CE095MNu.js @@ -1 +1 @@ -import{r as a,j as t}from"./ui-Z445SNHD.js";import{P as v}from"./page-template-BTxLyiDA.js";import{C}from"./CrudTable-qPWooc10.js";import{C as B}from"./CrudFormModal-DAR9q-oM.js";import{C as M}from"./CrudDeleteModal-CKTiD3_K.js";import{u as P,c as D,H as E,o as F,P as A,r as n,t as c}from"./app-CfhhiFAk.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function gr({brackets:h}){const{t:e}=P(),{auth:s}=D().props,g=(s==null?void 0:s.permissions)||[],[x,i]=a.useState(!1),[b,p]=a.useState(!1),[l,d]=a.useState("create"),[m,u]=a.useState(null),f=[{key:"type",label:e("Type"),sortable:!0,render:r=>{const o={sss:"SSS",philhealth:"PhilHealth",pagibig:"Pag-IBIG"},y={sss:"bg-blue-100 text-blue-800",philhealth:"bg-green-100 text-green-800",pagibig:"bg-red-100 text-red-800"};return t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-bold ${r&&y[r]?y[r]:"bg-gray-100 text-gray-800"}`,children:r&&o[r]?o[r]:r?r.toUpperCase():"UNKNOWN"})}},{key:"min_salary",label:e("Salary Range"),render:(r,o)=>t.jsxs("span",{children:[Number(o.min_salary).toLocaleString(void 0,{minimumFractionDigits:2})," - ",o.max_salary?Number(o.max_salary).toLocaleString(void 0,{minimumFractionDigits:2}):e("Above")]})},{key:"employee_share_amount",label:e("Employee Share"),render:(r,o)=>t.jsxs("div",{className:"flex flex-col text-sm",children:[o.employee_share_amount?t.jsxs("span",{className:"font-semibold",children:["₱ ",Number(o.employee_share_amount).toLocaleString(void 0,{minimumFractionDigits:2})]}):null,o.employee_share_percentage?t.jsxs("span",{className:"text-gray-500",children:[o.employee_share_percentage,"% of MSC"]}):null]})},{key:"employer_share_amount",label:e("Employer Share"),render:(r,o)=>t.jsxs("div",{className:"flex flex-col text-sm",children:[o.employer_share_amount?t.jsxs("span",{className:"font-semibold",children:["₱ ",Number(o.employer_share_amount).toLocaleString(void 0,{minimumFractionDigits:2})]}):null,o.employer_share_percentage?t.jsxs("span",{className:"text-gray-500",children:[o.employer_share_percentage,"% of MSC"]}):null]})},{key:"is_active",label:e("Status"),render:r=>t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r?"Active":"Inactive")})}],S=[{action:"edit",label:e("Edit"),icon:"Edit",permission:"manage-employee-salaries"},{action:"delete",label:e("Delete"),icon:"Trash2",variant:"destructive",permission:"manage-employee-salaries"}],_=(r,o)=>{u(o),r==="edit"?(d("edit"),i(!0)):r==="delete"&&p(!0)},k=r=>{l==="create"?n.post(route("hr.statutory-brackets.store"),r,{onSuccess:()=>{i(!1),c.success(e("Bracket created successfully"))}}):n.put(route("hr.statutory-brackets.update",m.id),r,{onSuccess:()=>{i(!1),c.success(e("Bracket updated successfully"))}})},j=()=>{m&&n.delete(route("hr.statutory-brackets.destroy",m.id),{onSuccess:()=>{p(!1),c.success(e("Bracket deleted successfully"))}})},N=[{name:"type",label:e("Contribution Type"),type:"select",required:!0,options:[{value:"sss",label:"SSS"},{value:"philhealth",label:"PhilHealth"},{value:"pagibig",label:"Pag-IBIG"}]},{name:"min_salary",label:e("Min Salary Range"),type:"number",required:!0,min:0,step:.01},{name:"max_salary",label:e("Max Salary Range"),type:"number",min:0,step:.01,placeholder:e("Leave blank for no limit")},{name:"employee_share_amount",label:e("Employee Share (Fixed Amount)"),type:"number",min:0,step:.01,placeholder:e("Leave blank if using percentage")},{name:"employee_share_percentage",label:e("Employee Share (Percentage %)"),type:"number",min:0,max:100,step:.01,placeholder:e("Leave blank if using fixed amount")},{name:"employer_share_amount",label:e("Employer Share (Fixed Amount)"),type:"number",min:0,step:.01,placeholder:e("Leave blank if using percentage")},{name:"employer_share_percentage",label:e("Employer Share (Percentage %)"),type:"number",min:0,max:100,step:.01,placeholder:e("Leave blank if using fixed amount")},{name:"is_active",label:e("Is Active"),type:"checkbox",defaultValue:!0}];return t.jsxs(v,{title:e("Statutory Brackets"),children:[t.jsx(E,{title:e("Statutory Brackets")}),t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h1",{className:"text-2xl font-bold tracking-tight",children:e("Statutory Brackets")}),t.jsx("p",{className:"text-muted-foreground",children:e("Manage DOLE statutory brackets for SSS, PhilHealth, and Pag-IBIG.")})]}),t.jsxs(F,{onClick:()=>{u(null),d("create"),i(!0)},children:[t.jsx(A,{className:"w-4 h-4 mr-2"}),e("Add Bracket")]})]}),t.jsx("div",{className:"rounded-lg border bg-card text-card-foreground shadow-sm",children:t.jsx(C,{data:h||[],columns:f,actions:S,from:1,onAction:_,permissions:g})})]}),t.jsx(B,{isOpen:x,onClose:()=>i(!1),onSubmit:k,formConfig:{fields:N},initialData:m,title:e(l==="create"?"Add Statutory Bracket":"Edit Statutory Bracket"),mode:l}),t.jsx(M,{isOpen:b,onClose:()=>p(!1),onConfirm:j,title:e("Delete Statutory Bracket"),description:e("Are you sure you want to delete this statutory bracket? This action cannot be undone.")})]})}export{gr as default}; +import{r as a,j as t}from"./ui-Z445SNHD.js";import{P as v}from"./page-template-CLNVC8w_.js";import{C}from"./CrudTable-yqxtM6E_.js";import{C as B}from"./CrudFormModal-CsuqSfb2.js";import{C as M}from"./CrudDeleteModal-D32N6I8y.js";import{u as P,c as D,H as E,o as F,P as A,r as n,t as c}from"./app-Dya84jp7.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function gr({brackets:h}){const{t:e}=P(),{auth:s}=D().props,g=(s==null?void 0:s.permissions)||[],[x,i]=a.useState(!1),[b,p]=a.useState(!1),[l,d]=a.useState("create"),[m,u]=a.useState(null),f=[{key:"type",label:e("Type"),sortable:!0,render:r=>{const o={sss:"SSS",philhealth:"PhilHealth",pagibig:"Pag-IBIG"},y={sss:"bg-blue-100 text-blue-800",philhealth:"bg-green-100 text-green-800",pagibig:"bg-red-100 text-red-800"};return t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-bold ${r&&y[r]?y[r]:"bg-gray-100 text-gray-800"}`,children:r&&o[r]?o[r]:r?r.toUpperCase():"UNKNOWN"})}},{key:"min_salary",label:e("Salary Range"),render:(r,o)=>t.jsxs("span",{children:[Number(o.min_salary).toLocaleString(void 0,{minimumFractionDigits:2})," - ",o.max_salary?Number(o.max_salary).toLocaleString(void 0,{minimumFractionDigits:2}):e("Above")]})},{key:"employee_share_amount",label:e("Employee Share"),render:(r,o)=>t.jsxs("div",{className:"flex flex-col text-sm",children:[o.employee_share_amount?t.jsxs("span",{className:"font-semibold",children:["₱ ",Number(o.employee_share_amount).toLocaleString(void 0,{minimumFractionDigits:2})]}):null,o.employee_share_percentage?t.jsxs("span",{className:"text-gray-500",children:[o.employee_share_percentage,"% of MSC"]}):null]})},{key:"employer_share_amount",label:e("Employer Share"),render:(r,o)=>t.jsxs("div",{className:"flex flex-col text-sm",children:[o.employer_share_amount?t.jsxs("span",{className:"font-semibold",children:["₱ ",Number(o.employer_share_amount).toLocaleString(void 0,{minimumFractionDigits:2})]}):null,o.employer_share_percentage?t.jsxs("span",{className:"text-gray-500",children:[o.employer_share_percentage,"% of MSC"]}):null]})},{key:"is_active",label:e("Status"),render:r=>t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r?"Active":"Inactive")})}],S=[{action:"edit",label:e("Edit"),icon:"Edit",permission:"manage-employee-salaries"},{action:"delete",label:e("Delete"),icon:"Trash2",variant:"destructive",permission:"manage-employee-salaries"}],_=(r,o)=>{u(o),r==="edit"?(d("edit"),i(!0)):r==="delete"&&p(!0)},k=r=>{l==="create"?n.post(route("hr.statutory-brackets.store"),r,{onSuccess:()=>{i(!1),c.success(e("Bracket created successfully"))}}):n.put(route("hr.statutory-brackets.update",m.id),r,{onSuccess:()=>{i(!1),c.success(e("Bracket updated successfully"))}})},j=()=>{m&&n.delete(route("hr.statutory-brackets.destroy",m.id),{onSuccess:()=>{p(!1),c.success(e("Bracket deleted successfully"))}})},N=[{name:"type",label:e("Contribution Type"),type:"select",required:!0,options:[{value:"sss",label:"SSS"},{value:"philhealth",label:"PhilHealth"},{value:"pagibig",label:"Pag-IBIG"}]},{name:"min_salary",label:e("Min Salary Range"),type:"number",required:!0,min:0,step:.01},{name:"max_salary",label:e("Max Salary Range"),type:"number",min:0,step:.01,placeholder:e("Leave blank for no limit")},{name:"employee_share_amount",label:e("Employee Share (Fixed Amount)"),type:"number",min:0,step:.01,placeholder:e("Leave blank if using percentage")},{name:"employee_share_percentage",label:e("Employee Share (Percentage %)"),type:"number",min:0,max:100,step:.01,placeholder:e("Leave blank if using fixed amount")},{name:"employer_share_amount",label:e("Employer Share (Fixed Amount)"),type:"number",min:0,step:.01,placeholder:e("Leave blank if using percentage")},{name:"employer_share_percentage",label:e("Employer Share (Percentage %)"),type:"number",min:0,max:100,step:.01,placeholder:e("Leave blank if using fixed amount")},{name:"is_active",label:e("Is Active"),type:"checkbox",defaultValue:!0}];return t.jsxs(v,{title:e("Statutory Brackets"),children:[t.jsx(E,{title:e("Statutory Brackets")}),t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h1",{className:"text-2xl font-bold tracking-tight",children:e("Statutory Brackets")}),t.jsx("p",{className:"text-muted-foreground",children:e("Manage DOLE statutory brackets for SSS, PhilHealth, and Pag-IBIG.")})]}),t.jsxs(F,{onClick:()=>{u(null),d("create"),i(!0)},children:[t.jsx(A,{className:"w-4 h-4 mr-2"}),e("Add Bracket")]})]}),t.jsx("div",{className:"rounded-lg border bg-card text-card-foreground shadow-sm",children:t.jsx(C,{data:h||[],columns:f,actions:S,from:1,onAction:_,permissions:g})})]}),t.jsx(B,{isOpen:x,onClose:()=>i(!1),onSubmit:k,formConfig:{fields:N},initialData:m,title:e(l==="create"?"Add Statutory Bracket":"Edit Statutory Bracket"),mode:l}),t.jsx(M,{isOpen:b,onClose:()=>p(!1),onConfirm:j,title:e("Delete Statutory Bracket"),description:e("Are you sure you want to delete this statutory bracket? This action cannot be undone.")})]})}export{gr as default}; diff --git a/public/build/assets/index-CjDzhRcW.js b/public/build/assets/index-CHaOS5LS.js similarity index 89% rename from public/build/assets/index-CjDzhRcW.js rename to public/build/assets/index-CHaOS5LS.js index 5238e6943..df3d3f2b1 100644 --- a/public/build/assets/index-CjDzhRcW.js +++ b/public/build/assets/index-CHaOS5LS.js @@ -1 +1 @@ -import{r as l,j as e}from"./ui-Z445SNHD.js";import{P as Q}from"./page-template-BTxLyiDA.js";import{u as W,c as Y,x as D,L as U,I as q,o as c,S as Z,X as $,r as x,t as d}from"./app-CfhhiFAk.js";import{C as ee}from"./CrudDeleteModal-CKTiD3_K.js";import{P as se}from"./pagination-D8A_HnL5.js";import{T as re}from"./textarea-kpRjGGLz.js";import{B as F}from"./boxes-C2a1Xilp.js";import{a as te,C as ae}from"./chevron-up-DepFp6b6.js";import{S as I}from"./square-pen-bMHyT06o.js";import{T as O}from"./trash-2-C1NR_7Ss.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Ge(){const{t:r}=W(),{auth:b,assetTypes:t,filters:o={},globalSettings:a}=Y().props,k=(b==null?void 0:b.permissions)||[],[u,A]=l.useState(o.search||""),[R,f]=l.useState(!1),[p,j]=l.useState(null),[h,S]=l.useState("create"),[n,N]=l.useState({name:"",description:""}),[m,g]=l.useState({}),[w,B]=l.useState(new Set),v=D(k,"create-asset-types"),y=D(k,"edit-asset-types"),E=D(k,"delete-asset-types"),L=s=>{const i=new Set(w);i.has(s)?i.delete(s):i.add(s),B(i)},_=()=>{N({name:"",description:""}),g({}),S("create"),j(null)},P=s=>{N({name:s.name||"",description:s.description||""}),S("edit"),j(s),g({}),window.scrollTo({top:0,behavior:"smooth"})},T=()=>{const s={};return n.name.trim()?n.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Name is required"),g(s),Object.keys(s).length===0},M=(s={})=>{x.get(route("hr.asset-types.index"),{page:1,search:u||void 0,per_page:o.per_page||10,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0,...s},{preserveState:!0,preserveScroll:!0})},z=s=>{s.preventDefault(),M()},H=()=>{A(""),x.get(route("hr.asset-types.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},K=s=>{const i=o.sort_field===s&&o.sort_direction==="asc"?"desc":"asc";M({sort_field:s,sort_direction:i})},V=s=>{s.preventDefault(),T()&&(h==="create"?(a!=null&&a.is_demo||d.loading(r("Creating asset type...")),x.post(route("hr.asset-types.store"),n,{onSuccess:i=>{a!=null&&a.is_demo||d.dismiss(),i.props.flash.success?(d.success(r(i.props.flash.success)),_()):i.props.flash.error&&d.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||d.dismiss(),g(i),d.error(r("Please check the form for errors"))}})):(a!=null&&a.is_demo||d.loading(r("Updating asset type...")),x.put(route("hr.asset-types.update",p.id),n,{onSuccess:i=>{a!=null&&a.is_demo||d.dismiss(),i.props.flash.success?(d.success(r(i.props.flash.success)),_()):i.props.flash.error&&d.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||d.dismiss(),g(i),d.error(r("Please check the form for errors"))}})))},X=()=>{a!=null&&a.is_demo||d.loading(r("Deleting asset type...")),x.delete(route("hr.asset-types.destroy",p.id),{onSuccess:s=>{f(!1),a!=null&&a.is_demo||d.dismiss(),s.props.flash.success?d.success(r(s.props.flash.success)):s.props.flash.error&&d.error(r(s.props.flash.error))},onError:s=>{a!=null&&a.is_demo||d.dismiss(),d.error(typeof s=="string"?r(s):r("Failed to delete asset type: {{errors}}",{errors:Object.values(s).join(", ")}))}})},G=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.asset-types.index")},{title:r("Asset Management"),href:route("hr.asset-types.index")},{title:r("Asset Types")}],C=!!u,J=({field:s})=>o.sort_field===s?e.jsx("span",{children:o.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(Q,{title:r("Asset Types"),description:"",url:"/hr/assets/types",breadcrumbs:G,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(h==="create"?"Add New Asset Type":"Edit Asset Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(h==="create"?"Fill in the details to create a new asset type":"Update the asset type details below")})]}),e.jsxs("form",{onSubmit:V,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(U,{required:!0,htmlFor:"name",className:"required",children:r("Asset Type Name")}),e.jsx(q,{required:!0,id:"name",type:"text",value:n.name,onChange:s=>N({...n,name:s.target.value}),placeholder:r("e.g., Laptop, Furniture, Vehicle"),className:m.name?"border-red-500":"",disabled:!v&&!y}),m.name&&e.jsx("p",{className:"text-sm text-red-500",children:m.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(U,{htmlFor:"description",children:r("Description")}),e.jsx(re,{id:"description",value:n.description,onChange:s=>N({...n,description:s.target.value}),placeholder:r("Brief description of the asset type"),rows:3,className:m.description?"border-red-500":"",disabled:!v&&!y}),m.description&&e.jsx("p",{className:"text-sm text-red-500",children:m.description})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(v||y)&&e.jsx(c,{type:"submit",className:"flex-1",children:r(h==="create"?"Add Asset Type":"Update Asset Type")}),h==="edit"&&e.jsx(c,{type:"button",variant:"outline",onClick:_,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(Z,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(q,{type:"text",placeholder:r("Search asset types..."),value:u,onChange:s=>A(s.target.value),onKeyDown:s=>s.key==="Enter"&&z(s),className:"pl-10"})]}),e.jsx(c,{onClick:z,variant:"default",children:r("Search")}),C&&e.jsxs(c,{onClick:H,variant:"outline",children:[e.jsx($,{className:"h-4 w-4 mr-2"}),r("Reset")]})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((t==null?void 0:t.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Asset Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage asset types used to categorize company assets")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>K("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(J,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Assets")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((t==null?void 0:t.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-indigo-100 text-indigo-600 dark:bg-indigo-900/30 dark:text-indigo-400",children:e.jsx(F,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:w.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>L(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:w.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(te,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsxs("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:[s.assets_count??0," ",r("assets")]})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[y&&e.jsx(c,{variant:"ghost",size:"sm",onClick:()=>P(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(I,{className:"h-4 w-4"})}),E&&e.jsx(c,{variant:"ghost",size:"sm",onClick:()=>{j(s),f(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(O,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((t==null?void 0:t.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-indigo-100 text-indigo-600 dark:bg-indigo-900/30 dark:text-indigo-400",children:e.jsx(F,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[y&&e.jsx(c,{variant:"ghost",size:"sm",onClick:()=>P(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(I,{className:"h-4 w-4"})}),E&&e.jsx(c,{variant:"ghost",size:"sm",onClick:()=>{j(s),f(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(O,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Assets")}),e.jsxs("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:[s.assets_count??0," ",r("assets")]})]})]},s.id))}),(t==null?void 0:t.total)>((t==null?void 0:t.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(se,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:r("asset types"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");x.get(route("hr.asset-types.index"),{page:i,per_page:o.per_page||10,search:u||void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(F,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No asset types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(C?"No asset types match your search criteria. Try adjusting your filters.":"Create asset types to categorize company assets.")}),!C&&v&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first asset type.")})]})})]})]}),e.jsx(ee,{isOpen:R,onClose:()=>f(!1),onConfirm:X,itemName:(p==null?void 0:p.name)||"",entityName:"asset type"})]})}export{Ge as default}; +import{r as l,j as e}from"./ui-Z445SNHD.js";import{P as Q}from"./page-template-CLNVC8w_.js";import{u as W,c as Y,x as D,L as U,I as q,o as c,S as Z,X as $,r as x,t as d}from"./app-Dya84jp7.js";import{C as ee}from"./CrudDeleteModal-D32N6I8y.js";import{P as se}from"./pagination-4PUepASD.js";import{T as re}from"./textarea-yeg8ONhy.js";import{B as F}from"./boxes-Dyz92FXO.js";import{a as te,C as ae}from"./chevron-up-DHaGktre.js";import{S as I}from"./square-pen-CzdhbxyN.js";import{T as O}from"./trash-2-BeirBLIk.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Ge(){const{t:r}=W(),{auth:b,assetTypes:t,filters:o={},globalSettings:a}=Y().props,k=(b==null?void 0:b.permissions)||[],[u,A]=l.useState(o.search||""),[R,f]=l.useState(!1),[p,j]=l.useState(null),[h,S]=l.useState("create"),[n,N]=l.useState({name:"",description:""}),[m,g]=l.useState({}),[w,B]=l.useState(new Set),v=D(k,"create-asset-types"),y=D(k,"edit-asset-types"),E=D(k,"delete-asset-types"),L=s=>{const i=new Set(w);i.has(s)?i.delete(s):i.add(s),B(i)},_=()=>{N({name:"",description:""}),g({}),S("create"),j(null)},P=s=>{N({name:s.name||"",description:s.description||""}),S("edit"),j(s),g({}),window.scrollTo({top:0,behavior:"smooth"})},T=()=>{const s={};return n.name.trim()?n.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Name is required"),g(s),Object.keys(s).length===0},M=(s={})=>{x.get(route("hr.asset-types.index"),{page:1,search:u||void 0,per_page:o.per_page||10,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0,...s},{preserveState:!0,preserveScroll:!0})},z=s=>{s.preventDefault(),M()},H=()=>{A(""),x.get(route("hr.asset-types.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},K=s=>{const i=o.sort_field===s&&o.sort_direction==="asc"?"desc":"asc";M({sort_field:s,sort_direction:i})},V=s=>{s.preventDefault(),T()&&(h==="create"?(a!=null&&a.is_demo||d.loading(r("Creating asset type...")),x.post(route("hr.asset-types.store"),n,{onSuccess:i=>{a!=null&&a.is_demo||d.dismiss(),i.props.flash.success?(d.success(r(i.props.flash.success)),_()):i.props.flash.error&&d.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||d.dismiss(),g(i),d.error(r("Please check the form for errors"))}})):(a!=null&&a.is_demo||d.loading(r("Updating asset type...")),x.put(route("hr.asset-types.update",p.id),n,{onSuccess:i=>{a!=null&&a.is_demo||d.dismiss(),i.props.flash.success?(d.success(r(i.props.flash.success)),_()):i.props.flash.error&&d.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||d.dismiss(),g(i),d.error(r("Please check the form for errors"))}})))},X=()=>{a!=null&&a.is_demo||d.loading(r("Deleting asset type...")),x.delete(route("hr.asset-types.destroy",p.id),{onSuccess:s=>{f(!1),a!=null&&a.is_demo||d.dismiss(),s.props.flash.success?d.success(r(s.props.flash.success)):s.props.flash.error&&d.error(r(s.props.flash.error))},onError:s=>{a!=null&&a.is_demo||d.dismiss(),d.error(typeof s=="string"?r(s):r("Failed to delete asset type: {{errors}}",{errors:Object.values(s).join(", ")}))}})},G=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.asset-types.index")},{title:r("Asset Management"),href:route("hr.asset-types.index")},{title:r("Asset Types")}],C=!!u,J=({field:s})=>o.sort_field===s?e.jsx("span",{children:o.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(Q,{title:r("Asset Types"),description:"",url:"/hr/assets/types",breadcrumbs:G,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(h==="create"?"Add New Asset Type":"Edit Asset Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(h==="create"?"Fill in the details to create a new asset type":"Update the asset type details below")})]}),e.jsxs("form",{onSubmit:V,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(U,{required:!0,htmlFor:"name",className:"required",children:r("Asset Type Name")}),e.jsx(q,{required:!0,id:"name",type:"text",value:n.name,onChange:s=>N({...n,name:s.target.value}),placeholder:r("e.g., Laptop, Furniture, Vehicle"),className:m.name?"border-red-500":"",disabled:!v&&!y}),m.name&&e.jsx("p",{className:"text-sm text-red-500",children:m.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(U,{htmlFor:"description",children:r("Description")}),e.jsx(re,{id:"description",value:n.description,onChange:s=>N({...n,description:s.target.value}),placeholder:r("Brief description of the asset type"),rows:3,className:m.description?"border-red-500":"",disabled:!v&&!y}),m.description&&e.jsx("p",{className:"text-sm text-red-500",children:m.description})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(v||y)&&e.jsx(c,{type:"submit",className:"flex-1",children:r(h==="create"?"Add Asset Type":"Update Asset Type")}),h==="edit"&&e.jsx(c,{type:"button",variant:"outline",onClick:_,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(Z,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(q,{type:"text",placeholder:r("Search asset types..."),value:u,onChange:s=>A(s.target.value),onKeyDown:s=>s.key==="Enter"&&z(s),className:"pl-10"})]}),e.jsx(c,{onClick:z,variant:"default",children:r("Search")}),C&&e.jsxs(c,{onClick:H,variant:"outline",children:[e.jsx($,{className:"h-4 w-4 mr-2"}),r("Reset")]})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((t==null?void 0:t.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Asset Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage asset types used to categorize company assets")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>K("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(J,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Assets")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((t==null?void 0:t.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-indigo-100 text-indigo-600 dark:bg-indigo-900/30 dark:text-indigo-400",children:e.jsx(F,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:w.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>L(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:w.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(te,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsxs("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:[s.assets_count??0," ",r("assets")]})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[y&&e.jsx(c,{variant:"ghost",size:"sm",onClick:()=>P(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(I,{className:"h-4 w-4"})}),E&&e.jsx(c,{variant:"ghost",size:"sm",onClick:()=>{j(s),f(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(O,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((t==null?void 0:t.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-indigo-100 text-indigo-600 dark:bg-indigo-900/30 dark:text-indigo-400",children:e.jsx(F,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[y&&e.jsx(c,{variant:"ghost",size:"sm",onClick:()=>P(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(I,{className:"h-4 w-4"})}),E&&e.jsx(c,{variant:"ghost",size:"sm",onClick:()=>{j(s),f(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(O,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Assets")}),e.jsxs("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:[s.assets_count??0," ",r("assets")]})]})]},s.id))}),(t==null?void 0:t.total)>((t==null?void 0:t.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(se,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:r("asset types"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");x.get(route("hr.asset-types.index"),{page:i,per_page:o.per_page||10,search:u||void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(F,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No asset types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(C?"No asset types match your search criteria. Try adjusting your filters.":"Create asset types to categorize company assets.")}),!C&&v&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first asset type.")})]})})]})]}),e.jsx(ee,{isOpen:R,onClose:()=>f(!1),onConfirm:X,itemName:(p==null?void 0:p.name)||"",entityName:"asset type"})]})}export{Ge as default}; diff --git a/public/build/assets/index-auPrhmGN.js b/public/build/assets/index-CLujnaqp.js similarity index 63% rename from public/build/assets/index-auPrhmGN.js rename to public/build/assets/index-CLujnaqp.js index 69da5ce97..3d8d2dcb8 100644 --- a/public/build/assets/index-auPrhmGN.js +++ b/public/build/assets/index-CLujnaqp.js @@ -1 +1 @@ -import{r as c,j as r}from"./ui-Z445SNHD.js";import{P as I}from"./page-template-BTxLyiDA.js";import{u as J,c as k,t as p,x as K,r as n,P as Q,D,h as W,j as X,k as Y}from"./app-CfhhiFAk.js";import{C as Z}from"./CrudTable-qPWooc10.js";import{C as ee}from"./CrudDeleteModal-CKTiD3_K.js";import{P as te}from"./pagination-D8A_HnL5.js";import{S as re}from"./search-and-filter-bar-6Pp-FsiR.js";import ie from"./generate-DaVjSTCS.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function Tr(){var P;const{t}=J(),{auth:f,offerTemplates:o,filters:a={},globalSettings:g}=k().props,{flash:d}=k().props,b=(f==null?void 0:f.permissions)||[];c.useEffect(()=>{d!=null&&d.error&&p.error(t(d.error))},[d==null?void 0:d.error]);const[u,_]=c.useState(a.search||""),[m,w]=c.useState(a.status||"_empty_"),[O,y]=c.useState(!1),[A,h]=c.useState(!1),[F,S]=c.useState(!1),[E,x]=c.useState(!1),[s,v]=c.useState(null),M=()=>m!=="_empty_"||u!=="",q=()=>(m!=="_empty_"?1:0)+(u!==""?1:0),R=e=>{e.preventDefault(),j()},j=()=>{n.get(route("hr.recruitment.offer-templates.index"),{page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},T=e=>{const i=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";n.get(route("hr.recruitment.offer-templates.index"),{sort_field:e,sort_direction:i,page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},G=(e,i)=>{switch(v(i),e){case"view":n.get(route("hr.recruitment.offer-templates.show",i.id));break;case"edit":n.get(route("hr.recruitment.offer-templates.edit",i.id));break;case"delete":h(!0);break;case"toggle-status":L(i);break;case"preview":v(i),S(!0);break;case"generate":v(i),x(!0);break}},L=e=>{const i=e.status==="active"?"inactive":"active";g!=null&&g.is_demo||p.loading(`${t(i==="active"?"Activating":"Deactivating")} template...`),n.put(route("hr.recruitment.offer-templates.toggle-status",e.id),{},{onSuccess:l=>{var C;p.dismiss(),(C=l.props.flash)!=null&&C.success&&p.success(t(l.props.flash.success))},onError:l=>{p.dismiss(),p.error(typeof l=="string"?l:Object.values(l).join(", "))}})},V=()=>{g!=null&&g.is_demo||p.loading(t("Deleting template...")),n.delete(route("hr.recruitment.offer-templates.destroy",s.id),{onSuccess:e=>{var i;h(!1),p.dismiss(),(i=e.props.flash)!=null&&i.success&&p.success(t(e.props.flash.success))},onError:e=>{p.dismiss(),p.error(typeof e=="string"?e:Object.values(e).join(", "))}})},$=()=>{_(""),w("_empty_"),y(!1),n.get(route("hr.recruitment.offer-templates.index"),{page:1,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},N=[];K(b,"create-offer-templates")&&N.push({label:t("Add Template"),icon:r.jsx(Q,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>n.get(route("hr.recruitment.offer-templates.create"))});const B=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.offer-templates.index")},{title:t("Offer Templates")}],H=[{key:"name",label:t("Name"),sortable:!0,render:e=>r.jsx("div",{className:"font-medium",children:e})},{key:"template_content",label:t("Content Preview"),render:e=>r.jsx("div",{className:"max-w-xs",children:r.jsx("div",{className:"text-sm text-gray-600 truncate",children:e?e.substring(0,100)+(e.length>100?"...":""):"-"})})},{key:"variables",label:t("Variables"),render:e=>!e||!Array.isArray(e)||e.length===0?"-":r.jsxs("div",{className:"flex flex-wrap gap-1",children:[e.slice(0,3).map((i,l)=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:i},l)),e.length>3&&r.jsxs("span",{className:"text-xs text-gray-500",children:["+",e.length-3," more"]})]})},{key:"status",label:t("Status"),render:e=>r.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t(e==="active"?"Active":"Inactive")})},{key:"created_at",label:t("Created At"),sortable:!0,render:e=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],U=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-offer-templates"},{label:t("Preview"),icon:"FileText",action:"preview",className:"text-purple-500",requiredPermission:"view-offer-templates"},{label:t("Generate Offer"),icon:"Download",action:"generate",className:"text-green-500",requiredPermission:"view-offer-templates"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-offer-templates"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-orange-500",requiredPermission:"edit-offer-templates"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-offer-templates"}],z=[{value:"_empty_",label:t("All Statuses")},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}];return r.jsxs(I,{title:t("Offer Templates"),url:"/hr/recruitment/offer-templates",actions:N,breadcrumbs:B,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(re,{searchTerm:u,onSearchChange:_,onSearch:R,filters:[{name:"status",label:t("Status"),type:"select",value:m,onChange:w,options:z}],showFilters:O,setShowFilters:y,hasActiveFilters:M,activeFilterCount:q,onResetFilters:$,onApplyFilters:j,currentPerPage:((P=a.per_page)==null?void 0:P.toString())||"10",onPerPageChange:e=>{n.get(route("hr.recruitment.offer-templates.index"),{page:1,per_page:parseInt(e),search:u||void 0,status:m!=="_empty_"?m:void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(Z,{columns:H,actions:U,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:G,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:T,permissions:b,entityPermissions:{view:"view-offer-templates",create:"create-offer-templates",edit:"edit-offer-templates",delete:"delete-offer-templates"}}),r.jsx(te,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("offer templates"),onPageChange:e=>{const i=new URL(e).searchParams.get("page");n.get(route("hr.recruitment.offer-templates.index"),{page:i,per_page:a.per_page||10,search:u||void 0,status:m!=="_empty_"?m:void 0,sort_field:a.sort_field||void 0,sort_direction:a.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})]}),r.jsx(ee,{isOpen:A,onClose:()=>h(!1),onConfirm:V,itemName:(s==null?void 0:s.name)||"",entityName:"offer template"}),r.jsx(D,{open:F,onOpenChange:S,children:r.jsxs(W,{className:"max-w-4xl max-h-[80vh]",children:[r.jsx(X,{children:r.jsxs(Y,{children:[t("Template Preview"),": ",s==null?void 0:s.name]})}),r.jsxs("div",{className:"mt-4 overflow-y-auto max-h-[60vh] pr-1",children:[r.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg border",children:r.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono",children:(s==null?void 0:s.template_content)||t("No content available")})}),(s==null?void 0:s.variables)&&s.variables.length>0&&r.jsxs("div",{className:"mt-4",children:[r.jsxs("h4",{className:"text-sm font-medium mb-2",children:[t("Available Variables"),":"]}),r.jsx("div",{className:"flex flex-wrap gap-2",children:s.variables.map((e,i)=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:`{{${e}}}`},i))})]})]})]})}),r.jsx(D,{open:E,onOpenChange:x,children:s&&r.jsx(ie,{record:s,onClose:()=>x(!1)})})]})}export{Tr as default}; +import{r as c,j as r}from"./ui-Z445SNHD.js";import{P as I}from"./page-template-CLNVC8w_.js";import{u as J,c as k,t as p,x as K,r as n,P as Q,D,h as W,j as X,k as Y}from"./app-Dya84jp7.js";import{C as Z}from"./CrudTable-yqxtM6E_.js";import{C as ee}from"./CrudDeleteModal-D32N6I8y.js";import{P as te}from"./pagination-4PUepASD.js";import{S as re}from"./search-and-filter-bar-DWH0yn_r.js";import ie from"./generate-DNmdQ5bj.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function Tr(){var P;const{t}=J(),{auth:f,offerTemplates:o,filters:a={},globalSettings:g}=k().props,{flash:d}=k().props,b=(f==null?void 0:f.permissions)||[];c.useEffect(()=>{d!=null&&d.error&&p.error(t(d.error))},[d==null?void 0:d.error]);const[u,_]=c.useState(a.search||""),[m,w]=c.useState(a.status||"_empty_"),[O,y]=c.useState(!1),[A,h]=c.useState(!1),[F,S]=c.useState(!1),[E,x]=c.useState(!1),[s,v]=c.useState(null),M=()=>m!=="_empty_"||u!=="",q=()=>(m!=="_empty_"?1:0)+(u!==""?1:0),R=e=>{e.preventDefault(),j()},j=()=>{n.get(route("hr.recruitment.offer-templates.index"),{page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},T=e=>{const i=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";n.get(route("hr.recruitment.offer-templates.index"),{sort_field:e,sort_direction:i,page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},G=(e,i)=>{switch(v(i),e){case"view":n.get(route("hr.recruitment.offer-templates.show",i.id));break;case"edit":n.get(route("hr.recruitment.offer-templates.edit",i.id));break;case"delete":h(!0);break;case"toggle-status":L(i);break;case"preview":v(i),S(!0);break;case"generate":v(i),x(!0);break}},L=e=>{const i=e.status==="active"?"inactive":"active";g!=null&&g.is_demo||p.loading(`${t(i==="active"?"Activating":"Deactivating")} template...`),n.put(route("hr.recruitment.offer-templates.toggle-status",e.id),{},{onSuccess:l=>{var C;p.dismiss(),(C=l.props.flash)!=null&&C.success&&p.success(t(l.props.flash.success))},onError:l=>{p.dismiss(),p.error(typeof l=="string"?l:Object.values(l).join(", "))}})},V=()=>{g!=null&&g.is_demo||p.loading(t("Deleting template...")),n.delete(route("hr.recruitment.offer-templates.destroy",s.id),{onSuccess:e=>{var i;h(!1),p.dismiss(),(i=e.props.flash)!=null&&i.success&&p.success(t(e.props.flash.success))},onError:e=>{p.dismiss(),p.error(typeof e=="string"?e:Object.values(e).join(", "))}})},$=()=>{_(""),w("_empty_"),y(!1),n.get(route("hr.recruitment.offer-templates.index"),{page:1,per_page:a.per_page||10},{preserveState:!0,preserveScroll:!0})},N=[];K(b,"create-offer-templates")&&N.push({label:t("Add Template"),icon:r.jsx(Q,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>n.get(route("hr.recruitment.offer-templates.create"))});const B=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.offer-templates.index")},{title:t("Offer Templates")}],H=[{key:"name",label:t("Name"),sortable:!0,render:e=>r.jsx("div",{className:"font-medium",children:e})},{key:"template_content",label:t("Content Preview"),render:e=>r.jsx("div",{className:"max-w-xs",children:r.jsx("div",{className:"text-sm text-gray-600 truncate",children:e?e.substring(0,100)+(e.length>100?"...":""):"-"})})},{key:"variables",label:t("Variables"),render:e=>!e||!Array.isArray(e)||e.length===0?"-":r.jsxs("div",{className:"flex flex-wrap gap-1",children:[e.slice(0,3).map((i,l)=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:i},l)),e.length>3&&r.jsxs("span",{className:"text-xs text-gray-500",children:["+",e.length-3," more"]})]})},{key:"status",label:t("Status"),render:e=>r.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t(e==="active"?"Active":"Inactive")})},{key:"created_at",label:t("Created At"),sortable:!0,render:e=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],U=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-offer-templates"},{label:t("Preview"),icon:"FileText",action:"preview",className:"text-purple-500",requiredPermission:"view-offer-templates"},{label:t("Generate Offer"),icon:"Download",action:"generate",className:"text-green-500",requiredPermission:"view-offer-templates"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-offer-templates"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-orange-500",requiredPermission:"edit-offer-templates"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-offer-templates"}],z=[{value:"_empty_",label:t("All Statuses")},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}];return r.jsxs(I,{title:t("Offer Templates"),url:"/hr/recruitment/offer-templates",actions:N,breadcrumbs:B,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(re,{searchTerm:u,onSearchChange:_,onSearch:R,filters:[{name:"status",label:t("Status"),type:"select",value:m,onChange:w,options:z}],showFilters:O,setShowFilters:y,hasActiveFilters:M,activeFilterCount:q,onResetFilters:$,onApplyFilters:j,currentPerPage:((P=a.per_page)==null?void 0:P.toString())||"10",onPerPageChange:e=>{n.get(route("hr.recruitment.offer-templates.index"),{page:1,per_page:parseInt(e),search:u||void 0,status:m!=="_empty_"?m:void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(Z,{columns:H,actions:U,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:G,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:T,permissions:b,entityPermissions:{view:"view-offer-templates",create:"create-offer-templates",edit:"edit-offer-templates",delete:"delete-offer-templates"}}),r.jsx(te,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("offer templates"),onPageChange:e=>{const i=new URL(e).searchParams.get("page");n.get(route("hr.recruitment.offer-templates.index"),{page:i,per_page:a.per_page||10,search:u||void 0,status:m!=="_empty_"?m:void 0,sort_field:a.sort_field||void 0,sort_direction:a.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})]}),r.jsx(ee,{isOpen:A,onClose:()=>h(!1),onConfirm:V,itemName:(s==null?void 0:s.name)||"",entityName:"offer template"}),r.jsx(D,{open:F,onOpenChange:S,children:r.jsxs(W,{className:"max-w-4xl max-h-[80vh]",children:[r.jsx(X,{children:r.jsxs(Y,{children:[t("Template Preview"),": ",s==null?void 0:s.name]})}),r.jsxs("div",{className:"mt-4 overflow-y-auto max-h-[60vh] pr-1",children:[r.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg border",children:r.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono",children:(s==null?void 0:s.template_content)||t("No content available")})}),(s==null?void 0:s.variables)&&s.variables.length>0&&r.jsxs("div",{className:"mt-4",children:[r.jsxs("h4",{className:"text-sm font-medium mb-2",children:[t("Available Variables"),":"]}),r.jsx("div",{className:"flex flex-wrap gap-2",children:s.variables.map((e,i)=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:`{{${e}}}`},i))})]})]})]})}),r.jsx(D,{open:E,onOpenChange:x,children:s&&r.jsx(ie,{record:s,onClose:()=>x(!1)})})]})}export{Tr as default}; diff --git a/public/build/assets/index-DI4MMbI0.js b/public/build/assets/index-CP9ZrXLY.js similarity index 69% rename from public/build/assets/index-DI4MMbI0.js rename to public/build/assets/index-CP9ZrXLY.js index a419fb510..9149cf270 100644 --- a/public/build/assets/index-DI4MMbI0.js +++ b/public/build/assets/index-CP9ZrXLY.js @@ -1 +1 @@ -import{r as n,j as o}from"./ui-Z445SNHD.js";import{P as ce}from"./page-template-BTxLyiDA.js";import{u as ue,c as ge,x as fe,P as _e,r as g,D as ye,t as s}from"./app-CfhhiFAk.js";import{C as he}from"./CrudTable-qPWooc10.js";import{C as E}from"./CrudFormModal-DAR9q-oM.js";import{C as xe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as be}from"./pagination-D8A_HnL5.js";import{S as ve}from"./search-and-filter-bar-6Pp-FsiR.js";import Se from"./view-cRrRneW8.js";import{C as Ce}from"./calendar-CfUpdaK5.js";import{C as we}from"./clock-CwFdn-oy.js";import{U as je}from"./user-C37aWgZX.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function di(){var q;const{t:e}=ue(),{auth:h,meetings:a,meetingTypes:S,meetingRooms:A,employees:C,filters:m={},globalSettings:i}=ge().props,w=(h==null?void 0:h.permissions)||[],[f,j]=n.useState(m.search||""),[d,F]=n.useState(m.status||"_empty_"),[c,N]=n.useState(m.type_id||"_empty_"),[u,O]=n.useState(m.organizer_id||"_empty_"),[I,M]=n.useState(!1),[U,x]=n.useState(!1),[$,_]=n.useState(!1),[B,b]=n.useState(!1),[l,P]=n.useState(null),[y,D]=n.useState("create"),[v,T]=n.useState(null),[V,W]=n.useState(""),L=()=>d!=="_empty_"||c!=="_empty_"||u!=="_empty_"||f!=="",G=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(f!==""?1:0),H=t=>{t.preventDefault(),k()},k=()=>{g.get(route("meetings.meetings.index"),{page:1,search:f||void 0,status:d!=="_empty_"?d:void 0,type_id:c!=="_empty_"?c:void 0,organizer_id:u!=="_empty_"?u:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},J=t=>{const r=m.sort_field===t&&m.sort_direction==="asc"?"desc":"asc";g.get(route("meetings.meetings.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,status:d!=="_empty_"?d:void 0,type_id:c!=="_empty_"?c:void 0,organizer_id:u!=="_empty_"?u:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},K=(t,r)=>{switch(P(r),t){case"view":T(r);break;case"edit":D("edit"),_(!0);break;case"delete":x(!0);break;case"update-status":W(r.status),b(!0);break}},Q=()=>{P(null),D("create"),_(!0)},X=t=>{y==="create"?(i!=null&&i.is_demo||s.loading(e("Creating meeting...")),g.post(route("meetings.meetings.store"),t,{onSuccess:r=>{_(!1),i!=null&&i.is_demo||s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to create meeting: ${Object.values(r).join(", ")}`)}})):y==="edit"&&(i!=null&&i.is_demo||s.loading(e("Updating meeting...")),g.put(route("meetings.meetings.update",l.id),t,{onSuccess:r=>{_(!1),i!=null&&i.is_demo||s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to update meeting: ${Object.values(r).join(", ")}`)}}))},Y=()=>{i!=null&&i.is_demo||s.loading(e("Deleting meeting...")),g.delete(route("meetings.meetings.destroy",l.id),{onSuccess:t=>{x(!1),i!=null&&i.is_demo||s.dismiss(),t.props.flash.success?s.success(e(t.props.flash.success)):t.props.flash.error&&s.error(e(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||s.dismiss(),typeof t=="string"?s.error(t):s.error(`Failed to delete meeting: ${Object.values(t).join(", ")}`)}})},Z=t=>{i!=null&&i.is_demo||s.loading(e("Updating status...")),g.put(route("meetings.meetings.update-status",l.id),{status:t.status},{onSuccess:r=>{b(!1),i!=null&&i.is_demo||s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to update status: ${Object.values(r).join(", ")}`)}})},ee=()=>{j(""),F("_empty_"),N("_empty_"),O("_empty_"),M(!1),g.get(route("meetings.meetings.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},z=[];fe(w,"create-meetings")&&z.push({label:e("Schedule Meeting"),icon:o.jsx(_e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>Q()});const te=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Meetings"),href:route("meetings.meetings.index")},{title:e("Meetings")}],re=t=>{switch(t){case"Scheduled":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"In Progress":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";case"Cancelled":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},ie=t=>t==="None"?"bg-gray-50 text-gray-600 ring-gray-500/10":"bg-purple-50 text-purple-700 ring-purple-600/20",se=[{key:"title",label:e("Meeting"),sortable:!0,render:(t,r)=>{var p,R;return o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:t}),o.jsxs("div",{className:"text-xs text-gray-500 flex items-center gap-1",children:[o.jsx("div",{className:"w-2 h-2 rounded-full",style:{backgroundColor:((p=r.type)==null?void 0:p.color)||"#3B82F6"}}),(R=r.type)==null?void 0:R.name]})]})}},{key:"meeting_date",label:e("Date & Time"),sortable:!0,render:(t,r)=>{var p;return o.jsxs("div",{children:[o.jsxs("div",{className:"font-medium flex items-center gap-1",children:[o.jsx(Ce,{className:"h-4 w-4 text-gray-500"}),((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()]}),o.jsxs("div",{className:"text-xs text-gray-500 flex items-center gap-1",children:[o.jsx(we,{className:"h-3 w-3"}),window.appSettings.formatTime(r.start_time)," - ",window.appSettings.formatTime(r.end_time)]})]})}},{key:"organizer.name",label:e("Organizer"),render:(t,r)=>{var p;return o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(je,{className:"h-4 w-4 text-gray-500"}),((p=r.organizer)==null?void 0:p.name)||"-"]})}},{key:"room.name",label:e("Room"),render:(t,r)=>{var p;return((p=r.room)==null?void 0:p.name)||"-"}},{key:"recurrence",label:e("Recurrence"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ie(t)}`,children:e(t)})},{key:"status",label:e("Status"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${re(t)}`,children:e(t)})}],oe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-meetings"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-meetings"},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"manage-meeting-status"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-meetings"}],ae=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"Scheduled",label:e("Scheduled")},{value:"In Progress",label:e("In Progress")},{value:"Completed",label:e("Completed")},{value:"Cancelled",label:e("Cancelled")}],me=[{value:"_empty_",label:e("All Types"),disabled:!0},...(S||[]).map(t=>({value:t.id.toString(),label:t.name}))],ne=[{value:"_empty_",label:e("All Organizers"),disabled:!0},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))],le=[{value:"_empty_",label:e("Select Type")},...(S||[]).map(t=>({value:t.id.toString(),label:t.name}))],pe=[{value:"_empty_",label:e("Select Room")},...(A||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.type})`}))],de=[{value:"_empty_",label:e("Select Organizer")},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))];return o.jsxs(ce,{title:e("Meetings"),url:"/meetings/meetings",actions:z,breadcrumbs:te,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ve,{searchTerm:f,onSearchChange:j,onSearch:H,filters:[{name:"status",label:e("Status"),type:"select",value:d,onChange:F,options:ae},{name:"type_id",label:e("Type"),type:"select",value:c,onChange:N,options:me,searchable:!0},{name:"organizer_id",label:e("Organizer"),type:"select",value:u,onChange:O,options:ne,searchable:!0}],showFilters:I,setShowFilters:M,hasActiveFilters:L,activeFilterCount:G,onResetFilters:ee,onApplyFilters:k,currentPerPage:((q=m.per_page)==null?void 0:q.toString())||"10",onPerPageChange:t=>{g.get(route("meetings.meetings.index"),{page:1,per_page:parseInt(t),search:f||void 0,status:d!=="_empty_"?d:void 0,type_id:c!=="_empty_"?c:void 0,organizer_id:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(he,{columns:se,actions:oe,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:K,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:J,permissions:w,entityPermissions:{view:"view-meetings",create:"create-meetings",edit:"edit-meetings",delete:"delete-meetings"}}),o.jsx(be,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("meetings"),onPageChange:t=>g.get(t)})]}),o.jsx(E,{isOpen:$,onClose:()=>_(!1),onSubmit:X,formConfig:{fields:[{name:"title",label:e("Meeting Title"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"type_id",label:e("Meeting Type"),type:"select",required:!0,options:le.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"room_id",label:e("Meeting Room"),type:"select",options:pe.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"meeting_date",label:e("Meeting Date"),type:"date",required:!0},{name:"start_time",label:e("Start Time"),type:"time",required:!0},{name:"end_time",label:e("End Time"),type:"time",required:!0},{name:"organizer_id",label:e("Organizer"),type:"select",required:!0,options:de.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"recurrence",label:e("Recurrence"),type:"select",required:!0,options:[{value:"None",label:e("None")},{value:"Daily",label:e("Daily")},{value:"Weekly",label:e("Weekly")},{value:"Monthly",label:e("Monthly")}]},{name:"recurrence_end_date",label:e("Recurrence End Date"),type:"date",helpText:e("Required for recurring meetings")},{name:"agenda",label:e("Agenda"),type:"textarea",rows:4}],modalSize:"xl"},initialData:l?{...l,meeting_date:l.meeting_date?window.appSettings.formatDateTimeSimple(l.meeting_date,!1):l.meeting_date}:null,title:e(y==="create"?"Schedule New Meeting":"Edit Meeting"),mode:y}),o.jsx(xe,{isOpen:U,onClose:()=>x(!1),onConfirm:Y,itemName:(l==null?void 0:l.title)||"",entityName:"meeting"}),o.jsx(E,{isOpen:B,onClose:()=>b(!1),onSubmit:Z,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"Scheduled",label:e("Scheduled")},{value:"In Progress",label:e("In Progress")},{value:"Completed",label:e("Completed")},{value:"Cancelled",label:e("Cancelled")}]}],modalSize:"sm"},initialData:{status:V},title:e("Update Meeting Status"),mode:"edit",submitButtonText:e("Update Status")}),o.jsx(ye,{open:!!v,onOpenChange:()=>T(null),children:v&&o.jsx(Se,{meeting:v})})]})}export{di as default}; +import{r as n,j as o}from"./ui-Z445SNHD.js";import{P as ce}from"./page-template-CLNVC8w_.js";import{u as ue,c as ge,x as fe,P as _e,r as g,D as ye,t as s}from"./app-Dya84jp7.js";import{C as he}from"./CrudTable-yqxtM6E_.js";import{C as E}from"./CrudFormModal-CsuqSfb2.js";import{C as xe}from"./CrudDeleteModal-D32N6I8y.js";import{P as be}from"./pagination-4PUepASD.js";import{S as ve}from"./search-and-filter-bar-DWH0yn_r.js";import Se from"./view-Bp1EXKNS.js";import{C as Ce}from"./calendar-DuRYaSj5.js";import{C as we}from"./clock-LnEFQ-vK.js";import{U as je}from"./user-77BPqA3J.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function di(){var q;const{t:e}=ue(),{auth:h,meetings:a,meetingTypes:S,meetingRooms:A,employees:C,filters:m={},globalSettings:i}=ge().props,w=(h==null?void 0:h.permissions)||[],[f,j]=n.useState(m.search||""),[d,F]=n.useState(m.status||"_empty_"),[c,N]=n.useState(m.type_id||"_empty_"),[u,O]=n.useState(m.organizer_id||"_empty_"),[I,M]=n.useState(!1),[U,x]=n.useState(!1),[$,_]=n.useState(!1),[B,b]=n.useState(!1),[l,P]=n.useState(null),[y,D]=n.useState("create"),[v,T]=n.useState(null),[V,W]=n.useState(""),L=()=>d!=="_empty_"||c!=="_empty_"||u!=="_empty_"||f!=="",G=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(f!==""?1:0),H=t=>{t.preventDefault(),k()},k=()=>{g.get(route("meetings.meetings.index"),{page:1,search:f||void 0,status:d!=="_empty_"?d:void 0,type_id:c!=="_empty_"?c:void 0,organizer_id:u!=="_empty_"?u:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},J=t=>{const r=m.sort_field===t&&m.sort_direction==="asc"?"desc":"asc";g.get(route("meetings.meetings.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,status:d!=="_empty_"?d:void 0,type_id:c!=="_empty_"?c:void 0,organizer_id:u!=="_empty_"?u:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},K=(t,r)=>{switch(P(r),t){case"view":T(r);break;case"edit":D("edit"),_(!0);break;case"delete":x(!0);break;case"update-status":W(r.status),b(!0);break}},Q=()=>{P(null),D("create"),_(!0)},X=t=>{y==="create"?(i!=null&&i.is_demo||s.loading(e("Creating meeting...")),g.post(route("meetings.meetings.store"),t,{onSuccess:r=>{_(!1),i!=null&&i.is_demo||s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to create meeting: ${Object.values(r).join(", ")}`)}})):y==="edit"&&(i!=null&&i.is_demo||s.loading(e("Updating meeting...")),g.put(route("meetings.meetings.update",l.id),t,{onSuccess:r=>{_(!1),i!=null&&i.is_demo||s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to update meeting: ${Object.values(r).join(", ")}`)}}))},Y=()=>{i!=null&&i.is_demo||s.loading(e("Deleting meeting...")),g.delete(route("meetings.meetings.destroy",l.id),{onSuccess:t=>{x(!1),i!=null&&i.is_demo||s.dismiss(),t.props.flash.success?s.success(e(t.props.flash.success)):t.props.flash.error&&s.error(e(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||s.dismiss(),typeof t=="string"?s.error(t):s.error(`Failed to delete meeting: ${Object.values(t).join(", ")}`)}})},Z=t=>{i!=null&&i.is_demo||s.loading(e("Updating status...")),g.put(route("meetings.meetings.update-status",l.id),{status:t.status},{onSuccess:r=>{b(!1),i!=null&&i.is_demo||s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to update status: ${Object.values(r).join(", ")}`)}})},ee=()=>{j(""),F("_empty_"),N("_empty_"),O("_empty_"),M(!1),g.get(route("meetings.meetings.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},z=[];fe(w,"create-meetings")&&z.push({label:e("Schedule Meeting"),icon:o.jsx(_e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>Q()});const te=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Meetings"),href:route("meetings.meetings.index")},{title:e("Meetings")}],re=t=>{switch(t){case"Scheduled":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"In Progress":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";case"Cancelled":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},ie=t=>t==="None"?"bg-gray-50 text-gray-600 ring-gray-500/10":"bg-purple-50 text-purple-700 ring-purple-600/20",se=[{key:"title",label:e("Meeting"),sortable:!0,render:(t,r)=>{var p,R;return o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:t}),o.jsxs("div",{className:"text-xs text-gray-500 flex items-center gap-1",children:[o.jsx("div",{className:"w-2 h-2 rounded-full",style:{backgroundColor:((p=r.type)==null?void 0:p.color)||"#3B82F6"}}),(R=r.type)==null?void 0:R.name]})]})}},{key:"meeting_date",label:e("Date & Time"),sortable:!0,render:(t,r)=>{var p;return o.jsxs("div",{children:[o.jsxs("div",{className:"font-medium flex items-center gap-1",children:[o.jsx(Ce,{className:"h-4 w-4 text-gray-500"}),((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()]}),o.jsxs("div",{className:"text-xs text-gray-500 flex items-center gap-1",children:[o.jsx(we,{className:"h-3 w-3"}),window.appSettings.formatTime(r.start_time)," - ",window.appSettings.formatTime(r.end_time)]})]})}},{key:"organizer.name",label:e("Organizer"),render:(t,r)=>{var p;return o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(je,{className:"h-4 w-4 text-gray-500"}),((p=r.organizer)==null?void 0:p.name)||"-"]})}},{key:"room.name",label:e("Room"),render:(t,r)=>{var p;return((p=r.room)==null?void 0:p.name)||"-"}},{key:"recurrence",label:e("Recurrence"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ie(t)}`,children:e(t)})},{key:"status",label:e("Status"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${re(t)}`,children:e(t)})}],oe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-meetings"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-meetings"},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"manage-meeting-status"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-meetings"}],ae=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"Scheduled",label:e("Scheduled")},{value:"In Progress",label:e("In Progress")},{value:"Completed",label:e("Completed")},{value:"Cancelled",label:e("Cancelled")}],me=[{value:"_empty_",label:e("All Types"),disabled:!0},...(S||[]).map(t=>({value:t.id.toString(),label:t.name}))],ne=[{value:"_empty_",label:e("All Organizers"),disabled:!0},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))],le=[{value:"_empty_",label:e("Select Type")},...(S||[]).map(t=>({value:t.id.toString(),label:t.name}))],pe=[{value:"_empty_",label:e("Select Room")},...(A||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.type})`}))],de=[{value:"_empty_",label:e("Select Organizer")},...(C||[]).map(t=>({value:t.id.toString(),label:t.name}))];return o.jsxs(ce,{title:e("Meetings"),url:"/meetings/meetings",actions:z,breadcrumbs:te,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ve,{searchTerm:f,onSearchChange:j,onSearch:H,filters:[{name:"status",label:e("Status"),type:"select",value:d,onChange:F,options:ae},{name:"type_id",label:e("Type"),type:"select",value:c,onChange:N,options:me,searchable:!0},{name:"organizer_id",label:e("Organizer"),type:"select",value:u,onChange:O,options:ne,searchable:!0}],showFilters:I,setShowFilters:M,hasActiveFilters:L,activeFilterCount:G,onResetFilters:ee,onApplyFilters:k,currentPerPage:((q=m.per_page)==null?void 0:q.toString())||"10",onPerPageChange:t=>{g.get(route("meetings.meetings.index"),{page:1,per_page:parseInt(t),search:f||void 0,status:d!=="_empty_"?d:void 0,type_id:c!=="_empty_"?c:void 0,organizer_id:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(he,{columns:se,actions:oe,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:K,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:J,permissions:w,entityPermissions:{view:"view-meetings",create:"create-meetings",edit:"edit-meetings",delete:"delete-meetings"}}),o.jsx(be,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("meetings"),onPageChange:t=>g.get(t)})]}),o.jsx(E,{isOpen:$,onClose:()=>_(!1),onSubmit:X,formConfig:{fields:[{name:"title",label:e("Meeting Title"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"type_id",label:e("Meeting Type"),type:"select",required:!0,options:le.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"room_id",label:e("Meeting Room"),type:"select",options:pe.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"meeting_date",label:e("Meeting Date"),type:"date",required:!0},{name:"start_time",label:e("Start Time"),type:"time",required:!0},{name:"end_time",label:e("End Time"),type:"time",required:!0},{name:"organizer_id",label:e("Organizer"),type:"select",required:!0,options:de.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"recurrence",label:e("Recurrence"),type:"select",required:!0,options:[{value:"None",label:e("None")},{value:"Daily",label:e("Daily")},{value:"Weekly",label:e("Weekly")},{value:"Monthly",label:e("Monthly")}]},{name:"recurrence_end_date",label:e("Recurrence End Date"),type:"date",helpText:e("Required for recurring meetings")},{name:"agenda",label:e("Agenda"),type:"textarea",rows:4}],modalSize:"xl"},initialData:l?{...l,meeting_date:l.meeting_date?window.appSettings.formatDateTimeSimple(l.meeting_date,!1):l.meeting_date}:null,title:e(y==="create"?"Schedule New Meeting":"Edit Meeting"),mode:y}),o.jsx(xe,{isOpen:U,onClose:()=>x(!1),onConfirm:Y,itemName:(l==null?void 0:l.title)||"",entityName:"meeting"}),o.jsx(E,{isOpen:B,onClose:()=>b(!1),onSubmit:Z,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"Scheduled",label:e("Scheduled")},{value:"In Progress",label:e("In Progress")},{value:"Completed",label:e("Completed")},{value:"Cancelled",label:e("Cancelled")}]}],modalSize:"sm"},initialData:{status:V},title:e("Update Meeting Status"),mode:"edit",submitButtonText:e("Update Status")}),o.jsx(ye,{open:!!v,onOpenChange:()=>T(null),children:v&&o.jsx(Se,{meeting:v})})]})}export{di as default}; diff --git a/public/build/assets/index-FKx2V6xd.js b/public/build/assets/index-CR7ebXL8.js similarity index 69% rename from public/build/assets/index-FKx2V6xd.js rename to public/build/assets/index-CR7ebXL8.js index 0b810403a..62c5e8b85 100644 --- a/public/build/assets/index-FKx2V6xd.js +++ b/public/build/assets/index-CR7ebXL8.js @@ -1 +1 @@ -import{r as p,j as a}from"./ui-Z445SNHD.js";import{P as me}from"./page-template-BTxLyiDA.js";import{u as ce,c as ue,F as he,x as ge,P as ye,B as u,r as h,D as fe,t as o}from"./app-CfhhiFAk.js";import{C as be}from"./CrudTable-qPWooc10.js";import{C as ve}from"./CrudFormModal-DAR9q-oM.js";import{C as xe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as _e}from"./pagination-D8A_HnL5.js";import{S as Se}from"./search-and-filter-bar-6Pp-FsiR.js";import Ce from"./view-BTXCtQpe.js";import{C as De}from"./calendar-CfUpdaK5.js";import{D as we}from"./download-Bk1k2_dW.js";import{d as je}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ca(){var Y,B;const{t:e}=ce(),{auth:_,holidays:i,branches:$,categories:I,years:L,filters:l={}}=ue().props,D=(_==null?void 0:_.permissions)||[],[g,w]=p.useState(l.search||""),[d,j]=p.useState(l.category||""),[m,F]=p.useState(l.branch_id||""),[c,N]=p.useState(l.year||new Date().getFullYear().toString()),[y,k]=p.useState(l.date_from||""),[f,P]=p.useState(l.date_to||""),[U,H]=p.useState(!1),[V,S]=p.useState(!1),[W,b]=p.useState(!1),[n,T]=p.useState(null),[x,A]=p.useState("create"),[C,E]=p.useState(null),z=()=>d!==""||m!==""||c!==new Date().getFullYear().toString()||y!==""||f!==""||g!=="",G=()=>(d!==""?1:0)+(m!==""?1:0)+(c!==new Date().getFullYear().toString()?1:0)+(y!==""?1:0)+(f!==""?1:0)+(g!==""?1:0),J=t=>{t.preventDefault(),O()},O=()=>{h.get(route("hr.holidays.index"),{page:1,search:g||void 0,category:d||void 0,branch_id:m||void 0,year:c||void 0,date_from:y||void 0,date_to:f||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},K=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";h.get(route("hr.holidays.index"),{sort_field:t,sort_direction:r,page:1,search:g||void 0,category:d||void 0,branch_id:m||void 0,year:c||void 0,date_from:y||void 0,date_to:f||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},Q=(t,r)=>{switch(T(r),t){case"view":E(r);break;case"edit":A("edit"),b(!0);break;case"delete":S(!0);break}},X=()=>{T(null),A("create"),b(!0)},Z=t=>{x==="create"?(o.loading(e("Creating holiday...")),h.post(route("hr.holidays.store"),t,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Holiday created successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(e(`Failed to create holiday: ${Object.values(r).join(", ")}`))}})):x==="edit"&&(o.loading(e("Updating holiday...")),h.put(route("hr.holidays.update",n.id),t,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Holiday updated successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(e(`Failed to update holiday: ${Object.values(r).join(", ")}`))}}))},ee=()=>{o.loading(e("Deleting holiday...")),h.delete(route("hr.holidays.destroy",n.id),{onSuccess:t=>{S(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error?o.error(e(t.props.flash.error)):o.success(e("Holiday deleted successfully"))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(t):o.error(e(`Failed to delete holiday: ${Object.values(t).join(", ")}`))}})},te=()=>{w(""),j(""),F(""),N(new Date().getFullYear().toString()),k(""),P(""),H(!1),h.get(route("hr.holidays.index"),{page:1,year:new Date().getFullYear().toString(),per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},re=()=>{h.visit(route("hr.holidays.calendar"),{method:"get",data:{year:c||new Date().getFullYear().toString(),category:d||void 0,branch_id:m||void 0}})},ae=()=>{const t=new URLSearchParams({year:c||new Date().getFullYear().toString(),...d&&{category:d},...m&&{branch_id:m}});window.open(`${route("hr.holidays.export.pdf")}?${t.toString()}`,"_blank")},oe=()=>{const t=new URLSearchParams({year:c||new Date().getFullYear().toString(),...d&&{category:d},...m&&{branch_id:m}});window.open(`${route("hr.holidays.export.ical")}?${t.toString()}`,"_blank")},v=[];v.push({label:e("Calendar View"),icon:a.jsx(De,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:re}),v.push({label:e("Export PDF"),icon:a.jsx(he,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ae}),v.push({label:e("Export iCal"),icon:a.jsx(we,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:oe}),ge(D,"create-holidays")&&v.push({label:e("Add Holiday"),icon:a.jsx(ye,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const ie=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.holidays.index")},{title:e("Holidays")}],se=[{key:"name",label:e("Holiday Name"),sortable:!0,render:t=>t||"-"},{key:"date",label:e("Date"),sortable:!0,render:(t,r)=>{var s,M,q;return r.end_date&&r.start_date!==r.end_date?a.jsxs("div",{children:[a.jsx("div",{children:((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(r.start_date,!1))||new Date(r.start_date).toLocaleDateString()}),a.jsx("div",{className:"text-xs text-gray-500",children:"to"}),a.jsx("div",{children:((M=window.appSettings)==null?void 0:M.formatDateTimeSimple(r.end_date,!1))||new Date(r.end_date).toLocaleDateString()}),a.jsxs("div",{className:"text-xs text-gray-500",children:["(",je(new Date(r.end_date),new Date(r.start_date))+1," days)"]})]}):((q=window.appSettings)==null?void 0:q.formatDateTimeSimple(r.start_date,!1))||new Date(r.start_date).toLocaleDateString()}},{key:"category",label:e("Category"),render:t=>{const s={national:"bg-blue-50 text-blue-700 ring-blue-600/20",religious:"bg-purple-50 text-purple-700 ring-purple-600/20","company-specific":"bg-green-50 text-green-700 ring-green-600/20",regional:"bg-amber-50 text-amber-700 ring-amber-600/20"}[t]||"bg-gray-50 text-gray-700 ring-gray-600/20";return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"branches",label:e("Branches"),render:(t,r)=>!r.branches||r.branches.length===0?"-":r.branches.length<=2?a.jsx("div",{className:"flex flex-wrap gap-1",children:r.branches.map(s=>a.jsx(u,{variant:"outline",children:s.name},s.id))}):a.jsxs("div",{className:"flex flex-wrap gap-1",children:[a.jsx(u,{variant:"outline",children:r.branches[0].name}),a.jsxs(u,{variant:"outline",children:["+",r.branches.length-1," more"]})]})},{key:"type",label:e("Type"),render:(t,r)=>{const s=[];return r.holiday_type==="regular"?s.push(a.jsx(u,{variant:"secondary",className:"bg-red-50 text-red-700 hover:bg-red-50",children:e("Regular Holiday (100%)")},"regular")):r.holiday_type==="special_non_working"?s.push(a.jsx(u,{variant:"secondary",className:"bg-yellow-50 text-yellow-700 hover:bg-yellow-50",children:e("Special Non-Working (30%)")},"special")):s.push(a.jsx(u,{variant:"secondary",className:"bg-gray-50 text-gray-500 hover:bg-gray-50",children:e("Not Set")},"unset")),r.is_half_day&&s.push(a.jsx(u,{variant:"secondary",className:"bg-orange-50 text-orange-700 hover:bg-orange-50",children:e("Half Day")},"half-day")),r.is_paid?s.push(a.jsx(u,{variant:"secondary",className:"bg-green-50 text-green-700 hover:bg-green-50",children:e("Paid")},"paid")):s.push(a.jsx(u,{variant:"secondary",className:"bg-red-50 text-red-700 hover:bg-red-50",children:e("Unpaid")},"unpaid")),a.jsx("div",{className:"flex flex-wrap gap-1",children:s})}}],le=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-holidays"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-holidays"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-holidays"}],ne=[{value:"",label:e("All Categories")},...(I||[]).map(t=>({value:t,label:t.charAt(0).toUpperCase()+t.slice(1)}))],R=[{value:"",label:e("All Branches")},...($||[]).map(t=>({value:t.id.toString(),label:t.name}))],pe=[...(L||[]).map(t=>({value:t.toString(),label:t.toString()}))],de=[{value:"national",label:e("National")},{value:"religious",label:e("Religious")},{value:"company-specific",label:e("Company Specific")},{value:"regional",label:e("Regional")}];return a.jsxs(me,{title:e("Holidays"),url:"/hr/holidays",actions:v,breadcrumbs:ie,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(Se,{searchTerm:g,onSearchChange:w,onSearch:J,filters:[{name:"category",label:e("Category"),type:"select",value:d,onChange:j,options:ne},{name:"branch_id",label:e("Branch"),type:"select",value:m,onChange:F,options:R},{name:"year",label:e("Year"),type:"select",value:c,onChange:N,options:pe},{name:"date_from",label:e("Date From"),type:"date",value:y,onChange:k},{name:"date_to",label:e("Date To"),type:"date",value:f,onChange:P}],showFilters:U,setShowFilters:H,hasActiveFilters:z,activeFilterCount:G,onResetFilters:te,onApplyFilters:O,currentPerPage:((Y=l.per_page)==null?void 0:Y.toString())||"10",onPerPageChange:t=>{h.get(route("hr.holidays.index"),{page:1,per_page:parseInt(t),search:g||void 0,category:d||void 0,branch_id:m||void 0,year:c||void 0,date_from:y||void 0,date_to:f||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(be,{columns:se,actions:le,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:Q,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:K,permissions:D,entityPermissions:{view:"view-holidays",create:"create-holidays",edit:"edit-holidays",delete:"delete-holidays"}}),a.jsx(_e,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("holidays"),onPageChange:t=>h.get(t)})]}),a.jsx(ve,{isOpen:W,onClose:()=>b(!1),onSubmit:Z,formConfig:{fields:[{name:"name",label:e("Holiday Name"),type:"text",required:!0},{name:"holiday_type",label:e("Holiday Type"),type:"select",required:!0,options:[{value:"regular",label:e("Regular Holiday (100% Premium)")},{value:"special_non_working",label:e("Special Non-Working Holiday (30% Premium)")}],helpText:e("Regular = double pay if worked. Special = 30% extra if worked.")},{name:"category",label:e("Category"),type:"select",required:!0,options:de},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",helpText:e("Leave empty for single-day holiday")},{name:"description",label:e("Description"),type:"textarea"},{name:"is_paid",label:e("Paid Holiday"),type:"checkbox",defaultValue:!0},{name:"is_half_day",label:e("Half Day"),type:"checkbox"},{name:"branch_ids",label:e("Applicable Branches"),type:"multi-select",required:!0,options:R.filter(t=>t.value!=="")}],modalSize:"lg"},initialData:n?{...n,start_date:n.start_date?n.start_date.split("T")[0]:"",end_date:n.end_date?n.end_date.split("T")[0]:"",branch_ids:(B=n.branches)==null?void 0:B.map(t=>t.id.toString())}:null,title:e(x==="create"?"Add New Holiday":"Edit Holiday"),mode:x}),a.jsx(xe,{isOpen:V,onClose:()=>S(!1),onConfirm:ee,itemName:(n==null?void 0:n.name)||"",entityName:"holiday"}),a.jsx(fe,{open:!!C,onOpenChange:()=>E(null),children:C&&a.jsx(Ce,{holiday:C})})]})}export{ca as default}; +import{r as p,j as a}from"./ui-Z445SNHD.js";import{P as me}from"./page-template-CLNVC8w_.js";import{u as ce,c as ue,F as he,x as ge,P as ye,B as u,r as h,D as fe,t as o}from"./app-Dya84jp7.js";import{C as be}from"./CrudTable-yqxtM6E_.js";import{C as ve}from"./CrudFormModal-CsuqSfb2.js";import{C as xe}from"./CrudDeleteModal-D32N6I8y.js";import{P as _e}from"./pagination-4PUepASD.js";import{S as Se}from"./search-and-filter-bar-DWH0yn_r.js";import Ce from"./view-Kypihw2t.js";import{C as De}from"./calendar-DuRYaSj5.js";import{D as we}from"./download-BBNmalxc.js";import{d as je}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ca(){var Y,B;const{t:e}=ce(),{auth:_,holidays:i,branches:$,categories:I,years:L,filters:l={}}=ue().props,D=(_==null?void 0:_.permissions)||[],[g,w]=p.useState(l.search||""),[d,j]=p.useState(l.category||""),[m,F]=p.useState(l.branch_id||""),[c,N]=p.useState(l.year||new Date().getFullYear().toString()),[y,k]=p.useState(l.date_from||""),[f,P]=p.useState(l.date_to||""),[U,H]=p.useState(!1),[V,S]=p.useState(!1),[W,b]=p.useState(!1),[n,T]=p.useState(null),[x,A]=p.useState("create"),[C,E]=p.useState(null),z=()=>d!==""||m!==""||c!==new Date().getFullYear().toString()||y!==""||f!==""||g!=="",G=()=>(d!==""?1:0)+(m!==""?1:0)+(c!==new Date().getFullYear().toString()?1:0)+(y!==""?1:0)+(f!==""?1:0)+(g!==""?1:0),J=t=>{t.preventDefault(),O()},O=()=>{h.get(route("hr.holidays.index"),{page:1,search:g||void 0,category:d||void 0,branch_id:m||void 0,year:c||void 0,date_from:y||void 0,date_to:f||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},K=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";h.get(route("hr.holidays.index"),{sort_field:t,sort_direction:r,page:1,search:g||void 0,category:d||void 0,branch_id:m||void 0,year:c||void 0,date_from:y||void 0,date_to:f||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},Q=(t,r)=>{switch(T(r),t){case"view":E(r);break;case"edit":A("edit"),b(!0);break;case"delete":S(!0);break}},X=()=>{T(null),A("create"),b(!0)},Z=t=>{x==="create"?(o.loading(e("Creating holiday...")),h.post(route("hr.holidays.store"),t,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Holiday created successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(e(`Failed to create holiday: ${Object.values(r).join(", ")}`))}})):x==="edit"&&(o.loading(e("Updating holiday...")),h.put(route("hr.holidays.update",n.id),t,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error?o.error(e(r.props.flash.error)):o.success(e("Holiday updated successfully"))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(e(`Failed to update holiday: ${Object.values(r).join(", ")}`))}}))},ee=()=>{o.loading(e("Deleting holiday...")),h.delete(route("hr.holidays.destroy",n.id),{onSuccess:t=>{S(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error?o.error(e(t.props.flash.error)):o.success(e("Holiday deleted successfully"))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(t):o.error(e(`Failed to delete holiday: ${Object.values(t).join(", ")}`))}})},te=()=>{w(""),j(""),F(""),N(new Date().getFullYear().toString()),k(""),P(""),H(!1),h.get(route("hr.holidays.index"),{page:1,year:new Date().getFullYear().toString(),per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},re=()=>{h.visit(route("hr.holidays.calendar"),{method:"get",data:{year:c||new Date().getFullYear().toString(),category:d||void 0,branch_id:m||void 0}})},ae=()=>{const t=new URLSearchParams({year:c||new Date().getFullYear().toString(),...d&&{category:d},...m&&{branch_id:m}});window.open(`${route("hr.holidays.export.pdf")}?${t.toString()}`,"_blank")},oe=()=>{const t=new URLSearchParams({year:c||new Date().getFullYear().toString(),...d&&{category:d},...m&&{branch_id:m}});window.open(`${route("hr.holidays.export.ical")}?${t.toString()}`,"_blank")},v=[];v.push({label:e("Calendar View"),icon:a.jsx(De,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:re}),v.push({label:e("Export PDF"),icon:a.jsx(he,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ae}),v.push({label:e("Export iCal"),icon:a.jsx(we,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:oe}),ge(D,"create-holidays")&&v.push({label:e("Add Holiday"),icon:a.jsx(ye,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const ie=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.holidays.index")},{title:e("Holidays")}],se=[{key:"name",label:e("Holiday Name"),sortable:!0,render:t=>t||"-"},{key:"date",label:e("Date"),sortable:!0,render:(t,r)=>{var s,M,q;return r.end_date&&r.start_date!==r.end_date?a.jsxs("div",{children:[a.jsx("div",{children:((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(r.start_date,!1))||new Date(r.start_date).toLocaleDateString()}),a.jsx("div",{className:"text-xs text-gray-500",children:"to"}),a.jsx("div",{children:((M=window.appSettings)==null?void 0:M.formatDateTimeSimple(r.end_date,!1))||new Date(r.end_date).toLocaleDateString()}),a.jsxs("div",{className:"text-xs text-gray-500",children:["(",je(new Date(r.end_date),new Date(r.start_date))+1," days)"]})]}):((q=window.appSettings)==null?void 0:q.formatDateTimeSimple(r.start_date,!1))||new Date(r.start_date).toLocaleDateString()}},{key:"category",label:e("Category"),render:t=>{const s={national:"bg-blue-50 text-blue-700 ring-blue-600/20",religious:"bg-purple-50 text-purple-700 ring-purple-600/20","company-specific":"bg-green-50 text-green-700 ring-green-600/20",regional:"bg-amber-50 text-amber-700 ring-amber-600/20"}[t]||"bg-gray-50 text-gray-700 ring-gray-600/20";return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"branches",label:e("Branches"),render:(t,r)=>!r.branches||r.branches.length===0?"-":r.branches.length<=2?a.jsx("div",{className:"flex flex-wrap gap-1",children:r.branches.map(s=>a.jsx(u,{variant:"outline",children:s.name},s.id))}):a.jsxs("div",{className:"flex flex-wrap gap-1",children:[a.jsx(u,{variant:"outline",children:r.branches[0].name}),a.jsxs(u,{variant:"outline",children:["+",r.branches.length-1," more"]})]})},{key:"type",label:e("Type"),render:(t,r)=>{const s=[];return r.holiday_type==="regular"?s.push(a.jsx(u,{variant:"secondary",className:"bg-red-50 text-red-700 hover:bg-red-50",children:e("Regular Holiday (100%)")},"regular")):r.holiday_type==="special_non_working"?s.push(a.jsx(u,{variant:"secondary",className:"bg-yellow-50 text-yellow-700 hover:bg-yellow-50",children:e("Special Non-Working (30%)")},"special")):s.push(a.jsx(u,{variant:"secondary",className:"bg-gray-50 text-gray-500 hover:bg-gray-50",children:e("Not Set")},"unset")),r.is_half_day&&s.push(a.jsx(u,{variant:"secondary",className:"bg-orange-50 text-orange-700 hover:bg-orange-50",children:e("Half Day")},"half-day")),r.is_paid?s.push(a.jsx(u,{variant:"secondary",className:"bg-green-50 text-green-700 hover:bg-green-50",children:e("Paid")},"paid")):s.push(a.jsx(u,{variant:"secondary",className:"bg-red-50 text-red-700 hover:bg-red-50",children:e("Unpaid")},"unpaid")),a.jsx("div",{className:"flex flex-wrap gap-1",children:s})}}],le=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-holidays"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-holidays"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-holidays"}],ne=[{value:"",label:e("All Categories")},...(I||[]).map(t=>({value:t,label:t.charAt(0).toUpperCase()+t.slice(1)}))],R=[{value:"",label:e("All Branches")},...($||[]).map(t=>({value:t.id.toString(),label:t.name}))],pe=[...(L||[]).map(t=>({value:t.toString(),label:t.toString()}))],de=[{value:"national",label:e("National")},{value:"religious",label:e("Religious")},{value:"company-specific",label:e("Company Specific")},{value:"regional",label:e("Regional")}];return a.jsxs(me,{title:e("Holidays"),url:"/hr/holidays",actions:v,breadcrumbs:ie,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(Se,{searchTerm:g,onSearchChange:w,onSearch:J,filters:[{name:"category",label:e("Category"),type:"select",value:d,onChange:j,options:ne},{name:"branch_id",label:e("Branch"),type:"select",value:m,onChange:F,options:R},{name:"year",label:e("Year"),type:"select",value:c,onChange:N,options:pe},{name:"date_from",label:e("Date From"),type:"date",value:y,onChange:k},{name:"date_to",label:e("Date To"),type:"date",value:f,onChange:P}],showFilters:U,setShowFilters:H,hasActiveFilters:z,activeFilterCount:G,onResetFilters:te,onApplyFilters:O,currentPerPage:((Y=l.per_page)==null?void 0:Y.toString())||"10",onPerPageChange:t=>{h.get(route("hr.holidays.index"),{page:1,per_page:parseInt(t),search:g||void 0,category:d||void 0,branch_id:m||void 0,year:c||void 0,date_from:y||void 0,date_to:f||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(be,{columns:se,actions:le,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:Q,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:K,permissions:D,entityPermissions:{view:"view-holidays",create:"create-holidays",edit:"edit-holidays",delete:"delete-holidays"}}),a.jsx(_e,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("holidays"),onPageChange:t=>h.get(t)})]}),a.jsx(ve,{isOpen:W,onClose:()=>b(!1),onSubmit:Z,formConfig:{fields:[{name:"name",label:e("Holiday Name"),type:"text",required:!0},{name:"holiday_type",label:e("Holiday Type"),type:"select",required:!0,options:[{value:"regular",label:e("Regular Holiday (100% Premium)")},{value:"special_non_working",label:e("Special Non-Working Holiday (30% Premium)")}],helpText:e("Regular = double pay if worked. Special = 30% extra if worked.")},{name:"category",label:e("Category"),type:"select",required:!0,options:de},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",helpText:e("Leave empty for single-day holiday")},{name:"description",label:e("Description"),type:"textarea"},{name:"is_paid",label:e("Paid Holiday"),type:"checkbox",defaultValue:!0},{name:"is_half_day",label:e("Half Day"),type:"checkbox"},{name:"branch_ids",label:e("Applicable Branches"),type:"multi-select",required:!0,options:R.filter(t=>t.value!=="")}],modalSize:"lg"},initialData:n?{...n,start_date:n.start_date?n.start_date.split("T")[0]:"",end_date:n.end_date?n.end_date.split("T")[0]:"",branch_ids:(B=n.branches)==null?void 0:B.map(t=>t.id.toString())}:null,title:e(x==="create"?"Add New Holiday":"Edit Holiday"),mode:x}),a.jsx(xe,{isOpen:V,onClose:()=>S(!1),onConfirm:ee,itemName:(n==null?void 0:n.name)||"",entityName:"holiday"}),a.jsx(fe,{open:!!C,onOpenChange:()=>E(null),children:C&&a.jsx(Ce,{holiday:C})})]})}export{ca as default}; diff --git a/public/build/assets/index-CRuRrZQd.js b/public/build/assets/index-CYs3geP5.js similarity index 69% rename from public/build/assets/index-CRuRrZQd.js rename to public/build/assets/index-CYs3geP5.js index cd0386797..3273999f3 100644 --- a/public/build/assets/index-CRuRrZQd.js +++ b/public/build/assets/index-CYs3geP5.js @@ -1 +1 @@ -import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as de}from"./page-template-BTxLyiDA.js";import{u as ce,c as ue,x as ge,P as he,F as fe,g as be,r as d,M as ve,D as ye,t as r}from"./app-CfhhiFAk.js";import{C as xe}from"./CrudTable-qPWooc10.js";import{C as z}from"./CrudFormModal-DAR9q-oM.js";import{C as _e}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Se}from"./pagination-D8A_HnL5.js";import{S as we}from"./search-and-filter-bar-6Pp-FsiR.js";import je from"./view-BJnRcI3c.js";import{u as Ce}from"./use-initials-BK4eRgYY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function cr(){var M,I,q,$,W;const{t:e}=ce(),{auth:y,resignations:n,employees:B,filters:l={}}=ue().props,w=(y==null?void 0:y.permissions)||[],H=Ce(),[c,j]=p.useState(l.search||""),[u,C]=p.useState(l.employee_id||""),[m,k]=p.useState(l.status||"all"),[g,D]=p.useState(l.date_from||""),[h,F]=p.useState(l.date_to||""),[G,P]=p.useState(!1),[J,x]=p.useState(!1),[K,f]=p.useState(!1),[Q,_]=p.useState(!1),[a,E]=p.useState(null),[b,N]=p.useState("create"),[S,R]=p.useState(null),X=()=>u!==""||m!=="all"||g!==""||h!==""||c!=="",Y=()=>(u!==""?1:0)+(m!=="all"?1:0)+(g!==""?1:0)+(h!==""?1:0)+(c!==""?1:0),Z=t=>{t.preventDefault(),O()},O=()=>{d.get(route("hr.resignations.index"),{page:1,search:c||void 0,employee_id:u||void 0,status:m!=="all"?m:void 0,date_from:g||void 0,date_to:h||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},ee=t=>{const i=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";d.get(route("hr.resignations.index"),{sort_field:t,sort_direction:i,page:1,search:c||void 0,employee_id:u||void 0,status:m!=="all"?m:void 0,date_from:g||void 0,date_to:h||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},te=(t,i)=>{switch(E(i),t){case"view":R(i);break;case"edit":N("edit"),f(!0);break;case"delete":x(!0);break;case"change-status":_(!0);break;case"download-document":window.open(route("hr.resignations.download-document",i.id),"_blank");break}},ie=()=>{E(null),N("create"),f(!0)},re=t=>{const i=t;b==="create"?(r.loading(e("Creating resignation...")),d.post(route("hr.resignations.store"),i,{onSuccess:o=>{f(!1),r.dismiss(),o.props.flash.success?r.success(e(o.props.flash.success)):o.props.flash.error?r.error(e(o.props.flash.error)):r.success(e("Resignation created successfully"))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(e(o)):r.error(e(`Failed to create resignation: ${Object.values(o).join(", ")}`))}})):b==="edit"&&(r.loading(e("Updating resignation...")),d.put(route("hr.resignations.update",a.id),i,{onSuccess:o=>{f(!1),r.dismiss(),o.props.flash.success?r.success(e(o.props.flash.success)):o.props.flash.error?r.error(e(o.props.flash.error)):r.success(e("Resignation updated successfully"))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(o):r.error(e(`Failed to update resignation: ${Object.values(o).join(", ")}`))}}))},oe=t=>{r.loading(e("Updating resignation status...")),d.put(route("hr.resignations.change-status",a.id),t,{onSuccess:i=>{_(!1),r.dismiss(),i.props.flash.success?r.success(e(i.props.flash.success)):i.props.flash.error?r.error(e(i.props.flash.error)):r.success(e("Resignation status updated successfully"))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(i):r.error(e(`Failed to update resignation status: ${Object.values(i).join(", ")}`))}})},se=()=>{r.loading(e("Deleting resignation...")),d.delete(route("hr.resignations.destroy",a.id),{onSuccess:t=>{x(!1),r.dismiss(),t.props.flash.success?r.success(e(t.props.flash.success)):t.props.flash.error?r.error(e(t.props.flash.error)):r.success(e("Resignation deleted successfully"))},onError:t=>{r.dismiss(),typeof t=="string"?r.error(t):r.error(e(`Failed to delete resignation: ${Object.values(t).join(", ")}`))}})},ae=()=>{j(""),C(""),k("all"),D(""),F(""),P(!1),d.get(route("hr.resignations.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},A=[];ge(w,"create-resignations")&&A.push({label:e("Add Resignation"),icon:s.jsx(he,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ie()});const ne=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.resignations.index")},{title:e("Resignations")}],le=[{key:"employee.name",label:e("Employee"),render:(t,i)=>{var o,v,V,L,U;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(o=i.employee)!=null&&o.avatar?s.jsx("img",{src:i.employee.avatar,alt:(v=i.employee)==null?void 0:v.name,className:"h-full w-full object-cover"}):H(((V=i.employee)==null?void 0:V.name)||"")}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((L=i.employee)==null?void 0:L.name)||"-"}),s.jsx("div",{className:"text-sm text-muted-foreground",children:((U=i.employee)==null?void 0:U.email)||""})]})]})}},{key:"resignation_date",label:e("Resignation Date"),sortable:!0,render:t=>{var i;return t?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"last_working_day",label:e("Last Working Day"),sortable:!0,render:t=>{var i;return t?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"notice_period",label:e("Notice Period"),render:t=>t||"-"},{key:"status",label:e("Status"),render:t=>{const i={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20",completed:"bg-blue-50 text-blue-700 ring-blue-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${i[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"documents",label:e("Documents"),render:(t,i)=>t&&t.trim()!==""?s.jsx("a",{href:be(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:s.jsx(fe,{className:"h-4 w-4"})}):"-"}],pe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-resignations"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-resignations"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:["approve-resignations","reject-resignations"]},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-resignations"}],T=[{value:"",label:e("All Employees")},...(B||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],me=[{value:"all",label:e("All Statuses")},{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")},{value:"completed",label:e("Completed")}];return s.jsxs(de,{title:e("Resignations"),url:"/hr/resignations",actions:A,breadcrumbs:ne,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(we,{searchTerm:c,onSearchChange:j,onSearch:Z,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:u,onChange:C,options:T,searchable:!0},{name:"status",label:e("Status"),type:"select",value:m,onChange:k,options:me},{name:"date_from",label:e("Date From"),type:"date",value:g,onChange:D},{name:"date_to",label:e("Date To"),type:"date",value:h,onChange:F}],showFilters:G,setShowFilters:P,hasActiveFilters:X,activeFilterCount:Y,onResetFilters:ae,onApplyFilters:O,currentPerPage:((M=l.per_page)==null?void 0:M.toString())||"10",onPerPageChange:t=>{d.get(route("hr.resignations.index"),{page:1,per_page:parseInt(t),search:c||void 0,employee_id:u||void 0,status:m!=="all"?m:void 0,date_from:g||void 0,date_to:h||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(xe,{columns:le,actions:pe,data:(n==null?void 0:n.data)||[],from:(n==null?void 0:n.from)||1,onAction:te,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:ee,permissions:w,entityPermissions:{view:"view-resignations",create:"create-resignations",edit:"edit-resignations",delete:"delete-resignations"}}),s.jsx(Se,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:e("resignations"),onPageChange:t=>d.get(t)})]}),s.jsx(z,{isOpen:K,onClose:()=>f(!1),onSubmit:re,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:T.filter(t=>t.value!==""),searchable:!0},{name:"resignation_date",label:e("Resignation Date"),type:"date",required:!0},{name:"last_working_day",label:e("Last Working Day"),type:"date",required:!0},{name:"notice_period",label:e("Notice Period"),type:"text",placeholder:"e.g. 1 month, 2 weeks"},{name:"reason",label:e("Reason"),type:"text"},{name:"description",label:e("Description"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,i,o)=>s.jsx(ve,{value:String(i[t.name]||""),onChange:v=>o(t.name,v),placeholder:e("Select document file...")})},...b==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"pending",label:"Pending"},{value:"approved",label:"Approved"},{value:"rejected",label:"Rejected"},{value:"completed",label:"Completed"}]},{name:"exit_interview_conducted",label:e("Exit Interview Conducted"),type:"checkbox"},{name:"exit_interview_date",label:e("Exit Interview Date"),type:"date",showWhen:t=>t.exit_interview_conducted},{name:"exit_feedback",label:e("Exit Feedback"),type:"textarea",showWhen:t=>t.status==="completed"}]:[]],modalSize:"lg"},initialData:a?{...a,employee_id:((I=a.employee_id)==null?void 0:I.toString())||(($=(q=a.employee)==null?void 0:q.id)==null?void 0:$.toString())||"",resignation_date:a.resignation_date?a.resignation_date.split("T")[0]:"",last_working_day:a.last_working_day?a.last_working_day.split("T")[0]:"",exit_interview_date:a.exit_interview_date?a.exit_interview_date.split("T")[0]:""}:null,title:e(b==="create"?"Add New Resignation":"Edit Resignation"),mode:b}),s.jsx(z,{isOpen:Q,onClose:()=>_(!1),onSubmit:oe,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"pending",label:"Pending"},{value:"approved",label:"Approved"},{value:"rejected",label:"Rejected"},{value:"completed",label:"Completed"}],defaultValue:a==null?void 0:a.status},{name:"exit_interview_conducted",label:e("Exit Interview Conducted"),type:"checkbox",showWhen:t=>t.status==="completed"},{name:"exit_interview_date",label:e("Exit Interview Date"),type:"date",showWhen:t=>t.status==="completed"&&t.exit_interview_conducted},{name:"exit_feedback",label:e("Exit Feedback"),type:"textarea",showWhen:t=>t.status==="completed"}],modalSize:"md"},initialData:a,title:e("Change Resignation Status"),mode:"edit"}),s.jsx(_e,{isOpen:J,onClose:()=>x(!1),onConfirm:se,itemName:`${((W=a==null?void 0:a.employee)==null?void 0:W.name)||""}`,entityName:"resignation"}),s.jsx(ye,{open:!!S,onOpenChange:()=>R(null),children:S&&s.jsx(je,{resignation:S})})]})}export{cr as default}; +import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as de}from"./page-template-CLNVC8w_.js";import{u as ce,c as ue,x as ge,P as he,F as fe,g as be,r as d,M as ve,D as ye,t as r}from"./app-Dya84jp7.js";import{C as xe}from"./CrudTable-yqxtM6E_.js";import{C as z}from"./CrudFormModal-CsuqSfb2.js";import{C as _e}from"./CrudDeleteModal-D32N6I8y.js";import{P as Se}from"./pagination-4PUepASD.js";import{S as we}from"./search-and-filter-bar-DWH0yn_r.js";import je from"./view-DCegI9ZM.js";import{u as Ce}from"./use-initials-BK4eRgYY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function cr(){var M,I,q,$,W;const{t:e}=ce(),{auth:y,resignations:n,employees:B,filters:l={}}=ue().props,w=(y==null?void 0:y.permissions)||[],H=Ce(),[c,j]=p.useState(l.search||""),[u,C]=p.useState(l.employee_id||""),[m,k]=p.useState(l.status||"all"),[g,D]=p.useState(l.date_from||""),[h,F]=p.useState(l.date_to||""),[G,P]=p.useState(!1),[J,x]=p.useState(!1),[K,f]=p.useState(!1),[Q,_]=p.useState(!1),[a,E]=p.useState(null),[b,N]=p.useState("create"),[S,R]=p.useState(null),X=()=>u!==""||m!=="all"||g!==""||h!==""||c!=="",Y=()=>(u!==""?1:0)+(m!=="all"?1:0)+(g!==""?1:0)+(h!==""?1:0)+(c!==""?1:0),Z=t=>{t.preventDefault(),O()},O=()=>{d.get(route("hr.resignations.index"),{page:1,search:c||void 0,employee_id:u||void 0,status:m!=="all"?m:void 0,date_from:g||void 0,date_to:h||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},ee=t=>{const i=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";d.get(route("hr.resignations.index"),{sort_field:t,sort_direction:i,page:1,search:c||void 0,employee_id:u||void 0,status:m!=="all"?m:void 0,date_from:g||void 0,date_to:h||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},te=(t,i)=>{switch(E(i),t){case"view":R(i);break;case"edit":N("edit"),f(!0);break;case"delete":x(!0);break;case"change-status":_(!0);break;case"download-document":window.open(route("hr.resignations.download-document",i.id),"_blank");break}},ie=()=>{E(null),N("create"),f(!0)},re=t=>{const i=t;b==="create"?(r.loading(e("Creating resignation...")),d.post(route("hr.resignations.store"),i,{onSuccess:o=>{f(!1),r.dismiss(),o.props.flash.success?r.success(e(o.props.flash.success)):o.props.flash.error?r.error(e(o.props.flash.error)):r.success(e("Resignation created successfully"))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(e(o)):r.error(e(`Failed to create resignation: ${Object.values(o).join(", ")}`))}})):b==="edit"&&(r.loading(e("Updating resignation...")),d.put(route("hr.resignations.update",a.id),i,{onSuccess:o=>{f(!1),r.dismiss(),o.props.flash.success?r.success(e(o.props.flash.success)):o.props.flash.error?r.error(e(o.props.flash.error)):r.success(e("Resignation updated successfully"))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(o):r.error(e(`Failed to update resignation: ${Object.values(o).join(", ")}`))}}))},oe=t=>{r.loading(e("Updating resignation status...")),d.put(route("hr.resignations.change-status",a.id),t,{onSuccess:i=>{_(!1),r.dismiss(),i.props.flash.success?r.success(e(i.props.flash.success)):i.props.flash.error?r.error(e(i.props.flash.error)):r.success(e("Resignation status updated successfully"))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(i):r.error(e(`Failed to update resignation status: ${Object.values(i).join(", ")}`))}})},se=()=>{r.loading(e("Deleting resignation...")),d.delete(route("hr.resignations.destroy",a.id),{onSuccess:t=>{x(!1),r.dismiss(),t.props.flash.success?r.success(e(t.props.flash.success)):t.props.flash.error?r.error(e(t.props.flash.error)):r.success(e("Resignation deleted successfully"))},onError:t=>{r.dismiss(),typeof t=="string"?r.error(t):r.error(e(`Failed to delete resignation: ${Object.values(t).join(", ")}`))}})},ae=()=>{j(""),C(""),k("all"),D(""),F(""),P(!1),d.get(route("hr.resignations.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},A=[];ge(w,"create-resignations")&&A.push({label:e("Add Resignation"),icon:s.jsx(he,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ie()});const ne=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.resignations.index")},{title:e("Resignations")}],le=[{key:"employee.name",label:e("Employee"),render:(t,i)=>{var o,v,V,L,U;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(o=i.employee)!=null&&o.avatar?s.jsx("img",{src:i.employee.avatar,alt:(v=i.employee)==null?void 0:v.name,className:"h-full w-full object-cover"}):H(((V=i.employee)==null?void 0:V.name)||"")}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((L=i.employee)==null?void 0:L.name)||"-"}),s.jsx("div",{className:"text-sm text-muted-foreground",children:((U=i.employee)==null?void 0:U.email)||""})]})]})}},{key:"resignation_date",label:e("Resignation Date"),sortable:!0,render:t=>{var i;return t?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"last_working_day",label:e("Last Working Day"),sortable:!0,render:t=>{var i;return t?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"notice_period",label:e("Notice Period"),render:t=>t||"-"},{key:"status",label:e("Status"),render:t=>{const i={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20",completed:"bg-blue-50 text-blue-700 ring-blue-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${i[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"documents",label:e("Documents"),render:(t,i)=>t&&t.trim()!==""?s.jsx("a",{href:be(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:s.jsx(fe,{className:"h-4 w-4"})}):"-"}],pe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-resignations"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-resignations"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:["approve-resignations","reject-resignations"]},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-resignations"}],T=[{value:"",label:e("All Employees")},...(B||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],me=[{value:"all",label:e("All Statuses")},{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")},{value:"completed",label:e("Completed")}];return s.jsxs(de,{title:e("Resignations"),url:"/hr/resignations",actions:A,breadcrumbs:ne,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(we,{searchTerm:c,onSearchChange:j,onSearch:Z,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:u,onChange:C,options:T,searchable:!0},{name:"status",label:e("Status"),type:"select",value:m,onChange:k,options:me},{name:"date_from",label:e("Date From"),type:"date",value:g,onChange:D},{name:"date_to",label:e("Date To"),type:"date",value:h,onChange:F}],showFilters:G,setShowFilters:P,hasActiveFilters:X,activeFilterCount:Y,onResetFilters:ae,onApplyFilters:O,currentPerPage:((M=l.per_page)==null?void 0:M.toString())||"10",onPerPageChange:t=>{d.get(route("hr.resignations.index"),{page:1,per_page:parseInt(t),search:c||void 0,employee_id:u||void 0,status:m!=="all"?m:void 0,date_from:g||void 0,date_to:h||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(xe,{columns:le,actions:pe,data:(n==null?void 0:n.data)||[],from:(n==null?void 0:n.from)||1,onAction:te,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:ee,permissions:w,entityPermissions:{view:"view-resignations",create:"create-resignations",edit:"edit-resignations",delete:"delete-resignations"}}),s.jsx(Se,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:e("resignations"),onPageChange:t=>d.get(t)})]}),s.jsx(z,{isOpen:K,onClose:()=>f(!1),onSubmit:re,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:T.filter(t=>t.value!==""),searchable:!0},{name:"resignation_date",label:e("Resignation Date"),type:"date",required:!0},{name:"last_working_day",label:e("Last Working Day"),type:"date",required:!0},{name:"notice_period",label:e("Notice Period"),type:"text",placeholder:"e.g. 1 month, 2 weeks"},{name:"reason",label:e("Reason"),type:"text"},{name:"description",label:e("Description"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,i,o)=>s.jsx(ve,{value:String(i[t.name]||""),onChange:v=>o(t.name,v),placeholder:e("Select document file...")})},...b==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"pending",label:"Pending"},{value:"approved",label:"Approved"},{value:"rejected",label:"Rejected"},{value:"completed",label:"Completed"}]},{name:"exit_interview_conducted",label:e("Exit Interview Conducted"),type:"checkbox"},{name:"exit_interview_date",label:e("Exit Interview Date"),type:"date",showWhen:t=>t.exit_interview_conducted},{name:"exit_feedback",label:e("Exit Feedback"),type:"textarea",showWhen:t=>t.status==="completed"}]:[]],modalSize:"lg"},initialData:a?{...a,employee_id:((I=a.employee_id)==null?void 0:I.toString())||(($=(q=a.employee)==null?void 0:q.id)==null?void 0:$.toString())||"",resignation_date:a.resignation_date?a.resignation_date.split("T")[0]:"",last_working_day:a.last_working_day?a.last_working_day.split("T")[0]:"",exit_interview_date:a.exit_interview_date?a.exit_interview_date.split("T")[0]:""}:null,title:e(b==="create"?"Add New Resignation":"Edit Resignation"),mode:b}),s.jsx(z,{isOpen:Q,onClose:()=>_(!1),onSubmit:oe,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"pending",label:"Pending"},{value:"approved",label:"Approved"},{value:"rejected",label:"Rejected"},{value:"completed",label:"Completed"}],defaultValue:a==null?void 0:a.status},{name:"exit_interview_conducted",label:e("Exit Interview Conducted"),type:"checkbox",showWhen:t=>t.status==="completed"},{name:"exit_interview_date",label:e("Exit Interview Date"),type:"date",showWhen:t=>t.status==="completed"&&t.exit_interview_conducted},{name:"exit_feedback",label:e("Exit Feedback"),type:"textarea",showWhen:t=>t.status==="completed"}],modalSize:"md"},initialData:a,title:e("Change Resignation Status"),mode:"edit"}),s.jsx(_e,{isOpen:J,onClose:()=>x(!1),onConfirm:se,itemName:`${((W=a==null?void 0:a.employee)==null?void 0:W.name)||""}`,entityName:"resignation"}),s.jsx(ye,{open:!!S,onOpenChange:()=>R(null),children:S&&s.jsx(je,{resignation:S})})]})}export{cr as default}; diff --git a/public/build/assets/index-C2eHu2Fm.js b/public/build/assets/index-C_0fPJzN.js similarity index 66% rename from public/build/assets/index-C2eHu2Fm.js rename to public/build/assets/index-C_0fPJzN.js index 8b98a10d4..d3c617eee 100644 --- a/public/build/assets/index-C2eHu2Fm.js +++ b/public/build/assets/index-C_0fPJzN.js @@ -1 +1 @@ -import{r as m,j as o}from"./ui-Z445SNHD.js";import{P as se}from"./page-template-BTxLyiDA.js";import{u as ae,c as le,x as me,P as pe,B as ne,r as p,t as l}from"./app-CfhhiFAk.js";import{C as de}from"./CrudTable-qPWooc10.js";import{C as ce}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ue}from"./pagination-D8A_HnL5.js";import{S as ve}from"./search-and-filter-bar-6Pp-FsiR.js";import{u as he}from"./use-initials-BK4eRgYY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function Qr(){var I,M,$;const{t}=ae(),{auth:x,reviews:s,employees:B,reviewCycles:U,filters:a={}}=le().props,C=(x==null?void 0:x.permissions)||[],j=he(),[c,N]=m.useState(a.search||""),[u,P]=m.useState(a.employee_id||""),[v,R]=m.useState(a.reviewer_id||""),[h,k]=m.useState(a.review_cycle_id||""),[n,F]=m.useState(a.status||"all"),[g,D]=m.useState(a.date_from||""),[f,E]=m.useState(a.date_to||""),[L,T]=m.useState(!1),[H,S]=m.useState(!1),[d,V]=m.useState(null),z=()=>n!=="all"||c!==""||u!==""||v!==""||h!==""||g!==""||f!=="",G=()=>(n!=="all"?1:0)+(c?1:0)+(u?1:0)+(v?1:0)+(h?1:0)+(g?1:0)+(f?1:0),J=e=>{e.preventDefault(),A()},A=()=>{p.get(route("hr.performance.employee-reviews.index"),{page:1,search:c||void 0,employee_id:u||void 0,reviewer_id:v||void 0,review_cycle_id:h||void 0,status:n!=="all"?n:void 0,date_from:g||void 0,date_to:f||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},K=e=>{const r=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";p.get(route("hr.performance.employee-reviews.index"),{sort_field:e,sort_direction:r,page:1,search:c||void 0,employee_id:u||void 0,reviewer_id:v||void 0,review_cycle_id:h||void 0,status:n!=="all"?n:void 0,date_from:g||void 0,date_to:f||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},Q=(e,r)=>{switch(V(r),e){case"view":p.visit(route("hr.performance.employee-reviews.show",r.id));break;case"conduct":p.visit(route("hr.performance.employee-reviews.conduct",r.id));break;case"delete":S(!0);break;case"update-status":Y(r);break}},W=()=>{p.visit(route("hr.performance.employee-reviews.create"))},X=()=>{l.loading(t("Deleting employee review...")),p.delete(route("hr.performance.employee-reviews.destroy",d.id),{onSuccess:e=>{S(!1),l.dismiss(),e.props.flash.success?l.success(t(e.props.flash.success)):e.props.flash.error&&l.error(t(e.props.flash.error))},onError:e=>{l.dismiss(),typeof e=="string"?l.error(t(e)):l.error(t("Failed to delete review: {{errors}}",{errors:Object.values(e).join(", ")}))}})},Y=e=>{let r="in_progress";e.status==="scheduled"?r="in_progress":e.status==="in_progress"?r="completed":r="scheduled",l.loading(t("Updating review status to {{status}}...",{status:t(r)})),p.put(route("hr.performance.employee-reviews.update-status",e.id),{status:r},{onSuccess:i=>{l.dismiss(),i.props.flash.success?l.success(t(i.props.flash.success)):i.props.flash.error&&l.error(t(i.props.flash.error))},onError:i=>{l.dismiss(),typeof i=="string"?l.error(t(i)):l.error(t("Failed to update review status: {{errors}}",{errors:Object.values(i).join(", ")}))}})},Z=()=>{N(""),P(""),R(""),k(""),F("all"),D(""),E(""),T(!1),p.get(route("hr.performance.employee-reviews.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},O=[];me(C,"create-employee-reviews")&&O.push({label:t("Schedule Review"),icon:o.jsx(pe,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>W()});const ee=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:t("Performance"),href:route("hr.performance.indicator-categories.index")},{title:t("Employee Reviews")}],te=[{key:"employee.name",label:t("Employee"),render:(e,r)=>{var i,y,w,b,_;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=r.employee)!=null&&i.avatar?o.jsx("img",{src:r.employee.avatar,alt:(y=r.employee)==null?void 0:y.name,className:"h-full w-full object-cover"}):j(((w=r.employee)==null?void 0:w.name)||"")}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((b=r.employee)==null?void 0:b.name)||"-"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:((_=r.employee)==null?void 0:_.email)||""})]})]})}},{key:"reviewer.name",label:t("Reviewer"),render:(e,r)=>{var i,y,w,b,_;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=r.reviewer)!=null&&i.avatar?o.jsx("img",{src:r.reviewer.avatar,alt:(y=r.reviewer)==null?void 0:y.name,className:"h-full w-full object-cover"}):j(((w=r.reviewer)==null?void 0:w.name)||"")}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((b=r.reviewer)==null?void 0:b.name)||"-"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:((_=r.reviewer)==null?void 0:_.email)||""})]})]})}},{key:"review_cycle.name",label:t("Review Cycle"),render:(e,r)=>{var i;return((i=r.review_cycle)==null?void 0:i.name)||"-"}},{key:"review_date",label:t("Review Date"),sortable:!0,render:e=>{var r;return e?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleString():"-"}},{key:"overall_rating",label:t("Rating"),render:e=>e?e.toFixed(1):"-"},{key:"status",label:t("Status"),render:e=>{let r="",i="";switch(e){case"scheduled":r="bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20",i=t("Scheduled");break;case"in_progress":r="bg-amber-50 text-amber-700 ring-1 ring-inset ring-amber-600/20",i=t("In Progress");break;case"completed":r="bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",i=t("Completed");break;default:r="bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20",i=e}return o.jsx(ne,{variant:"outline",className:r,children:i})}}],re=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-reviews"},{label:t("Conduct Review"),icon:"ClipboardList",action:"conduct",className:"text-green-500",requiredPermission:"edit-employee-reviews",condition:e=>e.status!=="completed"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-amber-500",requiredPermission:"edit-employee-reviews"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-reviews",condition:e=>e.status!=="completed"}],ie=[{value:"all",label:t("All Statuses")},{value:"scheduled",label:t("Scheduled")},{value:"in_progress",label:t("In Progress")},{value:"completed",label:t("Completed")}],q=[{value:"",label:t("Select Employee"),disabled:!0},...(B||[]).map(e=>({value:e.id.toString(),label:`${e.name} (${e.employee_id})`}))],oe=[{value:"",label:t("Select Review Cycle"),disabled:!0},...(U||[]).map(e=>({value:e.id.toString(),label:e.name}))];return o.jsxs(se,{title:t("Employee Reviews"),url:"/hr/performance/employee-reviews",actions:O,breadcrumbs:ee,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ve,{searchTerm:c,onSearchChange:N,onSearch:J,filters:[{name:"employee_id",label:t("Employee"),type:"select",value:u,onChange:P,options:q,searchable:!0},{name:"reviewer_id",label:t("Reviewer"),type:"select",value:v,onChange:R,options:q,searchable:!0},{name:"review_cycle_id",label:t("Review Cycle"),type:"select",value:h,onChange:k,options:oe,searchable:!0},{name:"status",label:t("Status"),type:"select",value:n,onChange:F,options:ie},{name:"date_from",label:t("From Date"),type:"date",value:g,onChange:D},{name:"date_to",label:t("To Date"),type:"date",value:f,onChange:E}],showFilters:L,setShowFilters:T,hasActiveFilters:z,activeFilterCount:G,onResetFilters:Z,onApplyFilters:A,currentPerPage:((I=a.per_page)==null?void 0:I.toString())||"10",onPerPageChange:e=>{p.get(route("hr.performance.employee-reviews.index"),{page:1,per_page:parseInt(e),search:c||void 0,employee_id:u||void 0,reviewer_id:v||void 0,review_cycle_id:h||void 0,status:n!=="all"?n:void 0,date_from:g||void 0,date_to:f||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(de,{columns:te,actions:re,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:Q,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:K,permissions:C,entityPermissions:{view:"view-employee-reviews",create:"create-employee-reviews",edit:"edit-employee-reviews",delete:"delete-employee-reviews"}}),o.jsx(ue,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("employee reviews"),onPageChange:e=>p.get(e)})]}),o.jsx(ce,{isOpen:H,onClose:()=>S(!1),onConfirm:X,itemName:`${((M=d==null?void 0:d.employee)==null?void 0:M.first_name)||""} ${(($=d==null?void 0:d.employee)==null?void 0:$.last_name)||""}'s review`,entityName:"employee review"})]})}export{Qr as default}; +import{r as m,j as o}from"./ui-Z445SNHD.js";import{P as se}from"./page-template-CLNVC8w_.js";import{u as ae,c as le,x as me,P as pe,B as ne,r as p,t as l}from"./app-Dya84jp7.js";import{C as de}from"./CrudTable-yqxtM6E_.js";import{C as ce}from"./CrudDeleteModal-D32N6I8y.js";import{P as ue}from"./pagination-4PUepASD.js";import{S as ve}from"./search-and-filter-bar-DWH0yn_r.js";import{u as he}from"./use-initials-BK4eRgYY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function Qr(){var I,M,$;const{t}=ae(),{auth:x,reviews:s,employees:B,reviewCycles:U,filters:a={}}=le().props,C=(x==null?void 0:x.permissions)||[],j=he(),[c,N]=m.useState(a.search||""),[u,P]=m.useState(a.employee_id||""),[v,R]=m.useState(a.reviewer_id||""),[h,k]=m.useState(a.review_cycle_id||""),[n,F]=m.useState(a.status||"all"),[g,D]=m.useState(a.date_from||""),[f,E]=m.useState(a.date_to||""),[L,T]=m.useState(!1),[H,S]=m.useState(!1),[d,V]=m.useState(null),z=()=>n!=="all"||c!==""||u!==""||v!==""||h!==""||g!==""||f!=="",G=()=>(n!=="all"?1:0)+(c?1:0)+(u?1:0)+(v?1:0)+(h?1:0)+(g?1:0)+(f?1:0),J=e=>{e.preventDefault(),A()},A=()=>{p.get(route("hr.performance.employee-reviews.index"),{page:1,search:c||void 0,employee_id:u||void 0,reviewer_id:v||void 0,review_cycle_id:h||void 0,status:n!=="all"?n:void 0,date_from:g||void 0,date_to:f||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},K=e=>{const r=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";p.get(route("hr.performance.employee-reviews.index"),{sort_field:e,sort_direction:r,page:1,search:c||void 0,employee_id:u||void 0,reviewer_id:v||void 0,review_cycle_id:h||void 0,status:n!=="all"?n:void 0,date_from:g||void 0,date_to:f||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},Q=(e,r)=>{switch(V(r),e){case"view":p.visit(route("hr.performance.employee-reviews.show",r.id));break;case"conduct":p.visit(route("hr.performance.employee-reviews.conduct",r.id));break;case"delete":S(!0);break;case"update-status":Y(r);break}},W=()=>{p.visit(route("hr.performance.employee-reviews.create"))},X=()=>{l.loading(t("Deleting employee review...")),p.delete(route("hr.performance.employee-reviews.destroy",d.id),{onSuccess:e=>{S(!1),l.dismiss(),e.props.flash.success?l.success(t(e.props.flash.success)):e.props.flash.error&&l.error(t(e.props.flash.error))},onError:e=>{l.dismiss(),typeof e=="string"?l.error(t(e)):l.error(t("Failed to delete review: {{errors}}",{errors:Object.values(e).join(", ")}))}})},Y=e=>{let r="in_progress";e.status==="scheduled"?r="in_progress":e.status==="in_progress"?r="completed":r="scheduled",l.loading(t("Updating review status to {{status}}...",{status:t(r)})),p.put(route("hr.performance.employee-reviews.update-status",e.id),{status:r},{onSuccess:i=>{l.dismiss(),i.props.flash.success?l.success(t(i.props.flash.success)):i.props.flash.error&&l.error(t(i.props.flash.error))},onError:i=>{l.dismiss(),typeof i=="string"?l.error(t(i)):l.error(t("Failed to update review status: {{errors}}",{errors:Object.values(i).join(", ")}))}})},Z=()=>{N(""),P(""),R(""),k(""),F("all"),D(""),E(""),T(!1),p.get(route("hr.performance.employee-reviews.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},O=[];me(C,"create-employee-reviews")&&O.push({label:t("Schedule Review"),icon:o.jsx(pe,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>W()});const ee=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:t("Performance"),href:route("hr.performance.indicator-categories.index")},{title:t("Employee Reviews")}],te=[{key:"employee.name",label:t("Employee"),render:(e,r)=>{var i,y,w,b,_;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=r.employee)!=null&&i.avatar?o.jsx("img",{src:r.employee.avatar,alt:(y=r.employee)==null?void 0:y.name,className:"h-full w-full object-cover"}):j(((w=r.employee)==null?void 0:w.name)||"")}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((b=r.employee)==null?void 0:b.name)||"-"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:((_=r.employee)==null?void 0:_.email)||""})]})]})}},{key:"reviewer.name",label:t("Reviewer"),render:(e,r)=>{var i,y,w,b,_;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=r.reviewer)!=null&&i.avatar?o.jsx("img",{src:r.reviewer.avatar,alt:(y=r.reviewer)==null?void 0:y.name,className:"h-full w-full object-cover"}):j(((w=r.reviewer)==null?void 0:w.name)||"")}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((b=r.reviewer)==null?void 0:b.name)||"-"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:((_=r.reviewer)==null?void 0:_.email)||""})]})]})}},{key:"review_cycle.name",label:t("Review Cycle"),render:(e,r)=>{var i;return((i=r.review_cycle)==null?void 0:i.name)||"-"}},{key:"review_date",label:t("Review Date"),sortable:!0,render:e=>{var r;return e?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleString():"-"}},{key:"overall_rating",label:t("Rating"),render:e=>e?e.toFixed(1):"-"},{key:"status",label:t("Status"),render:e=>{let r="",i="";switch(e){case"scheduled":r="bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20",i=t("Scheduled");break;case"in_progress":r="bg-amber-50 text-amber-700 ring-1 ring-inset ring-amber-600/20",i=t("In Progress");break;case"completed":r="bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",i=t("Completed");break;default:r="bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20",i=e}return o.jsx(ne,{variant:"outline",className:r,children:i})}}],re=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-reviews"},{label:t("Conduct Review"),icon:"ClipboardList",action:"conduct",className:"text-green-500",requiredPermission:"edit-employee-reviews",condition:e=>e.status!=="completed"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-amber-500",requiredPermission:"edit-employee-reviews"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-reviews",condition:e=>e.status!=="completed"}],ie=[{value:"all",label:t("All Statuses")},{value:"scheduled",label:t("Scheduled")},{value:"in_progress",label:t("In Progress")},{value:"completed",label:t("Completed")}],q=[{value:"",label:t("Select Employee"),disabled:!0},...(B||[]).map(e=>({value:e.id.toString(),label:`${e.name} (${e.employee_id})`}))],oe=[{value:"",label:t("Select Review Cycle"),disabled:!0},...(U||[]).map(e=>({value:e.id.toString(),label:e.name}))];return o.jsxs(se,{title:t("Employee Reviews"),url:"/hr/performance/employee-reviews",actions:O,breadcrumbs:ee,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ve,{searchTerm:c,onSearchChange:N,onSearch:J,filters:[{name:"employee_id",label:t("Employee"),type:"select",value:u,onChange:P,options:q,searchable:!0},{name:"reviewer_id",label:t("Reviewer"),type:"select",value:v,onChange:R,options:q,searchable:!0},{name:"review_cycle_id",label:t("Review Cycle"),type:"select",value:h,onChange:k,options:oe,searchable:!0},{name:"status",label:t("Status"),type:"select",value:n,onChange:F,options:ie},{name:"date_from",label:t("From Date"),type:"date",value:g,onChange:D},{name:"date_to",label:t("To Date"),type:"date",value:f,onChange:E}],showFilters:L,setShowFilters:T,hasActiveFilters:z,activeFilterCount:G,onResetFilters:Z,onApplyFilters:A,currentPerPage:((I=a.per_page)==null?void 0:I.toString())||"10",onPerPageChange:e=>{p.get(route("hr.performance.employee-reviews.index"),{page:1,per_page:parseInt(e),search:c||void 0,employee_id:u||void 0,reviewer_id:v||void 0,review_cycle_id:h||void 0,status:n!=="all"?n:void 0,date_from:g||void 0,date_to:f||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(de,{columns:te,actions:re,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:Q,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:K,permissions:C,entityPermissions:{view:"view-employee-reviews",create:"create-employee-reviews",edit:"edit-employee-reviews",delete:"delete-employee-reviews"}}),o.jsx(ue,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("employee reviews"),onPageChange:e=>p.get(e)})]}),o.jsx(ce,{isOpen:H,onClose:()=>S(!1),onConfirm:X,itemName:`${((M=d==null?void 0:d.employee)==null?void 0:M.first_name)||""} ${(($=d==null?void 0:d.employee)==null?void 0:$.last_name)||""}'s review`,entityName:"employee review"})]})}export{Qr as default}; diff --git a/public/build/assets/index-CI8zGq5x.js b/public/build/assets/index-CbdgvcXo.js similarity index 69% rename from public/build/assets/index-CI8zGq5x.js rename to public/build/assets/index-CbdgvcXo.js index caf58cbb8..8292dfed9 100644 --- a/public/build/assets/index-CI8zGq5x.js +++ b/public/build/assets/index-CbdgvcXo.js @@ -1 +1 @@ -import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as me}from"./page-template-BTxLyiDA.js";import{u as pe,c as le,x as ne,P as de,F as v,r as u,M as ce,D as ue,t as i}from"./app-CfhhiFAk.js";import{C as fe}from"./CrudTable-qPWooc10.js";import{C as M}from"./CrudFormModal-DAR9q-oM.js";import{C as he}from"./CrudDeleteModal-CKTiD3_K.js";import{P as xe}from"./pagination-D8A_HnL5.js";import{S as ve}from"./search-and-filter-bar-6Pp-FsiR.js";import _e from"./view-CwN1eCBc.js";import{T as U}from"./triangle-alert-DGWTh17w.js";import{D as ye}from"./download-Bk1k2_dW.js";import{E as ge}from"./eye--FVGKpVp.js";import{C as we}from"./circle-check-big-C5Cqj7-2.js";import{C as be}from"./clock-CwFdn-oy.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function lo(){var T;const{t:e}=pe(),{auth:_,hrDocuments:a,categories:b,filters:l={},errors:j,flash:je,globalSettings:o}=le().props,S=(_==null?void 0:_.permissions)||[],[f,C]=n.useState(l.search||""),[d,D]=n.useState(l.category_id||"_empty_"),[c,F]=n.useState(l.status||"_empty_"),[R,P]=n.useState(!1),[q,y]=n.useState(!1),[B,h]=n.useState(!1),[X,g]=n.useState(!1),[m,N]=n.useState(null),[x,k]=n.useState("create"),[w,A]=n.useState(null),z=()=>d!=="_empty_"||c!=="_empty_"||f!=="",I=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(f!==""?1:0),H=t=>{t.preventDefault(),E()},E=()=>{u.get(route("hr.documents.hr-documents.index"),{page:1,search:f||void 0,category_id:d!=="_empty_"?d:void 0,status:c!=="_empty_"?c:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},L=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";u.get(route("hr.documents.hr-documents.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,category_id:d!=="_empty_"?d:void 0,status:c!=="_empty_"?c:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},V=(t,r)=>{switch(N(r),t){case"view":A(r);break;case"edit":k("edit"),h(!0);break;case"delete":y(!0);break;case"download":window.open(route("hr.documents.hr-documents.download",r.id),"_blank");break;case"update-status":g(!0);break}},$=()=>{N(null),k("create"),h(!0)},G=t=>{x==="create"?(o!=null&&o.is_demo||i.loading(e("Uploading document...")),u.post(route("hr.documents.hr-documents.store"),t,{onSuccess:r=>{h(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to upload document: {{errors}}",{errors:Object.values(r).join(", ")}))}})):x==="edit"&&(o!=null&&o.is_demo||i.loading(e("Updating document...")),u.put(route("hr.documents.hr-documents.update",m.id),t,{onSuccess:r=>{h(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update document: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},K=()=>{o!=null&&o.is_demo||i.loading(e("Deleting document...")),u.delete(route("hr.documents.hr-documents.destroy",m.id),{onSuccess:t=>{y(!1),o!=null&&o.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{o!=null&&o.is_demo||i.dismiss(),typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete document: {{errors}}",{errors:Object.values(t).join(", ")}))}})},J=()=>{C(""),D("_empty_"),F("_empty_"),P(!1),u.get(route("hr.documents.hr-documents.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},Q=t=>{o!=null&&o.is_demo||i.loading(e("Updating status...")),u.put(route("hr.documents.hr-documents.update-status",m.id),t,{onSuccess:r=>{g(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update status: {{errors}}",{errors:Object.values(r).join(", ")}))}})},O=[];ne(S,"create-hr-documents")&&O.push({label:e("Upload Document"),icon:s.jsx(de,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>$()});const W=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Document Management"),href:route("hr.documents.hr-documents.index")},{title:e("HR Documents")}],Y=t=>{switch(t){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Under Review":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Approved":return"bg-green-50 text-green-700 ring-green-600/20";case"Published":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Archived":return"bg-purple-50 text-purple-700 ring-purple-600/20";case"Expired":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},Z=t=>{switch(t){case"Draft":return s.jsx(v,{className:"h-3 w-3"});case"Under Review":return s.jsx(be,{className:"h-3 w-3"});case"Approved":return s.jsx(we,{className:"h-3 w-3"});case"Published":return s.jsx(ge,{className:"h-3 w-3"});case"Archived":return s.jsx(v,{className:"h-3 w-3"});case"Expired":return s.jsx(U,{className:"h-3 w-3"});default:return s.jsx(v,{className:"h-3 w-3"})}},ee=t=>t>=1073741824?(t/1073741824).toFixed(2)+" GB":t>=1048576?(t/1048576).toFixed(2)+" MB":t>=1024?(t/1024).toFixed(2)+" KB":t+" bytes",te=[{key:"title",label:e("Document"),sortable:!0,render:(t,r)=>{var p;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center text-white",style:{backgroundColor:((p=r.category)==null?void 0:p.color)||"#3B82F6"},children:s.jsx(v,{className:"h-5 w-5"})}),s.jsx("div",{children:s.jsxs("div",{className:"font-medium flex items-center gap-2",children:[t,r.requires_acknowledgment&&s.jsx(U,{className:"h-4 w-4 text-red-500"})]})})]})}},{key:"category.name",label:e("Category"),render:(t,r)=>{var p;return((p=r.category)==null?void 0:p.name)||"-"}},{key:"file_size",label:e("Size"),render:t=>ee(t)},{key:"status",label:e("Status"),render:t=>s.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Y(t)}`,children:[Z(t),e(t)]})},{key:"download_count",label:e("Downloads"),render:t=>s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(ye,{className:"h-4 w-4 text-gray-500"}),s.jsx("span",{children:t||0})]})},{key:"expiry_date",label:e("Expires"),sortable:!0,render:t=>{var p;if(!t)return"-";const r=new Date(t){var p;return((p=r.uploader)==null?void 0:p.name)||"-"}}],re=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-hr-documents"},{label:e("Download"),icon:"Download",action:"download",className:"text-green-500",requiredPermission:"view-hr-documents"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-hr-documents"},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-purple-500",requiredPermission:"edit-hr-documents"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-hr-documents"}],oe=[{value:"_empty_",label:e("All Categories"),disabled:!0},...(b||[]).map(t=>({value:t.id.toString(),label:t.name}))],se=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"Draft",label:e("Draft")},{value:"Under Review",label:e("Under Review")},{value:"Approved",label:e("Approved")},{value:"Published",label:e("Published")},{value:"Archived",label:e("Archived")},{value:"Expired",label:e("Expired")}],ie=[{value:"_empty_",label:e("Select Category")},...(b||[]).map(t=>({value:t.id.toString(),label:t.name}))];return s.jsxs(me,{title:e("HR Documents"),url:"/hr/documents/hr-documents",actions:O,breadcrumbs:W,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ve,{searchTerm:f,onSearchChange:C,onSearch:H,filters:[{name:"category_id",label:e("Category"),type:"select",value:d,onChange:D,options:oe,searchable:!0},{name:"status",label:e("Status"),type:"select",value:c,onChange:F,options:se}],showFilters:R,setShowFilters:P,hasActiveFilters:z,activeFilterCount:I,onResetFilters:J,onApplyFilters:E,currentPerPage:((T=l.per_page)==null?void 0:T.toString())||"10",onPerPageChange:t=>{u.get(route("hr.documents.hr-documents.index"),{page:1,per_page:parseInt(t),search:f||void 0,category_id:d!=="_empty_"?d:void 0,status:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(fe,{columns:te,actions:re,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:V,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:L,permissions:S,entityPermissions:{view:"view-hr-documents",create:"create-hr-documents",edit:"edit-hr-documents",delete:"delete-hr-documents"}}),s.jsx(xe,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("documents"),onPageChange:t=>u.get(t)})]}),s.jsx(M,{isOpen:B,onClose:()=>h(!1),onSubmit:G,errors:j,formConfig:{fields:[{name:"title",label:e("Document Title"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea",rows:3},{name:"category_id",label:e("Category"),type:"select",required:!0,options:ie.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"file",label:e("File"),type:"custom",required:x==="create",render:(t,r,p)=>s.jsx("div",{children:s.jsx(ce,{value:String(r[t.name]||r.file_path||""),onChange:ae=>p(t.name,ae),placeholder:e("Select document file...")})}),helpText:e("Max file size: 10MB. Supported formats: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT")},{name:"effective_date",label:e("Effective Date"),type:"date"},{name:"expiry_date",label:e("Expiry Date"),type:"date"},{name:"requires_acknowledgment",label:e("Requires Acknowledgment"),type:"checkbox",helpText:e("Users must acknowledge reading this document")}],modalSize:"xl"},initialData:m?{...m,effective_date:m.effective_date?window.appSettings.formatDateTimeSimple(m.effective_date,!1):m.effective_date}:null,title:e(x==="create"?"Upload New Document":"Edit Document"),mode:x}),s.jsx(he,{isOpen:q,onClose:()=>y(!1),onConfirm:K,itemName:(m==null?void 0:m.title)||"",entityName:"document"}),s.jsx(M,{isOpen:X,onClose:()=>g(!1),onSubmit:Q,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"Draft",label:e("Draft")},{value:"Under Review",label:e("Under Review")},{value:"Approved",label:e("Approved")},{value:"Published",label:e("Published")},{value:"Archived",label:e("Archived")},{value:"Expired",label:e("Expired")}]}]},initialData:{status:m==null?void 0:m.status},title:e("Update Document Status"),mode:"edit",errors:j}),s.jsx(ue,{open:!!w,onOpenChange:()=>A(null),children:w&&s.jsx(_e,{document:w})})]})}export{lo as default}; +import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as me}from"./page-template-CLNVC8w_.js";import{u as pe,c as le,x as ne,P as de,F as v,r as u,M as ce,D as ue,t as i}from"./app-Dya84jp7.js";import{C as fe}from"./CrudTable-yqxtM6E_.js";import{C as M}from"./CrudFormModal-CsuqSfb2.js";import{C as he}from"./CrudDeleteModal-D32N6I8y.js";import{P as xe}from"./pagination-4PUepASD.js";import{S as ve}from"./search-and-filter-bar-DWH0yn_r.js";import _e from"./view-BJ4q7exK.js";import{T as U}from"./triangle-alert-CpPzdeiH.js";import{D as ye}from"./download-BBNmalxc.js";import{E as ge}from"./eye-CCNnMtu4.js";import{C as we}from"./circle-check-big-Cju4ilPH.js";import{C as be}from"./clock-LnEFQ-vK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function lo(){var T;const{t:e}=pe(),{auth:_,hrDocuments:a,categories:b,filters:l={},errors:j,flash:je,globalSettings:o}=le().props,S=(_==null?void 0:_.permissions)||[],[f,C]=n.useState(l.search||""),[d,D]=n.useState(l.category_id||"_empty_"),[c,F]=n.useState(l.status||"_empty_"),[R,P]=n.useState(!1),[q,y]=n.useState(!1),[B,h]=n.useState(!1),[X,g]=n.useState(!1),[m,N]=n.useState(null),[x,k]=n.useState("create"),[w,A]=n.useState(null),z=()=>d!=="_empty_"||c!=="_empty_"||f!=="",I=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(f!==""?1:0),H=t=>{t.preventDefault(),E()},E=()=>{u.get(route("hr.documents.hr-documents.index"),{page:1,search:f||void 0,category_id:d!=="_empty_"?d:void 0,status:c!=="_empty_"?c:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},L=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";u.get(route("hr.documents.hr-documents.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,category_id:d!=="_empty_"?d:void 0,status:c!=="_empty_"?c:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},V=(t,r)=>{switch(N(r),t){case"view":A(r);break;case"edit":k("edit"),h(!0);break;case"delete":y(!0);break;case"download":window.open(route("hr.documents.hr-documents.download",r.id),"_blank");break;case"update-status":g(!0);break}},$=()=>{N(null),k("create"),h(!0)},G=t=>{x==="create"?(o!=null&&o.is_demo||i.loading(e("Uploading document...")),u.post(route("hr.documents.hr-documents.store"),t,{onSuccess:r=>{h(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to upload document: {{errors}}",{errors:Object.values(r).join(", ")}))}})):x==="edit"&&(o!=null&&o.is_demo||i.loading(e("Updating document...")),u.put(route("hr.documents.hr-documents.update",m.id),t,{onSuccess:r=>{h(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update document: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},K=()=>{o!=null&&o.is_demo||i.loading(e("Deleting document...")),u.delete(route("hr.documents.hr-documents.destroy",m.id),{onSuccess:t=>{y(!1),o!=null&&o.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{o!=null&&o.is_demo||i.dismiss(),typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete document: {{errors}}",{errors:Object.values(t).join(", ")}))}})},J=()=>{C(""),D("_empty_"),F("_empty_"),P(!1),u.get(route("hr.documents.hr-documents.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},Q=t=>{o!=null&&o.is_demo||i.loading(e("Updating status...")),u.put(route("hr.documents.hr-documents.update-status",m.id),t,{onSuccess:r=>{g(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update status: {{errors}}",{errors:Object.values(r).join(", ")}))}})},O=[];ne(S,"create-hr-documents")&&O.push({label:e("Upload Document"),icon:s.jsx(de,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>$()});const W=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Document Management"),href:route("hr.documents.hr-documents.index")},{title:e("HR Documents")}],Y=t=>{switch(t){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Under Review":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Approved":return"bg-green-50 text-green-700 ring-green-600/20";case"Published":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Archived":return"bg-purple-50 text-purple-700 ring-purple-600/20";case"Expired":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},Z=t=>{switch(t){case"Draft":return s.jsx(v,{className:"h-3 w-3"});case"Under Review":return s.jsx(be,{className:"h-3 w-3"});case"Approved":return s.jsx(we,{className:"h-3 w-3"});case"Published":return s.jsx(ge,{className:"h-3 w-3"});case"Archived":return s.jsx(v,{className:"h-3 w-3"});case"Expired":return s.jsx(U,{className:"h-3 w-3"});default:return s.jsx(v,{className:"h-3 w-3"})}},ee=t=>t>=1073741824?(t/1073741824).toFixed(2)+" GB":t>=1048576?(t/1048576).toFixed(2)+" MB":t>=1024?(t/1024).toFixed(2)+" KB":t+" bytes",te=[{key:"title",label:e("Document"),sortable:!0,render:(t,r)=>{var p;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center text-white",style:{backgroundColor:((p=r.category)==null?void 0:p.color)||"#3B82F6"},children:s.jsx(v,{className:"h-5 w-5"})}),s.jsx("div",{children:s.jsxs("div",{className:"font-medium flex items-center gap-2",children:[t,r.requires_acknowledgment&&s.jsx(U,{className:"h-4 w-4 text-red-500"})]})})]})}},{key:"category.name",label:e("Category"),render:(t,r)=>{var p;return((p=r.category)==null?void 0:p.name)||"-"}},{key:"file_size",label:e("Size"),render:t=>ee(t)},{key:"status",label:e("Status"),render:t=>s.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Y(t)}`,children:[Z(t),e(t)]})},{key:"download_count",label:e("Downloads"),render:t=>s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(ye,{className:"h-4 w-4 text-gray-500"}),s.jsx("span",{children:t||0})]})},{key:"expiry_date",label:e("Expires"),sortable:!0,render:t=>{var p;if(!t)return"-";const r=new Date(t){var p;return((p=r.uploader)==null?void 0:p.name)||"-"}}],re=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-hr-documents"},{label:e("Download"),icon:"Download",action:"download",className:"text-green-500",requiredPermission:"view-hr-documents"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-hr-documents"},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-purple-500",requiredPermission:"edit-hr-documents"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-hr-documents"}],oe=[{value:"_empty_",label:e("All Categories"),disabled:!0},...(b||[]).map(t=>({value:t.id.toString(),label:t.name}))],se=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"Draft",label:e("Draft")},{value:"Under Review",label:e("Under Review")},{value:"Approved",label:e("Approved")},{value:"Published",label:e("Published")},{value:"Archived",label:e("Archived")},{value:"Expired",label:e("Expired")}],ie=[{value:"_empty_",label:e("Select Category")},...(b||[]).map(t=>({value:t.id.toString(),label:t.name}))];return s.jsxs(me,{title:e("HR Documents"),url:"/hr/documents/hr-documents",actions:O,breadcrumbs:W,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ve,{searchTerm:f,onSearchChange:C,onSearch:H,filters:[{name:"category_id",label:e("Category"),type:"select",value:d,onChange:D,options:oe,searchable:!0},{name:"status",label:e("Status"),type:"select",value:c,onChange:F,options:se}],showFilters:R,setShowFilters:P,hasActiveFilters:z,activeFilterCount:I,onResetFilters:J,onApplyFilters:E,currentPerPage:((T=l.per_page)==null?void 0:T.toString())||"10",onPerPageChange:t=>{u.get(route("hr.documents.hr-documents.index"),{page:1,per_page:parseInt(t),search:f||void 0,category_id:d!=="_empty_"?d:void 0,status:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(fe,{columns:te,actions:re,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:V,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:L,permissions:S,entityPermissions:{view:"view-hr-documents",create:"create-hr-documents",edit:"edit-hr-documents",delete:"delete-hr-documents"}}),s.jsx(xe,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("documents"),onPageChange:t=>u.get(t)})]}),s.jsx(M,{isOpen:B,onClose:()=>h(!1),onSubmit:G,errors:j,formConfig:{fields:[{name:"title",label:e("Document Title"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea",rows:3},{name:"category_id",label:e("Category"),type:"select",required:!0,options:ie.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"file",label:e("File"),type:"custom",required:x==="create",render:(t,r,p)=>s.jsx("div",{children:s.jsx(ce,{value:String(r[t.name]||r.file_path||""),onChange:ae=>p(t.name,ae),placeholder:e("Select document file...")})}),helpText:e("Max file size: 10MB. Supported formats: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT")},{name:"effective_date",label:e("Effective Date"),type:"date"},{name:"expiry_date",label:e("Expiry Date"),type:"date"},{name:"requires_acknowledgment",label:e("Requires Acknowledgment"),type:"checkbox",helpText:e("Users must acknowledge reading this document")}],modalSize:"xl"},initialData:m?{...m,effective_date:m.effective_date?window.appSettings.formatDateTimeSimple(m.effective_date,!1):m.effective_date}:null,title:e(x==="create"?"Upload New Document":"Edit Document"),mode:x}),s.jsx(he,{isOpen:q,onClose:()=>y(!1),onConfirm:K,itemName:(m==null?void 0:m.title)||"",entityName:"document"}),s.jsx(M,{isOpen:X,onClose:()=>g(!1),onSubmit:Q,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"Draft",label:e("Draft")},{value:"Under Review",label:e("Under Review")},{value:"Approved",label:e("Approved")},{value:"Published",label:e("Published")},{value:"Archived",label:e("Archived")},{value:"Expired",label:e("Expired")}]}]},initialData:{status:m==null?void 0:m.status},title:e("Update Document Status"),mode:"edit",errors:j}),s.jsx(ue,{open:!!w,onOpenChange:()=>A(null),children:w&&s.jsx(_e,{document:w})})]})}export{lo as default}; diff --git a/public/build/assets/index-BO8kK88b.js b/public/build/assets/index-CbufqmQT.js similarity index 62% rename from public/build/assets/index-BO8kK88b.js rename to public/build/assets/index-CbufqmQT.js index 89ff9c745..4e6a21af2 100644 --- a/public/build/assets/index-BO8kK88b.js +++ b/public/build/assets/index-CbufqmQT.js @@ -1 +1 @@ -import{r as f,j as r}from"./ui-Z445SNHD.js";import{t as p,P as I}from"./i18n-CM7rzmSQ.js";import{a as M,b as R,C as L}from"./checkbox-1_Cig_g5.js";import{V as O,e as C,u as S,L as k,c as $}from"./app-CfhhiFAk.js";import{M as q}from"./CrudTable-qPWooc10.js";import"./page-template-BTxLyiDA.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./pagination-D8A_HnL5.js";import"./CrudFormModal-DAR9q-oM.js";import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";import"./CrudDeleteModal-CKTiD3_K.js";import"./filter-uErFRSPT.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";const j={entity:{name:"roles",endpoint:route("roles.index"),permissions:{view:"view-roles",create:"create-roles",edit:"edit-roles",delete:"delete-roles"}},modalSize:"5xl",description:p("Manage user roles and their permissions"),table:{columns:[{key:"label",label:p("Name"),sortable:!0},{key:"name",label:p("Slug"),sortable:!0},{key:"description",label:p("Description")}],actions:[{label:p("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-roles"},{label:p("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-roles"},{label:p("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-roles",condition:o=>!o.is_system_role}]},filters:[],form:{fields:[{name:"label",label:p("Role Name"),type:"text",required:!0},{name:"description",label:p("Description"),type:"textarea"}]}},v=f.forwardRef(({className:o,indeterminate:s,...d},a)=>{const n=f.useRef(null);return f.useImperativeHandle(a,()=>n.current),f.useEffect(()=>{n.current&&(n.current.dataset.state=s?"indeterminate":d.checked?"checked":"unchecked")},[s,d.checked]),r.jsx(M,{ref:n,className:C("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background cursor-pointer 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 data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground",o),...d,children:r.jsx(R,{className:C("flex items-center justify-center text-current"),children:s?r.jsx(q,{className:"h-3 w-3"}):r.jsx(O,{className:"h-4 w-4"})})})});v.displayName="IndeterminateCheckbox";function T({permissions:o,selectedPermissions:s,onChange:d}){const{t:a}=S(),[n,u]=f.useState([]),h=o,m=()=>{const t=[];return Object.values(h).forEach(i=>{i.forEach(e=>{t.push(e.id.toString())})}),t},x=t=>{var i;return((i=h[t])==null?void 0:i.map(e=>e.id.toString()))||[]};f.useEffect(()=>{if(!s||Object.keys(h).length===0){u([]);return}try{const t={};Object.values(h).forEach(e=>{e.forEach(l=>{t[l.name]=l.id.toString()})});let i=[];Array.isArray(s)?i=s.map(e=>{if(typeof e=="object"&&e!==null){if("id"in e)return e.id.toString();if("name"in e)return t[e.name]||e.name}return t[String(e)]||String(e)}).filter(Boolean):typeof s=="object"&&s!==null&&"permissions"in s&&Array.isArray(s.permissions)&&(i=s.permissions.map(e=>{if(typeof e=="object"&&e!==null){if("id"in e)return e.id.toString();if("name"in e)return t[e.name]||e.name}return t[String(e)]||String(e)}).filter(Boolean)),u(i)}catch(t){console.error("Error processing permissions:",t),u([])}},[s]);const c=(t,i)=>{const e=i?[...n,t]:n.filter(l=>l!==t);u(e),N(e)},g=(t,i)=>{const e=x(t);let l;if(i){const y=e.filter(A=>!n.includes(A));l=[...n,...y]}else l=n.filter(y=>!e.includes(y));u(l),N(l)},b=t=>{const i=t?m():[];u(i),N(i)},N=t=>{const i={};Object.values(h).forEach(l=>{l.forEach(y=>{i[y.id.toString()]=y.name})});const e=t.map(l=>i[l]||l).filter(l=>!!l);d(e)},w=n.length===m().length&&m().length>0,E=t=>{const i=x(t);return i.every(e=>n.includes(e))&&i.length>0},P=t=>{const i=x(t),e=i.filter(l=>n.includes(l)).length;return e>0&&eb(t===!0)}),r.jsx(k,{htmlFor:"select-all-permissions-checkbox",className:"font-medium",children:a("Select All Permissions")})]}),r.jsxs("div",{className:"text-xs text-gray-500",children:[n.length," ",a("of")," ",m().length," ",a("selected")]})]})}),r.jsx("div",{className:"space-y-6",children:Object.entries(h).map(([t,i])=>r.jsxs("div",{className:"border rounded shadow-sm",children:[r.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 border-b",children:[r.jsxs("div",{className:"flex items-center space-x-2",children:[r.jsx(v,{id:`module-checkbox-${t.replace(/\s+/g,"-").toLowerCase()}`,checked:E(t),indeterminate:P(t),onCheckedChange:e=>g(t,e===!0)}),r.jsx(k,{htmlFor:`module-checkbox-${t.replace(/\s+/g,"-").toLowerCase()}`,className:"font-medium",children:t})]}),r.jsxs("div",{className:"text-xs text-gray-500",children:[i.filter(e=>n.includes(e.id.toString())).length," of ",i.length," ",a("selected")]})]}),r.jsx("div",{className:"p-3",children:r.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-2",children:i.map(e=>r.jsxs("div",{className:"flex items-center space-x-2",children:[r.jsx(L,{id:`permission-checkbox-${e.id.toString().replace(/\s+/g,"-").toLowerCase()}`,checked:n.includes(e.id.toString())||n.includes(e.name),onCheckedChange:l=>c(e.id.toString(),l===!0)}),r.jsx(k,{htmlFor:`permission-checkbox-${e.id.toString().replace(/\s+/g,"-").toLowerCase()}`,className:"text-sm truncate",children:e.label})]},e.id))})})]},t))})]})}function B({permissions:o=[],maxDisplay:s=3}){const{t:d}=S();return!o||!Array.isArray(o)||o.length===0?r.jsx("span",{className:"text-sm text-gray-500",children:"-"}):r.jsxs("div",{className:"flex flex-wrap gap-1",children:[o.slice(0,s).map((a,n)=>r.jsx("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-blue-100 text-blue-800",children:a.label||a.name},n)),o.length>s&&r.jsxs("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-gray-100 text-gray-800",children:["+",o.length-s," ",d("more")]})]})}function vr(){const{t:o}=S(),{permissions:s,flash:d,auth:a}=$().props,[n,u]=f.useState(j);f.useEffect(()=>{s&&u({...j,table:{...j.table,columns:[...j.table.columns,{key:"permissions",label:o("Permissions"),render:(m,x)=>r.jsx(B,{permissions:m||[]})}]},form:{...j.form,fields:[...j.form.fields.map(m=>m.name==="label"?{...m,render:(x,c,g)=>{const b=(c==null?void 0:c.id)&&!(c!=null&&c.is_editable);return r.jsx("input",{type:"text",className:`flex h-10 w-full rounded-md border border-input 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 ${b?"disabled:cursor-not-allowed disabled:opacity-50":""}`,value:c.label||"",onChange:N=>g("label",N.target.value),disabled:b,placeholder:"Enter role name",required:!0})}}:m).filter(m=>m.name!=="permissions"),{name:"permissions",label:o("Role Permissions"),type:"custom",colSpan:12,render:(m,x,c)=>{var g;return r.jsxs("div",{className:"mt-4",id:"permissions",children:[r.jsx("h3",{className:"text-lg font-medium mb-2",children:o("Manage Permissions")}),r.jsxs("p",{className:"text-sm text-gray-500 mb-4",children:[o("Select permissions for this role. You can select all permissions at once or manage them by module."),((g=a.user)==null?void 0:g.type)!=="superadmin"&&r.jsx("span",{className:"block mt-1 text-amber-600",children:o("Note: Only permissions for modules available to your role are shown.")})]}),r.jsx(T,{permissions:s,selectedPermissions:x.permissions||[],onChange:b=>{c("permissions",b)}})]})}}]}})},[s,o]);const h=[{title:o("Dashboard"),href:route("dashboard")},{title:o("Staff"),href:route("roles.index")},{title:o("Roles")}];return r.jsx(I,{config:n,url:"/roles",breadcrumbs:h})}export{vr as default}; +import{r as f,j as r}from"./ui-Z445SNHD.js";import{t as p,P as I}from"./i18n-Db6Gz1TD.js";import{a as M,b as R,C as L}from"./checkbox-BLrehV38.js";import{V as O,e as C,u as S,L as k,c as $}from"./app-Dya84jp7.js";import{M as q}from"./CrudTable-yqxtM6E_.js";import"./page-template-CLNVC8w_.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./pagination-4PUepASD.js";import"./CrudFormModal-CsuqSfb2.js";import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";import"./CrudDeleteModal-D32N6I8y.js";import"./filter-BTHjyusi.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";const j={entity:{name:"roles",endpoint:route("roles.index"),permissions:{view:"view-roles",create:"create-roles",edit:"edit-roles",delete:"delete-roles"}},modalSize:"5xl",description:p("Manage user roles and their permissions"),table:{columns:[{key:"label",label:p("Name"),sortable:!0},{key:"name",label:p("Slug"),sortable:!0},{key:"description",label:p("Description")}],actions:[{label:p("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-roles"},{label:p("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-roles"},{label:p("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-roles",condition:o=>!o.is_system_role}]},filters:[],form:{fields:[{name:"label",label:p("Role Name"),type:"text",required:!0},{name:"description",label:p("Description"),type:"textarea"}]}},v=f.forwardRef(({className:o,indeterminate:s,...d},a)=>{const n=f.useRef(null);return f.useImperativeHandle(a,()=>n.current),f.useEffect(()=>{n.current&&(n.current.dataset.state=s?"indeterminate":d.checked?"checked":"unchecked")},[s,d.checked]),r.jsx(M,{ref:n,className:C("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background cursor-pointer 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 data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground",o),...d,children:r.jsx(R,{className:C("flex items-center justify-center text-current"),children:s?r.jsx(q,{className:"h-3 w-3"}):r.jsx(O,{className:"h-4 w-4"})})})});v.displayName="IndeterminateCheckbox";function T({permissions:o,selectedPermissions:s,onChange:d}){const{t:a}=S(),[n,u]=f.useState([]),h=o,m=()=>{const t=[];return Object.values(h).forEach(i=>{i.forEach(e=>{t.push(e.id.toString())})}),t},x=t=>{var i;return((i=h[t])==null?void 0:i.map(e=>e.id.toString()))||[]};f.useEffect(()=>{if(!s||Object.keys(h).length===0){u([]);return}try{const t={};Object.values(h).forEach(e=>{e.forEach(l=>{t[l.name]=l.id.toString()})});let i=[];Array.isArray(s)?i=s.map(e=>{if(typeof e=="object"&&e!==null){if("id"in e)return e.id.toString();if("name"in e)return t[e.name]||e.name}return t[String(e)]||String(e)}).filter(Boolean):typeof s=="object"&&s!==null&&"permissions"in s&&Array.isArray(s.permissions)&&(i=s.permissions.map(e=>{if(typeof e=="object"&&e!==null){if("id"in e)return e.id.toString();if("name"in e)return t[e.name]||e.name}return t[String(e)]||String(e)}).filter(Boolean)),u(i)}catch(t){console.error("Error processing permissions:",t),u([])}},[s]);const c=(t,i)=>{const e=i?[...n,t]:n.filter(l=>l!==t);u(e),N(e)},g=(t,i)=>{const e=x(t);let l;if(i){const y=e.filter(A=>!n.includes(A));l=[...n,...y]}else l=n.filter(y=>!e.includes(y));u(l),N(l)},b=t=>{const i=t?m():[];u(i),N(i)},N=t=>{const i={};Object.values(h).forEach(l=>{l.forEach(y=>{i[y.id.toString()]=y.name})});const e=t.map(l=>i[l]||l).filter(l=>!!l);d(e)},w=n.length===m().length&&m().length>0,E=t=>{const i=x(t);return i.every(e=>n.includes(e))&&i.length>0},P=t=>{const i=x(t),e=i.filter(l=>n.includes(l)).length;return e>0&&eb(t===!0)}),r.jsx(k,{htmlFor:"select-all-permissions-checkbox",className:"font-medium",children:a("Select All Permissions")})]}),r.jsxs("div",{className:"text-xs text-gray-500",children:[n.length," ",a("of")," ",m().length," ",a("selected")]})]})}),r.jsx("div",{className:"space-y-6",children:Object.entries(h).map(([t,i])=>r.jsxs("div",{className:"border rounded shadow-sm",children:[r.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 border-b",children:[r.jsxs("div",{className:"flex items-center space-x-2",children:[r.jsx(v,{id:`module-checkbox-${t.replace(/\s+/g,"-").toLowerCase()}`,checked:E(t),indeterminate:P(t),onCheckedChange:e=>g(t,e===!0)}),r.jsx(k,{htmlFor:`module-checkbox-${t.replace(/\s+/g,"-").toLowerCase()}`,className:"font-medium",children:t})]}),r.jsxs("div",{className:"text-xs text-gray-500",children:[i.filter(e=>n.includes(e.id.toString())).length," of ",i.length," ",a("selected")]})]}),r.jsx("div",{className:"p-3",children:r.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-2",children:i.map(e=>r.jsxs("div",{className:"flex items-center space-x-2",children:[r.jsx(L,{id:`permission-checkbox-${e.id.toString().replace(/\s+/g,"-").toLowerCase()}`,checked:n.includes(e.id.toString())||n.includes(e.name),onCheckedChange:l=>c(e.id.toString(),l===!0)}),r.jsx(k,{htmlFor:`permission-checkbox-${e.id.toString().replace(/\s+/g,"-").toLowerCase()}`,className:"text-sm truncate",children:e.label})]},e.id))})})]},t))})]})}function B({permissions:o=[],maxDisplay:s=3}){const{t:d}=S();return!o||!Array.isArray(o)||o.length===0?r.jsx("span",{className:"text-sm text-gray-500",children:"-"}):r.jsxs("div",{className:"flex flex-wrap gap-1",children:[o.slice(0,s).map((a,n)=>r.jsx("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-blue-100 text-blue-800",children:a.label||a.name},n)),o.length>s&&r.jsxs("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-gray-100 text-gray-800",children:["+",o.length-s," ",d("more")]})]})}function vr(){const{t:o}=S(),{permissions:s,flash:d,auth:a}=$().props,[n,u]=f.useState(j);f.useEffect(()=>{s&&u({...j,table:{...j.table,columns:[...j.table.columns,{key:"permissions",label:o("Permissions"),render:(m,x)=>r.jsx(B,{permissions:m||[]})}]},form:{...j.form,fields:[...j.form.fields.map(m=>m.name==="label"?{...m,render:(x,c,g)=>{const b=(c==null?void 0:c.id)&&!(c!=null&&c.is_editable);return r.jsx("input",{type:"text",className:`flex h-10 w-full rounded-md border border-input 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 ${b?"disabled:cursor-not-allowed disabled:opacity-50":""}`,value:c.label||"",onChange:N=>g("label",N.target.value),disabled:b,placeholder:"Enter role name",required:!0})}}:m).filter(m=>m.name!=="permissions"),{name:"permissions",label:o("Role Permissions"),type:"custom",colSpan:12,render:(m,x,c)=>{var g;return r.jsxs("div",{className:"mt-4",id:"permissions",children:[r.jsx("h3",{className:"text-lg font-medium mb-2",children:o("Manage Permissions")}),r.jsxs("p",{className:"text-sm text-gray-500 mb-4",children:[o("Select permissions for this role. You can select all permissions at once or manage them by module."),((g=a.user)==null?void 0:g.type)!=="superadmin"&&r.jsx("span",{className:"block mt-1 text-amber-600",children:o("Note: Only permissions for modules available to your role are shown.")})]}),r.jsx(T,{permissions:s,selectedPermissions:x.permissions||[],onChange:b=>{c("permissions",b)}})]})}}]}})},[s,o]);const h=[{title:o("Dashboard"),href:route("dashboard")},{title:o("Staff"),href:route("roles.index")},{title:o("Roles")}];return r.jsx(I,{config:n,url:"/roles",breadcrumbs:h})}export{vr as default}; diff --git a/public/build/assets/index-ukFgEklP.js b/public/build/assets/index-Cd1BYcg7.js similarity index 91% rename from public/build/assets/index-ukFgEklP.js rename to public/build/assets/index-Cd1BYcg7.js index b98d2bd00..b54cc671e 100644 --- a/public/build/assets/index-ukFgEklP.js +++ b/public/build/assets/index-Cd1BYcg7.js @@ -1 +1 @@ -import{r as p,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-BTxLyiDA.js";import{u as ce,c as de,x as I,L as P,I as T,o as l,S as ne,X as le,r as x,t as c}from"./app-CfhhiFAk.js";import{C as oe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as me}from"./pagination-D8A_HnL5.js";import{T as pe}from"./textarea-kpRjGGLz.js";import{S as $,a as V,b as B,c as H,d as N}from"./select-BrY9osYp.js";import{M as E}from"./message-square-CWrDttoL.js";import{a as xe,C as he}from"./chevron-up-DepFp6b6.js";import{S as K}from"./square-pen-bMHyT06o.js";import{L as X}from"./lock-By6rMOj7.js";import{T as G}from"./trash-2-C1NR_7Ss.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function as(){const{t:r}=ce(),{auth:_,interviewTypes:a,filters:d={},globalSettings:t}=de().props,C=(_==null?void 0:_.permissions)||[],[w,A]=p.useState(d.search||""),[h,q]=p.useState(d.status||"all"),[J,b]=p.useState(!1),[v,k]=p.useState(null),[g,M]=p.useState("create"),[S,Q]=p.useState(new Set),[n,f]=p.useState({name:"",description:"",status:"active"}),[o,j]=p.useState({}),y=I(C,"create-interview-types"),u=I(C,"edit-interview-types"),z=I(C,"delete-interview-types"),W=s=>{const i=new Set(S);i.has(s)?i.delete(s):i.add(s),Q(i)},F=()=>{f({name:"",description:"",status:"active"}),j({}),M("create"),k(null)},O=s=>{f({name:s.name||"",description:s.description||"",status:s.status||"active"}),M("edit"),k(s),j({}),window.scrollTo({top:0,behavior:"smooth"})},Y=()=>{const s={};return n.name.trim()?n.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Name is required"),["active","inactive"].includes(n.status)||(s.status=r("Please select a valid status")),j(s),Object.keys(s).length===0},R=(s={})=>{x.get(route("hr.recruitment.interview-types.index"),{page:1,search:w||void 0,status:h!=="all"?h:void 0,per_page:d.per_page||10,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0,...s},{preserveState:!0,preserveScroll:!0})},U=s=>{s.preventDefault(),R()},Z=()=>{A(""),q("all"),x.get(route("hr.recruitment.interview-types.index"),{page:1,per_page:d.per_page||10},{preserveState:!0,preserveScroll:!0})},ee=s=>{const i=d.sort_field===s&&d.sort_direction==="asc"?"desc":"asc";R({sort_field:s,sort_direction:i})},se=s=>{s.preventDefault(),Y()&&(g==="create"?(t!=null&&t.is_demo||c.loading(r("Creating interview type...")),x.post(route("hr.recruitment.interview-types.store"),n,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),j(i),c.error(r("Please check the form for errors"))}})):(t!=null&&t.is_demo||c.loading(r("Updating interview type...")),x.put(route("hr.recruitment.interview-types.update",v.id),n,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),j(i),c.error(r("Please check the form for errors"))}})))},re=()=>{t!=null&&t.is_demo||c.loading(r("Deleting interview type...")),x.delete(route("hr.recruitment.interview-types.destroy",v.id),{onSuccess:s=>{b(!1),t!=null&&t.is_demo||c.dismiss(),s.props.flash.success?c.success(r(s.props.flash.success)):s.props.flash.error&&c.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof s=="string"?r(s):r("Failed to delete interview type: {{errors}}",{errors:Object.values(s).join(", ")}))}})},L=s=>{const i=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||c.loading(r(i==="active"?"Activating interview type...":"Deactivating interview type...")),x.put(route("hr.recruitment.interview-types.toggle-status",s.id),{},{onSuccess:m=>{t!=null&&t.is_demo||c.dismiss(),m.props.flash.success?c.success(r(m.props.flash.success)):m.props.flash.error&&c.error(r(m.props.flash.error))},onError:m=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof m=="string"?r(m):r("Failed to update status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},te=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.interview-types.index")},{title:r("Interview Types")}],D=!!w||h!=="all",ae=({field:s})=>d.sort_field===s?e.jsx("span",{children:d.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(ie,{title:r("Interview Types"),description:"",url:"/hr/recruitment/interview-types",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(g==="create"?"Add New Interview Type":"Edit Interview Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(g==="create"?"Fill in the details to create a new interview type":"Update the interview type details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"name",className:"required",required:!0,children:r("Interview Type Name")}),e.jsx(T,{id:"name",type:"text",value:n.name,onChange:s=>f({...n,name:s.target.value}),placeholder:r("e.g., Technical, HR, Panel, Phone Screen"),className:o.name?"border-red-500":"",disabled:!y&&!u,required:!0}),o.name&&e.jsx("p",{className:"text-sm text-red-500",children:o.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:r("Description")}),e.jsx(pe,{id:"description",value:n.description,onChange:s=>f({...n,description:s.target.value}),placeholder:r("Brief description of the interview type"),rows:3,className:o.description?"border-red-500":"",disabled:!y&&!u}),o.description&&e.jsx("p",{className:"text-sm text-red-500",children:o.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"status",className:"required",required:!0,children:r("Status")}),e.jsxs($,{value:n.status,onValueChange:s=>f({...n,status:s}),disabled:!y&&!u,children:[e.jsx(V,{className:o.status?"border-red-500":"",children:e.jsx(B,{placeholder:r("Select status")})}),e.jsxs(H,{children:[e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]}),o.status&&e.jsx("p",{className:"text-sm text-red-500",children:o.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(y||u)&&e.jsx(l,{type:"submit",className:"flex-1",children:r(g==="create"?"Add Interview Type":"Update Interview Type")}),g==="edit"&&e.jsx(l,{type:"button",variant:"outline",onClick:F,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(ne,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(T,{type:"text",placeholder:r("Search interview types..."),value:w,onChange:s=>A(s.target.value),onKeyDown:s=>s.key==="Enter"&&U(s),className:"pl-10"})]}),e.jsx(l,{onClick:U,variant:"default",children:r("Search")}),D&&e.jsxs(l,{onClick:Z,variant:"outline",children:[e.jsx(le,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs($,{value:h,onValueChange:q,children:[e.jsx(V,{children:e.jsx(B,{placeholder:r("All Statuses")})}),e.jsxs(H,{children:[e.jsx(N,{value:"all",children:r("All Statuses")}),e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((a==null?void 0:a.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Interview Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage interview types used in the recruitment process")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>ee("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(ae,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-purple-100 text-purple-600 dark:bg-purple-900/30 dark:text-purple-400",children:e.jsx(E,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:S.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>W(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:S.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>O(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>L(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(X,{className:"h-4 w-4"})})]}),z&&e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>{k(s),b(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(G,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-purple-100 text-purple-600 dark:bg-purple-900/30 dark:text-purple-400",children:e.jsx(E,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>O(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>L(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(X,{className:"h-4 w-4"})})]}),z&&e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>{k(s),b(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(G,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]},s.id))}),(a==null?void 0:a.total)>((a==null?void 0:a.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("interview types"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");x.get(route("hr.recruitment.interview-types.index"),{page:i,per_page:d.per_page||10,search:w||void 0,status:h!=="all"?h:void 0,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(E,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No interview types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(D?"No interview types match your search criteria. Try adjusting your filters.":"Create interview types to categorize your recruitment interviews.")}),!D&&y&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first interview type.")})]})})]})]}),e.jsx(oe,{isOpen:J,onClose:()=>b(!1),onConfirm:re,itemName:(v==null?void 0:v.name)||"",entityName:"interview type"})]})}export{as as default}; +import{r as p,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-CLNVC8w_.js";import{u as ce,c as de,x as I,L as P,I as T,o as l,S as ne,X as le,r as x,t as c}from"./app-Dya84jp7.js";import{C as oe}from"./CrudDeleteModal-D32N6I8y.js";import{P as me}from"./pagination-4PUepASD.js";import{T as pe}from"./textarea-yeg8ONhy.js";import{S as $,a as V,b as B,c as H,d as N}from"./select-CHkpLxhL.js";import{M as E}from"./message-square-DyWo8S6i.js";import{a as xe,C as he}from"./chevron-up-DHaGktre.js";import{S as K}from"./square-pen-CzdhbxyN.js";import{L as X}from"./lock-DaHvMEII.js";import{T as G}from"./trash-2-BeirBLIk.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function as(){const{t:r}=ce(),{auth:_,interviewTypes:a,filters:d={},globalSettings:t}=de().props,C=(_==null?void 0:_.permissions)||[],[w,A]=p.useState(d.search||""),[h,q]=p.useState(d.status||"all"),[J,b]=p.useState(!1),[v,k]=p.useState(null),[g,M]=p.useState("create"),[S,Q]=p.useState(new Set),[n,f]=p.useState({name:"",description:"",status:"active"}),[o,j]=p.useState({}),y=I(C,"create-interview-types"),u=I(C,"edit-interview-types"),z=I(C,"delete-interview-types"),W=s=>{const i=new Set(S);i.has(s)?i.delete(s):i.add(s),Q(i)},F=()=>{f({name:"",description:"",status:"active"}),j({}),M("create"),k(null)},O=s=>{f({name:s.name||"",description:s.description||"",status:s.status||"active"}),M("edit"),k(s),j({}),window.scrollTo({top:0,behavior:"smooth"})},Y=()=>{const s={};return n.name.trim()?n.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Name is required"),["active","inactive"].includes(n.status)||(s.status=r("Please select a valid status")),j(s),Object.keys(s).length===0},R=(s={})=>{x.get(route("hr.recruitment.interview-types.index"),{page:1,search:w||void 0,status:h!=="all"?h:void 0,per_page:d.per_page||10,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0,...s},{preserveState:!0,preserveScroll:!0})},U=s=>{s.preventDefault(),R()},Z=()=>{A(""),q("all"),x.get(route("hr.recruitment.interview-types.index"),{page:1,per_page:d.per_page||10},{preserveState:!0,preserveScroll:!0})},ee=s=>{const i=d.sort_field===s&&d.sort_direction==="asc"?"desc":"asc";R({sort_field:s,sort_direction:i})},se=s=>{s.preventDefault(),Y()&&(g==="create"?(t!=null&&t.is_demo||c.loading(r("Creating interview type...")),x.post(route("hr.recruitment.interview-types.store"),n,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),j(i),c.error(r("Please check the form for errors"))}})):(t!=null&&t.is_demo||c.loading(r("Updating interview type...")),x.put(route("hr.recruitment.interview-types.update",v.id),n,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),j(i),c.error(r("Please check the form for errors"))}})))},re=()=>{t!=null&&t.is_demo||c.loading(r("Deleting interview type...")),x.delete(route("hr.recruitment.interview-types.destroy",v.id),{onSuccess:s=>{b(!1),t!=null&&t.is_demo||c.dismiss(),s.props.flash.success?c.success(r(s.props.flash.success)):s.props.flash.error&&c.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof s=="string"?r(s):r("Failed to delete interview type: {{errors}}",{errors:Object.values(s).join(", ")}))}})},L=s=>{const i=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||c.loading(r(i==="active"?"Activating interview type...":"Deactivating interview type...")),x.put(route("hr.recruitment.interview-types.toggle-status",s.id),{},{onSuccess:m=>{t!=null&&t.is_demo||c.dismiss(),m.props.flash.success?c.success(r(m.props.flash.success)):m.props.flash.error&&c.error(r(m.props.flash.error))},onError:m=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof m=="string"?r(m):r("Failed to update status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},te=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.interview-types.index")},{title:r("Interview Types")}],D=!!w||h!=="all",ae=({field:s})=>d.sort_field===s?e.jsx("span",{children:d.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(ie,{title:r("Interview Types"),description:"",url:"/hr/recruitment/interview-types",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(g==="create"?"Add New Interview Type":"Edit Interview Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(g==="create"?"Fill in the details to create a new interview type":"Update the interview type details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"name",className:"required",required:!0,children:r("Interview Type Name")}),e.jsx(T,{id:"name",type:"text",value:n.name,onChange:s=>f({...n,name:s.target.value}),placeholder:r("e.g., Technical, HR, Panel, Phone Screen"),className:o.name?"border-red-500":"",disabled:!y&&!u,required:!0}),o.name&&e.jsx("p",{className:"text-sm text-red-500",children:o.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:r("Description")}),e.jsx(pe,{id:"description",value:n.description,onChange:s=>f({...n,description:s.target.value}),placeholder:r("Brief description of the interview type"),rows:3,className:o.description?"border-red-500":"",disabled:!y&&!u}),o.description&&e.jsx("p",{className:"text-sm text-red-500",children:o.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"status",className:"required",required:!0,children:r("Status")}),e.jsxs($,{value:n.status,onValueChange:s=>f({...n,status:s}),disabled:!y&&!u,children:[e.jsx(V,{className:o.status?"border-red-500":"",children:e.jsx(B,{placeholder:r("Select status")})}),e.jsxs(H,{children:[e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]}),o.status&&e.jsx("p",{className:"text-sm text-red-500",children:o.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(y||u)&&e.jsx(l,{type:"submit",className:"flex-1",children:r(g==="create"?"Add Interview Type":"Update Interview Type")}),g==="edit"&&e.jsx(l,{type:"button",variant:"outline",onClick:F,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(ne,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(T,{type:"text",placeholder:r("Search interview types..."),value:w,onChange:s=>A(s.target.value),onKeyDown:s=>s.key==="Enter"&&U(s),className:"pl-10"})]}),e.jsx(l,{onClick:U,variant:"default",children:r("Search")}),D&&e.jsxs(l,{onClick:Z,variant:"outline",children:[e.jsx(le,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs($,{value:h,onValueChange:q,children:[e.jsx(V,{children:e.jsx(B,{placeholder:r("All Statuses")})}),e.jsxs(H,{children:[e.jsx(N,{value:"all",children:r("All Statuses")}),e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((a==null?void 0:a.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Interview Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage interview types used in the recruitment process")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>ee("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(ae,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-purple-100 text-purple-600 dark:bg-purple-900/30 dark:text-purple-400",children:e.jsx(E,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:S.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>W(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:S.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>O(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>L(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(X,{className:"h-4 w-4"})})]}),z&&e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>{k(s),b(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(G,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-purple-100 text-purple-600 dark:bg-purple-900/30 dark:text-purple-400",children:e.jsx(E,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>O(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>L(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(X,{className:"h-4 w-4"})})]}),z&&e.jsx(l,{variant:"ghost",size:"sm",onClick:()=>{k(s),b(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(G,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]},s.id))}),(a==null?void 0:a.total)>((a==null?void 0:a.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("interview types"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");x.get(route("hr.recruitment.interview-types.index"),{page:i,per_page:d.per_page||10,search:w||void 0,status:h!=="all"?h:void 0,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(E,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No interview types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(D?"No interview types match your search criteria. Try adjusting your filters.":"Create interview types to categorize your recruitment interviews.")}),!D&&y&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first interview type.")})]})})]})]}),e.jsx(oe,{isOpen:J,onClose:()=>b(!1),onConfirm:re,itemName:(v==null?void 0:v.name)||"",entityName:"interview type"})]})}export{as as default}; diff --git a/public/build/assets/index-BxTsFXQg.js b/public/build/assets/index-Ce33qTIq.js similarity index 98% rename from public/build/assets/index-BxTsFXQg.js rename to public/build/assets/index-Ce33qTIq.js index 29799e7f5..263068679 100644 --- a/public/build/assets/index-BxTsFXQg.js +++ b/public/build/assets/index-Ce33qTIq.js @@ -1,4 +1,4 @@ -import{y as er,R as B,r as w,j as e}from"./ui-Z445SNHD.js";import{P as sr}from"./page-template-BTxLyiDA.js";import{u as M,t as P,r as ie,L as W,I as X,o as _,C as I,l as z,ao as me,m as L,n as q,B as qs,D as rr,h as ar,j as tr,k as nr,c as ir,b as cr,P as lr,X as or,s as _s,v as Cs,w as ks}from"./app-CfhhiFAk.js";import{S as dr}from"./switch-CKduD2wX.js";import{T as mr,a as ur,b as Es}from"./tabs-pc4jrsjt.js";import{C as hr}from"./CrudDeleteModal-CKTiD3_K.js";import{L as S}from"./loader-circle-wGk7YsPK.js";import{C as xr}from"./copy-xfopPExK.js";import{C as Us}from"./circle-check-big-C5Cqj7-2.js";import{C as F}from"./credit-card-BmdpMcMw.js";import{E as ae}from"./external-link-QgK5Wt8A.js";import{W as Ce}from"./wallet-OtmBA2C9.js";import{A,a as R}from"./alert-DH0o7BP8.js";import{C as ke}from"./coins-BDVfLngB.js";import{I as Ee}from"./info-D_4wnc_R.js";import{C as D}from"./circle-alert-64DrdoHv.js";import{T as pr}from"./tag-JSZ9YmZg.js";import{C as ve}from"./crown-hSojj3Kc.js";import{Z as Fs}from"./zap-DncwKEcc.js";import{U as Ts}from"./users-C4LpG59H.js";import{H as fr}from"./hard-drive-B_Mpft6K.js";import{C as yr}from"./circle-check-BE5AcCr7.js";import{S as jr}from"./square-pen-bMHyT06o.js";import{T as br}from"./trash-2-C1NR_7Ss.js";import{B as Nr,I as ge}from"./indian-rupee-Dzf_OaiN.js";import{C as vr}from"./clock-CwFdn-oy.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";var Ks="basil",gr=function(n){return n===3?"v3":n},$s="https://js.stripe.com",wr="".concat($s,"/").concat(Ks,"/stripe.js"),Pr=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,_r=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;var Cr=function(n){return Pr.test(n)||_r.test(n)},kr=function(){for(var n=document.querySelectorAll('script[src^="'.concat($s,'"]')),t=0;t element.");return d.appendChild(c),c},Er=function(n,t){!n||!n._registerWrapper||n._registerWrapper({name:"stripe-js",version:"7.9.0",startTime:t})},xe=null,fe=null,ye=null,Fr=function(n){return function(t){n(new Error("Failed to load Stripe.js",{cause:t}))}},Tr=function(n,t){return function(){window.Stripe?n(window.Stripe):t(new Error("Stripe.js not available"))}},Mr=function(n){return xe!==null?xe:(xe=new Promise(function(t,c){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe){t(window.Stripe);return}try{var d=kr();if(!(d&&n)){if(!d)d=Ms(n);else if(d&&ye!==null&&fe!==null){var p;d.removeEventListener("load",ye),d.removeEventListener("error",fe),(p=d.parentNode)===null||p===void 0||p.removeChild(d),d=Ms(n)}}ye=Tr(t,c),fe=Fr(c),d.addEventListener("load",ye),d.addEventListener("error",fe)}catch(v){c(v);return}}),xe.catch(function(t){return xe=null,Promise.reject(t)}))},Or=function(n,t,c){if(n===null)return null;var d=t[0],p=d.match(/^pk_test/),v=gr(n.version),y=Ks;p&&v!==y&&console.warn("Stripe.js@".concat(v," was loaded on the page, but @stripe/stripe-js@").concat("7.9.0"," expected Stripe.js@").concat(y,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var s=n.apply(void 0,t);return Er(s,c),s},pe,Ws=!1,Ys=function(){return pe||(pe=Mr(null).catch(function(n){return pe=null,Promise.reject(n)}),pe)};Promise.resolve().then(function(){return Ys()}).catch(function(a){Ws||console.warn(a)});var Ar=function(){for(var n=arguments.length,t=new Array(n),c=0;c=0)&&(t[d]=a[d]);return t}function Br(a,n){if(a==null)return{};var t=Dr(a,n),c,d;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(a);for(d=0;d=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(t[c]=a[c])}return t}function Hs(a,n){return Lr(a)||qr(a,n)||Ur(a,n)||Kr()}function Lr(a){if(Array.isArray(a))return a}function qr(a,n){var t=a&&(typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"]);if(t!=null){var c=[],d=!0,p=!1,v,y;try{for(t=t.call(a);!(d=(v=t.next()).done)&&(c.push(v.value),!(n&&c.length===n));d=!0);}catch(s){p=!0,y=s}finally{try{!d&&t.return!=null&&t.return()}finally{if(p)throw y}}return c}}function Ur(a,n){if(a){if(typeof a=="string")return Ss(a,n);var t=Object.prototype.toString.call(a).slice(8,-1);if(t==="Object"&&a.constructor&&(t=a.constructor.name),t==="Map"||t==="Set")return Array.from(a);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ss(a,n)}}function Ss(a,n){(n==null||n>a.length)&&(n=a.length);for(var t=0,c=new Array(n);t element.");return d.appendChild(c),c},Er=function(n,t){!n||!n._registerWrapper||n._registerWrapper({name:"stripe-js",version:"7.9.0",startTime:t})},xe=null,fe=null,ye=null,Fr=function(n){return function(t){n(new Error("Failed to load Stripe.js",{cause:t}))}},Tr=function(n,t){return function(){window.Stripe?n(window.Stripe):t(new Error("Stripe.js not available"))}},Mr=function(n){return xe!==null?xe:(xe=new Promise(function(t,c){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe){t(window.Stripe);return}try{var d=kr();if(!(d&&n)){if(!d)d=Ms(n);else if(d&&ye!==null&&fe!==null){var p;d.removeEventListener("load",ye),d.removeEventListener("error",fe),(p=d.parentNode)===null||p===void 0||p.removeChild(d),d=Ms(n)}}ye=Tr(t,c),fe=Fr(c),d.addEventListener("load",ye),d.addEventListener("error",fe)}catch(v){c(v);return}}),xe.catch(function(t){return xe=null,Promise.reject(t)}))},Or=function(n,t,c){if(n===null)return null;var d=t[0],p=d.match(/^pk_test/),v=gr(n.version),y=Ks;p&&v!==y&&console.warn("Stripe.js@".concat(v," was loaded on the page, but @stripe/stripe-js@").concat("7.9.0"," expected Stripe.js@").concat(y,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var s=n.apply(void 0,t);return Er(s,c),s},pe,Ws=!1,Ys=function(){return pe||(pe=Mr(null).catch(function(n){return pe=null,Promise.reject(n)}),pe)};Promise.resolve().then(function(){return Ys()}).catch(function(a){Ws||console.warn(a)});var Ar=function(){for(var n=arguments.length,t=new Array(n),c=0;c=0)&&(t[d]=a[d]);return t}function Br(a,n){if(a==null)return{};var t=Dr(a,n),c,d;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(a);for(d=0;d=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(t[c]=a[c])}return t}function Hs(a,n){return Lr(a)||qr(a,n)||Ur(a,n)||Kr()}function Lr(a){if(Array.isArray(a))return a}function qr(a,n){var t=a&&(typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"]);if(t!=null){var c=[],d=!0,p=!1,v,y;try{for(t=t.call(a);!(d=(v=t.next()).done)&&(c.push(v.value),!(n&&c.length===n));d=!0);}catch(s){p=!0,y=s}finally{try{!d&&t.return!=null&&t.return()}finally{if(p)throw y}}return c}}function Ur(a,n){if(a){if(typeof a=="string")return Ss(a,n);var t=Object.prototype.toString.call(a).slice(8,-1);if(t==="Object"&&a.constructor&&(t=a.constructor.name),t==="Map"||t==="Set")return Array.from(a);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ss(a,n)}}function Ss(a,n){(n==null||n>a.length)&&(n=a.length);for(var t=0,c=new Array(n);t1&&arguments[1]!==void 0?arguments[1]:Vs;if(n===null||Wr(n))return n;throw new Error(t)},Xr=function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vs;if($r(n))return{tag:"async",stripePromise:Promise.resolve(n).then(function(d){return Bs(d,t)})};var c=Bs(n,t);return c===null?{tag:"empty"}:{tag:"sync",stripe:c}},Hr=function(n){!n||!n._registerWrapper||!n.registerAppInfo||(n._registerWrapper({name:"react-stripe-js",version:"3.10.0"}),n.registerAppInfo({name:"react-stripe-js",version:"3.10.0",url:"https://stripe.com/docs/stripe-js/react"}))},be=B.createContext(null);be.displayName="ElementsContext";var Gs=function(n,t){if(!n)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an provider."));return n},Zs=function(n){var t=n.stripe,c=n.options,d=n.children,p=B.useMemo(function(){return Xr(t)},[t]),v=B.useState(function(){return{stripe:p.tag==="sync"?p.stripe:null,elements:p.tag==="sync"?p.stripe.elements(c):null}}),y=Hs(v,2),s=y[0],i=y[1];B.useEffect(function(){var o=!0,j=function(f){i(function(u){return u.stripe?u:{stripe:f,elements:f.elements(c)}})};return p.tag==="async"&&!s.stripe?p.stripePromise.then(function(N){N&&o&&j(N)}):p.tag==="sync"&&!s.stripe&&j(p.stripe),function(){o=!1}},[p,s,c]);var x=Fe(t);B.useEffect(function(){x!==null&&x!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[x,t]);var l=Fe(c);return B.useEffect(function(){if(s.elements){var o=Js(c,l,["clientSecret","fonts"]);o&&s.elements.update(o)}},[c,l,s.elements]),B.useEffect(function(){Hr(s.stripe)},[s.stripe]),B.createElement(be.Provider,{value:s},d)};Zs.propTypes={stripe:$.any,options:$.object};var Jr=function(n){var t=B.useContext(be);return Gs(t,n)},Vr=function(){var n=Jr("calls useElements()"),t=n.elements;return t};$.func.isRequired;var Qs=B.createContext(null);Qs.displayName="CheckoutSdkContext";var Gr=function(n,t){if(!n)throw new Error("Could not find CheckoutProvider context; You need to wrap the part of your app that ".concat(t," in an provider."));return n},Zr=B.createContext(null);Zr.displayName="CheckoutContext";$.any,$.shape({fetchClientSecret:$.func.isRequired,elementsOptions:$.object}).isRequired;var Te=function(n){var t=B.useContext(Qs),c=B.useContext(be);if(t&&c)throw new Error("You cannot wrap the part of your app that ".concat(n," in both and providers."));return t?Gr(t,n):Gs(c,n)},Qr=["mode"],ea=function(n){return n.charAt(0).toUpperCase()+n.slice(1)},H=function(n,t){var c="".concat(ea(n),"Element"),d=function(s){var i=s.id,x=s.className,l=s.options,o=l===void 0?{}:l,j=s.onBlur,N=s.onFocus,f=s.onReady,u=s.onChange,b=s.onEscape,h=s.onClick,m=s.onLoadError,g=s.onLoaderStart,O=s.onNetworksChange,T=s.onConfirm,U=s.onCancel,Z=s.onShippingAddressChange,Y=s.onShippingRateChange,k=s.onSavedPaymentMethodRemove,se=s.onSavedPaymentMethodUpdate,Q=Te("mounts <".concat(c,">")),ce="elements"in Q?Q.elements:null,E="checkoutSdk"in Q?Q.checkoutSdk:null,V=B.useState(null),G=Hs(V,2),K=G[0],ue=G[1],te=B.useRef(null),le=B.useRef(null);re(K,"blur",j),re(K,"focus",N),re(K,"escape",b),re(K,"click",h),re(K,"loaderror",m),re(K,"loaderstart",g),re(K,"networkschange",O),re(K,"confirm",T),re(K,"cancel",U),re(K,"shippingaddresschange",Z),re(K,"shippingratechange",Y),re(K,"savedpaymentmethodremove",k),re(K,"savedpaymentmethodupdate",se),re(K,"change",u);var oe;f&&(n==="expressCheckout"?oe=f:oe=function(){f(K)}),re(K,"ready",oe),B.useLayoutEffect(function(){if(te.current===null&&le.current!==null&&(ce||E)){var C=null;if(E)switch(n){case"payment":C=E.createPaymentElement(o);break;case"address":if("mode"in o){var ne=o.mode,ee=Br(o,Qr);if(ne==="shipping")C=E.createShippingAddressElement(ee);else if(ne==="billing")C=E.createBillingAddressElement(ee);else throw new Error("Invalid options.mode. mode must be 'billing' or 'shipping'.")}else throw new Error("You must supply options.mode. mode must be 'billing' or 'shipping'.");break;case"expressCheckout":C=E.createExpressCheckoutElement(o);break;case"currencySelector":C=E.createCurrencySelectorElement();break;case"taxId":C=E.createTaxIdElement(o);break;default:throw new Error("Invalid Element type ".concat(c,". You must use either the , , , or ."))}else ce&&(C=ce.create(n,o));te.current=C,ue(C),C&&C.mount(le.current)}},[ce,E,o]);var r=Fe(o);return B.useEffect(function(){if(te.current){var C=Js(o,r,["paymentRequest"]);C&&"update"in te.current&&te.current.update(C)}},[o,r]),B.useLayoutEffect(function(){return function(){if(te.current&&typeof te.current.destroy=="function")try{te.current.destroy(),te.current=null}catch{}}},[]),B.createElement("div",{id:i,className:x,ref:le})},p=function(s){Te("mounts <".concat(c,">"));var i=s.id,x=s.className;return B.createElement("div",{id:i,className:x})},v=t?p:d;return v.propTypes={id:$.string,className:$.string,onChange:$.func,onBlur:$.func,onFocus:$.func,onReady:$.func,onEscape:$.func,onClick:$.func,onLoadError:$.func,onLoaderStart:$.func,onNetworksChange:$.func,onConfirm:$.func,onCancel:$.func,onShippingAddressChange:$.func,onShippingRateChange:$.func,onSavedPaymentMethodRemove:$.func,onSavedPaymentMethodUpdate:$.func,options:$.object},v.displayName=c,v.__elementType=n,v},J=typeof window>"u",sa=B.createContext(null);sa.displayName="EmbeddedCheckoutProviderContext";var ra=function(){var n=Te("calls useStripe()"),t=n.stripe;return t};H("auBankAccount",J);var Ls=H("card",J);H("cardNumber",J);H("cardExpiry",J);H("cardCvc",J);H("fpxBank",J);H("iban",J);H("idealBank",J);H("p24Bank",J);H("epsBank",J);H("payment",J);H("expressCheckout",J);H("currencySelector",J);H("paymentRequestButton",J);H("linkAuthentication",J);H("address",J);H("shippingAddress",J);H("paymentMethodMessaging",J);H("affirmMessage",J);H("afterpayClearpayMessage",J);H("taxId",J);function Ne(a={}){const{t:n}=M(),[t,c]=w.useState(!1),d=async(y,s)=>{c(!0);const x={stripe:"stripe.payment",paypal:"paypal.payment",bank:"bank.payment",razorpay:"razorpay.payment",mercadopago:"mercadopago.payment",paystack:"paystack.payment",flutterwave:"flutterwave.payment"}[y];if(!x){P.error(n("Invalid payment method")),c(!1);return}const l=v(y,s);ie.post(route(x),l,{onSuccess:o=>{var j,N,f;(N=(j=o.props)==null?void 0:j.flash)!=null&&N.success?P.success(n(o.props.flash.success)):P.success(n("Payment successful")),(f=a.onSuccess)==null||f.call(a)},onError:o=>{var N;const j=(o==null?void 0:o.message)||(o==null?void 0:o.error)||n("Payment failed");P.error(j),(N=a.onError)==null||N.call(a,j)},onFinish:()=>{c(!1)}})},p=(y,s)=>{const x={stripe:["payment_method_id","cardholder_name"],paypal:["order_id","payment_id"],bank:["amount"],razorpay:["payment_id","order_id","signature"],mercadopago:["payment_id","status"],paystack:["payment_id"],flutterwave:["payment_id"]}[y]||[];for(const l of x)if(!s[l])return P.error(n(`${l} is required`)),!1;return!0},v=(y,s)=>({plan_id:s.planId,billing_cycle:s.billingCycle,coupon_code:s.couponCode||"",...s});return{processing:t,processPayment:d,validatePaymentData:p,formatPaymentData:v}}const aa=({planId:a,couponCode:n,billingCycle:t,onSuccess:c,onCancel:d})=>{const{t:p}=M(),v=ra(),y=Vr(),[s,i]=w.useState(""),{processing:x,processPayment:l}=Ne({onSuccess:c,onError:N=>P.error(N)}),o=async N=>{if(N.preventDefault(),!v||!y||!s.trim()){P.error(p("Please fill in all required fields"));return}const f=y.getElement(Ls);if(!f)return;const{error:u,paymentMethod:b}=await v.createPaymentMethod({type:"card",card:f,billing_details:{name:s}});if(u){P.error(u.message||p("Payment failed"));return}l("stripe",{planId:a,billingCycle:t,couponCode:n,payment_method_id:b.id,cardholder_name:s})},j={style:{base:{fontSize:"16px",color:"#424770","::placeholder":{color:"#aab7c4"}},invalid:{color:"#9e2146"}}};return e.jsxs("form",{onSubmit:o,className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{htmlFor:"cardholder-name",children:p("Name on card")}),e.jsx(X,{id:"cardholder-name",type:"text",value:s,onChange:N=>i(N.target.value),placeholder:p("Enter cardholder name"),required:!0})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{children:p("Card details")}),e.jsx("div",{className:"p-3 border rounded-md",children:e.jsx(Ls,{options:j})})]}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(_,{type:"button",variant:"outline",onClick:d,disabled:x,className:"flex-1",children:p("Cancel")}),e.jsx(_,{type:"submit",disabled:!v||x,className:"flex-1",children:x?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"h-4 w-4 mr-2 animate-spin"}),p("Processing...")]}):p("Pay Now")})]})]})};function ta({planId:a,couponCode:n,billingCycle:t,stripeKey:c,onSuccess:d,onCancel:p}){const{t:v}=M(),[y,s]=w.useState(null);return w.useEffect(()=>{c&&c.startsWith("pk_")&&s(Ar(c))},[c]),y?e.jsx(Zs,{stripe:y,children:e.jsx(aa,{planId:a,couponCode:n,billingCycle:t,onSuccess:d,onCancel:p})}):e.jsx("div",{className:"p-4 text-center text-red-500",children:v("Stripe not configured properly")})}function na({planId:a,planPrice:n,couponCode:t,billingCycle:c,paypalClientId:d,currency:p,onSuccess:v,onCancel:y}){const{t:s}=M(),i=w.useRef(null),{processPayment:x}=Ne({onSuccess:v,onError:l=>P.error(l)});return w.useEffect(()=>{if(!d||!i.current)return;const l=document.createElement("script");return l.src=`https://www.paypal.com/sdk/js?client-id=${d}¤cy=${p.toUpperCase()}&disable-funding=credit,card`,l.async=!0,l.onload=()=>{window.paypal&&i.current&&window.paypal.Buttons({createOrder:(o,j)=>j.order.create({purchase_units:[{amount:{value:n.toString(),currency_code:p.toUpperCase()}}]}),onApprove:(o,j)=>j.order.capture().then(N=>{x("paypal",{planId:a,billingCycle:c,couponCode:t,order_id:o.orderID,payment_id:N.id})}),onError:o=>{console.error("PayPal error:",o),o.message&&o.message.includes("declined")?P.error(s("Card was declined. Please try a different payment method.")):P.error(s("Payment failed. Please try again."))},onCancel:()=>{y()}}).render(i.current)},document.head.appendChild(l),()=>{document.head.contains(l)&&document.head.removeChild(l)}},[d,a,c,t,p]),d?e.jsx("div",{className:"space-y-4",children:e.jsx("div",{ref:i})}):e.jsx("div",{className:"p-4 text-center text-red-500",children:s("PayPal not configured")})}function ia({planId:a,planPrice:n,couponCode:t,billingCycle:c,bankDetails:d,currencySymbol:p,onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),l=j=>{navigator.clipboard.writeText(j),P.success(s("Copied to clipboard"))},o=()=>{x(!0),ie.post(route("bank.payment"),{plan_id:a,billing_cycle:c,coupon_code:t,amount:n},{onSuccess:()=>{P.success(s("Payment request submitted successfully")),v()},onError:()=>{P.error(s("Failed to submit payment request"))},onFinish:()=>{x(!1)}})};return e.jsxs("div",{className:"space-y-4",children:[e.jsx(I,{children:e.jsxs(z,{className:"p-4",children:[e.jsx("h3",{className:"font-medium mb-3",children:s("Bank Transfer Details")}),e.jsxs("div",{className:"space-y-3 text-sm",children:[e.jsx("div",{className:"whitespace-pre-line",children:d}),e.jsxs("div",{className:"flex items-center justify-between p-2 bg-gray-50 rounded",children:[e.jsxs("span",{className:"font-medium",children:[s("Amount"),": ",p,n]}),e.jsxs(_,{variant:"outline",size:"sm",onClick:()=>l(n.toString()),children:[e.jsx(xr,{className:"h-3 w-3 mr-1"}),s("Copy")]})]})]})]})}),e.jsx(I,{className:"border-orange-200 bg-orange-50",children:e.jsx(z,{className:"p-4",children:e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(Us,{className:"h-5 w-5 text-orange-600 mt-0.5"}),e.jsxs("div",{className:"text-sm text-orange-800",children:[e.jsx("p",{className:"font-medium mb-1",children:s("Important Instructions")}),e.jsxs("ul",{className:"space-y-1 text-xs",children:[e.jsxs("li",{children:["• ",s("Transfer the exact amount shown above")]}),e.jsxs("li",{children:["• ",s("Include your order reference in the transfer description")]}),e.jsxs("li",{children:["• ",s("Your plan will be activated after payment verification")]}),e.jsxs("li",{children:["• ",s("Verification may take 1-3 business days")]})]})]})]})})}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:o,disabled:i,className:"flex-1",children:s(i?"Processing...":"I have made the payment")})]})]})}function ca({planId:a,planPrice:n,couponCode:t,billingCycle:c,razorpayKey:d,currency:p="INR",onSuccess:v,onCancel:y}){const{t:s}=M();w.useEffect(()=>{if(window&&window.Razorpay)return;const x=document.createElement("script");return x.src="https://checkout.razorpay.com/v1/checkout.js",x.async=!0,x.onerror=()=>{P.error(s("Failed to load Razorpay checkout. Please try again."))},document.body.appendChild(x),()=>{document.body.contains(x)&&document.body.removeChild(x)}},[]);const i=async()=>{var x,l;try{const o=await me.post(route("razorpay.create-order"),{plan_id:a,billing_cycle:c,coupon_code:t});if(o.data.error){P.error(o.data.error);return}const{order_id:j,amount:N}=o.data;if(!j||!N){P.error(s("Invalid response from server"));return}const f={key:d,amount:N,currency:p,name:"HRM",description:"Plan Subscription",order_id:j,handler:function(b){me.post(route("razorpay.verify-payment"),{razorpay_payment_id:b.razorpay_payment_id,razorpay_order_id:b.razorpay_order_id,razorpay_signature:b.razorpay_signature,plan_id:a,billing_cycle:c,coupon_code:t}).then(()=>{v()}).catch(h=>{var g,O;const m=((O=(g=h.response)==null?void 0:g.data)==null?void 0:O.error)||s("Payment verification failed");P.error(m)})},prefill:{name:"",email:"",contact:""},theme:{color:"#3B82F6"},modal:{ondismiss:y}};if(!window.Razorpay){P.error(s("Razorpay SDK not loaded"));return}new window.Razorpay(f).open()}catch(o){const j=((l=(x=o.response)==null?void 0:x.data)==null?void 0:l.error)||s("Failed to initialize payment");P.error(j),console.error("Razorpay error:",o)}};return e.jsxs("div",{className:"space-y-4",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:s("You will be redirected to Razorpay to complete your payment.")}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:i,className:"flex-1",children:s("Pay with Razorpay")})]})]})}function la({planId:a,planPrice:n,couponCode:t,billingCycle:c,accessToken:d,currency:p="BRL",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),l=async()=>{var o,j;try{x(!0);const N=await me.post(route("mercadopago.create-preference"),{plan_id:a,billing_cycle:c,coupon_code:t||void 0},{headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});N.data.redirect_url?window.location.href=N.data.redirect_url:(P.error(s("Failed to create payment preference")),x(!1))}catch(N){const f=((j=(o=N.response)==null?void 0:o.data)==null?void 0:j.error)||N.message||s("Failed to create payment preference");P.error(f),x(!1)}};return e.jsxs("div",{className:"space-y-4",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:s("You will be redirected to MercadoPago to complete your payment.")}),e.jsxs("div",{className:"flex gap-3 mt-4",children:[e.jsx(_,{variant:"outline",onClick:y,className:"flex-1",disabled:i,children:s("Cancel")}),e.jsx(_,{onClick:l,className:"flex-1",disabled:i,children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"h-4 w-4 mr-2 animate-spin"}),s("Processing...")]}):s("Pay with MercadoPago")})]})]})}function oa({planId:a,planPrice:n,couponCode:t,billingCycle:c,paystackKey:d,currency:p,onSuccess:v,onCancel:y}){const{t:s}=M(),i=w.useRef(!1),{processPayment:x}=Ne({onSuccess:v,onError:l=>P.error(l)});return w.useEffect(()=>{if(!d||i.current)return;const l=document.createElement("script");return l.src="https://js.paystack.co/v1/inline.js",l.async=!0,l.onload=()=>{i.current=!0;const o=document.querySelector("[data-radix-dialog-overlay]");o&&(o.style.display="none"),window.PaystackPop.setup({key:d,email:"user@example.com",amount:Math.round(Number(n)*100),currency:p.toUpperCase(),callback:function(N){o&&(o.style.display=""),x("paystack",{planId:a,billingCycle:c,couponCode:t,payment_id:N.reference})},onClose:function(){o&&(o.style.display=""),y()}}).openIframe()},document.head.appendChild(l),()=>{document.head.contains(l)&&document.head.removeChild(l)}},[d,a,c,t,p]),d?e.jsx("div",{className:"p-4 text-center",children:e.jsx("p",{children:s("Redirecting to Paystack...")})}):e.jsx("div",{className:"p-4 text-center text-red-500",children:s("Paystack not configured")})}function da({planId:a,planPrice:n,couponCode:t,billingCycle:c,flutterwaveKey:d,currency:p,onSuccess:v,onCancel:y}){const{t:s}=M(),i=w.useRef(!1),{processPayment:x}=Ne({onSuccess:v,onError:l=>P.error(l)});return w.useEffect(()=>{if(!d||i.current)return;const l=document.createElement("script");return l.src="https://checkout.flutterwave.com/v3.js",l.async=!0,l.onload=()=>{i.current=!0,window.FlutterwaveCheckout({public_key:d,tx_ref:`plan_${a}_${Date.now()}`,amount:n,currency:p.toUpperCase(),payment_options:"card,mobilemoney,ussd",customer:{email:"user@example.com",phone_number:"",name:"Customer"},customizations:{title:"Plan Subscription",description:"Payment for subscription plan",logo:""},callback:function(o){o.status==="successful"?x("flutterwave",{planId:a,billingCycle:c,couponCode:t,payment_id:o.transaction_id,tx_ref:o.tx_ref}):(P.error(s("Payment was not completed")),y())},onclose:function(){y()}})},document.head.appendChild(l),()=>{document.head.contains(l)&&document.head.removeChild(l)}},[d,a,c,t,p]),d?e.jsx("div",{className:"p-4 text-center",children:e.jsx("p",{children:s("Redirecting to Flutterwave...")})}):e.jsx("div",{className:"p-4 text-center text-red-500",children:s("Flutterwave not configured")})}function ma({planId:a,couponCode:n,billingCycle:t,planPrice:c,paytabsClientKey:d,currency:p,onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),l=async()=>{var o,j,N,f,u,b;x(!0);try{const h={plan_id:a,billing_cycle:t,coupon_code:n||null,payment_id:`pt_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,transaction_id:`txn_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,_token:(o=document.querySelector('meta[name="csrf-token"]'))==null?void 0:o.getAttribute("content")},m=await me.post(route("paytabs.payment"),h,{headers:{"Content-Type":"application/json",Accept:"application/json","X-Requested-With":"XMLHttpRequest"},timeout:3e4});if(m.data.success&&m.data.redirect_url)P.success(s("Redirecting to PayTabs payment page...")),setTimeout(()=>{window.location.href=m.data.redirect_url},1e3);else throw new Error(m.data.message||"Payment initialization failed")}catch(h){console.error("PayTabs payment error:",h);let m=s("Payment failed. Please try again.");((j=h.response)==null?void 0:j.status)===400?m=((N=h.response.data)==null?void 0:N.message)||s("Invalid payment request. Please check your details."):((f=h.response)==null?void 0:f.status)===500?m=s("Server error. Please try again later."):(b=(u=h.response)==null?void 0:u.data)!=null&&b.message?m=h.response.data.message:h.message?m=h.message:h.code==="ECONNABORTED"&&(m=s("Request timeout. Please try again.")),P.error(m),x(!1)}};return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("PayTabs Payment")]})}),e.jsx(z,{children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(ae,{className:"h-5 w-5 text-blue-600 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-blue-900 mb-1",children:s("Secure Payment with PayTabs")}),e.jsx("p",{className:"text-sm text-blue-700",children:s("You will be redirected to PayTabs secure payment page to complete your transaction.")})]})]})}),e.jsxs("div",{className:"border rounded-lg p-4 bg-gray-50",children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsxs("span",{className:"text-sm font-medium text-gray-600",children:[s("Plan"),":"]}),e.jsx("span",{className:"text-sm text-gray-900",children:s("Subscription Plan")})]}),e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsxs("span",{className:"text-sm font-medium text-gray-600",children:[s("Billing Cycle"),":"]}),e.jsx("span",{className:"text-sm text-gray-900 capitalize",children:t})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("span",{className:"text-sm font-medium text-gray-600",children:[s("Amount"),":"]}),e.jsxs("span",{className:"text-lg font-bold text-gray-900",children:[p," ",c]})]}),n&&e.jsxs("div",{className:"flex justify-between items-center mt-2 pt-2 border-t",children:[e.jsxs("span",{className:"text-sm font-medium text-green-600",children:[s("Coupon Applied"),":"]}),e.jsx("span",{className:"text-sm text-green-700 font-medium",children:n})]})]}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(_,{type:"button",variant:"outline",onClick:y,className:"flex-1",disabled:i,children:s("Cancel")}),e.jsx(_,{type:"button",onClick:l,disabled:i,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay {{amount}}",{amount:`${p} ${c}`})]})})]})]})})]})}function ua({planId:a,couponCode:n,billingCycle:t,planPrice:c,skrillMerchantId:d,currency:p,onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(""),j=async N=>{if(N.preventDefault(),!l){P.error(s("Please enter your email address"));return}x(!0);try{const f={plan_id:a,billing_cycle:t,coupon_code:n||null,payment_id:`skrill_${Date.now()}`,transaction_id:`txn_${Date.now()}`,email:l};ie.post(route("skrill.payment"),f,{onSuccess:()=>{P.success(s("Payment successful!")),v()},onError:u=>{console.error("Skrill payment error:",u),P.error(s("Payment failed. Please try again."))},onFinish:()=>{x(!1)}})}catch(f){console.error("Skrill payment error:",f),P.error(s("Payment failed. Please try again.")),x(!1)}};return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(Ce,{className:"h-5 w-5"}),s("Skrill Payment")]})}),e.jsx(z,{children:e.jsxs("form",{onSubmit:j,className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{htmlFor:"email",children:s("Email Address")}),e.jsx(X,{id:"email",type:"email",value:l,onChange:N=>o(N.target.value),placeholder:s("Enter your email address"),required:!0}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("You will be redirected to Skrill to complete the payment")})]}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(_,{type:"button",variant:"outline",onClick:y,className:"flex-1",children:s("Cancel")}),e.jsx(_,{type:"submit",disabled:i,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Processing...")]}):s("Pay {{amount}}",{amount:`${p} ${c}`})})]})]})})]})}function ha({planId:a,couponCode:n,billingCycle:t,planPrice:c,currency:d,onSuccess:p,onCancel:v}){const{t:y}=M(),[s,i]=w.useState(!1),x=l=>{var f;l.preventDefault(),i(!0);const o=document.createElement("form");o.method="POST",o.action=route("coingate.payment");const j=(f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content");if(j){const u=document.createElement("input");u.type="hidden",u.name="_token",u.value=j,o.appendChild(u)}Object.entries({plan_id:a,billing_cycle:t,coupon_code:n||"",crypto_currency:"BTC"}).forEach(([u,b])=>{const h=document.createElement("input");h.type="hidden",h.name=u,h.value=String(b),o.appendChild(h)}),document.body.appendChild(o),o.submit()};return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(ke,{className:"h-5 w-5 text-orange-500"}),y("CoinGate Cryptocurrency Payment")]})}),e.jsxs(z,{children:[e.jsxs(A,{className:"mb-4",children:[e.jsx(Ee,{className:"h-4 w-4"}),e.jsx(R,{children:y("You will be redirected to CoinGate to complete your cryptocurrency payment securely.")})]}),e.jsxs("form",{onSubmit:x,className:"space-y-4",children:[e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx("span",{className:"text-sm font-medium",children:y("Plan")}),e.jsxs("span",{className:"text-sm",children:[y(t)," ",y("billing")]})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-sm font-medium",children:y("Amount")}),e.jsxs("span",{className:"text-lg font-bold",children:[d," ",c]})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2",children:y("Final cryptocurrency amount will be calculated at checkout based on current exchange rates")})]}),e.jsx("div",{className:"bg-blue-50 p-3 rounded-lg border border-blue-200",children:e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(Ee,{className:"h-4 w-4 text-blue-600 mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"text-xs text-blue-800",children:[e.jsx("p",{className:"font-medium mb-1",children:y("Payment Process:")}),e.jsxs("ul",{className:"space-y-1 list-disc list-inside",children:[e.jsx("li",{children:y('Click "Pay with Crypto" to proceed to CoinGate')}),e.jsx("li",{children:y("Complete payment using your selected cryptocurrency")}),e.jsx("li",{children:y("You will be redirected back after payment completion")})]})]})]})}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(_,{type:"button",variant:"outline",onClick:v,className:"flex-1",disabled:s,children:y("Cancel")}),e.jsx(_,{type:"submit",disabled:s,className:"flex-1 bg-orange-600 hover:bg-orange-700",children:s?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),y("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ke,{className:"mr-2 h-4 w-4"}),y("Pay with Crypto")]})})]})]})]})]})}function xa({planId:a,couponCode:n,billingCycle:t,planPrice:c,payfastMerchantId:d,currency:p,onSuccess:v,onCancel:y}){var b;const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState({firstName:"",lastName:"",email:""}),[j,N]=w.useState({}),f=()=>{const h={};return l.firstName.trim()||(h.firstName=s("First name is required")),l.lastName.trim()||(h.lastName=s("Last name is required")),l.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(l.email)||(h.email=s("Please enter a valid email address")):h.email=s("Email is required"),h},u=async h=>{var g;h.preventDefault();const m=f();if(N(m),Object.keys(m).length>0){P.error(s("Please fix the errors below"));return}if(c<5){P.error(s("Minimum payment amount is R5.00"));return}x(!0);try{const T=await(await fetch(route("payfast.payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((g=document.querySelector('meta[name="csrf-token"]'))==null?void 0:g.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:t,coupon_code:n,customer_details:l})})).json();if(T.success){const U=document.createElement("form");U.method="POST",U.action=T.action,U.innerHTML=T.inputs,document.body.appendChild(U),U.submit()}else P.error(T.error||s("Payment failed")),x(!1)}catch(O){console.error("PayFast payment error:",O),P.error(s("Payment failed. Please try again.")),x(!1)}};return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Payfast Payment")]})}),e.jsx(z,{children:e.jsxs("form",{onSubmit:u,className:"space-y-4",children:[e.jsx("input",{type:"hidden",name:"_token",value:((b=document.querySelector('meta[name="csrf-token"]'))==null?void 0:b.getAttribute("content"))||""}),e.jsx("input",{type:"hidden",name:"plan_id",value:a}),e.jsx("input",{type:"hidden",name:"billing_cycle",value:t}),e.jsx("input",{type:"hidden",name:"coupon_code",value:n||""}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{htmlFor:"firstName",children:s("First Name")}),e.jsx(X,{id:"firstName",name:"customer_details[firstName]",value:l.firstName,onChange:h=>{o(m=>({...m,firstName:h.target.value})),j.firstName&&N(m=>({...m,firstName:""}))},placeholder:s("Enter first name"),className:j.firstName?"border-red-500":"",required:!0}),j.firstName&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:j.firstName})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{htmlFor:"lastName",children:s("Last Name")}),e.jsx(X,{id:"lastName",name:"customer_details[lastName]",value:l.lastName,onChange:h=>{o(m=>({...m,lastName:h.target.value})),j.lastName&&N(m=>({...m,lastName:""}))},placeholder:s("Enter last name"),className:j.lastName?"border-red-500":"",required:!0}),j.lastName&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:j.lastName})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{htmlFor:"email",children:s("Email Address")}),e.jsx(X,{id:"email",name:"customer_details[email]",type:"email",value:l.email,onChange:h=>{o(m=>({...m,email:h.target.value})),j.email&&N(m=>({...m,email:""}))},placeholder:s("Enter email address"),className:j.email?"border-red-500":"",required:!0}),j.email&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:j.email}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("You will be redirected to Payfast to complete the payment")})]}),c<5&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("PayFast requires a minimum payment of R5.00. Current amount: {{currency}} {{amount}}",{currency:p,amount:c})})]}),e.jsxs("div",{className:"bg-muted p-3 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Amount")}),e.jsxs("span",{className:"text-sm font-bold",children:[p," ",c]})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Secure payment processing via PayFast")})]}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(_,{type:"button",variant:"outline",onClick:y,className:"flex-1",children:s("Cancel")}),e.jsx(_,{type:"submit",disabled:i||c<5,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Processing...")]}):s("Pay {{amount}}",{amount:`${p} ${c}`})})]})]})})]})}function pa({planId:a,couponCode:n,billingCycle:t,planPrice:c,toyyibpayCategoryCode:d,currency:p,onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState({name:"",email:"",phone:""}),[j,N]=w.useState({}),f=()=>{const h={};return l.name.trim()||(h.name=s("Full name is required")),l.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(l.email)||(h.email=s("Please enter a valid email address")):h.email=s("Email address is required"),l.phone.trim()?l.phone.length<10&&(h.phone=s("Please enter a valid Malaysian phone number")):h.phone=s("Phone number is required"),N(h),Object.keys(h).length===0},u=async h=>{var m;if(h.preventDefault(),!f()){P.error(s("Please fix the form errors"));return}x(!0),N({});try{const g={plan_id:a,billing_cycle:t,coupon_code:n||"",billName:`Plan Subscription - ${a}`,billDescription:`${t} subscription for ${l.name}`,billAmount:c,billTo:l.name.trim(),billEmail:l.email.trim(),billPhone:l.phone.trim()},O=document.createElement("form");O.method="POST",O.action=route("toyyibpay.payment");const T=document.createElement("input");T.type="hidden",T.name="_token",T.value=((m=document.querySelector('meta[name="csrf-token"]'))==null?void 0:m.getAttribute("content"))||"",O.appendChild(T),Object.entries(g).forEach(([U,Z])=>{const Y=document.createElement("input");Y.type="hidden",Y.name=U,Y.value=Z.toString(),O.appendChild(Y)}),document.body.appendChild(O),O.submit()}catch(g){console.error("ToyyibPay payment error:",g),P.error(s("Payment failed. Please try again.")),x(!1)}},b=h=>{const m=h.replace(/[^0-9]/g,"");return m.startsWith("60")?m.slice(0,12):m.startsWith("0")?"60"+m.slice(1,11):"60"+m.slice(0,10)};return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("toyyibPay Payment")]})}),e.jsxs(z,{children:[e.jsxs(A,{className:"mb-4",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to toyyibPay to complete your payment securely via FPX (Malaysian Online Banking)")})]}),e.jsxs("form",{onSubmit:u,className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(W,{htmlFor:"name",children:[s("Full Name")," *"]}),e.jsx(X,{id:"name",value:l.name,onChange:h=>{o(m=>({...m,name:h.target.value})),j.name&&N(m=>({...m,name:""}))},placeholder:s("Enter your full name"),className:j.name?"border-red-500":"",required:!0}),j.name&&e.jsx("p",{className:"text-sm text-red-500",children:j.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(W,{htmlFor:"email",children:[s("Email Address")," *"]}),e.jsx(X,{id:"email",type:"email",value:l.email,onChange:h=>{o(m=>({...m,email:h.target.value})),j.email&&N(m=>({...m,email:""}))},placeholder:s("Enter your email address"),className:j.email?"border-red-500":"",required:!0}),j.email&&e.jsx("p",{className:"text-sm text-red-500",children:j.email})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(W,{htmlFor:"phone",children:[s("Phone Number")," *"]}),e.jsx(X,{id:"phone",value:l.phone,onChange:h=>{const m=b(h.target.value);o(g=>({...g,phone:m})),j.phone&&N(g=>({...g,phone:""}))},placeholder:"60123456789",className:j.phone?"border-red-500":"",maxLength:12,required:!0}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Malaysian format: 60123456789 (numbers only)")}),j.phone&&e.jsx("p",{className:"text-sm text-red-500",children:j.phone})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(F,{className:"h-4 w-4 text-primary"}),e.jsx("p",{className:"text-sm font-medium",children:s("Payment Method: FPX (Online Banking)")})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Secure payment via Malaysian banks including Maybank, CIMB, Public Bank, RHB, and more")})]}),e.jsxs("div",{className:"border-t pt-4",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:[s("Total Amount"),":"]}),e.jsxs("span",{className:"text-lg font-bold",children:[p," ",c.toFixed(2)]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{type:"button",variant:"outline",onClick:y,className:"flex-1",disabled:i,children:s("Cancel")}),e.jsx(_,{type:"submit",disabled:i,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Processing...")]}):e.jsxs(e.Fragment,{children:[e.jsx(F,{className:"mr-2 h-4 w-4"}),s("Pay Now")]})})]})]})]})]})]})}function fa({planId:a,couponCode:n,billingCycle:t,planPrice:c,paytrMerchantId:d,currency:p,onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(!1),[j,N]=w.useState(""),f=w.useRef(null),[u,b]=w.useState({name:"",email:"",phone:"",address:""});w.useEffect(()=>{const m=g=>{g.origin==="https://www.paytr.com"&&(g.data==="success"?(o(!1),v()):g.data==="fail"&&(o(!1),P.error(s("Payment failed"))))};return window.addEventListener("message",m),()=>window.removeEventListener("message",m)},[v,s]);const h=async m=>{var g,O;if(m.preventDefault(),!u.name||!u.email||!u.phone){P.error(s("Please fill in required customer details"));return}x(!0);try{const T=await me.post(route("paytr.create-token"),{plan_id:a,billing_cycle:t,coupon_code:n,user_name:u.name,user_email:u.email,user_phone:u.phone,user_address:u.address});if(T.data.success)N(T.data.iframe_url),o(!0);else throw new Error(T.data.error||"Token creation failed")}catch(T){console.error("PayTR payment error:",T),P.error(((O=(g=T.response)==null?void 0:g.data)==null?void 0:O.error)||s("Payment failed. Please try again."))}finally{x(!1)}};return l?e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("PayTR Payment")]}),e.jsx(_,{variant:"outline",size:"sm",onClick:()=>o(!1),children:s("Back")})]})}),e.jsxs(z,{children:[e.jsx("div",{className:"w-full h-[600px] border rounded-lg overflow-hidden",children:e.jsx("iframe",{ref:f,src:j,width:"100%",height:"100%",frameBorder:"0",scrolling:"auto",title:"PayTR Payment"})}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2 text-center",children:s("Complete your payment in the secure PayTR iframe above")})]})]}):e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("PayTR Payment")]})}),e.jsx(z,{children:e.jsxs("form",{onSubmit:h,className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(W,{htmlFor:"name",children:[s("Full Name")," *"]}),e.jsx(X,{id:"name",value:u.name,onChange:m=>b(g=>({...g,name:m.target.value})),placeholder:s("Enter full name"),required:!0})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(W,{htmlFor:"email",children:[s("Email Address")," *"]}),e.jsx(X,{id:"email",type:"email",value:u.email,onChange:m=>b(g=>({...g,email:m.target.value})),placeholder:s("Enter email address"),required:!0})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(W,{htmlFor:"phone",children:[s("Phone Number")," *"]}),e.jsx(X,{id:"phone",value:u.phone,onChange:m=>b(g=>({...g,phone:m.target.value})),placeholder:"+905xxxxxxxxx",required:!0}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Turkish phone number format: +905xxxxxxxxx")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{htmlFor:"address",children:s("Address")}),e.jsx(X,{id:"address",value:u.address,onChange:m=>b(g=>({...g,address:m.target.value})),placeholder:s("Enter address (optional)")})]}),e.jsxs("div",{className:"bg-muted p-3 rounded-lg",children:[e.jsx("p",{className:"text-sm font-medium",children:s("Secure Payment via PayTR")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Credit Card, Debit Card - Real-time payment processing")})]}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(_,{type:"button",variant:"outline",onClick:y,className:"flex-1",children:s("Cancel")}),e.jsx(_,{type:"submit",disabled:i,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Processing...")]}):s("Pay {{amount}}",{amount:`${c} ${p}`})})]})]})})]})}function ya({planId:a,couponCode:n,billingCycle:t,planPrice:c,mollieApiKey:d,currency:p,onSuccess:v,onCancel:y}){var N;const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState({firstName:"",lastName:"",email:""}),j=f=>{if(!l.firstName||!l.lastName||!l.email){f.preventDefault(),alert(s("Please fill in all customer details"));return}x(!0)};return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Mollie Payment")]})}),e.jsx(z,{children:e.jsxs("form",{action:route("mollie.payment"),method:"POST",onSubmit:j,className:"space-y-4",children:[e.jsx("input",{type:"hidden",name:"_token",value:((N=document.querySelector('meta[name="csrf-token"]'))==null?void 0:N.getAttribute("content"))||""}),e.jsx("input",{type:"hidden",name:"plan_id",value:a}),e.jsx("input",{type:"hidden",name:"billing_cycle",value:t}),e.jsx("input",{type:"hidden",name:"coupon_code",value:n||""}),e.jsx("input",{type:"hidden",name:"payment_id",value:`mollie_${Date.now()}`}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{htmlFor:"firstName",children:s("First Name")}),e.jsx(X,{id:"firstName",name:"customer_details[firstName]",value:l.firstName,onChange:f=>o(u=>({...u,firstName:f.target.value})),placeholder:s("Enter first name"),required:!0})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{htmlFor:"lastName",children:s("Last Name")}),e.jsx(X,{id:"lastName",name:"customer_details[lastName]",value:l.lastName,onChange:f=>o(u=>({...u,lastName:f.target.value})),placeholder:s("Enter last name"),required:!0})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(W,{htmlFor:"email",children:s("Email Address")}),e.jsx(X,{id:"email",name:"customer_details[email]",type:"email",value:l.email,onChange:f=>o(u=>({...u,email:f.target.value})),placeholder:s("Enter email address"),required:!0})]}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(_,{type:"button",variant:"outline",onClick:y,className:"flex-1",children:s("Cancel")}),e.jsx(_,{type:"submit",disabled:i,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Processing...")]}):s("Pay {{amount}}",{amount:`€${c}`})})]})]})})]})}function ja({planId:a,planPrice:n,couponCode:t,billingCycle:c,cashfreeAppId:d,mode:p="sandbox",currency:v="INR",onSuccess:y,onCancel:s}){const{t:i}=M();w.useEffect(()=>{if(window&&window.Cashfree)return;const l=document.createElement("script");return l.src="https://sdk.cashfree.com/js/v3/cashfree.js",l.async=!0,l.onerror=()=>{P.error(i("Failed to load Cashfree SDK. Please try again."))},document.body.appendChild(l),()=>{document.body.contains(l)&&document.body.removeChild(l)}},[p]);const x=async()=>{var l,o,j;try{const N=await me.post(route("cashfree.create-session"),{plan_id:a,billing_cycle:c,coupon_code:t,_token:(l=document.querySelector('meta[name="csrf-token"]'))==null?void 0:l.getAttribute("content")});if(N.data.error){P.error(N.data.error);return}const{payment_session_id:f,order_id:u,amount:b,mode:h}=N.data;if(!f||!u){P.error(i("Invalid response from server"));return}if(!h){P.error(i("Payment mode not configured"));return}if(!window.Cashfree){P.error(i("Cashfree SDK not loaded"));return}const m=h==="production"?"PROD":"SANDBOX";try{const T=window.Cashfree({mode:m})}catch(T){P.error("Failed to initialize Cashfree: "+T.message);return}const g=window.Cashfree({mode:m}),O={paymentSessionId:f,returnUrl:window.location.origin+route("dashboard"),redirectTarget:"_modal",mode:m,style:{zIndex:99999}};g.checkout(O).then(T=>{var U,Z;if(T.error){P.error(T.error.message||i("Payment failed"));return}T.paymentDetails?me.post(route("cashfree.verify-payment"),{order_id:u,cf_payment_id:(U=T.paymentDetails)==null?void 0:U.paymentId,plan_id:a,billing_cycle:c,coupon_code:t,_token:(Z=document.querySelector('meta[name="csrf-token"]'))==null?void 0:Z.getAttribute("content")}).then(Y=>{y()}).catch(Y=>{var se,Q;const k=((Q=(se=Y.response)==null?void 0:se.data)==null?void 0:Q.error)||i("Payment verification failed");P.error(k)}):P.error(i("Payment status unclear"))}).catch(T=>{P.error(T.message||i("Payment initialization failed"))})}catch(N){const f=((j=(o=N.response)==null?void 0:o.data)==null?void 0:j.error)||i("Failed to initialize payment");P.error(f)}};return e.jsxs("div",{className:"space-y-4",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:i("You will be redirected to Cashfree to complete your payment.")}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:s,className:"flex-1",children:i("Cancel")}),e.jsx(_,{onClick:x,className:"flex-1",children:i("Pay with Cashfree")})]})]})}function ba({planId:a,planPrice:n,couponCode:t,billingCycle:c,iyzipayPublicKey:d,currency:p="USD",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),[j,N]=w.useState(null),f=async()=>{var b;if(!d){o(s("Iyzipay configuration is missing"));return}x(!0),o(null);try{const m=await(await fetch(route("iyzipay.create-form"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((b=document.querySelector('meta[name="csrf-token"]'))==null?void 0:b.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(m.success)window.location.href=m.redirect_url;else throw new Error(m.error||s("Failed to create payment form"))}catch(h){console.error("Iyzipay payment error:",h),o(h instanceof Error?h.message:s("Payment initialization failed"))}finally{x(!1)}},u=b=>new Intl.NumberFormat("en-US",{style:"currency",currency:p}).format(b);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Iyzipay Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:u(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),i?e.jsxs("div",{className:"text-center py-8",children:[e.jsx(S,{className:"h-8 w-8 animate-spin mx-auto mb-4"}),e.jsx("p",{children:s("Redirecting to payment page...")})]}):e.jsxs("div",{className:"space-y-4",children:[e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to Iyzipay secure payment page to complete your payment.")})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:f,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Processing...")]}):e.jsxs(e.Fragment,{children:[e.jsx(F,{className:"mr-2 h-4 w-4"}),s("Pay with Iyzipay")]})})]})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by Iyzipay - Secure payment processing")})]})]})}function Na({planId:a,planPrice:n,couponCode:t,billingCycle:c,benefitPublicKey:d,currency:p="BHD",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("Benefit payment configuration is missing"));return}x(!0),o(null);try{const b=await(await fetch(route("benefit.create-session"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success)window.location.href=b.payment_url;else throw new Error(b.error||s("Failed to create payment session"))}catch(u){console.error("Benefit payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("en-BH",{style:"currency",currency:p,minimumFractionDigits:3}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Benefit Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to Benefit to complete your payment securely. Benefit is the leading payment gateway in Bahrain.")})]}),e.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[e.jsx("h4",{className:"font-medium text-blue-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-blue-800 space-y-1",children:[e.jsxs("li",{children:["• ",s("Benefit Debit Cards")]}),e.jsxs("li",{children:["• ",s("Visa Credit/Debit Cards")]}),e.jsxs("li",{children:["• ",s("Mastercard Credit/Debit Cards")]}),e.jsxs("li",{children:["• ",s("Benefit Pay Mobile Wallet")]})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with Benefit")]})})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by Benefit - Bahrain's trusted payment gateway")})]})]})}function va({planId:a,planPrice:n,couponCode:t,billingCycle:c,ozowSiteKey:d,currency:p="ZAR",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("Ozow not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("ozow.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success)window.location.href=b.payment_url;else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("Ozow payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("en-ZA",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Ozow Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to Ozow to complete your payment securely. Ozow is South Africa's trusted instant payment gateway.")})]}),e.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[e.jsx("h4",{className:"font-medium text-blue-900 mb-2",children:s("Supported Banks")}),e.jsxs("ul",{className:"text-sm text-blue-800 space-y-1",children:[e.jsx("li",{children:"• Standard Bank"}),e.jsx("li",{children:"• FNB"}),e.jsx("li",{children:"• ABSA"}),e.jsx("li",{children:"• Nedbank"}),e.jsx("li",{children:"• Capitec Bank"}),e.jsx("li",{children:"• And more South African banks"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with Ozow")]})})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by Ozow - South Africa's instant payment gateway")})]})]})}function ga({planId:a,planPrice:n,couponCode:t,billingCycle:c,easebuzzMerchantKey:d,currency:p="INR",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("Easebuzz not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("easebuzz.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success)window.location.href=b.payment_url;else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("Easebuzz payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("en-IN",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Easebuzz Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to Easebuzz to complete your payment securely.")})]}),e.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[e.jsx("h4",{className:"font-medium text-blue-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-blue-800 space-y-1",children:[e.jsx("li",{children:"• Credit/Debit Cards"}),e.jsx("li",{children:"• Net Banking"}),e.jsx("li",{children:"• UPI"}),e.jsx("li",{children:"• Wallets"}),e.jsx("li",{children:"• EMI Options"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with Easebuzz")]})})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by Easebuzz - Secure payment processing")})]})]})}function wa({planId:a,planPrice:n,couponCode:t,billingCycle:c,khaltiPublicKey:d,currency:p="NPR",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var h;if(!d){o(s("Khalti not configured"));return}x(!0),o(null);try{const g=await(await fetch(route("khalti.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((h=document.querySelector('meta[name="csrf-token"]'))==null?void 0:h.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(g.success)N(g);else throw new Error(g.error||s("Payment creation failed"))}catch(m){console.error("Khalti payment error:",m),o(m instanceof Error?m.message:s("Payment initialization failed")),x(!1)}},N=h=>{if(window.KhaltiCheckout)f(h);else{const m=document.createElement("script");m.src="https://khalti.s3.ap-south-1.amazonaws.com/KPG/dist/2020.12.17.0.0.0/khalti-checkout.iffe.js",m.onload=()=>{f(h)},document.head.appendChild(m)}},f=h=>{const m={publicKey:h.public_key,productIdentity:h.product_identity,productName:h.product_name,productUrl:h.product_url,paymentPreference:["KHALTI","EBANKING","MOBILE_BANKING","CONNECT_IPS","SCT"],eventHandler:{onSuccess(O){u(O.token,O.amount)},onError(O){console.error("Khalti payment error:",O),o(s("Payment failed")),x(!1)},onClose(){x(!1)}}};new window.KhaltiCheckout(m).show({amount:h.amount})},u=(h,m)=>{ie.post(route("khalti.payment"),{plan_id:a,billing_cycle:c,coupon_code:t,token:h,amount:m/100},{onSuccess:()=>{P.success(s("Payment successful")),v()},onError:g=>{console.error("Payment processing error:",g),o(Object.values(g).flat().join(", ")),x(!1)}})},b=h=>new Intl.NumberFormat("en-NP",{style:"currency",currency:p}).format(h);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Khalti Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:b(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("Khalti is Nepal's most popular digital wallet and payment gateway.")})]}),e.jsxs("div",{className:"bg-purple-50 p-4 rounded-lg border border-purple-200",children:[e.jsx("h4",{className:"font-medium text-purple-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-purple-800 space-y-1",children:[e.jsx("li",{children:"• Khalti Wallet"}),e.jsx("li",{children:"• eBanking"}),e.jsx("li",{children:"• Mobile Banking"}),e.jsx("li",{children:"• Connect IPS"}),e.jsx("li",{children:"• SCT Cards"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Processing...")]}):e.jsxs(e.Fragment,{children:[e.jsx(F,{className:"mr-2 h-4 w-4"}),s("Pay with Khalti")]})})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by Khalti - Nepal's digital wallet")})]})]})}function Pa({planId:a,planPrice:n,couponCode:t,billingCycle:c,authorizenetMerchantId:d,currency:p="USD",isSandbox:v=!1,supportedCountries:y=["US","CA","GB","AU"],supportedCurrencies:s=["USD","CAD","CHF","DKK","EUR","GBP","NOK","PLN","SEK","AUD","NZD"],onSuccess:i,onCancel:x}){const{t:l}=M(),[o,j]=w.useState(!1),[N,f]=w.useState(null),[u,b]=w.useState({}),[h,m]=w.useState({card_number:"",expiry_month:"",expiry_year:"",cvv:"",cardholder_name:""}),g=E=>{const V=E.replace(/\s/g,"");return/^[0-9]{13,19}$/.test(V)},O=E=>/^(0[1-9]|1[0-2])$/.test(E),T=E=>{if(!/^[0-9]{2}$/.test(E))return!1;const V=new Date().getFullYear()%100,G=parseInt(E);return G>=V&&G<=V+20},U=E=>/^[0-9]{3,4}$/.test(E),Z=E=>E.trim().length>=2&&E.trim().length<=50,Y=E=>{const V=E.replace(/\s/g,""),G=V.match(/.{1,4}/g);return G?G.join(" "):V},k=(E,V)=>{let G=V;E==="card_number"?G=Y(V.replace(/\s/g,"").slice(0,19)):E==="expiry_month"?G=V.replace(/\D/g,"").slice(0,2):E==="expiry_year"?G=V.replace(/\D/g,"").slice(0,2):E==="cvv"&&(G=V.replace(/\D/g,"").slice(0,4)),m(K=>({...K,[E]:G})),u[E]&&b(K=>({...K,[E]:""}))},se=()=>{const E={};return g(h.card_number)||(E.card_number=l("Please enter a valid card number (13-19 digits)")),O(h.expiry_month)||(E.expiry_month=l("Please enter a valid month (01-12)")),T(h.expiry_year)||(E.expiry_year=l("Please enter a valid year (current year or later)")),U(h.cvv)||(E.cvv=l("Please enter a valid CVV (3-4 digits)")),Z(h.cardholder_name)||(E.cardholder_name=l("Please enter a valid cardholder name (2-50 characters)")),b(E),Object.keys(E).length===0},Q=async()=>{if(!d){f(l("AuthorizeNet not configured"));return}if(!se()){f(l("Please correct the errors below"));return}j(!0),f(null),ie.post(route("authorizenet.payment"),{plan_id:a,billing_cycle:c,coupon_code:t,...h},{onSuccess:()=>{P.success(l("Payment successful")),i()},onError:E=>{console.error("Payment processing error:",E),f(Object.values(E).flat().join(", ")),j(!1)}})},ce=E=>new Intl.NumberFormat("en-US",{style:"currency",currency:p}).format(E);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),l("AuthorizeNet Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[N&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:N})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:l("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:ce(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[l("Billing Cycle"),": ",l(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[l("Coupon Applied"),": ",t]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(W,{htmlFor:"cardholder_name",children:l("Cardholder Name")}),e.jsx(X,{id:"cardholder_name",value:h.cardholder_name,onChange:E=>k("cardholder_name",E.target.value),placeholder:l("Enter cardholder name"),className:u.cardholder_name?"border-red-500":""}),u.cardholder_name&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:u.cardholder_name})]}),e.jsxs("div",{children:[e.jsx(W,{htmlFor:"card_number",children:l("Card Number")}),e.jsx(X,{id:"card_number",value:h.card_number,onChange:E=>k("card_number",E.target.value),placeholder:"1234 5678 9012 3456",maxLength:23,className:u.card_number?"border-red-500":""}),u.card_number&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:u.card_number})]}),e.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[e.jsxs("div",{children:[e.jsx(W,{htmlFor:"expiry_month",children:l("Month")}),e.jsx(X,{id:"expiry_month",value:h.expiry_month,onChange:E=>k("expiry_month",E.target.value),placeholder:"MM",maxLength:2,className:u.expiry_month?"border-red-500":""}),u.expiry_month&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:u.expiry_month})]}),e.jsxs("div",{children:[e.jsx(W,{htmlFor:"expiry_year",children:l("Year")}),e.jsx(X,{id:"expiry_year",value:h.expiry_year,onChange:E=>k("expiry_year",E.target.value),placeholder:"YY",maxLength:2,className:u.expiry_year?"border-red-500":""}),u.expiry_year&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:u.expiry_year})]}),e.jsxs("div",{children:[e.jsx(W,{htmlFor:"cvv",children:l("CVV")}),e.jsx(X,{id:"cvv",value:h.cvv,onChange:E=>k("cvv",E.target.value),placeholder:"123",maxLength:4,className:u.cvv?"border-red-500":""}),u.cvv&&e.jsx("p",{className:"text-sm text-red-500 mt-1",children:u.cvv})]})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:x,disabled:o,className:"flex-1",children:l("Cancel")}),e.jsx(_,{onClick:Q,disabled:o||!d,className:"flex-1",children:o?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),l("Processing...")]}):e.jsxs(e.Fragment,{children:[e.jsx(F,{className:"mr-2 h-4 w-4"}),l("Pay with AuthorizeNet")]})})]}),e.jsxs("div",{className:"space-y-2",children:[v&&e.jsxs(A,{children:[e.jsx(Ee,{className:"h-4 w-4"}),e.jsx(R,{children:l("Test Mode: This is a sandbox transaction. No real money will be charged.")})]}),e.jsxs("div",{className:"text-xs text-muted-foreground text-center space-y-1",children:[e.jsxs("div",{className:"flex items-center justify-center gap-1",children:[e.jsx(Us,{className:"h-3 w-3 text-green-500"}),l("Powered by AuthorizeNet - Secure payment processing")]}),e.jsxs("div",{children:[l("Supported currencies"),": ",s.join(", ")]}),e.jsxs("div",{children:[l("Supported countries"),": ",y.join(", ")]})]})]})]})]})}function _a({planId:a,planPrice:n,couponCode:t,billingCycle:c,fedapayPublicKey:d,currency:p="XOF",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("FedaPay not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("fedapay.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success)window.location.href=b.payment_url;else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("FedaPay payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("fr-FR",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("FedaPay Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to FedaPay to complete your payment securely.")})]}),e.jsxs("div",{className:"bg-green-50 p-4 rounded-lg border border-green-200",children:[e.jsx("h4",{className:"font-medium text-green-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-green-800 space-y-1",children:[e.jsx("li",{children:"• Mobile Money (MTN, Moov, Orange)"}),e.jsx("li",{children:"• Visa/Mastercard"}),e.jsx("li",{children:"• Bank Transfers"}),e.jsx("li",{children:"• Digital Wallets"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with FedaPay")]})})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by FedaPay - West Africa's payment gateway")})]})]})}function Ca({planId:a,planPrice:n,couponCode:t,billingCycle:c,payhereMerchantId:d,currency:p="LKR",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("PayHere not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("payhere.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success){const h=document.createElement("form");h.method="POST",h.action=b.payment_url,Object.keys(b.payment_data).forEach(m=>{const g=document.createElement("input");g.type="hidden",g.name=m,g.value=b.payment_data[m],h.appendChild(g)}),document.body.appendChild(h),h.submit()}else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("PayHere payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("en-LK",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("PayHere Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to PayHere to complete your payment securely.")})]}),e.jsxs("div",{className:"bg-orange-50 p-4 rounded-lg border border-orange-200",children:[e.jsx("h4",{className:"font-medium text-orange-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-orange-800 space-y-1",children:[e.jsx("li",{children:"• Visa/Mastercard"}),e.jsx("li",{children:"• Lanka QR"}),e.jsx("li",{children:"• eZ Cash"}),e.jsx("li",{children:"• mCash"}),e.jsx("li",{children:"• Bank Transfers"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with PayHere")]})})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by PayHere - Sri Lanka's payment gateway")})]})]})}function ka({planId:a,planPrice:n,couponCode:t,billingCycle:c,cinetpaySiteId:d,currency:p="XOF",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("CinetPay not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("cinetpay.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success){const h=document.createElement("form");h.method="POST",h.action=b.payment_url,Object.keys(b.payment_data).forEach(m=>{const g=document.createElement("input");g.type="hidden",g.name=m,g.value=b.payment_data[m],h.appendChild(g)}),document.body.appendChild(h),h.submit()}else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("CinetPay payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("fr-FR",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("CinetPay Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to CinetPay to complete your payment securely.")})]}),e.jsxs("div",{className:"bg-yellow-50 p-4 rounded-lg border border-yellow-200",children:[e.jsx("h4",{className:"font-medium text-yellow-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-yellow-800 space-y-1",children:[e.jsx("li",{children:"• Mobile Money (Orange, MTN, Moov)"}),e.jsx("li",{children:"• Visa/Mastercard"}),e.jsx("li",{children:"• Bank Transfers"}),e.jsx("li",{children:"• Digital Wallets"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with CinetPay")]})})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by CinetPay - African payment gateway")})]})]})}function Ea({planId:a,planPrice:n,couponCode:t,billingCycle:c,paiementMerchantId:d,currency:p="XOF",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("Paiement Pro not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("paiement.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success){const h=document.createElement("form");h.method="POST",h.action=b.payment_url,Object.keys(b.payment_data).forEach(m=>{const g=document.createElement("input");g.type="hidden",g.name=m,g.value=b.payment_data[m],h.appendChild(g)}),document.body.appendChild(h),h.submit()}else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("Paiement Pro payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("fr-FR",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Paiement Pro Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[e.jsx("h4",{className:"font-medium text-blue-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-blue-800 space-y-1",children:[e.jsx("li",{children:"• Mobile Money"}),e.jsx("li",{children:"• Bank Cards"}),e.jsx("li",{children:"• Bank Transfers"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with Paiement Pro")]})})]})]})]})}function Fa({planId:a,planPrice:n,couponCode:t,billingCycle:c,nepalstePublicKey:d,currency:p="NPR",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("Nepalste not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("nepalste.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success){const h=document.createElement("form");h.method="POST",h.action=b.payment_url,Object.keys(b.payment_data).forEach(m=>{const g=document.createElement("input");g.type="hidden",g.name=m,g.value=typeof b.payment_data[m]=="object"?JSON.stringify(b.payment_data[m]):b.payment_data[m],h.appendChild(g)}),document.body.appendChild(h),h.submit()}else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("Nepalste payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("en-NP",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Nepalste Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs("div",{className:"bg-red-50 p-4 rounded-lg border border-red-200",children:[e.jsx("h4",{className:"font-medium text-red-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-red-800 space-y-1",children:[e.jsx("li",{children:"• eSewa"}),e.jsx("li",{children:"• Khalti"}),e.jsx("li",{children:"• IME Pay"}),e.jsx("li",{children:"• Bank Transfers"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with Nepalste")]})})]})]})]})}function Ta({planId:a,planPrice:n,couponCode:t,billingCycle:c,yookassaShopId:d,currency:p="RUB",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("YooKassa not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("yookassa.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success)window.location.href=b.payment_url;else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("YooKassa payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("ru-RU",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("YooKassa Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs("div",{className:"bg-purple-50 p-4 rounded-lg border border-purple-200",children:[e.jsx("h4",{className:"font-medium text-purple-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-purple-800 space-y-1",children:[e.jsx("li",{children:"• Bank Cards"}),e.jsx("li",{children:"• YooMoney"}),e.jsx("li",{children:"• Qiwi"}),e.jsx("li",{children:"• Sberbank Online"}),e.jsx("li",{children:"• Alfa-Click"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with YooKassa")]})})]})]})]})}function Ma({planId:a,planPrice:n,couponCode:t,billingCycle:c,aamarpayStoreId:d,currency:p="BDT",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("Aamarpay not configured"));return}x(!0),o(null);try{const u=document.createElement("form");u.method="POST",u.action=route("aamarpay.create-payment");const b=document.createElement("input");b.type="hidden",b.name="_token",b.value=((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||"",u.appendChild(b);const h=document.createElement("input");h.type="hidden",h.name="plan_id",h.value=a.toString(),u.appendChild(h);const m=document.createElement("input");if(m.type="hidden",m.name="billing_cycle",m.value=c,u.appendChild(m),t){const g=document.createElement("input");g.type="hidden",g.name="coupon_code",g.value=t,u.appendChild(g)}document.body.appendChild(u),u.submit()}catch(u){console.error("Aamarpay payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("bn-BD",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Aamarpay Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs("div",{className:"bg-green-50 p-4 rounded-lg border border-green-200",children:[e.jsx("h4",{className:"font-medium text-green-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-green-800 space-y-1",children:[e.jsx("li",{children:"• bKash"}),e.jsx("li",{children:"• Nagad"}),e.jsx("li",{children:"• Rocket"}),e.jsx("li",{children:"• Bank Cards"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with Aamarpay")]})})]})]})]})}function Oa({planId:a,planPrice:n,couponCode:t,billingCycle:c,midtransSecretKey:d,currency:p="IDR",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var h;if(!d){o(s("Midtrans not configured"));return}x(!0),o(null);try{const g=await(await fetch(route("midtrans.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((h=document.querySelector('meta[name="csrf-token"]'))==null?void 0:h.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(g.success)N(g.snap_token,g.order_id);else throw new Error(g.error||s("Payment creation failed"))}catch(m){console.error("Midtrans payment error:",m),o(m instanceof Error?m.message:s("Payment initialization failed")),x(!1)}},N=(h,m)=>{if(window.snap)f(h,m);else{const g=document.createElement("script");g.src="https://app.sandbox.midtrans.com/snap/snap.js",g.setAttribute("data-client-key",d),g.onload=()=>{f(h,m)},g.onerror=()=>{o(s("Failed to load Midtrans script")),x(!1)},document.head.appendChild(g)}},f=(h,m)=>{window.snap.pay(h,{onSuccess:g=>{u(g,m)},onPending:g=>{x(!1)},onError:g=>{o(s("Payment failed")),x(!1)},onClose:()=>{x(!1)}})},u=(h,m)=>{ie.post(route("midtrans.payment"),{plan_id:a,billing_cycle:c,coupon_code:t,transaction_status:h.transaction_status,order_id:m},{onSuccess:()=>{v()},onError:g=>{console.error("Payment processing error:",g),o(Object.values(g).flat().join(", ")),x(!1)}})},b=h=>new Intl.NumberFormat("id-ID",{style:"currency",currency:p}).format(h);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Midtrans Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:b(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[e.jsx("h4",{className:"font-medium text-blue-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-blue-800 space-y-1",children:[e.jsx("li",{children:"• Credit/Debit Cards"}),e.jsx("li",{children:"• Bank Transfer"}),e.jsx("li",{children:"• E-Wallets (GoPay, OVO, DANA)"}),e.jsx("li",{children:"• Convenience Stores"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Processing...")]}):e.jsxs(e.Fragment,{children:[e.jsx(F,{className:"mr-2 h-4 w-4"}),s("Pay with Midtrans")]})})]})]})]})}function Aa({planId:a,planPrice:n,couponCode:t,billingCycle:c,paymentwallPublicKey:d,currency:p="USD",onSuccess:v,onCancel:y}){var g;const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),[j,N]=w.useState(!1),[f,u]=w.useState(null),b=w.useRef(null);w.useEffect(()=>{(()=>{if(window.Brick){N(!0);return}const T=document.createElement("script");T.src="https://api.paymentwall.com/brick/build/brick-default.1.5.0.min.js",T.async=!0,T.onload=()=>{N(!0)},T.onerror=()=>{o(s("Failed to load PaymentWall payment form"))},document.head.appendChild(T)})()},[s]),w.useEffect(()=>{j&&d&&!f&&h()},[j,d,f]);const h=async()=>{var O;try{const U=await(await fetch(route("paymentwall.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((O=document.querySelector('meta[name="csrf-token"]'))==null?void 0:O.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(U.success&&U.brick_config){const Z=U.brick_config,Y=new window.Brick({public_key:Z.public_key,amount:Z.amount,currency:Z.currency,container:"paymentwall-form-container",action:route("paymentwall.process"),form:{merchant:"PaymentWall",product:Z.plan_name,pay_button:s("Pay Now"),show_zip:!0,show_cardholder:!0}});Y.showPaymentForm(k=>{v()},k=>{console.error("Payment error:",k),k&&k.length>0?o(k[0].message||s("Payment failed")):o(s("Payment failed")),x(!1)}),u(Y)}else throw new Error(U.error||s("Failed to initialize payment form"))}catch(T){console.error("PaymentWall initialization error:",T),o(T instanceof Error?T.message:s("Payment initialization failed"))}},m=O=>new Intl.NumberFormat("en-US",{style:"currency",currency:p}).format(O);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("PaymentWall Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:m(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{id:"paymentwall-form-container",ref:b,className:"min-h-[300px]",children:!j&&e.jsxs("div",{className:"flex items-center justify-center h-32",children:[e.jsx(S,{className:"h-6 w-6 animate-spin mr-2"}),e.jsx("span",{children:s("Loading payment form...")})]})}),e.jsxs("form",{id:"brick-form",style:{display:"none"},children:[e.jsx("input",{type:"hidden",name:"plan_id",value:a}),e.jsx("input",{type:"hidden",name:"billing_cycle",value:c}),e.jsx("input",{type:"hidden",name:"coupon_code",value:t||""}),e.jsx("input",{type:"hidden",name:"_token",value:((g=document.querySelector('meta[name="csrf-token"]'))==null?void 0:g.getAttribute("content"))||""})]}),e.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[e.jsx("h4",{className:"font-medium text-blue-900 mb-2",children:s("Secure Payment")}),e.jsxs("ul",{className:"text-sm text-blue-800 space-y-1",children:[e.jsx("li",{children:"• SSL Encrypted & PCI DSS Compliant"}),e.jsx("li",{children:"• Multiple Payment Methods Supported"}),e.jsx("li",{children:"• Powered by PaymentWall"})]})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),!j&&e.jsxs(_,{disabled:!0,className:"flex-1",children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Loading...")]})]})]})]})}function Ra({planId:a,planPrice:n,couponCode:t,billingCycle:c,sspaySecretKey:d,currency:p="MYR",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("SSPay not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("sspay.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success){const h=document.createElement("form");h.method="POST",h.action=b.payment_url,Object.keys(b.payment_data).forEach(m=>{const g=document.createElement("input");g.type="hidden",g.name=m,g.value=b.payment_data[m],h.appendChild(g)}),document.body.appendChild(h),h.submit()}else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("SSPay payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("ms-MY",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("SSPay Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs("div",{className:"bg-teal-50 p-4 rounded-lg border border-teal-200",children:[e.jsx("h4",{className:"font-medium text-teal-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-teal-800 space-y-1",children:[e.jsx("li",{children:"• Online Banking"}),e.jsx("li",{children:"• Credit/Debit Cards"}),e.jsx("li",{children:"• E-Wallets"}),e.jsx("li",{children:"• FPX"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with SSPay")]})})]})]})]})}function Ia({planId:a,planPrice:n,couponCode:t,billingCycle:c,tapSecretKey:d,currency:p="USD",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("Tap not configured"));return}x(!0),o(null);try{const u=document.createElement("form");u.method="POST",u.action=route("tap.create-payment");const b=document.createElement("input");b.type="hidden",b.name="_token",b.value=((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||"",u.appendChild(b);const h=document.createElement("input");h.type="hidden",h.name="plan_id",h.value=a.toString(),u.appendChild(h);const m=document.createElement("input");if(m.type="hidden",m.name="billing_cycle",m.value=c,u.appendChild(m),t){const g=document.createElement("input");g.type="hidden",g.name="coupon_code",g.value=t,u.appendChild(g)}document.body.appendChild(u),u.submit()}catch(u){console.error("Tap payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("en-US",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Tap Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to Tap to complete your payment securely.")})]}),e.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[e.jsx("h4",{className:"font-medium text-blue-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-blue-800 space-y-1",children:[e.jsx("li",{children:"• Credit/Debit Cards"}),e.jsx("li",{children:"• Apple Pay"}),e.jsx("li",{children:"• Google Pay"}),e.jsx("li",{children:"• KNET"}),e.jsx("li",{children:"• Benefit Pay"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with Tap")]})})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by Tap - Secure payment processing")})]})]})}function za({planId:a,planPrice:n,couponCode:t,billingCycle:c,xenditApiKey:d,currency:p="PHP",onSuccess:v,onCancel:y}){const{t:s}=M(),[i,x]=w.useState(!1),[l,o]=w.useState(null),j=async()=>{var f;if(!d){o(s("Xendit not configured"));return}x(!0),o(null);try{const b=await(await fetch(route("xendit.create-payment"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((f=document.querySelector('meta[name="csrf-token"]'))==null?void 0:f.getAttribute("content"))||""},body:JSON.stringify({plan_id:a,billing_cycle:c,coupon_code:t})})).json();if(b.success)window.location.href=b.payment_url;else throw new Error(b.error||s("Payment creation failed"))}catch(u){console.error("Xendit payment error:",u),o(u instanceof Error?u.message:s("Payment initialization failed")),x(!1)}},N=f=>new Intl.NumberFormat("id-ID",{style:"currency",currency:p}).format(f);return e.jsxs(I,{children:[e.jsx(L,{children:e.jsxs(q,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5"}),s("Xendit Payment")]})}),e.jsxs(z,{className:"space-y-4",children:[l&&e.jsxs(A,{variant:"destructive",children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:l})]}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-medium",children:s("Total Amount")}),e.jsx("span",{className:"text-lg font-bold",children:N(n)})]}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[s("Billing Cycle"),": ",s(c)]}),t&&e.jsxs("div",{className:"text-sm text-green-600 mt-1",children:[s("Coupon Applied"),": ",t]})]}),e.jsxs(A,{children:[e.jsx(D,{className:"h-4 w-4"}),e.jsx(R,{children:s("You will be redirected to Xendit to complete your payment securely.")})]}),e.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[e.jsx("h4",{className:"font-medium text-blue-900 mb-2",children:s("Supported Payment Methods")}),e.jsxs("ul",{className:"text-sm text-blue-800 space-y-1",children:[e.jsx("li",{children:"• Credit/Debit Cards"}),e.jsx("li",{children:"• Bank Transfer"}),e.jsx("li",{children:"• E-Wallets (OVO, DANA, LinkAja)"}),e.jsx("li",{children:"• Virtual Accounts"}),e.jsx("li",{children:"• Retail Outlets"})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:y,disabled:i,className:"flex-1",children:s("Cancel")}),e.jsx(_,{onClick:j,disabled:i||!d,className:"flex-1",children:i?e.jsxs(e.Fragment,{children:[e.jsx(S,{className:"mr-2 h-4 w-4 animate-spin"}),s("Redirecting...")]}):e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"mr-2 h-4 w-4"}),s("Pay with Xendit")]})})]}),e.jsx("div",{className:"text-xs text-muted-foreground text-center",children:s("Powered by Xendit - Secure payment processing")})]})]})}function Sa({plan:a,billingCycle:n,paymentMethods:t,currencySymbol:c="$",onSuccess:d,onCancel:p}){const{t:v}=M(),[y,s]=w.useState(""),[i,x]=w.useState(""),[l,o]=w.useState(null),[j,N]=w.useState(!1),[f,u]=w.useState(!1),b=Number(a.price),h=l?l.type==="percentage"?b*l.value/100:l.value:0,m=Math.max(0,b-h),g=async()=>{var k;if(!i.trim()){P.error(v("Please enter a coupon code"));return}N(!0);try{const se=await fetch(route("coupons.validate"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((k=document.querySelector('meta[name="csrf-token"]'))==null?void 0:k.getAttribute("content"))||""},body:JSON.stringify({coupon_code:i,plan_id:a.id,amount:b})}),Q=await se.json();se.ok&&Q.valid?(o(Q.coupon),P.success(v("Coupon applied successfully"))):(P.error(Q.message||v("Invalid coupon code")),o(null))}catch{P.error(v("Failed to validate coupon")),o(null)}finally{N(!1)}},O=()=>{o(null),x("")},T=()=>{if(!y){P.error(v("Please select a payment method"));return}u(!0)},U=()=>{u(!1),s("")},Z=t.filter(k=>k.enabled),Y=()=>{var se,Q,ce,E,V,G,K,ue,te,le,oe,r,C,ne,ee,de,Me,Oe,Ae,Re,Ie,ze,Se,De,Be,Le,qe,Ue,Ke,$e,We,Ye,Xe,He,Je,Ve,Ge,Ze,Qe,es,ss,rs,as,ts,ns,is,cs,ls,os,ds,ms,us,hs,xs,ps,fs,ys,js,bs,Ns,vs,gs,ws,Ps;const k={planId:a.id,couponCode:i,billingCycle:n,onSuccess:d,onCancel:U};switch(y){case"stripe":return e.jsx(ta,{...k,stripeKey:((se=a.paymentMethods)==null?void 0:se.stripe_key)||""});case"paypal":return e.jsx(na,{...k,planPrice:m,paypalClientId:((Q=a.paymentMethods)==null?void 0:Q.paypal_client_id)||"",currency:((ce=a.paymentMethods)==null?void 0:ce.defaultCurrency)||"usd"});case"bank":return e.jsx(ia,{...k,planPrice:m,bankDetails:((E=a.paymentMethods)==null?void 0:E.bank_detail)||"",currencySymbol:c});case"razorpay":return e.jsx(ca,{...k,planPrice:m,razorpayKey:((V=a.paymentMethods)==null?void 0:V.razorpay_key)||"",currency:((G=a.paymentMethods)==null?void 0:G.currency)||"INR"});case"mercadopago":return e.jsx(la,{...k,planPrice:m,accessToken:((K=a.paymentMethods)==null?void 0:K.mercadopago_access_token)||"",currency:((ue=a.paymentMethods)==null?void 0:ue.currency)||"BRL"});case"paystack":return e.jsx(oa,{...k,planPrice:m,paystackKey:((te=a.paymentMethods)==null?void 0:te.paystack_public_key)||"",currency:((le=a.paymentMethods)==null?void 0:le.currency)||"NGN"});case"flutterwave":return e.jsx(da,{...k,planPrice:m,flutterwaveKey:((oe=a.paymentMethods)==null?void 0:oe.flutterwave_public_key)||"",currency:((r=a.paymentMethods)==null?void 0:r.currency)||"NGN"});case"paytabs":return e.jsx(ma,{...k,planPrice:m,paytabsClientKey:"",currency:((C=a.paymentMethods)==null?void 0:C.currency)||"USD"});case"skrill":return e.jsx(ua,{...k,planPrice:m,skrillMerchantId:((ne=a.paymentMethods)==null?void 0:ne.skrill_merchant_id)||"",currency:((ee=a.paymentMethods)==null?void 0:ee.currency)||"USD"});case"coingate":return e.jsx(ha,{...k,planPrice:m,coinGateApiToken:((de=a.paymentMethods)==null?void 0:de.coingate_api_token)||"",currency:((Me=a.paymentMethods)==null?void 0:Me.currency)||"USD"});case"payfast":return e.jsx(xa,{...k,planPrice:m,payfastMerchantId:((Oe=a.paymentMethods)==null?void 0:Oe.payfast_merchant_id)||"",currency:((Ae=a.paymentMethods)==null?void 0:Ae.currency)||"ZAR"});case"toyyibpay":return e.jsx(pa,{...k,planPrice:m,toyyibpayCategoryCode:((Re=a.paymentMethods)==null?void 0:Re.toyyibpay_category_code)||"",currency:((Ie=a.paymentMethods)==null?void 0:Ie.currency)||"MYR"});case"paytr":return e.jsx(fa,{...k,planPrice:m,paytrMerchantId:((ze=a.paymentMethods)==null?void 0:ze.paytr_merchant_id)||"",currency:((Se=a.paymentMethods)==null?void 0:Se.currency)||"TRY"});case"mollie":return e.jsx(ya,{...k,planPrice:m,mollieApiKey:((De=a.paymentMethods)==null?void 0:De.mollie_api_key)||"",currency:((Be=a.paymentMethods)==null?void 0:Be.currency)||"EUR"});case"cashfree":return e.jsx(ja,{...k,planPrice:m,cashfreeAppId:((Le=a.paymentMethods)==null?void 0:Le.cashfree_public_key)||"",mode:((qe=a.paymentMethods)==null?void 0:qe.cashfree_mode)||"sandbox",currency:((Ue=a.paymentMethods)==null?void 0:Ue.currency)||"INR"});case"iyzipay":return e.jsx(ba,{...k,planPrice:m,iyzipayPublicKey:((Ke=a.paymentMethods)==null?void 0:Ke.iyzipay_public_key)||"",currency:(($e=a.paymentMethods)==null?void 0:$e.currency)||"USD"});case"benefit":return e.jsx(Na,{...k,planPrice:m,benefitPublicKey:((We=a.paymentMethods)==null?void 0:We.benefit_public_key)||"",currency:((Ye=a.paymentMethods)==null?void 0:Ye.currency)||"BHD"});case"ozow":return e.jsx(va,{...k,planPrice:m,ozowSiteKey:((Xe=a.paymentMethods)==null?void 0:Xe.ozow_site_key)||"",currency:((He=a.paymentMethods)==null?void 0:He.currency)||"ZAR"});case"easebuzz":return e.jsx(ga,{...k,planPrice:m,easebuzzMerchantKey:((Je=a.paymentMethods)==null?void 0:Je.easebuzz_merchant_key)||"",currency:((Ve=a.paymentMethods)==null?void 0:Ve.currency)||"INR"});case"khalti":return e.jsx(wa,{...k,planPrice:m,khaltiPublicKey:((Ge=a.paymentMethods)==null?void 0:Ge.khalti_public_key)||"",currency:((Ze=a.paymentMethods)==null?void 0:Ze.currency)||"NPR"});case"authorizenet":return e.jsx(Pa,{...k,planPrice:m,authorizenetMerchantId:((Qe=a.paymentMethods)==null?void 0:Qe.authorizenet_merchant_id)||"",currency:((es=a.paymentMethods)==null?void 0:es.currency)||"USD"});case"fedapay":return e.jsx(_a,{...k,planPrice:m,fedapayPublicKey:((ss=a.paymentMethods)==null?void 0:ss.fedapay_public_key)||"",currency:((rs=a.paymentMethods)==null?void 0:rs.currency)||"XOF"});case"payhere":return e.jsx(Ca,{...k,planPrice:m,payhereMerchantId:((as=a.paymentMethods)==null?void 0:as.payhere_merchant_id)||"",currency:((ts=a.paymentMethods)==null?void 0:ts.currency)||"LKR"});case"cinetpay":return e.jsx(ka,{...k,planPrice:m,cinetpaySiteId:((ns=a.paymentMethods)==null?void 0:ns.cinetpay_site_id)||"",currency:((is=a.paymentMethods)==null?void 0:is.currency)||"XOF"});case"paiement":return e.jsx(Ea,{...k,planPrice:m,paiementMerchantId:((cs=a.paymentMethods)==null?void 0:cs.paiement_merchant_id)||"",currency:((ls=a.paymentMethods)==null?void 0:ls.currency)||"XOF"});case"nepalste":return e.jsx(Fa,{...k,planPrice:m,nepalstePublicKey:((os=a.paymentMethods)==null?void 0:os.nepalste_public_key)||"",currency:((ds=a.paymentMethods)==null?void 0:ds.currency)||"NPR"});case"yookassa":return e.jsx(Ta,{...k,planPrice:m,yookassaShopId:((ms=a.paymentMethods)==null?void 0:ms.yookassa_shop_id)||"",currency:((us=a.paymentMethods)==null?void 0:us.currency)||"RUB"});case"aamarpay":return e.jsx(Ma,{...k,planPrice:m,aamarpayStoreId:((hs=a.paymentMethods)==null?void 0:hs.aamarpay_store_id)||"",currency:((xs=a.paymentMethods)==null?void 0:xs.currency)||"BDT"});case"midtrans":return e.jsx(Oa,{...k,planPrice:m,midtransSecretKey:((ps=a.paymentMethods)==null?void 0:ps.midtrans_secret_key)||"",currency:((fs=a.paymentMethods)==null?void 0:fs.currency)||"IDR"});case"paymentwall":return e.jsx(Aa,{...k,planPrice:m,paymentwallPublicKey:((ys=a.paymentMethods)==null?void 0:ys.paymentwall_public_key)||"",currency:((js=a.paymentMethods)==null?void 0:js.currency)||"USD"});case"sspay":return e.jsx(Ra,{...k,planPrice:m,sspaySecretKey:((bs=a.paymentMethods)==null?void 0:bs.sspay_secret_key)||"",currency:((Ns=a.paymentMethods)==null?void 0:Ns.currency)||"MYR"});case"tap":return e.jsx(Ia,{...k,planPrice:m,tapSecretKey:((vs=a.paymentMethods)==null?void 0:vs.tap_secret_key)||"",currency:((gs=a.paymentMethods)==null?void 0:gs.currency)||"USD"});case"xendit":return e.jsx(za,{...k,planPrice:m,xenditApiKey:((ws=a.paymentMethods)==null?void 0:ws.xendit_api_key)||"",currency:((Ps=a.paymentMethods)==null?void 0:Ps.currency)||"PHP"});default:return null}};return f?e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h3",{className:"font-medium",children:v("Complete Payment")}),e.jsx(_,{variant:"outline",size:"sm",onClick:U,children:v("Back")})]}),Y()]}):e.jsxs("div",{className:"space-y-6",children:[e.jsx(I,{children:e.jsx(z,{className:"p-4",children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium",children:a.name}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[v(n)," ",v("subscription")]})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("div",{className:"text-lg font-bold",children:[c," ",a.price]}),e.jsxs("div",{className:"text-sm text-muted-foreground",children:["/",v(a.duration.toLowerCase())]})]})]})})}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(W,{children:v("Select Payment Method")}),Z.length===0?e.jsx("p",{className:"text-sm text-muted-foreground",children:v("No payment methods available")}):e.jsx("div",{className:"space-y-2",children:Z.map((k,se)=>e.jsx(I,{className:`cursor-pointer transition-colors ${y===k.id?"border-primary bg-primary/5":"hover:border-gray-300"}`,onClick:()=>s(k.id),children:e.jsx(z,{className:"p-3",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"text-primary",children:k.icon}),e.jsx("span",{className:"font-medium",children:k.name}),y===k.id&&e.jsx(qs,{variant:"secondary",className:"ml-auto",children:v("Selected")})]})})},`${k.id}-${se}`))})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs(W,{htmlFor:"coupon",children:[v("Coupon Code")," (",v("Optional"),")"]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(X,{id:"coupon",value:i,onChange:k=>x(k.target.value),placeholder:v("Enter coupon code"),className:"pr-10",disabled:!!l}),e.jsx(pr,{className:"absolute right-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"})]}),l?e.jsx(_,{type:"button",variant:"outline",onClick:O,children:v("Remove")}):e.jsx(_,{type:"button",variant:"outline",onClick:g,disabled:!i.trim()||j,children:j?e.jsx(S,{className:"h-4 w-4 animate-spin"}):v("Apply")})]}),l&&e.jsx("div",{className:"bg-green-50 border border-green-200 rounded-lg p-3",children:e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsxs("span",{className:"text-green-700 font-medium",children:[v("Coupon Applied"),": ",l.code]}),e.jsxs("span",{className:"text-green-600",children:["-",l.type==="percentage"?`${l.value}%`:`${c}${l.value}`]})]})})]}),e.jsx(I,{children:e.jsx(z,{className:"p-4",children:e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{children:v("Subtotal")}),e.jsxs("span",{children:[c,b]})]}),l&&e.jsxs("div",{className:"flex justify-between text-sm text-green-600",children:[e.jsx("span",{children:v("Discount")}),e.jsxs("span",{children:["-",c,h]})]}),e.jsx("div",{className:"border-t pt-2",children:e.jsxs("div",{className:"flex justify-between font-medium",children:[e.jsx("span",{children:v("Total")}),e.jsxs("span",{children:[c,m.toFixed(2)]})]})})]})})}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{variant:"outline",onClick:p,className:"flex-1",children:v("Cancel")}),e.jsxs(_,{onClick:T,disabled:Z.length===0,className:"flex-1",children:[v("Pay")," ",c," ",m]})]})]})}function Da({isOpen:a,onClose:n,plan:t,billingCycle:c,paymentMethods:d,currencySymbol:p}){const{t:v}=M(),y=()=>{n(),window.location.reload()},s=d.filter(i=>i.enabled);return e.jsx(rr,{open:a,onOpenChange:n,children:e.jsxs(ar,{className:"max-w-md max-h-[90vh] flex flex-col",children:[e.jsx(tr,{className:"flex-shrink-0",children:e.jsx(nr,{children:v("Subscribe to {{planName}}",{planName:t.name})})}),e.jsx("div",{className:"overflow-y-auto flex-1 pr-2",children:e.jsx(Sa,{plan:t,billingCycle:c,paymentMethods:s,currencySymbol:p,onSuccess:y,onCancel:n})})]})})}function Dt({plans:a,billingCycle:n="monthly",hasDefaultPlan:t,isAdmin:c=!1,currentPlan:d,userTrialUsed:p,paymentMethods:v=[],currency:y,currencySymbol:s}){const{t:i}=M(),{flash:x,globalSettings:l}=ir().props,[o,j]=w.useState(a),[N,f]=w.useState(n),[u,b]=w.useState(!1),[h,m]=w.useState(null),[g,O]=w.useState(!1),[T,U]=w.useState(null),{post:Z,processing:Y}=cr(),k=[{title:i("Dashboard"),href:route("dashboard")},{title:i("Plan")}];w.useEffect(()=>{j(a)},[a]),w.useEffect(()=>{x!=null&&x.success&&P.success(i(x.success)),x!=null&&x.error&&P.error(i(x.error))},[x,i]);const se=r=>{f(r),ie.get(route("plans.index"),{billing_cycle:r},{preserveState:!0})},Q=r=>{l!=null&&l.is_demo||P.loading(i("Submitting plan request...")),ie.post(route("plans.request"),{plan_id:r,billing_cycle:N},{onSuccess:()=>{P.dismiss()},onError:C=>{P.dismiss(),typeof C=="string"?P.error(i(C)):P.error(i("Failed to submit plan request: {{errors}}",{errors:Object.values(C).join(", ")}))}})},ce=r=>{l!=null&&l.is_demo||P.loading(i("Starting trial...")),ie.post(route("plans.trial"),{plan_id:r},{onSuccess:()=>{P.dismiss()},onError:C=>{P.dismiss(),typeof C=="string"?P.error(i(C)):P.error(i("Failed to start trial: {{errors}}",{errors:Object.values(C).join(", ")}))}})},E=async r=>{const C=o.find(ne=>ne.id===r);if(C)try{const ee=await(await fetch(route("payment.methods"))).json();U({...C,paymentMethods:ee}),O(!0)}catch{P.error(i("Failed to load payment methods"))}},V=r=>{const C=[];return((r==null?void 0:r.is_bank_enabled)===!0||(r==null?void 0:r.is_bank_enabled)==="1")&&C.push({id:"bank",name:i("Bank Transfer"),icon:e.jsx(Nr,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_stripe_enabled)===!0||(r==null?void 0:r.is_stripe_enabled)==="1")&&C.push({id:"stripe",name:i("Stripe"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_paypal_enabled)===!0||(r==null?void 0:r.is_paypal_enabled)==="1")&&C.push({id:"paypal",name:i("PayPal"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_razorpay_enabled)===!0||(r==null?void 0:r.is_razorpay_enabled)==="1")&&C.push({id:"razorpay",name:i("Razorpay"),icon:e.jsx(ge,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_mercadopago_enabled)===!0||(r==null?void 0:r.is_mercadopago_enabled)==="1")&&(r!=null&&r.mercadopago_access_token)&&C.push({id:"mercadopago",name:i("MercadoPago"),icon:e.jsx(Ce,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_paystack_enabled)===!0||(r==null?void 0:r.is_paystack_enabled)==="1")&&C.push({id:"paystack",name:i("Paystack"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_flutterwave_enabled)===!0||(r==null?void 0:r.is_flutterwave_enabled)==="1")&&C.push({id:"flutterwave",name:i("Flutterwave"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_paytabs_enabled)===!0||(r==null?void 0:r.is_paytabs_enabled)==="1")&&C.push({id:"paytabs",name:i("PayTabs"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_skrill_enabled)===!0||(r==null?void 0:r.is_skrill_enabled)==="1")&&C.push({id:"skrill",name:i("Skrill"),icon:e.jsx(Ce,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_coingate_enabled)===!0||(r==null?void 0:r.is_coingate_enabled)==="1")&&C.push({id:"coingate",name:i("CoinGate"),icon:e.jsx(ke,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_payfast_enabled)===!0||(r==null?void 0:r.is_payfast_enabled)==="1")&&C.push({id:"payfast",name:i("Payfast"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_tap_enabled)===!0||(r==null?void 0:r.is_tap_enabled)==="1")&&C.push({id:"tap",name:i("Tap"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_xendit_enabled)===!0||(r==null?void 0:r.is_xendit_enabled)==="1")&&C.push({id:"xendit",name:i("Xendit"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_paytr_enabled)===!0||(r==null?void 0:r.is_paytr_enabled)==="1")&&C.push({id:"paytr",name:i("PayTR"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_mollie_enabled)===!0||(r==null?void 0:r.is_mollie_enabled)==="1")&&C.push({id:"mollie",name:i("Mollie"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_toyyibpay_enabled)===!0||(r==null?void 0:r.is_toyyibpay_enabled)==="1")&&C.push({id:"toyyibpay",name:i("toyyibPay"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_cashfree_enabled)===!0||(r==null?void 0:r.is_cashfree_enabled)==="1")&&C.push({id:"cashfree",name:i("Cashfree"),icon:e.jsx(ge,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_khalti_enabled)===!0||(r==null?void 0:r.is_khalti_enabled)==="1")&&C.push({id:"khalti",name:i("Khalti"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_iyzipay_enabled)===!0||(r==null?void 0:r.is_iyzipay_enabled)==="1")&&C.push({id:"iyzipay",name:i("Iyzipay"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_benefit_enabled)===!0||(r==null?void 0:r.is_benefit_enabled)==="1")&&C.push({id:"benefit",name:i("Benefit"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_ozow_enabled)===!0||(r==null?void 0:r.is_ozow_enabled)==="1")&&C.push({id:"ozow",name:i("Ozow"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_easebuzz_enabled)===!0||(r==null?void 0:r.is_easebuzz_enabled)==="1")&&C.push({id:"easebuzz",name:i("Easebuzz"),icon:e.jsx(ge,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_authorizenet_enabled)===!0||(r==null?void 0:r.is_authorizenet_enabled)==="1")&&C.push({id:"authorizenet",name:i("AuthorizeNet"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_fedapay_enabled)===!0||(r==null?void 0:r.is_fedapay_enabled)==="1")&&C.push({id:"fedapay",name:i("FedaPay"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_payhere_enabled)===!0||(r==null?void 0:r.is_payhere_enabled)==="1")&&C.push({id:"payhere",name:i("PayHere"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_cinetpay_enabled)===!0||(r==null?void 0:r.is_cinetpay_enabled)==="1")&&C.push({id:"cinetpay",name:i("CinetPay"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_paiement_enabled)===!0||(r==null?void 0:r.is_paiement_enabled)==="1")&&C.push({id:"paiement",name:i("Paiement Pro"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_nepalste_enabled)===!0||(r==null?void 0:r.is_nepalste_enabled)==="1")&&C.push({id:"nepalste",name:i("Nepalste"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_yookassa_enabled)===!0||(r==null?void 0:r.is_yookassa_enabled)==="1")&&C.push({id:"yookassa",name:i("YooKassa"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_aamarpay_enabled)===!0||(r==null?void 0:r.is_aamarpay_enabled)==="1")&&C.push({id:"aamarpay",name:i("Aamarpay"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_midtrans_enabled)===!0||(r==null?void 0:r.is_midtrans_enabled)==="1")&&C.push({id:"midtrans",name:i("Midtrans"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_paymentwall_enabled)===!0||(r==null?void 0:r.is_paymentwall_enabled)==="1")&&C.push({id:"paymentwall",name:i("PaymentWall"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),((r==null?void 0:r.is_sspay_enabled)===!0||(r==null?void 0:r.is_sspay_enabled)==="1")&&C.push({id:"sspay",name:i("SSPay"),icon:e.jsx(F,{className:"h-5 w-5"}),enabled:!0}),C},G=r=>d&&d.id===r.id&&d.expires_at&&new Date(d.expires_at)>new Date?e.jsxs(_,{disabled:!0,className:"w-full h-12 bg-green-50 text-green-700 border border-green-200 font-medium",children:[e.jsx(ve,{className:"h-4 w-4 mr-2"}),i("Already Subscribed")]}):r.is_current?e.jsxs(_,{disabled:!0,className:"w-full h-12 bg-primary/10 text-primary border border-primary/20 font-medium",children:[e.jsx(ve,{className:"h-4 w-4 mr-2"}),i("Current Plan")]}):r.is_trial_available&&!p?e.jsxs("div",{className:"space-y-3",children:[e.jsxs(_,{onClick:()=>ce(r.id),disabled:Y,variant:"outline",className:"w-full h-12 border-primary text-primary hover:bg-primary/5 font-medium",children:[e.jsx(Fs,{className:"h-4 w-4 mr-2"}),i("Start {{days}} Day Trial",{days:r.trial_days})]}),e.jsx(_,{onClick:()=>E(r.id),disabled:Y,className:`w-full h-12 font-medium ${r.recommended,"bg-primary hover:bg-primary/90 text-white"}`,children:i("Subscribe Now")})]}):e.jsxs("div",{className:"space-y-3",children:[e.jsxs(_,{onClick:()=>Q(r.id),disabled:Y,variant:"outline",className:"w-full h-12 border-gray-300 text-gray-700 hover:bg-gray-50 font-medium",children:[e.jsx(vr,{className:"h-4 w-4 mr-2"}),i("Request Plan")]}),e.jsx(_,{onClick:()=>E(r.id),disabled:Y||d&&d.id===r.id&&d.expires_at&&new Date(d.expires_at)>new Date,className:`w-full h-12 font-medium ${r.recommended,"bg-primary hover:bg-primary/90 text-white"}`,children:d&&d.id===r.id&&d.expires_at&&new Date(d.expires_at)>new Date?i("Already Subscribed"):i("Subscribe Now")})]}),K=(r,C)=>r.features.includes(C),ue=r=>{const C=o.find(ee=>ee.id===r),ne=!(C!=null&&C.status);l!=null&&l.is_demo||P.loading(`${i(ne?"Activating":"Deactivating")} plan...`),ie.post(route("plans.toggle-status",r),{},{preserveState:!0,onSuccess:ee=>{l!=null&&l.is_demo||(P.dismiss(),j(o.map(de=>de.id===r?{...de,status:!de.status}:de)))},onError:ee=>{l!=null&&l.is_demo||P.dismiss(),typeof ee=="string"?P.error(i(ee)):P.error(i("Failed to update plan status: {{errors}}",{errors:Object.values(ee).join(", ")}))}})},te=r=>{m(r),b(!0)},le=()=>{h&&(l!=null&&l.is_demo||P.loading(i("Deleting plan...")),ie.delete(route("plans.destroy",h.id),{onSuccess:()=>{b(!1),m(null),P.dismiss()},onError:r=>{P.dismiss(),typeof r=="string"?P.error(i(r)):P.error(i("Failed to delete plan: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},oe=["AI Integration"];return e.jsx(sr,{title:i("Plans"),breadcrumbs:k,description:i("Manage subscription plans for your customers"),url:"/plans",children:e.jsxs("div",{className:"space-y-6 sm:space-y-8",children:[e.jsxs("div",{className:"flex flex-col items-center text-center mb-12",children:[e.jsxs("div",{className:"max-w-3xl mx-auto mb-8",children:[e.jsx("h1",{className:"text-3xl font-bold text-gray-900 mb-4",children:i(c?"Subscription Plans":"Choose Your Plan")}),e.jsx("p",{className:"text-lg text-gray-600",children:i(c?"Create and manage subscription plans to offer different service tiers to your customers.":"Select the perfect plan for your business needs and start growing today.")})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-4",children:[e.jsx("div",{className:"bg-gray-100 rounded-lg p-1",children:e.jsx(mr,{value:N,onValueChange:r=>se(r),className:"w-full",children:e.jsxs(ur,{className:"grid w-full grid-cols-2 bg-transparent p-0 h-auto",children:[e.jsx(Es,{value:"monthly",className:"px-6 py-2 text-sm font-medium data-[state=active]:bg-white data-[state=active]:text-gray-900 data-[state=active]:shadow-sm rounded-md",children:i("Monthly")}),e.jsxs(Es,{value:"yearly",className:"px-6 py-2 text-sm font-medium data-[state=active]:bg-white data-[state=active]:text-gray-900 data-[state=active]:shadow-sm rounded-md relative",children:[i("Yearly"),e.jsx(qs,{className:"ml-2 bg-green-500 text-white text-xs px-2 py-0.5",children:i("Save 20%")})]})]})})}),c&&e.jsxs(_,{className:"bg-primary hover:bg-primary/90 text-white px-6 py-2 font-medium",onClick:()=>ie.get(route("plans.create")),children:[e.jsx(lr,{className:"h-4 w-4 mr-2"}),i("Add Plan")]})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto",children:o.map(r=>e.jsx("div",{className:`relative h-full transition-all duration-200 ${r.recommended?"transform scale-105":""}`,children:e.jsxs("div",{className:` relative h-full flex flex-col rounded-lg border-2 transition-all duration-200 ${r.recommended?"border-primary shadow-xl bg-white":"border-gray-200 bg-white hover:border-gray-300 hover:shadow-lg"} diff --git a/public/build/assets/index-ltoYfV1y.js b/public/build/assets/index-CfE9RqBV.js similarity index 75% rename from public/build/assets/index-ltoYfV1y.js rename to public/build/assets/index-CfE9RqBV.js index 8d74debf4..f1f54f48d 100644 --- a/public/build/assets/index-ltoYfV1y.js +++ b/public/build/assets/index-CfE9RqBV.js @@ -1 +1 @@ -import{r as u,j as r}from"./ui-Z445SNHD.js";import{P as ne}from"./page-template-BTxLyiDA.js";import{u as pe,c as me,r as p,D as ce,t as l}from"./app-CfhhiFAk.js";import{C as de}from"./CrudTable-qPWooc10.js";import{C as ue}from"./CrudFormModal-DAR9q-oM.js";import{C as ye}from"./CrudDeleteModal-CKTiD3_K.js";import{P as fe}from"./pagination-D8A_HnL5.js";import{S as xe}from"./search-and-filter-bar-6Pp-FsiR.js";import he from"./view-DvTZXpYh.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function lr(){var I,$;const{t}=pe(),{auth:N,employeeSalaries:s,employees:C,salaryComponents:k,filters:o={},flash:ge}=me().props,L=(N==null?void 0:N.permissions)||[],[f,E]=u.useState(o.search||""),[m,M]=u.useState(o.employee_id||"all"),[c,A]=u.useState(o.is_active||"all"),[B,D]=u.useState(!1),[H,S]=u.useState(!1),[V,w]=u.useState(!1),[d,R]=u.useState(null),[x,U]=u.useState("create"),[F,T]=u.useState(null),z=()=>f!==""||m!=="all"||c!=="all",G=()=>(f?1:0)+(m!=="all"?1:0)+(c!=="all"?1:0),W=a=>{a.preventDefault(),O()},O=()=>{p.get(route("hr.employee-salaries.index"),{page:1,search:f||void 0,employee_id:m!=="all"?m:void 0,is_active:c!=="all"?c:void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},J=a=>{const e=o.sort_field===a&&o.sort_direction==="asc"?"desc":"asc";p.get(route("hr.employee-salaries.index"),{sort_field:a,sort_direction:e,page:1,search:f||void 0,employee_id:m!=="all"?m:void 0,is_active:c!=="all"?c:void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},K=(a,e)=>{switch(R(e),a){case"view":T(e);break;case"edit":U("edit"),S(!0);break;case"delete":w(!0);break;case"toggle-status":Y(e);break;case"show-payroll":Z(e);break}},Q=a=>{x==="create"?(l.loading(t("Creating employee salary...")),p.post(route("hr.employee-salaries.store"),a,{onSuccess:e=>{S(!1),l.dismiss(),e.props.flash.success?l.success(t(e.props.flash.success)):e.props.flash.error&&l.error(t(e.props.flash.error))},onError:e=>{l.dismiss(),typeof e=="string"?l.error(e):l.error(`Failed to create employee salary: ${Object.values(e).join(", ")}`)}})):x==="edit"&&(l.loading(t("Updating employee salary...")),p.put(route("hr.employee-salaries.update",d.id),a,{onSuccess:e=>{S(!1),l.dismiss(),e.props.flash.success?l.success(t(e.props.flash.success)):e.props.flash.error&&l.error(t(e.props.flash.error))},onError:e=>{l.dismiss(),typeof e=="string"?l.error(e):l.error(`Failed to update employee salary: ${Object.values(e).join(", ")}`)}}))},X=()=>{l.loading(t("Deleting employee salary...")),p.delete(route("hr.employee-salaries.destroy",d.id),{onSuccess:a=>{w(!1),l.dismiss(),a.props.flash.success?l.success(t(a.props.flash.success)):a.props.flash.error&&l.error(t(a.props.flash.error))},onError:a=>{l.dismiss(),typeof a=="string"?l.error(a):l.error(`Failed to delete employee salary: ${Object.values(a).join(", ")}`)}})},Y=a=>{const e=a.is_active?"inactive":"active";l.loading(`${t(e==="active"?"Activating":"Deactivating")} employee salary...`),p.put(route("hr.employee-salaries.toggle-status",a.id),{},{onSuccess:i=>{l.dismiss(),i.props.flash.success?l.success(t(i.props.flash.success)):i.props.flash.error&&l.error(t(i.props.flash.error))},onError:i=>{l.dismiss(),typeof i=="string"?l.error(i):l.error(`Failed to update employee salary status: ${Object.values(i).join(", ")}`)}})},Z=a=>{p.get(route("hr.employee-salaries.show-payroll",a.id),{},{onSuccess:e=>{var i;(i=e.props.flash)!=null&&i.error&&l.error(t(e.props.flash.error))},onError:e=>{typeof e=="string"?l.error(e):l.error(t("Failed to load payroll calculation"))}})},ee=()=>{E(""),M("all"),A("all"),D(!1),p.get(route("hr.employee-salaries.index"),{page:1,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},te=[],ae=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Payroll Management"),href:route("hr.employee-salaries.index")},{title:t("Employee Salaries")}],re=[{key:"employee",label:t("Employee"),render:(a,e)=>{var i,n,y,h,g,b,v;return r.jsxs("div",{className:"flex items-center space-x-3",children:[r.jsxs("div",{className:"relative",children:[(i=e.employee)!=null&&i.avatar?r.jsx("img",{src:e.employee.avatar,alt:((n=e.employee)==null?void 0:n.name)||"",className:"w-8 h-8 rounded-full object-cover",onError:j=>{var P;j.currentTarget.style.display="none";const _=(P=j.currentTarget.parentElement)==null?void 0:P.querySelector(".avatar-fallback");_&&(_.style.display="flex")}}):null,r.jsx("div",{className:`avatar-fallback w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-700 font-semibold text-xs${(y=e.employee)!=null&&y.avatar?" hidden":""}`,children:((b=(g=(h=e.employee)==null?void 0:h.name)==null?void 0:g.charAt(0))==null?void 0:b.toUpperCase())||"U"})]}),r.jsx("span",{className:"font-medium",children:((v=e.employee)==null?void 0:v.name)||"-"})]})}},{key:"basic_salary",label:t("Basic Salary"),render:a=>{var e,i,n;return r.jsxs("div",{className:"flex flex-col",children:[r.jsx("span",{className:"font-mono text-green-600 font-bold",children:(e=window.appSettings)==null?void 0:e.formatCurrency(a||0)}),r.jsxs("div",{className:"flex gap-2 text-[10px] text-gray-500 font-mono",children:[r.jsxs("span",{children:["D: ",(i=window.appSettings)==null?void 0:i.formatCurrency((a||0)/26)]}),r.jsxs("span",{children:["H: ",(n=window.appSettings)==null?void 0:n.formatCurrency((a||0)/26/8)]})]})]})}},{key:"pay_frequency",label:t("Payslip Basis (Cut-Off)"),render:(a,e)=>{var y;const i=a||"monthly",n=i==="semi-monthly"?e.basic_salary/2:e.basic_salary;return r.jsxs("div",{className:"flex flex-col items-end sm:items-start",children:[r.jsx("span",{className:"font-mono text-blue-600 font-bold",children:(y=window.appSettings)==null?void 0:y.formatCurrency(n||0)}),r.jsx("span",{className:"text-xs text-gray-500 capitalize",children:i.replace("-"," ")})]})}},{key:"components",label:t("Components"),render:(a,e)=>{var n,y,h,g,b,v;const i=e.component_names||[];return r.jsxs("div",{className:"text-sm",children:[i.length>0?r.jsx("div",{className:"flex flex-wrap gap-1",children:i.map((j,_)=>{var q;const oe=((q=e.component_types)==null?void 0:q[_])==="earning";return r.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${oe?"bg-green-50 text-green-700 ring-green-700/10":"bg-red-50 text-red-700 ring-red-700/10"}`,children:j},_)})}):r.jsx("span",{className:"text-gray-500",children:"Basic only"}),(e.sss_fixed||e.sss_computed||e.philhealth_fixed||e.philhealth_computed||e.pagibig_fixed||e.pagibig_computed)&&r.jsxs("div",{className:"mt-1 flex flex-wrap gap-1",children:[e.sss_fixed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-amber-100 text-amber-800",children:["SSS: ",(n=window.appSettings)==null?void 0:n.formatCurrency(e.sss_fixed)]}):e.sss_computed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-amber-50 text-amber-700 ring-1 ring-amber-300 ring-inset",children:["SSS: ",(y=window.appSettings)==null?void 0:y.formatCurrency(e.sss_computed)," ",r.jsx("span",{className:"ml-1 opacity-75 font-normal",children:"(auto)"})]}):null,e.philhealth_fixed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-blue-100 text-blue-800",children:["PH: ",(h=window.appSettings)==null?void 0:h.formatCurrency(e.philhealth_fixed)]}):e.philhealth_computed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-blue-50 text-blue-700 ring-1 ring-blue-300 ring-inset",children:["PH: ",(g=window.appSettings)==null?void 0:g.formatCurrency(e.philhealth_computed)," ",r.jsx("span",{className:"ml-1 opacity-75 font-normal",children:"(auto)"})]}):null,e.pagibig_fixed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-purple-100 text-purple-800",children:["HDMF: ",(b=window.appSettings)==null?void 0:b.formatCurrency(e.pagibig_fixed)]}):e.pagibig_computed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-purple-50 text-purple-700 ring-1 ring-purple-300 ring-inset",children:["HDMF: ",(v=window.appSettings)==null?void 0:v.formatCurrency(e.pagibig_computed)," ",r.jsx("span",{className:"ml-1 opacity-75 font-normal",children:"(auto)"})]}):null]})]})}},{key:"is_active",label:t("Status"),render:(a,e)=>r.jsxs("div",{className:"flex flex-col gap-1",children:[r.jsx("span",{className:`inline-flex w-fit items-center rounded-md px-2 py-1 text-xs font-medium ${a?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t(a?"Active":"Inactive")}),r.jsx("span",{className:`inline-flex w-fit items-center rounded-md px-2 py-1 text-[10px] font-bold ${e.payroll_type==="manual"?"bg-orange-100 text-orange-800":"bg-indigo-100 text-indigo-800"}`,children:e.payroll_type==="manual"?t("Manual"):t("Automatic")})]})},{key:"created_at",label:t("Created At"),sortable:!0,render:a=>{var e;return((e=window.appSettings)==null?void 0:e.formatDateTimeSimple(a,!1))||new Date(a).toLocaleDateString()}}],le=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-salaries"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-salaries"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-employee-salaries"},{label:t("Show Payroll"),icon:"BarChart3",action:"show-payroll",className:"text-blue-500",requiredPermission:"view-employee-salaries"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-salaries"}],ie=[{value:"all",label:t("All Employees"),disabled:!0},...(C||[]).map(a=>({value:a.id.toString(),label:a.name}))],se=[{value:"all",label:t("All Status"),disabled:!0},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}];return r.jsxs(ne,{title:t("Employee Salaries"),url:"/hr/employee-salaries",actions:te,breadcrumbs:ae,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(xe,{searchTerm:f,onSearchChange:E,onSearch:W,filters:[{name:"employee_id",label:t("Employee"),type:"select",value:m,onChange:M,options:ie,searchable:!0},{name:"is_active",label:t("Status"),type:"select",value:c,onChange:A,options:se}],showFilters:B,setShowFilters:D,hasActiveFilters:z,activeFilterCount:G,onResetFilters:ee,onApplyFilters:O,currentPerPage:((I=o.per_page)==null?void 0:I.toString())||"10",onPerPageChange:a=>{p.get(route("hr.employee-salaries.index"),{page:1,per_page:parseInt(a),search:f||void 0,employee_id:m!=="all"?m:void 0,is_active:c!=="all"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(de,{columns:re,actions:le,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:K,sortField:o.sort_field,sortDirection:o.sort_direction,onSort:J,permissions:L,entityPermissions:{view:"view-employee-salaries",create:"create-employee-salaries",edit:"edit-employee-salaries",delete:"delete-employee-salaries"}}),r.jsx(fe,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("employee salaries"),onPageChange:a=>p.get(a)})]}),r.jsx(ue,{isOpen:H,onClose:()=>S(!1),onSubmit:Q,formConfig:{fields:[{name:"employee_id",label:t("Employee"),type:"select",required:!0,searchable:!0,disabled:x==="edit"||x==="view",options:C?C.map(a=>({value:a.id.toString(),label:a.name})):[]},{name:"payroll_type",label:t("Payroll Calculation Type"),type:"select",defaultValue:"automatic",options:[{value:"automatic",label:t("Automatic (DOLE Matrix)")},{value:"manual",label:t("Manual Override")}]},{name:"basic_salary",label:t("Basic Salary"),type:"number",min:0,step:.01,readOnly:!1},{name:"pay_frequency",label:t("Pay Frequency"),type:"select",required:!0,options:[{value:"monthly",label:t("Monthly")},{value:"semi-monthly",label:t("Semi-Monthly")},{value:"weekly",label:t("Weekly")},{value:"daily",label:t("Daily")}]},{name:"sss_fixed",label:t("Fixed Monthly SSS"),type:"number",min:0,step:.01,placeholder:t("Leave blank for standard logic")},{name:"philhealth_fixed",label:t("Fixed Monthly PhilHealth"),type:"number",min:0,step:.01,placeholder:t("Leave blank for standard logic")},{name:"pagibig_fixed",label:t("Fixed Monthly Pag-IBIG"),type:"number",min:0,step:.01,placeholder:t("Leave blank for standard logic")},{name:"fixed_overtime",label:t("Fixed Overtime Pay (Manual)"),type:"number",min:0,step:.01,placeholder:t("Leave blank for automatic"),conditional:(a,e)=>(e==null?void 0:e.payroll_type)==="manual"},{name:"fixed_holiday_pay",label:t("Fixed Holiday Pay (Manual)"),type:"number",min:0,step:.01,placeholder:t("Leave blank for automatic"),conditional:(a,e)=>(e==null?void 0:e.payroll_type)==="manual"},{name:"fixed_late_deduction",label:t("Fixed Late Deduction (Manual)"),type:"number",min:0,step:.01,placeholder:t("Leave blank for automatic"),conditional:(a,e)=>(e==null?void 0:e.payroll_type)==="manual"},{name:"is_taxable",label:t("Is Taxable? (BIR TRAIN Law)"),type:"switch",defaultValue:!1},{name:"tax_calculation_mode",label:t("Tax Calculation Mode"),type:"select",defaultValue:"automatic",options:[{value:"automatic",label:t("Automatic (Graduated Table)")},{value:"manual",label:t("Manual Override (%)")}],conditional:(a,e)=>!!(e!=null&&e.is_taxable)},{name:"tax_percentage",label:t("Tax Percentage (%)"),type:"number",min:0,max:100,step:.01,placeholder:t("e.g. 8.00"),conditional:(a,e)=>!!(e!=null&&e.is_taxable)&&(e==null?void 0:e.tax_calculation_mode)==="manual"},{name:"components",label:t("Salary Components"),type:"multi-select",searchable:!0,options:k?k.map(a=>{var e;return{value:a.id.toString(),label:`${a.name} (${a.type}) - ${a.calculation_type==="percentage"?a.percentage_of_basic+"%":(e=window.appSettings)==null?void 0:e.formatCurrency(a.default_amount||0)}`}}):[],placeholder:t("Select salary components")},{name:"is_time_exempt",label:t("Time Exempt (No Late / Night Diff / OT / Holiday)"),type:"checkbox",defaultValue:!1},{name:"is_active",label:t("Is Active"),type:"checkbox",defaultValue:!0},{name:"notes",label:t("Notes"),type:"textarea",placeholder:t("Additional notes...")}],modalSize:"lg"},initialData:d?{...d,components:d.components?d.components.map(a=>a.toString()):[]}:null,title:t(x==="create"?"Setup Employee Salary":"Edit Employee Salary"),mode:x}),r.jsx(ce,{open:!!F,onOpenChange:()=>T(null),children:F&&r.jsx(he,{record:F})}),r.jsx(ye,{isOpen:V,onClose:()=>w(!1),onConfirm:X,itemName:`${($=d==null?void 0:d.employee)==null?void 0:$.name} - Basic Salary`||"",entityName:"employee salary"})]})}export{lr as default}; +import{r as u,j as r}from"./ui-Z445SNHD.js";import{P as ne}from"./page-template-CLNVC8w_.js";import{u as pe,c as me,r as p,D as ce,t as l}from"./app-Dya84jp7.js";import{C as de}from"./CrudTable-yqxtM6E_.js";import{C as ue}from"./CrudFormModal-CsuqSfb2.js";import{C as ye}from"./CrudDeleteModal-D32N6I8y.js";import{P as fe}from"./pagination-4PUepASD.js";import{S as xe}from"./search-and-filter-bar-DWH0yn_r.js";import he from"./view-CPJephlz.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function lr(){var I,$;const{t}=pe(),{auth:N,employeeSalaries:s,employees:C,salaryComponents:k,filters:o={},flash:ge}=me().props,L=(N==null?void 0:N.permissions)||[],[f,E]=u.useState(o.search||""),[m,M]=u.useState(o.employee_id||"all"),[c,A]=u.useState(o.is_active||"all"),[B,D]=u.useState(!1),[H,S]=u.useState(!1),[V,w]=u.useState(!1),[d,R]=u.useState(null),[x,U]=u.useState("create"),[F,T]=u.useState(null),z=()=>f!==""||m!=="all"||c!=="all",G=()=>(f?1:0)+(m!=="all"?1:0)+(c!=="all"?1:0),W=a=>{a.preventDefault(),O()},O=()=>{p.get(route("hr.employee-salaries.index"),{page:1,search:f||void 0,employee_id:m!=="all"?m:void 0,is_active:c!=="all"?c:void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},J=a=>{const e=o.sort_field===a&&o.sort_direction==="asc"?"desc":"asc";p.get(route("hr.employee-salaries.index"),{sort_field:a,sort_direction:e,page:1,search:f||void 0,employee_id:m!=="all"?m:void 0,is_active:c!=="all"?c:void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},K=(a,e)=>{switch(R(e),a){case"view":T(e);break;case"edit":U("edit"),S(!0);break;case"delete":w(!0);break;case"toggle-status":Y(e);break;case"show-payroll":Z(e);break}},Q=a=>{x==="create"?(l.loading(t("Creating employee salary...")),p.post(route("hr.employee-salaries.store"),a,{onSuccess:e=>{S(!1),l.dismiss(),e.props.flash.success?l.success(t(e.props.flash.success)):e.props.flash.error&&l.error(t(e.props.flash.error))},onError:e=>{l.dismiss(),typeof e=="string"?l.error(e):l.error(`Failed to create employee salary: ${Object.values(e).join(", ")}`)}})):x==="edit"&&(l.loading(t("Updating employee salary...")),p.put(route("hr.employee-salaries.update",d.id),a,{onSuccess:e=>{S(!1),l.dismiss(),e.props.flash.success?l.success(t(e.props.flash.success)):e.props.flash.error&&l.error(t(e.props.flash.error))},onError:e=>{l.dismiss(),typeof e=="string"?l.error(e):l.error(`Failed to update employee salary: ${Object.values(e).join(", ")}`)}}))},X=()=>{l.loading(t("Deleting employee salary...")),p.delete(route("hr.employee-salaries.destroy",d.id),{onSuccess:a=>{w(!1),l.dismiss(),a.props.flash.success?l.success(t(a.props.flash.success)):a.props.flash.error&&l.error(t(a.props.flash.error))},onError:a=>{l.dismiss(),typeof a=="string"?l.error(a):l.error(`Failed to delete employee salary: ${Object.values(a).join(", ")}`)}})},Y=a=>{const e=a.is_active?"inactive":"active";l.loading(`${t(e==="active"?"Activating":"Deactivating")} employee salary...`),p.put(route("hr.employee-salaries.toggle-status",a.id),{},{onSuccess:i=>{l.dismiss(),i.props.flash.success?l.success(t(i.props.flash.success)):i.props.flash.error&&l.error(t(i.props.flash.error))},onError:i=>{l.dismiss(),typeof i=="string"?l.error(i):l.error(`Failed to update employee salary status: ${Object.values(i).join(", ")}`)}})},Z=a=>{p.get(route("hr.employee-salaries.show-payroll",a.id),{},{onSuccess:e=>{var i;(i=e.props.flash)!=null&&i.error&&l.error(t(e.props.flash.error))},onError:e=>{typeof e=="string"?l.error(e):l.error(t("Failed to load payroll calculation"))}})},ee=()=>{E(""),M("all"),A("all"),D(!1),p.get(route("hr.employee-salaries.index"),{page:1,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},te=[],ae=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Payroll Management"),href:route("hr.employee-salaries.index")},{title:t("Employee Salaries")}],re=[{key:"employee",label:t("Employee"),render:(a,e)=>{var i,n,y,h,g,b,v;return r.jsxs("div",{className:"flex items-center space-x-3",children:[r.jsxs("div",{className:"relative",children:[(i=e.employee)!=null&&i.avatar?r.jsx("img",{src:e.employee.avatar,alt:((n=e.employee)==null?void 0:n.name)||"",className:"w-8 h-8 rounded-full object-cover",onError:j=>{var P;j.currentTarget.style.display="none";const _=(P=j.currentTarget.parentElement)==null?void 0:P.querySelector(".avatar-fallback");_&&(_.style.display="flex")}}):null,r.jsx("div",{className:`avatar-fallback w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-700 font-semibold text-xs${(y=e.employee)!=null&&y.avatar?" hidden":""}`,children:((b=(g=(h=e.employee)==null?void 0:h.name)==null?void 0:g.charAt(0))==null?void 0:b.toUpperCase())||"U"})]}),r.jsx("span",{className:"font-medium",children:((v=e.employee)==null?void 0:v.name)||"-"})]})}},{key:"basic_salary",label:t("Basic Salary"),render:a=>{var e,i,n;return r.jsxs("div",{className:"flex flex-col",children:[r.jsx("span",{className:"font-mono text-green-600 font-bold",children:(e=window.appSettings)==null?void 0:e.formatCurrency(a||0)}),r.jsxs("div",{className:"flex gap-2 text-[10px] text-gray-500 font-mono",children:[r.jsxs("span",{children:["D: ",(i=window.appSettings)==null?void 0:i.formatCurrency((a||0)/26)]}),r.jsxs("span",{children:["H: ",(n=window.appSettings)==null?void 0:n.formatCurrency((a||0)/26/8)]})]})]})}},{key:"pay_frequency",label:t("Payslip Basis (Cut-Off)"),render:(a,e)=>{var y;const i=a||"monthly",n=i==="semi-monthly"?e.basic_salary/2:e.basic_salary;return r.jsxs("div",{className:"flex flex-col items-end sm:items-start",children:[r.jsx("span",{className:"font-mono text-blue-600 font-bold",children:(y=window.appSettings)==null?void 0:y.formatCurrency(n||0)}),r.jsx("span",{className:"text-xs text-gray-500 capitalize",children:i.replace("-"," ")})]})}},{key:"components",label:t("Components"),render:(a,e)=>{var n,y,h,g,b,v;const i=e.component_names||[];return r.jsxs("div",{className:"text-sm",children:[i.length>0?r.jsx("div",{className:"flex flex-wrap gap-1",children:i.map((j,_)=>{var q;const oe=((q=e.component_types)==null?void 0:q[_])==="earning";return r.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${oe?"bg-green-50 text-green-700 ring-green-700/10":"bg-red-50 text-red-700 ring-red-700/10"}`,children:j},_)})}):r.jsx("span",{className:"text-gray-500",children:"Basic only"}),(e.sss_fixed||e.sss_computed||e.philhealth_fixed||e.philhealth_computed||e.pagibig_fixed||e.pagibig_computed)&&r.jsxs("div",{className:"mt-1 flex flex-wrap gap-1",children:[e.sss_fixed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-amber-100 text-amber-800",children:["SSS: ",(n=window.appSettings)==null?void 0:n.formatCurrency(e.sss_fixed)]}):e.sss_computed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-amber-50 text-amber-700 ring-1 ring-amber-300 ring-inset",children:["SSS: ",(y=window.appSettings)==null?void 0:y.formatCurrency(e.sss_computed)," ",r.jsx("span",{className:"ml-1 opacity-75 font-normal",children:"(auto)"})]}):null,e.philhealth_fixed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-blue-100 text-blue-800",children:["PH: ",(h=window.appSettings)==null?void 0:h.formatCurrency(e.philhealth_fixed)]}):e.philhealth_computed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-blue-50 text-blue-700 ring-1 ring-blue-300 ring-inset",children:["PH: ",(g=window.appSettings)==null?void 0:g.formatCurrency(e.philhealth_computed)," ",r.jsx("span",{className:"ml-1 opacity-75 font-normal",children:"(auto)"})]}):null,e.pagibig_fixed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-purple-100 text-purple-800",children:["HDMF: ",(b=window.appSettings)==null?void 0:b.formatCurrency(e.pagibig_fixed)]}):e.pagibig_computed?r.jsxs("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-[10px] font-bold bg-purple-50 text-purple-700 ring-1 ring-purple-300 ring-inset",children:["HDMF: ",(v=window.appSettings)==null?void 0:v.formatCurrency(e.pagibig_computed)," ",r.jsx("span",{className:"ml-1 opacity-75 font-normal",children:"(auto)"})]}):null]})]})}},{key:"is_active",label:t("Status"),render:(a,e)=>r.jsxs("div",{className:"flex flex-col gap-1",children:[r.jsx("span",{className:`inline-flex w-fit items-center rounded-md px-2 py-1 text-xs font-medium ${a?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t(a?"Active":"Inactive")}),r.jsx("span",{className:`inline-flex w-fit items-center rounded-md px-2 py-1 text-[10px] font-bold ${e.payroll_type==="manual"?"bg-orange-100 text-orange-800":"bg-indigo-100 text-indigo-800"}`,children:e.payroll_type==="manual"?t("Manual"):t("Automatic")})]})},{key:"created_at",label:t("Created At"),sortable:!0,render:a=>{var e;return((e=window.appSettings)==null?void 0:e.formatDateTimeSimple(a,!1))||new Date(a).toLocaleDateString()}}],le=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-salaries"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-salaries"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-employee-salaries"},{label:t("Show Payroll"),icon:"BarChart3",action:"show-payroll",className:"text-blue-500",requiredPermission:"view-employee-salaries"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-salaries"}],ie=[{value:"all",label:t("All Employees"),disabled:!0},...(C||[]).map(a=>({value:a.id.toString(),label:a.name}))],se=[{value:"all",label:t("All Status"),disabled:!0},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}];return r.jsxs(ne,{title:t("Employee Salaries"),url:"/hr/employee-salaries",actions:te,breadcrumbs:ae,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(xe,{searchTerm:f,onSearchChange:E,onSearch:W,filters:[{name:"employee_id",label:t("Employee"),type:"select",value:m,onChange:M,options:ie,searchable:!0},{name:"is_active",label:t("Status"),type:"select",value:c,onChange:A,options:se}],showFilters:B,setShowFilters:D,hasActiveFilters:z,activeFilterCount:G,onResetFilters:ee,onApplyFilters:O,currentPerPage:((I=o.per_page)==null?void 0:I.toString())||"10",onPerPageChange:a=>{p.get(route("hr.employee-salaries.index"),{page:1,per_page:parseInt(a),search:f||void 0,employee_id:m!=="all"?m:void 0,is_active:c!=="all"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(de,{columns:re,actions:le,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:K,sortField:o.sort_field,sortDirection:o.sort_direction,onSort:J,permissions:L,entityPermissions:{view:"view-employee-salaries",create:"create-employee-salaries",edit:"edit-employee-salaries",delete:"delete-employee-salaries"}}),r.jsx(fe,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("employee salaries"),onPageChange:a=>p.get(a)})]}),r.jsx(ue,{isOpen:H,onClose:()=>S(!1),onSubmit:Q,formConfig:{fields:[{name:"employee_id",label:t("Employee"),type:"select",required:!0,searchable:!0,disabled:x==="edit"||x==="view",options:C?C.map(a=>({value:a.id.toString(),label:a.name})):[]},{name:"payroll_type",label:t("Payroll Calculation Type"),type:"select",defaultValue:"automatic",options:[{value:"automatic",label:t("Automatic (DOLE Matrix)")},{value:"manual",label:t("Manual Override")}]},{name:"basic_salary",label:t("Basic Salary"),type:"number",min:0,step:.01,readOnly:!1},{name:"pay_frequency",label:t("Pay Frequency"),type:"select",required:!0,options:[{value:"monthly",label:t("Monthly")},{value:"semi-monthly",label:t("Semi-Monthly")},{value:"weekly",label:t("Weekly")},{value:"daily",label:t("Daily")}]},{name:"sss_fixed",label:t("Fixed Monthly SSS"),type:"number",min:0,step:.01,placeholder:t("Leave blank for standard logic")},{name:"philhealth_fixed",label:t("Fixed Monthly PhilHealth"),type:"number",min:0,step:.01,placeholder:t("Leave blank for standard logic")},{name:"pagibig_fixed",label:t("Fixed Monthly Pag-IBIG"),type:"number",min:0,step:.01,placeholder:t("Leave blank for standard logic")},{name:"fixed_overtime",label:t("Fixed Overtime Pay (Manual)"),type:"number",min:0,step:.01,placeholder:t("Leave blank for automatic"),conditional:(a,e)=>(e==null?void 0:e.payroll_type)==="manual"},{name:"fixed_holiday_pay",label:t("Fixed Holiday Pay (Manual)"),type:"number",min:0,step:.01,placeholder:t("Leave blank for automatic"),conditional:(a,e)=>(e==null?void 0:e.payroll_type)==="manual"},{name:"fixed_late_deduction",label:t("Fixed Late Deduction (Manual)"),type:"number",min:0,step:.01,placeholder:t("Leave blank for automatic"),conditional:(a,e)=>(e==null?void 0:e.payroll_type)==="manual"},{name:"is_taxable",label:t("Is Taxable? (BIR TRAIN Law)"),type:"switch",defaultValue:!1},{name:"tax_calculation_mode",label:t("Tax Calculation Mode"),type:"select",defaultValue:"automatic",options:[{value:"automatic",label:t("Automatic (Graduated Table)")},{value:"manual",label:t("Manual Override (%)")}],conditional:(a,e)=>!!(e!=null&&e.is_taxable)},{name:"tax_percentage",label:t("Tax Percentage (%)"),type:"number",min:0,max:100,step:.01,placeholder:t("e.g. 8.00"),conditional:(a,e)=>!!(e!=null&&e.is_taxable)&&(e==null?void 0:e.tax_calculation_mode)==="manual"},{name:"components",label:t("Salary Components"),type:"multi-select",searchable:!0,options:k?k.map(a=>{var e;return{value:a.id.toString(),label:`${a.name} (${a.type}) - ${a.calculation_type==="percentage"?a.percentage_of_basic+"%":(e=window.appSettings)==null?void 0:e.formatCurrency(a.default_amount||0)}`}}):[],placeholder:t("Select salary components")},{name:"is_time_exempt",label:t("Time Exempt (No Late / Night Diff / OT / Holiday)"),type:"checkbox",defaultValue:!1},{name:"is_active",label:t("Is Active"),type:"checkbox",defaultValue:!0},{name:"notes",label:t("Notes"),type:"textarea",placeholder:t("Additional notes...")}],modalSize:"lg"},initialData:d?{...d,components:d.components?d.components.map(a=>a.toString()):[]}:null,title:t(x==="create"?"Setup Employee Salary":"Edit Employee Salary"),mode:x}),r.jsx(ce,{open:!!F,onOpenChange:()=>T(null),children:F&&r.jsx(he,{record:F})}),r.jsx(ye,{isOpen:V,onClose:()=>w(!1),onConfirm:X,itemName:`${($=d==null?void 0:d.employee)==null?void 0:$.name} - Basic Salary`||"",entityName:"employee salary"})]})}export{lr as default}; diff --git a/public/build/assets/index-BgrFso6c.js b/public/build/assets/index-ChQKPCV2.js similarity index 65% rename from public/build/assets/index-BgrFso6c.js rename to public/build/assets/index-ChQKPCV2.js index c0aaf0825..7127fcee5 100644 --- a/public/build/assets/index-BgrFso6c.js +++ b/public/build/assets/index-ChQKPCV2.js @@ -1 +1 @@ -import{r as c,j as o}from"./ui-Z445SNHD.js";import{P as K}from"./page-template-BTxLyiDA.js";import{u as Q,c as W,x as X,P as Z,r as l,D as ee,t as i}from"./app-CfhhiFAk.js";import{C as te}from"./CrudTable-qPWooc10.js";import{C as re}from"./CrudFormModal-DAR9q-oM.js";import{C as oe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as se}from"./pagination-D8A_HnL5.js";import{S as ie}from"./search-and-filter-bar-6Pp-FsiR.js";import ae from"./view-D26r40SC.js";import{C as ne}from"./calendar-CfUpdaK5.js";import{C as pe}from"./clock-CwFdn-oy.js";import{R as me}from"./refresh-cw-DWorkL8J.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Kr(){var A;const{t:e}=Q(),{auth:_,contractTypes:a,filters:n={},globalSettings:r}=W().props,v=(_==null?void 0:_.permissions)||[],[u,w]=c.useState(n.search||""),[p,g]=c.useState(n.status||"_empty_"),[m,j]=c.useState(n.is_renewable||"_empty_"),[O,C]=c.useState(!1),[E,x]=c.useState(!1),[R,h]=c.useState(!1),[f,N]=c.useState(null),[y,F]=c.useState("create"),[b,P]=c.useState(null),M=()=>p!=="_empty_"||m!=="_empty_"||u!=="",T=()=>(p!=="_empty_"?1:0)+(m!=="_empty_"?1:0)+(u!==""?1:0),q=t=>{t.preventDefault(),S()},S=()=>{l.get(route("hr.contracts.contract-types.index"),{page:1,search:u||void 0,status:p!=="_empty_"?p:void 0,is_renewable:m!=="_empty_"?m:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},I=t=>{const s=n.sort_field===t&&n.sort_direction==="asc"?"desc":"asc";l.get(route("hr.contracts.contract-types.index"),{sort_field:t,sort_direction:s,page:1,search:u||void 0,status:p!=="_empty_"?p:void 0,is_renewable:m!=="_empty_"?m:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},$=(t,s)=>{switch(N(s),t){case"view":P(s);break;case"edit":F("edit"),h(!0);break;case"delete":x(!0);break;case"toggle-status":B(s);break}},L=()=>{N(null),F("create"),h(!0)},V=t=>{y==="create"?(r!=null&&r.is_demo||i.loading(e("Creating contract type...")),l.post(route("hr.contracts.contract-types.store"),t,{onSuccess:s=>{h(!1),r!=null&&r.is_demo||i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error))},onError:s=>{r!=null&&r.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to create contract type: ${Object.values(s).join(", ")}`)}})):y==="edit"&&(r!=null&&r.is_demo||i.loading(e("Updating contract type...")),l.put(route("hr.contracts.contract-types.update",f.id),t,{onSuccess:s=>{h(!1),r!=null&&r.is_demo||i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error))},onError:s=>{r!=null&&r.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to update contract type: ${Object.values(s).join(", ")}`)}}))},z=()=>{r!=null&&r.is_demo||i.loading(e("Deleting contract type...")),l.delete(route("hr.contracts.contract-types.destroy",f.id),{onSuccess:t=>{x(!1),r!=null&&r.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{r!=null&&r.is_demo||i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to delete contract type: ${Object.values(t).join(", ")}`)}})},B=t=>{const s=t.status==="active"?"inactive":"active";r!=null&&r.is_demo||i.loading(`${e(s==="active"?"Activating":"Deactivating")} contract type...`),l.put(route("hr.contracts.contract-types.toggle-status",t.id),{},{onSuccess:d=>{r!=null&&r.is_demo||i.dismiss(),d.props.flash.success?i.success(e(d.props.flash.success)):d.props.flash.error&&i.error(e(d.props.flash.error))},onError:d=>{r!=null&&r.is_demo||i.dismiss(),typeof d=="string"?i.error(d):i.error(`Failed to update contract type status: ${Object.values(d).join(", ")}`)}})},U=()=>{w(""),g("_empty_"),j("_empty_"),C(!1),l.get(route("hr.contracts.contract-types.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},k=[];X(v,"create-contract-types")&&k.push({label:e("Add Contract Type"),icon:o.jsx(Z,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>L()});const Y=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Contract Management"),href:route("hr.contracts.contract-types.index")},{title:e("Contract Types")}],G=[{key:"name",label:e("Contract Type"),sortable:!1,render:(t,s)=>o.jsx("div",{className:"flex items-center gap-2",children:o.jsx("div",{children:o.jsx("div",{className:"font-medium",children:t})})})},{key:"default_duration_months",label:e("Duration"),render:t=>t?o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(ne,{className:"h-4 w-4 text-gray-500"}),o.jsxs("span",{children:[t," ",e("months")]})]}):o.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:e("Permanent")})},{key:"probation_period_months",label:e("Probation"),render:t=>o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(pe,{className:"h-4 w-4 text-gray-500"}),o.jsxs("span",{children:[t," ",e("months")]})]})},{key:"notice_period_days",label:e("Notice Period"),render:t=>o.jsxs("span",{children:[t," ",e("days")]})},{key:"is_renewable",label:e("Renewable"),render:t=>o.jsx("div",{className:"flex items-center gap-1",children:t?o.jsxs(o.Fragment,{children:[o.jsx(me,{className:"h-4 w-4 text-green-500"}),o.jsx("span",{className:"text-green-700",children:e("Yes")})]}):o.jsx("span",{className:"text-gray-500",children:e("No")})})},{key:"contracts_count",label:e("Contracts"),render:t=>o.jsxs("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:[t||0," ",e("contracts")]})},{key:"status",label:e("Status"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:t=>{var s;return((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],H=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-contract-types"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-contract-types"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-contract-types"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-contract-types"}],D=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],J=[{value:"_empty_",label:e("All"),disabled:!0},{value:"true",label:e("Renewable")},{value:"false",label:e("Non-renewable")}];return o.jsxs(K,{title:e("Contract Types"),url:"/hr/contracts/contract-types",actions:k,breadcrumbs:Y,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ie,{searchTerm:u,onSearchChange:w,onSearch:q,filters:[{name:"status",label:e("Status"),type:"select",value:p,onChange:g,options:D},{name:"is_renewable",label:e("Renewable"),type:"select",value:m,onChange:j,options:J}],showFilters:O,setShowFilters:C,hasActiveFilters:M,activeFilterCount:T,onResetFilters:U,onApplyFilters:S,currentPerPage:((A=n.per_page)==null?void 0:A.toString())||"10",onPerPageChange:t=>{l.get(route("hr.contracts.contract-types.index"),{page:1,per_page:parseInt(t),search:u||void 0,status:p!=="_empty_"?p:void 0,is_renewable:m!=="_empty_"?m:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(te,{columns:G,actions:H,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:$,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:I,permissions:v,entityPermissions:{view:"view-contract-types",create:"create-contract-types",edit:"edit-contract-types",delete:"delete-contract-types"}}),o.jsx(se,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("contract types"),onPageChange:t=>l.get(t)})]}),o.jsx(re,{isOpen:R,onClose:()=>h(!1),onSubmit:V,formConfig:{fields:[{name:"name",label:e("Contract Type Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea",rows:3},{name:"default_duration_months",label:e("Default Duration (months)"),type:"number",min:1,max:120,helpText:e("Leave empty for permanent contracts")},{name:"probation_period_months",label:e("Probation Period (months)"),type:"number",required:!0,min:0,max:12},{name:"notice_period_days",label:e("Notice Period (days)"),type:"number",required:!0,min:0,max:365},{name:"is_renewable",label:e("Is Renewable"),type:"checkbox",helpText:e("Can this contract type be renewed?")},{name:"status",label:e("Status"),type:"select",required:!0,options:D.filter(t=>t.value!=="_empty_")}],modalSize:"lg"},initialData:f,title:e(y==="create"?"Add New Contract Type":"Edit Contract Type"),mode:y}),o.jsx(oe,{isOpen:E,onClose:()=>x(!1),onConfirm:z,itemName:(f==null?void 0:f.name)||"",entityName:"contract type"}),o.jsx(ee,{open:!!b,onOpenChange:()=>P(null),children:b&&o.jsx(ae,{contractType:b})})]})}export{Kr as default}; +import{r as c,j as o}from"./ui-Z445SNHD.js";import{P as K}from"./page-template-CLNVC8w_.js";import{u as Q,c as W,x as X,P as Z,r as l,D as ee,t as i}from"./app-Dya84jp7.js";import{C as te}from"./CrudTable-yqxtM6E_.js";import{C as re}from"./CrudFormModal-CsuqSfb2.js";import{C as oe}from"./CrudDeleteModal-D32N6I8y.js";import{P as se}from"./pagination-4PUepASD.js";import{S as ie}from"./search-and-filter-bar-DWH0yn_r.js";import ae from"./view-DtJK-ZFP.js";import{C as ne}from"./calendar-DuRYaSj5.js";import{C as pe}from"./clock-LnEFQ-vK.js";import{R as me}from"./refresh-cw-D_C_cDSu.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Kr(){var A;const{t:e}=Q(),{auth:_,contractTypes:a,filters:n={},globalSettings:r}=W().props,v=(_==null?void 0:_.permissions)||[],[u,w]=c.useState(n.search||""),[p,g]=c.useState(n.status||"_empty_"),[m,j]=c.useState(n.is_renewable||"_empty_"),[O,C]=c.useState(!1),[E,x]=c.useState(!1),[R,h]=c.useState(!1),[f,N]=c.useState(null),[y,F]=c.useState("create"),[b,P]=c.useState(null),M=()=>p!=="_empty_"||m!=="_empty_"||u!=="",T=()=>(p!=="_empty_"?1:0)+(m!=="_empty_"?1:0)+(u!==""?1:0),q=t=>{t.preventDefault(),S()},S=()=>{l.get(route("hr.contracts.contract-types.index"),{page:1,search:u||void 0,status:p!=="_empty_"?p:void 0,is_renewable:m!=="_empty_"?m:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},I=t=>{const s=n.sort_field===t&&n.sort_direction==="asc"?"desc":"asc";l.get(route("hr.contracts.contract-types.index"),{sort_field:t,sort_direction:s,page:1,search:u||void 0,status:p!=="_empty_"?p:void 0,is_renewable:m!=="_empty_"?m:void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},$=(t,s)=>{switch(N(s),t){case"view":P(s);break;case"edit":F("edit"),h(!0);break;case"delete":x(!0);break;case"toggle-status":B(s);break}},L=()=>{N(null),F("create"),h(!0)},V=t=>{y==="create"?(r!=null&&r.is_demo||i.loading(e("Creating contract type...")),l.post(route("hr.contracts.contract-types.store"),t,{onSuccess:s=>{h(!1),r!=null&&r.is_demo||i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error))},onError:s=>{r!=null&&r.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to create contract type: ${Object.values(s).join(", ")}`)}})):y==="edit"&&(r!=null&&r.is_demo||i.loading(e("Updating contract type...")),l.put(route("hr.contracts.contract-types.update",f.id),t,{onSuccess:s=>{h(!1),r!=null&&r.is_demo||i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error))},onError:s=>{r!=null&&r.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to update contract type: ${Object.values(s).join(", ")}`)}}))},z=()=>{r!=null&&r.is_demo||i.loading(e("Deleting contract type...")),l.delete(route("hr.contracts.contract-types.destroy",f.id),{onSuccess:t=>{x(!1),r!=null&&r.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{r!=null&&r.is_demo||i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to delete contract type: ${Object.values(t).join(", ")}`)}})},B=t=>{const s=t.status==="active"?"inactive":"active";r!=null&&r.is_demo||i.loading(`${e(s==="active"?"Activating":"Deactivating")} contract type...`),l.put(route("hr.contracts.contract-types.toggle-status",t.id),{},{onSuccess:d=>{r!=null&&r.is_demo||i.dismiss(),d.props.flash.success?i.success(e(d.props.flash.success)):d.props.flash.error&&i.error(e(d.props.flash.error))},onError:d=>{r!=null&&r.is_demo||i.dismiss(),typeof d=="string"?i.error(d):i.error(`Failed to update contract type status: ${Object.values(d).join(", ")}`)}})},U=()=>{w(""),g("_empty_"),j("_empty_"),C(!1),l.get(route("hr.contracts.contract-types.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},k=[];X(v,"create-contract-types")&&k.push({label:e("Add Contract Type"),icon:o.jsx(Z,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>L()});const Y=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Contract Management"),href:route("hr.contracts.contract-types.index")},{title:e("Contract Types")}],G=[{key:"name",label:e("Contract Type"),sortable:!1,render:(t,s)=>o.jsx("div",{className:"flex items-center gap-2",children:o.jsx("div",{children:o.jsx("div",{className:"font-medium",children:t})})})},{key:"default_duration_months",label:e("Duration"),render:t=>t?o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(ne,{className:"h-4 w-4 text-gray-500"}),o.jsxs("span",{children:[t," ",e("months")]})]}):o.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:e("Permanent")})},{key:"probation_period_months",label:e("Probation"),render:t=>o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(pe,{className:"h-4 w-4 text-gray-500"}),o.jsxs("span",{children:[t," ",e("months")]})]})},{key:"notice_period_days",label:e("Notice Period"),render:t=>o.jsxs("span",{children:[t," ",e("days")]})},{key:"is_renewable",label:e("Renewable"),render:t=>o.jsx("div",{className:"flex items-center gap-1",children:t?o.jsxs(o.Fragment,{children:[o.jsx(me,{className:"h-4 w-4 text-green-500"}),o.jsx("span",{className:"text-green-700",children:e("Yes")})]}):o.jsx("span",{className:"text-gray-500",children:e("No")})})},{key:"contracts_count",label:e("Contracts"),render:t=>o.jsxs("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:[t||0," ",e("contracts")]})},{key:"status",label:e("Status"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:t=>{var s;return((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],H=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-contract-types"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-contract-types"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-contract-types"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-contract-types"}],D=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],J=[{value:"_empty_",label:e("All"),disabled:!0},{value:"true",label:e("Renewable")},{value:"false",label:e("Non-renewable")}];return o.jsxs(K,{title:e("Contract Types"),url:"/hr/contracts/contract-types",actions:k,breadcrumbs:Y,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ie,{searchTerm:u,onSearchChange:w,onSearch:q,filters:[{name:"status",label:e("Status"),type:"select",value:p,onChange:g,options:D},{name:"is_renewable",label:e("Renewable"),type:"select",value:m,onChange:j,options:J}],showFilters:O,setShowFilters:C,hasActiveFilters:M,activeFilterCount:T,onResetFilters:U,onApplyFilters:S,currentPerPage:((A=n.per_page)==null?void 0:A.toString())||"10",onPerPageChange:t=>{l.get(route("hr.contracts.contract-types.index"),{page:1,per_page:parseInt(t),search:u||void 0,status:p!=="_empty_"?p:void 0,is_renewable:m!=="_empty_"?m:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(te,{columns:G,actions:H,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:$,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:I,permissions:v,entityPermissions:{view:"view-contract-types",create:"create-contract-types",edit:"edit-contract-types",delete:"delete-contract-types"}}),o.jsx(se,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("contract types"),onPageChange:t=>l.get(t)})]}),o.jsx(re,{isOpen:R,onClose:()=>h(!1),onSubmit:V,formConfig:{fields:[{name:"name",label:e("Contract Type Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea",rows:3},{name:"default_duration_months",label:e("Default Duration (months)"),type:"number",min:1,max:120,helpText:e("Leave empty for permanent contracts")},{name:"probation_period_months",label:e("Probation Period (months)"),type:"number",required:!0,min:0,max:12},{name:"notice_period_days",label:e("Notice Period (days)"),type:"number",required:!0,min:0,max:365},{name:"is_renewable",label:e("Is Renewable"),type:"checkbox",helpText:e("Can this contract type be renewed?")},{name:"status",label:e("Status"),type:"select",required:!0,options:D.filter(t=>t.value!=="_empty_")}],modalSize:"lg"},initialData:f,title:e(y==="create"?"Add New Contract Type":"Edit Contract Type"),mode:y}),o.jsx(oe,{isOpen:E,onClose:()=>x(!1),onConfirm:z,itemName:(f==null?void 0:f.name)||"",entityName:"contract type"}),o.jsx(ee,{open:!!b,onOpenChange:()=>P(null),children:b&&o.jsx(ae,{contractType:b})})]})}export{Kr as default}; diff --git a/public/build/assets/index-CY4LrrUm.js b/public/build/assets/index-ChW1Tzdd.js similarity index 66% rename from public/build/assets/index-CY4LrrUm.js rename to public/build/assets/index-ChW1Tzdd.js index 106e29fd7..8f390b5de 100644 --- a/public/build/assets/index-CY4LrrUm.js +++ b/public/build/assets/index-ChW1Tzdd.js @@ -1 +1 @@ -import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as de}from"./page-template-BTxLyiDA.js";import{u as ce,c as ue,x as fe,P as ve,r as u,D as ye,t as o}from"./app-CfhhiFAk.js";import{C as he}from"./CrudTable-qPWooc10.js";import{C as I}from"./CrudFormModal-DAR9q-oM.js";import{C as be}from"./CrudDeleteModal-CKTiD3_K.js";import{P as je}from"./pagination-D8A_HnL5.js";import{S as _e}from"./search-and-filter-bar-6Pp-FsiR.js";import{u as xe}from"./use-initials-BK4eRgYY.js";import Ce from"./view-Bp5k9w6L.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function pa(){var M,q,$;const{t:r}=ce(),{auth:j,leaveBalances:i,employees:_,leaveTypes:x,years:z,filters:m={},globalSettings:a}=ue().props,N=(j==null?void 0:j.permissions)||[],U=xe(),[f,g]=p.useState(m.search||""),[n,w]=p.useState(m.employee_id||"all"),[d,F]=p.useState(m.leave_type_id||"all"),[c,k]=p.useState(m.year||"all"),[G,P]=p.useState(!1),[H,v]=p.useState(!1),[J,C]=p.useState(!1),[K,A]=p.useState(!1),[l,O]=p.useState(null),[b,E]=p.useState("create"),[S,D]=p.useState(null),Q=()=>f!==""||n!=="all"||d!=="all"||c!=="all",W=()=>(f?1:0)+(n!=="all"?1:0)+(d!=="all"?1:0)+(c!=="all"?1:0),X=e=>{e.preventDefault(),L()},L=()=>{u.get(route("hr.leave-balances.index"),{page:1,search:f||void 0,employee_id:n!=="all"?n:void 0,leave_type_id:d!=="all"?d:void 0,year:c!=="all"?c:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},Z=e=>{const t=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";u.get(route("hr.leave-balances.index"),{sort_field:e,sort_direction:t,page:1,search:f||void 0,employee_id:n!=="all"?n:void 0,leave_type_id:d!=="all"?d:void 0,year:c!=="all"?c:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},B=(e,t)=>{switch(O(t),e){case"view":D(t);break;case"edit":E("edit"),v(!0);break;case"delete":C(!0);break;case"adjust":A(!0);break}},ee=()=>{O(null),E("create"),v(!0)},re=e=>{b==="create"?(a!=null&&a.is_demo||o.loading(r("Creating leave balance...")),u.post(route("hr.leave-balances.store"),e,{onSuccess:t=>{v(!1),a!=null&&a.is_demo||o.dismiss(),t.props.flash.success?o.success(r(t.props.flash.success)):t.props.flash.error&&o.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to create leave balance: ${Object.values(t).join(", ")}`)}})):b==="edit"&&(a!=null&&a.is_demo||o.loading(r("Updating leave balance...")),u.put(route("hr.leave-balances.update",l.id),e,{onSuccess:t=>{v(!1),a!=null&&a.is_demo||o.dismiss(),t.props.flash.success?o.success(r(t.props.flash.success)):t.props.flash.error&&o.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to update leave balance: ${Object.values(t).join(", ")}`)}}))},te=()=>{a!=null&&a.is_demo||o.loading(r("Deleting leave balance...")),u.delete(route("hr.leave-balances.destroy",l.id),{onSuccess:e=>{C(!1),a!=null&&a.is_demo||o.dismiss(),e.props.flash.success?o.success(r(e.props.flash.success)):e.props.flash.error&&o.error(r(e.props.flash.error))},onError:e=>{a!=null&&a.is_demo||o.dismiss(),typeof e=="string"?o.error(e):o.error(`Failed to delete leave balance: ${Object.values(e).join(", ")}`)}})},ae=e=>{a!=null&&a.is_demo||o.loading(r("Adjusting leave balance...")),u.put(route("hr.leave-balances.adjust",l.id),e,{onSuccess:t=>{A(!1),a!=null&&a.is_demo||o.dismiss(),t.props.flash.success?o.success(r(t.props.flash.success)):t.props.flash.error&&o.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to adjust leave balance: ${Object.values(t).join(", ")}`)}})},oe=()=>{g(""),w("all"),F("all"),k("all"),P(!1),u.get(route("hr.leave-balances.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},T=[];fe(N,"create-leave-balances")&&T.push({label:r("Add Leave Balance"),icon:s.jsx(ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ee()});const se=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Leave Management"),href:route("hr.leave-balances.index")},{title:r("Leave Balances")}],ie=[{key:"employee",label:r("Employee"),render:(e,t)=>{var y,h,Y,R,V;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(y=t.employee)!=null&&y.avatar?s.jsx("img",{src:t.employee.avatar,alt:(h=t.employee)==null?void 0:h.name,className:"h-full w-full object-cover"}):U(((Y=t.employee)==null?void 0:Y.name)||"")}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((R=t.employee)==null?void 0:R.name)||"-"}),s.jsx("div",{className:"text-sm text-muted-foreground",children:((V=t.employee)==null?void 0:V.email)||""})]})]})}},{key:"leave_type",label:r("Leave Type"),render:(e,t)=>{var y,h;return s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:(y=t.leave_type)==null?void 0:y.color}}),s.jsx("span",{children:((h=t.leave_type)==null?void 0:h.name)||"-"})]})}},{key:"year",label:r("Year"),sortable:!0,render:e=>s.jsx("span",{className:"font-mono",children:e})},{key:"allocated_days",label:r("Allocated"),render:e=>s.jsx("span",{className:"font-mono text-blue-600",children:e})},{key:"used_days",label:r("Used"),render:e=>s.jsx("span",{className:"font-mono text-red-600",children:e})},{key:"remaining_days",label:r("Remaining"),render:e=>s.jsx("span",{className:`font-mono ${e>0?"text-green-600":"text-gray-500"}`,children:e})},{key:"carried_forward",label:r("Carried Forward"),render:e=>s.jsx("span",{className:"font-mono text-purple-600",children:e})},{key:"manual_adjustment",label:r("Adjustment"),render:e=>s.jsxs("span",{className:`font-mono ${e>0?"text-green-600":e<0?"text-red-600":"text-gray-500"}`,children:[e>0?"+":"",e]})}],le=[{label:r("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-leave-balances"},{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-leave-balances"},{label:r("Adjust"),icon:"Settings",action:"adjust",className:"text-purple-500",requiredPermission:"adjust-leave-balances"},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-leave-balances"}],me=[{value:"all",label:r("All Employees")},...(_||[]).map(e=>({value:e.id.toString(),label:e.name}))],pe=[{value:"all",label:r("All Leave Types")},...(x||[]).map(e=>({value:e.id.toString(),label:e.name}))],ne=[{value:"all",label:r("All Years")},...(z||[]).map(e=>({value:e.toString(),label:e.toString()}))];return s.jsxs(de,{title:r("Leave Balances"),url:"/hr/leave-balances",actions:T,breadcrumbs:se,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(_e,{searchTerm:f,onSearchChange:g,onSearch:X,filters:[{name:"employee_id",label:r("Employee"),type:"select",value:n,onChange:w,options:me},{name:"leave_type_id",label:r("Leave Type"),type:"select",value:d,onChange:F,options:pe},{name:"year",label:r("Year"),type:"select",value:c,onChange:k,options:ne}],showFilters:G,setShowFilters:P,hasActiveFilters:Q,activeFilterCount:W,onResetFilters:oe,onApplyFilters:L,currentPerPage:((M=m.per_page)==null?void 0:M.toString())||"10",onPerPageChange:e=>{u.get(route("hr.leave-balances.index"),{page:1,per_page:parseInt(e),search:f||void 0,employee_id:n!=="all"?n:void 0,leave_type_id:d!=="all"?d:void 0,year:c!=="all"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(he,{columns:ie,actions:le,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:B,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:Z,permissions:N,entityPermissions:{view:"view-leave-balances",create:"create-leave-balances",edit:"edit-leave-balances",delete:"delete-leave-balances"}}),s.jsx(je,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:r("leave balances"),onPageChange:e=>u.get(e)})]}),s.jsx(I,{isOpen:H,onClose:()=>v(!1),onSubmit:re,formConfig:{fields:[{name:"employee_id",label:r("Employee"),type:"select",required:!0,options:_?_.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"leave_type_id",label:r("Leave Type"),type:"select",required:!0,options:x?x.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"year",label:r("Year"),type:"number",required:!0,min:2020,max:2030,defaultValue:new Date().getFullYear()},{name:"allocated_days",label:r("Allocated Days"),type:"number",required:!0,min:0,step:.5},{name:"carried_forward",label:r("Carried Forward Days"),type:"number",min:0,step:.5,defaultValue:0},{name:"manual_adjustment",label:r("Manual Adjustment"),type:"number",step:.5,defaultValue:0},{name:"adjustment_reason",label:r("Adjustment Reason"),type:"textarea"}],modalSize:"lg"},initialData:l,title:r(b==="create"?"Add New Leave Balance":"Edit Leave Balance"),mode:b}),s.jsx(I,{isOpen:K,onClose:()=>A(!1),onSubmit:ae,formConfig:{fields:[{name:"manual_adjustment",label:r("Adjustment Amount"),type:"number",required:!0,step:.5},{name:"adjustment_reason",label:r("Reason for Adjustment"),type:"textarea",required:!0}],modalSize:"md"},initialData:l,title:r("Adjust Leave Balance"),mode:"edit"}),s.jsx(be,{isOpen:J,onClose:()=>C(!1),onConfirm:te,itemName:`${(q=l==null?void 0:l.employee)==null?void 0:q.name} - ${($=l==null?void 0:l.leave_type)==null?void 0:$.name} (${l==null?void 0:l.year})`||"",entityName:"leave balance"}),s.jsx(ye,{open:!!S,onOpenChange:()=>D(null),children:S&&s.jsx(Ce,{leaveBalance:S})})]})}export{pa as default}; +import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as de}from"./page-template-CLNVC8w_.js";import{u as ce,c as ue,x as fe,P as ve,r as u,D as ye,t as o}from"./app-Dya84jp7.js";import{C as he}from"./CrudTable-yqxtM6E_.js";import{C as I}from"./CrudFormModal-CsuqSfb2.js";import{C as be}from"./CrudDeleteModal-D32N6I8y.js";import{P as je}from"./pagination-4PUepASD.js";import{S as _e}from"./search-and-filter-bar-DWH0yn_r.js";import{u as xe}from"./use-initials-BK4eRgYY.js";import Ce from"./view-DG9-mnmR.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function pa(){var M,q,$;const{t:r}=ce(),{auth:j,leaveBalances:i,employees:_,leaveTypes:x,years:z,filters:m={},globalSettings:a}=ue().props,N=(j==null?void 0:j.permissions)||[],U=xe(),[f,g]=p.useState(m.search||""),[n,w]=p.useState(m.employee_id||"all"),[d,F]=p.useState(m.leave_type_id||"all"),[c,k]=p.useState(m.year||"all"),[G,P]=p.useState(!1),[H,v]=p.useState(!1),[J,C]=p.useState(!1),[K,A]=p.useState(!1),[l,O]=p.useState(null),[b,E]=p.useState("create"),[S,D]=p.useState(null),Q=()=>f!==""||n!=="all"||d!=="all"||c!=="all",W=()=>(f?1:0)+(n!=="all"?1:0)+(d!=="all"?1:0)+(c!=="all"?1:0),X=e=>{e.preventDefault(),L()},L=()=>{u.get(route("hr.leave-balances.index"),{page:1,search:f||void 0,employee_id:n!=="all"?n:void 0,leave_type_id:d!=="all"?d:void 0,year:c!=="all"?c:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},Z=e=>{const t=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";u.get(route("hr.leave-balances.index"),{sort_field:e,sort_direction:t,page:1,search:f||void 0,employee_id:n!=="all"?n:void 0,leave_type_id:d!=="all"?d:void 0,year:c!=="all"?c:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},B=(e,t)=>{switch(O(t),e){case"view":D(t);break;case"edit":E("edit"),v(!0);break;case"delete":C(!0);break;case"adjust":A(!0);break}},ee=()=>{O(null),E("create"),v(!0)},re=e=>{b==="create"?(a!=null&&a.is_demo||o.loading(r("Creating leave balance...")),u.post(route("hr.leave-balances.store"),e,{onSuccess:t=>{v(!1),a!=null&&a.is_demo||o.dismiss(),t.props.flash.success?o.success(r(t.props.flash.success)):t.props.flash.error&&o.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to create leave balance: ${Object.values(t).join(", ")}`)}})):b==="edit"&&(a!=null&&a.is_demo||o.loading(r("Updating leave balance...")),u.put(route("hr.leave-balances.update",l.id),e,{onSuccess:t=>{v(!1),a!=null&&a.is_demo||o.dismiss(),t.props.flash.success?o.success(r(t.props.flash.success)):t.props.flash.error&&o.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to update leave balance: ${Object.values(t).join(", ")}`)}}))},te=()=>{a!=null&&a.is_demo||o.loading(r("Deleting leave balance...")),u.delete(route("hr.leave-balances.destroy",l.id),{onSuccess:e=>{C(!1),a!=null&&a.is_demo||o.dismiss(),e.props.flash.success?o.success(r(e.props.flash.success)):e.props.flash.error&&o.error(r(e.props.flash.error))},onError:e=>{a!=null&&a.is_demo||o.dismiss(),typeof e=="string"?o.error(e):o.error(`Failed to delete leave balance: ${Object.values(e).join(", ")}`)}})},ae=e=>{a!=null&&a.is_demo||o.loading(r("Adjusting leave balance...")),u.put(route("hr.leave-balances.adjust",l.id),e,{onSuccess:t=>{A(!1),a!=null&&a.is_demo||o.dismiss(),t.props.flash.success?o.success(r(t.props.flash.success)):t.props.flash.error&&o.error(r(t.props.flash.error))},onError:t=>{a!=null&&a.is_demo||o.dismiss(),typeof t=="string"?o.error(t):o.error(`Failed to adjust leave balance: ${Object.values(t).join(", ")}`)}})},oe=()=>{g(""),w("all"),F("all"),k("all"),P(!1),u.get(route("hr.leave-balances.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},T=[];fe(N,"create-leave-balances")&&T.push({label:r("Add Leave Balance"),icon:s.jsx(ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ee()});const se=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Leave Management"),href:route("hr.leave-balances.index")},{title:r("Leave Balances")}],ie=[{key:"employee",label:r("Employee"),render:(e,t)=>{var y,h,Y,R,V;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(y=t.employee)!=null&&y.avatar?s.jsx("img",{src:t.employee.avatar,alt:(h=t.employee)==null?void 0:h.name,className:"h-full w-full object-cover"}):U(((Y=t.employee)==null?void 0:Y.name)||"")}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((R=t.employee)==null?void 0:R.name)||"-"}),s.jsx("div",{className:"text-sm text-muted-foreground",children:((V=t.employee)==null?void 0:V.email)||""})]})]})}},{key:"leave_type",label:r("Leave Type"),render:(e,t)=>{var y,h;return s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:(y=t.leave_type)==null?void 0:y.color}}),s.jsx("span",{children:((h=t.leave_type)==null?void 0:h.name)||"-"})]})}},{key:"year",label:r("Year"),sortable:!0,render:e=>s.jsx("span",{className:"font-mono",children:e})},{key:"allocated_days",label:r("Allocated"),render:e=>s.jsx("span",{className:"font-mono text-blue-600",children:e})},{key:"used_days",label:r("Used"),render:e=>s.jsx("span",{className:"font-mono text-red-600",children:e})},{key:"remaining_days",label:r("Remaining"),render:e=>s.jsx("span",{className:`font-mono ${e>0?"text-green-600":"text-gray-500"}`,children:e})},{key:"carried_forward",label:r("Carried Forward"),render:e=>s.jsx("span",{className:"font-mono text-purple-600",children:e})},{key:"manual_adjustment",label:r("Adjustment"),render:e=>s.jsxs("span",{className:`font-mono ${e>0?"text-green-600":e<0?"text-red-600":"text-gray-500"}`,children:[e>0?"+":"",e]})}],le=[{label:r("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-leave-balances"},{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-leave-balances"},{label:r("Adjust"),icon:"Settings",action:"adjust",className:"text-purple-500",requiredPermission:"adjust-leave-balances"},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-leave-balances"}],me=[{value:"all",label:r("All Employees")},...(_||[]).map(e=>({value:e.id.toString(),label:e.name}))],pe=[{value:"all",label:r("All Leave Types")},...(x||[]).map(e=>({value:e.id.toString(),label:e.name}))],ne=[{value:"all",label:r("All Years")},...(z||[]).map(e=>({value:e.toString(),label:e.toString()}))];return s.jsxs(de,{title:r("Leave Balances"),url:"/hr/leave-balances",actions:T,breadcrumbs:se,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(_e,{searchTerm:f,onSearchChange:g,onSearch:X,filters:[{name:"employee_id",label:r("Employee"),type:"select",value:n,onChange:w,options:me},{name:"leave_type_id",label:r("Leave Type"),type:"select",value:d,onChange:F,options:pe},{name:"year",label:r("Year"),type:"select",value:c,onChange:k,options:ne}],showFilters:G,setShowFilters:P,hasActiveFilters:Q,activeFilterCount:W,onResetFilters:oe,onApplyFilters:L,currentPerPage:((M=m.per_page)==null?void 0:M.toString())||"10",onPerPageChange:e=>{u.get(route("hr.leave-balances.index"),{page:1,per_page:parseInt(e),search:f||void 0,employee_id:n!=="all"?n:void 0,leave_type_id:d!=="all"?d:void 0,year:c!=="all"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(he,{columns:ie,actions:le,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:B,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:Z,permissions:N,entityPermissions:{view:"view-leave-balances",create:"create-leave-balances",edit:"edit-leave-balances",delete:"delete-leave-balances"}}),s.jsx(je,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:r("leave balances"),onPageChange:e=>u.get(e)})]}),s.jsx(I,{isOpen:H,onClose:()=>v(!1),onSubmit:re,formConfig:{fields:[{name:"employee_id",label:r("Employee"),type:"select",required:!0,options:_?_.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"leave_type_id",label:r("Leave Type"),type:"select",required:!0,options:x?x.map(e=>({value:e.id.toString(),label:e.name})):[]},{name:"year",label:r("Year"),type:"number",required:!0,min:2020,max:2030,defaultValue:new Date().getFullYear()},{name:"allocated_days",label:r("Allocated Days"),type:"number",required:!0,min:0,step:.5},{name:"carried_forward",label:r("Carried Forward Days"),type:"number",min:0,step:.5,defaultValue:0},{name:"manual_adjustment",label:r("Manual Adjustment"),type:"number",step:.5,defaultValue:0},{name:"adjustment_reason",label:r("Adjustment Reason"),type:"textarea"}],modalSize:"lg"},initialData:l,title:r(b==="create"?"Add New Leave Balance":"Edit Leave Balance"),mode:b}),s.jsx(I,{isOpen:K,onClose:()=>A(!1),onSubmit:ae,formConfig:{fields:[{name:"manual_adjustment",label:r("Adjustment Amount"),type:"number",required:!0,step:.5},{name:"adjustment_reason",label:r("Reason for Adjustment"),type:"textarea",required:!0}],modalSize:"md"},initialData:l,title:r("Adjust Leave Balance"),mode:"edit"}),s.jsx(be,{isOpen:J,onClose:()=>C(!1),onConfirm:te,itemName:`${(q=l==null?void 0:l.employee)==null?void 0:q.name} - ${($=l==null?void 0:l.leave_type)==null?void 0:$.name} (${l==null?void 0:l.year})`||"",entityName:"leave balance"}),s.jsx(ye,{open:!!S,onOpenChange:()=>D(null),children:S&&s.jsx(Ce,{leaveBalance:S})})]})}export{pa as default}; diff --git a/public/build/assets/index-DjRJ1e6t.js b/public/build/assets/index-Cjv309fe.js similarity index 67% rename from public/build/assets/index-DjRJ1e6t.js rename to public/build/assets/index-Cjv309fe.js index cbec972df..bfa233656 100644 --- a/public/build/assets/index-DjRJ1e6t.js +++ b/public/build/assets/index-Cjv309fe.js @@ -1 +1 @@ -import{r as c,j as r}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-BTxLyiDA.js";import{u as te,c as O,t as m,x as re,P as se,F as ae,r as d,D as T,h as ie,j as oe,k as pe}from"./app-CfhhiFAk.js";import{C as ne}from"./CrudTable-qPWooc10.js";import{C as le}from"./CrudDeleteModal-CKTiD3_K.js";import{P as me}from"./pagination-D8A_HnL5.js";import{S as ce}from"./search-and-filter-bar-6Pp-FsiR.js";import de from"./generate-CFssguy1.js";import{S as ue}from"./star-DQsTg5F1.js";import{C as ge}from"./code-BfjQUpEO.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function Kr(){var F;const{t}=te(),{auth:v,contractTemplates:a,contractTypes:E,filters:o={},globalSettings:h}=O().props,{flash:g}=O().props,b=(v==null?void 0:v.permissions)||[];c.useEffect(()=>{g!=null&&g.error&&m.error(t(g.error))},[g==null?void 0:g.error]);const[_,S]=c.useState(o.search||""),[p,j]=c.useState(o.contract_type_id||"_empty_"),[n,w]=c.useState(o.status||"_empty_"),[l,C]=c.useState(o.is_default||"_empty_"),[M,N]=c.useState(!1),[q,x]=c.useState(!1),[$,P]=c.useState(!1),[G,f]=c.useState(!1),[i,y]=c.useState(null),L=()=>p!=="_empty_"||n!=="_empty_"||l!=="_empty_"||_!=="",R=()=>(p!=="_empty_"?1:0)+(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(_!==""?1:0),V=e=>{e.preventDefault(),k()},k=()=>{d.get(route("hr.contracts.contract-templates.index"),{page:1,search:_||void 0,contract_type_id:p!=="_empty_"?p:void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},B=e=>{const s=o.sort_field===e&&o.sort_direction==="asc"?"desc":"asc";d.get(route("hr.contracts.contract-templates.index"),{sort_field:e,sort_direction:s,page:1,search:_||void 0,contract_type_id:p!=="_empty_"?p:void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},H=(e,s)=>{switch(y(s),e){case"view":d.get(route("hr.contracts.contract-templates.show",s.id));break;case"edit":d.get(route("hr.contracts.contract-templates.edit",s.id));break;case"delete":x(!0);break;case"toggle-status":I(s);break;case"preview":y(s),P(!0);break;case"generate":y(s),f(!0);break}},U=()=>{d.get(route("hr.contracts.contract-templates.create"))},z=()=>{h!=null&&h.is_demo||m.loading(t("Deleting contract template...")),d.delete(route("hr.contracts.contract-templates.destroy",i.id),{onSuccess:e=>{var s;x(!1),m.dismiss(),(s=e.props.flash)!=null&&s.success&&m.success(t(e.props.flash.success))},onError:e=>{m.dismiss(),m.error(typeof e=="string"?e:Object.values(e).join(", "))}})},I=e=>{const s=e.status==="active"?"inactive":"active";h!=null&&h.is_demo||m.loading(`${t(s==="active"?"Activating":"Deactivating")} contract template...`),d.put(route("hr.contracts.contract-templates.toggle-status",e.id),{},{onSuccess:u=>{var A;m.dismiss(),(A=u.props.flash)!=null&&A.success&&m.success(t(u.props.flash.success))},onError:u=>{m.dismiss(),m.error(typeof u=="string"?u:Object.values(u).join(", "))}})},J=()=>{S(""),j("_empty_"),w("_empty_"),C("_empty_"),N(!1),d.get(route("hr.contracts.contract-templates.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},D=[];re(b,"create-contract-templates")&&D.push({label:t("Add Template"),icon:r.jsx(se,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>U()});const K=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-templates.index")},{title:t("Contract Templates")}],Q=[{key:"name",label:t("Template Name"),sortable:!0,render:(e,s)=>r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(ae,{className:"h-4 w-4 text-gray-500"}),r.jsxs("div",{children:[r.jsxs("div",{className:"font-medium flex items-center gap-2",children:[e,s.is_default&&r.jsx(ue,{className:"h-4 w-4 text-yellow-500 fill-current"})]}),r.jsx("div",{className:"text-xs text-gray-500",children:s.description})]})]})},{key:"contract_type.name",label:t("Contract Type"),render:(e,s)=>{var u;return((u=s.contract_type)==null?void 0:u.name)||"-"}},{key:"variables",label:t("Variables"),render:e=>!e||!Array.isArray(e)||e.length===0?"-":r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(ge,{className:"h-4 w-4 text-gray-500"}),r.jsxs("span",{children:[e.length," ",t("variables")]})]})},{key:"clauses",label:t("Clauses"),render:e=>!e||!Array.isArray(e)||e.length===0?"-":r.jsxs("span",{children:[e.length," ",t("clauses")]})},{key:"template_content",label:t("Content Length"),render:e=>r.jsx("span",{className:"text-sm text-gray-600",children:e?`${e.length} ${t("characters")}`:"-"})},{key:"status",label:t("Status"),render:e=>r.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t(e==="active"?"Active":"Inactive")})},{key:"created_at",label:t("Created"),sortable:!0,render:e=>{var s;return e?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleString():"-"}}],W=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-contract-templates"},{label:t("Preview"),icon:"FileText",action:"preview",className:"text-purple-500",requiredPermission:"view-contract-templates"},{label:t("Generate Contract"),icon:"Download",action:"generate",className:"text-green-500",requiredPermission:"view-contract-templates"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-contract-templates"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-contract-templates"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-contract-templates"}],X=[{value:"_empty_",label:t("All Types"),disabled:!0},...(E||[]).map(e=>({value:e.id.toString(),label:e.name}))],Y=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}],Z=[{value:"_empty_",label:t("All"),disabled:!0},{value:"true",label:t("Default")},{value:"false",label:t("Custom")}];return r.jsxs(ee,{title:t("Contract Templates"),url:"/hr/contracts/contract-templates",actions:D,breadcrumbs:K,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(ce,{searchTerm:_,onSearchChange:S,onSearch:V,filters:[{name:"contract_type_id",label:t("Contract Type"),type:"select",value:p,onChange:j,options:X,searchable:!0},{name:"status",label:t("Status"),type:"select",value:n,onChange:w,options:Y},{name:"is_default",label:t("Type"),type:"select",value:l,onChange:C,options:Z}],showFilters:M,setShowFilters:N,hasActiveFilters:L,activeFilterCount:R,onResetFilters:J,onApplyFilters:k,currentPerPage:((F=o.per_page)==null?void 0:F.toString())||"10",onPerPageChange:e=>{d.get(route("hr.contracts.contract-templates.index"),{page:1,per_page:parseInt(e),search:_||void 0,contract_type_id:p!=="_empty_"?p:void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(ne,{columns:Q,actions:W,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:H,sortField:o.sort_field,sortDirection:o.sort_direction,onSort:B,permissions:b,entityPermissions:{view:"view-contract-templates",create:"create-contract-templates",edit:"edit-contract-templates",delete:"delete-contract-templates"}}),r.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("contract templates"),onPageChange:e=>{const s=new URL(e).searchParams.get("page");d.get(route("hr.contracts.contract-templates.index"),{page:s,per_page:o.per_page||10,search:_||void 0,contract_type_id:p!=="_empty_"?p:void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})]}),r.jsx(le,{isOpen:q,onClose:()=>x(!1),onConfirm:z,itemName:(i==null?void 0:i.name)||"",entityName:"contract template"}),r.jsx(T,{open:$,onOpenChange:P,children:r.jsxs(ie,{className:"max-w-4xl max-h-[80vh]",children:[r.jsx(oe,{children:r.jsxs(pe,{children:[t("Template Preview"),": ",i==null?void 0:i.name]})}),r.jsxs("div",{className:"mt-4 overflow-y-auto max-h-[60vh] pr-1",children:[r.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg border",children:r.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono",children:(i==null?void 0:i.template_content)||t("No content available")})}),(i==null?void 0:i.variables)&&i.variables.length>0&&r.jsxs("div",{className:"mt-4",children:[r.jsxs("h4",{className:"text-sm font-medium mb-2",children:[t("Available Variables"),":"]}),r.jsx("div",{className:"flex flex-wrap gap-2",children:i.variables.map((e,s)=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:`{{${e}}}`},s))})]})]})]})}),r.jsx(T,{open:G,onOpenChange:f,children:i&&r.jsx(de,{record:i,onClose:()=>f(!1)})})]})}export{Kr as default}; +import{r as c,j as r}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-CLNVC8w_.js";import{u as te,c as O,t as m,x as re,P as se,F as ae,r as d,D as T,h as ie,j as oe,k as pe}from"./app-Dya84jp7.js";import{C as ne}from"./CrudTable-yqxtM6E_.js";import{C as le}from"./CrudDeleteModal-D32N6I8y.js";import{P as me}from"./pagination-4PUepASD.js";import{S as ce}from"./search-and-filter-bar-DWH0yn_r.js";import de from"./generate-DVcDuXVF.js";import{S as ue}from"./star-DCkLKzoE.js";import{C as ge}from"./code-znlKMFkF.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function Kr(){var F;const{t}=te(),{auth:v,contractTemplates:a,contractTypes:E,filters:o={},globalSettings:h}=O().props,{flash:g}=O().props,b=(v==null?void 0:v.permissions)||[];c.useEffect(()=>{g!=null&&g.error&&m.error(t(g.error))},[g==null?void 0:g.error]);const[_,S]=c.useState(o.search||""),[p,j]=c.useState(o.contract_type_id||"_empty_"),[n,w]=c.useState(o.status||"_empty_"),[l,C]=c.useState(o.is_default||"_empty_"),[M,N]=c.useState(!1),[q,x]=c.useState(!1),[$,P]=c.useState(!1),[G,f]=c.useState(!1),[i,y]=c.useState(null),L=()=>p!=="_empty_"||n!=="_empty_"||l!=="_empty_"||_!=="",R=()=>(p!=="_empty_"?1:0)+(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(_!==""?1:0),V=e=>{e.preventDefault(),k()},k=()=>{d.get(route("hr.contracts.contract-templates.index"),{page:1,search:_||void 0,contract_type_id:p!=="_empty_"?p:void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},B=e=>{const s=o.sort_field===e&&o.sort_direction==="asc"?"desc":"asc";d.get(route("hr.contracts.contract-templates.index"),{sort_field:e,sort_direction:s,page:1,search:_||void 0,contract_type_id:p!=="_empty_"?p:void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},H=(e,s)=>{switch(y(s),e){case"view":d.get(route("hr.contracts.contract-templates.show",s.id));break;case"edit":d.get(route("hr.contracts.contract-templates.edit",s.id));break;case"delete":x(!0);break;case"toggle-status":I(s);break;case"preview":y(s),P(!0);break;case"generate":y(s),f(!0);break}},U=()=>{d.get(route("hr.contracts.contract-templates.create"))},z=()=>{h!=null&&h.is_demo||m.loading(t("Deleting contract template...")),d.delete(route("hr.contracts.contract-templates.destroy",i.id),{onSuccess:e=>{var s;x(!1),m.dismiss(),(s=e.props.flash)!=null&&s.success&&m.success(t(e.props.flash.success))},onError:e=>{m.dismiss(),m.error(typeof e=="string"?e:Object.values(e).join(", "))}})},I=e=>{const s=e.status==="active"?"inactive":"active";h!=null&&h.is_demo||m.loading(`${t(s==="active"?"Activating":"Deactivating")} contract template...`),d.put(route("hr.contracts.contract-templates.toggle-status",e.id),{},{onSuccess:u=>{var A;m.dismiss(),(A=u.props.flash)!=null&&A.success&&m.success(t(u.props.flash.success))},onError:u=>{m.dismiss(),m.error(typeof u=="string"?u:Object.values(u).join(", "))}})},J=()=>{S(""),j("_empty_"),w("_empty_"),C("_empty_"),N(!1),d.get(route("hr.contracts.contract-templates.index"),{page:1,per_page:o.per_page||10},{preserveState:!0,preserveScroll:!0})},D=[];re(b,"create-contract-templates")&&D.push({label:t("Add Template"),icon:r.jsx(se,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>U()});const K=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-templates.index")},{title:t("Contract Templates")}],Q=[{key:"name",label:t("Template Name"),sortable:!0,render:(e,s)=>r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(ae,{className:"h-4 w-4 text-gray-500"}),r.jsxs("div",{children:[r.jsxs("div",{className:"font-medium flex items-center gap-2",children:[e,s.is_default&&r.jsx(ue,{className:"h-4 w-4 text-yellow-500 fill-current"})]}),r.jsx("div",{className:"text-xs text-gray-500",children:s.description})]})]})},{key:"contract_type.name",label:t("Contract Type"),render:(e,s)=>{var u;return((u=s.contract_type)==null?void 0:u.name)||"-"}},{key:"variables",label:t("Variables"),render:e=>!e||!Array.isArray(e)||e.length===0?"-":r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(ge,{className:"h-4 w-4 text-gray-500"}),r.jsxs("span",{children:[e.length," ",t("variables")]})]})},{key:"clauses",label:t("Clauses"),render:e=>!e||!Array.isArray(e)||e.length===0?"-":r.jsxs("span",{children:[e.length," ",t("clauses")]})},{key:"template_content",label:t("Content Length"),render:e=>r.jsx("span",{className:"text-sm text-gray-600",children:e?`${e.length} ${t("characters")}`:"-"})},{key:"status",label:t("Status"),render:e=>r.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t(e==="active"?"Active":"Inactive")})},{key:"created_at",label:t("Created"),sortable:!0,render:e=>{var s;return e?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleString():"-"}}],W=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-contract-templates"},{label:t("Preview"),icon:"FileText",action:"preview",className:"text-purple-500",requiredPermission:"view-contract-templates"},{label:t("Generate Contract"),icon:"Download",action:"generate",className:"text-green-500",requiredPermission:"view-contract-templates"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-contract-templates"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-contract-templates"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-contract-templates"}],X=[{value:"_empty_",label:t("All Types"),disabled:!0},...(E||[]).map(e=>({value:e.id.toString(),label:e.name}))],Y=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}],Z=[{value:"_empty_",label:t("All"),disabled:!0},{value:"true",label:t("Default")},{value:"false",label:t("Custom")}];return r.jsxs(ee,{title:t("Contract Templates"),url:"/hr/contracts/contract-templates",actions:D,breadcrumbs:K,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(ce,{searchTerm:_,onSearchChange:S,onSearch:V,filters:[{name:"contract_type_id",label:t("Contract Type"),type:"select",value:p,onChange:j,options:X,searchable:!0},{name:"status",label:t("Status"),type:"select",value:n,onChange:w,options:Y},{name:"is_default",label:t("Type"),type:"select",value:l,onChange:C,options:Z}],showFilters:M,setShowFilters:N,hasActiveFilters:L,activeFilterCount:R,onResetFilters:J,onApplyFilters:k,currentPerPage:((F=o.per_page)==null?void 0:F.toString())||"10",onPerPageChange:e=>{d.get(route("hr.contracts.contract-templates.index"),{page:1,per_page:parseInt(e),search:_||void 0,contract_type_id:p!=="_empty_"?p:void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(ne,{columns:Q,actions:W,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:H,sortField:o.sort_field,sortDirection:o.sort_direction,onSort:B,permissions:b,entityPermissions:{view:"view-contract-templates",create:"create-contract-templates",edit:"edit-contract-templates",delete:"delete-contract-templates"}}),r.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("contract templates"),onPageChange:e=>{const s=new URL(e).searchParams.get("page");d.get(route("hr.contracts.contract-templates.index"),{page:s,per_page:o.per_page||10,search:_||void 0,contract_type_id:p!=="_empty_"?p:void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,sort_field:o.sort_field||void 0,sort_direction:o.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})]}),r.jsx(le,{isOpen:q,onClose:()=>x(!1),onConfirm:z,itemName:(i==null?void 0:i.name)||"",entityName:"contract template"}),r.jsx(T,{open:$,onOpenChange:P,children:r.jsxs(ie,{className:"max-w-4xl max-h-[80vh]",children:[r.jsx(oe,{children:r.jsxs(pe,{children:[t("Template Preview"),": ",i==null?void 0:i.name]})}),r.jsxs("div",{className:"mt-4 overflow-y-auto max-h-[60vh] pr-1",children:[r.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg border",children:r.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono",children:(i==null?void 0:i.template_content)||t("No content available")})}),(i==null?void 0:i.variables)&&i.variables.length>0&&r.jsxs("div",{className:"mt-4",children:[r.jsxs("h4",{className:"text-sm font-medium mb-2",children:[t("Available Variables"),":"]}),r.jsx("div",{className:"flex flex-wrap gap-2",children:i.variables.map((e,s)=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:`{{${e}}}`},s))})]})]})]})}),r.jsx(T,{open:G,onOpenChange:f,children:i&&r.jsx(de,{record:i,onClose:()=>f(!1)})})]})}export{Kr as default}; diff --git a/public/build/assets/index-DY0XThH_.js b/public/build/assets/index-Ck8yYIR2.js similarity index 72% rename from public/build/assets/index-DY0XThH_.js rename to public/build/assets/index-Ck8yYIR2.js index bddd1ddcb..c7a9bc6bf 100644 --- a/public/build/assets/index-DY0XThH_.js +++ b/public/build/assets/index-Ck8yYIR2.js @@ -1 +1 @@ -import{r as o,j as a}from"./ui-Z445SNHD.js";import{P as xe}from"./page-template-BTxLyiDA.js";import{u as be,c as Se,x as Pe,P as je,r as m,D as Ae,t as i}from"./app-CfhhiFAk.js";import{C as Re}from"./CrudTable-qPWooc10.js";import{C as P}from"./CrudFormModal-DAR9q-oM.js";import{C as we}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Me}from"./pagination-D8A_HnL5.js";import{S as Ce}from"./search-and-filter-bar-6Pp-FsiR.js";import Ne from"./view-BVCyb0_e.js";import{U as De}from"./user-C37aWgZX.js";import{C as Fe}from"./calendar-CfUpdaK5.js";import{f as B}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ys(){var V,U,$;const{t:e}=be(),{auth:y,meetingAttendees:n,meetings:j,employees:G,filters:p={},globalSettings:s}=Se().props,A=(y==null?void 0:y.permissions)||[],[f,R]=o.useState(p.search||""),[d,w]=o.useState(p.rsvp_status||"_empty_"),[c,M]=o.useState(p.attendance_status||"_empty_"),[u,C]=o.useState(p.meeting_id||"_empty_"),[H,N]=o.useState(!1),[J,h]=o.useState(!1),[K,_]=o.useState(!1),[Q,x]=o.useState(!1),[W,b]=o.useState(!1),[l,D]=o.useState(null),[v,F]=o.useState("create"),[S,O]=o.useState(null),[X,Y]=o.useState(""),[Z,ee]=o.useState(""),te=()=>d!=="_empty_"||c!=="_empty_"||u!=="_empty_"||f!=="",re=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(f!==""?1:0),se=t=>{t.preventDefault(),E()},E=()=>{m.get(route("meetings.meeting-attendees.index"),{page:1,search:f||void 0,rsvp_status:d!=="_empty_"?d:void 0,attendance_status:c!=="_empty_"?c:void 0,meeting_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},ie=t=>{const r=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";m.get(route("meetings.meeting-attendees.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,rsvp_status:d!=="_empty_"?d:void 0,attendance_status:c!=="_empty_"?c:void 0,meeting_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},ae=(t,r)=>{switch(D(r),t){case"view":O(r);break;case"edit":F("edit"),_(!0);break;case"delete":h(!0);break;case"update-rsvp":Y(r.rsvp_status),x(!0);break;case"update-attendance":ee(r.attendance_status),b(!0);break}},ne=()=>{D(null),F("create"),_(!0)},oe=t=>{v==="create"?(s!=null&&s.is_demo||i.loading(e("Adding meeting attendee...")),m.post(route("meetings.meeting-attendees.store"),t,{onSuccess:r=>{_(!1),s!=null&&s.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to add attendee: ${Object.values(r).join(", ")}`)}})):v==="edit"&&(s!=null&&s.is_demo||i.loading(e("Updating meeting attendee...")),m.put(route("meetings.meeting-attendees.update",l.id),t,{onSuccess:r=>{_(!1),s!=null&&s.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update attendee: ${Object.values(r).join(", ")}`)}}))},pe=()=>{s!=null&&s.is_demo||i.loading(e("Removing meeting attendee...")),m.delete(route("meetings.meeting-attendees.destroy",l.id),{onSuccess:t=>{h(!1),s!=null&&s.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{s!=null&&s.is_demo||i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to remove attendee: ${Object.values(t).join(", ")}`)}})},le=t=>{s!=null&&s.is_demo||i.loading(e("Updating RSVP status...")),m.put(route("meetings.meeting-attendees.update-rsvp",l.id),{rsvp_status:t.rsvp_status,decline_reason:t.decline_reason},{onSuccess:r=>{x(!1),s!=null&&s.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update RSVP: ${Object.values(r).join(", ")}`)}})},me=t=>{s!=null&&s.is_demo||i.loading(e("Updating attendance status...")),m.put(route("meetings.meeting-attendees.update-attendance",l.id),{attendance_status:t.attendance_status},{onSuccess:r=>{b(!1),s!=null&&s.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update attendance: ${Object.values(r).join(", ")}`)}})},de=()=>{R(""),w("_empty_"),M("_empty_"),C("_empty_"),N(!1),m.get(route("meetings.meeting-attendees.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},T=[];Pe(A,"create-meeting-attendees")&&T.push({label:e("Add Attendee"),icon:a.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ne()});const ce=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Meetings"),href:route("meetings.meeting-attendees.index")},{title:e("Meeting Attendees")}],ue=t=>{switch(t){case"Accepted":return"bg-green-50 text-green-700 ring-green-600/20";case"Declined":return"bg-red-50 text-red-700 ring-red-600/10";case"Tentative":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Pending":return"bg-orange-50 text-orange-700 ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},fe=t=>{switch(t){case"Present":return"bg-green-50 text-green-700 ring-green-600/20";case"Late":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Left Early":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Not Attended":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},_e=[{key:"user.name",label:e("Attendee"),render:(t,r)=>{var g;return a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(De,{className:"h-4 w-4 text-gray-500"}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:(g=r.user)==null?void 0:g.name}),a.jsx("div",{className:"text-xs text-gray-500",children:r.type==="Required"?a.jsx("span",{className:"text-red-600",children:e("Required")}):a.jsx("span",{className:"text-blue-600",children:e("Optional")})})]})]})}},{key:"meeting.title",label:e("Meeting"),render:(t,r)=>{var g,L,I,z;return a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:(g=r.meeting)==null?void 0:g.title}),a.jsxs("div",{className:"text-xs text-gray-500 flex items-center gap-1",children:[a.jsx(Fe,{className:"h-3 w-3"}),(L=r.meeting)!=null&&L.meeting_date?(z=window.appSettings)==null?void 0:z.formatDateTimeSimple((I=r.meeting)==null?void 0:I.meeting_date,!1):"-"]})]})}},{key:"rsvp_status",label:e("RSVP"),render:t=>a.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ue(t)}`,children:e(t)})},{key:"attendance_status",label:e("Attendance"),render:t=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${fe(t)}`,children:e(t)})},{key:"rsvp_date",label:e("RSVP Date"),sortable:!0,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"decline_reason",label:e("Decline Reason"),render:t=>t||"-"}],ge=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-meeting-attendees"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-meeting-attendees"},{label:e("Update RSVP"),icon:"MessageSquare",action:"update-rsvp",className:"text-green-500",requiredPermission:"manage-meeting-rsvp-status"},{label:e("Update Attendance"),icon:"UserCheck",action:"update-attendance",className:"text-purple-500",requiredPermission:"manage-meeting-attendance"},{label:e("Remove"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-meeting-attendees"}],k=[{value:"_empty_",label:e("All RSVP"),disabled:!0},{value:"Pending",label:e("Pending")},{value:"Accepted",label:e("Accepted")},{value:"Declined",label:e("Declined")},{value:"Tentative",label:e("Tentative")}],q=[{value:"_empty_",label:e("All Attendance"),disabled:!0},{value:"Not Attended",label:e("Not Attended")},{value:"Present",label:e("Present")},{value:"Late",label:e("Late")},{value:"Left Early",label:e("Left Early")}],ve=[{value:"_empty_",label:e("All Meetings"),disabled:!0},...(j||[]).map(t=>({value:t.id.toString(),label:`${t.title} - ${B(new Date(t.meeting_date),"MMM dd, yyyy")}`}))],ye=[{value:"_empty_",label:e("Select Meeting")},...(j||[]).map(t=>({value:t.id.toString(),label:`${t.title} - ${B(new Date(t.meeting_date),"MMM dd, yyyy")}`}))],he=[{value:"_empty_",label:e("Select Employee")},...(G||[]).map(t=>({value:t.id.toString(),label:t.name}))];return a.jsxs(xe,{title:e("Meeting Attendees"),url:"/meetings/meeting-attendees",actions:T,breadcrumbs:ce,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(Ce,{searchTerm:f,onSearchChange:R,onSearch:se,filters:[{name:"rsvp_status",label:e("RSVP Status"),type:"select",value:d,onChange:w,options:k},{name:"attendance_status",label:e("Attendance"),type:"select",value:c,onChange:M,options:q},{name:"meeting_id",label:e("Meeting"),type:"select",value:u,onChange:C,options:ve,searchable:!0}],showFilters:H,setShowFilters:N,hasActiveFilters:te,activeFilterCount:re,onResetFilters:de,onApplyFilters:E,currentPerPage:((V=p.per_page)==null?void 0:V.toString())||"10",onPerPageChange:t=>{m.get(route("meetings.meeting-attendees.index"),{page:1,per_page:parseInt(t),search:f||void 0,rsvp_status:d!=="_empty_"?d:void 0,attendance_status:c!=="_empty_"?c:void 0,meeting_id:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Re,{columns:_e,actions:ge,data:(n==null?void 0:n.data)||[],from:(n==null?void 0:n.from)||1,onAction:ae,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:ie,permissions:A,entityPermissions:{view:"view-meeting-attendees",create:"create-meeting-attendees",edit:"edit-meeting-attendees",delete:"delete-meeting-attendees"}}),a.jsx(Me,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:e("meeting attendees"),onPageChange:t=>m.get(t)})]}),a.jsx(P,{isOpen:K,onClose:()=>_(!1),onSubmit:oe,formConfig:{fields:[{name:"meeting_id",label:e("Meeting"),type:"select",required:!0,options:ye.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"user_id",label:e("Employee"),type:"select",required:!0,options:he.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"type",label:e("Attendance Type"),type:"select",required:!0,options:[{value:"Required",label:e("Required")},{value:"Optional",label:e("Optional")}]},{name:"rsvp_status",label:e("RSVP Status"),type:"select",options:k.filter(t=>t.value!=="_empty_")},{name:"attendance_status",label:e("Attendance Status"),type:"select",options:q.filter(t=>t.value!=="_empty_")},{name:"decline_reason",label:e("Decline Reason"),type:"textarea",helpText:e("Required if RSVP status is Declined")}],modalSize:"lg"},initialData:l,title:e(v==="create"?"Add Meeting Attendee":"Edit Meeting Attendee"),mode:v}),a.jsx(we,{isOpen:J,onClose:()=>h(!1),onConfirm:pe,itemName:l?`${(U=l.user)==null?void 0:U.name} - ${($=l.meeting)==null?void 0:$.title}`:"",entityName:"meeting attendee"}),a.jsx(P,{isOpen:Q,onClose:()=>x(!1),onSubmit:le,formConfig:{fields:[{name:"rsvp_status",label:e("RSVP Status"),type:"select",required:!0,options:[{value:"Pending",label:e("Pending")},{value:"Accepted",label:e("Accepted")},{value:"Declined",label:e("Declined")},{value:"Tentative",label:e("Tentative")}]},{name:"decline_reason",label:e("Decline Reason"),type:"textarea",helpText:e("Required if RSVP status is Declined")}],modalSize:"md"},initialData:{rsvp_status:X,decline_reason:(l==null?void 0:l.decline_reason)||""},title:e("Update RSVP Status"),mode:"edit",submitButtonText:e("Update RSVP")}),a.jsx(P,{isOpen:W,onClose:()=>b(!1),onSubmit:me,formConfig:{fields:[{name:"attendance_status",label:e("Attendance Status"),type:"select",required:!0,options:[{value:"Not Attended",label:e("Not Attended")},{value:"Present",label:e("Present")},{value:"Late",label:e("Late")},{value:"Left Early",label:e("Left Early")}]}],modalSize:"sm"},initialData:{attendance_status:Z},title:e("Update Attendance Status"),mode:"edit",submitButtonText:e("Update Attendance")}),a.jsx(Ae,{open:!!S,onOpenChange:()=>O(null),children:S&&a.jsx(Ne,{attendee:S})})]})}export{ys as default}; +import{r as o,j as a}from"./ui-Z445SNHD.js";import{P as xe}from"./page-template-CLNVC8w_.js";import{u as be,c as Se,x as Pe,P as je,r as m,D as Ae,t as i}from"./app-Dya84jp7.js";import{C as Re}from"./CrudTable-yqxtM6E_.js";import{C as P}from"./CrudFormModal-CsuqSfb2.js";import{C as we}from"./CrudDeleteModal-D32N6I8y.js";import{P as Me}from"./pagination-4PUepASD.js";import{S as Ce}from"./search-and-filter-bar-DWH0yn_r.js";import Ne from"./view-Dyr47ZtR.js";import{U as De}from"./user-77BPqA3J.js";import{C as Fe}from"./calendar-DuRYaSj5.js";import{f as B}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ys(){var V,U,$;const{t:e}=be(),{auth:y,meetingAttendees:n,meetings:j,employees:G,filters:p={},globalSettings:s}=Se().props,A=(y==null?void 0:y.permissions)||[],[f,R]=o.useState(p.search||""),[d,w]=o.useState(p.rsvp_status||"_empty_"),[c,M]=o.useState(p.attendance_status||"_empty_"),[u,C]=o.useState(p.meeting_id||"_empty_"),[H,N]=o.useState(!1),[J,h]=o.useState(!1),[K,_]=o.useState(!1),[Q,x]=o.useState(!1),[W,b]=o.useState(!1),[l,D]=o.useState(null),[v,F]=o.useState("create"),[S,O]=o.useState(null),[X,Y]=o.useState(""),[Z,ee]=o.useState(""),te=()=>d!=="_empty_"||c!=="_empty_"||u!=="_empty_"||f!=="",re=()=>(d!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(f!==""?1:0),se=t=>{t.preventDefault(),E()},E=()=>{m.get(route("meetings.meeting-attendees.index"),{page:1,search:f||void 0,rsvp_status:d!=="_empty_"?d:void 0,attendance_status:c!=="_empty_"?c:void 0,meeting_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},ie=t=>{const r=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";m.get(route("meetings.meeting-attendees.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,rsvp_status:d!=="_empty_"?d:void 0,attendance_status:c!=="_empty_"?c:void 0,meeting_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},ae=(t,r)=>{switch(D(r),t){case"view":O(r);break;case"edit":F("edit"),_(!0);break;case"delete":h(!0);break;case"update-rsvp":Y(r.rsvp_status),x(!0);break;case"update-attendance":ee(r.attendance_status),b(!0);break}},ne=()=>{D(null),F("create"),_(!0)},oe=t=>{v==="create"?(s!=null&&s.is_demo||i.loading(e("Adding meeting attendee...")),m.post(route("meetings.meeting-attendees.store"),t,{onSuccess:r=>{_(!1),s!=null&&s.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to add attendee: ${Object.values(r).join(", ")}`)}})):v==="edit"&&(s!=null&&s.is_demo||i.loading(e("Updating meeting attendee...")),m.put(route("meetings.meeting-attendees.update",l.id),t,{onSuccess:r=>{_(!1),s!=null&&s.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update attendee: ${Object.values(r).join(", ")}`)}}))},pe=()=>{s!=null&&s.is_demo||i.loading(e("Removing meeting attendee...")),m.delete(route("meetings.meeting-attendees.destroy",l.id),{onSuccess:t=>{h(!1),s!=null&&s.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{s!=null&&s.is_demo||i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to remove attendee: ${Object.values(t).join(", ")}`)}})},le=t=>{s!=null&&s.is_demo||i.loading(e("Updating RSVP status...")),m.put(route("meetings.meeting-attendees.update-rsvp",l.id),{rsvp_status:t.rsvp_status,decline_reason:t.decline_reason},{onSuccess:r=>{x(!1),s!=null&&s.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update RSVP: ${Object.values(r).join(", ")}`)}})},me=t=>{s!=null&&s.is_demo||i.loading(e("Updating attendance status...")),m.put(route("meetings.meeting-attendees.update-attendance",l.id),{attendance_status:t.attendance_status},{onSuccess:r=>{b(!1),s!=null&&s.is_demo||i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update attendance: ${Object.values(r).join(", ")}`)}})},de=()=>{R(""),w("_empty_"),M("_empty_"),C("_empty_"),N(!1),m.get(route("meetings.meeting-attendees.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},T=[];Pe(A,"create-meeting-attendees")&&T.push({label:e("Add Attendee"),icon:a.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ne()});const ce=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Meetings"),href:route("meetings.meeting-attendees.index")},{title:e("Meeting Attendees")}],ue=t=>{switch(t){case"Accepted":return"bg-green-50 text-green-700 ring-green-600/20";case"Declined":return"bg-red-50 text-red-700 ring-red-600/10";case"Tentative":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Pending":return"bg-orange-50 text-orange-700 ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},fe=t=>{switch(t){case"Present":return"bg-green-50 text-green-700 ring-green-600/20";case"Late":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Left Early":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Not Attended":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},_e=[{key:"user.name",label:e("Attendee"),render:(t,r)=>{var g;return a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(De,{className:"h-4 w-4 text-gray-500"}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:(g=r.user)==null?void 0:g.name}),a.jsx("div",{className:"text-xs text-gray-500",children:r.type==="Required"?a.jsx("span",{className:"text-red-600",children:e("Required")}):a.jsx("span",{className:"text-blue-600",children:e("Optional")})})]})]})}},{key:"meeting.title",label:e("Meeting"),render:(t,r)=>{var g,L,I,z;return a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:(g=r.meeting)==null?void 0:g.title}),a.jsxs("div",{className:"text-xs text-gray-500 flex items-center gap-1",children:[a.jsx(Fe,{className:"h-3 w-3"}),(L=r.meeting)!=null&&L.meeting_date?(z=window.appSettings)==null?void 0:z.formatDateTimeSimple((I=r.meeting)==null?void 0:I.meeting_date,!1):"-"]})]})}},{key:"rsvp_status",label:e("RSVP"),render:t=>a.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ue(t)}`,children:e(t)})},{key:"attendance_status",label:e("Attendance"),render:t=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${fe(t)}`,children:e(t)})},{key:"rsvp_date",label:e("RSVP Date"),sortable:!0,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"decline_reason",label:e("Decline Reason"),render:t=>t||"-"}],ge=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-meeting-attendees"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-meeting-attendees"},{label:e("Update RSVP"),icon:"MessageSquare",action:"update-rsvp",className:"text-green-500",requiredPermission:"manage-meeting-rsvp-status"},{label:e("Update Attendance"),icon:"UserCheck",action:"update-attendance",className:"text-purple-500",requiredPermission:"manage-meeting-attendance"},{label:e("Remove"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-meeting-attendees"}],k=[{value:"_empty_",label:e("All RSVP"),disabled:!0},{value:"Pending",label:e("Pending")},{value:"Accepted",label:e("Accepted")},{value:"Declined",label:e("Declined")},{value:"Tentative",label:e("Tentative")}],q=[{value:"_empty_",label:e("All Attendance"),disabled:!0},{value:"Not Attended",label:e("Not Attended")},{value:"Present",label:e("Present")},{value:"Late",label:e("Late")},{value:"Left Early",label:e("Left Early")}],ve=[{value:"_empty_",label:e("All Meetings"),disabled:!0},...(j||[]).map(t=>({value:t.id.toString(),label:`${t.title} - ${B(new Date(t.meeting_date),"MMM dd, yyyy")}`}))],ye=[{value:"_empty_",label:e("Select Meeting")},...(j||[]).map(t=>({value:t.id.toString(),label:`${t.title} - ${B(new Date(t.meeting_date),"MMM dd, yyyy")}`}))],he=[{value:"_empty_",label:e("Select Employee")},...(G||[]).map(t=>({value:t.id.toString(),label:t.name}))];return a.jsxs(xe,{title:e("Meeting Attendees"),url:"/meetings/meeting-attendees",actions:T,breadcrumbs:ce,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(Ce,{searchTerm:f,onSearchChange:R,onSearch:se,filters:[{name:"rsvp_status",label:e("RSVP Status"),type:"select",value:d,onChange:w,options:k},{name:"attendance_status",label:e("Attendance"),type:"select",value:c,onChange:M,options:q},{name:"meeting_id",label:e("Meeting"),type:"select",value:u,onChange:C,options:ve,searchable:!0}],showFilters:H,setShowFilters:N,hasActiveFilters:te,activeFilterCount:re,onResetFilters:de,onApplyFilters:E,currentPerPage:((V=p.per_page)==null?void 0:V.toString())||"10",onPerPageChange:t=>{m.get(route("meetings.meeting-attendees.index"),{page:1,per_page:parseInt(t),search:f||void 0,rsvp_status:d!=="_empty_"?d:void 0,attendance_status:c!=="_empty_"?c:void 0,meeting_id:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Re,{columns:_e,actions:ge,data:(n==null?void 0:n.data)||[],from:(n==null?void 0:n.from)||1,onAction:ae,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:ie,permissions:A,entityPermissions:{view:"view-meeting-attendees",create:"create-meeting-attendees",edit:"edit-meeting-attendees",delete:"delete-meeting-attendees"}}),a.jsx(Me,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:e("meeting attendees"),onPageChange:t=>m.get(t)})]}),a.jsx(P,{isOpen:K,onClose:()=>_(!1),onSubmit:oe,formConfig:{fields:[{name:"meeting_id",label:e("Meeting"),type:"select",required:!0,options:ye.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"user_id",label:e("Employee"),type:"select",required:!0,options:he.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"type",label:e("Attendance Type"),type:"select",required:!0,options:[{value:"Required",label:e("Required")},{value:"Optional",label:e("Optional")}]},{name:"rsvp_status",label:e("RSVP Status"),type:"select",options:k.filter(t=>t.value!=="_empty_")},{name:"attendance_status",label:e("Attendance Status"),type:"select",options:q.filter(t=>t.value!=="_empty_")},{name:"decline_reason",label:e("Decline Reason"),type:"textarea",helpText:e("Required if RSVP status is Declined")}],modalSize:"lg"},initialData:l,title:e(v==="create"?"Add Meeting Attendee":"Edit Meeting Attendee"),mode:v}),a.jsx(we,{isOpen:J,onClose:()=>h(!1),onConfirm:pe,itemName:l?`${(U=l.user)==null?void 0:U.name} - ${($=l.meeting)==null?void 0:$.title}`:"",entityName:"meeting attendee"}),a.jsx(P,{isOpen:Q,onClose:()=>x(!1),onSubmit:le,formConfig:{fields:[{name:"rsvp_status",label:e("RSVP Status"),type:"select",required:!0,options:[{value:"Pending",label:e("Pending")},{value:"Accepted",label:e("Accepted")},{value:"Declined",label:e("Declined")},{value:"Tentative",label:e("Tentative")}]},{name:"decline_reason",label:e("Decline Reason"),type:"textarea",helpText:e("Required if RSVP status is Declined")}],modalSize:"md"},initialData:{rsvp_status:X,decline_reason:(l==null?void 0:l.decline_reason)||""},title:e("Update RSVP Status"),mode:"edit",submitButtonText:e("Update RSVP")}),a.jsx(P,{isOpen:W,onClose:()=>b(!1),onSubmit:me,formConfig:{fields:[{name:"attendance_status",label:e("Attendance Status"),type:"select",required:!0,options:[{value:"Not Attended",label:e("Not Attended")},{value:"Present",label:e("Present")},{value:"Late",label:e("Late")},{value:"Left Early",label:e("Left Early")}]}],modalSize:"sm"},initialData:{attendance_status:Z},title:e("Update Attendance Status"),mode:"edit",submitButtonText:e("Update Attendance")}),a.jsx(Ae,{open:!!S,onOpenChange:()=>O(null),children:S&&a.jsx(Ne,{attendee:S})})]})}export{ys as default}; diff --git a/public/build/assets/index-Cv6i2NcW.js b/public/build/assets/index-Cv6i2NcW.js new file mode 100644 index 000000000..820d80ea9 --- /dev/null +++ b/public/build/assets/index-Cv6i2NcW.js @@ -0,0 +1 @@ +import{r as p,j as r}from"./ui-Z445SNHD.js";import{P as E}from"./page-template-CLNVC8w_.js";import{u as D,c as k,o as C,e as I}from"./app-Dya84jp7.js";import{S as B}from"./scroll-area-T2TE8oKI.js";import{T as L}from"./toaster-Bc5RPjCT.js";import A from"./referral-dashboard-B3KOw-d5.js";import V from"./payout-requests-3LVTkOgB.js";import Y from"./referral-settings-BfItF-NA.js";import z from"./referred-users-section-CUDX25qY.js";import{C as F}from"./chart-column-B76eI9Qi.js";import{U as G}from"./users-BzCDZrS0.js";import{D as H}from"./dollar-sign-DH2Tc178.js";import{S as J}from"./settings-amvA_CjN.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./trending-up-BT453ptk.js";import"./award-D1KbOerA.js";import"./mail-Cha_PX4q.js";import"./CrudTable-yqxtM6E_.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./pagination-4PUepASD.js";function qo(){const{t}=D(),{props:l}=k(),{userType:i,settings:n,stats:c,payoutRequests:g,referralLink:N,currencySymbol:a,globalSettings:w}=l,[y,s]=p.useState("dashboard"),v=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Referral Program")}],S=[{title:t("Dashboard"),href:"#dashboard",icon:r.jsx(F,{className:"h-4 w-4 mr-2"})},{title:t("Referred Users"),href:"#referred-users",icon:r.jsx(G,{className:"h-4 w-4 mr-2"})},{title:t("Payout Requests"),href:"#payout-requests",icon:r.jsx(H,{className:"h-4 w-4 mr-2"})},...i==="superadmin"?[{title:t("Settings"),href:"#settings",icon:r.jsx(J,{className:"h-4 w-4 mr-2"})}]:[]],f=p.useRef(null),d=p.useRef(null),u=p.useRef(null),h=p.useRef(null);p.useEffect(()=>{const o=()=>{var x,b,j,R;const e=window.scrollY+100;(x=f.current)!=null&&x.offsetTop;const U=((b=d.current)==null?void 0:b.offsetTop)||0,q=((j=u.current)==null?void 0:j.offsetTop)||0,T=((R=h.current)==null?void 0:R.offsetTop)||0;i==="superadmin"&&e>=T?s("settings"):e>=q?s("payout-requests"):e>=U?s("referred-users"):s("dashboard")};window.addEventListener("scroll",o);const m=window.location.hash.replace("#","");if(m){const e=document.getElementById(m);e&&(e.scrollIntoView({behavior:"smooth"}),s(m))}return()=>{window.removeEventListener("scroll",o)}},[i]);const P=o=>{const m=o.replace("#",""),e=document.getElementById(m);e&&(e.scrollIntoView({behavior:"smooth"}),s(m))};return r.jsxs(E,{breadcrumbs:v,title:t("Referral Program"),url:"/referral",children:[r.jsxs("div",{className:"flex flex-col md:flex-row gap-8",children:[r.jsx("div",{className:"md:w-64 flex-shrink-0",children:r.jsx("div",{className:"sticky top-20",children:r.jsx(B,{className:"h-[calc(100vh-5rem)]",children:r.jsx("div",{className:"pr-4 space-y-1",children:S.map(o=>r.jsxs(C,{variant:"ghost",className:I("w-full justify-start text-sm",{"bg-muted font-semibold":y===o.href.replace("#","")}),onClick:()=>P(o.href),children:[o.icon,o.title]},o.href))})})})}),r.jsxs("div",{className:"flex-1",children:[r.jsxs("section",{id:"dashboard",ref:f,className:"mb-8",children:[r.jsx("h2",{className:"text-xl font-semibold mb-4",children:t("Dashboard")}),r.jsx(A,{userType:i,stats:c,referralLink:N,recentReferredUsers:l.recentReferredUsers,currencySymbol:a})]}),r.jsxs("section",{id:"referred-users",ref:d,className:"mb-8",children:[r.jsx("h2",{className:"text-xl font-semibold mb-4",children:t("Referred Users")}),r.jsx(z,{referredUsers:l.referredUsers,userType:i,currencySymbol:a})]}),r.jsxs("section",{id:"payout-requests",ref:u,className:"mb-8",children:[r.jsx("h2",{className:"text-xl font-semibold mb-4",children:t("Payout Requests")}),r.jsx(V,{userType:i,payoutRequests:g,settings:n,stats:c,currencySymbol:a})]}),i==="superadmin"&&r.jsxs("section",{id:"settings",ref:h,className:"mb-8",children:[r.jsx("h2",{className:"text-xl font-semibold mb-4",children:t("Settings")}),r.jsx(Y,{settings:n,currencySymbol:a,globalSettings:w})]})]})]}),r.jsx(L,{})]})}export{qo as default}; diff --git a/public/build/assets/index-xU6JE9xN.js b/public/build/assets/index-D3-NtChe.js similarity index 91% rename from public/build/assets/index-xU6JE9xN.js rename to public/build/assets/index-D3-NtChe.js index ba0fa2556..107bcf63f 100644 --- a/public/build/assets/index-xU6JE9xN.js +++ b/public/build/assets/index-D3-NtChe.js @@ -1 +1 @@ -import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as Ie}from"./page-template-BTxLyiDA.js";import{u as oe,D as ne,h as Te,j as Fe,k as Ee,p as Me,B as I,q as Le,o as g,c as Ae,r as f,P as J,g as Q,s as N,v as w,w as b,C as ze,t as i}from"./app-CfhhiFAk.js";import{P as X}from"./pagination-D8A_HnL5.js";import{S as Re}from"./search-and-filter-bar-6Pp-FsiR.js";import{D as $e,a as Ue,b as Ve,c as R,d as qe}from"./CookieConsentBanner-Do3n0EfV.js";import{u as Be}from"./use-initials-BK4eRgYY.js";import{C as Z}from"./CrudFormModal-DAR9q-oM.js";import{C as He}from"./CrudDeleteModal-CKTiD3_K.js";import{R as Ge,a as Ye}from"./radio-group-CLGfOEmR.js";import{S as Ke}from"./switch-CKduD2wX.js";import{C as $}from"./credit-card-BmdpMcMw.js";import{C as We}from"./circle-check-BE5AcCr7.js";import Je from"./view-BzOgJRog.js";import{H as Qe,A as ee,K as se,L as re}from"./lock-open-Bohob0Q8.js";import{I as te}from"./info-D_4wnc_R.js";import{L as ae}from"./lock-By6rMOj7.js";import{S as ie}from"./square-pen-bMHyT06o.js";import{T as le}from"./trash-2-C1NR_7Ss.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./settings-BwhyNRyj.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./filter-uErFRSPT.js";import"./list-D0MAUZMV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";import"./circle-BoWbKVIN.js";import"./building-2-D7cTdbG2.js";import"./mail-CGIE7ZEy.js";function Xe({isOpen:t,onClose:_,onConfirm:o,plans:T,currentPlanId:n,companyName:a}){const{t:j}=oe(),[p,C]=x.useState(null),[m,D]=x.useState(!1),c=T.filter(l=>{const v=l.duration.toLowerCase();return m?v==="yearly":v==="monthly"});x.useEffect(()=>{if(t&&c&&c.length>0){const l=c.find(v=>v.is_current===!0);if(l)C(l.id);else if(n){const v=c.find(u=>u.id===n);C(v?n:c[0].id)}else C(c[0].id)}},[t,T,m]),x.useEffect(()=>{c.length>0&&p&&(c.find(v=>v.id===p)||C(c[0].id))},[m]);const P=()=>{p&&o(p,m?"yearly":"monthly")};return e.jsx(ne,{open:t,onOpenChange:_,children:e.jsxs(Te,{className:"sm:max-w-2xl max-h-[90vh] overflow-hidden flex flex-col",children:[e.jsxs(Fe,{children:[e.jsx(Ee,{className:"text-lg font-semibold text-gray-900",children:j("Upgrade Plan for Company")}),e.jsx(Me,{className:"text-sm text-gray-600",children:j("Select a new plan for this company")})]}),e.jsxs("div",{className:"flex items-center justify-center gap-3 py-2 px-4 bg-gray-50 rounded-lg",children:[e.jsx("span",{className:`text-sm font-medium transition-colors ${m?"text-gray-600":"text-primary"}`,children:j("Monthly")}),e.jsx(Ke,{checked:m,onCheckedChange:D,className:"data-[state=checked]:bg-primary"}),e.jsx("span",{className:`text-sm font-medium transition-colors ${m?"text-primary":"text-gray-600"}`,children:j("Yearly")}),m&&e.jsx(I,{variant:"secondary",className:"ml-2 bg-green-100 text-green-700 border-0 text-xs font-medium",children:j("Save up to 20%")})]}),e.jsx("div",{className:"flex-1 overflow-y-auto py-2 pr-2",children:e.jsx(Ge,{value:(p==null?void 0:p.toString())||"",onValueChange:l=>C(parseInt(l)),className:"space-y-2 pr-2",children:c.length>0?c.map(l=>{var v;return e.jsx("div",{className:`relative rounded-lg border-2 p-3 cursor-pointer transition-all ${p===l.id?"border-primary bg-primary/5":"border-gray-200 hover:border-gray-300 bg-white"}`,onClick:()=>C(l.id),children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"flex items-center pt-0.5",children:e.jsx(Ye,{value:l.id.toString(),id:`plan-${l.id}`,className:"h-4 w-4"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"flex items-center justify-between mb-1",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 leading-tight",children:l.name}),l.is_current&&e.jsx(I,{variant:"secondary",className:"text-xs font-medium bg-blue-100 text-blue-700 border-0 py-0 px-2 leading-tight",children:j("Current")})]})}),e.jsxs("div",{className:"flex items-baseline gap-1 mb-1",children:[e.jsx($,{className:"h-3.5 w-3.5 text-gray-400 flex-shrink-0"}),e.jsx("span",{className:"text-base font-bold text-gray-900 leading-tight",children:((v=window.appSettings)==null?void 0:v.formatCurrency(l.price))||`$${l.price}`}),e.jsxs("span",{className:"text-sm text-gray-600 leading-tight",children:["/ ",l.duration.toLowerCase()]})]}),l.description&&e.jsx("p",{className:"text-sm text-gray-600 mb-1.5 leading-snug",children:l.description}),l.features&&l.features.length>0&&e.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[l.features.slice(0,3).map((u,O)=>e.jsxs(I,{variant:"outline",className:"text-xs font-normal bg-gray-50 text-gray-700 border-gray-200 py-0.5 px-2 leading-tight",children:[e.jsx(We,{className:"mr-1 h-3 w-3 text-green-500 flex-shrink-0"}),e.jsx("span",{className:"truncate",children:u})]},`${l.id}-${O}`)),l.features.length>3&&e.jsxs(I,{variant:"outline",className:"text-xs font-normal bg-gray-50 text-gray-600 border-gray-200 py-0.5 px-2 leading-tight",children:["+",l.features.length-3," more"]})]})]})]})},l.id)}):e.jsx("div",{className:"text-center py-8 text-gray-500",children:e.jsxs("p",{className:"text-sm",children:[j("No plans available for")," ",j(m?"yearly":"monthly")," ",j("billing")]})})})}),e.jsxs(Le,{className:"border-t pt-3",children:[e.jsx(g,{variant:"outline",onClick:_,className:"text-sm font-medium",children:j("Cancel")}),e.jsx(g,{onClick:P,disabled:!p||c.length===0,className:"bg-primary hover:bg-primary/90 text-sm font-medium",children:j("Upgrade Plan")})]})]})})}function ir(){var Y,K,W;const{t}=oe(),{auth:_,companies:o,plans:T,filters:n={},globalSettings:a}=Ae().props,j=(_==null?void 0:_.permissions)||[];Be();const[p,C]=x.useState(n.view||"list"),[m,D]=x.useState(n.search||""),[c,P]=x.useState(n.start_date?new Date(n.start_date):void 0),[l,v]=x.useState(n.end_date?new Date(n.end_date):void 0),[u,O]=x.useState(n.status||"all"),[de,U]=x.useState(!1),[ce,V]=x.useState(!1),[me,k]=x.useState(!1),[he,F]=x.useState(!1),[pe,E]=x.useState(!1),[xe,M]=x.useState(!1),[h,L]=x.useState(null),[ue,fe]=x.useState([]),[S,q]=x.useState("create"),ge=()=>u!=="all"||m!==""||c!==void 0||l!==void 0,je=()=>(u!=="all"?1:0)+(m?1:0)+(c?1:0)+(l?1:0),ve=s=>{s.preventDefault(),B()},B=()=>{const s={page:1};m&&(s.search=m),u!=="all"&&(s.status=u),c&&(s.start_date=c.toISOString().split("T")[0]),l&&(s.end_date=l.toISOString().split("T")[0]),n.per_page&&(s.per_page=n.per_page),s.view=p,f.get(route("companies.index"),s,{preserveState:!0,preserveScroll:!0})},ye=s=>{O(s);const r={page:1};m&&(r.search=m),s!=="all"&&(r.status=s),c&&(r.start_date=c.toISOString().split("T")[0]),l&&(r.end_date=l.toISOString().split("T")[0]),n.per_page&&(r.per_page=n.per_page),r.view=p,f.get(route("companies.index"),r,{preserveState:!0,preserveScroll:!0})},Ne=s=>{const r=n.sort_field===s&&n.sort_direction==="asc"?"desc":"asc",d={sort_field:s,sort_direction:r,page:1};m&&(d.search=m),u!=="all"&&(d.status=u),c&&(d.start_date=c.toISOString().split("T")[0]),l&&(d.end_date=l.toISOString().split("T")[0]),n.per_page&&(d.per_page=n.per_page),d.view=p,f.get(route("companies.index"),d,{preserveState:!0,preserveScroll:!0})},y=(s,r)=>{switch(L(r),s){case"login-as":f.get(route("impersonate.start",r.id));break;case"company-info":V(!0);break;case"upgrade-plan":Se(r);break;case"reset-password":E(!0);break;case"toggle-status":_e(r);break;case"edit":q("edit"),k(!0);break;case"delete":F(!0);break}},H=()=>{L(null),q("create"),k(!0)},we=s=>{S==="create"?(a!=null&&a.is_demo||i.loading(t("Creating company...")),f.post(route("companies.store"),s,{onSuccess:r=>{k(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to create company: {{errors}}",{errors:Object.values(r).join(", ")}))}})):S==="edit"&&(a!=null&&a.is_demo||i.loading(t("Updating company...")),f.put(route("companies.update",h.id),s,{onSuccess:r=>{k(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to update company: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},be=()=>{a!=null&&a.is_demo||i.loading(t("Deleting company...")),f.delete(route("companies.destroy",h.id),{onSuccess:s=>{F(!1),a!=null&&a.is_demo||i.dismiss(),s.props.flash.success?i.success(t(s.props.flash.success)):s.props.flash.error&&i.error(t(s.props.flash.error))},onError:s=>{a!=null&&a.is_demo||i.dismiss(),typeof s=="string"?i.error(t(s)):i.error(t("Failed to delete company: {{errors}}",{errors:Object.values(s).join(", ")}))}})},Ce=s=>{a!=null&&a.is_demo||i.loading(t("Resetting password...")),f.put(route("companies.reset-password",h.id),s,{onSuccess:r=>{E(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to reset password: {{errors}}",{errors:Object.values(r).join(", ")}))}})},_e=s=>{const r=s.status==="active"?"inactive":"active";a!=null&&a.is_demo||i.loading(`${t(r==="active"?"Activating":"Deactivating")} company...`),f.put(route("companies.toggle-status",s.id),{},{onSuccess:d=>{a!=null&&a.is_demo||i.dismiss(),d.props.flash.success?i.success(t(d.props.flash.success)):d.props.flash.error&&i.error(t(d.props.flash.error))},onError:d=>{a!=null&&a.is_demo||i.dismiss(),typeof d=="string"?i.error(t(d)):i.error(t("Failed to update company status: {{errors}}",{errors:Object.values(d).join(", ")}))}})},G=s=>{const d={page:new URL(s).searchParams.get("page")||"1",view:p};m&&(d.search=m),u!=="all"&&(d.status=u),c&&(d.start_date=c.toISOString().split("T")[0]),l&&(d.end_date=l.toISOString().split("T")[0]),n.per_page&&(d.per_page=n.per_page),n.sort_field&&(d.sort_field=n.sort_field),n.sort_direction&&(d.sort_direction=n.sort_direction),f.get(route("companies.index"),d,{preserveState:!0,preserveScroll:!0})},ke=()=>{O("all"),D(""),P(void 0),v(void 0),U(!1),f.get(route("companies.index"),{page:1,per_page:n.per_page,view:p},{preserveState:!0,preserveScroll:!0})},Se=s=>{L(s),a!=null&&a.is_demo||i.loading(t("Loading plans...")),fetch(route("companies.plans",s.id)).then(r=>r.json()).then(r=>{fe(r.plans),M(!0),a!=null&&a.is_demo||i.dismiss()}).catch(r=>{a!=null&&a.is_demo||i.dismiss(),i.error(t("Failed to load plans"))})},De=(s,r)=>{a!=null&&a.is_demo,f.put(route("companies.upgrade-plan",h.id),{plan_id:s,duration:r},{onSuccess:()=>{M(!1),a!=null&&a.is_demo||i.dismiss(),i.success(t("Plan upgraded successfully")),f.reload()},onError:()=>{a!=null&&a.is_demo||i.dismiss(),i.error(t("Failed to upgrade plan"))}})},Pe=[...j.includes("manage-login-history")?[{icon:e.jsx(Qe,{className:"h-4 w-4 mx-auto"}),variant:"outline",onClick:()=>f.get(route("login-history.index")),tooltip:t("Login History")}]:[],{label:t("Add Company"),icon:e.jsx(J,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>H()}],Oe=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Companies")}],A=[{key:"name",label:t("Name"),sortable:!0,render:(s,r)=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("img",{src:r.avatar,alt:r.name,className:"h-10 w-10 rounded-full object-cover",onError:d=>{const z=d.target;z.src=Q("avatars/avatar.png")}}),e.jsxs("div",{children:[e.jsx("div",{className:"font-medium",children:r.name}),e.jsx("div",{className:"text-sm text-muted-foreground",children:r.email})]})]})},{key:"plan_name",label:t("Plan"),render:s=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10 capitalize",children:s})},{key:"created_at",label:t("Created At"),sortable:!0,render:s=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s,!1))||new Date(s).toLocaleDateString()}}];return e.jsxs(Ie,{title:t("Companies"),url:"/companies",actions:Pe,breadcrumbs:Oe,noPadding:!0,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:e.jsx(Re,{searchTerm:m,onSearchChange:D,onSearch:ve,filters:[{name:"status",label:t("Status"),type:"select",value:u,onChange:ye,options:[{value:"all",label:t("All Status")},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}]},{name:"start_date",label:t("Start Date"),type:"date",value:c,onChange:s=>P(s)},{name:"end_date",label:t("End Date"),type:"date",value:l,onChange:s=>v(s)}],showFilters:de,setShowFilters:U,hasActiveFilters:ge,activeFilterCount:je,onResetFilters:ke,onApplyFilters:B,currentPerPage:((Y=n.per_page)==null?void 0:Y.toString())||"10",onPerPageChange:s=>{const r={page:1,per_page:parseInt(s)};m&&(r.search=m),u!=="all"&&(r.status=u),c&&(r.start_date=c.toISOString().split("T")[0]),l&&(r.end_date=l.toISOString().split("T")[0]),r.view=p,f.get(route("companies.index"),r,{preserveState:!0,preserveScroll:!0})},showViewToggle:!0,activeView:p,onViewChange:s=>{C(s);const r={page:1,view:s};m&&(r.search=m),u!=="all"&&(r.status=u),c&&(r.start_date=c.toISOString().split("T")[0]),l&&(r.end_date=l.toISOString().split("T")[0]),n.per_page&&(r.per_page=n.per_page),f.get(route("companies.index"),r,{preserveState:!0,preserveScroll:!0})}})}),p==="list"?e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b bg-gray-50 dark:bg-gray-800 dark:border-gray-700",children:[A.map(s=>e.jsx("th",{className:"px-4 py-3 text-left font-medium text-gray-500",onClick:()=>s.sortable&&Ne(s.key),children:e.jsxs("div",{className:"flex items-center",children:[s.label,s.sortable&&e.jsx("span",{className:"ml-1",children:n.sort_field===s.key?n.sort_direction==="asc"?"↑":"↓":""})]})},s.key)),e.jsx("th",{className:"px-4 py-3 text-right font-medium text-gray-500",children:t("Actions")})]})}),e.jsxs("tbody",{children:[(K=o==null?void 0:o.data)==null?void 0:K.map(s=>e.jsxs("tr",{className:"border-b hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-900 dark:hover:bg-gray-800",children:[A.map(r=>e.jsx("td",{className:"px-4 py-3",children:r.render?r.render(s[r.key],s):s[r.key]},`${s.id}-${r.key}`)),e.jsx("td",{className:"px-4 py-3 text-right",children:e.jsxs("div",{className:"flex justify-end gap-1",children:[e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("login-as",s),className:"text-blue-500 hover:text-blue-700",children:e.jsx(ee,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Login as Company")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("company-info",s),className:"text-blue-500 hover:text-blue-700",children:e.jsx(te,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Company Info")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("upgrade-plan",s),className:"text-amber-500 hover:text-amber-700",children:e.jsx($,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Upgrade Plan")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("reset-password",s),className:"text-blue-500 hover:text-blue-700",children:e.jsx(se,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Reset Password")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("toggle-status",s),className:"text-amber-500 hover:text-amber-700",children:s.status==="active"?e.jsx(ae,{className:"h-4 w-4"}):e.jsx(re,{className:"h-4 w-4"})})}),e.jsx(b,{children:s.status==="active"?t("Disable Login"):t("Enable Login")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("edit",s),className:"text-amber-500 hover:text-amber-700",children:e.jsx(ie,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Edit")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",className:"text-red-500 hover:text-red-700",onClick:()=>y("delete",s),children:e.jsx(le,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Delete")})]})]})})]},s.id)),(!(o!=null&&o.data)||o.data.length===0)&&e.jsx("tr",{children:e.jsx("td",{colSpan:A.length+1,className:"px-4 py-8 text-center text-gray-500 dark:text-gray-400",children:t("No companies found")})})]})]})}),e.jsx(X,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("companies"),onPageChange:G})]}):e.jsxs("div",{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:[(W=o==null?void 0:o.data)==null?void 0:W.map(s=>{var r;return e.jsxs(ze,{className:"group relative overflow-hidden bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-xl shadow-sm hover:shadow-lg transition-all duration-300",children:[e.jsx("div",{className:"absolute top-4 right-4 z-10",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})}),e.jsxs("div",{className:"p-6",children:[e.jsxs("div",{className:"flex items-start space-x-4 mb-6",children:[e.jsx("div",{className:"relative",children:e.jsx("img",{src:s.avatar,alt:s.name,className:"h-14 w-14 rounded-full object-cover shadow-sm",onError:d=>{const z=d.target;z.src=Q("avatars/avatar.png")}})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-1 truncate",children:s.name}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 truncate",children:s.email})]})]}),e.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800/50 rounded-lg p-4 mb-6",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx($,{className:"h-4 w-4 text-primary mr-2"}),e.jsx("span",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.plan_name})]}),e.jsx(g,{variant:"ghost",size:"sm",onClick:()=>y("upgrade-plan",s),className:"h-6 px-2 text-xs text-primary hover:text-primary hover:bg-primary/10",children:t("Upgrade")})]}),s.plan_expiry_date&&e.jsxs("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:[t("Expires"),": ",((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.plan_expiry_date,!1))||new Date(s.plan_expiry_date).toLocaleDateString()]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex space-x-1",children:[e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"sm",onClick:()=>y("login-as",s),className:"h-8 w-8 p-0 text-blue-600 hover:text-blue-700 hover:bg-blue-50 dark:hover:bg-blue-900/20",children:e.jsx(ee,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Login as Company")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"sm",onClick:()=>y("company-info",s),className:"h-8 w-8 p-0 text-gray-600 hover:text-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800",children:e.jsx(te,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Company Info")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"sm",onClick:()=>y("edit",s),className:"h-8 w-8 p-0 text-amber-600 hover:text-amber-700 hover:bg-amber-50 dark:hover:bg-amber-900/20",children:e.jsx(ie,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Edit")})]})]}),e.jsxs($e,{children:[e.jsx(Ue,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0 text-gray-400 hover:text-gray-600 hover:bg-gray-50 dark:hover:bg-gray-800",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("circle",{cx:"12",cy:"12",r:"1"}),e.jsx("circle",{cx:"12",cy:"5",r:"1"}),e.jsx("circle",{cx:"12",cy:"19",r:"1"})]})})}),e.jsxs(Ve,{align:"end",className:"w-48 z-50",sideOffset:5,children:[e.jsxs(R,{onClick:()=>y("reset-password",s),children:[e.jsx(se,{className:"h-4 w-4 mr-2"}),e.jsx("span",{children:t("Reset Password")})]}),e.jsxs(R,{onClick:()=>y("toggle-status",s),children:[s.status==="active"?e.jsx(ae,{className:"h-4 w-4 mr-2"}):e.jsx(re,{className:"h-4 w-4 mr-2"}),e.jsx("span",{children:s.status==="active"?t("Disable Login"):t("Enable Login")})]}),e.jsx(qe,{}),e.jsxs(R,{onClick:()=>y("delete",s),className:"text-red-600 focus:text-red-600",children:[e.jsx(le,{className:"h-4 w-4 mr-2"}),e.jsx("span",{children:t("Delete")})]})]})]})]})]})]},s.id)}),(!(o!=null&&o.data)||o.data.length===0)&&e.jsx("div",{className:"col-span-full",children:e.jsxs("div",{className:"text-center py-12",children:[e.jsx("div",{className:"mx-auto h-24 w-24 text-gray-300 dark:text-gray-600 mb-4",children:e.jsx("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-full h-full",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"})})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:t("No companies found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6",children:t("Get started by creating your first company")}),e.jsxs(g,{onClick:H,className:"inline-flex items-center",children:[e.jsx(J,{className:"h-4 w-4 mr-2"}),t("Add Company")]})]})})]}),e.jsx("div",{className:"mt-8",children:e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:e.jsx(X,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("companies"),onPageChange:G})})})]}),e.jsx(ne,{open:ce,onOpenChange:V,children:h&&e.jsx(Je,{record:h})}),e.jsx(Z,{isOpen:me,onClose:()=>k(!1),onSubmit:s=>{s.login_enabled===!1&&delete s.password,s.status=s.login_enabled?"active":"inactive",delete s.login_enabled,we(s)},formConfig:{fields:[{name:"name",label:t("Company Name"),type:"text",required:!0},{name:"email",label:t("Email"),type:"email",required:!0},{name:"login_enabled",label:t("Enable Login"),placeholder:"",type:"switch",defaultValue:!0,conditional:s=>s==="create"},{name:"password",label:t("Password"),type:"password",required:s=>s==="create",conditional:(s,r)=>s==="create"&&(r==null?void 0:r.login_enabled)===!0}],modalSize:"lg"},initialData:{...h,login_enabled:(h==null?void 0:h.status)==="active"},title:t(S==="create"?"Add New Company":S==="edit"?"Edit Company":"View Company"),mode:S}),e.jsx(He,{isOpen:he,onClose:()=>F(!1),onConfirm:be,itemName:(h==null?void 0:h.name)||"",entityName:"company"}),e.jsx(Z,{isOpen:pe,onClose:()=>E(!1),onSubmit:Ce,formConfig:{fields:[{name:"password",label:t("New Password"),type:"password",required:!0}],modalSize:"sm"},initialData:{},title:`Reset Password for ${(h==null?void 0:h.name)||"Company"}`,mode:"edit"}),e.jsx(Xe,{isOpen:xe,onClose:()=>M(!1),onConfirm:De,plans:ue,currentPlanId:h==null?void 0:h.plan_id,companyName:(h==null?void 0:h.name)||""})]})}export{ir as default}; +import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as Ie}from"./page-template-CLNVC8w_.js";import{u as oe,D as ne,h as Te,j as Fe,k as Ee,p as Me,B as I,q as Le,o as g,c as Ae,r as f,P as J,g as Q,s as N,v as w,w as b,C as ze,t as i}from"./app-Dya84jp7.js";import{P as X}from"./pagination-4PUepASD.js";import{S as Re}from"./search-and-filter-bar-DWH0yn_r.js";import{D as $e,a as Ue,b as Ve,c as R,d as qe}from"./CookieConsentBanner-dwye0O-l.js";import{u as Be}from"./use-initials-BK4eRgYY.js";import{C as Z}from"./CrudFormModal-CsuqSfb2.js";import{C as He}from"./CrudDeleteModal-D32N6I8y.js";import{R as Ge,a as Ye}from"./radio-group-BMzEN82K.js";import{S as Ke}from"./switch-DyHgm-Sg.js";import{C as $}from"./credit-card-BKi_ThdS.js";import{C as We}from"./circle-check-BSTxZIbF.js";import Je from"./view-BGJ9rVpd.js";import{H as Qe,A as ee,K as se,L as re}from"./lock-open-wwRKX_jV.js";import{I as te}from"./info-CPi9bOGM.js";import{L as ae}from"./lock-DaHvMEII.js";import{S as ie}from"./square-pen-CzdhbxyN.js";import{T as le}from"./trash-2-BeirBLIk.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./settings-amvA_CjN.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./filter-BTHjyusi.js";import"./list-C_2fG_BT.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";import"./circle-C2Wo_gI7.js";import"./building-2-CASHKqFo.js";import"./mail-Cha_PX4q.js";function Xe({isOpen:t,onClose:_,onConfirm:o,plans:T,currentPlanId:n,companyName:a}){const{t:j}=oe(),[p,C]=x.useState(null),[m,D]=x.useState(!1),c=T.filter(l=>{const v=l.duration.toLowerCase();return m?v==="yearly":v==="monthly"});x.useEffect(()=>{if(t&&c&&c.length>0){const l=c.find(v=>v.is_current===!0);if(l)C(l.id);else if(n){const v=c.find(u=>u.id===n);C(v?n:c[0].id)}else C(c[0].id)}},[t,T,m]),x.useEffect(()=>{c.length>0&&p&&(c.find(v=>v.id===p)||C(c[0].id))},[m]);const P=()=>{p&&o(p,m?"yearly":"monthly")};return e.jsx(ne,{open:t,onOpenChange:_,children:e.jsxs(Te,{className:"sm:max-w-2xl max-h-[90vh] overflow-hidden flex flex-col",children:[e.jsxs(Fe,{children:[e.jsx(Ee,{className:"text-lg font-semibold text-gray-900",children:j("Upgrade Plan for Company")}),e.jsx(Me,{className:"text-sm text-gray-600",children:j("Select a new plan for this company")})]}),e.jsxs("div",{className:"flex items-center justify-center gap-3 py-2 px-4 bg-gray-50 rounded-lg",children:[e.jsx("span",{className:`text-sm font-medium transition-colors ${m?"text-gray-600":"text-primary"}`,children:j("Monthly")}),e.jsx(Ke,{checked:m,onCheckedChange:D,className:"data-[state=checked]:bg-primary"}),e.jsx("span",{className:`text-sm font-medium transition-colors ${m?"text-primary":"text-gray-600"}`,children:j("Yearly")}),m&&e.jsx(I,{variant:"secondary",className:"ml-2 bg-green-100 text-green-700 border-0 text-xs font-medium",children:j("Save up to 20%")})]}),e.jsx("div",{className:"flex-1 overflow-y-auto py-2 pr-2",children:e.jsx(Ge,{value:(p==null?void 0:p.toString())||"",onValueChange:l=>C(parseInt(l)),className:"space-y-2 pr-2",children:c.length>0?c.map(l=>{var v;return e.jsx("div",{className:`relative rounded-lg border-2 p-3 cursor-pointer transition-all ${p===l.id?"border-primary bg-primary/5":"border-gray-200 hover:border-gray-300 bg-white"}`,onClick:()=>C(l.id),children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"flex items-center pt-0.5",children:e.jsx(Ye,{value:l.id.toString(),id:`plan-${l.id}`,className:"h-4 w-4"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"flex items-center justify-between mb-1",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 leading-tight",children:l.name}),l.is_current&&e.jsx(I,{variant:"secondary",className:"text-xs font-medium bg-blue-100 text-blue-700 border-0 py-0 px-2 leading-tight",children:j("Current")})]})}),e.jsxs("div",{className:"flex items-baseline gap-1 mb-1",children:[e.jsx($,{className:"h-3.5 w-3.5 text-gray-400 flex-shrink-0"}),e.jsx("span",{className:"text-base font-bold text-gray-900 leading-tight",children:((v=window.appSettings)==null?void 0:v.formatCurrency(l.price))||`$${l.price}`}),e.jsxs("span",{className:"text-sm text-gray-600 leading-tight",children:["/ ",l.duration.toLowerCase()]})]}),l.description&&e.jsx("p",{className:"text-sm text-gray-600 mb-1.5 leading-snug",children:l.description}),l.features&&l.features.length>0&&e.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[l.features.slice(0,3).map((u,O)=>e.jsxs(I,{variant:"outline",className:"text-xs font-normal bg-gray-50 text-gray-700 border-gray-200 py-0.5 px-2 leading-tight",children:[e.jsx(We,{className:"mr-1 h-3 w-3 text-green-500 flex-shrink-0"}),e.jsx("span",{className:"truncate",children:u})]},`${l.id}-${O}`)),l.features.length>3&&e.jsxs(I,{variant:"outline",className:"text-xs font-normal bg-gray-50 text-gray-600 border-gray-200 py-0.5 px-2 leading-tight",children:["+",l.features.length-3," more"]})]})]})]})},l.id)}):e.jsx("div",{className:"text-center py-8 text-gray-500",children:e.jsxs("p",{className:"text-sm",children:[j("No plans available for")," ",j(m?"yearly":"monthly")," ",j("billing")]})})})}),e.jsxs(Le,{className:"border-t pt-3",children:[e.jsx(g,{variant:"outline",onClick:_,className:"text-sm font-medium",children:j("Cancel")}),e.jsx(g,{onClick:P,disabled:!p||c.length===0,className:"bg-primary hover:bg-primary/90 text-sm font-medium",children:j("Upgrade Plan")})]})]})})}function ir(){var Y,K,W;const{t}=oe(),{auth:_,companies:o,plans:T,filters:n={},globalSettings:a}=Ae().props,j=(_==null?void 0:_.permissions)||[];Be();const[p,C]=x.useState(n.view||"list"),[m,D]=x.useState(n.search||""),[c,P]=x.useState(n.start_date?new Date(n.start_date):void 0),[l,v]=x.useState(n.end_date?new Date(n.end_date):void 0),[u,O]=x.useState(n.status||"all"),[de,U]=x.useState(!1),[ce,V]=x.useState(!1),[me,k]=x.useState(!1),[he,F]=x.useState(!1),[pe,E]=x.useState(!1),[xe,M]=x.useState(!1),[h,L]=x.useState(null),[ue,fe]=x.useState([]),[S,q]=x.useState("create"),ge=()=>u!=="all"||m!==""||c!==void 0||l!==void 0,je=()=>(u!=="all"?1:0)+(m?1:0)+(c?1:0)+(l?1:0),ve=s=>{s.preventDefault(),B()},B=()=>{const s={page:1};m&&(s.search=m),u!=="all"&&(s.status=u),c&&(s.start_date=c.toISOString().split("T")[0]),l&&(s.end_date=l.toISOString().split("T")[0]),n.per_page&&(s.per_page=n.per_page),s.view=p,f.get(route("companies.index"),s,{preserveState:!0,preserveScroll:!0})},ye=s=>{O(s);const r={page:1};m&&(r.search=m),s!=="all"&&(r.status=s),c&&(r.start_date=c.toISOString().split("T")[0]),l&&(r.end_date=l.toISOString().split("T")[0]),n.per_page&&(r.per_page=n.per_page),r.view=p,f.get(route("companies.index"),r,{preserveState:!0,preserveScroll:!0})},Ne=s=>{const r=n.sort_field===s&&n.sort_direction==="asc"?"desc":"asc",d={sort_field:s,sort_direction:r,page:1};m&&(d.search=m),u!=="all"&&(d.status=u),c&&(d.start_date=c.toISOString().split("T")[0]),l&&(d.end_date=l.toISOString().split("T")[0]),n.per_page&&(d.per_page=n.per_page),d.view=p,f.get(route("companies.index"),d,{preserveState:!0,preserveScroll:!0})},y=(s,r)=>{switch(L(r),s){case"login-as":f.get(route("impersonate.start",r.id));break;case"company-info":V(!0);break;case"upgrade-plan":Se(r);break;case"reset-password":E(!0);break;case"toggle-status":_e(r);break;case"edit":q("edit"),k(!0);break;case"delete":F(!0);break}},H=()=>{L(null),q("create"),k(!0)},we=s=>{S==="create"?(a!=null&&a.is_demo||i.loading(t("Creating company...")),f.post(route("companies.store"),s,{onSuccess:r=>{k(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to create company: {{errors}}",{errors:Object.values(r).join(", ")}))}})):S==="edit"&&(a!=null&&a.is_demo||i.loading(t("Updating company...")),f.put(route("companies.update",h.id),s,{onSuccess:r=>{k(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to update company: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},be=()=>{a!=null&&a.is_demo||i.loading(t("Deleting company...")),f.delete(route("companies.destroy",h.id),{onSuccess:s=>{F(!1),a!=null&&a.is_demo||i.dismiss(),s.props.flash.success?i.success(t(s.props.flash.success)):s.props.flash.error&&i.error(t(s.props.flash.error))},onError:s=>{a!=null&&a.is_demo||i.dismiss(),typeof s=="string"?i.error(t(s)):i.error(t("Failed to delete company: {{errors}}",{errors:Object.values(s).join(", ")}))}})},Ce=s=>{a!=null&&a.is_demo||i.loading(t("Resetting password...")),f.put(route("companies.reset-password",h.id),s,{onSuccess:r=>{E(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to reset password: {{errors}}",{errors:Object.values(r).join(", ")}))}})},_e=s=>{const r=s.status==="active"?"inactive":"active";a!=null&&a.is_demo||i.loading(`${t(r==="active"?"Activating":"Deactivating")} company...`),f.put(route("companies.toggle-status",s.id),{},{onSuccess:d=>{a!=null&&a.is_demo||i.dismiss(),d.props.flash.success?i.success(t(d.props.flash.success)):d.props.flash.error&&i.error(t(d.props.flash.error))},onError:d=>{a!=null&&a.is_demo||i.dismiss(),typeof d=="string"?i.error(t(d)):i.error(t("Failed to update company status: {{errors}}",{errors:Object.values(d).join(", ")}))}})},G=s=>{const d={page:new URL(s).searchParams.get("page")||"1",view:p};m&&(d.search=m),u!=="all"&&(d.status=u),c&&(d.start_date=c.toISOString().split("T")[0]),l&&(d.end_date=l.toISOString().split("T")[0]),n.per_page&&(d.per_page=n.per_page),n.sort_field&&(d.sort_field=n.sort_field),n.sort_direction&&(d.sort_direction=n.sort_direction),f.get(route("companies.index"),d,{preserveState:!0,preserveScroll:!0})},ke=()=>{O("all"),D(""),P(void 0),v(void 0),U(!1),f.get(route("companies.index"),{page:1,per_page:n.per_page,view:p},{preserveState:!0,preserveScroll:!0})},Se=s=>{L(s),a!=null&&a.is_demo||i.loading(t("Loading plans...")),fetch(route("companies.plans",s.id)).then(r=>r.json()).then(r=>{fe(r.plans),M(!0),a!=null&&a.is_demo||i.dismiss()}).catch(r=>{a!=null&&a.is_demo||i.dismiss(),i.error(t("Failed to load plans"))})},De=(s,r)=>{a!=null&&a.is_demo,f.put(route("companies.upgrade-plan",h.id),{plan_id:s,duration:r},{onSuccess:()=>{M(!1),a!=null&&a.is_demo||i.dismiss(),i.success(t("Plan upgraded successfully")),f.reload()},onError:()=>{a!=null&&a.is_demo||i.dismiss(),i.error(t("Failed to upgrade plan"))}})},Pe=[...j.includes("manage-login-history")?[{icon:e.jsx(Qe,{className:"h-4 w-4 mx-auto"}),variant:"outline",onClick:()=>f.get(route("login-history.index")),tooltip:t("Login History")}]:[],{label:t("Add Company"),icon:e.jsx(J,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>H()}],Oe=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Companies")}],A=[{key:"name",label:t("Name"),sortable:!0,render:(s,r)=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("img",{src:r.avatar,alt:r.name,className:"h-10 w-10 rounded-full object-cover",onError:d=>{const z=d.target;z.src=Q("avatars/avatar.png")}}),e.jsxs("div",{children:[e.jsx("div",{className:"font-medium",children:r.name}),e.jsx("div",{className:"text-sm text-muted-foreground",children:r.email})]})]})},{key:"plan_name",label:t("Plan"),render:s=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10 capitalize",children:s})},{key:"created_at",label:t("Created At"),sortable:!0,render:s=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s,!1))||new Date(s).toLocaleDateString()}}];return e.jsxs(Ie,{title:t("Companies"),url:"/companies",actions:Pe,breadcrumbs:Oe,noPadding:!0,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:e.jsx(Re,{searchTerm:m,onSearchChange:D,onSearch:ve,filters:[{name:"status",label:t("Status"),type:"select",value:u,onChange:ye,options:[{value:"all",label:t("All Status")},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}]},{name:"start_date",label:t("Start Date"),type:"date",value:c,onChange:s=>P(s)},{name:"end_date",label:t("End Date"),type:"date",value:l,onChange:s=>v(s)}],showFilters:de,setShowFilters:U,hasActiveFilters:ge,activeFilterCount:je,onResetFilters:ke,onApplyFilters:B,currentPerPage:((Y=n.per_page)==null?void 0:Y.toString())||"10",onPerPageChange:s=>{const r={page:1,per_page:parseInt(s)};m&&(r.search=m),u!=="all"&&(r.status=u),c&&(r.start_date=c.toISOString().split("T")[0]),l&&(r.end_date=l.toISOString().split("T")[0]),r.view=p,f.get(route("companies.index"),r,{preserveState:!0,preserveScroll:!0})},showViewToggle:!0,activeView:p,onViewChange:s=>{C(s);const r={page:1,view:s};m&&(r.search=m),u!=="all"&&(r.status=u),c&&(r.start_date=c.toISOString().split("T")[0]),l&&(r.end_date=l.toISOString().split("T")[0]),n.per_page&&(r.per_page=n.per_page),f.get(route("companies.index"),r,{preserveState:!0,preserveScroll:!0})}})}),p==="list"?e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b bg-gray-50 dark:bg-gray-800 dark:border-gray-700",children:[A.map(s=>e.jsx("th",{className:"px-4 py-3 text-left font-medium text-gray-500",onClick:()=>s.sortable&&Ne(s.key),children:e.jsxs("div",{className:"flex items-center",children:[s.label,s.sortable&&e.jsx("span",{className:"ml-1",children:n.sort_field===s.key?n.sort_direction==="asc"?"↑":"↓":""})]})},s.key)),e.jsx("th",{className:"px-4 py-3 text-right font-medium text-gray-500",children:t("Actions")})]})}),e.jsxs("tbody",{children:[(K=o==null?void 0:o.data)==null?void 0:K.map(s=>e.jsxs("tr",{className:"border-b hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-900 dark:hover:bg-gray-800",children:[A.map(r=>e.jsx("td",{className:"px-4 py-3",children:r.render?r.render(s[r.key],s):s[r.key]},`${s.id}-${r.key}`)),e.jsx("td",{className:"px-4 py-3 text-right",children:e.jsxs("div",{className:"flex justify-end gap-1",children:[e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("login-as",s),className:"text-blue-500 hover:text-blue-700",children:e.jsx(ee,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Login as Company")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("company-info",s),className:"text-blue-500 hover:text-blue-700",children:e.jsx(te,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Company Info")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("upgrade-plan",s),className:"text-amber-500 hover:text-amber-700",children:e.jsx($,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Upgrade Plan")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("reset-password",s),className:"text-blue-500 hover:text-blue-700",children:e.jsx(se,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Reset Password")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("toggle-status",s),className:"text-amber-500 hover:text-amber-700",children:s.status==="active"?e.jsx(ae,{className:"h-4 w-4"}):e.jsx(re,{className:"h-4 w-4"})})}),e.jsx(b,{children:s.status==="active"?t("Disable Login"):t("Enable Login")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",onClick:()=>y("edit",s),className:"text-amber-500 hover:text-amber-700",children:e.jsx(ie,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Edit")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"icon",className:"text-red-500 hover:text-red-700",onClick:()=>y("delete",s),children:e.jsx(le,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Delete")})]})]})})]},s.id)),(!(o!=null&&o.data)||o.data.length===0)&&e.jsx("tr",{children:e.jsx("td",{colSpan:A.length+1,className:"px-4 py-8 text-center text-gray-500 dark:text-gray-400",children:t("No companies found")})})]})]})}),e.jsx(X,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("companies"),onPageChange:G})]}):e.jsxs("div",{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:[(W=o==null?void 0:o.data)==null?void 0:W.map(s=>{var r;return e.jsxs(ze,{className:"group relative overflow-hidden bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-xl shadow-sm hover:shadow-lg transition-all duration-300",children:[e.jsx("div",{className:"absolute top-4 right-4 z-10",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})}),e.jsxs("div",{className:"p-6",children:[e.jsxs("div",{className:"flex items-start space-x-4 mb-6",children:[e.jsx("div",{className:"relative",children:e.jsx("img",{src:s.avatar,alt:s.name,className:"h-14 w-14 rounded-full object-cover shadow-sm",onError:d=>{const z=d.target;z.src=Q("avatars/avatar.png")}})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-1 truncate",children:s.name}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 truncate",children:s.email})]})]}),e.jsxs("div",{className:"bg-gray-50 dark:bg-gray-800/50 rounded-lg p-4 mb-6",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx($,{className:"h-4 w-4 text-primary mr-2"}),e.jsx("span",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.plan_name})]}),e.jsx(g,{variant:"ghost",size:"sm",onClick:()=>y("upgrade-plan",s),className:"h-6 px-2 text-xs text-primary hover:text-primary hover:bg-primary/10",children:t("Upgrade")})]}),s.plan_expiry_date&&e.jsxs("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:[t("Expires"),": ",((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.plan_expiry_date,!1))||new Date(s.plan_expiry_date).toLocaleDateString()]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex space-x-1",children:[e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"sm",onClick:()=>y("login-as",s),className:"h-8 w-8 p-0 text-blue-600 hover:text-blue-700 hover:bg-blue-50 dark:hover:bg-blue-900/20",children:e.jsx(ee,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Login as Company")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"sm",onClick:()=>y("company-info",s),className:"h-8 w-8 p-0 text-gray-600 hover:text-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800",children:e.jsx(te,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Company Info")})]}),e.jsxs(N,{children:[e.jsx(w,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"sm",onClick:()=>y("edit",s),className:"h-8 w-8 p-0 text-amber-600 hover:text-amber-700 hover:bg-amber-50 dark:hover:bg-amber-900/20",children:e.jsx(ie,{className:"h-4 w-4"})})}),e.jsx(b,{children:t("Edit")})]})]}),e.jsxs($e,{children:[e.jsx(Ue,{asChild:!0,children:e.jsx(g,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0 text-gray-400 hover:text-gray-600 hover:bg-gray-50 dark:hover:bg-gray-800",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("circle",{cx:"12",cy:"12",r:"1"}),e.jsx("circle",{cx:"12",cy:"5",r:"1"}),e.jsx("circle",{cx:"12",cy:"19",r:"1"})]})})}),e.jsxs(Ve,{align:"end",className:"w-48 z-50",sideOffset:5,children:[e.jsxs(R,{onClick:()=>y("reset-password",s),children:[e.jsx(se,{className:"h-4 w-4 mr-2"}),e.jsx("span",{children:t("Reset Password")})]}),e.jsxs(R,{onClick:()=>y("toggle-status",s),children:[s.status==="active"?e.jsx(ae,{className:"h-4 w-4 mr-2"}):e.jsx(re,{className:"h-4 w-4 mr-2"}),e.jsx("span",{children:s.status==="active"?t("Disable Login"):t("Enable Login")})]}),e.jsx(qe,{}),e.jsxs(R,{onClick:()=>y("delete",s),className:"text-red-600 focus:text-red-600",children:[e.jsx(le,{className:"h-4 w-4 mr-2"}),e.jsx("span",{children:t("Delete")})]})]})]})]})]})]},s.id)}),(!(o!=null&&o.data)||o.data.length===0)&&e.jsx("div",{className:"col-span-full",children:e.jsxs("div",{className:"text-center py-12",children:[e.jsx("div",{className:"mx-auto h-24 w-24 text-gray-300 dark:text-gray-600 mb-4",children:e.jsx("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-full h-full",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"})})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:t("No companies found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6",children:t("Get started by creating your first company")}),e.jsxs(g,{onClick:H,className:"inline-flex items-center",children:[e.jsx(J,{className:"h-4 w-4 mr-2"}),t("Add Company")]})]})})]}),e.jsx("div",{className:"mt-8",children:e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:e.jsx(X,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:t("companies"),onPageChange:G})})})]}),e.jsx(ne,{open:ce,onOpenChange:V,children:h&&e.jsx(Je,{record:h})}),e.jsx(Z,{isOpen:me,onClose:()=>k(!1),onSubmit:s=>{s.login_enabled===!1&&delete s.password,s.status=s.login_enabled?"active":"inactive",delete s.login_enabled,we(s)},formConfig:{fields:[{name:"name",label:t("Company Name"),type:"text",required:!0},{name:"email",label:t("Email"),type:"email",required:!0},{name:"login_enabled",label:t("Enable Login"),placeholder:"",type:"switch",defaultValue:!0,conditional:s=>s==="create"},{name:"password",label:t("Password"),type:"password",required:s=>s==="create",conditional:(s,r)=>s==="create"&&(r==null?void 0:r.login_enabled)===!0}],modalSize:"lg"},initialData:{...h,login_enabled:(h==null?void 0:h.status)==="active"},title:t(S==="create"?"Add New Company":S==="edit"?"Edit Company":"View Company"),mode:S}),e.jsx(He,{isOpen:he,onClose:()=>F(!1),onConfirm:be,itemName:(h==null?void 0:h.name)||"",entityName:"company"}),e.jsx(Z,{isOpen:pe,onClose:()=>E(!1),onSubmit:Ce,formConfig:{fields:[{name:"password",label:t("New Password"),type:"password",required:!0}],modalSize:"sm"},initialData:{},title:`Reset Password for ${(h==null?void 0:h.name)||"Company"}`,mode:"edit"}),e.jsx(Xe,{isOpen:xe,onClose:()=>M(!1),onConfirm:De,plans:ue,currentPlanId:h==null?void 0:h.plan_id,companyName:(h==null?void 0:h.name)||""})]})}export{ir as default}; diff --git a/public/build/assets/index-CMpmrPYK.js b/public/build/assets/index-D4Gt8Ywm.js similarity index 92% rename from public/build/assets/index-CMpmrPYK.js rename to public/build/assets/index-D4Gt8Ywm.js index bcde20f0b..e70657200 100644 --- a/public/build/assets/index-CMpmrPYK.js +++ b/public/build/assets/index-D4Gt8Ywm.js @@ -1 +1 @@ -import{r as y,j as e}from"./ui-Z445SNHD.js";import{C as ie}from"./CrudDeleteModal-CKTiD3_K.js";import{u as de,c as le,x as A,L as N,I as k,o as h,S as oe,X as ce,r as v,t}from"./app-CfhhiFAk.js";import{P as ne}from"./page-template-BTxLyiDA.js";import{P as me}from"./pagination-D8A_HnL5.js";import{S as z,a as I,b as O,c as R,d as w}from"./select-BrY9osYp.js";import{S as xe}from"./switch-CKduD2wX.js";import{T as pe}from"./textarea-kpRjGGLz.js";import{C as P}from"./calendar-CfUpdaK5.js";import{a as he,C as ge}from"./chevron-up-DepFp6b6.js";import{S as V}from"./square-pen-bMHyT06o.js";import{L as Y}from"./lock-By6rMOj7.js";import{T as W}from"./trash-2-C1NR_7Ss.js";import{D as ue}from"./dollar-sign-DYXFWWsE.js";import{W as ye}from"./wallet-OtmBA2C9.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";function ls(){const{t:r}=de(),{auth:F,leaveTypes:d,filters:n={},globalSettings:a}=le().props,D=(F==null?void 0:F.permissions)||[],[b,T]=y.useState(n.search||""),[u,$]=y.useState(n.status||"all"),[K,C]=y.useState(!1),[m,L]=y.useState(null),[f,M]=y.useState("create"),[E,X]=y.useState(new Set),[c,p]=y.useState({name:"",description:"",max_days_per_year:"",is_paid:!0,color:"#3B82F6",status:"active"}),[o,_]=y.useState({}),S=()=>{p({name:"",description:"",max_days_per_year:"",is_paid:!0,color:"#3B82F6",status:"active"}),_({}),M("create"),L(null)},G=s=>{var l;p({name:s.name||"",description:s.description||"",max_days_per_year:((l=s.max_days_per_year)==null?void 0:l.toString())||"",is_paid:s.is_paid??!0,color:s.color||"#3B82F6",status:s.status||"active"}),M("edit"),L(s),_({})},q=()=>b!==""||u!=="all",U=s=>{s!=null&&s.preventDefault&&s.preventDefault(),H()},H=()=>{v.get(route("hr.leave-types.index"),{page:1,search:b||void 0,status:u!=="all"?u:void 0,sort_field:n.sort_field,sort_direction:n.sort_direction,per_page:n.per_page||10},{preserveState:!0,preserveScroll:!0})},J=s=>{const l=n.sort_field===s&&n.sort_direction==="asc"?"desc":"asc";v.get(route("hr.leave-types.index"),{sort_field:s,sort_direction:l,page:1,search:b||void 0,status:u!=="all"?u:void 0,per_page:n.per_page||10},{preserveState:!0,preserveScroll:!0})},Q=()=>{T(""),$("all"),v.get(route("hr.leave-types.index"),{page:1,sort_field:n.sort_field,sort_direction:n.sort_direction,per_page:n.per_page||10},{preserveState:!0,preserveScroll:!0})},j=(s,l)=>{switch(L(l),s){case"edit":case"view":G(l),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":C(!0);break;case"toggle-status":se(l);break}},Z=s=>{s.preventDefault(),_({});const l={...c,max_days_per_year:parseInt(c.max_days_per_year,10)};f==="create"?(a!=null&&a.is_demo||t.loading(r("Creating leave type...")),v.post(route("hr.leave-types.store"),l,{onSuccess:i=>{a!=null&&a.is_demo||t.dismiss(),i.props.flash.success?(t.success(r(i.props.flash.success)),S()):i.props.flash.error&&t.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||t.dismiss(),_(i),typeof i=="string"?t.error(i):t.error("Failed to create leave type.")}})):(a!=null&&a.is_demo||t.loading(r("Updating leave type...")),v.put(route("hr.leave-types.update",m.id),l,{onSuccess:i=>{a!=null&&a.is_demo||t.dismiss(),i.props.flash.success?(t.success(r(i.props.flash.success)),S()):i.props.flash.error&&t.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||t.dismiss(),_(i),typeof i=="string"?t.error(i):t.error("Failed to update leave type.")}}))},ee=()=>{a!=null&&a.is_demo||t.loading(r("Deleting leave type...")),v.delete(route("hr.leave-types.destroy",m.id),{onSuccess:s=>{C(!1),a!=null&&a.is_demo||t.dismiss(),s.props.flash.success?(t.success(r(s.props.flash.success)),f==="edit"&&(m==null?void 0:m.id)===m.id&&S()):s.props.flash.error&&t.error(r(s.props.flash.error))},onError:s=>{C(!1),a!=null&&a.is_demo||t.dismiss(),typeof s=="string"?t.error(s):t.error(`Failed to delete leave type: ${Object.values(s).join(", ")}`)}})},se=s=>{const l=s.status==="active"?"inactive":"active";a!=null&&a.is_demo||t.loading(`${r(l==="active"?"Activating":"Deactivating")} leave type...`),v.put(route("hr.leave-types.toggle-status",s.id),{},{onSuccess:i=>{a!=null&&a.is_demo||t.dismiss(),i.props.flash.success?(t.success(r(i.props.flash.success)),f==="edit"&&(m==null?void 0:m.id)===s.id&&p(te=>({...te,status:l}))):i.props.flash.error&&t.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||t.dismiss(),typeof i=="string"?t.error(i):t.error(`Failed to update leave type status: ${Object.values(i).join(", ")}`)}})},re=s=>{const l=new Set(E);l.has(s)?l.delete(s):l.add(s),X(l)},ae=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Leave Management"),href:route("hr.leave-types.index")},{title:r("Leave Types")}],g=A(D,"create-leave-types"),x=A(D,"edit-leave-types"),B=A(D,"delete-leave-types");return e.jsxs(ne,{title:r("Leave Types"),description:"",url:"/hr/leave-types",breadcrumbs:ae,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-3",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-4 rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"border-b border-gray-200 p-6 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(f==="create"?"Add New Leave Type":"Edit Leave Type")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r(f==="create"?"Fill in the details to create a new leave type":"Update the leave type details below")})]}),e.jsxs("form",{onSubmit:Z,className:"space-y-4 p-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(N,{required:!0,htmlFor:"name",className:"required",children:r("Leave Type Name")}),e.jsx(k,{id:"name",type:"text",value:c.name,onChange:s=>p({...c,name:s.target.value}),placeholder:r("e.g., Casual Leave, Sick Leave"),className:o.name?"border-red-500":"",disabled:!g&&!x,required:!0}),o.name&&e.jsx("p",{className:"text-sm text-red-500",children:o.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(N,{htmlFor:"description",children:r("Description")}),e.jsx(pe,{id:"description",value:c.description,onChange:s=>p({...c,description:s.target.value}),placeholder:r("Brief description of the leave policies"),rows:3,className:o.description?"border-red-500":"",disabled:!g&&!x}),o.description&&e.jsx("p",{className:"text-sm text-red-500",children:o.description})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(N,{required:!0,htmlFor:"max_days_per_year",className:"required",children:r("Max Days / Year")}),e.jsx(k,{id:"max_days_per_year",type:"number",min:"0",step:"1",value:c.max_days_per_year,onChange:s=>p({...c,max_days_per_year:s.target.value}),placeholder:"0",className:o.max_days_per_year?"border-red-500":"",disabled:!g&&!x,required:!0}),o.max_days_per_year&&e.jsx("p",{className:"text-sm text-red-500",children:o.max_days_per_year})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(N,{required:!0,htmlFor:"color",className:"required",children:r("Color")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(k,{id:"color",type:"color",value:c.color,onChange:s=>p({...c,color:s.target.value}),className:`h-10 w-14 cursor-pointer p-1 ${o.color?"border-red-500":""}`,disabled:!g&&!x,required:!0}),e.jsx(k,{type:"text",value:c.color,onChange:s=>p({...c,color:s.target.value}),pattern:"^#[0-9A-Fa-f]{6}$",className:"font-mono text-sm uppercase",placeholder:"#000000",disabled:!g&&!x,required:!0})]}),o.color&&e.jsx("p",{className:"text-sm text-red-500",children:o.color})]})]}),e.jsxs("div",{className:"space-y-2 pt-2",children:[e.jsxs("div",{className:"flex items-center justify-between rounded-lg border border-gray-200 p-4 dark:border-gray-700",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(N,{className:"text-base",children:r("Paid Leave")}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:r("Employees will receive salary for these days")})]}),e.jsx(xe,{checked:c.is_paid,onCheckedChange:s=>p({...c,is_paid:s}),disabled:!g&&!x})]}),o.is_paid&&e.jsx("p",{className:"text-sm text-red-500",children:o.is_paid})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(N,{required:!0,htmlFor:"status",className:"required",children:[r("Status")," "]}),e.jsxs(z,{value:c.status,onValueChange:s=>p({...c,status:s}),disabled:!g&&!x,required:!0,children:[e.jsx(I,{className:o.status?"border-red-500":"",children:e.jsx(O,{placeholder:r("Select status")})}),e.jsxs(R,{children:[e.jsx(w,{value:"active",children:r("Active")}),e.jsx(w,{value:"inactive",children:r("Inactive")})]})]}),o.status&&e.jsx("p",{className:"text-sm text-red-500",children:o.status})]}),e.jsxs("div",{className:"flex items-center gap-3 border-t border-gray-200 pt-4 dark:border-gray-700",children:[(g||x)&&e.jsx(h,{type:"submit",className:"flex-1",children:r(f==="create"?"Add Leave Type":"Update Leave Type")}),f==="edit"&&e.jsx(h,{type:"button",variant:"outline",onClick:S,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"space-y-4 lg:col-span-2",children:[e.jsx("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(oe,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-gray-400"}),e.jsx(k,{type:"text",placeholder:r("Search leave types..."),value:b,onChange:s=>T(s.target.value),onKeyDown:s=>s.key==="Enter"&&U(s),className:"pl-10"})]}),e.jsx(h,{onClick:U,variant:"default",children:r("Search")}),q()&&e.jsxs(h,{onClick:Q,variant:"outline",children:[e.jsx(ce,{className:"mr-2 h-4 w-4"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:e.jsxs(z,{value:u,onValueChange:$,children:[e.jsx(I,{children:e.jsx(O,{placeholder:r("All Statuses")})}),e.jsxs(R,{children:[e.jsx(w,{value:"all",children:r("All Statuses")}),e.jsx(w,{value:"active",children:r("Active")}),e.jsx(w,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:((d==null?void 0:d.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"border-b border-gray-200 px-6 py-4 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Leave Types")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r("Manage leave policies and maximum allocated days.")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"cursor-pointer px-4 py-3 text-left text-xs font-medium tracking-wider text-gray-500 select-none dark:text-gray-300",onClick:()=>J("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Leave Type"),n.sort_field==="name"?n.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Days/Year")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Payment Type")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Actions")})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200 bg-white dark:divide-gray-700 dark:bg-gray-800",children:d.data.map(s=>e.jsxs("tr",{className:"transition-colors hover:bg-gray-50 dark:hover:bg-gray-700/50",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg text-white",style:{backgroundColor:s.color||"#3B82F6"},children:e.jsx(P,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"flex flex-row items-center gap-1.5 text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"mt-0.5 max-w-xs text-sm text-gray-500 dark:text-gray-400",children:[e.jsx("div",{className:E.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>re(s.id),className:"mt-1 inline-flex items-center text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:E.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"mr-1 h-3 w-3"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(ge,{className:"mr-1 h-3 w-3"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsxs("span",{className:"inline-flex items-center font-mono font-semibold text-gray-900 dark:text-gray-100",children:[s.max_days_per_year," ",r("Days")]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.is_paid?"bg-emerald-50 text-emerald-700 ring-emerald-600/20":"bg-orange-50 text-orange-700 ring-orange-600/20"}`,children:s.is_paid?r("Paid"):r("Unpaid")})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right text-sm font-medium whitespace-nowrap",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[x&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("edit",s),className:"h-8 w-8 p-0 text-amber-500 hover:bg-amber-50 hover:text-amber-600 dark:hover:bg-amber-900/20",title:r("Edit Type"),children:e.jsx(V,{className:"h-4 w-4"})}),x&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500 hover:bg-orange-50 hover:text-orange-600 dark:hover:bg-orange-900/20":"text-green-600 hover:bg-green-50 hover:text-green-700 dark:hover:bg-green-900/20"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(Y,{className:"h-4 w-4"})}),B&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("delete",s),className:"h-8 w-8 p-0 text-red-500 hover:bg-red-50 hover:text-red-600 dark:hover:bg-red-900/20",title:r("Delete Type"),children:e.jsx(W,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"space-y-4 p-4 lg:hidden",children:d.data.map(s=>e.jsxs("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"mb-3 flex items-start justify-between",children:[e.jsxs("div",{className:"flex gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg text-white",style:{backgroundColor:s.color||"#3B82F6"},children:e.jsx(P,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"flex items-center gap-1.5 text-sm font-semibold text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"mt-1 line-clamp-2 text-sm text-gray-500 dark:text-gray-400",children:s.description})]})]}),e.jsxs("div",{className:"ml-4 flex justify-end gap-1",children:[x&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(V,{className:"h-4 w-4"})}),x&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(Y,{className:"h-4 w-4"})}),B&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(W,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"mt-3 grid grid-cols-2 gap-4 border-t border-gray-100 pt-3 dark:border-gray-700",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Days/Year")}),e.jsxs("span",{className:"font-mono text-xs font-medium text-gray-900 dark:text-gray-100",children:[s.max_days_per_year," ",r("Days")]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Payment Type")}),e.jsx("span",{className:`inline-flex items-center gap-1.5 rounded-md px-2 py-0.5 text-xs font-medium ring-1 ring-inset ${s.is_paid?"bg-emerald-50 text-emerald-700 ring-emerald-600/20":"bg-orange-50 text-orange-700 ring-orange-600/20"}`,children:s.is_paid?e.jsxs(e.Fragment,{children:[e.jsx(ue,{className:"h-3 w-3"})," ",r("Paid")]}):e.jsxs(e.Fragment,{children:[e.jsx(ye,{className:"h-3 w-3"})," ",r("Unpaid")]})})]}),e.jsxs("div",{className:"col-span-2",children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]})]},s.id))}),(d==null?void 0:d.total)>((d==null?void 0:d.per_page)||10)&&e.jsx("div",{className:"border-t border-gray-200 px-6 py-4 dark:border-gray-700",children:e.jsx(me,{from:(d==null?void 0:d.from)||0,to:(d==null?void 0:d.to)||0,total:(d==null?void 0:d.total)||0,links:d==null?void 0:d.links,entityName:r("leave types"),onPageChange:s=>{const l=new URL(s,window.location.origin);v.get(l.pathname+l.search,{search:b||void 0,status:u!=="all"?u:void 0,sort_field:n.sort_field,sort_direction:n.sort_direction},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-gray-100 dark:bg-gray-700",children:e.jsx(P,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"mb-2 text-lg font-medium text-gray-900 dark:text-white",children:r("No leave types found")}),e.jsx("p",{className:"mx-auto mb-6 max-w-sm text-gray-500 dark:text-gray-400",children:q()?r("No leave types match your search criteria. Try adjusting your filters."):r("Create leave types to start managing your employee time off.")}),!q()&&g&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first leave type.")})]})})]})]}),e.jsx(ie,{isOpen:K,onClose:()=>C(!1),onConfirm:ee,itemName:(m==null?void 0:m.name)||"",entityName:r("leave type")})]})}export{ls as default}; +import{r as y,j as e}from"./ui-Z445SNHD.js";import{C as ie}from"./CrudDeleteModal-D32N6I8y.js";import{u as de,c as le,x as A,L as N,I as k,o as h,S as oe,X as ce,r as v,t}from"./app-Dya84jp7.js";import{P as ne}from"./page-template-CLNVC8w_.js";import{P as me}from"./pagination-4PUepASD.js";import{S as z,a as I,b as O,c as R,d as w}from"./select-CHkpLxhL.js";import{S as xe}from"./switch-DyHgm-Sg.js";import{T as pe}from"./textarea-yeg8ONhy.js";import{C as P}from"./calendar-DuRYaSj5.js";import{a as he,C as ge}from"./chevron-up-DHaGktre.js";import{S as V}from"./square-pen-CzdhbxyN.js";import{L as Y}from"./lock-DaHvMEII.js";import{T as W}from"./trash-2-BeirBLIk.js";import{D as ue}from"./dollar-sign-DH2Tc178.js";import{W as ye}from"./wallet-ChDgCFUl.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";function ls(){const{t:r}=de(),{auth:F,leaveTypes:d,filters:n={},globalSettings:a}=le().props,D=(F==null?void 0:F.permissions)||[],[b,T]=y.useState(n.search||""),[u,$]=y.useState(n.status||"all"),[K,C]=y.useState(!1),[m,L]=y.useState(null),[f,M]=y.useState("create"),[E,X]=y.useState(new Set),[c,p]=y.useState({name:"",description:"",max_days_per_year:"",is_paid:!0,color:"#3B82F6",status:"active"}),[o,_]=y.useState({}),S=()=>{p({name:"",description:"",max_days_per_year:"",is_paid:!0,color:"#3B82F6",status:"active"}),_({}),M("create"),L(null)},G=s=>{var l;p({name:s.name||"",description:s.description||"",max_days_per_year:((l=s.max_days_per_year)==null?void 0:l.toString())||"",is_paid:s.is_paid??!0,color:s.color||"#3B82F6",status:s.status||"active"}),M("edit"),L(s),_({})},q=()=>b!==""||u!=="all",U=s=>{s!=null&&s.preventDefault&&s.preventDefault(),H()},H=()=>{v.get(route("hr.leave-types.index"),{page:1,search:b||void 0,status:u!=="all"?u:void 0,sort_field:n.sort_field,sort_direction:n.sort_direction,per_page:n.per_page||10},{preserveState:!0,preserveScroll:!0})},J=s=>{const l=n.sort_field===s&&n.sort_direction==="asc"?"desc":"asc";v.get(route("hr.leave-types.index"),{sort_field:s,sort_direction:l,page:1,search:b||void 0,status:u!=="all"?u:void 0,per_page:n.per_page||10},{preserveState:!0,preserveScroll:!0})},Q=()=>{T(""),$("all"),v.get(route("hr.leave-types.index"),{page:1,sort_field:n.sort_field,sort_direction:n.sort_direction,per_page:n.per_page||10},{preserveState:!0,preserveScroll:!0})},j=(s,l)=>{switch(L(l),s){case"edit":case"view":G(l),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":C(!0);break;case"toggle-status":se(l);break}},Z=s=>{s.preventDefault(),_({});const l={...c,max_days_per_year:parseInt(c.max_days_per_year,10)};f==="create"?(a!=null&&a.is_demo||t.loading(r("Creating leave type...")),v.post(route("hr.leave-types.store"),l,{onSuccess:i=>{a!=null&&a.is_demo||t.dismiss(),i.props.flash.success?(t.success(r(i.props.flash.success)),S()):i.props.flash.error&&t.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||t.dismiss(),_(i),typeof i=="string"?t.error(i):t.error("Failed to create leave type.")}})):(a!=null&&a.is_demo||t.loading(r("Updating leave type...")),v.put(route("hr.leave-types.update",m.id),l,{onSuccess:i=>{a!=null&&a.is_demo||t.dismiss(),i.props.flash.success?(t.success(r(i.props.flash.success)),S()):i.props.flash.error&&t.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||t.dismiss(),_(i),typeof i=="string"?t.error(i):t.error("Failed to update leave type.")}}))},ee=()=>{a!=null&&a.is_demo||t.loading(r("Deleting leave type...")),v.delete(route("hr.leave-types.destroy",m.id),{onSuccess:s=>{C(!1),a!=null&&a.is_demo||t.dismiss(),s.props.flash.success?(t.success(r(s.props.flash.success)),f==="edit"&&(m==null?void 0:m.id)===m.id&&S()):s.props.flash.error&&t.error(r(s.props.flash.error))},onError:s=>{C(!1),a!=null&&a.is_demo||t.dismiss(),typeof s=="string"?t.error(s):t.error(`Failed to delete leave type: ${Object.values(s).join(", ")}`)}})},se=s=>{const l=s.status==="active"?"inactive":"active";a!=null&&a.is_demo||t.loading(`${r(l==="active"?"Activating":"Deactivating")} leave type...`),v.put(route("hr.leave-types.toggle-status",s.id),{},{onSuccess:i=>{a!=null&&a.is_demo||t.dismiss(),i.props.flash.success?(t.success(r(i.props.flash.success)),f==="edit"&&(m==null?void 0:m.id)===s.id&&p(te=>({...te,status:l}))):i.props.flash.error&&t.error(r(i.props.flash.error))},onError:i=>{a!=null&&a.is_demo||t.dismiss(),typeof i=="string"?t.error(i):t.error(`Failed to update leave type status: ${Object.values(i).join(", ")}`)}})},re=s=>{const l=new Set(E);l.has(s)?l.delete(s):l.add(s),X(l)},ae=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Leave Management"),href:route("hr.leave-types.index")},{title:r("Leave Types")}],g=A(D,"create-leave-types"),x=A(D,"edit-leave-types"),B=A(D,"delete-leave-types");return e.jsxs(ne,{title:r("Leave Types"),description:"",url:"/hr/leave-types",breadcrumbs:ae,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-3",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-4 rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"border-b border-gray-200 p-6 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(f==="create"?"Add New Leave Type":"Edit Leave Type")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r(f==="create"?"Fill in the details to create a new leave type":"Update the leave type details below")})]}),e.jsxs("form",{onSubmit:Z,className:"space-y-4 p-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(N,{required:!0,htmlFor:"name",className:"required",children:r("Leave Type Name")}),e.jsx(k,{id:"name",type:"text",value:c.name,onChange:s=>p({...c,name:s.target.value}),placeholder:r("e.g., Casual Leave, Sick Leave"),className:o.name?"border-red-500":"",disabled:!g&&!x,required:!0}),o.name&&e.jsx("p",{className:"text-sm text-red-500",children:o.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(N,{htmlFor:"description",children:r("Description")}),e.jsx(pe,{id:"description",value:c.description,onChange:s=>p({...c,description:s.target.value}),placeholder:r("Brief description of the leave policies"),rows:3,className:o.description?"border-red-500":"",disabled:!g&&!x}),o.description&&e.jsx("p",{className:"text-sm text-red-500",children:o.description})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(N,{required:!0,htmlFor:"max_days_per_year",className:"required",children:r("Max Days / Year")}),e.jsx(k,{id:"max_days_per_year",type:"number",min:"0",step:"1",value:c.max_days_per_year,onChange:s=>p({...c,max_days_per_year:s.target.value}),placeholder:"0",className:o.max_days_per_year?"border-red-500":"",disabled:!g&&!x,required:!0}),o.max_days_per_year&&e.jsx("p",{className:"text-sm text-red-500",children:o.max_days_per_year})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(N,{required:!0,htmlFor:"color",className:"required",children:r("Color")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(k,{id:"color",type:"color",value:c.color,onChange:s=>p({...c,color:s.target.value}),className:`h-10 w-14 cursor-pointer p-1 ${o.color?"border-red-500":""}`,disabled:!g&&!x,required:!0}),e.jsx(k,{type:"text",value:c.color,onChange:s=>p({...c,color:s.target.value}),pattern:"^#[0-9A-Fa-f]{6}$",className:"font-mono text-sm uppercase",placeholder:"#000000",disabled:!g&&!x,required:!0})]}),o.color&&e.jsx("p",{className:"text-sm text-red-500",children:o.color})]})]}),e.jsxs("div",{className:"space-y-2 pt-2",children:[e.jsxs("div",{className:"flex items-center justify-between rounded-lg border border-gray-200 p-4 dark:border-gray-700",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(N,{className:"text-base",children:r("Paid Leave")}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:r("Employees will receive salary for these days")})]}),e.jsx(xe,{checked:c.is_paid,onCheckedChange:s=>p({...c,is_paid:s}),disabled:!g&&!x})]}),o.is_paid&&e.jsx("p",{className:"text-sm text-red-500",children:o.is_paid})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(N,{required:!0,htmlFor:"status",className:"required",children:[r("Status")," "]}),e.jsxs(z,{value:c.status,onValueChange:s=>p({...c,status:s}),disabled:!g&&!x,required:!0,children:[e.jsx(I,{className:o.status?"border-red-500":"",children:e.jsx(O,{placeholder:r("Select status")})}),e.jsxs(R,{children:[e.jsx(w,{value:"active",children:r("Active")}),e.jsx(w,{value:"inactive",children:r("Inactive")})]})]}),o.status&&e.jsx("p",{className:"text-sm text-red-500",children:o.status})]}),e.jsxs("div",{className:"flex items-center gap-3 border-t border-gray-200 pt-4 dark:border-gray-700",children:[(g||x)&&e.jsx(h,{type:"submit",className:"flex-1",children:r(f==="create"?"Add Leave Type":"Update Leave Type")}),f==="edit"&&e.jsx(h,{type:"button",variant:"outline",onClick:S,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"space-y-4 lg:col-span-2",children:[e.jsx("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(oe,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-gray-400"}),e.jsx(k,{type:"text",placeholder:r("Search leave types..."),value:b,onChange:s=>T(s.target.value),onKeyDown:s=>s.key==="Enter"&&U(s),className:"pl-10"})]}),e.jsx(h,{onClick:U,variant:"default",children:r("Search")}),q()&&e.jsxs(h,{onClick:Q,variant:"outline",children:[e.jsx(ce,{className:"mr-2 h-4 w-4"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:e.jsxs(z,{value:u,onValueChange:$,children:[e.jsx(I,{children:e.jsx(O,{placeholder:r("All Statuses")})}),e.jsxs(R,{children:[e.jsx(w,{value:"all",children:r("All Statuses")}),e.jsx(w,{value:"active",children:r("Active")}),e.jsx(w,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:((d==null?void 0:d.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"border-b border-gray-200 px-6 py-4 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Leave Types")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r("Manage leave policies and maximum allocated days.")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"cursor-pointer px-4 py-3 text-left text-xs font-medium tracking-wider text-gray-500 select-none dark:text-gray-300",onClick:()=>J("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Leave Type"),n.sort_field==="name"?n.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Days/Year")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Payment Type")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Actions")})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200 bg-white dark:divide-gray-700 dark:bg-gray-800",children:d.data.map(s=>e.jsxs("tr",{className:"transition-colors hover:bg-gray-50 dark:hover:bg-gray-700/50",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg text-white",style:{backgroundColor:s.color||"#3B82F6"},children:e.jsx(P,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"flex flex-row items-center gap-1.5 text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"mt-0.5 max-w-xs text-sm text-gray-500 dark:text-gray-400",children:[e.jsx("div",{className:E.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>re(s.id),className:"mt-1 inline-flex items-center text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:E.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"mr-1 h-3 w-3"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(ge,{className:"mr-1 h-3 w-3"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsxs("span",{className:"inline-flex items-center font-mono font-semibold text-gray-900 dark:text-gray-100",children:[s.max_days_per_year," ",r("Days")]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.is_paid?"bg-emerald-50 text-emerald-700 ring-emerald-600/20":"bg-orange-50 text-orange-700 ring-orange-600/20"}`,children:s.is_paid?r("Paid"):r("Unpaid")})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right text-sm font-medium whitespace-nowrap",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[x&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("edit",s),className:"h-8 w-8 p-0 text-amber-500 hover:bg-amber-50 hover:text-amber-600 dark:hover:bg-amber-900/20",title:r("Edit Type"),children:e.jsx(V,{className:"h-4 w-4"})}),x&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500 hover:bg-orange-50 hover:text-orange-600 dark:hover:bg-orange-900/20":"text-green-600 hover:bg-green-50 hover:text-green-700 dark:hover:bg-green-900/20"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(Y,{className:"h-4 w-4"})}),B&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("delete",s),className:"h-8 w-8 p-0 text-red-500 hover:bg-red-50 hover:text-red-600 dark:hover:bg-red-900/20",title:r("Delete Type"),children:e.jsx(W,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"space-y-4 p-4 lg:hidden",children:d.data.map(s=>e.jsxs("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"mb-3 flex items-start justify-between",children:[e.jsxs("div",{className:"flex gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg text-white",style:{backgroundColor:s.color||"#3B82F6"},children:e.jsx(P,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"flex items-center gap-1.5 text-sm font-semibold text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"mt-1 line-clamp-2 text-sm text-gray-500 dark:text-gray-400",children:s.description})]})]}),e.jsxs("div",{className:"ml-4 flex justify-end gap-1",children:[x&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(V,{className:"h-4 w-4"})}),x&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(Y,{className:"h-4 w-4"})}),B&&e.jsx(h,{variant:"ghost",size:"sm",onClick:()=>j("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(W,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"mt-3 grid grid-cols-2 gap-4 border-t border-gray-100 pt-3 dark:border-gray-700",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Days/Year")}),e.jsxs("span",{className:"font-mono text-xs font-medium text-gray-900 dark:text-gray-100",children:[s.max_days_per_year," ",r("Days")]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Payment Type")}),e.jsx("span",{className:`inline-flex items-center gap-1.5 rounded-md px-2 py-0.5 text-xs font-medium ring-1 ring-inset ${s.is_paid?"bg-emerald-50 text-emerald-700 ring-emerald-600/20":"bg-orange-50 text-orange-700 ring-orange-600/20"}`,children:s.is_paid?e.jsxs(e.Fragment,{children:[e.jsx(ue,{className:"h-3 w-3"})," ",r("Paid")]}):e.jsxs(e.Fragment,{children:[e.jsx(ye,{className:"h-3 w-3"})," ",r("Unpaid")]})})]}),e.jsxs("div",{className:"col-span-2",children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]})]},s.id))}),(d==null?void 0:d.total)>((d==null?void 0:d.per_page)||10)&&e.jsx("div",{className:"border-t border-gray-200 px-6 py-4 dark:border-gray-700",children:e.jsx(me,{from:(d==null?void 0:d.from)||0,to:(d==null?void 0:d.to)||0,total:(d==null?void 0:d.total)||0,links:d==null?void 0:d.links,entityName:r("leave types"),onPageChange:s=>{const l=new URL(s,window.location.origin);v.get(l.pathname+l.search,{search:b||void 0,status:u!=="all"?u:void 0,sort_field:n.sort_field,sort_direction:n.sort_direction},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-gray-100 dark:bg-gray-700",children:e.jsx(P,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"mb-2 text-lg font-medium text-gray-900 dark:text-white",children:r("No leave types found")}),e.jsx("p",{className:"mx-auto mb-6 max-w-sm text-gray-500 dark:text-gray-400",children:q()?r("No leave types match your search criteria. Try adjusting your filters."):r("Create leave types to start managing your employee time off.")}),!q()&&g&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first leave type.")})]})})]})]}),e.jsx(ie,{isOpen:K,onClose:()=>C(!1),onConfirm:ee,itemName:(m==null?void 0:m.name)||"",entityName:r("leave type")})]})}export{ls as default}; diff --git a/public/build/assets/index-BfIV-AaA.js b/public/build/assets/index-D68ER7Cp.js similarity index 70% rename from public/build/assets/index-BfIV-AaA.js rename to public/build/assets/index-D68ER7Cp.js index f694445b6..86d44f5ca 100644 --- a/public/build/assets/index-BfIV-AaA.js +++ b/public/build/assets/index-D68ER7Cp.js @@ -1 +1 @@ -import{r as m,j as a}from"./ui-Z445SNHD.js";import{P as fe}from"./page-template-BTxLyiDA.js";import{u as he,c as be,x as U,P as ge,F as ye,g as ve,r as d,M as xe,D as Se,t as o}from"./app-CfhhiFAk.js";import{C as _e}from"./CrudTable-qPWooc10.js";import{C as z}from"./CrudFormModal-DAR9q-oM.js";import{C as we}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Ce}from"./pagination-D8A_HnL5.js";import{S as je}from"./search-and-filter-bar-6Pp-FsiR.js";import Te from"./view-BnvT1Xkw.js";import{u as De}from"./use-initials-BK4eRgYY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ho(){var R,V;const{t:e}=he(),{auth:x,terminations:s,employees:B,terminationTypes:H,filters:l={}}=be().props,S=(x==null?void 0:x.permissions)||[],G=De(),[c,j]=m.useState(l.search||""),[u,T]=m.useState(l.employee_id||""),[f,D]=m.useState(l.termination_type||""),[p,P]=m.useState(l.status||"all"),[h,F]=m.useState(l.date_from||""),[b,k]=m.useState(l.date_to||""),[J,N]=m.useState(!1),[K,_]=m.useState(!1),[Q,g]=m.useState(!1),[X,w]=m.useState(!1),[n,E]=m.useState(null),[y,I]=m.useState("create"),[C,O]=m.useState(null),Y=()=>u!==""||f!==""||p!=="all"||h!==""||b!==""||c!=="",Z=()=>(u!==""?1:0)+(f!==""?1:0)+(p!=="all"?1:0)+(h!==""?1:0)+(b!==""?1:0)+(c!==""?1:0),ee=t=>{t.preventDefault(),M()},M=()=>{d.get(route("hr.terminations.index"),{page:1,search:c||void 0,employee_id:u||void 0,termination_type:f||void 0,status:p!=="all"?p:void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},te=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";d.get(route("hr.terminations.index"),{sort_field:t,sort_direction:r,page:1,search:c||void 0,employee_id:u||void 0,termination_type:f||void 0,status:p!=="all"?p:void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},re=(t,r)=>{switch(E(r),t){case"view":O(r);break;case"edit":I("edit"),g(!0);break;case"delete":_(!0);break;case"change-status":w(!0);break;case"download-document":window.open(route("hr.terminations.download-document",r.id),"_blank");break}},oe=()=>{E(null),I("create"),g(!0)},ie=t=>{const r=t;y==="create"?(o.loading(e("Creating termination...")),d.post(route("hr.terminations.store"),r,{onSuccess:i=>{g(!1),o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to create termination: {{errors}}",{errors:Object.values(i).join(", ")}))}})):y==="edit"&&(o.loading(e("Updating termination...")),d.put(route("hr.terminations.update",n.id),r,{onSuccess:i=>{g(!1),o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to update termination: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},ae=t=>{o.loading(e("Updating termination status...")),d.put(route("hr.terminations.change-status",n.id),t,{onSuccess:r=>{w(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to update termination status: {{errors}}",{errors:Object.values(r).join(", ")}))}})},se=()=>{o.loading(e("Deleting termination...")),d.delete(route("hr.terminations.destroy",n.id),{onSuccess:t=>{_(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to delete termination: {{errors}}",{errors:Object.values(t).join(", ")}))}})},ne=()=>{j(""),T(""),D(""),P("all"),F(""),k(""),N(!1),d.get(route("hr.terminations.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},A=[];U(S,"create-terminations")&&A.push({label:e("Add Termination"),icon:a.jsx(ge,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>oe()});const le=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.terminations.index")},{title:e("Terminations")}],me=[{key:"employee.name",label:e("Employee"),render:(t,r)=>{var i,v,W,L,$;return a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=r.employee)!=null&&i.avatar?a.jsx("img",{src:r.employee.avatar,alt:(v=r.employee)==null?void 0:v.name,className:"h-full w-full object-cover"}):G(((W=r.employee)==null?void 0:W.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((L=r.employee)==null?void 0:L.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:(($=r.employee)==null?void 0:$.email)||""})]})]})}},{key:"termination_type",label:e("Type"),render:t=>t||"-"},{key:"termination_date",label:e("Termination Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"notice_date",label:e("Notice Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const r={planned:"bg-yellow-50 text-yellow-700 ring-yellow-600/20","in progress":"bg-blue-50 text-blue-700 ring-blue-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"documents",label:e("Documents"),render:(t,r)=>t&&t.trim()!==""?a.jsx("a",{href:ve(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:a.jsx(ye,{className:"h-4 w-4"})}):"-"}],pe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-terminations"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-terminations"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:["approve-terminations","reject-terminations"]},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-terminations"}],q=[{value:"",label:e("All Employees")},...(B||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],de=[{value:"",label:e("All Types")},...(H||[]).map(t=>({value:t,label:t}))],ce=[{value:"all",label:e("All Statuses")},{value:"planned",label:e("Planned")},{value:"in progress",label:e("In Progress")},{value:"completed",label:e("Completed")}],ue=[{value:"Voluntary",label:e("Voluntary")},{value:"Involuntary",label:e("Involuntary")},{value:"Layoff",label:e("Layoff")},{value:"Retirement",label:e("Retirement")},{value:"Contract Completion",label:e("Contract Completion")},{value:"Probation Failure",label:e("Probation Failure")},{value:"Misconduct",label:e("Misconduct")},{value:"Performance Issues",label:e("Performance Issues")}];return a.jsxs(fe,{title:e("Terminations"),url:"/hr/terminations",actions:A,breadcrumbs:le,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(je,{searchTerm:c,onSearchChange:j,onSearch:ee,filters:[...U(S,"manage-any-terminations")?[{name:"employee_id",label:e("Employee"),type:"select",value:u,onChange:T,options:q,searchable:!0}]:[],{name:"termination_type",label:e("Type"),type:"select",value:f,onChange:D,options:de},{name:"status",label:e("Status"),type:"select",value:p,onChange:P,options:ce},{name:"date_from",label:e("Date From"),type:"date",value:h,onChange:F},{name:"date_to",label:e("Date To"),type:"date",value:b,onChange:k}],showFilters:J,setShowFilters:N,hasActiveFilters:Y,activeFilterCount:Z,onResetFilters:ne,onApplyFilters:M,currentPerPage:((R=l.per_page)==null?void 0:R.toString())||"10",onPerPageChange:t=>{d.get(route("hr.terminations.index"),{page:1,per_page:parseInt(t),search:c||void 0,employee_id:u||void 0,termination_type:f||void 0,status:p!=="all"?p:void 0,date_from:h||void 0,date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(_e,{columns:me,actions:pe,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:re,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:te,permissions:S,entityPermissions:{view:"view-terminations",create:"create-terminations",edit:"edit-terminations",delete:"delete-terminations"}}),a.jsx(Ce,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("terminations"),onPageChange:t=>d.get(t)})]}),a.jsx(z,{isOpen:Q,onClose:()=>g(!1),onSubmit:ie,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:q.filter(t=>t.value!==""),searchable:!0},{name:"termination_type",label:e("Termination Type"),type:"select",required:!0,options:ue,searchable:!0},{name:"notice_date",label:e("Notice Date"),type:"date",required:!0},{name:"termination_date",label:e("Termination Date"),type:"date",required:!0},{name:"notice_period",label:e("Notice Period"),type:"text",placeholder:"e.g. 1 month, 2 weeks"},{name:"reason",label:e("Reason"),type:"text"},{name:"description",label:e("Description"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,r,i)=>a.jsx(xe,{value:String(r[t.name]||""),onChange:v=>i(t.name,v),placeholder:e("Select document file...")})},...y==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"planned",label:e("Planned")},{value:"in progress",label:e("In Progress")},{value:"completed",label:e("Completed")}]},{name:"exit_interview_conducted",label:e("Exit Interview Conducted"),type:"checkbox"},{name:"exit_interview_date",label:e("Exit Interview Date"),type:"date",showWhen:t=>t.exit_interview_conducted},{name:"exit_feedback",label:e("Exit Feedback"),type:"textarea",showWhen:t=>t.status==="completed"}]:[]],modalSize:"lg"},initialData:n?{...n,notice_date:n.notice_date?window.appSettings.formatDateTimeSimple(n.notice_date,!1):n.notice_date,termination_date:n.termination_date?window.appSettings.formatDateTimeSimple(n.termination_date,!1):n.termination_date}:null,title:e(y==="create"?"Add New Termination":"Edit Termination"),mode:y}),a.jsx(z,{isOpen:X,onClose:()=>w(!1),onSubmit:ae,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"planned",label:e("Planned")},{value:"in progress",label:e("In Progress")},{value:"completed",label:e("Completed")}],defaultValue:n==null?void 0:n.status},{name:"exit_interview_conducted",label:e("Exit Interview Conducted"),type:"checkbox",showWhen:t=>t.status==="completed"},{name:"exit_interview_date",label:e("Exit Interview Date"),type:"date",showWhen:t=>t.status==="completed"&&t.exit_interview_conducted},{name:"exit_feedback",label:e("Exit Feedback"),type:"textarea",showWhen:t=>t.status==="completed"}],modalSize:"md"},initialData:n,title:e("Change Termination Status"),mode:"edit"}),a.jsx(we,{isOpen:K,onClose:()=>_(!1),onConfirm:se,itemName:`${((V=n==null?void 0:n.employee)==null?void 0:V.name)||""}`,entityName:"termination"}),a.jsx(Se,{open:!!C,onOpenChange:()=>O(null),children:C&&a.jsx(Te,{termination:C})})]})}export{ho as default}; +import{r as m,j as a}from"./ui-Z445SNHD.js";import{P as fe}from"./page-template-CLNVC8w_.js";import{u as he,c as be,x as U,P as ge,F as ye,g as ve,r as d,M as xe,D as Se,t as o}from"./app-Dya84jp7.js";import{C as _e}from"./CrudTable-yqxtM6E_.js";import{C as z}from"./CrudFormModal-CsuqSfb2.js";import{C as we}from"./CrudDeleteModal-D32N6I8y.js";import{P as Ce}from"./pagination-4PUepASD.js";import{S as je}from"./search-and-filter-bar-DWH0yn_r.js";import Te from"./view-jkGirsLs.js";import{u as De}from"./use-initials-BK4eRgYY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ho(){var R,V;const{t:e}=he(),{auth:x,terminations:s,employees:B,terminationTypes:H,filters:l={}}=be().props,S=(x==null?void 0:x.permissions)||[],G=De(),[c,j]=m.useState(l.search||""),[u,T]=m.useState(l.employee_id||""),[f,D]=m.useState(l.termination_type||""),[p,P]=m.useState(l.status||"all"),[h,F]=m.useState(l.date_from||""),[b,k]=m.useState(l.date_to||""),[J,N]=m.useState(!1),[K,_]=m.useState(!1),[Q,g]=m.useState(!1),[X,w]=m.useState(!1),[n,E]=m.useState(null),[y,I]=m.useState("create"),[C,O]=m.useState(null),Y=()=>u!==""||f!==""||p!=="all"||h!==""||b!==""||c!=="",Z=()=>(u!==""?1:0)+(f!==""?1:0)+(p!=="all"?1:0)+(h!==""?1:0)+(b!==""?1:0)+(c!==""?1:0),ee=t=>{t.preventDefault(),M()},M=()=>{d.get(route("hr.terminations.index"),{page:1,search:c||void 0,employee_id:u||void 0,termination_type:f||void 0,status:p!=="all"?p:void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},te=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";d.get(route("hr.terminations.index"),{sort_field:t,sort_direction:r,page:1,search:c||void 0,employee_id:u||void 0,termination_type:f||void 0,status:p!=="all"?p:void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},re=(t,r)=>{switch(E(r),t){case"view":O(r);break;case"edit":I("edit"),g(!0);break;case"delete":_(!0);break;case"change-status":w(!0);break;case"download-document":window.open(route("hr.terminations.download-document",r.id),"_blank");break}},oe=()=>{E(null),I("create"),g(!0)},ie=t=>{const r=t;y==="create"?(o.loading(e("Creating termination...")),d.post(route("hr.terminations.store"),r,{onSuccess:i=>{g(!1),o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to create termination: {{errors}}",{errors:Object.values(i).join(", ")}))}})):y==="edit"&&(o.loading(e("Updating termination...")),d.put(route("hr.terminations.update",n.id),r,{onSuccess:i=>{g(!1),o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to update termination: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},ae=t=>{o.loading(e("Updating termination status...")),d.put(route("hr.terminations.change-status",n.id),t,{onSuccess:r=>{w(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to update termination status: {{errors}}",{errors:Object.values(r).join(", ")}))}})},se=()=>{o.loading(e("Deleting termination...")),d.delete(route("hr.terminations.destroy",n.id),{onSuccess:t=>{_(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to delete termination: {{errors}}",{errors:Object.values(t).join(", ")}))}})},ne=()=>{j(""),T(""),D(""),P("all"),F(""),k(""),N(!1),d.get(route("hr.terminations.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},A=[];U(S,"create-terminations")&&A.push({label:e("Add Termination"),icon:a.jsx(ge,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>oe()});const le=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.terminations.index")},{title:e("Terminations")}],me=[{key:"employee.name",label:e("Employee"),render:(t,r)=>{var i,v,W,L,$;return a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=r.employee)!=null&&i.avatar?a.jsx("img",{src:r.employee.avatar,alt:(v=r.employee)==null?void 0:v.name,className:"h-full w-full object-cover"}):G(((W=r.employee)==null?void 0:W.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((L=r.employee)==null?void 0:L.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:(($=r.employee)==null?void 0:$.email)||""})]})]})}},{key:"termination_type",label:e("Type"),render:t=>t||"-"},{key:"termination_date",label:e("Termination Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"notice_date",label:e("Notice Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const r={planned:"bg-yellow-50 text-yellow-700 ring-yellow-600/20","in progress":"bg-blue-50 text-blue-700 ring-blue-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"documents",label:e("Documents"),render:(t,r)=>t&&t.trim()!==""?a.jsx("a",{href:ve(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:a.jsx(ye,{className:"h-4 w-4"})}):"-"}],pe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-terminations"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-terminations"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:["approve-terminations","reject-terminations"]},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-terminations"}],q=[{value:"",label:e("All Employees")},...(B||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],de=[{value:"",label:e("All Types")},...(H||[]).map(t=>({value:t,label:t}))],ce=[{value:"all",label:e("All Statuses")},{value:"planned",label:e("Planned")},{value:"in progress",label:e("In Progress")},{value:"completed",label:e("Completed")}],ue=[{value:"Voluntary",label:e("Voluntary")},{value:"Involuntary",label:e("Involuntary")},{value:"Layoff",label:e("Layoff")},{value:"Retirement",label:e("Retirement")},{value:"Contract Completion",label:e("Contract Completion")},{value:"Probation Failure",label:e("Probation Failure")},{value:"Misconduct",label:e("Misconduct")},{value:"Performance Issues",label:e("Performance Issues")}];return a.jsxs(fe,{title:e("Terminations"),url:"/hr/terminations",actions:A,breadcrumbs:le,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(je,{searchTerm:c,onSearchChange:j,onSearch:ee,filters:[...U(S,"manage-any-terminations")?[{name:"employee_id",label:e("Employee"),type:"select",value:u,onChange:T,options:q,searchable:!0}]:[],{name:"termination_type",label:e("Type"),type:"select",value:f,onChange:D,options:de},{name:"status",label:e("Status"),type:"select",value:p,onChange:P,options:ce},{name:"date_from",label:e("Date From"),type:"date",value:h,onChange:F},{name:"date_to",label:e("Date To"),type:"date",value:b,onChange:k}],showFilters:J,setShowFilters:N,hasActiveFilters:Y,activeFilterCount:Z,onResetFilters:ne,onApplyFilters:M,currentPerPage:((R=l.per_page)==null?void 0:R.toString())||"10",onPerPageChange:t=>{d.get(route("hr.terminations.index"),{page:1,per_page:parseInt(t),search:c||void 0,employee_id:u||void 0,termination_type:f||void 0,status:p!=="all"?p:void 0,date_from:h||void 0,date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(_e,{columns:me,actions:pe,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:re,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:te,permissions:S,entityPermissions:{view:"view-terminations",create:"create-terminations",edit:"edit-terminations",delete:"delete-terminations"}}),a.jsx(Ce,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("terminations"),onPageChange:t=>d.get(t)})]}),a.jsx(z,{isOpen:Q,onClose:()=>g(!1),onSubmit:ie,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:q.filter(t=>t.value!==""),searchable:!0},{name:"termination_type",label:e("Termination Type"),type:"select",required:!0,options:ue,searchable:!0},{name:"notice_date",label:e("Notice Date"),type:"date",required:!0},{name:"termination_date",label:e("Termination Date"),type:"date",required:!0},{name:"notice_period",label:e("Notice Period"),type:"text",placeholder:"e.g. 1 month, 2 weeks"},{name:"reason",label:e("Reason"),type:"text"},{name:"description",label:e("Description"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,r,i)=>a.jsx(xe,{value:String(r[t.name]||""),onChange:v=>i(t.name,v),placeholder:e("Select document file...")})},...y==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"planned",label:e("Planned")},{value:"in progress",label:e("In Progress")},{value:"completed",label:e("Completed")}]},{name:"exit_interview_conducted",label:e("Exit Interview Conducted"),type:"checkbox"},{name:"exit_interview_date",label:e("Exit Interview Date"),type:"date",showWhen:t=>t.exit_interview_conducted},{name:"exit_feedback",label:e("Exit Feedback"),type:"textarea",showWhen:t=>t.status==="completed"}]:[]],modalSize:"lg"},initialData:n?{...n,notice_date:n.notice_date?window.appSettings.formatDateTimeSimple(n.notice_date,!1):n.notice_date,termination_date:n.termination_date?window.appSettings.formatDateTimeSimple(n.termination_date,!1):n.termination_date}:null,title:e(y==="create"?"Add New Termination":"Edit Termination"),mode:y}),a.jsx(z,{isOpen:X,onClose:()=>w(!1),onSubmit:ae,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"planned",label:e("Planned")},{value:"in progress",label:e("In Progress")},{value:"completed",label:e("Completed")}],defaultValue:n==null?void 0:n.status},{name:"exit_interview_conducted",label:e("Exit Interview Conducted"),type:"checkbox",showWhen:t=>t.status==="completed"},{name:"exit_interview_date",label:e("Exit Interview Date"),type:"date",showWhen:t=>t.status==="completed"&&t.exit_interview_conducted},{name:"exit_feedback",label:e("Exit Feedback"),type:"textarea",showWhen:t=>t.status==="completed"}],modalSize:"md"},initialData:n,title:e("Change Termination Status"),mode:"edit"}),a.jsx(we,{isOpen:K,onClose:()=>_(!1),onConfirm:se,itemName:`${((V=n==null?void 0:n.employee)==null?void 0:V.name)||""}`,entityName:"termination"}),a.jsx(Se,{open:!!C,onOpenChange:()=>O(null),children:C&&a.jsx(Te,{termination:C})})]})}export{ho as default}; diff --git a/public/build/assets/index-D7EeyNZo.js b/public/build/assets/index-D7EeyNZo.js deleted file mode 100644 index d12a791b3..000000000 --- a/public/build/assets/index-D7EeyNZo.js +++ /dev/null @@ -1 +0,0 @@ -import{r as p,j as r}from"./ui-Z445SNHD.js";import{P as E}from"./page-template-BTxLyiDA.js";import{u as D,c as k,o as C,e as I}from"./app-CfhhiFAk.js";import{S as B}from"./scroll-area-Dxv7Ysgl.js";import{T as L}from"./toaster-Bc5RPjCT.js";import A from"./referral-dashboard-EJIXIPEg.js";import V from"./payout-requests-Bo6HO_ay.js";import Y from"./referral-settings-C9bquCXp.js";import z from"./referred-users-section-Cl-gSTeU.js";import{C as F}from"./chart-column-CXNcY9Vx.js";import{U as G}from"./users-C4LpG59H.js";import{D as H}from"./dollar-sign-DYXFWWsE.js";import{S as J}from"./settings-BwhyNRyj.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./trending-up-Bi4f72Tj.js";import"./award-DMMowKjz.js";import"./mail-CGIE7ZEy.js";import"./CrudTable-qPWooc10.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./pagination-D8A_HnL5.js";function qo(){const{t}=D(),{props:l}=k(),{userType:i,settings:n,stats:c,payoutRequests:g,referralLink:N,currencySymbol:a,globalSettings:w}=l,[y,s]=p.useState("dashboard"),v=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Referral Program")}],S=[{title:t("Dashboard"),href:"#dashboard",icon:r.jsx(F,{className:"h-4 w-4 mr-2"})},{title:t("Referred Users"),href:"#referred-users",icon:r.jsx(G,{className:"h-4 w-4 mr-2"})},{title:t("Payout Requests"),href:"#payout-requests",icon:r.jsx(H,{className:"h-4 w-4 mr-2"})},...i==="superadmin"?[{title:t("Settings"),href:"#settings",icon:r.jsx(J,{className:"h-4 w-4 mr-2"})}]:[]],f=p.useRef(null),d=p.useRef(null),u=p.useRef(null),h=p.useRef(null);p.useEffect(()=>{const o=()=>{var x,b,j,R;const e=window.scrollY+100;(x=f.current)!=null&&x.offsetTop;const U=((b=d.current)==null?void 0:b.offsetTop)||0,q=((j=u.current)==null?void 0:j.offsetTop)||0,T=((R=h.current)==null?void 0:R.offsetTop)||0;i==="superadmin"&&e>=T?s("settings"):e>=q?s("payout-requests"):e>=U?s("referred-users"):s("dashboard")};window.addEventListener("scroll",o);const m=window.location.hash.replace("#","");if(m){const e=document.getElementById(m);e&&(e.scrollIntoView({behavior:"smooth"}),s(m))}return()=>{window.removeEventListener("scroll",o)}},[i]);const P=o=>{const m=o.replace("#",""),e=document.getElementById(m);e&&(e.scrollIntoView({behavior:"smooth"}),s(m))};return r.jsxs(E,{breadcrumbs:v,title:t("Referral Program"),url:"/referral",children:[r.jsxs("div",{className:"flex flex-col md:flex-row gap-8",children:[r.jsx("div",{className:"md:w-64 flex-shrink-0",children:r.jsx("div",{className:"sticky top-20",children:r.jsx(B,{className:"h-[calc(100vh-5rem)]",children:r.jsx("div",{className:"pr-4 space-y-1",children:S.map(o=>r.jsxs(C,{variant:"ghost",className:I("w-full justify-start text-sm",{"bg-muted font-semibold":y===o.href.replace("#","")}),onClick:()=>P(o.href),children:[o.icon,o.title]},o.href))})})})}),r.jsxs("div",{className:"flex-1",children:[r.jsxs("section",{id:"dashboard",ref:f,className:"mb-8",children:[r.jsx("h2",{className:"text-xl font-semibold mb-4",children:t("Dashboard")}),r.jsx(A,{userType:i,stats:c,referralLink:N,recentReferredUsers:l.recentReferredUsers,currencySymbol:a})]}),r.jsxs("section",{id:"referred-users",ref:d,className:"mb-8",children:[r.jsx("h2",{className:"text-xl font-semibold mb-4",children:t("Referred Users")}),r.jsx(z,{referredUsers:l.referredUsers,userType:i,currencySymbol:a})]}),r.jsxs("section",{id:"payout-requests",ref:u,className:"mb-8",children:[r.jsx("h2",{className:"text-xl font-semibold mb-4",children:t("Payout Requests")}),r.jsx(V,{userType:i,payoutRequests:g,settings:n,stats:c,currencySymbol:a})]}),i==="superadmin"&&r.jsxs("section",{id:"settings",ref:h,className:"mb-8",children:[r.jsx("h2",{className:"text-xl font-semibold mb-4",children:t("Settings")}),r.jsx(Y,{settings:n,currencySymbol:a,globalSettings:w})]})]})]}),r.jsx(L,{})]})}export{qo as default}; diff --git a/public/build/assets/index-DrkH3Prc.js b/public/build/assets/index-D7lr0To6.js similarity index 60% rename from public/build/assets/index-DrkH3Prc.js rename to public/build/assets/index-D7lr0To6.js index 4f9084527..9e9260b59 100644 --- a/public/build/assets/index-DrkH3Prc.js +++ b/public/build/assets/index-D7lr0To6.js @@ -1 +1 @@ -import{r as n,j as o}from"./ui-Z445SNHD.js";import{P as G}from"./page-template-BTxLyiDA.js";import{u as J,c as K,x as L,P as W,B as X,r as m,t as s}from"./app-CfhhiFAk.js";import{C as Y}from"./CrudTable-qPWooc10.js";import{C as Z}from"./CrudFormModal-DAR9q-oM.js";import{C as ee}from"./CrudDeleteModal-CKTiD3_K.js";import{P as te}from"./pagination-D8A_HnL5.js";import{S as re}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Ir(){var F;const{t:e}=J(),{auth:h,trainingAssessments:i,trainingPrograms:N,filters:a={}}=K().props,b=(h==null?void 0:h.permissions)||[],[p,y]=n.useState(a.search||""),[l,v]=n.useState(a.training_program_id||""),[c,x]=n.useState(a.type||""),[A,S]=n.useState(!1),[k,f]=n.useState(!1),[D,u]=n.useState(!1),[d,P]=n.useState(null),[g,_]=n.useState("create"),O=()=>l!==""||c!==""||p!=="",q=()=>(l!==""?1:0)+(c!==""?1:0)+(p!==""?1:0),M=t=>{t.preventDefault(),C()},C=()=>{m.get(route("hr.training-assessments.index"),{page:1,search:p||void 0,training_program_id:l||void 0,type:c||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},E=t=>{const r=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";m.get(route("hr.training-assessments.index"),{sort_field:t,sort_direction:r,page:1,search:p||void 0,training_program_id:l||void 0,type:c||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},z=(t,r)=>{switch(P(r),t){case"view":m.get(route("hr.training-assessments.show",r.id));break;case"edit":_("edit"),u(!0);break;case"delete":f(!0);break}},R=()=>{P(null),_("create"),u(!0)},$=t=>{g==="create"?(s.loading(e("Creating assessment...")),m.post(route("hr.training-assessments.store"),t,{onSuccess:r=>{u(!1),s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error?s.error(e(r.props.flash.error)):s.success(e("Assessment created successfully"))},onError:r=>{s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to create assessment: ${Object.values(r).join(", ")}`)}})):g==="edit"&&(s.loading(e("Updating assessment...")),m.put(route("hr.training-assessments.update",d.id),t,{onSuccess:r=>{u(!1),s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error?s.error(e(r.props.flash.error)):s.success(e("Assessment updated successfully"))},onError:r=>{s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to update assessment: ${Object.values(r).join(", ")}`)}}))},B=()=>{s.loading(e("Deleting assessment...")),m.delete(route("hr.training-assessments.destroy",d.id),{onSuccess:t=>{f(!1),s.dismiss(),t.props.flash.success?s.success(e(t.props.flash.success)):t.props.flash.error?s.error(e(t.props.flash.error)):s.success(e("Assessment deleted successfully"))},onError:t=>{s.dismiss(),typeof t=="string"?s.error(t):s.error(`Failed to delete assessment: ${Object.values(t).join(", ")}`)}})},I=()=>{y(""),v(""),x(""),S(!1),m.get(route("hr.training-assessments.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},j=[];L(b,"manage-assessments")&&j.push({label:e("Add Assessment"),icon:o.jsx(W,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>R()});const V=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.training-assessments.index")},{title:e("Training Management"),href:route("hr.training-assessments.index")},{title:e("Training Assessments")}],Q=[{key:"name",label:e("Name"),sortable:!0,render:(t,r)=>{var w;return o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:t}),o.jsx("div",{className:"text-xs text-gray-500",children:((w=r.training_program)==null?void 0:w.name)||"-"})]})}},{key:"type",label:e("Type"),sortable:!0,render:t=>{const r={quiz:"bg-blue-50 text-blue-700 ring-blue-600/20",practical:"bg-green-50 text-green-700 ring-green-600/20",presentation:"bg-amber-50 text-amber-700 ring-amber-600/20"};return o.jsx(X,{className:`${r[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"passing_score",label:e("Passing Score"),sortable:!0,render:t=>`${t}%`},{key:"description",label:e("Description"),render:t=>t?o.jsx("div",{className:"max-w-xs truncate",children:t}):"-"},{key:"employee_results_count",label:e("Results"),render:t=>t||"0"}],U=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"manage-assessments"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"manage-assessments"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"manage-assessments"}],T=[{value:"",label:e("All Programs")},...(N||[]).map(t=>({value:t.id.toString(),label:t.name}))],H=[{value:"",label:e("All Types")},{value:"quiz",label:e("Quiz")},{value:"practical",label:e("Practical")},{value:"presentation",label:e("Presentation")}];return o.jsxs(G,{title:e("Training Assessments"),url:"/hr/training/assessments",actions:j,breadcrumbs:V,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(re,{searchTerm:p,onSearchChange:y,onSearch:M,filters:[{name:"training_program_id",label:e("Training Program"),type:"select",value:l,onChange:v,options:T},{name:"type",label:e("Assessment Type"),type:"select",value:c,onChange:x,options:H}],showFilters:A,setShowFilters:S,hasActiveFilters:O,activeFilterCount:q,onResetFilters:I,onApplyFilters:C,currentPerPage:((F=a.per_page)==null?void 0:F.toString())||"10",onPerPageChange:t=>{m.get(route("hr.training-assessments.index"),{page:1,per_page:parseInt(t),search:p||void 0,training_program_id:l||void 0,type:c||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(Y,{columns:Q,actions:U,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:z,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:E,permissions:b,entityPermissions:{view:"manage-assessments",create:"manage-assessments",edit:"manage-assessments",delete:"manage-assessments"}}),o.jsx(te,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("assessments"),onPageChange:t=>m.get(t)})]}),o.jsx(Z,{isOpen:D,onClose:()=>u(!1),onSubmit:$,formConfig:{fields:[{name:"training_program_id",label:e("Training Program"),type:"select",required:!0,options:T.filter(t=>t.value!=="")},{name:"name",label:e("Assessment Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"type",label:e("Assessment Type"),type:"select",required:!0,options:[{value:"quiz",label:e("Quiz")},{value:"practical",label:e("Practical")},{value:"presentation",label:e("Presentation")}]},{name:"passing_score",label:e("Passing Score (%)"),type:"number",required:!0,min:0,max:100,defaultValue:70},{name:"criteria",label:e("Assessment Criteria"),type:"textarea",helpText:e("Describe the criteria used to evaluate this assessment")}],modalSize:"lg"},initialData:d,title:e(g==="create"?"Add New Assessment":g==="edit"?"Edit Assessment":"View Assessment"),mode:g}),o.jsx(ee,{isOpen:k,onClose:()=>f(!1),onConfirm:B,itemName:(d==null?void 0:d.name)||"",entityName:"assessment"})]})}export{Ir as default}; +import{r as n,j as o}from"./ui-Z445SNHD.js";import{P as G}from"./page-template-CLNVC8w_.js";import{u as J,c as K,x as L,P as W,B as X,r as m,t as s}from"./app-Dya84jp7.js";import{C as Y}from"./CrudTable-yqxtM6E_.js";import{C as Z}from"./CrudFormModal-CsuqSfb2.js";import{C as ee}from"./CrudDeleteModal-D32N6I8y.js";import{P as te}from"./pagination-4PUepASD.js";import{S as re}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Ir(){var F;const{t:e}=J(),{auth:h,trainingAssessments:i,trainingPrograms:N,filters:a={}}=K().props,b=(h==null?void 0:h.permissions)||[],[p,y]=n.useState(a.search||""),[l,v]=n.useState(a.training_program_id||""),[c,x]=n.useState(a.type||""),[A,S]=n.useState(!1),[k,f]=n.useState(!1),[D,u]=n.useState(!1),[d,P]=n.useState(null),[g,_]=n.useState("create"),O=()=>l!==""||c!==""||p!=="",q=()=>(l!==""?1:0)+(c!==""?1:0)+(p!==""?1:0),M=t=>{t.preventDefault(),C()},C=()=>{m.get(route("hr.training-assessments.index"),{page:1,search:p||void 0,training_program_id:l||void 0,type:c||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},E=t=>{const r=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";m.get(route("hr.training-assessments.index"),{sort_field:t,sort_direction:r,page:1,search:p||void 0,training_program_id:l||void 0,type:c||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},z=(t,r)=>{switch(P(r),t){case"view":m.get(route("hr.training-assessments.show",r.id));break;case"edit":_("edit"),u(!0);break;case"delete":f(!0);break}},R=()=>{P(null),_("create"),u(!0)},$=t=>{g==="create"?(s.loading(e("Creating assessment...")),m.post(route("hr.training-assessments.store"),t,{onSuccess:r=>{u(!1),s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error?s.error(e(r.props.flash.error)):s.success(e("Assessment created successfully"))},onError:r=>{s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to create assessment: ${Object.values(r).join(", ")}`)}})):g==="edit"&&(s.loading(e("Updating assessment...")),m.put(route("hr.training-assessments.update",d.id),t,{onSuccess:r=>{u(!1),s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error?s.error(e(r.props.flash.error)):s.success(e("Assessment updated successfully"))},onError:r=>{s.dismiss(),typeof r=="string"?s.error(r):s.error(`Failed to update assessment: ${Object.values(r).join(", ")}`)}}))},B=()=>{s.loading(e("Deleting assessment...")),m.delete(route("hr.training-assessments.destroy",d.id),{onSuccess:t=>{f(!1),s.dismiss(),t.props.flash.success?s.success(e(t.props.flash.success)):t.props.flash.error?s.error(e(t.props.flash.error)):s.success(e("Assessment deleted successfully"))},onError:t=>{s.dismiss(),typeof t=="string"?s.error(t):s.error(`Failed to delete assessment: ${Object.values(t).join(", ")}`)}})},I=()=>{y(""),v(""),x(""),S(!1),m.get(route("hr.training-assessments.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},j=[];L(b,"manage-assessments")&&j.push({label:e("Add Assessment"),icon:o.jsx(W,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>R()});const V=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.training-assessments.index")},{title:e("Training Management"),href:route("hr.training-assessments.index")},{title:e("Training Assessments")}],Q=[{key:"name",label:e("Name"),sortable:!0,render:(t,r)=>{var w;return o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:t}),o.jsx("div",{className:"text-xs text-gray-500",children:((w=r.training_program)==null?void 0:w.name)||"-"})]})}},{key:"type",label:e("Type"),sortable:!0,render:t=>{const r={quiz:"bg-blue-50 text-blue-700 ring-blue-600/20",practical:"bg-green-50 text-green-700 ring-green-600/20",presentation:"bg-amber-50 text-amber-700 ring-amber-600/20"};return o.jsx(X,{className:`${r[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"passing_score",label:e("Passing Score"),sortable:!0,render:t=>`${t}%`},{key:"description",label:e("Description"),render:t=>t?o.jsx("div",{className:"max-w-xs truncate",children:t}):"-"},{key:"employee_results_count",label:e("Results"),render:t=>t||"0"}],U=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"manage-assessments"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"manage-assessments"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"manage-assessments"}],T=[{value:"",label:e("All Programs")},...(N||[]).map(t=>({value:t.id.toString(),label:t.name}))],H=[{value:"",label:e("All Types")},{value:"quiz",label:e("Quiz")},{value:"practical",label:e("Practical")},{value:"presentation",label:e("Presentation")}];return o.jsxs(G,{title:e("Training Assessments"),url:"/hr/training/assessments",actions:j,breadcrumbs:V,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(re,{searchTerm:p,onSearchChange:y,onSearch:M,filters:[{name:"training_program_id",label:e("Training Program"),type:"select",value:l,onChange:v,options:T},{name:"type",label:e("Assessment Type"),type:"select",value:c,onChange:x,options:H}],showFilters:A,setShowFilters:S,hasActiveFilters:O,activeFilterCount:q,onResetFilters:I,onApplyFilters:C,currentPerPage:((F=a.per_page)==null?void 0:F.toString())||"10",onPerPageChange:t=>{m.get(route("hr.training-assessments.index"),{page:1,per_page:parseInt(t),search:p||void 0,training_program_id:l||void 0,type:c||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(Y,{columns:Q,actions:U,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:z,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:E,permissions:b,entityPermissions:{view:"manage-assessments",create:"manage-assessments",edit:"manage-assessments",delete:"manage-assessments"}}),o.jsx(te,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("assessments"),onPageChange:t=>m.get(t)})]}),o.jsx(Z,{isOpen:D,onClose:()=>u(!1),onSubmit:$,formConfig:{fields:[{name:"training_program_id",label:e("Training Program"),type:"select",required:!0,options:T.filter(t=>t.value!=="")},{name:"name",label:e("Assessment Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"type",label:e("Assessment Type"),type:"select",required:!0,options:[{value:"quiz",label:e("Quiz")},{value:"practical",label:e("Practical")},{value:"presentation",label:e("Presentation")}]},{name:"passing_score",label:e("Passing Score (%)"),type:"number",required:!0,min:0,max:100,defaultValue:70},{name:"criteria",label:e("Assessment Criteria"),type:"textarea",helpText:e("Describe the criteria used to evaluate this assessment")}],modalSize:"lg"},initialData:d,title:e(g==="create"?"Add New Assessment":g==="edit"?"Edit Assessment":"View Assessment"),mode:g}),o.jsx(ee,{isOpen:k,onClose:()=>f(!1),onConfirm:B,itemName:(d==null?void 0:d.name)||"",entityName:"assessment"})]})}export{Ir as default}; diff --git a/public/build/assets/index-C6IQESMF.js b/public/build/assets/index-D81_-1V7.js similarity index 92% rename from public/build/assets/index-C6IQESMF.js rename to public/build/assets/index-D81_-1V7.js index 6d4578451..a28429897 100644 --- a/public/build/assets/index-C6IQESMF.js +++ b/public/build/assets/index-D81_-1V7.js @@ -1 +1 @@ -import{r as g,j as e}from"./ui-Z445SNHD.js";import{C as te}from"./CrudDeleteModal-CKTiD3_K.js";import{u as ae,c as ie,x as q,L as k,I as w,o as x,S as de,X as oe,r as f,t as i}from"./app-CfhhiFAk.js";import{P as le}from"./page-template-BTxLyiDA.js";import{P as ce}from"./pagination-D8A_HnL5.js";import{S as U,a as L,b as O,c as R,d as _}from"./select-BrY9osYp.js";import{T as ne}from"./textarea-kpRjGGLz.js";import{a as me,C as xe}from"./chevron-up-DepFp6b6.js";import{C as V}from"./clock-CwFdn-oy.js";import{S as B}from"./square-pen-bMHyT06o.js";import{L as K}from"./lock-By6rMOj7.js";import{T as X}from"./trash-2-C1NR_7Ss.js";import{C as he}from"./calendar-CfUpdaK5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./index-BdQq_4o_.js";function rs(){const{t:r}=ae(),{auth:C,meetingTypes:d,filters:l={},globalSettings:t}=ie().props,S=(C==null?void 0:C.permissions)||[],[v,A]=g.useState(l.search||""),[m,P]=g.useState(l.status||"all"),[G,D]=g.useState(!1),[N,F]=g.useState(null),[j,$]=g.useState("create"),[M,H]=g.useState(new Set),[c,h]=g.useState({name:"",description:"",color:"#000000",default_duration:15,status:"active"}),[o,b]=g.useState({}),E=()=>{h({name:"",description:"",color:"#000000",default_duration:15,status:"active"}),b({}),$("create"),F(null)},J=s=>{h({name:s.name||"",description:s.description||"",color:s.color||"#000000",default_duration:s.default_duration||15,status:s.status||"active"}),$("edit"),F(s),b({})},I=s=>{s.preventDefault(),Q()},Q=()=>{f.get(route("meetings.meeting-types.index"),{page:1,search:v||void 0,status:m!=="all"?m:void 0,per_page:l.per_page||10,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})},W=()=>{A(""),P("all"),f.get(route("meetings.meeting-types.index"),{page:1,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},Y=s=>{const a=l.sort_field===s&&l.sort_direction==="asc"?"desc":"asc";f.get(route("meetings.meeting-types.index"),{sort_field:s,sort_direction:a,page:1,search:v||void 0,status:m!=="all"?m:void 0,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},y=(s,a)=>{switch(F(a),s){case"edit":J(a),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":D(!0);break;case"toggle-status":ee(a);break}},Z=s=>{s.preventDefault(),b({}),j==="create"?(t!=null&&t.is_demo||i.loading(r("Creating meeting type...")),f.post(route("meetings.meeting-types.store"),c,{onSuccess:a=>{t!=null&&t.is_demo||i.dismiss(),a.props.flash.success?(i.success(r(a.props.flash.success)),E()):a.props.flash.error&&i.error(r(a.props.flash.error))},onError:a=>{t!=null&&t.is_demo||i.dismiss(),b(a),typeof a=="string"?i.error(a):i.error(r("Please check the form for errors"))}})):j==="edit"&&(t!=null&&t.is_demo||i.loading(r("Updating meeting type...")),f.put(route("meetings.meeting-types.update",N.id),c,{onSuccess:a=>{t!=null&&t.is_demo||i.dismiss(),a.props.flash.success?(i.success(r(a.props.flash.success)),E()):a.props.flash.error&&i.error(r(a.props.flash.error))},onError:a=>{t!=null&&t.is_demo||i.dismiss(),b(a),typeof a=="string"?i.error(a):i.error(r("Please check the form for errors"))}}))},T=()=>{t!=null&&t.is_demo||i.loading(r("Deleting meeting type...")),f.delete(route("meetings.meeting-types.destroy",N.id),{onSuccess:s=>{D(!1),t!=null&&t.is_demo||i.dismiss(),s.props.flash.success?i.success(r(s.props.flash.success)):s.props.flash.error&&i.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to delete meeting type: ${Object.values(s).join(", ")}`)}})},ee=s=>{const a=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||i.loading(`${r(a==="active"?"Activating":"Deactivating")} meeting type...`),f.put(route("meetings.meeting-types.toggle-status",s.id),{},{onSuccess:u=>{t!=null&&t.is_demo||i.dismiss(),u.props.flash.success?i.success(r(u.props.flash.success)):u.props.flash.error&&i.error(r(u.props.flash.error))},onError:u=>{t!=null&&t.is_demo||i.dismiss(),typeof u=="string"?i.error(u):i.error(`Failed to update meeting type status: ${Object.values(u).join(", ")}`)}})},se=s=>{const a=new Set(M);a.has(s)?a.delete(s):a.add(s),H(a)},re=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Meetings"),href:route("meetings.meeting-types.index")},{title:r("Meeting Types")}],p=q(S,"create-meeting-types"),n=q(S,"edit-meeting-types"),z=q(S,"delete-meeting-types");return e.jsxs(le,{title:r("Meeting Types"),description:"",url:"/meetings/meeting-types",breadcrumbs:re,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-3",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-4 rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"border-b border-gray-200 p-6 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(j==="create"?"Add New Meeting Type":"Edit Meeting Type")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r(j==="create"?"Fill in the details to create a new meeting type":"Update the meeting type details below")})]}),e.jsxs("form",{onSubmit:Z,className:"space-y-4 p-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{required:!0,htmlFor:"name",className:"required",children:r("Name")}),e.jsx(w,{id:"name",type:"text",value:c.name,onChange:s=>h({...c,name:s.target.value}),placeholder:r("e.g., Client Call, Team Sync"),className:o.name?"border-red-500":"",disabled:!p&&!n,required:!0}),o.name&&e.jsx("p",{className:"text-sm text-red-500",children:o.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{htmlFor:"description",children:r("Description")}),e.jsx(ne,{id:"description",value:c.description,onChange:s=>h({...c,description:s.target.value}),placeholder:r("Brief description of the meeting type"),rows:3,className:o.description?"border-red-500":"",disabled:!p&&!n}),o.description&&e.jsx("p",{className:"text-sm text-red-500",children:o.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{required:!0,htmlFor:"color",className:"required",children:r("Color")}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(w,{id:"color",type:"color",value:c.color,onChange:s=>h({...c,color:s.target.value}),className:`h-10 w-14 cursor-pointer p-1 ${o.color?"border-red-500":""}`,disabled:!p&&!n,required:!0}),e.jsx(w,{type:"text",value:c.color,onChange:s=>h({...c,color:s.target.value}),className:"flex-1 font-mono uppercase",disabled:!p&&!n,placeholder:"#000000",pattern:"^#[0-9A-Fa-f]{6}$",required:!0})]}),o.color&&e.jsx("p",{className:"text-sm text-red-500",children:o.color})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{required:!0,htmlFor:"default_duration",className:"required",children:r("Default Duration (minutes)")}),e.jsx(w,{id:"default_duration",type:"number",min:"15",max:"480",value:c.default_duration,onChange:s=>h({...c,default_duration:parseInt(s.target.value)||""}),className:o.default_duration?"border-red-500":"",disabled:!p&&!n,required:!0}),o.default_duration&&e.jsx("p",{className:"text-sm text-red-500",children:o.default_duration})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(U,{value:c.status,onValueChange:s=>h({...c,status:s}),disabled:!p&&!n,required:!0,children:[e.jsx(L,{className:o.status?"border-red-500":"",children:e.jsx(O,{placeholder:r("Select status")})}),e.jsxs(R,{children:[e.jsx(_,{value:"active",children:r("Active")}),e.jsx(_,{value:"inactive",children:r("Inactive")})]})]}),o.status&&e.jsx("p",{className:"text-sm text-red-500",children:o.status})]}),e.jsxs("div",{className:"flex items-center gap-3 border-t border-gray-200 pt-4 dark:border-gray-700",children:[(p||n)&&e.jsx(x,{type:"submit",className:"flex-1",children:r(j==="create"?"Add Meeting Type":"Update Meeting Type")}),j==="edit"&&e.jsx(x,{type:"button",variant:"outline",onClick:E,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"space-y-4 lg:col-span-2",children:[e.jsx("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(de,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-gray-400"}),e.jsx(w,{type:"text",placeholder:r("Search meeting types..."),value:v,onChange:s=>A(s.target.value),onKeyDown:s=>s.key==="Enter"&&I(s),className:"pl-10"})]}),e.jsx(x,{onClick:I,variant:"default",children:r("Search")}),(v||m!=="all")&&e.jsxs(x,{onClick:W,variant:"outline",children:[e.jsx(oe,{className:"mr-2 h-4 w-4"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:w-1/2",children:e.jsxs(U,{value:m,onValueChange:P,children:[e.jsx(L,{children:e.jsx(O,{placeholder:r("All Statuses")})}),e.jsxs(R,{children:[e.jsx(_,{value:"all",children:r("All Statuses")}),e.jsx(_,{value:"active",children:r("Active")}),e.jsx(_,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:((d==null?void 0:d.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"border-b border-gray-200 px-6 py-4 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Meeting Types")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r("Manage different types of meetings and their default durations.")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"cursor-pointer px-4 py-3 text-left text-xs font-medium tracking-wider text-gray-500 select-none dark:text-gray-300",onClick:()=>Y("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name"),l.sort_field==="name"?l.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Duration")}),e.jsx("th",{className:"px-3 py-3 text-center text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Meetings")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Actions")})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200 bg-white dark:divide-gray-700 dark:bg-gray-800",children:d.data.map(s=>e.jsxs("tr",{className:"transition-colors hover:bg-gray-50 dark:hover:bg-gray-700/50",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-start",children:[e.jsx("div",{className:"mt-1 h-4 w-4 flex-shrink-0 rounded-full border border-gray-200 shadow-sm",style:{backgroundColor:s.color}}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"mt-1 max-w-xs text-sm text-gray-500 dark:text-gray-400",children:[e.jsx("div",{className:M.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>se(s.id),className:"mt-1 inline-flex items-center text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:M.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(me,{className:"mr-1 h-3 w-3"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"mr-1 h-3 w-3"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4 text-sm whitespace-nowrap text-gray-500 dark:text-gray-400",children:e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(V,{className:"h-4 w-4 text-gray-400"}),s.default_duration," ",r("min")]})}),e.jsx("td",{className:"px-3 py-4 text-center",children:e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-gray-500/10 ring-inset dark:bg-gray-700 dark:text-gray-300 dark:ring-gray-400/20",children:s.meetings_count||0})}),e.jsx("td",{className:"px-3 py-4 whitespace-nowrap",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right text-sm font-medium whitespace-nowrap",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("edit",s),className:"h-8 w-8 p-0 text-amber-500 hover:bg-amber-50 hover:text-amber-600 dark:hover:bg-amber-900/20",title:r("Edit Meeting Type"),children:e.jsx(B,{className:"h-4 w-4"})}),n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500 hover:bg-orange-50 hover:text-orange-600 dark:hover:bg-orange-900/20":"text-green-600 hover:bg-green-50 hover:text-green-700 dark:hover:bg-green-900/20"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(K,{className:"h-4 w-4"})}),z&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("delete",s),className:"h-8 w-8 p-0 text-red-500 hover:bg-red-50 hover:text-red-600 dark:hover:bg-red-900/20",title:r("Delete Meeting Type"),children:e.jsx(X,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"space-y-4 p-4 lg:hidden",children:d.data.map(s=>e.jsxs("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"mb-3 flex items-start justify-between",children:[e.jsxs("div",{className:"flex gap-3",children:[e.jsx("div",{className:"mt-1 h-4 w-4 flex-shrink-0 rounded-full border border-gray-200 shadow-sm",style:{backgroundColor:s.color}}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"mt-1 line-clamp-2 text-sm text-gray-500 dark:text-gray-400",children:s.description})]})]}),e.jsxs("div",{className:"ml-4 flex justify-end gap-1",children:[n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(B,{className:"h-4 w-4"})}),n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(K,{className:"h-4 w-4"})}),z&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(X,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"mt-3 grid grid-cols-2 gap-4 border-t border-gray-100 pt-3 dark:border-gray-700",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Duration")}),e.jsxs("p",{className:"flex items-center gap-1.5 text-sm font-medium text-gray-900 dark:text-white",children:[e.jsx(V,{className:"h-3.5 w-3.5 text-gray-400"}),s.default_duration," min"]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Meetings")}),e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2.5 py-0.5 text-xs font-medium text-gray-600 ring-1 ring-gray-500/10 ring-inset dark:bg-gray-700 dark:text-gray-300",children:s.meetings_count||0})]}),e.jsxs("div",{className:"col-span-2",children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]})]},s.id))}),(d==null?void 0:d.total)>((d==null?void 0:d.per_page)||10)&&e.jsx("div",{className:"border-t border-gray-200 px-6 py-4 dark:border-gray-700",children:e.jsx(ce,{from:(d==null?void 0:d.from)||0,to:(d==null?void 0:d.to)||0,total:(d==null?void 0:d.total)||0,links:d==null?void 0:d.links,entityName:r("meeting types"),onPageChange:s=>{const a=new URL(s).searchParams.get("page");f.get(route("meetings.meeting-types.index"),{page:a,per_page:l.per_page||10,search:v||void 0,status:m!=="all"?m:void 0,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-gray-100 dark:bg-gray-700",children:e.jsx(he,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"mb-2 text-lg font-medium text-gray-900 dark:text-white",children:r("No meeting types found")}),e.jsx("p",{className:"mx-auto mb-6 max-w-sm text-gray-500 dark:text-gray-400",children:r(v||m!=="all"?"No meeting types match your search criteria. Try adjusting your filters.":"Create meeting types to categorize and set default durations for your team meetings.")}),!v&&m==="all"&&p&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first type.")})]})})]})]}),e.jsx(te,{isOpen:G,onClose:()=>D(!1),onConfirm:T,itemName:(N==null?void 0:N.name)||"",entityName:"meeting type"})]})}export{rs as default}; +import{r as g,j as e}from"./ui-Z445SNHD.js";import{C as te}from"./CrudDeleteModal-D32N6I8y.js";import{u as ae,c as ie,x as q,L as k,I as w,o as x,S as de,X as oe,r as f,t as i}from"./app-Dya84jp7.js";import{P as le}from"./page-template-CLNVC8w_.js";import{P as ce}from"./pagination-4PUepASD.js";import{S as U,a as L,b as O,c as R,d as _}from"./select-CHkpLxhL.js";import{T as ne}from"./textarea-yeg8ONhy.js";import{a as me,C as xe}from"./chevron-up-DHaGktre.js";import{C as V}from"./clock-LnEFQ-vK.js";import{S as B}from"./square-pen-CzdhbxyN.js";import{L as K}from"./lock-DaHvMEII.js";import{T as X}from"./trash-2-BeirBLIk.js";import{C as he}from"./calendar-DuRYaSj5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./index-BdQq_4o_.js";function rs(){const{t:r}=ae(),{auth:C,meetingTypes:d,filters:l={},globalSettings:t}=ie().props,S=(C==null?void 0:C.permissions)||[],[v,A]=g.useState(l.search||""),[m,P]=g.useState(l.status||"all"),[G,D]=g.useState(!1),[N,F]=g.useState(null),[j,$]=g.useState("create"),[M,H]=g.useState(new Set),[c,h]=g.useState({name:"",description:"",color:"#000000",default_duration:15,status:"active"}),[o,b]=g.useState({}),E=()=>{h({name:"",description:"",color:"#000000",default_duration:15,status:"active"}),b({}),$("create"),F(null)},J=s=>{h({name:s.name||"",description:s.description||"",color:s.color||"#000000",default_duration:s.default_duration||15,status:s.status||"active"}),$("edit"),F(s),b({})},I=s=>{s.preventDefault(),Q()},Q=()=>{f.get(route("meetings.meeting-types.index"),{page:1,search:v||void 0,status:m!=="all"?m:void 0,per_page:l.per_page||10,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})},W=()=>{A(""),P("all"),f.get(route("meetings.meeting-types.index"),{page:1,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},Y=s=>{const a=l.sort_field===s&&l.sort_direction==="asc"?"desc":"asc";f.get(route("meetings.meeting-types.index"),{sort_field:s,sort_direction:a,page:1,search:v||void 0,status:m!=="all"?m:void 0,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},y=(s,a)=>{switch(F(a),s){case"edit":J(a),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":D(!0);break;case"toggle-status":ee(a);break}},Z=s=>{s.preventDefault(),b({}),j==="create"?(t!=null&&t.is_demo||i.loading(r("Creating meeting type...")),f.post(route("meetings.meeting-types.store"),c,{onSuccess:a=>{t!=null&&t.is_demo||i.dismiss(),a.props.flash.success?(i.success(r(a.props.flash.success)),E()):a.props.flash.error&&i.error(r(a.props.flash.error))},onError:a=>{t!=null&&t.is_demo||i.dismiss(),b(a),typeof a=="string"?i.error(a):i.error(r("Please check the form for errors"))}})):j==="edit"&&(t!=null&&t.is_demo||i.loading(r("Updating meeting type...")),f.put(route("meetings.meeting-types.update",N.id),c,{onSuccess:a=>{t!=null&&t.is_demo||i.dismiss(),a.props.flash.success?(i.success(r(a.props.flash.success)),E()):a.props.flash.error&&i.error(r(a.props.flash.error))},onError:a=>{t!=null&&t.is_demo||i.dismiss(),b(a),typeof a=="string"?i.error(a):i.error(r("Please check the form for errors"))}}))},T=()=>{t!=null&&t.is_demo||i.loading(r("Deleting meeting type...")),f.delete(route("meetings.meeting-types.destroy",N.id),{onSuccess:s=>{D(!1),t!=null&&t.is_demo||i.dismiss(),s.props.flash.success?i.success(r(s.props.flash.success)):s.props.flash.error&&i.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to delete meeting type: ${Object.values(s).join(", ")}`)}})},ee=s=>{const a=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||i.loading(`${r(a==="active"?"Activating":"Deactivating")} meeting type...`),f.put(route("meetings.meeting-types.toggle-status",s.id),{},{onSuccess:u=>{t!=null&&t.is_demo||i.dismiss(),u.props.flash.success?i.success(r(u.props.flash.success)):u.props.flash.error&&i.error(r(u.props.flash.error))},onError:u=>{t!=null&&t.is_demo||i.dismiss(),typeof u=="string"?i.error(u):i.error(`Failed to update meeting type status: ${Object.values(u).join(", ")}`)}})},se=s=>{const a=new Set(M);a.has(s)?a.delete(s):a.add(s),H(a)},re=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Meetings"),href:route("meetings.meeting-types.index")},{title:r("Meeting Types")}],p=q(S,"create-meeting-types"),n=q(S,"edit-meeting-types"),z=q(S,"delete-meeting-types");return e.jsxs(le,{title:r("Meeting Types"),description:"",url:"/meetings/meeting-types",breadcrumbs:re,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-3",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-4 rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"border-b border-gray-200 p-6 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(j==="create"?"Add New Meeting Type":"Edit Meeting Type")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r(j==="create"?"Fill in the details to create a new meeting type":"Update the meeting type details below")})]}),e.jsxs("form",{onSubmit:Z,className:"space-y-4 p-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{required:!0,htmlFor:"name",className:"required",children:r("Name")}),e.jsx(w,{id:"name",type:"text",value:c.name,onChange:s=>h({...c,name:s.target.value}),placeholder:r("e.g., Client Call, Team Sync"),className:o.name?"border-red-500":"",disabled:!p&&!n,required:!0}),o.name&&e.jsx("p",{className:"text-sm text-red-500",children:o.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{htmlFor:"description",children:r("Description")}),e.jsx(ne,{id:"description",value:c.description,onChange:s=>h({...c,description:s.target.value}),placeholder:r("Brief description of the meeting type"),rows:3,className:o.description?"border-red-500":"",disabled:!p&&!n}),o.description&&e.jsx("p",{className:"text-sm text-red-500",children:o.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{required:!0,htmlFor:"color",className:"required",children:r("Color")}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(w,{id:"color",type:"color",value:c.color,onChange:s=>h({...c,color:s.target.value}),className:`h-10 w-14 cursor-pointer p-1 ${o.color?"border-red-500":""}`,disabled:!p&&!n,required:!0}),e.jsx(w,{type:"text",value:c.color,onChange:s=>h({...c,color:s.target.value}),className:"flex-1 font-mono uppercase",disabled:!p&&!n,placeholder:"#000000",pattern:"^#[0-9A-Fa-f]{6}$",required:!0})]}),o.color&&e.jsx("p",{className:"text-sm text-red-500",children:o.color})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{required:!0,htmlFor:"default_duration",className:"required",children:r("Default Duration (minutes)")}),e.jsx(w,{id:"default_duration",type:"number",min:"15",max:"480",value:c.default_duration,onChange:s=>h({...c,default_duration:parseInt(s.target.value)||""}),className:o.default_duration?"border-red-500":"",disabled:!p&&!n,required:!0}),o.default_duration&&e.jsx("p",{className:"text-sm text-red-500",children:o.default_duration})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(k,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(U,{value:c.status,onValueChange:s=>h({...c,status:s}),disabled:!p&&!n,required:!0,children:[e.jsx(L,{className:o.status?"border-red-500":"",children:e.jsx(O,{placeholder:r("Select status")})}),e.jsxs(R,{children:[e.jsx(_,{value:"active",children:r("Active")}),e.jsx(_,{value:"inactive",children:r("Inactive")})]})]}),o.status&&e.jsx("p",{className:"text-sm text-red-500",children:o.status})]}),e.jsxs("div",{className:"flex items-center gap-3 border-t border-gray-200 pt-4 dark:border-gray-700",children:[(p||n)&&e.jsx(x,{type:"submit",className:"flex-1",children:r(j==="create"?"Add Meeting Type":"Update Meeting Type")}),j==="edit"&&e.jsx(x,{type:"button",variant:"outline",onClick:E,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"space-y-4 lg:col-span-2",children:[e.jsx("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(de,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-gray-400"}),e.jsx(w,{type:"text",placeholder:r("Search meeting types..."),value:v,onChange:s=>A(s.target.value),onKeyDown:s=>s.key==="Enter"&&I(s),className:"pl-10"})]}),e.jsx(x,{onClick:I,variant:"default",children:r("Search")}),(v||m!=="all")&&e.jsxs(x,{onClick:W,variant:"outline",children:[e.jsx(oe,{className:"mr-2 h-4 w-4"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:w-1/2",children:e.jsxs(U,{value:m,onValueChange:P,children:[e.jsx(L,{children:e.jsx(O,{placeholder:r("All Statuses")})}),e.jsxs(R,{children:[e.jsx(_,{value:"all",children:r("All Statuses")}),e.jsx(_,{value:"active",children:r("Active")}),e.jsx(_,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm dark:border-gray-700 dark:bg-gray-800",children:((d==null?void 0:d.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"border-b border-gray-200 px-6 py-4 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Meeting Types")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:r("Manage different types of meetings and their default durations.")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"cursor-pointer px-4 py-3 text-left text-xs font-medium tracking-wider text-gray-500 select-none dark:text-gray-300",onClick:()=>Y("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name"),l.sort_field==="name"?l.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Duration")}),e.jsx("th",{className:"px-3 py-3 text-center text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Meetings")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium tracking-wider text-gray-500 dark:text-gray-300",children:r("Actions")})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200 bg-white dark:divide-gray-700 dark:bg-gray-800",children:d.data.map(s=>e.jsxs("tr",{className:"transition-colors hover:bg-gray-50 dark:hover:bg-gray-700/50",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-start",children:[e.jsx("div",{className:"mt-1 h-4 w-4 flex-shrink-0 rounded-full border border-gray-200 shadow-sm",style:{backgroundColor:s.color}}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"mt-1 max-w-xs text-sm text-gray-500 dark:text-gray-400",children:[e.jsx("div",{className:M.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>se(s.id),className:"mt-1 inline-flex items-center text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:M.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(me,{className:"mr-1 h-3 w-3"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"mr-1 h-3 w-3"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4 text-sm whitespace-nowrap text-gray-500 dark:text-gray-400",children:e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(V,{className:"h-4 w-4 text-gray-400"}),s.default_duration," ",r("min")]})}),e.jsx("td",{className:"px-3 py-4 text-center",children:e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-gray-500/10 ring-inset dark:bg-gray-700 dark:text-gray-300 dark:ring-gray-400/20",children:s.meetings_count||0})}),e.jsx("td",{className:"px-3 py-4 whitespace-nowrap",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right text-sm font-medium whitespace-nowrap",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("edit",s),className:"h-8 w-8 p-0 text-amber-500 hover:bg-amber-50 hover:text-amber-600 dark:hover:bg-amber-900/20",title:r("Edit Meeting Type"),children:e.jsx(B,{className:"h-4 w-4"})}),n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500 hover:bg-orange-50 hover:text-orange-600 dark:hover:bg-orange-900/20":"text-green-600 hover:bg-green-50 hover:text-green-700 dark:hover:bg-green-900/20"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(K,{className:"h-4 w-4"})}),z&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("delete",s),className:"h-8 w-8 p-0 text-red-500 hover:bg-red-50 hover:text-red-600 dark:hover:bg-red-900/20",title:r("Delete Meeting Type"),children:e.jsx(X,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"space-y-4 p-4 lg:hidden",children:d.data.map(s=>e.jsxs("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800",children:[e.jsxs("div",{className:"mb-3 flex items-start justify-between",children:[e.jsxs("div",{className:"flex gap-3",children:[e.jsx("div",{className:"mt-1 h-4 w-4 flex-shrink-0 rounded-full border border-gray-200 shadow-sm",style:{backgroundColor:s.color}}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"mt-1 line-clamp-2 text-sm text-gray-500 dark:text-gray-400",children:s.description})]})]}),e.jsxs("div",{className:"ml-4 flex justify-end gap-1",children:[n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(B,{className:"h-4 w-4"})}),n&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(K,{className:"h-4 w-4"})}),z&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>y("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(X,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"mt-3 grid grid-cols-2 gap-4 border-t border-gray-100 pt-3 dark:border-gray-700",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Duration")}),e.jsxs("p",{className:"flex items-center gap-1.5 text-sm font-medium text-gray-900 dark:text-white",children:[e.jsx(V,{className:"h-3.5 w-3.5 text-gray-400"}),s.default_duration," min"]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Meetings")}),e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2.5 py-0.5 text-xs font-medium text-gray-600 ring-1 ring-gray-500/10 ring-inset dark:bg-gray-700 dark:text-gray-300",children:s.meetings_count||0})]}),e.jsxs("div",{className:"col-span-2",children:[e.jsx("p",{className:"mb-1 text-xs text-gray-500 dark:text-gray-400",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]})]},s.id))}),(d==null?void 0:d.total)>((d==null?void 0:d.per_page)||10)&&e.jsx("div",{className:"border-t border-gray-200 px-6 py-4 dark:border-gray-700",children:e.jsx(ce,{from:(d==null?void 0:d.from)||0,to:(d==null?void 0:d.to)||0,total:(d==null?void 0:d.total)||0,links:d==null?void 0:d.links,entityName:r("meeting types"),onPageChange:s=>{const a=new URL(s).searchParams.get("page");f.get(route("meetings.meeting-types.index"),{page:a,per_page:l.per_page||10,search:v||void 0,status:m!=="all"?m:void 0,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-gray-100 dark:bg-gray-700",children:e.jsx(he,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"mb-2 text-lg font-medium text-gray-900 dark:text-white",children:r("No meeting types found")}),e.jsx("p",{className:"mx-auto mb-6 max-w-sm text-gray-500 dark:text-gray-400",children:r(v||m!=="all"?"No meeting types match your search criteria. Try adjusting your filters.":"Create meeting types to categorize and set default durations for your team meetings.")}),!v&&m==="all"&&p&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first type.")})]})})]})]}),e.jsx(te,{isOpen:G,onClose:()=>D(!1),onConfirm:T,itemName:(N==null?void 0:N.name)||"",entityName:"meeting type"})]})}export{rs as default}; diff --git a/public/build/assets/index-DymbFq2j.js b/public/build/assets/index-D8Y4pbO2.js similarity index 72% rename from public/build/assets/index-DymbFq2j.js rename to public/build/assets/index-D8Y4pbO2.js index 801d139a7..f1c6cf64d 100644 --- a/public/build/assets/index-DymbFq2j.js +++ b/public/build/assets/index-D8Y4pbO2.js @@ -1 +1 @@ -import{r as l,j as o}from"./ui-Z445SNHD.js";import{P as be}from"./page-template-BTxLyiDA.js";import{u as ye,c as _e,x as H,P as ve,B as L,o as xe,r as m,M as Se,t as s}from"./app-CfhhiFAk.js";import{C as we}from"./CrudTable-qPWooc10.js";import{C as G}from"./CrudFormModal-DAR9q-oM.js";import{C as je}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Ce}from"./pagination-D8A_HnL5.js";import{S as Pe}from"./search-and-filter-bar-6Pp-FsiR.js";import{u as ke}from"./use-initials-BK4eRgYY.js";import{C as Ae}from"./chart-no-axes-column-increasing-B7MqdTh5.js";import{U as De}from"./user-plus-DXHdW4q-.js";import{D as Fe}from"./download-Bk1k2_dW.js";import{f as J}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function hi(){var R,V,W;const{t:e}=ye(),{auth:S,employeeTrainings:a,employees:K,trainingPrograms:Q,filters:n={}}=_e().props,w=(S==null?void 0:S.permissions)||[],X=ke(),[c,A]=l.useState(n.search||""),[g,D]=l.useState(n.employee_id||""),[u,F]=l.useState(n.training_program_id||""),[f,N]=l.useState(n.status||""),[h,E]=l.useState(n.assigned_date_from||""),[b,M]=l.useState(n.assigned_date_to||""),[Y,O]=l.useState(!1),[Z,j]=l.useState(!1),[ee,y]=l.useState(!1),[te,C]=l.useState(!1),[d,T]=l.useState(null),[_,B]=l.useState("create"),re=()=>g!==""||u!==""||f!==""||h!==""||b!==""||c!=="",ie=()=>(g!==""?1:0)+(u!==""?1:0)+(f!==""?1:0)+(h!==""?1:0)+(b!==""?1:0)+(c!==""?1:0),se=t=>{t.preventDefault(),q()},oe=()=>{m.get(route("hr.employee-trainings.dashboard"))},q=()=>{m.get(route("hr.employee-trainings.index"),{page:1,search:c||void 0,employee_id:g||void 0,training_program_id:u||void 0,status:f||void 0,assigned_date_from:h||void 0,assigned_date_to:b||void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},ae=t=>{const r=n.sort_field===t&&n.sort_direction==="asc"?"desc":"asc";m.get(route("hr.employee-trainings.index"),{sort_field:t,sort_direction:r,page:1,search:c||void 0,employee_id:g||void 0,training_program_id:u||void 0,status:f||void 0,assigned_date_from:h||void 0,assigned_date_to:b||void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},I=(t,r)=>{switch(T(r),t){case"view":m.get(route("hr.employee-trainings.show",r.id),{},{onSuccess:i=>{var p;(p=i.props.flash)!=null&&p.error&&s.error(e(i.props.flash.error))},onError:i=>{typeof i=="string"?s.error(e(i)):i.message?s.error(e(i.message)):s.error(e("Failed to load training details"))}});break;case"edit":B("edit"),y(!0);break;case"delete":j(!0);break;case"download-certification":window.open(route("hr.employee-trainings.download-certification",r.id),"_blank");break}},ne=()=>{T(null),B("create"),y(!0)},le=()=>{C(!0)},me=t=>{const r=t;_==="create"?(s.loading(e("Assigning training...")),m.post(route("hr.employee-trainings.store"),r,{onSuccess:i=>{y(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to assign training: {{errors}}",{errors:Object.values(i).join(", ")}))}})):_==="edit"&&(s.loading(e("Updating training...")),m.put(route("hr.employee-trainings.update",d.id),r,{onSuccess:i=>{y(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to update training: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},pe=t=>{s.loading(e("Assigning training to employees...")),m.post(route("hr.employee-trainings.bulk-assign"),t,{onSuccess:r=>{C(!1),s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{s.dismiss(),typeof r=="string"?s.error(e(r)):s.error(e("Failed to assign training: {{errors}}",{errors:Object.values(r).join(", ")}))}})},de=()=>{s.loading(e("Deleting training assignment...")),m.delete(route("hr.employee-trainings.destroy",d.id),{onSuccess:t=>{j(!1),s.dismiss(),t.props.flash.success?s.success(e(t.props.flash.success)):t.props.flash.error&&s.error(e(t.props.flash.error))},onError:t=>{s.dismiss(),typeof t=="string"?s.error(e(t)):s.error(e("Failed to delete training assignment: {{errors}}",{errors:Object.values(t).join(", ")}))}})},ce=()=>{A(""),D(""),F(""),N(""),E(""),M(""),O(!1),m.get(route("hr.employee-trainings.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},x=[];x.push({label:e("Dashboard"),icon:o.jsx(Ae,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:oe}),H(w,"create-employee-trainings")&&x.push({label:e("Bulk Assign"),icon:o.jsx(De,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:le}),H(w,"create-employee-trainings")&&x.push({label:e("Assign Training"),icon:o.jsx(ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ne()});const ge=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.employee-trainings.index")},{title:e("Training Management"),href:route("hr.employee-trainings.index")},{title:e("Employee Trainings")}],ue=[{key:"employee",label:e("Employee"),sortable:!1,sortField:"employee_name",render:(t,r)=>{var i,p,v,U,$,z;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=r.employee)!=null&&i.avatar?o.jsx("img",{src:r.employee.avatar,alt:(p=r.employee)==null?void 0:p.name,className:"h-full w-full object-cover"}):X(((v=r.employee)==null?void 0:v.name)||"")}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((U=r.employee)==null?void 0:U.name)||"-"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:((z=($=r.employee)==null?void 0:$.employee)==null?void 0:z.employee_id)||"-"})]})]})}},{key:"program",label:e("Training Program"),sortable:!1,sortField:"program_name",render:(t,r)=>{var i,p,v;return o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((i=r.training_program)==null?void 0:i.name)||"-"}),o.jsx("div",{className:"text-xs text-gray-500",children:((v=(p=r.training_program)==null?void 0:p.training_type)==null?void 0:v.name)||"-"})]})}},{key:"status",label:e("Status"),sortable:!0,render:t=>{const r={assigned:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",failed:"bg-red-50 text-red-700 ring-red-600/20"},i={assigned:e("Assigned"),in_progress:e("In Progress"),completed:e("Completed"),failed:e("Failed")};return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[t]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:i[t]||t})}},{key:"assigned_date",label:e("Assigned Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||J(new Date(t),"MMM dd, yyyy"):"-"}},{key:"completion_date",label:e("Completion Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||J(new Date(t),"MMM dd, yyyy"):"-"}},{key:"score",label:e("Score"),sortable:!0,render:t=>t!==null?`${t}%`:"-"},{key:"is_passed",label:e("Result"),render:t=>t===null?"-":t?o.jsx(L,{variant:"outline",className:"bg-green-50 text-green-700",children:e("Passed")}):o.jsx(L,{variant:"outline",className:"bg-red-50 text-red-700",children:e("Failed")})},{key:"assessment_results_count",label:e("Assessments"),render:t=>t||"0"},{key:"certification",label:e("Certificate"),render:(t,r)=>t&&t.trim()!==""?o.jsxs(xe,{variant:"outline",size:"sm",className:"flex items-center text-blue-500",onClick:i=>{i.stopPropagation(),I("download-certification",r)},children:[o.jsx(Fe,{className:"h-4 w-4 mr-1"}),e("Download")]}):"-"}],fe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-trainings"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-trainings"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-trainings"}],P=[{value:"",label:e("All Employees"),disabled:!0},...(K||[]).map(t=>({value:t.id.toString(),label:t.name}))],k=[{value:"",label:e("All Programs"),disabled:!0},...(Q||[]).map(t=>({value:t.id.toString(),label:t.name}))],he=[{value:"",label:e("All Statuses")},{value:"assigned",label:e("Assigned")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"failed",label:e("Failed")}];return o.jsxs(be,{title:e("Employee Trainings"),url:"/hr/training/employee-trainings",actions:x,breadcrumbs:ge,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(Pe,{searchTerm:c,onSearchChange:A,onSearch:se,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:g,onChange:D,options:P,searchable:!0},{name:"training_program_id",label:e("Training Program"),type:"select",value:u,onChange:F,options:k,searchable:!0},{name:"status",label:e("Status"),type:"select",value:f,onChange:N,options:he},{name:"assigned_date_from",label:e("Assigned From"),type:"date",value:h,onChange:E},{name:"assigned_date_to",label:e("Assigned To"),type:"date",value:b,onChange:M}],showFilters:Y,setShowFilters:O,hasActiveFilters:re,activeFilterCount:ie,onResetFilters:ce,onApplyFilters:q,currentPerPage:((R=n.per_page)==null?void 0:R.toString())||"10",onPerPageChange:t=>{m.get(route("hr.employee-trainings.index"),{page:1,per_page:parseInt(t),search:c||void 0,employee_id:g||void 0,training_program_id:u||void 0,status:f||void 0,assigned_date_from:h||void 0,assigned_date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(we,{columns:ue,actions:fe,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:I,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:ae,permissions:w,entityPermissions:{view:"view-employee-trainings",create:"create-employee-trainings",edit:"edit-employee-trainings",delete:"delete-employee-trainings"}}),o.jsx(Ce,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("employee trainings"),onPageChange:t=>m.get(t)})]}),o.jsx(G,{isOpen:ee,onClose:()=>y(!1),onSubmit:me,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:P.filter(t=>t.value!==""),searchable:!0},{name:"training_program_id",label:e("Training Program"),type:"select",required:!0,options:k.filter(t=>t.value!==""),searchable:!0},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"assigned",label:e("Assigned")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"failed",label:e("Failed")}]},{name:"assigned_date",label:e("Assigned Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"completion_date",label:e("Completion Date"),type:"date",showWhen:t=>["completed","failed"].includes(t.status)},{name:"certification",label:e("Certification"),type:"custom",render:(t,r,i)=>o.jsx(Se,{value:String(r[t.name]||""),onChange:p=>i(t.name,p),placeholder:e("Select certification file...")}),helpText:e("Upload certification file (max 5MB)"),showWhen:t=>t.status==="completed"},{name:"score",label:e("Score (%)"),type:"number",min:0,max:100,step:.01,showWhen:t=>["completed","failed"].includes(t.status)},{name:"is_passed",label:e("Passed"),type:"checkbox",showWhen:t=>["completed","failed"].includes(t.status)},{name:"feedback",label:e("Feedback"),type:"textarea",showWhen:t=>["completed","failed"].includes(t.status)},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"lg"},initialData:d,title:e(_==="create"?"Assign Training":_==="edit"?"Edit Training Assignment":"View Training Assignment"),mode:_}),o.jsx(G,{isOpen:te,onClose:()=>C(!1),onSubmit:pe,formConfig:{fields:[{name:"employee_ids",label:e("Employees"),type:"multi-select",required:!0,options:P.filter(t=>t.value!=="")},{name:"training_program_id",label:e("Training Program"),type:"select",required:!0,options:k.filter(t=>t.value!=="")},{name:"assigned_date",label:e("Assigned Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"lg"},initialData:{},title:e("Bulk Assign Training"),mode:"create"}),o.jsx(je,{isOpen:Z,onClose:()=>j(!1),onConfirm:de,itemName:`${((V=d==null?void 0:d.employee)==null?void 0:V.name)||""} - ${((W=d==null?void 0:d.training_program)==null?void 0:W.name)||""}`,entityName:"training assignment"})]})}export{hi as default}; +import{r as l,j as o}from"./ui-Z445SNHD.js";import{P as be}from"./page-template-CLNVC8w_.js";import{u as ye,c as _e,x as H,P as ve,B as L,o as xe,r as m,M as Se,t as s}from"./app-Dya84jp7.js";import{C as we}from"./CrudTable-yqxtM6E_.js";import{C as G}from"./CrudFormModal-CsuqSfb2.js";import{C as je}from"./CrudDeleteModal-D32N6I8y.js";import{P as Ce}from"./pagination-4PUepASD.js";import{S as Pe}from"./search-and-filter-bar-DWH0yn_r.js";import{u as ke}from"./use-initials-BK4eRgYY.js";import{C as Ae}from"./chart-no-axes-column-increasing-DGWtPhLs.js";import{U as De}from"./user-plus-BpaQ3zuJ.js";import{D as Fe}from"./download-BBNmalxc.js";import{f as J}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function hi(){var R,V,W;const{t:e}=ye(),{auth:S,employeeTrainings:a,employees:K,trainingPrograms:Q,filters:n={}}=_e().props,w=(S==null?void 0:S.permissions)||[],X=ke(),[c,A]=l.useState(n.search||""),[g,D]=l.useState(n.employee_id||""),[u,F]=l.useState(n.training_program_id||""),[f,N]=l.useState(n.status||""),[h,E]=l.useState(n.assigned_date_from||""),[b,M]=l.useState(n.assigned_date_to||""),[Y,O]=l.useState(!1),[Z,j]=l.useState(!1),[ee,y]=l.useState(!1),[te,C]=l.useState(!1),[d,T]=l.useState(null),[_,B]=l.useState("create"),re=()=>g!==""||u!==""||f!==""||h!==""||b!==""||c!=="",ie=()=>(g!==""?1:0)+(u!==""?1:0)+(f!==""?1:0)+(h!==""?1:0)+(b!==""?1:0)+(c!==""?1:0),se=t=>{t.preventDefault(),q()},oe=()=>{m.get(route("hr.employee-trainings.dashboard"))},q=()=>{m.get(route("hr.employee-trainings.index"),{page:1,search:c||void 0,employee_id:g||void 0,training_program_id:u||void 0,status:f||void 0,assigned_date_from:h||void 0,assigned_date_to:b||void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},ae=t=>{const r=n.sort_field===t&&n.sort_direction==="asc"?"desc":"asc";m.get(route("hr.employee-trainings.index"),{sort_field:t,sort_direction:r,page:1,search:c||void 0,employee_id:g||void 0,training_program_id:u||void 0,status:f||void 0,assigned_date_from:h||void 0,assigned_date_to:b||void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},I=(t,r)=>{switch(T(r),t){case"view":m.get(route("hr.employee-trainings.show",r.id),{},{onSuccess:i=>{var p;(p=i.props.flash)!=null&&p.error&&s.error(e(i.props.flash.error))},onError:i=>{typeof i=="string"?s.error(e(i)):i.message?s.error(e(i.message)):s.error(e("Failed to load training details"))}});break;case"edit":B("edit"),y(!0);break;case"delete":j(!0);break;case"download-certification":window.open(route("hr.employee-trainings.download-certification",r.id),"_blank");break}},ne=()=>{T(null),B("create"),y(!0)},le=()=>{C(!0)},me=t=>{const r=t;_==="create"?(s.loading(e("Assigning training...")),m.post(route("hr.employee-trainings.store"),r,{onSuccess:i=>{y(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to assign training: {{errors}}",{errors:Object.values(i).join(", ")}))}})):_==="edit"&&(s.loading(e("Updating training...")),m.put(route("hr.employee-trainings.update",d.id),r,{onSuccess:i=>{y(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to update training: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},pe=t=>{s.loading(e("Assigning training to employees...")),m.post(route("hr.employee-trainings.bulk-assign"),t,{onSuccess:r=>{C(!1),s.dismiss(),r.props.flash.success?s.success(e(r.props.flash.success)):r.props.flash.error&&s.error(e(r.props.flash.error))},onError:r=>{s.dismiss(),typeof r=="string"?s.error(e(r)):s.error(e("Failed to assign training: {{errors}}",{errors:Object.values(r).join(", ")}))}})},de=()=>{s.loading(e("Deleting training assignment...")),m.delete(route("hr.employee-trainings.destroy",d.id),{onSuccess:t=>{j(!1),s.dismiss(),t.props.flash.success?s.success(e(t.props.flash.success)):t.props.flash.error&&s.error(e(t.props.flash.error))},onError:t=>{s.dismiss(),typeof t=="string"?s.error(e(t)):s.error(e("Failed to delete training assignment: {{errors}}",{errors:Object.values(t).join(", ")}))}})},ce=()=>{A(""),D(""),F(""),N(""),E(""),M(""),O(!1),m.get(route("hr.employee-trainings.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},x=[];x.push({label:e("Dashboard"),icon:o.jsx(Ae,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:oe}),H(w,"create-employee-trainings")&&x.push({label:e("Bulk Assign"),icon:o.jsx(De,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:le}),H(w,"create-employee-trainings")&&x.push({label:e("Assign Training"),icon:o.jsx(ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ne()});const ge=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.employee-trainings.index")},{title:e("Training Management"),href:route("hr.employee-trainings.index")},{title:e("Employee Trainings")}],ue=[{key:"employee",label:e("Employee"),sortable:!1,sortField:"employee_name",render:(t,r)=>{var i,p,v,U,$,z;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=r.employee)!=null&&i.avatar?o.jsx("img",{src:r.employee.avatar,alt:(p=r.employee)==null?void 0:p.name,className:"h-full w-full object-cover"}):X(((v=r.employee)==null?void 0:v.name)||"")}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((U=r.employee)==null?void 0:U.name)||"-"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:((z=($=r.employee)==null?void 0:$.employee)==null?void 0:z.employee_id)||"-"})]})]})}},{key:"program",label:e("Training Program"),sortable:!1,sortField:"program_name",render:(t,r)=>{var i,p,v;return o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((i=r.training_program)==null?void 0:i.name)||"-"}),o.jsx("div",{className:"text-xs text-gray-500",children:((v=(p=r.training_program)==null?void 0:p.training_type)==null?void 0:v.name)||"-"})]})}},{key:"status",label:e("Status"),sortable:!0,render:t=>{const r={assigned:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",failed:"bg-red-50 text-red-700 ring-red-600/20"},i={assigned:e("Assigned"),in_progress:e("In Progress"),completed:e("Completed"),failed:e("Failed")};return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[t]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:i[t]||t})}},{key:"assigned_date",label:e("Assigned Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||J(new Date(t),"MMM dd, yyyy"):"-"}},{key:"completion_date",label:e("Completion Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||J(new Date(t),"MMM dd, yyyy"):"-"}},{key:"score",label:e("Score"),sortable:!0,render:t=>t!==null?`${t}%`:"-"},{key:"is_passed",label:e("Result"),render:t=>t===null?"-":t?o.jsx(L,{variant:"outline",className:"bg-green-50 text-green-700",children:e("Passed")}):o.jsx(L,{variant:"outline",className:"bg-red-50 text-red-700",children:e("Failed")})},{key:"assessment_results_count",label:e("Assessments"),render:t=>t||"0"},{key:"certification",label:e("Certificate"),render:(t,r)=>t&&t.trim()!==""?o.jsxs(xe,{variant:"outline",size:"sm",className:"flex items-center text-blue-500",onClick:i=>{i.stopPropagation(),I("download-certification",r)},children:[o.jsx(Fe,{className:"h-4 w-4 mr-1"}),e("Download")]}):"-"}],fe=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-trainings"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-trainings"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-trainings"}],P=[{value:"",label:e("All Employees"),disabled:!0},...(K||[]).map(t=>({value:t.id.toString(),label:t.name}))],k=[{value:"",label:e("All Programs"),disabled:!0},...(Q||[]).map(t=>({value:t.id.toString(),label:t.name}))],he=[{value:"",label:e("All Statuses")},{value:"assigned",label:e("Assigned")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"failed",label:e("Failed")}];return o.jsxs(be,{title:e("Employee Trainings"),url:"/hr/training/employee-trainings",actions:x,breadcrumbs:ge,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(Pe,{searchTerm:c,onSearchChange:A,onSearch:se,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:g,onChange:D,options:P,searchable:!0},{name:"training_program_id",label:e("Training Program"),type:"select",value:u,onChange:F,options:k,searchable:!0},{name:"status",label:e("Status"),type:"select",value:f,onChange:N,options:he},{name:"assigned_date_from",label:e("Assigned From"),type:"date",value:h,onChange:E},{name:"assigned_date_to",label:e("Assigned To"),type:"date",value:b,onChange:M}],showFilters:Y,setShowFilters:O,hasActiveFilters:re,activeFilterCount:ie,onResetFilters:ce,onApplyFilters:q,currentPerPage:((R=n.per_page)==null?void 0:R.toString())||"10",onPerPageChange:t=>{m.get(route("hr.employee-trainings.index"),{page:1,per_page:parseInt(t),search:c||void 0,employee_id:g||void 0,training_program_id:u||void 0,status:f||void 0,assigned_date_from:h||void 0,assigned_date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(we,{columns:ue,actions:fe,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:I,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:ae,permissions:w,entityPermissions:{view:"view-employee-trainings",create:"create-employee-trainings",edit:"edit-employee-trainings",delete:"delete-employee-trainings"}}),o.jsx(Ce,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("employee trainings"),onPageChange:t=>m.get(t)})]}),o.jsx(G,{isOpen:ee,onClose:()=>y(!1),onSubmit:me,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:P.filter(t=>t.value!==""),searchable:!0},{name:"training_program_id",label:e("Training Program"),type:"select",required:!0,options:k.filter(t=>t.value!==""),searchable:!0},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"assigned",label:e("Assigned")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"failed",label:e("Failed")}]},{name:"assigned_date",label:e("Assigned Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"completion_date",label:e("Completion Date"),type:"date",showWhen:t=>["completed","failed"].includes(t.status)},{name:"certification",label:e("Certification"),type:"custom",render:(t,r,i)=>o.jsx(Se,{value:String(r[t.name]||""),onChange:p=>i(t.name,p),placeholder:e("Select certification file...")}),helpText:e("Upload certification file (max 5MB)"),showWhen:t=>t.status==="completed"},{name:"score",label:e("Score (%)"),type:"number",min:0,max:100,step:.01,showWhen:t=>["completed","failed"].includes(t.status)},{name:"is_passed",label:e("Passed"),type:"checkbox",showWhen:t=>["completed","failed"].includes(t.status)},{name:"feedback",label:e("Feedback"),type:"textarea",showWhen:t=>["completed","failed"].includes(t.status)},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"lg"},initialData:d,title:e(_==="create"?"Assign Training":_==="edit"?"Edit Training Assignment":"View Training Assignment"),mode:_}),o.jsx(G,{isOpen:te,onClose:()=>C(!1),onSubmit:pe,formConfig:{fields:[{name:"employee_ids",label:e("Employees"),type:"multi-select",required:!0,options:P.filter(t=>t.value!=="")},{name:"training_program_id",label:e("Training Program"),type:"select",required:!0,options:k.filter(t=>t.value!=="")},{name:"assigned_date",label:e("Assigned Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"lg"},initialData:{},title:e("Bulk Assign Training"),mode:"create"}),o.jsx(je,{isOpen:Z,onClose:()=>j(!1),onConfirm:de,itemName:`${((V=d==null?void 0:d.employee)==null?void 0:V.name)||""} - ${((W=d==null?void 0:d.training_program)==null?void 0:W.name)||""}`,entityName:"training assignment"})]})}export{hi as default}; diff --git a/public/build/assets/index-B7XTPaK-.js b/public/build/assets/index-D9WfGpQf.js similarity index 59% rename from public/build/assets/index-B7XTPaK-.js rename to public/build/assets/index-D9WfGpQf.js index fe0419580..07338e429 100644 --- a/public/build/assets/index-B7XTPaK-.js +++ b/public/build/assets/index-D9WfGpQf.js @@ -1 +1 @@ -import{r as c,j as s}from"./ui-Z445SNHD.js";import{P as U}from"./page-template-BTxLyiDA.js";import{u as G,c as J,x as K,P as Q,r as n,D as W,t as o}from"./app-CfhhiFAk.js";import{C as X}from"./CrudTable-qPWooc10.js";import{C as Y}from"./CrudFormModal-DAR9q-oM.js";import{C as Z}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ee}from"./pagination-D8A_HnL5.js";import{S as re}from"./search-and-filter-bar-6Pp-FsiR.js";import te from"./view-BmsX62N2.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function zt(){var D;const{t:e}=G(),{auth:g,categories:i,filters:a={}}=J().props,S=(g==null?void 0:g.permissions)||[],[l,b]=c.useState(a.search||""),[p,x]=c.useState(a.status||"all"),[A,y]=c.useState(!1),[N,h]=c.useState(!1),[_,u]=c.useState(!1),[d,C]=c.useState(null),[f,w]=c.useState("create"),[v,P]=c.useState(null),k=()=>p!=="all"||l!=="",I=()=>(p!=="all"?1:0)+(l?1:0),O=r=>{r.preventDefault(),j()},j=()=>{n.get(route("hr.performance.indicator-categories.index"),{page:1,search:l||void 0,status:p!=="all"?p:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},E=r=>{const t=a.sort_field===r&&a.sort_direction==="asc"?"desc":"asc";n.get(route("hr.performance.indicator-categories.index"),{sort_field:r,sort_direction:t,page:1,search:l||void 0,status:p!=="all"?p:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},M=(r,t)=>{switch(C(t),r){case"view":P(t);break;case"edit":w("edit"),u(!0);break;case"delete":h(!0);break;case"toggle-status":V(t);break}},T=()=>{C(null),w("create"),u(!0)},q=r=>{f==="create"?(o.loading(e("Creating performance indicator category...")),n.post(route("hr.performance.indicator-categories.store"),r,{onSuccess:t=>{u(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to create category: {{errors}}",{errors:Object.values(t).join(", ")}))}})):f==="edit"&&(o.loading(e("Updating performance indicator category...")),n.put(route("hr.performance.indicator-categories.update",d.id),r,{onSuccess:t=>{u(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to update category: {{errors}}",{errors:Object.values(t).join(", ")}))}}))},R=()=>{o.loading(e("Deleting performance indicator category...")),n.delete(route("hr.performance.indicator-categories.destroy",d.id),{onSuccess:r=>{h(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete category: {{errors}}",{errors:Object.values(r).join(", ")}))}})},V=r=>{const t=r.status==="active"?"inactive":"active";o.loading(`${e(t==="active"?"Activating":"Deactivating")} category...`),n.put(route("hr.performance.indicator-categories.toggle-status",r.id),{},{onSuccess:m=>{o.dismiss(),m.props.flash.success?o.success(e(m.props.flash.success)):m.props.flash.error&&o.error(e(m.props.flash.error))},onError:m=>{o.dismiss(),typeof m=="string"?o.error(e(m)):o.error(e("Failed to update category status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},L=()=>{b(""),x("all"),y(!1),n.get(route("hr.performance.indicator-categories.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},F=[];K(S,"create-performance-indicator-categories")&&F.push({label:e("Add Category"),icon:s.jsx(Q,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>T()});const $=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:e("Performance"),href:route("hr.performance.indicator-categories.index")},{title:e("Indicator Categories")}],z=[{key:"name",label:e("Name"),sortable:!0},{key:"status",label:e("Status"),render:r=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],B=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-performance-indicator-categories"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-performance-indicator-categories"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-performance-indicator-categories"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-performance-indicator-categories"}],H=[{value:"all",label:e("All Statuses")},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}];return s.jsxs(U,{title:e("Indicator Categories"),url:"/hr/performance/indicator-categories",actions:F,breadcrumbs:$,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(re,{searchTerm:l,onSearchChange:b,onSearch:O,filters:[{name:"status",label:e("Status"),type:"select",value:p,onChange:x,options:H}],showFilters:A,setShowFilters:y,hasActiveFilters:k,activeFilterCount:I,onResetFilters:L,onApplyFilters:j,currentPerPage:((D=a.per_page)==null?void 0:D.toString())||"10",onPerPageChange:r=>{n.get(route("hr.performance.indicator-categories.index"),{page:1,per_page:parseInt(r),search:l||void 0,status:p!=="all"?p:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(X,{columns:z,actions:B,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:M,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:E,permissions:S,entityPermissions:{view:"view-performance-indicator-categories",create:"create-performance-indicator-categories",edit:"edit-performance-indicator-categories",delete:"delete-performance-indicator-categories"}}),s.jsx(ee,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("performance indicator categories"),onPageChange:r=>n.get(r)})]}),s.jsx(Y,{isOpen:_,onClose:()=>u(!1),onSubmit:q,formConfig:{fields:[{name:"name",label:e("Category Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"md"},initialData:d,title:e(f==="create"?"Add New Performance Indicator Category":"Edit Performance Indicator Category"),mode:f}),s.jsx(Z,{isOpen:N,onClose:()=>h(!1),onConfirm:R,itemName:(d==null?void 0:d.name)||"",entityName:"performance indicator category"}),s.jsx(W,{open:!!v,onOpenChange:()=>P(null),children:v&&s.jsx(te,{category:v})})]})}export{zt as default}; +import{r as c,j as s}from"./ui-Z445SNHD.js";import{P as U}from"./page-template-CLNVC8w_.js";import{u as G,c as J,x as K,P as Q,r as n,D as W,t as o}from"./app-Dya84jp7.js";import{C as X}from"./CrudTable-yqxtM6E_.js";import{C as Y}from"./CrudFormModal-CsuqSfb2.js";import{C as Z}from"./CrudDeleteModal-D32N6I8y.js";import{P as ee}from"./pagination-4PUepASD.js";import{S as re}from"./search-and-filter-bar-DWH0yn_r.js";import te from"./view-DU_9UxWY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function zt(){var D;const{t:e}=G(),{auth:g,categories:i,filters:a={}}=J().props,S=(g==null?void 0:g.permissions)||[],[l,b]=c.useState(a.search||""),[p,x]=c.useState(a.status||"all"),[A,y]=c.useState(!1),[N,h]=c.useState(!1),[_,u]=c.useState(!1),[d,C]=c.useState(null),[f,w]=c.useState("create"),[v,P]=c.useState(null),k=()=>p!=="all"||l!=="",I=()=>(p!=="all"?1:0)+(l?1:0),O=r=>{r.preventDefault(),j()},j=()=>{n.get(route("hr.performance.indicator-categories.index"),{page:1,search:l||void 0,status:p!=="all"?p:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},E=r=>{const t=a.sort_field===r&&a.sort_direction==="asc"?"desc":"asc";n.get(route("hr.performance.indicator-categories.index"),{sort_field:r,sort_direction:t,page:1,search:l||void 0,status:p!=="all"?p:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},M=(r,t)=>{switch(C(t),r){case"view":P(t);break;case"edit":w("edit"),u(!0);break;case"delete":h(!0);break;case"toggle-status":V(t);break}},T=()=>{C(null),w("create"),u(!0)},q=r=>{f==="create"?(o.loading(e("Creating performance indicator category...")),n.post(route("hr.performance.indicator-categories.store"),r,{onSuccess:t=>{u(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to create category: {{errors}}",{errors:Object.values(t).join(", ")}))}})):f==="edit"&&(o.loading(e("Updating performance indicator category...")),n.put(route("hr.performance.indicator-categories.update",d.id),r,{onSuccess:t=>{u(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to update category: {{errors}}",{errors:Object.values(t).join(", ")}))}}))},R=()=>{o.loading(e("Deleting performance indicator category...")),n.delete(route("hr.performance.indicator-categories.destroy",d.id),{onSuccess:r=>{h(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete category: {{errors}}",{errors:Object.values(r).join(", ")}))}})},V=r=>{const t=r.status==="active"?"inactive":"active";o.loading(`${e(t==="active"?"Activating":"Deactivating")} category...`),n.put(route("hr.performance.indicator-categories.toggle-status",r.id),{},{onSuccess:m=>{o.dismiss(),m.props.flash.success?o.success(e(m.props.flash.success)):m.props.flash.error&&o.error(e(m.props.flash.error))},onError:m=>{o.dismiss(),typeof m=="string"?o.error(e(m)):o.error(e("Failed to update category status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},L=()=>{b(""),x("all"),y(!1),n.get(route("hr.performance.indicator-categories.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},F=[];K(S,"create-performance-indicator-categories")&&F.push({label:e("Add Category"),icon:s.jsx(Q,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>T()});const $=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:e("Performance"),href:route("hr.performance.indicator-categories.index")},{title:e("Indicator Categories")}],z=[{key:"name",label:e("Name"),sortable:!0},{key:"status",label:e("Status"),render:r=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],B=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-performance-indicator-categories"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-performance-indicator-categories"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-performance-indicator-categories"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-performance-indicator-categories"}],H=[{value:"all",label:e("All Statuses")},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}];return s.jsxs(U,{title:e("Indicator Categories"),url:"/hr/performance/indicator-categories",actions:F,breadcrumbs:$,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(re,{searchTerm:l,onSearchChange:b,onSearch:O,filters:[{name:"status",label:e("Status"),type:"select",value:p,onChange:x,options:H}],showFilters:A,setShowFilters:y,hasActiveFilters:k,activeFilterCount:I,onResetFilters:L,onApplyFilters:j,currentPerPage:((D=a.per_page)==null?void 0:D.toString())||"10",onPerPageChange:r=>{n.get(route("hr.performance.indicator-categories.index"),{page:1,per_page:parseInt(r),search:l||void 0,status:p!=="all"?p:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(X,{columns:z,actions:B,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:M,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:E,permissions:S,entityPermissions:{view:"view-performance-indicator-categories",create:"create-performance-indicator-categories",edit:"edit-performance-indicator-categories",delete:"delete-performance-indicator-categories"}}),s.jsx(ee,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("performance indicator categories"),onPageChange:r=>n.get(r)})]}),s.jsx(Y,{isOpen:_,onClose:()=>u(!1),onSubmit:q,formConfig:{fields:[{name:"name",label:e("Category Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"md"},initialData:d,title:e(f==="create"?"Add New Performance Indicator Category":"Edit Performance Indicator Category"),mode:f}),s.jsx(Z,{isOpen:N,onClose:()=>h(!1),onConfirm:R,itemName:(d==null?void 0:d.name)||"",entityName:"performance indicator category"}),s.jsx(W,{open:!!v,onOpenChange:()=>P(null),children:v&&s.jsx(te,{category:v})})]})}export{zt as default}; diff --git a/public/build/assets/index-fvJm3AZD.js b/public/build/assets/index-DAILITQb.js similarity index 63% rename from public/build/assets/index-fvJm3AZD.js rename to public/build/assets/index-DAILITQb.js index 70b70b046..f43ba0de5 100644 --- a/public/build/assets/index-fvJm3AZD.js +++ b/public/build/assets/index-DAILITQb.js @@ -1 +1 @@ -import{r as s,j as e}from"./ui-Z445SNHD.js";import{P as L}from"./page-template-BTxLyiDA.js";import{u as V,c as G,r as c,o as f,D as C,h as J,j as Q,k as W,t as o}from"./app-CfhhiFAk.js";import{C as X}from"./CrudTable-qPWooc10.js";import{P as Y}from"./pagination-D8A_HnL5.js";import{S as ee}from"./search-and-filter-bar-6Pp-FsiR.js";import te from"./view-jKtOT9Bm.js";import{C as re}from"./circle-check-big-C5Cqj7-2.js";import{C as ae}from"./clock-CwFdn-oy.js";import{T as _}from"./timer-Cqv8ulB-.js";import{R as P}from"./refresh-cw-DWorkL8J.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function Mr(){var N;const{t}=V(),{auth:x,biometricData:a,filters:i={},configurationMissing:y,globalSettings:se}=G().props,A=(x==null?void 0:x.permissions)||[],[n,b]=s.useState(i.search||""),[m,j]=s.useState(i.start_date||""),[l,k]=s.useState(i.end_date||""),[T,v]=s.useState(!1),[E,g]=s.useState(!1),[F,R]=s.useState([]),[p,D]=s.useState(null),[w,B]=s.useState(!1),[I,h]=s.useState(!1),M=()=>n!==""||m!==""||l!=="",O=()=>(n?1:0)+(m?1:0)+(l?1:0),q=r=>{r.preventDefault(),S()},S=()=>{c.get(route("hr.biometric-attendance.index"),{page:1,search:n||void 0,start_date:m||void 0,end_date:l||void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},K=(r,u)=>{switch(r){case"view":U(u);break}},U=async r=>{try{const d=await(await fetch(route("hr.biometric-attendance.show",{employeeCode:r.employee_code,date:r.date}))).json();d.success?(R(d.data.entries),D({code:d.data.employee_code,date:d.data.date,name:r.name,attendance_record:d.data.attendance_record}),g(!0)):o.error(t(d.message||"Failed to fetch details"))}catch{o.error(t("Error fetching details"))}},Z=()=>{b(""),j(""),k(""),v(!1),c.get(route("hr.biometric-attendance.index"),{page:1,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},$=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Biometric Attendance")}],z=[{label:t("Details"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-biometric-attendance"}],H=[{key:"employee_code",label:t("Employee Code"),sortable:!1,render:r=>e.jsx("span",{className:"font-mono text-sm font-medium",children:r})},{key:"name",label:t("Employee Name"),sortable:!1,render:r=>e.jsx("span",{className:"font-medium",children:r})},{key:"terminal",label:t("Branch"),sortable:!1,render:r=>e.jsx("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:r||"-"})},{key:"date",label:t("Date"),sortable:!1,render:r=>e.jsx("span",{className:"text-sm",children:window.appSettings.formatDateTimeSimple(r,!1)})},{key:"clock_in",label:t("Clock In"),sortable:!1,render:r=>e.jsx("span",{className:"font-mono text-sm font-medium text-green-600",children:r||"-"})},{key:"clock_out",label:t("Clock Out"),sortable:!1,render:r=>e.jsx("span",{className:"font-mono text-sm font-medium text-red-600",children:r||"-"})},{key:"sync_status",label:t("Status"),sortable:!1,render:r=>r==="synced"?e.jsxs("span",{className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold bg-green-50 text-green-700 dark:bg-green-950/20 dark:text-green-400 border border-green-200/50",children:[e.jsx(re,{className:"h-3.5 w-3.5"}),t("Synced")]}):e.jsxs("span",{className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold bg-amber-50 text-amber-700 dark:bg-amber-950/20 dark:text-amber-400 border border-amber-200/50",children:[e.jsx(ae,{className:"h-3.5 w-3.5"}),t("Pending")]})}];return e.jsxs(L,{title:t("Biometric Attendance"),url:"/hr/biometric-attendance",breadcrumbs:$,noPadding:!0,children:[!y&&e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:e.jsx(ee,{searchTerm:n,onSearchChange:b,onSearch:q,searchPlaceholder:t("Search by employee name or code..."),filters:[{name:"start_date",label:t("Start Date"),type:"date",value:m,onChange:j},{name:"end_date",label:t("End Date"),type:"date",value:l,onChange:k}],showFilters:T,setShowFilters:v,hasActiveFilters:M,activeFilterCount:O,onResetFilters:Z,onApplyFilters:S,currentPerPage:((N=i.per_page)==null?void 0:N.toString())||"10",onPerPageChange:r=>{c.get(route("hr.biometric-attendance.index"),{page:1,per_page:parseInt(r),search:n||void 0,start_date:m||void 0,end_date:l||void 0},{preserveState:!0,preserveScroll:!0})}})}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400",children:[e.jsx(_,{className:"h-4 w-4"}),e.jsx("span",{children:t("Biometric attendance data from device")})]}),e.jsxs(f,{size:"sm",variant:"outline",onClick:()=>h(!0),children:[e.jsx(P,{className:"h-4 w-4 mr-2"}),t("Sync to Attendance Records")]})]}),y?e.jsx("div",{className:"px-6 py-12 text-center",children:e.jsxs("div",{className:"max-w-md mx-auto",children:[e.jsx("div",{className:"mb-4",children:e.jsx(_,{className:"h-16 w-16 mx-auto text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-gray-100 mb-2",children:t("Configuration Required")}),e.jsx("p",{className:"text-gray-600 dark:text-gray-400 mb-6",children:t("Please configure ZKTeco API settings to fetch biometric attendance data.")}),e.jsxs("div",{className:"space-y-2 text-sm text-gray-500 dark:text-gray-400",children:[e.jsx("p",{children:t("Required settings:")}),e.jsxs("ul",{className:"list-disc list-inside space-y-1",children:[e.jsx("li",{children:t("ZKTeco API URL")}),e.jsx("li",{children:t("Username")}),e.jsx("li",{children:t("Password")}),e.jsx("li",{children:t("Auth Token")})]})]})]})}):e.jsxs(e.Fragment,{children:[e.jsx(X,{columns:H,actions:z,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:K,permissions:A,entityPermissions:{view:"view-biometric-attendance",create:"manage-biometric-attendance",edit:"manage-biometric-attendance",delete:"manage-biometric-attendance"}}),e.jsx(Y,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("biometric records"),onPageChange:r=>c.get(r)})]})]}),e.jsx(C,{open:E,onOpenChange:g,children:p&&e.jsx(te,{employee:p,entries:F,onClose:()=>g(!1)},`${p.code}_${p.date}`)}),e.jsx(C,{open:I,onOpenChange:h,children:e.jsxs(J,{className:"max-w-md bg-white dark:bg-gray-900 border dark:border-gray-800",children:[e.jsx(Q,{children:e.jsxs(W,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(P,{className:"h-5 w-5 text-blue-600 animate-spin-slow"}),e.jsx("span",{children:t("Sync to Attendance Records")})]})}),e.jsxs("div",{className:"py-4 space-y-4",children:[e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:t("Are you sure you want to sync all pending biometric logs to attendance records? This will process all unmatched punches and generate attendance sheets.")}),e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 p-3 rounded-lg border border-gray-150 dark:border-gray-700",children:e.jsxs("label",{className:"flex items-start gap-3 text-sm font-medium text-gray-700 dark:text-gray-300 cursor-pointer select-none",children:[e.jsx("input",{type:"checkbox",checked:w,onChange:r=>B(r.target.checked),className:"mt-1 h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500 cursor-pointer"}),e.jsxs("div",{children:[e.jsx("span",{className:"block font-semibold",children:t("Overwrite existing records")}),e.jsx("span",{className:"block text-xs text-gray-500 dark:text-gray-400 mt-0.5 leading-normal",children:t("If checked, existing attendance sheets will be updated with the latest biometric source of truth.")})]})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3 border-t pt-4 border-gray-100 dark:border-gray-800",children:[e.jsx(f,{variant:"outline",onClick:()=>h(!1),children:t("Cancel")}),e.jsx(f,{onClick:()=>{h(!1),o.loading(t("Syncing biometric data... This may take a moment.")),c.post(route("hr.biometric-attendance.sync-all"),{overwrite:w,start_date:m||void 0,end_date:l||void 0,search:n||void 0},{onSuccess:r=>{o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),o.error(t("Failed to sync data."))}})},children:t("Confirm Sync")})]})]})})]})}export{Mr as default}; +import{r as s,j as e}from"./ui-Z445SNHD.js";import{P as L}from"./page-template-CLNVC8w_.js";import{u as V,c as G,r as c,o as f,D as C,h as J,j as Q,k as W,t as o}from"./app-Dya84jp7.js";import{C as X}from"./CrudTable-yqxtM6E_.js";import{P as Y}from"./pagination-4PUepASD.js";import{S as ee}from"./search-and-filter-bar-DWH0yn_r.js";import te from"./view-ByKSN7IQ.js";import{C as re}from"./circle-check-big-Cju4ilPH.js";import{C as ae}from"./clock-LnEFQ-vK.js";import{T as _}from"./timer-BTqoLJiz.js";import{R as P}from"./refresh-cw-D_C_cDSu.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function Mr(){var N;const{t}=V(),{auth:x,biometricData:a,filters:i={},configurationMissing:y,globalSettings:se}=G().props,A=(x==null?void 0:x.permissions)||[],[n,b]=s.useState(i.search||""),[m,j]=s.useState(i.start_date||""),[l,k]=s.useState(i.end_date||""),[T,v]=s.useState(!1),[E,g]=s.useState(!1),[F,R]=s.useState([]),[p,D]=s.useState(null),[w,B]=s.useState(!1),[I,h]=s.useState(!1),M=()=>n!==""||m!==""||l!=="",O=()=>(n?1:0)+(m?1:0)+(l?1:0),q=r=>{r.preventDefault(),S()},S=()=>{c.get(route("hr.biometric-attendance.index"),{page:1,search:n||void 0,start_date:m||void 0,end_date:l||void 0,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},K=(r,u)=>{switch(r){case"view":U(u);break}},U=async r=>{try{const d=await(await fetch(route("hr.biometric-attendance.show",{employeeCode:r.employee_code,date:r.date}))).json();d.success?(R(d.data.entries),D({code:d.data.employee_code,date:d.data.date,name:r.name,attendance_record:d.data.attendance_record}),g(!0)):o.error(t(d.message||"Failed to fetch details"))}catch{o.error(t("Error fetching details"))}},Z=()=>{b(""),j(""),k(""),v(!1),c.get(route("hr.biometric-attendance.index"),{page:1,per_page:i.per_page},{preserveState:!0,preserveScroll:!0})},$=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Biometric Attendance")}],z=[{label:t("Details"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-biometric-attendance"}],H=[{key:"employee_code",label:t("Employee Code"),sortable:!1,render:r=>e.jsx("span",{className:"font-mono text-sm font-medium",children:r})},{key:"name",label:t("Employee Name"),sortable:!1,render:r=>e.jsx("span",{className:"font-medium",children:r})},{key:"terminal",label:t("Branch"),sortable:!1,render:r=>e.jsx("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:r||"-"})},{key:"date",label:t("Date"),sortable:!1,render:r=>e.jsx("span",{className:"text-sm",children:window.appSettings.formatDateTimeSimple(r,!1)})},{key:"clock_in",label:t("Clock In"),sortable:!1,render:r=>e.jsx("span",{className:"font-mono text-sm font-medium text-green-600",children:r||"-"})},{key:"clock_out",label:t("Clock Out"),sortable:!1,render:r=>e.jsx("span",{className:"font-mono text-sm font-medium text-red-600",children:r||"-"})},{key:"sync_status",label:t("Status"),sortable:!1,render:r=>r==="synced"?e.jsxs("span",{className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold bg-green-50 text-green-700 dark:bg-green-950/20 dark:text-green-400 border border-green-200/50",children:[e.jsx(re,{className:"h-3.5 w-3.5"}),t("Synced")]}):e.jsxs("span",{className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold bg-amber-50 text-amber-700 dark:bg-amber-950/20 dark:text-amber-400 border border-amber-200/50",children:[e.jsx(ae,{className:"h-3.5 w-3.5"}),t("Pending")]})}];return e.jsxs(L,{title:t("Biometric Attendance"),url:"/hr/biometric-attendance",breadcrumbs:$,noPadding:!0,children:[!y&&e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:e.jsx(ee,{searchTerm:n,onSearchChange:b,onSearch:q,searchPlaceholder:t("Search by employee name or code..."),filters:[{name:"start_date",label:t("Start Date"),type:"date",value:m,onChange:j},{name:"end_date",label:t("End Date"),type:"date",value:l,onChange:k}],showFilters:T,setShowFilters:v,hasActiveFilters:M,activeFilterCount:O,onResetFilters:Z,onApplyFilters:S,currentPerPage:((N=i.per_page)==null?void 0:N.toString())||"10",onPerPageChange:r=>{c.get(route("hr.biometric-attendance.index"),{page:1,per_page:parseInt(r),search:n||void 0,start_date:m||void 0,end_date:l||void 0},{preserveState:!0,preserveScroll:!0})}})}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400",children:[e.jsx(_,{className:"h-4 w-4"}),e.jsx("span",{children:t("Biometric attendance data from device")})]}),e.jsxs(f,{size:"sm",variant:"outline",onClick:()=>h(!0),children:[e.jsx(P,{className:"h-4 w-4 mr-2"}),t("Sync to Attendance Records")]})]}),y?e.jsx("div",{className:"px-6 py-12 text-center",children:e.jsxs("div",{className:"max-w-md mx-auto",children:[e.jsx("div",{className:"mb-4",children:e.jsx(_,{className:"h-16 w-16 mx-auto text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-gray-100 mb-2",children:t("Configuration Required")}),e.jsx("p",{className:"text-gray-600 dark:text-gray-400 mb-6",children:t("Please configure ZKTeco API settings to fetch biometric attendance data.")}),e.jsxs("div",{className:"space-y-2 text-sm text-gray-500 dark:text-gray-400",children:[e.jsx("p",{children:t("Required settings:")}),e.jsxs("ul",{className:"list-disc list-inside space-y-1",children:[e.jsx("li",{children:t("ZKTeco API URL")}),e.jsx("li",{children:t("Username")}),e.jsx("li",{children:t("Password")}),e.jsx("li",{children:t("Auth Token")})]})]})]})}):e.jsxs(e.Fragment,{children:[e.jsx(X,{columns:H,actions:z,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:K,permissions:A,entityPermissions:{view:"view-biometric-attendance",create:"manage-biometric-attendance",edit:"manage-biometric-attendance",delete:"manage-biometric-attendance"}}),e.jsx(Y,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("biometric records"),onPageChange:r=>c.get(r)})]})]}),e.jsx(C,{open:E,onOpenChange:g,children:p&&e.jsx(te,{employee:p,entries:F,onClose:()=>g(!1)},`${p.code}_${p.date}`)}),e.jsx(C,{open:I,onOpenChange:h,children:e.jsxs(J,{className:"max-w-md bg-white dark:bg-gray-900 border dark:border-gray-800",children:[e.jsx(Q,{children:e.jsxs(W,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(P,{className:"h-5 w-5 text-blue-600 animate-spin-slow"}),e.jsx("span",{children:t("Sync to Attendance Records")})]})}),e.jsxs("div",{className:"py-4 space-y-4",children:[e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:t("Are you sure you want to sync all pending biometric logs to attendance records? This will process all unmatched punches and generate attendance sheets.")}),e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 p-3 rounded-lg border border-gray-150 dark:border-gray-700",children:e.jsxs("label",{className:"flex items-start gap-3 text-sm font-medium text-gray-700 dark:text-gray-300 cursor-pointer select-none",children:[e.jsx("input",{type:"checkbox",checked:w,onChange:r=>B(r.target.checked),className:"mt-1 h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500 cursor-pointer"}),e.jsxs("div",{children:[e.jsx("span",{className:"block font-semibold",children:t("Overwrite existing records")}),e.jsx("span",{className:"block text-xs text-gray-500 dark:text-gray-400 mt-0.5 leading-normal",children:t("If checked, existing attendance sheets will be updated with the latest biometric source of truth.")})]})]})})]}),e.jsxs("div",{className:"flex justify-end gap-3 border-t pt-4 border-gray-100 dark:border-gray-800",children:[e.jsx(f,{variant:"outline",onClick:()=>h(!1),children:t("Cancel")}),e.jsx(f,{onClick:()=>{h(!1),o.loading(t("Syncing biometric data... This may take a moment.")),c.post(route("hr.biometric-attendance.sync-all"),{overwrite:w,start_date:m||void 0,end_date:l||void 0,search:n||void 0},{onSuccess:r=>{o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),o.error(t("Failed to sync data."))}})},children:t("Confirm Sync")})]})]})})]})}export{Mr as default}; diff --git a/public/build/assets/index-BtHNL129.js b/public/build/assets/index-DAww2MJ_.js similarity index 87% rename from public/build/assets/index-BtHNL129.js rename to public/build/assets/index-DAww2MJ_.js index beb4be56a..e045cba66 100644 --- a/public/build/assets/index-BtHNL129.js +++ b/public/build/assets/index-DAww2MJ_.js @@ -1 +1 @@ -import{r as h,j as e}from"./ui-Z445SNHD.js";import{P as oe}from"./page-template-BTxLyiDA.js";import{u as de,c as ce,r as x,x as b,P as me,C as j,l as N,ai as z,D as pe,t as r,m as he,n as xe,o as S}from"./app-CfhhiFAk.js";import{C as ue}from"./CrudFormModal-DAR9q-oM.js";import{C as ge}from"./CrudDeleteModal-CKTiD3_K.js";import{P as fe}from"./pagination-D8A_HnL5.js";import{S as be}from"./search-and-filter-bar-6Pp-FsiR.js";import ye from"./view-BM_2i5d_.js";import{C as L}from"./calendar-CfUpdaK5.js";import{U as ve}from"./users-C4LpG59H.js";import{S as F}from"./sun-C2oQ_gMz.js";import{E as je}from"./eye--FVGKpVp.js";import{S as Ne}from"./square-pen-bMHyT06o.js";import{L as ke}from"./lock-By6rMOj7.js";import{T as we}from"./trash-2-C1NR_7Ss.js";import{C as Se}from"./clock-CwFdn-oy.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";import"./filter-uErFRSPT.js";import"./list-D0MAUZMV.js";function Tt(){var I,H;const{t}=de(),{auth:_,shifts:l,stats:n,filters:d={},globalSettings:o,branches:R=[]}=ce().props,g=(_==null?void 0:_.permissions)||[],[f,A]=h.useState(d.search||""),[c,M]=h.useState(d.status||"all"),[m,E]=h.useState(d.shift_type||"all"),[U,O]=h.useState(!1),[W,y]=h.useState(!1),[G,C]=h.useState(!1),[p,$]=h.useState(null),[k,q]=h.useState("create"),[T,V]=h.useState(null),J=()=>f!==""||c!=="all"||m!=="all",K=()=>(f?1:0)+(c!=="all"?1:0)+(m!=="all"?1:0),Q=s=>{s.preventDefault(),B()},B=()=>{x.get(route("hr.shifts.index"),{page:1,search:f||void 0,status:c!=="all"?c:void 0,shift_type:m!=="all"?m:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},w=(s,a)=>{switch($(a),s){case"view":V(a);break;case"edit":q("edit"),y(!0);break;case"delete":C(!0);break;case"toggle-status":ee(a);break}},X=()=>{$(null),q("create"),y(!0)},Y=s=>{k==="create"?(o!=null&&o.is_demo||r.loading(t("Creating shift...")),x.post(route("hr.shifts.store"),s,{onSuccess:a=>{y(!1),r.dismiss(),a.props.flash.success?r.success(t(a.props.flash.success)):a.props.flash.error&&r.error(t(a.props.flash.error))},onError:a=>{r.dismiss(),typeof a=="string"?r.error(a):r.error(`Failed to create shift: ${Object.values(a).join(", ")}`)}})):k==="edit"&&(o!=null&&o.is_demo||r.loading(t("Updating shift...")),x.put(route("hr.shifts.update",p.id),s,{onSuccess:a=>{y(!1),r.dismiss(),a.props.flash.success?r.success(t(a.props.flash.success)):a.props.flash.error&&r.error(t(a.props.flash.error))},onError:a=>{r.dismiss(),typeof a=="string"?r.error(a):r.error(`Failed to update shift: ${Object.values(a).join(", ")}`)}}))},Z=()=>{o!=null&&o.is_demo||r.loading(t("Deleting shift...")),x.delete(route("hr.shifts.destroy",p.id),{onSuccess:s=>{C(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error&&r.error(t(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to delete shift: ${Object.values(s).join(", ")}`)}})},ee=s=>{const a=s.status==="active"?"inactive":"active";o!=null&&o.is_demo||r.loading(`${t(a==="active"?"Activating":"Deactivating")} shift...`),x.put(route("hr.shifts.toggle-status",s.id),{},{onSuccess:i=>{r.dismiss(),i.props.flash.success?r.success(t(i.props.flash.success)):i.props.flash.error&&r.error(t(i.props.flash.error))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(i):r.error(`Failed to update shift status: ${Object.values(i).join(", ")}`)}})},te=()=>{A(""),M("all"),E("all"),O(!1),x.get(route("hr.shifts.index"),{page:1,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},D=[];D.push({label:t("Calendar View"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>x.get(route("hr.shifts.calendar"))}),b(g,"create-shifts")&&D.push({label:t("Add Shift"),icon:e.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const se=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Shift Management"),href:route("hr.shifts.index")},{title:t("Shifts")}];t("Shift Name"),t("Start Time"),t("End Time"),t("Break (mins)"),t("Working Hours"),t("Grace (mins)"),t("Type"),t("Status"),t("View"),t("Edit"),t("Toggle Status"),t("Delete");const ae=[{value:"all",label:t("All Statuses"),disabled:!0},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}],re=[{value:"all",label:t("All Types"),disabled:!0},{value:"day",label:t("Day Shift")},{value:"night",label:t("Night Shift")}];t("Monday"),t("Tuesday"),t("Wednesday"),t("Thursday"),t("Friday"),t("Saturday"),t("Sunday");const ie=(s,a,i)=>{if(!s||!a)return 0;const u=new Date(`2000-01-01 ${s}`),v=new Date(`2000-01-01 ${a}`);v<=u&&v.setDate(v.getDate()+1);const P=(v.getTime()-u.getTime())/(1e3*60);return Math.max(0,(P-(i||0))/60)},le=s=>{const a=ie(s.start_time,s.end_time,s.break_duration),i=s.is_night_shift;return e.jsxs(j,{className:"group hover:shadow-md transition-all duration-200 border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800",children:[e.jsx(he,{className:"pb-4",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("div",{className:`p-2.5 rounded-lg ${i?"bg-slate-100 text-slate-600 dark:bg-slate-800 dark:text-slate-400":"bg-gray-100 text-gray-600 dark:bg-gray-700 dark:text-gray-400"}`,children:i?e.jsx(z,{className:"h-5 w-5"}):e.jsx(F,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx(xe,{className:"text-lg font-semibold text-gray-900 dark:text-white mb-2",children:s.name}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${i?"bg-slate-100 text-slate-700 ring-slate-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:t(i?"Night Shift":"Day Shift")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})]})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[b(g,"view-shifts")&&e.jsx(S,{variant:"ghost",size:"sm",onClick:()=>w("view",s),className:"h-8 w-8 p-0 text-blue-500",title:t("View Shift"),children:e.jsx(je,{className:"h-4 w-4"})}),b(g,"edit-shifts")&&e.jsx(S,{variant:"ghost",size:"sm",onClick:()=>w("edit",s),className:"h-8 w-8 p-0 text-amber-500",title:t("Edit Shift"),children:e.jsx(Ne,{className:"h-4 w-4"})}),b(g,"edit-shifts")&&e.jsx(S,{variant:"ghost",size:"sm",onClick:()=>w("toggle-status",s),className:"h-8 w-8 p-0 text-amber-500",title:s.status==="active"?t("Deactivate Shift"):t("Activate Shift"),children:e.jsx(ke,{className:"h-4 w-4"})}),b(g,"delete-shifts")&&e.jsx(S,{variant:"ghost",size:"sm",onClick:()=>w("delete",s),className:"h-8 w-8 p-0 text-red-500",title:t("Delete Shift"),children:e.jsx(we,{className:"h-4 w-4"})})]})]})}),e.jsxs(N,{className:"pt-0",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx(Se,{className:"h-4 w-4 text-gray-500 mt-0.5"}),e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:[window.appSettings.formatTime(s.start_time)," - ",window.appSettings.formatTime(s.end_time)]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t("Shift Hours")})]})]}),e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx(L,{className:"h-4 w-4 text-gray-500 mt-0.5"}),e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:[a.toFixed(1)," ",t("hours")]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t("Working Time")})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:[s.break_duration," ",t("minutes")]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t("Break Duration")})]}),e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:[s.grace_period," ",t("minutes")]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t("Grace Period")})]})]})]}),s.description&&e.jsx("div",{className:"mt-4 pt-4 border-t border-gray-100 dark:border-gray-700",children:e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:s.description})})]})]},s.id)};return e.jsxs(oe,{title:t("Shifts"),url:"/hr/shifts",actions:D,breadcrumbs:se,noPadding:!0,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-6 p-4",children:e.jsx(be,{searchTerm:f,onSearchChange:A,onSearch:Q,filters:[{name:"status",label:t("Status"),type:"select",value:c,onChange:M,options:ae},{name:"shift_type",label:t("Shift Type"),type:"select",value:m,onChange:E,options:re}],showFilters:U,setShowFilters:O,hasActiveFilters:J,activeFilterCount:K,onResetFilters:te,onApplyFilters:B,currentPerPage:((I=d.per_page)==null?void 0:I.toString())||"9",onPerPageChange:s=>{x.get(route("hr.shifts.index"),{page:1,per_page:parseInt(s),search:f||void 0,status:c!=="all"?c:void 0,shift_type:m!=="all"?m:void 0},{preserveState:!0,preserveScroll:!0})},perPageOptions:[9,27,45,90]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[e.jsx(j,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(N,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:t("Total Shifts")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(n==null?void 0:n.total)||0})]}),e.jsx("div",{className:"p-2 bg-gray-100 dark:bg-gray-700 rounded-lg",children:e.jsx(ve,{className:"h-6 w-6 text-gray-600 dark:text-gray-400"})})]})})}),e.jsx(j,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(N,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:t("Active Shifts")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(n==null?void 0:n.active)||0})]}),e.jsx("div",{className:"p-2 bg-green-100 dark:bg-green-900/30 rounded-lg",children:e.jsx(F,{className:"h-6 w-6 text-green-600 dark:text-green-400"})})]})})}),e.jsx(j,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(N,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:t("Night Shifts")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(n==null?void 0:n.night)||0})]}),e.jsx("div",{className:"p-2 bg-slate-100 dark:bg-slate-800 rounded-lg",children:e.jsx(z,{className:"h-6 w-6 text-slate-600 dark:text-slate-400"})})]})})}),e.jsx(j,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(N,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:t("Day Shifts")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(n==null?void 0:n.day)||0})]}),e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900/30 rounded-lg",children:e.jsx(F,{className:"h-6 w-6 text-blue-600 dark:text-blue-400"})})]})})})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6",children:(H=l==null?void 0:l.data)==null?void 0:H.map(s=>le(s))}),e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow border border-gray-200 dark:border-gray-700 p-4",children:e.jsx(fe,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:t("shifts"),onPageChange:s=>{const a=new URL(s).searchParams.get("page")||"1";x.get(route("hr.shifts.index"),{page:a,search:f||void 0,status:c!=="all"?c:void 0,shift_type:m!=="all"?m:void 0,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})}})})]}),e.jsx(ue,{isOpen:W,onClose:()=>y(!1),onSubmit:Y,formConfig:{fields:[{name:"name",label:t("Shift Name"),type:"text",required:!0},{name:"description",label:t("Description"),type:"textarea"},{name:"start_time",label:t("Start Time"),type:"time",required:!0},{name:"end_time",label:t("End Time"),type:"time",required:!0},{name:"break_duration",label:t("Break Duration (minutes)"),type:"number",required:!0,min:0,defaultValue:60},{name:"break_start_time",label:t("Break Start Time"),type:"time"},{name:"break_end_time",label:t("Break End Time"),type:"time"},{name:"grace_period",label:t("Grace Period (minutes)"),type:"number",required:!0,min:0,defaultValue:15},{name:"is_night_shift",label:t("Night Shift"),type:"checkbox",defaultValue:!1},{name:"status",label:t("Status"),type:"select",options:[{value:"active",label:"Active"},{value:"inactive",label:"Inactive"}],defaultValue:"active"},...b(g,"manage-any-shifts")?[{name:"branch_id",label:t("Branch"),type:"select",options:[{value:"none",label:t("All Branches (Company-wide)")},...R.map(s=>({value:s.id.toString(),label:s.name}))],defaultValue:"none"}]:[]],modalSize:"lg"},initialData:p?{...p,branch_id:p.branch_id?p.branch_id.toString():"none"}:null,title:t(k==="create"?"Add New Shift":"Edit Shift"),mode:k}),e.jsx(ge,{isOpen:G,onClose:()=>C(!1),onConfirm:Z,itemName:(p==null?void 0:p.name)||"",entityName:"shift"}),e.jsx(pe,{open:!!T,onOpenChange:()=>V(null),children:T&&e.jsx(ye,{shift:T})})]})}export{Tt as default}; +import{r as h,j as e}from"./ui-Z445SNHD.js";import{P as oe}from"./page-template-CLNVC8w_.js";import{u as de,c as ce,r as x,x as b,P as me,C as j,l as N,ai as z,D as pe,t as r,m as he,n as xe,o as S}from"./app-Dya84jp7.js";import{C as ue}from"./CrudFormModal-CsuqSfb2.js";import{C as ge}from"./CrudDeleteModal-D32N6I8y.js";import{P as fe}from"./pagination-4PUepASD.js";import{S as be}from"./search-and-filter-bar-DWH0yn_r.js";import ye from"./view-D19m-Fnd.js";import{C as L}from"./calendar-DuRYaSj5.js";import{U as ve}from"./users-BzCDZrS0.js";import{S as F}from"./sun-D8i-fCJe.js";import{E as je}from"./eye-CCNnMtu4.js";import{S as Ne}from"./square-pen-CzdhbxyN.js";import{L as ke}from"./lock-DaHvMEII.js";import{T as we}from"./trash-2-BeirBLIk.js";import{C as Se}from"./clock-LnEFQ-vK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";import"./filter-BTHjyusi.js";import"./list-C_2fG_BT.js";function Tt(){var I,H;const{t}=de(),{auth:_,shifts:l,stats:n,filters:d={},globalSettings:o,branches:R=[]}=ce().props,g=(_==null?void 0:_.permissions)||[],[f,A]=h.useState(d.search||""),[c,M]=h.useState(d.status||"all"),[m,E]=h.useState(d.shift_type||"all"),[U,O]=h.useState(!1),[W,y]=h.useState(!1),[G,C]=h.useState(!1),[p,$]=h.useState(null),[k,q]=h.useState("create"),[T,V]=h.useState(null),J=()=>f!==""||c!=="all"||m!=="all",K=()=>(f?1:0)+(c!=="all"?1:0)+(m!=="all"?1:0),Q=s=>{s.preventDefault(),B()},B=()=>{x.get(route("hr.shifts.index"),{page:1,search:f||void 0,status:c!=="all"?c:void 0,shift_type:m!=="all"?m:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},w=(s,a)=>{switch($(a),s){case"view":V(a);break;case"edit":q("edit"),y(!0);break;case"delete":C(!0);break;case"toggle-status":ee(a);break}},X=()=>{$(null),q("create"),y(!0)},Y=s=>{k==="create"?(o!=null&&o.is_demo||r.loading(t("Creating shift...")),x.post(route("hr.shifts.store"),s,{onSuccess:a=>{y(!1),r.dismiss(),a.props.flash.success?r.success(t(a.props.flash.success)):a.props.flash.error&&r.error(t(a.props.flash.error))},onError:a=>{r.dismiss(),typeof a=="string"?r.error(a):r.error(`Failed to create shift: ${Object.values(a).join(", ")}`)}})):k==="edit"&&(o!=null&&o.is_demo||r.loading(t("Updating shift...")),x.put(route("hr.shifts.update",p.id),s,{onSuccess:a=>{y(!1),r.dismiss(),a.props.flash.success?r.success(t(a.props.flash.success)):a.props.flash.error&&r.error(t(a.props.flash.error))},onError:a=>{r.dismiss(),typeof a=="string"?r.error(a):r.error(`Failed to update shift: ${Object.values(a).join(", ")}`)}}))},Z=()=>{o!=null&&o.is_demo||r.loading(t("Deleting shift...")),x.delete(route("hr.shifts.destroy",p.id),{onSuccess:s=>{C(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error&&r.error(t(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to delete shift: ${Object.values(s).join(", ")}`)}})},ee=s=>{const a=s.status==="active"?"inactive":"active";o!=null&&o.is_demo||r.loading(`${t(a==="active"?"Activating":"Deactivating")} shift...`),x.put(route("hr.shifts.toggle-status",s.id),{},{onSuccess:i=>{r.dismiss(),i.props.flash.success?r.success(t(i.props.flash.success)):i.props.flash.error&&r.error(t(i.props.flash.error))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(i):r.error(`Failed to update shift status: ${Object.values(i).join(", ")}`)}})},te=()=>{A(""),M("all"),E("all"),O(!1),x.get(route("hr.shifts.index"),{page:1,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},D=[];D.push({label:t("Calendar View"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>x.get(route("hr.shifts.calendar"))}),b(g,"create-shifts")&&D.push({label:t("Add Shift"),icon:e.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const se=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Shift Management"),href:route("hr.shifts.index")},{title:t("Shifts")}];t("Shift Name"),t("Start Time"),t("End Time"),t("Break (mins)"),t("Working Hours"),t("Grace (mins)"),t("Type"),t("Status"),t("View"),t("Edit"),t("Toggle Status"),t("Delete");const ae=[{value:"all",label:t("All Statuses"),disabled:!0},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")}],re=[{value:"all",label:t("All Types"),disabled:!0},{value:"day",label:t("Day Shift")},{value:"night",label:t("Night Shift")}];t("Monday"),t("Tuesday"),t("Wednesday"),t("Thursday"),t("Friday"),t("Saturday"),t("Sunday");const ie=(s,a,i)=>{if(!s||!a)return 0;const u=new Date(`2000-01-01 ${s}`),v=new Date(`2000-01-01 ${a}`);v<=u&&v.setDate(v.getDate()+1);const P=(v.getTime()-u.getTime())/(1e3*60);return Math.max(0,(P-(i||0))/60)},le=s=>{const a=ie(s.start_time,s.end_time,s.break_duration),i=s.is_night_shift;return e.jsxs(j,{className:"group hover:shadow-md transition-all duration-200 border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800",children:[e.jsx(he,{className:"pb-4",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("div",{className:`p-2.5 rounded-lg ${i?"bg-slate-100 text-slate-600 dark:bg-slate-800 dark:text-slate-400":"bg-gray-100 text-gray-600 dark:bg-gray-700 dark:text-gray-400"}`,children:i?e.jsx(z,{className:"h-5 w-5"}):e.jsx(F,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx(xe,{className:"text-lg font-semibold text-gray-900 dark:text-white mb-2",children:s.name}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${i?"bg-slate-100 text-slate-700 ring-slate-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:t(i?"Night Shift":"Day Shift")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})]})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[b(g,"view-shifts")&&e.jsx(S,{variant:"ghost",size:"sm",onClick:()=>w("view",s),className:"h-8 w-8 p-0 text-blue-500",title:t("View Shift"),children:e.jsx(je,{className:"h-4 w-4"})}),b(g,"edit-shifts")&&e.jsx(S,{variant:"ghost",size:"sm",onClick:()=>w("edit",s),className:"h-8 w-8 p-0 text-amber-500",title:t("Edit Shift"),children:e.jsx(Ne,{className:"h-4 w-4"})}),b(g,"edit-shifts")&&e.jsx(S,{variant:"ghost",size:"sm",onClick:()=>w("toggle-status",s),className:"h-8 w-8 p-0 text-amber-500",title:s.status==="active"?t("Deactivate Shift"):t("Activate Shift"),children:e.jsx(ke,{className:"h-4 w-4"})}),b(g,"delete-shifts")&&e.jsx(S,{variant:"ghost",size:"sm",onClick:()=>w("delete",s),className:"h-8 w-8 p-0 text-red-500",title:t("Delete Shift"),children:e.jsx(we,{className:"h-4 w-4"})})]})]})}),e.jsxs(N,{className:"pt-0",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx(Se,{className:"h-4 w-4 text-gray-500 mt-0.5"}),e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:[window.appSettings.formatTime(s.start_time)," - ",window.appSettings.formatTime(s.end_time)]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t("Shift Hours")})]})]}),e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx(L,{className:"h-4 w-4 text-gray-500 mt-0.5"}),e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:[a.toFixed(1)," ",t("hours")]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t("Working Time")})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:[s.break_duration," ",t("minutes")]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t("Break Duration")})]}),e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:[s.grace_period," ",t("minutes")]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t("Grace Period")})]})]})]}),s.description&&e.jsx("div",{className:"mt-4 pt-4 border-t border-gray-100 dark:border-gray-700",children:e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:s.description})})]})]},s.id)};return e.jsxs(oe,{title:t("Shifts"),url:"/hr/shifts",actions:D,breadcrumbs:se,noPadding:!0,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-6 p-4",children:e.jsx(be,{searchTerm:f,onSearchChange:A,onSearch:Q,filters:[{name:"status",label:t("Status"),type:"select",value:c,onChange:M,options:ae},{name:"shift_type",label:t("Shift Type"),type:"select",value:m,onChange:E,options:re}],showFilters:U,setShowFilters:O,hasActiveFilters:J,activeFilterCount:K,onResetFilters:te,onApplyFilters:B,currentPerPage:((I=d.per_page)==null?void 0:I.toString())||"9",onPerPageChange:s=>{x.get(route("hr.shifts.index"),{page:1,per_page:parseInt(s),search:f||void 0,status:c!=="all"?c:void 0,shift_type:m!=="all"?m:void 0},{preserveState:!0,preserveScroll:!0})},perPageOptions:[9,27,45,90]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[e.jsx(j,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(N,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:t("Total Shifts")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(n==null?void 0:n.total)||0})]}),e.jsx("div",{className:"p-2 bg-gray-100 dark:bg-gray-700 rounded-lg",children:e.jsx(ve,{className:"h-6 w-6 text-gray-600 dark:text-gray-400"})})]})})}),e.jsx(j,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(N,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:t("Active Shifts")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(n==null?void 0:n.active)||0})]}),e.jsx("div",{className:"p-2 bg-green-100 dark:bg-green-900/30 rounded-lg",children:e.jsx(F,{className:"h-6 w-6 text-green-600 dark:text-green-400"})})]})})}),e.jsx(j,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(N,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:t("Night Shifts")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(n==null?void 0:n.night)||0})]}),e.jsx("div",{className:"p-2 bg-slate-100 dark:bg-slate-800 rounded-lg",children:e.jsx(z,{className:"h-6 w-6 text-slate-600 dark:text-slate-400"})})]})})}),e.jsx(j,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(N,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:t("Day Shifts")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(n==null?void 0:n.day)||0})]}),e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900/30 rounded-lg",children:e.jsx(F,{className:"h-6 w-6 text-blue-600 dark:text-blue-400"})})]})})})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6",children:(H=l==null?void 0:l.data)==null?void 0:H.map(s=>le(s))}),e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow border border-gray-200 dark:border-gray-700 p-4",children:e.jsx(fe,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:t("shifts"),onPageChange:s=>{const a=new URL(s).searchParams.get("page")||"1";x.get(route("hr.shifts.index"),{page:a,search:f||void 0,status:c!=="all"?c:void 0,shift_type:m!=="all"?m:void 0,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})}})})]}),e.jsx(ue,{isOpen:W,onClose:()=>y(!1),onSubmit:Y,formConfig:{fields:[{name:"name",label:t("Shift Name"),type:"text",required:!0},{name:"description",label:t("Description"),type:"textarea"},{name:"start_time",label:t("Start Time"),type:"time",required:!0},{name:"end_time",label:t("End Time"),type:"time",required:!0},{name:"break_duration",label:t("Break Duration (minutes)"),type:"number",required:!0,min:0,defaultValue:60},{name:"break_start_time",label:t("Break Start Time"),type:"time"},{name:"break_end_time",label:t("Break End Time"),type:"time"},{name:"grace_period",label:t("Grace Period (minutes)"),type:"number",required:!0,min:0,defaultValue:15},{name:"is_night_shift",label:t("Night Shift"),type:"checkbox",defaultValue:!1},{name:"status",label:t("Status"),type:"select",options:[{value:"active",label:"Active"},{value:"inactive",label:"Inactive"}],defaultValue:"active"},...b(g,"manage-any-shifts")?[{name:"branch_id",label:t("Branch"),type:"select",options:[{value:"none",label:t("All Branches (Company-wide)")},...R.map(s=>({value:s.id.toString(),label:s.name}))],defaultValue:"none"}]:[]],modalSize:"lg"},initialData:p?{...p,branch_id:p.branch_id?p.branch_id.toString():"none"}:null,title:t(k==="create"?"Add New Shift":"Edit Shift"),mode:k}),e.jsx(ge,{isOpen:G,onClose:()=>C(!1),onConfirm:Z,itemName:(p==null?void 0:p.name)||"",entityName:"shift"}),e.jsx(pe,{open:!!T,onOpenChange:()=>V(null),children:T&&e.jsx(ye,{shift:T})})]})}export{Tt as default}; diff --git a/public/build/assets/index-eZPreZA5.js b/public/build/assets/index-DDVcNMxg.js similarity index 76% rename from public/build/assets/index-eZPreZA5.js rename to public/build/assets/index-DDVcNMxg.js index e9eac4b11..c0528d41a 100644 --- a/public/build/assets/index-eZPreZA5.js +++ b/public/build/assets/index-DDVcNMxg.js @@ -1 +1 @@ -import{r as p,j as n}from"./ui-Z445SNHD.js";import{P as fe}from"./page-template-BTxLyiDA.js";import{u as we,c as xe,x as Se,P as je,F as Ce,g as Pe,r as m,M as ke,D as Fe,t as s}from"./app-CfhhiFAk.js";import{C as Ne}from"./CrudTable-qPWooc10.js";import{C as k}from"./CrudFormModal-DAR9q-oM.js";import{C as We}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Ee}from"./pagination-D8A_HnL5.js";import{S as Oe}from"./search-and-filter-bar-6Pp-FsiR.js";import Ae from"./view-65Z7yBvm.js";import{u as De}from"./use-initials-BK4eRgYY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function wa(){var z,H;const{t:e}=we(),{auth:w,warnings:o,employees:Y,managers:x,warningTypes:J,filters:l={}}=xe().props,F=(w==null?void 0:w.permissions)||[],K=De(),[u,N]=p.useState(l.search||""),[g,W]=p.useState(l.employee_id||""),[h,E]=p.useState(l.warning_type||""),[v,O]=p.useState(l.severity||""),[d,A]=p.useState(l.status||"all"),[b,D]=p.useState(l.date_from||""),[_,I]=p.useState(l.date_to||""),[Q,T]=p.useState(!1),[X,S]=p.useState(!1),[Z,y]=p.useState(!1),[ee,j]=p.useState(!1),[te,C]=p.useState(!1),[r,M]=p.useState(null),[c,q]=p.useState("create"),[P,V]=p.useState(null),re=()=>g!==""||h!==""||v!==""||d!=="all"||b!==""||_!==""||u!=="",ae=()=>(g!==""?1:0)+(h!==""?1:0)+(v!==""?1:0)+(d!=="all"?1:0)+(b!==""?1:0)+(_!==""?1:0)+(u!==""?1:0),se=t=>{t.preventDefault(),R()},R=()=>{m.get(route("hr.warnings.index"),{page:1,search:u||void 0,employee_id:g||void 0,warning_type:h||void 0,severity:v||void 0,status:d!=="all"?d:void 0,date_from:b||void 0,date_to:_||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},ie=t=>{const a=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";m.get(route("hr.warnings.index"),{sort_field:t,sort_direction:a,page:1,search:u||void 0,employee_id:g||void 0,warning_type:h||void 0,severity:v||void 0,status:d!=="all"?d:void 0,date_from:b||void 0,date_to:_||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},ne=(t,a)=>{switch(M(a),t){case"view":V(a);break;case"edit":q("edit"),y(!0);break;case"delete":S(!0);break;case"change-status":j(!0);break;case"improvement-plan":C(!0);break;case"download-document":window.open(route("hr.warnings.download-document",a.id),"_blank");break}},oe=()=>{M(null),q("create"),y(!0)},le=t=>{const a=t;c==="create"?(s.loading(e("Creating warning...")),m.post(route("hr.warnings.store"),a,{onSuccess:i=>{y(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to create warning: {{errors}}",{errors:Object.values(i).join(", ")}))}})):c==="edit"&&(s.loading(e("Updating warning...")),m.put(route("hr.warnings.update",r.id),a,{onSuccess:i=>{y(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to update warning: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},pe=t=>{s.loading(e("Updating warning status...")),m.put(route("hr.warnings.change-status",r.id),t,{onSuccess:a=>{j(!1),s.dismiss(),a.props.flash.success?s.success(e(a.props.flash.success)):a.props.flash.error&&s.error(e(a.props.flash.error))},onError:a=>{s.dismiss(),typeof a=="string"?s.error(e(a)):s.error(e("Failed to update warning status: {{errors}}",{errors:Object.values(a).join(", ")}))}})},me=t=>{s.loading(e("Updating improvement plan..."));const a={...t,has_improvement_plan:!!t.has_improvement_plan};m.put(route("hr.warnings.update-improvement-plan",r.id),a,{onSuccess:i=>{C(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to update improvement plan: {{errors}}",{errors:Object.values(i).join(", ")}))}})},de=()=>{s.loading(e("Deleting warning...")),m.delete(route("hr.warnings.destroy",r.id),{onSuccess:t=>{S(!1),s.dismiss(),t.props.flash.success?s.success(e(t.props.flash.success)):t.props.flash.error&&s.error(e(t.props.flash.error))},onError:t=>{s.dismiss(),typeof t=="string"?s.error(e(t)):s.error(e("Failed to delete warning: {{errors}}",{errors:Object.values(t).join(", ")}))}})},ce=()=>{N(""),W(""),E(""),O(""),A("all"),D(""),I(""),T(!1),m.get(route("hr.warnings.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},U=[];Se(F,"create-warnings")&&U.push({label:e("Add Warning"),icon:n.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>oe()});const ue=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.warnings.index")},{title:e("Warnings")}],ge=[{key:"employee.name",label:e("Employee"),render:(t,a)=>{var i,f,B,G,L;return n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=a.employee)!=null&&i.avatar?n.jsx("img",{src:a.employee.avatar,alt:(f=a.employee)==null?void 0:f.name,className:"h-full w-full object-cover"}):K(((B=a.employee)==null?void 0:B.name)||"")}),n.jsxs("div",{children:[n.jsx("div",{className:"font-medium",children:((G=a.employee)==null?void 0:G.name)||"-"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:((L=a.employee)==null?void 0:L.email)||""})]})]})}},{key:"subject",label:e("Subject"),render:t=>t||"-"},{key:"warning_type",label:e("Type"),render:t=>t||"-"},{key:"severity",label:e("Severity"),render:t=>{const a={verbal:"bg-blue-50 text-blue-700 ring-blue-600/20",written:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",final:"bg-red-50 text-red-700 ring-red-600/20"};return n.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"warning_date",label:e("Date"),sortable:!0,render:t=>{var a;return t?((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const a={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",issued:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",acknowledged:"bg-green-50 text-green-700 ring-green-600/20",expired:"bg-blue-50 text-blue-700 ring-blue-600/20"};return n.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"has_improvement_plan",label:e("Improvement Plan"),render:t=>t?n.jsx("span",{className:"inline-flex items-center rounded-md bg-green-50 px-2 py-1 text-xs font-medium text-green-700 ring-1 ring-inset ring-green-600/20",children:e("Yes")}):n.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-700 ring-1 ring-inset ring-gray-600/20",children:e("No")})},{key:"documents",label:e("Documents"),render:(t,a)=>t&&t.trim()!==""?n.jsx("a",{href:Pe(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:n.jsx(Ce,{className:"h-4 w-4"})}):"-"}],he=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-warnings"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-warnings"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:["approve-warnings","acknowledge-warnings"]},{label:e("Improvement Plan"),icon:"LineChart",action:"improvement-plan",className:"text-purple-500",requiredPermission:"edit-warnings"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-warnings"}],$=[{value:"",label:e("All Employees"),disabled:!0},...(Y||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],ve=[{value:"",label:e("All Types"),disabled:!0},...(J||[]).map(t=>({value:t,label:t}))],be=[{value:"",label:e("All Severities"),disabled:!0},{value:"verbal",label:e("Verbal")},{value:"written",label:e("Written")},{value:"final",label:e("Final")}],_e=[{value:"all",label:e("All Statuses"),disabled:!0},{value:"draft",label:e("Draft")},{value:"issued",label:e("Issued")},{value:"acknowledged",label:e("Acknowledged")},{value:"expired",label:e("Expired")}],ye=[{value:"Attendance",label:e("Attendance")},{value:"Performance",label:e("Performance")},{value:"Conduct",label:e("Conduct")},{value:"Policy Violation",label:e("Policy Violation")},{value:"Safety",label:e("Safety")},{value:"Communication",label:e("Communication")},{value:"Insubordination",label:e("Insubordination")},{value:"Confidentiality",label:e("Confidentiality")}];return n.jsxs(fe,{title:e("Warnings"),url:"/hr/warnings",actions:U,breadcrumbs:ue,noPadding:!0,children:[n.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:n.jsx(Oe,{searchTerm:u,onSearchChange:N,onSearch:se,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:g,onChange:W,options:$,searchable:!0},{name:"warning_type",label:e("Type"),type:"select",value:h,onChange:E,options:ve,searchable:!0},{name:"severity",label:e("Severity"),type:"select",value:v,onChange:O,options:be,searchable:!0},{name:"status",label:e("Status"),type:"select",value:d,onChange:A,options:_e,searchable:!0},{name:"date_from",label:e("Date From"),type:"date",value:b,onChange:D},{name:"date_to",label:e("Date To"),type:"date",value:_,onChange:I}],showFilters:Q,setShowFilters:T,hasActiveFilters:re,activeFilterCount:ae,onResetFilters:ce,onApplyFilters:R,currentPerPage:((z=l.per_page)==null?void 0:z.toString())||"10",onPerPageChange:t=>{m.get(route("hr.warnings.index"),{page:1,per_page:parseInt(t),search:u||void 0,employee_id:g||void 0,warning_type:h||void 0,severity:v||void 0,status:d!=="all"?d:void 0,date_from:b||void 0,date_to:_||void 0},{preserveState:!0,preserveScroll:!0})}})}),n.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[n.jsx(Ne,{columns:ge,actions:he,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:ne,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:ie,permissions:F,entityPermissions:{view:"view-warnings",create:"create-warnings",edit:"edit-warnings",delete:"delete-warnings"}}),n.jsx(Ee,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:e("warnings"),onPageChange:t=>m.get(t)})]}),n.jsx(k,{isOpen:Z,onClose:()=>y(!1),onSubmit:le,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:$.filter(t=>t.value!==""),searchable:!0},{name:"warning_by",label:e("Warning By"),type:"select",required:!0,searchable:!0,options:(x==null?void 0:x.map(t=>({value:t.id.toString(),label:t.name})))||[]},{name:"warning_type",label:e("Warning Type"),type:"select",required:!0,options:ye,searchable:!0},{name:"subject",label:e("Subject"),type:"text",required:!0},{name:"severity",label:e("Severity"),type:"select",required:!0,options:[{value:"verbal",label:e("Verbal")},{value:"written",label:e("Written")},{value:"final",label:e("Final")}]},{name:"warning_date",label:e("Warning Date"),type:"date",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,a,i)=>n.jsx(ke,{value:String(a[t.name]||""),onChange:f=>i(t.name,f),placeholder:e("Select document file...")})},{name:"expiry_date",label:e("Expiry Date"),type:"date"},{name:"has_improvement_plan",label:e("Has Improvement Plan"),type:c==="view"?"text":"checkbox",render:c==="view"?t=>e(t?"Yes":"No"):void 0},{name:"improvement_plan_goals",label:e("Improvement Plan Goals"),type:"textarea",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_start_date",label:e("Improvement Plan Start Date"),type:"date",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_end_date",label:e("Improvement Plan End Date"),type:"date",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},...c==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"draft",label:e("Draft")},{value:"issued",label:e("Issued")},{value:"acknowledged",label:e("Acknowledged")},{value:"expired",label:e("Expired")}]},{name:"acknowledgment_date",label:e("Acknowledgment Date"),type:"date",showWhen:t=>["acknowledged","expired"].includes(t.status)},{name:"employee_response",label:e("Employee Response"),type:"textarea",showWhen:t=>["acknowledged","expired"].includes(t.status)},{name:"improvement_plan_progress",label:e("Improvement Plan Progress"),type:"textarea",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"}]:[]],modalSize:"lg"},initialData:r?{...r,has_improvement_plan:r.has_improvement_plan===1||r.has_improvement_plan===!0||r.has_improvement_plan==="1",warning_date:r.warning_date?window.appSettings.formatDateTimeSimple(r.warning_date,!1):r.warning_date}:null,title:e(c==="create"?"Add New Warning":"Edit Warning"),mode:c}),n.jsx(k,{isOpen:ee,onClose:()=>j(!1),onSubmit:pe,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"draft",label:e("Draft")},{value:"issued",label:e("Issued")},{value:"acknowledged",label:e("Acknowledged")},{value:"expired",label:e("Expired")}],defaultValue:r==null?void 0:r.status},{name:"acknowledgment_date",label:e("Acknowledgment Date"),type:"date",showWhen:t=>["acknowledged","expired"].includes(t.status)},{name:"employee_response",label:e("Employee Response"),type:"textarea",showWhen:t=>["acknowledged","expired"].includes(t.status)}],modalSize:"md"},initialData:r,title:e("Change Warning Status"),mode:"edit"}),n.jsx(k,{isOpen:te,onClose:()=>C(!1),onSubmit:me,formConfig:{fields:[{name:"has_improvement_plan",label:e("Has Improvement Plan"),type:"checkbox",defaultValue:(r==null?void 0:r.has_improvement_plan)===!0||(r==null?void 0:r.has_improvement_plan)===1||(r==null?void 0:r.has_improvement_plan)==="1"},{name:"improvement_plan_goals",label:e("Improvement Plan Goals"),type:"textarea",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_start_date",label:e("Improvement Plan Start Date"),type:"date",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_end_date",label:e("Improvement Plan End Date"),type:"date",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_progress",label:e("Improvement Plan Progress"),type:"textarea",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"}],modalSize:"md"},initialData:r?{...r,has_improvement_plan:r.has_improvement_plan===!0||r.has_improvement_plan===1||r.has_improvement_plan==="1"}:null,title:e("Update Improvement Plan"),mode:"edit"}),n.jsx(We,{isOpen:X,onClose:()=>S(!1),onConfirm:de,itemName:`${((H=r==null?void 0:r.employee)==null?void 0:H.name)||""} - ${(r==null?void 0:r.subject)||""}`,entityName:"warning"}),n.jsx(Fe,{open:!!P,onOpenChange:()=>V(null),children:P&&n.jsx(Ae,{warning:P})})]})}export{wa as default}; +import{r as p,j as n}from"./ui-Z445SNHD.js";import{P as fe}from"./page-template-CLNVC8w_.js";import{u as we,c as xe,x as Se,P as je,F as Ce,g as Pe,r as m,M as ke,D as Fe,t as s}from"./app-Dya84jp7.js";import{C as Ne}from"./CrudTable-yqxtM6E_.js";import{C as k}from"./CrudFormModal-CsuqSfb2.js";import{C as We}from"./CrudDeleteModal-D32N6I8y.js";import{P as Ee}from"./pagination-4PUepASD.js";import{S as Oe}from"./search-and-filter-bar-DWH0yn_r.js";import Ae from"./view-D9KBamBj.js";import{u as De}from"./use-initials-BK4eRgYY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function wa(){var z,H;const{t:e}=we(),{auth:w,warnings:o,employees:Y,managers:x,warningTypes:J,filters:l={}}=xe().props,F=(w==null?void 0:w.permissions)||[],K=De(),[u,N]=p.useState(l.search||""),[g,W]=p.useState(l.employee_id||""),[h,E]=p.useState(l.warning_type||""),[v,O]=p.useState(l.severity||""),[d,A]=p.useState(l.status||"all"),[b,D]=p.useState(l.date_from||""),[_,I]=p.useState(l.date_to||""),[Q,T]=p.useState(!1),[X,S]=p.useState(!1),[Z,y]=p.useState(!1),[ee,j]=p.useState(!1),[te,C]=p.useState(!1),[r,M]=p.useState(null),[c,q]=p.useState("create"),[P,V]=p.useState(null),re=()=>g!==""||h!==""||v!==""||d!=="all"||b!==""||_!==""||u!=="",ae=()=>(g!==""?1:0)+(h!==""?1:0)+(v!==""?1:0)+(d!=="all"?1:0)+(b!==""?1:0)+(_!==""?1:0)+(u!==""?1:0),se=t=>{t.preventDefault(),R()},R=()=>{m.get(route("hr.warnings.index"),{page:1,search:u||void 0,employee_id:g||void 0,warning_type:h||void 0,severity:v||void 0,status:d!=="all"?d:void 0,date_from:b||void 0,date_to:_||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},ie=t=>{const a=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";m.get(route("hr.warnings.index"),{sort_field:t,sort_direction:a,page:1,search:u||void 0,employee_id:g||void 0,warning_type:h||void 0,severity:v||void 0,status:d!=="all"?d:void 0,date_from:b||void 0,date_to:_||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},ne=(t,a)=>{switch(M(a),t){case"view":V(a);break;case"edit":q("edit"),y(!0);break;case"delete":S(!0);break;case"change-status":j(!0);break;case"improvement-plan":C(!0);break;case"download-document":window.open(route("hr.warnings.download-document",a.id),"_blank");break}},oe=()=>{M(null),q("create"),y(!0)},le=t=>{const a=t;c==="create"?(s.loading(e("Creating warning...")),m.post(route("hr.warnings.store"),a,{onSuccess:i=>{y(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to create warning: {{errors}}",{errors:Object.values(i).join(", ")}))}})):c==="edit"&&(s.loading(e("Updating warning...")),m.put(route("hr.warnings.update",r.id),a,{onSuccess:i=>{y(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to update warning: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},pe=t=>{s.loading(e("Updating warning status...")),m.put(route("hr.warnings.change-status",r.id),t,{onSuccess:a=>{j(!1),s.dismiss(),a.props.flash.success?s.success(e(a.props.flash.success)):a.props.flash.error&&s.error(e(a.props.flash.error))},onError:a=>{s.dismiss(),typeof a=="string"?s.error(e(a)):s.error(e("Failed to update warning status: {{errors}}",{errors:Object.values(a).join(", ")}))}})},me=t=>{s.loading(e("Updating improvement plan..."));const a={...t,has_improvement_plan:!!t.has_improvement_plan};m.put(route("hr.warnings.update-improvement-plan",r.id),a,{onSuccess:i=>{C(!1),s.dismiss(),i.props.flash.success?s.success(e(i.props.flash.success)):i.props.flash.error&&s.error(e(i.props.flash.error))},onError:i=>{s.dismiss(),typeof i=="string"?s.error(e(i)):s.error(e("Failed to update improvement plan: {{errors}}",{errors:Object.values(i).join(", ")}))}})},de=()=>{s.loading(e("Deleting warning...")),m.delete(route("hr.warnings.destroy",r.id),{onSuccess:t=>{S(!1),s.dismiss(),t.props.flash.success?s.success(e(t.props.flash.success)):t.props.flash.error&&s.error(e(t.props.flash.error))},onError:t=>{s.dismiss(),typeof t=="string"?s.error(e(t)):s.error(e("Failed to delete warning: {{errors}}",{errors:Object.values(t).join(", ")}))}})},ce=()=>{N(""),W(""),E(""),O(""),A("all"),D(""),I(""),T(!1),m.get(route("hr.warnings.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},U=[];Se(F,"create-warnings")&&U.push({label:e("Add Warning"),icon:n.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>oe()});const ue=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.warnings.index")},{title:e("Warnings")}],ge=[{key:"employee.name",label:e("Employee"),render:(t,a)=>{var i,f,B,G,L;return n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(i=a.employee)!=null&&i.avatar?n.jsx("img",{src:a.employee.avatar,alt:(f=a.employee)==null?void 0:f.name,className:"h-full w-full object-cover"}):K(((B=a.employee)==null?void 0:B.name)||"")}),n.jsxs("div",{children:[n.jsx("div",{className:"font-medium",children:((G=a.employee)==null?void 0:G.name)||"-"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:((L=a.employee)==null?void 0:L.email)||""})]})]})}},{key:"subject",label:e("Subject"),render:t=>t||"-"},{key:"warning_type",label:e("Type"),render:t=>t||"-"},{key:"severity",label:e("Severity"),render:t=>{const a={verbal:"bg-blue-50 text-blue-700 ring-blue-600/20",written:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",final:"bg-red-50 text-red-700 ring-red-600/20"};return n.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"warning_date",label:e("Date"),sortable:!0,render:t=>{var a;return t?((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const a={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",issued:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",acknowledged:"bg-green-50 text-green-700 ring-green-600/20",expired:"bg-blue-50 text-blue-700 ring-blue-600/20"};return n.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"has_improvement_plan",label:e("Improvement Plan"),render:t=>t?n.jsx("span",{className:"inline-flex items-center rounded-md bg-green-50 px-2 py-1 text-xs font-medium text-green-700 ring-1 ring-inset ring-green-600/20",children:e("Yes")}):n.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-700 ring-1 ring-inset ring-gray-600/20",children:e("No")})},{key:"documents",label:e("Documents"),render:(t,a)=>t&&t.trim()!==""?n.jsx("a",{href:Pe(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:n.jsx(Ce,{className:"h-4 w-4"})}):"-"}],he=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-warnings"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-warnings"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:["approve-warnings","acknowledge-warnings"]},{label:e("Improvement Plan"),icon:"LineChart",action:"improvement-plan",className:"text-purple-500",requiredPermission:"edit-warnings"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-warnings"}],$=[{value:"",label:e("All Employees"),disabled:!0},...(Y||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],ve=[{value:"",label:e("All Types"),disabled:!0},...(J||[]).map(t=>({value:t,label:t}))],be=[{value:"",label:e("All Severities"),disabled:!0},{value:"verbal",label:e("Verbal")},{value:"written",label:e("Written")},{value:"final",label:e("Final")}],_e=[{value:"all",label:e("All Statuses"),disabled:!0},{value:"draft",label:e("Draft")},{value:"issued",label:e("Issued")},{value:"acknowledged",label:e("Acknowledged")},{value:"expired",label:e("Expired")}],ye=[{value:"Attendance",label:e("Attendance")},{value:"Performance",label:e("Performance")},{value:"Conduct",label:e("Conduct")},{value:"Policy Violation",label:e("Policy Violation")},{value:"Safety",label:e("Safety")},{value:"Communication",label:e("Communication")},{value:"Insubordination",label:e("Insubordination")},{value:"Confidentiality",label:e("Confidentiality")}];return n.jsxs(fe,{title:e("Warnings"),url:"/hr/warnings",actions:U,breadcrumbs:ue,noPadding:!0,children:[n.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:n.jsx(Oe,{searchTerm:u,onSearchChange:N,onSearch:se,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:g,onChange:W,options:$,searchable:!0},{name:"warning_type",label:e("Type"),type:"select",value:h,onChange:E,options:ve,searchable:!0},{name:"severity",label:e("Severity"),type:"select",value:v,onChange:O,options:be,searchable:!0},{name:"status",label:e("Status"),type:"select",value:d,onChange:A,options:_e,searchable:!0},{name:"date_from",label:e("Date From"),type:"date",value:b,onChange:D},{name:"date_to",label:e("Date To"),type:"date",value:_,onChange:I}],showFilters:Q,setShowFilters:T,hasActiveFilters:re,activeFilterCount:ae,onResetFilters:ce,onApplyFilters:R,currentPerPage:((z=l.per_page)==null?void 0:z.toString())||"10",onPerPageChange:t=>{m.get(route("hr.warnings.index"),{page:1,per_page:parseInt(t),search:u||void 0,employee_id:g||void 0,warning_type:h||void 0,severity:v||void 0,status:d!=="all"?d:void 0,date_from:b||void 0,date_to:_||void 0},{preserveState:!0,preserveScroll:!0})}})}),n.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[n.jsx(Ne,{columns:ge,actions:he,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:ne,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:ie,permissions:F,entityPermissions:{view:"view-warnings",create:"create-warnings",edit:"edit-warnings",delete:"delete-warnings"}}),n.jsx(Ee,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:e("warnings"),onPageChange:t=>m.get(t)})]}),n.jsx(k,{isOpen:Z,onClose:()=>y(!1),onSubmit:le,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:$.filter(t=>t.value!==""),searchable:!0},{name:"warning_by",label:e("Warning By"),type:"select",required:!0,searchable:!0,options:(x==null?void 0:x.map(t=>({value:t.id.toString(),label:t.name})))||[]},{name:"warning_type",label:e("Warning Type"),type:"select",required:!0,options:ye,searchable:!0},{name:"subject",label:e("Subject"),type:"text",required:!0},{name:"severity",label:e("Severity"),type:"select",required:!0,options:[{value:"verbal",label:e("Verbal")},{value:"written",label:e("Written")},{value:"final",label:e("Final")}]},{name:"warning_date",label:e("Warning Date"),type:"date",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,a,i)=>n.jsx(ke,{value:String(a[t.name]||""),onChange:f=>i(t.name,f),placeholder:e("Select document file...")})},{name:"expiry_date",label:e("Expiry Date"),type:"date"},{name:"has_improvement_plan",label:e("Has Improvement Plan"),type:c==="view"?"text":"checkbox",render:c==="view"?t=>e(t?"Yes":"No"):void 0},{name:"improvement_plan_goals",label:e("Improvement Plan Goals"),type:"textarea",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_start_date",label:e("Improvement Plan Start Date"),type:"date",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_end_date",label:e("Improvement Plan End Date"),type:"date",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},...c==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"draft",label:e("Draft")},{value:"issued",label:e("Issued")},{value:"acknowledged",label:e("Acknowledged")},{value:"expired",label:e("Expired")}]},{name:"acknowledgment_date",label:e("Acknowledgment Date"),type:"date",showWhen:t=>["acknowledged","expired"].includes(t.status)},{name:"employee_response",label:e("Employee Response"),type:"textarea",showWhen:t=>["acknowledged","expired"].includes(t.status)},{name:"improvement_plan_progress",label:e("Improvement Plan Progress"),type:"textarea",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"}]:[]],modalSize:"lg"},initialData:r?{...r,has_improvement_plan:r.has_improvement_plan===1||r.has_improvement_plan===!0||r.has_improvement_plan==="1",warning_date:r.warning_date?window.appSettings.formatDateTimeSimple(r.warning_date,!1):r.warning_date}:null,title:e(c==="create"?"Add New Warning":"Edit Warning"),mode:c}),n.jsx(k,{isOpen:ee,onClose:()=>j(!1),onSubmit:pe,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"draft",label:e("Draft")},{value:"issued",label:e("Issued")},{value:"acknowledged",label:e("Acknowledged")},{value:"expired",label:e("Expired")}],defaultValue:r==null?void 0:r.status},{name:"acknowledgment_date",label:e("Acknowledgment Date"),type:"date",showWhen:t=>["acknowledged","expired"].includes(t.status)},{name:"employee_response",label:e("Employee Response"),type:"textarea",showWhen:t=>["acknowledged","expired"].includes(t.status)}],modalSize:"md"},initialData:r,title:e("Change Warning Status"),mode:"edit"}),n.jsx(k,{isOpen:te,onClose:()=>C(!1),onSubmit:me,formConfig:{fields:[{name:"has_improvement_plan",label:e("Has Improvement Plan"),type:"checkbox",defaultValue:(r==null?void 0:r.has_improvement_plan)===!0||(r==null?void 0:r.has_improvement_plan)===1||(r==null?void 0:r.has_improvement_plan)==="1"},{name:"improvement_plan_goals",label:e("Improvement Plan Goals"),type:"textarea",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_start_date",label:e("Improvement Plan Start Date"),type:"date",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_end_date",label:e("Improvement Plan End Date"),type:"date",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"},{name:"improvement_plan_progress",label:e("Improvement Plan Progress"),type:"textarea",showWhen:t=>t.has_improvement_plan===!0||t.has_improvement_plan===1||t.has_improvement_plan==="1"}],modalSize:"md"},initialData:r?{...r,has_improvement_plan:r.has_improvement_plan===!0||r.has_improvement_plan===1||r.has_improvement_plan==="1"}:null,title:e("Update Improvement Plan"),mode:"edit"}),n.jsx(We,{isOpen:X,onClose:()=>S(!1),onConfirm:de,itemName:`${((H=r==null?void 0:r.employee)==null?void 0:H.name)||""} - ${(r==null?void 0:r.subject)||""}`,entityName:"warning"}),n.jsx(Fe,{open:!!P,onOpenChange:()=>V(null),children:P&&n.jsx(Ae,{warning:P})})]})}export{wa as default}; diff --git a/public/build/assets/index-BHfZYVNr.js b/public/build/assets/index-DFj2VUsB.js similarity index 74% rename from public/build/assets/index-BHfZYVNr.js rename to public/build/assets/index-DFj2VUsB.js index ea34a4e9a..177edb6b8 100644 --- a/public/build/assets/index-BHfZYVNr.js +++ b/public/build/assets/index-DFj2VUsB.js @@ -1 +1 @@ -import{r as n,j as a}from"./ui-Z445SNHD.js";import{P as be}from"./page-template-BTxLyiDA.js";import{u as fe,c as ge,x as he,P as ve,o as xe,F as Se,r as d,M as ye,D as _e,t as r}from"./app-CfhhiFAk.js";import{C as Ce}from"./CrudTable-qPWooc10.js";import{C as x}from"./CrudFormModal-DAR9q-oM.js";import{C as je}from"./CrudDeleteModal-CKTiD3_K.js";import{P as we}from"./pagination-D8A_HnL5.js";import{S as Pe}from"./search-and-filter-bar-6Pp-FsiR.js";import De from"./view-CaHtUUUu.js";import{u as Fe}from"./use-initials-BK4eRgYY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function fr(){var V,z;const{t:e}=fe(),{auth:S,trips:l,employees:L,filters:p={}}=ge().props,P=(S==null?void 0:S.permissions)||[],H=Fe(),[u,D]=n.useState(p.search||""),[c,F]=n.useState(p.employee_id||""),[m,A]=n.useState(p.status||"all"),[b,O]=n.useState(p.date_from||""),[f,k]=n.useState(p.date_to||""),[G,E]=n.useState(!1),[J,y]=n.useState(!1),[K,g]=n.useState(!1),[Q,_]=n.useState(!1),[X,C]=n.useState(!1),[Y,j]=n.useState(!1),[i,N]=n.useState(null),[h,T]=n.useState("create"),[w,q]=n.useState(null),Z=()=>c!==""||m!=="all"||b!==""||f!==""||u!=="",ee=()=>(c!==""?1:0)+(m!=="all"?1:0)+(b!==""?1:0)+(f!==""?1:0)+(u!==""?1:0),te=t=>{t.preventDefault(),M()},M=()=>{d.get(route("hr.trips.index"),{page:1,search:u||void 0,employee_id:c||void 0,status:m!=="all"?m:void 0,date_from:b||void 0,date_to:f||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},se=t=>{const s=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";d.get(route("hr.trips.index"),{sort_field:t,sort_direction:s,page:1,search:u||void 0,employee_id:c||void 0,status:m!=="all"?m:void 0,date_from:b||void 0,date_to:f||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},R=(t,s)=>{switch(N(s),t){case"view":q(s);break;case"edit":T("edit"),g(!0);break;case"delete":y(!0);break;case"change-status":_(!0);break;case"advance-status":C(!0);break;case"reimbursement-status":j(!0);break;case"download-document":window.open(route("hr.trips.download-document",s.id),"_blank");break;case"view-expenses":d.get(route("hr.trips.expenses",s.id));break}},re=()=>{N(null),T("create"),g(!0)},ae=t=>{const s=t;h==="create"?(r.loading(e("Creating trip...")),d.post(route("hr.trips.store"),s,{onSuccess:o=>{g(!1),r.dismiss(),o.props.flash.success?r.success(e(o.props.flash.success)):o.props.flash.error&&r.error(e(o.props.flash.error))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(e(o)):r.error(e("Failed to create trip: {{errors}}",{errors:Object.values(o).join(", ")}))}})):h==="edit"&&(r.loading(e("Updating trip...")),d.put(route("hr.trips.update",i.id),s,{onSuccess:o=>{g(!1),r.dismiss(),o.props.flash.success?r.success(e(o.props.flash.success)):o.props.flash.error&&r.error(e(o.props.flash.error))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(e(o)):r.error(e("Failed to update trip: {{errors}}",{errors:Object.values(o).join(", ")}))}}))},ie=t=>{r.loading(e("Updating trip status...")),d.put(route("hr.trips.change-status",i.id),t,{onSuccess:s=>{_(!1),r.dismiss(),s.props.flash.success?r.success(e(s.props.flash.success)):s.props.flash.error&&r.error(e(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(e(s)):r.error(e("Failed to update trip status: {{errors}}",{errors:Object.values(s).join(", ")}))}})},oe=t=>{r.loading(e("Updating advance status...")),d.put(route("hr.trips.update-advance-status",i.id),t,{onSuccess:s=>{C(!1),r.dismiss(),s.props.flash.success?r.success(e(s.props.flash.success)):s.props.flash.error&&r.error(e(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(e(s)):r.error(e("Failed to update advance status: {{errors}}",{errors:Object.values(s).join(", ")}))}})},le=t=>{r.loading(e("Updating reimbursement status...")),d.put(route("hr.trips.update-reimbursement-status",i.id),t,{onSuccess:s=>{j(!1),r.dismiss(),s.props.flash.success?r.success(e(s.props.flash.success)):s.props.flash.error&&r.error(e(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(e(s)):r.error(e("Failed to update reimbursement status: {{errors}}",{errors:Object.values(s).join(", ")}))}})},ne=()=>{r.loading(e("Deleting trip...")),d.delete(route("hr.trips.destroy",i.id),{onSuccess:t=>{y(!1),r.dismiss(),t.props.flash.success?r.success(e(t.props.flash.success)):t.props.flash.error&&r.error(e(t.props.flash.error))},onError:t=>{r.dismiss(),typeof t=="string"?r.error(e(t)):r.error(e("Failed to delete trip: {{errors}}",{errors:Object.values(t).join(", ")}))}})},pe=()=>{D(""),F(""),A("all"),O(""),k(""),E(!1),d.get(route("hr.trips.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},U=[];he(P,"create-trips")&&U.push({label:e("Add Trip"),icon:a.jsx(ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>re()});const de=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.trips.index")},{title:e("Trips")}],me=[{key:"employee.name",label:e("Employee"),render:(t,s)=>{var o,v,W,B,I;return a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(o=s.employee)!=null&&o.avatar?a.jsx("img",{src:s.employee.avatar,alt:(v=s.employee)==null?void 0:v.name,className:"h-full w-full object-cover"}):H(((W=s.employee)==null?void 0:W.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((B=s.employee)==null?void 0:B.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:((I=s.employee)==null?void 0:I.email)||""})]})]})}},{key:"destination",label:e("Destination"),render:t=>t||"-"},{key:"start_date",label:e("Start Date"),sortable:!0,render:t=>{var s;return t?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"end_date",label:e("End Date"),sortable:!0,render:t=>{var s;return t?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const s={planned:"bg-blue-50 text-blue-700 ring-blue-600/20",ongoing:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"advance_amount",label:e("Advance"),render:(t,s)=>{if(!t||parseFloat(t)===0)return"-";const o={requested:"bg-blue-50 text-blue-700 ring-blue-600/20",approved:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",paid:"bg-green-50 text-green-700 ring-green-600/20",reconciled:"bg-purple-50 text-purple-700 ring-purple-600/20"};return a.jsxs("div",{children:[a.jsxs("div",{children:[" ",window.appSettings.formatCurrency(t)]}),s.advance_status&&a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${o[s.advance_status]||""}`,children:s.advance_status.charAt(0).toUpperCase()+s.advance_status.slice(1)})]})}},{key:"total_expenses",label:e("Expenses"),render:(t,s)=>{if(!t||parseFloat(t)===0)return"-";const o={pending:"bg-blue-50 text-blue-700 ring-blue-600/20",approved:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",paid:"bg-green-50 text-green-700 ring-green-600/20"};return a.jsxs("div",{children:[a.jsx("div",{children:window.appSettings.formatCurrency(t)}),s.reimbursement_status&&a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${o[s.reimbursement_status]||""}`,children:s.reimbursement_status.charAt(0).toUpperCase()+s.reimbursement_status.slice(1)})]})}},{key:"actions",label:e("Expenses"),render:(t,s)=>a.jsx("div",{className:"flex space-x-2",children:a.jsxs(xe,{variant:"outline",size:"sm",className:"flex items-center text-blue-500",onClick:o=>{o.stopPropagation(),R("view-expenses",s)},children:[a.jsx(Se,{className:"h-4 w-4 mr-1"}),e("Expenses")]})})}],ue=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-trips"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-trips"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:"edit-trips"},{label:e("Advance Status"),icon:"DollarSign",action:"advance-status",className:"text-purple-500",requiredPermission:"edit-trips",showWhen:t=>t.advance_amount>0},{label:e("Reimbursement Status"),icon:"CreditCard",action:"reimbursement-status",className:"text-indigo-500",requiredPermission:"edit-trips",showWhen:t=>t.total_expenses>0},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-trips"}],$=[{value:"",label:e("All Employees"),disabled:!0},...(L||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],ce=[{value:"all",label:e("All Statuses")},{value:"planned",label:e("Planned")},{value:"ongoing",label:e("Ongoing")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}];return a.jsxs(be,{title:e("Trips"),url:"/hr/trips",actions:U,breadcrumbs:de,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(Pe,{searchTerm:u,onSearchChange:D,onSearch:te,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:c,onChange:F,options:$,searchable:!0},{name:"status",label:e("Status"),type:"select",value:m,onChange:A,options:ce},{name:"date_from",label:e("Start Date From"),type:"date",value:b,onChange:O},{name:"date_to",label:e("End Date To"),type:"date",value:f,onChange:k}],showFilters:G,setShowFilters:E,hasActiveFilters:Z,activeFilterCount:ee,onResetFilters:pe,onApplyFilters:M,currentPerPage:((V=p.per_page)==null?void 0:V.toString())||"10",onPerPageChange:t=>{d.get(route("hr.trips.index"),{page:1,per_page:parseInt(t),search:u||void 0,employee_id:c||void 0,status:m!=="all"?m:void 0,date_from:b||void 0,date_to:f||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Ce,{columns:me,actions:ue,data:(l==null?void 0:l.data)||[],from:(l==null?void 0:l.from)||1,onAction:R,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:se,permissions:P,entityPermissions:{view:"view-trips",create:"create-trips",edit:"edit-trips",delete:"delete-trips"}}),a.jsx(we,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:e("trips"),onPageChange:t=>d.get(t)})]}),a.jsx(x,{isOpen:K,onClose:()=>g(!1),onSubmit:ae,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:$.filter(t=>t.value!==""),searchable:!0},{name:"purpose",label:e("Purpose"),type:"text",required:!0},{name:"destination",label:e("Destination"),type:"text",required:!0},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"expected_outcomes",label:e("Expected Outcomes"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,s,o)=>a.jsx(ye,{value:String(s[t.name]||""),onChange:v=>o(t.name,v),placeholder:e("Select document file...")})},{name:"advance_amount",label:e("Advance Amount"),type:"number",min:0,step:.01},...h==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"planned",label:e("Planned")},{value:"ongoing",label:e("Ongoing")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}]},{name:"advance_status",label:e("Advance Status"),type:"select",options:[{value:"requested",label:e("Requested")},{value:"approved",label:e("Approved")},{value:"paid",label:e("Paid")},{value:"reconciled",label:e("Reconciled")}],showWhen:t=>t.advance_amount>0},{name:"reimbursement_status",label:e("Reimbursement Status"),type:"select",options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"paid",label:e("Paid")}],showWhen:t=>t.total_expenses>0},{name:"trip_report",label:e("Trip Report"),type:"textarea",showWhen:t=>t.status==="completed"}]:[]],modalSize:"lg"},initialData:i?{...i,start_date:i.start_date?i.start_date.split("T")[0]:"",end_date:i.end_date?i.end_date.split("T")[0]:""}:null,title:e(h==="create"?"Add New Trip":"Edit Trip"),mode:h}),a.jsx(x,{isOpen:Q,onClose:()=>_(!1),onSubmit:ie,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"planned",label:e("Planned")},{value:"ongoing",label:e("Ongoing")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}],defaultValue:i==null?void 0:i.status}],modalSize:"sm"},initialData:i,title:e("Change Trip Status"),mode:"edit"}),a.jsx(x,{isOpen:X,onClose:()=>C(!1),onSubmit:oe,formConfig:{fields:[{name:"advance_status",label:e("Advance Status"),type:"select",required:!0,options:[{value:"requested",label:e("Requested")},{value:"approved",label:e("Approved")},{value:"paid",label:e("Paid")},{value:"reconciled",label:e("Reconciled")}],defaultValue:i==null?void 0:i.advance_status}],modalSize:"sm"},initialData:i,title:e("Change Advance Status"),mode:"edit"}),a.jsx(x,{isOpen:Y,onClose:()=>j(!1),onSubmit:le,formConfig:{fields:[{name:"reimbursement_status",label:e("Reimbursement Status"),type:"select",required:!0,options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"paid",label:e("Paid")}],defaultValue:i==null?void 0:i.reimbursement_status}],modalSize:"sm"},initialData:i,title:e("Change Reimbursement Status"),mode:"edit"}),a.jsx(je,{isOpen:J,onClose:()=>y(!1),onConfirm:ne,itemName:`${((z=i==null?void 0:i.employee)==null?void 0:z.name)||""} - ${(i==null?void 0:i.purpose)||""}`,entityName:"trip"}),a.jsx(_e,{open:!!w,onOpenChange:()=>q(null),children:w&&a.jsx(De,{trip:w})})]})}export{fr as default}; +import{r as n,j as a}from"./ui-Z445SNHD.js";import{P as be}from"./page-template-CLNVC8w_.js";import{u as fe,c as ge,x as he,P as ve,o as xe,F as Se,r as d,M as ye,D as _e,t as r}from"./app-Dya84jp7.js";import{C as Ce}from"./CrudTable-yqxtM6E_.js";import{C as x}from"./CrudFormModal-CsuqSfb2.js";import{C as je}from"./CrudDeleteModal-D32N6I8y.js";import{P as we}from"./pagination-4PUepASD.js";import{S as Pe}from"./search-and-filter-bar-DWH0yn_r.js";import De from"./view-ByxV07S_.js";import{u as Fe}from"./use-initials-BK4eRgYY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function fr(){var V,z;const{t:e}=fe(),{auth:S,trips:l,employees:L,filters:p={}}=ge().props,P=(S==null?void 0:S.permissions)||[],H=Fe(),[u,D]=n.useState(p.search||""),[c,F]=n.useState(p.employee_id||""),[m,A]=n.useState(p.status||"all"),[b,O]=n.useState(p.date_from||""),[f,k]=n.useState(p.date_to||""),[G,E]=n.useState(!1),[J,y]=n.useState(!1),[K,g]=n.useState(!1),[Q,_]=n.useState(!1),[X,C]=n.useState(!1),[Y,j]=n.useState(!1),[i,N]=n.useState(null),[h,T]=n.useState("create"),[w,q]=n.useState(null),Z=()=>c!==""||m!=="all"||b!==""||f!==""||u!=="",ee=()=>(c!==""?1:0)+(m!=="all"?1:0)+(b!==""?1:0)+(f!==""?1:0)+(u!==""?1:0),te=t=>{t.preventDefault(),M()},M=()=>{d.get(route("hr.trips.index"),{page:1,search:u||void 0,employee_id:c||void 0,status:m!=="all"?m:void 0,date_from:b||void 0,date_to:f||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},se=t=>{const s=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";d.get(route("hr.trips.index"),{sort_field:t,sort_direction:s,page:1,search:u||void 0,employee_id:c||void 0,status:m!=="all"?m:void 0,date_from:b||void 0,date_to:f||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},R=(t,s)=>{switch(N(s),t){case"view":q(s);break;case"edit":T("edit"),g(!0);break;case"delete":y(!0);break;case"change-status":_(!0);break;case"advance-status":C(!0);break;case"reimbursement-status":j(!0);break;case"download-document":window.open(route("hr.trips.download-document",s.id),"_blank");break;case"view-expenses":d.get(route("hr.trips.expenses",s.id));break}},re=()=>{N(null),T("create"),g(!0)},ae=t=>{const s=t;h==="create"?(r.loading(e("Creating trip...")),d.post(route("hr.trips.store"),s,{onSuccess:o=>{g(!1),r.dismiss(),o.props.flash.success?r.success(e(o.props.flash.success)):o.props.flash.error&&r.error(e(o.props.flash.error))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(e(o)):r.error(e("Failed to create trip: {{errors}}",{errors:Object.values(o).join(", ")}))}})):h==="edit"&&(r.loading(e("Updating trip...")),d.put(route("hr.trips.update",i.id),s,{onSuccess:o=>{g(!1),r.dismiss(),o.props.flash.success?r.success(e(o.props.flash.success)):o.props.flash.error&&r.error(e(o.props.flash.error))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(e(o)):r.error(e("Failed to update trip: {{errors}}",{errors:Object.values(o).join(", ")}))}}))},ie=t=>{r.loading(e("Updating trip status...")),d.put(route("hr.trips.change-status",i.id),t,{onSuccess:s=>{_(!1),r.dismiss(),s.props.flash.success?r.success(e(s.props.flash.success)):s.props.flash.error&&r.error(e(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(e(s)):r.error(e("Failed to update trip status: {{errors}}",{errors:Object.values(s).join(", ")}))}})},oe=t=>{r.loading(e("Updating advance status...")),d.put(route("hr.trips.update-advance-status",i.id),t,{onSuccess:s=>{C(!1),r.dismiss(),s.props.flash.success?r.success(e(s.props.flash.success)):s.props.flash.error&&r.error(e(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(e(s)):r.error(e("Failed to update advance status: {{errors}}",{errors:Object.values(s).join(", ")}))}})},le=t=>{r.loading(e("Updating reimbursement status...")),d.put(route("hr.trips.update-reimbursement-status",i.id),t,{onSuccess:s=>{j(!1),r.dismiss(),s.props.flash.success?r.success(e(s.props.flash.success)):s.props.flash.error&&r.error(e(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(e(s)):r.error(e("Failed to update reimbursement status: {{errors}}",{errors:Object.values(s).join(", ")}))}})},ne=()=>{r.loading(e("Deleting trip...")),d.delete(route("hr.trips.destroy",i.id),{onSuccess:t=>{y(!1),r.dismiss(),t.props.flash.success?r.success(e(t.props.flash.success)):t.props.flash.error&&r.error(e(t.props.flash.error))},onError:t=>{r.dismiss(),typeof t=="string"?r.error(e(t)):r.error(e("Failed to delete trip: {{errors}}",{errors:Object.values(t).join(", ")}))}})},pe=()=>{D(""),F(""),A("all"),O(""),k(""),E(!1),d.get(route("hr.trips.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},U=[];he(P,"create-trips")&&U.push({label:e("Add Trip"),icon:a.jsx(ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>re()});const de=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.trips.index")},{title:e("Trips")}],me=[{key:"employee.name",label:e("Employee"),render:(t,s)=>{var o,v,W,B,I;return a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(o=s.employee)!=null&&o.avatar?a.jsx("img",{src:s.employee.avatar,alt:(v=s.employee)==null?void 0:v.name,className:"h-full w-full object-cover"}):H(((W=s.employee)==null?void 0:W.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((B=s.employee)==null?void 0:B.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:((I=s.employee)==null?void 0:I.email)||""})]})]})}},{key:"destination",label:e("Destination"),render:t=>t||"-"},{key:"start_date",label:e("Start Date"),sortable:!0,render:t=>{var s;return t?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"end_date",label:e("End Date"),sortable:!0,render:t=>{var s;return t?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const s={planned:"bg-blue-50 text-blue-700 ring-blue-600/20",ongoing:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"advance_amount",label:e("Advance"),render:(t,s)=>{if(!t||parseFloat(t)===0)return"-";const o={requested:"bg-blue-50 text-blue-700 ring-blue-600/20",approved:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",paid:"bg-green-50 text-green-700 ring-green-600/20",reconciled:"bg-purple-50 text-purple-700 ring-purple-600/20"};return a.jsxs("div",{children:[a.jsxs("div",{children:[" ",window.appSettings.formatCurrency(t)]}),s.advance_status&&a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${o[s.advance_status]||""}`,children:s.advance_status.charAt(0).toUpperCase()+s.advance_status.slice(1)})]})}},{key:"total_expenses",label:e("Expenses"),render:(t,s)=>{if(!t||parseFloat(t)===0)return"-";const o={pending:"bg-blue-50 text-blue-700 ring-blue-600/20",approved:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",paid:"bg-green-50 text-green-700 ring-green-600/20"};return a.jsxs("div",{children:[a.jsx("div",{children:window.appSettings.formatCurrency(t)}),s.reimbursement_status&&a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${o[s.reimbursement_status]||""}`,children:s.reimbursement_status.charAt(0).toUpperCase()+s.reimbursement_status.slice(1)})]})}},{key:"actions",label:e("Expenses"),render:(t,s)=>a.jsx("div",{className:"flex space-x-2",children:a.jsxs(xe,{variant:"outline",size:"sm",className:"flex items-center text-blue-500",onClick:o=>{o.stopPropagation(),R("view-expenses",s)},children:[a.jsx(Se,{className:"h-4 w-4 mr-1"}),e("Expenses")]})})}],ue=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-trips"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-trips"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:"edit-trips"},{label:e("Advance Status"),icon:"DollarSign",action:"advance-status",className:"text-purple-500",requiredPermission:"edit-trips",showWhen:t=>t.advance_amount>0},{label:e("Reimbursement Status"),icon:"CreditCard",action:"reimbursement-status",className:"text-indigo-500",requiredPermission:"edit-trips",showWhen:t=>t.total_expenses>0},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-trips"}],$=[{value:"",label:e("All Employees"),disabled:!0},...(L||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],ce=[{value:"all",label:e("All Statuses")},{value:"planned",label:e("Planned")},{value:"ongoing",label:e("Ongoing")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}];return a.jsxs(be,{title:e("Trips"),url:"/hr/trips",actions:U,breadcrumbs:de,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(Pe,{searchTerm:u,onSearchChange:D,onSearch:te,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:c,onChange:F,options:$,searchable:!0},{name:"status",label:e("Status"),type:"select",value:m,onChange:A,options:ce},{name:"date_from",label:e("Start Date From"),type:"date",value:b,onChange:O},{name:"date_to",label:e("End Date To"),type:"date",value:f,onChange:k}],showFilters:G,setShowFilters:E,hasActiveFilters:Z,activeFilterCount:ee,onResetFilters:pe,onApplyFilters:M,currentPerPage:((V=p.per_page)==null?void 0:V.toString())||"10",onPerPageChange:t=>{d.get(route("hr.trips.index"),{page:1,per_page:parseInt(t),search:u||void 0,employee_id:c||void 0,status:m!=="all"?m:void 0,date_from:b||void 0,date_to:f||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Ce,{columns:me,actions:ue,data:(l==null?void 0:l.data)||[],from:(l==null?void 0:l.from)||1,onAction:R,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:se,permissions:P,entityPermissions:{view:"view-trips",create:"create-trips",edit:"edit-trips",delete:"delete-trips"}}),a.jsx(we,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:e("trips"),onPageChange:t=>d.get(t)})]}),a.jsx(x,{isOpen:K,onClose:()=>g(!1),onSubmit:ae,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:$.filter(t=>t.value!==""),searchable:!0},{name:"purpose",label:e("Purpose"),type:"text",required:!0},{name:"destination",label:e("Destination"),type:"text",required:!0},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"expected_outcomes",label:e("Expected Outcomes"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,s,o)=>a.jsx(ye,{value:String(s[t.name]||""),onChange:v=>o(t.name,v),placeholder:e("Select document file...")})},{name:"advance_amount",label:e("Advance Amount"),type:"number",min:0,step:.01},...h==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"planned",label:e("Planned")},{value:"ongoing",label:e("Ongoing")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}]},{name:"advance_status",label:e("Advance Status"),type:"select",options:[{value:"requested",label:e("Requested")},{value:"approved",label:e("Approved")},{value:"paid",label:e("Paid")},{value:"reconciled",label:e("Reconciled")}],showWhen:t=>t.advance_amount>0},{name:"reimbursement_status",label:e("Reimbursement Status"),type:"select",options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"paid",label:e("Paid")}],showWhen:t=>t.total_expenses>0},{name:"trip_report",label:e("Trip Report"),type:"textarea",showWhen:t=>t.status==="completed"}]:[]],modalSize:"lg"},initialData:i?{...i,start_date:i.start_date?i.start_date.split("T")[0]:"",end_date:i.end_date?i.end_date.split("T")[0]:""}:null,title:e(h==="create"?"Add New Trip":"Edit Trip"),mode:h}),a.jsx(x,{isOpen:Q,onClose:()=>_(!1),onSubmit:ie,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"planned",label:e("Planned")},{value:"ongoing",label:e("Ongoing")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}],defaultValue:i==null?void 0:i.status}],modalSize:"sm"},initialData:i,title:e("Change Trip Status"),mode:"edit"}),a.jsx(x,{isOpen:X,onClose:()=>C(!1),onSubmit:oe,formConfig:{fields:[{name:"advance_status",label:e("Advance Status"),type:"select",required:!0,options:[{value:"requested",label:e("Requested")},{value:"approved",label:e("Approved")},{value:"paid",label:e("Paid")},{value:"reconciled",label:e("Reconciled")}],defaultValue:i==null?void 0:i.advance_status}],modalSize:"sm"},initialData:i,title:e("Change Advance Status"),mode:"edit"}),a.jsx(x,{isOpen:Y,onClose:()=>j(!1),onSubmit:le,formConfig:{fields:[{name:"reimbursement_status",label:e("Reimbursement Status"),type:"select",required:!0,options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"paid",label:e("Paid")}],defaultValue:i==null?void 0:i.reimbursement_status}],modalSize:"sm"},initialData:i,title:e("Change Reimbursement Status"),mode:"edit"}),a.jsx(je,{isOpen:J,onClose:()=>y(!1),onConfirm:ne,itemName:`${((z=i==null?void 0:i.employee)==null?void 0:z.name)||""} - ${(i==null?void 0:i.purpose)||""}`,entityName:"trip"}),a.jsx(_e,{open:!!w,onOpenChange:()=>q(null),children:w&&a.jsx(De,{trip:w})})]})}export{fr as default}; diff --git a/public/build/assets/index-B0cz-aBP.js b/public/build/assets/index-DISA3NAq.js similarity index 61% rename from public/build/assets/index-B0cz-aBP.js rename to public/build/assets/index-DISA3NAq.js index fdc25293c..2563eb4c4 100644 --- a/public/build/assets/index-B0cz-aBP.js +++ b/public/build/assets/index-DISA3NAq.js @@ -1 +1 @@ -import{r as m,j as a}from"./ui-Z445SNHD.js";import{P as $}from"./page-template-BTxLyiDA.js";import{u as G,c as K,x as H,P as U,r as l,D as J,t as o}from"./app-CfhhiFAk.js";import{C as Q}from"./CrudTable-qPWooc10.js";import{C as W}from"./CrudFormModal-DAR9q-oM.js";import{C as X}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Y}from"./pagination-D8A_HnL5.js";import{S as ee}from"./search-and-filter-bar-6Pp-FsiR.js";import re from"./view-CN8Y1143.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function $t(){var w;const{t:e}=G(),{auth:f,branches:s,filters:p={},globalSettings:i}=K().props,x=(f==null?void 0:f.permissions)||[],[c,v]=m.useState(p.search||""),[F,y]=m.useState(!1),[N,u]=m.useState(!1),[A,b]=m.useState(!1),[d,_]=m.useState(null),[h,k]=m.useState("create"),[g,P]=m.useState(null),[te,ie]=m.useState(!1),[oe,j]=m.useState(null),D=()=>c!=="",E=()=>c?1:0,I=r=>{r.preventDefault(),C()},C=()=>{l.get(route("hr.branches.index"),{page:1,search:c||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},O=r=>{const t=p.sort_field===r&&p.sort_direction==="asc"?"desc":"asc";l.get(route("hr.branches.index"),{sort_field:r,sort_direction:t,page:1,search:c||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},T=(r,t)=>{switch(_(t),r){case"view":P(t);break;case"edit":k("edit"),j(null),u(!0);break;case"delete":b(!0);break;case"toggle-status":Z(t);break}},B=()=>{_(null),k("create"),j(null),u(!0)},M=r=>{h==="create"?(i!=null&&i.is_demo||o.loading(e("Creating branch...")),l.post(route("hr.branches.store"),r,{onSuccess:t=>{u(!1),i!=null&&i.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to create branch: {{errors}}",{errors:Object.values(t).join(", ")}))}})):h==="edit"&&(i!=null&&i.is_demo||o.loading(e("Updating branch...")),l.put(route("hr.branches.update",d.id),r,{onSuccess:t=>{u(!1),i!=null&&i.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to update branch: {{errors}}",{errors:Object.values(t).join(", ")}))}}))},R=()=>{i!=null&&i.is_demo||o.loading(e("Deleting branch...")),l.delete(route("hr.branches.destroy",d.id),{onSuccess:r=>{b(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete branch: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Z=r=>{const t=r.status==="active"?"inactive":"active";i!=null&&i.is_demo||o.loading(`${e(t==="active"?"Activating":"Deactivating")} branch...`),l.put(route("hr.branches.toggle-status",r.id),{},{onSuccess:n=>{o.dismiss(),n.props.flash.success?o.success(e(n.props.flash.success)):n.props.flash.error&&o.error(e(n.props.flash.error))},onError:n=>{o.dismiss(),typeof n=="string"?o.error(e(n)):o.error(e("Failed to update branch status: {{errors}}",{errors:Object.values(n).join(", ")}))}})},q=()=>{v(""),y(!1),l.get(route("hr.branches.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},S=[];H(x,"create-branches")&&S.push({label:e("Add Branch"),icon:a.jsx(U,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>B()});const z=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.branches.index")},{title:e("Branches")}],V=[{key:"name",label:e("Name"),sortable:!0,render:(r,t)=>a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:r}),t.email&&a.jsx("div",{className:"text-sm text-muted-foreground",children:t.email})]})},{key:"contact",label:e("Contact"),render:(r,t)=>{const n=[];return t.phone&&n.push(t.phone),n.join(" | ")||"-"}},{key:"zkteco_ip",label:e("ZKTeco IP"),render:r=>r||"-"},{key:"status",label:e("Status"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"enable_clock_in_out",label:e("Clock In/Out"),sortable:!0,render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r?"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:e(r?"Enabled":"Disabled")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],L=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-branches"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-branches"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"toggle-status-branches"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-branches"}];return a.jsxs($,{title:e("Branches"),url:"/hr/branches",actions:S,breadcrumbs:z,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ee,{searchTerm:c,onSearchChange:v,onSearch:I,filters:[],showFilters:F,setShowFilters:y,hasActiveFilters:D,activeFilterCount:E,onResetFilters:q,onApplyFilters:C,currentPerPage:((w=p.per_page)==null?void 0:w.toString())||"10",onPerPageChange:r=>{l.get(route("hr.branches.index"),{page:1,per_page:parseInt(r),search:c||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Q,{columns:V,actions:L,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:T,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:O,permissions:x,entityPermissions:{view:"view-branches",create:"create-branches",edit:"edit-branches",delete:"delete-branches"}}),a.jsx(Y,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("branches"),onPageChange:r=>l.get(r)})]}),a.jsx(W,{isOpen:N,onClose:()=>u(!1),onSubmit:M,formConfig:{fields:[{name:"name",label:e("Branch Name"),type:"text",required:!0},{name:"address",label:e("Address"),type:"textarea"},{name:"city",label:e("City"),type:"text"},{name:"state",label:e("State/Province"),type:"text"},{name:"country",label:e("Country"),type:"text"},{name:"zip_code",label:e("ZIP/Postal Code"),type:"text"},{name:"phone",label:e("Phone"),type:"text"},{name:"email",label:e("Email"),type:"email"},{name:"zkteco_ip",label:e("ZKTeco Biometric IP (Agent Target)"),type:"text",description:e("Local IP used by the branch sync agent (e.g., 192.168.1.201)")},{name:"location",label:e("GPS Geofencing"),type:"location-picker",latField:"latitude",lngField:"longitude",radiusField:"radius",description:e("Pin the branch location and set radius for employee attendance.")},{name:"enable_clock_in_out",label:e("Enable Clock In / Clock Out"),type:"switch",description:e("Allow employees in this branch to clock in and out from their dashboard."),defaultValue:!1},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"lg"},initialData:d,title:e(h==="create"?"Add New Branch":"Edit Branch"),mode:h}),a.jsx(X,{isOpen:A,onClose:()=>b(!1),onConfirm:R,itemName:(d==null?void 0:d.name)||"",entityName:"branch"}),a.jsx(J,{open:!!g,onOpenChange:()=>P(null),children:g&&a.jsx(re,{branch:g})})]})}export{$t as default}; +import{r as m,j as a}from"./ui-Z445SNHD.js";import{P as $}from"./page-template-CLNVC8w_.js";import{u as G,c as K,x as H,P as U,r as l,D as J,t as o}from"./app-Dya84jp7.js";import{C as Q}from"./CrudTable-yqxtM6E_.js";import{C as W}from"./CrudFormModal-CsuqSfb2.js";import{C as X}from"./CrudDeleteModal-D32N6I8y.js";import{P as Y}from"./pagination-4PUepASD.js";import{S as ee}from"./search-and-filter-bar-DWH0yn_r.js";import re from"./view-DO2SNXYS.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function $t(){var w;const{t:e}=G(),{auth:f,branches:s,filters:p={},globalSettings:i}=K().props,x=(f==null?void 0:f.permissions)||[],[c,v]=m.useState(p.search||""),[F,y]=m.useState(!1),[N,u]=m.useState(!1),[A,b]=m.useState(!1),[d,_]=m.useState(null),[h,k]=m.useState("create"),[g,P]=m.useState(null),[te,ie]=m.useState(!1),[oe,j]=m.useState(null),D=()=>c!=="",E=()=>c?1:0,I=r=>{r.preventDefault(),C()},C=()=>{l.get(route("hr.branches.index"),{page:1,search:c||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},O=r=>{const t=p.sort_field===r&&p.sort_direction==="asc"?"desc":"asc";l.get(route("hr.branches.index"),{sort_field:r,sort_direction:t,page:1,search:c||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},T=(r,t)=>{switch(_(t),r){case"view":P(t);break;case"edit":k("edit"),j(null),u(!0);break;case"delete":b(!0);break;case"toggle-status":Z(t);break}},B=()=>{_(null),k("create"),j(null),u(!0)},M=r=>{h==="create"?(i!=null&&i.is_demo||o.loading(e("Creating branch...")),l.post(route("hr.branches.store"),r,{onSuccess:t=>{u(!1),i!=null&&i.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to create branch: {{errors}}",{errors:Object.values(t).join(", ")}))}})):h==="edit"&&(i!=null&&i.is_demo||o.loading(e("Updating branch...")),l.put(route("hr.branches.update",d.id),r,{onSuccess:t=>{u(!1),i!=null&&i.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to update branch: {{errors}}",{errors:Object.values(t).join(", ")}))}}))},R=()=>{i!=null&&i.is_demo||o.loading(e("Deleting branch...")),l.delete(route("hr.branches.destroy",d.id),{onSuccess:r=>{b(!1),i!=null&&i.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{i!=null&&i.is_demo||o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete branch: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Z=r=>{const t=r.status==="active"?"inactive":"active";i!=null&&i.is_demo||o.loading(`${e(t==="active"?"Activating":"Deactivating")} branch...`),l.put(route("hr.branches.toggle-status",r.id),{},{onSuccess:n=>{o.dismiss(),n.props.flash.success?o.success(e(n.props.flash.success)):n.props.flash.error&&o.error(e(n.props.flash.error))},onError:n=>{o.dismiss(),typeof n=="string"?o.error(e(n)):o.error(e("Failed to update branch status: {{errors}}",{errors:Object.values(n).join(", ")}))}})},q=()=>{v(""),y(!1),l.get(route("hr.branches.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},S=[];H(x,"create-branches")&&S.push({label:e("Add Branch"),icon:a.jsx(U,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>B()});const z=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.branches.index")},{title:e("Branches")}],V=[{key:"name",label:e("Name"),sortable:!0,render:(r,t)=>a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:r}),t.email&&a.jsx("div",{className:"text-sm text-muted-foreground",children:t.email})]})},{key:"contact",label:e("Contact"),render:(r,t)=>{const n=[];return t.phone&&n.push(t.phone),n.join(" | ")||"-"}},{key:"zkteco_ip",label:e("ZKTeco IP"),render:r=>r||"-"},{key:"status",label:e("Status"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"enable_clock_in_out",label:e("Clock In/Out"),sortable:!0,render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r?"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:e(r?"Enabled":"Disabled")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],L=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-branches"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-branches"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"toggle-status-branches"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-branches"}];return a.jsxs($,{title:e("Branches"),url:"/hr/branches",actions:S,breadcrumbs:z,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ee,{searchTerm:c,onSearchChange:v,onSearch:I,filters:[],showFilters:F,setShowFilters:y,hasActiveFilters:D,activeFilterCount:E,onResetFilters:q,onApplyFilters:C,currentPerPage:((w=p.per_page)==null?void 0:w.toString())||"10",onPerPageChange:r=>{l.get(route("hr.branches.index"),{page:1,per_page:parseInt(r),search:c||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Q,{columns:V,actions:L,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:T,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:O,permissions:x,entityPermissions:{view:"view-branches",create:"create-branches",edit:"edit-branches",delete:"delete-branches"}}),a.jsx(Y,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("branches"),onPageChange:r=>l.get(r)})]}),a.jsx(W,{isOpen:N,onClose:()=>u(!1),onSubmit:M,formConfig:{fields:[{name:"name",label:e("Branch Name"),type:"text",required:!0},{name:"address",label:e("Address"),type:"textarea"},{name:"city",label:e("City"),type:"text"},{name:"state",label:e("State/Province"),type:"text"},{name:"country",label:e("Country"),type:"text"},{name:"zip_code",label:e("ZIP/Postal Code"),type:"text"},{name:"phone",label:e("Phone"),type:"text"},{name:"email",label:e("Email"),type:"email"},{name:"zkteco_ip",label:e("ZKTeco Biometric IP (Agent Target)"),type:"text",description:e("Local IP used by the branch sync agent (e.g., 192.168.1.201)")},{name:"location",label:e("GPS Geofencing"),type:"location-picker",latField:"latitude",lngField:"longitude",radiusField:"radius",description:e("Pin the branch location and set radius for employee attendance.")},{name:"enable_clock_in_out",label:e("Enable Clock In / Clock Out"),type:"switch",description:e("Allow employees in this branch to clock in and out from their dashboard."),defaultValue:!1},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"lg"},initialData:d,title:e(h==="create"?"Add New Branch":"Edit Branch"),mode:h}),a.jsx(X,{isOpen:A,onClose:()=>b(!1),onConfirm:R,itemName:(d==null?void 0:d.name)||"",entityName:"branch"}),a.jsx(J,{open:!!g,onOpenChange:()=>P(null),children:g&&a.jsx(re,{branch:g})})]})}export{$t as default}; diff --git a/public/build/assets/index-CtOmUlkv.js b/public/build/assets/index-DMBYXv3o.js similarity index 66% rename from public/build/assets/index-CtOmUlkv.js rename to public/build/assets/index-DMBYXv3o.js index 4d864d81c..e8c25c1af 100644 --- a/public/build/assets/index-CtOmUlkv.js +++ b/public/build/assets/index-DMBYXv3o.js @@ -1 +1 @@ -import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as X}from"./page-template-BTxLyiDA.js";import{u as Y,c as ee,x as re,P as te,B as P,r as p,M as ie,t as o}from"./app-CfhhiFAk.js";import{C as oe}from"./CrudTable-qPWooc10.js";import{C as ae}from"./CrudFormModal-DAR9q-oM.js";import{C as se}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ne}from"./pagination-D8A_HnL5.js";import{S as le}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Gt(){var D;const{t:e}=Y(),{auth:v,trainingPrograms:a,trainingTypes:S,filters:n={}}=ee().props,_=(v==null?void 0:v.permissions)||[],[m,C]=l.useState(n.search||""),[d,j]=l.useState(n.training_type_id||""),[c,w]=l.useState(n.status||""),[g,A]=l.useState(n.is_mandatory==="true"),[h,E]=l.useState(n.is_self_enrollment==="true"),[O,T]=l.useState(!1),[$,x]=l.useState(!1),[q,f]=l.useState(!1),[u,N]=l.useState(null),[b,k]=l.useState("create"),B=()=>d!==""||c!==""||g||h||m!=="",I=()=>(d!==""?1:0)+(c!==""?1:0)+(g?1:0)+(h?1:0)+(m!==""?1:0),R=r=>{r.preventDefault(),F()},F=()=>{p.get(route("hr.training-programs.index"),{page:1,search:m||void 0,training_type_id:d||void 0,status:c||void 0,is_mandatory:g?"true":void 0,is_self_enrollment:h?"true":void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},U=r=>{const i=n.sort_field===r&&n.sort_direction==="asc"?"desc":"asc";p.get(route("hr.training-programs.index"),{sort_field:r,sort_direction:i,page:1,search:m||void 0,training_type_id:d||void 0,status:c||void 0,is_mandatory:g?"true":void 0,is_self_enrollment:h?"true":void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},V=(r,i)=>{switch(N(i),r){case"view":p.get(route("hr.training-programs.show",i.id));break;case"edit":k("edit"),f(!0);break;case"delete":x(!0);break;case"download-materials":window.open(route("hr.training-programs.download-materials",i.id),"_blank");break}},z=()=>{N(null),k("create"),f(!0)},H=r=>{const i=r;b==="create"?(o.loading(e("Creating training program...")),p.post(route("hr.training-programs.store"),i,{onSuccess:t=>{f(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to create training program: {{errors}}",{errors:Object.values(t).join(", ")}))}})):b==="edit"&&(o.loading(e("Updating training program...")),p.put(route("hr.training-programs.update",u.id),i,{onSuccess:t=>{f(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to update training program: {{errors}}",{errors:Object.values(t).join(", ")}))}}))},W=()=>{o.loading(e("Deleting training program...")),p.delete(route("hr.training-programs.destroy",u.id),{onSuccess:r=>{x(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete training program: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Z=()=>{C(""),j(""),w(""),A(!1),E(!1),T(!1),p.get(route("hr.training-programs.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},M=[];re(_,"create-training-programs")&&M.push({label:e("Add Training Program"),icon:s.jsx(te,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>z()});const G=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.training-programs.index")},{title:e("Training Management"),href:route("hr.training-programs.index")},{title:e("Training Programs")}],J=[{key:"name",label:e("Name"),sortable:!0,render:(r,i)=>{var t;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:r}),s.jsx("div",{className:"text-xs text-gray-500",children:((t=i.training_type)==null?void 0:t.name)||"-"})]})}},{key:"status",label:e("Status"),sortable:!0,render:r=>{const i={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",active:"bg-green-50 text-green-700 ring-green-600/20",completed:"bg-blue-50 text-blue-700 ring-blue-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${i[r]||""}`,children:r.charAt(0).toUpperCase()+r.slice(1)})}},{key:"duration",label:e("Duration"),sortable:!0,render:r=>r?`${r} ${e("hours")}`:"-"},{key:"cost",label:e("Cost"),sortable:!0,render:r=>{var i;return r?(i=window.appSettings)==null?void 0:i.formatCurrency(parseFloat(r)):"-"}},{key:"capacity",label:e("Capacity"),sortable:!0,render:r=>r||"-"},{key:"flags",label:e("Flags"),render:(r,i)=>s.jsxs("div",{className:"flex flex-wrap gap-1",children:[i.is_mandatory&&s.jsx(P,{variant:"outline",className:"bg-red-50 text-red-700 hover:bg-red-50",children:e("Mandatory")}),i.is_self_enrollment&&s.jsx(P,{variant:"outline",className:"bg-blue-50 text-blue-700 hover:bg-blue-50",children:e("Self-Enrollment")})]})},{key:"sessions_count",label:e("Sessions"),render:r=>r||"0"},{key:"employee_trainings_count",label:e("Employees"),render:r=>r||"0"}],K=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-training-programs"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-training-programs"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-training-programs"}],L=[{value:"",label:e("All Types")},...(S||[]).map(r=>{var i,t;return{value:r.id.toString(),label:`${r.name} (${((i=r.branch)==null?void 0:i.name)||"No Branch"} - ${((t=r.departments)==null?void 0:t.map(y=>y.name).join(", "))||"No Departments"})`}})],Q=[{value:"",label:e("All Statuses")},{value:"draft",label:e("Draft")},{value:"active",label:e("Active")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}];return s.jsxs(X,{title:e("Training Programs"),url:"/hr/training/programs",actions:M,breadcrumbs:G,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(le,{searchTerm:m,onSearchChange:C,onSearch:R,filters:[{name:"training_type_id",label:e("Training Type"),type:"select",value:d,onChange:j,options:L,searchable:!0},{name:"status",label:e("Status"),type:"select",value:c,onChange:w,options:Q,searchable:!0}],showFilters:O,setShowFilters:T,hasActiveFilters:B,activeFilterCount:I,onResetFilters:Z,onApplyFilters:F,currentPerPage:((D=n.per_page)==null?void 0:D.toString())||"10",onPerPageChange:r=>{p.get(route("hr.training-programs.index"),{page:1,per_page:parseInt(r),search:m||void 0,training_type_id:d||void 0,status:c||void 0,is_mandatory:g?"true":void 0,is_self_enrollment:h?"true":void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(oe,{columns:J,actions:K,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:V,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:U,permissions:_,entityPermissions:{view:"view-training-programs",create:"create-training-programs",edit:"edit-training-programs",delete:"delete-training-programs"}}),s.jsx(ne,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("training programs"),onPageChange:r=>p.get(r)})]}),s.jsx(ae,{isOpen:q,onClose:()=>f(!1),onSubmit:H,formConfig:{fields:[{name:"name",label:e("Name"),type:"text",required:!0},{name:"training_type_id",label:e("Training Type"),type:"select",required:!0,searchable:!0,options:(S||[]).map(r=>{var i,t;return{value:r.id.toString(),label:`${r.name} (${((i=r.branch)==null?void 0:i.name)||"No Branch"} - ${((t=r.departments)==null?void 0:t.map(y=>y.name).join(", "))||"No Departments"})`}})},{name:"description",label:e("Description"),type:"textarea"},{name:"duration",label:e("Duration (hours)"),type:"number",min:1},{name:"cost",label:e("Cost"),type:"number",min:0,step:.01},{name:"capacity",label:e("Capacity"),type:"number",min:1},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"draft",label:e("Draft")},{value:"active",label:e("Active")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}]},{name:"materials",label:e("Materials"),type:"custom",render:(r,i,t)=>s.jsx(ie,{value:String(i[r.name]||""),onChange:y=>t(r.name,y),placeholder:e("Select materials file...")}),helpText:e("Upload PDF, Word or ZIP file (max 10MB)")},{name:"prerequisites",label:e("Prerequisites"),type:"textarea"},{name:"is_mandatory",label:e("Mandatory Training"),type:"checkbox",helpText:e("Mark this training as mandatory for employees")},{name:"is_self_enrollment",label:e("Allow Self-Enrollment"),type:"checkbox",helpText:e("Allow employees to enroll themselves in this training")}],modalSize:"lg"},initialData:u,title:e(b==="create"?"Add New Training Program":b==="edit"?"Edit Training Program":"View Training Program"),mode:b}),s.jsx(se,{isOpen:$,onClose:()=>x(!1),onConfirm:W,itemName:(u==null?void 0:u.name)||"",entityName:"training program"})]})}export{Gt as default}; +import{r as l,j as s}from"./ui-Z445SNHD.js";import{P as X}from"./page-template-CLNVC8w_.js";import{u as Y,c as ee,x as re,P as te,B as P,r as p,M as ie,t as o}from"./app-Dya84jp7.js";import{C as oe}from"./CrudTable-yqxtM6E_.js";import{C as ae}from"./CrudFormModal-CsuqSfb2.js";import{C as se}from"./CrudDeleteModal-D32N6I8y.js";import{P as ne}from"./pagination-4PUepASD.js";import{S as le}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Gt(){var D;const{t:e}=Y(),{auth:v,trainingPrograms:a,trainingTypes:S,filters:n={}}=ee().props,_=(v==null?void 0:v.permissions)||[],[m,C]=l.useState(n.search||""),[d,j]=l.useState(n.training_type_id||""),[c,w]=l.useState(n.status||""),[g,A]=l.useState(n.is_mandatory==="true"),[h,E]=l.useState(n.is_self_enrollment==="true"),[O,T]=l.useState(!1),[$,x]=l.useState(!1),[q,f]=l.useState(!1),[u,N]=l.useState(null),[b,k]=l.useState("create"),B=()=>d!==""||c!==""||g||h||m!=="",I=()=>(d!==""?1:0)+(c!==""?1:0)+(g?1:0)+(h?1:0)+(m!==""?1:0),R=r=>{r.preventDefault(),F()},F=()=>{p.get(route("hr.training-programs.index"),{page:1,search:m||void 0,training_type_id:d||void 0,status:c||void 0,is_mandatory:g?"true":void 0,is_self_enrollment:h?"true":void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},U=r=>{const i=n.sort_field===r&&n.sort_direction==="asc"?"desc":"asc";p.get(route("hr.training-programs.index"),{sort_field:r,sort_direction:i,page:1,search:m||void 0,training_type_id:d||void 0,status:c||void 0,is_mandatory:g?"true":void 0,is_self_enrollment:h?"true":void 0,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},V=(r,i)=>{switch(N(i),r){case"view":p.get(route("hr.training-programs.show",i.id));break;case"edit":k("edit"),f(!0);break;case"delete":x(!0);break;case"download-materials":window.open(route("hr.training-programs.download-materials",i.id),"_blank");break}},z=()=>{N(null),k("create"),f(!0)},H=r=>{const i=r;b==="create"?(o.loading(e("Creating training program...")),p.post(route("hr.training-programs.store"),i,{onSuccess:t=>{f(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to create training program: {{errors}}",{errors:Object.values(t).join(", ")}))}})):b==="edit"&&(o.loading(e("Updating training program...")),p.put(route("hr.training-programs.update",u.id),i,{onSuccess:t=>{f(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to update training program: {{errors}}",{errors:Object.values(t).join(", ")}))}}))},W=()=>{o.loading(e("Deleting training program...")),p.delete(route("hr.training-programs.destroy",u.id),{onSuccess:r=>{x(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete training program: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Z=()=>{C(""),j(""),w(""),A(!1),E(!1),T(!1),p.get(route("hr.training-programs.index"),{page:1,per_page:n.per_page},{preserveState:!0,preserveScroll:!0})},M=[];re(_,"create-training-programs")&&M.push({label:e("Add Training Program"),icon:s.jsx(te,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>z()});const G=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.training-programs.index")},{title:e("Training Management"),href:route("hr.training-programs.index")},{title:e("Training Programs")}],J=[{key:"name",label:e("Name"),sortable:!0,render:(r,i)=>{var t;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:r}),s.jsx("div",{className:"text-xs text-gray-500",children:((t=i.training_type)==null?void 0:t.name)||"-"})]})}},{key:"status",label:e("Status"),sortable:!0,render:r=>{const i={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",active:"bg-green-50 text-green-700 ring-green-600/20",completed:"bg-blue-50 text-blue-700 ring-blue-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${i[r]||""}`,children:r.charAt(0).toUpperCase()+r.slice(1)})}},{key:"duration",label:e("Duration"),sortable:!0,render:r=>r?`${r} ${e("hours")}`:"-"},{key:"cost",label:e("Cost"),sortable:!0,render:r=>{var i;return r?(i=window.appSettings)==null?void 0:i.formatCurrency(parseFloat(r)):"-"}},{key:"capacity",label:e("Capacity"),sortable:!0,render:r=>r||"-"},{key:"flags",label:e("Flags"),render:(r,i)=>s.jsxs("div",{className:"flex flex-wrap gap-1",children:[i.is_mandatory&&s.jsx(P,{variant:"outline",className:"bg-red-50 text-red-700 hover:bg-red-50",children:e("Mandatory")}),i.is_self_enrollment&&s.jsx(P,{variant:"outline",className:"bg-blue-50 text-blue-700 hover:bg-blue-50",children:e("Self-Enrollment")})]})},{key:"sessions_count",label:e("Sessions"),render:r=>r||"0"},{key:"employee_trainings_count",label:e("Employees"),render:r=>r||"0"}],K=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-training-programs"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-training-programs"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-training-programs"}],L=[{value:"",label:e("All Types")},...(S||[]).map(r=>{var i,t;return{value:r.id.toString(),label:`${r.name} (${((i=r.branch)==null?void 0:i.name)||"No Branch"} - ${((t=r.departments)==null?void 0:t.map(y=>y.name).join(", "))||"No Departments"})`}})],Q=[{value:"",label:e("All Statuses")},{value:"draft",label:e("Draft")},{value:"active",label:e("Active")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}];return s.jsxs(X,{title:e("Training Programs"),url:"/hr/training/programs",actions:M,breadcrumbs:G,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(le,{searchTerm:m,onSearchChange:C,onSearch:R,filters:[{name:"training_type_id",label:e("Training Type"),type:"select",value:d,onChange:j,options:L,searchable:!0},{name:"status",label:e("Status"),type:"select",value:c,onChange:w,options:Q,searchable:!0}],showFilters:O,setShowFilters:T,hasActiveFilters:B,activeFilterCount:I,onResetFilters:Z,onApplyFilters:F,currentPerPage:((D=n.per_page)==null?void 0:D.toString())||"10",onPerPageChange:r=>{p.get(route("hr.training-programs.index"),{page:1,per_page:parseInt(r),search:m||void 0,training_type_id:d||void 0,status:c||void 0,is_mandatory:g?"true":void 0,is_self_enrollment:h?"true":void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(oe,{columns:J,actions:K,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:V,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:U,permissions:_,entityPermissions:{view:"view-training-programs",create:"create-training-programs",edit:"edit-training-programs",delete:"delete-training-programs"}}),s.jsx(ne,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("training programs"),onPageChange:r=>p.get(r)})]}),s.jsx(ae,{isOpen:q,onClose:()=>f(!1),onSubmit:H,formConfig:{fields:[{name:"name",label:e("Name"),type:"text",required:!0},{name:"training_type_id",label:e("Training Type"),type:"select",required:!0,searchable:!0,options:(S||[]).map(r=>{var i,t;return{value:r.id.toString(),label:`${r.name} (${((i=r.branch)==null?void 0:i.name)||"No Branch"} - ${((t=r.departments)==null?void 0:t.map(y=>y.name).join(", "))||"No Departments"})`}})},{name:"description",label:e("Description"),type:"textarea"},{name:"duration",label:e("Duration (hours)"),type:"number",min:1},{name:"cost",label:e("Cost"),type:"number",min:0,step:.01},{name:"capacity",label:e("Capacity"),type:"number",min:1},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"draft",label:e("Draft")},{value:"active",label:e("Active")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}]},{name:"materials",label:e("Materials"),type:"custom",render:(r,i,t)=>s.jsx(ie,{value:String(i[r.name]||""),onChange:y=>t(r.name,y),placeholder:e("Select materials file...")}),helpText:e("Upload PDF, Word or ZIP file (max 10MB)")},{name:"prerequisites",label:e("Prerequisites"),type:"textarea"},{name:"is_mandatory",label:e("Mandatory Training"),type:"checkbox",helpText:e("Mark this training as mandatory for employees")},{name:"is_self_enrollment",label:e("Allow Self-Enrollment"),type:"checkbox",helpText:e("Allow employees to enroll themselves in this training")}],modalSize:"lg"},initialData:u,title:e(b==="create"?"Add New Training Program":b==="edit"?"Edit Training Program":"View Training Program"),mode:b}),s.jsx(se,{isOpen:$,onClose:()=>x(!1),onConfirm:W,itemName:(u==null?void 0:u.name)||"",entityName:"training program"})]})}export{Gt as default}; diff --git a/public/build/assets/index-3N3O8gsF.js b/public/build/assets/index-DPhivvB9.js similarity index 60% rename from public/build/assets/index-3N3O8gsF.js rename to public/build/assets/index-DPhivvB9.js index 85f2ee548..463557d91 100644 --- a/public/build/assets/index-3N3O8gsF.js +++ b/public/build/assets/index-DPhivvB9.js @@ -1 +1 @@ -import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as K}from"./page-template-BTxLyiDA.js";import{u as Q,c as U,x as X,P as Y,r as c,D as Z,t as i}from"./app-CfhhiFAk.js";import{C as L}from"./CrudTable-qPWooc10.js";import{C as ee}from"./CrudFormModal-DAR9q-oM.js";import{C as te}from"./CrudDeleteModal-CKTiD3_K.js";import{P as re}from"./pagination-D8A_HnL5.js";import{S as oe}from"./search-and-filter-bar-6Pp-FsiR.js";import ie from"./view-D6YTnx8g.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function zr(){var A;const{t:e}=Q(),{auth:h,jobLocations:o,filters:a={}}=U().props,_=(h==null?void 0:h.permissions)||[],[u,v]=n.useState(a.search||""),[m,x]=n.useState(a.status||"_empty_"),[l,S]=n.useState(a.is_remote||"_empty_"),[O,j]=n.useState(!1),[D,g]=n.useState(!1),[T,f]=n.useState(!1),[d,C]=n.useState(null),[b,F]=n.useState("create"),[y,w]=n.useState(null),E=()=>m!=="_empty_"||l!=="_empty_"||u!=="",R=()=>(m!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(u!==""?1:0),M=t=>{t.preventDefault(),P()},P=()=>{c.get(route("hr.recruitment.job-locations.index"),{page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,is_remote:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},I=t=>{const r=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";c.get(route("hr.recruitment.job-locations.index"),{sort_field:t,sort_direction:r,page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,is_remote:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},q=(t,r)=>{switch(C(r),t){case"view":w(r);break;case"edit":F("edit"),f(!0);break;case"delete":g(!0);break;case"toggle-status":c.put(route("hr.recruitment.job-locations.toggle-status",r.id),{},{onSuccess:p=>{p.props.flash.success?i.success(e(p.props.flash.success)):p.props.flash.error&&i.error(e(p.props.flash.error))},onError:p=>{typeof p=="string"?i.error(e(p)):i.error(e("Failed to update status: {{errors}}",{errors:Object.values(p).join(", ")}))}});break}},J=()=>{C(null),F("create"),f(!0)},V=t=>{b==="create"?c.post(route("hr.recruitment.job-locations.store"),t,{onSuccess:r=>{f(!1),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{typeof r=="string"?i.error(e(r)):i.error(e("Failed to create job location: {{errors}}",{errors:Object.values(r).join(", ")}))}}):b==="edit"&&c.put(route("hr.recruitment.job-locations.update",d.id),t,{onSuccess:r=>{f(!1),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{typeof r=="string"?i.error(e(r)):i.error(e("Failed to update job location: {{errors}}",{errors:Object.values(r).join(", ")}))}})},B=()=>{c.delete(route("hr.recruitment.job-locations.destroy",d.id),{onSuccess:t=>{g(!1),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete job location: {{errors}}",{errors:Object.values(t).join(", ")}))}})},W=()=>{v(""),x("_empty_"),S("_empty_"),j(!1),c.get(route("hr.recruitment.job-locations.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},k=[];X(_,"create-job-locations")&&k.push({label:e("Add Job Location"),icon:s.jsx(Y,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>J()});const $=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.job-locations.index")},{title:e("Job Locations")}],z=[{key:"name",label:e("Name"),sortable:!0,render:t=>s.jsx("div",{className:"font-medium",children:t})},{key:"address",label:e("Address"),render:(t,r)=>{if(r.is_remote)return s.jsx("span",{className:"text-blue-600 font-medium",children:e("Remote Work")});const p=[t,r.city,r.state,r.country].filter(Boolean);return p.length>0?p.join(", "):"-"}},{key:"is_remote",label:e("Type"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t?"bg-blue-50 text-blue-700 ring-blue-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:e(t?"Remote":"On-site")})},{key:"status",label:e("Status"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],G=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-job-locations"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-job-locations"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-job-locations"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-job-locations"}],N=[{value:"_empty_",label:e("All Statuses")},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],H=[{value:"_empty_",label:e("All Types")},{value:"true",label:e("Remote")},{value:"false",label:e("On-site")}];return s.jsxs(K,{title:e("Job Locations"),url:"/hr/recruitment/job-locations",actions:k,breadcrumbs:$,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(oe,{searchTerm:u,onSearchChange:v,onSearch:M,filters:[{name:"status",label:e("Status"),type:"select",value:m,onChange:x,options:N},{name:"is_remote",label:e("Type"),type:"select",value:l,onChange:S,options:H}],showFilters:O,setShowFilters:j,hasActiveFilters:E,activeFilterCount:R,onResetFilters:W,onApplyFilters:P,currentPerPage:((A=a.per_page)==null?void 0:A.toString())||"10",onPerPageChange:t=>{c.get(route("hr.recruitment.job-locations.index"),{page:1,per_page:parseInt(t),search:u||void 0,status:m!=="_empty_"?m:void 0,is_remote:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(L,{columns:z,actions:G,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:q,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:I,permissions:_,entityPermissions:{view:"view-job-locations",create:"create-job-locations",edit:"edit-job-locations",delete:"delete-job-locations"}}),s.jsx(re,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:e("job locations"),onPageChange:t=>c.get(t)})]}),s.jsx(ee,{isOpen:T,onClose:()=>f(!1),onSubmit:V,formConfig:{fields:[{name:"name",label:e("Name"),type:"text",required:!0},{name:"is_remote",label:e("Remote Work"),type:"checkbox"},{name:"address",label:e("Address"),type:"textarea"},{name:"city",label:e("City"),type:"text"},{name:"state",label:e("State"),type:"text"},{name:"country",label:e("Country"),type:"text"},{name:"postal_code",label:e("Postal Code"),type:"text"},{name:"status",label:e("Status"),type:"select",required:!0,options:N.filter(t=>t.value!=="_empty_")}]},initialData:d,title:e(b==="create"?"Add New Job Location":"Edit Job Location"),mode:b}),s.jsx(te,{isOpen:D,onClose:()=>g(!1),onConfirm:B,itemName:(d==null?void 0:d.name)||"",entityName:"job location"}),s.jsx(Z,{open:!!y,onOpenChange:()=>w(null),children:y&&s.jsx(ie,{jobLocation:y})})]})}export{zr as default}; +import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as K}from"./page-template-CLNVC8w_.js";import{u as Q,c as U,x as X,P as Y,r as c,D as Z,t as i}from"./app-Dya84jp7.js";import{C as L}from"./CrudTable-yqxtM6E_.js";import{C as ee}from"./CrudFormModal-CsuqSfb2.js";import{C as te}from"./CrudDeleteModal-D32N6I8y.js";import{P as re}from"./pagination-4PUepASD.js";import{S as oe}from"./search-and-filter-bar-DWH0yn_r.js";import ie from"./view-B2zB18Rr.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function zr(){var A;const{t:e}=Q(),{auth:h,jobLocations:o,filters:a={}}=U().props,_=(h==null?void 0:h.permissions)||[],[u,v]=n.useState(a.search||""),[m,x]=n.useState(a.status||"_empty_"),[l,S]=n.useState(a.is_remote||"_empty_"),[O,j]=n.useState(!1),[D,g]=n.useState(!1),[T,f]=n.useState(!1),[d,C]=n.useState(null),[b,F]=n.useState("create"),[y,w]=n.useState(null),E=()=>m!=="_empty_"||l!=="_empty_"||u!=="",R=()=>(m!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(u!==""?1:0),M=t=>{t.preventDefault(),P()},P=()=>{c.get(route("hr.recruitment.job-locations.index"),{page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,is_remote:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},I=t=>{const r=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";c.get(route("hr.recruitment.job-locations.index"),{sort_field:t,sort_direction:r,page:1,search:u||void 0,status:m!=="_empty_"?m:void 0,is_remote:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},q=(t,r)=>{switch(C(r),t){case"view":w(r);break;case"edit":F("edit"),f(!0);break;case"delete":g(!0);break;case"toggle-status":c.put(route("hr.recruitment.job-locations.toggle-status",r.id),{},{onSuccess:p=>{p.props.flash.success?i.success(e(p.props.flash.success)):p.props.flash.error&&i.error(e(p.props.flash.error))},onError:p=>{typeof p=="string"?i.error(e(p)):i.error(e("Failed to update status: {{errors}}",{errors:Object.values(p).join(", ")}))}});break}},J=()=>{C(null),F("create"),f(!0)},V=t=>{b==="create"?c.post(route("hr.recruitment.job-locations.store"),t,{onSuccess:r=>{f(!1),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{typeof r=="string"?i.error(e(r)):i.error(e("Failed to create job location: {{errors}}",{errors:Object.values(r).join(", ")}))}}):b==="edit"&&c.put(route("hr.recruitment.job-locations.update",d.id),t,{onSuccess:r=>{f(!1),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{typeof r=="string"?i.error(e(r)):i.error(e("Failed to update job location: {{errors}}",{errors:Object.values(r).join(", ")}))}})},B=()=>{c.delete(route("hr.recruitment.job-locations.destroy",d.id),{onSuccess:t=>{g(!1),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete job location: {{errors}}",{errors:Object.values(t).join(", ")}))}})},W=()=>{v(""),x("_empty_"),S("_empty_"),j(!1),c.get(route("hr.recruitment.job-locations.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},k=[];X(_,"create-job-locations")&&k.push({label:e("Add Job Location"),icon:s.jsx(Y,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>J()});const $=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.job-locations.index")},{title:e("Job Locations")}],z=[{key:"name",label:e("Name"),sortable:!0,render:t=>s.jsx("div",{className:"font-medium",children:t})},{key:"address",label:e("Address"),render:(t,r)=>{if(r.is_remote)return s.jsx("span",{className:"text-blue-600 font-medium",children:e("Remote Work")});const p=[t,r.city,r.state,r.country].filter(Boolean);return p.length>0?p.join(", "):"-"}},{key:"is_remote",label:e("Type"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t?"bg-blue-50 text-blue-700 ring-blue-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:e(t?"Remote":"On-site")})},{key:"status",label:e("Status"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],G=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-job-locations"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-job-locations"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-job-locations"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-job-locations"}],N=[{value:"_empty_",label:e("All Statuses")},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],H=[{value:"_empty_",label:e("All Types")},{value:"true",label:e("Remote")},{value:"false",label:e("On-site")}];return s.jsxs(K,{title:e("Job Locations"),url:"/hr/recruitment/job-locations",actions:k,breadcrumbs:$,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(oe,{searchTerm:u,onSearchChange:v,onSearch:M,filters:[{name:"status",label:e("Status"),type:"select",value:m,onChange:x,options:N},{name:"is_remote",label:e("Type"),type:"select",value:l,onChange:S,options:H}],showFilters:O,setShowFilters:j,hasActiveFilters:E,activeFilterCount:R,onResetFilters:W,onApplyFilters:P,currentPerPage:((A=a.per_page)==null?void 0:A.toString())||"10",onPerPageChange:t=>{c.get(route("hr.recruitment.job-locations.index"),{page:1,per_page:parseInt(t),search:u||void 0,status:m!=="_empty_"?m:void 0,is_remote:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(L,{columns:z,actions:G,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:q,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:I,permissions:_,entityPermissions:{view:"view-job-locations",create:"create-job-locations",edit:"edit-job-locations",delete:"delete-job-locations"}}),s.jsx(re,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:e("job locations"),onPageChange:t=>c.get(t)})]}),s.jsx(ee,{isOpen:T,onClose:()=>f(!1),onSubmit:V,formConfig:{fields:[{name:"name",label:e("Name"),type:"text",required:!0},{name:"is_remote",label:e("Remote Work"),type:"checkbox"},{name:"address",label:e("Address"),type:"textarea"},{name:"city",label:e("City"),type:"text"},{name:"state",label:e("State"),type:"text"},{name:"country",label:e("Country"),type:"text"},{name:"postal_code",label:e("Postal Code"),type:"text"},{name:"status",label:e("Status"),type:"select",required:!0,options:N.filter(t=>t.value!=="_empty_")}]},initialData:d,title:e(b==="create"?"Add New Job Location":"Edit Job Location"),mode:b}),s.jsx(te,{isOpen:D,onClose:()=>g(!1),onConfirm:B,itemName:(d==null?void 0:d.name)||"",entityName:"job location"}),s.jsx(Z,{open:!!y,onOpenChange:()=>w(null),children:y&&s.jsx(ie,{jobLocation:y})})]})}export{zr as default}; diff --git a/public/build/assets/index-DlUqSP_j.js b/public/build/assets/index-DTAPp5JZ.js similarity index 95% rename from public/build/assets/index-DlUqSP_j.js rename to public/build/assets/index-DTAPp5JZ.js index 490190d5e..42a14f2dd 100644 --- a/public/build/assets/index-DlUqSP_j.js +++ b/public/build/assets/index-DTAPp5JZ.js @@ -1 +1 @@ -import{r as p,j as e}from"./ui-Z445SNHD.js";import{u as U,c as W,H as X,g as w,r as x,S as T,I as Z,o as u,C as ee,l as se,B as S}from"./app-CfhhiFAk.js";import{S as C,a as k,b as F,c as _,d as i}from"./select-BrY9osYp.js";import{u as ae,C as le,a as te}from"./use-brand-theme-CmuRtpGN.js";import{u as re}from"./use-favicon-Dgw0iu9k.js";import{S as V}from"./star-DQsTg5F1.js";import{F as ce}from"./filter-uErFRSPT.js";import{B as ie}from"./building-Cyq-0nCs.js";import{M as ne}from"./map-pin-BEMjKB1T.js";import{C as oe}from"./clock-CwFdn-oy.js";import{C as me}from"./chevron-left-DzjQ74li.js";import{C as xe}from"./chevron-right-Bd9XWZHZ.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";function Te(){const{t:a,i18n:de}=U(),{companySettings:c,jobPostings:r,jobTypes:H,locations:R,filters:l,companyId:he,vacancyRanges:v,companySlug:pe,userSlug:n}=W().props,[y,z]=p.useState((l==null?void 0:l.search)||""),[d,P]=p.useState((l==null?void 0:l.location)||"all"),[o,B]=p.useState(l!=null&&l.job_type?l.job_type.split(","):[]),[h,O]=p.useState((l==null?void 0:l.salary_range)||"all"),[m,J]=p.useState(l!=null&&l.vacancies?l.vacancies.split(","):[]),[f,D]=p.useState((l==null?void 0:l.sort)||"newest"),E=(s,t)=>{J(t?[...m,s]:m.filter(j=>j!==s))},M=(s,t)=>{B(t?[...o,s]:o.filter(j=>j!==s))},$=()=>{const s={search:y,location:d!=="all"?d:void 0,job_type:o.length>0?o.join(","):void 0,salary_range:h!=="all"?h:void 0,vacancies:m.length>0?m.join(","):void 0,sort:f};n?x.get(route("career.index",n),s,{preserveState:!0}):x.get("/career",s,{preserveState:!0})},[ue,ge]=p.useState(1);re(),ae();const G=(r==null?void 0:r.data)||[],Y=R||[],q=H||[],N=(r==null?void 0:r.last_page)||1,g=(r==null?void 0:r.current_page)||1,A=G,b=s=>{const t={search:y,location:d!=="all"?d:void 0,job_type:o.length>0?o.join(","):void 0,salary_range:h!=="all"?h:void 0,vacancies:m.length>0?m.join(","):void 0,sort:f,page:s};n?x.get(route("career.index",n),t,{preserveState:!0}):x.get("/career",t,{preserveState:!0})};return e.jsxs(e.Fragment,{children:[e.jsx(X,{title:a("Careers - Join Our Team"),children:(c==null?void 0:c.favIcon)&&e.jsxs(e.Fragment,{children:[e.jsx("link",{rel:"icon",href:w(c.favIcon)}),e.jsx("link",{rel:"shortcut icon",href:w(c.favIcon)}),e.jsx("link",{rel:"apple-touch-icon",href:w(c.favIcon)})]})}),e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx(le,{logoOnly:!0,companySettings:c}),e.jsxs("section",{className:"relative bg-primary/5 text-gray-800 py-16 overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 opacity-10",children:[e.jsx("div",{className:"absolute top-10 left-10 w-20 h-20 bg-primary/20 rounded-full"}),e.jsx("div",{className:"absolute top-32 right-20 w-16 h-16 bg-primary/15 rounded-full"}),e.jsx("div",{className:"absolute bottom-20 left-1/4 w-12 h-12 bg-primary/25 rounded-full"}),e.jsx("div",{className:"absolute bottom-32 right-1/3 w-8 h-8 bg-primary/30 rounded-full"})]}),e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 rounded-full px-4 py-2 mb-6",children:[e.jsx(V,{className:"h-4 w-4 text-primary"}),e.jsx("span",{className:"text-sm font-medium text-primary",children:a("Join 500+ Amazing Professionals")})]}),e.jsx("h1",{className:"text-4xl md:text-5xl font-light mb-6 text-gray-700",children:a("Build Your Dream Career")}),e.jsx("p",{className:"text-xl md:text-2xl mb-8 text-gray-600 max-w-3xl mx-auto leading-relaxed",children:a("Discover exciting opportunities, grow with innovative projects, and make a meaningful impact in a collaborative environment")})]}),e.jsx("div",{className:"mb-12"})]})]}),e.jsx("section",{className:"py-12",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"flex flex-col space-y-4 md:flex-row md:items-center md:justify-between md:space-y-0 mb-8",children:[e.jsxs("h2",{className:"text-xl md:text-2xl font-bold text-gray-900",children:[(r==null?void 0:r.total)||0," ",a("Available Jobs")]}),e.jsxs("div",{className:"flex flex-col space-y-3 sm:flex-row sm:items-center sm:space-y-0 sm:space-x-4",children:[e.jsxs("div",{className:"flex flex-col space-y-2 sm:flex-row sm:items-center sm:space-y-0 sm:space-x-2",children:[e.jsxs("span",{className:"text-sm text-gray-600 whitespace-nowrap",children:[a("Sort by"),":"]}),e.jsxs(C,{value:f,onValueChange:s=>{D(s);const t={search:y,location:d!=="all"?d:void 0,job_type:o.length>0?o.join(","):void 0,salary_range:h!=="all"?h:void 0,vacancies:m.length>0?m.join(","):void 0,sort:s};n?x.get(route("career.index",n),t,{preserveState:!0}):x.get("/career",t,{preserveState:!0})},children:[e.jsx(k,{className:"w-full sm:w-40",children:e.jsx(F,{})}),e.jsxs(_,{children:[e.jsx(i,{value:"newest",children:a("Newest First")}),e.jsx(i,{value:"oldest",children:a("Oldest First")}),e.jsx(i,{value:"salary-high",children:a("Salary High to Low")}),e.jsx(i,{value:"salary-low",children:a("Salary Low to High")})]})]})]}),e.jsxs("div",{className:"flex flex-col space-y-2 sm:flex-row sm:items-center sm:space-y-0 sm:space-x-2",children:[e.jsxs("div",{className:"relative",children:[e.jsx(T,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(Z,{placeholder:a("Search for jobs"),value:y,onChange:s=>z(s.target.value),className:"pl-10 w-full sm:w-64"})]}),e.jsx(u,{onClick:$,className:"bg-primary hover:bg-primary/90 text-primary-foreground w-full sm:w-auto",children:a("Find Jobs")})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 lg:gap-8",children:[e.jsx("div",{className:"lg:col-span-3",children:e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border p-4 lg:p-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4 lg:mb-6",children:[e.jsx(ce,{className:"h-5 w-5 text-blue-500"}),e.jsx("h3",{className:"text-base lg:text-lg font-semibold text-gray-900",children:a("Filter Jobs")})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:a("Location")}),e.jsxs(C,{value:d,onValueChange:P,children:[e.jsx(k,{children:e.jsx(F,{placeholder:a("All Locations")})}),e.jsxs(_,{children:[e.jsx(i,{value:"all",children:a("All Locations")}),Y.map(s=>e.jsx(i,{value:s.id.toString(),children:s.name},s.id))]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:a("Salary Range")}),e.jsxs(C,{value:h,onValueChange:O,children:[e.jsx(k,{children:e.jsx(F,{placeholder:a("All Ranges")})}),e.jsxs(_,{children:[e.jsx(i,{value:"all",children:a("All Ranges")}),e.jsx(i,{value:"0-50k",children:a("$0 - $50,000")}),e.jsx(i,{value:"50k-100k",children:a("$50,000 - $100,000")}),e.jsx(i,{value:"100k+",children:a("$100,000+")})]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:a("Job Type")}),e.jsx("div",{className:"space-y-2",children:q.map(s=>e.jsxs("label",{className:"flex items-center",children:[e.jsx("input",{type:"checkbox",className:"rounded border-gray-300 text-blue-600 mr-2 cursor-pointer",checked:o.includes(s.id.toString()),onChange:t=>M(s.id.toString(),t.target.checked)}),e.jsx("span",{className:"text-sm text-gray-600",children:s.name})]},s.id))})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:a("Vacancies")}),e.jsx("div",{className:"space-y-2",children:v==null?void 0:v.map(s=>e.jsxs("label",{className:"flex items-center",children:[e.jsx("input",{type:"checkbox",className:"rounded border-gray-300 text-blue-600 mr-2 cursor-pointer",checked:m.includes(s.value),onChange:t=>E(s.value,t.target.checked)}),e.jsx("span",{className:"text-sm text-gray-600",children:s.label})]},s.value))})]}),e.jsx(u,{onClick:$,className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground",children:a("Apply Filters")}),e.jsx(u,{onClick:()=>{n?x.get(route("career.index",n)):x.get("/career")},variant:"outline",className:"w-full",children:a("Reset Filters")})]})]})}),e.jsxs("div",{className:"lg:col-span-9",children:[e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-4 lg:gap-6",children:A.map(s=>{var t,j,I,L;return e.jsx(ee,{className:"hover:shadow-lg transition-shadow border border-gray-200 flex flex-col",children:e.jsxs(se,{className:"p-6 flex flex-col h-full",children:[e.jsx("div",{className:"flex items-start justify-between mb-3",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(S,{className:"bg-blue-100 text-blue-700 hover:bg-blue-100 text-xs",children:[s.positions||1," ",a("Vacancies")]}),s.is_featured&&e.jsxs(S,{className:"bg-yellow-100 text-yellow-700 hover:bg-yellow-100 text-xs",children:[e.jsx(V,{className:"h-3 w-3 mr-1"}),a("Featured")]})]})}),e.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-3 line-clamp-2 leading-tight",children:s.title}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-3",children:(t=s.skills)==null?void 0:t.slice(0,3).map((K,Q)=>e.jsx(S,{variant:"outline",className:"text-xs px-2 py-1",children:K},Q))}),e.jsxs("div",{className:"space-y-1 mb-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-600",children:[e.jsx(ie,{className:"h-3 w-3"}),e.jsx("span",{children:((j=s.branch)==null?void 0:j.name)||"General"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-600",children:[e.jsx(ne,{className:"h-3 w-3"}),e.jsx("span",{children:((I=s.location)==null?void 0:I.name)||"Remote"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-600",children:[e.jsx(oe,{className:"h-3 w-3"}),e.jsx("span",{children:((L=s.job_type)==null?void 0:L.name)||"Full-time"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-700 font-medium",children:[e.jsx("span",{children:"💰"}),e.jsx("span",{children:s.min_salary&&s.max_salary?`${c.currencySymbol} ${s.min_salary} - ${c.currencySymbol} ${s.max_salary}`:"Competitive"})]})]}),e.jsx(u,{onClick:()=>x.get(route("career.job-details",[n,s.code])),className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground py-2 text-sm font-medium mt-auto",children:a("Browse Job")})]})},s.id)})}),N>1&&e.jsxs("div",{className:"flex flex-col sm:flex-row justify-center items-center mt-8 lg:mt-12 space-y-2 sm:space-y-0 sm:space-x-2",children:[e.jsxs(u,{variant:"outline",size:"sm",onClick:()=>b(g-1),disabled:g===1,className:"flex items-center gap-1 h-8 px-3 w-full sm:w-auto",children:[e.jsx(me,{className:"h-3 w-3"}),a("Previous")]}),e.jsx("div",{className:"flex space-x-1",children:Array.from({length:N},(s,t)=>t+1).map(s=>e.jsx(u,{variant:g===s?"default":"outline",size:"sm",onClick:()=>b(s),className:`w-8 h-8 text-sm ${g===s?"bg-primary text-primary-foreground":""}`,children:s},s))}),e.jsxs(u,{variant:"outline",size:"sm",onClick:()=>b(g+1),disabled:g===N,className:"flex items-center gap-1 h-8 px-3 w-full sm:w-auto",children:[a("Next"),e.jsx(xe,{className:"h-3 w-3"})]})]}),A.length===0&&e.jsxs("div",{className:"text-center py-16",children:[e.jsx("div",{className:"text-gray-300 mb-6",children:e.jsx(T,{className:"h-20 w-20 mx-auto"})}),e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-3",children:a("No jobs found")}),e.jsx("p",{className:"text-gray-600 text-lg",children:a("Try adjusting your search criteria or check back later for new opportunities.")})]})]})]})]})}),e.jsx(te,{companySettings:c})]})]})}export{Te as default}; +import{r as p,j as e}from"./ui-Z445SNHD.js";import{u as U,c as W,H as X,g as w,r as x,S as T,I as Z,o as u,C as ee,l as se,B as S}from"./app-Dya84jp7.js";import{S as C,a as k,b as F,c as _,d as i}from"./select-CHkpLxhL.js";import{u as ae,C as le,a as te}from"./use-brand-theme-Cg8kbbAC.js";import{u as re}from"./use-favicon-B8cqaHhj.js";import{S as V}from"./star-DCkLKzoE.js";import{F as ce}from"./filter-BTHjyusi.js";import{B as ie}from"./building-DyhEfKj4.js";import{M as ne}from"./map-pin-DFWKFR9c.js";import{C as oe}from"./clock-LnEFQ-vK.js";import{C as me}from"./chevron-left-CQUDAoaX.js";import{C as xe}from"./chevron-right-D4JxSs4d.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";function Te(){const{t:a,i18n:de}=U(),{companySettings:c,jobPostings:r,jobTypes:H,locations:R,filters:l,companyId:he,vacancyRanges:v,companySlug:pe,userSlug:n}=W().props,[y,z]=p.useState((l==null?void 0:l.search)||""),[d,P]=p.useState((l==null?void 0:l.location)||"all"),[o,B]=p.useState(l!=null&&l.job_type?l.job_type.split(","):[]),[h,O]=p.useState((l==null?void 0:l.salary_range)||"all"),[m,J]=p.useState(l!=null&&l.vacancies?l.vacancies.split(","):[]),[f,D]=p.useState((l==null?void 0:l.sort)||"newest"),E=(s,t)=>{J(t?[...m,s]:m.filter(j=>j!==s))},M=(s,t)=>{B(t?[...o,s]:o.filter(j=>j!==s))},$=()=>{const s={search:y,location:d!=="all"?d:void 0,job_type:o.length>0?o.join(","):void 0,salary_range:h!=="all"?h:void 0,vacancies:m.length>0?m.join(","):void 0,sort:f};n?x.get(route("career.index",n),s,{preserveState:!0}):x.get("/career",s,{preserveState:!0})},[ue,ge]=p.useState(1);re(),ae();const G=(r==null?void 0:r.data)||[],Y=R||[],q=H||[],N=(r==null?void 0:r.last_page)||1,g=(r==null?void 0:r.current_page)||1,A=G,b=s=>{const t={search:y,location:d!=="all"?d:void 0,job_type:o.length>0?o.join(","):void 0,salary_range:h!=="all"?h:void 0,vacancies:m.length>0?m.join(","):void 0,sort:f,page:s};n?x.get(route("career.index",n),t,{preserveState:!0}):x.get("/career",t,{preserveState:!0})};return e.jsxs(e.Fragment,{children:[e.jsx(X,{title:a("Careers - Join Our Team"),children:(c==null?void 0:c.favIcon)&&e.jsxs(e.Fragment,{children:[e.jsx("link",{rel:"icon",href:w(c.favIcon)}),e.jsx("link",{rel:"shortcut icon",href:w(c.favIcon)}),e.jsx("link",{rel:"apple-touch-icon",href:w(c.favIcon)})]})}),e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx(le,{logoOnly:!0,companySettings:c}),e.jsxs("section",{className:"relative bg-primary/5 text-gray-800 py-16 overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 opacity-10",children:[e.jsx("div",{className:"absolute top-10 left-10 w-20 h-20 bg-primary/20 rounded-full"}),e.jsx("div",{className:"absolute top-32 right-20 w-16 h-16 bg-primary/15 rounded-full"}),e.jsx("div",{className:"absolute bottom-20 left-1/4 w-12 h-12 bg-primary/25 rounded-full"}),e.jsx("div",{className:"absolute bottom-32 right-1/3 w-8 h-8 bg-primary/30 rounded-full"})]}),e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 rounded-full px-4 py-2 mb-6",children:[e.jsx(V,{className:"h-4 w-4 text-primary"}),e.jsx("span",{className:"text-sm font-medium text-primary",children:a("Join 500+ Amazing Professionals")})]}),e.jsx("h1",{className:"text-4xl md:text-5xl font-light mb-6 text-gray-700",children:a("Build Your Dream Career")}),e.jsx("p",{className:"text-xl md:text-2xl mb-8 text-gray-600 max-w-3xl mx-auto leading-relaxed",children:a("Discover exciting opportunities, grow with innovative projects, and make a meaningful impact in a collaborative environment")})]}),e.jsx("div",{className:"mb-12"})]})]}),e.jsx("section",{className:"py-12",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"flex flex-col space-y-4 md:flex-row md:items-center md:justify-between md:space-y-0 mb-8",children:[e.jsxs("h2",{className:"text-xl md:text-2xl font-bold text-gray-900",children:[(r==null?void 0:r.total)||0," ",a("Available Jobs")]}),e.jsxs("div",{className:"flex flex-col space-y-3 sm:flex-row sm:items-center sm:space-y-0 sm:space-x-4",children:[e.jsxs("div",{className:"flex flex-col space-y-2 sm:flex-row sm:items-center sm:space-y-0 sm:space-x-2",children:[e.jsxs("span",{className:"text-sm text-gray-600 whitespace-nowrap",children:[a("Sort by"),":"]}),e.jsxs(C,{value:f,onValueChange:s=>{D(s);const t={search:y,location:d!=="all"?d:void 0,job_type:o.length>0?o.join(","):void 0,salary_range:h!=="all"?h:void 0,vacancies:m.length>0?m.join(","):void 0,sort:s};n?x.get(route("career.index",n),t,{preserveState:!0}):x.get("/career",t,{preserveState:!0})},children:[e.jsx(k,{className:"w-full sm:w-40",children:e.jsx(F,{})}),e.jsxs(_,{children:[e.jsx(i,{value:"newest",children:a("Newest First")}),e.jsx(i,{value:"oldest",children:a("Oldest First")}),e.jsx(i,{value:"salary-high",children:a("Salary High to Low")}),e.jsx(i,{value:"salary-low",children:a("Salary Low to High")})]})]})]}),e.jsxs("div",{className:"flex flex-col space-y-2 sm:flex-row sm:items-center sm:space-y-0 sm:space-x-2",children:[e.jsxs("div",{className:"relative",children:[e.jsx(T,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(Z,{placeholder:a("Search for jobs"),value:y,onChange:s=>z(s.target.value),className:"pl-10 w-full sm:w-64"})]}),e.jsx(u,{onClick:$,className:"bg-primary hover:bg-primary/90 text-primary-foreground w-full sm:w-auto",children:a("Find Jobs")})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 lg:gap-8",children:[e.jsx("div",{className:"lg:col-span-3",children:e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border p-4 lg:p-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4 lg:mb-6",children:[e.jsx(ce,{className:"h-5 w-5 text-blue-500"}),e.jsx("h3",{className:"text-base lg:text-lg font-semibold text-gray-900",children:a("Filter Jobs")})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:a("Location")}),e.jsxs(C,{value:d,onValueChange:P,children:[e.jsx(k,{children:e.jsx(F,{placeholder:a("All Locations")})}),e.jsxs(_,{children:[e.jsx(i,{value:"all",children:a("All Locations")}),Y.map(s=>e.jsx(i,{value:s.id.toString(),children:s.name},s.id))]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:a("Salary Range")}),e.jsxs(C,{value:h,onValueChange:O,children:[e.jsx(k,{children:e.jsx(F,{placeholder:a("All Ranges")})}),e.jsxs(_,{children:[e.jsx(i,{value:"all",children:a("All Ranges")}),e.jsx(i,{value:"0-50k",children:a("$0 - $50,000")}),e.jsx(i,{value:"50k-100k",children:a("$50,000 - $100,000")}),e.jsx(i,{value:"100k+",children:a("$100,000+")})]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:a("Job Type")}),e.jsx("div",{className:"space-y-2",children:q.map(s=>e.jsxs("label",{className:"flex items-center",children:[e.jsx("input",{type:"checkbox",className:"rounded border-gray-300 text-blue-600 mr-2 cursor-pointer",checked:o.includes(s.id.toString()),onChange:t=>M(s.id.toString(),t.target.checked)}),e.jsx("span",{className:"text-sm text-gray-600",children:s.name})]},s.id))})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:a("Vacancies")}),e.jsx("div",{className:"space-y-2",children:v==null?void 0:v.map(s=>e.jsxs("label",{className:"flex items-center",children:[e.jsx("input",{type:"checkbox",className:"rounded border-gray-300 text-blue-600 mr-2 cursor-pointer",checked:m.includes(s.value),onChange:t=>E(s.value,t.target.checked)}),e.jsx("span",{className:"text-sm text-gray-600",children:s.label})]},s.value))})]}),e.jsx(u,{onClick:$,className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground",children:a("Apply Filters")}),e.jsx(u,{onClick:()=>{n?x.get(route("career.index",n)):x.get("/career")},variant:"outline",className:"w-full",children:a("Reset Filters")})]})]})}),e.jsxs("div",{className:"lg:col-span-9",children:[e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-4 lg:gap-6",children:A.map(s=>{var t,j,I,L;return e.jsx(ee,{className:"hover:shadow-lg transition-shadow border border-gray-200 flex flex-col",children:e.jsxs(se,{className:"p-6 flex flex-col h-full",children:[e.jsx("div",{className:"flex items-start justify-between mb-3",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(S,{className:"bg-blue-100 text-blue-700 hover:bg-blue-100 text-xs",children:[s.positions||1," ",a("Vacancies")]}),s.is_featured&&e.jsxs(S,{className:"bg-yellow-100 text-yellow-700 hover:bg-yellow-100 text-xs",children:[e.jsx(V,{className:"h-3 w-3 mr-1"}),a("Featured")]})]})}),e.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-3 line-clamp-2 leading-tight",children:s.title}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-3",children:(t=s.skills)==null?void 0:t.slice(0,3).map((K,Q)=>e.jsx(S,{variant:"outline",className:"text-xs px-2 py-1",children:K},Q))}),e.jsxs("div",{className:"space-y-1 mb-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-600",children:[e.jsx(ie,{className:"h-3 w-3"}),e.jsx("span",{children:((j=s.branch)==null?void 0:j.name)||"General"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-600",children:[e.jsx(ne,{className:"h-3 w-3"}),e.jsx("span",{children:((I=s.location)==null?void 0:I.name)||"Remote"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-600",children:[e.jsx(oe,{className:"h-3 w-3"}),e.jsx("span",{children:((L=s.job_type)==null?void 0:L.name)||"Full-time"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-700 font-medium",children:[e.jsx("span",{children:"💰"}),e.jsx("span",{children:s.min_salary&&s.max_salary?`${c.currencySymbol} ${s.min_salary} - ${c.currencySymbol} ${s.max_salary}`:"Competitive"})]})]}),e.jsx(u,{onClick:()=>x.get(route("career.job-details",[n,s.code])),className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground py-2 text-sm font-medium mt-auto",children:a("Browse Job")})]})},s.id)})}),N>1&&e.jsxs("div",{className:"flex flex-col sm:flex-row justify-center items-center mt-8 lg:mt-12 space-y-2 sm:space-y-0 sm:space-x-2",children:[e.jsxs(u,{variant:"outline",size:"sm",onClick:()=>b(g-1),disabled:g===1,className:"flex items-center gap-1 h-8 px-3 w-full sm:w-auto",children:[e.jsx(me,{className:"h-3 w-3"}),a("Previous")]}),e.jsx("div",{className:"flex space-x-1",children:Array.from({length:N},(s,t)=>t+1).map(s=>e.jsx(u,{variant:g===s?"default":"outline",size:"sm",onClick:()=>b(s),className:`w-8 h-8 text-sm ${g===s?"bg-primary text-primary-foreground":""}`,children:s},s))}),e.jsxs(u,{variant:"outline",size:"sm",onClick:()=>b(g+1),disabled:g===N,className:"flex items-center gap-1 h-8 px-3 w-full sm:w-auto",children:[a("Next"),e.jsx(xe,{className:"h-3 w-3"})]})]}),A.length===0&&e.jsxs("div",{className:"text-center py-16",children:[e.jsx("div",{className:"text-gray-300 mb-6",children:e.jsx(T,{className:"h-20 w-20 mx-auto"})}),e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-3",children:a("No jobs found")}),e.jsx("p",{className:"text-gray-600 text-lg",children:a("Try adjusting your search criteria or check back later for new opportunities.")})]})]})]})]})}),e.jsx(te,{companySettings:c})]})]})}export{Te as default}; diff --git a/public/build/assets/index-C73ZUJCW.js b/public/build/assets/index-DW8RlYXo.js similarity index 73% rename from public/build/assets/index-C73ZUJCW.js rename to public/build/assets/index-DW8RlYXo.js index 50dfb9716..66abadebe 100644 --- a/public/build/assets/index-C73ZUJCW.js +++ b/public/build/assets/index-DW8RlYXo.js @@ -1 +1 @@ -import{r as i,j as a}from"./ui-Z445SNHD.js";import{P as Re}from"./page-template-BTxLyiDA.js";import{u as Be,c as qe,x as Ie,P as $e,F as Ve,g as ze,r as m,M as Le,D as Ue,t as o}from"./app-CfhhiFAk.js";import{C as He}from"./CrudTable-qPWooc10.js";import{C as M}from"./CrudFormModal-DAR9q-oM.js";import{C as Xe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Ge}from"./pagination-D8A_HnL5.js";import{S as Je}from"./search-and-filter-bar-6Pp-FsiR.js";import Ke from"./view-Beyn6LUJ.js";import{u as Qe}from"./use-initials-BK4eRgYY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function $o(){var Z,ee;const{t:e}=Be(),{auth:C,transfers:n,employees:pe,branches:me,departments:F,designations:R,filters:p={}}=qe().props,B=(C==null?void 0:C.permissions)||[],de=Qe(),[f,q]=i.useState(p.search||""),[u,I]=i.useState(p.employee_id||""),[h,$]=i.useState(p.branch_id||""),[_,V]=i.useState(p.department_id||""),[d,z]=i.useState(p.status||"all"),[g,L]=i.useState(p.date_from||""),[b,U]=i.useState(p.date_to||""),[ce,H]=i.useState(!1),[fe,T]=i.useState(!1),[ue,v]=i.useState(!1),[he,E]=i.useState(!1),[_e,N]=i.useState(!1),[l,X]=i.useState(null),[y,G]=i.useState("create"),[P,J]=i.useState(null),[k,ge]=i.useState("_none_"),[w,K]=i.useState("_none_"),[We,A]=i.useState([]),[Ye,D]=i.useState([]);i.useEffect(()=>{if(k==="_none_")A([]);else{const t=F.filter(r=>r.branch_id.toString()===k);A(t)}K("_none_"),D([])},[k,F]),i.useEffect(()=>{if(w==="_none_")D([]);else{const t=(R||[]).filter(r=>r.department_id.toString()===w);D(t)}},[w,R]);const be=()=>u!==""||h!==""||_!==""||d!=="all"||g!==""||b!==""||f!=="",ve=()=>(u!==""?1:0)+(h!==""?1:0)+(_!==""?1:0)+(d!=="all"?1:0)+(g!==""?1:0)+(b!==""?1:0)+(f!==""?1:0),ye=t=>{t.preventDefault(),Q()},Q=()=>{m.get(route("hr.transfers.index"),{page:1,search:f||void 0,employee_id:u||void 0,branch_id:h||void 0,department_id:_||void 0,status:d!=="all"?d:void 0,date_from:g||void 0,date_to:b||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Se=t=>{const r=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";m.get(route("hr.transfers.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,employee_id:u||void 0,branch_id:h||void 0,department_id:_||void 0,status:d!=="all"?d:void 0,date_from:g||void 0,date_to:b||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},xe=(t,r)=>{switch(X(r),t){case"view":J(r);break;case"edit":G("edit"),v(!0);break;case"delete":T(!0);break;case"approve":E(!0);break;case"reject":N(!0);break;case"download-document":window.open(route("hr.transfers.download-document",r.id),"_blank");break}},je=()=>{X(null),G("create"),ge("_none_"),K("_none_"),A([]),D([]),v(!0)},De=t=>{const r=t;y==="create"?(o.loading(e("Creating transfer...")),m.post(route("hr.transfers.store"),r,{onSuccess:s=>{v(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error&&o.error(e(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(e(s)):o.error(e("Failed to create transfer: {{errors}}",{errors:Object.values(s).join(", ")}))}})):y==="edit"&&(o.loading(e("Updating transfer...")),m.put(route("hr.transfers.update",l.id),r,{onSuccess:s=>{v(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error&&o.error(e(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(e(s)):o.error(e("Failed to update transfer: {{errors}}",{errors:Object.values(s).join(", ")}))}}))},Ce=t=>{o.loading(e("Approving transfer...")),m.put(route("hr.transfers.approve",l.id),t,{onSuccess:r=>{E(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to approve transfer: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Fe=t=>{o.loading(e("Rejecting transfer...")),m.put(route("hr.transfers.reject",l.id),t,{onSuccess:r=>{N(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to reject transfer: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Te=()=>{o.loading(e("Deleting transfer...")),m.delete(route("hr.transfers.destroy",l.id),{onSuccess:t=>{T(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to delete transfer: {{errors}}",{errors:Object.values(t).join(", ")}))}})},Ee=()=>{q(""),I(""),$(""),V(""),z("all"),L(""),U(""),H(!1),m.get(route("hr.transfers.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},W=[];Ie(B,"create-employee-transfers")&&W.push({label:e("Add Transfer"),icon:a.jsx($e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>je()});const Ne=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.transfers.index")},{title:e("Employee Transfers")}],Pe=[{key:"employee.name",label:e("Employee"),render:(t,r)=>{var s,c,S,x,j;return a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(s=r.employee)!=null&&s.avatar?a.jsx("img",{src:r.employee.avatar,alt:(c=r.employee)==null?void 0:c.name,className:"h-full w-full object-cover"}):de(((S=r.employee)==null?void 0:S.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((x=r.employee)==null?void 0:x.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:((j=r.employee)==null?void 0:j.email)||""})]})]})}},{key:"transfer_type",label:e("Transfer Type"),render:(t,r)=>{const s=[];return r.from_branch_id&&r.to_branch_id&&s.push("Branch"),r.from_department_id&&r.to_department_id&&s.push("Department"),r.from_designation_id&&r.to_designation_id&&s.push("Designation"),s.join(", ")||"-"}},{key:"from_to",label:e("From → To"),render:(t,r)=>{var c,S,x,j,te,re,oe,se,ae,ie,ne,le;const s=[];return r.to_branch_id&&s.push(`${((c=r.from_branch)==null?void 0:c.name)||((S=r.fromBranch)==null?void 0:S.name)||"-"} → ${((x=r.to_branch)==null?void 0:x.name)||((j=r.toBranch)==null?void 0:j.name)||"-"}`),r.to_department_id&&s.push(`${((te=r.from_department)==null?void 0:te.name)||((re=r.fromDepartment)==null?void 0:re.name)||"-"} → ${((oe=r.to_department)==null?void 0:oe.name)||((se=r.toDepartment)==null?void 0:se.name)||"-"}`),r.to_designation_id&&s.push(`${((ae=r.from_designation)==null?void 0:ae.name)||((ie=r.fromDesignation)==null?void 0:ie.name)||"-"} → ${((ne=r.to_designation)==null?void 0:ne.name)||((le=r.toDesignation)==null?void 0:le.name)||"-"}`),s.length>0?a.jsx("div",{className:"space-y-1",children:s.map((Oe,Me)=>a.jsx("div",{className:"text-sm",children:Oe},Me))}):"-"}},{key:"transfer_date",label:e("Transfer Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"effective_date",label:e("Effective Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const r={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"documents",label:e("Documents"),render:(t,r)=>t&&t.trim()!==""?a.jsx("a",{href:ze(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:a.jsx(Ve,{className:"h-4 w-4"})}):"-"}],ke=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-transfers"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-transfers",condition:t=>t.status==="pending"},{label:e("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-employee-transfers",condition:t=>t.status==="pending"},{label:e("Reject"),icon:"XCircle",action:"reject",className:"text-red-500",requiredPermission:"reject-employee-transfers",condition:t=>t.status==="pending"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-transfers",condition:t=>t.status==="pending"}],Y=[{value:"_none_",label:e("All Employees"),disabled:!0},...(pe||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],O=[{value:"_none_",label:e("All Branches"),disabled:!0},...(me||[]).map(t=>({value:t.id.toString(),label:t.name}))],we=[{value:"_none_",label:e("All Departments"),disabled:!0},...(F||[]).map(t=>({value:t.id.toString(),label:t.name}))],Ae=[{value:"all",label:e("All Statuses")},{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}];return a.jsxs(Re,{title:e("Employee Transfers"),url:"/hr/transfers",actions:W,breadcrumbs:Ne,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(Je,{searchTerm:f,onSearchChange:q,onSearch:ye,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:u,onChange:I,options:Y,searchable:!0},{name:"branch_id",label:e("Branch"),type:"select",value:h,onChange:$,options:O,searchable:!0},{name:"department_id",label:e("Department"),type:"select",value:_,onChange:V,options:we,searchable:!0},{name:"status",label:e("Status"),type:"select",value:d,onChange:z,options:Ae},{name:"date_from",label:e("Date From"),type:"date",value:g,onChange:L},{name:"date_to",label:e("Date To"),type:"date",value:b,onChange:U}],showFilters:ce,setShowFilters:H,hasActiveFilters:be,activeFilterCount:ve,onResetFilters:Ee,onApplyFilters:Q,currentPerPage:((Z=p.per_page)==null?void 0:Z.toString())||"10",onPerPageChange:t=>{m.get(route("hr.transfers.index"),{page:1,per_page:parseInt(t),search:f||void 0,employee_id:u||void 0,branch_id:h||void 0,department_id:_||void 0,status:d!=="all"?d:void 0,date_from:g||void 0,date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(He,{columns:Pe,actions:ke,data:(n==null?void 0:n.data)||[],from:(n==null?void 0:n.from)||1,onAction:xe,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:Se,permissions:B,entityPermissions:{view:"view-employee-transfers",create:"create-employee-transfers",edit:"edit-employee-transfers",delete:"delete-employee-transfers"}}),a.jsx(Ge,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:e("transfers"),onPageChange:t=>m.get(t)})]}),a.jsx(M,{isOpen:ue,onClose:()=>v(!1),onSubmit:De,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:Y.filter(t=>t.value!=="_none_"),searchable:!0},{name:"to_branch_id",type:"dependent-dropdown",dependentConfig:[{name:"to_branch_id",label:e("To Branch"),required:!0,options:O?O.filter(t=>t.value!=="_none_").map(t=>({value:t.value,label:t.label})):[]},{name:"to_department_id",label:e("To Department"),apiEndpoint:"/hr/transfers/get-department/{to_branch_id}",showCurrentValue:!0},{name:"to_designation_id",label:e("To Designation"),apiEndpoint:"/hr/transfers/get-designation/{to_department_id}",showCurrentValue:!0}]},{name:"transfer_date",label:e("Transfer Date"),type:"date",required:!0},{name:"effective_date",label:e("Effective Date"),type:"date",required:!0},{name:"reason",label:e("Reason"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,r,s)=>a.jsx(Le,{value:String(r[t.name]||""),onChange:c=>s(t.name,c),placeholder:e("Select document file...")})},...y==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}]},{name:"notes",label:e("Notes"),type:"textarea"}]:[]],modalSize:"lg"},initialData:l?{...l,transfer_date:l.transfer_date?window.appSettings.formatDateTimeSimple(l.transfer_date,!1):l.transfer_date,effective_date:l.effective_date?window.appSettings.formatDateTimeSimple(l.effective_date,!1):l.effective_date}:null,title:e(y==="create"?"Add New Transfer":"Edit Transfer"),mode:y}),a.jsx(M,{isOpen:he,onClose:()=>E(!1),onSubmit:Ce,formConfig:{fields:[{name:"notes",label:e("Notes"),type:"textarea",placeholder:e("Add any notes about this approval (optional)")}],modalSize:"sm"},initialData:l,title:e("Approve Transfer"),mode:"edit"}),a.jsx(M,{isOpen:_e,onClose:()=>N(!1),onSubmit:Fe,formConfig:{fields:[{name:"notes",label:e("Rejection Reason"),type:"textarea",required:!0,placeholder:e("Please provide a reason for rejecting this transfer")}],modalSize:"sm"},initialData:l,title:e("Reject Transfer"),mode:"edit"}),a.jsx(Xe,{isOpen:fe,onClose:()=>T(!1),onConfirm:Te,itemName:`${((ee=l==null?void 0:l.employee)==null?void 0:ee.name)||""}`,entityName:"transfer"}),a.jsx(Ue,{open:!!P,onOpenChange:()=>J(null),children:P&&a.jsx(Ke,{transfer:P})})]})}export{$o as default}; +import{r as i,j as a}from"./ui-Z445SNHD.js";import{P as Re}from"./page-template-CLNVC8w_.js";import{u as Be,c as qe,x as Ie,P as $e,F as Ve,g as ze,r as m,M as Le,D as Ue,t as o}from"./app-Dya84jp7.js";import{C as He}from"./CrudTable-yqxtM6E_.js";import{C as M}from"./CrudFormModal-CsuqSfb2.js";import{C as Xe}from"./CrudDeleteModal-D32N6I8y.js";import{P as Ge}from"./pagination-4PUepASD.js";import{S as Je}from"./search-and-filter-bar-DWH0yn_r.js";import Ke from"./view-DsifVeP-.js";import{u as Qe}from"./use-initials-BK4eRgYY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function $o(){var Z,ee;const{t:e}=Be(),{auth:C,transfers:n,employees:pe,branches:me,departments:F,designations:R,filters:p={}}=qe().props,B=(C==null?void 0:C.permissions)||[],de=Qe(),[f,q]=i.useState(p.search||""),[u,I]=i.useState(p.employee_id||""),[h,$]=i.useState(p.branch_id||""),[_,V]=i.useState(p.department_id||""),[d,z]=i.useState(p.status||"all"),[g,L]=i.useState(p.date_from||""),[b,U]=i.useState(p.date_to||""),[ce,H]=i.useState(!1),[fe,T]=i.useState(!1),[ue,v]=i.useState(!1),[he,E]=i.useState(!1),[_e,N]=i.useState(!1),[l,X]=i.useState(null),[y,G]=i.useState("create"),[P,J]=i.useState(null),[k,ge]=i.useState("_none_"),[w,K]=i.useState("_none_"),[We,A]=i.useState([]),[Ye,D]=i.useState([]);i.useEffect(()=>{if(k==="_none_")A([]);else{const t=F.filter(r=>r.branch_id.toString()===k);A(t)}K("_none_"),D([])},[k,F]),i.useEffect(()=>{if(w==="_none_")D([]);else{const t=(R||[]).filter(r=>r.department_id.toString()===w);D(t)}},[w,R]);const be=()=>u!==""||h!==""||_!==""||d!=="all"||g!==""||b!==""||f!=="",ve=()=>(u!==""?1:0)+(h!==""?1:0)+(_!==""?1:0)+(d!=="all"?1:0)+(g!==""?1:0)+(b!==""?1:0)+(f!==""?1:0),ye=t=>{t.preventDefault(),Q()},Q=()=>{m.get(route("hr.transfers.index"),{page:1,search:f||void 0,employee_id:u||void 0,branch_id:h||void 0,department_id:_||void 0,status:d!=="all"?d:void 0,date_from:g||void 0,date_to:b||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Se=t=>{const r=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";m.get(route("hr.transfers.index"),{sort_field:t,sort_direction:r,page:1,search:f||void 0,employee_id:u||void 0,branch_id:h||void 0,department_id:_||void 0,status:d!=="all"?d:void 0,date_from:g||void 0,date_to:b||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},xe=(t,r)=>{switch(X(r),t){case"view":J(r);break;case"edit":G("edit"),v(!0);break;case"delete":T(!0);break;case"approve":E(!0);break;case"reject":N(!0);break;case"download-document":window.open(route("hr.transfers.download-document",r.id),"_blank");break}},je=()=>{X(null),G("create"),ge("_none_"),K("_none_"),A([]),D([]),v(!0)},De=t=>{const r=t;y==="create"?(o.loading(e("Creating transfer...")),m.post(route("hr.transfers.store"),r,{onSuccess:s=>{v(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error&&o.error(e(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(e(s)):o.error(e("Failed to create transfer: {{errors}}",{errors:Object.values(s).join(", ")}))}})):y==="edit"&&(o.loading(e("Updating transfer...")),m.put(route("hr.transfers.update",l.id),r,{onSuccess:s=>{v(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error&&o.error(e(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(e(s)):o.error(e("Failed to update transfer: {{errors}}",{errors:Object.values(s).join(", ")}))}}))},Ce=t=>{o.loading(e("Approving transfer...")),m.put(route("hr.transfers.approve",l.id),t,{onSuccess:r=>{E(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to approve transfer: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Fe=t=>{o.loading(e("Rejecting transfer...")),m.put(route("hr.transfers.reject",l.id),t,{onSuccess:r=>{N(!1),o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(e(r)):o.error(e("Failed to reject transfer: {{errors}}",{errors:Object.values(r).join(", ")}))}})},Te=()=>{o.loading(e("Deleting transfer...")),m.delete(route("hr.transfers.destroy",l.id),{onSuccess:t=>{T(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to delete transfer: {{errors}}",{errors:Object.values(t).join(", ")}))}})},Ee=()=>{q(""),I(""),$(""),V(""),z("all"),L(""),U(""),H(!1),m.get(route("hr.transfers.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},W=[];Ie(B,"create-employee-transfers")&&W.push({label:e("Add Transfer"),icon:a.jsx($e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>je()});const Ne=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.transfers.index")},{title:e("Employee Transfers")}],Pe=[{key:"employee.name",label:e("Employee"),render:(t,r)=>{var s,c,S,x,j;return a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(s=r.employee)!=null&&s.avatar?a.jsx("img",{src:r.employee.avatar,alt:(c=r.employee)==null?void 0:c.name,className:"h-full w-full object-cover"}):de(((S=r.employee)==null?void 0:S.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((x=r.employee)==null?void 0:x.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:((j=r.employee)==null?void 0:j.email)||""})]})]})}},{key:"transfer_type",label:e("Transfer Type"),render:(t,r)=>{const s=[];return r.from_branch_id&&r.to_branch_id&&s.push("Branch"),r.from_department_id&&r.to_department_id&&s.push("Department"),r.from_designation_id&&r.to_designation_id&&s.push("Designation"),s.join(", ")||"-"}},{key:"from_to",label:e("From → To"),render:(t,r)=>{var c,S,x,j,te,re,oe,se,ae,ie,ne,le;const s=[];return r.to_branch_id&&s.push(`${((c=r.from_branch)==null?void 0:c.name)||((S=r.fromBranch)==null?void 0:S.name)||"-"} → ${((x=r.to_branch)==null?void 0:x.name)||((j=r.toBranch)==null?void 0:j.name)||"-"}`),r.to_department_id&&s.push(`${((te=r.from_department)==null?void 0:te.name)||((re=r.fromDepartment)==null?void 0:re.name)||"-"} → ${((oe=r.to_department)==null?void 0:oe.name)||((se=r.toDepartment)==null?void 0:se.name)||"-"}`),r.to_designation_id&&s.push(`${((ae=r.from_designation)==null?void 0:ae.name)||((ie=r.fromDesignation)==null?void 0:ie.name)||"-"} → ${((ne=r.to_designation)==null?void 0:ne.name)||((le=r.toDesignation)==null?void 0:le.name)||"-"}`),s.length>0?a.jsx("div",{className:"space-y-1",children:s.map((Oe,Me)=>a.jsx("div",{className:"text-sm",children:Oe},Me))}):"-"}},{key:"transfer_date",label:e("Transfer Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"effective_date",label:e("Effective Date"),sortable:!0,render:t=>{var r;return t?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const r={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"documents",label:e("Documents"),render:(t,r)=>t&&t.trim()!==""?a.jsx("a",{href:ze(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:a.jsx(Ve,{className:"h-4 w-4"})}):"-"}],ke=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-transfers"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-transfers",condition:t=>t.status==="pending"},{label:e("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-employee-transfers",condition:t=>t.status==="pending"},{label:e("Reject"),icon:"XCircle",action:"reject",className:"text-red-500",requiredPermission:"reject-employee-transfers",condition:t=>t.status==="pending"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-transfers",condition:t=>t.status==="pending"}],Y=[{value:"_none_",label:e("All Employees"),disabled:!0},...(pe||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],O=[{value:"_none_",label:e("All Branches"),disabled:!0},...(me||[]).map(t=>({value:t.id.toString(),label:t.name}))],we=[{value:"_none_",label:e("All Departments"),disabled:!0},...(F||[]).map(t=>({value:t.id.toString(),label:t.name}))],Ae=[{value:"all",label:e("All Statuses")},{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}];return a.jsxs(Re,{title:e("Employee Transfers"),url:"/hr/transfers",actions:W,breadcrumbs:Ne,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(Je,{searchTerm:f,onSearchChange:q,onSearch:ye,filters:[{name:"employee_id",label:e("Employee"),type:"select",value:u,onChange:I,options:Y,searchable:!0},{name:"branch_id",label:e("Branch"),type:"select",value:h,onChange:$,options:O,searchable:!0},{name:"department_id",label:e("Department"),type:"select",value:_,onChange:V,options:we,searchable:!0},{name:"status",label:e("Status"),type:"select",value:d,onChange:z,options:Ae},{name:"date_from",label:e("Date From"),type:"date",value:g,onChange:L},{name:"date_to",label:e("Date To"),type:"date",value:b,onChange:U}],showFilters:ce,setShowFilters:H,hasActiveFilters:be,activeFilterCount:ve,onResetFilters:Ee,onApplyFilters:Q,currentPerPage:((Z=p.per_page)==null?void 0:Z.toString())||"10",onPerPageChange:t=>{m.get(route("hr.transfers.index"),{page:1,per_page:parseInt(t),search:f||void 0,employee_id:u||void 0,branch_id:h||void 0,department_id:_||void 0,status:d!=="all"?d:void 0,date_from:g||void 0,date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(He,{columns:Pe,actions:ke,data:(n==null?void 0:n.data)||[],from:(n==null?void 0:n.from)||1,onAction:xe,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:Se,permissions:B,entityPermissions:{view:"view-employee-transfers",create:"create-employee-transfers",edit:"edit-employee-transfers",delete:"delete-employee-transfers"}}),a.jsx(Ge,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:e("transfers"),onPageChange:t=>m.get(t)})]}),a.jsx(M,{isOpen:ue,onClose:()=>v(!1),onSubmit:De,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:Y.filter(t=>t.value!=="_none_"),searchable:!0},{name:"to_branch_id",type:"dependent-dropdown",dependentConfig:[{name:"to_branch_id",label:e("To Branch"),required:!0,options:O?O.filter(t=>t.value!=="_none_").map(t=>({value:t.value,label:t.label})):[]},{name:"to_department_id",label:e("To Department"),apiEndpoint:"/hr/transfers/get-department/{to_branch_id}",showCurrentValue:!0},{name:"to_designation_id",label:e("To Designation"),apiEndpoint:"/hr/transfers/get-designation/{to_department_id}",showCurrentValue:!0}]},{name:"transfer_date",label:e("Transfer Date"),type:"date",required:!0},{name:"effective_date",label:e("Effective Date"),type:"date",required:!0},{name:"reason",label:e("Reason"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,r,s)=>a.jsx(Le,{value:String(r[t.name]||""),onChange:c=>s(t.name,c),placeholder:e("Select document file...")})},...y==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")}]},{name:"notes",label:e("Notes"),type:"textarea"}]:[]],modalSize:"lg"},initialData:l?{...l,transfer_date:l.transfer_date?window.appSettings.formatDateTimeSimple(l.transfer_date,!1):l.transfer_date,effective_date:l.effective_date?window.appSettings.formatDateTimeSimple(l.effective_date,!1):l.effective_date}:null,title:e(y==="create"?"Add New Transfer":"Edit Transfer"),mode:y}),a.jsx(M,{isOpen:he,onClose:()=>E(!1),onSubmit:Ce,formConfig:{fields:[{name:"notes",label:e("Notes"),type:"textarea",placeholder:e("Add any notes about this approval (optional)")}],modalSize:"sm"},initialData:l,title:e("Approve Transfer"),mode:"edit"}),a.jsx(M,{isOpen:_e,onClose:()=>N(!1),onSubmit:Fe,formConfig:{fields:[{name:"notes",label:e("Rejection Reason"),type:"textarea",required:!0,placeholder:e("Please provide a reason for rejecting this transfer")}],modalSize:"sm"},initialData:l,title:e("Reject Transfer"),mode:"edit"}),a.jsx(Xe,{isOpen:fe,onClose:()=>T(!1),onConfirm:Te,itemName:`${((ee=l==null?void 0:l.employee)==null?void 0:ee.name)||""}`,entityName:"transfer"}),a.jsx(Ue,{open:!!P,onOpenChange:()=>J(null),children:P&&a.jsx(Ke,{transfer:P})})]})}export{$o as default}; diff --git a/public/build/assets/index-8TqNXIQR.js b/public/build/assets/index-DXDOWGjM.js similarity index 68% rename from public/build/assets/index-8TqNXIQR.js rename to public/build/assets/index-DXDOWGjM.js index 217bf9493..3b17b9933 100644 --- a/public/build/assets/index-8TqNXIQR.js +++ b/public/build/assets/index-DXDOWGjM.js @@ -1 +1 @@ -import{r as n,j as i}from"./ui-Z445SNHD.js";import{P as te}from"./page-template-BTxLyiDA.js";import{u as oe,c as se,x as C,P as ie,r as l,t as s}from"./app-CfhhiFAk.js";import{C as ae}from"./CrudTable-qPWooc10.js";import{C as pe}from"./CrudFormModal-DAR9q-oM.js";import{C as le}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ne}from"./pagination-D8A_HnL5.js";import{S as me}from"./search-and-filter-bar-6Pp-FsiR.js";import{I as de}from"./ImportModal-CxDgVhxL.js";import{F as ce}from"./file-down-Dd8zePUY.js";import{F as ue}from"./file-up-BGHgeTEG.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./pen-line-BrTss6NX.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./alert-DH0o7BP8.js";function eo(){var T;const{t:r}=oe(),{auth:w,payrollRuns:a,hasSampleFile:q,filters:p={},globalSettings:o}=se().props,v=(w==null?void 0:w.permissions)||[],[c,F]=n.useState(p.search||""),[m,j]=n.useState(p.status||"all"),[u,S]=n.useState(p.date_from||""),[f,k]=n.useState(p.date_to||""),[M,D]=n.useState(!1),[A,h]=n.useState(!1),[I,b]=n.useState(!1),[R,g]=n.useState(!1),[y,N]=n.useState(null),[_,E]=n.useState("create"),L=()=>c!==""||m!=="all"||u!==""||f!=="",U=()=>(c?1:0)+(m!=="all"?1:0)+(u?1:0)+(f?1:0),$=t=>{t.preventDefault(),O()},O=()=>{l.get(route("hr.payroll-runs.index"),{page:1,search:c||void 0,status:m!=="all"?m:void 0,date_from:u||void 0,date_to:f||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},G=t=>{const e=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";l.get(route("hr.payroll-runs.index"),{sort_field:t,sort_direction:e,page:1,search:c||void 0,status:m!=="all"?m:void 0,date_from:u||void 0,date_to:f||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Y=(t,e)=>{switch(N(e),t){case"view":l.get(route("hr.payroll-runs.show",e.id));break;case"edit":E("edit"),h(!0);break;case"delete":b(!0);break;case"process":B(e);break;case"generate-payslips":H(e);break}},V=()=>{N(null),E("create"),h(!0)},z=t=>{_==="create"?(o!=null&&o.is_demo||s.loading(r("Creating payroll run...")),l.post(route("hr.payroll-runs.store"),t,{onSuccess:e=>{h(!1),o!=null&&o.is_demo||s.dismiss(),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||s.dismiss(),typeof e=="string"?s.error(e):s.error(`Failed to create payroll run: ${Object.values(e).join(", ")}`)}})):_==="edit"&&(o!=null&&o.is_demo||s.loading(r("Updating payroll run...")),l.put(route("hr.payroll-runs.update",y.id),t,{onSuccess:e=>{h(!1),o!=null&&o.is_demo||s.dismiss(),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||s.dismiss(),typeof e=="string"?s.error(e):s.error(`Failed to update payroll run: ${Object.values(e).join(", ")}`)}}))},X=()=>{o!=null&&o.is_demo||s.loading(r("Deleting payroll run...")),l.delete(route("hr.payroll-runs.destroy",y.id),{onSuccess:t=>{b(!1),o!=null&&o.is_demo||s.dismiss(),t.props.flash.success?s.success(r(t.props.flash.success)):t.props.flash.error&&s.error(r(t.props.flash.error))},onError:t=>{o!=null&&o.is_demo||s.dismiss(),typeof t=="string"?s.error(t):s.error(`Failed to delete payroll run: ${Object.values(t).join(", ")}`)}})},B=t=>{o!=null&&o.is_demo||s.loading(r("Processing payroll...")),l.put(route("hr.payroll-runs.process",t.id),{},{onSuccess:e=>{o!=null&&o.is_demo||s.dismiss(),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||s.dismiss(),typeof e=="string"?s.error(e):s.error(`Failed to process payroll: ${Object.values(e).join(", ")}`)}})},H=t=>{o!=null&&o.is_demo||s.loading(r("Generating payslips...")),l.post(route("hr.payslips.bulk-generate"),{payroll_run_id:t.id},{onSuccess:e=>{o!=null&&o.is_demo||s.dismiss(),e.props.flash.success?(s.success(r(e.props.flash.success)),setTimeout(()=>{l.get(route("hr.payslips.index"))},1e3)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||s.dismiss(),typeof e=="string"?s.error(e):s.error("Failed to generate payslips")}})},W=()=>{F(""),j("all"),S(""),k(""),D(!1),l.get(route("hr.payroll-runs.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},J=async()=>{try{const t=await fetch(route("hr.payroll-runs.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!t.ok){const re=await t.json().catch(()=>({}));s.error(r(re.message||"Failed to export payroll runs"));return}const e=await t.blob(),x=window.URL.createObjectURL(e),d=document.createElement("a");d.href=x,d.download=`payroll_runs_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(d),d.click(),window.URL.revokeObjectURL(x),document.body.removeChild(d)}catch{s.error(r("Failed to export payroll runs"))}},P=[];C(v,"export-payroll-runs")&&P.push({label:r("Export"),icon:i.jsx(ce,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:J}),C(v,"import-payroll-runs")&&P.push({label:r("Import"),icon:i.jsx(ue,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>g(!0)}),C(v,"create-payroll-runs")&&P.push({label:r("Add Payroll Run"),icon:i.jsx(ie,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>V()});const K=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Payroll Management"),href:route("hr.payroll-runs.index")},{title:r("Payroll Runs")}],Q=[{key:"title",label:r("Title"),sortable:!0},{key:"pay_period",label:r("Pay Period"),render:(t,e)=>{var x,d;return i.jsxs("div",{className:"text-sm",children:[i.jsx("div",{children:((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(e.pay_period_start,!1))||new Date(e.pay_period_start).toLocaleDateString()}),i.jsxs("div",{className:"text-gray-500",children:["to ",((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(e.pay_period_end,!1))||new Date(e.pay_period_end).toLocaleDateString()]})]})}},{key:"pay_date",label:r("Pay Date"),sortable:!0,render:t=>{var e;return((e=window.appSettings)==null?void 0:e.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"employee_count",label:r("Employees"),render:t=>i.jsx("span",{className:"font-mono",children:t})},{key:"total_gross_pay",label:r("Gross Pay"),render:t=>{var e;return i.jsx("span",{className:"font-mono text-green-600",children:(e=window.appSettings)==null?void 0:e.formatCurrency(t)})}},{key:"total_net_pay",label:r("Net Pay"),render:t=>{var e;return i.jsx("span",{className:"font-mono text-blue-600",children:(e=window.appSettings)==null?void 0:e.formatCurrency(t)})}},{key:"status",label:r("Status"),render:t=>{const e={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",processing:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return i.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e[t]}`,children:r(t.charAt(0).toUpperCase()+t.slice(1))})}}],Z=[{label:r("View Details"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-payroll-runs"},{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-payroll-runs",condition:t=>t.status==="draft"},{label:r("Process"),icon:"Play",action:"process",className:"text-green-500",requiredPermission:"process-payroll-runs",condition:t=>t.status==="draft"},{label:r("Generate Payslips"),icon:"FileText",action:"generate-payslips",className:"text-purple-500",requiredPermission:"create-payslips",condition:t=>t.status==="processing"||t.status==="completed"},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-payroll-runs",condition:t=>t.status==="draft"}],ee=[{value:"all",label:r("All Statuses"),disabled:!0},{value:"draft",label:r("Draft")},{value:"processing",label:r("Processing")},{value:"completed",label:r("Completed")},{value:"cancelled",label:r("Cancelled")}];return i.jsxs(te,{title:r("Payroll Runs"),url:"/hr/payroll-runs",actions:P,breadcrumbs:K,noPadding:!0,children:[i.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:i.jsx(me,{searchTerm:c,onSearchChange:F,onSearch:$,filters:[{name:"status",label:r("Status"),type:"select",value:m,onChange:j,options:ee},{name:"date_from",label:r("Period From"),type:"date",value:u,onChange:S},{name:"date_to",label:r("Period To"),type:"date",value:f,onChange:k}],showFilters:M,setShowFilters:D,hasActiveFilters:L,activeFilterCount:U,onResetFilters:W,onApplyFilters:O,currentPerPage:((T=p.per_page)==null?void 0:T.toString())||"10",onPerPageChange:t=>{l.get(route("hr.payroll-runs.index"),{page:1,per_page:parseInt(t),search:c||void 0,status:m!=="all"?m:void 0,date_from:u||void 0,date_to:f||void 0},{preserveState:!0,preserveScroll:!0})}})}),i.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[i.jsx(ae,{columns:Q,actions:Z,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:Y,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:G,permissions:v,entityPermissions:{view:"view-payroll-runs",create:"create-payroll-runs",edit:"edit-payroll-runs",delete:"delete-payroll-runs"}}),i.jsx(ne,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("payroll runs"),onPageChange:t=>l.get(t)})]}),i.jsx(pe,{isOpen:A,onClose:()=>h(!1),onSubmit:z,formConfig:{fields:[{name:"title",label:r("Title"),type:"text",required:!0},{name:"pay_period_start",label:r("Pay Period Start"),type:"date",required:!0},{name:"pay_period_end",label:r("Pay Period End"),type:"date",required:!0},{name:"pay_date",label:r("Pay Date"),type:"date",required:!0},{name:"notes",label:r("Notes"),type:"textarea"}],modalSize:"lg"},initialData:y,title:r(_==="create"?"Add New Payroll Run":_==="edit"?"Edit Payroll Run":"View Payroll Run"),mode:_}),i.jsx(le,{isOpen:I,onClose:()=>b(!1),onConfirm:X,itemName:(y==null?void 0:y.title)||"",entityName:"payroll run"}),i.jsx(de,{isOpen:R,onClose:()=>g(!1),title:r("Import Payroll Runs from CSV/Excel"),importRoute:"hr.payroll-runs.import",parseRoute:"hr.payroll-runs.parse",sampleRoute:q?"hr.payroll-runs.download.template":void 0,importNotes:r("Ensure date formats are correct (YYYY-MM-DD)."),modalSize:"xl",databaseFields:[{key:"title",required:!0},{key:"pay_period_start",required:!0},{key:"pay_period_end",required:!0},{key:"pay_date",required:!0},{key:"notes"}]})]})}export{eo as default}; +import{r as n,j as i}from"./ui-Z445SNHD.js";import{P as te}from"./page-template-CLNVC8w_.js";import{u as oe,c as se,x as C,P as ie,r as l,t as s}from"./app-Dya84jp7.js";import{C as ae}from"./CrudTable-yqxtM6E_.js";import{C as pe}from"./CrudFormModal-CsuqSfb2.js";import{C as le}from"./CrudDeleteModal-D32N6I8y.js";import{P as ne}from"./pagination-4PUepASD.js";import{S as me}from"./search-and-filter-bar-DWH0yn_r.js";import{I as de}from"./ImportModal-s55JxI6I.js";import{F as ce}from"./file-down-DO17xCrw.js";import{F as ue}from"./file-up-mHt_z-hD.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./pen-line-D3y4U--J.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./alert-CyJVNPY9.js";function eo(){var T;const{t:r}=oe(),{auth:w,payrollRuns:a,hasSampleFile:q,filters:p={},globalSettings:o}=se().props,v=(w==null?void 0:w.permissions)||[],[c,F]=n.useState(p.search||""),[m,j]=n.useState(p.status||"all"),[u,S]=n.useState(p.date_from||""),[f,k]=n.useState(p.date_to||""),[M,D]=n.useState(!1),[A,h]=n.useState(!1),[I,b]=n.useState(!1),[R,g]=n.useState(!1),[y,N]=n.useState(null),[_,E]=n.useState("create"),L=()=>c!==""||m!=="all"||u!==""||f!=="",U=()=>(c?1:0)+(m!=="all"?1:0)+(u?1:0)+(f?1:0),$=t=>{t.preventDefault(),O()},O=()=>{l.get(route("hr.payroll-runs.index"),{page:1,search:c||void 0,status:m!=="all"?m:void 0,date_from:u||void 0,date_to:f||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},G=t=>{const e=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";l.get(route("hr.payroll-runs.index"),{sort_field:t,sort_direction:e,page:1,search:c||void 0,status:m!=="all"?m:void 0,date_from:u||void 0,date_to:f||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Y=(t,e)=>{switch(N(e),t){case"view":l.get(route("hr.payroll-runs.show",e.id));break;case"edit":E("edit"),h(!0);break;case"delete":b(!0);break;case"process":B(e);break;case"generate-payslips":H(e);break}},V=()=>{N(null),E("create"),h(!0)},z=t=>{_==="create"?(o!=null&&o.is_demo||s.loading(r("Creating payroll run...")),l.post(route("hr.payroll-runs.store"),t,{onSuccess:e=>{h(!1),o!=null&&o.is_demo||s.dismiss(),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||s.dismiss(),typeof e=="string"?s.error(e):s.error(`Failed to create payroll run: ${Object.values(e).join(", ")}`)}})):_==="edit"&&(o!=null&&o.is_demo||s.loading(r("Updating payroll run...")),l.put(route("hr.payroll-runs.update",y.id),t,{onSuccess:e=>{h(!1),o!=null&&o.is_demo||s.dismiss(),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||s.dismiss(),typeof e=="string"?s.error(e):s.error(`Failed to update payroll run: ${Object.values(e).join(", ")}`)}}))},X=()=>{o!=null&&o.is_demo||s.loading(r("Deleting payroll run...")),l.delete(route("hr.payroll-runs.destroy",y.id),{onSuccess:t=>{b(!1),o!=null&&o.is_demo||s.dismiss(),t.props.flash.success?s.success(r(t.props.flash.success)):t.props.flash.error&&s.error(r(t.props.flash.error))},onError:t=>{o!=null&&o.is_demo||s.dismiss(),typeof t=="string"?s.error(t):s.error(`Failed to delete payroll run: ${Object.values(t).join(", ")}`)}})},B=t=>{o!=null&&o.is_demo||s.loading(r("Processing payroll...")),l.put(route("hr.payroll-runs.process",t.id),{},{onSuccess:e=>{o!=null&&o.is_demo||s.dismiss(),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||s.dismiss(),typeof e=="string"?s.error(e):s.error(`Failed to process payroll: ${Object.values(e).join(", ")}`)}})},H=t=>{o!=null&&o.is_demo||s.loading(r("Generating payslips...")),l.post(route("hr.payslips.bulk-generate"),{payroll_run_id:t.id},{onSuccess:e=>{o!=null&&o.is_demo||s.dismiss(),e.props.flash.success?(s.success(r(e.props.flash.success)),setTimeout(()=>{l.get(route("hr.payslips.index"))},1e3)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||s.dismiss(),typeof e=="string"?s.error(e):s.error("Failed to generate payslips")}})},W=()=>{F(""),j("all"),S(""),k(""),D(!1),l.get(route("hr.payroll-runs.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},J=async()=>{try{const t=await fetch(route("hr.payroll-runs.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!t.ok){const re=await t.json().catch(()=>({}));s.error(r(re.message||"Failed to export payroll runs"));return}const e=await t.blob(),x=window.URL.createObjectURL(e),d=document.createElement("a");d.href=x,d.download=`payroll_runs_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(d),d.click(),window.URL.revokeObjectURL(x),document.body.removeChild(d)}catch{s.error(r("Failed to export payroll runs"))}},P=[];C(v,"export-payroll-runs")&&P.push({label:r("Export"),icon:i.jsx(ce,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:J}),C(v,"import-payroll-runs")&&P.push({label:r("Import"),icon:i.jsx(ue,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>g(!0)}),C(v,"create-payroll-runs")&&P.push({label:r("Add Payroll Run"),icon:i.jsx(ie,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>V()});const K=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Payroll Management"),href:route("hr.payroll-runs.index")},{title:r("Payroll Runs")}],Q=[{key:"title",label:r("Title"),sortable:!0},{key:"pay_period",label:r("Pay Period"),render:(t,e)=>{var x,d;return i.jsxs("div",{className:"text-sm",children:[i.jsx("div",{children:((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(e.pay_period_start,!1))||new Date(e.pay_period_start).toLocaleDateString()}),i.jsxs("div",{className:"text-gray-500",children:["to ",((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(e.pay_period_end,!1))||new Date(e.pay_period_end).toLocaleDateString()]})]})}},{key:"pay_date",label:r("Pay Date"),sortable:!0,render:t=>{var e;return((e=window.appSettings)==null?void 0:e.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"employee_count",label:r("Employees"),render:t=>i.jsx("span",{className:"font-mono",children:t})},{key:"total_gross_pay",label:r("Gross Pay"),render:t=>{var e;return i.jsx("span",{className:"font-mono text-green-600",children:(e=window.appSettings)==null?void 0:e.formatCurrency(t)})}},{key:"total_net_pay",label:r("Net Pay"),render:t=>{var e;return i.jsx("span",{className:"font-mono text-blue-600",children:(e=window.appSettings)==null?void 0:e.formatCurrency(t)})}},{key:"status",label:r("Status"),render:t=>{const e={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",processing:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return i.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${e[t]}`,children:r(t.charAt(0).toUpperCase()+t.slice(1))})}}],Z=[{label:r("View Details"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-payroll-runs"},{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-payroll-runs",condition:t=>t.status==="draft"},{label:r("Process"),icon:"Play",action:"process",className:"text-green-500",requiredPermission:"process-payroll-runs",condition:t=>t.status==="draft"},{label:r("Generate Payslips"),icon:"FileText",action:"generate-payslips",className:"text-purple-500",requiredPermission:"create-payslips",condition:t=>t.status==="processing"||t.status==="completed"},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-payroll-runs",condition:t=>t.status==="draft"}],ee=[{value:"all",label:r("All Statuses"),disabled:!0},{value:"draft",label:r("Draft")},{value:"processing",label:r("Processing")},{value:"completed",label:r("Completed")},{value:"cancelled",label:r("Cancelled")}];return i.jsxs(te,{title:r("Payroll Runs"),url:"/hr/payroll-runs",actions:P,breadcrumbs:K,noPadding:!0,children:[i.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:i.jsx(me,{searchTerm:c,onSearchChange:F,onSearch:$,filters:[{name:"status",label:r("Status"),type:"select",value:m,onChange:j,options:ee},{name:"date_from",label:r("Period From"),type:"date",value:u,onChange:S},{name:"date_to",label:r("Period To"),type:"date",value:f,onChange:k}],showFilters:M,setShowFilters:D,hasActiveFilters:L,activeFilterCount:U,onResetFilters:W,onApplyFilters:O,currentPerPage:((T=p.per_page)==null?void 0:T.toString())||"10",onPerPageChange:t=>{l.get(route("hr.payroll-runs.index"),{page:1,per_page:parseInt(t),search:c||void 0,status:m!=="all"?m:void 0,date_from:u||void 0,date_to:f||void 0},{preserveState:!0,preserveScroll:!0})}})}),i.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[i.jsx(ae,{columns:Q,actions:Z,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:Y,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:G,permissions:v,entityPermissions:{view:"view-payroll-runs",create:"create-payroll-runs",edit:"edit-payroll-runs",delete:"delete-payroll-runs"}}),i.jsx(ne,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("payroll runs"),onPageChange:t=>l.get(t)})]}),i.jsx(pe,{isOpen:A,onClose:()=>h(!1),onSubmit:z,formConfig:{fields:[{name:"title",label:r("Title"),type:"text",required:!0},{name:"pay_period_start",label:r("Pay Period Start"),type:"date",required:!0},{name:"pay_period_end",label:r("Pay Period End"),type:"date",required:!0},{name:"pay_date",label:r("Pay Date"),type:"date",required:!0},{name:"notes",label:r("Notes"),type:"textarea"}],modalSize:"lg"},initialData:y,title:r(_==="create"?"Add New Payroll Run":_==="edit"?"Edit Payroll Run":"View Payroll Run"),mode:_}),i.jsx(le,{isOpen:I,onClose:()=>b(!1),onConfirm:X,itemName:(y==null?void 0:y.title)||"",entityName:"payroll run"}),i.jsx(de,{isOpen:R,onClose:()=>g(!1),title:r("Import Payroll Runs from CSV/Excel"),importRoute:"hr.payroll-runs.import",parseRoute:"hr.payroll-runs.parse",sampleRoute:q?"hr.payroll-runs.download.template":void 0,importNotes:r("Ensure date formats are correct (YYYY-MM-DD)."),modalSize:"xl",databaseFields:[{key:"title",required:!0},{key:"pay_period_start",required:!0},{key:"pay_period_end",required:!0},{key:"pay_date",required:!0},{key:"notes"}]})]})}export{eo as default}; diff --git a/public/build/assets/index-CGuthwIf.js b/public/build/assets/index-DYnsaMnJ.js similarity index 93% rename from public/build/assets/index-CGuthwIf.js rename to public/build/assets/index-DYnsaMnJ.js index 153874ea0..baae84bcf 100644 --- a/public/build/assets/index-CGuthwIf.js +++ b/public/build/assets/index-DYnsaMnJ.js @@ -1 +1 @@ -import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as ce}from"./page-template-BTxLyiDA.js";import{u as ne,c as oe,x as O,L as v,I as A,o as m,S as xe,X as me,r as N,t as i}from"./app-CfhhiFAk.js";import{C as pe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as he}from"./pagination-D8A_HnL5.js";import{T as ue}from"./textarea-kpRjGGLz.js";import{S as w,a as S,b as C,c as F,d as n}from"./select-BrY9osYp.js";import{T as K}from"./trending-up-Bi4f72Tj.js";import{T as X}from"./trending-down-DeoG-P9A.js";import{a as ge,C as ye}from"./chevron-up-DepFp6b6.js";import{S as G}from"./square-pen-bMHyT06o.js";import{L as J}from"./lock-By6rMOj7.js";import{T as Q}from"./trash-2-C1NR_7Ss.js";import{D as W}from"./dollar-sign-DYXFWWsE.js";import{P as fe}from"./percent-CBKzOw5k.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function os(){const{t:a}=ne(),{auth:E,salaryComponents:l,filters:p={},globalSettings:t}=oe().props,P=(E==null?void 0:E.permissions)||[],[b,U]=x.useState(p.search||""),[g,V]=x.useState(p.type||"all"),[y,z]=x.useState(p.calculation_type||"all"),[f,B]=x.useState(p.status||"all"),[Y,$]=x.useState(!1),[T,q]=x.useState(null),[_,L]=x.useState("create"),[M,Z]=x.useState(new Set),[c,h]=x.useState({name:"",description:"",type:"earning",calculation_type:"fixed",default_amount:"",percentage_of_basic:"",is_taxable:!0,is_mandatory:!1,status:"active"}),[d,D]=x.useState({}),I=()=>{h({name:"",description:"",type:"earning",calculation_type:"fixed",default_amount:"",percentage_of_basic:"",is_taxable:!0,is_mandatory:!1,status:"active"}),D({}),L("create"),q(null)},ee=s=>{h({name:s.name||"",description:s.description||"",type:s.type||"earning",calculation_type:s.calculation_type||"fixed",default_amount:s.default_amount||"",percentage_of_basic:s.percentage_of_basic||"",is_taxable:s.is_taxable??!0,is_mandatory:s.is_mandatory??!1,status:s.status||"active"}),L("edit"),q(s),D({})},R=s=>{s.preventDefault(),se()},se=()=>{N.get(route("hr.salary-components.index"),{page:1,search:b||void 0,type:g!=="all"?g:void 0,calculation_type:y!=="all"?y:void 0,status:f!=="all"?f:void 0,per_page:p.per_page||10},{preserveState:!0,preserveScroll:!0})},ae=()=>{U(""),V("all"),z("all"),B("all"),N.get(route("hr.salary-components.index"),{page:1,per_page:p.per_page||10},{preserveState:!0,preserveScroll:!0})},k=(s,r)=>{switch(q(r),s){case"edit":ee(r),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":$(!0);break;case"toggle-status":ie(r);break}},te=s=>{s.preventDefault(),D({}),_==="create"?(t!=null&&t.is_demo||i.loading(a("Creating salary component...")),N.post(route("hr.salary-components.store"),c,{onSuccess:r=>{t!=null&&t.is_demo||i.dismiss(),r.props.flash.success?(i.success(a(r.props.flash.success)),I()):r.props.flash.error&&i.error(a(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||i.dismiss(),D(r),typeof r=="string"?i.error(r):i.error(a("Please check the form for errors"))}})):_==="edit"&&(t!=null&&t.is_demo||i.loading(a("Updating salary component...")),N.put(route("hr.salary-components.update",T.id),c,{onSuccess:r=>{t!=null&&t.is_demo||i.dismiss(),r.props.flash.success?(i.success(a(r.props.flash.success)),I()):r.props.flash.error&&i.error(a(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||i.dismiss(),D(r),typeof r=="string"?i.error(r):i.error(a("Please check the form for errors"))}}))},re=()=>{t!=null&&t.is_demo||i.loading(a("Deleting salary component...")),N.delete(route("hr.salary-components.destroy",T.id),{onSuccess:s=>{$(!1),t!=null&&t.is_demo||i.dismiss(),s.props.flash.success?i.success(a(s.props.flash.success)):s.props.flash.error&&i.error(a(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to delete salary component: ${Object.values(s).join(", ")}`)}})},ie=s=>{const r=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||i.loading(`${a(r==="active"?"Activating":"Deactivating")} salary component...`),N.put(route("hr.salary-components.toggle-status",s.id),{},{onSuccess:j=>{t!=null&&t.is_demo||i.dismiss(),j.props.flash.success?i.success(a(j.props.flash.success)):j.props.flash.error&&i.error(a(j.props.flash.error))},onError:j=>{t!=null&&t.is_demo||i.dismiss(),typeof j=="string"?i.error(j):i.error(`Failed to update salary component status: ${Object.values(j).join(", ")}`)}})},le=s=>{const r=new Set(M);r.has(s)?r.delete(s):r.add(s),Z(r)},de=[{title:a("Dashboard"),href:route("dashboard")},{title:a("Payroll Management"),href:route("hr.salary-components.index")},{title:a("Salary Components")}],u=O(P,"create-salary-components"),o=O(P,"edit-salary-components"),H=O(P,"delete-salary-components");return e.jsxs(ce,{title:a("Salary Components"),description:"",url:"/hr/salary-components",breadcrumbs:de,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:a(_==="create"?"Add New Component":"Edit Component")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:a(_==="create"?"Fill in the details to create a new salary component":"Update the component details below")})]}),e.jsxs("form",{onSubmit:te,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(v,{required:!0,htmlFor:"name",className:"required",children:a("Component Name")}),e.jsx(A,{id:"name",type:"text",value:c.name,onChange:s=>h({...c,name:s.target.value}),placeholder:a("e.g., Basic Salary, HRA, Tax"),className:d.name?"border-red-500":"",disabled:!u&&!o,required:!0}),d.name&&e.jsx("p",{className:"text-sm text-red-500",children:d.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(v,{htmlFor:"description",children:a("Description")}),e.jsx(ue,{id:"description",value:c.description,onChange:s=>h({...c,description:s.target.value}),placeholder:a("Brief description of the component"),rows:3,className:d.description?"border-red-500":"",disabled:!u&&!o}),d.description&&e.jsx("p",{className:"text-sm text-red-500",children:d.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(v,{required:!0,htmlFor:"type",className:"required",children:a("Type")}),e.jsxs(w,{value:c.type,onValueChange:s=>h({...c,type:s}),disabled:!u&&!o,children:[e.jsx(S,{className:d.type?"border-red-500":"",children:e.jsx(C,{placeholder:a("Select type")})}),e.jsxs(F,{children:[e.jsx(n,{value:"earning",children:a("Earning")}),e.jsx(n,{value:"deduction",children:a("Deduction")})]})]}),d.type&&e.jsx("p",{className:"text-sm text-red-500",children:d.type})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(v,{required:!0,htmlFor:"calculation_type",className:"required",children:[a("Calculation Type")," "]}),e.jsxs(w,{value:c.calculation_type,onValueChange:s=>h({...c,calculation_type:s}),disabled:!u&&!o,children:[e.jsx(S,{className:d.calculation_type?"border-red-500":"",children:e.jsx(C,{placeholder:a("Select calculation type")})}),e.jsxs(F,{children:[e.jsx(n,{value:"fixed",children:a("Fixed Amount")}),e.jsx(n,{value:"percentage",children:a("Percentage of Basic")})]})]}),d.calculation_type&&e.jsx("p",{className:"text-sm text-red-500",children:d.calculation_type})]}),c.calculation_type==="fixed"?e.jsxs("div",{className:"space-y-2",children:[e.jsxs(v,{required:!0,htmlFor:"default_amount",className:"required",children:[a("Fixed Amount")," "]}),e.jsx(A,{id:"default_amount",type:"number",step:"0.01",min:"0",value:c.default_amount,onChange:s=>h({...c,default_amount:s.target.value}),placeholder:"0.00",className:d.default_amount?"border-red-500":"",disabled:!u&&!o,required:!0}),d.default_amount&&e.jsx("p",{className:"text-sm text-red-500",children:d.default_amount})]}):e.jsxs("div",{className:"space-y-2",children:[e.jsx(v,{htmlFor:"percentage_of_basic",className:"required",children:a("Percentage of Basic")}),e.jsx(A,{id:"percentage_of_basic",type:"number",step:"0.01",min:"0",max:"100",value:c.percentage_of_basic,onChange:s=>h({...c,percentage_of_basic:s.target.value}),placeholder:"0.00",className:d.percentage_of_basic?"border-red-500":"",disabled:!u&&!o}),d.percentage_of_basic&&e.jsx("p",{className:"text-sm text-red-500",children:d.percentage_of_basic})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(v,{required:!0,htmlFor:"status",children:[a("Status")," "]}),e.jsxs(w,{value:c.status,onValueChange:s=>h({...c,status:s}),disabled:!u&&!o,children:[e.jsx(S,{className:d.status?"border-red-500":"",children:e.jsx(C,{placeholder:a("Select status")})}),e.jsxs(F,{children:[e.jsx(n,{value:"active",children:a("Active")}),e.jsx(n,{value:"inactive",children:a("Inactive")})]})]})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(u||o)&&e.jsx(m,{type:"submit",className:"flex-1",children:a(_==="create"?"Add Component":"Update Component")}),_==="edit"&&e.jsx(m,{type:"button",variant:"outline",onClick:I,children:a("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(xe,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(A,{type:"text",placeholder:a("Search components..."),value:b,onChange:s=>U(s.target.value),onKeyDown:s=>s.key==="Enter"&&R(s),className:"pl-10"})]}),e.jsx(m,{onClick:R,variant:"default",children:a("Search")}),(b||g!=="all"||y!=="all"||f!=="all")&&e.jsxs(m,{onClick:ae,variant:"outline",children:[e.jsx(me,{className:"h-4 w-4 mr-2"}),a("Reset")]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:[e.jsxs(w,{value:g,onValueChange:V,children:[e.jsx(S,{children:e.jsx(C,{placeholder:a("All Types")})}),e.jsxs(F,{children:[e.jsx(n,{value:"all",children:a("All Types")}),e.jsx(n,{value:"earning",children:a("Earning")}),e.jsx(n,{value:"deduction",children:a("Deduction")})]})]}),e.jsxs(w,{value:y,onValueChange:z,children:[e.jsx(S,{children:e.jsx(C,{placeholder:a("All Calculations")})}),e.jsxs(F,{children:[e.jsx(n,{value:"all",children:a("All Calculations")}),e.jsx(n,{value:"fixed",children:a("Fixed Amount")}),e.jsx(n,{value:"percentage",children:a("Percentage")})]})]}),e.jsxs(w,{value:f,onValueChange:B,children:[e.jsx(S,{children:e.jsx(C,{placeholder:a("All Statuses")})}),e.jsxs(F,{children:[e.jsx(n,{value:"all",children:a("All Statuses")}),e.jsx(n,{value:"active",children:a("Active")}),e.jsx(n,{value:"inactive",children:a("Inactive")})]})]})]})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((l==null?void 0:l.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:a("Salary Components")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:a("Manage your payroll components and their calculation methods")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Component")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Type")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Amount")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((l==null?void 0:l.data)||[]).map(s=>{var r;return e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:`flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center ${s.type==="earning"?"bg-green-100 text-green-600 dark:bg-green-900/30 dark:text-green-400":"bg-red-100 text-red-600 dark:bg-red-900/30 dark:text-red-400"}`,children:s.type==="earning"?e.jsx(K,{className:"h-5 w-5"}):e.jsx(X,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:M.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>le(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:M.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(ge,{className:"h-3 w-3 mr-1"}),a("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(ye,{className:"h-3 w-3 mr-1"}),a("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.type==="earning"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.type==="earning"?a("Earning"):a("Deduction")})}),e.jsxs("td",{className:"px-3 py-4",children:[e.jsx("div",{className:"text-sm font-semibold text-gray-900 dark:text-white font-mono",children:s.calculation_type==="fixed"?(r=window.appSettings)==null?void 0:r.formatCurrency(s.default_amount):`${s.percentage_of_basic}%`}),e.jsx("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:s.calculation_type==="fixed"?a("Fixed amount"):a("Of basic salary")})]}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?a("Active"):a("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[o&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("edit",s),className:"h-8 w-8 p-0 text-amber-500",title:a("Edit Component"),children:e.jsx(G,{className:"h-4 w-4"})}),o&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?a("Deactivate"):a("Activate"),children:e.jsx(J,{className:"h-4 w-4"})}),H&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("delete",s),className:"h-8 w-8 p-0 text-red-500",title:a("Delete Component"),children:e.jsx(Q,{className:"h-4 w-4"})})]})})]},s.id)})})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((l==null?void 0:l.data)||[]).map(s=>{var r;return e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:`flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center ${s.type==="earning"?"bg-green-100 text-green-600 dark:bg-green-900/30 dark:text-green-400":"bg-red-100 text-red-600 dark:bg-red-900/30 dark:text-red-400"}`,children:s.type==="earning"?e.jsx(K,{className:"h-5 w-5"}):e.jsx(X,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[o&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(G,{className:"h-4 w-4"})}),o&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(J,{className:"h-4 w-4"})}),H&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(Q,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:a("Type & Calculation")}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.type==="earning"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.type==="earning"?a("Earning"):a("Deduction")}),e.jsx("span",{className:`inline-flex items-center text-xs ${s.calculation_type==="fixed"?"text-blue-600 dark:text-blue-400":"text-purple-600 dark:text-purple-400"}`,children:s.calculation_type==="fixed"?e.jsxs(e.Fragment,{children:[e.jsx(W,{className:"h-3 w-3 mr-1"}),a("Fixed")]}):e.jsxs(e.Fragment,{children:[e.jsx(fe,{className:"h-3 w-3 mr-1"}),a("%")]})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:a("Amount")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-white font-mono",children:s.calculation_type==="fixed"?(r=window.appSettings)==null?void 0:r.formatCurrency(s.default_amount):`${s.percentage_of_basic}%`})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:a("Properties")}),e.jsxs("div",{className:"flex flex-wrap gap-1",children:[s.is_taxable&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset bg-yellow-50 text-yellow-700 ring-yellow-600/20",children:a("Taxable")}),s.is_mandatory&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset bg-orange-50 text-orange-700 ring-orange-600/20",children:a("Mandatory")}),!s.is_taxable&&!s.is_mandatory&&e.jsx("span",{className:"text-xs text-gray-400 dark:text-gray-500",children:a("Optional")})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:a("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?a("Active"):a("Inactive")})]})]})]},s.id)})}),(l==null?void 0:l.total)>((l==null?void 0:l.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(he,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:a("components"),onPageChange:s=>{const r=new URL(s).searchParams.get("page");N.get(route("hr.salary-components.index"),{page:r,per_page:p.per_page||10,search:b||void 0,type:g!=="all"?g:void 0,calculation_type:y!=="all"?y:void 0,status:f!=="all"?f:void 0,sort_field:p.sort_field||void 0,sort_direction:p.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(W,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:a("No salary components found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:a(b||g!=="all"||y!=="all"||f!=="all"?"No components match your search criteria. Try adjusting your filters.":"Create salary components to define earnings and deductions for your payroll system.")}),!b&&g==="all"&&y==="all"&&f==="all"&&u&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:a("Use the form on the left to add your first component.")})]})})]})]}),e.jsx(pe,{isOpen:Y,onClose:()=>$(!1),onConfirm:re,itemName:(T==null?void 0:T.name)||"",entityName:"salary component"})]})}export{os as default}; +import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as ce}from"./page-template-CLNVC8w_.js";import{u as ne,c as oe,x as O,L as v,I as A,o as m,S as xe,X as me,r as N,t as i}from"./app-Dya84jp7.js";import{C as pe}from"./CrudDeleteModal-D32N6I8y.js";import{P as he}from"./pagination-4PUepASD.js";import{T as ue}from"./textarea-yeg8ONhy.js";import{S as w,a as S,b as C,c as F,d as n}from"./select-CHkpLxhL.js";import{T as K}from"./trending-up-BT453ptk.js";import{T as X}from"./trending-down-DmDmdusz.js";import{a as ge,C as ye}from"./chevron-up-DHaGktre.js";import{S as G}from"./square-pen-CzdhbxyN.js";import{L as J}from"./lock-DaHvMEII.js";import{T as Q}from"./trash-2-BeirBLIk.js";import{D as W}from"./dollar-sign-DH2Tc178.js";import{P as fe}from"./percent-z25PPWNk.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function os(){const{t:a}=ne(),{auth:E,salaryComponents:l,filters:p={},globalSettings:t}=oe().props,P=(E==null?void 0:E.permissions)||[],[b,U]=x.useState(p.search||""),[g,V]=x.useState(p.type||"all"),[y,z]=x.useState(p.calculation_type||"all"),[f,B]=x.useState(p.status||"all"),[Y,$]=x.useState(!1),[T,q]=x.useState(null),[_,L]=x.useState("create"),[M,Z]=x.useState(new Set),[c,h]=x.useState({name:"",description:"",type:"earning",calculation_type:"fixed",default_amount:"",percentage_of_basic:"",is_taxable:!0,is_mandatory:!1,status:"active"}),[d,D]=x.useState({}),I=()=>{h({name:"",description:"",type:"earning",calculation_type:"fixed",default_amount:"",percentage_of_basic:"",is_taxable:!0,is_mandatory:!1,status:"active"}),D({}),L("create"),q(null)},ee=s=>{h({name:s.name||"",description:s.description||"",type:s.type||"earning",calculation_type:s.calculation_type||"fixed",default_amount:s.default_amount||"",percentage_of_basic:s.percentage_of_basic||"",is_taxable:s.is_taxable??!0,is_mandatory:s.is_mandatory??!1,status:s.status||"active"}),L("edit"),q(s),D({})},R=s=>{s.preventDefault(),se()},se=()=>{N.get(route("hr.salary-components.index"),{page:1,search:b||void 0,type:g!=="all"?g:void 0,calculation_type:y!=="all"?y:void 0,status:f!=="all"?f:void 0,per_page:p.per_page||10},{preserveState:!0,preserveScroll:!0})},ae=()=>{U(""),V("all"),z("all"),B("all"),N.get(route("hr.salary-components.index"),{page:1,per_page:p.per_page||10},{preserveState:!0,preserveScroll:!0})},k=(s,r)=>{switch(q(r),s){case"edit":ee(r),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":$(!0);break;case"toggle-status":ie(r);break}},te=s=>{s.preventDefault(),D({}),_==="create"?(t!=null&&t.is_demo||i.loading(a("Creating salary component...")),N.post(route("hr.salary-components.store"),c,{onSuccess:r=>{t!=null&&t.is_demo||i.dismiss(),r.props.flash.success?(i.success(a(r.props.flash.success)),I()):r.props.flash.error&&i.error(a(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||i.dismiss(),D(r),typeof r=="string"?i.error(r):i.error(a("Please check the form for errors"))}})):_==="edit"&&(t!=null&&t.is_demo||i.loading(a("Updating salary component...")),N.put(route("hr.salary-components.update",T.id),c,{onSuccess:r=>{t!=null&&t.is_demo||i.dismiss(),r.props.flash.success?(i.success(a(r.props.flash.success)),I()):r.props.flash.error&&i.error(a(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||i.dismiss(),D(r),typeof r=="string"?i.error(r):i.error(a("Please check the form for errors"))}}))},re=()=>{t!=null&&t.is_demo||i.loading(a("Deleting salary component...")),N.delete(route("hr.salary-components.destroy",T.id),{onSuccess:s=>{$(!1),t!=null&&t.is_demo||i.dismiss(),s.props.flash.success?i.success(a(s.props.flash.success)):s.props.flash.error&&i.error(a(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||i.dismiss(),typeof s=="string"?i.error(s):i.error(`Failed to delete salary component: ${Object.values(s).join(", ")}`)}})},ie=s=>{const r=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||i.loading(`${a(r==="active"?"Activating":"Deactivating")} salary component...`),N.put(route("hr.salary-components.toggle-status",s.id),{},{onSuccess:j=>{t!=null&&t.is_demo||i.dismiss(),j.props.flash.success?i.success(a(j.props.flash.success)):j.props.flash.error&&i.error(a(j.props.flash.error))},onError:j=>{t!=null&&t.is_demo||i.dismiss(),typeof j=="string"?i.error(j):i.error(`Failed to update salary component status: ${Object.values(j).join(", ")}`)}})},le=s=>{const r=new Set(M);r.has(s)?r.delete(s):r.add(s),Z(r)},de=[{title:a("Dashboard"),href:route("dashboard")},{title:a("Payroll Management"),href:route("hr.salary-components.index")},{title:a("Salary Components")}],u=O(P,"create-salary-components"),o=O(P,"edit-salary-components"),H=O(P,"delete-salary-components");return e.jsxs(ce,{title:a("Salary Components"),description:"",url:"/hr/salary-components",breadcrumbs:de,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:a(_==="create"?"Add New Component":"Edit Component")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:a(_==="create"?"Fill in the details to create a new salary component":"Update the component details below")})]}),e.jsxs("form",{onSubmit:te,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(v,{required:!0,htmlFor:"name",className:"required",children:a("Component Name")}),e.jsx(A,{id:"name",type:"text",value:c.name,onChange:s=>h({...c,name:s.target.value}),placeholder:a("e.g., Basic Salary, HRA, Tax"),className:d.name?"border-red-500":"",disabled:!u&&!o,required:!0}),d.name&&e.jsx("p",{className:"text-sm text-red-500",children:d.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(v,{htmlFor:"description",children:a("Description")}),e.jsx(ue,{id:"description",value:c.description,onChange:s=>h({...c,description:s.target.value}),placeholder:a("Brief description of the component"),rows:3,className:d.description?"border-red-500":"",disabled:!u&&!o}),d.description&&e.jsx("p",{className:"text-sm text-red-500",children:d.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(v,{required:!0,htmlFor:"type",className:"required",children:a("Type")}),e.jsxs(w,{value:c.type,onValueChange:s=>h({...c,type:s}),disabled:!u&&!o,children:[e.jsx(S,{className:d.type?"border-red-500":"",children:e.jsx(C,{placeholder:a("Select type")})}),e.jsxs(F,{children:[e.jsx(n,{value:"earning",children:a("Earning")}),e.jsx(n,{value:"deduction",children:a("Deduction")})]})]}),d.type&&e.jsx("p",{className:"text-sm text-red-500",children:d.type})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(v,{required:!0,htmlFor:"calculation_type",className:"required",children:[a("Calculation Type")," "]}),e.jsxs(w,{value:c.calculation_type,onValueChange:s=>h({...c,calculation_type:s}),disabled:!u&&!o,children:[e.jsx(S,{className:d.calculation_type?"border-red-500":"",children:e.jsx(C,{placeholder:a("Select calculation type")})}),e.jsxs(F,{children:[e.jsx(n,{value:"fixed",children:a("Fixed Amount")}),e.jsx(n,{value:"percentage",children:a("Percentage of Basic")})]})]}),d.calculation_type&&e.jsx("p",{className:"text-sm text-red-500",children:d.calculation_type})]}),c.calculation_type==="fixed"?e.jsxs("div",{className:"space-y-2",children:[e.jsxs(v,{required:!0,htmlFor:"default_amount",className:"required",children:[a("Fixed Amount")," "]}),e.jsx(A,{id:"default_amount",type:"number",step:"0.01",min:"0",value:c.default_amount,onChange:s=>h({...c,default_amount:s.target.value}),placeholder:"0.00",className:d.default_amount?"border-red-500":"",disabled:!u&&!o,required:!0}),d.default_amount&&e.jsx("p",{className:"text-sm text-red-500",children:d.default_amount})]}):e.jsxs("div",{className:"space-y-2",children:[e.jsx(v,{htmlFor:"percentage_of_basic",className:"required",children:a("Percentage of Basic")}),e.jsx(A,{id:"percentage_of_basic",type:"number",step:"0.01",min:"0",max:"100",value:c.percentage_of_basic,onChange:s=>h({...c,percentage_of_basic:s.target.value}),placeholder:"0.00",className:d.percentage_of_basic?"border-red-500":"",disabled:!u&&!o}),d.percentage_of_basic&&e.jsx("p",{className:"text-sm text-red-500",children:d.percentage_of_basic})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(v,{required:!0,htmlFor:"status",children:[a("Status")," "]}),e.jsxs(w,{value:c.status,onValueChange:s=>h({...c,status:s}),disabled:!u&&!o,children:[e.jsx(S,{className:d.status?"border-red-500":"",children:e.jsx(C,{placeholder:a("Select status")})}),e.jsxs(F,{children:[e.jsx(n,{value:"active",children:a("Active")}),e.jsx(n,{value:"inactive",children:a("Inactive")})]})]})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(u||o)&&e.jsx(m,{type:"submit",className:"flex-1",children:a(_==="create"?"Add Component":"Update Component")}),_==="edit"&&e.jsx(m,{type:"button",variant:"outline",onClick:I,children:a("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(xe,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(A,{type:"text",placeholder:a("Search components..."),value:b,onChange:s=>U(s.target.value),onKeyDown:s=>s.key==="Enter"&&R(s),className:"pl-10"})]}),e.jsx(m,{onClick:R,variant:"default",children:a("Search")}),(b||g!=="all"||y!=="all"||f!=="all")&&e.jsxs(m,{onClick:ae,variant:"outline",children:[e.jsx(me,{className:"h-4 w-4 mr-2"}),a("Reset")]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:[e.jsxs(w,{value:g,onValueChange:V,children:[e.jsx(S,{children:e.jsx(C,{placeholder:a("All Types")})}),e.jsxs(F,{children:[e.jsx(n,{value:"all",children:a("All Types")}),e.jsx(n,{value:"earning",children:a("Earning")}),e.jsx(n,{value:"deduction",children:a("Deduction")})]})]}),e.jsxs(w,{value:y,onValueChange:z,children:[e.jsx(S,{children:e.jsx(C,{placeholder:a("All Calculations")})}),e.jsxs(F,{children:[e.jsx(n,{value:"all",children:a("All Calculations")}),e.jsx(n,{value:"fixed",children:a("Fixed Amount")}),e.jsx(n,{value:"percentage",children:a("Percentage")})]})]}),e.jsxs(w,{value:f,onValueChange:B,children:[e.jsx(S,{children:e.jsx(C,{placeholder:a("All Statuses")})}),e.jsxs(F,{children:[e.jsx(n,{value:"all",children:a("All Statuses")}),e.jsx(n,{value:"active",children:a("Active")}),e.jsx(n,{value:"inactive",children:a("Inactive")})]})]})]})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((l==null?void 0:l.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:a("Salary Components")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:a("Manage your payroll components and their calculation methods")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Component")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Type")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Amount")}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:a("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((l==null?void 0:l.data)||[]).map(s=>{var r;return e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:`flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center ${s.type==="earning"?"bg-green-100 text-green-600 dark:bg-green-900/30 dark:text-green-400":"bg-red-100 text-red-600 dark:bg-red-900/30 dark:text-red-400"}`,children:s.type==="earning"?e.jsx(K,{className:"h-5 w-5"}):e.jsx(X,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:M.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>le(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:M.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(ge,{className:"h-3 w-3 mr-1"}),a("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(ye,{className:"h-3 w-3 mr-1"}),a("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.type==="earning"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.type==="earning"?a("Earning"):a("Deduction")})}),e.jsxs("td",{className:"px-3 py-4",children:[e.jsx("div",{className:"text-sm font-semibold text-gray-900 dark:text-white font-mono",children:s.calculation_type==="fixed"?(r=window.appSettings)==null?void 0:r.formatCurrency(s.default_amount):`${s.percentage_of_basic}%`}),e.jsx("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:s.calculation_type==="fixed"?a("Fixed amount"):a("Of basic salary")})]}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?a("Active"):a("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[o&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("edit",s),className:"h-8 w-8 p-0 text-amber-500",title:a("Edit Component"),children:e.jsx(G,{className:"h-4 w-4"})}),o&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?a("Deactivate"):a("Activate"),children:e.jsx(J,{className:"h-4 w-4"})}),H&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("delete",s),className:"h-8 w-8 p-0 text-red-500",title:a("Delete Component"),children:e.jsx(Q,{className:"h-4 w-4"})})]})})]},s.id)})})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((l==null?void 0:l.data)||[]).map(s=>{var r;return e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:`flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center ${s.type==="earning"?"bg-green-100 text-green-600 dark:bg-green-900/30 dark:text-green-400":"bg-red-100 text-red-600 dark:bg-red-900/30 dark:text-red-400"}`,children:s.type==="earning"?e.jsx(K,{className:"h-5 w-5"}):e.jsx(X,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[o&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("edit",s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(G,{className:"h-4 w-4"})}),o&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("toggle-status",s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(J,{className:"h-4 w-4"})}),H&&e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>k("delete",s),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(Q,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:a("Type & Calculation")}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.type==="earning"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.type==="earning"?a("Earning"):a("Deduction")}),e.jsx("span",{className:`inline-flex items-center text-xs ${s.calculation_type==="fixed"?"text-blue-600 dark:text-blue-400":"text-purple-600 dark:text-purple-400"}`,children:s.calculation_type==="fixed"?e.jsxs(e.Fragment,{children:[e.jsx(W,{className:"h-3 w-3 mr-1"}),a("Fixed")]}):e.jsxs(e.Fragment,{children:[e.jsx(fe,{className:"h-3 w-3 mr-1"}),a("%")]})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:a("Amount")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-white font-mono",children:s.calculation_type==="fixed"?(r=window.appSettings)==null?void 0:r.formatCurrency(s.default_amount):`${s.percentage_of_basic}%`})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:a("Properties")}),e.jsxs("div",{className:"flex flex-wrap gap-1",children:[s.is_taxable&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset bg-yellow-50 text-yellow-700 ring-yellow-600/20",children:a("Taxable")}),s.is_mandatory&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset bg-orange-50 text-orange-700 ring-orange-600/20",children:a("Mandatory")}),!s.is_taxable&&!s.is_mandatory&&e.jsx("span",{className:"text-xs text-gray-400 dark:text-gray-500",children:a("Optional")})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:a("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?a("Active"):a("Inactive")})]})]})]},s.id)})}),(l==null?void 0:l.total)>((l==null?void 0:l.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(he,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:a("components"),onPageChange:s=>{const r=new URL(s).searchParams.get("page");N.get(route("hr.salary-components.index"),{page:r,per_page:p.per_page||10,search:b||void 0,type:g!=="all"?g:void 0,calculation_type:y!=="all"?y:void 0,status:f!=="all"?f:void 0,sort_field:p.sort_field||void 0,sort_direction:p.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(W,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:a("No salary components found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:a(b||g!=="all"||y!=="all"||f!=="all"?"No components match your search criteria. Try adjusting your filters.":"Create salary components to define earnings and deductions for your payroll system.")}),!b&&g==="all"&&y==="all"&&f==="all"&&u&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:a("Use the form on the left to add your first component.")})]})})]})]}),e.jsx(pe,{isOpen:Y,onClose:()=>$(!1),onConfirm:re,itemName:(T==null?void 0:T.name)||"",entityName:"salary component"})]})}export{os as default}; diff --git a/public/build/assets/index-BUG3ThJK.js b/public/build/assets/index-DZc4Dxls.js similarity index 64% rename from public/build/assets/index-BUG3ThJK.js rename to public/build/assets/index-DZc4Dxls.js index 2485a9203..fdeb0b632 100644 --- a/public/build/assets/index-BUG3ThJK.js +++ b/public/build/assets/index-DZc4Dxls.js @@ -1 +1 @@ -import{r as c,j as s}from"./ui-Z445SNHD.js";import{P as W}from"./page-template-BTxLyiDA.js";import{u as X,c as Z,x as ee,P as re,r as d,D as te,t as o}from"./app-CfhhiFAk.js";import{C as ie}from"./CrudTable-qPWooc10.js";import{C as oe}from"./CrudFormModal-DAR9q-oM.js";import{C as ae}from"./CrudDeleteModal-CKTiD3_K.js";import{P as se}from"./pagination-D8A_HnL5.js";import{S as le}from"./search-and-filter-bar-6Pp-FsiR.js";import pe from"./view-C8SbLwsW.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Jt(){var P;const{t:e}=X(),{auth:h,leavePolicies:a,leaveTypes:_,filters:l={},globalSettings:t}=Z().props,g=(h==null?void 0:h.permissions)||[],[u,w]=c.useState(l.search||""),[m,j]=c.useState(l.leave_type_id||"all"),[n,S]=c.useState(l.status||"all"),[q,C]=c.useState(!1),[L,f]=c.useState(!1),[O,b]=c.useState(!1),[v,A]=c.useState(null),[y,F]=c.useState("create"),[x,N]=c.useState(null),M=()=>u!==""||m!=="all"||n!=="all",E=()=>(u?1:0)+(m!=="all"?1:0)+(n!=="all"?1:0),I=r=>{r.preventDefault(),D()},D=()=>{d.get(route("hr.leave-policies.index"),{page:1,search:u||void 0,leave_type_id:m!=="all"?m:void 0,status:n!=="all"?n:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},R=r=>{const i=l.sort_field===r&&l.sort_direction==="asc"?"desc":"asc";d.get(route("hr.leave-policies.index"),{sort_field:r,sort_direction:i,page:1,search:u||void 0,leave_type_id:m!=="all"?m:void 0,status:n!=="all"?n:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},$=(r,i)=>{switch(A(i),r){case"view":N(i);break;case"edit":F("edit"),f(!0);break;case"delete":b(!0);break;case"toggle-status":U(i);break}},V=()=>{A(null),F("create"),f(!0)},z=r=>{y==="create"?(t!=null&&t.is_demo||o.loading(e("Creating leave policy...")),d.post(route("hr.leave-policies.store"),r,{onSuccess:i=>{f(!1),t!=null&&t.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||o.dismiss(),typeof i=="string"?o.error(i):o.error(`Failed to create leave policy: ${Object.values(i).join(", ")}`)}})):y==="edit"&&(t!=null&&t.is_demo||o.loading(e("Updating leave policy...")),d.put(route("hr.leave-policies.update",v.id),r,{onSuccess:i=>{f(!1),t!=null&&t.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||o.dismiss(),typeof i=="string"?o.error(i):o.error(`Failed to update leave policy: ${Object.values(i).join(", ")}`)}}))},B=()=>{t!=null&&t.is_demo||o.loading(e("Deleting leave policy...")),d.delete(route("hr.leave-policies.destroy",v.id),{onSuccess:r=>{b(!1),t!=null&&t.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to delete leave policy: ${Object.values(r).join(", ")}`)}})},U=r=>{const i=r.status==="active"?"inactive":"active";t!=null&&t.is_demo||o.loading(`${e(i==="active"?"Activating":"Deactivating")} leave policy...`),d.put(route("hr.leave-policies.toggle-status",r.id),{},{onSuccess:p=>{t!=null&&t.is_demo||o.dismiss(),p.props.flash.success?o.success(e(p.props.flash.success)):p.props.flash.error&&o.error(e(p.props.flash.error))},onError:p=>{t!=null&&t.is_demo||o.dismiss(),typeof p=="string"?o.error(p):o.error(`Failed to update leave policy status: ${Object.values(p).join(", ")}`)}})},Y=()=>{w(""),j("all"),S("all"),C(!1),d.get(route("hr.leave-policies.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},k=[];ee(g,"create-leave-policies")&&k.push({label:e("Add Leave Policy"),icon:s.jsx(re,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>V()});const G=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Leave Management"),href:route("hr.leave-policies.index")},{title:e("Leave Policies")}],H=[{key:"name",label:e("Policy Name"),sortable:!0},{key:"leave_type",label:e("Leave Type"),render:(r,i)=>{var p,T;return s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:(p=i.leave_type)==null?void 0:p.color}}),s.jsx("span",{children:((T=i.leave_type)==null?void 0:T.name)||"-"})]})}},{key:"accrual_rate",label:e("Accrual"),render:(r,i)=>s.jsxs("span",{className:"font-mono",children:[r," days/",i.accrual_type]})},{key:"carry_forward_limit",label:e("Carry Forward"),render:r=>s.jsxs("span",{className:"font-mono",children:[r," days"]})},{key:"requires_approval",label:e("Approval"),render:r=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20"}`,children:e(r?"Required":"Not Required")})},{key:"status",label:e("Status"),render:r=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],J=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-leave-policies"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-leave-policies"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-leave-policies"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-leave-policies"}],K=[{value:"all",label:e("All Leave Types"),disabled:!0},...(_||[]).map(r=>({value:r.id.toString(),label:r.name}))],Q=[{value:"all",label:e("All Statuses"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}];return s.jsxs(W,{title:e("Leave Policies"),url:"/hr/leave-policies",actions:k,breadcrumbs:G,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(le,{searchTerm:u,onSearchChange:w,onSearch:I,filters:[{name:"leave_type_id",label:e("Leave Type"),type:"select",value:m,onChange:j,options:K,searchable:!0},{name:"status",label:e("Status"),type:"select",value:n,onChange:S,options:Q}],showFilters:q,setShowFilters:C,hasActiveFilters:M,activeFilterCount:E,onResetFilters:Y,onApplyFilters:D,currentPerPage:((P=l.per_page)==null?void 0:P.toString())||"10",onPerPageChange:r=>{d.get(route("hr.leave-policies.index"),{page:1,per_page:parseInt(r),search:u||void 0,leave_type_id:m!=="all"?m:void 0,status:n!=="all"?n:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(ie,{columns:H,actions:J,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:$,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:R,permissions:g,entityPermissions:{view:"view-leave-policies",create:"create-leave-policies",edit:"edit-leave-policies",delete:"delete-leave-policies"}}),s.jsx(se,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("leave policies"),onPageChange:r=>d.get(r)})]}),s.jsx(oe,{isOpen:L,onClose:()=>f(!1),onSubmit:z,formConfig:{fields:[{name:"name",label:e("Policy Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"leave_type_id",label:e("Leave Type"),type:"select",required:!0,searchable:!0,options:_?_.map(r=>({value:r.id.toString(),label:r.name})):[]},{name:"accrual_type",label:e("Accrual Type"),type:"select",required:!0,options:[{value:"yearly",label:e("Yearly")},{value:"monthly",label:e("Monthly")}]},{name:"accrual_rate",label:e("Accrual Rate (Days)"),type:"number",required:!0,min:0,step:.5},{name:"carry_forward_limit",label:e("Carry Forward Limit (Days)"),type:"number",required:!0,min:0},{name:"min_days_per_application",label:e("Min Days Per Application"),type:"number",required:!0,min:0},{name:"max_days_per_application",label:e("Max Days Per Application"),type:"number",required:!0,min:0},{name:"requires_approval",label:e("Requires Approval"),type:"checkbox",defaultValue:!0},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:"Active"},{value:"inactive",label:"Inactive"}],defaultValue:"active"}],modalSize:"lg"},initialData:v,title:e(y==="create"?"Add New Leave Policy":"Edit Leave Policy"),mode:y}),s.jsx(ae,{isOpen:O,onClose:()=>b(!1),onConfirm:B,itemName:(v==null?void 0:v.name)||"",entityName:"leave policy"}),s.jsx(te,{open:!!x,onOpenChange:()=>N(null),children:x&&s.jsx(pe,{leavePolicy:x})})]})}export{Jt as default}; +import{r as c,j as s}from"./ui-Z445SNHD.js";import{P as W}from"./page-template-CLNVC8w_.js";import{u as X,c as Z,x as ee,P as re,r as d,D as te,t as o}from"./app-Dya84jp7.js";import{C as ie}from"./CrudTable-yqxtM6E_.js";import{C as oe}from"./CrudFormModal-CsuqSfb2.js";import{C as ae}from"./CrudDeleteModal-D32N6I8y.js";import{P as se}from"./pagination-4PUepASD.js";import{S as le}from"./search-and-filter-bar-DWH0yn_r.js";import pe from"./view--947vg3E.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Jt(){var P;const{t:e}=X(),{auth:h,leavePolicies:a,leaveTypes:_,filters:l={},globalSettings:t}=Z().props,g=(h==null?void 0:h.permissions)||[],[u,w]=c.useState(l.search||""),[m,j]=c.useState(l.leave_type_id||"all"),[n,S]=c.useState(l.status||"all"),[q,C]=c.useState(!1),[L,f]=c.useState(!1),[O,b]=c.useState(!1),[v,A]=c.useState(null),[y,F]=c.useState("create"),[x,N]=c.useState(null),M=()=>u!==""||m!=="all"||n!=="all",E=()=>(u?1:0)+(m!=="all"?1:0)+(n!=="all"?1:0),I=r=>{r.preventDefault(),D()},D=()=>{d.get(route("hr.leave-policies.index"),{page:1,search:u||void 0,leave_type_id:m!=="all"?m:void 0,status:n!=="all"?n:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},R=r=>{const i=l.sort_field===r&&l.sort_direction==="asc"?"desc":"asc";d.get(route("hr.leave-policies.index"),{sort_field:r,sort_direction:i,page:1,search:u||void 0,leave_type_id:m!=="all"?m:void 0,status:n!=="all"?n:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},$=(r,i)=>{switch(A(i),r){case"view":N(i);break;case"edit":F("edit"),f(!0);break;case"delete":b(!0);break;case"toggle-status":U(i);break}},V=()=>{A(null),F("create"),f(!0)},z=r=>{y==="create"?(t!=null&&t.is_demo||o.loading(e("Creating leave policy...")),d.post(route("hr.leave-policies.store"),r,{onSuccess:i=>{f(!1),t!=null&&t.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||o.dismiss(),typeof i=="string"?o.error(i):o.error(`Failed to create leave policy: ${Object.values(i).join(", ")}`)}})):y==="edit"&&(t!=null&&t.is_demo||o.loading(e("Updating leave policy...")),d.put(route("hr.leave-policies.update",v.id),r,{onSuccess:i=>{f(!1),t!=null&&t.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||o.dismiss(),typeof i=="string"?o.error(i):o.error(`Failed to update leave policy: ${Object.values(i).join(", ")}`)}}))},B=()=>{t!=null&&t.is_demo||o.loading(e("Deleting leave policy...")),d.delete(route("hr.leave-policies.destroy",v.id),{onSuccess:r=>{b(!1),t!=null&&t.is_demo||o.dismiss(),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{t!=null&&t.is_demo||o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to delete leave policy: ${Object.values(r).join(", ")}`)}})},U=r=>{const i=r.status==="active"?"inactive":"active";t!=null&&t.is_demo||o.loading(`${e(i==="active"?"Activating":"Deactivating")} leave policy...`),d.put(route("hr.leave-policies.toggle-status",r.id),{},{onSuccess:p=>{t!=null&&t.is_demo||o.dismiss(),p.props.flash.success?o.success(e(p.props.flash.success)):p.props.flash.error&&o.error(e(p.props.flash.error))},onError:p=>{t!=null&&t.is_demo||o.dismiss(),typeof p=="string"?o.error(p):o.error(`Failed to update leave policy status: ${Object.values(p).join(", ")}`)}})},Y=()=>{w(""),j("all"),S("all"),C(!1),d.get(route("hr.leave-policies.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},k=[];ee(g,"create-leave-policies")&&k.push({label:e("Add Leave Policy"),icon:s.jsx(re,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>V()});const G=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Leave Management"),href:route("hr.leave-policies.index")},{title:e("Leave Policies")}],H=[{key:"name",label:e("Policy Name"),sortable:!0},{key:"leave_type",label:e("Leave Type"),render:(r,i)=>{var p,T;return s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:(p=i.leave_type)==null?void 0:p.color}}),s.jsx("span",{children:((T=i.leave_type)==null?void 0:T.name)||"-"})]})}},{key:"accrual_rate",label:e("Accrual"),render:(r,i)=>s.jsxs("span",{className:"font-mono",children:[r," days/",i.accrual_type]})},{key:"carry_forward_limit",label:e("Carry Forward"),render:r=>s.jsxs("span",{className:"font-mono",children:[r," days"]})},{key:"requires_approval",label:e("Approval"),render:r=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20"}`,children:e(r?"Required":"Not Required")})},{key:"status",label:e("Status"),render:r=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(r==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],J=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-leave-policies"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-leave-policies"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-leave-policies"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-leave-policies"}],K=[{value:"all",label:e("All Leave Types"),disabled:!0},...(_||[]).map(r=>({value:r.id.toString(),label:r.name}))],Q=[{value:"all",label:e("All Statuses"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}];return s.jsxs(W,{title:e("Leave Policies"),url:"/hr/leave-policies",actions:k,breadcrumbs:G,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(le,{searchTerm:u,onSearchChange:w,onSearch:I,filters:[{name:"leave_type_id",label:e("Leave Type"),type:"select",value:m,onChange:j,options:K,searchable:!0},{name:"status",label:e("Status"),type:"select",value:n,onChange:S,options:Q}],showFilters:q,setShowFilters:C,hasActiveFilters:M,activeFilterCount:E,onResetFilters:Y,onApplyFilters:D,currentPerPage:((P=l.per_page)==null?void 0:P.toString())||"10",onPerPageChange:r=>{d.get(route("hr.leave-policies.index"),{page:1,per_page:parseInt(r),search:u||void 0,leave_type_id:m!=="all"?m:void 0,status:n!=="all"?n:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(ie,{columns:H,actions:J,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:$,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:R,permissions:g,entityPermissions:{view:"view-leave-policies",create:"create-leave-policies",edit:"edit-leave-policies",delete:"delete-leave-policies"}}),s.jsx(se,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:e("leave policies"),onPageChange:r=>d.get(r)})]}),s.jsx(oe,{isOpen:L,onClose:()=>f(!1),onSubmit:z,formConfig:{fields:[{name:"name",label:e("Policy Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"leave_type_id",label:e("Leave Type"),type:"select",required:!0,searchable:!0,options:_?_.map(r=>({value:r.id.toString(),label:r.name})):[]},{name:"accrual_type",label:e("Accrual Type"),type:"select",required:!0,options:[{value:"yearly",label:e("Yearly")},{value:"monthly",label:e("Monthly")}]},{name:"accrual_rate",label:e("Accrual Rate (Days)"),type:"number",required:!0,min:0,step:.5},{name:"carry_forward_limit",label:e("Carry Forward Limit (Days)"),type:"number",required:!0,min:0},{name:"min_days_per_application",label:e("Min Days Per Application"),type:"number",required:!0,min:0},{name:"max_days_per_application",label:e("Max Days Per Application"),type:"number",required:!0,min:0},{name:"requires_approval",label:e("Requires Approval"),type:"checkbox",defaultValue:!0},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:"Active"},{value:"inactive",label:"Inactive"}],defaultValue:"active"}],modalSize:"lg"},initialData:v,title:e(y==="create"?"Add New Leave Policy":"Edit Leave Policy"),mode:y}),s.jsx(ae,{isOpen:O,onClose:()=>b(!1),onConfirm:B,itemName:(v==null?void 0:v.name)||"",entityName:"leave policy"}),s.jsx(te,{open:!!x,onOpenChange:()=>N(null),children:x&&s.jsx(pe,{leavePolicy:x})})]})}export{Jt as default}; diff --git a/public/build/assets/index-67ns2C5v.js b/public/build/assets/index-DZvsi9_s.js similarity index 79% rename from public/build/assets/index-67ns2C5v.js rename to public/build/assets/index-DZvsi9_s.js index 827bb707d..59304b370 100644 --- a/public/build/assets/index-67ns2C5v.js +++ b/public/build/assets/index-DZvsi9_s.js @@ -1 +1 @@ -import{r as x,j as r}from"./ui-Z445SNHD.js";import{P as qe}from"./page-template-BTxLyiDA.js";import{u as Fe,c as Oe,x as f,t as n,P as Ae,r as y,C as Ie,o as C}from"./app-CfhhiFAk.js";import{D as Te,a as Me,b as Le,c as N,d as Re}from"./CookieConsentBanner-Do3n0EfV.js";import{C as Be,E as Ve,K as $e}from"./CrudTable-qPWooc10.js";import{C as ze}from"./CrudDeleteModal-CKTiD3_K.js";import{u as Ue}from"./use-initials-BK4eRgYY.js";import{P as ee}from"./pagination-D8A_HnL5.js";import{S as Ke}from"./search-and-filter-bar-6Pp-FsiR.js";import{C as He}from"./CrudFormModal-DAR9q-oM.js";import{I as Je}from"./ImportModal-CxDgVhxL.js";import{F as Xe}from"./file-down-Dd8zePUY.js";import{F as Ge}from"./file-up-BGHgeTEG.js";import{E as te}from"./eye--FVGKpVp.js";import{L as We}from"./lock-By6rMOj7.js";import{L as Ye}from"./lock-open-Bohob0Q8.js";import{S as re}from"./square-pen-bMHyT06o.js";import{T as ae}from"./trash-2-C1NR_7Ss.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./settings-BwhyNRyj.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./switch-CKduD2wX.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./instagram-BINpUnZv.js";import"./pen-line-BrTss6NX.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./alert-DH0o7BP8.js";function Ra(){var B,V;const{t}=Fe(),{auth:D,employees:i,branches:se,planLimits:k,departments:ie,designations:oe,hasSampleFile:ne,globalSettings:l,filters:m={}}=Oe().props,g=(D==null?void 0:D.permissions)||[],E=Ue(),[j,le]=x.useState(m.view||"list"),[b,q]=x.useState(m.search||""),[p,F]=x.useState(m.department||"all"),[c,O]=x.useState(m.branch||"all"),[u,A]=x.useState(m.designation||"all"),[h,I]=x.useState(m.status||"all"),[me,T]=x.useState(!1),[de,_]=x.useState(!1),[pe,P]=x.useState(!1),[ce,M]=x.useState(!1),[w,ue]=x.useState(null),he=()=>p!=="all"||c!=="all"||u!=="all"||h!=="all"||b!=="",ge=()=>(p!=="all"?1:0)+(c!=="all"?1:0)+(u!=="all"?1:0)+(h!=="all"?1:0)+(b?1:0),ye=e=>{e.preventDefault(),L()},L=()=>{y.get(route("hr.employees.index"),{page:1,search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,per_page:m.per_page,view:j},{preserveState:!0,preserveScroll:!0})},xe=e=>{const a=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";y.get(route("hr.employees.index"),{sort_field:e,sort_direction:a,page:1,search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,per_page:m.per_page,view:j},{preserveState:!0,preserveScroll:!0})},v=(e,a)=>{var s,o;switch(ue(a),e){case"view":if(!((s=a.employee)!=null&&s.id)){n.error(t("Employee data not found"));return}y.get(route("hr.employees.show",a.employee.id));break;case"edit":if(!((o=a.employee)!=null&&o.id)){n.error(t("Employee data not found"));return}y.get(route("hr.employees.edit",a.employee.id));break;case"delete":_(!0);break;case"toggle-status":be(a);break;case"change-password":P(!0);break}},fe=()=>{y.get(route("hr.employees.create"))},ve=()=>{if(!w||!w.id){n.error(t("Invalid employee selected for deletion. Please refresh the page and try again.")),_(!1);return}l!=null&&l.is_demo||n.loading(t("Deleting employee...")),y.delete(route("hr.employees.destroy",{employee:w.id}),{onSuccess:e=>{var a,s;_(!1),l!=null&&l.is_demo||n.dismiss(),(a=e.props.flash)!=null&&a.success?n.success(t(e.props.flash.success)):(s=e.props.flash)!=null&&s.error&&n.error(t(e.props.flash.error))},onError:e=>{_(!1),l!=null&&l.is_demo||n.dismiss(),typeof e=="string"?n.error(t(e)):n.error(t("Failed to delete employee: {{errors}}",{errors:Object.values(e).join(", ")}))}})},be=e=>{var o;const s=(e.status||"inactive")==="active"?"inactive":"active";if(l!=null&&l.is_demo||n.loading(`${t(s==="active"?"Activating":"Deactivating")} employee...`),!((o=e.employee)!=null&&o.id)){n.error(t("Employee data not found"));return}y.put(route("hr.employees.toggle-status",e.employee.id),{},{onSuccess:d=>{l!=null&&l.is_demo||n.dismiss(),d.props.flash.success?n.success(t(d.props.flash.success)):d.props.flash.error&&n.error(t(d.props.flash.error))},onError:d=>{l!=null&&l.is_demo||n.dismiss(),typeof d=="string"?n.error(t(d)):n.error(t("Failed to update employee status: {{errors}}",{errors:Object.values(d).join(", ")}))}})},we=e=>{var a;if(l!=null&&l.is_demo||n.loading(t("Changing password...")),!((a=w.employee)!=null&&a.id)){n.error(t("Employee data not found"));return}y.put(route("hr.employees.change-password",w.employee.id),e,{onSuccess:s=>{P(!1),l!=null&&l.is_demo||n.dismiss(),s.props.flash.success?n.success(t(s.props.flash.success)):s.props.flash.error&&n.error(t(s.props.flash.error))},onError:s=>{l!=null&&l.is_demo||n.dismiss(),typeof s=="string"?n.error(t(s)):n.error(t("Failed to change password: {{errors}}",{errors:Object.values(s).join(", ")}))}})},R=e=>{const a=new URL(e).searchParams.get("page")||"1";y.get(route("hr.employees.index"),{page:a,view:j,search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,per_page:m.per_page,sort_field:m.sort_field,sort_direction:m.sort_direction},{preserveState:!0,preserveScroll:!0})},je=()=>{q(""),F("all"),O("all"),A("all"),I("all"),T(!1),y.get(route("hr.employees.index"),{page:1,per_page:m.per_page,view:j},{preserveState:!0,preserveScroll:!0})},ke=async()=>{try{const e=await fetch(route("hr.employees.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!e.ok){const d=await e.json().catch(()=>({}));n.error(t(d.message||"Failed to export employees"));return}const a=await e.blob(),s=window.URL.createObjectURL(a),o=document.createElement("a");o.href=s,o.download=`employees_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(s),document.body.removeChild(o)}catch{n.error(t("Failed to export employees"))}},S=[];if(f(g,"export-employee")&&S.push({label:t("Export"),icon:r.jsx(Xe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ke}),f(g,"import-employee")&&S.push({label:t("Import"),icon:r.jsx(Ge,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>M(!0)}),f(g,"create-employees")){const e=!k||k.can_create;S.push({label:k&&!e?t("Employee Create Limit Reached ({{current}}/{{max}})",{current:k.current_users,max:k.max_users}):t("Add Employee"),icon:r.jsx(Ae,{className:"h-4 w-4 mr-2"}),variant:e?"default":"outline",onClick:e?()=>fe():()=>n.error(t("Employee limit exceeded. Your plan allows maximum {{max}} users. Please upgrade your plan.",{max:k.max_users})),disabled:!e})}const _e=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.employees.index")},{title:t("Employees")}],Ne=[{key:"name",label:t("Name"),sortable:!0,render:(e,a)=>r.jsxs("div",{className:"flex items-center gap-3",children:[r.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden",children:a.avatar?r.jsx("img",{src:a.avatar,alt:a.name,className:"h-full w-full object-cover"}):E(a.name)}),r.jsxs("div",{children:[r.jsx("div",{className:"font-medium",children:a.name}),r.jsx("div",{className:"text-sm text-muted-foreground",children:a.email})]})]})},{key:"employee_id",label:t("Employee ID"),sortable:!1,render:(e,a)=>{var o;const s=(o=a.employee)==null?void 0:o.employee_id;return s?r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/20 px-2 py-1 text-xs font-medium text-blue-700 dark:text-blue-400 ring-1 ring-inset ring-blue-600/20",children:s}):"-"}},{key:"department",label:t("Department"),render:(e,a)=>{var s,o;return((o=(s=a.employee)==null?void 0:s.department)==null?void 0:o.name)||"-"}},{key:"designation",label:t("Designation"),render:(e,a)=>{var s,o;return((o=(s=a.employee)==null?void 0:s.designation)==null?void 0:o.name)||"-"}},{key:"employee_status",label:t("Employee Status"),render:(e,a)=>{var o;const s=((o=a.employee)==null?void 0:o.employee_status)||"active";return r.jsxs("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":s==="inactive"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":s==="probation"?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:[s==="active"&&t("Active"),s==="inactive"&&t("Inactive"),s==="probation"&&t("Probation"),s==="terminated"&&t("Terminated")]})}},{key:"date_of_joining",label:t("Joined"),sortable:!1,render:(e,a)=>{var o,d;const s=(o=a.employee)==null?void 0:o.date_of_joining;return s?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s,!1))||new Date(s).toLocaleDateString():"-"}}],Se=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employees"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employees"},{label:t("Change Password"),icon:"Key",action:"change-password",className:"text-green-500",requiredPermission:"edit-employees"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-employees"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employees"}],Ce=[{value:"all",label:t("All Branches")},...(se||[]).map(e=>({value:e.id.toString(),label:e.name}))],De=[{value:"all",label:t("All Departments")},...(ie||[]).map(e=>{var a;return{value:e.id.toString(),label:`${e.name} (${((a=e.branch)==null?void 0:a.name)||t("No Branch")})`}})],Pe=[{value:"all",label:t("All Designations")},...(oe||[]).map(e=>{var a;return{value:e.id.toString(),label:`${e.name} (${((a=e.department)==null?void 0:a.name)||t("No Department")})`}})],Ee=[{value:"all",label:t("All Statuses")},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")},{value:"probation",label:t("Probation")},{value:"terminated",label:t("Terminated")}];return r.jsxs(qe,{title:t("Employees"),url:"/hr/employees",actions:S,breadcrumbs:_e,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(Ke,{searchTerm:b,onSearchChange:q,onSearch:ye,filters:[{name:"branch",label:t("Branch"),type:"select",value:c,onChange:O,options:Ce,searchable:!0},{name:"department",label:t("Department"),type:"select",value:p,onChange:F,options:De,searchable:!0},{name:"designation",label:t("Designation"),type:"select",value:u,onChange:A,options:Pe,searchable:!0},{name:"status",label:t("Status"),type:"select",value:h,onChange:I,options:Ee}],showFilters:me,setShowFilters:T,hasActiveFilters:he,activeFilterCount:ge,onResetFilters:je,onApplyFilters:L,currentPerPage:((B=m.per_page)==null?void 0:B.toString())||"10",onPerPageChange:e=>{y.get(route("hr.employees.index"),{page:1,per_page:parseInt(e),search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,view:j},{preserveState:!0,preserveScroll:!0})},showViewToggle:!0,activeView:j,onViewChange:e=>{le(e),y.get(route("hr.employees.index"),{page:1,view:e,search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})}})}),j==="list"?r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(Be,{columns:Ne,actions:Se,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:v,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:xe,permissions:g,entityPermissions:{view:"view-employees",create:"create-employees",edit:"edit-employees",delete:"delete-employees"}}),r.jsx(ee,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("employees"),onPageChange:R})]}):r.jsxs("div",{children:[r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:(V=i==null?void 0:i.data)==null?void 0:V.map(e=>{var a,s,o,d,$,z,U,K,H,J,X,G,W,Y,Q,Z;return r.jsx(Ie,{className:"bg-white dark:bg-gray-900 border border-gray-300 dark:border-gray-700 rounded-lg shadow",children:r.jsxs("div",{className:"p-6",children:[r.jsxs("div",{className:"flex items-start justify-between mb-4",children:[r.jsxs("div",{className:"flex items-start space-x-4",children:[r.jsx("div",{className:"h-16 w-16 rounded-full bg-primary text-white flex items-center justify-center text-lg font-bold overflow-hidden",children:e.avatar?r.jsx("img",{src:e.avatar,alt:e.name,className:"h-full w-full object-cover"}):E(e.name)}),r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsx("h3",{className:"text-lg font-bold text-gray-900 dark:text-white mb-1",children:e.name}),r.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-300 mb-1",children:e.email}),r.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-300 mb-2",children:((a=e.employee)==null?void 0:a.employee_id)||"-"}),r.jsxs("div",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${((s=e.employee)==null?void 0:s.employee_status)==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":((o=e.employee)==null?void 0:o.employee_status)==="inactive"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":((d=e.employee)==null?void 0:d.employee_status)==="probation"?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":((($=e.employee)==null?void 0:$.employee_status)==="terminated","bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20")}`,children:[((z=e.employee)==null?void 0:z.employee_status)==="active"&&t("Active"),((U=e.employee)==null?void 0:U.employee_status)==="inactive"&&t("Inactive"),((K=e.employee)==null?void 0:K.employee_status)==="probation"&&t("Probation"),((H=e.employee)==null?void 0:H.employee_status)==="terminated"&&t("Terminated"),!((J=e.employee)!=null&&J.employee_status)&&t("Active")]})]})]}),r.jsxs(Te,{children:[r.jsx(Me,{asChild:!0,children:r.jsx(C,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0 text-gray-400 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300",children:r.jsx(Ve,{className:"h-4 w-4"})})}),r.jsxs(Le,{align:"end",className:"w-48 z-50",sideOffset:5,children:[f(g,"view-employees")&&r.jsxs(N,{onClick:()=>v("view",e),children:[r.jsx(te,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:t("View Employee")})]}),f(g,"edit-employees")&&r.jsxs(N,{onClick:()=>v("change-password",e),children:[r.jsx($e,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:t("Change Password")})]}),f(g,"edit-employees")&&r.jsxs(N,{onClick:()=>v("toggle-status",e),children:[e.status==="active"?r.jsx(We,{className:"h-4 w-4 mr-2"}):r.jsx(Ye,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:e.status==="active"?t("Deactivate"):t("Activate")})]}),r.jsx(Re,{}),f(g,"edit-employees")&&r.jsxs(N,{onClick:()=>v("edit",e),className:"text-amber-600",children:[r.jsx(re,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:t("Edit")})]}),f(g,"delete-employees")&&r.jsxs(N,{onClick:()=>v("delete",e),className:"text-rose-600",children:[r.jsx(ae,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:t("Delete")})]})]})]})]}),r.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-md p-3 mb-4",children:[r.jsxs("div",{className:"text-sm mb-1",children:[r.jsxs("span",{className:"font-medium",children:[t("Department"),":"]})," ",((G=(X=e.employee)==null?void 0:X.department)==null?void 0:G.name)||"-"]}),r.jsxs("div",{className:"text-sm",children:[r.jsxs("span",{className:"font-medium",children:[t("Designation"),":"]})," ",((Y=(W=e.employee)==null?void 0:W.designation)==null?void 0:Y.name)||"-"]})]}),r.jsxs("div",{className:"text-xs text-gray-500 dark:text-gray-400 mb-4",children:[r.jsxs("span",{className:"font-medium text-gray-600 dark:text-gray-300",children:[t("Joining Date")," : "]})," ",(Q=e.employee)!=null&&Q.date_of_joining?((Z=window.appSettings)==null?void 0:Z.formatDateTimeSimple(e.employee.date_of_joining,!1))||new Date(e.employee.date_of_joining).toLocaleDateString():"-"]}),r.jsxs("div",{className:"flex gap-2",children:[f(g,"edit-employees")&&r.jsxs(C,{variant:"outline",size:"sm",onClick:()=>v("edit",e),className:"flex-1 h-9 text-sm border-gray-300 dark:border-gray-600 dark:text-gray-200",children:[r.jsx(re,{className:"h-4 w-4 mr-2"}),t("Edit")]}),f(g,"view-employees")&&r.jsxs(C,{variant:"outline",size:"sm",onClick:()=>v("view",e),className:"flex-1 h-9 text-sm border-gray-300 dark:border-gray-600 dark:text-gray-200",children:[r.jsx(te,{className:"h-4 w-4 mr-2"}),t("View")]}),f(g,"delete-employees")&&r.jsxs(C,{variant:"outline",size:"sm",onClick:()=>v("delete",e),className:"flex-1 h-9 text-sm text-gray-700 border-gray-300 dark:border-gray-600 dark:text-gray-200",children:[r.jsx(ae,{className:"h-4 w-4 mr-2"}),t("Delete")]})]})]})},e.id)})}),r.jsx("div",{className:"mt-6 bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:r.jsx(ee,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("employees"),onPageChange:R})})]}),r.jsx(ze,{isOpen:de,onClose:()=>_(!1),onConfirm:ve,itemName:(w==null?void 0:w.name)||"",entityName:"employee"}),r.jsx(He,{isOpen:pe,onClose:()=>P(!1),onSubmit:we,formConfig:{fields:[{name:"password",label:t("New Password"),type:"password",required:!0},{name:"password_confirmation",label:t("Confirm Password"),type:"password",required:!0}],modalSize:"md"},initialData:{},title:t("Change Employee Password"),mode:"edit"}),r.jsx(Je,{isOpen:ce,onClose:()=>M(!1),title:t("Import Employees from CSV/Excel"),importRoute:"hr.employees.import",parseRoute:"hr.employees.parse",sampleRoute:ne?"hr.employees.download.template":void 0,importNotes:t("Ensure that the values entered for Department, Designation, Branch , Shift , Attedance Policy , Employement Type , Employement Status match the existing records in your system."),modalSize:"xl",databaseFields:[{key:"name",required:!0},{key:"email",required:!0},{key:"password",required:!0},{key:"biometric_emp_id",required:!0},{key:"phone",required:!0},{key:"department",required:!0},{key:"designation",required:!0},{key:"branch",required:!0},{key:"base_salary",required:!0},{key:"date_of_joining",required:!0},{key:"date_of_birth",required:!0},{key:"gender",required:!0},{key:"shift"},{key:"attendance_policy"},{key:"employment_type"},{key:"employee_status"},{key:"city",required:!0},{key:"state",required:!0},{key:"country",required:!0},{key:"postal_code",required:!0},{key:"address",required:!0},{key:"bank_name",required:!0},{key:"account_number",required:!0},{key:"bank_identifier_code",required:!0},{key:"bank_branch",required:!0}]})]})}export{Ra as default}; +import{r as x,j as r}from"./ui-Z445SNHD.js";import{P as qe}from"./page-template-CLNVC8w_.js";import{u as Fe,c as Oe,x as f,t as n,P as Ae,r as y,C as Ie,o as C}from"./app-Dya84jp7.js";import{D as Te,a as Me,b as Le,c as N,d as Re}from"./CookieConsentBanner-dwye0O-l.js";import{C as Be,E as Ve,K as $e}from"./CrudTable-yqxtM6E_.js";import{C as ze}from"./CrudDeleteModal-D32N6I8y.js";import{u as Ue}from"./use-initials-BK4eRgYY.js";import{P as ee}from"./pagination-4PUepASD.js";import{S as Ke}from"./search-and-filter-bar-DWH0yn_r.js";import{C as He}from"./CrudFormModal-CsuqSfb2.js";import{I as Je}from"./ImportModal-s55JxI6I.js";import{F as Xe}from"./file-down-DO17xCrw.js";import{F as Ge}from"./file-up-mHt_z-hD.js";import{E as te}from"./eye-CCNnMtu4.js";import{L as We}from"./lock-DaHvMEII.js";import{L as Ye}from"./lock-open-wwRKX_jV.js";import{S as re}from"./square-pen-CzdhbxyN.js";import{T as ae}from"./trash-2-BeirBLIk.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./settings-amvA_CjN.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./switch-DyHgm-Sg.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./instagram-hxbchcd2.js";import"./pen-line-D3y4U--J.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./alert-CyJVNPY9.js";function Ra(){var B,V;const{t}=Fe(),{auth:D,employees:i,branches:se,planLimits:k,departments:ie,designations:oe,hasSampleFile:ne,globalSettings:l,filters:m={}}=Oe().props,g=(D==null?void 0:D.permissions)||[],E=Ue(),[j,le]=x.useState(m.view||"list"),[b,q]=x.useState(m.search||""),[p,F]=x.useState(m.department||"all"),[c,O]=x.useState(m.branch||"all"),[u,A]=x.useState(m.designation||"all"),[h,I]=x.useState(m.status||"all"),[me,T]=x.useState(!1),[de,_]=x.useState(!1),[pe,P]=x.useState(!1),[ce,M]=x.useState(!1),[w,ue]=x.useState(null),he=()=>p!=="all"||c!=="all"||u!=="all"||h!=="all"||b!=="",ge=()=>(p!=="all"?1:0)+(c!=="all"?1:0)+(u!=="all"?1:0)+(h!=="all"?1:0)+(b?1:0),ye=e=>{e.preventDefault(),L()},L=()=>{y.get(route("hr.employees.index"),{page:1,search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,per_page:m.per_page,view:j},{preserveState:!0,preserveScroll:!0})},xe=e=>{const a=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";y.get(route("hr.employees.index"),{sort_field:e,sort_direction:a,page:1,search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,per_page:m.per_page,view:j},{preserveState:!0,preserveScroll:!0})},v=(e,a)=>{var s,o;switch(ue(a),e){case"view":if(!((s=a.employee)!=null&&s.id)){n.error(t("Employee data not found"));return}y.get(route("hr.employees.show",a.employee.id));break;case"edit":if(!((o=a.employee)!=null&&o.id)){n.error(t("Employee data not found"));return}y.get(route("hr.employees.edit",a.employee.id));break;case"delete":_(!0);break;case"toggle-status":be(a);break;case"change-password":P(!0);break}},fe=()=>{y.get(route("hr.employees.create"))},ve=()=>{if(!w||!w.id){n.error(t("Invalid employee selected for deletion. Please refresh the page and try again.")),_(!1);return}l!=null&&l.is_demo||n.loading(t("Deleting employee...")),y.delete(route("hr.employees.destroy",{employee:w.id}),{onSuccess:e=>{var a,s;_(!1),l!=null&&l.is_demo||n.dismiss(),(a=e.props.flash)!=null&&a.success?n.success(t(e.props.flash.success)):(s=e.props.flash)!=null&&s.error&&n.error(t(e.props.flash.error))},onError:e=>{_(!1),l!=null&&l.is_demo||n.dismiss(),typeof e=="string"?n.error(t(e)):n.error(t("Failed to delete employee: {{errors}}",{errors:Object.values(e).join(", ")}))}})},be=e=>{var o;const s=(e.status||"inactive")==="active"?"inactive":"active";if(l!=null&&l.is_demo||n.loading(`${t(s==="active"?"Activating":"Deactivating")} employee...`),!((o=e.employee)!=null&&o.id)){n.error(t("Employee data not found"));return}y.put(route("hr.employees.toggle-status",e.employee.id),{},{onSuccess:d=>{l!=null&&l.is_demo||n.dismiss(),d.props.flash.success?n.success(t(d.props.flash.success)):d.props.flash.error&&n.error(t(d.props.flash.error))},onError:d=>{l!=null&&l.is_demo||n.dismiss(),typeof d=="string"?n.error(t(d)):n.error(t("Failed to update employee status: {{errors}}",{errors:Object.values(d).join(", ")}))}})},we=e=>{var a;if(l!=null&&l.is_demo||n.loading(t("Changing password...")),!((a=w.employee)!=null&&a.id)){n.error(t("Employee data not found"));return}y.put(route("hr.employees.change-password",w.employee.id),e,{onSuccess:s=>{P(!1),l!=null&&l.is_demo||n.dismiss(),s.props.flash.success?n.success(t(s.props.flash.success)):s.props.flash.error&&n.error(t(s.props.flash.error))},onError:s=>{l!=null&&l.is_demo||n.dismiss(),typeof s=="string"?n.error(t(s)):n.error(t("Failed to change password: {{errors}}",{errors:Object.values(s).join(", ")}))}})},R=e=>{const a=new URL(e).searchParams.get("page")||"1";y.get(route("hr.employees.index"),{page:a,view:j,search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,per_page:m.per_page,sort_field:m.sort_field,sort_direction:m.sort_direction},{preserveState:!0,preserveScroll:!0})},je=()=>{q(""),F("all"),O("all"),A("all"),I("all"),T(!1),y.get(route("hr.employees.index"),{page:1,per_page:m.per_page,view:j},{preserveState:!0,preserveScroll:!0})},ke=async()=>{try{const e=await fetch(route("hr.employees.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!e.ok){const d=await e.json().catch(()=>({}));n.error(t(d.message||"Failed to export employees"));return}const a=await e.blob(),s=window.URL.createObjectURL(a),o=document.createElement("a");o.href=s,o.download=`employees_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(s),document.body.removeChild(o)}catch{n.error(t("Failed to export employees"))}},S=[];if(f(g,"export-employee")&&S.push({label:t("Export"),icon:r.jsx(Xe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ke}),f(g,"import-employee")&&S.push({label:t("Import"),icon:r.jsx(Ge,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>M(!0)}),f(g,"create-employees")){const e=!k||k.can_create;S.push({label:k&&!e?t("Employee Create Limit Reached ({{current}}/{{max}})",{current:k.current_users,max:k.max_users}):t("Add Employee"),icon:r.jsx(Ae,{className:"h-4 w-4 mr-2"}),variant:e?"default":"outline",onClick:e?()=>fe():()=>n.error(t("Employee limit exceeded. Your plan allows maximum {{max}} users. Please upgrade your plan.",{max:k.max_users})),disabled:!e})}const _e=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.employees.index")},{title:t("Employees")}],Ne=[{key:"name",label:t("Name"),sortable:!0,render:(e,a)=>r.jsxs("div",{className:"flex items-center gap-3",children:[r.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden",children:a.avatar?r.jsx("img",{src:a.avatar,alt:a.name,className:"h-full w-full object-cover"}):E(a.name)}),r.jsxs("div",{children:[r.jsx("div",{className:"font-medium",children:a.name}),r.jsx("div",{className:"text-sm text-muted-foreground",children:a.email})]})]})},{key:"employee_id",label:t("Employee ID"),sortable:!1,render:(e,a)=>{var o;const s=(o=a.employee)==null?void 0:o.employee_id;return s?r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/20 px-2 py-1 text-xs font-medium text-blue-700 dark:text-blue-400 ring-1 ring-inset ring-blue-600/20",children:s}):"-"}},{key:"department",label:t("Department"),render:(e,a)=>{var s,o;return((o=(s=a.employee)==null?void 0:s.department)==null?void 0:o.name)||"-"}},{key:"designation",label:t("Designation"),render:(e,a)=>{var s,o;return((o=(s=a.employee)==null?void 0:s.designation)==null?void 0:o.name)||"-"}},{key:"employee_status",label:t("Employee Status"),render:(e,a)=>{var o;const s=((o=a.employee)==null?void 0:o.employee_status)||"active";return r.jsxs("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":s==="inactive"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":s==="probation"?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:[s==="active"&&t("Active"),s==="inactive"&&t("Inactive"),s==="probation"&&t("Probation"),s==="terminated"&&t("Terminated")]})}},{key:"date_of_joining",label:t("Joined"),sortable:!1,render:(e,a)=>{var o,d;const s=(o=a.employee)==null?void 0:o.date_of_joining;return s?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s,!1))||new Date(s).toLocaleDateString():"-"}}],Se=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employees"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employees"},{label:t("Change Password"),icon:"Key",action:"change-password",className:"text-green-500",requiredPermission:"edit-employees"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-employees"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employees"}],Ce=[{value:"all",label:t("All Branches")},...(se||[]).map(e=>({value:e.id.toString(),label:e.name}))],De=[{value:"all",label:t("All Departments")},...(ie||[]).map(e=>{var a;return{value:e.id.toString(),label:`${e.name} (${((a=e.branch)==null?void 0:a.name)||t("No Branch")})`}})],Pe=[{value:"all",label:t("All Designations")},...(oe||[]).map(e=>{var a;return{value:e.id.toString(),label:`${e.name} (${((a=e.department)==null?void 0:a.name)||t("No Department")})`}})],Ee=[{value:"all",label:t("All Statuses")},{value:"active",label:t("Active")},{value:"inactive",label:t("Inactive")},{value:"probation",label:t("Probation")},{value:"terminated",label:t("Terminated")}];return r.jsxs(qe,{title:t("Employees"),url:"/hr/employees",actions:S,breadcrumbs:_e,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(Ke,{searchTerm:b,onSearchChange:q,onSearch:ye,filters:[{name:"branch",label:t("Branch"),type:"select",value:c,onChange:O,options:Ce,searchable:!0},{name:"department",label:t("Department"),type:"select",value:p,onChange:F,options:De,searchable:!0},{name:"designation",label:t("Designation"),type:"select",value:u,onChange:A,options:Pe,searchable:!0},{name:"status",label:t("Status"),type:"select",value:h,onChange:I,options:Ee}],showFilters:me,setShowFilters:T,hasActiveFilters:he,activeFilterCount:ge,onResetFilters:je,onApplyFilters:L,currentPerPage:((B=m.per_page)==null?void 0:B.toString())||"10",onPerPageChange:e=>{y.get(route("hr.employees.index"),{page:1,per_page:parseInt(e),search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,view:j},{preserveState:!0,preserveScroll:!0})},showViewToggle:!0,activeView:j,onViewChange:e=>{le(e),y.get(route("hr.employees.index"),{page:1,view:e,search:b||void 0,department:p!=="all"?p:void 0,branch:c!=="all"?c:void 0,designation:u!=="all"?u:void 0,status:h!=="all"?h:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})}})}),j==="list"?r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(Be,{columns:Ne,actions:Se,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:v,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:xe,permissions:g,entityPermissions:{view:"view-employees",create:"create-employees",edit:"edit-employees",delete:"delete-employees"}}),r.jsx(ee,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("employees"),onPageChange:R})]}):r.jsxs("div",{children:[r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:(V=i==null?void 0:i.data)==null?void 0:V.map(e=>{var a,s,o,d,$,z,U,K,H,J,X,G,W,Y,Q,Z;return r.jsx(Ie,{className:"bg-white dark:bg-gray-900 border border-gray-300 dark:border-gray-700 rounded-lg shadow",children:r.jsxs("div",{className:"p-6",children:[r.jsxs("div",{className:"flex items-start justify-between mb-4",children:[r.jsxs("div",{className:"flex items-start space-x-4",children:[r.jsx("div",{className:"h-16 w-16 rounded-full bg-primary text-white flex items-center justify-center text-lg font-bold overflow-hidden",children:e.avatar?r.jsx("img",{src:e.avatar,alt:e.name,className:"h-full w-full object-cover"}):E(e.name)}),r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsx("h3",{className:"text-lg font-bold text-gray-900 dark:text-white mb-1",children:e.name}),r.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-300 mb-1",children:e.email}),r.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-300 mb-2",children:((a=e.employee)==null?void 0:a.employee_id)||"-"}),r.jsxs("div",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${((s=e.employee)==null?void 0:s.employee_status)==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":((o=e.employee)==null?void 0:o.employee_status)==="inactive"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":((d=e.employee)==null?void 0:d.employee_status)==="probation"?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":((($=e.employee)==null?void 0:$.employee_status)==="terminated","bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20")}`,children:[((z=e.employee)==null?void 0:z.employee_status)==="active"&&t("Active"),((U=e.employee)==null?void 0:U.employee_status)==="inactive"&&t("Inactive"),((K=e.employee)==null?void 0:K.employee_status)==="probation"&&t("Probation"),((H=e.employee)==null?void 0:H.employee_status)==="terminated"&&t("Terminated"),!((J=e.employee)!=null&&J.employee_status)&&t("Active")]})]})]}),r.jsxs(Te,{children:[r.jsx(Me,{asChild:!0,children:r.jsx(C,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0 text-gray-400 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300",children:r.jsx(Ve,{className:"h-4 w-4"})})}),r.jsxs(Le,{align:"end",className:"w-48 z-50",sideOffset:5,children:[f(g,"view-employees")&&r.jsxs(N,{onClick:()=>v("view",e),children:[r.jsx(te,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:t("View Employee")})]}),f(g,"edit-employees")&&r.jsxs(N,{onClick:()=>v("change-password",e),children:[r.jsx($e,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:t("Change Password")})]}),f(g,"edit-employees")&&r.jsxs(N,{onClick:()=>v("toggle-status",e),children:[e.status==="active"?r.jsx(We,{className:"h-4 w-4 mr-2"}):r.jsx(Ye,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:e.status==="active"?t("Deactivate"):t("Activate")})]}),r.jsx(Re,{}),f(g,"edit-employees")&&r.jsxs(N,{onClick:()=>v("edit",e),className:"text-amber-600",children:[r.jsx(re,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:t("Edit")})]}),f(g,"delete-employees")&&r.jsxs(N,{onClick:()=>v("delete",e),className:"text-rose-600",children:[r.jsx(ae,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:t("Delete")})]})]})]})]}),r.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-md p-3 mb-4",children:[r.jsxs("div",{className:"text-sm mb-1",children:[r.jsxs("span",{className:"font-medium",children:[t("Department"),":"]})," ",((G=(X=e.employee)==null?void 0:X.department)==null?void 0:G.name)||"-"]}),r.jsxs("div",{className:"text-sm",children:[r.jsxs("span",{className:"font-medium",children:[t("Designation"),":"]})," ",((Y=(W=e.employee)==null?void 0:W.designation)==null?void 0:Y.name)||"-"]})]}),r.jsxs("div",{className:"text-xs text-gray-500 dark:text-gray-400 mb-4",children:[r.jsxs("span",{className:"font-medium text-gray-600 dark:text-gray-300",children:[t("Joining Date")," : "]})," ",(Q=e.employee)!=null&&Q.date_of_joining?((Z=window.appSettings)==null?void 0:Z.formatDateTimeSimple(e.employee.date_of_joining,!1))||new Date(e.employee.date_of_joining).toLocaleDateString():"-"]}),r.jsxs("div",{className:"flex gap-2",children:[f(g,"edit-employees")&&r.jsxs(C,{variant:"outline",size:"sm",onClick:()=>v("edit",e),className:"flex-1 h-9 text-sm border-gray-300 dark:border-gray-600 dark:text-gray-200",children:[r.jsx(re,{className:"h-4 w-4 mr-2"}),t("Edit")]}),f(g,"view-employees")&&r.jsxs(C,{variant:"outline",size:"sm",onClick:()=>v("view",e),className:"flex-1 h-9 text-sm border-gray-300 dark:border-gray-600 dark:text-gray-200",children:[r.jsx(te,{className:"h-4 w-4 mr-2"}),t("View")]}),f(g,"delete-employees")&&r.jsxs(C,{variant:"outline",size:"sm",onClick:()=>v("delete",e),className:"flex-1 h-9 text-sm text-gray-700 border-gray-300 dark:border-gray-600 dark:text-gray-200",children:[r.jsx(ae,{className:"h-4 w-4 mr-2"}),t("Delete")]})]})]})},e.id)})}),r.jsx("div",{className:"mt-6 bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:r.jsx(ee,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("employees"),onPageChange:R})})]}),r.jsx(ze,{isOpen:de,onClose:()=>_(!1),onConfirm:ve,itemName:(w==null?void 0:w.name)||"",entityName:"employee"}),r.jsx(He,{isOpen:pe,onClose:()=>P(!1),onSubmit:we,formConfig:{fields:[{name:"password",label:t("New Password"),type:"password",required:!0},{name:"password_confirmation",label:t("Confirm Password"),type:"password",required:!0}],modalSize:"md"},initialData:{},title:t("Change Employee Password"),mode:"edit"}),r.jsx(Je,{isOpen:ce,onClose:()=>M(!1),title:t("Import Employees from CSV/Excel"),importRoute:"hr.employees.import",parseRoute:"hr.employees.parse",sampleRoute:ne?"hr.employees.download.template":void 0,importNotes:t("Ensure that the values entered for Department, Designation, Branch , Shift , Attedance Policy , Employement Type , Employement Status match the existing records in your system."),modalSize:"xl",databaseFields:[{key:"name",required:!0},{key:"email",required:!0},{key:"password",required:!0},{key:"biometric_emp_id",required:!0},{key:"phone",required:!0},{key:"department",required:!0},{key:"designation",required:!0},{key:"branch",required:!0},{key:"base_salary",required:!0},{key:"date_of_joining",required:!0},{key:"date_of_birth",required:!0},{key:"gender",required:!0},{key:"shift"},{key:"attendance_policy"},{key:"employment_type"},{key:"employee_status"},{key:"city",required:!0},{key:"state",required:!0},{key:"country",required:!0},{key:"postal_code",required:!0},{key:"address",required:!0},{key:"bank_name",required:!0},{key:"account_number",required:!0},{key:"bank_identifier_code",required:!0},{key:"bank_branch",required:!0}]})]})}export{Ra as default}; diff --git a/public/build/assets/index-9x6Wsxln.js b/public/build/assets/index-Dbc0rBs0.js similarity index 71% rename from public/build/assets/index-9x6Wsxln.js rename to public/build/assets/index-Dbc0rBs0.js index e55027931..db448be2c 100644 --- a/public/build/assets/index-9x6Wsxln.js +++ b/public/build/assets/index-Dbc0rBs0.js @@ -1 +1 @@ -import{r as y,j as o}from"./ui-Z445SNHD.js";import{P as ue}from"./page-template-BTxLyiDA.js";import{u as ye,c as fe,x as _e,P as he,F as ve,r as f,D as xe,t as a}from"./app-CfhhiFAk.js";import{C as be}from"./CrudTable-qPWooc10.js";import{C as U}from"./CrudFormModal-DAR9q-oM.js";import{C as ge}from"./CrudDeleteModal-CKTiD3_K.js";import{P as je}from"./pagination-D8A_HnL5.js";import{S as we}from"./search-and-filter-bar-6Pp-FsiR.js";import Se from"./view-D-KwmQWY.js";import{u as Ce}from"./use-initials-BK4eRgYY.js";import{C as De}from"./calendar-CfUpdaK5.js";import{T as Pe}from"./triangle-alert-DGWTh17w.js";import{f as $}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ys(){var I;const{t}=ye(),{auth:b,employeeContracts:i,contractTypes:C,employees:D,filters:p={},globalSettings:s}=fe().props,P=(b==null?void 0:b.permissions)||[],L=Ce(),[_,T]=y.useState(p.search||""),[c,E]=y.useState(p.status||"_empty_"),[d,N]=y.useState(p.contract_type_id||"_empty_"),[u,F]=y.useState(p.employee_id||"_empty_"),[V,A]=y.useState(!1),[B,g]=y.useState(!1),[z,v]=y.useState(!1),[G,j]=y.useState(!1),[n,O]=y.useState(null),[x,M]=y.useState("create"),[w,k]=y.useState(null),H=()=>c!=="_empty_"||d!=="_empty_"||u!=="_empty_"||_!=="",J=()=>(c!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(_!==""?1:0),K=e=>{e.preventDefault(),R()},R=()=>{f.get(route("hr.contracts.employee-contracts.index"),{page:1,search:_||void 0,status:c!=="_empty_"?c:void 0,contract_type_id:d!=="_empty_"?d:void 0,employee_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Q=e=>{const r=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";f.get(route("hr.contracts.employee-contracts.index"),{sort_field:e,sort_direction:r,page:1,search:_||void 0,status:c!=="_empty_"?c:void 0,contract_type_id:d!=="_empty_"?d:void 0,employee_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},W=(e,r)=>{switch(O(r),e){case"view":k(r);break;case"edit":M("edit"),v(!0);break;case"delete":g(!0);break;case"update-status":j(!0);break}},X=()=>{O(null),M("create"),v(!0)},Y=e=>{x==="create"?(s!=null&&s.is_demo||a.loading(t("Creating employee contract...")),f.post(route("hr.contracts.employee-contracts.store"),e,{onSuccess:r=>{v(!1),s!=null&&s.is_demo||a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to create employee contract: ${Object.values(r).join(", ")}`)}})):x==="edit"&&(s!=null&&s.is_demo||a.loading(t("Updating employee contract...")),f.put(route("hr.contracts.employee-contracts.update",n.id),e,{onSuccess:r=>{v(!1),s!=null&&s.is_demo||a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to update employee contract: ${Object.values(r).join(", ")}`)}}))},Z=()=>{s!=null&&s.is_demo||a.loading(t("Deleting employee contract...")),f.delete(route("hr.contracts.employee-contracts.destroy",n.id),{onSuccess:e=>{g(!1),s!=null&&s.is_demo||a.dismiss(),e.props.flash.success?a.success(t(e.props.flash.success)):e.props.flash.error&&a.error(t(e.props.flash.error))},onError:e=>{s!=null&&s.is_demo||a.dismiss(),typeof e=="string"?a.error(e):a.error(`Failed to delete employee contract: ${Object.values(e).join(", ")}`)}})},ee=e=>{s!=null&&s.is_demo||a.loading(t("Updating contract status...")),f.put(route("hr.contracts.employee-contracts.update-status",n.id),e,{onSuccess:r=>{j(!1),s!=null&&s.is_demo||a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to update contract status: ${Object.values(r).join(", ")}`)}})},te=()=>{T(""),E("_empty_"),N("_empty_"),F("_empty_"),A(!1),f.get(route("hr.contracts.employee-contracts.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},q=[];_e(P,"create-employee-contracts")&&q.push({label:t("Add Contract"),icon:o.jsx(he,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const re=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.employee-contracts.index")},{title:t("Employee Contracts")}],se=e=>{switch(e){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Pending Approval":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Active":return"bg-green-50 text-green-700 ring-green-600/20";case"Expired":return"bg-red-50 text-red-700 ring-red-600/10";case"Terminated":return"bg-red-50 text-red-700 ring-red-600/10";case"Renewed":return"bg-blue-50 text-blue-700 ring-blue-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},oe=(e,r)=>{if(!e||r!=="Active")return null;const m=new Date,h=new Date(e).getTime()-m.getTime();return Math.ceil(h/(1e3*60*60*24))},ae=e=>e,ie=[{key:"employee.name",label:t("Employee"),render:(e,r)=>{var m,l,h,S;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(m=r.employee)!=null&&m.avatar?o.jsx("img",{src:r.employee.avatar,alt:(l=r.employee)==null?void 0:l.name,className:"h-full w-full object-cover"}):L(((h=r.employee)==null?void 0:h.name)||"")}),o.jsx("div",{className:"font-medium",children:((S=r.employee)==null?void 0:S.name)||"-"})]})}},{key:"contract_number",label:t("Contract #"),sortable:!0,render:(e,r)=>{var m;return o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(ve,{className:"h-4 w-4 text-gray-500"}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:e}),o.jsx("div",{className:"text-xs text-gray-500",children:(m=r.contract_type)==null?void 0:m.name})]})]})}},{key:"start_date",label:t("Contract Period"),sortable:!0,render:(e,r)=>{var l,h;const m=oe(r.end_date,r.status);return o.jsxs("div",{children:[o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(De,{className:"h-4 w-4 text-gray-500"}),((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(e,!1))||$(new Date(e),"MMM dd, yyyy")]}),r.end_date&&o.jsxs("div",{className:"text-xs text-gray-500",children:["to ",((h=window.appSettings)==null?void 0:h.formatDateTimeSimple(r.end_date,!1))||$(new Date(r.end_date),"MMM dd, yyyy"),m!==null&&m<=30&&m>0&&o.jsxs("div",{className:"flex items-center gap-1 text-orange-600 mt-1",children:[o.jsx(Pe,{className:"h-3 w-3"}),m," days left"]})]})]})}},{key:"basic_salary",label:t("Compensation"),render:(e,r)=>{var l;const m=ae(e);return o.jsx("div",{className:"flex items-center gap-1",children:o.jsx("div",{children:o.jsx("div",{className:"font-medium",children:(l=window.appSettings)==null?void 0:l.formatCurrency(m)})})})}},{key:"status",label:t("Status"),render:e=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${se(e)}`,children:t(e)})},{key:"approved_at",label:t("Approved"),render:(e,r)=>{var m,l;return e?o.jsxs("div",{children:[o.jsx("div",{className:"text-sm",children:((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}),o.jsx("div",{className:"text-xs text-gray-500",children:(l=r.approver)==null?void 0:l.name})]}):"-"}}],pe=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-contracts"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-contracts"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:["approve-employee-contracts","reject-employee-contracts"]},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-contracts"}],me=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Draft",label:t("Draft")},{value:"Pending Approval",label:t("Pending Approval")},{value:"Active",label:t("Active")},{value:"Expired",label:t("Expired")},{value:"Terminated",label:t("Terminated")},{value:"Renewed",label:t("Renewed")}],ne=[{value:"_empty_",label:t("All Types"),disabled:!0},...(C||[]).map(e=>({value:e.id.toString(),label:e.name}))],le=[{value:"_empty_",label:t("All Employees"),disabled:!0},...(D||[]).map(e=>({value:e.id.toString(),label:e.name}))],ce=[{value:"_empty_",label:t("Select Employee")},...(D||[]).map(e=>({value:e.id.toString(),label:e.name}))],de=[{value:"_empty_",label:t("Select Contract Type")},...(C||[]).map(e=>({value:e.id.toString(),label:e.name}))];return o.jsxs(ue,{title:t("Employee Contracts"),url:"/hr/contracts/employee-contracts",actions:q,breadcrumbs:re,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(we,{searchTerm:_,onSearchChange:T,onSearch:K,filters:[{name:"status",label:t("Status"),type:"select",value:c,onChange:E,options:me},{name:"contract_type_id",label:t("Contract Type"),type:"select",value:d,onChange:N,options:ne,searchable:!0},{name:"employee_id",label:t("Employee"),type:"select",value:u,onChange:F,options:le,searchable:!0}],showFilters:V,setShowFilters:A,hasActiveFilters:H,activeFilterCount:J,onResetFilters:te,onApplyFilters:R,currentPerPage:((I=p.per_page)==null?void 0:I.toString())||"10",onPerPageChange:e=>{f.get(route("hr.contracts.employee-contracts.index"),{page:1,per_page:parseInt(e),search:_||void 0,status:c!=="_empty_"?c:void 0,contract_type_id:d!=="_empty_"?d:void 0,employee_id:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(be,{columns:ie,actions:pe,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:W,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:Q,permissions:P,entityPermissions:{view:"view-employee-contracts",create:"create-employee-contracts",edit:"edit-employee-contracts",delete:"delete-employee-contracts"}}),o.jsx(je,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("employee contracts"),onPageChange:e=>{const r=new URL(e);_&&r.searchParams.set("search",_),c!=="_empty_"&&r.searchParams.set("status",c),d!=="_empty_"&&r.searchParams.set("contract_type_id",d),u!=="_empty_"&&r.searchParams.set("employee_id",u),p.sort_field&&r.searchParams.set("sort_field",p.sort_field),p.sort_direction&&r.searchParams.set("sort_direction",p.sort_direction),p.per_page&&r.searchParams.set("per_page",p.per_page),f.get(r.toString())}})]}),o.jsx(U,{isOpen:z,onClose:()=>v(!1),onSubmit:Y,formConfig:{fields:[{name:"employee_id",label:t("Employee"),type:"select",required:!0,options:ce.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"contract_type_id",label:t("Contract Type"),type:"select",required:!0,options:de.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"start_date",label:t("Start Date"),type:"date",required:!0},{name:"end_date",label:t("End Date"),type:"date",helpText:t("Leave empty for permanent contracts")},{name:"basic_salary",label:t("Basic Salary"),type:"number",required:!0,min:0,step:.01},{name:"terms_conditions",label:t("Terms & Conditions"),type:"textarea",rows:6}],modalSize:"xl"},initialData:n?{...n,start_date:n.start_date?window.appSettings.formatDateTimeSimple(n.start_date,!1):n.start_date,end_date:n.end_date?window.appSettings.formatDateTimeSimple(n.end_date,!1):n.end_date}:null,title:t(x==="create"?"Add Employee Contract":"Edit Employee Contract"),mode:x}),o.jsx(ge,{isOpen:B,onClose:()=>g(!1),onConfirm:Z,itemName:(n==null?void 0:n.contract_number)||"",entityName:"employee contract"}),o.jsx(U,{isOpen:G,onClose:()=>j(!1),onSubmit:ee,formConfig:{fields:[{name:"status",label:t("Status"),type:"select",required:!0,options:[{value:"Draft",label:t("Draft")},{value:"Pending Approval",label:t("Pending Approval")},{value:"Active",label:t("Active")},{value:"Expired",label:t("Expired")},{value:"Terminated",label:t("Terminated")},{value:"Renewed",label:t("Renewed")}]}]},initialData:n?{status:n.status}:{},title:t("Update Contract Status"),mode:"edit"}),o.jsx(xe,{open:!!w,onOpenChange:()=>k(null),children:w&&o.jsx(Se,{contract:w})})]})}export{ys as default}; +import{r as y,j as o}from"./ui-Z445SNHD.js";import{P as ue}from"./page-template-CLNVC8w_.js";import{u as ye,c as fe,x as _e,P as he,F as ve,r as f,D as xe,t as a}from"./app-Dya84jp7.js";import{C as be}from"./CrudTable-yqxtM6E_.js";import{C as U}from"./CrudFormModal-CsuqSfb2.js";import{C as ge}from"./CrudDeleteModal-D32N6I8y.js";import{P as je}from"./pagination-4PUepASD.js";import{S as we}from"./search-and-filter-bar-DWH0yn_r.js";import Se from"./view-BNW3nx7q.js";import{u as Ce}from"./use-initials-BK4eRgYY.js";import{C as De}from"./calendar-DuRYaSj5.js";import{T as Pe}from"./triangle-alert-CpPzdeiH.js";import{f as $}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ys(){var I;const{t}=ye(),{auth:b,employeeContracts:i,contractTypes:C,employees:D,filters:p={},globalSettings:s}=fe().props,P=(b==null?void 0:b.permissions)||[],L=Ce(),[_,T]=y.useState(p.search||""),[c,E]=y.useState(p.status||"_empty_"),[d,N]=y.useState(p.contract_type_id||"_empty_"),[u,F]=y.useState(p.employee_id||"_empty_"),[V,A]=y.useState(!1),[B,g]=y.useState(!1),[z,v]=y.useState(!1),[G,j]=y.useState(!1),[n,O]=y.useState(null),[x,M]=y.useState("create"),[w,k]=y.useState(null),H=()=>c!=="_empty_"||d!=="_empty_"||u!=="_empty_"||_!=="",J=()=>(c!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(_!==""?1:0),K=e=>{e.preventDefault(),R()},R=()=>{f.get(route("hr.contracts.employee-contracts.index"),{page:1,search:_||void 0,status:c!=="_empty_"?c:void 0,contract_type_id:d!=="_empty_"?d:void 0,employee_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},Q=e=>{const r=p.sort_field===e&&p.sort_direction==="asc"?"desc":"asc";f.get(route("hr.contracts.employee-contracts.index"),{sort_field:e,sort_direction:r,page:1,search:_||void 0,status:c!=="_empty_"?c:void 0,contract_type_id:d!=="_empty_"?d:void 0,employee_id:u!=="_empty_"?u:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},W=(e,r)=>{switch(O(r),e){case"view":k(r);break;case"edit":M("edit"),v(!0);break;case"delete":g(!0);break;case"update-status":j(!0);break}},X=()=>{O(null),M("create"),v(!0)},Y=e=>{x==="create"?(s!=null&&s.is_demo||a.loading(t("Creating employee contract...")),f.post(route("hr.contracts.employee-contracts.store"),e,{onSuccess:r=>{v(!1),s!=null&&s.is_demo||a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to create employee contract: ${Object.values(r).join(", ")}`)}})):x==="edit"&&(s!=null&&s.is_demo||a.loading(t("Updating employee contract...")),f.put(route("hr.contracts.employee-contracts.update",n.id),e,{onSuccess:r=>{v(!1),s!=null&&s.is_demo||a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to update employee contract: ${Object.values(r).join(", ")}`)}}))},Z=()=>{s!=null&&s.is_demo||a.loading(t("Deleting employee contract...")),f.delete(route("hr.contracts.employee-contracts.destroy",n.id),{onSuccess:e=>{g(!1),s!=null&&s.is_demo||a.dismiss(),e.props.flash.success?a.success(t(e.props.flash.success)):e.props.flash.error&&a.error(t(e.props.flash.error))},onError:e=>{s!=null&&s.is_demo||a.dismiss(),typeof e=="string"?a.error(e):a.error(`Failed to delete employee contract: ${Object.values(e).join(", ")}`)}})},ee=e=>{s!=null&&s.is_demo||a.loading(t("Updating contract status...")),f.put(route("hr.contracts.employee-contracts.update-status",n.id),e,{onSuccess:r=>{j(!1),s!=null&&s.is_demo||a.dismiss(),r.props.flash.success?a.success(t(r.props.flash.success)):r.props.flash.error&&a.error(t(r.props.flash.error))},onError:r=>{s!=null&&s.is_demo||a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to update contract status: ${Object.values(r).join(", ")}`)}})},te=()=>{T(""),E("_empty_"),N("_empty_"),F("_empty_"),A(!1),f.get(route("hr.contracts.employee-contracts.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},q=[];_e(P,"create-employee-contracts")&&q.push({label:t("Add Contract"),icon:o.jsx(he,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const re=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.employee-contracts.index")},{title:t("Employee Contracts")}],se=e=>{switch(e){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Pending Approval":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Active":return"bg-green-50 text-green-700 ring-green-600/20";case"Expired":return"bg-red-50 text-red-700 ring-red-600/10";case"Terminated":return"bg-red-50 text-red-700 ring-red-600/10";case"Renewed":return"bg-blue-50 text-blue-700 ring-blue-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},oe=(e,r)=>{if(!e||r!=="Active")return null;const m=new Date,h=new Date(e).getTime()-m.getTime();return Math.ceil(h/(1e3*60*60*24))},ae=e=>e,ie=[{key:"employee.name",label:t("Employee"),render:(e,r)=>{var m,l,h,S;return o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(m=r.employee)!=null&&m.avatar?o.jsx("img",{src:r.employee.avatar,alt:(l=r.employee)==null?void 0:l.name,className:"h-full w-full object-cover"}):L(((h=r.employee)==null?void 0:h.name)||"")}),o.jsx("div",{className:"font-medium",children:((S=r.employee)==null?void 0:S.name)||"-"})]})}},{key:"contract_number",label:t("Contract #"),sortable:!0,render:(e,r)=>{var m;return o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(ve,{className:"h-4 w-4 text-gray-500"}),o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:e}),o.jsx("div",{className:"text-xs text-gray-500",children:(m=r.contract_type)==null?void 0:m.name})]})]})}},{key:"start_date",label:t("Contract Period"),sortable:!0,render:(e,r)=>{var l,h;const m=oe(r.end_date,r.status);return o.jsxs("div",{children:[o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx(De,{className:"h-4 w-4 text-gray-500"}),((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(e,!1))||$(new Date(e),"MMM dd, yyyy")]}),r.end_date&&o.jsxs("div",{className:"text-xs text-gray-500",children:["to ",((h=window.appSettings)==null?void 0:h.formatDateTimeSimple(r.end_date,!1))||$(new Date(r.end_date),"MMM dd, yyyy"),m!==null&&m<=30&&m>0&&o.jsxs("div",{className:"flex items-center gap-1 text-orange-600 mt-1",children:[o.jsx(Pe,{className:"h-3 w-3"}),m," days left"]})]})]})}},{key:"basic_salary",label:t("Compensation"),render:(e,r)=>{var l;const m=ae(e);return o.jsx("div",{className:"flex items-center gap-1",children:o.jsx("div",{children:o.jsx("div",{className:"font-medium",children:(l=window.appSettings)==null?void 0:l.formatCurrency(m)})})})}},{key:"status",label:t("Status"),render:e=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${se(e)}`,children:t(e)})},{key:"approved_at",label:t("Approved"),render:(e,r)=>{var m,l;return e?o.jsxs("div",{children:[o.jsx("div",{className:"text-sm",children:((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}),o.jsx("div",{className:"text-xs text-gray-500",children:(l=r.approver)==null?void 0:l.name})]}):"-"}}],pe=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-employee-contracts"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-employee-contracts"},{label:t("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:["approve-employee-contracts","reject-employee-contracts"]},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-employee-contracts"}],me=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Draft",label:t("Draft")},{value:"Pending Approval",label:t("Pending Approval")},{value:"Active",label:t("Active")},{value:"Expired",label:t("Expired")},{value:"Terminated",label:t("Terminated")},{value:"Renewed",label:t("Renewed")}],ne=[{value:"_empty_",label:t("All Types"),disabled:!0},...(C||[]).map(e=>({value:e.id.toString(),label:e.name}))],le=[{value:"_empty_",label:t("All Employees"),disabled:!0},...(D||[]).map(e=>({value:e.id.toString(),label:e.name}))],ce=[{value:"_empty_",label:t("Select Employee")},...(D||[]).map(e=>({value:e.id.toString(),label:e.name}))],de=[{value:"_empty_",label:t("Select Contract Type")},...(C||[]).map(e=>({value:e.id.toString(),label:e.name}))];return o.jsxs(ue,{title:t("Employee Contracts"),url:"/hr/contracts/employee-contracts",actions:q,breadcrumbs:re,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(we,{searchTerm:_,onSearchChange:T,onSearch:K,filters:[{name:"status",label:t("Status"),type:"select",value:c,onChange:E,options:me},{name:"contract_type_id",label:t("Contract Type"),type:"select",value:d,onChange:N,options:ne,searchable:!0},{name:"employee_id",label:t("Employee"),type:"select",value:u,onChange:F,options:le,searchable:!0}],showFilters:V,setShowFilters:A,hasActiveFilters:H,activeFilterCount:J,onResetFilters:te,onApplyFilters:R,currentPerPage:((I=p.per_page)==null?void 0:I.toString())||"10",onPerPageChange:e=>{f.get(route("hr.contracts.employee-contracts.index"),{page:1,per_page:parseInt(e),search:_||void 0,status:c!=="_empty_"?c:void 0,contract_type_id:d!=="_empty_"?d:void 0,employee_id:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(be,{columns:ie,actions:pe,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:W,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:Q,permissions:P,entityPermissions:{view:"view-employee-contracts",create:"create-employee-contracts",edit:"edit-employee-contracts",delete:"delete-employee-contracts"}}),o.jsx(je,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("employee contracts"),onPageChange:e=>{const r=new URL(e);_&&r.searchParams.set("search",_),c!=="_empty_"&&r.searchParams.set("status",c),d!=="_empty_"&&r.searchParams.set("contract_type_id",d),u!=="_empty_"&&r.searchParams.set("employee_id",u),p.sort_field&&r.searchParams.set("sort_field",p.sort_field),p.sort_direction&&r.searchParams.set("sort_direction",p.sort_direction),p.per_page&&r.searchParams.set("per_page",p.per_page),f.get(r.toString())}})]}),o.jsx(U,{isOpen:z,onClose:()=>v(!1),onSubmit:Y,formConfig:{fields:[{name:"employee_id",label:t("Employee"),type:"select",required:!0,options:ce.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"contract_type_id",label:t("Contract Type"),type:"select",required:!0,options:de.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"start_date",label:t("Start Date"),type:"date",required:!0},{name:"end_date",label:t("End Date"),type:"date",helpText:t("Leave empty for permanent contracts")},{name:"basic_salary",label:t("Basic Salary"),type:"number",required:!0,min:0,step:.01},{name:"terms_conditions",label:t("Terms & Conditions"),type:"textarea",rows:6}],modalSize:"xl"},initialData:n?{...n,start_date:n.start_date?window.appSettings.formatDateTimeSimple(n.start_date,!1):n.start_date,end_date:n.end_date?window.appSettings.formatDateTimeSimple(n.end_date,!1):n.end_date}:null,title:t(x==="create"?"Add Employee Contract":"Edit Employee Contract"),mode:x}),o.jsx(ge,{isOpen:B,onClose:()=>g(!1),onConfirm:Z,itemName:(n==null?void 0:n.contract_number)||"",entityName:"employee contract"}),o.jsx(U,{isOpen:G,onClose:()=>j(!1),onSubmit:ee,formConfig:{fields:[{name:"status",label:t("Status"),type:"select",required:!0,options:[{value:"Draft",label:t("Draft")},{value:"Pending Approval",label:t("Pending Approval")},{value:"Active",label:t("Active")},{value:"Expired",label:t("Expired")},{value:"Terminated",label:t("Terminated")},{value:"Renewed",label:t("Renewed")}]}]},initialData:n?{status:n.status}:{},title:t("Update Contract Status"),mode:"edit"}),o.jsx(xe,{open:!!w,onOpenChange:()=>k(null),children:w&&o.jsx(Se,{contract:w})})]})}export{ys as default}; diff --git a/public/build/assets/index-CEdEG00S.js b/public/build/assets/index-DeWVsfRP.js similarity index 62% rename from public/build/assets/index-CEdEG00S.js rename to public/build/assets/index-DeWVsfRP.js index b7cf792d5..82aca5d80 100644 --- a/public/build/assets/index-CEdEG00S.js +++ b/public/build/assets/index-DeWVsfRP.js @@ -1 +1 @@ -import{r as d,j as s}from"./ui-Z445SNHD.js";import{P as de}from"./page-template-BTxLyiDA.js";import{u as le,c as ne,x as B,P as ce,r as u,M as H,D as ue,t as a}from"./app-CfhhiFAk.js";import{C as fe}from"./CrudTable-qPWooc10.js";import{C as _e}from"./CrudFormModal-DAR9q-oM.js";import{C as he}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ye}from"./pagination-D8A_HnL5.js";import{S as we}from"./search-and-filter-bar-6Pp-FsiR.js";import ve from"./view-BbFir-PT.js";import{u as xe}from"./use-initials-BK4eRgYY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function po(){var I,R,$;const{t:r}=le(),{auth:x,awards:p,awardTypes:L,employees:U,filters:m={},globalSettings:t}=ne().props,b=(x==null?void 0:x.permissions)||[],J=xe(),[f,j]=d.useState(m.search||""),[l,C]=d.useState(m.award_type_id||"_empty_"),[n,A]=d.useState(m.employee_id||"_empty_"),[_,D]=d.useState(m.date_from||""),[h,F]=d.useState(m.date_to||""),[K,P]=d.useState(!1),[Q,g]=d.useState(!1),[W,w]=d.useState(!1),[c,k]=d.useState(null),[v,T]=d.useState("create"),[S,N]=d.useState(null),X=()=>l!=="_empty_"||n!=="_empty_"||_!==""||h!==""||f!=="",Y=()=>(l!=="_empty_"?1:0)+(n!=="_empty_"?1:0)+(_!==""?1:0)+(h!==""?1:0)+(f!==""?1:0),Z=e=>{e.preventDefault(),E()},E=()=>{u.get(route("hr.awards.index"),{page:1,search:f||void 0,award_type_id:l!=="_empty_"?l:void 0,employee_id:n!=="_empty_"?n:void 0,date_from:_||void 0,date_to:h||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},ee=e=>{const i=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";u.get(route("hr.awards.index"),{sort_field:e,sort_direction:i,page:1,search:f||void 0,award_type_id:l!=="_empty_"?l:void 0,employee_id:n!=="_empty_"?n:void 0,date_from:_||void 0,date_to:h||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},re=(e,i)=>{switch(k(i),e){case"view":N(i);break;case"edit":T("edit"),w(!0);break;case"delete":g(!0);break;case"download-certificate":window.open(route("hr.awards.download-certificate",i.id),"_blank");break;case"download-photo":window.open(route("hr.awards.download-photo",i.id),"_blank");break}},te=()=>{k(null),T("create"),w(!0)},oe=e=>{const i=e;v==="create"?(t!=null&&t.is_demo||a.loading(r("Creating award...")),u.post(route("hr.awards.store"),i,{onSuccess:o=>{w(!1),t!=null&&t.is_demo||a.dismiss(),o.props.flash.success?a.success(r(o.props.flash.success)):o.props.flash.error&&a.error(r(o.props.flash.error))},onError:o=>{t!=null&&t.is_demo||a.dismiss(),typeof o=="string"?a.error(r(o)):a.error(r("Failed to create award: {{errors}}",{errors:Object.values(o).join(", ")}))}})):v==="edit"&&(t!=null&&t.is_demo||a.loading(r("Updating award...")),u.put(route("hr.awards.update",c.id),i,{onSuccess:o=>{w(!1),t!=null&&t.is_demo||a.dismiss(),o.props.flash.success?a.success(r(o.props.flash.success)):o.props.flash.error&&a.error(r(o.props.flash.error))},onError:o=>{t!=null&&t.is_demo||a.dismiss(),typeof o=="string"?a.error(r(o)):a.error(r("Failed to update award: {{errors}}",{errors:Object.values(o).join(", ")}))}}))},ie=()=>{t!=null&&t.is_demo||a.loading(r("Deleting award...")),u.delete(route("hr.awards.destroy",c.id),{onSuccess:e=>{g(!1),t!=null&&t.is_demo||a.dismiss(),e.props.flash.success?a.success(r(e.props.flash.success)):e.props.flash.error&&a.error(r(e.props.flash.error))},onError:e=>{t!=null&&t.is_demo||a.dismiss(),typeof e=="string"?a.error(r(e)):a.error(r("Failed to delete award: {{errors}}",{errors:Object.values(e).join(", ")}))}})},ae=()=>{j(""),C("_empty_"),A("_empty_"),D(""),F(""),P(!1),u.get(route("hr.awards.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},O=[];B(b,"create-awards")&&O.push({label:r("Add Award"),icon:s.jsx(ce,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>te()});const se=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.awards.index")},{title:r("Awards")}],pe=[{key:"employee.name",label:r("Employee"),render:(e,i)=>{var o,y,V,G,z;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(o=i.employee)!=null&&o.avatar?s.jsx("img",{src:i.employee.avatar,alt:(y=i.employee)==null?void 0:y.name,className:"h-full w-full object-cover"}):J(((V=i.employee)==null?void 0:V.name)||"")}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((G=i.employee)==null?void 0:G.name)||"-"}),s.jsx("div",{className:"text-sm text-muted-foreground",children:((z=i.employee)==null?void 0:z.email)||""})]})]})}},{key:"award_type.name",label:r("Award Type"),render:(e,i)=>{var o;return((o=i.award_type)==null?void 0:o.name)||"-"}},{key:"award_date",label:r("Award Date"),sortable:!0,render:e=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"gift",label:r("Gift"),render:e=>e||"-"}],me=[{label:r("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-awards"},{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-awards"},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-awards"}],M=[...(L||[]).map(e=>({value:e.id.toString(),label:e.name}))],q=[{value:"_empty_",label:r("Select Employee"),disabled:!0},...(U||[]).map(e=>({value:e.id.toString(),label:`${e.name} (${e.employee_id})`}))];return s.jsxs(de,{title:r("Awards"),url:"/hr/awards",actions:O,breadcrumbs:se,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(we,{searchTerm:f,onSearchChange:j,onSearch:Z,filters:[{name:"award_type_id",label:r("Award Type"),type:"select",value:l,onChange:C,options:M,searchable:!0},...B(b,"manage-any-awards")?[{name:"employee_id",label:r("Employee"),type:"select",value:n,onChange:A,options:q,searchable:!0}]:[],{name:"date_from",label:r("Date From"),type:"date",value:_,onChange:D},{name:"date_to",label:r("Date To"),type:"date",value:h,onChange:F}],showFilters:K,setShowFilters:P,hasActiveFilters:X,activeFilterCount:Y,onResetFilters:ae,onApplyFilters:E,currentPerPage:((I=m.per_page)==null?void 0:I.toString())||"10",onPerPageChange:e=>{u.get(route("hr.awards.index"),{page:1,per_page:parseInt(e),search:f||void 0,award_type_id:l!=="_empty_"?l:void 0,employee_id:n!=="_empty_"?n:void 0,date_from:_||void 0,date_to:h||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(fe,{columns:pe,actions:me,data:(p==null?void 0:p.data)||[],from:(p==null?void 0:p.from)||1,onAction:re,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:ee,permissions:b,entityPermissions:{view:"view-awards",create:"create-awards",edit:"edit-awards",delete:"delete-awards"}}),s.jsx(ye,{from:(p==null?void 0:p.from)||0,to:(p==null?void 0:p.to)||0,total:(p==null?void 0:p.total)||0,links:p==null?void 0:p.links,entityName:r("awards"),onPageChange:e=>u.get(e)})]}),s.jsx(_e,{isOpen:W,onClose:()=>w(!1),onSubmit:oe,formConfig:{fields:[{name:"employee_id",label:r("Employee"),type:"select",required:!0,searchable:!0,options:q.filter(e=>e.value!=="_empty_")},{name:"award_type_id",label:r("Award Type"),type:"select",required:!0,options:M.filter(e=>e.value!==""),searchable:!0},{name:"award_date",label:r("Award Date"),type:"date",required:!0},{name:"gift",label:r("Gift"),type:"text"},{name:"description",label:r("Description"),type:"textarea"},{name:"certificate",label:r("Certificate"),type:"custom",render:(e,i,o)=>s.jsx(H,{value:String(i[e.name]||""),onChange:y=>o(e.name,y),placeholder:r("Select certificate file...")})},{name:"photo",label:r("Photo"),type:"custom",render:(e,i,o)=>s.jsx(H,{value:String(i[e.name]||""),onChange:y=>o(e.name,y),placeholder:r("Select photo file...")})}],modalSize:"lg"},initialData:c,title:r(v==="create"?"Add New Award":"Edit Award"),mode:v}),s.jsx(he,{isOpen:Q,onClose:()=>g(!1),onConfirm:ie,itemName:`${((R=c==null?void 0:c.employee)==null?void 0:R.name)||""} - ${(($=c==null?void 0:c.award_type)==null?void 0:$.name)||""}`,entityName:"award"}),s.jsx(ue,{open:!!S,onOpenChange:()=>N(null),children:S&&s.jsx(ve,{award:S})})]})}export{po as default}; +import{r as d,j as s}from"./ui-Z445SNHD.js";import{P as de}from"./page-template-CLNVC8w_.js";import{u as le,c as ne,x as B,P as ce,r as u,M as H,D as ue,t as a}from"./app-Dya84jp7.js";import{C as fe}from"./CrudTable-yqxtM6E_.js";import{C as _e}from"./CrudFormModal-CsuqSfb2.js";import{C as he}from"./CrudDeleteModal-D32N6I8y.js";import{P as ye}from"./pagination-4PUepASD.js";import{S as we}from"./search-and-filter-bar-DWH0yn_r.js";import ve from"./view-DtjMRNVw.js";import{u as xe}from"./use-initials-BK4eRgYY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function po(){var I,R,$;const{t:r}=le(),{auth:x,awards:p,awardTypes:L,employees:U,filters:m={},globalSettings:t}=ne().props,b=(x==null?void 0:x.permissions)||[],J=xe(),[f,j]=d.useState(m.search||""),[l,C]=d.useState(m.award_type_id||"_empty_"),[n,A]=d.useState(m.employee_id||"_empty_"),[_,D]=d.useState(m.date_from||""),[h,F]=d.useState(m.date_to||""),[K,P]=d.useState(!1),[Q,g]=d.useState(!1),[W,w]=d.useState(!1),[c,k]=d.useState(null),[v,T]=d.useState("create"),[S,N]=d.useState(null),X=()=>l!=="_empty_"||n!=="_empty_"||_!==""||h!==""||f!=="",Y=()=>(l!=="_empty_"?1:0)+(n!=="_empty_"?1:0)+(_!==""?1:0)+(h!==""?1:0)+(f!==""?1:0),Z=e=>{e.preventDefault(),E()},E=()=>{u.get(route("hr.awards.index"),{page:1,search:f||void 0,award_type_id:l!=="_empty_"?l:void 0,employee_id:n!=="_empty_"?n:void 0,date_from:_||void 0,date_to:h||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},ee=e=>{const i=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";u.get(route("hr.awards.index"),{sort_field:e,sort_direction:i,page:1,search:f||void 0,award_type_id:l!=="_empty_"?l:void 0,employee_id:n!=="_empty_"?n:void 0,date_from:_||void 0,date_to:h||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},re=(e,i)=>{switch(k(i),e){case"view":N(i);break;case"edit":T("edit"),w(!0);break;case"delete":g(!0);break;case"download-certificate":window.open(route("hr.awards.download-certificate",i.id),"_blank");break;case"download-photo":window.open(route("hr.awards.download-photo",i.id),"_blank");break}},te=()=>{k(null),T("create"),w(!0)},oe=e=>{const i=e;v==="create"?(t!=null&&t.is_demo||a.loading(r("Creating award...")),u.post(route("hr.awards.store"),i,{onSuccess:o=>{w(!1),t!=null&&t.is_demo||a.dismiss(),o.props.flash.success?a.success(r(o.props.flash.success)):o.props.flash.error&&a.error(r(o.props.flash.error))},onError:o=>{t!=null&&t.is_demo||a.dismiss(),typeof o=="string"?a.error(r(o)):a.error(r("Failed to create award: {{errors}}",{errors:Object.values(o).join(", ")}))}})):v==="edit"&&(t!=null&&t.is_demo||a.loading(r("Updating award...")),u.put(route("hr.awards.update",c.id),i,{onSuccess:o=>{w(!1),t!=null&&t.is_demo||a.dismiss(),o.props.flash.success?a.success(r(o.props.flash.success)):o.props.flash.error&&a.error(r(o.props.flash.error))},onError:o=>{t!=null&&t.is_demo||a.dismiss(),typeof o=="string"?a.error(r(o)):a.error(r("Failed to update award: {{errors}}",{errors:Object.values(o).join(", ")}))}}))},ie=()=>{t!=null&&t.is_demo||a.loading(r("Deleting award...")),u.delete(route("hr.awards.destroy",c.id),{onSuccess:e=>{g(!1),t!=null&&t.is_demo||a.dismiss(),e.props.flash.success?a.success(r(e.props.flash.success)):e.props.flash.error&&a.error(r(e.props.flash.error))},onError:e=>{t!=null&&t.is_demo||a.dismiss(),typeof e=="string"?a.error(r(e)):a.error(r("Failed to delete award: {{errors}}",{errors:Object.values(e).join(", ")}))}})},ae=()=>{j(""),C("_empty_"),A("_empty_"),D(""),F(""),P(!1),u.get(route("hr.awards.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},O=[];B(b,"create-awards")&&O.push({label:r("Add Award"),icon:s.jsx(ce,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>te()});const se=[{title:r("Dashboard"),href:route("dashboard")},{title:r("HR Management"),href:route("hr.awards.index")},{title:r("Awards")}],pe=[{key:"employee.name",label:r("Employee"),render:(e,i)=>{var o,y,V,G,z;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(o=i.employee)!=null&&o.avatar?s.jsx("img",{src:i.employee.avatar,alt:(y=i.employee)==null?void 0:y.name,className:"h-full w-full object-cover"}):J(((V=i.employee)==null?void 0:V.name)||"")}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((G=i.employee)==null?void 0:G.name)||"-"}),s.jsx("div",{className:"text-sm text-muted-foreground",children:((z=i.employee)==null?void 0:z.email)||""})]})]})}},{key:"award_type.name",label:r("Award Type"),render:(e,i)=>{var o;return((o=i.award_type)==null?void 0:o.name)||"-"}},{key:"award_date",label:r("Award Date"),sortable:!0,render:e=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"gift",label:r("Gift"),render:e=>e||"-"}],me=[{label:r("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-awards"},{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-awards"},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-awards"}],M=[...(L||[]).map(e=>({value:e.id.toString(),label:e.name}))],q=[{value:"_empty_",label:r("Select Employee"),disabled:!0},...(U||[]).map(e=>({value:e.id.toString(),label:`${e.name} (${e.employee_id})`}))];return s.jsxs(de,{title:r("Awards"),url:"/hr/awards",actions:O,breadcrumbs:se,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(we,{searchTerm:f,onSearchChange:j,onSearch:Z,filters:[{name:"award_type_id",label:r("Award Type"),type:"select",value:l,onChange:C,options:M,searchable:!0},...B(b,"manage-any-awards")?[{name:"employee_id",label:r("Employee"),type:"select",value:n,onChange:A,options:q,searchable:!0}]:[],{name:"date_from",label:r("Date From"),type:"date",value:_,onChange:D},{name:"date_to",label:r("Date To"),type:"date",value:h,onChange:F}],showFilters:K,setShowFilters:P,hasActiveFilters:X,activeFilterCount:Y,onResetFilters:ae,onApplyFilters:E,currentPerPage:((I=m.per_page)==null?void 0:I.toString())||"10",onPerPageChange:e=>{u.get(route("hr.awards.index"),{page:1,per_page:parseInt(e),search:f||void 0,award_type_id:l!=="_empty_"?l:void 0,employee_id:n!=="_empty_"?n:void 0,date_from:_||void 0,date_to:h||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(fe,{columns:pe,actions:me,data:(p==null?void 0:p.data)||[],from:(p==null?void 0:p.from)||1,onAction:re,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:ee,permissions:b,entityPermissions:{view:"view-awards",create:"create-awards",edit:"edit-awards",delete:"delete-awards"}}),s.jsx(ye,{from:(p==null?void 0:p.from)||0,to:(p==null?void 0:p.to)||0,total:(p==null?void 0:p.total)||0,links:p==null?void 0:p.links,entityName:r("awards"),onPageChange:e=>u.get(e)})]}),s.jsx(_e,{isOpen:W,onClose:()=>w(!1),onSubmit:oe,formConfig:{fields:[{name:"employee_id",label:r("Employee"),type:"select",required:!0,searchable:!0,options:q.filter(e=>e.value!=="_empty_")},{name:"award_type_id",label:r("Award Type"),type:"select",required:!0,options:M.filter(e=>e.value!==""),searchable:!0},{name:"award_date",label:r("Award Date"),type:"date",required:!0},{name:"gift",label:r("Gift"),type:"text"},{name:"description",label:r("Description"),type:"textarea"},{name:"certificate",label:r("Certificate"),type:"custom",render:(e,i,o)=>s.jsx(H,{value:String(i[e.name]||""),onChange:y=>o(e.name,y),placeholder:r("Select certificate file...")})},{name:"photo",label:r("Photo"),type:"custom",render:(e,i,o)=>s.jsx(H,{value:String(i[e.name]||""),onChange:y=>o(e.name,y),placeholder:r("Select photo file...")})}],modalSize:"lg"},initialData:c,title:r(v==="create"?"Add New Award":"Edit Award"),mode:v}),s.jsx(he,{isOpen:Q,onClose:()=>g(!1),onConfirm:ie,itemName:`${((R=c==null?void 0:c.employee)==null?void 0:R.name)||""} - ${(($=c==null?void 0:c.award_type)==null?void 0:$.name)||""}`,entityName:"award"}),s.jsx(ue,{open:!!S,onOpenChange:()=>N(null),children:S&&s.jsx(ve,{award:S})})]})}export{po as default}; diff --git a/public/build/assets/index-rQIAl_IQ.js b/public/build/assets/index-DfzWmulD.js similarity index 90% rename from public/build/assets/index-rQIAl_IQ.js rename to public/build/assets/index-DfzWmulD.js index 8e0e80e13..44587bdd3 100644 --- a/public/build/assets/index-rQIAl_IQ.js +++ b/public/build/assets/index-DfzWmulD.js @@ -1 +1 @@ -import{r as o,j as e}from"./ui-Z445SNHD.js";import{P as Pe}from"./page-template-BTxLyiDA.js";import{u as qe,c as Ie,r as y,x as T,P as Me,C as E,l as A,D as He,t as r,o as z}from"./app-CfhhiFAk.js";import{C as Re}from"./CrudFormModal-DAR9q-oM.js";import{C as $e}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Ue}from"./pagination-D8A_HnL5.js";import{S as Be}from"./search-and-filter-bar-6Pp-FsiR.js";import{I as Ve}from"./ImportModal-CxDgVhxL.js";import ze from"./view-BFjj0TjT.js";import{C as L}from"./calendar-CfUpdaK5.js";import{F as Xe}from"./file-down-Dd8zePUY.js";import{F as Ge}from"./file-up-BGHgeTEG.js";import{C as pe}from"./circle-check-big-C5Cqj7-2.js";import{T as X}from"./triangle-alert-DGWTh17w.js";import{T as We}from"./trending-up-Bi4f72Tj.js";import{E as Je}from"./eye--FVGKpVp.js";import{S as Ke}from"./square-pen-bMHyT06o.js";import{T as Qe}from"./trash-2-C1NR_7Ss.js";import{L as Ye}from"./log-in-DDjMW0xI.js";import{L as Ze}from"./log-out-XdMMCWfW.js";import{C as G}from"./clock-CwFdn-oy.js";import{C as et}from"./circle-x-C1aiFLrz.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";import"./filter-uErFRSPT.js";import"./list-D0MAUZMV.js";import"./alert-DH0o7BP8.js";import"./info-D_4wnc_R.js";import"./download-Bk1k2_dW.js";import"./map-pin-BEMjKB1T.js";import"./monitor-CnIEqEUy.js";function ua(){var ne,ie,oe;const{t:a}=qe(),{auth:$,attendanceRecords:n,employees:j,branches:xe,filters:d={},hasSampleFile:ue,globalSettings:p,todayStats:c,leaveTypes:ge}=Ie().props,N=($==null?void 0:$.permissions)||[],[k,W]=o.useState(d.search||""),[x,J]=o.useState(d.employee_id||"all"),[f,K]=o.useState(d.branch_id||"all"),[u,Q]=o.useState(d.status||"all"),[w,Y]=o.useState(d.date_from||""),[_,Z]=o.useState(d.date_to||""),[he,ee]=o.useState(!1),[be,O]=o.useState(!1),[ye,U]=o.useState(!1),[fe,te]=o.useState(!1),[m,ae]=o.useState(null),[P,se]=o.useState("create"),[B,re]=o.useState(null),ve=()=>k!==""||x!=="all"||f!=="all"||u!=="all"||w!==""||_!=="",je=()=>(k?1:0)+(x!=="all"?1:0)+(f!=="all"?1:0)+(u!=="all"?1:0)+(w?1:0)+(_?1:0),Ne=t=>{t.preventDefault(),le()},le=()=>{y.get(route("hr.attendance-records.index"),{page:1,search:k||void 0,employee_id:x!=="all"?x:void 0,branch_id:f!=="all"?f:void 0,status:u!=="all"?u:void 0,date_from:w||void 0,date_to:_||void 0,per_page:d.per_page||9},{preserveState:!0,preserveScroll:!0})},V=(t,s)=>{switch(ae(s),t){case"view":re(s);break;case"edit":se("edit"),O(!0);break;case"delete":U(!0);break}},ke=()=>{ae(null),se("create"),O(!0)},we=t=>{P==="create"?(p!=null&&p.is_demo||r.loading(a("Creating attendance record...")),y.post(route("hr.attendance-records.store"),t,{onSuccess:s=>{O(!1),r.dismiss(),s.props.flash.success?r.success(a(s.props.flash.success)):s.props.flash.error&&r.error(a(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to create attendance record: ${Object.values(s).join(", ")}`)}})):P==="edit"&&(p!=null&&p.is_demo||r.loading(a("Updating attendance record...")),y.put(route("hr.attendance-records.update",m.id),t,{onSuccess:s=>{O(!1),r.dismiss(),s.props.flash.success?r.success(a(s.props.flash.success)):s.props.flash.error&&r.error(a(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to update attendance record: ${Object.values(s).join(", ")}`)}}))},_e=()=>{p!=null&&p.is_demo||r.loading(a("Deleting attendance record...")),y.delete(route("hr.attendance-records.destroy",m.id),{onSuccess:t=>{U(!1),r.dismiss(),t.props.flash.success?r.success(a(t.props.flash.success)):t.props.flash.error&&r.error(a(t.props.flash.error))},onError:t=>{r.dismiss(),typeof t=="string"?r.error(t):r.error(`Failed to delete attendance record: ${Object.values(t).join(", ")}`)}})},Se=()=>{W(""),J("all"),K("all"),Q("all"),Y(""),Z(""),ee(!1),y.get(route("hr.attendance-records.index"),{page:1,per_page:d.per_page||9},{preserveState:!0,preserveScroll:!0})},Ce=async()=>{try{const t=await fetch(route("hr.attendance-records.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!t.ok){const S=await t.json().catch(()=>({}));r.error(a(S.message||"Failed to export attendance records"));return}const s=await t.blob(),l=window.URL.createObjectURL(s),i=document.createElement("a");i.href=l,i.download=`attendance_records_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(l),document.body.removeChild(i)}catch{r.error(a("Failed to export attendance records"))}},q=[{label:a("Calendar View"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>y.get(route("hr.attendance-records.calendar"))}];T(N,"export-attendance-record")&&q.push({label:a("Export"),icon:e.jsx(Xe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:Ce}),T(N,"import-attendance-record")&&q.push({label:a("Import"),icon:e.jsx(Ge,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>te(!0)}),T(N,"create-attendance-records")&&q.push({label:a("Add Record"),icon:e.jsx(Me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ke()});const Te=[{title:a("Dashboard"),href:route("dashboard")},{title:a("Shift Management"),href:route("hr.attendance-records.index")},{title:a("Attendance Records")}];a("Employee"),a("Date"),a("Shift"),a("Clock In"),a("Clock Out"),a("Total Hours"),a("Overtime"),a("Status"),a("View"),a("Edit"),a("Delete");const Oe=[{value:"all",label:a("All Employees"),disabled:!0},...(j||[]).map(t=>({value:t.id.toString(),label:t.name}))],Fe=[{value:"all",label:a("All Branches")},...(xe||[]).map(t=>({value:t.id.toString(),label:t.name}))],De=[{value:"all",label:a("All Statuses"),disabled:!0},{value:"present",label:a("Present")},{value:"absent",label:a("Absent")},{value:"half_day",label:a("Half Day")},{value:"on_leave",label:a("On Leave")},{value:"holiday",label:a("Holiday")}],Ee=(n==null?void 0:n.total)||0,Ae=(t,s)=>{const l={present:{label:a("Present"),color:"bg-green-100 text-green-700 border-green-200",icon:pe},absent:{label:a("Absent"),color:"bg-red-100 text-red-700 border-red-200",icon:et},half_day:{label:a("Half Day"),color:"bg-yellow-100 text-yellow-700 border-yellow-200",icon:G},on_leave:{label:a("On Leave"),color:"bg-blue-100 text-blue-700 border-blue-200",icon:L},holiday:{label:a("Holiday"),color:"bg-purple-100 text-purple-700 border-purple-200",icon:L}};return l[t]||l.absent},Le=t=>{var S,I,M,b,v,H,C,F,D,g,h,R;const s=Ae(t.status),l=t.clock_in||t.clock_out,i=Number(t.total_hours||0);return e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4 hover:shadow-md hover:border-gray-300 dark:hover:border-gray-600 transition-all duration-200",children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsxs("div",{className:"relative",children:[(S=t.employee)!=null&&S.avatar?e.jsx("img",{src:t.employee.avatar,alt:((I=t.employee)==null?void 0:I.name)||"",className:"w-10 h-10 rounded-lg object-cover",onError:de=>{var me;de.currentTarget.style.display="none";const ce=(me=de.currentTarget.parentElement)==null?void 0:me.querySelector(".avatar-fallback");ce&&(ce.style.display="flex")}}):null,e.jsx("div",{className:`avatar-fallback w-10 h-10 rounded-lg bg-gray-100 dark:bg-gray-700 flex items-center justify-center text-gray-700 dark:text-gray-300 font-semibold text-sm${(M=t.employee)!=null&&M.avatar?" hidden":""}`,children:((H=(v=(b=t.employee)==null?void 0:b.name)==null?void 0:v.charAt(0))==null?void 0:H.toUpperCase())||"U"}),e.jsx("div",{className:`absolute -top-1 -right-1 w-3 h-3 rounded-full border-2 border-white dark:border-gray-800 ${t.status==="present"?"bg-green-500":t.status==="absent"?"bg-red-500":t.status==="half_day"?"bg-yellow-500":t.status==="on_leave"?"bg-blue-500":"bg-purple-500"}`})]}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white text-sm truncate",children:((C=t.employee)==null?void 0:C.name)||a("Unknown Employee")}),e.jsxs("div",{className:"flex items-center space-x-2 mt-1",children:[e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:((F=window.appSettings)==null?void 0:F.formatDateTimeSimple(t.date,!1))||new Date(t.date).toLocaleDateString()}),((D=t.shift)==null?void 0:D.name)&&e.jsx("span",{className:"text-xs font-medium px-2 py-0.5 rounded-full bg-gray-100 text-gray-600 dark:bg-gray-700 dark:text-gray-400 ring-1 ring-inset ring-gray-500/20",children:t.shift.name}),((h=(g=t.employee)==null?void 0:g.branch)==null?void 0:h.name)&&e.jsx("span",{className:"text-xs font-medium px-2 py-0.5 ml-1 rounded-full bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400 ring-1 ring-inset ring-blue-500/20",children:t.employee.branch.name})]})]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:`text-xs font-medium px-2 py-1 rounded ${t.status==="present"?"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400":t.status==="absent"?"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400":t.status==="half_day"?"bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400":t.status==="on_leave"?"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400":"bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-400"}`,children:s.label}),e.jsxs("div",{className:"flex items-center space-x-1",children:[T(N,"view-attendance-records")&&e.jsx(z,{variant:"ghost",size:"sm",onClick:()=>V("view",t),className:"h-8 w-8 p-0 text-blue-500",title:a("View Record"),children:e.jsx(Je,{className:"h-3.5 w-3.5"})}),T(N,"edit-attendance-records")&&e.jsx(z,{variant:"ghost",size:"sm",onClick:()=>V("edit",t),className:"h-8 w-8 p-0 text-amber-500",title:a("Edit Record"),children:e.jsx(Ke,{className:"h-3.5 w-3.5"})}),T(N,"delete-attendance-records")&&e.jsx(z,{variant:"ghost",size:"sm",onClick:()=>V("delete",t),className:"h-8 w-8 p-0 text-red-500",title:a("Delete Record"),children:e.jsx(Qe,{className:"h-3.5 w-3.5"})})]})]})]}),l?e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Ye,{className:"h-4 w-4 text-green-600"}),e.jsx("span",{className:"font-mono font-semibold text-gray-900 dark:text-white",children:window.appSettings.formatTime(t.clock_in)})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:a("Duration")}),e.jsxs("div",{className:"font-semibold text-gray-900 dark:text-white",children:[i.toFixed(1),"h"]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:"font-mono font-semibold text-gray-900 dark:text-white",children:window.appSettings.formatTime(t.clock_out)}),e.jsx(Ze,{className:"h-4 w-4 text-blue-600"})]})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"h-2 bg-gray-100 dark:bg-gray-700 rounded-full overflow-hidden",children:e.jsx("div",{className:`h-full rounded-full transition-all duration-500 ${i>=8?"bg-green-500":i>=6?"bg-blue-500":i>=4?"bg-yellow-500":i>0?"bg-orange-500":"bg-gray-400"}`,style:{width:`${Math.min(i/8*100,100)}%`}})}),e.jsxs("div",{className:"absolute top-0 left-0 right-0 flex justify-between",children:[e.jsx("div",{className:"w-0.5 h-2 bg-white dark:bg-gray-800 opacity-50",style:{marginLeft:"25%"}}),e.jsx("div",{className:"w-0.5 h-2 bg-white dark:bg-gray-800 opacity-50",style:{marginLeft:"25%"}}),e.jsx("div",{className:"w-0.5 h-2 bg-white dark:bg-gray-800 opacity-50",style:{marginLeft:"25%"}})]})]}),e.jsxs("div",{className:"flex items-center justify-between text-xs",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[t.is_late&&e.jsxs("span",{className:"inline-flex items-center text-red-600 dark:text-red-400",children:[e.jsx(X,{className:"h-3 w-3 mr-1"}),a("Late")]}),t.is_early_departure&&e.jsxs("span",{className:"inline-flex items-center text-orange-600 dark:text-orange-400",children:[e.jsx(G,{className:"h-3 w-3 mr-1"}),a("Early")]})]}),e.jsxs("div",{className:"flex items-center space-x-3",children:[t.overtime_hours>0&&e.jsxs("span",{className:"text-orange-600 dark:text-orange-400 font-medium",children:["+",Number(t.overtime_hours).toFixed(1),"h OT"]}),t.overtime_amount>0&&e.jsx("span",{className:"text-green-600 dark:text-green-400 font-medium",children:(R=window.appSettings)==null?void 0:R.formatCurrency(t.overtime_amount)})]})]})]}):e.jsxs("div",{className:"text-center py-4 text-gray-400 dark:text-gray-500 bg-gray-50 dark:bg-gray-700/30 rounded",children:[e.jsx(G,{className:"h-5 w-5 mx-auto mb-1"}),e.jsx("p",{className:"text-xs",children:a("No attendance recorded")})]}),t.notes&&e.jsx("div",{className:"mt-3 pt-3 border-t border-gray-200 dark:border-gray-700",children:e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 line-clamp-1",children:t.notes})})]},t.id)};return e.jsxs(Pe,{title:a("Attendance Records"),url:"/hr/attendance-records",actions:q,breadcrumbs:Te,noPadding:!0,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-6 p-4",children:e.jsx(Be,{searchTerm:k,onSearchChange:W,onSearch:Ne,filters:[{name:"employee_id",label:a("Employee"),type:"select",value:x,onChange:J,options:Oe,searchable:!0},{name:"branch_id",label:a("Branch"),type:"select",value:f,onChange:K,options:Fe,searchable:!0},{name:"status",label:a("Status"),type:"select",value:u,onChange:Q,options:De},{name:"date_from",label:a("Date From"),type:"date",value:w,onChange:Y},{name:"date_to",label:a("Date To"),type:"date",value:_,onChange:Z}],showFilters:he,setShowFilters:ee,hasActiveFilters:ve,activeFilterCount:je,onResetFilters:Se,onApplyFilters:le,currentPerPage:((ne=d.per_page)==null?void 0:ne.toString())||"9",onPerPageChange:t=>{y.get(route("hr.attendance-records.index"),{page:1,per_page:parseInt(t),search:k||void 0,employee_id:x!=="all"?x:void 0,branch_id:f!=="all"?f:void 0,status:u!=="all"?u:void 0,date_from:w||void 0,date_to:_||void 0},{preserveState:!0,preserveScroll:!0})},perPageOptions:[9,27,45,90]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-5 gap-4",children:[e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Total Records")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:Ee}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:a("All time")})]}),e.jsx("div",{className:"p-2 bg-gray-100 dark:bg-gray-700 rounded-lg",children:e.jsx(L,{className:"h-5 w-5 text-gray-600 dark:text-gray-400"})})]})})}),e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Present Today")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(c==null?void 0:c.present)??0}),e.jsx("p",{className:"text-xs text-green-600 font-medium",children:a("Today")})]}),e.jsx("div",{className:"p-2 bg-green-100 dark:bg-green-900/30 rounded-lg",children:e.jsx(pe,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("On Leave Today")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(c==null?void 0:c.on_leave)??0}),e.jsx("p",{className:"text-xs text-blue-600 font-medium",children:a("Today")})]}),e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900/30 rounded-lg",children:e.jsx(L,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Late Arrivals Today")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(c==null?void 0:c.late_arrivals)??0}),e.jsx("p",{className:"text-xs text-orange-600 font-medium",children:a("Today")})]}),e.jsx("div",{className:"p-2 bg-orange-100 dark:bg-orange-900/30 rounded-lg",children:e.jsx(X,{className:"h-5 w-5 text-orange-600 dark:text-orange-400"})})]})})}),e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Overtime Today")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(c==null?void 0:c.overtime)??0}),e.jsx("p",{className:"text-xs text-blue-600 font-medium",children:a("Today")})]}),e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900/30 rounded-lg",children:e.jsx(We,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4",children:(ie=n==null?void 0:n.data)==null?void 0:ie.map(t=>Le(t))}),e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow border border-gray-200 dark:border-gray-700 p-4",children:e.jsx(Ue,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:a("attendance records"),onPageChange:t=>{const s=new URL(t).searchParams.get("page");y.get(route("hr.attendance-records.index"),{page:s,per_page:d.per_page||9,search:k||void 0,employee_id:x!=="all"?x:void 0,status:u!=="all"?u:void 0,date_from:w||void 0,date_to:_||void 0,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}),e.jsx(Re,{isOpen:be,onClose:()=>O(!1),onSubmit:we,formConfig:{fields:[{name:"employee_id",label:a("Employee"),type:"select",required:!0,searchable:!0,options:j?j.map(t=>({value:t.id.toString(),label:t.name})):[]},{name:"date",label:a("Date"),type:"date",required:!0},{name:"status",label:a("Status"),type:"select",required:!0,options:[{value:"present",label:a("Present")},{value:"absent",label:a("Absent")},{value:"half_day",label:a("Half Day")},{value:"on_leave",label:a("On Leave")},{value:"holiday",label:a("Holiday")}]},{name:"clock_in",label:a("Clock In Time"),type:"time",required:!0,conditional:(t,s)=>!["absent","on_leave","holiday"].includes(s==null?void 0:s.status)},{name:"clock_out",label:a("Clock Out Time"),type:"time",required:!0,conditional:(t,s)=>!["absent","on_leave","holiday"].includes(s==null?void 0:s.status)},{name:"leave_type_id",label:a("Leave Type"),type:"select",required:!0,conditional:(t,s)=>(s==null?void 0:s.status)==="on_leave",options:(ge||[]).map(t=>({value:t.id.toString(),label:t.name}))},{name:"validation_warnings",label:"",type:"custom",conditional:(t,s)=>!["absent","on_leave","holiday"].includes(s==null?void 0:s.status)&&(s==null?void 0:s.clock_in)&&(s==null?void 0:s.clock_out)&&(s==null?void 0:s.employee_id),render:(t,s)=>{const l=j==null?void 0:j.find(g=>{var h;return g.id.toString()===((h=s.employee_id)==null?void 0:h.toString())});if(!l||!l.shift)return null;const i=l.shift.start_time,S=l.shift.end_time,I=s.clock_in,M=s.clock_out,b=[],v=g=>{if(!g)return 0;const[h,R]=g.split(":").map(Number);return h*60+(R||0)},H=v(I),C=v(M);v(i);const F=v(S),D=(C-H)/60;return D>0&&D<4&&b.push(a("Half Day: Employee worked less than 4 hours.")),CF&&b.push(a("Overtime: Clock out is later than shift end.")),b.length===0?null:e.jsx("div",{className:"bg-amber-50 border-l-4 border-amber-500 p-3 mt-2 rounded col-span-full",children:e.jsxs("div",{className:"flex items-start",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx(X,{className:"h-5 w-5 text-amber-500"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("p",{className:"text-sm text-amber-800 font-medium",children:a("Shift Validation Notice (Soft Block)")}),e.jsx("ul",{className:"mt-1 text-xs text-amber-700 list-disc list-inside space-y-1",children:b.map((g,h)=>e.jsx("li",{children:g},h))})]})]})})}},{name:"is_holiday",label:a("Holiday"),type:"checkbox",defaultValue:!1},{name:"notes",label:a("Notes"),type:"textarea"}],modalSize:"lg"},initialData:m?{...m,date:m.date?window.appSettings.formatDateTimeSimple(m.date,!1):m.date}:null,title:a(P==="create"?"Add New Attendance Record":"Edit Attendance Record"),mode:P}),e.jsx($e,{isOpen:ye,onClose:()=>U(!1),onConfirm:_e,itemName:((oe=m==null?void 0:m.employee)==null?void 0:oe.name)||"",entityName:"attendance record"}),e.jsx(Ve,{isOpen:fe,onClose:()=>te(!1),title:a("Import Attendance Records from CSV/Excel"),importRoute:"hr.attendance-records.import",parseRoute:"hr.attendance-records.parse",sampleRoute:ue?"hr.attendance-records.download.template":void 0,importNotes:a("Ensure that the employee names , shift & attedance policy must be match exactly with existing employees in your system."),modalSize:"xl",databaseFields:[{key:"employee",required:!0},{key:"date",required:!0},{key:"clock_in",required:!0},{key:"clock_out",required:!0}]}),e.jsx(He,{open:!!B,onOpenChange:()=>re(null),children:B&&e.jsx(ze,{record:B})})]})}export{ua as default}; +import{r as o,j as e}from"./ui-Z445SNHD.js";import{P as Pe}from"./page-template-CLNVC8w_.js";import{u as qe,c as Ie,r as y,x as T,P as Me,C as E,l as A,D as He,t as r,o as z}from"./app-Dya84jp7.js";import{C as Re}from"./CrudFormModal-CsuqSfb2.js";import{C as $e}from"./CrudDeleteModal-D32N6I8y.js";import{P as Ue}from"./pagination-4PUepASD.js";import{S as Be}from"./search-and-filter-bar-DWH0yn_r.js";import{I as Ve}from"./ImportModal-s55JxI6I.js";import ze from"./view-CNymHwlr.js";import{C as L}from"./calendar-DuRYaSj5.js";import{F as Xe}from"./file-down-DO17xCrw.js";import{F as Ge}from"./file-up-mHt_z-hD.js";import{C as pe}from"./circle-check-big-Cju4ilPH.js";import{T as X}from"./triangle-alert-CpPzdeiH.js";import{T as We}from"./trending-up-BT453ptk.js";import{E as Je}from"./eye-CCNnMtu4.js";import{S as Ke}from"./square-pen-CzdhbxyN.js";import{T as Qe}from"./trash-2-BeirBLIk.js";import{L as Ye}from"./log-in-3L4UHGsD.js";import{L as Ze}from"./log-out-M0Vyot5_.js";import{C as G}from"./clock-LnEFQ-vK.js";import{C as et}from"./circle-x-Dg5wGIim.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";import"./filter-BTHjyusi.js";import"./list-C_2fG_BT.js";import"./alert-CyJVNPY9.js";import"./info-CPi9bOGM.js";import"./download-BBNmalxc.js";import"./map-pin-DFWKFR9c.js";import"./monitor-BYgqmcKD.js";function ua(){var ne,ie,oe;const{t:a}=qe(),{auth:$,attendanceRecords:n,employees:j,branches:xe,filters:d={},hasSampleFile:ue,globalSettings:p,todayStats:c,leaveTypes:ge}=Ie().props,N=($==null?void 0:$.permissions)||[],[k,W]=o.useState(d.search||""),[x,J]=o.useState(d.employee_id||"all"),[f,K]=o.useState(d.branch_id||"all"),[u,Q]=o.useState(d.status||"all"),[w,Y]=o.useState(d.date_from||""),[_,Z]=o.useState(d.date_to||""),[he,ee]=o.useState(!1),[be,O]=o.useState(!1),[ye,U]=o.useState(!1),[fe,te]=o.useState(!1),[m,ae]=o.useState(null),[P,se]=o.useState("create"),[B,re]=o.useState(null),ve=()=>k!==""||x!=="all"||f!=="all"||u!=="all"||w!==""||_!=="",je=()=>(k?1:0)+(x!=="all"?1:0)+(f!=="all"?1:0)+(u!=="all"?1:0)+(w?1:0)+(_?1:0),Ne=t=>{t.preventDefault(),le()},le=()=>{y.get(route("hr.attendance-records.index"),{page:1,search:k||void 0,employee_id:x!=="all"?x:void 0,branch_id:f!=="all"?f:void 0,status:u!=="all"?u:void 0,date_from:w||void 0,date_to:_||void 0,per_page:d.per_page||9},{preserveState:!0,preserveScroll:!0})},V=(t,s)=>{switch(ae(s),t){case"view":re(s);break;case"edit":se("edit"),O(!0);break;case"delete":U(!0);break}},ke=()=>{ae(null),se("create"),O(!0)},we=t=>{P==="create"?(p!=null&&p.is_demo||r.loading(a("Creating attendance record...")),y.post(route("hr.attendance-records.store"),t,{onSuccess:s=>{O(!1),r.dismiss(),s.props.flash.success?r.success(a(s.props.flash.success)):s.props.flash.error&&r.error(a(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to create attendance record: ${Object.values(s).join(", ")}`)}})):P==="edit"&&(p!=null&&p.is_demo||r.loading(a("Updating attendance record...")),y.put(route("hr.attendance-records.update",m.id),t,{onSuccess:s=>{O(!1),r.dismiss(),s.props.flash.success?r.success(a(s.props.flash.success)):s.props.flash.error&&r.error(a(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to update attendance record: ${Object.values(s).join(", ")}`)}}))},_e=()=>{p!=null&&p.is_demo||r.loading(a("Deleting attendance record...")),y.delete(route("hr.attendance-records.destroy",m.id),{onSuccess:t=>{U(!1),r.dismiss(),t.props.flash.success?r.success(a(t.props.flash.success)):t.props.flash.error&&r.error(a(t.props.flash.error))},onError:t=>{r.dismiss(),typeof t=="string"?r.error(t):r.error(`Failed to delete attendance record: ${Object.values(t).join(", ")}`)}})},Se=()=>{W(""),J("all"),K("all"),Q("all"),Y(""),Z(""),ee(!1),y.get(route("hr.attendance-records.index"),{page:1,per_page:d.per_page||9},{preserveState:!0,preserveScroll:!0})},Ce=async()=>{try{const t=await fetch(route("hr.attendance-records.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!t.ok){const S=await t.json().catch(()=>({}));r.error(a(S.message||"Failed to export attendance records"));return}const s=await t.blob(),l=window.URL.createObjectURL(s),i=document.createElement("a");i.href=l,i.download=`attendance_records_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(l),document.body.removeChild(i)}catch{r.error(a("Failed to export attendance records"))}},q=[{label:a("Calendar View"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>y.get(route("hr.attendance-records.calendar"))}];T(N,"export-attendance-record")&&q.push({label:a("Export"),icon:e.jsx(Xe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:Ce}),T(N,"import-attendance-record")&&q.push({label:a("Import"),icon:e.jsx(Ge,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>te(!0)}),T(N,"create-attendance-records")&&q.push({label:a("Add Record"),icon:e.jsx(Me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ke()});const Te=[{title:a("Dashboard"),href:route("dashboard")},{title:a("Shift Management"),href:route("hr.attendance-records.index")},{title:a("Attendance Records")}];a("Employee"),a("Date"),a("Shift"),a("Clock In"),a("Clock Out"),a("Total Hours"),a("Overtime"),a("Status"),a("View"),a("Edit"),a("Delete");const Oe=[{value:"all",label:a("All Employees"),disabled:!0},...(j||[]).map(t=>({value:t.id.toString(),label:t.name}))],Fe=[{value:"all",label:a("All Branches")},...(xe||[]).map(t=>({value:t.id.toString(),label:t.name}))],De=[{value:"all",label:a("All Statuses"),disabled:!0},{value:"present",label:a("Present")},{value:"absent",label:a("Absent")},{value:"half_day",label:a("Half Day")},{value:"on_leave",label:a("On Leave")},{value:"holiday",label:a("Holiday")}],Ee=(n==null?void 0:n.total)||0,Ae=(t,s)=>{const l={present:{label:a("Present"),color:"bg-green-100 text-green-700 border-green-200",icon:pe},absent:{label:a("Absent"),color:"bg-red-100 text-red-700 border-red-200",icon:et},half_day:{label:a("Half Day"),color:"bg-yellow-100 text-yellow-700 border-yellow-200",icon:G},on_leave:{label:a("On Leave"),color:"bg-blue-100 text-blue-700 border-blue-200",icon:L},holiday:{label:a("Holiday"),color:"bg-purple-100 text-purple-700 border-purple-200",icon:L}};return l[t]||l.absent},Le=t=>{var S,I,M,b,v,H,C,F,D,g,h,R;const s=Ae(t.status),l=t.clock_in||t.clock_out,i=Number(t.total_hours||0);return e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4 hover:shadow-md hover:border-gray-300 dark:hover:border-gray-600 transition-all duration-200",children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsxs("div",{className:"relative",children:[(S=t.employee)!=null&&S.avatar?e.jsx("img",{src:t.employee.avatar,alt:((I=t.employee)==null?void 0:I.name)||"",className:"w-10 h-10 rounded-lg object-cover",onError:de=>{var me;de.currentTarget.style.display="none";const ce=(me=de.currentTarget.parentElement)==null?void 0:me.querySelector(".avatar-fallback");ce&&(ce.style.display="flex")}}):null,e.jsx("div",{className:`avatar-fallback w-10 h-10 rounded-lg bg-gray-100 dark:bg-gray-700 flex items-center justify-center text-gray-700 dark:text-gray-300 font-semibold text-sm${(M=t.employee)!=null&&M.avatar?" hidden":""}`,children:((H=(v=(b=t.employee)==null?void 0:b.name)==null?void 0:v.charAt(0))==null?void 0:H.toUpperCase())||"U"}),e.jsx("div",{className:`absolute -top-1 -right-1 w-3 h-3 rounded-full border-2 border-white dark:border-gray-800 ${t.status==="present"?"bg-green-500":t.status==="absent"?"bg-red-500":t.status==="half_day"?"bg-yellow-500":t.status==="on_leave"?"bg-blue-500":"bg-purple-500"}`})]}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white text-sm truncate",children:((C=t.employee)==null?void 0:C.name)||a("Unknown Employee")}),e.jsxs("div",{className:"flex items-center space-x-2 mt-1",children:[e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:((F=window.appSettings)==null?void 0:F.formatDateTimeSimple(t.date,!1))||new Date(t.date).toLocaleDateString()}),((D=t.shift)==null?void 0:D.name)&&e.jsx("span",{className:"text-xs font-medium px-2 py-0.5 rounded-full bg-gray-100 text-gray-600 dark:bg-gray-700 dark:text-gray-400 ring-1 ring-inset ring-gray-500/20",children:t.shift.name}),((h=(g=t.employee)==null?void 0:g.branch)==null?void 0:h.name)&&e.jsx("span",{className:"text-xs font-medium px-2 py-0.5 ml-1 rounded-full bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400 ring-1 ring-inset ring-blue-500/20",children:t.employee.branch.name})]})]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:`text-xs font-medium px-2 py-1 rounded ${t.status==="present"?"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400":t.status==="absent"?"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400":t.status==="half_day"?"bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400":t.status==="on_leave"?"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400":"bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-400"}`,children:s.label}),e.jsxs("div",{className:"flex items-center space-x-1",children:[T(N,"view-attendance-records")&&e.jsx(z,{variant:"ghost",size:"sm",onClick:()=>V("view",t),className:"h-8 w-8 p-0 text-blue-500",title:a("View Record"),children:e.jsx(Je,{className:"h-3.5 w-3.5"})}),T(N,"edit-attendance-records")&&e.jsx(z,{variant:"ghost",size:"sm",onClick:()=>V("edit",t),className:"h-8 w-8 p-0 text-amber-500",title:a("Edit Record"),children:e.jsx(Ke,{className:"h-3.5 w-3.5"})}),T(N,"delete-attendance-records")&&e.jsx(z,{variant:"ghost",size:"sm",onClick:()=>V("delete",t),className:"h-8 w-8 p-0 text-red-500",title:a("Delete Record"),children:e.jsx(Qe,{className:"h-3.5 w-3.5"})})]})]})]}),l?e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Ye,{className:"h-4 w-4 text-green-600"}),e.jsx("span",{className:"font-mono font-semibold text-gray-900 dark:text-white",children:window.appSettings.formatTime(t.clock_in)})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:a("Duration")}),e.jsxs("div",{className:"font-semibold text-gray-900 dark:text-white",children:[i.toFixed(1),"h"]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:"font-mono font-semibold text-gray-900 dark:text-white",children:window.appSettings.formatTime(t.clock_out)}),e.jsx(Ze,{className:"h-4 w-4 text-blue-600"})]})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"h-2 bg-gray-100 dark:bg-gray-700 rounded-full overflow-hidden",children:e.jsx("div",{className:`h-full rounded-full transition-all duration-500 ${i>=8?"bg-green-500":i>=6?"bg-blue-500":i>=4?"bg-yellow-500":i>0?"bg-orange-500":"bg-gray-400"}`,style:{width:`${Math.min(i/8*100,100)}%`}})}),e.jsxs("div",{className:"absolute top-0 left-0 right-0 flex justify-between",children:[e.jsx("div",{className:"w-0.5 h-2 bg-white dark:bg-gray-800 opacity-50",style:{marginLeft:"25%"}}),e.jsx("div",{className:"w-0.5 h-2 bg-white dark:bg-gray-800 opacity-50",style:{marginLeft:"25%"}}),e.jsx("div",{className:"w-0.5 h-2 bg-white dark:bg-gray-800 opacity-50",style:{marginLeft:"25%"}})]})]}),e.jsxs("div",{className:"flex items-center justify-between text-xs",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[t.is_late&&e.jsxs("span",{className:"inline-flex items-center text-red-600 dark:text-red-400",children:[e.jsx(X,{className:"h-3 w-3 mr-1"}),a("Late")]}),t.is_early_departure&&e.jsxs("span",{className:"inline-flex items-center text-orange-600 dark:text-orange-400",children:[e.jsx(G,{className:"h-3 w-3 mr-1"}),a("Early")]})]}),e.jsxs("div",{className:"flex items-center space-x-3",children:[t.overtime_hours>0&&e.jsxs("span",{className:"text-orange-600 dark:text-orange-400 font-medium",children:["+",Number(t.overtime_hours).toFixed(1),"h OT"]}),t.overtime_amount>0&&e.jsx("span",{className:"text-green-600 dark:text-green-400 font-medium",children:(R=window.appSettings)==null?void 0:R.formatCurrency(t.overtime_amount)})]})]})]}):e.jsxs("div",{className:"text-center py-4 text-gray-400 dark:text-gray-500 bg-gray-50 dark:bg-gray-700/30 rounded",children:[e.jsx(G,{className:"h-5 w-5 mx-auto mb-1"}),e.jsx("p",{className:"text-xs",children:a("No attendance recorded")})]}),t.notes&&e.jsx("div",{className:"mt-3 pt-3 border-t border-gray-200 dark:border-gray-700",children:e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 line-clamp-1",children:t.notes})})]},t.id)};return e.jsxs(Pe,{title:a("Attendance Records"),url:"/hr/attendance-records",actions:q,breadcrumbs:Te,noPadding:!0,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-6 p-4",children:e.jsx(Be,{searchTerm:k,onSearchChange:W,onSearch:Ne,filters:[{name:"employee_id",label:a("Employee"),type:"select",value:x,onChange:J,options:Oe,searchable:!0},{name:"branch_id",label:a("Branch"),type:"select",value:f,onChange:K,options:Fe,searchable:!0},{name:"status",label:a("Status"),type:"select",value:u,onChange:Q,options:De},{name:"date_from",label:a("Date From"),type:"date",value:w,onChange:Y},{name:"date_to",label:a("Date To"),type:"date",value:_,onChange:Z}],showFilters:he,setShowFilters:ee,hasActiveFilters:ve,activeFilterCount:je,onResetFilters:Se,onApplyFilters:le,currentPerPage:((ne=d.per_page)==null?void 0:ne.toString())||"9",onPerPageChange:t=>{y.get(route("hr.attendance-records.index"),{page:1,per_page:parseInt(t),search:k||void 0,employee_id:x!=="all"?x:void 0,branch_id:f!=="all"?f:void 0,status:u!=="all"?u:void 0,date_from:w||void 0,date_to:_||void 0},{preserveState:!0,preserveScroll:!0})},perPageOptions:[9,27,45,90]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-5 gap-4",children:[e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Total Records")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:Ee}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:a("All time")})]}),e.jsx("div",{className:"p-2 bg-gray-100 dark:bg-gray-700 rounded-lg",children:e.jsx(L,{className:"h-5 w-5 text-gray-600 dark:text-gray-400"})})]})})}),e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Present Today")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(c==null?void 0:c.present)??0}),e.jsx("p",{className:"text-xs text-green-600 font-medium",children:a("Today")})]}),e.jsx("div",{className:"p-2 bg-green-100 dark:bg-green-900/30 rounded-lg",children:e.jsx(pe,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("On Leave Today")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(c==null?void 0:c.on_leave)??0}),e.jsx("p",{className:"text-xs text-blue-600 font-medium",children:a("Today")})]}),e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900/30 rounded-lg",children:e.jsx(L,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Late Arrivals Today")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(c==null?void 0:c.late_arrivals)??0}),e.jsx("p",{className:"text-xs text-orange-600 font-medium",children:a("Today")})]}),e.jsx("div",{className:"p-2 bg-orange-100 dark:bg-orange-900/30 rounded-lg",children:e.jsx(X,{className:"h-5 w-5 text-orange-600 dark:text-orange-400"})})]})})}),e.jsx(E,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(A,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Overtime Today")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(c==null?void 0:c.overtime)??0}),e.jsx("p",{className:"text-xs text-blue-600 font-medium",children:a("Today")})]}),e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900/30 rounded-lg",children:e.jsx(We,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4",children:(ie=n==null?void 0:n.data)==null?void 0:ie.map(t=>Le(t))}),e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow border border-gray-200 dark:border-gray-700 p-4",children:e.jsx(Ue,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:a("attendance records"),onPageChange:t=>{const s=new URL(t).searchParams.get("page");y.get(route("hr.attendance-records.index"),{page:s,per_page:d.per_page||9,search:k||void 0,employee_id:x!=="all"?x:void 0,status:u!=="all"?u:void 0,date_from:w||void 0,date_to:_||void 0,sort_field:d.sort_field||void 0,sort_direction:d.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}),e.jsx(Re,{isOpen:be,onClose:()=>O(!1),onSubmit:we,formConfig:{fields:[{name:"employee_id",label:a("Employee"),type:"select",required:!0,searchable:!0,options:j?j.map(t=>({value:t.id.toString(),label:t.name})):[]},{name:"date",label:a("Date"),type:"date",required:!0},{name:"status",label:a("Status"),type:"select",required:!0,options:[{value:"present",label:a("Present")},{value:"absent",label:a("Absent")},{value:"half_day",label:a("Half Day")},{value:"on_leave",label:a("On Leave")},{value:"holiday",label:a("Holiday")}]},{name:"clock_in",label:a("Clock In Time"),type:"time",required:!0,conditional:(t,s)=>!["absent","on_leave","holiday"].includes(s==null?void 0:s.status)},{name:"clock_out",label:a("Clock Out Time"),type:"time",required:!0,conditional:(t,s)=>!["absent","on_leave","holiday"].includes(s==null?void 0:s.status)},{name:"leave_type_id",label:a("Leave Type"),type:"select",required:!0,conditional:(t,s)=>(s==null?void 0:s.status)==="on_leave",options:(ge||[]).map(t=>({value:t.id.toString(),label:t.name}))},{name:"validation_warnings",label:"",type:"custom",conditional:(t,s)=>!["absent","on_leave","holiday"].includes(s==null?void 0:s.status)&&(s==null?void 0:s.clock_in)&&(s==null?void 0:s.clock_out)&&(s==null?void 0:s.employee_id),render:(t,s)=>{const l=j==null?void 0:j.find(g=>{var h;return g.id.toString()===((h=s.employee_id)==null?void 0:h.toString())});if(!l||!l.shift)return null;const i=l.shift.start_time,S=l.shift.end_time,I=s.clock_in,M=s.clock_out,b=[],v=g=>{if(!g)return 0;const[h,R]=g.split(":").map(Number);return h*60+(R||0)},H=v(I),C=v(M);v(i);const F=v(S),D=(C-H)/60;return D>0&&D<4&&b.push(a("Half Day: Employee worked less than 4 hours.")),CF&&b.push(a("Overtime: Clock out is later than shift end.")),b.length===0?null:e.jsx("div",{className:"bg-amber-50 border-l-4 border-amber-500 p-3 mt-2 rounded col-span-full",children:e.jsxs("div",{className:"flex items-start",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx(X,{className:"h-5 w-5 text-amber-500"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("p",{className:"text-sm text-amber-800 font-medium",children:a("Shift Validation Notice (Soft Block)")}),e.jsx("ul",{className:"mt-1 text-xs text-amber-700 list-disc list-inside space-y-1",children:b.map((g,h)=>e.jsx("li",{children:g},h))})]})]})})}},{name:"is_holiday",label:a("Holiday"),type:"checkbox",defaultValue:!1},{name:"notes",label:a("Notes"),type:"textarea"}],modalSize:"lg"},initialData:m?{...m,date:m.date?window.appSettings.formatDateTimeSimple(m.date,!1):m.date}:null,title:a(P==="create"?"Add New Attendance Record":"Edit Attendance Record"),mode:P}),e.jsx($e,{isOpen:ye,onClose:()=>U(!1),onConfirm:_e,itemName:((oe=m==null?void 0:m.employee)==null?void 0:oe.name)||"",entityName:"attendance record"}),e.jsx(Ve,{isOpen:fe,onClose:()=>te(!1),title:a("Import Attendance Records from CSV/Excel"),importRoute:"hr.attendance-records.import",parseRoute:"hr.attendance-records.parse",sampleRoute:ue?"hr.attendance-records.download.template":void 0,importNotes:a("Ensure that the employee names , shift & attedance policy must be match exactly with existing employees in your system."),modalSize:"xl",databaseFields:[{key:"employee",required:!0},{key:"date",required:!0},{key:"clock_in",required:!0},{key:"clock_out",required:!0}]}),e.jsx(He,{open:!!B,onOpenChange:()=>re(null),children:B&&e.jsx(ze,{record:B})})]})}export{ua as default}; diff --git a/public/build/assets/index-nGhUNfeM.js b/public/build/assets/index-DhqFHF6S.js similarity index 57% rename from public/build/assets/index-nGhUNfeM.js rename to public/build/assets/index-DhqFHF6S.js index bc1441e7d..9f0893d33 100644 --- a/public/build/assets/index-nGhUNfeM.js +++ b/public/build/assets/index-DhqFHF6S.js @@ -1 +1 @@ -import{r as d,j as p}from"./ui-Z445SNHD.js";import{P as W}from"./page-template-BTxLyiDA.js";import{u as $,c as z,t as y,r as _}from"./app-CfhhiFAk.js";import{C as H}from"./CrudTable-qPWooc10.js";import{P as J}from"./pagination-D8A_HnL5.js";import{S as K}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function Fr(){var F;const{t:r}=$(),{auth:f,payslips:o,employees:j,filters:a={},flash:s,globalSettings:m}=z().props,k=(f==null?void 0:f.permissions)||[];d.useEffect(()=>{s!=null&&s.error&&y.error(r(s.error)),s!=null&&s.success&&y.success(r(s.success))},[s]);const[c,v]=d.useState(a.search||""),[l,S]=d.useState(a.employee_id||"all"),[n,w]=d.useState(a.status||"all"),[u,b]=d.useState(a.date_from||""),[g,x]=d.useState(a.date_to||""),[C,P]=d.useState(!1),T=()=>c!==""||l!=="all"||n!=="all"||u!==""||g!=="",N=()=>(c?1:0)+(l!=="all"?1:0)+(n!=="all"?1:0)+(u?1:0)+(g?1:0),A=e=>{e.preventDefault(),D()},D=()=>{_.get(route("hr.payslips.index"),{page:1,search:c||void 0,employee_id:l!=="all"?l:void 0,status:n!=="all"?n:void 0,date_from:u||void 0,date_to:g||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},E=e=>{const t=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";_.get(route("hr.payslips.index"),{sort_field:e,sort_direction:t,page:1,search:c||void 0,employee_id:l!=="all"?l:void 0,status:n!=="all"?n:void 0,date_from:u||void 0,date_to:g||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},L=(e,t)=>{switch(e){case"download":O(t);break}},O=e=>{m!=null&&m.is_demo||y.loading(r("Downloading payslip...")),fetch(route("hr.payslips.download",e.id)).then(t=>t.ok?t.text():t.json().then(i=>{throw new Error(i.error||"Failed to download payslip")})).then(t=>{m!=null&&m.is_demo||y.dismiss();const i=window.open("","_blank");i&&(i.document.write(t),i.document.close(),setTimeout(()=>{i.print()},500))}).catch(t=>{m!=null&&m.is_demo||y.dismiss(),y.error(r(t.message))})},R=()=>{v(""),S("all"),w("all"),b(""),x(""),P(!1),_.get(route("hr.payslips.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},G=[],q=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Payroll Management"),href:route("hr.payslips.index")},{title:r("Payslips")}],B=[{key:"payslip_number",label:r("Payslip Number"),sortable:!0,render:e=>p.jsx("span",{className:"font-mono text-blue-600",children:e})},{key:"employee",label:r("Employee"),render:(e,t)=>{var i;return((i=t.employee)==null?void 0:i.name)||"-"}},{key:"pay_period",label:r("Pay Period"),render:(e,t)=>{var i,h;return p.jsxs("div",{className:"text-sm",children:[p.jsx("div",{children:((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(t.pay_period_start,!1))||new Date(t.pay_period_start).toLocaleDateString()}),p.jsxs("div",{className:"text-gray-500",children:["to ",((h=window.appSettings)==null?void 0:h.formatDateTimeSimple(t.pay_period_end,!1))||new Date(t.pay_period_end).toLocaleDateString()]})]})}},{key:"pay_date",label:r("Pay Date"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"net_pay",label:r("Net Pay"),render:(e,t)=>{var i,h;return p.jsx("span",{className:"font-mono text-green-600",children:(h=window.appSettings)==null?void 0:h.formatCurrency(((i=t.payroll_entry)==null?void 0:i.net_pay)||0)})}},{key:"status",label:r("Status"),render:e=>{const t={generated:"bg-blue-50 text-blue-700 ring-blue-600/20",sent:"bg-green-50 text-green-700 ring-green-600/20",downloaded:"bg-purple-50 text-purple-700 ring-purple-600/20"};return p.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t[e]}`,children:r(e.charAt(0).toUpperCase()+e.slice(1))})}},{key:"created_at",label:r("Generated On"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],I=[{label:r("Download PDF"),icon:"Download",action:"download",className:"text-blue-500",requiredPermission:"download-payslips"}],M=[{value:"all",label:r("All Employees")},...(j||[]).map(e=>({value:e.id.toString(),label:e.name}))],U=[{value:"all",label:r("All Statuses")},{value:"generated",label:r("Generated")},{value:"sent",label:r("Sent")},{value:"downloaded",label:r("Downloaded")}];return p.jsxs(W,{title:r("Payslips"),url:"/hr/payslips",actions:G,breadcrumbs:q,noPadding:!0,children:[p.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:p.jsx(K,{searchTerm:c,onSearchChange:v,onSearch:A,filters:[{name:"employee_id",label:r("Employee"),type:"select",value:l,onChange:S,options:M},{name:"status",label:r("Status"),type:"select",value:n,onChange:w,options:U},{name:"date_from",label:r("Period From"),type:"date",value:u,onChange:b},{name:"date_to",label:r("Period To"),type:"date",value:g,onChange:x}],showFilters:C,setShowFilters:P,hasActiveFilters:T,activeFilterCount:N,onResetFilters:R,onApplyFilters:D,currentPerPage:((F=a.per_page)==null?void 0:F.toString())||"10",onPerPageChange:e=>{_.get(route("hr.payslips.index"),{page:1,per_page:parseInt(e),search:c||void 0,employee_id:l!=="all"?l:void 0,status:n!=="all"?n:void 0,date_from:u||void 0,date_to:g||void 0},{preserveState:!0,preserveScroll:!0})}})}),p.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[p.jsx(H,{columns:B,actions:I,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:L,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:E,permissions:k,entityPermissions:{view:"view-payslips",create:"create-payslips",edit:"edit-payslips",delete:"delete-payslips"}}),p.jsx(J,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:r("payslips"),onPageChange:e=>_.get(e)})]})]})}export{Fr as default}; +import{r as d,j as p}from"./ui-Z445SNHD.js";import{P as W}from"./page-template-CLNVC8w_.js";import{u as $,c as z,t as y,r as _}from"./app-Dya84jp7.js";import{C as H}from"./CrudTable-yqxtM6E_.js";import{P as J}from"./pagination-4PUepASD.js";import{S as K}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function Fr(){var F;const{t:r}=$(),{auth:f,payslips:o,employees:j,filters:a={},flash:s,globalSettings:m}=z().props,k=(f==null?void 0:f.permissions)||[];d.useEffect(()=>{s!=null&&s.error&&y.error(r(s.error)),s!=null&&s.success&&y.success(r(s.success))},[s]);const[c,v]=d.useState(a.search||""),[l,S]=d.useState(a.employee_id||"all"),[n,w]=d.useState(a.status||"all"),[u,b]=d.useState(a.date_from||""),[g,x]=d.useState(a.date_to||""),[C,P]=d.useState(!1),T=()=>c!==""||l!=="all"||n!=="all"||u!==""||g!=="",N=()=>(c?1:0)+(l!=="all"?1:0)+(n!=="all"?1:0)+(u?1:0)+(g?1:0),A=e=>{e.preventDefault(),D()},D=()=>{_.get(route("hr.payslips.index"),{page:1,search:c||void 0,employee_id:l!=="all"?l:void 0,status:n!=="all"?n:void 0,date_from:u||void 0,date_to:g||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},E=e=>{const t=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";_.get(route("hr.payslips.index"),{sort_field:e,sort_direction:t,page:1,search:c||void 0,employee_id:l!=="all"?l:void 0,status:n!=="all"?n:void 0,date_from:u||void 0,date_to:g||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},L=(e,t)=>{switch(e){case"download":O(t);break}},O=e=>{m!=null&&m.is_demo||y.loading(r("Downloading payslip...")),fetch(route("hr.payslips.download",e.id)).then(t=>t.ok?t.text():t.json().then(i=>{throw new Error(i.error||"Failed to download payslip")})).then(t=>{m!=null&&m.is_demo||y.dismiss();const i=window.open("","_blank");i&&(i.document.write(t),i.document.close(),setTimeout(()=>{i.print()},500))}).catch(t=>{m!=null&&m.is_demo||y.dismiss(),y.error(r(t.message))})},R=()=>{v(""),S("all"),w("all"),b(""),x(""),P(!1),_.get(route("hr.payslips.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},G=[],q=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Payroll Management"),href:route("hr.payslips.index")},{title:r("Payslips")}],B=[{key:"payslip_number",label:r("Payslip Number"),sortable:!0,render:e=>p.jsx("span",{className:"font-mono text-blue-600",children:e})},{key:"employee",label:r("Employee"),render:(e,t)=>{var i;return((i=t.employee)==null?void 0:i.name)||"-"}},{key:"pay_period",label:r("Pay Period"),render:(e,t)=>{var i,h;return p.jsxs("div",{className:"text-sm",children:[p.jsx("div",{children:((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(t.pay_period_start,!1))||new Date(t.pay_period_start).toLocaleDateString()}),p.jsxs("div",{className:"text-gray-500",children:["to ",((h=window.appSettings)==null?void 0:h.formatDateTimeSimple(t.pay_period_end,!1))||new Date(t.pay_period_end).toLocaleDateString()]})]})}},{key:"pay_date",label:r("Pay Date"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"net_pay",label:r("Net Pay"),render:(e,t)=>{var i,h;return p.jsx("span",{className:"font-mono text-green-600",children:(h=window.appSettings)==null?void 0:h.formatCurrency(((i=t.payroll_entry)==null?void 0:i.net_pay)||0)})}},{key:"status",label:r("Status"),render:e=>{const t={generated:"bg-blue-50 text-blue-700 ring-blue-600/20",sent:"bg-green-50 text-green-700 ring-green-600/20",downloaded:"bg-purple-50 text-purple-700 ring-purple-600/20"};return p.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t[e]}`,children:r(e.charAt(0).toUpperCase()+e.slice(1))})}},{key:"created_at",label:r("Generated On"),sortable:!0,render:e=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],I=[{label:r("Download PDF"),icon:"Download",action:"download",className:"text-blue-500",requiredPermission:"download-payslips"}],M=[{value:"all",label:r("All Employees")},...(j||[]).map(e=>({value:e.id.toString(),label:e.name}))],U=[{value:"all",label:r("All Statuses")},{value:"generated",label:r("Generated")},{value:"sent",label:r("Sent")},{value:"downloaded",label:r("Downloaded")}];return p.jsxs(W,{title:r("Payslips"),url:"/hr/payslips",actions:G,breadcrumbs:q,noPadding:!0,children:[p.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:p.jsx(K,{searchTerm:c,onSearchChange:v,onSearch:A,filters:[{name:"employee_id",label:r("Employee"),type:"select",value:l,onChange:S,options:M},{name:"status",label:r("Status"),type:"select",value:n,onChange:w,options:U},{name:"date_from",label:r("Period From"),type:"date",value:u,onChange:b},{name:"date_to",label:r("Period To"),type:"date",value:g,onChange:x}],showFilters:C,setShowFilters:P,hasActiveFilters:T,activeFilterCount:N,onResetFilters:R,onApplyFilters:D,currentPerPage:((F=a.per_page)==null?void 0:F.toString())||"10",onPerPageChange:e=>{_.get(route("hr.payslips.index"),{page:1,per_page:parseInt(e),search:c||void 0,employee_id:l!=="all"?l:void 0,status:n!=="all"?n:void 0,date_from:u||void 0,date_to:g||void 0},{preserveState:!0,preserveScroll:!0})}})}),p.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[p.jsx(H,{columns:B,actions:I,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:L,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:E,permissions:k,entityPermissions:{view:"view-payslips",create:"create-payslips",edit:"edit-payslips",delete:"delete-payslips"}}),p.jsx(J,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:r("payslips"),onPageChange:e=>_.get(e)})]})]})}export{Fr as default}; diff --git a/public/build/assets/index-ClFA5pLD.js b/public/build/assets/index-DmVtcg0V.js similarity index 71% rename from public/build/assets/index-ClFA5pLD.js rename to public/build/assets/index-DmVtcg0V.js index 78050807c..9c89ea318 100644 --- a/public/build/assets/index-ClFA5pLD.js +++ b/public/build/assets/index-DmVtcg0V.js @@ -1 +1 @@ -import{r as c,j as i}from"./ui-Z445SNHD.js";import{P as fe}from"./page-template-BTxLyiDA.js";import{u as we,c as be,x as he,P as ge,r as h,D as _e,t as n}from"./app-CfhhiFAk.js";import{C as ye}from"./CrudTable-qPWooc10.js";import{C as xe}from"./CrudFormModal-DAR9q-oM.js";import{C as Se}from"./CrudDeleteModal-CKTiD3_K.js";import{P as je}from"./pagination-D8A_HnL5.js";import{S as ke}from"./search-and-filter-bar-6Pp-FsiR.js";import Ne from"./view-gAlNzHTp.js";import{S as Ce,a as Ie,b as Re,c as Fe,d as Pe}from"./select-BrY9osYp.js";import{S as y}from"./star-DQsTg5F1.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./index-BdQq_4o_.js";import"./leaflet-ChJqBZBV.js";function N({value:t,onChange:_,disabled:s}){const[C,g]=c.useState(0),m=C||t;return i.jsxs("div",{className:"flex items-center gap-0.5",children:[[1,2,3,4,5].map(d=>{const u=m>=d,j=!u&&m>=d-.5;return i.jsxs("div",{className:"relative h-7 w-7",children:[i.jsx(y,{className:"h-7 w-7 fill-none text-gray-300"}),j&&i.jsx("div",{className:"absolute inset-0 overflow-hidden",style:{width:"50%"},children:i.jsx(y,{className:"h-7 w-7 fill-yellow-400 text-yellow-400"})}),u&&i.jsx("div",{className:"absolute inset-0",children:i.jsx(y,{className:"h-7 w-7 fill-yellow-400 text-yellow-400"})}),i.jsx("div",{className:`absolute inset-y-0 left-0 w-1/2 ${s?"cursor-default":"cursor-pointer"}`,onMouseEnter:()=>!s&&g(d-.5),onMouseLeave:()=>!s&&g(0),onClick:()=>!s&&_(d-.5)}),i.jsx("div",{className:`absolute inset-y-0 right-0 w-1/2 ${s?"cursor-default":"cursor-pointer"}`,onMouseEnter:()=>!s&&g(d),onMouseLeave:()=>!s&&g(0),onClick:()=>!s&&_(d)})]},d)}),t>0&&i.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:[t,"/5"]})]})}function bi(){var q,L,z,W,X,B,G;const{t}=we(),{auth:_,interviewFeedback:s,interviews:C,interviewers:g,filters:m={}}=be().props,d=(_==null?void 0:_.permissions)||[],[u,j]=c.useState(m.search||""),[v,F]=c.useState(m.recommendation||"_empty_"),[f,P]=c.useState(m.interviewer_id||"_empty_"),[Q,M]=c.useState(!1),[Y,I]=c.useState(!1),[Z,x]=c.useState(!1),[p,A]=c.useState(null),[w,O]=c.useState("create"),[R,$]=c.useState(null),[ee,b]=c.useState([]),[k,S]=c.useState(""),E=async(e,r=!0)=>{if(r&&b([]),e&&e!=="_empty_")try{const a=await(await fetch(route("hr.recruitment.interview-feedback.get-interviewers",e),{method:"GET",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}})).json();b(a||[])}catch(o){console.error("Error fetching interviewers:",o),b([])}else b([])},te=()=>v!=="_empty_"||f!=="_empty_"||u!=="",re=()=>(v!=="_empty_"?1:0)+(f!=="_empty_"?1:0)+(u!==""?1:0),ie=e=>{e.preventDefault(),H()},H=()=>{h.get(route("hr.recruitment.interview-feedback.index"),{page:1,search:u||void 0,recommendation:v!=="_empty_"?v:void 0,interviewer_id:f!=="_empty_"?f:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},se=e=>{const r=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";h.get(route("hr.recruitment.interview-feedback.index"),{sort_field:e,sort_direction:r,page:1,search:u||void 0,recommendation:v!=="_empty_"?v:void 0,interviewer_id:f!=="_empty_"?f:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},oe=async(e,r)=>{switch(A(r),e==="edit"&&r.interview_id&&(S(r.interview_id.toString()),await E(r.interview_id.toString())),e){case"view":$(r);break;case"edit":O("edit"),x(!0);break;case"delete":I(!0);break}},ne=()=>{A(null),O("create"),b([]),S(""),x(!0)},ae=e=>{k&&(e.interview_id=k),Array.isArray(e.interviewer_id)&&e.interviewer_id.length>0?e.interviewer_id=e.interviewer_id.join(","):e.interviewer_id||(e.interviewer_id=null),w==="create"?(n.loading(t("Submitting interview feedback...")),h.post(route("hr.recruitment.interview-feedback.store"),e,{onSuccess:r=>{x(!1),S(""),b([]),n.dismiss(),r.props.flash.success?n.success(t(r.props.flash.success)):r.props.flash.error?n.error(t(r.props.flash.error)):n.success(t("Interview feedback submitted successfully"))},onError:r=>{n.dismiss(),typeof r=="string"?n.error(r):n.error(`Failed to submit interview feedback: ${Object.values(r).join(", ")}`)}})):w==="edit"&&(n.loading(t("Updating interview feedback...")),h.put(route("hr.recruitment.interview-feedback.update",p.id),e,{onSuccess:r=>{x(!1),S(""),b([]),n.dismiss(),r.props.flash.success?n.success(t(r.props.flash.success)):r.props.flash.error?n.error(t(r.props.flash.error)):n.success(t("Interview feedback updated successfully"))},onError:r=>{n.dismiss(),typeof r=="string"?n.error(r):n.error(`Failed to update interview feedback: ${Object.values(r).join(", ")}`)}}))},le=()=>{n.loading(t("Deleting interview feedback...")),h.delete(route("hr.recruitment.interview-feedback.destroy",p.id),{onSuccess:e=>{I(!1),n.dismiss(),e.props.flash.success?n.success(t(e.props.flash.success)):e.props.flash.error?n.error(t(e.props.flash.error)):n.success(t("Interview feedback deleted successfully"))},onError:e=>{n.dismiss(),typeof e=="string"?n.error(e):n.error(`Failed to delete interview feedback: ${Object.values(e).join(", ")}`)}})},me=()=>{j(""),F("_empty_"),P("_empty_"),M(!1),h.get(route("hr.recruitment.interview-feedback.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},T=[];he(d,"create-interview-feedback")&&T.push({label:t("Add Feedback"),icon:i.jsx(ge,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ne()});const ce=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.interview-feedback.index")},{title:t("Interview Feedback")}],pe=e=>{switch(e){case"Strong Hire":return"bg-green-50 text-green-700 ring-green-600/20";case"Hire":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Maybe":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Reject":return"bg-red-50 text-red-700 ring-red-600/10";case"Strong Reject":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},de=[{key:"interview.candidate.full_name",label:t("Candidate"),render:(e,r)=>{var o,a,l,U,J,K;return i.jsxs("div",{children:[i.jsxs("div",{className:"font-medium",children:[(a=(o=r.interview)==null?void 0:o.candidate)==null?void 0:a.first_name," ",(U=(l=r.interview)==null?void 0:l.candidate)==null?void 0:U.last_name]}),i.jsx("div",{className:"text-xs text-gray-500",children:(K=(J=r.interview)==null?void 0:J.job)==null?void 0:K.title})]})}},{key:"interview.round.name",label:t("Round"),render:(e,r)=>{var o,a;return((a=(o=r.interview)==null?void 0:o.round)==null?void 0:a.name)||"-"}},{key:"interviewer_names",label:t("Interviewer"),render:(e,r)=>r.interviewer_names||"-"},{key:"overall_rating",label:t("Overall Rating"),render:e=>e?i.jsxs("div",{className:"flex items-center gap-0.5",children:[[1,2,3,4,5].map(r=>{const o=e>=r,a=!o&&e>=r-.5;return i.jsxs("div",{className:"relative h-4 w-4",children:[i.jsx(y,{className:"h-4 w-4 fill-none text-gray-300"}),a&&i.jsx("div",{className:"absolute inset-0 overflow-hidden",style:{width:"50%"},children:i.jsx(y,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})}),o&&i.jsx("div",{className:"absolute inset-0",children:i.jsx(y,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})})]},r)}),i.jsxs("span",{className:"ml-1 text-xs text-gray-500",children:[e,"/5"]})]}):"-"},{key:"recommendation",label:t("Recommendation"),render:e=>e?i.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${pe(e)}`,children:t(e)}):"-"},{key:"created_at",label:t("Submitted"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],ue=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-interview-feedback"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-interview-feedback"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-interview-feedback"}],D=[{value:"_empty_",label:t("All Recommendations")},{value:"Strong Hire",label:t("Strong Hire")},{value:"Hire",label:t("Hire")},{value:"Maybe",label:t("Maybe")},{value:"Reject",label:t("Reject")},{value:"Strong Reject",label:t("Strong Reject")}],ve=[{value:"_empty_",label:t("All Interviewers"),disabled:!0},...(g||[]).map(e=>({value:e.id.toString(),label:e.name}))],V=[{value:"_empty_",label:t("Select Interview")},...(C||[]).map(e=>{var r,o,a,l;return{value:e.id.toString(),label:`${(r=e.candidate)==null?void 0:r.first_name} ${(o=e.candidate)==null?void 0:o.last_name} - ${(a=e.job)==null?void 0:a.title} (${((l=e.round)==null?void 0:l.name)||"No Round"})`}})];return[t("Select Interviewer"),...(g||[]).map(e=>({value:e.id.toString(),label:e.name}))],i.jsxs(fe,{title:t("Interview Feedback"),url:"/hr/recruitment/interview-feedback",actions:T,breadcrumbs:ce,noPadding:!0,children:[i.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:i.jsx(ke,{searchTerm:u,onSearchChange:j,onSearch:ie,filters:[{name:"recommendation",label:t("Recommendation"),type:"select",value:v,onChange:F,options:D},{name:"interviewer_id",label:t("Interviewer"),type:"select",value:f,onChange:P,options:ve,searchable:!0}],showFilters:Q,setShowFilters:M,hasActiveFilters:te,activeFilterCount:re,onResetFilters:me,onApplyFilters:H,currentPerPage:((q=m.per_page)==null?void 0:q.toString())||"10",onPerPageChange:e=>{h.get(route("hr.recruitment.interview-feedback.index"),{page:1,per_page:parseInt(e),search:u||void 0,recommendation:v!=="_empty_"?v:void 0,interviewer_id:f!=="_empty_"?f:void 0},{preserveState:!0,preserveScroll:!0})}})}),i.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[i.jsx(ye,{columns:de,actions:ue,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:oe,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:se,permissions:d,entityPermissions:{view:"view-interview-feedback",create:"create-interview-feedback",edit:"edit-interview-feedback",delete:"delete-interview-feedback"}}),i.jsx(je,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("interview feedback"),onPageChange:e=>h.get(e)})]}),i.jsx(xe,{isOpen:Z,onClose:()=>x(!1),onSubmit:ae,formConfig:{fields:[{name:"interview_id",label:t("Interview"),type:"select",required:!1,options:V.filter(e=>e.value!=="_empty_"),render:(e,r,o)=>{const a=k||r[e.name]||"";return i.jsxs(Ce,{value:a,onValueChange:l=>{S(l),o(e.name,l),b([]),o("interviewer_id",[]),E(l)},children:[i.jsx(Ie,{children:i.jsx(Re,{placeholder:t("Select Interview")})}),i.jsx(Fe,{className:"z-[60000]",searchable:!0,children:V.filter(l=>l.value!=="_empty_").map(l=>i.jsx(Pe,{value:String(l.value),children:l.label},l.value))})]})}},{name:"interviewer_id",label:t("Interviewer"),type:"multi-select",searchable:!0,key:`interviewer-${k}`,options:ee.map(e=>({value:e.id.toString(),label:e.name}))},{name:"technical_rating",label:t("Technical Rating"),type:"number",render:(e,r,o)=>i.jsx(N,{value:Number(r[e.name])||0,onChange:a=>o(e.name,a),disabled:w==="view"})},{name:"communication_rating",label:t("Communication Rating"),type:"number",render:(e,r,o)=>i.jsx(N,{value:Number(r[e.name])||0,onChange:a=>o(e.name,a),disabled:w==="view"})},{name:"cultural_fit_rating",label:t("Cultural Fit Rating"),type:"number",render:(e,r,o)=>i.jsx(N,{value:Number(r[e.name])||0,onChange:a=>o(e.name,a),disabled:w==="view"})},{name:"overall_rating",label:t("Overall Rating"),type:"number",render:(e,r,o)=>i.jsx(N,{value:Number(r[e.name])||0,onChange:a=>o(e.name,a),disabled:w==="view"})},{name:"recommendation",label:t("Recommendation"),type:"select",options:D.filter(e=>e.value!=="_empty_")},{name:"strengths",label:t("Strengths"),type:"textarea"},{name:"weaknesses",label:t("Weaknesses"),type:"textarea"},{name:"comments",label:t("Comments"),type:"textarea"}],modalSize:"xl"},initialData:p?{...p,interviewer_id:p.interviewer_id?p.interviewer_id.split(","):[],interview_id:(L=p.interview_id)==null?void 0:L.toString()}:null,title:t(w==="create"?"Add Interview Feedback":"Edit Interview Feedback"),mode:w}),i.jsx(Se,{isOpen:Y,onClose:()=>I(!1),onConfirm:le,itemName:p?`${(W=(z=p.interview)==null?void 0:z.candidate)==null?void 0:W.first_name} ${(B=(X=p.interview)==null?void 0:X.candidate)==null?void 0:B.last_name} - ${(G=p.interviewer)==null?void 0:G.name}`:"",entityName:"interview feedback"}),i.jsx(_e,{open:!!R,onOpenChange:()=>$(null),children:R&&i.jsx(Ne,{feedback:R})})]})}export{bi as default}; +import{r as c,j as i}from"./ui-Z445SNHD.js";import{P as fe}from"./page-template-CLNVC8w_.js";import{u as we,c as be,x as he,P as ge,r as h,D as _e,t as n}from"./app-Dya84jp7.js";import{C as ye}from"./CrudTable-yqxtM6E_.js";import{C as xe}from"./CrudFormModal-CsuqSfb2.js";import{C as Se}from"./CrudDeleteModal-D32N6I8y.js";import{P as je}from"./pagination-4PUepASD.js";import{S as ke}from"./search-and-filter-bar-DWH0yn_r.js";import Ne from"./view-TaZ0CeRf.js";import{S as Ce,a as Ie,b as Re,c as Fe,d as Pe}from"./select-CHkpLxhL.js";import{S as y}from"./star-DCkLKzoE.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./index-BdQq_4o_.js";import"./leaflet-ChJqBZBV.js";function N({value:t,onChange:_,disabled:s}){const[C,g]=c.useState(0),m=C||t;return i.jsxs("div",{className:"flex items-center gap-0.5",children:[[1,2,3,4,5].map(d=>{const u=m>=d,j=!u&&m>=d-.5;return i.jsxs("div",{className:"relative h-7 w-7",children:[i.jsx(y,{className:"h-7 w-7 fill-none text-gray-300"}),j&&i.jsx("div",{className:"absolute inset-0 overflow-hidden",style:{width:"50%"},children:i.jsx(y,{className:"h-7 w-7 fill-yellow-400 text-yellow-400"})}),u&&i.jsx("div",{className:"absolute inset-0",children:i.jsx(y,{className:"h-7 w-7 fill-yellow-400 text-yellow-400"})}),i.jsx("div",{className:`absolute inset-y-0 left-0 w-1/2 ${s?"cursor-default":"cursor-pointer"}`,onMouseEnter:()=>!s&&g(d-.5),onMouseLeave:()=>!s&&g(0),onClick:()=>!s&&_(d-.5)}),i.jsx("div",{className:`absolute inset-y-0 right-0 w-1/2 ${s?"cursor-default":"cursor-pointer"}`,onMouseEnter:()=>!s&&g(d),onMouseLeave:()=>!s&&g(0),onClick:()=>!s&&_(d)})]},d)}),t>0&&i.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:[t,"/5"]})]})}function bi(){var q,L,z,W,X,B,G;const{t}=we(),{auth:_,interviewFeedback:s,interviews:C,interviewers:g,filters:m={}}=be().props,d=(_==null?void 0:_.permissions)||[],[u,j]=c.useState(m.search||""),[v,F]=c.useState(m.recommendation||"_empty_"),[f,P]=c.useState(m.interviewer_id||"_empty_"),[Q,M]=c.useState(!1),[Y,I]=c.useState(!1),[Z,x]=c.useState(!1),[p,A]=c.useState(null),[w,O]=c.useState("create"),[R,$]=c.useState(null),[ee,b]=c.useState([]),[k,S]=c.useState(""),E=async(e,r=!0)=>{if(r&&b([]),e&&e!=="_empty_")try{const a=await(await fetch(route("hr.recruitment.interview-feedback.get-interviewers",e),{method:"GET",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}})).json();b(a||[])}catch(o){console.error("Error fetching interviewers:",o),b([])}else b([])},te=()=>v!=="_empty_"||f!=="_empty_"||u!=="",re=()=>(v!=="_empty_"?1:0)+(f!=="_empty_"?1:0)+(u!==""?1:0),ie=e=>{e.preventDefault(),H()},H=()=>{h.get(route("hr.recruitment.interview-feedback.index"),{page:1,search:u||void 0,recommendation:v!=="_empty_"?v:void 0,interviewer_id:f!=="_empty_"?f:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},se=e=>{const r=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";h.get(route("hr.recruitment.interview-feedback.index"),{sort_field:e,sort_direction:r,page:1,search:u||void 0,recommendation:v!=="_empty_"?v:void 0,interviewer_id:f!=="_empty_"?f:void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},oe=async(e,r)=>{switch(A(r),e==="edit"&&r.interview_id&&(S(r.interview_id.toString()),await E(r.interview_id.toString())),e){case"view":$(r);break;case"edit":O("edit"),x(!0);break;case"delete":I(!0);break}},ne=()=>{A(null),O("create"),b([]),S(""),x(!0)},ae=e=>{k&&(e.interview_id=k),Array.isArray(e.interviewer_id)&&e.interviewer_id.length>0?e.interviewer_id=e.interviewer_id.join(","):e.interviewer_id||(e.interviewer_id=null),w==="create"?(n.loading(t("Submitting interview feedback...")),h.post(route("hr.recruitment.interview-feedback.store"),e,{onSuccess:r=>{x(!1),S(""),b([]),n.dismiss(),r.props.flash.success?n.success(t(r.props.flash.success)):r.props.flash.error?n.error(t(r.props.flash.error)):n.success(t("Interview feedback submitted successfully"))},onError:r=>{n.dismiss(),typeof r=="string"?n.error(r):n.error(`Failed to submit interview feedback: ${Object.values(r).join(", ")}`)}})):w==="edit"&&(n.loading(t("Updating interview feedback...")),h.put(route("hr.recruitment.interview-feedback.update",p.id),e,{onSuccess:r=>{x(!1),S(""),b([]),n.dismiss(),r.props.flash.success?n.success(t(r.props.flash.success)):r.props.flash.error?n.error(t(r.props.flash.error)):n.success(t("Interview feedback updated successfully"))},onError:r=>{n.dismiss(),typeof r=="string"?n.error(r):n.error(`Failed to update interview feedback: ${Object.values(r).join(", ")}`)}}))},le=()=>{n.loading(t("Deleting interview feedback...")),h.delete(route("hr.recruitment.interview-feedback.destroy",p.id),{onSuccess:e=>{I(!1),n.dismiss(),e.props.flash.success?n.success(t(e.props.flash.success)):e.props.flash.error?n.error(t(e.props.flash.error)):n.success(t("Interview feedback deleted successfully"))},onError:e=>{n.dismiss(),typeof e=="string"?n.error(e):n.error(`Failed to delete interview feedback: ${Object.values(e).join(", ")}`)}})},me=()=>{j(""),F("_empty_"),P("_empty_"),M(!1),h.get(route("hr.recruitment.interview-feedback.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},T=[];he(d,"create-interview-feedback")&&T.push({label:t("Add Feedback"),icon:i.jsx(ge,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ne()});const ce=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.interview-feedback.index")},{title:t("Interview Feedback")}],pe=e=>{switch(e){case"Strong Hire":return"bg-green-50 text-green-700 ring-green-600/20";case"Hire":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Maybe":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Reject":return"bg-red-50 text-red-700 ring-red-600/10";case"Strong Reject":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},de=[{key:"interview.candidate.full_name",label:t("Candidate"),render:(e,r)=>{var o,a,l,U,J,K;return i.jsxs("div",{children:[i.jsxs("div",{className:"font-medium",children:[(a=(o=r.interview)==null?void 0:o.candidate)==null?void 0:a.first_name," ",(U=(l=r.interview)==null?void 0:l.candidate)==null?void 0:U.last_name]}),i.jsx("div",{className:"text-xs text-gray-500",children:(K=(J=r.interview)==null?void 0:J.job)==null?void 0:K.title})]})}},{key:"interview.round.name",label:t("Round"),render:(e,r)=>{var o,a;return((a=(o=r.interview)==null?void 0:o.round)==null?void 0:a.name)||"-"}},{key:"interviewer_names",label:t("Interviewer"),render:(e,r)=>r.interviewer_names||"-"},{key:"overall_rating",label:t("Overall Rating"),render:e=>e?i.jsxs("div",{className:"flex items-center gap-0.5",children:[[1,2,3,4,5].map(r=>{const o=e>=r,a=!o&&e>=r-.5;return i.jsxs("div",{className:"relative h-4 w-4",children:[i.jsx(y,{className:"h-4 w-4 fill-none text-gray-300"}),a&&i.jsx("div",{className:"absolute inset-0 overflow-hidden",style:{width:"50%"},children:i.jsx(y,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})}),o&&i.jsx("div",{className:"absolute inset-0",children:i.jsx(y,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})})]},r)}),i.jsxs("span",{className:"ml-1 text-xs text-gray-500",children:[e,"/5"]})]}):"-"},{key:"recommendation",label:t("Recommendation"),render:e=>e?i.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${pe(e)}`,children:t(e)}):"-"},{key:"created_at",label:t("Submitted"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],ue=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-interview-feedback"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-interview-feedback"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-interview-feedback"}],D=[{value:"_empty_",label:t("All Recommendations")},{value:"Strong Hire",label:t("Strong Hire")},{value:"Hire",label:t("Hire")},{value:"Maybe",label:t("Maybe")},{value:"Reject",label:t("Reject")},{value:"Strong Reject",label:t("Strong Reject")}],ve=[{value:"_empty_",label:t("All Interviewers"),disabled:!0},...(g||[]).map(e=>({value:e.id.toString(),label:e.name}))],V=[{value:"_empty_",label:t("Select Interview")},...(C||[]).map(e=>{var r,o,a,l;return{value:e.id.toString(),label:`${(r=e.candidate)==null?void 0:r.first_name} ${(o=e.candidate)==null?void 0:o.last_name} - ${(a=e.job)==null?void 0:a.title} (${((l=e.round)==null?void 0:l.name)||"No Round"})`}})];return[t("Select Interviewer"),...(g||[]).map(e=>({value:e.id.toString(),label:e.name}))],i.jsxs(fe,{title:t("Interview Feedback"),url:"/hr/recruitment/interview-feedback",actions:T,breadcrumbs:ce,noPadding:!0,children:[i.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:i.jsx(ke,{searchTerm:u,onSearchChange:j,onSearch:ie,filters:[{name:"recommendation",label:t("Recommendation"),type:"select",value:v,onChange:F,options:D},{name:"interviewer_id",label:t("Interviewer"),type:"select",value:f,onChange:P,options:ve,searchable:!0}],showFilters:Q,setShowFilters:M,hasActiveFilters:te,activeFilterCount:re,onResetFilters:me,onApplyFilters:H,currentPerPage:((q=m.per_page)==null?void 0:q.toString())||"10",onPerPageChange:e=>{h.get(route("hr.recruitment.interview-feedback.index"),{page:1,per_page:parseInt(e),search:u||void 0,recommendation:v!=="_empty_"?v:void 0,interviewer_id:f!=="_empty_"?f:void 0},{preserveState:!0,preserveScroll:!0})}})}),i.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[i.jsx(ye,{columns:de,actions:ue,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:oe,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:se,permissions:d,entityPermissions:{view:"view-interview-feedback",create:"create-interview-feedback",edit:"edit-interview-feedback",delete:"delete-interview-feedback"}}),i.jsx(je,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:t("interview feedback"),onPageChange:e=>h.get(e)})]}),i.jsx(xe,{isOpen:Z,onClose:()=>x(!1),onSubmit:ae,formConfig:{fields:[{name:"interview_id",label:t("Interview"),type:"select",required:!1,options:V.filter(e=>e.value!=="_empty_"),render:(e,r,o)=>{const a=k||r[e.name]||"";return i.jsxs(Ce,{value:a,onValueChange:l=>{S(l),o(e.name,l),b([]),o("interviewer_id",[]),E(l)},children:[i.jsx(Ie,{children:i.jsx(Re,{placeholder:t("Select Interview")})}),i.jsx(Fe,{className:"z-[60000]",searchable:!0,children:V.filter(l=>l.value!=="_empty_").map(l=>i.jsx(Pe,{value:String(l.value),children:l.label},l.value))})]})}},{name:"interviewer_id",label:t("Interviewer"),type:"multi-select",searchable:!0,key:`interviewer-${k}`,options:ee.map(e=>({value:e.id.toString(),label:e.name}))},{name:"technical_rating",label:t("Technical Rating"),type:"number",render:(e,r,o)=>i.jsx(N,{value:Number(r[e.name])||0,onChange:a=>o(e.name,a),disabled:w==="view"})},{name:"communication_rating",label:t("Communication Rating"),type:"number",render:(e,r,o)=>i.jsx(N,{value:Number(r[e.name])||0,onChange:a=>o(e.name,a),disabled:w==="view"})},{name:"cultural_fit_rating",label:t("Cultural Fit Rating"),type:"number",render:(e,r,o)=>i.jsx(N,{value:Number(r[e.name])||0,onChange:a=>o(e.name,a),disabled:w==="view"})},{name:"overall_rating",label:t("Overall Rating"),type:"number",render:(e,r,o)=>i.jsx(N,{value:Number(r[e.name])||0,onChange:a=>o(e.name,a),disabled:w==="view"})},{name:"recommendation",label:t("Recommendation"),type:"select",options:D.filter(e=>e.value!=="_empty_")},{name:"strengths",label:t("Strengths"),type:"textarea"},{name:"weaknesses",label:t("Weaknesses"),type:"textarea"},{name:"comments",label:t("Comments"),type:"textarea"}],modalSize:"xl"},initialData:p?{...p,interviewer_id:p.interviewer_id?p.interviewer_id.split(","):[],interview_id:(L=p.interview_id)==null?void 0:L.toString()}:null,title:t(w==="create"?"Add Interview Feedback":"Edit Interview Feedback"),mode:w}),i.jsx(Se,{isOpen:Y,onClose:()=>I(!1),onConfirm:le,itemName:p?`${(W=(z=p.interview)==null?void 0:z.candidate)==null?void 0:W.first_name} ${(B=(X=p.interview)==null?void 0:X.candidate)==null?void 0:B.last_name} - ${(G=p.interviewer)==null?void 0:G.name}`:"",entityName:"interview feedback"}),i.jsx(_e,{open:!!R,onOpenChange:()=>$(null),children:R&&i.jsx(Ne,{feedback:R})})]})}export{bi as default}; diff --git a/public/build/assets/index-CjfNXxh5.js b/public/build/assets/index-Dt0uMvSB.js similarity index 61% rename from public/build/assets/index-CjfNXxh5.js rename to public/build/assets/index-Dt0uMvSB.js index 797322105..34c1db566 100644 --- a/public/build/assets/index-CjfNXxh5.js +++ b/public/build/assets/index-Dt0uMvSB.js @@ -1 +1 @@ -import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as K}from"./page-template-BTxLyiDA.js";import{u as Q,c as W,x as X,P as Y,r as m,D as Z,t as i}from"./app-CfhhiFAk.js";import{C as ee}from"./CrudTable-qPWooc10.js";import{C as te}from"./CrudFormModal-DAR9q-oM.js";import{C as re}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ie}from"./pagination-D8A_HnL5.js";import{S as oe}from"./search-and-filter-bar-6Pp-FsiR.js";import se from"./view-VLHZOIBe.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Gr(){var P;const{t:e}=Q(),{auth:f,onboardingChecklists:o,filters:a={}}=W().props,v=(f==null?void 0:f.permissions)||[],[d,x]=p.useState(a.search||""),[n,y]=p.useState(a.status||"_empty_"),[l,S]=p.useState(a.is_default||"_empty_"),[N,k]=p.useState(!1),[A,b]=p.useState(!1),[T,h]=p.useState(!1),[u,j]=p.useState(null),[g,w]=p.useState("create"),[_,F]=p.useState(null),E=()=>n!=="_empty_"||l!=="_empty_"||d!=="",I=()=>(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(d!==""?1:0),M=t=>{t.preventDefault(),D()},D=()=>{m.get(route("hr.recruitment.onboarding-checklists.index"),{page:1,search:d||void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},q=t=>{const r=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";m.get(route("hr.recruitment.onboarding-checklists.index"),{sort_field:t,sort_direction:r,page:1,search:d||void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},$=(t,r)=>{switch(j(r),t){case"view":F(r);break;case"edit":w("edit"),h(!0);break;case"delete":b(!0);break;case"toggle-status":B(r);break}},R=()=>{j(null),w("create"),h(!0)},V=t=>{g==="create"?(i.loading(e("Creating onboarding checklist...")),m.post(route("hr.recruitment.onboarding-checklists.store"),t,{onSuccess:r=>{h(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to create onboarding checklist: ${Object.values(r).join(", ")}`)}})):g==="edit"&&(i.loading(e("Updating onboarding checklist...")),m.put(route("hr.recruitment.onboarding-checklists.update",u.id),t,{onSuccess:r=>{h(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update onboarding checklist: ${Object.values(r).join(", ")}`)}}))},L=()=>{i.loading(e("Deleting onboarding checklist...")),m.delete(route("hr.recruitment.onboarding-checklists.destroy",u.id),{onSuccess:t=>{b(!1),i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to delete onboarding checklist: ${Object.values(t).join(", ")}`)}})},B=t=>{const r=t.status==="active"?"inactive":"active";i.loading(`${e(r==="active"?"Activating":"Deactivating")} onboarding checklist...`),m.put(route("hr.recruitment.onboarding-checklists.toggle-status",t.id),{},{onSuccess:c=>{i.dismiss(),c.props.flash.success?i.success(e(c.props.flash.success)):c.props.flash.error&&i.error(e(c.props.flash.error))},onError:c=>{i.dismiss(),typeof c=="string"?i.error(c):i.error(`Failed to update onboarding checklist status: ${Object.values(c).join(", ")}`)}})},U=()=>{x(""),y("_empty_"),S("_empty_"),k(!1),m.get(route("hr.recruitment.onboarding-checklists.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},C=[];X(v,"create-onboarding-checklists")&&C.push({label:e("Add Checklist"),icon:s.jsx(Y,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>R()});const z=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.onboarding-checklists.index")},{title:e("Onboarding Checklists")}],G=[{key:"name",label:e("Name"),sortable:!0,render:(t,r)=>s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:t}),r.is_default&&s.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:e("Default")})]})},{key:"checklist_items_count",label:e("Items"),render:t=>s.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:t||0})},{key:"status",label:e("Status"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],H=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-onboarding-checklists"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-onboarding-checklists"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-onboarding-checklists"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-onboarding-checklists"}],O=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],J=[{value:"_empty_",label:e("All"),disabled:!0},{value:"true",label:e("Default")},{value:"false",label:e("Custom")}];return s.jsxs(K,{title:e("Onboarding Checklists"),url:"/hr/recruitment/onboarding-checklists",actions:C,breadcrumbs:z,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(oe,{searchTerm:d,onSearchChange:x,onSearch:M,filters:[{name:"status",label:e("Status"),type:"select",value:n,onChange:y,options:O,searchable:!0},{name:"is_default",label:e("Type"),type:"select",value:l,onChange:S,options:J,searchable:!0}],showFilters:N,setShowFilters:k,hasActiveFilters:E,activeFilterCount:I,onResetFilters:U,onApplyFilters:D,currentPerPage:((P=a.per_page)==null?void 0:P.toString())||"10",onPerPageChange:t=>{m.get(route("hr.recruitment.onboarding-checklists.index"),{page:1,per_page:parseInt(t),search:d||void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(ee,{columns:G,actions:H,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:$,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:q,permissions:v,entityPermissions:{view:"view-onboarding-checklists",create:"create-onboarding-checklists",edit:"edit-onboarding-checklists",delete:"delete-onboarding-checklists"}}),s.jsx(ie,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:e("onboarding checklists"),onPageChange:t=>m.get(t)})]}),s.jsx(te,{isOpen:T,onClose:()=>h(!1),onSubmit:V,formConfig:{fields:[{name:"name",label:e("Checklist Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"is_default",label:e("Set as Default"),type:"checkbox",helpText:e("Only one checklist can be set as default")},{name:"status",label:e("Status"),type:"select",required:!0,options:O.filter(t=>t.value!=="_empty_")}]},initialData:u,title:e(g==="create"?"Add New Onboarding Checklist":"Edit Onboarding Checklist"),mode:g}),s.jsx(re,{isOpen:A,onClose:()=>b(!1),onConfirm:L,itemName:(u==null?void 0:u.name)||"",entityName:"onboarding checklist"}),s.jsx(Z,{open:!!_,onOpenChange:()=>F(null),children:_&&s.jsx(se,{checklist:_})})]})}export{Gr as default}; +import{r as p,j as s}from"./ui-Z445SNHD.js";import{P as K}from"./page-template-CLNVC8w_.js";import{u as Q,c as W,x as X,P as Y,r as m,D as Z,t as i}from"./app-Dya84jp7.js";import{C as ee}from"./CrudTable-yqxtM6E_.js";import{C as te}from"./CrudFormModal-CsuqSfb2.js";import{C as re}from"./CrudDeleteModal-D32N6I8y.js";import{P as ie}from"./pagination-4PUepASD.js";import{S as oe}from"./search-and-filter-bar-DWH0yn_r.js";import se from"./view-DJgeOs6W.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Gr(){var P;const{t:e}=Q(),{auth:f,onboardingChecklists:o,filters:a={}}=W().props,v=(f==null?void 0:f.permissions)||[],[d,x]=p.useState(a.search||""),[n,y]=p.useState(a.status||"_empty_"),[l,S]=p.useState(a.is_default||"_empty_"),[N,k]=p.useState(!1),[A,b]=p.useState(!1),[T,h]=p.useState(!1),[u,j]=p.useState(null),[g,w]=p.useState("create"),[_,F]=p.useState(null),E=()=>n!=="_empty_"||l!=="_empty_"||d!=="",I=()=>(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(d!==""?1:0),M=t=>{t.preventDefault(),D()},D=()=>{m.get(route("hr.recruitment.onboarding-checklists.index"),{page:1,search:d||void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},q=t=>{const r=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";m.get(route("hr.recruitment.onboarding-checklists.index"),{sort_field:t,sort_direction:r,page:1,search:d||void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},$=(t,r)=>{switch(j(r),t){case"view":F(r);break;case"edit":w("edit"),h(!0);break;case"delete":b(!0);break;case"toggle-status":B(r);break}},R=()=>{j(null),w("create"),h(!0)},V=t=>{g==="create"?(i.loading(e("Creating onboarding checklist...")),m.post(route("hr.recruitment.onboarding-checklists.store"),t,{onSuccess:r=>{h(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to create onboarding checklist: ${Object.values(r).join(", ")}`)}})):g==="edit"&&(i.loading(e("Updating onboarding checklist...")),m.put(route("hr.recruitment.onboarding-checklists.update",u.id),t,{onSuccess:r=>{h(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update onboarding checklist: ${Object.values(r).join(", ")}`)}}))},L=()=>{i.loading(e("Deleting onboarding checklist...")),m.delete(route("hr.recruitment.onboarding-checklists.destroy",u.id),{onSuccess:t=>{b(!1),i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to delete onboarding checklist: ${Object.values(t).join(", ")}`)}})},B=t=>{const r=t.status==="active"?"inactive":"active";i.loading(`${e(r==="active"?"Activating":"Deactivating")} onboarding checklist...`),m.put(route("hr.recruitment.onboarding-checklists.toggle-status",t.id),{},{onSuccess:c=>{i.dismiss(),c.props.flash.success?i.success(e(c.props.flash.success)):c.props.flash.error&&i.error(e(c.props.flash.error))},onError:c=>{i.dismiss(),typeof c=="string"?i.error(c):i.error(`Failed to update onboarding checklist status: ${Object.values(c).join(", ")}`)}})},U=()=>{x(""),y("_empty_"),S("_empty_"),k(!1),m.get(route("hr.recruitment.onboarding-checklists.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},C=[];X(v,"create-onboarding-checklists")&&C.push({label:e("Add Checklist"),icon:s.jsx(Y,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>R()});const z=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.onboarding-checklists.index")},{title:e("Onboarding Checklists")}],G=[{key:"name",label:e("Name"),sortable:!0,render:(t,r)=>s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:t}),r.is_default&&s.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:e("Default")})]})},{key:"checklist_items_count",label:e("Items"),render:t=>s.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:t||0})},{key:"status",label:e("Status"),render:t=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],H=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-onboarding-checklists"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-onboarding-checklists"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-onboarding-checklists"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-onboarding-checklists"}],O=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],J=[{value:"_empty_",label:e("All"),disabled:!0},{value:"true",label:e("Default")},{value:"false",label:e("Custom")}];return s.jsxs(K,{title:e("Onboarding Checklists"),url:"/hr/recruitment/onboarding-checklists",actions:C,breadcrumbs:z,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(oe,{searchTerm:d,onSearchChange:x,onSearch:M,filters:[{name:"status",label:e("Status"),type:"select",value:n,onChange:y,options:O,searchable:!0},{name:"is_default",label:e("Type"),type:"select",value:l,onChange:S,options:J,searchable:!0}],showFilters:N,setShowFilters:k,hasActiveFilters:E,activeFilterCount:I,onResetFilters:U,onApplyFilters:D,currentPerPage:((P=a.per_page)==null?void 0:P.toString())||"10",onPerPageChange:t=>{m.get(route("hr.recruitment.onboarding-checklists.index"),{page:1,per_page:parseInt(t),search:d||void 0,status:n!=="_empty_"?n:void 0,is_default:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(ee,{columns:G,actions:H,data:(o==null?void 0:o.data)||[],from:(o==null?void 0:o.from)||1,onAction:$,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:q,permissions:v,entityPermissions:{view:"view-onboarding-checklists",create:"create-onboarding-checklists",edit:"edit-onboarding-checklists",delete:"delete-onboarding-checklists"}}),s.jsx(ie,{from:(o==null?void 0:o.from)||0,to:(o==null?void 0:o.to)||0,total:(o==null?void 0:o.total)||0,links:o==null?void 0:o.links,entityName:e("onboarding checklists"),onPageChange:t=>m.get(t)})]}),s.jsx(te,{isOpen:T,onClose:()=>h(!1),onSubmit:V,formConfig:{fields:[{name:"name",label:e("Checklist Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"is_default",label:e("Set as Default"),type:"checkbox",helpText:e("Only one checklist can be set as default")},{name:"status",label:e("Status"),type:"select",required:!0,options:O.filter(t=>t.value!=="_empty_")}]},initialData:u,title:e(g==="create"?"Add New Onboarding Checklist":"Edit Onboarding Checklist"),mode:g}),s.jsx(re,{isOpen:A,onClose:()=>b(!1),onConfirm:L,itemName:(u==null?void 0:u.name)||"",entityName:"onboarding checklist"}),s.jsx(Z,{open:!!_,onOpenChange:()=>F(null),children:_&&s.jsx(se,{checklist:_})})]})}export{Gr as default}; diff --git a/public/build/assets/index-BhNb0aNF.js b/public/build/assets/index-DuU4uqEk.js similarity index 71% rename from public/build/assets/index-BhNb0aNF.js rename to public/build/assets/index-DuU4uqEk.js index 7e0c17e61..8ca6a1388 100644 --- a/public/build/assets/index-BhNb0aNF.js +++ b/public/build/assets/index-DuU4uqEk.js @@ -1 +1 @@ -import{r as l,j as s}from"./ui-Z445SNHD.js";import{C as he}from"./CrudDeleteModal-CKTiD3_K.js";import{C as X}from"./CrudFormModal-DAR9q-oM.js";import{C as ye}from"./CrudTable-qPWooc10.js";import{u as we,c as xe,x as ke,P as ve,F as be,r as g,D as De,t as i}from"./app-CfhhiFAk.js";import{P as je}from"./page-template-BTxLyiDA.js";import{P as Se}from"./pagination-D8A_HnL5.js";import{S as Ce}from"./search-and-filter-bar-6Pp-FsiR.js";import Ne from"./view-CaBV2VCV.js";import{U as Fe}from"./user-C37aWgZX.js";import{C as Oe}from"./calendar-CfUpdaK5.js";import{C as G}from"./clock-CwFdn-oy.js";import{C as Pe}from"./circle-x-C1aiFLrz.js";import{T as Ae}from"./triangle-alert-DGWTh17w.js";import{C as Ee}from"./circle-check-big-C5Cqj7-2.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./switch-CKduD2wX.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./sparkles-BIbzOfb3.js";import"./briefcase-CLRn8zVu.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./calendar-days-CiPhwZgb.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./chevron-right-Bd9XWZHZ.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./coins-BDVfLngB.js";import"./copy-xfopPExK.js";import"./credit-card-BmdpMcMw.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./dollar-sign-DYXFWWsE.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./fingerprint-DTUiU2wR.js";import"./house-CL9v9Cnk.js";import"./gift-DXGdvbnX.js";import"./git-branch-B0hRoz5x.js";import"./globe-DePi6jyA.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-grid-C6MkbbLQ.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./loader-circle-wGk7YsPK.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./log-out-XdMMCWfW.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./refresh-cw-DWorkL8J.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./settings-BwhyNRyj.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./timer-Cqv8ulB-.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./users-C4LpG59H.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./index-BFT_C1pH.js";function xo(){var $,q,B,L,R;const{t}=we(),{auth:x,documentAcknowledgments:a,documents:D,users:j,filters:d={},globalSettings:o}=xe().props,S=(x==null?void 0:x.permissions)||[],[h,C]=l.useState(d.search||""),[c,N]=l.useState(d.document_id||"_empty_"),[p,F]=l.useState(d.user_id||"_empty_"),[u,O]=l.useState(d.status||"_empty_"),[H,P]=l.useState(!1),[J,k]=l.useState(!1),[K,w]=l.useState(!1),[Q,v]=l.useState(!1),[m,A]=l.useState(null),[y,E]=l.useState("create"),[b,T]=l.useState(null),W=()=>c!=="_empty_"||p!=="_empty_"||u!=="_empty_"||h!=="",Y=()=>(c!=="_empty_"?1:0)+(p!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(h!==""?1:0),Z=e=>{e.preventDefault(),M()},M=()=>{g.get(route("hr.documents.document-acknowledgments.index"),{page:1,search:h||void 0,document_id:c!=="_empty_"?c:void 0,user_id:p!=="_empty_"?p:void 0,status:u!=="_empty_"?u:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},ee=e=>{const r=d.sort_field===e&&d.sort_direction==="asc"?"desc":"asc";g.get(route("hr.documents.document-acknowledgments.index"),{sort_field:e,sort_direction:r,page:1,search:h||void 0,document_id:c!=="_empty_"?c:void 0,user_id:p!=="_empty_"?p:void 0,status:u!=="_empty_"?u:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},te=(e,r)=>{switch(A(r),e){case"view":T(r);break;case"edit":E("edit"),w(!0);break;case"delete":k(!0);break;case"acknowledge":v(!0);break}},re=()=>{A(null),E("create"),w(!0)},oe=e=>{y==="create"?(o!=null&&o.is_demo||i.loading(t("Assigning document acknowledgment...")),g.post(route("hr.documents.document-acknowledgments.store"),e,{onSuccess:r=>{w(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to assign acknowledgment: ${Object.values(r).join(", ")}`)}})):y==="edit"&&(o!=null&&o.is_demo||i.loading(t("Updating document acknowledgment...")),g.put(route("hr.documents.document-acknowledgments.update",m.id),e,{onSuccess:r=>{w(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update acknowledgment: ${Object.values(r).join(", ")}`)}}))},se=()=>{o!=null&&o.is_demo||i.loading(t("Deleting document acknowledgment...")),g.delete(route("hr.documents.document-acknowledgments.destroy",m.id),{onSuccess:e=>{k(!1),o!=null&&o.is_demo||i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete acknowledgment: ${Object.values(e).join(", ")}`)}})},ie=()=>{C(""),N("_empty_"),F("_empty_"),O("_empty_"),P(!1),g.get(route("hr.documents.document-acknowledgments.index"),{page:1,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},ae=e=>{o!=null&&o.is_demo||i.loading(t("Acknowledging document...")),g.put(route("hr.documents.document-acknowledgments.acknowledge",m.id),{acknowledgment_note:e.acknowledgment_note||"Document acknowledged"},{onSuccess:r=>{v(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to acknowledge document: ${Object.values(r).join(", ")}`)}})},I=[];ke(S,"create-document-acknowledgments")&&I.push({label:t("Assign Document"),icon:s.jsx(ve,{className:"mr-2 h-4 w-4"}),variant:"default",onClick:()=>re()});const ne=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-acknowledgments.index")},{title:t("Acknowledgments")}],me=e=>{switch(e){case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Acknowledged":return"bg-green-50 text-green-700 ring-green-600/20";case"Overdue":return"bg-red-50 text-red-700 ring-red-600/10";case"Exempted":return"bg-gray-50 text-gray-600 ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},de=e=>{switch(e){case"Pending":return s.jsx(G,{className:"h-3 w-3"});case"Acknowledged":return s.jsx(Ee,{className:"h-3 w-3"});case"Overdue":return s.jsx(Ae,{className:"h-3 w-3"});case"Exempted":return s.jsx(Pe,{className:"h-3 w-3"});default:return s.jsx(G,{className:"h-3 w-3"})}},le=e=>{if(e.status==="Acknowledged"||e.status==="Exempted"||!e.due_date)return null;const r=new Date,_=new Date(e.due_date).getTime()-r.getTime(),f=Math.ceil(_/(1e3*60*60*24));return f<0?{type:"overdue",days:Math.abs(f),text:`${Math.abs(f)} days overdue`}:f===0?{type:"today",days:0,text:"Due today"}:{type:"remaining",days:f,text:`${f} days remaining`}},ce=[{key:"document.title",label:t("Document"),sortable:!1,render:(e,r)=>{var n,_,f,V,z;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg text-white",style:{backgroundColor:((_=(n=r.document)==null?void 0:n.category)==null?void 0:_.color)||"#3B82F6"},children:s.jsx(be,{className:"h-5 w-5"})}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((f=r.document)==null?void 0:f.title)||"Unknown Document"}),s.jsx("div",{className:"text-xs text-gray-500",children:(z=(V=r.document)==null?void 0:V.category)==null?void 0:z.name})]})]})}},{key:"user.name",label:t("Employee"),render:(e,r)=>{var n;return s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Fe,{className:"h-4 w-4 text-gray-500"}),((n=r.user)==null?void 0:n.name)||"Unknown User"]})}},{key:"status",label:t("Status"),render:e=>s.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${me(e)}`,children:[de(e),t(e)]})},{key:"acknowledged_at",label:t("Acknowledged"),sortable:!0,render:(e,r)=>{var n;return e?s.jsx("div",{children:s.jsx("div",{className:"text-sm",children:e?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(e,!1))||new Date(e).toLocaleString():"-"})}):"-"}},{key:"due_date",label:t("Due Date"),sortable:!0,render:(e,r)=>{var _;if(!e)return"-";const n=le(r);return s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(Oe,{className:"h-4 w-4 text-gray-500"}),e?((_=window.appSettings)==null?void 0:_.formatDateTimeSimple(e,!1))||new Date(e).toLocaleString():"-"]}),n&&s.jsx("div",{className:`text-xs ${n.type==="overdue"?"text-red-600":n.type==="today"?"text-orange-600":"text-gray-500"}`,children:n.text})]})}},{key:"assigned_by.name",label:t("Assigned By"),render:(e,r)=>{var n;return((n=r.assigned_by)==null?void 0:n.name)||"-"}},{key:"assigned_at",label:t("Assigned"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],pe=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-document-acknowledgments"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-document-acknowledgments"},{label:t("Acknowledge"),icon:"CheckCircle",action:"acknowledge",className:"text-green-500",requiredPermission:"acknowledge-document-acknowledgments",condition:e=>e.status==="Pending"||e.status==="Overdue"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-document-acknowledgments"}],ue=[{value:"_empty_",label:t("All Documents"),disabled:!0},...(D||[]).map(e=>({value:e.id.toString(),label:e.title}))],fe=[{value:"_empty_",label:t("All Users"),disabled:!0},...(j||[]).map(e=>({value:e.id.toString(),label:e.name}))],U=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Pending",label:t("Pending")},{value:"Acknowledged",label:t("Acknowledged")},{value:"Overdue",label:t("Overdue")},{value:"Exempted",label:t("Exempted")}],ge=[{value:"_empty_",label:t("Select Document")},...(D||[]).map(e=>({value:e.id.toString(),label:e.title}))],_e=[{value:"_empty_",label:t("Select User")},...(j||[]).map(e=>({value:e.id.toString(),label:e.name}))];return s.jsxs(je,{title:t("Acknowledgments"),url:"/hr/documents/document-acknowledgments",actions:I,breadcrumbs:ne,noPadding:!0,children:[s.jsx("div",{className:"mb-4 rounded-lg bg-white p-4 shadow dark:bg-gray-900",children:s.jsx(Ce,{searchTerm:h,onSearchChange:C,onSearch:Z,filters:[{name:"document_id",label:t("Document"),type:"select",value:c,onChange:N,options:ue,searchable:!0},{name:"user_id",label:t("User"),type:"select",value:p,onChange:F,options:fe,searchable:!0},{name:"status",label:t("Status"),type:"select",value:u,onChange:O,options:U}],showFilters:H,setShowFilters:P,hasActiveFilters:W,activeFilterCount:Y,onResetFilters:ie,onApplyFilters:M,currentPerPage:(($=d.per_page)==null?void 0:$.toString())||"10",onPerPageChange:e=>{g.get(route("hr.documents.document-acknowledgments.index"),{page:1,per_page:parseInt(e),search:h||void 0,document_id:c!=="_empty_"?c:void 0,user_id:p!=="_empty_"?p:void 0,status:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"overflow-hidden rounded-lg bg-white shadow dark:bg-gray-900",children:[s.jsx(ye,{columns:ce,actions:pe,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:te,sortField:d.sort_field,sortDirection:d.sort_direction,onSort:ee,permissions:S,entityPermissions:{view:"view-document-acknowledgments",create:"create-document-acknowledgments",edit:"edit-document-acknowledgments",delete:"delete-document-acknowledgments"}}),s.jsx(Se,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("acknowledgments"),onPageChange:e=>g.get(e)})]}),s.jsx(X,{isOpen:K,onClose:()=>w(!1),onSubmit:oe,formConfig:{fields:[{name:"document_id",label:t("Document"),type:"select",required:!0,options:ge.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"user_id",label:t("User"),type:"select",required:!0,options:_e.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"due_date",label:t("Due Date"),type:"date",helpText:y==="create"?t("Leave empty to set 7 days from today"):void 0},{name:"status",label:t("Status"),type:"select",required:y==="edit",options:U.filter(e=>e.value!=="_empty_"),conditional:e=>e==="edit"||e==="view"},{name:"acknowledgment_note",label:t("Note"),type:"textarea",rows:3}],modalSize:"lg"},initialData:m?{...m,document_id:(q=m.document_id)==null?void 0:q.toString(),user_id:(B=m.user_id)==null?void 0:B.toString(),due_date:m.due_date?window.appSettings.formatDateTimeSimple(m.due_date,!1):m.due_date}:null,title:t(y==="create"?"Assign Document for Acknowledgment":"Edit Document Acknowledgment"),mode:y}),s.jsx(he,{isOpen:J,onClose:()=>k(!1),onConfirm:se,itemName:m?`${(L=m.document)==null?void 0:L.title} - ${(R=m.user)==null?void 0:R.name}`:"",entityName:"acknowledgment"}),s.jsx(X,{isOpen:Q,onClose:()=>v(!1),onSubmit:ae,formConfig:{fields:[{name:"acknowledgment_note",label:t("Acknowledgment Note"),type:"textarea",rows:3,placeholder:t("Enter acknowledgment note (optional)")}]},initialData:{acknowledgment_note:""},title:t("Acknowledge Document"),mode:"edit"}),s.jsx(De,{open:!!b,onOpenChange:()=>T(null),children:b&&s.jsx(Ne,{acknowledgment:b})})]})}export{xo as default}; +import{r as l,j as s}from"./ui-Z445SNHD.js";import{C as he}from"./CrudDeleteModal-D32N6I8y.js";import{C as X}from"./CrudFormModal-CsuqSfb2.js";import{C as ye}from"./CrudTable-yqxtM6E_.js";import{u as we,c as xe,x as ke,P as ve,F as be,r as g,D as De,t as i}from"./app-Dya84jp7.js";import{P as je}from"./page-template-CLNVC8w_.js";import{P as Se}from"./pagination-4PUepASD.js";import{S as Ce}from"./search-and-filter-bar-DWH0yn_r.js";import Ne from"./view-Dw61qhOk.js";import{U as Fe}from"./user-77BPqA3J.js";import{C as Oe}from"./calendar-DuRYaSj5.js";import{C as G}from"./clock-LnEFQ-vK.js";import{C as Pe}from"./circle-x-Dg5wGIim.js";import{T as Ae}from"./triangle-alert-CpPzdeiH.js";import{C as Ee}from"./circle-check-big-Cju4ilPH.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./switch-DyHgm-Sg.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./sparkles-C1HgyvOv.js";import"./briefcase-Btn3T9V4.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./calendar-days-CURbwGg4.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./chevron-right-D4JxSs4d.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./coins-CgSV4zfi.js";import"./copy-G5cMddid.js";import"./credit-card-BKi_ThdS.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./dollar-sign-DH2Tc178.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./fingerprint-aH6d8cFa.js";import"./house-iKjbmxem.js";import"./gift-CQwwB55q.js";import"./git-branch-BmbBP1kF.js";import"./globe-5zZ4IsmY.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-grid-3SDzvK8c.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./loader-circle-BLsTZrwM.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./log-out-M0Vyot5_.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./refresh-cw-D_C_cDSu.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./settings-amvA_CjN.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./timer-BTqoLJiz.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./users-BzCDZrS0.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./CookieConsentBanner-dwye0O-l.js";import"./index-BFT_C1pH.js";function xo(){var $,q,B,L,R;const{t}=we(),{auth:x,documentAcknowledgments:a,documents:D,users:j,filters:d={},globalSettings:o}=xe().props,S=(x==null?void 0:x.permissions)||[],[h,C]=l.useState(d.search||""),[c,N]=l.useState(d.document_id||"_empty_"),[p,F]=l.useState(d.user_id||"_empty_"),[u,O]=l.useState(d.status||"_empty_"),[H,P]=l.useState(!1),[J,k]=l.useState(!1),[K,w]=l.useState(!1),[Q,v]=l.useState(!1),[m,A]=l.useState(null),[y,E]=l.useState("create"),[b,T]=l.useState(null),W=()=>c!=="_empty_"||p!=="_empty_"||u!=="_empty_"||h!=="",Y=()=>(c!=="_empty_"?1:0)+(p!=="_empty_"?1:0)+(u!=="_empty_"?1:0)+(h!==""?1:0),Z=e=>{e.preventDefault(),M()},M=()=>{g.get(route("hr.documents.document-acknowledgments.index"),{page:1,search:h||void 0,document_id:c!=="_empty_"?c:void 0,user_id:p!=="_empty_"?p:void 0,status:u!=="_empty_"?u:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},ee=e=>{const r=d.sort_field===e&&d.sort_direction==="asc"?"desc":"asc";g.get(route("hr.documents.document-acknowledgments.index"),{sort_field:e,sort_direction:r,page:1,search:h||void 0,document_id:c!=="_empty_"?c:void 0,user_id:p!=="_empty_"?p:void 0,status:u!=="_empty_"?u:void 0,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},te=(e,r)=>{switch(A(r),e){case"view":T(r);break;case"edit":E("edit"),w(!0);break;case"delete":k(!0);break;case"acknowledge":v(!0);break}},re=()=>{A(null),E("create"),w(!0)},oe=e=>{y==="create"?(o!=null&&o.is_demo||i.loading(t("Assigning document acknowledgment...")),g.post(route("hr.documents.document-acknowledgments.store"),e,{onSuccess:r=>{w(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to assign acknowledgment: ${Object.values(r).join(", ")}`)}})):y==="edit"&&(o!=null&&o.is_demo||i.loading(t("Updating document acknowledgment...")),g.put(route("hr.documents.document-acknowledgments.update",m.id),e,{onSuccess:r=>{w(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update acknowledgment: ${Object.values(r).join(", ")}`)}}))},se=()=>{o!=null&&o.is_demo||i.loading(t("Deleting document acknowledgment...")),g.delete(route("hr.documents.document-acknowledgments.destroy",m.id),{onSuccess:e=>{k(!1),o!=null&&o.is_demo||i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||i.dismiss(),typeof e=="string"?i.error(e):i.error(`Failed to delete acknowledgment: ${Object.values(e).join(", ")}`)}})},ie=()=>{C(""),N("_empty_"),F("_empty_"),O("_empty_"),P(!1),g.get(route("hr.documents.document-acknowledgments.index"),{page:1,per_page:d.per_page},{preserveState:!0,preserveScroll:!0})},ae=e=>{o!=null&&o.is_demo||i.loading(t("Acknowledging document...")),g.put(route("hr.documents.document-acknowledgments.acknowledge",m.id),{acknowledgment_note:e.acknowledgment_note||"Document acknowledged"},{onSuccess:r=>{v(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to acknowledge document: ${Object.values(r).join(", ")}`)}})},I=[];ke(S,"create-document-acknowledgments")&&I.push({label:t("Assign Document"),icon:s.jsx(ve,{className:"mr-2 h-4 w-4"}),variant:"default",onClick:()=>re()});const ne=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-acknowledgments.index")},{title:t("Acknowledgments")}],me=e=>{switch(e){case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Acknowledged":return"bg-green-50 text-green-700 ring-green-600/20";case"Overdue":return"bg-red-50 text-red-700 ring-red-600/10";case"Exempted":return"bg-gray-50 text-gray-600 ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},de=e=>{switch(e){case"Pending":return s.jsx(G,{className:"h-3 w-3"});case"Acknowledged":return s.jsx(Ee,{className:"h-3 w-3"});case"Overdue":return s.jsx(Ae,{className:"h-3 w-3"});case"Exempted":return s.jsx(Pe,{className:"h-3 w-3"});default:return s.jsx(G,{className:"h-3 w-3"})}},le=e=>{if(e.status==="Acknowledged"||e.status==="Exempted"||!e.due_date)return null;const r=new Date,_=new Date(e.due_date).getTime()-r.getTime(),f=Math.ceil(_/(1e3*60*60*24));return f<0?{type:"overdue",days:Math.abs(f),text:`${Math.abs(f)} days overdue`}:f===0?{type:"today",days:0,text:"Due today"}:{type:"remaining",days:f,text:`${f} days remaining`}},ce=[{key:"document.title",label:t("Document"),sortable:!1,render:(e,r)=>{var n,_,f,V,z;return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg text-white",style:{backgroundColor:((_=(n=r.document)==null?void 0:n.category)==null?void 0:_.color)||"#3B82F6"},children:s.jsx(be,{className:"h-5 w-5"})}),s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:((f=r.document)==null?void 0:f.title)||"Unknown Document"}),s.jsx("div",{className:"text-xs text-gray-500",children:(z=(V=r.document)==null?void 0:V.category)==null?void 0:z.name})]})]})}},{key:"user.name",label:t("Employee"),render:(e,r)=>{var n;return s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Fe,{className:"h-4 w-4 text-gray-500"}),((n=r.user)==null?void 0:n.name)||"Unknown User"]})}},{key:"status",label:t("Status"),render:e=>s.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${me(e)}`,children:[de(e),t(e)]})},{key:"acknowledged_at",label:t("Acknowledged"),sortable:!0,render:(e,r)=>{var n;return e?s.jsx("div",{children:s.jsx("div",{className:"text-sm",children:e?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(e,!1))||new Date(e).toLocaleString():"-"})}):"-"}},{key:"due_date",label:t("Due Date"),sortable:!0,render:(e,r)=>{var _;if(!e)return"-";const n=le(r);return s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(Oe,{className:"h-4 w-4 text-gray-500"}),e?((_=window.appSettings)==null?void 0:_.formatDateTimeSimple(e,!1))||new Date(e).toLocaleString():"-"]}),n&&s.jsx("div",{className:`text-xs ${n.type==="overdue"?"text-red-600":n.type==="today"?"text-orange-600":"text-gray-500"}`,children:n.text})]})}},{key:"assigned_by.name",label:t("Assigned By"),render:(e,r)=>{var n;return((n=r.assigned_by)==null?void 0:n.name)||"-"}},{key:"assigned_at",label:t("Assigned"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],pe=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-document-acknowledgments"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-document-acknowledgments"},{label:t("Acknowledge"),icon:"CheckCircle",action:"acknowledge",className:"text-green-500",requiredPermission:"acknowledge-document-acknowledgments",condition:e=>e.status==="Pending"||e.status==="Overdue"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-document-acknowledgments"}],ue=[{value:"_empty_",label:t("All Documents"),disabled:!0},...(D||[]).map(e=>({value:e.id.toString(),label:e.title}))],fe=[{value:"_empty_",label:t("All Users"),disabled:!0},...(j||[]).map(e=>({value:e.id.toString(),label:e.name}))],U=[{value:"_empty_",label:t("All Statuses"),disabled:!0},{value:"Pending",label:t("Pending")},{value:"Acknowledged",label:t("Acknowledged")},{value:"Overdue",label:t("Overdue")},{value:"Exempted",label:t("Exempted")}],ge=[{value:"_empty_",label:t("Select Document")},...(D||[]).map(e=>({value:e.id.toString(),label:e.title}))],_e=[{value:"_empty_",label:t("Select User")},...(j||[]).map(e=>({value:e.id.toString(),label:e.name}))];return s.jsxs(je,{title:t("Acknowledgments"),url:"/hr/documents/document-acknowledgments",actions:I,breadcrumbs:ne,noPadding:!0,children:[s.jsx("div",{className:"mb-4 rounded-lg bg-white p-4 shadow dark:bg-gray-900",children:s.jsx(Ce,{searchTerm:h,onSearchChange:C,onSearch:Z,filters:[{name:"document_id",label:t("Document"),type:"select",value:c,onChange:N,options:ue,searchable:!0},{name:"user_id",label:t("User"),type:"select",value:p,onChange:F,options:fe,searchable:!0},{name:"status",label:t("Status"),type:"select",value:u,onChange:O,options:U}],showFilters:H,setShowFilters:P,hasActiveFilters:W,activeFilterCount:Y,onResetFilters:ie,onApplyFilters:M,currentPerPage:(($=d.per_page)==null?void 0:$.toString())||"10",onPerPageChange:e=>{g.get(route("hr.documents.document-acknowledgments.index"),{page:1,per_page:parseInt(e),search:h||void 0,document_id:c!=="_empty_"?c:void 0,user_id:p!=="_empty_"?p:void 0,status:u!=="_empty_"?u:void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"overflow-hidden rounded-lg bg-white shadow dark:bg-gray-900",children:[s.jsx(ye,{columns:ce,actions:pe,data:(a==null?void 0:a.data)||[],from:(a==null?void 0:a.from)||1,onAction:te,sortField:d.sort_field,sortDirection:d.sort_direction,onSort:ee,permissions:S,entityPermissions:{view:"view-document-acknowledgments",create:"create-document-acknowledgments",edit:"edit-document-acknowledgments",delete:"delete-document-acknowledgments"}}),s.jsx(Se,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:t("acknowledgments"),onPageChange:e=>g.get(e)})]}),s.jsx(X,{isOpen:K,onClose:()=>w(!1),onSubmit:oe,formConfig:{fields:[{name:"document_id",label:t("Document"),type:"select",required:!0,options:ge.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"user_id",label:t("User"),type:"select",required:!0,options:_e.filter(e=>e.value!=="_empty_"),searchable:!0},{name:"due_date",label:t("Due Date"),type:"date",helpText:y==="create"?t("Leave empty to set 7 days from today"):void 0},{name:"status",label:t("Status"),type:"select",required:y==="edit",options:U.filter(e=>e.value!=="_empty_"),conditional:e=>e==="edit"||e==="view"},{name:"acknowledgment_note",label:t("Note"),type:"textarea",rows:3}],modalSize:"lg"},initialData:m?{...m,document_id:(q=m.document_id)==null?void 0:q.toString(),user_id:(B=m.user_id)==null?void 0:B.toString(),due_date:m.due_date?window.appSettings.formatDateTimeSimple(m.due_date,!1):m.due_date}:null,title:t(y==="create"?"Assign Document for Acknowledgment":"Edit Document Acknowledgment"),mode:y}),s.jsx(he,{isOpen:J,onClose:()=>k(!1),onConfirm:se,itemName:m?`${(L=m.document)==null?void 0:L.title} - ${(R=m.user)==null?void 0:R.name}`:"",entityName:"acknowledgment"}),s.jsx(X,{isOpen:Q,onClose:()=>v(!1),onSubmit:ae,formConfig:{fields:[{name:"acknowledgment_note",label:t("Acknowledgment Note"),type:"textarea",rows:3,placeholder:t("Enter acknowledgment note (optional)")}]},initialData:{acknowledgment_note:""},title:t("Acknowledge Document"),mode:"edit"}),s.jsx(De,{open:!!b,onOpenChange:()=>T(null),children:b&&s.jsx(Ne,{acknowledgment:b})})]})}export{xo as default}; diff --git a/public/build/assets/index-BvhZLF0G.js b/public/build/assets/index-Duh_t5s5.js similarity index 74% rename from public/build/assets/index-BvhZLF0G.js rename to public/build/assets/index-Duh_t5s5.js index 6abe696be..0634fa474 100644 --- a/public/build/assets/index-BvhZLF0G.js +++ b/public/build/assets/index-Duh_t5s5.js @@ -1 +1 @@ -import{R as d,j as i}from"./ui-Z445SNHD.js";import{u as Q,c as F,a as W,O as z,Q as G,H as X,T as Y}from"./app-CfhhiFAk.js";import Z from"./Header-DgbIWCbH.js";import K from"./HeroSection-DDk-8ZQO.js";import tt from"./FeaturesSection-BbnHd1Fx.js";import et from"./ScreenshotsSection-Cufxpz-n.js";import ot from"./WhyChooseUs-B0lIb9AU.js";import st from"./AboutUs-NnRpFGtj.js";import rt from"./TeamSection-CQZvlFRV.js";import nt from"./TestimonialsSection-DTvM3atF.js";import it from"./PlansSection-MkqH7YpJ.js";import ct from"./FaqSection-D26nrHhP.js";import at from"./NewsletterSection-B7eU_dYx.js";import mt from"./ContactSection-B2xucE0P.js";import dt from"./Footer-EjF7VPLK.js";import{u as ut}from"./use-favicon-Dgw0iu9k.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./menu-Ce4PLUkG.js";import"./arrow-right-0WTHrq3r.js";import"./play-C-QVLyAb.js";import"./useScrollAnimation-B_bDsIuD.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./award-DMMowKjz.js";import"./user-plus-DXHdW4q-.js";import"./clock-CwFdn-oy.js";import"./dollar-sign-DYXFWWsE.js";import"./shield-BXgaUVtY.js";import"./wifi-C3afLemA.js";import"./lock-By6rMOj7.js";import"./users-C4LpG59H.js";import"./zap-DncwKEcc.js";import"./star-DQsTg5F1.js";import"./globe-DePi6jyA.js";import"./chart-column-CXNcY9Vx.js";import"./qr-code-Dvy3HD3W.js";import"./monitor-CnIEqEUy.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./layers-Dl67CG9c.js";import"./circle-check-big-C5Cqj7-2.js";import"./lightbulb-BGgHG47R.js";import"./target-Pzb9zAUp.js";import"./twitter-C171Pyox.js";import"./mail-CGIE7ZEy.js";import"./quote-CVpLTvYv.js";import"./chevron-up-DepFp6b6.js";import"./phone-B_MwJBjY.js";import"./map-pin-BEMjKB1T.js";import"./send-Cj7KqUHo.js";import"./instagram-BINpUnZv.js";function pe(){var C,g,x,D,j,E,b,L,k,w,v,R,T;const{i18n:l}=Q(),f=F(),{plans:H,testimonials:O,faqs:A,customPages:I=[],settings:o,flash:h}=f.props,e=f.props.globalSettings,{themeColor:_,customColor:B}=W(),c=((g=(C=o.config_sections)==null?void 0:C.theme)==null?void 0:g.primary_color)||(_==="custom"?B:Y[_]),p=F().props.userLanguage;ut(),d.useEffect(()=>{p&&l.language!==p&&l.changeLanguage(p)},[p,l]);const y=d.useCallback(()=>{const t=(e==null?void 0:e.is_demo)||!1,s=p||(e==null?void 0:e.defaultLanguage)||"en",n=["ar","he"].includes(s);let r="ltr";const V=(t?($=>{var P;if(typeof document>"u")return null;const M=`; ${document.cookie}`.split(`; ${$}=`);if(M.length===2){const q=(P=M.pop())==null?void 0:P.split(";").shift();return q?decodeURIComponent(q):null}return null})("layoutPosition"):e==null?void 0:e.layoutDirection)==="right";return(n||V)&&(r="rtl"),document.documentElement.dir=r,document.documentElement.setAttribute("dir",r),document.body.dir=r,r},[p,e==null?void 0:e.defaultLanguage,e==null?void 0:e.is_demo,e==null?void 0:e.layoutDirection]);d.useLayoutEffect(()=>{const t=y(),s=new MutationObserver(()=>{document.documentElement.dir!==t&&(document.documentElement.dir=t,document.documentElement.setAttribute("dir",t))});return s.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),()=>s.disconnect()},[y]),d.useEffect(()=>{let t="light";if(z())try{const r=G("themeSettings");r&&(t=JSON.parse(r).appearance||"light")}catch{}else t=(e==null?void 0:e.themeMode)||"light";const s=window.matchMedia("(prefers-color-scheme: dark)").matches,n=t==="dark"||t==="system"&&s;document.documentElement.classList.toggle("dark",n),document.body.classList.toggle("dark",n)},[e==null?void 0:e.themeMode]),d.useEffect(()=>{var s;const t=(s=o.config_sections)==null?void 0:s.seo;if(t!=null&&t.meta_title&&(document.title=t.meta_title),t!=null&&t.meta_description){let n=document.querySelector('meta[name="description"]');n||(n=document.createElement("meta"),n.setAttribute("name","description"),document.head.appendChild(n)),n.setAttribute("content",t.meta_description)}},[(x=o.config_sections)==null?void 0:x.seo]),d.useEffect(()=>{var s;const t=(s=o.config_sections)==null?void 0:s.custom_css;if(t){const n="landing-custom-css";let r=document.getElementById(n);r||(r=document.createElement("style"),r.id=n,document.head.appendChild(r)),r.textContent=t}},[(D=o.config_sections)==null?void 0:D.custom_css]),d.useEffect(()=>{var s;const t=(s=o.config_sections)==null?void 0:s.custom_js;if(t){const n="landing-custom-js";let r=document.getElementById(n);r&&r.remove(),r=document.createElement("script"),r.id=n,r.textContent=t,document.body.appendChild(r)}},[(j=o.config_sections)==null?void 0:j.custom_js]);const a=t=>{var s,n;return((n=(s=o.config_sections)==null?void 0:s.sections)==null?void 0:n.find(r=>r.key===t))||{}},m=t=>{var s,n;return((n=(s=o.config_sections)==null?void 0:s.section_visibility)==null?void 0:n[t])!==!1},N=((E=o.config_sections)==null?void 0:E.section_order)||["header","hero","features","screenshots","why_choose_us","templates","about","team","testimonials","plans","faq","newsletter","contact","footer"],U={header:()=>m("header")&&i.jsx(Z,{settings:o,sectionData:a("header"),customPages:I,brandColor:c}),hero:()=>m("hero")&&i.jsx(K,{settings:o,sectionData:a("hero"),brandColor:c}),features:()=>m("features")&&i.jsx(tt,{settings:o,sectionData:a("features"),brandColor:c}),screenshots:()=>m("screenshots")&&i.jsx(et,{settings:o,globalSettings:e,sectionData:a("screenshots"),brandColor:c}),why_choose_us:()=>m("why_choose_us")&&i.jsx(ot,{settings:o,sectionData:a("why_choose_us"),brandColor:c}),about:()=>m("about")&&i.jsx(st,{settings:o,sectionData:a("about"),brandColor:c}),team:()=>m("team")&&i.jsx(rt,{settings:o,sectionData:a("team"),brandColor:c}),testimonials:()=>m("testimonials")&&i.jsx(nt,{testimonials:O,settings:o,sectionData:a("testimonials"),brandColor:c}),plans:()=>m("plans")&&i.jsx(it,{plans:H,settings:o,sectionData:a("plans"),brandColor:c}),faq:()=>m("faq")&&i.jsx(ct,{faqs:A,settings:o,sectionData:a("faq"),brandColor:c}),newsletter:()=>m("newsletter")&&i.jsx(at,{flash:h,settings:o,sectionData:a("newsletter"),brandColor:c}),contact:()=>m("contact")&&i.jsx(mt,{flash:h,settings:o,sectionData:a("contact"),brandColor:c}),footer:()=>m("footer")&&i.jsx(dt,{settings:o,sectionData:a("footer"),brandColor:c})},u=(b=o.config_sections)==null?void 0:b.seo,J=(u==null?void 0:u.meta_title)||(e==null?void 0:e.title_text)||"HRM";return i.jsxs(i.Fragment,{children:[i.jsx(X,{title:J,children:(u==null?void 0:u.meta_description)&&i.jsx("meta",{name:"description",content:u.meta_description})}),i.jsx("div",{className:"min-h-screen bg-white",style:{scrollBehavior:"smooth","--brand-color":c,"--primary-color":((k=(L=o.config_sections)==null?void 0:L.theme)==null?void 0:k.primary_color)||c,"--secondary-color":((v=(w=o.config_sections)==null?void 0:w.theme)==null?void 0:v.secondary_color)||"#8b5cf6","--accent-color":((T=(R=o.config_sections)==null?void 0:R.theme)==null?void 0:T.accent_color)||"#10b77f"},children:N.map(t=>{const s=U[t];return s?i.jsx(d.Fragment,{children:s()},t):null})})]})}export{pe as default}; +import{R as d,j as i}from"./ui-Z445SNHD.js";import{u as Q,c as F,a as W,O as z,Q as G,H as X,T as Y}from"./app-Dya84jp7.js";import Z from"./Header-CPmg6Bp5.js";import K from"./HeroSection-Z2S1x8Si.js";import tt from"./FeaturesSection-D-RNp6Oy.js";import et from"./ScreenshotsSection-ZsoMa9xw.js";import ot from"./WhyChooseUs-tfkiXnEx.js";import st from"./AboutUs-Dzdgan1P.js";import rt from"./TeamSection-DgmuZVwU.js";import nt from"./TestimonialsSection-8hPz5wUJ.js";import it from"./PlansSection-CbnsxVRF.js";import ct from"./FaqSection-CN7PLtZG.js";import at from"./NewsletterSection-Cm0nudgR.js";import mt from"./ContactSection-RJDSbCmK.js";import dt from"./Footer-CzBrdWfY.js";import{u as ut}from"./use-favicon-B8cqaHhj.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./menu-GuULvnRC.js";import"./arrow-right-BHW--AGU.js";import"./play-BxVAbvyQ.js";import"./useScrollAnimation-B_bDsIuD.js";import"./chart-no-axes-column-BoCXnewH.js";import"./award-D1KbOerA.js";import"./user-plus-BpaQ3zuJ.js";import"./clock-LnEFQ-vK.js";import"./dollar-sign-DH2Tc178.js";import"./shield-CDL27iRK.js";import"./wifi-vecZUHsy.js";import"./lock-DaHvMEII.js";import"./users-BzCDZrS0.js";import"./zap-CgFkG-9H.js";import"./star-DCkLKzoE.js";import"./globe-5zZ4IsmY.js";import"./chart-column-B76eI9Qi.js";import"./qr-code-CUIVRbAs.js";import"./monitor-BYgqmcKD.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./layers-OK3_pizJ.js";import"./circle-check-big-Cju4ilPH.js";import"./lightbulb-BaPQrzRp.js";import"./target-BPl0Bsow.js";import"./twitter-DZQVDI4Y.js";import"./mail-Cha_PX4q.js";import"./quote-BmDTOIsR.js";import"./chevron-up-DHaGktre.js";import"./phone-3MnRoAYu.js";import"./map-pin-DFWKFR9c.js";import"./send-Cs5D4i9u.js";import"./instagram-hxbchcd2.js";function pe(){var C,g,x,D,j,E,b,L,k,w,v,R,T;const{i18n:l}=Q(),f=F(),{plans:H,testimonials:O,faqs:A,customPages:I=[],settings:o,flash:h}=f.props,e=f.props.globalSettings,{themeColor:_,customColor:B}=W(),c=((g=(C=o.config_sections)==null?void 0:C.theme)==null?void 0:g.primary_color)||(_==="custom"?B:Y[_]),p=F().props.userLanguage;ut(),d.useEffect(()=>{p&&l.language!==p&&l.changeLanguage(p)},[p,l]);const y=d.useCallback(()=>{const t=(e==null?void 0:e.is_demo)||!1,s=p||(e==null?void 0:e.defaultLanguage)||"en",n=["ar","he"].includes(s);let r="ltr";const V=(t?($=>{var P;if(typeof document>"u")return null;const M=`; ${document.cookie}`.split(`; ${$}=`);if(M.length===2){const q=(P=M.pop())==null?void 0:P.split(";").shift();return q?decodeURIComponent(q):null}return null})("layoutPosition"):e==null?void 0:e.layoutDirection)==="right";return(n||V)&&(r="rtl"),document.documentElement.dir=r,document.documentElement.setAttribute("dir",r),document.body.dir=r,r},[p,e==null?void 0:e.defaultLanguage,e==null?void 0:e.is_demo,e==null?void 0:e.layoutDirection]);d.useLayoutEffect(()=>{const t=y(),s=new MutationObserver(()=>{document.documentElement.dir!==t&&(document.documentElement.dir=t,document.documentElement.setAttribute("dir",t))});return s.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),()=>s.disconnect()},[y]),d.useEffect(()=>{let t="light";if(z())try{const r=G("themeSettings");r&&(t=JSON.parse(r).appearance||"light")}catch{}else t=(e==null?void 0:e.themeMode)||"light";const s=window.matchMedia("(prefers-color-scheme: dark)").matches,n=t==="dark"||t==="system"&&s;document.documentElement.classList.toggle("dark",n),document.body.classList.toggle("dark",n)},[e==null?void 0:e.themeMode]),d.useEffect(()=>{var s;const t=(s=o.config_sections)==null?void 0:s.seo;if(t!=null&&t.meta_title&&(document.title=t.meta_title),t!=null&&t.meta_description){let n=document.querySelector('meta[name="description"]');n||(n=document.createElement("meta"),n.setAttribute("name","description"),document.head.appendChild(n)),n.setAttribute("content",t.meta_description)}},[(x=o.config_sections)==null?void 0:x.seo]),d.useEffect(()=>{var s;const t=(s=o.config_sections)==null?void 0:s.custom_css;if(t){const n="landing-custom-css";let r=document.getElementById(n);r||(r=document.createElement("style"),r.id=n,document.head.appendChild(r)),r.textContent=t}},[(D=o.config_sections)==null?void 0:D.custom_css]),d.useEffect(()=>{var s;const t=(s=o.config_sections)==null?void 0:s.custom_js;if(t){const n="landing-custom-js";let r=document.getElementById(n);r&&r.remove(),r=document.createElement("script"),r.id=n,r.textContent=t,document.body.appendChild(r)}},[(j=o.config_sections)==null?void 0:j.custom_js]);const a=t=>{var s,n;return((n=(s=o.config_sections)==null?void 0:s.sections)==null?void 0:n.find(r=>r.key===t))||{}},m=t=>{var s,n;return((n=(s=o.config_sections)==null?void 0:s.section_visibility)==null?void 0:n[t])!==!1},N=((E=o.config_sections)==null?void 0:E.section_order)||["header","hero","features","screenshots","why_choose_us","templates","about","team","testimonials","plans","faq","newsletter","contact","footer"],U={header:()=>m("header")&&i.jsx(Z,{settings:o,sectionData:a("header"),customPages:I,brandColor:c}),hero:()=>m("hero")&&i.jsx(K,{settings:o,sectionData:a("hero"),brandColor:c}),features:()=>m("features")&&i.jsx(tt,{settings:o,sectionData:a("features"),brandColor:c}),screenshots:()=>m("screenshots")&&i.jsx(et,{settings:o,globalSettings:e,sectionData:a("screenshots"),brandColor:c}),why_choose_us:()=>m("why_choose_us")&&i.jsx(ot,{settings:o,sectionData:a("why_choose_us"),brandColor:c}),about:()=>m("about")&&i.jsx(st,{settings:o,sectionData:a("about"),brandColor:c}),team:()=>m("team")&&i.jsx(rt,{settings:o,sectionData:a("team"),brandColor:c}),testimonials:()=>m("testimonials")&&i.jsx(nt,{testimonials:O,settings:o,sectionData:a("testimonials"),brandColor:c}),plans:()=>m("plans")&&i.jsx(it,{plans:H,settings:o,sectionData:a("plans"),brandColor:c}),faq:()=>m("faq")&&i.jsx(ct,{faqs:A,settings:o,sectionData:a("faq"),brandColor:c}),newsletter:()=>m("newsletter")&&i.jsx(at,{flash:h,settings:o,sectionData:a("newsletter"),brandColor:c}),contact:()=>m("contact")&&i.jsx(mt,{flash:h,settings:o,sectionData:a("contact"),brandColor:c}),footer:()=>m("footer")&&i.jsx(dt,{settings:o,sectionData:a("footer"),brandColor:c})},u=(b=o.config_sections)==null?void 0:b.seo,J=(u==null?void 0:u.meta_title)||(e==null?void 0:e.title_text)||"HRM";return i.jsxs(i.Fragment,{children:[i.jsx(X,{title:J,children:(u==null?void 0:u.meta_description)&&i.jsx("meta",{name:"description",content:u.meta_description})}),i.jsx("div",{className:"min-h-screen bg-white",style:{scrollBehavior:"smooth","--brand-color":c,"--primary-color":((k=(L=o.config_sections)==null?void 0:L.theme)==null?void 0:k.primary_color)||c,"--secondary-color":((v=(w=o.config_sections)==null?void 0:w.theme)==null?void 0:v.secondary_color)||"#8b5cf6","--accent-color":((T=(R=o.config_sections)==null?void 0:R.theme)==null?void 0:T.accent_color)||"#10b77f"},children:N.map(t=>{const s=U[t];return s?i.jsx(d.Fragment,{children:s()},t):null})})]})}export{pe as default}; diff --git a/public/build/assets/index-kp14gyxT.js b/public/build/assets/index-DvX1CIpv.js similarity index 53% rename from public/build/assets/index-kp14gyxT.js rename to public/build/assets/index-DvX1CIpv.js index 815b39262..d403a377d 100644 --- a/public/build/assets/index-kp14gyxT.js +++ b/public/build/assets/index-DvX1CIpv.js @@ -1 +1 @@ -import{r as a,j as s}from"./ui-Z445SNHD.js";import{P as $}from"./page-template-BTxLyiDA.js";import{u as Y,c as z,x as B,P as L,r as n,D as U,t as o}from"./app-CfhhiFAk.js";import{C as G}from"./CrudTable-qPWooc10.js";import{C as H}from"./CrudFormModal-DAR9q-oM.js";import{C as J}from"./CrudDeleteModal-CKTiD3_K.js";import{P as K}from"./pagination-D8A_HnL5.js";import{S as W}from"./search-and-filter-bar-6Pp-FsiR.js";import X from"./view-D_VJF0vQ.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Rr(){var j;const{t}=Y(),{auth:d,customQuestions:i,filters:m={}}=z().props,g=(d==null?void 0:d.permissions)||[],[l,q]=a.useState(m.search||""),[y,b]=a.useState(!1),[F,f]=a.useState(!1),[P,u]=a.useState(!1),[p,S]=a.useState(null),[c,x]=a.useState("create"),[h,v]=a.useState(null),N=()=>l!=="",_=()=>l!==""?1:0,D=e=>{e.preventDefault(),C()},C=()=>{n.get(route("hr.recruitment.custom-questions.index"),{page:1,search:l||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},k=e=>{const r=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";n.get(route("hr.recruitment.custom-questions.index"),{sort_field:e,sort_direction:r,page:1,search:l||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},A=(e,r)=>{switch(S(r),e){case"view":v(r);break;case"edit":x("edit"),u(!0);break;case"delete":f(!0);break}},O=()=>{S(null),x("create"),u(!0)},E=e=>{c==="create"?(o.loading(t("Creating custom question...")),n.post(route("hr.recruitment.custom-questions.store"),e,{onSuccess:r=>{u(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to create custom question: ${Object.values(r).join(", ")}`)}})):c==="edit"&&(o.loading(t("Updating custom question...")),n.put(route("hr.recruitment.custom-questions.update",p.id),e,{onSuccess:r=>{u(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update custom question: ${Object.values(r).join(", ")}`)}}))},M=()=>{o.loading(t("Deleting custom question...")),n.delete(route("hr.recruitment.custom-questions.destroy",p.id),{onSuccess:e=>{f(!1),o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{o.dismiss(),typeof e=="string"?o.error(e):o.error(`Failed to delete custom question: ${Object.values(e).join(", ")}`)}})},T=()=>{q(""),b(!1),n.get(route("hr.recruitment.custom-questions.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},w=[];B(g,"create-custom-questions")&&w.push({label:t("Add Custom Question"),icon:s.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>O()});const R=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.custom-questions.index")},{title:t("Custom Questions")}],I=[{key:"question",label:t("Question"),sortable:!0,render:e=>s.jsx("div",{className:"font-medium",children:e})},{key:"required",label:t("Required"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e==1?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:e==1?t("Yes"):t("No")})},{key:"created_at",label:t("Created At"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],V=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-custom-questions"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-custom-questions"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-custom-questions"}];return s.jsxs($,{title:t("Custom Questions"),url:"/hr/recruitment/custom-questions",actions:w,breadcrumbs:R,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(W,{searchTerm:l,onSearchChange:q,onSearch:D,filters:[],showFilters:y,setShowFilters:b,hasActiveFilters:N,activeFilterCount:_,onResetFilters:T,onApplyFilters:C,currentPerPage:((j=m.per_page)==null?void 0:j.toString())||"10",onPerPageChange:e=>{n.get(route("hr.recruitment.custom-questions.index"),{page:1,per_page:parseInt(e),search:l||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(G,{columns:I,actions:V,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:A,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:k,permissions:g,entityPermissions:{view:"view-custom-questions",create:"create-custom-questions",edit:"edit-custom-questions",delete:"delete-custom-questions"}}),s.jsx(K,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("custom questions"),onPageChange:e=>n.get(e)})]}),s.jsx(H,{isOpen:P,onClose:()=>u(!1),onSubmit:E,formConfig:{fields:[{name:"question",label:t("Question"),type:"textarea",required:!0},{name:"required",label:t("Required"),type:"select",options:[{value:"1",label:t("Yes")},{value:"0",label:t("No")}],defaultValue:"0"}],modalSize:"lg"},initialData:p?{...p,required:String(p.required)}:null,title:t(c==="create"?"Add New Custom Question":"Edit Custom Question"),mode:c}),s.jsx(J,{isOpen:F,onClose:()=>f(!1),onConfirm:M,itemName:(p==null?void 0:p.question)||"",entityName:"custom question"}),s.jsx(U,{open:!!h,onOpenChange:()=>v(null),children:h&&s.jsx(X,{customQuestion:h})})]})}export{Rr as default}; +import{r as a,j as s}from"./ui-Z445SNHD.js";import{P as $}from"./page-template-CLNVC8w_.js";import{u as Y,c as z,x as B,P as L,r as n,D as U,t as o}from"./app-Dya84jp7.js";import{C as G}from"./CrudTable-yqxtM6E_.js";import{C as H}from"./CrudFormModal-CsuqSfb2.js";import{C as J}from"./CrudDeleteModal-D32N6I8y.js";import{P as K}from"./pagination-4PUepASD.js";import{S as W}from"./search-and-filter-bar-DWH0yn_r.js";import X from"./view-DnoEz16W.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Rr(){var j;const{t}=Y(),{auth:d,customQuestions:i,filters:m={}}=z().props,g=(d==null?void 0:d.permissions)||[],[l,q]=a.useState(m.search||""),[y,b]=a.useState(!1),[F,f]=a.useState(!1),[P,u]=a.useState(!1),[p,S]=a.useState(null),[c,x]=a.useState("create"),[h,v]=a.useState(null),N=()=>l!=="",_=()=>l!==""?1:0,D=e=>{e.preventDefault(),C()},C=()=>{n.get(route("hr.recruitment.custom-questions.index"),{page:1,search:l||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},k=e=>{const r=m.sort_field===e&&m.sort_direction==="asc"?"desc":"asc";n.get(route("hr.recruitment.custom-questions.index"),{sort_field:e,sort_direction:r,page:1,search:l||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},A=(e,r)=>{switch(S(r),e){case"view":v(r);break;case"edit":x("edit"),u(!0);break;case"delete":f(!0);break}},O=()=>{S(null),x("create"),u(!0)},E=e=>{c==="create"?(o.loading(t("Creating custom question...")),n.post(route("hr.recruitment.custom-questions.store"),e,{onSuccess:r=>{u(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to create custom question: ${Object.values(r).join(", ")}`)}})):c==="edit"&&(o.loading(t("Updating custom question...")),n.put(route("hr.recruitment.custom-questions.update",p.id),e,{onSuccess:r=>{u(!1),o.dismiss(),r.props.flash.success?o.success(t(r.props.flash.success)):r.props.flash.error&&o.error(t(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(r):o.error(`Failed to update custom question: ${Object.values(r).join(", ")}`)}}))},M=()=>{o.loading(t("Deleting custom question...")),n.delete(route("hr.recruitment.custom-questions.destroy",p.id),{onSuccess:e=>{f(!1),o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{o.dismiss(),typeof e=="string"?o.error(e):o.error(`Failed to delete custom question: ${Object.values(e).join(", ")}`)}})},T=()=>{q(""),b(!1),n.get(route("hr.recruitment.custom-questions.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},w=[];B(g,"create-custom-questions")&&w.push({label:t("Add Custom Question"),icon:s.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>O()});const R=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.custom-questions.index")},{title:t("Custom Questions")}],I=[{key:"question",label:t("Question"),sortable:!0,render:e=>s.jsx("div",{className:"font-medium",children:e})},{key:"required",label:t("Required"),render:e=>s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e==1?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:e==1?t("Yes"):t("No")})},{key:"created_at",label:t("Created At"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],V=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-custom-questions"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-custom-questions"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-custom-questions"}];return s.jsxs($,{title:t("Custom Questions"),url:"/hr/recruitment/custom-questions",actions:w,breadcrumbs:R,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(W,{searchTerm:l,onSearchChange:q,onSearch:D,filters:[],showFilters:y,setShowFilters:b,hasActiveFilters:N,activeFilterCount:_,onResetFilters:T,onApplyFilters:C,currentPerPage:((j=m.per_page)==null?void 0:j.toString())||"10",onPerPageChange:e=>{n.get(route("hr.recruitment.custom-questions.index"),{page:1,per_page:parseInt(e),search:l||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(G,{columns:I,actions:V,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:A,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:k,permissions:g,entityPermissions:{view:"view-custom-questions",create:"create-custom-questions",edit:"edit-custom-questions",delete:"delete-custom-questions"}}),s.jsx(K,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("custom questions"),onPageChange:e=>n.get(e)})]}),s.jsx(H,{isOpen:P,onClose:()=>u(!1),onSubmit:E,formConfig:{fields:[{name:"question",label:t("Question"),type:"textarea",required:!0},{name:"required",label:t("Required"),type:"select",options:[{value:"1",label:t("Yes")},{value:"0",label:t("No")}],defaultValue:"0"}],modalSize:"lg"},initialData:p?{...p,required:String(p.required)}:null,title:t(c==="create"?"Add New Custom Question":"Edit Custom Question"),mode:c}),s.jsx(J,{isOpen:F,onClose:()=>f(!1),onConfirm:M,itemName:(p==null?void 0:p.question)||"",entityName:"custom question"}),s.jsx(U,{open:!!h,onOpenChange:()=>v(null),children:h&&s.jsx(X,{customQuestion:h})})]})}export{Rr as default}; diff --git a/public/build/assets/index-DJPI4w11.js b/public/build/assets/index-GXWegY7L.js similarity index 70% rename from public/build/assets/index-DJPI4w11.js rename to public/build/assets/index-GXWegY7L.js index 797abefb2..a27378bb1 100644 --- a/public/build/assets/index-DJPI4w11.js +++ b/public/build/assets/index-GXWegY7L.js @@ -1 +1 @@ -import{r as m,j as o}from"./ui-Z445SNHD.js";import{P as le}from"./page-template-BTxLyiDA.js";import{u as ne,c as pe,x as de,P as me,r as n,t as a}from"./app-CfhhiFAk.js";import{C as ce}from"./CrudTable-qPWooc10.js";import{C as q}from"./CrudFormModal-DAR9q-oM.js";import{C as ue}from"./CrudDeleteModal-CKTiD3_K.js";import{P as fe}from"./pagination-D8A_HnL5.js";import{S as ge}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ti(){var P,A,$,k;const{t:e}=ne(),{auth:f,offers:s,candidates:x,departments:M,employees:R,jobPostings:_e,currentUser:h,filters:l={}}=pe().props,v=(f==null?void 0:f.permissions)||[],[g,w]=m.useState(l.search||""),[p,D]=m.useState(l.status||"_empty_"),[d,C]=m.useState(l.candidate_id||"_empty_"),[B,O]=m.useState(!1),[U,S]=m.useState(!1),[V,_]=m.useState(!1),[L,y]=m.useState(!1),[i,j]=m.useState(null),[u,F]=m.useState("create"),z=()=>p!=="_empty_"||d!=="_empty_"||g!=="",G=()=>(p!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(g!==""?1:0),H=t=>{t.preventDefault(),N()},N=()=>{n.get(route("hr.recruitment.offers.index"),{page:1,search:g||void 0,status:p!=="_empty_"?p:void 0,candidate_id:d!=="_empty_"?d:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},J=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";n.get(route("hr.recruitment.offers.index"),{sort_field:t,sort_direction:r,page:1,search:g||void 0,status:p!=="_empty_"?p:void 0,candidate_id:d!=="_empty_"?d:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},K=(t,r)=>{switch(j(r),t){case"view":n.get(route("hr.recruitment.offers.show",r.id));break;case"edit":F("edit"),_(!0);break;case"delete":S(!0);break;case"update-status":y(!0);break}},Q=()=>{j(null),F("create"),_(!0)},W=t=>{u==="create"?(a.loading(e("Creating offer...")),n.post(route("hr.recruitment.offers.store"),t,{onSuccess:r=>{_(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error?a.error(e(r.props.flash.error)):a.success(e("Offer created successfully"))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to create offer: ${Object.values(r).join(", ")}`)}})):u==="edit"&&(a.loading(e("Updating offer...")),n.put(route("hr.recruitment.offers.update",i.id),t,{onSuccess:r=>{_(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error?a.error(e(r.props.flash.error)):a.success(e("Offer updated successfully"))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to update offer: ${Object.values(r).join(", ")}`)}}))},X=()=>{a.loading(e("Deleting offer...")),n.delete(route("hr.recruitment.offers.destroy",i.id),{onSuccess:t=>{S(!1),a.dismiss(),t.props.flash.success?a.success(e(t.props.flash.success)):t.props.flash.error?a.error(e(t.props.flash.error)):a.success(e("Offer deleted successfully"))},onError:t=>{a.dismiss(),typeof t=="string"?a.error(t):a.error(`Failed to delete offer: ${Object.values(t).join(", ")}`)}})},Y=t=>{a.loading(e("Updating status...")),n.put(route("hr.recruitment.offers.update-status",i.id),t,{onSuccess:r=>{y(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error?a.error(e(r.props.flash.error)):a.success(e("Status updated successfully"))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to update status: ${Object.values(r).join(", ")}`)}})},Z=()=>{w(""),D("_empty_"),C("_empty_"),O(!1),n.get(route("hr.recruitment.offers.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},E=[];de(v,"create-offers")&&E.push({label:e("Create Offer"),icon:o.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>Q()});const I=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.offers.index")},{title:e("Offers")}],ee=t=>{switch(t){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Sent":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Accepted":return"bg-green-50 text-green-700 ring-green-600/20";case"Negotiating":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Declined":return"bg-red-50 text-red-700 ring-red-600/10";case"Expired":return"bg-orange-50 text-orange-700 ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},te=[{key:"candidate.full_name",label:e("Candidate"),render:(t,r)=>{var c,b,T;return o.jsxs("div",{children:[o.jsxs("div",{className:"font-medium",children:[(c=r.candidate)==null?void 0:c.first_name," ",(b=r.candidate)==null?void 0:b.last_name]}),o.jsx("div",{className:"text-xs text-gray-500",children:(T=r.job)==null?void 0:T.title})]})}},{key:"salary",label:e("Salary"),render:(t,r)=>{var c;return o.jsx("div",{children:o.jsx("div",{className:"font-medium",children:(c=window.appSettings)==null?void 0:c.formatCurrency(t)})})}},{key:"start_date",label:e("Start Date"),sortable:!1,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"expiration_date",label:e("Expires"),sortable:!1,render:t=>{var b;if(!t)return"-";const r=new Date(t),c=ro.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ee(t)}`,children:e(t)})},{key:"offer_date",label:e("Offer Date"),sortable:!1,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],re=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-offers"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-offers",condition:t=>!["Accepted","Declined"].includes(t.status)},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"approve-offers",condition:t=>!["Accepted","Declined"].includes(t.status)},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-offers"}],ie=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"Draft",label:e("Draft")},{value:"Sent",label:e("Sent")},{value:"Accepted",label:e("Accepted")},{value:"Negotiating",label:e("Negotiating")},{value:"Declined",label:e("Declined")},{value:"Expired",label:e("Expired")}],ae=[{value:"_empty_",label:e("All Candidates"),disabled:!0},...(x||[]).map(t=>({value:t.id.toString(),label:`${t.first_name} ${t.last_name}`}))],se=[{value:"_empty_",label:e("Select Candidate")},...(x||[]).map(t=>({value:t.id.toString(),label:`${t.first_name} ${t.last_name}`}))];[...(M||[]).map(t=>{var r;return{value:t.id.toString(),label:`${t.name} - ${((r=t.branch)==null?void 0:r.name)||"No Branch"}`}})];const oe=[{value:"_empty_",label:e("Select Approver")},...(R||[]).map(t=>{var r;return{value:t.id.toString(),label:`${t.name} - ${((r=f==null?void 0:f.user)==null?void 0:r.name)||"Company"}`}})];return o.jsxs(le,{title:e("Offers"),url:"/hr/recruitment/offers",actions:E,breadcrumbs:I,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ge,{searchTerm:g,onSearchChange:w,onSearch:H,filters:[{name:"status",label:e("Status"),type:"select",value:p,onChange:D,options:ie,searchable:!0},{name:"candidate_id",label:e("Candidate"),type:"select",value:d,onChange:C,options:ae,searchable:!0}],showFilters:B,setShowFilters:O,hasActiveFilters:z,activeFilterCount:G,onResetFilters:Z,onApplyFilters:N,currentPerPage:((P=l.per_page)==null?void 0:P.toString())||"10",onPerPageChange:t=>{n.get(route("hr.recruitment.offers.index"),{page:1,per_page:parseInt(t),search:g||void 0,status:p!=="_empty_"?p:void 0,candidate_id:d!=="_empty_"?d:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(ce,{columns:te,actions:re,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:K,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:J,permissions:v,entityPermissions:{view:"view-offers",create:"create-offers",edit:"edit-offers",delete:"delete-offers"}}),o.jsx(fe,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("offers"),onPageChange:t=>n.get(t)})]}),o.jsx(q,{isOpen:V,onClose:()=>_(!1),onSubmit:W,formConfig:{fields:[{name:"candidate_id",type:"dependent-dropdown",dependentConfig:[{name:"candidate_id",label:e("Candidate"),required:!0,searchable:!0,options:se.filter(t=>t.value!=="_empty_")},{name:"position",label:e("Position"),required:!0,apiEndpoint:"/hr/recruitment/offers/candidate/{candidate_id}/job",showCurrentValue:!0,searchable:!0},{name:"department_id",label:e("Department"),required:!1,apiEndpoint:"/hr/recruitment/offers/job/{position}/departments",searchable:!1,disabled:!0,selectFirstOption:!0}]},{name:"salary",label:e("Salary"),type:"number",required:!0,min:0,step:.01},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"expiration_date",label:e("Expiration Date"),type:"date",required:!0},{name:"approved_by",label:e("Approved By"),type:"select",required:!0,options:oe.filter(t=>t.value!=="_empty_"),defaultValue:(A=h==null?void 0:h.id)==null?void 0:A.toString()},{name:"benefits",label:e("Benefits"),type:"textarea"}],modalSize:"xl"},initialData:u==="create"?{}:u==="view"?{...i,candidate_id:i!=null&&i.candidate?`${i.candidate.first_name} ${i.candidate.last_name}`:i==null?void 0:i.candidate_id,start_date:i!=null&&i.start_date?new Date(i.start_date).toISOString().split("T")[0]:i==null?void 0:i.start_date,expiration_date:i!=null&&i.expiration_date?new Date(i.expiration_date).toISOString().split("T")[0]:i==null?void 0:i.expiration_date}:{...i,start_date:i!=null&&i.start_date?new Date(i.start_date).toISOString().split("T")[0]:i==null?void 0:i.start_date,expiration_date:i!=null&&i.expiration_date?new Date(i.expiration_date).toISOString().split("T")[0]:i==null?void 0:i.expiration_date},title:e(u==="create"?"Create New Offer":u==="edit"?"Edit Offer":"View Offer"),mode:u}),o.jsx(ue,{isOpen:U,onClose:()=>S(!1),onConfirm:X,itemName:i?`${($=i.candidate)==null?void 0:$.first_name} ${(k=i.candidate)==null?void 0:k.last_name} - ${i.position}`:"",entityName:"offer"}),o.jsx(q,{isOpen:L,onClose:()=>y(!1),onSubmit:Y,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"Draft",label:e("Draft")},{value:"Sent",label:e("Sent")},{value:"Accepted",label:e("Accepted")},{value:"Negotiating",label:e("Negotiating")},{value:"Declined",label:e("Declined")},{value:"Expired",label:e("Expired")}]}]},initialData:i?{status:i.status}:{},title:e("Update Offer Status"),mode:"edit"})]})}export{ti as default}; +import{r as m,j as o}from"./ui-Z445SNHD.js";import{P as le}from"./page-template-CLNVC8w_.js";import{u as ne,c as pe,x as de,P as me,r as n,t as a}from"./app-Dya84jp7.js";import{C as ce}from"./CrudTable-yqxtM6E_.js";import{C as q}from"./CrudFormModal-CsuqSfb2.js";import{C as ue}from"./CrudDeleteModal-D32N6I8y.js";import{P as fe}from"./pagination-4PUepASD.js";import{S as ge}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ti(){var P,A,$,k;const{t:e}=ne(),{auth:f,offers:s,candidates:x,departments:M,employees:R,jobPostings:_e,currentUser:h,filters:l={}}=pe().props,v=(f==null?void 0:f.permissions)||[],[g,w]=m.useState(l.search||""),[p,D]=m.useState(l.status||"_empty_"),[d,C]=m.useState(l.candidate_id||"_empty_"),[B,O]=m.useState(!1),[U,S]=m.useState(!1),[V,_]=m.useState(!1),[L,y]=m.useState(!1),[i,j]=m.useState(null),[u,F]=m.useState("create"),z=()=>p!=="_empty_"||d!=="_empty_"||g!=="",G=()=>(p!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(g!==""?1:0),H=t=>{t.preventDefault(),N()},N=()=>{n.get(route("hr.recruitment.offers.index"),{page:1,search:g||void 0,status:p!=="_empty_"?p:void 0,candidate_id:d!=="_empty_"?d:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},J=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";n.get(route("hr.recruitment.offers.index"),{sort_field:t,sort_direction:r,page:1,search:g||void 0,status:p!=="_empty_"?p:void 0,candidate_id:d!=="_empty_"?d:void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},K=(t,r)=>{switch(j(r),t){case"view":n.get(route("hr.recruitment.offers.show",r.id));break;case"edit":F("edit"),_(!0);break;case"delete":S(!0);break;case"update-status":y(!0);break}},Q=()=>{j(null),F("create"),_(!0)},W=t=>{u==="create"?(a.loading(e("Creating offer...")),n.post(route("hr.recruitment.offers.store"),t,{onSuccess:r=>{_(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error?a.error(e(r.props.flash.error)):a.success(e("Offer created successfully"))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to create offer: ${Object.values(r).join(", ")}`)}})):u==="edit"&&(a.loading(e("Updating offer...")),n.put(route("hr.recruitment.offers.update",i.id),t,{onSuccess:r=>{_(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error?a.error(e(r.props.flash.error)):a.success(e("Offer updated successfully"))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to update offer: ${Object.values(r).join(", ")}`)}}))},X=()=>{a.loading(e("Deleting offer...")),n.delete(route("hr.recruitment.offers.destroy",i.id),{onSuccess:t=>{S(!1),a.dismiss(),t.props.flash.success?a.success(e(t.props.flash.success)):t.props.flash.error?a.error(e(t.props.flash.error)):a.success(e("Offer deleted successfully"))},onError:t=>{a.dismiss(),typeof t=="string"?a.error(t):a.error(`Failed to delete offer: ${Object.values(t).join(", ")}`)}})},Y=t=>{a.loading(e("Updating status...")),n.put(route("hr.recruitment.offers.update-status",i.id),t,{onSuccess:r=>{y(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error?a.error(e(r.props.flash.error)):a.success(e("Status updated successfully"))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(r):a.error(`Failed to update status: ${Object.values(r).join(", ")}`)}})},Z=()=>{w(""),D("_empty_"),C("_empty_"),O(!1),n.get(route("hr.recruitment.offers.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},E=[];de(v,"create-offers")&&E.push({label:e("Create Offer"),icon:o.jsx(me,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>Q()});const I=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.offers.index")},{title:e("Offers")}],ee=t=>{switch(t){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Sent":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Accepted":return"bg-green-50 text-green-700 ring-green-600/20";case"Negotiating":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Declined":return"bg-red-50 text-red-700 ring-red-600/10";case"Expired":return"bg-orange-50 text-orange-700 ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},te=[{key:"candidate.full_name",label:e("Candidate"),render:(t,r)=>{var c,b,T;return o.jsxs("div",{children:[o.jsxs("div",{className:"font-medium",children:[(c=r.candidate)==null?void 0:c.first_name," ",(b=r.candidate)==null?void 0:b.last_name]}),o.jsx("div",{className:"text-xs text-gray-500",children:(T=r.job)==null?void 0:T.title})]})}},{key:"salary",label:e("Salary"),render:(t,r)=>{var c;return o.jsx("div",{children:o.jsx("div",{className:"font-medium",children:(c=window.appSettings)==null?void 0:c.formatCurrency(t)})})}},{key:"start_date",label:e("Start Date"),sortable:!1,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}},{key:"expiration_date",label:e("Expires"),sortable:!1,render:t=>{var b;if(!t)return"-";const r=new Date(t),c=ro.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${ee(t)}`,children:e(t)})},{key:"offer_date",label:e("Offer Date"),sortable:!1,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],re=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-offers"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-offers",condition:t=>!["Accepted","Declined"].includes(t.status)},{label:e("Update Status"),icon:"RefreshCw",action:"update-status",className:"text-green-500",requiredPermission:"approve-offers",condition:t=>!["Accepted","Declined"].includes(t.status)},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-offers"}],ie=[{value:"_empty_",label:e("All Statuses"),disabled:!0},{value:"Draft",label:e("Draft")},{value:"Sent",label:e("Sent")},{value:"Accepted",label:e("Accepted")},{value:"Negotiating",label:e("Negotiating")},{value:"Declined",label:e("Declined")},{value:"Expired",label:e("Expired")}],ae=[{value:"_empty_",label:e("All Candidates"),disabled:!0},...(x||[]).map(t=>({value:t.id.toString(),label:`${t.first_name} ${t.last_name}`}))],se=[{value:"_empty_",label:e("Select Candidate")},...(x||[]).map(t=>({value:t.id.toString(),label:`${t.first_name} ${t.last_name}`}))];[...(M||[]).map(t=>{var r;return{value:t.id.toString(),label:`${t.name} - ${((r=t.branch)==null?void 0:r.name)||"No Branch"}`}})];const oe=[{value:"_empty_",label:e("Select Approver")},...(R||[]).map(t=>{var r;return{value:t.id.toString(),label:`${t.name} - ${((r=f==null?void 0:f.user)==null?void 0:r.name)||"Company"}`}})];return o.jsxs(le,{title:e("Offers"),url:"/hr/recruitment/offers",actions:E,breadcrumbs:I,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ge,{searchTerm:g,onSearchChange:w,onSearch:H,filters:[{name:"status",label:e("Status"),type:"select",value:p,onChange:D,options:ie,searchable:!0},{name:"candidate_id",label:e("Candidate"),type:"select",value:d,onChange:C,options:ae,searchable:!0}],showFilters:B,setShowFilters:O,hasActiveFilters:z,activeFilterCount:G,onResetFilters:Z,onApplyFilters:N,currentPerPage:((P=l.per_page)==null?void 0:P.toString())||"10",onPerPageChange:t=>{n.get(route("hr.recruitment.offers.index"),{page:1,per_page:parseInt(t),search:g||void 0,status:p!=="_empty_"?p:void 0,candidate_id:d!=="_empty_"?d:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(ce,{columns:te,actions:re,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:K,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:J,permissions:v,entityPermissions:{view:"view-offers",create:"create-offers",edit:"edit-offers",delete:"delete-offers"}}),o.jsx(fe,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("offers"),onPageChange:t=>n.get(t)})]}),o.jsx(q,{isOpen:V,onClose:()=>_(!1),onSubmit:W,formConfig:{fields:[{name:"candidate_id",type:"dependent-dropdown",dependentConfig:[{name:"candidate_id",label:e("Candidate"),required:!0,searchable:!0,options:se.filter(t=>t.value!=="_empty_")},{name:"position",label:e("Position"),required:!0,apiEndpoint:"/hr/recruitment/offers/candidate/{candidate_id}/job",showCurrentValue:!0,searchable:!0},{name:"department_id",label:e("Department"),required:!1,apiEndpoint:"/hr/recruitment/offers/job/{position}/departments",searchable:!1,disabled:!0,selectFirstOption:!0}]},{name:"salary",label:e("Salary"),type:"number",required:!0,min:0,step:.01},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"expiration_date",label:e("Expiration Date"),type:"date",required:!0},{name:"approved_by",label:e("Approved By"),type:"select",required:!0,options:oe.filter(t=>t.value!=="_empty_"),defaultValue:(A=h==null?void 0:h.id)==null?void 0:A.toString()},{name:"benefits",label:e("Benefits"),type:"textarea"}],modalSize:"xl"},initialData:u==="create"?{}:u==="view"?{...i,candidate_id:i!=null&&i.candidate?`${i.candidate.first_name} ${i.candidate.last_name}`:i==null?void 0:i.candidate_id,start_date:i!=null&&i.start_date?new Date(i.start_date).toISOString().split("T")[0]:i==null?void 0:i.start_date,expiration_date:i!=null&&i.expiration_date?new Date(i.expiration_date).toISOString().split("T")[0]:i==null?void 0:i.expiration_date}:{...i,start_date:i!=null&&i.start_date?new Date(i.start_date).toISOString().split("T")[0]:i==null?void 0:i.start_date,expiration_date:i!=null&&i.expiration_date?new Date(i.expiration_date).toISOString().split("T")[0]:i==null?void 0:i.expiration_date},title:e(u==="create"?"Create New Offer":u==="edit"?"Edit Offer":"View Offer"),mode:u}),o.jsx(ue,{isOpen:U,onClose:()=>S(!1),onConfirm:X,itemName:i?`${($=i.candidate)==null?void 0:$.first_name} ${(k=i.candidate)==null?void 0:k.last_name} - ${i.position}`:"",entityName:"offer"}),o.jsx(q,{isOpen:L,onClose:()=>y(!1),onSubmit:Y,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"Draft",label:e("Draft")},{value:"Sent",label:e("Sent")},{value:"Accepted",label:e("Accepted")},{value:"Negotiating",label:e("Negotiating")},{value:"Declined",label:e("Declined")},{value:"Expired",label:e("Expired")}]}]},initialData:i?{status:i.status}:{},title:e("Update Offer Status"),mode:"edit"})]})}export{ti as default}; diff --git a/public/build/assets/index-Bc7YiNqH.js b/public/build/assets/index-M4eluJfZ.js similarity index 90% rename from public/build/assets/index-Bc7YiNqH.js rename to public/build/assets/index-M4eluJfZ.js index beb8f5551..20a308375 100644 --- a/public/build/assets/index-Bc7YiNqH.js +++ b/public/build/assets/index-M4eluJfZ.js @@ -1 +1 @@ -import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-BTxLyiDA.js";import{u as ce,c as de,x as E,L as P,I as R,o,S as oe,X as le,r as p,t as c}from"./app-CfhhiFAk.js";import{C as ne}from"./CrudDeleteModal-CKTiD3_K.js";import{P as me}from"./pagination-D8A_HnL5.js";import{T as xe}from"./textarea-kpRjGGLz.js";import{S as T,a as $,b as V,c as B,d as N}from"./select-BrY9osYp.js";import{L as A}from"./layers-Dl67CG9c.js";import{a as pe,C as he}from"./chevron-up-DepFp6b6.js";import{S as K}from"./square-pen-bMHyT06o.js";import{L as X}from"./lock-By6rMOj7.js";import{T as G}from"./trash-2-C1NR_7Ss.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function as(){const{t:r}=ce(),{auth:C,jobTypes:a,filters:l={},globalSettings:t}=de().props,S=(C==null?void 0:C.permissions)||[],[b,I]=x.useState(l.search||""),[h,J]=x.useState(l.status||"all"),[H,k]=x.useState(!1),[j,w]=x.useState(null),[g,q]=x.useState("create"),[_,Q]=x.useState(new Set),[d,v]=x.useState({name:"",description:"",status:"active"}),[n,f]=x.useState({}),y=E(S,"create-job-types"),u=E(S,"edit-job-types"),z=E(S,"delete-job-types"),W=s=>{const i=new Set(_);i.has(s)?i.delete(s):i.add(s),Q(i)},F=()=>{v({name:"",description:"",status:"active"}),f({}),q("create"),w(null)},L=s=>{v({name:s.name||"",description:s.description||"",status:s.status||"active"}),q("edit"),w(s),f({}),window.scrollTo({top:0,behavior:"smooth"})},Y=()=>{const s={};return d.name.trim()?d.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Job Type required"),["active","inactive"].includes(d.status)||(s.status=r("Please select a valid status")),f(s),Object.keys(s).length===0},M=(s={})=>{p.get(route("hr.recruitment.job-types.index"),{page:1,search:b||void 0,status:h!=="all"?h:void 0,per_page:l.per_page||10,...s},{preserveState:!0,preserveScroll:!0})},O=s=>{s.preventDefault(),M()},Z=()=>{I(""),J("all"),p.get(route("hr.recruitment.job-types.index"),{page:1,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},ee=s=>{const i=l.sort_field===s&&l.sort_direction==="asc"?"desc":"asc";M({sort_field:s,sort_direction:i})},se=s=>{s.preventDefault(),Y()&&(g==="create"?(t!=null&&t.is_demo||c.loading(r("Creating job type...")),p.post(route("hr.recruitment.job-types.store"),d,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),f(i),c.error(r("Please check the form for errors"))}})):(t!=null&&t.is_demo||c.loading(r("Updating job type...")),p.put(route("hr.recruitment.job-types.update",j.id),d,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),f(i),c.error(r("Please check the form for errors"))}})))},re=()=>{t!=null&&t.is_demo||c.loading(r("Deleting job type...")),p.delete(route("hr.recruitment.job-types.destroy",j.id),{onSuccess:s=>{k(!1),t!=null&&t.is_demo||c.dismiss(),s.props.flash.success?c.success(r(s.props.flash.success)):s.props.flash.error&&c.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof s=="string"?r(s):r("Failed to delete job type: {{errors}}",{errors:Object.values(s).join(", ")}))}})},U=s=>{const i=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||c.loading(r(i==="active"?"Activating job type...":"Deactivating job type...")),p.put(route("hr.recruitment.job-types.toggle-status",s.id),{},{onSuccess:m=>{t!=null&&t.is_demo||c.dismiss(),m.props.flash.success?c.success(r(m.props.flash.success)):m.props.flash.error&&c.error(r(m.props.flash.error))},onError:m=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof m=="string"?r(m):r("Failed to update status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},te=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.job-types.index")},{title:r("Job Types")}],D=!!b||h!=="all",ae=({field:s})=>l.sort_field===s?e.jsx("span",{children:l.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(ie,{title:r("Job Types"),description:"",url:"/hr/recruitment/job-types",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(g==="create"?"Add New Job Type":"Edit Job Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(g==="create"?"Fill in the details to create a new job type":"Update the job type details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:r("Job Type Name")}),e.jsx(R,{id:"name",type:"text",value:d.name,onChange:s=>v({...d,name:s.target.value}),placeholder:r("e.g., Full-time, Part-time, Contract"),className:n.name?"border-red-500":"",disabled:!y&&!u,required:!0}),n.name&&e.jsx("p",{className:"text-sm text-red-500",children:n.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:r("Description")}),e.jsx(xe,{id:"description",value:d.description,onChange:s=>v({...d,description:s.target.value}),placeholder:r("Brief description of the job type"),rows:3,className:n.description?"border-red-500":"",disabled:!y&&!u}),n.description&&e.jsx("p",{className:"text-sm text-red-500",children:n.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(T,{value:d.status,onValueChange:s=>v({...d,status:s}),disabled:!y&&!u,children:[e.jsx($,{className:n.status?"border-red-500":"",children:e.jsx(V,{placeholder:r("Select status")})}),e.jsxs(B,{children:[e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]}),n.status&&e.jsx("p",{className:"text-sm text-red-500",children:n.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(y||u)&&e.jsx(o,{type:"submit",className:"flex-1",children:r(g==="create"?"Add Job Type":"Update Job Type")}),g==="edit"&&e.jsx(o,{type:"button",variant:"outline",onClick:F,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(oe,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(R,{type:"text",placeholder:r("Search job types..."),value:b,onChange:s=>I(s.target.value),onKeyDown:s=>s.key==="Enter"&&O(s),className:"pl-10"})]}),e.jsx(o,{onClick:O,variant:"default",children:r("Search")}),D&&e.jsxs(o,{onClick:Z,variant:"outline",children:[e.jsx(le,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(T,{value:h,onValueChange:J,children:[e.jsx($,{children:e.jsx(V,{placeholder:r("All Statuses")})}),e.jsxs(B,{children:[e.jsx(N,{value:"all",children:r("All Statuses")}),e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((a==null?void 0:a.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Job Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage job types used in recruitment")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>ee("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(ae,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-violet-100 text-violet-600 dark:bg-violet-900/30 dark:text-violet-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:_.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>W(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:_.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>L(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>U(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(X,{className:"h-4 w-4"})})]}),z&&e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(G,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-violet-100 text-violet-600 dark:bg-violet-900/30 dark:text-violet-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>L(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>U(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(X,{className:"h-4 w-4"})})]}),z&&e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(G,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]},s.id))}),(a==null?void 0:a.total)>((a==null?void 0:a.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("job types"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");p.get(route("hr.recruitment.job-types.index"),{page:i,per_page:l.per_page||10,search:b||void 0,status:h!=="all"?h:void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(A,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No job types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(D?"No job types match your search criteria. Try adjusting your filters.":"Create job types to categorize your recruitment positions.")}),!D&&y&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first job type.")})]})})]})]}),e.jsx(ne,{isOpen:H,onClose:()=>k(!1),onConfirm:re,itemName:(j==null?void 0:j.name)||"",entityName:"job type"})]})}export{as as default}; +import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-CLNVC8w_.js";import{u as ce,c as de,x as E,L as P,I as R,o,S as oe,X as le,r as p,t as c}from"./app-Dya84jp7.js";import{C as ne}from"./CrudDeleteModal-D32N6I8y.js";import{P as me}from"./pagination-4PUepASD.js";import{T as xe}from"./textarea-yeg8ONhy.js";import{S as T,a as $,b as V,c as B,d as N}from"./select-CHkpLxhL.js";import{L as A}from"./layers-OK3_pizJ.js";import{a as pe,C as he}from"./chevron-up-DHaGktre.js";import{S as K}from"./square-pen-CzdhbxyN.js";import{L as X}from"./lock-DaHvMEII.js";import{T as G}from"./trash-2-BeirBLIk.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function as(){const{t:r}=ce(),{auth:C,jobTypes:a,filters:l={},globalSettings:t}=de().props,S=(C==null?void 0:C.permissions)||[],[b,I]=x.useState(l.search||""),[h,J]=x.useState(l.status||"all"),[H,k]=x.useState(!1),[j,w]=x.useState(null),[g,q]=x.useState("create"),[_,Q]=x.useState(new Set),[d,v]=x.useState({name:"",description:"",status:"active"}),[n,f]=x.useState({}),y=E(S,"create-job-types"),u=E(S,"edit-job-types"),z=E(S,"delete-job-types"),W=s=>{const i=new Set(_);i.has(s)?i.delete(s):i.add(s),Q(i)},F=()=>{v({name:"",description:"",status:"active"}),f({}),q("create"),w(null)},L=s=>{v({name:s.name||"",description:s.description||"",status:s.status||"active"}),q("edit"),w(s),f({}),window.scrollTo({top:0,behavior:"smooth"})},Y=()=>{const s={};return d.name.trim()?d.name.trim().length>255&&(s.name=r("Name must not exceed 255 characters")):s.name=r("Job Type required"),["active","inactive"].includes(d.status)||(s.status=r("Please select a valid status")),f(s),Object.keys(s).length===0},M=(s={})=>{p.get(route("hr.recruitment.job-types.index"),{page:1,search:b||void 0,status:h!=="all"?h:void 0,per_page:l.per_page||10,...s},{preserveState:!0,preserveScroll:!0})},O=s=>{s.preventDefault(),M()},Z=()=>{I(""),J("all"),p.get(route("hr.recruitment.job-types.index"),{page:1,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},ee=s=>{const i=l.sort_field===s&&l.sort_direction==="asc"?"desc":"asc";M({sort_field:s,sort_direction:i})},se=s=>{s.preventDefault(),Y()&&(g==="create"?(t!=null&&t.is_demo||c.loading(r("Creating job type...")),p.post(route("hr.recruitment.job-types.store"),d,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),f(i),c.error(r("Please check the form for errors"))}})):(t!=null&&t.is_demo||c.loading(r("Updating job type...")),p.put(route("hr.recruitment.job-types.update",j.id),d,{onSuccess:i=>{t!=null&&t.is_demo||c.dismiss(),i.props.flash.success?(c.success(r(i.props.flash.success)),F()):i.props.flash.error&&c.error(r(i.props.flash.error))},onError:i=>{t!=null&&t.is_demo||c.dismiss(),f(i),c.error(r("Please check the form for errors"))}})))},re=()=>{t!=null&&t.is_demo||c.loading(r("Deleting job type...")),p.delete(route("hr.recruitment.job-types.destroy",j.id),{onSuccess:s=>{k(!1),t!=null&&t.is_demo||c.dismiss(),s.props.flash.success?c.success(r(s.props.flash.success)):s.props.flash.error&&c.error(r(s.props.flash.error))},onError:s=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof s=="string"?r(s):r("Failed to delete job type: {{errors}}",{errors:Object.values(s).join(", ")}))}})},U=s=>{const i=s.status==="active"?"inactive":"active";t!=null&&t.is_demo||c.loading(r(i==="active"?"Activating job type...":"Deactivating job type...")),p.put(route("hr.recruitment.job-types.toggle-status",s.id),{},{onSuccess:m=>{t!=null&&t.is_demo||c.dismiss(),m.props.flash.success?c.success(r(m.props.flash.success)):m.props.flash.error&&c.error(r(m.props.flash.error))},onError:m=>{t!=null&&t.is_demo||c.dismiss(),c.error(typeof m=="string"?r(m):r("Failed to update status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},te=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Recruitment"),href:route("hr.recruitment.job-types.index")},{title:r("Job Types")}],D=!!b||h!=="all",ae=({field:s})=>l.sort_field===s?e.jsx("span",{children:l.sort_direction==="asc"?" ↑":" ↓"}):e.jsx("span",{className:"opacity-40",children:"↕"});return e.jsxs(ie,{title:r("Job Types"),description:"",url:"/hr/recruitment/job-types",breadcrumbs:te,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r(g==="create"?"Add New Job Type":"Edit Job Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r(g==="create"?"Fill in the details to create a new job type":"Update the job type details below")})]}),e.jsxs("form",{onSubmit:se,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:r("Job Type Name")}),e.jsx(R,{id:"name",type:"text",value:d.name,onChange:s=>v({...d,name:s.target.value}),placeholder:r("e.g., Full-time, Part-time, Contract"),className:n.name?"border-red-500":"",disabled:!y&&!u,required:!0}),n.name&&e.jsx("p",{className:"text-sm text-red-500",children:n.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:r("Description")}),e.jsx(xe,{id:"description",value:d.description,onChange:s=>v({...d,description:s.target.value}),placeholder:r("Brief description of the job type"),rows:3,className:n.description?"border-red-500":"",disabled:!y&&!u}),n.description&&e.jsx("p",{className:"text-sm text-red-500",children:n.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"status",className:"required",children:r("Status")}),e.jsxs(T,{value:d.status,onValueChange:s=>v({...d,status:s}),disabled:!y&&!u,children:[e.jsx($,{className:n.status?"border-red-500":"",children:e.jsx(V,{placeholder:r("Select status")})}),e.jsxs(B,{children:[e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]}),n.status&&e.jsx("p",{className:"text-sm text-red-500",children:n.status})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(y||u)&&e.jsx(o,{type:"submit",className:"flex-1",children:r(g==="create"?"Add Job Type":"Update Job Type")}),g==="edit"&&e.jsx(o,{type:"button",variant:"outline",onClick:F,children:r("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(oe,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(R,{type:"text",placeholder:r("Search job types..."),value:b,onChange:s=>I(s.target.value),onKeyDown:s=>s.key==="Enter"&&O(s),className:"pl-10"})]}),e.jsx(o,{onClick:O,variant:"default",children:r("Search")}),D&&e.jsxs(o,{onClick:Z,variant:"outline",children:[e.jsx(le,{className:"h-4 w-4 mr-2"}),r("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(T,{value:h,onValueChange:J,children:[e.jsx($,{children:e.jsx(V,{placeholder:r("All Statuses")})}),e.jsxs(B,{children:[e.jsx(N,{value:"all",children:r("All Statuses")}),e.jsx(N,{value:"active",children:r("Active")}),e.jsx(N,{value:"inactive",children:r("Inactive")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((a==null?void 0:a.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:r("Job Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:r("Manage job types used in recruitment")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>ee("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[r("Name")," ",e.jsx(ae,{field:"name"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Status")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:r("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-violet-100 text-violet-600 dark:bg-violet-900/30 dark:text-violet-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:_.has(s.id)?"":"line-clamp-2",children:s.description}),s.description.length>60&&e.jsx("button",{onClick:()=>W(s.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:_.has(s.id)?e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:"h-3 w-3 mr-1"}),r("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-3 w-3 mr-1"}),r("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>L(s),className:"h-8 w-8 p-0 text-amber-500",title:r("Edit"),children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>U(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,title:s.status==="active"?r("Deactivate"):r("Activate"),children:e.jsx(X,{className:"h-4 w-4"})})]}),z&&e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",title:r("Delete"),children:e.jsx(G,{className:"h-4 w-4"})})]})})]},s.id))})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((a==null?void 0:a.data)||[]).map(s=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-violet-100 text-violet-600 dark:bg-violet-900/30 dark:text-violet-400",children:e.jsx(A,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),s.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:s.description,children:s.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[u&&e.jsxs(e.Fragment,{children:[e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>L(s),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(K,{className:"h-4 w-4"})}),e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>U(s),className:`h-8 w-8 p-0 ${s.status==="active"?"text-orange-500":"text-green-600"}`,children:e.jsx(X,{className:"h-4 w-4"})})]}),z&&e.jsx(o,{variant:"ghost",size:"sm",onClick:()=>{w(s),k(!0)},className:"h-8 w-8 p-0 text-red-500",children:e.jsx(G,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:r("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?r("Active"):r("Inactive")})]})]},s.id))}),(a==null?void 0:a.total)>((a==null?void 0:a.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(me,{from:(a==null?void 0:a.from)||0,to:(a==null?void 0:a.to)||0,total:(a==null?void 0:a.total)||0,links:a==null?void 0:a.links,entityName:r("job types"),onPageChange:s=>{const i=new URL(s).searchParams.get("page");p.get(route("hr.recruitment.job-types.index"),{page:i,per_page:l.per_page||10,search:b||void 0,status:h!=="all"?h:void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(A,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:r("No job types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:r(D?"No job types match your search criteria. Try adjusting your filters.":"Create job types to categorize your recruitment positions.")}),!D&&y&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Use the form on the left to add your first job type.")})]})})]})]}),e.jsx(ne,{isOpen:H,onClose:()=>k(!1),onConfirm:re,itemName:(j==null?void 0:j.name)||"",entityName:"job type"})]})}export{as as default}; diff --git a/public/build/assets/index-Dle69l1X.js b/public/build/assets/index-MPIywYHE.js similarity index 71% rename from public/build/assets/index-Dle69l1X.js rename to public/build/assets/index-MPIywYHE.js index 359f0eae7..08d1f490f 100644 --- a/public/build/assets/index-Dle69l1X.js +++ b/public/build/assets/index-MPIywYHE.js @@ -1 +1 @@ -import{r as b,j as r}from"./ui-Z445SNHD.js";import{u as f,H as j,r as a,s as v,v as y,o as N,w as S}from"./app-CfhhiFAk.js";import{P as k}from"./page-template-BTxLyiDA.js";import{P as w}from"./pagination-D8A_HnL5.js";import{S as _}from"./search-and-filter-bar-6Pp-FsiR.js";import{E as T}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./filter-uErFRSPT.js";import"./list-D0MAUZMV.js";function ur({templates:t,filters:o={}}){var l,c;const{t:i}=f(),[s,m]=b.useState(o.search||""),h=(e,n)=>{a.get(route("email-templates.show",n.id))},p=e=>{e.preventDefault(),x()},x=()=>{a.get(route("email-templates.index"),{page:1,search:s||void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},g=e=>{const n=o.sort_field===e&&o.sort_direction==="asc"?"desc":"asc";a.get(route("email-templates.index"),{sort_field:e,sort_direction:n,page:1,search:s||void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},u=[{title:i("Dashboard"),href:route("dashboard")},{title:i("Email Templates")}],d=[{key:"name",label:i("Name"),sortable:!0}];return r.jsxs(k,{title:i("Email Templates"),url:route("email-templates.index"),breadcrumbs:u,noPadding:!0,children:[r.jsx(j,{title:"Email Templates"}),r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(_,{searchTerm:s,onSearchChange:m,onSearch:p,filters:[],showFilters:!1,setShowFilters:()=>{},hasActiveFilters:()=>!1,activeFilterCount:()=>0,onResetFilters:()=>{},currentPerPage:((l=o.per_page)==null?void 0:l.toString())||"10",onPerPageChange:e=>{a.get(route("email-templates.index"),{page:1,per_page:parseInt(e),search:s||void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx("div",{className:"overflow-x-auto",children:r.jsxs("table",{className:"w-full text-sm",children:[r.jsx("thead",{children:r.jsxs("tr",{className:"border-b bg-gray-50 dark:bg-gray-800 dark:border-gray-700",children:[d.map(e=>r.jsx("th",{className:"px-4 py-3 text-left font-medium text-gray-500 cursor-pointer hover:bg-gray-100",onClick:()=>e.sortable&&g(e.key),children:r.jsxs("div",{className:"flex items-center",children:[e.label,e.sortable&&r.jsx("span",{className:"ml-1",children:o.sort_field===e.key?o.sort_direction==="asc"?"↑":"↓":""})]})},e.key)),r.jsx("th",{className:"px-4 py-3 text-right font-medium text-gray-500",children:i("Actions")})]})}),r.jsxs("tbody",{children:[(c=t==null?void 0:t.data)==null?void 0:c.map(e=>r.jsxs("tr",{className:"border-b hover:bg-gray-50 dark:border-gray-700 dark:hover:bg-gray-800",children:[r.jsx("td",{className:"px-4 py-3",children:r.jsx("div",{className:"font-medium",children:e.name})}),r.jsx("td",{className:"px-4 py-3 text-right",children:r.jsxs(v,{children:[r.jsx(y,{asChild:!0,children:r.jsx(N,{variant:"ghost",size:"icon",onClick:()=>h("view",e),className:"text-blue-500 hover:text-blue-700",children:r.jsx(T,{className:"h-4 w-4"})})}),r.jsx(S,{children:i("View")})]})})]},e.id)),(!(t!=null&&t.data)||t.data.length===0)&&r.jsx("tr",{children:r.jsx("td",{colSpan:d.length+1,className:"px-4 py-8 text-center text-gray-500 dark:text-gray-400",children:i("No email templates found")})})]})]})}),r.jsx(w,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:i("templates"),onPageChange:e=>a.get(e)})]})]})}export{ur as default}; +import{r as b,j as r}from"./ui-Z445SNHD.js";import{u as f,H as j,r as a,s as v,v as y,o as N,w as S}from"./app-Dya84jp7.js";import{P as k}from"./page-template-CLNVC8w_.js";import{P as w}from"./pagination-4PUepASD.js";import{S as _}from"./search-and-filter-bar-DWH0yn_r.js";import{E as T}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./filter-BTHjyusi.js";import"./list-C_2fG_BT.js";function ur({templates:t,filters:o={}}){var l,c;const{t:i}=f(),[s,m]=b.useState(o.search||""),h=(e,n)=>{a.get(route("email-templates.show",n.id))},p=e=>{e.preventDefault(),x()},x=()=>{a.get(route("email-templates.index"),{page:1,search:s||void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},g=e=>{const n=o.sort_field===e&&o.sort_direction==="asc"?"desc":"asc";a.get(route("email-templates.index"),{sort_field:e,sort_direction:n,page:1,search:s||void 0,per_page:o.per_page},{preserveState:!0,preserveScroll:!0})},u=[{title:i("Dashboard"),href:route("dashboard")},{title:i("Email Templates")}],d=[{key:"name",label:i("Name"),sortable:!0}];return r.jsxs(k,{title:i("Email Templates"),url:route("email-templates.index"),breadcrumbs:u,noPadding:!0,children:[r.jsx(j,{title:"Email Templates"}),r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(_,{searchTerm:s,onSearchChange:m,onSearch:p,filters:[],showFilters:!1,setShowFilters:()=>{},hasActiveFilters:()=>!1,activeFilterCount:()=>0,onResetFilters:()=>{},currentPerPage:((l=o.per_page)==null?void 0:l.toString())||"10",onPerPageChange:e=>{a.get(route("email-templates.index"),{page:1,per_page:parseInt(e),search:s||void 0},{preserveState:!0,preserveScroll:!0})}})}),r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx("div",{className:"overflow-x-auto",children:r.jsxs("table",{className:"w-full text-sm",children:[r.jsx("thead",{children:r.jsxs("tr",{className:"border-b bg-gray-50 dark:bg-gray-800 dark:border-gray-700",children:[d.map(e=>r.jsx("th",{className:"px-4 py-3 text-left font-medium text-gray-500 cursor-pointer hover:bg-gray-100",onClick:()=>e.sortable&&g(e.key),children:r.jsxs("div",{className:"flex items-center",children:[e.label,e.sortable&&r.jsx("span",{className:"ml-1",children:o.sort_field===e.key?o.sort_direction==="asc"?"↑":"↓":""})]})},e.key)),r.jsx("th",{className:"px-4 py-3 text-right font-medium text-gray-500",children:i("Actions")})]})}),r.jsxs("tbody",{children:[(c=t==null?void 0:t.data)==null?void 0:c.map(e=>r.jsxs("tr",{className:"border-b hover:bg-gray-50 dark:border-gray-700 dark:hover:bg-gray-800",children:[r.jsx("td",{className:"px-4 py-3",children:r.jsx("div",{className:"font-medium",children:e.name})}),r.jsx("td",{className:"px-4 py-3 text-right",children:r.jsxs(v,{children:[r.jsx(y,{asChild:!0,children:r.jsx(N,{variant:"ghost",size:"icon",onClick:()=>h("view",e),className:"text-blue-500 hover:text-blue-700",children:r.jsx(T,{className:"h-4 w-4"})})}),r.jsx(S,{children:i("View")})]})})]},e.id)),(!(t!=null&&t.data)||t.data.length===0)&&r.jsx("tr",{children:r.jsx("td",{colSpan:d.length+1,className:"px-4 py-8 text-center text-gray-500 dark:text-gray-400",children:i("No email templates found")})})]})]})}),r.jsx(w,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:i("templates"),onPageChange:e=>a.get(e)})]})]})}export{ur as default}; diff --git a/public/build/assets/index-CShf9M56.js b/public/build/assets/index-Pp0sx53v.js similarity index 91% rename from public/build/assets/index-CShf9M56.js rename to public/build/assets/index-Pp0sx53v.js index 09c57e04a..22b380aa2 100644 --- a/public/build/assets/index-CShf9M56.js +++ b/public/build/assets/index-Pp0sx53v.js @@ -1 +1 @@ -import{r as m,j as e}from"./ui-Z445SNHD.js";import{P as te}from"./page-template-BTxLyiDA.js";import{u as ae,c as ie,x as E,L as P,I as T,o as x,S as de,X as oe,F as O,r as p,t as i}from"./app-CfhhiFAk.js";import{C as le}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ce}from"./pagination-D8A_HnL5.js";import{T as ne}from"./textarea-kpRjGGLz.js";import{S as L,a as V,b as B,c as $,d as b}from"./select-BrY9osYp.js";import{a as me,C as xe}from"./chevron-up-DepFp6b6.js";import{S as H}from"./square-pen-bMHyT06o.js";import{T as K}from"./trash-2-C1NR_7Ss.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function er(){const{t:s}=ae(),{auth:w,documentTypes:t,filters:l={},globalSettings:a}=ie().props,_=(w==null?void 0:w.permissions)||[],[y,A]=m.useState(l.search||""),[c,I]=m.useState(l.required||"all"),[X,q]=m.useState(!1),[f,C]=m.useState(null),[h,M]=m.useState("create"),[n,j]=m.useState({name:"",description:"",is_required:!1}),[D,G]=m.useState(new Set),J=r=>{const d=new Set(D);d.has(r)?d.delete(r):d.add(r),G(d)},[u,N]=m.useState({}),v=E(_,"create-document-types"),g=E(_,"edit-document-types"),z=E(_,"delete-document-types"),S=r=>r===!0||r===1||r==="1"||r==="true",F=()=>{j({name:"",description:"",is_required:!1}),N({}),M("create"),C(null)},Q=r=>{j({name:r.name||"",description:r.description||"",is_required:S(r.is_required)}),M("edit"),C(r),N({})},U=r=>{r.preventDefault(),W()},W=()=>{p.get(route("hr.document-types.index"),{page:1,search:y||void 0,required:c!=="all"?c:void 0,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},Y=()=>{A(""),I("all"),p.get(route("hr.document-types.index"),{page:1,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},Z=r=>{const d=l.sort_field===r&&l.sort_direction==="asc"?"desc":"asc";p.get(route("hr.document-types.index"),{sort_field:r,sort_direction:d,page:1,search:y||void 0,required:c!=="all"?c:void 0,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},k=(r,d)=>{switch(r){case"edit":Q(d),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":C(d),q(!0);break}},ee=r=>{r.preventDefault(),N({});const d={...n,is_required:n.is_required?1:0};h==="create"?(a!=null&&a.is_demo||i.loading(s("Creating document type...")),p.post(route("hr.document-types.store"),d,{onSuccess:o=>{a!=null&&a.is_demo||i.dismiss(),o.props.flash.success?(i.success(s(o.props.flash.success)),F()):o.props.flash.error&&i.error(s(o.props.flash.error))},onError:o=>{a!=null&&a.is_demo||i.dismiss(),N(o),typeof o=="string"?i.error(s(o)):i.error(s("Please check the form for errors"))}})):h==="edit"&&(a!=null&&a.is_demo||i.loading(s("Updating document type...")),p.put(route("hr.document-types.update",f.id),d,{onSuccess:o=>{a!=null&&a.is_demo||i.dismiss(),o.props.flash.success?(i.success(s(o.props.flash.success)),F()):o.props.flash.error&&i.error(s(o.props.flash.error))},onError:o=>{a!=null&&a.is_demo||i.dismiss(),N(o),typeof o=="string"?i.error(s(o)):i.error(s("Please check the form for errors"))}}))},re=()=>{a!=null&&a.is_demo||i.loading(s("Deleting document type...")),p.delete(route("hr.document-types.destroy",f.id),{onSuccess:r=>{q(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(s(r.props.flash.success)):r.props.flash.error&&i.error(s(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),typeof r=="string"?i.error(s(r)):i.error(s("Failed to delete document type: {{errors}}",{errors:Object.values(r).join(", ")}))}})},se=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.document-types.index")},{title:s("Document Types")}],R=y||c!=="all";return e.jsxs(te,{title:s("Document Types"),description:"",url:"/hr/document-types",breadcrumbs:se,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s(h==="create"?"Add New Document Type":"Edit Document Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s(h==="create"?"Fill in the details to create a new document type":"Update the document type details below")})]}),e.jsxs("form",{onSubmit:ee,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:s("Document Type Name")}),e.jsx(T,{id:"name",type:"text",value:n.name,onChange:r=>j({...n,name:r.target.value}),placeholder:s("e.g., Passport, National ID, Contract"),className:u.name?"border-red-500":"",disabled:!v&&!g,required:!0}),u.name&&e.jsx("p",{className:"text-sm text-red-500",children:u.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:s("Description")}),e.jsx(ne,{id:"description",value:n.description,onChange:r=>j({...n,description:r.target.value}),placeholder:s("Brief description of the document type"),rows:3,className:u.description?"border-red-500":"",disabled:!v&&!g}),u.description&&e.jsx("p",{className:"text-sm text-red-500",children:u.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"is_required",children:s("Required")}),e.jsxs(L,{value:n.is_required?"yes":"no",onValueChange:r=>j({...n,is_required:r==="yes"}),disabled:!v&&!g,children:[e.jsx(V,{children:e.jsx(B,{placeholder:s("Select")})}),e.jsxs($,{children:[e.jsx(b,{value:"yes",children:s("Required")}),e.jsx(b,{value:"no",children:s("Optional")})]})]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Is this document required for all employees?")})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(v||g)&&e.jsx(x,{type:"submit",className:"flex-1",children:s(h==="create"?"Add Document Type":"Update Document Type")}),h==="edit"&&e.jsx(x,{type:"button",variant:"outline",onClick:F,children:s("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(de,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(T,{type:"text",placeholder:s("Search document types..."),value:y,onChange:r=>A(r.target.value),onKeyDown:r=>r.key==="Enter"&&U(r),className:"pl-10"})]}),e.jsx(x,{onClick:U,variant:"default",children:s("Search")}),R&&e.jsxs(x,{onClick:Y,variant:"outline",children:[e.jsx(oe,{className:"h-4 w-4 mr-2"}),s("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(L,{value:c,onValueChange:I,children:[e.jsx(V,{children:e.jsx(B,{placeholder:s("All")})}),e.jsxs($,{children:[e.jsx(b,{value:"all",children:s("All")}),e.jsx(b,{value:"yes",children:s("Required")}),e.jsx(b,{value:"no",children:s("Optional")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((t==null?void 0:t.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s("Document Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s("Manage document types required for employee records")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>Z("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[s("Name"),l.sort_field==="name"?l.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Required")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((t==null?void 0:t.data)||[]).map(r=>{const d=S(r.is_required);return e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(O,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:D.has(r.id)?"":"line-clamp-2",children:r.description}),r.description.length>60&&e.jsx("button",{onClick:()=>J(r.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:D.has(r.id)?e.jsxs(e.Fragment,{children:[e.jsx(me,{className:"h-3 w-3 mr-1"}),s("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"h-3 w-3 mr-1"}),s("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${d?"bg-green-50 text-green-700 ring-green-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:s(d?"Required":"Optional")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[g&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("edit",r),className:"h-8 w-8 p-0 text-amber-500",title:s("Edit"),children:e.jsx(H,{className:"h-4 w-4"})}),z&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("delete",r),className:"h-8 w-8 p-0 text-red-500",title:s("Delete"),children:e.jsx(K,{className:"h-4 w-4"})})]})})]},r.id)})})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((t==null?void 0:t.data)||[]).map(r=>{const d=S(r.is_required);return e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(O,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:r.description,children:r.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[g&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("edit",r),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(H,{className:"h-4 w-4"})}),z&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("delete",r),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(K,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:s("Required")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${d?"bg-green-50 text-green-700 ring-green-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:s(d?"Required":"Optional")})]})})]},r.id)})}),(t==null?void 0:t.total)>((t==null?void 0:t.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(ce,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:s("document types"),onPageChange:r=>{const d=new URL(r).searchParams.get("page");p.get(route("hr.document-types.index"),{page:d,per_page:l.per_page||10,search:y||void 0,required:c!=="all"?c:void 0,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(O,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:s("No document types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:s(R?"No document types match your search criteria. Try adjusting your filters.":"Create document types to categorize employee documents.")}),!R&&v&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:s("Use the form on the left to add your first document type.")})]})})]})]}),e.jsx(le,{isOpen:X,onClose:()=>q(!1),onConfirm:re,itemName:(f==null?void 0:f.name)||"",entityName:"document type"})]})}export{er as default}; +import{r as m,j as e}from"./ui-Z445SNHD.js";import{P as te}from"./page-template-CLNVC8w_.js";import{u as ae,c as ie,x as E,L as P,I as T,o as x,S as de,X as oe,F as O,r as p,t as i}from"./app-Dya84jp7.js";import{C as le}from"./CrudDeleteModal-D32N6I8y.js";import{P as ce}from"./pagination-4PUepASD.js";import{T as ne}from"./textarea-yeg8ONhy.js";import{S as L,a as V,b as B,c as $,d as b}from"./select-CHkpLxhL.js";import{a as me,C as xe}from"./chevron-up-DHaGktre.js";import{S as H}from"./square-pen-CzdhbxyN.js";import{T as K}from"./trash-2-BeirBLIk.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function er(){const{t:s}=ae(),{auth:w,documentTypes:t,filters:l={},globalSettings:a}=ie().props,_=(w==null?void 0:w.permissions)||[],[y,A]=m.useState(l.search||""),[c,I]=m.useState(l.required||"all"),[X,q]=m.useState(!1),[f,C]=m.useState(null),[h,M]=m.useState("create"),[n,j]=m.useState({name:"",description:"",is_required:!1}),[D,G]=m.useState(new Set),J=r=>{const d=new Set(D);d.has(r)?d.delete(r):d.add(r),G(d)},[u,N]=m.useState({}),v=E(_,"create-document-types"),g=E(_,"edit-document-types"),z=E(_,"delete-document-types"),S=r=>r===!0||r===1||r==="1"||r==="true",F=()=>{j({name:"",description:"",is_required:!1}),N({}),M("create"),C(null)},Q=r=>{j({name:r.name||"",description:r.description||"",is_required:S(r.is_required)}),M("edit"),C(r),N({})},U=r=>{r.preventDefault(),W()},W=()=>{p.get(route("hr.document-types.index"),{page:1,search:y||void 0,required:c!=="all"?c:void 0,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},Y=()=>{A(""),I("all"),p.get(route("hr.document-types.index"),{page:1,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},Z=r=>{const d=l.sort_field===r&&l.sort_direction==="asc"?"desc":"asc";p.get(route("hr.document-types.index"),{sort_field:r,sort_direction:d,page:1,search:y||void 0,required:c!=="all"?c:void 0,per_page:l.per_page||10},{preserveState:!0,preserveScroll:!0})},k=(r,d)=>{switch(r){case"edit":Q(d),window.scrollTo({top:0,behavior:"smooth"});break;case"delete":C(d),q(!0);break}},ee=r=>{r.preventDefault(),N({});const d={...n,is_required:n.is_required?1:0};h==="create"?(a!=null&&a.is_demo||i.loading(s("Creating document type...")),p.post(route("hr.document-types.store"),d,{onSuccess:o=>{a!=null&&a.is_demo||i.dismiss(),o.props.flash.success?(i.success(s(o.props.flash.success)),F()):o.props.flash.error&&i.error(s(o.props.flash.error))},onError:o=>{a!=null&&a.is_demo||i.dismiss(),N(o),typeof o=="string"?i.error(s(o)):i.error(s("Please check the form for errors"))}})):h==="edit"&&(a!=null&&a.is_demo||i.loading(s("Updating document type...")),p.put(route("hr.document-types.update",f.id),d,{onSuccess:o=>{a!=null&&a.is_demo||i.dismiss(),o.props.flash.success?(i.success(s(o.props.flash.success)),F()):o.props.flash.error&&i.error(s(o.props.flash.error))},onError:o=>{a!=null&&a.is_demo||i.dismiss(),N(o),typeof o=="string"?i.error(s(o)):i.error(s("Please check the form for errors"))}}))},re=()=>{a!=null&&a.is_demo||i.loading(s("Deleting document type...")),p.delete(route("hr.document-types.destroy",f.id),{onSuccess:r=>{q(!1),a!=null&&a.is_demo||i.dismiss(),r.props.flash.success?i.success(s(r.props.flash.success)):r.props.flash.error&&i.error(s(r.props.flash.error))},onError:r=>{a!=null&&a.is_demo||i.dismiss(),typeof r=="string"?i.error(s(r)):i.error(s("Failed to delete document type: {{errors}}",{errors:Object.values(r).join(", ")}))}})},se=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.document-types.index")},{title:s("Document Types")}],R=y||c!=="all";return e.jsxs(te,{title:s("Document Types"),description:"",url:"/hr/document-types",breadcrumbs:se,noPadding:!0,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 sticky top-4",children:[e.jsxs("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s(h==="create"?"Add New Document Type":"Edit Document Type")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s(h==="create"?"Fill in the details to create a new document type":"Update the document type details below")})]}),e.jsxs("form",{onSubmit:ee,className:"p-6 space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{required:!0,htmlFor:"name",className:"required",children:s("Document Type Name")}),e.jsx(T,{id:"name",type:"text",value:n.name,onChange:r=>j({...n,name:r.target.value}),placeholder:s("e.g., Passport, National ID, Contract"),className:u.name?"border-red-500":"",disabled:!v&&!g,required:!0}),u.name&&e.jsx("p",{className:"text-sm text-red-500",children:u.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"description",children:s("Description")}),e.jsx(ne,{id:"description",value:n.description,onChange:r=>j({...n,description:r.target.value}),placeholder:s("Brief description of the document type"),rows:3,className:u.description?"border-red-500":"",disabled:!v&&!g}),u.description&&e.jsx("p",{className:"text-sm text-red-500",children:u.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{htmlFor:"is_required",children:s("Required")}),e.jsxs(L,{value:n.is_required?"yes":"no",onValueChange:r=>j({...n,is_required:r==="yes"}),disabled:!v&&!g,children:[e.jsx(V,{children:e.jsx(B,{placeholder:s("Select")})}),e.jsxs($,{children:[e.jsx(b,{value:"yes",children:s("Required")}),e.jsx(b,{value:"no",children:s("Optional")})]})]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:s("Is this document required for all employees?")})]}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(v||g)&&e.jsx(x,{type:"submit",className:"flex-1",children:s(h==="create"?"Add Document Type":"Update Document Type")}),h==="edit"&&e.jsx(x,{type:"button",variant:"outline",onClick:F,children:s("Cancel")})]})]})]})}),e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(de,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(T,{type:"text",placeholder:s("Search document types..."),value:y,onChange:r=>A(r.target.value),onKeyDown:r=>r.key==="Enter"&&U(r),className:"pl-10"})]}),e.jsx(x,{onClick:U,variant:"default",children:s("Search")}),R&&e.jsxs(x,{onClick:Y,variant:"outline",children:[e.jsx(oe,{className:"h-4 w-4 mr-2"}),s("Reset")]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:e.jsxs(L,{value:c,onValueChange:I,children:[e.jsx(V,{children:e.jsx(B,{placeholder:s("All")})}),e.jsxs($,{children:[e.jsx(b,{value:"all",children:s("All")}),e.jsx(b,{value:"yes",children:s("Required")}),e.jsx(b,{value:"no",children:s("Optional")})]})]})})]})}),e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:((t==null?void 0:t.data)||[]).length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:s("Document Types")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:s("Manage document types required for employee records")})]}),e.jsx("div",{className:"hidden lg:block",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider cursor-pointer select-none",onClick:()=>Z("name"),children:e.jsxs("div",{className:"flex items-center gap-1",children:[s("Name"),l.sort_field==="name"?l.sort_direction==="asc"?" ↑":" ↓":e.jsx("span",{className:"opacity-40",children:"↕"})]})}),e.jsx("th",{className:"px-3 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Required")}),e.jsx("th",{className:"px-4 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider",children:s("Actions")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",children:((t==null?void 0:t.data)||[]).map(r=>{const d=S(r.is_required);return e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:[e.jsx("td",{className:"px-4 py-4",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(O,{className:"h-5 w-5"})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsxs("div",{className:"text-sm text-gray-500 dark:text-gray-400 max-w-xs",children:[e.jsx("div",{className:D.has(r.id)?"":"line-clamp-2",children:r.description}),r.description.length>60&&e.jsx("button",{onClick:()=>J(r.id),className:"inline-flex items-center mt-1 text-xs text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:D.has(r.id)?e.jsxs(e.Fragment,{children:[e.jsx(me,{className:"h-3 w-3 mr-1"}),s("Show less")]}):e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"h-3 w-3 mr-1"}),s("Show more")]})})]})]})]})}),e.jsx("td",{className:"px-3 py-4",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${d?"bg-green-50 text-green-700 ring-green-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:s(d?"Required":"Optional")})}),e.jsx("td",{className:"px-4 py-4 text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[g&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("edit",r),className:"h-8 w-8 p-0 text-amber-500",title:s("Edit"),children:e.jsx(H,{className:"h-4 w-4"})}),z&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("delete",r),className:"h-8 w-8 p-0 text-red-500",title:s("Delete"),children:e.jsx(K,{className:"h-4 w-4"})})]})})]},r.id)})})]})})}),e.jsx("div",{className:"lg:hidden space-y-4",children:((t==null?void 0:t.data)||[]).map(r=>{const d=S(r.is_required);return e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 h-10 w-10 rounded-lg flex items-center justify-center bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",children:e.jsx(O,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name}),r.description&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1 line-clamp-2",title:r.description,children:r.description})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[g&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("edit",r),className:"h-8 w-8 p-0 text-amber-500",children:e.jsx(H,{className:"h-4 w-4"})}),z&&e.jsx(x,{variant:"ghost",size:"sm",onClick:()=>k("delete",r),className:"h-8 w-8 p-0 text-red-500",children:e.jsx(K,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:s("Required")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${d?"bg-green-50 text-green-700 ring-green-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:s(d?"Required":"Optional")})]})})]},r.id)})}),(t==null?void 0:t.total)>((t==null?void 0:t.per_page)||10)&&e.jsx("div",{className:"px-6 py-4 border-t border-gray-200 dark:border-gray-700",children:e.jsx(ce,{from:(t==null?void 0:t.from)||0,to:(t==null?void 0:t.to)||0,total:(t==null?void 0:t.total)||0,links:t==null?void 0:t.links,entityName:s("document types"),onPageChange:r=>{const d=new URL(r).searchParams.get("page");p.get(route("hr.document-types.index"),{page:d,per_page:l.per_page||10,search:y||void 0,required:c!=="all"?c:void 0,sort_field:l.sort_field||void 0,sort_direction:l.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}):e.jsxs("div",{className:"p-12 text-center",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-4",children:e.jsx(O,{className:"h-8 w-8 text-gray-400"})}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:s("No document types found")}),e.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto",children:s(R?"No document types match your search criteria. Try adjusting your filters.":"Create document types to categorize employee documents.")}),!R&&v&&e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:s("Use the form on the left to add your first document type.")})]})})]})]}),e.jsx(le,{isOpen:X,onClose:()=>q(!1),onConfirm:re,itemName:(f==null?void 0:f.name)||"",entityName:"document type"})]})}export{er as default}; diff --git a/public/build/assets/index-T_WeL0Pu.js b/public/build/assets/index-U2bljUKu.js similarity index 65% rename from public/build/assets/index-T_WeL0Pu.js rename to public/build/assets/index-U2bljUKu.js index 63d5ec5ff..4889d1511 100644 --- a/public/build/assets/index-T_WeL0Pu.js +++ b/public/build/assets/index-U2bljUKu.js @@ -1 +1 @@ -import{r as m,j as o}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-BTxLyiDA.js";import{u as te,c as re,x as ie,P as se,r as d,D as oe,t as i}from"./app-CfhhiFAk.js";import{C as ae}from"./CrudTable-qPWooc10.js";import{C as le}from"./CrudFormModal-DAR9q-oM.js";import{C as me}from"./CrudDeleteModal-CKTiD3_K.js";import{P as pe}from"./pagination-D8A_HnL5.js";import{S as ne}from"./search-and-filter-bar-6Pp-FsiR.js";import ce from"./view-Cen6BZGx.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Xr(){var D;const{t:e}=te(),{auth:f,checklistItems:s,checklists:v,filters:a={}}=re().props,k=(f==null?void 0:f.permissions)||[],[u,x]=m.useState(a.search||""),[p,S]=m.useState(a.category||"_empty_"),[n,C]=m.useState(a.checklist_id||"_empty_"),[c,F]=m.useState(a.is_required||"_empty_"),[A,j]=m.useState(!1),[R,y]=m.useState(!1),[E,g]=m.useState(!1),[h,w]=m.useState(null),[_,q]=m.useState("create"),[b,O]=m.useState(null),M=()=>p!=="_empty_"||n!=="_empty_"||c!=="_empty_"||u!=="",$=()=>(p!=="_empty_"?1:0)+(n!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(u!==""?1:0),I=t=>{t.preventDefault(),P()},P=()=>{d.get(route("hr.recruitment.checklist-items.index"),{page:1,search:u||void 0,category:p!=="_empty_"?p:void 0,checklist_id:n!=="_empty_"?n:void 0,is_required:c!=="_empty_"?c:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},H=t=>{const r=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";d.get(route("hr.recruitment.checklist-items.index"),{sort_field:t,sort_direction:r,page:1,search:u||void 0,category:p!=="_empty_"?p:void 0,checklist_id:n!=="_empty_"?n:void 0,is_required:c!=="_empty_"?c:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},V=(t,r)=>{switch(w(r),t){case"view":O(r);break;case"edit":q("edit"),g(!0);break;case"delete":y(!0);break;case"toggle-status":U(r);break}},z=()=>{w(null),q("create"),g(!0)},B=t=>{_==="create"?(i.loading(e("Creating checklist item...")),d.post(route("hr.recruitment.checklist-items.store"),t,{onSuccess:r=>{g(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to create checklist item: ${Object.values(r).join(", ")}`)}})):_==="edit"&&(i.loading(e("Updating checklist item...")),d.put(route("hr.recruitment.checklist-items.update",h.id),t,{onSuccess:r=>{g(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update checklist item: ${Object.values(r).join(", ")}`)}}))},L=()=>{i.loading(e("Deleting checklist item...")),d.delete(route("hr.recruitment.checklist-items.destroy",h.id),{onSuccess:t=>{y(!1),i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to delete checklist item: ${Object.values(t).join(", ")}`)}})},U=t=>{const r=t.status==="active"?"inactive":"active";i.loading(`${e(r==="active"?"Activating":"Deactivating")} checklist item...`),d.put(route("hr.recruitment.checklist-items.toggle-status",t.id),{},{onSuccess:l=>{i.dismiss(),l.props.flash.success?i.success(e(l.props.flash.success)):l.props.flash.error&&i.error(e(l.props.flash.error))},onError:l=>{i.dismiss(),typeof l=="string"?i.error(l):i.error(`Failed to update checklist item status: ${Object.values(l).join(", ")}`)}})},G=()=>{x(""),S("_empty_"),C("_empty_"),F("_empty_"),j(!1),d.get(route("hr.recruitment.checklist-items.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},N=[];ie(k,"create-checklist-items")&&N.push({label:e("Add Item"),icon:o.jsx(se,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>z()});const J=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.checklist-items.index")},{title:e("Checklist Items")}],K=t=>{switch(t){case"Documentation":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"IT Setup":return"bg-purple-50 text-purple-700 ring-purple-600/20";case"Training":return"bg-green-50 text-green-700 ring-green-600/20";case"HR":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Facilities":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Other":return"bg-gray-50 text-gray-600 ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},Q=[{key:"checklist.name",label:e("Checklist"),render:(t,r)=>{var l;return((l=r.checklist)==null?void 0:l.name)||"-"}},{key:"task_name",label:e("Task"),sortable:!0,render:(t,r)=>o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:t}),r.is_required&&o.jsx("span",{className:"inline-flex items-center rounded-md bg-red-50 px-1.5 py-0.5 text-xs font-medium text-red-700 ring-1 ring-inset ring-red-600/10",children:e("Required")})]})},{key:"category",label:e("Category"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${K(t)}`,children:e(t)})},{key:"status",label:e("Status"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})}],W=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-checklist-items"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-checklist-items"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-checklist-items"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-checklist-items"}],T=[{value:"_empty_",label:e("All Categories"),disabled:!0},{value:"Documentation",label:e("Documentation")},{value:"IT Setup",label:e("IT Setup")},{value:"Training",label:e("Training")},{value:"HR",label:e("HR")},{value:"Facilities",label:e("Facilities")},{value:"Other",label:e("Other")}],X=[{value:"_empty_",label:e("All Checklists"),disabled:!0},...(v||[]).map(t=>({value:t.id.toString(),label:t.name}))],Y=[{value:"_empty_",label:e("All"),disabled:!0},{value:"true",label:e("Required")},{value:"false",label:e("Optional")}],Z=[{value:"_empty_",label:e("Select Checklist")},...(v||[]).map(t=>({value:t.id.toString(),label:t.name}))];return o.jsxs(ee,{title:e("Checklist Items"),url:"/hr/recruitment/checklist-items",actions:N,breadcrumbs:J,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ne,{searchTerm:u,onSearchChange:x,onSearch:I,filters:[{name:"category",label:e("Category"),type:"select",value:p,onChange:S,options:T},{name:"checklist_id",label:e("Checklist"),type:"select",value:n,onChange:C,options:X,searchable:!0},{name:"is_required",label:e("Required"),type:"select",value:c,onChange:F,options:Y}],showFilters:A,setShowFilters:j,hasActiveFilters:M,activeFilterCount:$,onResetFilters:G,onApplyFilters:P,currentPerPage:((D=a.per_page)==null?void 0:D.toString())||"10",onPerPageChange:t=>{d.get(route("hr.recruitment.checklist-items.index"),{page:1,per_page:parseInt(t),search:u||void 0,category:p!=="_empty_"?p:void 0,checklist_id:n!=="_empty_"?n:void 0,is_required:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(ae,{columns:Q,actions:W,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:V,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:H,permissions:k,entityPermissions:{view:"view-checklist-items",create:"create-checklist-items",edit:"edit-checklist-items",delete:"delete-checklist-items"}}),o.jsx(pe,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("checklist items"),onPageChange:t=>d.get(t)})]}),o.jsx(le,{isOpen:E,onClose:()=>g(!1),onSubmit:B,formConfig:{fields:[{name:"checklist_id",label:e("Checklist"),type:"select",required:!0,options:Z.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"task_name",label:e("Task Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"category",label:e("Category"),type:"select",required:!0,options:T.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"is_required",label:e("Required Task"),type:"checkbox"},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}]}],modalSize:"lg"},initialData:h,title:e(_==="create"?"Add New Checklist Item":"Edit Checklist Item"),mode:_}),o.jsx(me,{isOpen:R,onClose:()=>y(!1),onConfirm:L,itemName:(h==null?void 0:h.task_name)||"",entityName:"checklist item"}),o.jsx(oe,{open:!!b,onOpenChange:()=>O(null),children:b&&o.jsx(ce,{checklistItem:b})})]})}export{Xr as default}; +import{r as m,j as o}from"./ui-Z445SNHD.js";import{P as ee}from"./page-template-CLNVC8w_.js";import{u as te,c as re,x as ie,P as se,r as d,D as oe,t as i}from"./app-Dya84jp7.js";import{C as ae}from"./CrudTable-yqxtM6E_.js";import{C as le}from"./CrudFormModal-CsuqSfb2.js";import{C as me}from"./CrudDeleteModal-D32N6I8y.js";import{P as pe}from"./pagination-4PUepASD.js";import{S as ne}from"./search-and-filter-bar-DWH0yn_r.js";import ce from"./view-MkN0R0ov.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Xr(){var D;const{t:e}=te(),{auth:f,checklistItems:s,checklists:v,filters:a={}}=re().props,k=(f==null?void 0:f.permissions)||[],[u,x]=m.useState(a.search||""),[p,S]=m.useState(a.category||"_empty_"),[n,C]=m.useState(a.checklist_id||"_empty_"),[c,F]=m.useState(a.is_required||"_empty_"),[A,j]=m.useState(!1),[R,y]=m.useState(!1),[E,g]=m.useState(!1),[h,w]=m.useState(null),[_,q]=m.useState("create"),[b,O]=m.useState(null),M=()=>p!=="_empty_"||n!=="_empty_"||c!=="_empty_"||u!=="",$=()=>(p!=="_empty_"?1:0)+(n!=="_empty_"?1:0)+(c!=="_empty_"?1:0)+(u!==""?1:0),I=t=>{t.preventDefault(),P()},P=()=>{d.get(route("hr.recruitment.checklist-items.index"),{page:1,search:u||void 0,category:p!=="_empty_"?p:void 0,checklist_id:n!=="_empty_"?n:void 0,is_required:c!=="_empty_"?c:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},H=t=>{const r=a.sort_field===t&&a.sort_direction==="asc"?"desc":"asc";d.get(route("hr.recruitment.checklist-items.index"),{sort_field:t,sort_direction:r,page:1,search:u||void 0,category:p!=="_empty_"?p:void 0,checklist_id:n!=="_empty_"?n:void 0,is_required:c!=="_empty_"?c:void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},V=(t,r)=>{switch(w(r),t){case"view":O(r);break;case"edit":q("edit"),g(!0);break;case"delete":y(!0);break;case"toggle-status":U(r);break}},z=()=>{w(null),q("create"),g(!0)},B=t=>{_==="create"?(i.loading(e("Creating checklist item...")),d.post(route("hr.recruitment.checklist-items.store"),t,{onSuccess:r=>{g(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to create checklist item: ${Object.values(r).join(", ")}`)}})):_==="edit"&&(i.loading(e("Updating checklist item...")),d.put(route("hr.recruitment.checklist-items.update",h.id),t,{onSuccess:r=>{g(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update checklist item: ${Object.values(r).join(", ")}`)}}))},L=()=>{i.loading(e("Deleting checklist item...")),d.delete(route("hr.recruitment.checklist-items.destroy",h.id),{onSuccess:t=>{y(!1),i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{i.dismiss(),typeof t=="string"?i.error(t):i.error(`Failed to delete checklist item: ${Object.values(t).join(", ")}`)}})},U=t=>{const r=t.status==="active"?"inactive":"active";i.loading(`${e(r==="active"?"Activating":"Deactivating")} checklist item...`),d.put(route("hr.recruitment.checklist-items.toggle-status",t.id),{},{onSuccess:l=>{i.dismiss(),l.props.flash.success?i.success(e(l.props.flash.success)):l.props.flash.error&&i.error(e(l.props.flash.error))},onError:l=>{i.dismiss(),typeof l=="string"?i.error(l):i.error(`Failed to update checklist item status: ${Object.values(l).join(", ")}`)}})},G=()=>{x(""),S("_empty_"),C("_empty_"),F("_empty_"),j(!1),d.get(route("hr.recruitment.checklist-items.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},N=[];ie(k,"create-checklist-items")&&N.push({label:e("Add Item"),icon:o.jsx(se,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>z()});const J=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.checklist-items.index")},{title:e("Checklist Items")}],K=t=>{switch(t){case"Documentation":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"IT Setup":return"bg-purple-50 text-purple-700 ring-purple-600/20";case"Training":return"bg-green-50 text-green-700 ring-green-600/20";case"HR":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Facilities":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Other":return"bg-gray-50 text-gray-600 ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},Q=[{key:"checklist.name",label:e("Checklist"),render:(t,r)=>{var l;return((l=r.checklist)==null?void 0:l.name)||"-"}},{key:"task_name",label:e("Task"),sortable:!0,render:(t,r)=>o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:t}),r.is_required&&o.jsx("span",{className:"inline-flex items-center rounded-md bg-red-50 px-1.5 py-0.5 text-xs font-medium text-red-700 ring-1 ring-inset ring-red-600/10",children:e("Required")})]})},{key:"category",label:e("Category"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${K(t)}`,children:e(t)})},{key:"status",label:e("Status"),render:t=>o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})}],W=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-checklist-items"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-checklist-items"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-checklist-items"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-checklist-items"}],T=[{value:"_empty_",label:e("All Categories"),disabled:!0},{value:"Documentation",label:e("Documentation")},{value:"IT Setup",label:e("IT Setup")},{value:"Training",label:e("Training")},{value:"HR",label:e("HR")},{value:"Facilities",label:e("Facilities")},{value:"Other",label:e("Other")}],X=[{value:"_empty_",label:e("All Checklists"),disabled:!0},...(v||[]).map(t=>({value:t.id.toString(),label:t.name}))],Y=[{value:"_empty_",label:e("All"),disabled:!0},{value:"true",label:e("Required")},{value:"false",label:e("Optional")}],Z=[{value:"_empty_",label:e("Select Checklist")},...(v||[]).map(t=>({value:t.id.toString(),label:t.name}))];return o.jsxs(ee,{title:e("Checklist Items"),url:"/hr/recruitment/checklist-items",actions:N,breadcrumbs:J,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(ne,{searchTerm:u,onSearchChange:x,onSearch:I,filters:[{name:"category",label:e("Category"),type:"select",value:p,onChange:S,options:T},{name:"checklist_id",label:e("Checklist"),type:"select",value:n,onChange:C,options:X,searchable:!0},{name:"is_required",label:e("Required"),type:"select",value:c,onChange:F,options:Y}],showFilters:A,setShowFilters:j,hasActiveFilters:M,activeFilterCount:$,onResetFilters:G,onApplyFilters:P,currentPerPage:((D=a.per_page)==null?void 0:D.toString())||"10",onPerPageChange:t=>{d.get(route("hr.recruitment.checklist-items.index"),{page:1,per_page:parseInt(t),search:u||void 0,category:p!=="_empty_"?p:void 0,checklist_id:n!=="_empty_"?n:void 0,is_required:c!=="_empty_"?c:void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(ae,{columns:Q,actions:W,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:V,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:H,permissions:k,entityPermissions:{view:"view-checklist-items",create:"create-checklist-items",edit:"edit-checklist-items",delete:"delete-checklist-items"}}),o.jsx(pe,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("checklist items"),onPageChange:t=>d.get(t)})]}),o.jsx(le,{isOpen:E,onClose:()=>g(!1),onSubmit:B,formConfig:{fields:[{name:"checklist_id",label:e("Checklist"),type:"select",required:!0,options:Z.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"task_name",label:e("Task Name"),type:"text",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"category",label:e("Category"),type:"select",required:!0,options:T.filter(t=>t.value!=="_empty_"),searchable:!0},{name:"is_required",label:e("Required Task"),type:"checkbox"},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}]}],modalSize:"lg"},initialData:h,title:e(_==="create"?"Add New Checklist Item":"Edit Checklist Item"),mode:_}),o.jsx(me,{isOpen:R,onClose:()=>y(!1),onConfirm:L,itemName:(h==null?void 0:h.task_name)||"",entityName:"checklist item"}),o.jsx(oe,{open:!!b,onOpenChange:()=>O(null),children:b&&o.jsx(ce,{checklistItem:b})})]})}export{Xr as default}; diff --git a/public/build/assets/index-Dz3Mkl-f.js b/public/build/assets/index-VX6ic1b6.js similarity index 53% rename from public/build/assets/index-Dz3Mkl-f.js rename to public/build/assets/index-VX6ic1b6.js index 72c5e7249..a7bf6e388 100644 --- a/public/build/assets/index-Dz3Mkl-f.js +++ b/public/build/assets/index-VX6ic1b6.js @@ -1 +1 @@ -import{r as c,j as m}from"./ui-Z445SNHD.js";import{P as B}from"./page-template-BTxLyiDA.js";import{u as $,c as z,x as G,P as Y,r as n,D as H,t as i}from"./app-CfhhiFAk.js";import{C as J}from"./CrudTable-qPWooc10.js";import{C as K}from"./CrudFormModal-DAR9q-oM.js";import{C as L}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Q}from"./pagination-D8A_HnL5.js";import{S as W}from"./search-and-filter-bar-6Pp-FsiR.js";import X from"./view-BoKNVuEn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function It(){var w;const{t:e}=$(),{auth:f,currencies:s,filters:p={},globalSettings:r}=z().props,y=(f==null?void 0:f.permissions)||[],[l,x]=c.useState(p.search||""),[F,C]=c.useState(!1),[P,g]=c.useState(!1),[S,d]=c.useState(!1),[D,h]=c.useState(!1),[a,b]=c.useState(null),[u,_]=c.useState("create"),N=()=>l!=="",k=()=>l?1:0,O=t=>{t.preventDefault(),v()},v=()=>{n.get(route("currencies.index"),{page:1,search:l||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},E=t=>{const o=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";n.get(route("currencies.index"),{sort_field:t,sort_direction:o,page:1,search:l||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},M=(t,o)=>{switch(b(o),t){case"view":g(!0);break;case"edit":_("edit"),d(!0);break;case"delete":h(!0);break}},A=()=>{b(null),_("create"),d(!0)},q=t=>{u==="create"?(r!=null&&r.is_demo||i.loading(e("Creating currency...")),n.post(route("currencies.store"),t,{onSuccess:o=>{d(!1),r!=null&&r.is_demo||i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{r!=null&&r.is_demo||i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to create currency: {{errors}}",{errors:Object.values(o).join(", ")}))}})):u==="edit"&&(r!=null&&r.is_demo||i.loading(e("Updating currency...")),n.put(route("currencies.update",a.id),t,{onSuccess:o=>{d(!1),r!=null&&r.is_demo||i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{r!=null&&r.is_demo||i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to update currency: {{errors}}",{errors:Object.values(o).join(", ")}))}}))},T=()=>{r!=null&&r.is_demo||i.loading(e("Deleting currency...")),n.delete(route("currencies.destroy",a.id),{onSuccess:t=>{h(!1),r!=null&&r.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{r!=null&&r.is_demo||i.dismiss(),typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete currency: {{errors}}",{errors:Object.values(t).join(", ")}))}})},V=()=>{x(""),C(!1),n.get(route("currencies.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},j=[];G(y,"manage-currencies")&&j.push({label:e("Add Currency"),icon:m.jsx(Y,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>A()});const I=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Currency")}],R=[{key:"name",label:e("Name"),sortable:!0},{key:"code",label:e("Code"),sortable:!0},{key:"symbol",label:e("Symbol"),sortable:!0},{key:"is_default",label:e("Default"),render:t=>m.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(t?"Yes":"No")})}],U=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"manage-currencies"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"manage-currencies"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"manage-currencies",condition:t=>!t.is_default}];return m.jsxs(B,{title:e("Currency"),url:"/currencies",actions:j,breadcrumbs:I,noPadding:!0,children:[m.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:m.jsx(W,{searchTerm:l,onSearchChange:x,onSearch:O,filters:[],showFilters:F,setShowFilters:C,hasActiveFilters:N,activeFilterCount:k,onResetFilters:V,onApplyFilters:v,currentPerPage:((w=p.per_page)==null?void 0:w.toString())||"10",onPerPageChange:t=>{n.get(route("currencies.index"),{page:1,per_page:parseInt(t),search:l||void 0},{preserveState:!0,preserveScroll:!0})}})}),m.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[m.jsx(J,{columns:R,actions:U,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:M,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:E,permissions:y,entityPermissions:{view:"manage-currencies",create:"manage-currencies",edit:"manage-currencies",delete:"manage-currencies"}}),m.jsx(Q,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("currencies"),onPageChange:t=>n.get(t)})]}),m.jsx(H,{open:P,onOpenChange:g,children:a&&m.jsx(X,{record:a})}),m.jsx(K,{isOpen:S,onClose:()=>d(!1),onSubmit:q,formConfig:{fields:[{name:"name",label:e("Currency Name"),type:"text",required:!0},{name:"code",label:e("Currency Code"),type:"text",required:!0,placeholder:"e.g. USD, EUR, GBP"},{name:"symbol",label:e("Currency Symbol"),type:"text",required:!0,placeholder:"e.g. $, €, £"},{name:"description",label:e("Description"),type:"textarea"},{name:"is_default",label:e("Set as Default Currency"),type:"checkbox"}],modalSize:"lg"},initialData:a,title:e(u==="create"?"Add New Currency":u==="edit"?"Edit Currency":"View Currency"),mode:u}),m.jsx(L,{isOpen:D,onClose:()=>h(!1),onConfirm:T,itemName:(a==null?void 0:a.name)||"",entityName:"currency"})]})}export{It as default}; +import{r as c,j as m}from"./ui-Z445SNHD.js";import{P as B}from"./page-template-CLNVC8w_.js";import{u as $,c as z,x as G,P as Y,r as n,D as H,t as i}from"./app-Dya84jp7.js";import{C as J}from"./CrudTable-yqxtM6E_.js";import{C as K}from"./CrudFormModal-CsuqSfb2.js";import{C as L}from"./CrudDeleteModal-D32N6I8y.js";import{P as Q}from"./pagination-4PUepASD.js";import{S as W}from"./search-and-filter-bar-DWH0yn_r.js";import X from"./view-Nnlh3FzL.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function It(){var w;const{t:e}=$(),{auth:f,currencies:s,filters:p={},globalSettings:r}=z().props,y=(f==null?void 0:f.permissions)||[],[l,x]=c.useState(p.search||""),[F,C]=c.useState(!1),[P,g]=c.useState(!1),[S,d]=c.useState(!1),[D,h]=c.useState(!1),[a,b]=c.useState(null),[u,_]=c.useState("create"),N=()=>l!=="",k=()=>l?1:0,O=t=>{t.preventDefault(),v()},v=()=>{n.get(route("currencies.index"),{page:1,search:l||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},E=t=>{const o=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";n.get(route("currencies.index"),{sort_field:t,sort_direction:o,page:1,search:l||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},M=(t,o)=>{switch(b(o),t){case"view":g(!0);break;case"edit":_("edit"),d(!0);break;case"delete":h(!0);break}},A=()=>{b(null),_("create"),d(!0)},q=t=>{u==="create"?(r!=null&&r.is_demo||i.loading(e("Creating currency...")),n.post(route("currencies.store"),t,{onSuccess:o=>{d(!1),r!=null&&r.is_demo||i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{r!=null&&r.is_demo||i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to create currency: {{errors}}",{errors:Object.values(o).join(", ")}))}})):u==="edit"&&(r!=null&&r.is_demo||i.loading(e("Updating currency...")),n.put(route("currencies.update",a.id),t,{onSuccess:o=>{d(!1),r!=null&&r.is_demo||i.dismiss(),o.props.flash.success?i.success(e(o.props.flash.success)):o.props.flash.error&&i.error(e(o.props.flash.error))},onError:o=>{r!=null&&r.is_demo||i.dismiss(),typeof o=="string"?i.error(e(o)):i.error(e("Failed to update currency: {{errors}}",{errors:Object.values(o).join(", ")}))}}))},T=()=>{r!=null&&r.is_demo||i.loading(e("Deleting currency...")),n.delete(route("currencies.destroy",a.id),{onSuccess:t=>{h(!1),r!=null&&r.is_demo||i.dismiss(),t.props.flash.success?i.success(e(t.props.flash.success)):t.props.flash.error&&i.error(e(t.props.flash.error))},onError:t=>{r!=null&&r.is_demo||i.dismiss(),typeof t=="string"?i.error(e(t)):i.error(e("Failed to delete currency: {{errors}}",{errors:Object.values(t).join(", ")}))}})},V=()=>{x(""),C(!1),n.get(route("currencies.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},j=[];G(y,"manage-currencies")&&j.push({label:e("Add Currency"),icon:m.jsx(Y,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>A()});const I=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Currency")}],R=[{key:"name",label:e("Name"),sortable:!0},{key:"code",label:e("Code"),sortable:!0},{key:"symbol",label:e("Symbol"),sortable:!0},{key:"is_default",label:e("Default"),render:t=>m.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(t?"Yes":"No")})}],U=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"manage-currencies"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"manage-currencies"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"manage-currencies",condition:t=>!t.is_default}];return m.jsxs(B,{title:e("Currency"),url:"/currencies",actions:j,breadcrumbs:I,noPadding:!0,children:[m.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:m.jsx(W,{searchTerm:l,onSearchChange:x,onSearch:O,filters:[],showFilters:F,setShowFilters:C,hasActiveFilters:N,activeFilterCount:k,onResetFilters:V,onApplyFilters:v,currentPerPage:((w=p.per_page)==null?void 0:w.toString())||"10",onPerPageChange:t=>{n.get(route("currencies.index"),{page:1,per_page:parseInt(t),search:l||void 0},{preserveState:!0,preserveScroll:!0})}})}),m.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[m.jsx(J,{columns:R,actions:U,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:M,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:E,permissions:y,entityPermissions:{view:"manage-currencies",create:"manage-currencies",edit:"manage-currencies",delete:"manage-currencies"}}),m.jsx(Q,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("currencies"),onPageChange:t=>n.get(t)})]}),m.jsx(H,{open:P,onOpenChange:g,children:a&&m.jsx(X,{record:a})}),m.jsx(K,{isOpen:S,onClose:()=>d(!1),onSubmit:q,formConfig:{fields:[{name:"name",label:e("Currency Name"),type:"text",required:!0},{name:"code",label:e("Currency Code"),type:"text",required:!0,placeholder:"e.g. USD, EUR, GBP"},{name:"symbol",label:e("Currency Symbol"),type:"text",required:!0,placeholder:"e.g. $, €, £"},{name:"description",label:e("Description"),type:"textarea"},{name:"is_default",label:e("Set as Default Currency"),type:"checkbox"}],modalSize:"lg"},initialData:a,title:e(u==="create"?"Add New Currency":u==="edit"?"Edit Currency":"View Currency"),mode:u}),m.jsx(L,{isOpen:D,onClose:()=>h(!1),onConfirm:T,itemName:(a==null?void 0:a.name)||"",entityName:"currency"})]})}export{It as default}; diff --git a/public/build/assets/index-Cc1Iv67H.js b/public/build/assets/index-aEHS69qc.js similarity index 74% rename from public/build/assets/index-Cc1Iv67H.js rename to public/build/assets/index-aEHS69qc.js index 51c809633..08620be33 100644 --- a/public/build/assets/index-Cc1Iv67H.js +++ b/public/build/assets/index-aEHS69qc.js @@ -1 +1 @@ -import{r as c,j as r}from"./ui-Z445SNHD.js";import{P as ce}from"./page-template-BTxLyiDA.js";import{u as ue,c as he,r as p,x as f,t as o,P as B,C as fe,s as y,v as N,o as b,w as S,D as ge}from"./app-CfhhiFAk.js";import{P as K}from"./pagination-D8A_HnL5.js";import{S as xe}from"./search-and-filter-bar-6Pp-FsiR.js";import{C as be}from"./CrudTable-qPWooc10.js";import{C as $}from"./CrudFormModal-DAR9q-oM.js";import{C as ve}from"./CrudDeleteModal-CKTiD3_K.js";import{u as je}from"./use-initials-BK4eRgYY.js";import we from"./view-DyPRc1fN.js";import{H as ye,K as Ne,L as Se}from"./lock-open-Bohob0Q8.js";import{E as _e}from"./eye--FVGKpVp.js";import{S as ke}from"./square-pen-bMHyT06o.js";import{L as Ce}from"./lock-By6rMOj7.js";import{T as Pe}from"./trash-2-C1NR_7Ss.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./filter-uErFRSPT.js";import"./list-D0MAUZMV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./locate-fixed-DbvcuJ_9.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function ft(){var z,H;const{t}=ue(),{auth:_,users:i,roles:k,branches:E,planLimits:g,filters:a={}}=he().props,u=(_==null?void 0:_.permissions)||[],R=je(),[h,G]=c.useState(a.view||"list"),[m,M]=c.useState(a.search||""),[d,O]=c.useState(a.role||"all"),[J,T]=c.useState(!1),[W,q]=c.useState(!1),[Y,v]=c.useState(!1),[Q,C]=c.useState(!1),[X,P]=c.useState(!1),[l,A]=c.useState(null),[j,L]=c.useState("create"),Z=()=>d!=="all"||m!=="",ee=()=>(d!=="all"?1:0)+(m?1:0),re=e=>{e.preventDefault(),U()},U=()=>{const e={page:1};m&&(e.search=m),d!=="all"&&(e.role=d),a.per_page&&(e.per_page=a.per_page),e.view=h,p.get(route("users.index"),e,{preserveState:!0,preserveScroll:!0})},se=e=>{O(e)},te=e=>{const s=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc",n={sort_field:e,sort_direction:s,page:1};m&&(n.search=m),d!=="all"&&(n.role=d),a.per_page&&(n.per_page=a.per_page),n.view=h,p.get(route("users.index"),n,{preserveState:!0,preserveScroll:!0})},x=(e,s)=>{switch(A(s),e){case"view":q(!0);break;case"edit":L("edit"),v(!0);break;case"delete":C(!0);break;case"reset-password":P(!0);break;case"toggle-status":le(s);break}},D=()=>{A(null),L("create"),v(!0)},ie=e=>{e.roles&&Array.isArray(e.roles)&&(e.roles=e.roles[0]),j==="create"?p.post(route("users.store"),e,{onSuccess:s=>{v(!1),o.dismiss(),s.props.flash.success?o.success(t(s.props.flash.success)):s.props.flash.error&&o.error(t(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(t(s)):o.error(t("Failed to create user: {{errors}}",{errors:Object.values(s).join(", ")}))}}):j==="edit"&&p.put(route("users.update",l.id),e,{onSuccess:s=>{v(!1),o.dismiss(),s.props.flash.success?o.success(t(s.props.flash.success)):s.props.flash.error&&o.error(t(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(t(s)):o.error(t("Failed to update user: {{errors}}",{errors:Object.values(s).join(", ")}))}})},oe=()=>{p.delete(route("users.destroy",l.id),{onSuccess:e=>{C(!1),o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{o.dismiss(),typeof e=="string"?o.error(t(e)):o.error(t("Failed to delete user: {{errors}}",{errors:Object.values(e).join(", ")}))}})},ae=e=>{p.put(route("users.reset-password",l.id),e,{onSuccess:s=>{P(!1),o.dismiss(),s.props.flash.success?o.success(t(s.props.flash.success)):s.props.flash.error&&o.error(t(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(t(s)):o.error(t("Failed to reset password: {{errors}}",{errors:Object.values(s).join(", ")}))}})},le=e=>{e.status,p.put(route("users.toggle-status",e.id),{},{onSuccess:s=>{o.dismiss(),s.props.flash.success?o.success(t(s.props.flash.success)):s.props.flash.error&&o.error(t(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(t(s)):o.error(t("Failed to update user status: {{errors}}",{errors:Object.values(s).join(", ")}))}})},V=e=>{const n={page:new URL(e).searchParams.get("page")||"1",view:h};m&&(n.search=m),d!=="all"&&(n.role=d),a.per_page&&(n.per_page=a.per_page),a.sort_field&&(n.sort_field=a.sort_field),a.sort_direction&&(n.sort_direction=a.sort_direction),p.get(route("users.index"),n,{preserveState:!0,preserveScroll:!0})},ne=()=>{O("all"),M(""),T(!1),p.get(route("users.index"),{page:1,per_page:a.per_page,view:h},{preserveState:!0,preserveScroll:!0})},F=[];if(u.includes("manage-login-history")&&F.push({icon:r.jsx(ye,{className:"h-4 w-4 mx-auto"}),variant:"outline",tooltip:t("Login History"),onClick:()=>p.get(route("login-history.index"))}),f(u,"create-users")){const e=!g||g.can_create;F.push({label:g&&!e?t("User Limit Reached ({{current}}/{{max}})",{current:g.current_users,max:g.max_users}):t("Add User"),icon:r.jsx(B,{className:"h-4 w-4 mr-2"}),variant:e?"default":"outline",onClick:e?()=>D():()=>o.error(t("User limit exceeded. Your plan allows maximum {{max}} users. Please upgrade your plan.",{max:g.max_users})),disabled:!e})}const me=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Staff"),href:route("users.index")},{title:t("Users")}],de=[{key:"name",label:t("Name"),sortable:!0,render:(e,s)=>r.jsxs("div",{className:"flex items-center gap-3",children:[s.avatar?r.jsx("img",{src:s.avatar,alt:s.name,className:"h-10 w-10 rounded-full object-cover",onError:n=>{var I;const w=n.target;w.style.display="none",(I=w.nextElementSibling)==null||I.classList.remove("hidden")}}):null,r.jsx("div",{className:`flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white flex-shrink-0 ${s.avatar?"hidden":""}`,children:R(s.name)}),r.jsxs("div",{children:[r.jsx("div",{className:"font-medium",children:s.name}),r.jsx("div",{className:"text-sm text-muted-foreground",children:s.email})]})]})},{key:"roles",label:t("Roles"),render:e=>!e||!e.length?r.jsx("span",{className:"text-muted-foreground",children:"No roles assigned"}):e.map(s=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10 mr-1",children:s.label||s.name},s.id))},{key:"created_at",label:t("Joined"),sortable:!0,render:e=>{var s;return((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],pe=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-users"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-users"},{label:t("Reset Password"),icon:"KeyRound",action:"reset-password",className:"text-blue-500",requiredPermission:"reset-password-users"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"toggle-status-users"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-users"}];return r.jsxs(ce,{title:t("Users Management"),url:"/users",actions:F,breadcrumbs:me,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(xe,{searchTerm:m,onSearchChange:M,onSearch:re,filters:[{name:"role",label:t("Role"),type:"select",value:d,onChange:se,options:[{value:"all",label:t("All Roles")},...(k||[]).map(e=>({value:e.id.toString(),label:e.label||e.name}))]}],showFilters:J,setShowFilters:T,hasActiveFilters:Z,activeFilterCount:ee,onResetFilters:ne,onApplyFilters:U,currentPerPage:((z=a.per_page)==null?void 0:z.toString())||"10",onPerPageChange:e=>{const s={page:1,per_page:parseInt(e),view:h};m&&(s.search=m),d!=="all"&&(s.role=d),a.sort_field&&(s.sort_field=a.sort_field),a.sort_direction&&(s.sort_direction=a.sort_direction),p.get(route("users.index"),s,{preserveState:!0,preserveScroll:!0})},showViewToggle:!0,activeView:h,onViewChange:e=>{G(e);const s={page:1,view:e};m&&(s.search=m),d!=="all"&&(s.role=d),a.per_page&&(s.per_page=a.per_page),a.sort_field&&(s.sort_field=a.sort_field),a.sort_direction&&(s.sort_direction=a.sort_direction),p.get(route("users.index"),s,{preserveState:!0,preserveScroll:!0})}})}),h==="list"?r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(be,{columns:de,actions:pe,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:x,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:te,permissions:u,entityPermissions:{view:"view-users",create:"create-users",edit:"edit-users",delete:"delete-users"}}),r.jsx(K,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("users"),onPageChange:V})]}):r.jsxs("div",{children:[r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:[(H=i==null?void 0:i.data)==null?void 0:H.map(e=>r.jsx(fe,{className:"bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-xl shadow-sm hover:shadow-md transition-all duration-200",children:r.jsxs("div",{className:"p-4",children:[r.jsxs("div",{className:"flex items-center gap-3",children:[r.jsxs("div",{className:"flex-shrink-0",children:[e.avatar?r.jsx("img",{src:e.avatar,alt:e.name,className:"h-12 w-12 rounded-lg object-cover",onError:s=>{var w;const n=s.target;n.style.display="none",(w=n.nextElementSibling)==null||w.classList.remove("hidden")}}):null,r.jsx("div",{className:`h-12 w-12 rounded-lg bg-primary/10 text-primary flex items-center justify-center text-sm font-bold ${e.avatar?"hidden":""}`,children:R(e.name)})]}),r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsx("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white truncate",children:e.name}),r.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 truncate",children:e.email})]})]}),r.jsx("div",{className:"border-t border-gray-100 dark:border-gray-700 my-3"}),r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsxs("div",{className:"flex items-center gap-1",children:[f(u,"view-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("view",e),className:"h-8 w-8 p-0 text-blue-500 hover:text-blue-600 hover:bg-blue-50 dark:hover:bg-blue-900/20",children:r.jsx(_e,{className:"h-4 w-4"})})}),r.jsx(S,{children:t("View")})]}),f(u,"edit-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("edit",e),className:"h-8 w-8 p-0 text-amber-500 hover:text-amber-600 hover:bg-amber-50 dark:hover:bg-amber-900/20",children:r.jsx(ke,{className:"h-4 w-4"})})}),r.jsx(S,{children:t("Edit")})]}),f(u,"reset-password-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("reset-password",e),className:"h-8 w-8 p-0 text-blue-500 hover:text-blue-600 hover:bg-blue-50 dark:hover:bg-blue-900/20",children:r.jsx(Ne,{className:"h-4 w-4"})})}),r.jsx(S,{children:t("Reset Password")})]}),f(u,"toggle-status-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("toggle-status",e),className:"h-8 w-8 p-0 text-amber-500 hover:text-amber-600 hover:bg-amber-50 dark:hover:bg-amber-900/20",children:e.status==="active"?r.jsx(Ce,{className:"h-4 w-4"}):r.jsx(Se,{className:"h-4 w-4"})})}),r.jsx(S,{children:e.status==="active"?t("Disable User"):t("Enable User")})]}),f(u,"delete-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("delete",e),className:"h-8 w-8 p-0 text-red-500 hover:text-red-600 hover:bg-red-50 dark:hover:bg-red-900/20",children:r.jsx(Pe,{className:"h-4 w-4"})})}),r.jsx(S,{children:t("Delete")})]})]}),r.jsx("div",{children:e.roles&&e.roles.length>0?r.jsx("span",{className:"inline-flex items-center rounded-md bg-primary px-2.5 py-1 text-xs font-medium text-white capitalize",children:e.roles[0].label||e.roles[0].name}):r.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-100 dark:bg-gray-700 px-2.5 py-1 text-xs font-medium text-gray-500 dark:text-gray-400",children:t("No role")})})]})]})},e.id)),(!(i!=null&&i.data)||i.data.length===0)&&r.jsxs("div",{className:"col-span-full text-center py-16",children:[r.jsx("div",{className:"mx-auto h-20 w-20 text-gray-300 dark:text-gray-600 mb-4",children:r.jsx("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-full h-full",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0z"})})}),r.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:t("No users found")}),r.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6",children:t("Get started by creating your first user")}),f(u,"create-users")&&r.jsxs(b,{onClick:D,children:[r.jsx(B,{className:"h-4 w-4 mr-2"}),t("Add User")]})]})]}),r.jsx("div",{className:"mt-6",children:r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:r.jsx(K,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("users"),onPageChange:V})})})]}),r.jsx(ge,{open:W,onOpenChange:q,children:l&&r.jsx(we,{record:l})}),r.jsx($,{isOpen:Y,onClose:()=>v(!1),onSubmit:ie,formConfig:{fields:[{name:"name",label:t("Name"),type:"text",required:!0},{name:"email",label:t("Email"),type:"email",required:!0},{name:"password",label:t("Password"),type:"password",required:!0,conditional:e=>e==="create"},{name:"password_confirmation",label:t("Confirm Password"),type:"password",required:!0,conditional:e=>e==="create"},{name:"roles",label:t("Role"),type:"select",options:k?k.map(e=>({value:e.id.toString(),label:e.label||e.name})):[],required:!0},{name:"branch_id",label:t("Branch"),type:"select",options:E?E.map(e=>({value:e.id.toString(),label:e.name})):[],required:!1}],modalSize:"lg"},initialData:l?{...l,roles:l.roles&&l.roles.length>0?l.roles[0].id.toString():"",branch_id:l.branch_id?l.branch_id.toString():""}:null,title:t(j==="create"?"Add New User":j==="edit"?"Edit User":"View User"),mode:j}),r.jsx(ve,{isOpen:Q,onClose:()=>C(!1),onConfirm:oe,itemName:(l==null?void 0:l.name)||"",entityName:"user"}),r.jsx($,{isOpen:X,onClose:()=>P(!1),onSubmit:ae,formConfig:{fields:[{name:"password",label:t("New Password"),type:"password",required:!0},{name:"password_confirmation",label:t("Confirm Password"),type:"password",required:!0}],modalSize:"sm"},initialData:{},title:`Reset Password for ${(l==null?void 0:l.name)||"User"}`,mode:"edit"})]})}export{ft as default}; +import{r as c,j as r}from"./ui-Z445SNHD.js";import{P as ce}from"./page-template-CLNVC8w_.js";import{u as ue,c as he,r as p,x as f,t as o,P as B,C as fe,s as y,v as N,o as b,w as S,D as ge}from"./app-Dya84jp7.js";import{P as K}from"./pagination-4PUepASD.js";import{S as xe}from"./search-and-filter-bar-DWH0yn_r.js";import{C as be}from"./CrudTable-yqxtM6E_.js";import{C as $}from"./CrudFormModal-CsuqSfb2.js";import{C as ve}from"./CrudDeleteModal-D32N6I8y.js";import{u as je}from"./use-initials-BK4eRgYY.js";import we from"./view-CBDIEe_U.js";import{H as ye,K as Ne,L as Se}from"./lock-open-wwRKX_jV.js";import{E as _e}from"./eye-CCNnMtu4.js";import{S as ke}from"./square-pen-CzdhbxyN.js";import{L as Ce}from"./lock-DaHvMEII.js";import{T as Pe}from"./trash-2-BeirBLIk.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./filter-BTHjyusi.js";import"./list-C_2fG_BT.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./locate-fixed-BEb8vcRf.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function ft(){var z,H;const{t}=ue(),{auth:_,users:i,roles:k,branches:E,planLimits:g,filters:a={}}=he().props,u=(_==null?void 0:_.permissions)||[],R=je(),[h,G]=c.useState(a.view||"list"),[m,M]=c.useState(a.search||""),[d,O]=c.useState(a.role||"all"),[J,T]=c.useState(!1),[W,q]=c.useState(!1),[Y,v]=c.useState(!1),[Q,C]=c.useState(!1),[X,P]=c.useState(!1),[l,A]=c.useState(null),[j,L]=c.useState("create"),Z=()=>d!=="all"||m!=="",ee=()=>(d!=="all"?1:0)+(m?1:0),re=e=>{e.preventDefault(),U()},U=()=>{const e={page:1};m&&(e.search=m),d!=="all"&&(e.role=d),a.per_page&&(e.per_page=a.per_page),e.view=h,p.get(route("users.index"),e,{preserveState:!0,preserveScroll:!0})},se=e=>{O(e)},te=e=>{const s=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc",n={sort_field:e,sort_direction:s,page:1};m&&(n.search=m),d!=="all"&&(n.role=d),a.per_page&&(n.per_page=a.per_page),n.view=h,p.get(route("users.index"),n,{preserveState:!0,preserveScroll:!0})},x=(e,s)=>{switch(A(s),e){case"view":q(!0);break;case"edit":L("edit"),v(!0);break;case"delete":C(!0);break;case"reset-password":P(!0);break;case"toggle-status":le(s);break}},D=()=>{A(null),L("create"),v(!0)},ie=e=>{e.roles&&Array.isArray(e.roles)&&(e.roles=e.roles[0]),j==="create"?p.post(route("users.store"),e,{onSuccess:s=>{v(!1),o.dismiss(),s.props.flash.success?o.success(t(s.props.flash.success)):s.props.flash.error&&o.error(t(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(t(s)):o.error(t("Failed to create user: {{errors}}",{errors:Object.values(s).join(", ")}))}}):j==="edit"&&p.put(route("users.update",l.id),e,{onSuccess:s=>{v(!1),o.dismiss(),s.props.flash.success?o.success(t(s.props.flash.success)):s.props.flash.error&&o.error(t(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(t(s)):o.error(t("Failed to update user: {{errors}}",{errors:Object.values(s).join(", ")}))}})},oe=()=>{p.delete(route("users.destroy",l.id),{onSuccess:e=>{C(!1),o.dismiss(),e.props.flash.success?o.success(t(e.props.flash.success)):e.props.flash.error&&o.error(t(e.props.flash.error))},onError:e=>{o.dismiss(),typeof e=="string"?o.error(t(e)):o.error(t("Failed to delete user: {{errors}}",{errors:Object.values(e).join(", ")}))}})},ae=e=>{p.put(route("users.reset-password",l.id),e,{onSuccess:s=>{P(!1),o.dismiss(),s.props.flash.success?o.success(t(s.props.flash.success)):s.props.flash.error&&o.error(t(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(t(s)):o.error(t("Failed to reset password: {{errors}}",{errors:Object.values(s).join(", ")}))}})},le=e=>{e.status,p.put(route("users.toggle-status",e.id),{},{onSuccess:s=>{o.dismiss(),s.props.flash.success?o.success(t(s.props.flash.success)):s.props.flash.error&&o.error(t(s.props.flash.error))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(t(s)):o.error(t("Failed to update user status: {{errors}}",{errors:Object.values(s).join(", ")}))}})},V=e=>{const n={page:new URL(e).searchParams.get("page")||"1",view:h};m&&(n.search=m),d!=="all"&&(n.role=d),a.per_page&&(n.per_page=a.per_page),a.sort_field&&(n.sort_field=a.sort_field),a.sort_direction&&(n.sort_direction=a.sort_direction),p.get(route("users.index"),n,{preserveState:!0,preserveScroll:!0})},ne=()=>{O("all"),M(""),T(!1),p.get(route("users.index"),{page:1,per_page:a.per_page,view:h},{preserveState:!0,preserveScroll:!0})},F=[];if(u.includes("manage-login-history")&&F.push({icon:r.jsx(ye,{className:"h-4 w-4 mx-auto"}),variant:"outline",tooltip:t("Login History"),onClick:()=>p.get(route("login-history.index"))}),f(u,"create-users")){const e=!g||g.can_create;F.push({label:g&&!e?t("User Limit Reached ({{current}}/{{max}})",{current:g.current_users,max:g.max_users}):t("Add User"),icon:r.jsx(B,{className:"h-4 w-4 mr-2"}),variant:e?"default":"outline",onClick:e?()=>D():()=>o.error(t("User limit exceeded. Your plan allows maximum {{max}} users. Please upgrade your plan.",{max:g.max_users})),disabled:!e})}const me=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Staff"),href:route("users.index")},{title:t("Users")}],de=[{key:"name",label:t("Name"),sortable:!0,render:(e,s)=>r.jsxs("div",{className:"flex items-center gap-3",children:[s.avatar?r.jsx("img",{src:s.avatar,alt:s.name,className:"h-10 w-10 rounded-full object-cover",onError:n=>{var I;const w=n.target;w.style.display="none",(I=w.nextElementSibling)==null||I.classList.remove("hidden")}}):null,r.jsx("div",{className:`flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white flex-shrink-0 ${s.avatar?"hidden":""}`,children:R(s.name)}),r.jsxs("div",{children:[r.jsx("div",{className:"font-medium",children:s.name}),r.jsx("div",{className:"text-sm text-muted-foreground",children:s.email})]})]})},{key:"roles",label:t("Roles"),render:e=>!e||!e.length?r.jsx("span",{className:"text-muted-foreground",children:"No roles assigned"}):e.map(s=>r.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10 mr-1",children:s.label||s.name},s.id))},{key:"created_at",label:t("Joined"),sortable:!0,render:e=>{var s;return((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}}],pe=[{label:t("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-users"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-users"},{label:t("Reset Password"),icon:"KeyRound",action:"reset-password",className:"text-blue-500",requiredPermission:"reset-password-users"},{label:t("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"toggle-status-users"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-users"}];return r.jsxs(ce,{title:t("Users Management"),url:"/users",actions:F,breadcrumbs:me,noPadding:!0,children:[r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:r.jsx(xe,{searchTerm:m,onSearchChange:M,onSearch:re,filters:[{name:"role",label:t("Role"),type:"select",value:d,onChange:se,options:[{value:"all",label:t("All Roles")},...(k||[]).map(e=>({value:e.id.toString(),label:e.label||e.name}))]}],showFilters:J,setShowFilters:T,hasActiveFilters:Z,activeFilterCount:ee,onResetFilters:ne,onApplyFilters:U,currentPerPage:((z=a.per_page)==null?void 0:z.toString())||"10",onPerPageChange:e=>{const s={page:1,per_page:parseInt(e),view:h};m&&(s.search=m),d!=="all"&&(s.role=d),a.sort_field&&(s.sort_field=a.sort_field),a.sort_direction&&(s.sort_direction=a.sort_direction),p.get(route("users.index"),s,{preserveState:!0,preserveScroll:!0})},showViewToggle:!0,activeView:h,onViewChange:e=>{G(e);const s={page:1,view:e};m&&(s.search=m),d!=="all"&&(s.role=d),a.per_page&&(s.per_page=a.per_page),a.sort_field&&(s.sort_field=a.sort_field),a.sort_direction&&(s.sort_direction=a.sort_direction),p.get(route("users.index"),s,{preserveState:!0,preserveScroll:!0})}})}),h==="list"?r.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[r.jsx(be,{columns:de,actions:pe,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:x,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:te,permissions:u,entityPermissions:{view:"view-users",create:"create-users",edit:"edit-users",delete:"delete-users"}}),r.jsx(K,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("users"),onPageChange:V})]}):r.jsxs("div",{children:[r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:[(H=i==null?void 0:i.data)==null?void 0:H.map(e=>r.jsx(fe,{className:"bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-xl shadow-sm hover:shadow-md transition-all duration-200",children:r.jsxs("div",{className:"p-4",children:[r.jsxs("div",{className:"flex items-center gap-3",children:[r.jsxs("div",{className:"flex-shrink-0",children:[e.avatar?r.jsx("img",{src:e.avatar,alt:e.name,className:"h-12 w-12 rounded-lg object-cover",onError:s=>{var w;const n=s.target;n.style.display="none",(w=n.nextElementSibling)==null||w.classList.remove("hidden")}}):null,r.jsx("div",{className:`h-12 w-12 rounded-lg bg-primary/10 text-primary flex items-center justify-center text-sm font-bold ${e.avatar?"hidden":""}`,children:R(e.name)})]}),r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsx("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white truncate",children:e.name}),r.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 truncate",children:e.email})]})]}),r.jsx("div",{className:"border-t border-gray-100 dark:border-gray-700 my-3"}),r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsxs("div",{className:"flex items-center gap-1",children:[f(u,"view-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("view",e),className:"h-8 w-8 p-0 text-blue-500 hover:text-blue-600 hover:bg-blue-50 dark:hover:bg-blue-900/20",children:r.jsx(_e,{className:"h-4 w-4"})})}),r.jsx(S,{children:t("View")})]}),f(u,"edit-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("edit",e),className:"h-8 w-8 p-0 text-amber-500 hover:text-amber-600 hover:bg-amber-50 dark:hover:bg-amber-900/20",children:r.jsx(ke,{className:"h-4 w-4"})})}),r.jsx(S,{children:t("Edit")})]}),f(u,"reset-password-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("reset-password",e),className:"h-8 w-8 p-0 text-blue-500 hover:text-blue-600 hover:bg-blue-50 dark:hover:bg-blue-900/20",children:r.jsx(Ne,{className:"h-4 w-4"})})}),r.jsx(S,{children:t("Reset Password")})]}),f(u,"toggle-status-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("toggle-status",e),className:"h-8 w-8 p-0 text-amber-500 hover:text-amber-600 hover:bg-amber-50 dark:hover:bg-amber-900/20",children:e.status==="active"?r.jsx(Ce,{className:"h-4 w-4"}):r.jsx(Se,{className:"h-4 w-4"})})}),r.jsx(S,{children:e.status==="active"?t("Disable User"):t("Enable User")})]}),f(u,"delete-users")&&r.jsxs(y,{children:[r.jsx(N,{asChild:!0,children:r.jsx(b,{variant:"ghost",size:"sm",onClick:()=>x("delete",e),className:"h-8 w-8 p-0 text-red-500 hover:text-red-600 hover:bg-red-50 dark:hover:bg-red-900/20",children:r.jsx(Pe,{className:"h-4 w-4"})})}),r.jsx(S,{children:t("Delete")})]})]}),r.jsx("div",{children:e.roles&&e.roles.length>0?r.jsx("span",{className:"inline-flex items-center rounded-md bg-primary px-2.5 py-1 text-xs font-medium text-white capitalize",children:e.roles[0].label||e.roles[0].name}):r.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-100 dark:bg-gray-700 px-2.5 py-1 text-xs font-medium text-gray-500 dark:text-gray-400",children:t("No role")})})]})]})},e.id)),(!(i!=null&&i.data)||i.data.length===0)&&r.jsxs("div",{className:"col-span-full text-center py-16",children:[r.jsx("div",{className:"mx-auto h-20 w-20 text-gray-300 dark:text-gray-600 mb-4",children:r.jsx("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-full h-full",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0z"})})}),r.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:t("No users found")}),r.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-6",children:t("Get started by creating your first user")}),f(u,"create-users")&&r.jsxs(b,{onClick:D,children:[r.jsx(B,{className:"h-4 w-4 mr-2"}),t("Add User")]})]})]}),r.jsx("div",{className:"mt-6",children:r.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden",children:r.jsx(K,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:t("users"),onPageChange:V})})})]}),r.jsx(ge,{open:W,onOpenChange:q,children:l&&r.jsx(we,{record:l})}),r.jsx($,{isOpen:Y,onClose:()=>v(!1),onSubmit:ie,formConfig:{fields:[{name:"name",label:t("Name"),type:"text",required:!0},{name:"email",label:t("Email"),type:"email",required:!0},{name:"password",label:t("Password"),type:"password",required:!0,conditional:e=>e==="create"},{name:"password_confirmation",label:t("Confirm Password"),type:"password",required:!0,conditional:e=>e==="create"},{name:"roles",label:t("Role"),type:"select",options:k?k.map(e=>({value:e.id.toString(),label:e.label||e.name})):[],required:!0},{name:"branch_id",label:t("Branch"),type:"select",options:E?E.map(e=>({value:e.id.toString(),label:e.name})):[],required:!1}],modalSize:"lg"},initialData:l?{...l,roles:l.roles&&l.roles.length>0?l.roles[0].id.toString():"",branch_id:l.branch_id?l.branch_id.toString():""}:null,title:t(j==="create"?"Add New User":j==="edit"?"Edit User":"View User"),mode:j}),r.jsx(ve,{isOpen:Q,onClose:()=>C(!1),onConfirm:oe,itemName:(l==null?void 0:l.name)||"",entityName:"user"}),r.jsx($,{isOpen:X,onClose:()=>P(!1),onSubmit:ae,formConfig:{fields:[{name:"password",label:t("New Password"),type:"password",required:!0},{name:"password_confirmation",label:t("Confirm Password"),type:"password",required:!0}],modalSize:"sm"},initialData:{},title:`Reset Password for ${(l==null?void 0:l.name)||"User"}`,mode:"edit"})]})}export{ft as default}; diff --git a/public/build/assets/index-DWoluho-.js b/public/build/assets/index-fChYlLmm.js similarity index 60% rename from public/build/assets/index-DWoluho-.js rename to public/build/assets/index-fChYlLmm.js index e4e2f907f..770b8de42 100644 --- a/public/build/assets/index-DWoluho-.js +++ b/public/build/assets/index-fChYlLmm.js @@ -1 +1 @@ -import{r as c,j as a}from"./ui-Z445SNHD.js";import{P as W}from"./page-template-BTxLyiDA.js";import{u as X,c as Y,x as Z,P as ee,r as d,D as te,t as o}from"./app-CfhhiFAk.js";import{C as re}from"./CrudTable-qPWooc10.js";import{C as ie}from"./CrudFormModal-DAR9q-oM.js";import{C as oe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as se}from"./pagination-D8A_HnL5.js";import{S as ae}from"./search-and-filter-bar-6Pp-FsiR.js";import pe from"./view-KQwkZ-26.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function Jr(){var k;const{t:e}=X(),{auth:b,departments:s,branches:x,filters:p={},globalSettings:r}=Y().props,g=(b==null?void 0:b.permissions)||[],[u,w]=c.useState(p.search||""),[n,y]=c.useState(p.branch_id||"all"),[l,D]=c.useState(p.status||"all"),[O,j]=c.useState(!1),[E,h]=c.useState(!1),[M,_]=c.useState(!1),[f,C]=c.useState(null),[v,F]=c.useState("create"),[S,P]=c.useState(null),T=()=>u!==""||n!=="all"||l!=="all",I=()=>(u?1:0)+(n!=="all"?1:0)+(l!=="all"?1:0),B=t=>{t.preventDefault(),A()},A=()=>{d.get(route("hr.departments.index"),{page:1,search:u||void 0,branch_id:n!=="all"?n:void 0,status:l!=="all"?l:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},q=t=>{const i=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";d.get(route("hr.departments.index"),{sort_field:t,sort_direction:i,page:1,search:u||void 0,branch_id:n!=="all"?n:void 0,status:l!=="all"?l:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},R=(t,i)=>{switch(C(i),t){case"view":P(i);break;case"edit":F("edit"),h(!0);break;case"delete":_(!0);break;case"toggle-status":z(i);break}},V=()=>{C(null),F("create"),h(!0)},L=t=>{v==="create"?(r!=null&&r.is_demo||o.loading(e("Creating department...")),d.post(route("hr.departments.store"),t,{onSuccess:i=>{h(!1),r!=null&&r.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{r!=null&&r.is_demo||o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to create department: {{errors}}",{errors:Object.values(i).join(", ")}))}})):v==="edit"&&(r!=null&&r.is_demo||o.loading(e("Updating department...")),d.put(route("hr.departments.update",f.id),t,{onSuccess:i=>{h(!1),r!=null&&r.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{r!=null&&r.is_demo||o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to update department: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},$=()=>{r!=null&&r.is_demo||o.loading(e("Deleting department...")),d.delete(route("hr.departments.destroy",f.id),{onSuccess:t=>{_(!1),r!=null&&r.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{r!=null&&r.is_demo||o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to delete department: {{errors}}",{errors:Object.values(t).join(", ")}))}})},z=t=>{const i=t.status==="active"?"inactive":"active";r!=null&&r.is_demo||o.loading(`${e(i==="active"?"Activating":"Deactivating")} department...`),d.put(route("hr.departments.toggle-status",t.id),{},{onSuccess:m=>{r!=null&&r.is_demo||o.dismiss(),m.props.flash.success?o.success(e(m.props.flash.success)):m.props.flash.error&&o.error(e(m.props.flash.error))},onError:m=>{r!=null&&r.is_demo||o.dismiss(),typeof m=="string"?o.error(e(m)):o.error(e("Failed to update department status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},H=()=>{w(""),y("all"),D("all"),j(!1),d.get(route("hr.departments.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},N=[];Z(g,"create-departments")&&N.push({label:e("Add Department"),icon:a.jsx(ee,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>V()});const U=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.departments.index")},{title:e("Departments")}],G=[{key:"name",label:e("Name"),sortable:!0},{key:"branch",label:e("Branch"),render:(t,i)=>{var m;return((m=i.branch)==null?void 0:m.name)||"-"}},{key:"status",label:e("Status"),render:t=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:t=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],J=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-departments"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-departments"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-departments"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-departments"}],K=[{value:"all",label:e("All Branches")},...(x||[]).map(t=>({value:t.id.toString(),label:t.name}))],Q=[{value:"all",label:e("Select Status"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}];return a.jsxs(W,{title:e("Departments"),url:"/hr/departments",actions:N,breadcrumbs:U,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ae,{searchTerm:u,onSearchChange:w,onSearch:B,filters:[{name:"branch_id",label:e("Branch"),type:"select",value:n,onChange:y,options:K,searchable:!0},{name:"status",label:e("Status"),type:"select",value:l,onChange:D,options:Q}],showFilters:O,setShowFilters:j,hasActiveFilters:T,activeFilterCount:I,onResetFilters:H,onApplyFilters:A,currentPerPage:((k=p.per_page)==null?void 0:k.toString())||"10",onPerPageChange:t=>{d.get(route("hr.departments.index"),{page:1,per_page:parseInt(t),search:u||void 0,branch_id:n!=="all"?n:void 0,status:l!=="all"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(re,{columns:G,actions:J,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:R,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:q,permissions:g,entityPermissions:{view:"view-departments",create:"create-departments",edit:"edit-departments",delete:"delete-departments"}}),a.jsx(se,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("departments"),onPageChange:t=>d.get(t)})]}),a.jsx(ie,{isOpen:E,onClose:()=>h(!1),onSubmit:L,formConfig:{fields:[{name:"name",label:e("Department Name"),type:"text",required:!0},{name:"branch_id",label:e("Branch"),type:"select",required:!0,searchable:!0,options:x?x.map(t=>({value:t.id.toString(),label:t.name})):[]},{name:"description",label:e("Description"),type:"textarea"},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"lg"},initialData:f,title:e(v==="create"?"Add New Department":"Edit Department"),mode:v}),a.jsx(oe,{isOpen:M,onClose:()=>_(!1),onConfirm:$,itemName:(f==null?void 0:f.name)||"",entityName:"department"}),a.jsx(te,{open:!!S,onOpenChange:()=>P(null),children:S&&a.jsx(pe,{department:S})})]})}export{Jr as default}; +import{r as c,j as a}from"./ui-Z445SNHD.js";import{P as W}from"./page-template-CLNVC8w_.js";import{u as X,c as Y,x as Z,P as ee,r as d,D as te,t as o}from"./app-Dya84jp7.js";import{C as re}from"./CrudTable-yqxtM6E_.js";import{C as ie}from"./CrudFormModal-CsuqSfb2.js";import{C as oe}from"./CrudDeleteModal-D32N6I8y.js";import{P as se}from"./pagination-4PUepASD.js";import{S as ae}from"./search-and-filter-bar-DWH0yn_r.js";import pe from"./view-Dpd8svdo.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function Jr(){var k;const{t:e}=X(),{auth:b,departments:s,branches:x,filters:p={},globalSettings:r}=Y().props,g=(b==null?void 0:b.permissions)||[],[u,w]=c.useState(p.search||""),[n,y]=c.useState(p.branch_id||"all"),[l,D]=c.useState(p.status||"all"),[O,j]=c.useState(!1),[E,h]=c.useState(!1),[M,_]=c.useState(!1),[f,C]=c.useState(null),[v,F]=c.useState("create"),[S,P]=c.useState(null),T=()=>u!==""||n!=="all"||l!=="all",I=()=>(u?1:0)+(n!=="all"?1:0)+(l!=="all"?1:0),B=t=>{t.preventDefault(),A()},A=()=>{d.get(route("hr.departments.index"),{page:1,search:u||void 0,branch_id:n!=="all"?n:void 0,status:l!=="all"?l:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},q=t=>{const i=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";d.get(route("hr.departments.index"),{sort_field:t,sort_direction:i,page:1,search:u||void 0,branch_id:n!=="all"?n:void 0,status:l!=="all"?l:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},R=(t,i)=>{switch(C(i),t){case"view":P(i);break;case"edit":F("edit"),h(!0);break;case"delete":_(!0);break;case"toggle-status":z(i);break}},V=()=>{C(null),F("create"),h(!0)},L=t=>{v==="create"?(r!=null&&r.is_demo||o.loading(e("Creating department...")),d.post(route("hr.departments.store"),t,{onSuccess:i=>{h(!1),r!=null&&r.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{r!=null&&r.is_demo||o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to create department: {{errors}}",{errors:Object.values(i).join(", ")}))}})):v==="edit"&&(r!=null&&r.is_demo||o.loading(e("Updating department...")),d.put(route("hr.departments.update",f.id),t,{onSuccess:i=>{h(!1),r!=null&&r.is_demo||o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{r!=null&&r.is_demo||o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to update department: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},$=()=>{r!=null&&r.is_demo||o.loading(e("Deleting department...")),d.delete(route("hr.departments.destroy",f.id),{onSuccess:t=>{_(!1),r!=null&&r.is_demo||o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{r!=null&&r.is_demo||o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to delete department: {{errors}}",{errors:Object.values(t).join(", ")}))}})},z=t=>{const i=t.status==="active"?"inactive":"active";r!=null&&r.is_demo||o.loading(`${e(i==="active"?"Activating":"Deactivating")} department...`),d.put(route("hr.departments.toggle-status",t.id),{},{onSuccess:m=>{r!=null&&r.is_demo||o.dismiss(),m.props.flash.success?o.success(e(m.props.flash.success)):m.props.flash.error&&o.error(e(m.props.flash.error))},onError:m=>{r!=null&&r.is_demo||o.dismiss(),typeof m=="string"?o.error(e(m)):o.error(e("Failed to update department status: {{errors}}",{errors:Object.values(m).join(", ")}))}})},H=()=>{w(""),y("all"),D("all"),j(!1),d.get(route("hr.departments.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},N=[];Z(g,"create-departments")&&N.push({label:e("Add Department"),icon:a.jsx(ee,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>V()});const U=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.departments.index")},{title:e("Departments")}],G=[{key:"name",label:e("Name"),sortable:!0},{key:"branch",label:e("Branch"),render:(t,i)=>{var m;return((m=i.branch)==null?void 0:m.name)||"-"}},{key:"status",label:e("Status"),render:t=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:e(t==="active"?"Active":"Inactive")})},{key:"created_at",label:e("Created At"),sortable:!0,render:t=>{var i;return((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],J=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-departments"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-departments"},{label:e("Toggle Status"),icon:"Lock",action:"toggle-status",className:"text-amber-500",requiredPermission:"edit-departments"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-departments"}],K=[{value:"all",label:e("All Branches")},...(x||[]).map(t=>({value:t.id.toString(),label:t.name}))],Q=[{value:"all",label:e("Select Status"),disabled:!0},{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}];return a.jsxs(W,{title:e("Departments"),url:"/hr/departments",actions:N,breadcrumbs:U,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ae,{searchTerm:u,onSearchChange:w,onSearch:B,filters:[{name:"branch_id",label:e("Branch"),type:"select",value:n,onChange:y,options:K,searchable:!0},{name:"status",label:e("Status"),type:"select",value:l,onChange:D,options:Q}],showFilters:O,setShowFilters:j,hasActiveFilters:T,activeFilterCount:I,onResetFilters:H,onApplyFilters:A,currentPerPage:((k=p.per_page)==null?void 0:k.toString())||"10",onPerPageChange:t=>{d.get(route("hr.departments.index"),{page:1,per_page:parseInt(t),search:u||void 0,branch_id:n!=="all"?n:void 0,status:l!=="all"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(re,{columns:G,actions:J,data:(s==null?void 0:s.data)||[],from:(s==null?void 0:s.from)||1,onAction:R,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:q,permissions:g,entityPermissions:{view:"view-departments",create:"create-departments",edit:"edit-departments",delete:"delete-departments"}}),a.jsx(se,{from:(s==null?void 0:s.from)||0,to:(s==null?void 0:s.to)||0,total:(s==null?void 0:s.total)||0,links:s==null?void 0:s.links,entityName:e("departments"),onPageChange:t=>d.get(t)})]}),a.jsx(ie,{isOpen:E,onClose:()=>h(!1),onSubmit:L,formConfig:{fields:[{name:"name",label:e("Department Name"),type:"text",required:!0},{name:"branch_id",label:e("Branch"),type:"select",required:!0,searchable:!0,options:x?x.map(t=>({value:t.id.toString(),label:t.name})):[]},{name:"description",label:e("Description"),type:"textarea"},{name:"status",label:e("Status"),type:"select",options:[{value:"active",label:e("Active")},{value:"inactive",label:e("Inactive")}],defaultValue:"active"}],modalSize:"lg"},initialData:f,title:e(v==="create"?"Add New Department":"Edit Department"),mode:v}),a.jsx(oe,{isOpen:M,onClose:()=>_(!1),onConfirm:$,itemName:(f==null?void 0:f.name)||"",entityName:"department"}),a.jsx(te,{open:!!S,onOpenChange:()=>P(null),children:S&&a.jsx(pe,{department:S})})]})}export{Jr as default}; diff --git a/public/build/assets/index-CqtrR8zZ.js b/public/build/assets/index-fvp18Mnk.js similarity index 77% rename from public/build/assets/index-CqtrR8zZ.js rename to public/build/assets/index-fvp18Mnk.js index fba1a5e8e..e7be540e2 100644 --- a/public/build/assets/index-CqtrR8zZ.js +++ b/public/build/assets/index-fvp18Mnk.js @@ -1 +1 @@ -import{r as n,j as o}from"./ui-Z445SNHD.js";import{P as Ce}from"./page-template-BTxLyiDA.js";import{u as ke,c as De,x as F,P as je,r as d,M as G,t as a}from"./app-CfhhiFAk.js";import{C as Ae}from"./CrudTable-qPWooc10.js";import{C as w}from"./CrudFormModal-DAR9q-oM.js";import{C as Fe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Pe}from"./pagination-D8A_HnL5.js";import{S as Ne}from"./search-and-filter-bar-6Pp-FsiR.js";import{I as Me}from"./ImportModal-CxDgVhxL.js";import{F as Oe}from"./file-down-Dd8zePUY.js";import{F as Te}from"./file-up-BGHgeTEG.js";import{C as B}from"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./pen-line-BrTss6NX.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./alert-DH0o7BP8.js";function Sa(){var z;const{t:e}=ke(),{auth:C,assets:i,assetTypes:$,locations:H,employees:X,globalSettings:Re,filters:l={}}=De().props,S=(C==null?void 0:C.permissions)||[],[c,P]=n.useState(l.search||""),[u,N]=n.useState(l.asset_type_id||""),[h,M]=n.useState(l.status||""),[b,O]=n.useState(l.condition||""),[f,T]=n.useState(l.location||""),[g,R]=n.useState(l.purchase_date_from||""),[v,E]=n.useState(l.purchase_date_to||""),[Y,q]=n.useState(!1),[J,k]=n.useState(!1),[K,_]=n.useState(!1),[Q,D]=n.useState(!1),[Z,j]=n.useState(!1),[ee,A]=n.useState(!1),[te,I]=n.useState(!1),[p,L]=n.useState(null),[x,U]=n.useState("create"),se=()=>u!==""||h!==""||b!==""||f!==""||g!==""||v!==""||c!=="",ae=()=>(u!==""?1:0)+(h!==""?1:0)+(b!==""?1:0)+(f!==""?1:0)+(g!==""?1:0)+(v!==""?1:0)+(c!==""?1:0),re=t=>{t.preventDefault(),V()},oe=()=>{d.get(route("hr.assets.dashboard"))},ie=()=>{d.get(route("hr.assets.depreciation-report"))},V=()=>{d.get(route("hr.assets.index"),{page:1,search:c||void 0,asset_type_id:u||void 0,status:h||void 0,condition:b||void 0,location:f||void 0,purchase_date_from:g||void 0,purchase_date_to:v||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},ne=t=>{const s=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";d.get(route("hr.assets.index"),{sort_field:t,sort_direction:s,page:1,search:c||void 0,asset_type_id:u||void 0,status:h||void 0,condition:b||void 0,location:f||void 0,purchase_date_from:g||void 0,purchase_date_to:v||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},le=(t,s)=>{switch(L(s),t){case"view":d.get(route("hr.assets.show",s.id));break;case"edit":U("edit"),_(!0);break;case"delete":k(!0);break;case"assign":D(!0);break;case"return":j(!0);break;case"maintenance":A(!0);break;case"download-document":window.open(route("hr.assets.download-document",s.id),"_blank");break}},pe=()=>{L(null),U("create"),_(!0)},de=t=>{const s=t;x==="create"?(a.loading(e("Creating asset...")),d.post(route("hr.assets.store"),s,{onSuccess:r=>{_(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error&&a.error(e(r.props.flash.error))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(e(r)):a.error(e("Failed to create asset: {{errors}}",{errors:Object.values(r).join(", ")}))}})):x==="edit"&&(a.loading(e("Updating asset...")),d.put(route("hr.assets.update",p.id),s,{onSuccess:r=>{_(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error&&a.error(e(r.props.flash.error))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(e(r)):a.error(e("Failed to update asset: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},me=t=>{a.loading(e("Assigning asset...")),d.post(route("hr.assets.assign",p.id),t,{onSuccess:s=>{D(!1),a.dismiss(),s.props.flash.success?a.success(e(s.props.flash.success)):s.props.flash.error&&a.error(e(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(e(s)):a.error(e("Failed to assign asset: {{errors}}",{errors:Object.values(s).join(", ")}))}})},ce=t=>{a.loading(e("Returning asset...")),d.post(route("hr.assets.return",p.id),t,{onSuccess:s=>{j(!1),a.dismiss(),s.props.flash.success?a.success(e(s.props.flash.success)):s.props.flash.error&&a.error(e(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(e(s)):a.error(e("Failed to return asset: {{errors}}",{errors:Object.values(s).join(", ")}))}})},ue=t=>{a.loading(e("Scheduling maintenance...")),d.post(route("hr.assets.schedule-maintenance",p.id),t,{onSuccess:s=>{A(!1),a.dismiss(),s.props.flash.success?a.success(e(s.props.flash.success)):s.props.flash.error&&a.error(e(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(e(s)):a.error(e("Failed to schedule maintenance: {{errors}}",{errors:Object.values(s).join(", ")}))}})},he=()=>{a.loading(e("Deleting asset...")),d.delete(route("hr.assets.destroy",p.id),{onSuccess:t=>{k(!1),a.dismiss(),t.props.flash.success?a.success(e(t.props.flash.success)):t.props.flash.error&&a.error(e(t.props.flash.error))},onError:t=>{a.dismiss(),typeof t=="string"?a.error(e(t)):a.error(e("Failed to delete asset: {{errors}}",{errors:Object.values(t).join(", ")}))}})},be=()=>{P(""),N(""),M(""),O(""),T(""),R(""),E(""),q(!1),d.get(route("hr.assets.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},fe=async()=>{try{const t=await fetch(route("hr.assets.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!t.ok){const we=await t.json().catch(()=>({}));a.error(e(we.message||"Failed to export assets"));return}const s=await t.blob(),r=window.URL.createObjectURL(s),m=document.createElement("a");m.href=r,m.download=`assets_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(m),m.click(),window.URL.revokeObjectURL(r),document.body.removeChild(m)}catch{a.error(e("Failed to export assets"))}},y=[];F(S,"export-assets")&&y.push({label:e("Export"),icon:o.jsx(Oe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:fe}),F(S,"import-assets")&&y.push({label:e("Import"),icon:o.jsx(Te,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>I(!0)}),y.push({label:e("Dashboard"),icon:o.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:oe}),y.push({label:e("Depreciation Report"),icon:o.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ie}),F(S,"create-assets")&&y.push({label:e("Add Asset"),icon:o.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>pe()});const ge=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.assets.index")},{title:e("Asset Management"),href:route("hr.assets.index")},{title:e("Assets")}],ve=[{key:"name",label:e("Name"),sortable:!0,render:(t,s)=>{var r;return o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:t}),o.jsx("div",{className:"text-xs text-gray-500",children:((r=s.asset_type)==null?void 0:r.name)||"-"})]})}},{key:"asset_code",label:e("Asset Code"),render:(t,s)=>o.jsxs("div",{children:[o.jsx("div",{children:t||"-"}),o.jsx("div",{className:"text-xs text-gray-500",children:s.serial_number||"-"})]})},{key:"status",label:e("Status"),render:t=>{const s={available:"bg-green-50 text-green-700 ring-green-600/20",assigned:"bg-blue-50 text-blue-700 ring-blue-600/20",under_maintenance:"bg-amber-50 text-amber-700 ring-amber-600/20",disposed:"bg-red-50 text-red-700 ring-red-600/20"},r={available:e("Available"),assigned:e("Assigned"),under_maintenance:e("Under Maintenance"),disposed:e("Disposed")};return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s[t]||""}`,children:r[t]||t})}},{key:"assigned_to",label:e("Assigned To"),render:(t,s)=>{var r;return s.status!=="assigned"||!((r=s.current_assignment)!=null&&r.employee)?"-":o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:s.current_assignment.employee.name}),o.jsx("div",{className:"text-xs text-gray-500",children:s.current_assignment.employee.employee_id})]})}},{key:"purchase_date",label:e("Purchase Date"),sortable:!0,render:t=>{var s;return t?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"purchase_cost",label:e("Purchase Cost"),sortable:!0,render:t=>t?window.appSettings.formatCurrency(t):"-"},{key:"location",label:e("Location"),render:t=>t||"-"}],ye=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-assets"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-assets"},{label:e("Assign"),icon:"UserPlus",action:"assign",className:"text-green-500",requiredPermission:"assign-assets",showWhen:t=>t.status==="available"},{label:e("Return"),icon:"ArrowDownLeft",action:"return",className:"text-purple-500",requiredPermission:"assign-assets",showWhen:t=>t.status==="assigned"},{label:e("Maintenance"),icon:"Wrench",action:"maintenance",className:"text-indigo-500",requiredPermission:"manage-asset-maintenance",showWhen:t=>t.status!=="disposed"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-assets",showWhen:t=>t.status!=="assigned"}],W=[{value:"_none_",label:e("All Types")},...($||[]).map(t=>({value:t.id.toString(),label:t.name}))],_e=[{value:"_none_",label:e("All Statuses")},{value:"available",label:e("Available")},{value:"assigned",label:e("Assigned")},{value:"under_maintenance",label:e("Under Maintenance")},{value:"disposed",label:e("Disposed")}],xe=[{value:"_none_",label:e("All Conditions")},{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],Se=[{value:"_none_",label:e("All Locations")},...(H||[]).map(t=>({value:t,label:t}))];return o.jsxs(Ce,{title:e("Assets"),url:"/hr/assets",actions:y,breadcrumbs:ge,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(Ne,{searchTerm:c,onSearchChange:P,onSearch:re,filters:[{name:"asset_type_id",label:e("Asset Type"),type:"select",value:u,onChange:N,options:W},{name:"status",label:e("Status"),type:"select",value:h,onChange:M,options:_e},{name:"condition",label:e("Condition"),type:"select",value:b,onChange:O,options:xe},{name:"location",label:e("Location"),type:"select",value:f,onChange:T,options:Se},{name:"purchase_date_from",label:e("Purchase Date From"),type:"date",value:g,onChange:R},{name:"purchase_date_to",label:e("Purchase Date To"),type:"date",value:v,onChange:E}],showFilters:Y,setShowFilters:q,hasActiveFilters:se,activeFilterCount:ae,onResetFilters:be,onApplyFilters:V,currentPerPage:((z=l.per_page)==null?void 0:z.toString())||"10",onPerPageChange:t=>{d.get(route("hr.assets.index"),{page:1,per_page:parseInt(t),search:c||void 0,asset_type_id:u||void 0,status:h||void 0,condition:b||void 0,location:f||void 0,purchase_date_from:g||void 0,purchase_date_to:v||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(Ae,{columns:ve,actions:ye,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:le,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:ne,permissions:S,entityPermissions:{view:"view-assets",create:"create-assets",edit:"edit-assets",delete:"delete-assets"}}),o.jsx(Pe,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("assets"),onPageChange:t=>d.get(t)})]}),o.jsx(w,{isOpen:K,onClose:()=>_(!1),onSubmit:de,formConfig:{fields:[{name:"name",label:e("Name"),type:"text",required:!0},{name:"asset_type_id",label:e("Asset Type"),type:"select",required:!0,options:W.filter(t=>t.value!=="_none_")},{name:"serial_number",label:e("Serial Number"),type:"text"},{name:"asset_code",label:e("Asset Code"),type:"text"},{name:"purchase_date",label:e("Purchase Date"),type:"date"},{name:"purchase_cost",label:e("Purchase Cost"),type:"number",min:0,step:.01},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"available",label:e("Available")},{value:"assigned",label:e("Assigned")},{value:"under_maintenance",label:e("Under Maintenance")},{value:"disposed",label:e("Disposed")}]},{name:"condition",label:e("Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}]},{name:"description",label:e("Description"),type:"textarea"},{name:"location",label:e("Location"),type:"text"},{name:"supplier",label:e("Supplier"),type:"text"},{name:"warranty_info",label:e("Warranty Information"),type:"text"},{name:"warranty_expiry_date",label:e("Warranty Expiry Date"),type:"date"},{name:"images",label:e("Images"),type:"custom",render:(t,s,r)=>o.jsx(G,{value:String(s[t.name]||""),onChange:m=>r(t.name,m),placeholder:e("Select image file...")}),helpText:e("Upload image file (max 5MB)")},{name:"documents",label:e("Documents"),type:"custom",render:(t,s,r)=>o.jsx(G,{value:String(s[t.name]||""),onChange:m=>r(t.name,m),placeholder:e("Select document file...")}),helpText:e("Upload PDF or Word document (max 5MB)")},{name:"depreciation_method",label:e("Depreciation Method"),type:"select",options:[{value:"_none_",label:e("No Depreciation")},{value:"straight_line",label:e("Straight Line")},{value:"reducing_balance",label:e("Reducing Balance")}],showWhen:t=>t.purchase_cost&&t.purchase_date},{name:"useful_life_years",label:e("Useful Life (Years)"),type:"number",min:1,step:1,defaultValue:5,showWhen:t=>t.depreciation_method},{name:"salvage_value",label:e("Salvage Value"),type:"number",min:0,step:.01,showWhen:t=>t.depreciation_method}],modalSize:"lg"},initialData:p,title:e(x==="create"?"Add New Asset":x==="edit"?"Edit Asset":"View Asset"),mode:x}),o.jsx(w,{isOpen:Q,onClose:()=>D(!1),onSubmit:me,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:(X||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))},{name:"checkout_date",label:e("Checkout Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"expected_return_date",label:e("Expected Return Date"),type:"date"},{name:"checkout_condition",label:e("Checkout Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],defaultValue:p==null?void 0:p.condition},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"md"},initialData:{},title:e("Assign Asset"),mode:"create"}),o.jsx(w,{isOpen:Z,onClose:()=>j(!1),onSubmit:ce,formConfig:{fields:[{name:"checkin_date",label:e("Check-in Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"checkin_condition",label:e("Check-in Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],defaultValue:p==null?void 0:p.condition},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"md"},initialData:{},title:e("Return Asset"),mode:"create"}),o.jsx(w,{isOpen:ee,onClose:()=>A(!1),onSubmit:ue,formConfig:{fields:[{name:"maintenance_type",label:e("Maintenance Type"),type:"select",required:!0,options:[{value:"repair",label:e("Repair")},{value:"preventive",label:e("Preventive")},{value:"calibration",label:e("Calibration")},{value:"software update",label:e("Software Update")},{value:"hardware upgrade",label:e("Hardware Upgrade")}]},{name:"start_date",label:e("Start Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"end_date",label:e("End Date"),type:"date"},{name:"cost",label:e("Cost"),type:"number",min:0,step:.01},{name:"details",label:e("Details"),type:"textarea"},{name:"supplier",label:e("Supplier"),type:"text"}],modalSize:"md"},initialData:{},title:e("Schedule Maintenance"),mode:"create"}),o.jsx(Fe,{isOpen:J,onClose:()=>k(!1),onConfirm:he,itemName:(p==null?void 0:p.name)||"",entityName:"asset"}),o.jsx(Me,{isOpen:te,onClose:()=>I(!1),title:e("Import Assets from CSV/Excel"),importRoute:"hr.assets.import",parseRoute:"hr.assets.parse",sampleRoute:"hr.assets.download.template",importNotes:e("Ensure that the values entered for Asset Type, status , condition & deprication method match the existing records in your system."),modalSize:"xl",databaseFields:[{key:"name",required:!0},{key:"asset_type",required:!0},{key:"serial_number"},{key:"asset_code"},{key:"purchase_date"},{key:"purchase_cost"},{key:"status"},{key:"condition"},{key:"description"},{key:"location"},{key:"supplier"},{key:"warranty_info"},{key:"warranty_expiry_date"}]})]})}export{Sa as default}; +import{r as n,j as o}from"./ui-Z445SNHD.js";import{P as Ce}from"./page-template-CLNVC8w_.js";import{u as ke,c as De,x as F,P as je,r as d,M as G,t as a}from"./app-Dya84jp7.js";import{C as Ae}from"./CrudTable-yqxtM6E_.js";import{C as w}from"./CrudFormModal-CsuqSfb2.js";import{C as Fe}from"./CrudDeleteModal-D32N6I8y.js";import{P as Pe}from"./pagination-4PUepASD.js";import{S as Ne}from"./search-and-filter-bar-DWH0yn_r.js";import{I as Me}from"./ImportModal-s55JxI6I.js";import{F as Oe}from"./file-down-DO17xCrw.js";import{F as Te}from"./file-up-mHt_z-hD.js";import{C as B}from"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./pen-line-D3y4U--J.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./alert-CyJVNPY9.js";function Sa(){var z;const{t:e}=ke(),{auth:C,assets:i,assetTypes:$,locations:H,employees:X,globalSettings:Re,filters:l={}}=De().props,S=(C==null?void 0:C.permissions)||[],[c,P]=n.useState(l.search||""),[u,N]=n.useState(l.asset_type_id||""),[h,M]=n.useState(l.status||""),[b,O]=n.useState(l.condition||""),[f,T]=n.useState(l.location||""),[g,R]=n.useState(l.purchase_date_from||""),[v,E]=n.useState(l.purchase_date_to||""),[Y,q]=n.useState(!1),[J,k]=n.useState(!1),[K,_]=n.useState(!1),[Q,D]=n.useState(!1),[Z,j]=n.useState(!1),[ee,A]=n.useState(!1),[te,I]=n.useState(!1),[p,L]=n.useState(null),[x,U]=n.useState("create"),se=()=>u!==""||h!==""||b!==""||f!==""||g!==""||v!==""||c!=="",ae=()=>(u!==""?1:0)+(h!==""?1:0)+(b!==""?1:0)+(f!==""?1:0)+(g!==""?1:0)+(v!==""?1:0)+(c!==""?1:0),re=t=>{t.preventDefault(),V()},oe=()=>{d.get(route("hr.assets.dashboard"))},ie=()=>{d.get(route("hr.assets.depreciation-report"))},V=()=>{d.get(route("hr.assets.index"),{page:1,search:c||void 0,asset_type_id:u||void 0,status:h||void 0,condition:b||void 0,location:f||void 0,purchase_date_from:g||void 0,purchase_date_to:v||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},ne=t=>{const s=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";d.get(route("hr.assets.index"),{sort_field:t,sort_direction:s,page:1,search:c||void 0,asset_type_id:u||void 0,status:h||void 0,condition:b||void 0,location:f||void 0,purchase_date_from:g||void 0,purchase_date_to:v||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},le=(t,s)=>{switch(L(s),t){case"view":d.get(route("hr.assets.show",s.id));break;case"edit":U("edit"),_(!0);break;case"delete":k(!0);break;case"assign":D(!0);break;case"return":j(!0);break;case"maintenance":A(!0);break;case"download-document":window.open(route("hr.assets.download-document",s.id),"_blank");break}},pe=()=>{L(null),U("create"),_(!0)},de=t=>{const s=t;x==="create"?(a.loading(e("Creating asset...")),d.post(route("hr.assets.store"),s,{onSuccess:r=>{_(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error&&a.error(e(r.props.flash.error))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(e(r)):a.error(e("Failed to create asset: {{errors}}",{errors:Object.values(r).join(", ")}))}})):x==="edit"&&(a.loading(e("Updating asset...")),d.put(route("hr.assets.update",p.id),s,{onSuccess:r=>{_(!1),a.dismiss(),r.props.flash.success?a.success(e(r.props.flash.success)):r.props.flash.error&&a.error(e(r.props.flash.error))},onError:r=>{a.dismiss(),typeof r=="string"?a.error(e(r)):a.error(e("Failed to update asset: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},me=t=>{a.loading(e("Assigning asset...")),d.post(route("hr.assets.assign",p.id),t,{onSuccess:s=>{D(!1),a.dismiss(),s.props.flash.success?a.success(e(s.props.flash.success)):s.props.flash.error&&a.error(e(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(e(s)):a.error(e("Failed to assign asset: {{errors}}",{errors:Object.values(s).join(", ")}))}})},ce=t=>{a.loading(e("Returning asset...")),d.post(route("hr.assets.return",p.id),t,{onSuccess:s=>{j(!1),a.dismiss(),s.props.flash.success?a.success(e(s.props.flash.success)):s.props.flash.error&&a.error(e(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(e(s)):a.error(e("Failed to return asset: {{errors}}",{errors:Object.values(s).join(", ")}))}})},ue=t=>{a.loading(e("Scheduling maintenance...")),d.post(route("hr.assets.schedule-maintenance",p.id),t,{onSuccess:s=>{A(!1),a.dismiss(),s.props.flash.success?a.success(e(s.props.flash.success)):s.props.flash.error&&a.error(e(s.props.flash.error))},onError:s=>{a.dismiss(),typeof s=="string"?a.error(e(s)):a.error(e("Failed to schedule maintenance: {{errors}}",{errors:Object.values(s).join(", ")}))}})},he=()=>{a.loading(e("Deleting asset...")),d.delete(route("hr.assets.destroy",p.id),{onSuccess:t=>{k(!1),a.dismiss(),t.props.flash.success?a.success(e(t.props.flash.success)):t.props.flash.error&&a.error(e(t.props.flash.error))},onError:t=>{a.dismiss(),typeof t=="string"?a.error(e(t)):a.error(e("Failed to delete asset: {{errors}}",{errors:Object.values(t).join(", ")}))}})},be=()=>{P(""),N(""),M(""),O(""),T(""),R(""),E(""),q(!1),d.get(route("hr.assets.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},fe=async()=>{try{const t=await fetch(route("hr.assets.export"),{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!t.ok){const we=await t.json().catch(()=>({}));a.error(e(we.message||"Failed to export assets"));return}const s=await t.blob(),r=window.URL.createObjectURL(s),m=document.createElement("a");m.href=r,m.download=`assets_${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(m),m.click(),window.URL.revokeObjectURL(r),document.body.removeChild(m)}catch{a.error(e("Failed to export assets"))}},y=[];F(S,"export-assets")&&y.push({label:e("Export"),icon:o.jsx(Oe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:fe}),F(S,"import-assets")&&y.push({label:e("Import"),icon:o.jsx(Te,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>I(!0)}),y.push({label:e("Dashboard"),icon:o.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:oe}),y.push({label:e("Depreciation Report"),icon:o.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ie}),F(S,"create-assets")&&y.push({label:e("Add Asset"),icon:o.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>pe()});const ge=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.assets.index")},{title:e("Asset Management"),href:route("hr.assets.index")},{title:e("Assets")}],ve=[{key:"name",label:e("Name"),sortable:!0,render:(t,s)=>{var r;return o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:t}),o.jsx("div",{className:"text-xs text-gray-500",children:((r=s.asset_type)==null?void 0:r.name)||"-"})]})}},{key:"asset_code",label:e("Asset Code"),render:(t,s)=>o.jsxs("div",{children:[o.jsx("div",{children:t||"-"}),o.jsx("div",{className:"text-xs text-gray-500",children:s.serial_number||"-"})]})},{key:"status",label:e("Status"),render:t=>{const s={available:"bg-green-50 text-green-700 ring-green-600/20",assigned:"bg-blue-50 text-blue-700 ring-blue-600/20",under_maintenance:"bg-amber-50 text-amber-700 ring-amber-600/20",disposed:"bg-red-50 text-red-700 ring-red-600/20"},r={available:e("Available"),assigned:e("Assigned"),under_maintenance:e("Under Maintenance"),disposed:e("Disposed")};return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s[t]||""}`,children:r[t]||t})}},{key:"assigned_to",label:e("Assigned To"),render:(t,s)=>{var r;return s.status!=="assigned"||!((r=s.current_assignment)!=null&&r.employee)?"-":o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:s.current_assignment.employee.name}),o.jsx("div",{className:"text-xs text-gray-500",children:s.current_assignment.employee.employee_id})]})}},{key:"purchase_date",label:e("Purchase Date"),sortable:!0,render:t=>{var s;return t?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"purchase_cost",label:e("Purchase Cost"),sortable:!0,render:t=>t?window.appSettings.formatCurrency(t):"-"},{key:"location",label:e("Location"),render:t=>t||"-"}],ye=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-assets"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-assets"},{label:e("Assign"),icon:"UserPlus",action:"assign",className:"text-green-500",requiredPermission:"assign-assets",showWhen:t=>t.status==="available"},{label:e("Return"),icon:"ArrowDownLeft",action:"return",className:"text-purple-500",requiredPermission:"assign-assets",showWhen:t=>t.status==="assigned"},{label:e("Maintenance"),icon:"Wrench",action:"maintenance",className:"text-indigo-500",requiredPermission:"manage-asset-maintenance",showWhen:t=>t.status!=="disposed"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-assets",showWhen:t=>t.status!=="assigned"}],W=[{value:"_none_",label:e("All Types")},...($||[]).map(t=>({value:t.id.toString(),label:t.name}))],_e=[{value:"_none_",label:e("All Statuses")},{value:"available",label:e("Available")},{value:"assigned",label:e("Assigned")},{value:"under_maintenance",label:e("Under Maintenance")},{value:"disposed",label:e("Disposed")}],xe=[{value:"_none_",label:e("All Conditions")},{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],Se=[{value:"_none_",label:e("All Locations")},...(H||[]).map(t=>({value:t,label:t}))];return o.jsxs(Ce,{title:e("Assets"),url:"/hr/assets",actions:y,breadcrumbs:ge,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(Ne,{searchTerm:c,onSearchChange:P,onSearch:re,filters:[{name:"asset_type_id",label:e("Asset Type"),type:"select",value:u,onChange:N,options:W},{name:"status",label:e("Status"),type:"select",value:h,onChange:M,options:_e},{name:"condition",label:e("Condition"),type:"select",value:b,onChange:O,options:xe},{name:"location",label:e("Location"),type:"select",value:f,onChange:T,options:Se},{name:"purchase_date_from",label:e("Purchase Date From"),type:"date",value:g,onChange:R},{name:"purchase_date_to",label:e("Purchase Date To"),type:"date",value:v,onChange:E}],showFilters:Y,setShowFilters:q,hasActiveFilters:se,activeFilterCount:ae,onResetFilters:be,onApplyFilters:V,currentPerPage:((z=l.per_page)==null?void 0:z.toString())||"10",onPerPageChange:t=>{d.get(route("hr.assets.index"),{page:1,per_page:parseInt(t),search:c||void 0,asset_type_id:u||void 0,status:h||void 0,condition:b||void 0,location:f||void 0,purchase_date_from:g||void 0,purchase_date_to:v||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(Ae,{columns:ve,actions:ye,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:le,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:ne,permissions:S,entityPermissions:{view:"view-assets",create:"create-assets",edit:"edit-assets",delete:"delete-assets"}}),o.jsx(Pe,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("assets"),onPageChange:t=>d.get(t)})]}),o.jsx(w,{isOpen:K,onClose:()=>_(!1),onSubmit:de,formConfig:{fields:[{name:"name",label:e("Name"),type:"text",required:!0},{name:"asset_type_id",label:e("Asset Type"),type:"select",required:!0,options:W.filter(t=>t.value!=="_none_")},{name:"serial_number",label:e("Serial Number"),type:"text"},{name:"asset_code",label:e("Asset Code"),type:"text"},{name:"purchase_date",label:e("Purchase Date"),type:"date"},{name:"purchase_cost",label:e("Purchase Cost"),type:"number",min:0,step:.01},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"available",label:e("Available")},{value:"assigned",label:e("Assigned")},{value:"under_maintenance",label:e("Under Maintenance")},{value:"disposed",label:e("Disposed")}]},{name:"condition",label:e("Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}]},{name:"description",label:e("Description"),type:"textarea"},{name:"location",label:e("Location"),type:"text"},{name:"supplier",label:e("Supplier"),type:"text"},{name:"warranty_info",label:e("Warranty Information"),type:"text"},{name:"warranty_expiry_date",label:e("Warranty Expiry Date"),type:"date"},{name:"images",label:e("Images"),type:"custom",render:(t,s,r)=>o.jsx(G,{value:String(s[t.name]||""),onChange:m=>r(t.name,m),placeholder:e("Select image file...")}),helpText:e("Upload image file (max 5MB)")},{name:"documents",label:e("Documents"),type:"custom",render:(t,s,r)=>o.jsx(G,{value:String(s[t.name]||""),onChange:m=>r(t.name,m),placeholder:e("Select document file...")}),helpText:e("Upload PDF or Word document (max 5MB)")},{name:"depreciation_method",label:e("Depreciation Method"),type:"select",options:[{value:"_none_",label:e("No Depreciation")},{value:"straight_line",label:e("Straight Line")},{value:"reducing_balance",label:e("Reducing Balance")}],showWhen:t=>t.purchase_cost&&t.purchase_date},{name:"useful_life_years",label:e("Useful Life (Years)"),type:"number",min:1,step:1,defaultValue:5,showWhen:t=>t.depreciation_method},{name:"salvage_value",label:e("Salvage Value"),type:"number",min:0,step:.01,showWhen:t=>t.depreciation_method}],modalSize:"lg"},initialData:p,title:e(x==="create"?"Add New Asset":x==="edit"?"Edit Asset":"View Asset"),mode:x}),o.jsx(w,{isOpen:Q,onClose:()=>D(!1),onSubmit:me,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:(X||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))},{name:"checkout_date",label:e("Checkout Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"expected_return_date",label:e("Expected Return Date"),type:"date"},{name:"checkout_condition",label:e("Checkout Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],defaultValue:p==null?void 0:p.condition},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"md"},initialData:{},title:e("Assign Asset"),mode:"create"}),o.jsx(w,{isOpen:Z,onClose:()=>j(!1),onSubmit:ce,formConfig:{fields:[{name:"checkin_date",label:e("Check-in Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"checkin_condition",label:e("Check-in Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],defaultValue:p==null?void 0:p.condition},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"md"},initialData:{},title:e("Return Asset"),mode:"create"}),o.jsx(w,{isOpen:ee,onClose:()=>A(!1),onSubmit:ue,formConfig:{fields:[{name:"maintenance_type",label:e("Maintenance Type"),type:"select",required:!0,options:[{value:"repair",label:e("Repair")},{value:"preventive",label:e("Preventive")},{value:"calibration",label:e("Calibration")},{value:"software update",label:e("Software Update")},{value:"hardware upgrade",label:e("Hardware Upgrade")}]},{name:"start_date",label:e("Start Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"end_date",label:e("End Date"),type:"date"},{name:"cost",label:e("Cost"),type:"number",min:0,step:.01},{name:"details",label:e("Details"),type:"textarea"},{name:"supplier",label:e("Supplier"),type:"text"}],modalSize:"md"},initialData:{},title:e("Schedule Maintenance"),mode:"create"}),o.jsx(Fe,{isOpen:J,onClose:()=>k(!1),onConfirm:he,itemName:(p==null?void 0:p.name)||"",entityName:"asset"}),o.jsx(Me,{isOpen:te,onClose:()=>I(!1),title:e("Import Assets from CSV/Excel"),importRoute:"hr.assets.import",parseRoute:"hr.assets.parse",sampleRoute:"hr.assets.download.template",importNotes:e("Ensure that the values entered for Asset Type, status , condition & deprication method match the existing records in your system."),modalSize:"xl",databaseFields:[{key:"name",required:!0},{key:"asset_type",required:!0},{key:"serial_number"},{key:"asset_code"},{key:"purchase_date"},{key:"purchase_cost"},{key:"status"},{key:"condition"},{key:"description"},{key:"location"},{key:"supplier"},{key:"warranty_info"},{key:"warranty_expiry_date"}]})]})}export{Sa as default}; diff --git a/public/build/assets/index-Da0bR24c.js b/public/build/assets/index-oQjF2KvA.js similarity index 89% rename from public/build/assets/index-Da0bR24c.js rename to public/build/assets/index-oQjF2KvA.js index c0c7ea3a0..e2d08458c 100644 --- a/public/build/assets/index-Da0bR24c.js +++ b/public/build/assets/index-oQjF2KvA.js @@ -1 +1 @@ -import{r as d,j as e}from"./ui-Z445SNHD.js";import{u as we,c as ke,x as v,P as _e,r as x,C as k,l as _,D as Se,t as r,o as N}from"./app-CfhhiFAk.js";import Ce from"./view-MDlwRyWy.js";import{P as Re}from"./page-template-BTxLyiDA.js";import{C as Ae}from"./CrudFormModal-DAR9q-oM.js";import{C as De}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Te}from"./pagination-D8A_HnL5.js";import{S as Pe}from"./search-and-filter-bar-6Pp-FsiR.js";import{C as re}from"./calendar-CfUpdaK5.js";import{C as Fe}from"./circle-alert-64DrdoHv.js";import{C as ie}from"./circle-check-big-C5Cqj7-2.js";import{C as le}from"./circle-x-C1aiFLrz.js";import{E as Ee}from"./eye--FVGKpVp.js";import{S as ze}from"./square-pen-bMHyT06o.js";import{T as Oe}from"./trash-2-C1NR_7Ss.js";import{C as S}from"./clock-CwFdn-oy.js";import{A as $e}from"./arrow-right-0WTHrq3r.js";import{M as Me}from"./message-square-CWrDttoL.js";import{U as qe}from"./user-C37aWgZX.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";import"./filter-uErFRSPT.js";import"./list-D0MAUZMV.js";function Xt(){var V,B,X;const{t:a}=we(),{auth:C,regularizations:l,employees:R,attendanceRecords:ne,filters:n={},summaryStats:i}=ke().props,f=(C==null?void 0:C.permissions)||[],[g,T]=d.useState(n.search||""),[c,P]=d.useState(n.employee_id||"all"),[m,F]=d.useState(n.status||"all"),[h,E]=d.useState(n.date_from||""),[u,z]=d.useState(n.date_to||""),[oe,O]=d.useState(!1),[de,b]=d.useState(!1),[ce,A]=d.useState(!1),[j,$]=d.useState(null),[w,M]=d.useState("create"),[D,q]=d.useState(null),me=()=>g!==""||c!=="all"||m!=="all"||h!==""||u!=="",pe=()=>(g?1:0)+(c!=="all"?1:0)+(m!=="all"?1:0)+(h?1:0)+(u?1:0),xe=t=>{t.preventDefault(),U()},U=()=>{x.get(route("hr.attendance-regularizations.index"),{page:1,search:g||void 0,employee_id:c!=="all"?c:void 0,status:m!=="all"?m:void 0,date_from:h||void 0,date_to:u||void 0,per_page:n.per_page||9},{preserveState:!0,preserveScroll:!0})},y=(t,s)=>{switch($(s),t){case"view":q(s);break;case"edit":M("edit"),b(!0);break;case"delete":A(!0);break;case"approve":I(s,"approved");break;case"reject":I(s,"rejected");break}},ge=()=>{$(null),M("create"),b(!0)},he=t=>{w==="create"?(r.loading(a("Creating adjustment request...")),x.post(route("hr.attendance-regularizations.store"),t,{onSuccess:s=>{b(!1),r.dismiss(),s.props.flash.success?r.success(a(s.props.flash.success)):s.props.flash.error&&r.error(a(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to create adjustment request: ${Object.values(s).join(", ")}`)}})):w==="edit"&&(r.loading(a("Updating adjustment request...")),x.put(route("hr.attendance-regularizations.update",j.id),t,{onSuccess:s=>{b(!1),r.dismiss(),s.props.flash.success?r.success(a(s.props.flash.success)):s.props.flash.error&&r.error(a(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to update adjustment request: ${Object.values(s).join(", ")}`)}}))},ue=()=>{r.loading(a("Deleting adjustment request...")),x.delete(route("hr.attendance-regularizations.destroy",j.id),{onSuccess:t=>{A(!1),r.dismiss(),t.props.flash.success?r.success(a(t.props.flash.success)):t.props.flash.error&&r.error(a(t.props.flash.error))},onError:t=>{r.dismiss(),typeof t=="string"?r.error(t):r.error(`Failed to delete adjustment request: ${Object.values(t).join(", ")}`)}})},I=(t,s)=>{const p=a(s==="approved"?"Approving":"Rejecting");r.loading(`${p} adjustment request...`),x.put(route("hr.attendance-regularizations.update-status",t.id),{status:s,manager_comments:s==="approved"?"Approved":"Rejected"},{onSuccess:o=>{r.dismiss(),o.props.flash.success?r.success(a(o.props.flash.success)):o.props.flash.error&&r.error(a(o.props.flash.error))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(o):r.error(`Failed to update adjustment request status: ${Object.values(o).join(", ")}`)}})},je=()=>{T(""),P("all"),F("all"),E(""),z(""),O(!1),x.get(route("hr.attendance-regularizations.index"),{page:1,per_page:n.per_page||9},{preserveState:!0,preserveScroll:!0})},L=[];v(f,"create-attendance-regularizations")&&L.push({label:a("Add Request"),icon:e.jsx(_e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ge()});const fe=[{title:a("Attendance Adjustment"),href:route("hr.attendance-regularizations.index")},{title:a("Attendance Adjustment")}];a("Employee"),a("Date"),a("Original Times"),a("Requested Times"),a("Reason"),a("Status"),a("Requested On"),a("View"),a("Edit"),a("Approve"),a("Reject"),a("Delete");const be=[{value:"all",label:a("All Employees"),disabled:!0},...(R||[]).map(t=>({value:t.id.toString(),label:t.name}))],ye=[{value:"all",label:a("All Statuses"),disabled:!0},{value:"pending",label:a("Pending")},{value:"approved",label:a("Approved")},{value:"rejected",label:a("Rejected")}];(ne||[]).map(t=>{var s;return{value:t.id.toString(),label:`${(s=t.employee)==null?void 0:s.name} - ${new Date(t.date).toLocaleDateString()}`}});const ve=t=>{const s={pending:{label:a("Pending"),className:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",dotColor:"bg-yellow-500"},approved:{label:a("Approved"),className:"bg-green-50 text-green-700 ring-green-600/20",dotColor:"bg-green-500"},rejected:{label:a("Rejected"),className:"bg-red-50 text-red-700 ring-red-600/20",dotColor:"bg-red-500"}};return s[t]||s.pending},Ne=t=>{var o,G,H,J,K,Q,W,Y,Z,ee;const s=ve(t.status),p=t.status==="pending";return e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4 hover:shadow-md hover:border-gray-300 dark:hover:border-gray-600 transition-all duration-200",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsxs("div",{className:"relative",children:[(o=t.employee)!=null&&o.avatar?e.jsx("img",{src:t.employee.avatar,alt:((G=t.employee)==null?void 0:G.name)||"",className:"w-10 h-10 rounded-lg object-cover",onError:te=>{var se;te.currentTarget.style.display="none";const ae=(se=te.currentTarget.parentElement)==null?void 0:se.querySelector(".avatar-fallback");ae&&(ae.style.display="flex")}}):null,e.jsx("div",{className:`avatar-fallback w-10 h-10 rounded-lg bg-gray-100 dark:bg-gray-700 flex items-center justify-center text-gray-700 dark:text-gray-300 font-semibold text-sm${(H=t.employee)!=null&&H.avatar?" hidden":""}`,children:((Q=(K=(J=t.employee)==null?void 0:J.name)==null?void 0:K.charAt(0))==null?void 0:Q.toUpperCase())||"U"}),e.jsx("div",{className:`absolute -top-1 -right-1 w-3 h-3 rounded-full border-2 border-white dark:border-gray-800 ${s.dotColor}`})]}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white text-sm truncate",children:((W=t.employee)==null?void 0:W.name)||a("Unknown Employee")}),e.jsxs("div",{className:"flex items-center space-x-2 mt-1",children:[e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:((Y=window.appSettings)==null?void 0:Y.formatDateTimeSimple(t.date,!1))||new Date(t.date).toLocaleDateString()}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.className}`,children:s.label})]})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[p&&v(f,"approve-attendance-regularizations")&&e.jsxs(e.Fragment,{children:[e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("approve",t),className:"h-7 w-7 p-0 text-green-600",title:a("Approve Request"),children:e.jsx(ie,{className:"h-3.5 w-3.5"})}),e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("reject",t),className:"h-7 w-7 p-0 text-red-500",title:a("Reject Request"),children:e.jsx(le,{className:"h-3.5 w-3.5"})})]}),v(f,"view-attendance-regularizations")&&e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("view",t),className:"h-8 w-8 p-0 text-blue-500",title:a("View Request"),children:e.jsx(Ee,{className:"h-3.5 w-3.5"})}),p&&v(f,"edit-attendance-regularizations")&&e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("edit",t),className:"h-8 w-8 p-0 text-amber-500",title:a("Edit Request"),children:e.jsx(ze,{className:"h-3.5 w-3.5"})}),p&&v(f,"delete-attendance-regularizations")&&e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("delete",t),className:"h-8 w-8 p-0 text-red-500",title:a("Delete Request"),children:e.jsx(Oe,{className:"h-3.5 w-3.5"})})]})]}),e.jsx("div",{className:"bg-gray-50 dark:bg-gray-700/30 rounded-lg p-3 mb-3",children:e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 font-medium mb-1",children:a("Original")}),e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center space-x-1 text-red-600 dark:text-red-400",children:[e.jsx(S,{className:"h-3 w-3"}),e.jsx("span",{className:"font-mono text-xs",children:t.original_clock_in?window.appSettings.formatTime(t.original_clock_in):"--:--"})]}),e.jsxs("div",{className:"flex items-center space-x-1 text-red-600 dark:text-red-400",children:[e.jsx(S,{className:"h-3 w-3"}),e.jsx("span",{className:"font-mono text-xs",children:t.original_clock_out?window.appSettings.formatTime(t.original_clock_out):"--:--"})]})]})]}),e.jsx("div",{className:"flex items-center",children:e.jsx($e,{className:"h-4 w-4 text-gray-400"})}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 font-medium mb-1",children:a("Requested")}),e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center space-x-1 text-green-600 dark:text-green-400",children:[e.jsx(S,{className:"h-3 w-3"}),e.jsx("span",{className:"font-mono text-xs",children:t.requested_clock_in?window.appSettings.formatTime(t.requested_clock_in):"--:--"})]}),e.jsxs("div",{className:"flex items-center space-x-1 text-green-600 dark:text-green-400",children:[e.jsx(S,{className:"h-3 w-3"}),e.jsx("span",{className:"font-mono text-xs",children:t.requested_clock_out?window.appSettings.formatTime(t.requested_clock_out):"--:--"})]})]})]})]})}),e.jsx("div",{className:"mb-3",children:e.jsxs("div",{className:"flex items-start space-x-2",children:[e.jsx(Me,{className:"h-4 w-4 text-gray-400 mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 font-medium mb-1",children:a("Reason")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 line-clamp-2 leading-relaxed",children:t.reason||a("No reason provided")})]})]})}),e.jsxs("div",{className:"flex items-center justify-between text-xs pt-3 border-t border-gray-200 dark:border-gray-700",children:[e.jsxs("div",{className:"flex items-center space-x-2 text-gray-500 dark:text-gray-400",children:[e.jsx(re,{className:"h-3 w-3"}),e.jsxs("span",{children:[a("Requested on : ")," ",((Z=window.appSettings)==null?void 0:Z.formatDateTimeSimple(t.created_at,!1))||new Date(t.created_at).toLocaleDateString()]})]}),t.status!=="pending"&&t.approved_at&&e.jsxs("div",{className:"flex items-center space-x-2 text-gray-500 dark:text-gray-400",children:[e.jsx(qe,{className:"h-3 w-3"}),e.jsxs("span",{children:[t.status==="approved"?a("Approved : "):a("Rejected : ")," ",(ee=window.appSettings)==null?void 0:ee.formatDateTimeSimple(t.approved_at,!1)]})]})]}),t.manager_comments&&t.status!=="pending"&&t.manager_comments!=="Approved"&&t.manager_comments!=="Rejected"&&e.jsxs("div",{className:"mt-3 pt-3 border-t border-gray-200 dark:border-gray-700",children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 font-medium mb-1",children:a("Manager Comments")}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 italic",children:['"',t.manager_comments,'"']})]})]},t.id)};return e.jsxs(Re,{title:a("Attendance Adjustment"),url:"/hr/attendance-regularizations",actions:L,breadcrumbs:fe,noPadding:!0,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-6 p-4",children:e.jsx(Pe,{searchTerm:g,onSearchChange:T,onSearch:xe,filters:[{name:"employee_id",label:a("Employee"),type:"select",value:c,onChange:P,options:be,searchable:!0},{name:"status",label:a("Status"),type:"select",value:m,onChange:F,options:ye},{name:"date_from",label:a("Date From"),type:"date",value:h,onChange:E},{name:"date_to",label:a("Date To"),type:"date",value:u,onChange:z}],showFilters:oe,setShowFilters:O,hasActiveFilters:me,activeFilterCount:pe,onResetFilters:je,onApplyFilters:U,currentPerPage:((V=n.per_page)==null?void 0:V.toString())||"9",onPerPageChange:t=>{x.get(route("hr.attendance-regularizations.index"),{page:1,per_page:parseInt(t),search:g||void 0,employee_id:c!=="all"?c:void 0,status:m!=="all"?m:void 0,date_from:h||void 0,date_to:u||void 0},{preserveState:!0,preserveScroll:!0})},perPageOptions:[9,27,45,90]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(k,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(_,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Total Requests")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(i==null?void 0:i.total)??0}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:a("All time")})]}),e.jsx("div",{className:"p-2 bg-gray-100 dark:bg-gray-700 rounded-lg",children:e.jsx(re,{className:"h-5 w-5 text-gray-600 dark:text-gray-400"})})]})})}),e.jsx(k,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(_,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Pending")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(i==null?void 0:i.pending)??0}),e.jsx("p",{className:"text-xs text-yellow-600 font-medium",children:a("Needs Review")})]}),e.jsx("div",{className:"p-2 bg-yellow-100 dark:bg-yellow-900/30 rounded-lg",children:e.jsx(Fe,{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400"})})]})})}),e.jsx(k,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(_,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Approved")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(i==null?void 0:i.approved)??0}),e.jsxs("p",{className:"text-xs text-green-600 font-medium",children:[(i==null?void 0:i.total)>0?(((i==null?void 0:i.approved)??0)/i.total*100).toFixed(1):"0","% ",a("rate")]})]}),e.jsx("div",{className:"p-2 bg-green-100 dark:bg-green-900/30 rounded-lg",children:e.jsx(ie,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(k,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(_,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Rejected")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(i==null?void 0:i.rejected)??0}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:a("Declined")})]}),e.jsx("div",{className:"p-2 bg-red-100 dark:bg-red-900/30 rounded-lg",children:e.jsx(le,{className:"h-5 w-5 text-red-600 dark:text-red-400"})})]})})})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4",children:(B=l==null?void 0:l.data)==null?void 0:B.map(t=>Ne(t))}),e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow border border-gray-200 dark:border-gray-700 p-4",children:e.jsx(Te,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:a("adjustment requests"),onPageChange:t=>{const s=new URL(t).searchParams.get("page");x.get(route("hr.attendance-regularizations.index"),{page:s,per_page:n.per_page||9,search:g||void 0,employee_id:c!=="all"?c:void 0,status:m!=="all"?m:void 0,date_from:h||void 0,date_to:u||void 0,sort_field:n.sort_field||void 0,sort_direction:n.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}),e.jsx(Ae,{isOpen:de,onClose:()=>b(!1),onSubmit:he,formConfig:{fields:[{name:"employee_id",type:"dependent-dropdown",dependentConfig:[{name:"employee_id",label:a("Employee"),required:!0,searchable:!0,options:R?R.map(t=>({value:t.id.toString(),label:t.name})):[]},{name:"attendance_record_id",label:a("Attendance Record"),apiEndpoint:"/hr/attendance-regularizations/get-employee-attendance/{employee_id}",showCurrentValue:!0,searchable:!0}]},{name:"requested_clock_in",label:a("Requested Clock In"),type:"time"},{name:"requested_clock_out",label:a("Requested Clock Out"),type:"time"},{name:"reason",label:a("Reason"),type:"textarea",required:!0}],modalSize:"lg"},initialData:j,title:a(w==="create"?"Add New Adjustment Request":"Edit Adjustment Request"),mode:w}),e.jsx(Se,{open:!!D,onOpenChange:()=>q(null),children:D&&e.jsx(Ce,{record:D})}),e.jsx(De,{isOpen:ce,onClose:()=>A(!1),onConfirm:ue,itemName:`${(X=j==null?void 0:j.employee)==null?void 0:X.name} `||"",entityName:"adjustment request"})]})}export{Xt as default}; +import{r as d,j as e}from"./ui-Z445SNHD.js";import{u as we,c as ke,x as v,P as _e,r as x,C as k,l as _,D as Se,t as r,o as N}from"./app-Dya84jp7.js";import Ce from"./view-Bq_QvsAn.js";import{P as Re}from"./page-template-CLNVC8w_.js";import{C as Ae}from"./CrudFormModal-CsuqSfb2.js";import{C as De}from"./CrudDeleteModal-D32N6I8y.js";import{P as Te}from"./pagination-4PUepASD.js";import{S as Pe}from"./search-and-filter-bar-DWH0yn_r.js";import{C as re}from"./calendar-DuRYaSj5.js";import{C as Fe}from"./circle-alert-Ddjg2Qwp.js";import{C as ie}from"./circle-check-big-Cju4ilPH.js";import{C as le}from"./circle-x-Dg5wGIim.js";import{E as Ee}from"./eye-CCNnMtu4.js";import{S as ze}from"./square-pen-CzdhbxyN.js";import{T as Oe}from"./trash-2-BeirBLIk.js";import{C as S}from"./clock-LnEFQ-vK.js";import{A as $e}from"./arrow-right-BHW--AGU.js";import{M as Me}from"./message-square-DyWo8S6i.js";import{U as qe}from"./user-77BPqA3J.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";import"./filter-BTHjyusi.js";import"./list-C_2fG_BT.js";function Xt(){var V,B,X;const{t:a}=we(),{auth:C,regularizations:l,employees:R,attendanceRecords:ne,filters:n={},summaryStats:i}=ke().props,f=(C==null?void 0:C.permissions)||[],[g,T]=d.useState(n.search||""),[c,P]=d.useState(n.employee_id||"all"),[m,F]=d.useState(n.status||"all"),[h,E]=d.useState(n.date_from||""),[u,z]=d.useState(n.date_to||""),[oe,O]=d.useState(!1),[de,b]=d.useState(!1),[ce,A]=d.useState(!1),[j,$]=d.useState(null),[w,M]=d.useState("create"),[D,q]=d.useState(null),me=()=>g!==""||c!=="all"||m!=="all"||h!==""||u!=="",pe=()=>(g?1:0)+(c!=="all"?1:0)+(m!=="all"?1:0)+(h?1:0)+(u?1:0),xe=t=>{t.preventDefault(),U()},U=()=>{x.get(route("hr.attendance-regularizations.index"),{page:1,search:g||void 0,employee_id:c!=="all"?c:void 0,status:m!=="all"?m:void 0,date_from:h||void 0,date_to:u||void 0,per_page:n.per_page||9},{preserveState:!0,preserveScroll:!0})},y=(t,s)=>{switch($(s),t){case"view":q(s);break;case"edit":M("edit"),b(!0);break;case"delete":A(!0);break;case"approve":I(s,"approved");break;case"reject":I(s,"rejected");break}},ge=()=>{$(null),M("create"),b(!0)},he=t=>{w==="create"?(r.loading(a("Creating adjustment request...")),x.post(route("hr.attendance-regularizations.store"),t,{onSuccess:s=>{b(!1),r.dismiss(),s.props.flash.success?r.success(a(s.props.flash.success)):s.props.flash.error&&r.error(a(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to create adjustment request: ${Object.values(s).join(", ")}`)}})):w==="edit"&&(r.loading(a("Updating adjustment request...")),x.put(route("hr.attendance-regularizations.update",j.id),t,{onSuccess:s=>{b(!1),r.dismiss(),s.props.flash.success?r.success(a(s.props.flash.success)):s.props.flash.error&&r.error(a(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(s):r.error(`Failed to update adjustment request: ${Object.values(s).join(", ")}`)}}))},ue=()=>{r.loading(a("Deleting adjustment request...")),x.delete(route("hr.attendance-regularizations.destroy",j.id),{onSuccess:t=>{A(!1),r.dismiss(),t.props.flash.success?r.success(a(t.props.flash.success)):t.props.flash.error&&r.error(a(t.props.flash.error))},onError:t=>{r.dismiss(),typeof t=="string"?r.error(t):r.error(`Failed to delete adjustment request: ${Object.values(t).join(", ")}`)}})},I=(t,s)=>{const p=a(s==="approved"?"Approving":"Rejecting");r.loading(`${p} adjustment request...`),x.put(route("hr.attendance-regularizations.update-status",t.id),{status:s,manager_comments:s==="approved"?"Approved":"Rejected"},{onSuccess:o=>{r.dismiss(),o.props.flash.success?r.success(a(o.props.flash.success)):o.props.flash.error&&r.error(a(o.props.flash.error))},onError:o=>{r.dismiss(),typeof o=="string"?r.error(o):r.error(`Failed to update adjustment request status: ${Object.values(o).join(", ")}`)}})},je=()=>{T(""),P("all"),F("all"),E(""),z(""),O(!1),x.get(route("hr.attendance-regularizations.index"),{page:1,per_page:n.per_page||9},{preserveState:!0,preserveScroll:!0})},L=[];v(f,"create-attendance-regularizations")&&L.push({label:a("Add Request"),icon:e.jsx(_e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ge()});const fe=[{title:a("Attendance Adjustment"),href:route("hr.attendance-regularizations.index")},{title:a("Attendance Adjustment")}];a("Employee"),a("Date"),a("Original Times"),a("Requested Times"),a("Reason"),a("Status"),a("Requested On"),a("View"),a("Edit"),a("Approve"),a("Reject"),a("Delete");const be=[{value:"all",label:a("All Employees"),disabled:!0},...(R||[]).map(t=>({value:t.id.toString(),label:t.name}))],ye=[{value:"all",label:a("All Statuses"),disabled:!0},{value:"pending",label:a("Pending")},{value:"approved",label:a("Approved")},{value:"rejected",label:a("Rejected")}];(ne||[]).map(t=>{var s;return{value:t.id.toString(),label:`${(s=t.employee)==null?void 0:s.name} - ${new Date(t.date).toLocaleDateString()}`}});const ve=t=>{const s={pending:{label:a("Pending"),className:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",dotColor:"bg-yellow-500"},approved:{label:a("Approved"),className:"bg-green-50 text-green-700 ring-green-600/20",dotColor:"bg-green-500"},rejected:{label:a("Rejected"),className:"bg-red-50 text-red-700 ring-red-600/20",dotColor:"bg-red-500"}};return s[t]||s.pending},Ne=t=>{var o,G,H,J,K,Q,W,Y,Z,ee;const s=ve(t.status),p=t.status==="pending";return e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4 hover:shadow-md hover:border-gray-300 dark:hover:border-gray-600 transition-all duration-200",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsxs("div",{className:"relative",children:[(o=t.employee)!=null&&o.avatar?e.jsx("img",{src:t.employee.avatar,alt:((G=t.employee)==null?void 0:G.name)||"",className:"w-10 h-10 rounded-lg object-cover",onError:te=>{var se;te.currentTarget.style.display="none";const ae=(se=te.currentTarget.parentElement)==null?void 0:se.querySelector(".avatar-fallback");ae&&(ae.style.display="flex")}}):null,e.jsx("div",{className:`avatar-fallback w-10 h-10 rounded-lg bg-gray-100 dark:bg-gray-700 flex items-center justify-center text-gray-700 dark:text-gray-300 font-semibold text-sm${(H=t.employee)!=null&&H.avatar?" hidden":""}`,children:((Q=(K=(J=t.employee)==null?void 0:J.name)==null?void 0:K.charAt(0))==null?void 0:Q.toUpperCase())||"U"}),e.jsx("div",{className:`absolute -top-1 -right-1 w-3 h-3 rounded-full border-2 border-white dark:border-gray-800 ${s.dotColor}`})]}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white text-sm truncate",children:((W=t.employee)==null?void 0:W.name)||a("Unknown Employee")}),e.jsxs("div",{className:"flex items-center space-x-2 mt-1",children:[e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:((Y=window.appSettings)==null?void 0:Y.formatDateTimeSimple(t.date,!1))||new Date(t.date).toLocaleDateString()}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.className}`,children:s.label})]})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[p&&v(f,"approve-attendance-regularizations")&&e.jsxs(e.Fragment,{children:[e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("approve",t),className:"h-7 w-7 p-0 text-green-600",title:a("Approve Request"),children:e.jsx(ie,{className:"h-3.5 w-3.5"})}),e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("reject",t),className:"h-7 w-7 p-0 text-red-500",title:a("Reject Request"),children:e.jsx(le,{className:"h-3.5 w-3.5"})})]}),v(f,"view-attendance-regularizations")&&e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("view",t),className:"h-8 w-8 p-0 text-blue-500",title:a("View Request"),children:e.jsx(Ee,{className:"h-3.5 w-3.5"})}),p&&v(f,"edit-attendance-regularizations")&&e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("edit",t),className:"h-8 w-8 p-0 text-amber-500",title:a("Edit Request"),children:e.jsx(ze,{className:"h-3.5 w-3.5"})}),p&&v(f,"delete-attendance-regularizations")&&e.jsx(N,{variant:"ghost",size:"sm",onClick:()=>y("delete",t),className:"h-8 w-8 p-0 text-red-500",title:a("Delete Request"),children:e.jsx(Oe,{className:"h-3.5 w-3.5"})})]})]}),e.jsx("div",{className:"bg-gray-50 dark:bg-gray-700/30 rounded-lg p-3 mb-3",children:e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 font-medium mb-1",children:a("Original")}),e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center space-x-1 text-red-600 dark:text-red-400",children:[e.jsx(S,{className:"h-3 w-3"}),e.jsx("span",{className:"font-mono text-xs",children:t.original_clock_in?window.appSettings.formatTime(t.original_clock_in):"--:--"})]}),e.jsxs("div",{className:"flex items-center space-x-1 text-red-600 dark:text-red-400",children:[e.jsx(S,{className:"h-3 w-3"}),e.jsx("span",{className:"font-mono text-xs",children:t.original_clock_out?window.appSettings.formatTime(t.original_clock_out):"--:--"})]})]})]}),e.jsx("div",{className:"flex items-center",children:e.jsx($e,{className:"h-4 w-4 text-gray-400"})}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 font-medium mb-1",children:a("Requested")}),e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center space-x-1 text-green-600 dark:text-green-400",children:[e.jsx(S,{className:"h-3 w-3"}),e.jsx("span",{className:"font-mono text-xs",children:t.requested_clock_in?window.appSettings.formatTime(t.requested_clock_in):"--:--"})]}),e.jsxs("div",{className:"flex items-center space-x-1 text-green-600 dark:text-green-400",children:[e.jsx(S,{className:"h-3 w-3"}),e.jsx("span",{className:"font-mono text-xs",children:t.requested_clock_out?window.appSettings.formatTime(t.requested_clock_out):"--:--"})]})]})]})]})}),e.jsx("div",{className:"mb-3",children:e.jsxs("div",{className:"flex items-start space-x-2",children:[e.jsx(Me,{className:"h-4 w-4 text-gray-400 mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 font-medium mb-1",children:a("Reason")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 line-clamp-2 leading-relaxed",children:t.reason||a("No reason provided")})]})]})}),e.jsxs("div",{className:"flex items-center justify-between text-xs pt-3 border-t border-gray-200 dark:border-gray-700",children:[e.jsxs("div",{className:"flex items-center space-x-2 text-gray-500 dark:text-gray-400",children:[e.jsx(re,{className:"h-3 w-3"}),e.jsxs("span",{children:[a("Requested on : ")," ",((Z=window.appSettings)==null?void 0:Z.formatDateTimeSimple(t.created_at,!1))||new Date(t.created_at).toLocaleDateString()]})]}),t.status!=="pending"&&t.approved_at&&e.jsxs("div",{className:"flex items-center space-x-2 text-gray-500 dark:text-gray-400",children:[e.jsx(qe,{className:"h-3 w-3"}),e.jsxs("span",{children:[t.status==="approved"?a("Approved : "):a("Rejected : ")," ",(ee=window.appSettings)==null?void 0:ee.formatDateTimeSimple(t.approved_at,!1)]})]})]}),t.manager_comments&&t.status!=="pending"&&t.manager_comments!=="Approved"&&t.manager_comments!=="Rejected"&&e.jsxs("div",{className:"mt-3 pt-3 border-t border-gray-200 dark:border-gray-700",children:[e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 font-medium mb-1",children:a("Manager Comments")}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 italic",children:['"',t.manager_comments,'"']})]})]},t.id)};return e.jsxs(Re,{title:a("Attendance Adjustment"),url:"/hr/attendance-regularizations",actions:L,breadcrumbs:fe,noPadding:!0,children:[e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-6 p-4",children:e.jsx(Pe,{searchTerm:g,onSearchChange:T,onSearch:xe,filters:[{name:"employee_id",label:a("Employee"),type:"select",value:c,onChange:P,options:be,searchable:!0},{name:"status",label:a("Status"),type:"select",value:m,onChange:F,options:ye},{name:"date_from",label:a("Date From"),type:"date",value:h,onChange:E},{name:"date_to",label:a("Date To"),type:"date",value:u,onChange:z}],showFilters:oe,setShowFilters:O,hasActiveFilters:me,activeFilterCount:pe,onResetFilters:je,onApplyFilters:U,currentPerPage:((V=n.per_page)==null?void 0:V.toString())||"9",onPerPageChange:t=>{x.get(route("hr.attendance-regularizations.index"),{page:1,per_page:parseInt(t),search:g||void 0,employee_id:c!=="all"?c:void 0,status:m!=="all"?m:void 0,date_from:h||void 0,date_to:u||void 0},{preserveState:!0,preserveScroll:!0})},perPageOptions:[9,27,45,90]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(k,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(_,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Total Requests")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(i==null?void 0:i.total)??0}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:a("All time")})]}),e.jsx("div",{className:"p-2 bg-gray-100 dark:bg-gray-700 rounded-lg",children:e.jsx(re,{className:"h-5 w-5 text-gray-600 dark:text-gray-400"})})]})})}),e.jsx(k,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(_,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Pending")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(i==null?void 0:i.pending)??0}),e.jsx("p",{className:"text-xs text-yellow-600 font-medium",children:a("Needs Review")})]}),e.jsx("div",{className:"p-2 bg-yellow-100 dark:bg-yellow-900/30 rounded-lg",children:e.jsx(Fe,{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400"})})]})})}),e.jsx(k,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(_,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Approved")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(i==null?void 0:i.approved)??0}),e.jsxs("p",{className:"text-xs text-green-600 font-medium",children:[(i==null?void 0:i.total)>0?(((i==null?void 0:i.approved)??0)/i.total*100).toFixed(1):"0","% ",a("rate")]})]}),e.jsx("div",{className:"p-2 bg-green-100 dark:bg-green-900/30 rounded-lg",children:e.jsx(ie,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(k,{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",children:e.jsx(_,{className:"p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-sm font-medium",children:a("Rejected")}),e.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:(i==null?void 0:i.rejected)??0}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:a("Declined")})]}),e.jsx("div",{className:"p-2 bg-red-100 dark:bg-red-900/30 rounded-lg",children:e.jsx(le,{className:"h-5 w-5 text-red-600 dark:text-red-400"})})]})})})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4",children:(B=l==null?void 0:l.data)==null?void 0:B.map(t=>Ne(t))}),e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow border border-gray-200 dark:border-gray-700 p-4",children:e.jsx(Te,{from:(l==null?void 0:l.from)||0,to:(l==null?void 0:l.to)||0,total:(l==null?void 0:l.total)||0,links:l==null?void 0:l.links,entityName:a("adjustment requests"),onPageChange:t=>{const s=new URL(t).searchParams.get("page");x.get(route("hr.attendance-regularizations.index"),{page:s,per_page:n.per_page||9,search:g||void 0,employee_id:c!=="all"?c:void 0,status:m!=="all"?m:void 0,date_from:h||void 0,date_to:u||void 0,sort_field:n.sort_field||void 0,sort_direction:n.sort_direction||void 0},{preserveState:!0,preserveScroll:!0})}})})]}),e.jsx(Ae,{isOpen:de,onClose:()=>b(!1),onSubmit:he,formConfig:{fields:[{name:"employee_id",type:"dependent-dropdown",dependentConfig:[{name:"employee_id",label:a("Employee"),required:!0,searchable:!0,options:R?R.map(t=>({value:t.id.toString(),label:t.name})):[]},{name:"attendance_record_id",label:a("Attendance Record"),apiEndpoint:"/hr/attendance-regularizations/get-employee-attendance/{employee_id}",showCurrentValue:!0,searchable:!0}]},{name:"requested_clock_in",label:a("Requested Clock In"),type:"time"},{name:"requested_clock_out",label:a("Requested Clock Out"),type:"time"},{name:"reason",label:a("Reason"),type:"textarea",required:!0}],modalSize:"lg"},initialData:j,title:a(w==="create"?"Add New Adjustment Request":"Edit Adjustment Request"),mode:w}),e.jsx(Se,{open:!!D,onOpenChange:()=>q(null),children:D&&e.jsx(Ce,{record:D})}),e.jsx(De,{isOpen:ce,onClose:()=>A(!1),onConfirm:ue,itemName:`${(X=j==null?void 0:j.employee)==null?void 0:X.name} `||"",entityName:"adjustment request"})]})}export{Xt as default}; diff --git a/public/build/assets/index-Q_JgswJm.js b/public/build/assets/index-rhhnQp0L.js similarity index 68% rename from public/build/assets/index-Q_JgswJm.js rename to public/build/assets/index-rhhnQp0L.js index 70e44b920..7f5d9a300 100644 --- a/public/build/assets/index-Q_JgswJm.js +++ b/public/build/assets/index-rhhnQp0L.js @@ -1 +1 @@ -import{r as m,j as s}from"./ui-Z445SNHD.js";import{P as me}from"./page-template-BTxLyiDA.js";import{u as pe,c as de,x as ce,P as ue,B as ge,r as p,t as o}from"./app-CfhhiFAk.js";import{C as he}from"./CrudTable-qPWooc10.js";import{C as be}from"./CrudFormModal-DAR9q-oM.js";import{C as _e}from"./CrudDeleteModal-CKTiD3_K.js";import{P as fe}from"./pagination-D8A_HnL5.js";import{S as ve}from"./search-and-filter-bar-6Pp-FsiR.js";import{C as ye}from"./calendar-CfUpdaK5.js";import{f as I}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function oi(){var E,L,q,V,R;const{t:e}=pe(),{auth:y,trainingSessions:n,trainingPrograms:$,employees:U,filters:l={}}=de().props,C=(y==null?void 0:y.permissions)||[],[d,j]=m.useState(l.search||""),[c,P]=m.useState(l.training_program_id||""),[u,w]=m.useState(l.status||""),[g,T]=m.useState(l.location_type||""),[h,D]=m.useState(l.date_from||""),[b,F]=m.useState(l.date_to||""),[z,N]=m.useState(!1),[H,x]=m.useState(!1),[G,f]=m.useState(!1),[a,k]=m.useState(null),[_,A]=m.useState("create"),J=()=>c!==""||u!==""||g!==""||h!==""||b!==""||d!=="",K=()=>(c!==""?1:0)+(u!==""?1:0)+(g!==""?1:0)+(h!==""?1:0)+(b!==""?1:0)+(d!==""?1:0),Q=t=>{t.preventDefault(),O()},X=()=>{p.get(route("hr.training-sessions.calendar"))},O=()=>{p.get(route("hr.training-sessions.index"),{page:1,search:d||void 0,training_program_id:c||void 0,status:u||void 0,location_type:g||void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},Y=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";p.get(route("hr.training-sessions.index"),{sort_field:t,sort_direction:r,page:1,search:d||void 0,training_program_id:c||void 0,status:u||void 0,location_type:g||void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},Z=(t,r)=>{switch(k(r),t){case"view":p.get(route("hr.training-sessions.show",r.id));break;case"edit":A("edit"),f(!0);break;case"delete":x(!0);break}},ee=()=>{k(null),A("create"),f(!0)},te=t=>{const r={...t};_==="create"?(o.loading(e("Creating training session...")),p.post(route("hr.training-sessions.store"),r,{onSuccess:i=>{f(!1),o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to create training session: {{errors}}",{errors:Object.values(i).join(", ")}))}})):_==="edit"&&(o.loading(e("Updating training session...")),p.put(route("hr.training-sessions.update",a.id),r,{onSuccess:i=>{f(!1),o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to update training session: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},re=()=>{o.loading(e("Deleting training session...")),p.delete(route("hr.training-sessions.destroy",a.id),{onSuccess:t=>{x(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to delete training session: {{errors}}",{errors:Object.values(t).join(", ")}))}})},ie=()=>{j(""),P(""),w(""),T(""),D(""),F(""),N(!1),p.get(route("hr.training-sessions.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},S=[];S.push({label:e("Calendar View"),icon:s.jsx(ye,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:X}),ce(C,"create-training-sessions")&&S.push({label:e("Add Session"),icon:s.jsx(ue,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ee()});const se=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.training-sessions.index")},{title:e("Training Management"),href:route("hr.training-sessions.index")},{title:e("Training Sessions")}],oe=[{key:"program",label:e("Program"),render:(t,r)=>{var i,v;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:r.name||((i=r.training_program)==null?void 0:i.name)||"-"}),s.jsx("div",{className:"text-xs text-gray-500",children:((v=r.training_program)==null?void 0:v.name)||"-"})]})}},{key:"date_time",label:e("Date & Time"),sortable:!0,sortField:"start_date",render:(t,r)=>{var i,v,W,B;return s.jsx("div",{children:s.jsxs("div",{className:"text-xs text-gray-500",children:[((v=(i=window.appSettings)==null?void 0:i.formatDateTimeSimple(r.start_date,!0))==null?void 0:v.split(" ").slice(-2).join(" "))||I(new Date(r.start_date),"h:mm a")," - ",((B=(W=window.appSettings)==null?void 0:W.formatDateTimeSimple(r.end_date,!0))==null?void 0:B.split(" ").slice(-2).join(" "))||I(new Date(r.end_date),"h:mm a")]})})}},{key:"location",label:e("Location"),render:(t,r)=>s.jsxs("div",{children:[s.jsx("div",{children:t||"-"}),s.jsx(ge,{variant:"outline",className:r.location_type==="virtual"?"bg-blue-50 text-blue-700":"bg-green-50 text-green-700",children:r.location_type==="virtual"?e("Virtual"):e("Physical")})]})},{key:"status",label:e("Status"),sortable:!0,render:t=>{const r={scheduled:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1).replace("_"," ")})}},{key:"trainers",label:e("Trainers"),render:t=>!t||t.length===0?"-":s.jsxs("div",{className:"space-y-1",children:[t.slice(0,2).map(r=>s.jsx("div",{className:"text-sm",children:r.name},r.id)),t.length>2&&s.jsxs("div",{className:"text-xs text-gray-500",children:["+",t.length-2," more"]})]})},{key:"attendance_count",label:e("Attendance"),render:t=>t||"0"}],ae=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-training-sessions"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-training-sessions"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-training-sessions"}],M=[{value:"",label:e("All Programs")},...($||[]).map(t=>({value:t.id.toString(),label:t.name}))],ne=[{value:"",label:e("All Statuses")},{value:"scheduled",label:e("Scheduled")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}],le=[{value:"",label:e("All Locations")},{value:"physical",label:e("Physical")},{value:"virtual",label:e("Virtual")}];return s.jsxs(me,{title:e("Training Sessions"),url:"/hr/training/sessions",actions:S,breadcrumbs:se,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ve,{searchTerm:d,onSearchChange:j,onSearch:Q,filters:[{name:"training_program_id",label:e("Program"),type:"select",value:c,onChange:P,options:M},{name:"status",label:e("Status"),type:"select",value:u,onChange:w,options:ne},{name:"location_type",label:e("Location Type"),type:"select",value:g,onChange:T,options:le},{name:"date_from",label:e("Date From"),type:"date",value:h,onChange:D},{name:"date_to",label:e("Date To"),type:"date",value:b,onChange:F}],showFilters:z,setShowFilters:N,hasActiveFilters:J,activeFilterCount:K,onResetFilters:ie,onApplyFilters:O,currentPerPage:((E=l.per_page)==null?void 0:E.toString())||"10",onPerPageChange:t=>{p.get(route("hr.training-sessions.index"),{page:1,per_page:parseInt(t),search:d||void 0,training_program_id:c||void 0,status:u||void 0,location_type:g||void 0,date_from:h||void 0,date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(he,{columns:oe,actions:ae,data:(n==null?void 0:n.data)||[],from:(n==null?void 0:n.from)||1,onAction:Z,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:Y,permissions:C,entityPermissions:{view:"view-training-sessions",create:"create-training-sessions",edit:"edit-training-sessions",delete:"delete-training-sessions"}}),s.jsx(fe,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:e("training sessions"),onPageChange:t=>p.get(t)})]}),s.jsx(be,{isOpen:G,onClose:()=>f(!1),onSubmit:te,formConfig:{fields:[{name:"training_program_id",label:e("Training Program"),type:"select",required:!0,options:M.filter(t=>t.value!=="")},{name:"name",label:e("Session Name"),type:"text",helpText:e("Leave blank to use program name")},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",required:!0},{name:"location_type",label:e("Location Type"),type:"select",required:!0,options:[{value:"physical",label:e("Physical")},{value:"virtual",label:e("Virtual")}]},{name:"location",label:e("Location"),type:"text",showWhen:t=>t.location_type==="physical"},{name:"meeting_link",label:e("Meeting Link"),type:"text",showWhen:t=>t.location_type==="virtual"},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"scheduled",label:e("Scheduled")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}]},{name:"notes",label:e("Notes"),type:"textarea"},{name:"trainer_ids",label:e("Trainers"),type:"multi-select",options:(U||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))},{name:"is_recurring",label:e("Recurring Session"),type:"checkbox",showWhen:t=>_==="create"},{name:"recurrence_pattern",label:e("Recurrence Pattern"),type:"select",options:[{value:"daily",label:e("Daily")},{value:"weekly",label:e("Weekly")},{value:"monthly",label:e("Monthly")}],showWhen:t=>t.is_recurring},{name:"recurrence_count",label:e("Number of Occurrences"),type:"number",min:1,max:52,showWhen:t=>t.is_recurring}],modalSize:"lg"},initialData:a?{...a,start_date:a.start_date?a.start_date.split(" ")[0]:"",start_time:a.start_date?(L=a.start_date.split(" ")[1])==null?void 0:L.substring(0,5):"",end_date:a.end_date?a.end_date.split(" ")[0]:"",end_time:a.end_date?(q=a.end_date.split(" ")[1])==null?void 0:q.substring(0,5):"",trainer_ids:(V=a.trainers)==null?void 0:V.map(t=>t.id.toString())}:null,title:e(_==="create"?"Add New Training Session":_==="edit"?"Edit Training Session":"View Training Session"),mode:_}),s.jsx(_e,{isOpen:H,onClose:()=>x(!1),onConfirm:re,itemName:(a==null?void 0:a.name)||((R=a==null?void 0:a.training_program)==null?void 0:R.name)||"",entityName:"training session"})]})}export{oi as default}; +import{r as m,j as s}from"./ui-Z445SNHD.js";import{P as me}from"./page-template-CLNVC8w_.js";import{u as pe,c as de,x as ce,P as ue,B as ge,r as p,t as o}from"./app-Dya84jp7.js";import{C as he}from"./CrudTable-yqxtM6E_.js";import{C as be}from"./CrudFormModal-CsuqSfb2.js";import{C as _e}from"./CrudDeleteModal-D32N6I8y.js";import{P as fe}from"./pagination-4PUepASD.js";import{S as ve}from"./search-and-filter-bar-DWH0yn_r.js";import{C as ye}from"./calendar-DuRYaSj5.js";import{f as I}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function oi(){var E,L,q,V,R;const{t:e}=pe(),{auth:y,trainingSessions:n,trainingPrograms:$,employees:U,filters:l={}}=de().props,C=(y==null?void 0:y.permissions)||[],[d,j]=m.useState(l.search||""),[c,P]=m.useState(l.training_program_id||""),[u,w]=m.useState(l.status||""),[g,T]=m.useState(l.location_type||""),[h,D]=m.useState(l.date_from||""),[b,F]=m.useState(l.date_to||""),[z,N]=m.useState(!1),[H,x]=m.useState(!1),[G,f]=m.useState(!1),[a,k]=m.useState(null),[_,A]=m.useState("create"),J=()=>c!==""||u!==""||g!==""||h!==""||b!==""||d!=="",K=()=>(c!==""?1:0)+(u!==""?1:0)+(g!==""?1:0)+(h!==""?1:0)+(b!==""?1:0)+(d!==""?1:0),Q=t=>{t.preventDefault(),O()},X=()=>{p.get(route("hr.training-sessions.calendar"))},O=()=>{p.get(route("hr.training-sessions.index"),{page:1,search:d||void 0,training_program_id:c||void 0,status:u||void 0,location_type:g||void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},Y=t=>{const r=l.sort_field===t&&l.sort_direction==="asc"?"desc":"asc";p.get(route("hr.training-sessions.index"),{sort_field:t,sort_direction:r,page:1,search:d||void 0,training_program_id:c||void 0,status:u||void 0,location_type:g||void 0,date_from:h||void 0,date_to:b||void 0,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},Z=(t,r)=>{switch(k(r),t){case"view":p.get(route("hr.training-sessions.show",r.id));break;case"edit":A("edit"),f(!0);break;case"delete":x(!0);break}},ee=()=>{k(null),A("create"),f(!0)},te=t=>{const r={...t};_==="create"?(o.loading(e("Creating training session...")),p.post(route("hr.training-sessions.store"),r,{onSuccess:i=>{f(!1),o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to create training session: {{errors}}",{errors:Object.values(i).join(", ")}))}})):_==="edit"&&(o.loading(e("Updating training session...")),p.put(route("hr.training-sessions.update",a.id),r,{onSuccess:i=>{f(!1),o.dismiss(),i.props.flash.success?o.success(e(i.props.flash.success)):i.props.flash.error&&o.error(e(i.props.flash.error))},onError:i=>{o.dismiss(),typeof i=="string"?o.error(e(i)):o.error(e("Failed to update training session: {{errors}}",{errors:Object.values(i).join(", ")}))}}))},re=()=>{o.loading(e("Deleting training session...")),p.delete(route("hr.training-sessions.destroy",a.id),{onSuccess:t=>{x(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(e(t)):o.error(e("Failed to delete training session: {{errors}}",{errors:Object.values(t).join(", ")}))}})},ie=()=>{j(""),P(""),w(""),T(""),D(""),F(""),N(!1),p.get(route("hr.training-sessions.index"),{page:1,per_page:l.per_page},{preserveState:!0,preserveScroll:!0})},S=[];S.push({label:e("Calendar View"),icon:s.jsx(ye,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:X}),ce(C,"create-training-sessions")&&S.push({label:e("Add Session"),icon:s.jsx(ue,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ee()});const se=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.training-sessions.index")},{title:e("Training Management"),href:route("hr.training-sessions.index")},{title:e("Training Sessions")}],oe=[{key:"program",label:e("Program"),render:(t,r)=>{var i,v;return s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:r.name||((i=r.training_program)==null?void 0:i.name)||"-"}),s.jsx("div",{className:"text-xs text-gray-500",children:((v=r.training_program)==null?void 0:v.name)||"-"})]})}},{key:"date_time",label:e("Date & Time"),sortable:!0,sortField:"start_date",render:(t,r)=>{var i,v,W,B;return s.jsx("div",{children:s.jsxs("div",{className:"text-xs text-gray-500",children:[((v=(i=window.appSettings)==null?void 0:i.formatDateTimeSimple(r.start_date,!0))==null?void 0:v.split(" ").slice(-2).join(" "))||I(new Date(r.start_date),"h:mm a")," - ",((B=(W=window.appSettings)==null?void 0:W.formatDateTimeSimple(r.end_date,!0))==null?void 0:B.split(" ").slice(-2).join(" "))||I(new Date(r.end_date),"h:mm a")]})})}},{key:"location",label:e("Location"),render:(t,r)=>s.jsxs("div",{children:[s.jsx("div",{children:t||"-"}),s.jsx(ge,{variant:"outline",className:r.location_type==="virtual"?"bg-blue-50 text-blue-700":"bg-green-50 text-green-700",children:r.location_type==="virtual"?e("Virtual"):e("Physical")})]})},{key:"status",label:e("Status"),sortable:!0,render:t=>{const r={scheduled:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return s.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1).replace("_"," ")})}},{key:"trainers",label:e("Trainers"),render:t=>!t||t.length===0?"-":s.jsxs("div",{className:"space-y-1",children:[t.slice(0,2).map(r=>s.jsx("div",{className:"text-sm",children:r.name},r.id)),t.length>2&&s.jsxs("div",{className:"text-xs text-gray-500",children:["+",t.length-2," more"]})]})},{key:"attendance_count",label:e("Attendance"),render:t=>t||"0"}],ae=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-training-sessions"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-training-sessions"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-training-sessions"}],M=[{value:"",label:e("All Programs")},...($||[]).map(t=>({value:t.id.toString(),label:t.name}))],ne=[{value:"",label:e("All Statuses")},{value:"scheduled",label:e("Scheduled")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}],le=[{value:"",label:e("All Locations")},{value:"physical",label:e("Physical")},{value:"virtual",label:e("Virtual")}];return s.jsxs(me,{title:e("Training Sessions"),url:"/hr/training/sessions",actions:S,breadcrumbs:se,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(ve,{searchTerm:d,onSearchChange:j,onSearch:Q,filters:[{name:"training_program_id",label:e("Program"),type:"select",value:c,onChange:P,options:M},{name:"status",label:e("Status"),type:"select",value:u,onChange:w,options:ne},{name:"location_type",label:e("Location Type"),type:"select",value:g,onChange:T,options:le},{name:"date_from",label:e("Date From"),type:"date",value:h,onChange:D},{name:"date_to",label:e("Date To"),type:"date",value:b,onChange:F}],showFilters:z,setShowFilters:N,hasActiveFilters:J,activeFilterCount:K,onResetFilters:ie,onApplyFilters:O,currentPerPage:((E=l.per_page)==null?void 0:E.toString())||"10",onPerPageChange:t=>{p.get(route("hr.training-sessions.index"),{page:1,per_page:parseInt(t),search:d||void 0,training_program_id:c||void 0,status:u||void 0,location_type:g||void 0,date_from:h||void 0,date_to:b||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(he,{columns:oe,actions:ae,data:(n==null?void 0:n.data)||[],from:(n==null?void 0:n.from)||1,onAction:Z,sortField:l.sort_field,sortDirection:l.sort_direction,onSort:Y,permissions:C,entityPermissions:{view:"view-training-sessions",create:"create-training-sessions",edit:"edit-training-sessions",delete:"delete-training-sessions"}}),s.jsx(fe,{from:(n==null?void 0:n.from)||0,to:(n==null?void 0:n.to)||0,total:(n==null?void 0:n.total)||0,links:n==null?void 0:n.links,entityName:e("training sessions"),onPageChange:t=>p.get(t)})]}),s.jsx(be,{isOpen:G,onClose:()=>f(!1),onSubmit:te,formConfig:{fields:[{name:"training_program_id",label:e("Training Program"),type:"select",required:!0,options:M.filter(t=>t.value!=="")},{name:"name",label:e("Session Name"),type:"text",helpText:e("Leave blank to use program name")},{name:"start_date",label:e("Start Date"),type:"date",required:!0},{name:"end_date",label:e("End Date"),type:"date",required:!0},{name:"location_type",label:e("Location Type"),type:"select",required:!0,options:[{value:"physical",label:e("Physical")},{value:"virtual",label:e("Virtual")}]},{name:"location",label:e("Location"),type:"text",showWhen:t=>t.location_type==="physical"},{name:"meeting_link",label:e("Meeting Link"),type:"text",showWhen:t=>t.location_type==="virtual"},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"scheduled",label:e("Scheduled")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}]},{name:"notes",label:e("Notes"),type:"textarea"},{name:"trainer_ids",label:e("Trainers"),type:"multi-select",options:(U||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))},{name:"is_recurring",label:e("Recurring Session"),type:"checkbox",showWhen:t=>_==="create"},{name:"recurrence_pattern",label:e("Recurrence Pattern"),type:"select",options:[{value:"daily",label:e("Daily")},{value:"weekly",label:e("Weekly")},{value:"monthly",label:e("Monthly")}],showWhen:t=>t.is_recurring},{name:"recurrence_count",label:e("Number of Occurrences"),type:"number",min:1,max:52,showWhen:t=>t.is_recurring}],modalSize:"lg"},initialData:a?{...a,start_date:a.start_date?a.start_date.split(" ")[0]:"",start_time:a.start_date?(L=a.start_date.split(" ")[1])==null?void 0:L.substring(0,5):"",end_date:a.end_date?a.end_date.split(" ")[0]:"",end_time:a.end_date?(q=a.end_date.split(" ")[1])==null?void 0:q.substring(0,5):"",trainer_ids:(V=a.trainers)==null?void 0:V.map(t=>t.id.toString())}:null,title:e(_==="create"?"Add New Training Session":_==="edit"?"Edit Training Session":"View Training Session"),mode:_}),s.jsx(_e,{isOpen:H,onClose:()=>x(!1),onConfirm:re,itemName:(a==null?void 0:a.name)||((R=a==null?void 0:a.training_program)==null?void 0:R.name)||"",entityName:"training session"})]})}export{oi as default}; diff --git a/public/build/assets/index-wKY5eTpk.js b/public/build/assets/index-wKY5eTpk.js deleted file mode 100644 index 76a7355da..000000000 --- a/public/build/assets/index-wKY5eTpk.js +++ /dev/null @@ -1 +0,0 @@ -import{r as g,j as o}from"./ui-Z445SNHD.js";import{u as w,c as y,r as p,P as N,t as a}from"./app-CfhhiFAk.js";import{P as T}from"./pagination-D8A_HnL5.js";import{S as k}from"./search-and-filter-bar-6Pp-FsiR.js";import{P as F}from"./page-template-BTxLyiDA.js";import{C as A}from"./CrudTable-qPWooc10.js";import{C as E}from"./CrudDeleteModal-CKTiD3_K.js";import{T as I}from"./toaster-Bc5RPjCT.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./calendar-CfUpdaK5.js";import"./filter-uErFRSPT.js";import"./list-D0MAUZMV.js";import"./layout-grid-C6MkbbLQ.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function ge(){var f;const{t:m}=w(),{pages:r,filters:n={},globalSettings:i}=y().props,[h,c]=g.useState(!1),[d,u]=g.useState(null),[s,x]=g.useState(n.search||""),S=t=>{p.get(route("landing-page.custom-pages.edit",t.id))},b=t=>{u(t),c(!0)},C=()=>{i!=null&&i.is_demo||a.loading(m("Deleting page...")),p.delete(route("landing-page.custom-pages.destroy",d.id),{onSuccess:t=>{var e,l;c(!1),u(null),i!=null&&i.is_demo||a.dismiss(),(e=t.props.flash)!=null&&e.success?a.success(m(t.props.flash.success)):(l=t.props.flash)!=null&&l.error&&a.error(m(t.props.flash.error))},onError:t=>{i!=null&&i.is_demo||a.dismiss(),typeof t=="string"?a.error(m(t)):a.error(m("Failed to delete page"))}})},P=t=>{t.preventDefault();const e={page:1};s&&(e.search=s),p.get(route("landing-page.custom-pages.index"),e,{preserveState:!0,preserveScroll:!0})},v=(t,e)=>{t==="edit"?S(e):t==="delete"&&b(e)},j=t=>{const e=n.sort_field===t&&n.sort_direction==="desc"?"asc":"desc",l={sort_field:t,sort_direction:e,page:1};s&&(l.search=s),p.get(route("landing-page.custom-pages.index"),l,{preserveState:!0,preserveScroll:!0})},D=[{key:"title",label:"Title",sortable:!0,render:t=>o.jsx("div",{className:"font-medium",children:t})},{key:"content",label:"Content",render:t=>{const e=t.replace(/<[^>]*>/g,"");return o.jsxs("div",{className:"max-w-xs truncate",title:e,children:[e.substring(0,100),"..."]})}},{key:"is_active",label:"Status",render:t=>{const e=t?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${e}`,children:t?"Active":"Inactive"})}},{key:"created_at",label:"Created",sortable:!0,render:t=>{var e;return((e=window.appSettings)==null?void 0:e.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],_=[{label:"Edit",icon:"Edit",action:"edit",className:"text-amber-500"},{label:"Delete",icon:"Trash2",action:"delete",className:"text-red-500"}];return o.jsxs(F,{title:"Custom Pages",url:"/custom-pages",breadcrumbs:[{title:m("Dashboard"),href:route("dashboard")},{title:m("Landing Page"),href:route("landing-page")},{title:m("Custom Pages")}],actions:[{label:"Add Page",icon:o.jsx(N,{className:"w-4 h-4 mr-2"}),variant:"default",onClick:()=>p.get(route("landing-page.custom-pages.create"))}],noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(k,{searchTerm:s,onSearchChange:x,onSearch:P,filters:[],showFilters:!1,setShowFilters:()=>{},hasActiveFilters:()=>!1,activeFilterCount:()=>0,onResetFilters:()=>{},currentPerPage:((f=n.per_page)==null?void 0:f.toString())||"10",onPerPageChange:t=>{const e={page:1,per_page:parseInt(t)};s&&(e.search=s),p.get(route("landing-page.custom-pages.index"),e,{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(A,{columns:D,actions:_,data:(r==null?void 0:r.data)||r||[],from:(r==null?void 0:r.from)||1,onAction:v,sortField:n.sort_field,sortDirection:n.sort_direction,onSort:j}),(r==null?void 0:r.links)&&o.jsx(T,{from:(r==null?void 0:r.from)||0,to:(r==null?void 0:r.to)||0,total:(r==null?void 0:r.total)||0,links:r==null?void 0:r.links,entityName:"pages",onPageChange:t=>p.get(t)})]}),o.jsx(E,{isOpen:h,onClose:()=>{c(!1),u(null)},onConfirm:C,itemName:(d==null?void 0:d.title)||"",entityName:"page"}),o.jsx(I,{})]})}export{ge as default}; diff --git a/public/build/assets/index-CsFBFtPk.js b/public/build/assets/index-zL79uW8n.js similarity index 68% rename from public/build/assets/index-CsFBFtPk.js rename to public/build/assets/index-zL79uW8n.js index 5e51260b8..357cbab84 100644 --- a/public/build/assets/index-CsFBFtPk.js +++ b/public/build/assets/index-zL79uW8n.js @@ -1 +1 @@ -import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-BTxLyiDA.js";import{u as se,c as pe,x as ae,P as ne,r as m,I,o as me,t as i}from"./app-CfhhiFAk.js";import{C as le}from"./CrudTable-qPWooc10.js";import{C as de}from"./CrudFormModal-DAR9q-oM.js";import{C as ue}from"./CrudDeleteModal-CKTiD3_K.js";import{P as ce}from"./pagination-D8A_HnL5.js";import{S as _e}from"./search-and-filter-bar-6Pp-FsiR.js";import{S as he}from"./switch-CKduD2wX.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function eo(){var O;const{t}=se(),{auth:b,coupons:p,filters:a={},globalSettings:o}=pe().props,w=(b==null?void 0:b.permissions)||[],[c,F]=n.useState(a.search||""),[l,S]=n.useState(a.type||"_empty_"),[d,g]=n.useState(a.status||"_empty_"),[_,j]=n.useState(a.date_from||""),[h,k]=n.useState(a.date_to||""),[q,P]=n.useState(!1),[L,f]=n.useState(!1),[U,C]=n.useState(!1),[y,N]=n.useState(null),[v,T]=n.useState("create"),[$,A]=n.useState(null),G=()=>l!=="_empty_"||d!=="_empty_"||_!==""||h!==""||c!=="",V=()=>(l!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(_!==""?1:0)+(h!==""?1:0)+(c!==""?1:0),R=e=>{e.preventDefault(),E()},E=()=>{m.get(route("coupons.index"),{page:1,search:c||void 0,type:l!=="_empty_"?l:void 0,status:d!=="_empty_"?d:void 0,date_from:_||void 0,date_to:h||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},B=e=>{const r=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";m.get(route("coupons.index"),{sort_field:e,sort_direction:r,page:1,search:c||void 0,type:l!=="_empty_"?l:void 0,status:d!=="_empty_"?d:void 0,date_from:_||void 0,date_to:h||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},D=(e,r)=>{switch(N(r),e){case"view-details":m.get(route("coupons.show",r.id));break;case"edit":T("edit"),f(!0);break;case"delete":C(!0);break}},z=()=>{N(null),T("create"),f(!0)},H=()=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";let r="";for(let u=0;u<10;u++)r+=e.charAt(Math.floor(Math.random()*e.length));return r},J=e=>{e.code_type||(e.code_type="manual"),(e.status===void 0||e.status===null)&&(e.status=!0),e.minimum_spend&&(e.minimum_spend=parseFloat(e.minimum_spend)),e.maximum_spend&&(e.maximum_spend=parseFloat(e.maximum_spend)),e.discount_amount&&(e.discount_amount=parseFloat(e.discount_amount)),e.use_limit_per_coupon&&(e.use_limit_per_coupon=parseInt(e.use_limit_per_coupon)),e.use_limit_per_user&&(e.use_limit_per_user=parseInt(e.use_limit_per_user)),v==="create"?(o!=null&&o.is_demo||i.loading(t("Creating coupon...")),m.post(route("coupons.store"),e,{onSuccess:r=>{f(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to create coupon: {{errors}}",{errors:Object.values(r).join(", ")}))}})):v==="edit"&&(o!=null&&o.is_demo||i.loading(t("Updating coupon...")),m.put(route("coupons.update",y.id),e,{onSuccess:r=>{f(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to update coupon: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},K=()=>{o!=null&&o.is_demo||i.loading(t("Deleting coupon...")),m.delete(route("coupons.destroy",y.id),{onSuccess:e=>{C(!1),o!=null&&o.is_demo||i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||i.dismiss(),typeof e=="string"?i.error(t(e)):i.error(t("Failed to delete coupon: {{errors}}",{errors:Object.values(e).join(", ")}))}})},Q=()=>{F(""),S("_empty_"),g("_empty_"),j(""),k(""),P(!1),m.get(route("coupons.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},W=e=>{o!=null&&o.is_demo||i.loading(t(e.status?"Deactivating":"Activating")+" "+t("coupon...")),m.put(route("coupons.toggle-status",e.id),{},{onSuccess:r=>{o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to update coupon status: {{errors}}",{errors:Object.values(r).join(", ")}))}})},X=async e=>{try{await navigator.clipboard.writeText(e),A(e),setTimeout(()=>{A(null)},2e3)}catch(r){console.error("Failed to copy:",r)}},M=[];ae(w,"create-coupons")&&M.push({label:t("Add Coupon"),icon:s.jsx(ne,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>z()});const Y=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Coupons")}],Z=[{key:"name",label:t("Name"),sortable:!0},{key:"code",label:t("Code"),sortable:!0,render:e=>s.jsxs("div",{className:"flex flex-col items-start",children:[s.jsx("button",{onClick:()=>X(e),className:"px-3 py-1.5 rounded-md bg-gray-100 hover:bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-700 transition-colors font-mono text-sm cursor-pointer",children:e}),$===e&&s.jsx("span",{className:"text-xs text-red-600 dark:text-red-400 mt-1 font-medium ml-3",children:t("Copied!")})]})},{key:"type",label:t("Type"),sortable:!0,render:e=>t(e==="percentage"?"Percentage":"Flat Amount")},{key:"minimum_spend",label:t("Min Spend"),render:e=>{var r;return e?((r=window.appSettings)==null?void 0:r.formatCurrency(e))||`$${parseFloat(e).toFixed(2)}`:"-"}},{key:"maximum_spend",label:t("Max Spend"),render:e=>{var r;return e?((r=window.appSettings)==null?void 0:r.formatCurrency(e))||`$${parseFloat(e).toFixed(2)}`:"-"}},{key:"discount_amount",label:t("Discount"),render:(e,r)=>{var x;const u=parseFloat(r.discount_amount);return r.type==="percentage"?`${u}%`:((x=window.appSettings)==null?void 0:x.formatCurrency(u))||`$${u.toFixed(2)}`}},{key:"use_limit_per_coupon",label:t("Coupon Limit"),render:e=>e||t("Unlimited")},{key:"use_limit_per_user",label:t("User Limit"),render:e=>e||t("Unlimited")},{key:"expiry_date",label:t("Expiry Date"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"status",label:t("Status"),render:(e,r)=>s.jsx("div",{className:"flex items-center",children:s.jsx(he,{checked:!!r.status,onCheckedChange:()=>W(r)})})}],ee=[{label:t("View Details"),icon:"Eye",action:"view-details",className:"text-blue-500",requiredPermission:"view-coupons"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"create-coupons"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-coupons"}],te=[{value:"_empty_",label:t("All Types")},{value:"percentage",label:t("Percentage")},{value:"flat",label:t("Flat Amount")}],re=[{value:"_empty_",label:t("All Status")},{value:"1",label:t("Active")},{value:"0",label:t("Inactive")}];return s.jsxs(ie,{title:t("Coupons"),url:"/coupons",actions:M,breadcrumbs:Y,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(_e,{searchTerm:c,onSearchChange:F,onSearch:R,filters:[{name:"type",label:t("Type"),type:"select",value:l,onChange:S,options:te},{name:"status",label:t("Status"),type:"select",value:d,onChange:g,options:re},{name:"date_from",label:t("Date From"),type:"date",value:_,onChange:j},{name:"date_to",label:t("Date To"),type:"date",value:h,onChange:k}],showFilters:q,setShowFilters:P,hasActiveFilters:G,activeFilterCount:V,onResetFilters:Q,onApplyFilters:E,currentPerPage:((O=a.per_page)==null?void 0:O.toString())||"10",onPerPageChange:e=>{m.get(route("coupons.index"),{page:1,per_page:parseInt(e),search:c||void 0,type:l!=="_empty_"?l:void 0,status:d!=="_empty_"?d:void 0,date_from:_||void 0,date_to:h||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(le,{columns:Z,actions:ee,data:(p==null?void 0:p.data)||[],from:(p==null?void 0:p.from)||1,onAction:D,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:B,permissions:w,entityPermissions:{view:"view-coupons",create:"create-coupons",edit:"create-coupons",delete:"delete-coupons"}}),s.jsx(ce,{from:(p==null?void 0:p.from)||0,to:(p==null?void 0:p.to)||0,total:(p==null?void 0:p.total)||0,links:p==null?void 0:p.links,entityName:t("coupons"),onPageChange:e=>m.get(e)})]}),s.jsx(de,{isOpen:L,onClose:()=>f(!1),onSubmit:J,formConfig:{fields:[{name:"name",label:t("Coupon Name"),type:"text",required:!0,placeholder:t("Enter coupon name"),width:"48%"},{name:"type",label:t("Discount Type"),type:"select",required:!0,options:[{value:"percentage",label:t("Percentage (%)")},{value:"flat",label:t("Fixed Amount ($)")}],width:"48%"},{name:"discount_amount",label:t("Discount Value"),type:"number",required:!0,min:0,step:.01,placeholder:t("Enter value"),width:"48%"},{name:"use_limit_per_coupon",label:t("Total Usage Limit"),type:"number",min:1,placeholder:t("Leave empty for unlimited"),width:"48%"},{name:"code_type",label:t("Code Generation"),type:"radio",required:!0,options:[{value:"manual",label:t("Manual Entry")},{value:"auto",label:t("Auto Generate")}],defaultValue:"manual",width:"48%"},{name:"code",label:t("Coupon Code"),type:"text",required:!0,placeholder:t("Enter coupon code"),width:"48%",render:(e,r,u)=>{const x=r.code_type==="auto";return s.jsx("div",{className:"space-y-2",children:x?s.jsxs("div",{className:"flex gap-2",children:[s.jsx(I,{id:e.name,name:e.name,type:"text",placeholder:t("Click generate to create code"),value:r[e.name]||"",readOnly:!0,className:"flex-1"}),s.jsx(me,{type:"button",onClick:()=>u(e.name,H()),variant:"default",children:t("Generate")})]}):s.jsx(I,{id:e.name,name:e.name,type:"text",placeholder:e.placeholder,value:r[e.name]||"",onChange:oe=>u(e.name,oe.target.value)})})}},{name:"minimum_spend",label:t("Minimum Spend"),type:"number",min:0,step:.01,placeholder:t("Optional"),width:"48%"},{name:"maximum_spend",label:t("Maximum Spend"),type:"number",min:0,step:.01,placeholder:t("Optional"),width:"48%"},{name:"use_limit_per_user",label:t("Usage Limit Per User"),type:"number",min:1,placeholder:t("Leave empty for unlimited"),width:"48%"},{name:"expiry_date",label:t("Expiry Date"),type:"date",width:"48%"}],modalSize:"4xl",layout:"flex"},initialData:y,title:t(v==="create"?"Add New Coupon":v==="edit"?"Edit Coupon":"View Coupon"),mode:v}),s.jsx(ue,{isOpen:U,onClose:()=>C(!1),onConfirm:K,itemName:(y==null?void 0:y.name)||"",entityName:"coupon"})]})}export{eo as default}; +import{r as n,j as s}from"./ui-Z445SNHD.js";import{P as ie}from"./page-template-CLNVC8w_.js";import{u as se,c as pe,x as ae,P as ne,r as m,I,o as me,t as i}from"./app-Dya84jp7.js";import{C as le}from"./CrudTable-yqxtM6E_.js";import{C as de}from"./CrudFormModal-CsuqSfb2.js";import{C as ue}from"./CrudDeleteModal-D32N6I8y.js";import{P as ce}from"./pagination-4PUepASD.js";import{S as _e}from"./search-and-filter-bar-DWH0yn_r.js";import{S as he}from"./switch-DyHgm-Sg.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function eo(){var O;const{t}=se(),{auth:b,coupons:p,filters:a={},globalSettings:o}=pe().props,w=(b==null?void 0:b.permissions)||[],[c,F]=n.useState(a.search||""),[l,S]=n.useState(a.type||"_empty_"),[d,g]=n.useState(a.status||"_empty_"),[_,j]=n.useState(a.date_from||""),[h,k]=n.useState(a.date_to||""),[q,P]=n.useState(!1),[L,f]=n.useState(!1),[U,C]=n.useState(!1),[y,N]=n.useState(null),[v,T]=n.useState("create"),[$,A]=n.useState(null),G=()=>l!=="_empty_"||d!=="_empty_"||_!==""||h!==""||c!=="",V=()=>(l!=="_empty_"?1:0)+(d!=="_empty_"?1:0)+(_!==""?1:0)+(h!==""?1:0)+(c!==""?1:0),R=e=>{e.preventDefault(),E()},E=()=>{m.get(route("coupons.index"),{page:1,search:c||void 0,type:l!=="_empty_"?l:void 0,status:d!=="_empty_"?d:void 0,date_from:_||void 0,date_to:h||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},B=e=>{const r=a.sort_field===e&&a.sort_direction==="asc"?"desc":"asc";m.get(route("coupons.index"),{sort_field:e,sort_direction:r,page:1,search:c||void 0,type:l!=="_empty_"?l:void 0,status:d!=="_empty_"?d:void 0,date_from:_||void 0,date_to:h||void 0,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},D=(e,r)=>{switch(N(r),e){case"view-details":m.get(route("coupons.show",r.id));break;case"edit":T("edit"),f(!0);break;case"delete":C(!0);break}},z=()=>{N(null),T("create"),f(!0)},H=()=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";let r="";for(let u=0;u<10;u++)r+=e.charAt(Math.floor(Math.random()*e.length));return r},J=e=>{e.code_type||(e.code_type="manual"),(e.status===void 0||e.status===null)&&(e.status=!0),e.minimum_spend&&(e.minimum_spend=parseFloat(e.minimum_spend)),e.maximum_spend&&(e.maximum_spend=parseFloat(e.maximum_spend)),e.discount_amount&&(e.discount_amount=parseFloat(e.discount_amount)),e.use_limit_per_coupon&&(e.use_limit_per_coupon=parseInt(e.use_limit_per_coupon)),e.use_limit_per_user&&(e.use_limit_per_user=parseInt(e.use_limit_per_user)),v==="create"?(o!=null&&o.is_demo||i.loading(t("Creating coupon...")),m.post(route("coupons.store"),e,{onSuccess:r=>{f(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to create coupon: {{errors}}",{errors:Object.values(r).join(", ")}))}})):v==="edit"&&(o!=null&&o.is_demo||i.loading(t("Updating coupon...")),m.put(route("coupons.update",y.id),e,{onSuccess:r=>{f(!1),o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to update coupon: {{errors}}",{errors:Object.values(r).join(", ")}))}}))},K=()=>{o!=null&&o.is_demo||i.loading(t("Deleting coupon...")),m.delete(route("coupons.destroy",y.id),{onSuccess:e=>{C(!1),o!=null&&o.is_demo||i.dismiss(),e.props.flash.success?i.success(t(e.props.flash.success)):e.props.flash.error&&i.error(t(e.props.flash.error))},onError:e=>{o!=null&&o.is_demo||i.dismiss(),typeof e=="string"?i.error(t(e)):i.error(t("Failed to delete coupon: {{errors}}",{errors:Object.values(e).join(", ")}))}})},Q=()=>{F(""),S("_empty_"),g("_empty_"),j(""),k(""),P(!1),m.get(route("coupons.index"),{page:1,per_page:a.per_page},{preserveState:!0,preserveScroll:!0})},W=e=>{o!=null&&o.is_demo||i.loading(t(e.status?"Deactivating":"Activating")+" "+t("coupon...")),m.put(route("coupons.toggle-status",e.id),{},{onSuccess:r=>{o!=null&&o.is_demo||i.dismiss(),r.props.flash.success?i.success(t(r.props.flash.success)):r.props.flash.error&&i.error(t(r.props.flash.error))},onError:r=>{o!=null&&o.is_demo||i.dismiss(),typeof r=="string"?i.error(t(r)):i.error(t("Failed to update coupon status: {{errors}}",{errors:Object.values(r).join(", ")}))}})},X=async e=>{try{await navigator.clipboard.writeText(e),A(e),setTimeout(()=>{A(null)},2e3)}catch(r){console.error("Failed to copy:",r)}},M=[];ae(w,"create-coupons")&&M.push({label:t("Add Coupon"),icon:s.jsx(ne,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>z()});const Y=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Coupons")}],Z=[{key:"name",label:t("Name"),sortable:!0},{key:"code",label:t("Code"),sortable:!0,render:e=>s.jsxs("div",{className:"flex flex-col items-start",children:[s.jsx("button",{onClick:()=>X(e),className:"px-3 py-1.5 rounded-md bg-gray-100 hover:bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-700 transition-colors font-mono text-sm cursor-pointer",children:e}),$===e&&s.jsx("span",{className:"text-xs text-red-600 dark:text-red-400 mt-1 font-medium ml-3",children:t("Copied!")})]})},{key:"type",label:t("Type"),sortable:!0,render:e=>t(e==="percentage"?"Percentage":"Flat Amount")},{key:"minimum_spend",label:t("Min Spend"),render:e=>{var r;return e?((r=window.appSettings)==null?void 0:r.formatCurrency(e))||`$${parseFloat(e).toFixed(2)}`:"-"}},{key:"maximum_spend",label:t("Max Spend"),render:e=>{var r;return e?((r=window.appSettings)==null?void 0:r.formatCurrency(e))||`$${parseFloat(e).toFixed(2)}`:"-"}},{key:"discount_amount",label:t("Discount"),render:(e,r)=>{var x;const u=parseFloat(r.discount_amount);return r.type==="percentage"?`${u}%`:((x=window.appSettings)==null?void 0:x.formatCurrency(u))||`$${u.toFixed(2)}`}},{key:"use_limit_per_coupon",label:t("Coupon Limit"),render:e=>e||t("Unlimited")},{key:"use_limit_per_user",label:t("User Limit"),render:e=>e||t("Unlimited")},{key:"expiry_date",label:t("Expiry Date"),sortable:!0,render:e=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(e,!1))||new Date(e).toLocaleDateString()}},{key:"status",label:t("Status"),render:(e,r)=>s.jsx("div",{className:"flex items-center",children:s.jsx(he,{checked:!!r.status,onCheckedChange:()=>W(r)})})}],ee=[{label:t("View Details"),icon:"Eye",action:"view-details",className:"text-blue-500",requiredPermission:"view-coupons"},{label:t("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"create-coupons"},{label:t("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-coupons"}],te=[{value:"_empty_",label:t("All Types")},{value:"percentage",label:t("Percentage")},{value:"flat",label:t("Flat Amount")}],re=[{value:"_empty_",label:t("All Status")},{value:"1",label:t("Active")},{value:"0",label:t("Inactive")}];return s.jsxs(ie,{title:t("Coupons"),url:"/coupons",actions:M,breadcrumbs:Y,noPadding:!0,children:[s.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:s.jsx(_e,{searchTerm:c,onSearchChange:F,onSearch:R,filters:[{name:"type",label:t("Type"),type:"select",value:l,onChange:S,options:te},{name:"status",label:t("Status"),type:"select",value:d,onChange:g,options:re},{name:"date_from",label:t("Date From"),type:"date",value:_,onChange:j},{name:"date_to",label:t("Date To"),type:"date",value:h,onChange:k}],showFilters:q,setShowFilters:P,hasActiveFilters:G,activeFilterCount:V,onResetFilters:Q,onApplyFilters:E,currentPerPage:((O=a.per_page)==null?void 0:O.toString())||"10",onPerPageChange:e=>{m.get(route("coupons.index"),{page:1,per_page:parseInt(e),search:c||void 0,type:l!=="_empty_"?l:void 0,status:d!=="_empty_"?d:void 0,date_from:_||void 0,date_to:h||void 0},{preserveState:!0,preserveScroll:!0})}})}),s.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[s.jsx(le,{columns:Z,actions:ee,data:(p==null?void 0:p.data)||[],from:(p==null?void 0:p.from)||1,onAction:D,sortField:a.sort_field,sortDirection:a.sort_direction,onSort:B,permissions:w,entityPermissions:{view:"view-coupons",create:"create-coupons",edit:"create-coupons",delete:"delete-coupons"}}),s.jsx(ce,{from:(p==null?void 0:p.from)||0,to:(p==null?void 0:p.to)||0,total:(p==null?void 0:p.total)||0,links:p==null?void 0:p.links,entityName:t("coupons"),onPageChange:e=>m.get(e)})]}),s.jsx(de,{isOpen:L,onClose:()=>f(!1),onSubmit:J,formConfig:{fields:[{name:"name",label:t("Coupon Name"),type:"text",required:!0,placeholder:t("Enter coupon name"),width:"48%"},{name:"type",label:t("Discount Type"),type:"select",required:!0,options:[{value:"percentage",label:t("Percentage (%)")},{value:"flat",label:t("Fixed Amount ($)")}],width:"48%"},{name:"discount_amount",label:t("Discount Value"),type:"number",required:!0,min:0,step:.01,placeholder:t("Enter value"),width:"48%"},{name:"use_limit_per_coupon",label:t("Total Usage Limit"),type:"number",min:1,placeholder:t("Leave empty for unlimited"),width:"48%"},{name:"code_type",label:t("Code Generation"),type:"radio",required:!0,options:[{value:"manual",label:t("Manual Entry")},{value:"auto",label:t("Auto Generate")}],defaultValue:"manual",width:"48%"},{name:"code",label:t("Coupon Code"),type:"text",required:!0,placeholder:t("Enter coupon code"),width:"48%",render:(e,r,u)=>{const x=r.code_type==="auto";return s.jsx("div",{className:"space-y-2",children:x?s.jsxs("div",{className:"flex gap-2",children:[s.jsx(I,{id:e.name,name:e.name,type:"text",placeholder:t("Click generate to create code"),value:r[e.name]||"",readOnly:!0,className:"flex-1"}),s.jsx(me,{type:"button",onClick:()=>u(e.name,H()),variant:"default",children:t("Generate")})]}):s.jsx(I,{id:e.name,name:e.name,type:"text",placeholder:e.placeholder,value:r[e.name]||"",onChange:oe=>u(e.name,oe.target.value)})})}},{name:"minimum_spend",label:t("Minimum Spend"),type:"number",min:0,step:.01,placeholder:t("Optional"),width:"48%"},{name:"maximum_spend",label:t("Maximum Spend"),type:"number",min:0,step:.01,placeholder:t("Optional"),width:"48%"},{name:"use_limit_per_user",label:t("Usage Limit Per User"),type:"number",min:1,placeholder:t("Leave empty for unlimited"),width:"48%"},{name:"expiry_date",label:t("Expiry Date"),type:"date",width:"48%"}],modalSize:"4xl",layout:"flex"},initialData:y,title:t(v==="create"?"Add New Coupon":v==="edit"?"Edit Coupon":"View Coupon"),mode:v}),s.jsx(ue,{isOpen:U,onClose:()=>C(!1),onConfirm:K,itemName:(y==null?void 0:y.name)||"",entityName:"coupon"})]})}export{eo as default}; diff --git a/public/build/assets/index-B-fmjELg.js b/public/build/assets/index-zjF_UbLu.js similarity index 66% rename from public/build/assets/index-B-fmjELg.js rename to public/build/assets/index-zjF_UbLu.js index 796b3e34c..1ab33063d 100644 --- a/public/build/assets/index-B-fmjELg.js +++ b/public/build/assets/index-zjF_UbLu.js @@ -1 +1 @@ -import{r as u,j as a}from"./ui-Z445SNHD.js";import{P as X}from"./page-template-BTxLyiDA.js";import{u as Y,c as Z,x as ee,P as re,r as m,t as o}from"./app-CfhhiFAk.js";import{C as te}from"./CrudTable-qPWooc10.js";import{C as ie}from"./CrudFormModal-DAR9q-oM.js";import{C as oe}from"./CrudDeleteModal-CKTiD3_K.js";import{P as se}from"./pagination-D8A_HnL5.js";import{S as ae}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function zt(){var F;const{t:e}=Y(),{auth:y,jobRequisitions:i,jobCategories:A,departments:k,filters:p={}}=Z().props,_=(y==null?void 0:y.permissions)||[],[c,v]=u.useState(p.search||""),[n,x]=u.useState(p.status||"_empty_"),[l,S]=u.useState(p.priority||"_empty_"),[D,j]=u.useState(!1),[N,f]=u.useState(!1),[O,d]=u.useState(!1),[b,q]=u.useState(null),[g,h]=u.useState("create"),M=()=>n!=="_empty_"||l!=="_empty_"||c!=="",E=()=>(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(c!==""?1:0),T=r=>{r.preventDefault(),C()},C=()=>{m.get(route("hr.recruitment.job-requisitions.index"),{page:1,search:c||void 0,status:n!=="_empty_"?n:void 0,priority:l!=="_empty_"?l:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},J=r=>{const t=p.sort_field===r&&p.sort_direction==="asc"?"desc":"asc";m.get(route("hr.recruitment.job-requisitions.index"),{sort_field:r,sort_direction:t,page:1,search:c||void 0,status:n!=="_empty_"?n:void 0,priority:l!=="_empty_"?l:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},H=(r,t)=>{switch(q(t),r){case"view":h("view"),d(!0);break;case"edit":h("edit"),d(!0);break;case"delete":f(!0);break;case"approve":m.put(route("hr.recruitment.job-requisitions.update-status",t.id),{status:"Approved"},{onSuccess:s=>{s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error&&o.error(e(s.props.flash.error))},onError:s=>{typeof s=="string"?o.error(e(s)):o.error(e("Failed to approve job requisition: {{errors}}",{errors:Object.values(s).join(", ")}))}});break}},$=()=>{q(null),h("create"),d(!0)},B=r=>{g==="create"?m.post(route("hr.recruitment.job-requisitions.store"),r,{onSuccess:t=>{d(!1),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{typeof t=="string"?o.error(e(t)):o.error(e("Failed to create job requisition: {{errors}}",{errors:Object.values(t).join(", ")}))}}):g==="edit"&&m.put(route("hr.recruitment.job-requisitions.update",b.id),r,{onSuccess:t=>{d(!1),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{typeof t=="string"?o.error(e(t)):o.error(e("Failed to update job requisition: {{errors}}",{errors:Object.values(t).join(", ")}))}})},L=()=>{m.delete(route("hr.recruitment.job-requisitions.destroy",b.id),{onSuccess:r=>{f(!1),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete job requisition: {{errors}}",{errors:Object.values(r).join(", ")}))}})},R=()=>{v(""),x("_empty_"),S("_empty_"),j(!1),m.get(route("hr.recruitment.job-requisitions.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},w=[];ee(_,"create-job-requisitions")&&w.push({label:e("Add Job Requisition"),icon:a.jsx(re,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>$()});const I=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.job-requisitions.index")},{title:e("Job Requisitions")}],V=r=>{switch(r){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Pending Approval":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Approved":return"bg-green-50 text-green-700 ring-green-600/20";case"On Hold":return"bg-red-50 text-red-700 ring-red-600/10";case"Closed":return"bg-gray-50 text-gray-600 ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},z=r=>{switch(r){case"High":return"bg-red-50 text-red-700 ring-red-600/10";case"Medium":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Low":return"bg-gray-50 text-gray-600 ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},G=[{key:"requisition_code",label:e("Code"),sortable:!0,render:r=>a.jsx("div",{className:"font-mono text-sm",children:r})},{key:"title",label:e("Title"),sortable:!0,render:r=>a.jsx("div",{className:"font-medium",children:r})},{key:"job_category.name",label:e("Category"),render:(r,t)=>{var s;return((s=t.job_category)==null?void 0:s.name)||"-"}},{key:"department.name",label:e("Department"),render:(r,t)=>{var s;return t.department?`${t.department.name} (${((s=t.department.branch)==null?void 0:s.name)||"No Branch"})`:"-"}},{key:"positions_count",label:e("Positions"),render:r=>r||1},{key:"status",label:e("Status"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${V(r)}`,children:e(r)})},{key:"priority",label:e("Priority"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${z(r)}`,children:e(r)})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],K=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-job-requisitions"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-job-requisitions"},{label:e("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-job-requisitions",condition:r=>r.status!=="Approved"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-job-requisitions"}],Q=[{value:"_empty_",label:e("All Statuses")},{value:"Draft",label:e("Draft")},{value:"Pending Approval",label:e("Pending Approval")},{value:"Approved",label:e("Approved")},{value:"On Hold",label:e("On Hold")},{value:"Closed",label:e("Closed")}],P=[{value:"_empty_",label:e("All Priorities")},{value:"Low",label:e("Low")},{value:"Medium",label:e("Medium")},{value:"High",label:e("High")}],U=[{value:"_empty_",label:e("Select Category")},...(A||[]).map(r=>({value:r.id.toString(),label:r.name}))],W=[{value:"_empty_",label:e("Select Department")},...(k||[]).map(r=>{var t;return{value:r.id.toString(),label:`${r.name} (${((t=r.branch)==null?void 0:t.name)||"No Branch"})`}})];return a.jsxs(X,{title:e("Job Requisitions"),url:"/hr/recruitment/job-requisitions",actions:w,breadcrumbs:I,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ae,{searchTerm:c,onSearchChange:v,onSearch:T,filters:[{name:"status",label:e("Status"),type:"select",value:n,onChange:x,options:Q},{name:"priority",label:e("Priority"),type:"select",value:l,onChange:S,options:P}],showFilters:D,setShowFilters:j,hasActiveFilters:M,activeFilterCount:E,onResetFilters:R,onApplyFilters:C,currentPerPage:((F=p.per_page)==null?void 0:F.toString())||"10",onPerPageChange:r=>{m.get(route("hr.recruitment.job-requisitions.index"),{page:1,per_page:parseInt(r),search:c||void 0,status:n!=="_empty_"?n:void 0,priority:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(te,{columns:G,actions:K,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:H,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:J,permissions:_,entityPermissions:{view:"view-job-requisitions",create:"create-job-requisitions",edit:"edit-job-requisitions",delete:"delete-job-requisitions"}}),a.jsx(se,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("job requisitions"),onPageChange:r=>m.get(r)})]}),a.jsx(ie,{isOpen:O,onClose:()=>d(!1),onSubmit:B,formConfig:{fields:[{name:"title",label:e("Title"),type:"text",required:!0},{name:"job_category_id",label:e("Job Category"),type:"select",required:!0,options:U.filter(r=>r.value!=="_empty_"),searchable:!0},{name:"department_id",label:e("Department"),type:"select",options:W.filter(r=>r.value!=="_empty_"),searchable:!0},{name:"positions_count",label:e("Positions"),type:"number",required:!0,min:1},{name:"budget_min",label:e("Min Budget"),type:"number",min:0,step:.01},{name:"budget_max",label:e("Max Budget"),type:"number",min:0,step:.01},{name:"priority",label:e("Priority"),type:"select",required:!0,options:P.filter(r=>r.value!=="_empty_")},{name:"skills_required",label:e("Skills Required"),type:"textarea"},{name:"education_required",label:e("Education Required"),type:"textarea"},{name:"experience_required",label:e("Experience Required"),type:"textarea"},{name:"description",label:e("Description"),type:"textarea"},{name:"responsibilities",label:e("Responsibilities"),type:"textarea"}],modalSize:"xl"},initialData:b,title:e(g==="create"?"Add New Job Requisition":g==="edit"?"Edit Job Requisition":"View Job Requisition"),mode:g}),a.jsx(oe,{isOpen:N,onClose:()=>f(!1),onConfirm:L,itemName:(b==null?void 0:b.title)||"",entityName:"job requisition"})]})}export{zt as default}; +import{r as u,j as a}from"./ui-Z445SNHD.js";import{P as X}from"./page-template-CLNVC8w_.js";import{u as Y,c as Z,x as ee,P as re,r as m,t as o}from"./app-Dya84jp7.js";import{C as te}from"./CrudTable-yqxtM6E_.js";import{C as ie}from"./CrudFormModal-CsuqSfb2.js";import{C as oe}from"./CrudDeleteModal-D32N6I8y.js";import{P as se}from"./pagination-4PUepASD.js";import{S as ae}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function zt(){var F;const{t:e}=Y(),{auth:y,jobRequisitions:i,jobCategories:A,departments:k,filters:p={}}=Z().props,_=(y==null?void 0:y.permissions)||[],[c,v]=u.useState(p.search||""),[n,x]=u.useState(p.status||"_empty_"),[l,S]=u.useState(p.priority||"_empty_"),[D,j]=u.useState(!1),[N,f]=u.useState(!1),[O,d]=u.useState(!1),[b,q]=u.useState(null),[g,h]=u.useState("create"),M=()=>n!=="_empty_"||l!=="_empty_"||c!=="",E=()=>(n!=="_empty_"?1:0)+(l!=="_empty_"?1:0)+(c!==""?1:0),T=r=>{r.preventDefault(),C()},C=()=>{m.get(route("hr.recruitment.job-requisitions.index"),{page:1,search:c||void 0,status:n!=="_empty_"?n:void 0,priority:l!=="_empty_"?l:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},J=r=>{const t=p.sort_field===r&&p.sort_direction==="asc"?"desc":"asc";m.get(route("hr.recruitment.job-requisitions.index"),{sort_field:r,sort_direction:t,page:1,search:c||void 0,status:n!=="_empty_"?n:void 0,priority:l!=="_empty_"?l:void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},H=(r,t)=>{switch(q(t),r){case"view":h("view"),d(!0);break;case"edit":h("edit"),d(!0);break;case"delete":f(!0);break;case"approve":m.put(route("hr.recruitment.job-requisitions.update-status",t.id),{status:"Approved"},{onSuccess:s=>{s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error&&o.error(e(s.props.flash.error))},onError:s=>{typeof s=="string"?o.error(e(s)):o.error(e("Failed to approve job requisition: {{errors}}",{errors:Object.values(s).join(", ")}))}});break}},$=()=>{q(null),h("create"),d(!0)},B=r=>{g==="create"?m.post(route("hr.recruitment.job-requisitions.store"),r,{onSuccess:t=>{d(!1),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{typeof t=="string"?o.error(e(t)):o.error(e("Failed to create job requisition: {{errors}}",{errors:Object.values(t).join(", ")}))}}):g==="edit"&&m.put(route("hr.recruitment.job-requisitions.update",b.id),r,{onSuccess:t=>{d(!1),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error&&o.error(e(t.props.flash.error))},onError:t=>{typeof t=="string"?o.error(e(t)):o.error(e("Failed to update job requisition: {{errors}}",{errors:Object.values(t).join(", ")}))}})},L=()=>{m.delete(route("hr.recruitment.job-requisitions.destroy",b.id),{onSuccess:r=>{f(!1),r.props.flash.success?o.success(e(r.props.flash.success)):r.props.flash.error&&o.error(e(r.props.flash.error))},onError:r=>{typeof r=="string"?o.error(e(r)):o.error(e("Failed to delete job requisition: {{errors}}",{errors:Object.values(r).join(", ")}))}})},R=()=>{v(""),x("_empty_"),S("_empty_"),j(!1),m.get(route("hr.recruitment.job-requisitions.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},w=[];ee(_,"create-job-requisitions")&&w.push({label:e("Add Job Requisition"),icon:a.jsx(re,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>$()});const I=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Recruitment"),href:route("hr.recruitment.job-requisitions.index")},{title:e("Job Requisitions")}],V=r=>{switch(r){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Pending Approval":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Approved":return"bg-green-50 text-green-700 ring-green-600/20";case"On Hold":return"bg-red-50 text-red-700 ring-red-600/10";case"Closed":return"bg-gray-50 text-gray-600 ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},z=r=>{switch(r){case"High":return"bg-red-50 text-red-700 ring-red-600/10";case"Medium":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Low":return"bg-gray-50 text-gray-600 ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}},G=[{key:"requisition_code",label:e("Code"),sortable:!0,render:r=>a.jsx("div",{className:"font-mono text-sm",children:r})},{key:"title",label:e("Title"),sortable:!0,render:r=>a.jsx("div",{className:"font-medium",children:r})},{key:"job_category.name",label:e("Category"),render:(r,t)=>{var s;return((s=t.job_category)==null?void 0:s.name)||"-"}},{key:"department.name",label:e("Department"),render:(r,t)=>{var s;return t.department?`${t.department.name} (${((s=t.department.branch)==null?void 0:s.name)||"No Branch"})`:"-"}},{key:"positions_count",label:e("Positions"),render:r=>r||1},{key:"status",label:e("Status"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${V(r)}`,children:e(r)})},{key:"priority",label:e("Priority"),render:r=>a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${z(r)}`,children:e(r)})},{key:"created_at",label:e("Created At"),sortable:!0,render:r=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],K=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-job-requisitions"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-job-requisitions"},{label:e("Approve"),icon:"CheckCircle",action:"approve",className:"text-green-500",requiredPermission:"approve-job-requisitions",condition:r=>r.status!=="Approved"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-job-requisitions"}],Q=[{value:"_empty_",label:e("All Statuses")},{value:"Draft",label:e("Draft")},{value:"Pending Approval",label:e("Pending Approval")},{value:"Approved",label:e("Approved")},{value:"On Hold",label:e("On Hold")},{value:"Closed",label:e("Closed")}],P=[{value:"_empty_",label:e("All Priorities")},{value:"Low",label:e("Low")},{value:"Medium",label:e("Medium")},{value:"High",label:e("High")}],U=[{value:"_empty_",label:e("Select Category")},...(A||[]).map(r=>({value:r.id.toString(),label:r.name}))],W=[{value:"_empty_",label:e("Select Department")},...(k||[]).map(r=>{var t;return{value:r.id.toString(),label:`${r.name} (${((t=r.branch)==null?void 0:t.name)||"No Branch"})`}})];return a.jsxs(X,{title:e("Job Requisitions"),url:"/hr/recruitment/job-requisitions",actions:w,breadcrumbs:I,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(ae,{searchTerm:c,onSearchChange:v,onSearch:T,filters:[{name:"status",label:e("Status"),type:"select",value:n,onChange:x,options:Q},{name:"priority",label:e("Priority"),type:"select",value:l,onChange:S,options:P}],showFilters:D,setShowFilters:j,hasActiveFilters:M,activeFilterCount:E,onResetFilters:R,onApplyFilters:C,currentPerPage:((F=p.per_page)==null?void 0:F.toString())||"10",onPerPageChange:r=>{m.get(route("hr.recruitment.job-requisitions.index"),{page:1,per_page:parseInt(r),search:c||void 0,status:n!=="_empty_"?n:void 0,priority:l!=="_empty_"?l:void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(te,{columns:G,actions:K,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:H,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:J,permissions:_,entityPermissions:{view:"view-job-requisitions",create:"create-job-requisitions",edit:"edit-job-requisitions",delete:"delete-job-requisitions"}}),a.jsx(se,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("job requisitions"),onPageChange:r=>m.get(r)})]}),a.jsx(ie,{isOpen:O,onClose:()=>d(!1),onSubmit:B,formConfig:{fields:[{name:"title",label:e("Title"),type:"text",required:!0},{name:"job_category_id",label:e("Job Category"),type:"select",required:!0,options:U.filter(r=>r.value!=="_empty_"),searchable:!0},{name:"department_id",label:e("Department"),type:"select",options:W.filter(r=>r.value!=="_empty_"),searchable:!0},{name:"positions_count",label:e("Positions"),type:"number",required:!0,min:1},{name:"budget_min",label:e("Min Budget"),type:"number",min:0,step:.01},{name:"budget_max",label:e("Max Budget"),type:"number",min:0,step:.01},{name:"priority",label:e("Priority"),type:"select",required:!0,options:P.filter(r=>r.value!=="_empty_")},{name:"skills_required",label:e("Skills Required"),type:"textarea"},{name:"education_required",label:e("Education Required"),type:"textarea"},{name:"experience_required",label:e("Experience Required"),type:"textarea"},{name:"description",label:e("Description"),type:"textarea"},{name:"responsibilities",label:e("Responsibilities"),type:"textarea"}],modalSize:"xl"},initialData:b,title:e(g==="create"?"Add New Job Requisition":g==="edit"?"Edit Job Requisition":"View Job Requisition"),mode:g}),a.jsx(oe,{isOpen:N,onClose:()=>f(!1),onConfirm:L,itemName:(b==null?void 0:b.title)||"",entityName:"job requisition"})]})}export{zt as default}; diff --git a/public/build/assets/index-Bj6jJ21X.js b/public/build/assets/index-zkqqkKBr.js similarity index 79% rename from public/build/assets/index-Bj6jJ21X.js rename to public/build/assets/index-zkqqkKBr.js index 51bbd4359..a63230aef 100644 --- a/public/build/assets/index-Bj6jJ21X.js +++ b/public/build/assets/index-zkqqkKBr.js @@ -1 +1 @@ -import{r as n,j as a}from"./ui-Z445SNHD.js";import{P as Fe}from"./page-template-BTxLyiDA.js";import{u as De,c as Ne,x as ke,P as Ae,F as Oe,g as Te,r as d,M as Ee,D as Pe,t as o}from"./app-CfhhiFAk.js";import{C as Re}from"./CrudTable-qPWooc10.js";import{C as F}from"./CrudFormModal-DAR9q-oM.js";import{C as Me}from"./CrudDeleteModal-CKTiD3_K.js";import{P as qe}from"./pagination-D8A_HnL5.js";import{S as We}from"./search-and-filter-bar-6Pp-FsiR.js";import Ue from"./view-Z7ZNWGt1.js";import{u as Ve}from"./use-initials-BK4eRgYY.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./radio-group-CLGfOEmR.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";function No(){var Q;const{t:e}=De(),{auth:f,complaints:r,complainants:X,againstEmployees:Y,hrPersonnel:g,complaintTypes:Z,filters:p={}}=Ne().props,P=(f==null?void 0:f.permissions)||[],R=Ve(),[h,M]=n.useState(p.search||""),[b,q]=n.useState(p.employee_id||""),[v,W]=n.useState(p.against_employee_id||""),[y,U]=n.useState(p.complaint_type||""),[u,V]=n.useState(p.status||"all"),[_,I]=n.useState(p.date_from||""),[x,$]=n.useState(p.date_to||""),[ee,z]=n.useState(!1),[te,N]=n.useState(!1),[se,S]=n.useState(!1),[oe,k]=n.useState(!1),[ae,A]=n.useState(!1),[ie,O]=n.useState(!1),[le,T]=n.useState(!1),[i,B]=n.useState(null),[w,H]=n.useState("create"),[E,L]=n.useState(null),re=()=>b!==""||v!==""||y!==""||u!=="all"||_!==""||x!==""||h!=="",ne=()=>(b!==""?1:0)+(v!==""?1:0)+(y!==""?1:0)+(u!=="all"?1:0)+(_!==""?1:0)+(x!==""?1:0)+(h!==""?1:0),pe=t=>{t.preventDefault(),G()},G=()=>{d.get(route("hr.complaints.index"),{page:1,search:h||void 0,employee_id:b||void 0,against_employee_id:v||void 0,complaint_type:y||void 0,status:u!=="all"?u:void 0,date_from:_||void 0,date_to:x||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},me=t=>{const s=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";d.get(route("hr.complaints.index"),{sort_field:t,sort_direction:s,page:1,search:h||void 0,employee_id:b||void 0,against_employee_id:v||void 0,complaint_type:y||void 0,status:u!=="all"?u:void 0,date_from:_||void 0,date_to:x||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},de=(t,s)=>{switch(B(s),t){case"view":L(s);break;case"edit":H("edit"),S(!0);break;case"delete":N(!0);break;case"change-status":k(!0);break;case"assign":A(!0);break;case"resolve":O(!0);break;case"follow-up":T(!0);break;case"download-document":window.open(route("hr.complaints.download-document",s.id),"_blank");break}},ue=()=>{var t,s;B({employee_id:(s=(t=f==null?void 0:f.user)==null?void 0:t.id)==null?void 0:s.toString()}),H("create"),S(!0)},ce=t=>{const s=t;w==="create"?(o.loading(e("Creating complaint...")),d.post(route("hr.complaints.store"),s,{onSuccess:l=>{S(!1),o.dismiss(),l.props.flash.success?o.success(e(l.props.flash.success)):l.props.flash.error?o.error(e(l.props.flash.error)):o.success(e("Complaint created successfully"))},onError:l=>{o.dismiss(),typeof l=="string"?o.error(l):o.error(e(`Failed to create complaint: ${Object.values(l).join(", ")}`))}})):w==="edit"&&(o.loading(e("Updating complaint...")),d.put(route("hr.complaints.update",i.id),s,{onSuccess:l=>{S(!1),o.dismiss(),l.props.flash.success?o.success(e(l.props.flash.success)):l.props.flash.error?o.error(e(l.props.flash.error)):o.success(e("Complaint updated successfully"))},onError:l=>{o.dismiss(),typeof l=="string"?o.error(l):o.error(e(`Failed to update complaint: ${Object.values(l).join(", ")}`))}}))},fe=t=>{o.loading(e("Updating complaint status...")),d.put(route("hr.complaints.change-status",i.id),t,{onSuccess:s=>{k(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error?o.error(e(s.props.flash.error)):o.success(e("Complaint status updated successfully"))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(s):o.error(e(`Failed to update complaint status: ${Object.values(s).join(", ")}`))}})},ge=t=>{o.loading(e("Assigning complaint...")),t.assigned_to==="_none_"&&(t.assigned_to=""),d.put(route("hr.complaints.assign",i.id),t,{onSuccess:s=>{A(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error?o.error(e(s.props.flash.error)):o.success(e("Complaint assigned successfully"))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(s):o.error(e(`Failed to assign complaint: ${Object.values(s).join(", ")}`))}})},he=t=>{o.loading(e("Resolving complaint...")),d.put(route("hr.complaints.resolve",i.id),t,{onSuccess:s=>{O(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error?o.error(e(s.props.flash.error)):o.success(e("Complaint resolved successfully"))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(s):o.error(e(`Failed to resolve complaint: ${Object.values(s).join(", ")}`))}})},be=t=>{o.loading(e("Updating follow-up information...")),d.put(route("hr.complaints.follow-up",i.id),t,{onSuccess:s=>{T(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error?o.error(e(s.props.flash.error)):o.success(e("Follow-up information updated successfully"))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(s):o.error(e(`Failed to update follow-up information: ${Object.values(s).join(", ")}`))}})},ve=()=>{o.loading(e("Deleting complaint...")),d.delete(route("hr.complaints.destroy",i.id),{onSuccess:t=>{N(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error?o.error(e(t.props.flash.error)):o.success(e("Complaint deleted successfully"))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(t):o.error(e(`Failed to delete complaint: ${Object.values(t).join(", ")}`))}})},ye=()=>{M(""),q(""),W(""),U(""),V("all"),I(""),$(""),z(!1),d.get(route("hr.complaints.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},J=[];ke(P,"create-complaints")&&J.push({label:e("Add Complaint"),icon:a.jsx(Ae,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ue()});const _e=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.complaints.index")},{title:e("Complaints")}],xe=[{key:"employee.name",label:e("Complainant"),render:(t,s)=>{var l,c,m,C,j;return s.is_anonymous?a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-gray-400 text-white overflow-hidden shrink-0",children:a.jsx("span",{className:"text-xs font-medium",children:"AN"})}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:e("Anonymous")}),a.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-700 ring-1 ring-inset ring-gray-600/20",children:e("Anonymous")})]})]}):a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(l=s.employee)!=null&&l.avatar?a.jsx("img",{src:s.employee.avatar,alt:(c=s.employee)==null?void 0:c.name,className:"h-full w-full object-cover"}):R(((m=s.employee)==null?void 0:m.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((C=s.employee)==null?void 0:C.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:((j=s.employee)==null?void 0:j.email)||""})]})]})}},{key:"against_employee.name",label:e("Against"),render:(t,s)=>{var l,c,m,C,j;return s.against_employee_id?a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(l=s.against_employee)!=null&&l.avatar?a.jsx("img",{src:s.against_employee.avatar,alt:(c=s.against_employee)==null?void 0:c.name,className:"h-full w-full object-cover"}):R(((m=s.against_employee)==null?void 0:m.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((C=s.against_employee)==null?void 0:C.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:((j=s.against_employee)==null?void 0:j.email)||""})]})]}):"-"}},{key:"complaint_type",label:e("Type"),render:t=>t||"-"},{key:"complaint_date",label:e("Date"),sortable:!0,render:t=>{var s;return t?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const s={submitted:"bg-blue-50 text-blue-700 ring-blue-600/20","under investigation":"bg-yellow-50 text-yellow-700 ring-yellow-600/20",resolved:"bg-green-50 text-green-700 ring-green-600/20",dismissed:"bg-red-50 text-red-700 ring-red-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"assigned_user.name",label:e("Assigned To"),render:(t,s)=>{var l;return((l=s.assigned_user)==null?void 0:l.name)||"-"}},{key:"documents",label:e("Documents"),render:(t,s)=>t&&t.trim()!==""?a.jsx("a",{href:Te(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:a.jsx(Oe,{className:"h-4 w-4"})}):"-"}],Se=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-complaints"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-complaints"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:"edit-complaints"},{label:e("Assign"),icon:"UserPlus",action:"assign",className:"text-purple-500",requiredPermission:"assign-complaints",showWhen:t=>t.status!=="resolved"&&t.status!=="dismissed"},{label:e("Resolve"),icon:"CheckCircle",action:"resolve",className:"text-indigo-500",requiredPermission:"resolve-complaints",showWhen:t=>t.status!=="resolved"&&t.status!=="dismissed"},{label:e("Follow-up"),icon:"Calendar",action:"follow-up",className:"text-teal-500",requiredPermission:"resolve-complaints",showWhen:t=>t.status==="resolved"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-complaints"}],K=[{value:"",label:e("All Employees"),disabled:!0},...(X||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],D=[{value:"",label:e("All Employees"),disabled:!0},...(Y||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],we=[{value:"",label:e("All Types"),disabled:!0},...(Z||[]).map(t=>({value:t,label:t}))],Ce=[{value:"all",label:e("All Statuses")},{value:"submitted",label:e("Submitted")},{value:"under investigation",label:e("Under Investigation")},{value:"resolved",label:e("Resolved")},{value:"dismissed",label:e("Dismissed")}],je=[{value:"Harassment",label:e("Harassment")},{value:"Discrimination",label:e("Discrimination")},{value:"Workplace Conditions",label:e("Workplace Conditions")},{value:"Bullying",label:e("Bullying")},{value:"Unfair Treatment",label:e("Unfair Treatment")},{value:"Compensation Issues",label:e("Compensation Issues")},{value:"Work Schedule",label:e("Work Schedule")},{value:"Safety Concerns",label:e("Safety Concerns")},{value:"Ethics Violation",label:e("Ethics Violation")},{value:"Management Issues",label:e("Management Issues")}];return a.jsxs(Fe,{title:e("Complaints"),url:"/hr/complaints",actions:J,breadcrumbs:_e,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(We,{searchTerm:h,onSearchChange:M,onSearch:pe,filters:[{name:"employee_id",label:e("Complainant"),type:"select",value:b,onChange:q,options:K,searchable:!0},{name:"against_employee_id",label:e("Against"),type:"select",value:v,onChange:W,options:D,searchable:!0},{name:"complaint_type",label:e("Type"),type:"select",value:y,onChange:U,options:we,searchable:!0},{name:"status",label:e("Status"),type:"select",value:u,onChange:V,options:Ce},{name:"date_from",label:e("Date From"),type:"date",value:_,onChange:I},{name:"date_to",label:e("Date To"),type:"date",value:x,onChange:$}],showFilters:ee,setShowFilters:z,hasActiveFilters:re,activeFilterCount:ne,onResetFilters:ye,onApplyFilters:G,currentPerPage:((Q=p.per_page)==null?void 0:Q.toString())||"10",onPerPageChange:t=>{d.get(route("hr.complaints.index"),{page:1,per_page:parseInt(t),search:h||void 0,employee_id:b||void 0,against_employee_id:v||void 0,complaint_type:y||void 0,status:u!=="all"?u:void 0,date_from:_||void 0,date_to:x||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Re,{columns:xe,actions:Se,data:(r==null?void 0:r.data)||[],from:(r==null?void 0:r.from)||1,onAction:de,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:me,permissions:P,entityPermissions:{view:"view-complaints",create:"create-complaints",edit:"edit-complaints",delete:"delete-complaints"}}),a.jsx(qe,{from:(r==null?void 0:r.from)||0,to:(r==null?void 0:r.to)||0,total:(r==null?void 0:r.total)||0,links:r==null?void 0:r.links,entityName:e("complaints"),onPageChange:t=>d.get(t)})]}),a.jsx(F,{isOpen:se,onClose:()=>S(!1),onSubmit:ce,formConfig:{fields:[{name:"employee_id",label:e("Complainant"),type:"select",required:!0,options:K.filter(t=>t.value!==""),searchable:!0},{name:"against_employee_id",label:e("Against"),type:"select",options:[{value:"_none_",label:e("Not Specified")},...D.filter(t=>t.value!=="")],searchable:!0,conditional:(t,s)=>(D.filter(l=>l.value!==s.employee_id&&l.value!==""),!0),render:(t,s,l)=>{const c=[{value:"_none_",label:e("Not Specified")},...D.filter(m=>m.value!==s.employee_id&&m.value!=="")];return a.jsx("select",{className:"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background",value:s[t.name]||"",onChange:m=>l(t.name,m.target.value),children:c.map(m=>a.jsx("option",{value:m.value,children:m.label},m.value))})}},{name:"complaint_type",label:e("Complaint Type"),type:"select",required:!0,options:je,searchable:!0},{name:"subject",label:e("Subject"),type:"text",required:!0},{name:"complaint_date",label:e("Complaint Date"),type:"date",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,s,l)=>a.jsx(Ee,{value:String(s[t.name]||""),onChange:c=>l(t.name,c),placeholder:e("Select document file...")})},{name:"is_anonymous",label:e("Submit Anonymously"),type:"checkbox"},...w==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"submitted",label:"Submitted"},{value:"under investigation",label:"Under Investigation"},{value:"resolved",label:"Resolved"},{value:"dismissed",label:"Dismissed"}]},{name:"assigned_to",label:e("Assigned To"),type:"select",options:[{value:"_none_",label:e("Not Assigned")},...(g==null?void 0:g.map(t=>({value:t.id.toString(),label:t.name})))||[]]},{name:"resolution_deadline",label:e("Resolution Deadline"),type:"date"},{name:"investigation_notes",label:e("Investigation Notes"),type:"textarea",showWhen:t=>["under investigation","resolved","dismissed"].includes(t.status)},{name:"resolution_action",label:e("Resolution Action"),type:"textarea",showWhen:t=>["resolved","dismissed"].includes(t.status)},{name:"resolution_date",label:e("Resolution Date"),type:"date",showWhen:t=>["resolved","dismissed"].includes(t.status)},{name:"follow_up_action",label:e("Follow-up Action"),type:"textarea",showWhen:t=>t.status==="resolved"},{name:"follow_up_date",label:e("Follow-up Date"),type:"date",showWhen:t=>t.status==="resolved"},{name:"feedback",label:e("Feedback"),type:"textarea",showWhen:t=>t.status==="resolved"}]:[]],modalSize:"lg"},initialData:i?{...i,complaint_date:i.complaint_date?window.appSettings.formatDateTimeSimple(i.complaint_date,!1):i.complaint_date}:null,title:e(w==="create"?"Add New Complaint":"Edit Complaint"),mode:w}),a.jsx(F,{isOpen:oe,onClose:()=>k(!1),onSubmit:fe,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"submitted",label:"Submitted"},{value:"under investigation",label:"Under Investigation"},{value:"resolved",label:"Resolved"},{value:"dismissed",label:"Dismissed"}],defaultValue:i==null?void 0:i.status}],modalSize:"sm"},initialData:i,title:e("Change Complaint Status"),mode:"edit"}),a.jsx(F,{isOpen:ae,onClose:()=>A(!1),onSubmit:ge,formConfig:{fields:[{name:"assigned_to",label:e("Assign To"),type:"select",required:!0,options:(g==null?void 0:g.map(t=>({value:t.id.toString(),label:t.name+" ("+t.type+")"})))||[],defaultValue:i==null?void 0:i.assigned_to},{name:"resolution_deadline",label:e("Resolution Deadline"),type:"date",defaultValue:i==null?void 0:i.resolution_deadline}],modalSize:"sm"},initialData:i,title:e("Assign Complaint"),mode:"edit"}),a.jsx(F,{isOpen:ie,onClose:()=>O(!1),onSubmit:he,formConfig:{fields:[{name:"status",label:e("Resolution Type"),type:"select",required:!0,options:[{value:"resolved",label:"Resolved"},{value:"dismissed",label:"Dismissed"}],defaultValue:"resolved"},{name:"investigation_notes",label:e("Investigation Notes"),type:"textarea",required:!0},{name:"resolution_action",label:e("Resolution Action"),type:"textarea",required:!0},{name:"resolution_date",label:e("Resolution Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"follow_up_action",label:e("Follow-up Action"),type:"textarea",showWhen:t=>t.status==="resolved"},{name:"follow_up_date",label:e("Follow-up Date"),type:"date",showWhen:t=>t.status==="resolved"&&t.follow_up_action}],modalSize:"md"},initialData:i,title:e("Resolve Complaint"),mode:"edit"}),a.jsx(F,{isOpen:le,onClose:()=>T(!1),onSubmit:be,formConfig:{fields:[{name:"follow_up_action",label:e("Follow-up Action"),type:"textarea",required:!0,defaultValue:i==null?void 0:i.follow_up_action},{name:"follow_up_date",label:e("Follow-up Date"),type:"date",required:!0,defaultValue:(i==null?void 0:i.follow_up_date)||new Date().toISOString().split("T")[0]},{name:"feedback",label:e("Feedback"),type:"textarea",defaultValue:i==null?void 0:i.feedback}],modalSize:"md"},initialData:i,title:e("Update Follow-up Information"),mode:"edit"}),a.jsx(Me,{isOpen:te,onClose:()=>N(!1),onConfirm:ve,itemName:(i==null?void 0:i.subject)||"",entityName:"complaint"}),a.jsx(Pe,{open:!!E,onOpenChange:()=>L(null),children:E&&a.jsx(Ue,{complaint:E})})]})}export{No as default}; +import{r as n,j as a}from"./ui-Z445SNHD.js";import{P as Fe}from"./page-template-CLNVC8w_.js";import{u as De,c as Ne,x as ke,P as Ae,F as Oe,g as Te,r as d,M as Ee,D as Pe,t as o}from"./app-Dya84jp7.js";import{C as Re}from"./CrudTable-yqxtM6E_.js";import{C as F}from"./CrudFormModal-CsuqSfb2.js";import{C as Me}from"./CrudDeleteModal-D32N6I8y.js";import{P as qe}from"./pagination-4PUepASD.js";import{S as We}from"./search-and-filter-bar-DWH0yn_r.js";import Ue from"./view-BIyDbRpR.js";import{u as Ve}from"./use-initials-BK4eRgYY.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./radio-group-BMzEN82K.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";function No(){var Q;const{t:e}=De(),{auth:f,complaints:r,complainants:X,againstEmployees:Y,hrPersonnel:g,complaintTypes:Z,filters:p={}}=Ne().props,P=(f==null?void 0:f.permissions)||[],R=Ve(),[h,M]=n.useState(p.search||""),[b,q]=n.useState(p.employee_id||""),[v,W]=n.useState(p.against_employee_id||""),[y,U]=n.useState(p.complaint_type||""),[u,V]=n.useState(p.status||"all"),[_,I]=n.useState(p.date_from||""),[x,$]=n.useState(p.date_to||""),[ee,z]=n.useState(!1),[te,N]=n.useState(!1),[se,S]=n.useState(!1),[oe,k]=n.useState(!1),[ae,A]=n.useState(!1),[ie,O]=n.useState(!1),[le,T]=n.useState(!1),[i,B]=n.useState(null),[w,H]=n.useState("create"),[E,L]=n.useState(null),re=()=>b!==""||v!==""||y!==""||u!=="all"||_!==""||x!==""||h!=="",ne=()=>(b!==""?1:0)+(v!==""?1:0)+(y!==""?1:0)+(u!=="all"?1:0)+(_!==""?1:0)+(x!==""?1:0)+(h!==""?1:0),pe=t=>{t.preventDefault(),G()},G=()=>{d.get(route("hr.complaints.index"),{page:1,search:h||void 0,employee_id:b||void 0,against_employee_id:v||void 0,complaint_type:y||void 0,status:u!=="all"?u:void 0,date_from:_||void 0,date_to:x||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},me=t=>{const s=p.sort_field===t&&p.sort_direction==="asc"?"desc":"asc";d.get(route("hr.complaints.index"),{sort_field:t,sort_direction:s,page:1,search:h||void 0,employee_id:b||void 0,against_employee_id:v||void 0,complaint_type:y||void 0,status:u!=="all"?u:void 0,date_from:_||void 0,date_to:x||void 0,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},de=(t,s)=>{switch(B(s),t){case"view":L(s);break;case"edit":H("edit"),S(!0);break;case"delete":N(!0);break;case"change-status":k(!0);break;case"assign":A(!0);break;case"resolve":O(!0);break;case"follow-up":T(!0);break;case"download-document":window.open(route("hr.complaints.download-document",s.id),"_blank");break}},ue=()=>{var t,s;B({employee_id:(s=(t=f==null?void 0:f.user)==null?void 0:t.id)==null?void 0:s.toString()}),H("create"),S(!0)},ce=t=>{const s=t;w==="create"?(o.loading(e("Creating complaint...")),d.post(route("hr.complaints.store"),s,{onSuccess:l=>{S(!1),o.dismiss(),l.props.flash.success?o.success(e(l.props.flash.success)):l.props.flash.error?o.error(e(l.props.flash.error)):o.success(e("Complaint created successfully"))},onError:l=>{o.dismiss(),typeof l=="string"?o.error(l):o.error(e(`Failed to create complaint: ${Object.values(l).join(", ")}`))}})):w==="edit"&&(o.loading(e("Updating complaint...")),d.put(route("hr.complaints.update",i.id),s,{onSuccess:l=>{S(!1),o.dismiss(),l.props.flash.success?o.success(e(l.props.flash.success)):l.props.flash.error?o.error(e(l.props.flash.error)):o.success(e("Complaint updated successfully"))},onError:l=>{o.dismiss(),typeof l=="string"?o.error(l):o.error(e(`Failed to update complaint: ${Object.values(l).join(", ")}`))}}))},fe=t=>{o.loading(e("Updating complaint status...")),d.put(route("hr.complaints.change-status",i.id),t,{onSuccess:s=>{k(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error?o.error(e(s.props.flash.error)):o.success(e("Complaint status updated successfully"))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(s):o.error(e(`Failed to update complaint status: ${Object.values(s).join(", ")}`))}})},ge=t=>{o.loading(e("Assigning complaint...")),t.assigned_to==="_none_"&&(t.assigned_to=""),d.put(route("hr.complaints.assign",i.id),t,{onSuccess:s=>{A(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error?o.error(e(s.props.flash.error)):o.success(e("Complaint assigned successfully"))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(s):o.error(e(`Failed to assign complaint: ${Object.values(s).join(", ")}`))}})},he=t=>{o.loading(e("Resolving complaint...")),d.put(route("hr.complaints.resolve",i.id),t,{onSuccess:s=>{O(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error?o.error(e(s.props.flash.error)):o.success(e("Complaint resolved successfully"))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(s):o.error(e(`Failed to resolve complaint: ${Object.values(s).join(", ")}`))}})},be=t=>{o.loading(e("Updating follow-up information...")),d.put(route("hr.complaints.follow-up",i.id),t,{onSuccess:s=>{T(!1),o.dismiss(),s.props.flash.success?o.success(e(s.props.flash.success)):s.props.flash.error?o.error(e(s.props.flash.error)):o.success(e("Follow-up information updated successfully"))},onError:s=>{o.dismiss(),typeof s=="string"?o.error(s):o.error(e(`Failed to update follow-up information: ${Object.values(s).join(", ")}`))}})},ve=()=>{o.loading(e("Deleting complaint...")),d.delete(route("hr.complaints.destroy",i.id),{onSuccess:t=>{N(!1),o.dismiss(),t.props.flash.success?o.success(e(t.props.flash.success)):t.props.flash.error?o.error(e(t.props.flash.error)):o.success(e("Complaint deleted successfully"))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(t):o.error(e(`Failed to delete complaint: ${Object.values(t).join(", ")}`))}})},ye=()=>{M(""),q(""),W(""),U(""),V("all"),I(""),$(""),z(!1),d.get(route("hr.complaints.index"),{page:1,per_page:p.per_page},{preserveState:!0,preserveScroll:!0})},J=[];ke(P,"create-complaints")&&J.push({label:e("Add Complaint"),icon:a.jsx(Ae,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>ue()});const _e=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.complaints.index")},{title:e("Complaints")}],xe=[{key:"employee.name",label:e("Complainant"),render:(t,s)=>{var l,c,m,C,j;return s.is_anonymous?a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-gray-400 text-white overflow-hidden shrink-0",children:a.jsx("span",{className:"text-xs font-medium",children:"AN"})}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:e("Anonymous")}),a.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-700 ring-1 ring-inset ring-gray-600/20",children:e("Anonymous")})]})]}):a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(l=s.employee)!=null&&l.avatar?a.jsx("img",{src:s.employee.avatar,alt:(c=s.employee)==null?void 0:c.name,className:"h-full w-full object-cover"}):R(((m=s.employee)==null?void 0:m.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((C=s.employee)==null?void 0:C.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:((j=s.employee)==null?void 0:j.email)||""})]})]})}},{key:"against_employee.name",label:e("Against"),render:(t,s)=>{var l,c,m,C,j;return s.against_employee_id?a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(l=s.against_employee)!=null&&l.avatar?a.jsx("img",{src:s.against_employee.avatar,alt:(c=s.against_employee)==null?void 0:c.name,className:"h-full w-full object-cover"}):R(((m=s.against_employee)==null?void 0:m.name)||"")}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((C=s.against_employee)==null?void 0:C.name)||"-"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:((j=s.against_employee)==null?void 0:j.email)||""})]})]}):"-"}},{key:"complaint_type",label:e("Type"),render:t=>t||"-"},{key:"complaint_date",label:e("Date"),sortable:!0,render:t=>{var s;return t?((s=window.appSettings)==null?void 0:s.formatDateTimeSimple(t,!1))||new Date(t).toLocaleString():"-"}},{key:"status",label:e("Status"),render:t=>{const s={submitted:"bg-blue-50 text-blue-700 ring-blue-600/20","under investigation":"bg-yellow-50 text-yellow-700 ring-yellow-600/20",resolved:"bg-green-50 text-green-700 ring-green-600/20",dismissed:"bg-red-50 text-red-700 ring-red-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s[t]||""}`,children:t.charAt(0).toUpperCase()+t.slice(1)})}},{key:"assigned_user.name",label:e("Assigned To"),render:(t,s)=>{var l;return((l=s.assigned_user)==null?void 0:l.name)||"-"}},{key:"documents",label:e("Documents"),render:(t,s)=>t&&t.trim()!==""?a.jsx("a",{href:Te(t),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-blue-700 hover:text-blue-900 transition-colors",title:e("View Document"),children:a.jsx(Oe,{className:"h-4 w-4"})}):"-"}],Se=[{label:e("View"),icon:"Eye",action:"view",className:"text-blue-500",requiredPermission:"view-complaints"},{label:e("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-complaints"},{label:e("Change Status"),icon:"RefreshCw",action:"change-status",className:"text-green-500",requiredPermission:"edit-complaints"},{label:e("Assign"),icon:"UserPlus",action:"assign",className:"text-purple-500",requiredPermission:"assign-complaints",showWhen:t=>t.status!=="resolved"&&t.status!=="dismissed"},{label:e("Resolve"),icon:"CheckCircle",action:"resolve",className:"text-indigo-500",requiredPermission:"resolve-complaints",showWhen:t=>t.status!=="resolved"&&t.status!=="dismissed"},{label:e("Follow-up"),icon:"Calendar",action:"follow-up",className:"text-teal-500",requiredPermission:"resolve-complaints",showWhen:t=>t.status==="resolved"},{label:e("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-complaints"}],K=[{value:"",label:e("All Employees"),disabled:!0},...(X||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],D=[{value:"",label:e("All Employees"),disabled:!0},...(Y||[]).map(t=>({value:t.id.toString(),label:`${t.name} (${t.employee_id})`}))],we=[{value:"",label:e("All Types"),disabled:!0},...(Z||[]).map(t=>({value:t,label:t}))],Ce=[{value:"all",label:e("All Statuses")},{value:"submitted",label:e("Submitted")},{value:"under investigation",label:e("Under Investigation")},{value:"resolved",label:e("Resolved")},{value:"dismissed",label:e("Dismissed")}],je=[{value:"Harassment",label:e("Harassment")},{value:"Discrimination",label:e("Discrimination")},{value:"Workplace Conditions",label:e("Workplace Conditions")},{value:"Bullying",label:e("Bullying")},{value:"Unfair Treatment",label:e("Unfair Treatment")},{value:"Compensation Issues",label:e("Compensation Issues")},{value:"Work Schedule",label:e("Work Schedule")},{value:"Safety Concerns",label:e("Safety Concerns")},{value:"Ethics Violation",label:e("Ethics Violation")},{value:"Management Issues",label:e("Management Issues")}];return a.jsxs(Fe,{title:e("Complaints"),url:"/hr/complaints",actions:J,breadcrumbs:_e,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx(We,{searchTerm:h,onSearchChange:M,onSearch:pe,filters:[{name:"employee_id",label:e("Complainant"),type:"select",value:b,onChange:q,options:K,searchable:!0},{name:"against_employee_id",label:e("Against"),type:"select",value:v,onChange:W,options:D,searchable:!0},{name:"complaint_type",label:e("Type"),type:"select",value:y,onChange:U,options:we,searchable:!0},{name:"status",label:e("Status"),type:"select",value:u,onChange:V,options:Ce},{name:"date_from",label:e("Date From"),type:"date",value:_,onChange:I},{name:"date_to",label:e("Date To"),type:"date",value:x,onChange:$}],showFilters:ee,setShowFilters:z,hasActiveFilters:re,activeFilterCount:ne,onResetFilters:ye,onApplyFilters:G,currentPerPage:((Q=p.per_page)==null?void 0:Q.toString())||"10",onPerPageChange:t=>{d.get(route("hr.complaints.index"),{page:1,per_page:parseInt(t),search:h||void 0,employee_id:b||void 0,against_employee_id:v||void 0,complaint_type:y||void 0,status:u!=="all"?u:void 0,date_from:_||void 0,date_to:x||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(Re,{columns:xe,actions:Se,data:(r==null?void 0:r.data)||[],from:(r==null?void 0:r.from)||1,onAction:de,sortField:p.sort_field,sortDirection:p.sort_direction,onSort:me,permissions:P,entityPermissions:{view:"view-complaints",create:"create-complaints",edit:"edit-complaints",delete:"delete-complaints"}}),a.jsx(qe,{from:(r==null?void 0:r.from)||0,to:(r==null?void 0:r.to)||0,total:(r==null?void 0:r.total)||0,links:r==null?void 0:r.links,entityName:e("complaints"),onPageChange:t=>d.get(t)})]}),a.jsx(F,{isOpen:se,onClose:()=>S(!1),onSubmit:ce,formConfig:{fields:[{name:"employee_id",label:e("Complainant"),type:"select",required:!0,options:K.filter(t=>t.value!==""),searchable:!0},{name:"against_employee_id",label:e("Against"),type:"select",options:[{value:"_none_",label:e("Not Specified")},...D.filter(t=>t.value!=="")],searchable:!0,conditional:(t,s)=>(D.filter(l=>l.value!==s.employee_id&&l.value!==""),!0),render:(t,s,l)=>{const c=[{value:"_none_",label:e("Not Specified")},...D.filter(m=>m.value!==s.employee_id&&m.value!=="")];return a.jsx("select",{className:"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background",value:s[t.name]||"",onChange:m=>l(t.name,m.target.value),children:c.map(m=>a.jsx("option",{value:m.value,children:m.label},m.value))})}},{name:"complaint_type",label:e("Complaint Type"),type:"select",required:!0,options:je,searchable:!0},{name:"subject",label:e("Subject"),type:"text",required:!0},{name:"complaint_date",label:e("Complaint Date"),type:"date",required:!0},{name:"description",label:e("Description"),type:"textarea"},{name:"documents",label:e("Documents"),type:"custom",render:(t,s,l)=>a.jsx(Ee,{value:String(s[t.name]||""),onChange:c=>l(t.name,c),placeholder:e("Select document file...")})},{name:"is_anonymous",label:e("Submit Anonymously"),type:"checkbox"},...w==="edit"?[{name:"status",label:e("Status"),type:"select",options:[{value:"submitted",label:"Submitted"},{value:"under investigation",label:"Under Investigation"},{value:"resolved",label:"Resolved"},{value:"dismissed",label:"Dismissed"}]},{name:"assigned_to",label:e("Assigned To"),type:"select",options:[{value:"_none_",label:e("Not Assigned")},...(g==null?void 0:g.map(t=>({value:t.id.toString(),label:t.name})))||[]]},{name:"resolution_deadline",label:e("Resolution Deadline"),type:"date"},{name:"investigation_notes",label:e("Investigation Notes"),type:"textarea",showWhen:t=>["under investigation","resolved","dismissed"].includes(t.status)},{name:"resolution_action",label:e("Resolution Action"),type:"textarea",showWhen:t=>["resolved","dismissed"].includes(t.status)},{name:"resolution_date",label:e("Resolution Date"),type:"date",showWhen:t=>["resolved","dismissed"].includes(t.status)},{name:"follow_up_action",label:e("Follow-up Action"),type:"textarea",showWhen:t=>t.status==="resolved"},{name:"follow_up_date",label:e("Follow-up Date"),type:"date",showWhen:t=>t.status==="resolved"},{name:"feedback",label:e("Feedback"),type:"textarea",showWhen:t=>t.status==="resolved"}]:[]],modalSize:"lg"},initialData:i?{...i,complaint_date:i.complaint_date?window.appSettings.formatDateTimeSimple(i.complaint_date,!1):i.complaint_date}:null,title:e(w==="create"?"Add New Complaint":"Edit Complaint"),mode:w}),a.jsx(F,{isOpen:oe,onClose:()=>k(!1),onSubmit:fe,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"submitted",label:"Submitted"},{value:"under investigation",label:"Under Investigation"},{value:"resolved",label:"Resolved"},{value:"dismissed",label:"Dismissed"}],defaultValue:i==null?void 0:i.status}],modalSize:"sm"},initialData:i,title:e("Change Complaint Status"),mode:"edit"}),a.jsx(F,{isOpen:ae,onClose:()=>A(!1),onSubmit:ge,formConfig:{fields:[{name:"assigned_to",label:e("Assign To"),type:"select",required:!0,options:(g==null?void 0:g.map(t=>({value:t.id.toString(),label:t.name+" ("+t.type+")"})))||[],defaultValue:i==null?void 0:i.assigned_to},{name:"resolution_deadline",label:e("Resolution Deadline"),type:"date",defaultValue:i==null?void 0:i.resolution_deadline}],modalSize:"sm"},initialData:i,title:e("Assign Complaint"),mode:"edit"}),a.jsx(F,{isOpen:ie,onClose:()=>O(!1),onSubmit:he,formConfig:{fields:[{name:"status",label:e("Resolution Type"),type:"select",required:!0,options:[{value:"resolved",label:"Resolved"},{value:"dismissed",label:"Dismissed"}],defaultValue:"resolved"},{name:"investigation_notes",label:e("Investigation Notes"),type:"textarea",required:!0},{name:"resolution_action",label:e("Resolution Action"),type:"textarea",required:!0},{name:"resolution_date",label:e("Resolution Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"follow_up_action",label:e("Follow-up Action"),type:"textarea",showWhen:t=>t.status==="resolved"},{name:"follow_up_date",label:e("Follow-up Date"),type:"date",showWhen:t=>t.status==="resolved"&&t.follow_up_action}],modalSize:"md"},initialData:i,title:e("Resolve Complaint"),mode:"edit"}),a.jsx(F,{isOpen:le,onClose:()=>T(!1),onSubmit:be,formConfig:{fields:[{name:"follow_up_action",label:e("Follow-up Action"),type:"textarea",required:!0,defaultValue:i==null?void 0:i.follow_up_action},{name:"follow_up_date",label:e("Follow-up Date"),type:"date",required:!0,defaultValue:(i==null?void 0:i.follow_up_date)||new Date().toISOString().split("T")[0]},{name:"feedback",label:e("Feedback"),type:"textarea",defaultValue:i==null?void 0:i.feedback}],modalSize:"md"},initialData:i,title:e("Update Follow-up Information"),mode:"edit"}),a.jsx(Me,{isOpen:te,onClose:()=>N(!1),onConfirm:ve,itemName:(i==null?void 0:i.subject)||"",entityName:"complaint"}),a.jsx(Pe,{open:!!E,onOpenChange:()=>L(null),children:E&&a.jsx(Ue,{complaint:E})})]})}export{No as default}; diff --git a/public/build/assets/indian-rupee-Dzf_OaiN.js b/public/build/assets/indian-rupee-CCruSHM0.js similarity index 94% rename from public/build/assets/indian-rupee-Dzf_OaiN.js rename to public/build/assets/indian-rupee-CCruSHM0.js index 9ea99a427..8227e2043 100644 --- a/public/build/assets/indian-rupee-Dzf_OaiN.js +++ b/public/build/assets/indian-rupee-CCruSHM0.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/info-D_4wnc_R.js b/public/build/assets/info-CPi9bOGM.js similarity index 88% rename from public/build/assets/info-D_4wnc_R.js rename to public/build/assets/info-CPi9bOGM.js index af7e5e329..079d991aa 100644 --- a/public/build/assets/info-D_4wnc_R.js +++ b/public/build/assets/info-CPi9bOGM.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/input-error-TZ1o_PqE.js b/public/build/assets/input-error-TZ1o_PqE.js deleted file mode 100644 index bd76f3def..000000000 --- a/public/build/assets/input-error-TZ1o_PqE.js +++ /dev/null @@ -1 +0,0 @@ -import{j as n}from"./ui-Z445SNHD.js";import{e as o}from"./app-CfhhiFAk.js";function m({message:r,className:t="",...e}){return r?n.jsx("p",{...e,className:o("text-sm text-red-600 dark:text-red-400",t),children:r}):null}export{m as I}; diff --git a/public/build/assets/input-error-eAcZLOer.js b/public/build/assets/input-error-eAcZLOer.js new file mode 100644 index 000000000..7644ba4ec --- /dev/null +++ b/public/build/assets/input-error-eAcZLOer.js @@ -0,0 +1 @@ +import{j as n}from"./ui-Z445SNHD.js";import{e as o}from"./app-Dya84jp7.js";function m({message:r,className:t="",...e}){return r?n.jsx("p",{...e,className:o("text-sm text-red-600 dark:text-red-400",t),children:r}):null}export{m as I}; diff --git a/public/build/assets/instagram-BINpUnZv.js b/public/build/assets/instagram-hxbchcd2.js similarity index 94% rename from public/build/assets/instagram-BINpUnZv.js rename to public/build/assets/instagram-hxbchcd2.js index 4a5e031b2..e09c43c65 100644 --- a/public/build/assets/instagram-BINpUnZv.js +++ b/public/build/assets/instagram-hxbchcd2.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/ip-restriction-settings-0-6ixzy_.js b/public/build/assets/ip-restriction-settings-0-6ixzy_.js deleted file mode 100644 index b13e88c2e..000000000 --- a/public/build/assets/ip-restriction-settings-0-6ixzy_.js +++ /dev/null @@ -1 +0,0 @@ -import{r as l,j as e}from"./ui-Z445SNHD.js";import{u as M,c as N,ap as O,C as E,l as F,o as D,P as v,r as u,t as i}from"./app-CfhhiFAk.js";import{C as w}from"./CrudDeleteModal-CKTiD3_K.js";import{C as T}from"./CrudFormModal-DAR9q-oM.js";import{C as _}from"./CrudTable-qPWooc10.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./switch-CKduD2wX.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./sparkles-BIbzOfb3.js";import"./briefcase-CLRn8zVu.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./calendar-days-CiPhwZgb.js";import"./calendar-CfUpdaK5.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./chevron-right-Bd9XWZHZ.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./clipboard-list-DA9ABN1f.js";import"./clock-CwFdn-oy.js";import"./code-BfjQUpEO.js";import"./coins-BDVfLngB.js";import"./copy-xfopPExK.js";import"./credit-card-BmdpMcMw.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./dollar-sign-DYXFWWsE.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./fingerprint-DTUiU2wR.js";import"./house-CL9v9Cnk.js";import"./gift-DXGdvbnX.js";import"./git-branch-B0hRoz5x.js";import"./globe-DePi6jyA.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-grid-C6MkbbLQ.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./loader-circle-wGk7YsPK.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./log-out-XdMMCWfW.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./refresh-cw-DWorkL8J.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./settings-BwhyNRyj.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./timer-Cqv8ulB-.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function ho(){const{t:r}=M(),{ipRestrictions:x=[],auth:m={}}=N().props,C=(m==null?void 0:m.permissions)||[],[k,R]=l.useState(""),[P,a]=l.useState(!1),[b,f]=l.useState(!1),[s,h]=l.useState(null),[c,j]=l.useState("create"),S=(o,p)=>{switch(h(p),o){case"edit":j("edit"),a(!0);break;case"delete":f(!0);break}},I=o=>{const p={ip_address:o.ip_address};c==="create"?u.post(route("ip-restrictions.store"),p,{onSuccess:t=>{var n,d;a(!1),(n=t.props.flash)!=null&&n.success?i.success(r(t.props.flash.success)):(d=t.props.flash)!=null&&d.error&&i.error(r(t.props.flash.error))},onError:t=>{typeof t=="string"?i.error(r(t)):i.error(r("Failed to create IP address: {{errors}}",{errors:Object.values(t).join(", ")}))}}):c==="edit"&&u.put(route("ip-restrictions.update",s==null?void 0:s.id),p,{onSuccess:t=>{var n,d;a(!1),(n=t.props.flash)!=null&&n.success?i.success(r(t.props.flash.success)):(d=t.props.flash)!=null&&d.error&&i.error(r(t.props.flash.error))},onError:t=>{typeof t=="string"?i.error(r(t)):i.error(r("Failed to update IP address: {{errors}}",{errors:Object.values(t).join(", ")}))}})},y=()=>{h(null),j("create"),a(!0)},A=()=>{s&&u.delete(route("ip-restrictions.destroy",s.id),{onSuccess:o=>{var p,t;f(!1),(p=o.props.flash)!=null&&p.success?i.success(r(o.props.flash.success)):(t=o.props.flash)!=null&&t.error&&i.error(r(o.props.flash.error))},onError:o=>{typeof o=="string"?i.error(r(o)):i.error(r("Failed to delete IP address: {{errors}}",{errors:Object.values(o).join(", ")}))}})};return e.jsxs(O,{title:r("IP Restriction Settings"),description:r("Manage allowed IP addresses for company access"),action:e.jsxs(D,{onClick:y,disabled:!((m==null?void 0:m.permissions)||[]).find(o=>o==="create-ip-restriction"),size:"sm",children:[e.jsx(v,{className:"h-4 w-4 mr-2"}),r("Add IP Address")]}),children:[e.jsx(E,{children:e.jsx(F,{className:"p-0",children:e.jsx("div",{className:"max-h-96 overflow-y-auto",children:e.jsx(_,{columns:[{key:"ip_address",label:r("IP Address"),sortable:!0,render:o=>e.jsx("span",{className:"font-mono",children:o})}],actions:[{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-ip-restriction"},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-ip-restriction"}],data:x||[],from:1,onAction:S,permissions:C,entityPermissions:{edit:"edit-ip-restriction",delete:"delete-ip-restriction"}})})})}),e.jsx(T,{isOpen:P,onClose:()=>a(!1),onSubmit:I,formConfig:{fields:[{name:"ip_address",label:r("IP Address"),type:"text",required:!0,placeholder:"192.168.1.1"}]},initialData:s,title:r(c==="create"?"Add IP Address":"Edit IP Address"),mode:c}),e.jsx(w,{isOpen:b,onClose:()=>f(!1),onConfirm:A,itemName:(s==null?void 0:s.ip_address)||"",entityName:"IP address"})]})}export{ho as default}; diff --git a/public/build/assets/ip-restriction-settings-D34h7VGk.js b/public/build/assets/ip-restriction-settings-D34h7VGk.js new file mode 100644 index 000000000..0eff23d2d --- /dev/null +++ b/public/build/assets/ip-restriction-settings-D34h7VGk.js @@ -0,0 +1 @@ +import{r as l,j as e}from"./ui-Z445SNHD.js";import{u as M,c as N,ap as O,C as E,l as F,o as D,P as v,r as u,t as i}from"./app-Dya84jp7.js";import{C as w}from"./CrudDeleteModal-D32N6I8y.js";import{C as T}from"./CrudFormModal-CsuqSfb2.js";import{C as _}from"./CrudTable-yqxtM6E_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./switch-DyHgm-Sg.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./sparkles-C1HgyvOv.js";import"./briefcase-Btn3T9V4.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./calendar-days-CURbwGg4.js";import"./calendar-DuRYaSj5.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./chevron-right-D4JxSs4d.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./clipboard-list-C-5sn1G-.js";import"./clock-LnEFQ-vK.js";import"./code-znlKMFkF.js";import"./coins-CgSV4zfi.js";import"./copy-G5cMddid.js";import"./credit-card-BKi_ThdS.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./dollar-sign-DH2Tc178.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./fingerprint-aH6d8cFa.js";import"./house-iKjbmxem.js";import"./gift-CQwwB55q.js";import"./git-branch-BmbBP1kF.js";import"./globe-5zZ4IsmY.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-grid-3SDzvK8c.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./loader-circle-BLsTZrwM.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./log-out-M0Vyot5_.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./refresh-cw-D_C_cDSu.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./settings-amvA_CjN.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./timer-BTqoLJiz.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function ho(){const{t:r}=M(),{ipRestrictions:x=[],auth:m={}}=N().props,C=(m==null?void 0:m.permissions)||[],[k,R]=l.useState(""),[P,a]=l.useState(!1),[b,f]=l.useState(!1),[s,h]=l.useState(null),[c,j]=l.useState("create"),S=(o,p)=>{switch(h(p),o){case"edit":j("edit"),a(!0);break;case"delete":f(!0);break}},I=o=>{const p={ip_address:o.ip_address};c==="create"?u.post(route("ip-restrictions.store"),p,{onSuccess:t=>{var n,d;a(!1),(n=t.props.flash)!=null&&n.success?i.success(r(t.props.flash.success)):(d=t.props.flash)!=null&&d.error&&i.error(r(t.props.flash.error))},onError:t=>{typeof t=="string"?i.error(r(t)):i.error(r("Failed to create IP address: {{errors}}",{errors:Object.values(t).join(", ")}))}}):c==="edit"&&u.put(route("ip-restrictions.update",s==null?void 0:s.id),p,{onSuccess:t=>{var n,d;a(!1),(n=t.props.flash)!=null&&n.success?i.success(r(t.props.flash.success)):(d=t.props.flash)!=null&&d.error&&i.error(r(t.props.flash.error))},onError:t=>{typeof t=="string"?i.error(r(t)):i.error(r("Failed to update IP address: {{errors}}",{errors:Object.values(t).join(", ")}))}})},y=()=>{h(null),j("create"),a(!0)},A=()=>{s&&u.delete(route("ip-restrictions.destroy",s.id),{onSuccess:o=>{var p,t;f(!1),(p=o.props.flash)!=null&&p.success?i.success(r(o.props.flash.success)):(t=o.props.flash)!=null&&t.error&&i.error(r(o.props.flash.error))},onError:o=>{typeof o=="string"?i.error(r(o)):i.error(r("Failed to delete IP address: {{errors}}",{errors:Object.values(o).join(", ")}))}})};return e.jsxs(O,{title:r("IP Restriction Settings"),description:r("Manage allowed IP addresses for company access"),action:e.jsxs(D,{onClick:y,disabled:!((m==null?void 0:m.permissions)||[]).find(o=>o==="create-ip-restriction"),size:"sm",children:[e.jsx(v,{className:"h-4 w-4 mr-2"}),r("Add IP Address")]}),children:[e.jsx(E,{children:e.jsx(F,{className:"p-0",children:e.jsx("div",{className:"max-h-96 overflow-y-auto",children:e.jsx(_,{columns:[{key:"ip_address",label:r("IP Address"),sortable:!0,render:o=>e.jsx("span",{className:"font-mono",children:o})}],actions:[{label:r("Edit"),icon:"Edit",action:"edit",className:"text-amber-500",requiredPermission:"edit-ip-restriction"},{label:r("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-ip-restriction"}],data:x||[],from:1,onAction:S,permissions:C,entityPermissions:{edit:"edit-ip-restriction",delete:"delete-ip-restriction"}})})})}),e.jsx(T,{isOpen:P,onClose:()=>a(!1),onSubmit:I,formConfig:{fields:[{name:"ip_address",label:r("IP Address"),type:"text",required:!0,placeholder:"192.168.1.1"}]},initialData:s,title:r(c==="create"?"Add IP Address":"Edit IP Address"),mode:c}),e.jsx(w,{isOpen:b,onClose:()=>f(!1),onConfirm:A,itemName:(s==null?void 0:s.ip_address)||"",entityName:"IP address"})]})}export{ho as default}; diff --git a/public/build/assets/job-details-BVmpZQPK.js b/public/build/assets/job-details-DQZE6v9J.js similarity index 95% rename from public/build/assets/job-details-BVmpZQPK.js rename to public/build/assets/job-details-DQZE6v9J.js index bf8762dfe..38a1dd943 100644 --- a/public/build/assets/job-details-BVmpZQPK.js +++ b/public/build/assets/job-details-DQZE6v9J.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as k,c as C,H as S,g as h,d as b,C as i,m as t,n as l,B as m,l as n,o as d}from"./app-CfhhiFAk.js";import{u as $,C as D,a as P}from"./use-brand-theme-CmuRtpGN.js";import{u as I}from"./use-favicon-Dgw0iu9k.js";import{S as H}from"./star-DQsTg5F1.js";import{M as _}from"./map-pin-BEMjKB1T.js";import{B as j}from"./building-Cyq-0nCs.js";import{C as A}from"./clock-CwFdn-oy.js";import{U as B}from"./users-C4LpG59H.js";import{D as L}from"./dollar-sign-DYXFWWsE.js";import{C as w}from"./calendar-CfUpdaK5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function X(){var g,y,N,u;const{t:a}=k(),{jobPosting:s,relatedJobs:o,companyId:R,companySettings:r,userSlug:x}=C().props;return I(),$(),e.jsxs(e.Fragment,{children:[e.jsx(S,{title:`${s.title} - ${a("Career Opportunities")}`,children:(r==null?void 0:r.favIcon)&&e.jsxs(e.Fragment,{children:[e.jsx("link",{rel:"icon",href:h(r.favIcon)}),e.jsx("link",{rel:"shortcut icon",href:h(r.favIcon)}),e.jsx("link",{rel:"apple-touch-icon",href:h(r.favIcon)})]})}),e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx(D,{logoOnly:!0,companySettings:r}),e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[e.jsx("div",{className:"mb-6",children:e.jsxs(b,{href:x?route("career.index",x):"/career",className:"inline-flex items-center text-blue-600 hover:text-blue-800",children:["← ",a("Back to All Jobs")]})}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsxs(i,{children:[e.jsx(t,{children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsxs(l,{className:"text-2xl font-bold text-gray-900 flex items-center gap-2",children:[s.title,s.is_featured&&e.jsx(H,{className:"h-6 w-6 text-yellow-500 fill-current"})]}),e.jsx("p",{className:"text-lg text-gray-600 mt-1",children:((g=s.branch)==null?void 0:g.name)||"General"})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(m,{variant:"outline",className:"bg-green-50 text-green-700 border-green-200",children:s.status}),s.priority==="High"&&e.jsx(m,{variant:"destructive",children:a("High Priority")})]})]})}),e.jsxs(n,{children:[e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(_,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Location")}),e.jsx("p",{className:"text-sm text-gray-600",children:((y=s.location)==null?void 0:y.name)||"Remote"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(j,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Department")}),e.jsx("p",{className:"text-sm text-gray-600",children:((N=s.department)==null?void 0:N.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(A,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Type")}),e.jsx("p",{className:"text-sm text-gray-600",children:((u=s.job_type)==null?void 0:u.name)||"Full-time"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(B,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Positions")}),e.jsx("p",{className:"text-sm text-gray-600",children:s.positions||1})]})]})]}),e.jsx("div",{className:"mb-6",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Salary Range")}),e.jsx("p",{className:"text-sm text-gray-600",children:s.min_salary&&s.max_salary?`${r.currencySymbol} ${s.min_salary} - ${r.currencySymbol} ${s.max_salary}`:a("Competitive")})]})]})}),e.jsx("div",{className:"flex justify-center",children:s.application_type==="existing"?e.jsx(d,{size:"lg",className:"px-8",onClick:()=>window.open(route("career.apply",[x,s.code]),"_blank"),children:a("Apply for this Position")}):e.jsx(d,{size:"lg",className:"px-8",onClick:()=>window.open(s.application_url,"_blank"),children:a("Apply for this Position")})})]})]}),e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{children:a("Job Description")})}),e.jsx(n,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h3:text-lg prose-p:text-gray-700 prose-p:leading-relaxed prose-ul:text-gray-700 prose-li:my-1",dangerouslySetInnerHTML:{__html:s.description}})})]}),s.requirements&&e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{children:a("Requirements")})}),e.jsx(n,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h3:text-lg prose-p:text-gray-700 prose-p:leading-relaxed prose-ul:text-gray-700 prose-li:my-1",dangerouslySetInnerHTML:{__html:s.requirements}})})]}),s.benefits&&e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{children:a("Benefits & Perks")})}),e.jsx(n,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h3:text-lg prose-p:text-gray-700 prose-p:leading-relaxed prose-ul:text-gray-700 prose-li:my-1",dangerouslySetInnerHTML:{__html:s.benefits}})})]}),s.skills&&s.skills.length>0&&e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{children:a("Required Skills")})}),e.jsx(n,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:s.skills.map((c,p)=>e.jsx(m,{variant:"secondary",className:"text-sm",children:c},p))})})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{className:"text-lg",children:a("Quick Apply")})}),e.jsxs(n,{className:"space-y-4",children:[s.application_type==="existing"?e.jsx(d,{className:"w-full",size:"lg",onClick:()=>window.open(route("career.apply",[x,s.code]),"_blank"),children:a("Apply Now")}):e.jsx(d,{className:"w-full",size:"lg",onClick:()=>window.open(s.application_url,"_blank"),children:a("Apply Now")}),e.jsx("p",{className:"text-sm text-gray-600 text-center",children:a("Application takes less than 5 minutes")})]})]}),e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{className:"text-lg",children:a("Job Information")})}),e.jsxs(n,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(w,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Posted Date")}),e.jsx("p",{className:"text-sm text-gray-600",children:new Date(s.created_at).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(w,{className:"h-5 w-5 text-red-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Application Deadline")}),e.jsx("p",{className:"text-sm text-red-600 font-medium",children:new Date(s.application_deadline).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})]})]}),(s.min_experience||s.max_experience)&&e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(j,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Experience Required")}),e.jsx("p",{className:"text-sm text-gray-600",children:s.min_experience&&s.max_experience?`${s.min_experience} - ${s.max_experience} ${a("years")}`:s.min_experience?`${s.min_experience}+ ${a("years")}`:`${s.max_experience} ${a("years")}`})]})]}),s.experience_level&&e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(j,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Experience Level")}),e.jsx("p",{className:"text-sm text-gray-600",children:s.experience_level})]})]})]})]}),o&&o.length>0&&e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{className:"text-lg",children:a("Similar Jobs")})}),e.jsx(n,{className:"space-y-4",children:o.map((c,p)=>{var f,v;return e.jsx(b,{href:route("career.job-details",[x,c.code]),children:e.jsxs("div",{className:"p-4 border rounded-lg hover:bg-gray-50 hover:border-blue-200 cursor-pointer transition-all duration-200 mb-3",children:[e.jsx("h4",{className:"font-semibold text-gray-900 mb-2",children:c.title}),e.jsx("p",{className:"text-sm text-gray-600 mb-3",children:((f=c.branch)==null?void 0:f.name)||"General"}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[e.jsx(_,{className:"h-3 w-3"}),e.jsx("span",{children:((v=c.location)==null?void 0:v.name)||"Remote"})]}),e.jsxs(m,{variant:"outline",className:"text-xs",children:[c.positions||1," ",a("Positions")]})]})]})},p)})})]})]})]})]}),e.jsx(P,{companySettings:r})]})]})}export{X as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as k,c as C,H as S,g as h,d as b,C as i,m as t,n as l,B as m,l as n,o as d}from"./app-Dya84jp7.js";import{u as $,C as D,a as P}from"./use-brand-theme-Cg8kbbAC.js";import{u as I}from"./use-favicon-B8cqaHhj.js";import{S as H}from"./star-DCkLKzoE.js";import{M as _}from"./map-pin-DFWKFR9c.js";import{B as j}from"./building-DyhEfKj4.js";import{C as A}from"./clock-LnEFQ-vK.js";import{U as B}from"./users-BzCDZrS0.js";import{D as L}from"./dollar-sign-DH2Tc178.js";import{C as w}from"./calendar-DuRYaSj5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function X(){var g,y,N,u;const{t:a}=k(),{jobPosting:s,relatedJobs:o,companyId:R,companySettings:r,userSlug:x}=C().props;return I(),$(),e.jsxs(e.Fragment,{children:[e.jsx(S,{title:`${s.title} - ${a("Career Opportunities")}`,children:(r==null?void 0:r.favIcon)&&e.jsxs(e.Fragment,{children:[e.jsx("link",{rel:"icon",href:h(r.favIcon)}),e.jsx("link",{rel:"shortcut icon",href:h(r.favIcon)}),e.jsx("link",{rel:"apple-touch-icon",href:h(r.favIcon)})]})}),e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx(D,{logoOnly:!0,companySettings:r}),e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[e.jsx("div",{className:"mb-6",children:e.jsxs(b,{href:x?route("career.index",x):"/career",className:"inline-flex items-center text-blue-600 hover:text-blue-800",children:["← ",a("Back to All Jobs")]})}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsxs(i,{children:[e.jsx(t,{children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsxs(l,{className:"text-2xl font-bold text-gray-900 flex items-center gap-2",children:[s.title,s.is_featured&&e.jsx(H,{className:"h-6 w-6 text-yellow-500 fill-current"})]}),e.jsx("p",{className:"text-lg text-gray-600 mt-1",children:((g=s.branch)==null?void 0:g.name)||"General"})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(m,{variant:"outline",className:"bg-green-50 text-green-700 border-green-200",children:s.status}),s.priority==="High"&&e.jsx(m,{variant:"destructive",children:a("High Priority")})]})]})}),e.jsxs(n,{children:[e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(_,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Location")}),e.jsx("p",{className:"text-sm text-gray-600",children:((y=s.location)==null?void 0:y.name)||"Remote"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(j,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Department")}),e.jsx("p",{className:"text-sm text-gray-600",children:((N=s.department)==null?void 0:N.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(A,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Type")}),e.jsx("p",{className:"text-sm text-gray-600",children:((u=s.job_type)==null?void 0:u.name)||"Full-time"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(B,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Positions")}),e.jsx("p",{className:"text-sm text-gray-600",children:s.positions||1})]})]})]}),e.jsx("div",{className:"mb-6",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Salary Range")}),e.jsx("p",{className:"text-sm text-gray-600",children:s.min_salary&&s.max_salary?`${r.currencySymbol} ${s.min_salary} - ${r.currencySymbol} ${s.max_salary}`:a("Competitive")})]})]})}),e.jsx("div",{className:"flex justify-center",children:s.application_type==="existing"?e.jsx(d,{size:"lg",className:"px-8",onClick:()=>window.open(route("career.apply",[x,s.code]),"_blank"),children:a("Apply for this Position")}):e.jsx(d,{size:"lg",className:"px-8",onClick:()=>window.open(s.application_url,"_blank"),children:a("Apply for this Position")})})]})]}),e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{children:a("Job Description")})}),e.jsx(n,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h3:text-lg prose-p:text-gray-700 prose-p:leading-relaxed prose-ul:text-gray-700 prose-li:my-1",dangerouslySetInnerHTML:{__html:s.description}})})]}),s.requirements&&e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{children:a("Requirements")})}),e.jsx(n,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h3:text-lg prose-p:text-gray-700 prose-p:leading-relaxed prose-ul:text-gray-700 prose-li:my-1",dangerouslySetInnerHTML:{__html:s.requirements}})})]}),s.benefits&&e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{children:a("Benefits & Perks")})}),e.jsx(n,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h3:text-lg prose-p:text-gray-700 prose-p:leading-relaxed prose-ul:text-gray-700 prose-li:my-1",dangerouslySetInnerHTML:{__html:s.benefits}})})]}),s.skills&&s.skills.length>0&&e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{children:a("Required Skills")})}),e.jsx(n,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:s.skills.map((c,p)=>e.jsx(m,{variant:"secondary",className:"text-sm",children:c},p))})})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{className:"text-lg",children:a("Quick Apply")})}),e.jsxs(n,{className:"space-y-4",children:[s.application_type==="existing"?e.jsx(d,{className:"w-full",size:"lg",onClick:()=>window.open(route("career.apply",[x,s.code]),"_blank"),children:a("Apply Now")}):e.jsx(d,{className:"w-full",size:"lg",onClick:()=>window.open(s.application_url,"_blank"),children:a("Apply Now")}),e.jsx("p",{className:"text-sm text-gray-600 text-center",children:a("Application takes less than 5 minutes")})]})]}),e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{className:"text-lg",children:a("Job Information")})}),e.jsxs(n,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(w,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Posted Date")}),e.jsx("p",{className:"text-sm text-gray-600",children:new Date(s.created_at).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(w,{className:"h-5 w-5 text-red-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Application Deadline")}),e.jsx("p",{className:"text-sm text-red-600 font-medium",children:new Date(s.application_deadline).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})]})]}),(s.min_experience||s.max_experience)&&e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(j,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Experience Required")}),e.jsx("p",{className:"text-sm text-gray-600",children:s.min_experience&&s.max_experience?`${s.min_experience} - ${s.max_experience} ${a("years")}`:s.min_experience?`${s.min_experience}+ ${a("years")}`:`${s.max_experience} ${a("years")}`})]})]}),s.experience_level&&e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(j,{className:"h-5 w-5 text-gray-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:a("Experience Level")}),e.jsx("p",{className:"text-sm text-gray-600",children:s.experience_level})]})]})]})]}),o&&o.length>0&&e.jsxs(i,{children:[e.jsx(t,{children:e.jsx(l,{className:"text-lg",children:a("Similar Jobs")})}),e.jsx(n,{className:"space-y-4",children:o.map((c,p)=>{var f,v;return e.jsx(b,{href:route("career.job-details",[x,c.code]),children:e.jsxs("div",{className:"p-4 border rounded-lg hover:bg-gray-50 hover:border-blue-200 cursor-pointer transition-all duration-200 mb-3",children:[e.jsx("h4",{className:"font-semibold text-gray-900 mb-2",children:c.title}),e.jsx("p",{className:"text-sm text-gray-600 mb-3",children:((f=c.branch)==null?void 0:f.name)||"General"}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[e.jsx(_,{className:"h-3 w-3"}),e.jsx("span",{children:((v=c.location)==null?void 0:v.name)||"Remote"})]}),e.jsxs(m,{variant:"outline",className:"text-xs",children:[c.positions||1," ",a("Positions")]})]})]})},p)})})]})]})]})]}),e.jsx(P,{companySettings:r})]})]})}export{X as default}; diff --git a/public/build/assets/joining-letter-settings-6wlzZ749.js b/public/build/assets/joining-letter-settings-Dg8J1HvK.js similarity index 90% rename from public/build/assets/joining-letter-settings-6wlzZ749.js rename to public/build/assets/joining-letter-settings-Dg8J1HvK.js index 00c95e7d8..015566aef 100644 --- a/public/build/assets/joining-letter-settings-6wlzZ749.js +++ b/public/build/assets/joining-letter-settings-Dg8J1HvK.js @@ -1,4 +1,4 @@ -import{r as o,j as e}from"./ui-Z445SNHD.js";import{u as k,c as J,ap as P,C as T,m as D,l as E,L as h,al as x,s as f,v as j,w as y,o as M,y as R,r as I,t as i}from"./app-CfhhiFAk.js";import{S as F,a as B,b as H,c as O,d as U}from"./select-BrY9osYp.js";import{R as V}from"./rich-text-editor-6rkrWVFe.js";import{R as W}from"./react-country-flag.esm-Bs2jngHP.js";import{I as b}from"./info-D_4wnc_R.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./unlink-BUU37FwK.js";import"./list-D0MAUZMV.js";import"./quote-CVpLTvYv.js";import"./link-Bv_VEBSZ.js";import"./code-BfjQUpEO.js";function le({templates:l=[]}){const{t:r}=k(),{globalSettings:d}=J().props,v=(d==null?void 0:d.availableLanguages)||[],[t,N]=o.useState("en"),[m,c]=o.useState(""),[u,p]=o.useState(!1),[C,g]=o.useState(0),S=(()=>{const s=l.find(a=>a.language===t);return s!=null&&s.variables?(typeof s.variables=="string"?JSON.parse(s.variables):s.variables).map(n=>({key:n.replace(/_/g," ").replace(/\b\w/g,_=>_.toUpperCase()),label:`{${n}}`})):[{key:"Date",label:"{date}"},{key:"Company Name",label:"{company_name}"},{key:"Employee Name",label:"{employee_name}"},{key:"Designation",label:"{designation}"},{key:"Joining Date",label:"{joining_date}"},{key:"Salary",label:"{salary}"},{key:"Department",label:"{department}"}]})(),w=` +import{r as o,j as e}from"./ui-Z445SNHD.js";import{u as k,c as J,ap as P,C as T,m as D,l as E,L as h,al as x,s as f,v as j,w as y,o as M,y as R,r as I,t as i}from"./app-Dya84jp7.js";import{S as F,a as B,b as H,c as O,d as U}from"./select-CHkpLxhL.js";import{R as V}from"./rich-text-editor-uObNYFW4.js";import{R as W}from"./react-country-flag.esm-Bs2jngHP.js";import{I as b}from"./info-CPi9bOGM.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./unlink-BLQWL2NW.js";import"./list-C_2fG_BT.js";import"./quote-BmDTOIsR.js";import"./link-DXJwkkHX.js";import"./code-znlKMFkF.js";function le({templates:l=[]}){const{t:r}=k(),{globalSettings:d}=J().props,v=(d==null?void 0:d.availableLanguages)||[],[t,N]=o.useState("en"),[m,c]=o.useState(""),[u,p]=o.useState(!1),[C,g]=o.useState(0),S=(()=>{const s=l.find(a=>a.language===t);return s!=null&&s.variables?(typeof s.variables=="string"?JSON.parse(s.variables):s.variables).map(n=>({key:n.replace(/_/g," ").replace(/\b\w/g,_=>_.toUpperCase()),label:`{${n}}`})):[{key:"Date",label:"{date}"},{key:"Company Name",label:"{company_name}"},{key:"Employee Name",label:"{employee_name}"},{key:"Designation",label:"{designation}"},{key:"Joining Date",label:"{joining_date}"},{key:"Salary",label:"{salary}"},{key:"Department",label:"{department}"}]})(),w=`

Joining Letter

Date: {date}

diff --git a/public/build/assets/layers-Dl67CG9c.js b/public/build/assets/layers-OK3_pizJ.js similarity index 92% rename from public/build/assets/layers-Dl67CG9c.js rename to public/build/assets/layers-OK3_pizJ.js index b5e798341..6d0493766 100644 --- a/public/build/assets/layers-Dl67CG9c.js +++ b/public/build/assets/layers-OK3_pizJ.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/layout-grid-C6MkbbLQ.js b/public/build/assets/layout-grid-3SDzvK8c.js similarity index 91% rename from public/build/assets/layout-grid-C6MkbbLQ.js rename to public/build/assets/layout-grid-3SDzvK8c.js index b3a0daa76..787b34ad6 100644 --- a/public/build/assets/layout-grid-C6MkbbLQ.js +++ b/public/build/assets/layout-grid-3SDzvK8c.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/layout-list-BgC0E-xE.js b/public/build/assets/layout-list-Cqn_SURh.js similarity index 92% rename from public/build/assets/layout-list-BgC0E-xE.js rename to public/build/assets/layout-list-Cqn_SURh.js index 92d48802e..e20a4ba1b 100644 --- a/public/build/assets/layout-list-BgC0E-xE.js +++ b/public/build/assets/layout-list-Cqn_SURh.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/lightbulb-BGgHG47R.js b/public/build/assets/lightbulb-BaPQrzRp.js similarity index 90% rename from public/build/assets/lightbulb-BGgHG47R.js rename to public/build/assets/lightbulb-BaPQrzRp.js index ca6d776c4..c070133e3 100644 --- a/public/build/assets/lightbulb-BGgHG47R.js +++ b/public/build/assets/lightbulb-BaPQrzRp.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/link-2-CqlWBpzI.js b/public/build/assets/link-2-oaQNJJAj.js similarity index 89% rename from public/build/assets/link-2-CqlWBpzI.js rename to public/build/assets/link-2-oaQNJJAj.js index ee9307bf2..a30774bb0 100644 --- a/public/build/assets/link-2-CqlWBpzI.js +++ b/public/build/assets/link-2-oaQNJJAj.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/link-Bv_VEBSZ.js b/public/build/assets/link-DXJwkkHX.js similarity index 90% rename from public/build/assets/link-Bv_VEBSZ.js rename to public/build/assets/link-DXJwkkHX.js index 0b7a22c33..7d171d353 100644 --- a/public/build/assets/link-Bv_VEBSZ.js +++ b/public/build/assets/link-DXJwkkHX.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/list-D0MAUZMV.js b/public/build/assets/list-C_2fG_BT.js similarity index 91% rename from public/build/assets/list-D0MAUZMV.js rename to public/build/assets/list-C_2fG_BT.js index 7e88f3182..9d7b72c31 100644 --- a/public/build/assets/list-D0MAUZMV.js +++ b/public/build/assets/list-C_2fG_BT.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/loader-circle-wGk7YsPK.js b/public/build/assets/loader-circle-BLsTZrwM.js similarity index 86% rename from public/build/assets/loader-circle-wGk7YsPK.js rename to public/build/assets/loader-circle-BLsTZrwM.js index 248629918..dffa7085c 100644 --- a/public/build/assets/loader-circle-wGk7YsPK.js +++ b/public/build/assets/loader-circle-BLsTZrwM.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/locate-fixed-DbvcuJ_9.js b/public/build/assets/locate-fixed-BEb8vcRf.js similarity index 92% rename from public/build/assets/locate-fixed-DbvcuJ_9.js rename to public/build/assets/locate-fixed-BEb8vcRf.js index 96e7b2c35..6f86755a8 100644 --- a/public/build/assets/locate-fixed-DbvcuJ_9.js +++ b/public/build/assets/locate-fixed-BEb8vcRf.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/lock-By6rMOj7.js b/public/build/assets/lock-DaHvMEII.js similarity index 88% rename from public/build/assets/lock-By6rMOj7.js rename to public/build/assets/lock-DaHvMEII.js index 4c5abe4cd..1c213b795 100644 --- a/public/build/assets/lock-By6rMOj7.js +++ b/public/build/assets/lock-DaHvMEII.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/lock-open-Bohob0Q8.js b/public/build/assets/lock-open-wwRKX_jV.js similarity index 97% rename from public/build/assets/lock-open-Bohob0Q8.js rename to public/build/assets/lock-open-wwRKX_jV.js index 2bdbb4c49..1e5f58804 100644 --- a/public/build/assets/lock-open-Bohob0Q8.js +++ b/public/build/assets/lock-open-wwRKX_jV.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/log-in-DDjMW0xI.js b/public/build/assets/log-in-3L4UHGsD.js similarity index 90% rename from public/build/assets/log-in-DDjMW0xI.js rename to public/build/assets/log-in-3L4UHGsD.js index 47c36cc8e..c4613c7c6 100644 --- a/public/build/assets/log-in-DDjMW0xI.js +++ b/public/build/assets/log-in-3L4UHGsD.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/log-out-XdMMCWfW.js b/public/build/assets/log-out-M0Vyot5_.js similarity index 90% rename from public/build/assets/log-out-XdMMCWfW.js rename to public/build/assets/log-out-M0Vyot5_.js index f3134a61d..1f24c1b0f 100644 --- a/public/build/assets/log-out-XdMMCWfW.js +++ b/public/build/assets/log-out-M0Vyot5_.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/login-DjOYwzo6.js b/public/build/assets/login-CA90gCGa.js similarity index 92% rename from public/build/assets/login-DjOYwzo6.js rename to public/build/assets/login-CA90gCGa.js index 92db5762d..c38a6bda7 100644 --- a/public/build/assets/login-DjOYwzo6.js +++ b/public/build/assets/login-CA90gCGa.js @@ -1 +1 @@ -import{r as u,j as e}from"./ui-Z445SNHD.js";import{u as S,a as I,c as A,b as R,L as x,I as v,T,i as q,r as a}from"./app-CfhhiFAk.js";import{I as h}from"./input-error-TZ1o_PqE.js";import{T as C}from"./text-link-CgVy1bNC.js";import{C as B}from"./checkbox-1_Cig_g5.js";import{A as D}from"./auth-layout-ISq1MRqV.js";import{R as H}from"./recaptcha-D-hXS7fB.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./use-favicon-Dgw0iu9k.js";import"./credit-card-BmdpMcMw.js";function ne({status:k,canResetPassword:N,demoBusinesses:O=[]}){var f,j;const{t:o}=S(),[t,l]=u.useState(""),[i,b]=u.useState({}),{themeColor:g,customColor:E}=I(),r=g==="custom"?E:T[g],{props:y}=A(),d=(f=y.globalSettings)==null?void 0:f.is_saas,c=(j=y.globalSettings)==null?void 0:j.is_demo,{data:n,setData:m,post:P,processing:w,errors:p,reset:L}=R({email:"",password:"",remember:!1});u.useEffect(()=>{c&&m({email:"company@example.com",password:"password",remember:!1})},[c]);const _=s=>{s.preventDefault(),b({}),a.post(route("login"),{email:n.email,password:n.password,remember:n.remember,recaptcha_token:t},{onFinish:()=>L("password"),preserveState:!0,preserveScroll:!0,onError:F=>{b(F)}})};return e.jsx(D,{title:o("Log in to your account"),description:o("Enter your credentials to access your account"),status:k,children:e.jsxs("form",{className:"space-y-5",onSubmit:_,children:[e.jsxs("div",{className:"mb-4",children:[e.jsx(x,{htmlFor:"email",className:"block text-sm font-medium text-gray-900",children:o("Email address")}),e.jsx(v,{id:"email",type:"email",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"email",value:n.email,onChange:s=>m("email",s.target.value),placeholder:"Enter your email",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:s=>s.target.style.borderColor=r,onBlur:s=>s.target.style.borderColor="rgb(209 213 219)"}),e.jsx(h,{message:i.email||p.email})]}),e.jsxs("div",{className:"mb-4",children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx(x,{htmlFor:"password",className:"block text-sm font-medium text-gray-900",children:o("Password")}),N&&e.jsx(C,{href:route("password.request"),className:"text-sm no-underline hover:underline hover:underline-primary",style:{color:r},tabIndex:5,children:o("Forgot password?")})]}),e.jsx(v,{id:"password",type:"password",required:!0,tabIndex:2,autoComplete:"current-password",value:n.password,onChange:s=>m("password",s.target.value),placeholder:"Enter your password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400",onFocus:s=>s.target.style.borderColor=r,onBlur:s=>s.target.style.borderColor="rgb(209 213 219)"}),e.jsx(h,{message:i.password||p.password})]}),e.jsxs("div",{className:"flex items-center !mt-4 !mb-5",children:[e.jsx(B,{id:"remember",name:"remember",checked:n.remember,onClick:()=>m("remember",!n.remember),tabIndex:3,className:"w-[14px] h-[14px] border border-gray-300 rounded"}),e.jsx(x,{htmlFor:"remember",className:"ml-2 text-sm text-gray-600",children:o("Remember me")})]}),e.jsx(H,{onVerify:s=>{l(s)},onExpired:()=>l(""),onError:()=>l("")}),e.jsx(h,{message:i.recaptcha_token||p.recaptcha_token}),e.jsx("button",{type:"submit",disabled:w,tabIndex:4,className:"cursor-pointer w-full text-white py-2.5 text-sm font-medium tracking-wide transition-all duration-200 rounded-md shadow-md hover:shadow-lg transform hover:scale-[1.02] disabled:opacity-50",style:{backgroundColor:r},children:o(w?"Signing in...":"Login")}),d&&q()&&e.jsx("div",{className:"text-center",children:e.jsxs("p",{className:"text-sm text-gray-500",children:[o("Don't have an account?")," ",e.jsx(C,{href:route("register"),className:"font-medium hover:underline",style:{color:r},tabIndex:6,children:o("Sign up")})]})}),c&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"my-5",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-1 h-px bg-gray-200"}),e.jsx("div",{className:"w-2 h-2 rotate-45 mx-4",style:{backgroundColor:r}}),e.jsx("div",{className:"flex-1 h-px bg-gray-200"})]})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 tracking-wider mb-4 text-center",children:o("Quick Access")}),e.jsx("div",{className:"grid grid-cols-2 gap-3",children:d?e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"superadmin@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login as Super Admin")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"company@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login as Company")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"maggie93@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As HR")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"qwaters@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As Employee")})]}):e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"company@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As Company")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"hr@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As HR")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"employee@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer col-span-2 py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As Employee")})]})})]})]})]})})}export{ne as default}; +import{r as u,j as e}from"./ui-Z445SNHD.js";import{u as S,a as I,c as A,b as R,L as x,I as v,T,i as q,r as a}from"./app-Dya84jp7.js";import{I as h}from"./input-error-eAcZLOer.js";import{T as C}from"./text-link-Qbn0vFC1.js";import{C as B}from"./checkbox-BLrehV38.js";import{A as D}from"./auth-layout-CuYQAqvO.js";import{R as H}from"./recaptcha-DWdHEy2a.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";import"./CookieConsentBanner-dwye0O-l.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./use-favicon-B8cqaHhj.js";import"./credit-card-BKi_ThdS.js";function ne({status:k,canResetPassword:N,demoBusinesses:O=[]}){var f,j;const{t:o}=S(),[t,l]=u.useState(""),[i,b]=u.useState({}),{themeColor:g,customColor:E}=I(),r=g==="custom"?E:T[g],{props:y}=A(),d=(f=y.globalSettings)==null?void 0:f.is_saas,c=(j=y.globalSettings)==null?void 0:j.is_demo,{data:n,setData:m,post:P,processing:w,errors:p,reset:L}=R({email:"",password:"",remember:!1});u.useEffect(()=>{c&&m({email:"company@example.com",password:"password",remember:!1})},[c]);const _=s=>{s.preventDefault(),b({}),a.post(route("login"),{email:n.email,password:n.password,remember:n.remember,recaptcha_token:t},{onFinish:()=>L("password"),preserveState:!0,preserveScroll:!0,onError:F=>{b(F)}})};return e.jsx(D,{title:o("Log in to your account"),description:o("Enter your credentials to access your account"),status:k,children:e.jsxs("form",{className:"space-y-5",onSubmit:_,children:[e.jsxs("div",{className:"mb-4",children:[e.jsx(x,{htmlFor:"email",className:"block text-sm font-medium text-gray-900",children:o("Email address")}),e.jsx(v,{id:"email",type:"email",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"email",value:n.email,onChange:s=>m("email",s.target.value),placeholder:"Enter your email",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:s=>s.target.style.borderColor=r,onBlur:s=>s.target.style.borderColor="rgb(209 213 219)"}),e.jsx(h,{message:i.email||p.email})]}),e.jsxs("div",{className:"mb-4",children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx(x,{htmlFor:"password",className:"block text-sm font-medium text-gray-900",children:o("Password")}),N&&e.jsx(C,{href:route("password.request"),className:"text-sm no-underline hover:underline hover:underline-primary",style:{color:r},tabIndex:5,children:o("Forgot password?")})]}),e.jsx(v,{id:"password",type:"password",required:!0,tabIndex:2,autoComplete:"current-password",value:n.password,onChange:s=>m("password",s.target.value),placeholder:"Enter your password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400",onFocus:s=>s.target.style.borderColor=r,onBlur:s=>s.target.style.borderColor="rgb(209 213 219)"}),e.jsx(h,{message:i.password||p.password})]}),e.jsxs("div",{className:"flex items-center !mt-4 !mb-5",children:[e.jsx(B,{id:"remember",name:"remember",checked:n.remember,onClick:()=>m("remember",!n.remember),tabIndex:3,className:"w-[14px] h-[14px] border border-gray-300 rounded"}),e.jsx(x,{htmlFor:"remember",className:"ml-2 text-sm text-gray-600",children:o("Remember me")})]}),e.jsx(H,{onVerify:s=>{l(s)},onExpired:()=>l(""),onError:()=>l("")}),e.jsx(h,{message:i.recaptcha_token||p.recaptcha_token}),e.jsx("button",{type:"submit",disabled:w,tabIndex:4,className:"cursor-pointer w-full text-white py-2.5 text-sm font-medium tracking-wide transition-all duration-200 rounded-md shadow-md hover:shadow-lg transform hover:scale-[1.02] disabled:opacity-50",style:{backgroundColor:r},children:o(w?"Signing in...":"Login")}),d&&q()&&e.jsx("div",{className:"text-center",children:e.jsxs("p",{className:"text-sm text-gray-500",children:[o("Don't have an account?")," ",e.jsx(C,{href:route("register"),className:"font-medium hover:underline",style:{color:r},tabIndex:6,children:o("Sign up")})]})}),c&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"my-5",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex-1 h-px bg-gray-200"}),e.jsx("div",{className:"w-2 h-2 rotate-45 mx-4",style:{backgroundColor:r}}),e.jsx("div",{className:"flex-1 h-px bg-gray-200"})]})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 tracking-wider mb-4 text-center",children:o("Quick Access")}),e.jsx("div",{className:"grid grid-cols-2 gap-3",children:d?e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"superadmin@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login as Super Admin")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"company@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login as Company")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"maggie93@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As HR")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"qwaters@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As Employee")})]}):e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"company@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As Company")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"hr@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As HR")}),e.jsx("button",{type:"button",onClick:()=>{a.post(route("login"),{email:"employee@example.com",password:"password",remember:!1,recaptcha_token:t})},className:"cursor-pointer col-span-2 py-2 px-4 border text-[13px] font-medium text-white transition-all duration-200 rounded-md shadow-sm hover:shadow-md transform hover:scale-[1.02]",style:{backgroundColor:r,borderColor:r},children:o("Login As Employee")})]})})]})]})]})})}export{ne as default}; diff --git a/public/build/assets/mail-CGIE7ZEy.js b/public/build/assets/mail-Cha_PX4q.js similarity index 89% rename from public/build/assets/mail-CGIE7ZEy.js rename to public/build/assets/mail-Cha_PX4q.js index afe2f8d58..44d8385b5 100644 --- a/public/build/assets/mail-CGIE7ZEy.js +++ b/public/build/assets/mail-Cha_PX4q.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/manage-language-DAJxJI26.js b/public/build/assets/manage-language-BcTjK0GJ.js similarity index 80% rename from public/build/assets/manage-language-DAJxJI26.js rename to public/build/assets/manage-language-BcTjK0GJ.js index 44c65963b..86a1a8d51 100644 --- a/public/build/assets/manage-language-DAJxJI26.js +++ b/public/build/assets/manage-language-BcTjK0GJ.js @@ -1 +1 @@ -import{r as l,j as a}from"./ui-Z445SNHD.js";import{P as q}from"./page-template-BTxLyiDA.js";import{u as X,c as B,t as o,o as S,r as b,e as H,C as K,I as w}from"./app-CfhhiFAk.js";import{S as I}from"./scroll-area-Dxv7Ysgl.js";import{R as _}from"./react-country-flag.esm-Bs2jngHP.js";import{C as $}from"./CrudDeleteModal-CKTiD3_K.js";import{B as E}from"./ban-61sP3ZVw.js";import{E as J}from"./eye--FVGKpVp.js";import{T as W}from"./trash-2-C1NR_7Ss.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Me(){var v,L;const{t:r}=X(),{languages:i,defaultLang:c,defaultData:u,globalSettings:g}=B().props,d=(g==null?void 0:g.is_demo)||!1,[n,D]=l.useState(c),[C,m]=l.useState(u),[T,p]=l.useState(!1),[N,f]=l.useState(!1),[h,F]=l.useState(""),[A,x]=l.useState(!1);l.useEffect(()=>{D(c)},[c]),l.useEffect(()=>{if(n===c&&Object.keys(u).length>0){m(u);return}p(!0),fetch(`${route("language.load")}?lang=${n}`).then(e=>e.json()).then(e=>{e.data?m(e.data):m({}),p(!1)}).catch(()=>{m({}),p(!1),o.error(r("Failed to load language file"))})},[n,c,u,r]);const O=(e,s)=>{m(t=>({...t,[e]:s}))},R=e=>{var s;return e&&e.preventDefault(),f(!0),fetch(route("language.save"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((s=document.querySelector('meta[name="csrf-token"]'))==null?void 0:s.getAttribute("content"))||"",Accept:"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify({_method:"PATCH",lang:n,data:C})}).then(t=>t.json()).then(t=>{t.success?o.success(t.success):t.error?d&&t.message?o.error(t.message):o.error(t.error):d&&t.message?o.error(t.message):o.success(r("Language updated successfully")),f(!1)}).catch(t=>{console.error("Save error:",t),o.error(r("Failed to update language file")),f(!1)}),!1},k=()=>{var e;fetch(route("languages.toggle",{languageCode:n}),{method:"PATCH",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((e=document.querySelector('meta[name="csrf-token"]'))==null?void 0:e.getAttribute("content"))||"",Accept:"application/json"}}).then(s=>s.json()).then(s=>{s.success?(o.success(s.message||r("Language status updated successfully")),window.location.reload()):d&&s.message?o.error(s.message):o.error(s.error||r("Failed to update language status"))}).catch(s=>{console.error("Error:",s),o.error(r("Failed to update language status"))})},M=()=>{x(!0)},P=()=>{var e;x(!1),fetch(route("languages.delete",{languageCode:n}),{method:"DELETE",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((e=document.querySelector('meta[name="csrf-token"]'))==null?void 0:e.getAttribute("content"))||"",Accept:"application/json"}}).then(s=>s.json()).then(s=>{if(s.success){o.success(s.message||r("Language deleted successfully"));const t=i.filter(j=>j.code!==n),y=t.find(j=>j.code==="en")||t[0];y?b.get(route("manage-language",{lang:y.code})):b.get(route("manage-language"))}else d&&s.message?o.error(s.message):o.error(s.error||r("Failed to delete language"))}).catch(s=>{console.error("Error:",s),o.error(r("Failed to delete language"))})};return a.jsxs(q,{title:r("Manage Language"),description:"Manage language translations",url:"/manage-language",actions:n!=="en"?(()=>{const e=i.find(t=>t.code===n),s=(e==null?void 0:e.enabled)===!1;return[{label:r(s?"Enable Language":"Disable Language"),icon:s?a.jsx(J,{className:"h-4 w-4"}):a.jsx(E,{className:"h-4 w-4"}),variant:s?"secondary":"outline",onClick:k},{label:r("Delete Language"),icon:a.jsx(W,{className:"h-4 w-4"}),variant:"destructive",onClick:M}]})():[],children:[a.jsxs("div",{className:"flex flex-col md:flex-row gap-8",children:[a.jsx("div",{className:"md:w-64 flex-shrink-0",children:a.jsx("div",{className:"sticky top-20",children:a.jsx(I,{className:"h-[calc(100vh-5rem)]",children:a.jsx("div",{className:"pr-4 space-y-1",children:i.map(e=>{const s=e.enabled===!1;return a.jsxs(S,{variant:"ghost",className:H("w-full justify-start",{"bg-muted font-medium":n===e.code,"opacity-60":s}),onClick:()=>{n!==e.code&&b.get(route("manage-language",{lang:e.code}))},children:[e.countryCode&&a.jsx(_,{countryCode:e.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}}),a.jsx("span",{className:"flex-1",children:e.name}),s&&a.jsx(E,{className:"h-4 w-4 text-muted-foreground"})]},e.code)})})})})}),a.jsx("div",{className:"flex-1",children:a.jsxs(K,{className:"p-6",children:[a.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between mb-4 gap-2",children:[a.jsxs("h2",{className:"text-lg font-semibold",children:[r("Edit Labels for")," ",(v=i.find(e=>e.code===n))==null?void 0:v.name]}),a.jsx(w,{placeholder:r("Search labels..."),value:h,onChange:e=>F(e.target.value),className:"w-full md:w-72"})]}),T?a.jsx("div",{children:r("Loading...")}):a.jsx("form",{onSubmit:e=>(e.preventDefault(),R(e),!1),children:a.jsxs("div",{className:"space-y-4",children:[a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:Object.entries(C).filter(([e,s])=>e.toLowerCase().includes(h.toLowerCase())||s.toLowerCase().includes(h.toLowerCase())).map(([e,s])=>a.jsxs("div",{className:"flex flex-col gap-1",children:[a.jsx("label",{className:"text-xs text-muted-foreground truncate mb-1",children:e}),a.jsx(w,{className:"w-full",value:s,onChange:t=>O(e,t.target.value)})]},e))}),a.jsx("div",{className:"pt-6 text-right",children:a.jsx(S,{type:"submit",disabled:N,children:N?a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"animate-spin h-4 w-4 border-2 border-t-transparent border-primary rounded-full"}),r("Saving...")]}):r("Save Changes")})})]})})]})})]}),a.jsx($,{isOpen:A,onClose:()=>x(!1),onConfirm:P,itemName:((L=i.find(e=>e.code===n))==null?void 0:L.name)||"",entityName:r("Language")})]})}export{Me as default}; +import{r as l,j as a}from"./ui-Z445SNHD.js";import{P as q}from"./page-template-CLNVC8w_.js";import{u as X,c as B,t as o,o as S,r as b,e as H,C as K,I as w}from"./app-Dya84jp7.js";import{S as I}from"./scroll-area-T2TE8oKI.js";import{R as _}from"./react-country-flag.esm-Bs2jngHP.js";import{C as $}from"./CrudDeleteModal-D32N6I8y.js";import{B as E}from"./ban-BM0r7XNR.js";import{E as J}from"./eye-CCNnMtu4.js";import{T as W}from"./trash-2-BeirBLIk.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Me(){var v,L;const{t:r}=X(),{languages:i,defaultLang:c,defaultData:u,globalSettings:g}=B().props,d=(g==null?void 0:g.is_demo)||!1,[n,D]=l.useState(c),[C,m]=l.useState(u),[T,p]=l.useState(!1),[N,f]=l.useState(!1),[h,F]=l.useState(""),[A,x]=l.useState(!1);l.useEffect(()=>{D(c)},[c]),l.useEffect(()=>{if(n===c&&Object.keys(u).length>0){m(u);return}p(!0),fetch(`${route("language.load")}?lang=${n}`).then(e=>e.json()).then(e=>{e.data?m(e.data):m({}),p(!1)}).catch(()=>{m({}),p(!1),o.error(r("Failed to load language file"))})},[n,c,u,r]);const O=(e,s)=>{m(t=>({...t,[e]:s}))},R=e=>{var s;return e&&e.preventDefault(),f(!0),fetch(route("language.save"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((s=document.querySelector('meta[name="csrf-token"]'))==null?void 0:s.getAttribute("content"))||"",Accept:"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify({_method:"PATCH",lang:n,data:C})}).then(t=>t.json()).then(t=>{t.success?o.success(t.success):t.error?d&&t.message?o.error(t.message):o.error(t.error):d&&t.message?o.error(t.message):o.success(r("Language updated successfully")),f(!1)}).catch(t=>{console.error("Save error:",t),o.error(r("Failed to update language file")),f(!1)}),!1},k=()=>{var e;fetch(route("languages.toggle",{languageCode:n}),{method:"PATCH",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((e=document.querySelector('meta[name="csrf-token"]'))==null?void 0:e.getAttribute("content"))||"",Accept:"application/json"}}).then(s=>s.json()).then(s=>{s.success?(o.success(s.message||r("Language status updated successfully")),window.location.reload()):d&&s.message?o.error(s.message):o.error(s.error||r("Failed to update language status"))}).catch(s=>{console.error("Error:",s),o.error(r("Failed to update language status"))})},M=()=>{x(!0)},P=()=>{var e;x(!1),fetch(route("languages.delete",{languageCode:n}),{method:"DELETE",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((e=document.querySelector('meta[name="csrf-token"]'))==null?void 0:e.getAttribute("content"))||"",Accept:"application/json"}}).then(s=>s.json()).then(s=>{if(s.success){o.success(s.message||r("Language deleted successfully"));const t=i.filter(j=>j.code!==n),y=t.find(j=>j.code==="en")||t[0];y?b.get(route("manage-language",{lang:y.code})):b.get(route("manage-language"))}else d&&s.message?o.error(s.message):o.error(s.error||r("Failed to delete language"))}).catch(s=>{console.error("Error:",s),o.error(r("Failed to delete language"))})};return a.jsxs(q,{title:r("Manage Language"),description:"Manage language translations",url:"/manage-language",actions:n!=="en"?(()=>{const e=i.find(t=>t.code===n),s=(e==null?void 0:e.enabled)===!1;return[{label:r(s?"Enable Language":"Disable Language"),icon:s?a.jsx(J,{className:"h-4 w-4"}):a.jsx(E,{className:"h-4 w-4"}),variant:s?"secondary":"outline",onClick:k},{label:r("Delete Language"),icon:a.jsx(W,{className:"h-4 w-4"}),variant:"destructive",onClick:M}]})():[],children:[a.jsxs("div",{className:"flex flex-col md:flex-row gap-8",children:[a.jsx("div",{className:"md:w-64 flex-shrink-0",children:a.jsx("div",{className:"sticky top-20",children:a.jsx(I,{className:"h-[calc(100vh-5rem)]",children:a.jsx("div",{className:"pr-4 space-y-1",children:i.map(e=>{const s=e.enabled===!1;return a.jsxs(S,{variant:"ghost",className:H("w-full justify-start",{"bg-muted font-medium":n===e.code,"opacity-60":s}),onClick:()=>{n!==e.code&&b.get(route("manage-language",{lang:e.code}))},children:[e.countryCode&&a.jsx(_,{countryCode:e.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}}),a.jsx("span",{className:"flex-1",children:e.name}),s&&a.jsx(E,{className:"h-4 w-4 text-muted-foreground"})]},e.code)})})})})}),a.jsx("div",{className:"flex-1",children:a.jsxs(K,{className:"p-6",children:[a.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between mb-4 gap-2",children:[a.jsxs("h2",{className:"text-lg font-semibold",children:[r("Edit Labels for")," ",(v=i.find(e=>e.code===n))==null?void 0:v.name]}),a.jsx(w,{placeholder:r("Search labels..."),value:h,onChange:e=>F(e.target.value),className:"w-full md:w-72"})]}),T?a.jsx("div",{children:r("Loading...")}):a.jsx("form",{onSubmit:e=>(e.preventDefault(),R(e),!1),children:a.jsxs("div",{className:"space-y-4",children:[a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:Object.entries(C).filter(([e,s])=>e.toLowerCase().includes(h.toLowerCase())||s.toLowerCase().includes(h.toLowerCase())).map(([e,s])=>a.jsxs("div",{className:"flex flex-col gap-1",children:[a.jsx("label",{className:"text-xs text-muted-foreground truncate mb-1",children:e}),a.jsx(w,{className:"w-full",value:s,onChange:t=>O(e,t.target.value)})]},e))}),a.jsx("div",{className:"pt-6 text-right",children:a.jsx(S,{type:"submit",disabled:N,children:N?a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"animate-spin h-4 w-4 border-2 border-t-transparent border-primary rounded-full"}),r("Saving...")]}):r("Save Changes")})})]})})]})})]}),a.jsx($,{isOpen:A,onClose:()=>x(!1),onConfirm:P,itemName:((L=i.find(e=>e.code===n))==null?void 0:L.name)||"",entityName:r("Language")})]})}export{Me as default}; diff --git a/public/build/assets/map-pin-BEMjKB1T.js b/public/build/assets/map-pin-DFWKFR9c.js similarity index 90% rename from public/build/assets/map-pin-BEMjKB1T.js rename to public/build/assets/map-pin-DFWKFR9c.js index 539229c3b..f88366b5c 100644 --- a/public/build/assets/map-pin-BEMjKB1T.js +++ b/public/build/assets/map-pin-DFWKFR9c.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/media-library-CVnwKZ3E.js b/public/build/assets/media-library-BLmhvmu9.js similarity index 94% rename from public/build/assets/media-library-CVnwKZ3E.js rename to public/build/assets/media-library-BLmhvmu9.js index 18943f537..8ce8cc417 100644 --- a/public/build/assets/media-library-CVnwKZ3E.js +++ b/public/build/assets/media-library-BLmhvmu9.js @@ -1 +1 @@ -import{r as c,j as e}from"./ui-Z445SNHD.js";import{P as Ue}from"./page-template-BTxLyiDA.js";import{u as Re,c as Ie,J as n,P as z,C as Z,l as Q,o as d,B as k,x as E,I as Y,S as ue,ac as A,D as pe,h as ge,j as je,k as Ne,U as we}from"./app-CfhhiFAk.js";import{D as Oe,a as Pe,b as Xe,c as w,d as ee}from"./CookieConsentBanner-Do3n0EfV.js";import{H as Be,F as He,G as We}from"./house-CL9v9Cnk.js";import{F as qe}from"./sparkles-BIbzOfb3.js";import{L as $e}from"./list-D0MAUZMV.js";import{H as se}from"./hard-drive-B_Mpft6K.js";import{C as be}from"./calendar-CfUpdaK5.js";import{I as Ke}from"./info-D_4wnc_R.js";import{C as ve}from"./copy-xfopPExK.js";import{D as Ve}from"./download-Bk1k2_dW.js";import{T as Ge}from"./trash-2-C1NR_7Ss.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-wGk7YsPK.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./settings-BwhyNRyj.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./switch-CKduD2wX.js";function Os(){var he,fe;const{t}=Re(),{csrf_token:C,auth:T}=Ie().props,D=(T==null?void 0:T.permissions)||[],[te,b]=c.useState([]),[U,R]=c.useState([]),[ae,ye]=c.useState([]),[h,re]=c.useState(null),[u,S]=c.useState([]),[ke,le]=c.useState(!1),[x,Ce]=c.useState(""),[p,M]=c.useState(1),[De,F]=c.useState(!1),[ie,I]=c.useState(!1),[v,O]=c.useState(!1),[ne,P]=c.useState(!1),[X,B]=c.useState(""),[H,oe]=c.useState("grid"),[W,g]=c.useState("date"),[q,j]=c.useState("desc"),[Se,$]=c.useState(!1),[o,Me]=c.useState(null),_=12,ce=async()=>{if(X.trim())try{const s=await fetch(route("api.media.directories.create"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":C},body:JSON.stringify({name:X})}),a=await s.json();s.ok?(n.success(a.message||t("Directory created successfully")),B(""),P(!1),K()):a.errors&&Array.isArray(a.errors)?a.errors.forEach(r=>n.error(r)):n.error(a.error||a.message||t("Failed to create directory"))}catch{n.error(t("Network error: Failed to create directory"))}},K=c.useCallback(async()=>{le(!0);try{const s=await fetch(route("api.media.index"),{credentials:"same-origin",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);const a=await s.json(),r=Array.isArray(a.media)?a.media:[];if(R(r),ye(a.directories||[]),h){const i=new URLSearchParams;i.append("directory_id",h.toString());const l=await fetch(`${route("api.media.index")}?${i}`,{credentials:"same-origin",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});if(l.ok){const m=await l.json(),f=Array.isArray(m.media)?m.media:[];b(f),S(f)}else b(r),S(r)}else b(r),S(r)}catch(s){console.error("Failed to load media:",s),n.error("Failed to load media")}finally{le(!1)}},[h]);c.useEffect(()=>{K()},[K]),c.useEffect(()=>{let s=te.filter(a=>a.name.toLowerCase().includes(x.toLowerCase())||a.file_name.toLowerCase().includes(x.toLowerCase()));s=s.sort((a,r)=>{let i,l;switch(W){case"name":i=a.name.toLowerCase(),l=r.name.toLowerCase();break;case"date":i=new Date(a.created_at).getTime(),l=new Date(r.created_at).getTime();break;case"size":i=a.size,l=r.size;break;case"type":i=a.mime_type,l=r.mime_type;break;default:i=new Date(a.created_at).getTime(),l=new Date(r.created_at).getTime()}return q==="asc"?i>l?1:-1:i{I(!0);const a=Array.from(s);if(a.length===0){I(!1);return}const r=new FormData;a.forEach(i=>{r.append("files[]",i)}),h&&r.append("directory_id",h.toString());try{const i=await fetch(route("api.media.batch"),{method:"POST",body:r,credentials:"same-origin",headers:{"X-CSRF-TOKEN":C,"X-Requested-With":"XMLHttpRequest"}}),l=await i.json();i.ok?(b(m=>[...l.data,...m]),R(m=>[...l.data,...m]),n.success(l.message),l.errors&&l.errors.length>0&&l.errors.forEach(m=>{n.error(m)})):(l.errors&&Array.isArray(l.errors)?l.errors.forEach(m=>{n.error(m)}):l.message?n.error(l.message):n.error(t("Failed to upload files")),l.allowed_types&&n.error(t("Allowed types: {{types}}",{types:l.allowed_types})),l.max_size_mb&&n.error(t("Max file size: {{size}} MB",{size:l.max_size_mb})))}catch{n.error("Error uploading files")}I(!1),F(!1)},V=s=>{s.preventDefault(),s.stopPropagation(),s.type==="dragenter"||s.type==="dragover"?O(!0):s.type==="dragleave"&&O(!1)},Fe=s=>{s.preventDefault(),s.stopPropagation(),O(!1),s.dataTransfer.files&&s.dataTransfer.files[0]&&de(s.dataTransfer.files)},_e=async s=>{try{const a=await fetch(route("api.media.destroy",s),{method:"DELETE",credentials:"same-origin",headers:{"X-CSRF-TOKEN":C,"X-Requested-With":"XMLHttpRequest"}}),r=await a.json();a.ok?(b(i=>i.filter(l=>l.id!==s)),R(i=>i.filter(l=>l.id!==s)),n.success(r.message||t("Media deleted successfully"))):r.errors&&Array.isArray(r.errors)?r.errors.forEach(i=>n.error(i)):n.error(r.error||r.message||t("Failed to delete media"))}catch{n.error(t("Error deleting media"))}},me=s=>{navigator.clipboard.writeText(s),n.success("Image URL copied to clipboard")},Le=async(s,a)=>{try{const r=await fetch(route("api.media.download",s),{credentials:"same-origin",headers:{"X-CSRF-TOKEN":C,"X-Requested-With":"XMLHttpRequest"}});if(!r.ok){const f=await r.json();f.errors&&Array.isArray(f.errors)?f.errors.forEach(Te=>n.error(Te)):n.error(f.error||f.message||t("Download failed"));return}const i=await r.blob(),l=window.URL.createObjectURL(i),m=document.createElement("a");m.href=l,m.download=a,document.body.appendChild(m),m.click(),document.body.removeChild(m),window.URL.revokeObjectURL(l),n.success(t("Download started"))}catch{n.error(t("Download failed: Network error"))}},xe=s=>{Me(s),$(!0)},y=s=>{if(s===0)return"0 Bytes";const a=1024,r=["Bytes","KB","MB","GB"],i=Math.floor(Math.log(s)/Math.log(a));return parseFloat((s/Math.pow(a,i)).toFixed(2))+" "+r[i]},G=s=>s.startsWith("image/")?e.jsx(A,{className:"h-4 w-4"}):s.includes("pdf")?e.jsx("div",{className:"h-4 w-4 bg-red-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"PDF"}):s.includes("word")||s.includes("document")?e.jsx("div",{className:"h-4 w-4 bg-blue-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"DOC"}):s.includes("csv")||s.includes("spreadsheet")?e.jsx("div",{className:"h-4 w-4 bg-green-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"CSV"}):s.startsWith("video/")?e.jsx("div",{className:"h-4 w-4 bg-purple-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"VID"}):s.startsWith("audio/")?e.jsx("div",{className:"h-4 w-4 bg-orange-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"AUD"}):e.jsx("div",{className:"h-4 w-4 bg-gray-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"FILE"}),N=Math.ceil(u.length/_),L=(p-1)*_,J=u.slice(L,L+_),ze=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Media Library")}],Ee=[{label:t("Upload Media"),icon:e.jsx(z,{className:"h-4 w-4"}),variant:"default",onClick:()=>F(!0)}],Ae=()=>`${{name:t("Name"),date:t("Date"),size:t("Size"),type:t("Type")}[W]} ${q==="asc"?"↑":"↓"}`;return e.jsxs(Ue,{title:t("Media Library"),url:"/examples/media-library-demo",breadcrumbs:ze,actions:Ee,children:[e.jsxs("div",{className:"flex flex-col lg:flex-row gap-4 lg:gap-6",children:[e.jsx("div",{className:"w-full md:w-72 lg:w-80 xl:w-64 lg:flex-shrink-0",children:e.jsx(Z,{className:"lg:h-[calc(100vh-12rem)] flex flex-col",children:e.jsxs(Q,{className:"p-0 flex flex-col h-full",children:[e.jsxs("div",{className:"p-4 border-b",children:[e.jsx("h3",{className:"text-sm font-semibold text-muted-foreground tracking-wide mb-3",children:t("Quick Access")}),e.jsx("div",{className:"space-y-1",children:e.jsxs(d,{variant:h===null?"secondary":"ghost",size:"sm",className:"w-full justify-start h-9 text-sm px-3",onClick:()=>re(null),children:[e.jsx(Be,{className:"h-4 w-4 mr-2 flex-shrink-0"}),e.jsx("span",{className:"truncate flex-1 text-left min-w-0",children:t("All Files")}),e.jsx(k,{variant:"outline",className:"ml-2 text-xs flex-shrink-0 min-w-[2rem] justify-center",children:U.length})]})})]}),e.jsxs("div",{className:"p-4 border-b flex-1 min-h-0",children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsx("h3",{className:"text-sm font-semibold text-muted-foreground tracking-wide",children:t("Folders")}),E(D,"create-media-directories")&&e.jsx(d,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>P(!0),children:e.jsx(z,{className:"h-3 w-3"})})]}),ne&&e.jsxs("div",{className:"mb-3 space-y-2",children:[e.jsx(Y,{placeholder:t("Folder name..."),value:X,onChange:s=>B(s.target.value),onKeyPress:s=>s.key==="Enter"&&ce(),className:"h-8 text-sm"}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(d,{onClick:ce,size:"sm",className:"h-7 text-xs px-3 flex-1",children:t("Create")}),e.jsx(d,{variant:"outline",size:"sm",className:"h-7 text-xs px-3 flex-1",onClick:()=>{P(!1),B("")},children:t("Cancel")})]})]}),e.jsxs("div",{className:"space-y-1 overflow-y-auto max-h-[40vh] lg:max-h-[calc(100vh-32rem)] pr-1 scrollbar-thin scrollbar-thumb-muted scrollbar-track-transparent",children:[ae.map(s=>{const a=U.filter(r=>r.directory_id===s.id).length;return E(D,"manage-media-directories")&&e.jsxs(d,{variant:h===s.id?"secondary":"ghost",size:"sm",className:"w-full justify-start h-9 text-sm px-3",onClick:()=>re(s.id),title:s.name,children:[h===s.id?e.jsx(He,{className:"h-4 w-4 mr-2 flex-shrink-0"}):e.jsx(qe,{className:"h-4 w-4 mr-2 flex-shrink-0"}),e.jsx("span",{className:"truncate flex-1 text-left min-w-0",children:s.name}),e.jsx(k,{variant:"outline",className:"ml-2 text-xs flex-shrink-0 min-w-[2rem] justify-center",children:a})]},s.id)}),ae.length===0&&!ne&&e.jsx("p",{className:"text-xs text-muted-foreground text-center py-4",children:t("No folders yet")})]})]}),e.jsxs("div",{className:"p-4",children:[e.jsx("h3",{className:"text-sm font-semibold text-muted-foreground tracking-wide mb-3",children:t("Storage")}),e.jsx("div",{className:"space-y-2",children:e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsx("span",{className:"text-muted-foreground",children:t("Used")}),e.jsx("span",{className:"font-medium",children:y(U.reduce((s,a)=>s+a.size,0))})]})})]})]})})}),e.jsxs("div",{className:"flex-1 flex flex-col min-w-0 overflow-hidden",children:[e.jsx(Z,{className:"mb-4 flex-shrink-0",children:e.jsx(Q,{className:"p-3 lg:p-4",children:e.jsxs("div",{className:"flex flex-col lg:flex-row gap-3 lg:gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"relative max-w-full lg:max-w-sm",children:[e.jsx(ue,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground h-4 w-4"}),e.jsx(Y,{placeholder:t("Search media files..."),value:x,onChange:s=>Ce(s.target.value),className:"pl-10 h-9 lg:h-10"})]}),x&&e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:t('Showing results for "{{term}}"',{term:x})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("div",{className:"flex items-center border rounded-md",children:[e.jsx(d,{variant:H==="grid"?"default":"ghost",size:"sm",className:"h-8 px-2",onClick:()=>oe("grid"),children:e.jsx(We,{className:"h-4 w-4"})}),e.jsx(d,{variant:H==="list"?"default":"ghost",size:"sm",className:"h-8 px-2",onClick:()=>oe("list"),children:e.jsx($e,{className:"h-4 w-4"})})]}),e.jsxs(Oe,{children:[e.jsx(Pe,{asChild:!0,children:e.jsx(d,{variant:"outline",size:"sm",className:"h-8",children:Ae()})}),e.jsxs(Xe,{align:"end",children:[e.jsxs(w,{onClick:()=>{g("name"),j("asc")},children:[t("Name")," (A-Z)"]}),e.jsxs(w,{onClick:()=>{g("name"),j("desc")},children:[t("Name")," (Z-A)"]}),e.jsx(ee,{}),e.jsxs(w,{onClick:()=>{g("date"),j("desc")},children:[t("Date")," (",t("Newest"),")"]}),e.jsxs(w,{onClick:()=>{g("date"),j("asc")},children:[t("Date")," (",t("Oldest"),")"]}),e.jsx(ee,{}),e.jsxs(w,{onClick:()=>{g("size"),j("desc")},children:[t("Size")," (",t("Largest"),")"]}),e.jsxs(w,{onClick:()=>{g("size"),j("asc")},children:[t("Size")," (",t("Smallest"),")"]}),e.jsx(ee,{}),e.jsx(w,{onClick:()=>{g("type"),j("asc")},children:t("Type")})]})]})]}),e.jsxs("div",{className:"flex flex-wrap gap-3 lg:gap-6 items-center",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"p-1.5 bg-primary/10 rounded-md",children:e.jsx(A,{className:"h-4 w-4 text-primary"})}),e.jsxs("span",{className:"text-xs lg:text-sm font-semibold",children:[u.length," ",t("Files")]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"p-1.5 bg-green-500/10 rounded-md",children:e.jsx(se,{className:"h-4 w-4 text-green-600"})}),e.jsx("span",{className:"text-xs lg:text-sm font-semibold",children:y(u.reduce((s,a)=>s+a.size,0))})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"p-1.5 bg-blue-500/10 rounded-md",children:e.jsx(A,{className:"h-4 w-4 text-blue-600"})}),e.jsxs("span",{className:"text-xs lg:text-sm font-semibold",children:[u.filter(s=>s.mime_type.startsWith("image/")).length," ",t("Images")]})]})]})]})})}),e.jsx(Z,{className:"flex-1 flex flex-col min-h-0 lg:h-[calc(100vh-20rem)]",children:e.jsx(Q,{className:"p-3 lg:p-6 flex flex-col h-full overflow-hidden bg-[#F0F0F1] dark:bg-gray-800",children:ke?e.jsxs("div",{className:"text-center py-12",children:[e.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:t("Loading media...")})]}):J.length===0?e.jsxs("div",{className:"text-center py-8 lg:py-16",children:[e.jsx("div",{className:"mx-auto w-16 h-16 lg:w-24 lg:h-24 bg-muted rounded-full flex items-center justify-center mb-4",children:e.jsx(A,{className:"h-8 w-8 lg:h-10 lg:w-10 text-muted-foreground"})}),e.jsx("h3",{className:"text-base lg:text-lg font-semibold mb-2",children:t("No media files found")}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4 lg:mb-6",children:x?t('No results found for "{{term}}"',{term:x}):t("Get started by uploading your first media file")}),!x&&e.jsxs(d,{onClick:()=>F(!0),size:"lg",children:[e.jsx(z,{className:"h-4 w-4 mr-2"}),t("Upload Media")]})]}):e.jsxs("div",{className:"flex flex-col h-full",children:[e.jsx("div",{className:"flex-1 min-h-0 overflow-hidden",children:H==="grid"?e.jsx("div",{className:"h-full overflow-y-auto pr-2",children:e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6 gap-3 lg:gap-4",children:J.map(s=>{var a,r;return e.jsxs("div",{className:"group relative bg-card border rounded-lg overflow-hidden hover:shadow-md transition-all duration-200",children:[e.jsxs("div",{className:"relative aspect-square bg-muted flex items-center justify-center cursor-pointer",onClick:()=>xe(s),children:[s.mime_type.startsWith("image/")?e.jsx("img",{src:s.thumb_url,alt:s.name,className:"w-full h-full object-cover",onError:i=>{i.currentTarget.src=s.url}}):e.jsxs("div",{className:"flex flex-col items-center justify-center p-4",children:[e.jsx("div",{className:"mb-2 text-2xl",children:G(s.mime_type)}),e.jsx("div",{className:"text-xs text-center font-medium text-muted-foreground truncate w-full",children:((a=s.mime_type.split("/")[1])==null?void 0:a.toUpperCase())||"FILE"})]}),e.jsx("div",{className:"absolute inset-0 bg-black/0 hover:bg-black/10 transition-all duration-200 flex items-center justify-center",children:e.jsx("div",{className:"opacity-0 hover:opacity-100 transition-opacity duration-200",children:e.jsx("div",{className:"bg-white/90 backdrop-blur-sm rounded-full p-2",children:e.jsx(ue,{className:"h-4 w-4 text-gray-700"})})})}),e.jsx("div",{className:"absolute top-2 left-2",children:e.jsx(k,{variant:"secondary",className:"text-xs bg-background/95",children:s.mime_type.split("/")[1].toUpperCase()})})]}),e.jsxs("div",{className:"p-3 space-y-2",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium truncate",title:s.name,children:s.name}),e.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1 mt-1",children:[e.jsx(se,{className:"h-3 w-3"}),y(s.size)]})]}),e.jsx("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(be,{className:"h-3 w-3"}),((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.created_at,!1))||new Date(s.created_at).toLocaleDateString()]})})]})]},s.id)})})}):e.jsx("div",{className:"h-full overflow-y-auto",style:{maxHeight:"calc(100vh - 28rem)"},children:e.jsx("div",{className:"space-y-3 p-2",children:J.map(s=>{var a;return e.jsxs("div",{className:"flex items-center gap-3 p-4 border rounded-lg hover:shadow-sm transition-all duration-200 bg-card cursor-pointer",onClick:()=>xe(s),children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 bg-muted rounded-md flex items-center justify-center",children:s.mime_type.startsWith("image/")?e.jsx("img",{src:s.thumb_url,alt:s.name,className:"w-full h-full object-cover rounded-md",onError:r=>{r.currentTarget.src=s.url}}):G(s.mime_type)}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h3",{className:"text-sm font-medium truncate",title:s.name,children:s.name}),e.jsx(k,{variant:"secondary",className:"text-xs flex-shrink-0",children:s.mime_type.split("/")[1].toUpperCase()})]}),e.jsxs("div",{className:"flex items-center gap-4 text-xs text-muted-foreground mt-1",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(se,{className:"h-3 w-3"}),y(s.size)]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(be,{className:"h-3 w-3"}),((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(s.created_at,!1))||new Date(s.created_at).toLocaleDateString()]})]})]})]},s.id)})})})}),N>1&&e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-4 pt-6 border-t mt-6",children:[e.jsxs("div",{className:"text-sm text-muted-foreground",children:[t("Showing")," ",e.jsx("span",{className:"font-semibold",children:L+1})," ",t("to")," ",e.jsx("span",{className:"font-semibold",children:Math.min(L+_,u.length)})," ",t("of")," ",e.jsx("span",{className:"font-semibold",children:u.length})," ",t("files")]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(d,{variant:"outline",size:"sm",disabled:p===1,onClick:()=>M(s=>Math.max(s-1,1)),children:t("Previous")}),e.jsx("div",{className:"flex gap-1",children:Array.from({length:Math.min(N,5)},(s,a)=>{let r;return N<=5||p<=3?r=a+1:p>=N-2?r=N-4+a:r=p-2+a,e.jsx(d,{variant:p===r?"default":"outline",size:"sm",className:"w-10 h-8",onClick:()=>M(r),children:r},r)})}),e.jsx(d,{variant:"outline",size:"sm",disabled:p===N,onClick:()=>M(s=>Math.min(s+1,N)),children:t("Next")})]})]})]})})})]})]}),e.jsx(pe,{open:De,onOpenChange:F,children:e.jsxs(ge,{className:"max-w-lg mx-4 sm:mx-auto",children:[e.jsx(je,{children:e.jsxs(Ne,{className:"flex items-center gap-2",children:[e.jsx(we,{className:"h-5 w-5"}),t("Upload Media Files")]})}),e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:`relative border-2 border-dashed rounded-xl p-6 sm:p-12 text-center transition-all duration-200 ${v?"border-blue-500 bg-blue-50 scale-[1.02]":"border-gray-300 hover:border-gray-400 hover:bg-gray-50"}`,onDragEnter:V,onDragLeave:V,onDragOver:V,onDrop:Fe,children:[e.jsxs("div",{className:`transition-all duration-200 ${v?"scale-110":""}`,children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mb-4",children:e.jsx(we,{className:`h-8 w-8 transition-colors ${v?"text-blue-500":"text-gray-400"}`})}),e.jsx("h3",{className:"text-lg font-medium mb-2",children:t(v?"Drop files here":"Upload your images")}),e.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:t("Drag and drop your images here, or click to browse")}),e.jsx(Y,{type:"file",multiple:!0,onChange:s=>s.target.files&&de(s.target.files),className:"hidden",id:"file-upload-modal"}),e.jsx(d,{type:"button",onClick:()=>{var s;return(s=document.getElementById("file-upload-modal"))==null?void 0:s.click()},disabled:ie,size:"lg",children:ie?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-white mr-2"}),t("Uploading...")]}):e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"h-4 w-4 mr-2"}),t("Choose Files")]})})]}),v&&e.jsx("div",{className:"absolute inset-0 bg-blue-500/10 rounded-xl"})]})})]})}),e.jsx(pe,{open:Se,onOpenChange:$,children:e.jsxs(ge,{className:"max-w-[95vw] sm:max-w-[90vw] md:max-w-4xl lg:max-w-5xl xl:max-w-6xl mx-auto h-[95vh] p-0 overflow-hidden",children:[e.jsx(je,{className:"p-3 sm:p-4 md:p-6 pb-0",children:e.jsxs(Ne,{className:"flex items-center gap-2 text-sm sm:text-base md:text-lg",children:[e.jsx(Ke,{className:"h-4 w-4 sm:h-5 sm:w-5"}),t("Media Details")]})}),o&&e.jsxs("div",{className:"flex flex-col lg:flex-row lg:h-[calc(95vh-4rem)] overflow-hidden",children:[e.jsx("div",{className:"flex-1 flex items-center justify-center bg-[#F0F0F1] dark:bg-gray-800 p-3 sm:p-4 md:p-6 min-h-[200px] sm:min-h-[250px] md:min-h-[300px] lg:min-h-0 max-h-[40vh] lg:max-h-none overflow-hidden",children:o.mime_type.startsWith("image/")?e.jsx("img",{src:o.url,alt:o.name,className:"max-w-full max-h-full object-contain rounded-lg shadow-lg",onError:s=>{s.currentTarget.src=o.thumb_url}}):e.jsxs("div",{className:"flex flex-col items-center justify-center h-full w-full",children:[e.jsx("div",{className:"mb-4 sm:mb-6 text-4xl sm:text-6xl md:text-8xl",children:G(o.mime_type)}),e.jsx("div",{className:"text-base sm:text-lg md:text-xl font-medium text-muted-foreground",children:((he=o.mime_type.split("/")[1])==null?void 0:he.toUpperCase())||"FILE"}),e.jsx("div",{className:"text-xs sm:text-sm text-muted-foreground mt-1 sm:mt-2 px-4 text-center",children:o.name})]})}),e.jsx("div",{className:"w-full lg:w-80 xl:w-96 border-t lg:border-t-0 lg:border-l bg-background p-3 sm:p-4 md:p-6 overflow-y-auto max-h-[45vh] lg:max-h-none lg:h-full pb-8",children:e.jsxs("div",{className:"space-y-4 sm:space-y-5 md:space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm sm:text-base md:text-lg font-semibold mb-3 sm:mb-4",children:t("File Information")}),e.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("File Name")}),e.jsx("p",{className:"text-xs sm:text-sm mt-1 break-all",title:o.file_name,children:o.file_name})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("Display Name")}),e.jsx("p",{className:"text-xs sm:text-sm mt-1",children:o.name})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("File Type")}),e.jsx("div",{className:"mt-1",children:e.jsx(k,{variant:"secondary",className:"text-xs",children:o.mime_type})})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("File Size")}),e.jsx("p",{className:"text-xs sm:text-sm mt-1",children:y(o.size)})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("Upload Date")}),e.jsx("p",{className:"text-xs sm:text-sm mt-1",children:((fe=window.appSettings)==null?void 0:fe.formatDateTimeSimple(o.created_at,!1))||new Date(o.created_at).toLocaleDateString()})]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground block mb-2",children:t("File URL")}),e.jsxs("div",{className:"flex items-center gap-1.5 sm:gap-2 p-2 sm:p-3 bg-muted rounded-md",children:[e.jsx("code",{className:"text-[10px] sm:text-xs text-muted-foreground flex-1 break-all",children:o.url}),e.jsx(d,{size:"sm",variant:"ghost",onClick:()=>me(o.url),className:"h-7 w-7 sm:h-8 sm:w-8 p-0 flex-shrink-0",children:e.jsx(ve,{className:"h-3 w-3 sm:h-4 sm:w-4"})})]})]}),e.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[e.jsx("h3",{className:"text-sm sm:text-base md:text-lg font-semibold",children:t("Actions")}),e.jsxs(d,{onClick:()=>me(o.url),className:"w-full justify-start h-9 sm:h-10 text-xs sm:text-sm",variant:"outline",children:[e.jsx(ve,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4 mr-2"}),t("Copy Link")]}),E(D,"download-media")&&e.jsxs(d,{onClick:()=>Le(o.id,o.file_name),className:"w-full justify-start h-9 sm:h-10 text-xs sm:text-sm",variant:"outline",children:[e.jsx(Ve,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4 mr-2"}),t("Download")]}),E(D,"delete-media")&&e.jsxs(d,{onClick:()=>{_e(o.id),$(!1)},className:"w-full justify-start h-9 sm:h-10 text-xs sm:text-sm",variant:"destructive",children:[e.jsx(Ge,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4 mr-2"}),t("Delete File")]})]})]})})]})]})})]})}export{Os as default}; +import{r as c,j as e}from"./ui-Z445SNHD.js";import{P as Ue}from"./page-template-CLNVC8w_.js";import{u as Re,c as Ie,J as n,P as z,C as Z,l as Q,o as d,B as k,x as E,I as Y,S as ue,ac as A,D as pe,h as ge,j as je,k as Ne,U as we}from"./app-Dya84jp7.js";import{D as Oe,a as Pe,b as Xe,c as w,d as ee}from"./CookieConsentBanner-dwye0O-l.js";import{H as Be,F as He,G as We}from"./house-iKjbmxem.js";import{F as qe}from"./sparkles-C1HgyvOv.js";import{L as $e}from"./list-C_2fG_BT.js";import{H as se}from"./hard-drive-7VwcRvWp.js";import{C as be}from"./calendar-DuRYaSj5.js";import{I as Ke}from"./info-CPi9bOGM.js";import{C as ve}from"./copy-G5cMddid.js";import{D as Ve}from"./download-BBNmalxc.js";import{T as Ge}from"./trash-2-BeirBLIk.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-BLsTZrwM.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./settings-amvA_CjN.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./switch-DyHgm-Sg.js";function Os(){var he,fe;const{t}=Re(),{csrf_token:C,auth:T}=Ie().props,D=(T==null?void 0:T.permissions)||[],[te,b]=c.useState([]),[U,R]=c.useState([]),[ae,ye]=c.useState([]),[h,re]=c.useState(null),[u,S]=c.useState([]),[ke,le]=c.useState(!1),[x,Ce]=c.useState(""),[p,M]=c.useState(1),[De,F]=c.useState(!1),[ie,I]=c.useState(!1),[v,O]=c.useState(!1),[ne,P]=c.useState(!1),[X,B]=c.useState(""),[H,oe]=c.useState("grid"),[W,g]=c.useState("date"),[q,j]=c.useState("desc"),[Se,$]=c.useState(!1),[o,Me]=c.useState(null),_=12,ce=async()=>{if(X.trim())try{const s=await fetch(route("api.media.directories.create"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":C},body:JSON.stringify({name:X})}),a=await s.json();s.ok?(n.success(a.message||t("Directory created successfully")),B(""),P(!1),K()):a.errors&&Array.isArray(a.errors)?a.errors.forEach(r=>n.error(r)):n.error(a.error||a.message||t("Failed to create directory"))}catch{n.error(t("Network error: Failed to create directory"))}},K=c.useCallback(async()=>{le(!0);try{const s=await fetch(route("api.media.index"),{credentials:"same-origin",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);const a=await s.json(),r=Array.isArray(a.media)?a.media:[];if(R(r),ye(a.directories||[]),h){const i=new URLSearchParams;i.append("directory_id",h.toString());const l=await fetch(`${route("api.media.index")}?${i}`,{credentials:"same-origin",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});if(l.ok){const m=await l.json(),f=Array.isArray(m.media)?m.media:[];b(f),S(f)}else b(r),S(r)}else b(r),S(r)}catch(s){console.error("Failed to load media:",s),n.error("Failed to load media")}finally{le(!1)}},[h]);c.useEffect(()=>{K()},[K]),c.useEffect(()=>{let s=te.filter(a=>a.name.toLowerCase().includes(x.toLowerCase())||a.file_name.toLowerCase().includes(x.toLowerCase()));s=s.sort((a,r)=>{let i,l;switch(W){case"name":i=a.name.toLowerCase(),l=r.name.toLowerCase();break;case"date":i=new Date(a.created_at).getTime(),l=new Date(r.created_at).getTime();break;case"size":i=a.size,l=r.size;break;case"type":i=a.mime_type,l=r.mime_type;break;default:i=new Date(a.created_at).getTime(),l=new Date(r.created_at).getTime()}return q==="asc"?i>l?1:-1:i{I(!0);const a=Array.from(s);if(a.length===0){I(!1);return}const r=new FormData;a.forEach(i=>{r.append("files[]",i)}),h&&r.append("directory_id",h.toString());try{const i=await fetch(route("api.media.batch"),{method:"POST",body:r,credentials:"same-origin",headers:{"X-CSRF-TOKEN":C,"X-Requested-With":"XMLHttpRequest"}}),l=await i.json();i.ok?(b(m=>[...l.data,...m]),R(m=>[...l.data,...m]),n.success(l.message),l.errors&&l.errors.length>0&&l.errors.forEach(m=>{n.error(m)})):(l.errors&&Array.isArray(l.errors)?l.errors.forEach(m=>{n.error(m)}):l.message?n.error(l.message):n.error(t("Failed to upload files")),l.allowed_types&&n.error(t("Allowed types: {{types}}",{types:l.allowed_types})),l.max_size_mb&&n.error(t("Max file size: {{size}} MB",{size:l.max_size_mb})))}catch{n.error("Error uploading files")}I(!1),F(!1)},V=s=>{s.preventDefault(),s.stopPropagation(),s.type==="dragenter"||s.type==="dragover"?O(!0):s.type==="dragleave"&&O(!1)},Fe=s=>{s.preventDefault(),s.stopPropagation(),O(!1),s.dataTransfer.files&&s.dataTransfer.files[0]&&de(s.dataTransfer.files)},_e=async s=>{try{const a=await fetch(route("api.media.destroy",s),{method:"DELETE",credentials:"same-origin",headers:{"X-CSRF-TOKEN":C,"X-Requested-With":"XMLHttpRequest"}}),r=await a.json();a.ok?(b(i=>i.filter(l=>l.id!==s)),R(i=>i.filter(l=>l.id!==s)),n.success(r.message||t("Media deleted successfully"))):r.errors&&Array.isArray(r.errors)?r.errors.forEach(i=>n.error(i)):n.error(r.error||r.message||t("Failed to delete media"))}catch{n.error(t("Error deleting media"))}},me=s=>{navigator.clipboard.writeText(s),n.success("Image URL copied to clipboard")},Le=async(s,a)=>{try{const r=await fetch(route("api.media.download",s),{credentials:"same-origin",headers:{"X-CSRF-TOKEN":C,"X-Requested-With":"XMLHttpRequest"}});if(!r.ok){const f=await r.json();f.errors&&Array.isArray(f.errors)?f.errors.forEach(Te=>n.error(Te)):n.error(f.error||f.message||t("Download failed"));return}const i=await r.blob(),l=window.URL.createObjectURL(i),m=document.createElement("a");m.href=l,m.download=a,document.body.appendChild(m),m.click(),document.body.removeChild(m),window.URL.revokeObjectURL(l),n.success(t("Download started"))}catch{n.error(t("Download failed: Network error"))}},xe=s=>{Me(s),$(!0)},y=s=>{if(s===0)return"0 Bytes";const a=1024,r=["Bytes","KB","MB","GB"],i=Math.floor(Math.log(s)/Math.log(a));return parseFloat((s/Math.pow(a,i)).toFixed(2))+" "+r[i]},G=s=>s.startsWith("image/")?e.jsx(A,{className:"h-4 w-4"}):s.includes("pdf")?e.jsx("div",{className:"h-4 w-4 bg-red-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"PDF"}):s.includes("word")||s.includes("document")?e.jsx("div",{className:"h-4 w-4 bg-blue-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"DOC"}):s.includes("csv")||s.includes("spreadsheet")?e.jsx("div",{className:"h-4 w-4 bg-green-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"CSV"}):s.startsWith("video/")?e.jsx("div",{className:"h-4 w-4 bg-purple-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"VID"}):s.startsWith("audio/")?e.jsx("div",{className:"h-4 w-4 bg-orange-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"AUD"}):e.jsx("div",{className:"h-4 w-4 bg-gray-500 rounded text-white text-xs flex items-center justify-center font-bold",children:"FILE"}),N=Math.ceil(u.length/_),L=(p-1)*_,J=u.slice(L,L+_),ze=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Media Library")}],Ee=[{label:t("Upload Media"),icon:e.jsx(z,{className:"h-4 w-4"}),variant:"default",onClick:()=>F(!0)}],Ae=()=>`${{name:t("Name"),date:t("Date"),size:t("Size"),type:t("Type")}[W]} ${q==="asc"?"↑":"↓"}`;return e.jsxs(Ue,{title:t("Media Library"),url:"/examples/media-library-demo",breadcrumbs:ze,actions:Ee,children:[e.jsxs("div",{className:"flex flex-col lg:flex-row gap-4 lg:gap-6",children:[e.jsx("div",{className:"w-full md:w-72 lg:w-80 xl:w-64 lg:flex-shrink-0",children:e.jsx(Z,{className:"lg:h-[calc(100vh-12rem)] flex flex-col",children:e.jsxs(Q,{className:"p-0 flex flex-col h-full",children:[e.jsxs("div",{className:"p-4 border-b",children:[e.jsx("h3",{className:"text-sm font-semibold text-muted-foreground tracking-wide mb-3",children:t("Quick Access")}),e.jsx("div",{className:"space-y-1",children:e.jsxs(d,{variant:h===null?"secondary":"ghost",size:"sm",className:"w-full justify-start h-9 text-sm px-3",onClick:()=>re(null),children:[e.jsx(Be,{className:"h-4 w-4 mr-2 flex-shrink-0"}),e.jsx("span",{className:"truncate flex-1 text-left min-w-0",children:t("All Files")}),e.jsx(k,{variant:"outline",className:"ml-2 text-xs flex-shrink-0 min-w-[2rem] justify-center",children:U.length})]})})]}),e.jsxs("div",{className:"p-4 border-b flex-1 min-h-0",children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsx("h3",{className:"text-sm font-semibold text-muted-foreground tracking-wide",children:t("Folders")}),E(D,"create-media-directories")&&e.jsx(d,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>P(!0),children:e.jsx(z,{className:"h-3 w-3"})})]}),ne&&e.jsxs("div",{className:"mb-3 space-y-2",children:[e.jsx(Y,{placeholder:t("Folder name..."),value:X,onChange:s=>B(s.target.value),onKeyPress:s=>s.key==="Enter"&&ce(),className:"h-8 text-sm"}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(d,{onClick:ce,size:"sm",className:"h-7 text-xs px-3 flex-1",children:t("Create")}),e.jsx(d,{variant:"outline",size:"sm",className:"h-7 text-xs px-3 flex-1",onClick:()=>{P(!1),B("")},children:t("Cancel")})]})]}),e.jsxs("div",{className:"space-y-1 overflow-y-auto max-h-[40vh] lg:max-h-[calc(100vh-32rem)] pr-1 scrollbar-thin scrollbar-thumb-muted scrollbar-track-transparent",children:[ae.map(s=>{const a=U.filter(r=>r.directory_id===s.id).length;return E(D,"manage-media-directories")&&e.jsxs(d,{variant:h===s.id?"secondary":"ghost",size:"sm",className:"w-full justify-start h-9 text-sm px-3",onClick:()=>re(s.id),title:s.name,children:[h===s.id?e.jsx(He,{className:"h-4 w-4 mr-2 flex-shrink-0"}):e.jsx(qe,{className:"h-4 w-4 mr-2 flex-shrink-0"}),e.jsx("span",{className:"truncate flex-1 text-left min-w-0",children:s.name}),e.jsx(k,{variant:"outline",className:"ml-2 text-xs flex-shrink-0 min-w-[2rem] justify-center",children:a})]},s.id)}),ae.length===0&&!ne&&e.jsx("p",{className:"text-xs text-muted-foreground text-center py-4",children:t("No folders yet")})]})]}),e.jsxs("div",{className:"p-4",children:[e.jsx("h3",{className:"text-sm font-semibold text-muted-foreground tracking-wide mb-3",children:t("Storage")}),e.jsx("div",{className:"space-y-2",children:e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsx("span",{className:"text-muted-foreground",children:t("Used")}),e.jsx("span",{className:"font-medium",children:y(U.reduce((s,a)=>s+a.size,0))})]})})]})]})})}),e.jsxs("div",{className:"flex-1 flex flex-col min-w-0 overflow-hidden",children:[e.jsx(Z,{className:"mb-4 flex-shrink-0",children:e.jsx(Q,{className:"p-3 lg:p-4",children:e.jsxs("div",{className:"flex flex-col lg:flex-row gap-3 lg:gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"relative max-w-full lg:max-w-sm",children:[e.jsx(ue,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground h-4 w-4"}),e.jsx(Y,{placeholder:t("Search media files..."),value:x,onChange:s=>Ce(s.target.value),className:"pl-10 h-9 lg:h-10"})]}),x&&e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:t('Showing results for "{{term}}"',{term:x})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("div",{className:"flex items-center border rounded-md",children:[e.jsx(d,{variant:H==="grid"?"default":"ghost",size:"sm",className:"h-8 px-2",onClick:()=>oe("grid"),children:e.jsx(We,{className:"h-4 w-4"})}),e.jsx(d,{variant:H==="list"?"default":"ghost",size:"sm",className:"h-8 px-2",onClick:()=>oe("list"),children:e.jsx($e,{className:"h-4 w-4"})})]}),e.jsxs(Oe,{children:[e.jsx(Pe,{asChild:!0,children:e.jsx(d,{variant:"outline",size:"sm",className:"h-8",children:Ae()})}),e.jsxs(Xe,{align:"end",children:[e.jsxs(w,{onClick:()=>{g("name"),j("asc")},children:[t("Name")," (A-Z)"]}),e.jsxs(w,{onClick:()=>{g("name"),j("desc")},children:[t("Name")," (Z-A)"]}),e.jsx(ee,{}),e.jsxs(w,{onClick:()=>{g("date"),j("desc")},children:[t("Date")," (",t("Newest"),")"]}),e.jsxs(w,{onClick:()=>{g("date"),j("asc")},children:[t("Date")," (",t("Oldest"),")"]}),e.jsx(ee,{}),e.jsxs(w,{onClick:()=>{g("size"),j("desc")},children:[t("Size")," (",t("Largest"),")"]}),e.jsxs(w,{onClick:()=>{g("size"),j("asc")},children:[t("Size")," (",t("Smallest"),")"]}),e.jsx(ee,{}),e.jsx(w,{onClick:()=>{g("type"),j("asc")},children:t("Type")})]})]})]}),e.jsxs("div",{className:"flex flex-wrap gap-3 lg:gap-6 items-center",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"p-1.5 bg-primary/10 rounded-md",children:e.jsx(A,{className:"h-4 w-4 text-primary"})}),e.jsxs("span",{className:"text-xs lg:text-sm font-semibold",children:[u.length," ",t("Files")]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"p-1.5 bg-green-500/10 rounded-md",children:e.jsx(se,{className:"h-4 w-4 text-green-600"})}),e.jsx("span",{className:"text-xs lg:text-sm font-semibold",children:y(u.reduce((s,a)=>s+a.size,0))})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"p-1.5 bg-blue-500/10 rounded-md",children:e.jsx(A,{className:"h-4 w-4 text-blue-600"})}),e.jsxs("span",{className:"text-xs lg:text-sm font-semibold",children:[u.filter(s=>s.mime_type.startsWith("image/")).length," ",t("Images")]})]})]})]})})}),e.jsx(Z,{className:"flex-1 flex flex-col min-h-0 lg:h-[calc(100vh-20rem)]",children:e.jsx(Q,{className:"p-3 lg:p-6 flex flex-col h-full overflow-hidden bg-[#F0F0F1] dark:bg-gray-800",children:ke?e.jsxs("div",{className:"text-center py-12",children:[e.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:t("Loading media...")})]}):J.length===0?e.jsxs("div",{className:"text-center py-8 lg:py-16",children:[e.jsx("div",{className:"mx-auto w-16 h-16 lg:w-24 lg:h-24 bg-muted rounded-full flex items-center justify-center mb-4",children:e.jsx(A,{className:"h-8 w-8 lg:h-10 lg:w-10 text-muted-foreground"})}),e.jsx("h3",{className:"text-base lg:text-lg font-semibold mb-2",children:t("No media files found")}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4 lg:mb-6",children:x?t('No results found for "{{term}}"',{term:x}):t("Get started by uploading your first media file")}),!x&&e.jsxs(d,{onClick:()=>F(!0),size:"lg",children:[e.jsx(z,{className:"h-4 w-4 mr-2"}),t("Upload Media")]})]}):e.jsxs("div",{className:"flex flex-col h-full",children:[e.jsx("div",{className:"flex-1 min-h-0 overflow-hidden",children:H==="grid"?e.jsx("div",{className:"h-full overflow-y-auto pr-2",children:e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6 gap-3 lg:gap-4",children:J.map(s=>{var a,r;return e.jsxs("div",{className:"group relative bg-card border rounded-lg overflow-hidden hover:shadow-md transition-all duration-200",children:[e.jsxs("div",{className:"relative aspect-square bg-muted flex items-center justify-center cursor-pointer",onClick:()=>xe(s),children:[s.mime_type.startsWith("image/")?e.jsx("img",{src:s.thumb_url,alt:s.name,className:"w-full h-full object-cover",onError:i=>{i.currentTarget.src=s.url}}):e.jsxs("div",{className:"flex flex-col items-center justify-center p-4",children:[e.jsx("div",{className:"mb-2 text-2xl",children:G(s.mime_type)}),e.jsx("div",{className:"text-xs text-center font-medium text-muted-foreground truncate w-full",children:((a=s.mime_type.split("/")[1])==null?void 0:a.toUpperCase())||"FILE"})]}),e.jsx("div",{className:"absolute inset-0 bg-black/0 hover:bg-black/10 transition-all duration-200 flex items-center justify-center",children:e.jsx("div",{className:"opacity-0 hover:opacity-100 transition-opacity duration-200",children:e.jsx("div",{className:"bg-white/90 backdrop-blur-sm rounded-full p-2",children:e.jsx(ue,{className:"h-4 w-4 text-gray-700"})})})}),e.jsx("div",{className:"absolute top-2 left-2",children:e.jsx(k,{variant:"secondary",className:"text-xs bg-background/95",children:s.mime_type.split("/")[1].toUpperCase()})})]}),e.jsxs("div",{className:"p-3 space-y-2",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium truncate",title:s.name,children:s.name}),e.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1 mt-1",children:[e.jsx(se,{className:"h-3 w-3"}),y(s.size)]})]}),e.jsx("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(be,{className:"h-3 w-3"}),((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.created_at,!1))||new Date(s.created_at).toLocaleDateString()]})})]})]},s.id)})})}):e.jsx("div",{className:"h-full overflow-y-auto",style:{maxHeight:"calc(100vh - 28rem)"},children:e.jsx("div",{className:"space-y-3 p-2",children:J.map(s=>{var a;return e.jsxs("div",{className:"flex items-center gap-3 p-4 border rounded-lg hover:shadow-sm transition-all duration-200 bg-card cursor-pointer",onClick:()=>xe(s),children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 bg-muted rounded-md flex items-center justify-center",children:s.mime_type.startsWith("image/")?e.jsx("img",{src:s.thumb_url,alt:s.name,className:"w-full h-full object-cover rounded-md",onError:r=>{r.currentTarget.src=s.url}}):G(s.mime_type)}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h3",{className:"text-sm font-medium truncate",title:s.name,children:s.name}),e.jsx(k,{variant:"secondary",className:"text-xs flex-shrink-0",children:s.mime_type.split("/")[1].toUpperCase()})]}),e.jsxs("div",{className:"flex items-center gap-4 text-xs text-muted-foreground mt-1",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(se,{className:"h-3 w-3"}),y(s.size)]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(be,{className:"h-3 w-3"}),((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(s.created_at,!1))||new Date(s.created_at).toLocaleDateString()]})]})]})]},s.id)})})})}),N>1&&e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-4 pt-6 border-t mt-6",children:[e.jsxs("div",{className:"text-sm text-muted-foreground",children:[t("Showing")," ",e.jsx("span",{className:"font-semibold",children:L+1})," ",t("to")," ",e.jsx("span",{className:"font-semibold",children:Math.min(L+_,u.length)})," ",t("of")," ",e.jsx("span",{className:"font-semibold",children:u.length})," ",t("files")]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(d,{variant:"outline",size:"sm",disabled:p===1,onClick:()=>M(s=>Math.max(s-1,1)),children:t("Previous")}),e.jsx("div",{className:"flex gap-1",children:Array.from({length:Math.min(N,5)},(s,a)=>{let r;return N<=5||p<=3?r=a+1:p>=N-2?r=N-4+a:r=p-2+a,e.jsx(d,{variant:p===r?"default":"outline",size:"sm",className:"w-10 h-8",onClick:()=>M(r),children:r},r)})}),e.jsx(d,{variant:"outline",size:"sm",disabled:p===N,onClick:()=>M(s=>Math.min(s+1,N)),children:t("Next")})]})]})]})})})]})]}),e.jsx(pe,{open:De,onOpenChange:F,children:e.jsxs(ge,{className:"max-w-lg mx-4 sm:mx-auto",children:[e.jsx(je,{children:e.jsxs(Ne,{className:"flex items-center gap-2",children:[e.jsx(we,{className:"h-5 w-5"}),t("Upload Media Files")]})}),e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:`relative border-2 border-dashed rounded-xl p-6 sm:p-12 text-center transition-all duration-200 ${v?"border-blue-500 bg-blue-50 scale-[1.02]":"border-gray-300 hover:border-gray-400 hover:bg-gray-50"}`,onDragEnter:V,onDragLeave:V,onDragOver:V,onDrop:Fe,children:[e.jsxs("div",{className:`transition-all duration-200 ${v?"scale-110":""}`,children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mb-4",children:e.jsx(we,{className:`h-8 w-8 transition-colors ${v?"text-blue-500":"text-gray-400"}`})}),e.jsx("h3",{className:"text-lg font-medium mb-2",children:t(v?"Drop files here":"Upload your images")}),e.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:t("Drag and drop your images here, or click to browse")}),e.jsx(Y,{type:"file",multiple:!0,onChange:s=>s.target.files&&de(s.target.files),className:"hidden",id:"file-upload-modal"}),e.jsx(d,{type:"button",onClick:()=>{var s;return(s=document.getElementById("file-upload-modal"))==null?void 0:s.click()},disabled:ie,size:"lg",children:ie?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-white mr-2"}),t("Uploading...")]}):e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"h-4 w-4 mr-2"}),t("Choose Files")]})})]}),v&&e.jsx("div",{className:"absolute inset-0 bg-blue-500/10 rounded-xl"})]})})]})}),e.jsx(pe,{open:Se,onOpenChange:$,children:e.jsxs(ge,{className:"max-w-[95vw] sm:max-w-[90vw] md:max-w-4xl lg:max-w-5xl xl:max-w-6xl mx-auto h-[95vh] p-0 overflow-hidden",children:[e.jsx(je,{className:"p-3 sm:p-4 md:p-6 pb-0",children:e.jsxs(Ne,{className:"flex items-center gap-2 text-sm sm:text-base md:text-lg",children:[e.jsx(Ke,{className:"h-4 w-4 sm:h-5 sm:w-5"}),t("Media Details")]})}),o&&e.jsxs("div",{className:"flex flex-col lg:flex-row lg:h-[calc(95vh-4rem)] overflow-hidden",children:[e.jsx("div",{className:"flex-1 flex items-center justify-center bg-[#F0F0F1] dark:bg-gray-800 p-3 sm:p-4 md:p-6 min-h-[200px] sm:min-h-[250px] md:min-h-[300px] lg:min-h-0 max-h-[40vh] lg:max-h-none overflow-hidden",children:o.mime_type.startsWith("image/")?e.jsx("img",{src:o.url,alt:o.name,className:"max-w-full max-h-full object-contain rounded-lg shadow-lg",onError:s=>{s.currentTarget.src=o.thumb_url}}):e.jsxs("div",{className:"flex flex-col items-center justify-center h-full w-full",children:[e.jsx("div",{className:"mb-4 sm:mb-6 text-4xl sm:text-6xl md:text-8xl",children:G(o.mime_type)}),e.jsx("div",{className:"text-base sm:text-lg md:text-xl font-medium text-muted-foreground",children:((he=o.mime_type.split("/")[1])==null?void 0:he.toUpperCase())||"FILE"}),e.jsx("div",{className:"text-xs sm:text-sm text-muted-foreground mt-1 sm:mt-2 px-4 text-center",children:o.name})]})}),e.jsx("div",{className:"w-full lg:w-80 xl:w-96 border-t lg:border-t-0 lg:border-l bg-background p-3 sm:p-4 md:p-6 overflow-y-auto max-h-[45vh] lg:max-h-none lg:h-full pb-8",children:e.jsxs("div",{className:"space-y-4 sm:space-y-5 md:space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm sm:text-base md:text-lg font-semibold mb-3 sm:mb-4",children:t("File Information")}),e.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("File Name")}),e.jsx("p",{className:"text-xs sm:text-sm mt-1 break-all",title:o.file_name,children:o.file_name})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("Display Name")}),e.jsx("p",{className:"text-xs sm:text-sm mt-1",children:o.name})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("File Type")}),e.jsx("div",{className:"mt-1",children:e.jsx(k,{variant:"secondary",className:"text-xs",children:o.mime_type})})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("File Size")}),e.jsx("p",{className:"text-xs sm:text-sm mt-1",children:y(o.size)})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground",children:t("Upload Date")}),e.jsx("p",{className:"text-xs sm:text-sm mt-1",children:((fe=window.appSettings)==null?void 0:fe.formatDateTimeSimple(o.created_at,!1))||new Date(o.created_at).toLocaleDateString()})]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs sm:text-sm font-medium text-muted-foreground block mb-2",children:t("File URL")}),e.jsxs("div",{className:"flex items-center gap-1.5 sm:gap-2 p-2 sm:p-3 bg-muted rounded-md",children:[e.jsx("code",{className:"text-[10px] sm:text-xs text-muted-foreground flex-1 break-all",children:o.url}),e.jsx(d,{size:"sm",variant:"ghost",onClick:()=>me(o.url),className:"h-7 w-7 sm:h-8 sm:w-8 p-0 flex-shrink-0",children:e.jsx(ve,{className:"h-3 w-3 sm:h-4 sm:w-4"})})]})]}),e.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[e.jsx("h3",{className:"text-sm sm:text-base md:text-lg font-semibold",children:t("Actions")}),e.jsxs(d,{onClick:()=>me(o.url),className:"w-full justify-start h-9 sm:h-10 text-xs sm:text-sm",variant:"outline",children:[e.jsx(ve,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4 mr-2"}),t("Copy Link")]}),E(D,"download-media")&&e.jsxs(d,{onClick:()=>Le(o.id,o.file_name),className:"w-full justify-start h-9 sm:h-10 text-xs sm:text-sm",variant:"outline",children:[e.jsx(Ve,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4 mr-2"}),t("Download")]}),E(D,"delete-media")&&e.jsxs(d,{onClick:()=>{_e(o.id),$(!1)},className:"w-full justify-start h-9 sm:h-10 text-xs sm:text-sm",variant:"destructive",children:[e.jsx(Ge,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4 mr-2"}),t("Delete File")]})]})]})})]})]})})]})}export{Os as default}; diff --git a/public/build/assets/menu-Ce4PLUkG.js b/public/build/assets/menu-GuULvnRC.js similarity index 89% rename from public/build/assets/menu-Ce4PLUkG.js rename to public/build/assets/menu-GuULvnRC.js index a37b33d7b..d5a9f53ab 100644 --- a/public/build/assets/menu-Ce4PLUkG.js +++ b/public/build/assets/menu-GuULvnRC.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/message-square-CWrDttoL.js b/public/build/assets/message-square-DyWo8S6i.js similarity index 87% rename from public/build/assets/message-square-CWrDttoL.js rename to public/build/assets/message-square-DyWo8S6i.js index bbab0946e..ae22c4372 100644 --- a/public/build/assets/message-square-CWrDttoL.js +++ b/public/build/assets/message-square-DyWo8S6i.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/message-square-warning-D-p7x0Lz.js b/public/build/assets/message-square-warning-DT--Ufeu.js similarity index 90% rename from public/build/assets/message-square-warning-D-p7x0Lz.js rename to public/build/assets/message-square-warning-DT--Ufeu.js index e4eccbd83..86c71800c 100644 --- a/public/build/assets/message-square-warning-D-p7x0Lz.js +++ b/public/build/assets/message-square-warning-DT--Ufeu.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/monitor-CnIEqEUy.js b/public/build/assets/monitor-BYgqmcKD.js similarity index 90% rename from public/build/assets/monitor-CnIEqEUy.js rename to public/build/assets/monitor-BYgqmcKD.js index 22e655d28..e2150342e 100644 --- a/public/build/assets/monitor-CnIEqEUy.js +++ b/public/build/assets/monitor-BYgqmcKD.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/multi-select-field-Dxyl0jtB.js b/public/build/assets/multi-select-field-CO_GzZgi.js similarity index 96% rename from public/build/assets/multi-select-field-Dxyl0jtB.js rename to public/build/assets/multi-select-field-CO_GzZgi.js index f2941373d..b86995ab8 100644 --- a/public/build/assets/multi-select-field-Dxyl0jtB.js +++ b/public/build/assets/multi-select-field-CO_GzZgi.js @@ -1 +1 @@ -import{r as o,j as s}from"./ui-Z445SNHD.js";import{B as b,X as v}from"./app-CfhhiFAk.js";function y({options:r,selected:t,onChange:a,placeholder:l="Select options",className:c}){const[h,u]=o.useState(!1),[p,d]=o.useState(""),i=o.useRef(null);o.useEffect(()=>{function e(n){i.current&&!i.current.contains(n.target)&&(u(!1),d(""))}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);const g=e=>{t.includes(e)||a([...t,e]),d("")},f=e=>{a(t.filter(n=>n!==e))},x=r.filter(e=>!t.includes(e.value)&&e.label.toLowerCase().includes(p.toLowerCase()));return s.jsxs("div",{ref:i,className:`${c??""}`,children:[s.jsxs("div",{className:"flex flex-wrap gap-1 p-2 border rounded-md min-h-[38px] cursor-text",onClick:()=>u(!0),children:[t.map(e=>{const n=r.find(m=>m.value===e);return s.jsxs(b,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:[(n==null?void 0:n.label)||e,s.jsx("button",{type:"button",className:"ml-1 rounded-sm",onClick:m=>{m.stopPropagation(),f(e)},children:s.jsx(v,{className:"h-3 w-3 text-muted-foreground hover:text-foreground"})})]},e)}),s.jsx("input",{type:"text",value:p,onChange:e=>d(e.target.value),onFocus:()=>u(!0),placeholder:t.length===0?l:"",className:"flex-1 outline-none bg-transparent min-w-[50px] text-sm"})]}),h&&x.length>0&&s.jsx("div",{className:"mt-1 w-full border border-gray-200 dark:border-gray-700 rounded-md bg-white dark:bg-gray-800 shadow-sm",children:x.map(e=>s.jsx("div",{className:"px-3 py-2 cursor-pointer text-sm text-gray-900 dark:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-700",onMouseDown:n=>{n.preventDefault(),g(e.value)},children:e.label},e.value))})]})}function S({field:r,formData:t,handleChange:a}){const l=Array.isArray(t[r.name])?t[r.name]:t[r.name]?[t[r.name].toString()]:[];return s.jsx(y,{options:r.options||[],selected:l,onChange:c=>a(r.name,c),placeholder:r.placeholder||`Select ${r.label}`})}export{S as M}; +import{r as o,j as s}from"./ui-Z445SNHD.js";import{B as b,X as v}from"./app-Dya84jp7.js";function y({options:r,selected:t,onChange:a,placeholder:l="Select options",className:c}){const[h,u]=o.useState(!1),[p,d]=o.useState(""),i=o.useRef(null);o.useEffect(()=>{function e(n){i.current&&!i.current.contains(n.target)&&(u(!1),d(""))}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);const g=e=>{t.includes(e)||a([...t,e]),d("")},f=e=>{a(t.filter(n=>n!==e))},x=r.filter(e=>!t.includes(e.value)&&e.label.toLowerCase().includes(p.toLowerCase()));return s.jsxs("div",{ref:i,className:`${c??""}`,children:[s.jsxs("div",{className:"flex flex-wrap gap-1 p-2 border rounded-md min-h-[38px] cursor-text",onClick:()=>u(!0),children:[t.map(e=>{const n=r.find(m=>m.value===e);return s.jsxs(b,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:[(n==null?void 0:n.label)||e,s.jsx("button",{type:"button",className:"ml-1 rounded-sm",onClick:m=>{m.stopPropagation(),f(e)},children:s.jsx(v,{className:"h-3 w-3 text-muted-foreground hover:text-foreground"})})]},e)}),s.jsx("input",{type:"text",value:p,onChange:e=>d(e.target.value),onFocus:()=>u(!0),placeholder:t.length===0?l:"",className:"flex-1 outline-none bg-transparent min-w-[50px] text-sm"})]}),h&&x.length>0&&s.jsx("div",{className:"mt-1 w-full border border-gray-200 dark:border-gray-700 rounded-md bg-white dark:bg-gray-800 shadow-sm",children:x.map(e=>s.jsx("div",{className:"px-3 py-2 cursor-pointer text-sm text-gray-900 dark:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-700",onMouseDown:n=>{n.preventDefault(),g(e.value)},children:e.label},e.value))})]})}function S({field:r,formData:t,handleChange:a}){const l=Array.isArray(t[r.name])?t[r.name]:t[r.name]?[t[r.name].toString()]:[];return s.jsx(y,{options:r.options||[],selected:l,onChange:c=>a(r.name,c),placeholder:r.placeholder||`Select ${r.label}`})}export{S as M}; diff --git a/public/build/assets/noc-settings-Bp7HoVl3.js b/public/build/assets/noc-settings-Btctqwcg.js similarity index 89% rename from public/build/assets/noc-settings-Bp7HoVl3.js rename to public/build/assets/noc-settings-Btctqwcg.js index b6ad0ffad..4bef17434 100644 --- a/public/build/assets/noc-settings-Bp7HoVl3.js +++ b/public/build/assets/noc-settings-Btctqwcg.js @@ -1,4 +1,4 @@ -import{r as n,j as e}from"./ui-Z445SNHD.js";import{u as P,c as O,ap as k,C as L,m as E,l as M,L as x,al as g,s as f,v as j,w as y,o as I,y as R,r as D,t as i}from"./app-CfhhiFAk.js";import{S as F,a as H,b as U,c as V,d as W}from"./select-BrY9osYp.js";import{R as z}from"./rich-text-editor-6rkrWVFe.js";import{R as A}from"./react-country-flag.esm-Bs2jngHP.js";import{I as v}from"./info-D_4wnc_R.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./unlink-BUU37FwK.js";import"./list-D0MAUZMV.js";import"./quote-CVpLTvYv.js";import"./link-Bv_VEBSZ.js";import"./code-BfjQUpEO.js";function le({templates:l=[]}){const{t:r}=P(),{globalSettings:d}=O().props,b=(d==null?void 0:d.availableLanguages)||[],[t,N]=n.useState("en"),[m,c]=n.useState(""),[u,p]=n.useState(!1),[C,h]=n.useState(0),S=(()=>{const s=l.find(a=>a.language===t);return s!=null&&s.variables?(typeof s.variables=="string"?JSON.parse(s.variables):s.variables).map(o=>({key:o.replace(/_/g," ").replace(/\b\w/g,_=>_.toUpperCase()),label:`{${o}}`})):[{key:"Date",label:"{date}"},{key:"Company Name",label:"{company_name}"},{key:"Employee Name",label:"{employee_name}"},{key:"Designation",label:"{designation}"}]})(),w=` +import{r as n,j as e}from"./ui-Z445SNHD.js";import{u as P,c as O,ap as k,C as L,m as E,l as M,L as x,al as g,s as f,v as j,w as y,o as I,y as R,r as D,t as i}from"./app-Dya84jp7.js";import{S as F,a as H,b as U,c as V,d as W}from"./select-CHkpLxhL.js";import{R as z}from"./rich-text-editor-uObNYFW4.js";import{R as A}from"./react-country-flag.esm-Bs2jngHP.js";import{I as v}from"./info-CPi9bOGM.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./unlink-BLQWL2NW.js";import"./list-C_2fG_BT.js";import"./quote-BmDTOIsR.js";import"./link-DXJwkkHX.js";import"./code-znlKMFkF.js";function le({templates:l=[]}){const{t:r}=P(),{globalSettings:d}=O().props,b=(d==null?void 0:d.availableLanguages)||[],[t,N]=n.useState("en"),[m,c]=n.useState(""),[u,p]=n.useState(!1),[C,h]=n.useState(0),S=(()=>{const s=l.find(a=>a.language===t);return s!=null&&s.variables?(typeof s.variables=="string"?JSON.parse(s.variables):s.variables).map(o=>({key:o.replace(/_/g," ").replace(/\b\w/g,_=>_.toUpperCase()),label:`{${o}}`})):[{key:"Date",label:"{date}"},{key:"Company Name",label:"{company_name}"},{key:"Employee Name",label:"{employee_name}"},{key:"Designation",label:"{designation}"}]})(),w=`

No Objection Certificate

Date: {date}

diff --git a/public/build/assets/package-Dbz0W2dX.js b/public/build/assets/package-BMnRSK1k.js similarity index 92% rename from public/build/assets/package-Dbz0W2dX.js rename to public/build/assets/package-BMnRSK1k.js index aec509a1a..21305d7fc 100644 --- a/public/build/assets/package-Dbz0W2dX.js +++ b/public/build/assets/package-BMnRSK1k.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/page-template-BTxLyiDA.js b/public/build/assets/page-template-CLNVC8w_.js similarity index 96% rename from public/build/assets/page-template-BTxLyiDA.js rename to public/build/assets/page-template-CLNVC8w_.js index 7cdfa6f4c..70510614c 100644 --- a/public/build/assets/page-template-BTxLyiDA.js +++ b/public/build/assets/page-template-CLNVC8w_.js @@ -1,4 +1,4 @@ -import{j as e,r as j,a as Oe,b as Ke,J as Xe,K as oe}from"./ui-Z445SNHD.js";import{K as X,W as Ye,Y as Ze,u as Y,X as Qe,L as z,I as ue,o as $,V as he,t as U,c as H,Z as et,e as R,_ as tt,$ as rt,a0 as nt,a1 as st,a2 as me,a3 as fe,d as K,a4 as at,a5 as pe,a6 as ge,a7 as it,a as ot,a8 as lt,a9 as ct,g as xe,aa as dt,ab as ut,ac as je,ad as ve,x as n,F as ht,ae as mt,af as ce,r as Ge,ag as be,H as ft,s as pt,v as gt,w as xt}from"./app-CfhhiFAk.js";import{T as ye}from"./textarea-kpRjGGLz.js";import{S as we,a as Ce,b as Se,c as Ne,d as Q}from"./select-BrY9osYp.js";import{R as jt}from"./react-country-flag.esm-Bs2jngHP.js";import{l as vt}from"./language-BbwPiY59.js";import{S as Ae,B as bt,F as yt}from"./sparkles-BIbzOfb3.js";import{L as wt}from"./loader-circle-wGk7YsPK.js";import{C as ke}from"./copy-xfopPExK.js";import{C as Ie,D as Ct,a as St,b as Nt,e as At,d as Le,f as kt,c as Ee,L as It}from"./CookieConsentBanner-Do3n0EfV.js";import{C as re}from"./chevron-up-DepFp6b6.js";import{C as ee}from"./chevron-right-Bd9XWZHZ.js";import{L as ne}from"./layout-grid-C6MkbbLQ.js";import{B as Pe}from"./briefcase-CLRn8zVu.js";import{C as Me}from"./credit-card-BmdpMcMw.js";import{S as se}from"./settings-BwhyNRyj.js";import{G as Te}from"./gift-DXGdvbnX.js";import{U as qe}from"./user-C37aWgZX.js";import{U as Re}from"./users-C4LpG59H.js";import{C as De}from"./calendar-CfUpdaK5.js";import{C as Lt}from"./calendar-days-CiPhwZgb.js";import{C as Et}from"./clock-CwFdn-oy.js";import{F as Pt}from"./fingerprint-DTUiU2wR.js";import{T as Mt}from"./timer-Cqv8ulB-.js";import{D as Tt}from"./dollar-sign-DYXFWWsE.js";import{C as Rt}from"./coins-BDVfLngB.js";import{c as Dt}from"./index-BFT_C1pH.js";import{L as Ft}from"./log-out-XdMMCWfW.js";function _t({variant:t="header",children:s,...o}){const{position:l}=X();return t==="sidebar"?e.jsx(Ye,{...o,children:e.jsx("div",{dir:l==="right"?"rtl":"ltr",className:"w-full min-w-0 overflow-hidden",children:s})}):e.jsx("main",{className:"mx-auto flex h-full w-full max-w-7xl flex-1 flex-col gap-4 rounded-xl",...o,children:e.jsx("div",{dir:l==="right"?"rtl":"ltr",children:s})})}function $t(t,s){const{registerModal:o,unregisterModal:l,getZIndex:v}=Ze(),[i]=j.useState(()=>t),[r,u]=j.useState(!1),x=s!==void 0?s:r;j.useEffect(()=>(x?o(i):l(i),()=>l(i)),[x,i,o,l]);const f=v(i);return{modalId:i,isOpen:x,setIsOpen:u,zIndex:f,open:()=>u(!0),close:()=>u(!1),toggle:()=>u(y=>!y)}}function Bt({isOpen:t,onClose:s,onGenerate:o,title:l="AI Content Generator",placeholder:v="Describe what you want to generate..."}){const{t:i}=Y();$t("chatgpt-modal",t);const[r,u]=j.useState(""),[x,f]=j.useState(""),[y,m]=j.useState(!1),[w,a]=j.useState("en"),[p,d]=j.useState("medium"),[b,C]=j.useState(1),[L,k]=j.useState(150),[E,M]=j.useState(""),[D,T]=j.useState(!1);j.useEffect(()=>{if(t){const c=()=>{document.body.removeAttribute("inert"),document.documentElement.removeAttribute("inert"),document.querySelectorAll("[inert]").forEach(P=>P.removeAttribute("inert"))};c();const A=setInterval(c,100);return()=>clearInterval(A)}},[t]);const g=async()=>{var c;if(!r.trim()){U.error(i("Please enter a prompt"));return}m(!0);try{const A=await fetch(route("chatgpt.generate"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((c=document.querySelector('meta[name="csrf-token"]'))==null?void 0:c.getAttribute("content"))||""},body:JSON.stringify({prompt:r,language:w,creativity:p,num_results:b,max_length:L})}),I=await A.json();if(A.ok&&I.success!==!1)f(I.content),U.success(i("Content generated successfully"));else{const P=I.message||i("Failed to generate content");U.error(P)}}catch(A){const I=A instanceof Error?A.message:i("Error connecting to AI service");U.error(I)}finally{m(!1)}},Z=()=>{x&&(o(x),B())},B=()=>{u(""),f(""),M(""),T(!1),s()},J=async c=>{try{await navigator.clipboard.writeText(c),T(!0),U.success(i("Copied to clipboard")),setTimeout(()=>T(!1),2e3)}catch{U.error(i("Failed to copy"))}},h=()=>{const c=document.getElementById("generated-content");if(c){const A=c.selectionStart,I=c.selectionEnd,P=c.value.substring(A,I);M(P)}};if(!t)return null;const N=e.jsxs("div",{className:"fixed inset-0 flex items-center justify-center",style:{zIndex:99999},"data-chatgpt-modal":!0,onClick:c=>{c.target===c.currentTarget&&B()},children:[e.jsx("div",{className:"fixed inset-0 bg-black/30"}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-2xl w-full mx-4 border relative",style:{zIndex:1e5},onClick:c=>c.stopPropagation(),children:[e.jsxs("div",{className:"p-6 border-b flex items-center justify-between",children:[e.jsxs("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[e.jsx(Ae,{className:"h-5 w-5 text-blue-500"}),i(l)]}),e.jsx("button",{onClick:B,className:"p-1 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-full transition-colors",children:e.jsx(Qe,{className:"h-5 w-5"})})]}),e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(z,{children:i("Language")}),e.jsxs(we,{value:w,onValueChange:a,children:[e.jsx(Ce,{children:e.jsx(Se,{})}),e.jsx(Ne,{style:{zIndex:100010},children:vt.map(c=>e.jsxs(Q,{value:c.code,children:[e.jsx(jt,{countryCode:c.countryCode,svg:!0,style:{width:"1em",height:"1em",marginRight:"8px"}}),c.name]},c.code))})]})]}),e.jsxs("div",{children:[e.jsx(z,{children:i("AI Creativity")}),e.jsxs(we,{value:p,onValueChange:d,children:[e.jsx(Ce,{children:e.jsx(Se,{})}),e.jsxs(Ne,{style:{zIndex:100010},children:[e.jsxs(Q,{value:"low",children:[i("Low")," (0.3)"]}),e.jsxs(Q,{value:"medium",children:[i("Medium")," (0.7)"]}),e.jsxs(Q,{value:"high",children:[i("High")," (0.9)"]})]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(z,{children:i("Number of Results")}),e.jsx(ue,{type:"number",value:b,onChange:c=>C(Number(c.target.value)),min:1,max:5})]}),e.jsxs("div",{children:[e.jsx(z,{children:i("Max Result Length")}),e.jsx(ue,{type:"number",value:L,onChange:c=>k(Number(c.target.value)),min:50,max:500})]})]}),e.jsxs("div",{children:[e.jsx(z,{htmlFor:"prompt",children:i("Add Text")}),e.jsx(ye,{id:"prompt",value:r,onChange:c=>u(c.target.value),placeholder:i(v),rows:3,className:"mt-1"})]}),e.jsx($,{onClick:g,disabled:y||!r.trim(),className:"w-full",children:y?e.jsxs(e.Fragment,{children:[e.jsx(wt,{className:"h-4 w-4 mr-2 animate-spin"}),i("Generating...")]}):e.jsxs(e.Fragment,{children:[e.jsx(Ae,{className:"h-4 w-4 mr-2"}),i("Generate")]})}),x&&e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx(z,{htmlFor:"generated",children:i("Output Text")}),e.jsxs("div",{className:"flex gap-2",children:[E&&e.jsxs($,{size:"sm",variant:"outline",onClick:()=>J(E),children:[D?e.jsx(he,{className:"h-4 w-4"}):e.jsx(ke,{className:"h-4 w-4"}),i("Copy Selected")]}),e.jsxs($,{size:"sm",variant:"outline",onClick:()=>J(x),children:[D?e.jsx(he,{className:"h-4 w-4"}):e.jsx(ke,{className:"h-4 w-4"}),i("Copy Text")]})]})]}),e.jsx(ye,{id:"generated-content",value:x,onChange:c=>f(c.target.value),onSelect:h,rows:6,className:"mt-1"}),e.jsxs("div",{className:"flex gap-2 mt-2",children:[e.jsx($,{onClick:Z,className:"flex-1",children:i("Use This Content")}),e.jsx($,{variant:"outline",onClick:g,disabled:y,children:i("Regenerate")})]})]})]})]})]});return typeof window<"u"?Oe.createPortal(N,document.body):null}function le(){var p,d,b,C,L,k,E,M,D,T;const{t}=Y(),{auth:s}=H().props,{position:o}=X(),[l,v]=j.useState(!1),[i,r]=j.useState(""),x=(((p=s==null?void 0:s.roles)==null?void 0:p[0])||((d=s==null?void 0:s.user)==null?void 0:d.type))==="superadmin"||((b=s==null?void 0:s.user)==null?void 0:b.type)==="superadmin",f=((C=s==null?void 0:s.user)==null?void 0:C.type)==="company";let y=!1;if(x)y=!0;else if(f)y=((L=s==null?void 0:s.user)==null?void 0:L.plan_is_active)===1&&((k=s==null?void 0:s.user)==null?void 0:k.plan)&&((M=(E=s==null?void 0:s.user)==null?void 0:E.plan)==null?void 0:M.enable_chatgpt)==="on";else{const g=(D=s==null?void 0:s.user)==null?void 0:D.creator;y=(g==null?void 0:g.plan_is_active)===1&&(g==null?void 0:g.plan)&&((T=g==null?void 0:g.plan)==null?void 0:T.enable_chatgpt)==="on"}if(!y)return null;j.useEffect(()=>{},[l]);const m=g=>{r(g)},w=()=>{v(!0)},a=()=>{v(!1)};return Oe.createPortal(e.jsxs(e.Fragment,{children:[e.jsx("div",{className:`fixed bottom-6 z-[80000] pointer-events-auto ${o==="right"?"left-6":"right-6"}`,"data-chatgpt-button":!0,style:{pointerEvents:"auto",zIndex:8e4},onClickCapture:g=>{g.preventDefault(),g.stopPropagation(),g.nativeEvent.stopImmediatePropagation(),w()},onMouseDownCapture:g=>{g.preventDefault(),g.stopPropagation()},onClick:g=>{g.preventDefault(),g.stopPropagation()},children:e.jsx($,{onClick:g=>{g.preventDefault(),g.stopPropagation(),w()},className:"h-14 w-14 rounded-full shadow-lg hover:shadow-xl transition-shadow pointer-events-auto",size:"lg","data-chatgpt-button":!0,style:{pointerEvents:"auto"},children:e.jsx(bt,{className:"h-6 w-6"})})}),e.jsx(Bt,{isOpen:l,onClose:a,onGenerate:m,title:t("AI Assistant"),placeholder:t("What would you like me to help you generate?")})]}),document.body)}function Ot({children:t,variant:s="header"}){const[o,l]=j.useState(()=>typeof window<"u"?localStorage.getItem("sidebar")!=="false":!0),v=r=>{l(r),typeof window<"u"&&localStorage.setItem("sidebar",String(r))};if(s==="header")return e.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[t,e.jsx(le,{}),e.jsx(Ie,{})]});const{position:i}=X();return e.jsx(et,{defaultOpen:o,open:o,onOpenChange:v,children:e.jsxs("div",{className:R("flex w-full",i==="right"?"flex-row-reverse":"flex-row"),children:[t,e.jsx(le,{}),e.jsx(Ie,{})]})})}const Fe="nav_expanded_items";function Gt({items:t=[],position:s}){const o=H(),{state:l}=tt(),v=document.documentElement.dir==="rtl",[i,r]=j.useState({}),u=v?s==="left"?"right":"left":s;j.useEffect(()=>{const a={},p=(d,b)=>{d.forEach(C=>{const L=y(C.href),k=C.children&&m(C.children);b&&(L||k)&&(a[b]=!0),C.children&&(L||k||C.defaultOpen===!0)&&(a[C.title]=!0,p(C.children,C.title)),C.children&&x(C.children,1,a)})};p(t),r(a);try{localStorage.setItem(Fe,JSON.stringify(a))}catch(d){console.error("Error saving navigation state:",d)}},[o.url,t]);const x=(a,p,d)=>{a.forEach(b=>{const C=`${p}-${b.title}`,L=y(b.href),k=b.children&&m(b.children);b.children&&(L||k)&&(d[C]=!0,x(b.children,p+1,d))})},f=a=>{const p={...i,[a]:!i[a]};r(p);try{localStorage.setItem(Fe,JSON.stringify(p))}catch(d){console.error("Error saving navigation state:",d)}},y=a=>{if(!a)return!1;const p=a.startsWith("http")?new URL(a):new URL(a,window.location.origin),d=new URL(o.url,window.location.origin),b=p.pathname.replace(/\/$/,""),C=d.pathname.replace(/\/$/,"");if(!(C===b||C.startsWith(b+"/")))return!1;let k=!0;return p.searchParams.forEach((E,M)=>{d.searchParams.get(M)!==E&&(k=!1)}),d.searchParams.has("my_attendance")&&!p.searchParams.has("my_attendance")&&(k=!1),k},m=a=>a?a.some(p=>y(p.href)||m(p.children)):!1,w=(a,p=1)=>e.jsx(at,{children:a.map(d=>e.jsx("div",{children:d.children?e.jsxs(e.Fragment,{children:[e.jsx(pe,{children:e.jsx(ge,{isActive:m(d.children),onClick:()=>f(`${p}-${d.title}`),className:"cursor-pointer",children:e.jsxs("div",{className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:[e.jsx("span",{children:d.title}),l!=="collapsed"&&(i[`${p}-${d.title}`]?e.jsx(re,{className:"h-3 w-3 ml-auto"}):e.jsx(ee,{className:"h-3 w-3 ml-auto"}))]})})}),i[`${p}-${d.title}`]&&w(d.children,p+1)]}):e.jsx(pe,{children:e.jsx(ge,{asChild:!0,isActive:y(d.href),children:d.target==="_blank"?e.jsx("a",{href:d.href||"#",target:"_blank",rel:"noopener noreferrer",className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:e.jsx("span",{children:d.title})}):e.jsx(K,{href:d.href||"#",prefetch:!0,className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:e.jsx("span",{children:d.title})})})})},d.title))});return e.jsxs(rt,{className:"px-1.5 py-0",children:[e.jsx(nt,{className:`flex w-full text-xs ${u==="right"?"justify-end":"justify-start"}`}),e.jsx(st,{children:t.map(a=>e.jsx("div",{children:a.children?e.jsxs(e.Fragment,{children:[e.jsx(me,{children:e.jsx(fe,{isActive:m(a.children),tooltip:{children:a.title},onClick:()=>f(a.title),className:"cursor-pointer",children:e.jsx("div",{className:`flex items-center gap-2 w-full ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:u==="right"?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:l!=="collapsed"?a.title:""}),a.icon&&e.jsx(a.icon,{className:"h-4 w-4"}),l!=="collapsed"&&(i[a.title]?e.jsx(re,{className:"h-3 w-3"}):e.jsx(ee,{className:"h-3 w-3"}))]}):e.jsxs(e.Fragment,{children:[a.icon&&e.jsx(a.icon,{className:"h-4 w-4"}),e.jsxs("div",{className:"flex items-center gap-1",children:[l!=="collapsed"&&e.jsx("span",{children:a.title}),l!=="collapsed"&&a.badge&&e.jsx("span",{className:"px-1.5 py-0.5 text-[10px] font-medium rounded-full bg-primary text-white",children:a.badge.label})]}),l!=="collapsed"&&(i[a.title]?e.jsx(re,{className:"h-3 w-3 ml-auto"}):e.jsx(ee,{className:"h-3 w-3 ml-auto"}))]})})})}),l!=="collapsed"&&i[a.title]&&w(a.children)]}):e.jsx(me,{children:e.jsx(fe,{asChild:!0,isActive:y(a.href),tooltip:{children:a.title},children:a.target==="_blank"?e.jsx("a",{href:a.href||"#",target:"_blank",rel:"noopener noreferrer",className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:u==="right"?e.jsxs(e.Fragment,{children:[l!=="collapsed"&&e.jsx("span",{children:a.title}),a.icon&&e.jsx(a.icon,{className:"h-4 w-4"})]}):e.jsxs(e.Fragment,{children:[a.icon&&e.jsx(a.icon,{className:"h-4 w-4"}),l!=="collapsed"&&e.jsx("span",{children:a.title})]})}):e.jsx(K,{href:a.href||"#",prefetch:!0,className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:u==="right"?e.jsxs(e.Fragment,{children:[l!=="collapsed"&&e.jsx("span",{children:a.title}),a.icon&&e.jsx(a.icon,{className:"h-4 w-4"})]}):e.jsxs(e.Fragment,{children:[a.icon&&e.jsx(a.icon,{className:"h-4 w-4"}),l!=="collapsed"&&e.jsx("span",{children:a.title})]})})})})},a.title))})]})}function qt(){var B,J;const{t,i18n:s}=Y(),{auth:o,globalSettings:l,companySlug:v}=H().props,i=((B=o.user)==null?void 0:B.type)||((J=o.user)==null?void 0:J.role),r=(o==null?void 0:o.permissions)||[],u=l==null?void 0:l.is_saas;document.documentElement.dir;const x=()=>[{title:t("Dashboard"),href:route("dashboard"),icon:ne},{title:t("Companies"),href:route("companies.index"),icon:Pe},{title:t("Media Library"),href:route("media-library"),icon:je},{title:t("Plans"),icon:Me,children:[{title:t("Plan"),href:route("plans.index")},{title:t("Plan Request"),href:route("plan-requests.index")},{title:t("Plan Orders"),href:route("plan-orders.index")}]},{title:t("Coupons"),href:route("coupons.index"),icon:se},{title:t("Referral Program"),href:route("referral.index"),icon:Te},{title:t("Landing Page"),icon:ve,children:[{title:t("Landing Page"),href:route("landing-page")},{title:t("Custom Pages"),href:route("landing-page.custom-pages.index")},...n(r,"manage-contacts")?[{title:t("Contact Inquiries"),href:route("contacts.index")}]:[],...n(r,"manage-newsletters")?[{title:t("Newsletter"),href:route("newsletters.index")}]:[]]},{title:t("Settings"),href:route("settings"),icon:se}],f=()=>{const h=[];i!=="employee"&&n(r,"manage-dashboard")&&h.push({title:t("Dashboard"),href:route("dashboard"),icon:ne});const N=[];n(r,"manage-users")&&N.push({title:t("Users"),href:route("users.index")}),n(r,"manage-roles")&&N.push({title:t("Roles"),href:route("roles.index")}),N.length>0&&h.push({title:t("Staff"),icon:Re,children:N});const c=[];n(r,"manage-branches")&&c.push({title:t("Branches"),href:route("hr.branches.index")}),n(r,"manage-departments")&&c.push({title:t("Departments"),href:route("hr.departments.index")}),n(r,"manage-designations")&&c.push({title:t("Designations"),href:route("hr.designations.index")}),n(r,"manage-document-types")&&c.push({title:t("Document Types"),href:route("hr.document-types.index")}),n(r,"manage-employees")&&c.push({title:t("Employees"),href:route("hr.employees.index")}),n(r,"manage-award-types")&&c.push({title:t("Award Types"),href:route("hr.award-types.index")}),n(r,"manage-awards")&&c.push({title:t("Awards"),href:route("hr.awards.index")}),n(r,"manage-promotions")&&c.push({title:t("Promotions"),href:route("hr.promotions.index")});const A=[];n(r,"manage-performance-indicator-categories")&&A.push({title:t("Indicator Categories"),href:route("hr.performance.indicator-categories.index")}),n(r,"manage-performance-indicators")&&A.push({title:t("Indicators"),href:route("hr.performance.indicators.index")}),n(r,"manage-goal-types")&&A.push({title:t("Goal Types"),href:route("hr.performance.goal-types.index")}),n(r,"manage-employee-goals")&&A.push({title:t("Employee Goals"),href:route("hr.performance.employee-goals.index")}),n(r,"manage-review-cycles")&&A.push({title:t("Review Cycles"),href:route("hr.performance.review-cycles.index")}),n(r,"manage-employee-reviews")&&A.push({title:t("Employee Reviews"),href:route("hr.performance.employee-reviews.index")}),A.length>0&&c.push({title:t("Performance"),children:A}),n(r,"manage-resignations")&&c.push({title:t("Resignations"),href:route("hr.resignations.index")}),n(r,"manage-terminations")&&c.push({title:t("Terminations"),href:route("hr.terminations.index")}),n(r,"manage-warnings")&&c.push({title:t("Warnings"),href:route("hr.warnings.index")}),n(r,"manage-trips")&&c.push({title:t("Trips"),href:route("hr.trips.index")}),n(r,"manage-complaints")&&c.push({title:t("Complaints"),href:route("hr.complaints.index")}),n(r,"manage-employee-transfers")&&c.push({title:t("Transfers"),href:route("hr.transfers.index")}),n(r,"manage-holidays")&&c.push({title:t("Holidays"),href:route("hr.holidays.index")}),n(r,"manage-announcements")&&c.push({title:t("Announcements"),href:route("hr.announcements.index")});const I=[];n(r,"manage-asset-types")&&I.push({title:t("Asset Types"),href:route("hr.asset-types.index")}),n(r,"manage-assets")&&I.push({title:t("Assets"),href:route("hr.assets.index")}),n(r,"manage-assets")&&I.push({title:t("Dashboard"),href:route("hr.assets.dashboard")}),n(r,"manage-assets")&&I.push({title:t("Depreciation"),href:route("hr.assets.depreciation-report")}),I.length>0&&c.push({title:t("Asset Management"),children:I});const P=[];n(r,"manage-training-types")&&P.push({title:t("Training Types"),href:route("hr.training-types.index")}),n(r,"manage-training-programs")&&P.push({title:t("Training Programs"),href:route("hr.training-programs.index")}),n(r,"manage-training-sessions")&&P.push({title:t("Training Sessions"),href:route("hr.training-sessions.index")}),n(r,"manage-employee-trainings")&&P.push({title:t("Employee Trainings"),href:route("hr.employee-trainings.index")}),P.length>0&&c.push({title:t("Training"),children:P}),c.length>0&&h.push({title:t("HR Management"),icon:Pe,children:c});const S=[];n(r,"manage-job-categories")&&S.push({title:t("Job Categories"),href:route("hr.recruitment.job-categories.index")}),n(r,"manage-job-types")&&S.push({title:t("Job Types"),href:route("hr.recruitment.job-types.index")}),n(r,"manage-job-locations")&&S.push({title:t("Job Locations"),href:route("hr.recruitment.job-locations.index")}),n(r,"manage-custom-questions")&&S.push({title:t("Custom Questions"),href:route("hr.recruitment.custom-questions.index")}),n(r,"manage-job-postings")&&S.push({title:t("Job Postings"),href:route("hr.recruitment.job-postings.index")}),n(r,"manage-candidate-sources")&&S.push({title:t("Candidate Sources"),href:route("hr.recruitment.candidate-sources.index")}),n(r,"manage-candidates")&&S.push({title:t("Candidates"),href:route("hr.recruitment.candidates.index")}),n(r,"manage-interview-types")&&S.push({title:t("Interview Types"),href:route("hr.recruitment.interview-types.index")}),n(r,"manage-interview-rounds")&&S.push({title:t("Interview Rounds"),href:route("hr.recruitment.interview-rounds.index")}),n(r,"manage-interviews")&&S.push({title:t("Interviews"),href:route("hr.recruitment.interviews.index")}),n(r,"manage-interview-feedback")&&S.push({title:t("Interview Feedback"),href:route("hr.recruitment.interview-feedback.index")}),n(r,"manage-candidate-assessments")&&S.push({title:t("Candidate Assessments"),href:route("hr.recruitment.candidate-assessments.index")}),n(r,"manage-offer-templates")&&S.push({title:t("Offer Templates"),href:route("hr.recruitment.offer-templates.index")}),n(r,"manage-offers")&&S.push({title:t("Offers"),href:route("hr.recruitment.offers.index")}),n(r,"manage-onboarding-checklists")&&S.push({title:t("Onboarding Checklists"),href:route("hr.recruitment.onboarding-checklists.index")}),n(r,"manage-checklist-items")&&S.push({title:t("Checklist Items"),href:route("hr.recruitment.checklist-items.index")}),n(r,"manage-candidate-onboarding")&&S.push({title:t("Candidate Onboarding"),href:route("hr.recruitment.candidate-onboarding.index")}),n(r,"manage-career-page")&&v&&S.push({title:t("Career"),href:route("career.index",v),target:"_blank"}),S.length>0&&h.push({title:t("Recruitment"),icon:Re,children:S});const W=[];n(r,"manage-contract-types")&&W.push({title:t("Contract Types"),href:route("hr.contracts.contract-types.index")}),n(r,"manage-employee-contracts")&&W.push({title:t("Employee Contracts"),href:route("hr.contracts.employee-contracts.index")}),n(r,"manage-contract-templates")&&W.push({title:t("Contract Templates"),href:route("hr.contracts.contract-templates.index")}),W.length>0&&h.push({title:t("Contract Management"),icon:ht,children:W});const O=[];n(r,"manage-document-categories")&&O.push({title:t("Document Categories"),href:route("hr.documents.document-categories.index")}),n(r,"manage-hr-documents")&&O.push({title:t("HR Documents"),href:route("hr.documents.hr-documents.index")}),n(r,"manage-document-acknowledgments")&&O.push({title:t("Acknowledgments"),href:route("hr.documents.document-acknowledgments.index")}),n(r,"manage-document-templates")&&O.push({title:t("Document Templates"),href:route("hr.documents.document-templates.index")}),O.length>0&&h.push({title:t("Document Management"),icon:yt,children:O});const F=[];n(r,"manage-meeting-types")&&F.push({title:t("Meeting Types"),href:route("meetings.meeting-types.index")}),n(r,"manage-meeting-rooms")&&F.push({title:t("Meeting Rooms"),href:route("meetings.meeting-rooms.index")}),n(r,"manage-meetings")&&F.push({title:t("Meetings"),href:route("meetings.meetings.index")}),n(r,"manage-meeting-attendees")&&F.push({title:t("Meeting Attendees"),href:route("meetings.meeting-attendees.index")}),n(r,"manage-meeting-minutes")&&F.push({title:t("Meeting Minutes"),href:route("meetings.meeting-minutes.index")}),n(r,"manage-action-items")&&F.push({title:t("Action Items"),href:route("meetings.action-items.index")}),F.length>0&&h.push({title:t("Meetings"),icon:De,children:F}),(n(r,"view-calendar")||n(r,"manage-calendar"))&&h.push({title:t("Calendar"),href:route("calendar.index"),icon:De}),n(r,"manage-media")&&h.push({title:t("Media Library"),href:route("media-library"),icon:je});const G=[];n(r,"manage-leave-types")&&G.push({title:t("Leave Types"),href:route("hr.leave-types.index")}),n(r,"manage-leave-policies")&&G.push({title:t("Leave Policies"),href:route("hr.leave-policies.index")}),n(r,"manage-leave-applications")&&G.push({title:t("Leave Applications"),href:route("hr.leave-applications.index")}),n(r,"manage-leave-balances")&&G.push({title:t("Leave Balances"),href:route("hr.leave-balances.index")}),G.length>0&&h.push({title:t("Leave Management"),icon:Lt,children:G});const q=[];n(r,"manage-shifts")&&q.push({title:t("Shifts"),href:route("hr.shifts.index")}),n(r,"manage-attendance-records")&&q.push({title:t("Attendance Records"),href:route("hr.attendance-records.index")}),n(r,"manage-attendance-regularizations")&&q.push({title:t("Attendance Adjustment"),href:route("hr.attendance-regularizations.index")}),n(r,"manage-attendance-records")&&q.push({title:t("Overtime Requests"),href:route("hr.overtime.index")}),q.length>0&&h.push({title:t("Attendance"),icon:Et,children:q}),n(r,"manage-biometric-attendance")&&h.push({title:t("Biometric Attendance"),href:route("hr.biometric-attendance.index"),icon:Pt});const te=[];n(r,"manage-time-entries")&&te.push({title:t("Time Entries"),href:route("hr.time-entries.index")}),te.length>0&&h.push({title:t("Time Tracking"),icon:Mt,children:te});const _=[];n(r,"manage-salary-components")&&_.push({title:t("Salary Components"),href:route("hr.salary-components.index")}),n(r,"manage-employee-salaries")&&_.push({title:t("Employee Salaries"),href:route("hr.employee-salaries.index")}),n(r,"manage-employee-salaries")&&_.push({title:t("Statutory Brackets"),href:route("hr.statutory-brackets.index")}),n(r,"manage-payroll-runs")&&(_.push({title:t("Payroll Runs"),href:route("hr.payroll-runs.index")}),_.push({title:t("13th Month Pay"),href:route("hr.thirteenth-month.index")})),n(r,"manage-payslips")&&_.push({title:t("Payslips"),href:route("hr.payslips.index")}),_.length>0&&h.push({title:t("Payroll Management"),icon:Tt,children:_});const V=[];return u&&n(r,"manage-plans")&&V.push({title:t("Plans"),href:route("plans.index")}),u&&n(r,"view-plan-requests")&&V.push({title:t("Plan Requests"),href:route("plan-requests.index")}),u&&n(r,"view-plan-orders")&&V.push({title:t("Plan Orders"),href:route("plan-orders.index")}),V.length>0&&h.push({title:t("Plans"),icon:Me,children:V}),u&&n(r,"manage-referral")&&h.push({title:t("Referral Program"),href:route("referral.index"),icon:Te}),!u&&n(r,"manage-currencies")&&h.push({title:t("Currency"),href:route("currencies.index"),icon:Rt}),!u&&n(r,"manage-landing-page")&&h.push({title:t("Landing Page"),icon:ve,children:[{title:t("Landing Page"),href:route("landing-page")},{title:t("Custom Pages"),href:route("landing-page.custom-pages.index")},...n(r,"manage-contacts")?[{title:t("Contact Inquiries"),href:route("contacts.index")}]:[],...n(r,"manage-newsletters")?[{title:t("Newsletter"),href:route("newsletters.index")}]:[]]}),n(r,"manage-settings")&&h.push({title:t("Settings"),href:route("settings"),icon:se}),h},m=i==="superadmin"?x():i==="employee"?[...(()=>{const h=[];h.push({title:t("Dashboard"),href:route("dashboard"),icon:ne});const N=[];return N.push({title:t("My Leaves"),href:route("hr.leave-applications.index")}),N.push({title:t("Overtime Requests"),href:route("hr.overtime.index")}),N.push({title:t("My Attendance"),href:route("hr.attendance-records.index")+"?my_attendance=1"}),N.push({title:t("My Payslips"),href:route("hr.payslips.index")}),(n(r,"view-leave-balances")||n(r,"manage-own-leave-balances")||n(r,"manage-leave-balances"))&&N.push({title:t("Leave Balances"),href:route("hr.leave-balances.index")}),(n(r,"view-biometric-attendance")||n(r,"manage-own-biometric-attendance")||n(r,"manage-biometric-attendance"))&&N.push({title:t("Biometric Attendance"),href:route("hr.biometric-attendance.index")}),N.length>0&&h.push({title:t("Self Service"),icon:qe,children:N}),h})(),...f()]:f(),{position:w,effectivePosition:a}=X(),{variant:p,collapsible:d,style:b}=it(),{logoLight:C,logoDark:L,favicon:k,titleText:E,updateBrandSettings:M}=ot(),[D,T]=j.useState({});j.useEffect(()=>{T(b==="colored"?{backgroundColor:"var(--primary)",color:"white"}:b==="gradient"?{background:"linear-gradient(to bottom, var(--primary), color-mix(in srgb, var(--primary), transparent 20%))",color:"white"}:{})},[b]);const g=m,Z=()=>{if(g.length===0)return route("dashboard");const h=g[0];return h.href?h.href:h.children&&h.children.length>0&&h.children[0].href||route("dashboard")};return e.jsxs(lt,{side:a,collapsible:d,variant:p,className:b!=="plain"?"sidebar-custom-style":"",children:[e.jsx(ct,{className:b!=="plain"?"sidebar-styled":"",style:D,children:e.jsx("div",{className:"flex justify-center items-center p-2",children:e.jsxs(K,{href:Z(),prefetch:!0,className:"flex items-center justify-center",children:[e.jsx("div",{className:"group-data-[collapsible=icon]:hidden flex items-center",children:(()=>{const h=document.documentElement.classList.contains("dark"),N=h?C:L,c=xe(N)??N;return c?e.jsx("img",{src:c,alt:"Logo",className:"w-auto transition-all duration-200",onError:()=>M({[h?"logoLight":"logoDark"]:""})},`${N}-${Date.now()}`):e.jsx("div",{className:"h-12 text-inherit font-semibold flex items-center text-lg tracking-tight",children:E||"WorkDo"})})()}),e.jsx("div",{className:"h-8 w-8 hidden group-data-[collapsible=icon]:block",children:(()=>{const h=k?xe(k):"";return h?e.jsx("img",{src:h,alt:"Icon",className:"h-8 w-8 transition-all duration-200",onError:()=>M({favicon:""})},`${k}-${Date.now()}`):e.jsx("div",{className:"h-8 w-8 bg-primary text-white rounded flex items-center justify-center font-bold shadow-sm",children:(E==null?void 0:E.charAt(0))||"W"})})()})]})})}),e.jsx(dt,{children:e.jsx("div",{style:D,className:`h-full ${b!=="plain"?"sidebar-styled":""}`,children:e.jsx(Gt,{items:g,position:a})})}),e.jsx(ut,{})]})}function zt({...t}){return e.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...t})}function Ut({className:t,...s}){return e.jsx("ol",{"data-slot":"breadcrumb-list",className:R("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",t),...s})}function Ht({className:t,...s}){return e.jsx("li",{"data-slot":"breadcrumb-item",className:R("inline-flex items-center gap-1.5",t),...s})}function Jt({asChild:t,className:s,...o}){const l=t?mt:"a";return e.jsx(l,{"data-slot":"breadcrumb-link",className:R("hover:text-foreground transition-colors cursor-pointer",s),...o})}function Wt({className:t,...s}){return e.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:R("text-foreground font-normal",t),...s})}function Vt({children:t,className:s,...o}){return e.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:R("[&>svg]:size-3.5",s),...o,children:t??e.jsx(ee,{})})}function Kt({items:t}){return e.jsx(e.Fragment,{children:t&&t.length>0&&e.jsx(zt,{children:e.jsx(Ut,{children:t.map((s,o)=>{const l=o===t.length-1;return e.jsxs(j.Fragment,{children:[e.jsx(Ht,{children:l?e.jsx(Wt,{children:s.label}):e.jsx(Jt,{asChild:!0,children:e.jsx(K,{href:s.href||"#",children:s.label})})}),!l&&e.jsx(Vt,{})]},o)})})})})}var ae={exports:{}},ie={};/** +import{j as e,r as j,a as Oe,b as Ke,J as Xe,K as oe}from"./ui-Z445SNHD.js";import{K as X,W as Ye,Y as Ze,u as Y,X as Qe,L as z,I as ue,o as $,V as he,t as U,c as H,Z as et,e as R,_ as tt,$ as rt,a0 as nt,a1 as st,a2 as me,a3 as fe,d as K,a4 as at,a5 as pe,a6 as ge,a7 as it,a as ot,a8 as lt,a9 as ct,g as xe,aa as dt,ab as ut,ac as je,ad as ve,x as n,F as ht,ae as mt,af as ce,r as Ge,ag as be,H as ft,s as pt,v as gt,w as xt}from"./app-Dya84jp7.js";import{T as ye}from"./textarea-yeg8ONhy.js";import{S as we,a as Ce,b as Se,c as Ne,d as Q}from"./select-CHkpLxhL.js";import{R as jt}from"./react-country-flag.esm-Bs2jngHP.js";import{l as vt}from"./language-BbwPiY59.js";import{S as Ae,B as bt,F as yt}from"./sparkles-C1HgyvOv.js";import{L as wt}from"./loader-circle-BLsTZrwM.js";import{C as ke}from"./copy-G5cMddid.js";import{C as Ie,D as Ct,a as St,b as Nt,e as At,d as Le,f as kt,c as Ee,L as It}from"./CookieConsentBanner-dwye0O-l.js";import{C as re}from"./chevron-up-DHaGktre.js";import{C as ee}from"./chevron-right-D4JxSs4d.js";import{L as ne}from"./layout-grid-3SDzvK8c.js";import{B as Pe}from"./briefcase-Btn3T9V4.js";import{C as Me}from"./credit-card-BKi_ThdS.js";import{S as se}from"./settings-amvA_CjN.js";import{G as Te}from"./gift-CQwwB55q.js";import{U as qe}from"./user-77BPqA3J.js";import{U as Re}from"./users-BzCDZrS0.js";import{C as De}from"./calendar-DuRYaSj5.js";import{C as Lt}from"./calendar-days-CURbwGg4.js";import{C as Et}from"./clock-LnEFQ-vK.js";import{F as Pt}from"./fingerprint-aH6d8cFa.js";import{T as Mt}from"./timer-BTqoLJiz.js";import{D as Tt}from"./dollar-sign-DH2Tc178.js";import{C as Rt}from"./coins-CgSV4zfi.js";import{c as Dt}from"./index-BFT_C1pH.js";import{L as Ft}from"./log-out-M0Vyot5_.js";function _t({variant:t="header",children:s,...o}){const{position:l}=X();return t==="sidebar"?e.jsx(Ye,{...o,children:e.jsx("div",{dir:l==="right"?"rtl":"ltr",className:"w-full min-w-0 overflow-hidden",children:s})}):e.jsx("main",{className:"mx-auto flex h-full w-full max-w-7xl flex-1 flex-col gap-4 rounded-xl",...o,children:e.jsx("div",{dir:l==="right"?"rtl":"ltr",children:s})})}function $t(t,s){const{registerModal:o,unregisterModal:l,getZIndex:v}=Ze(),[i]=j.useState(()=>t),[r,u]=j.useState(!1),x=s!==void 0?s:r;j.useEffect(()=>(x?o(i):l(i),()=>l(i)),[x,i,o,l]);const f=v(i);return{modalId:i,isOpen:x,setIsOpen:u,zIndex:f,open:()=>u(!0),close:()=>u(!1),toggle:()=>u(y=>!y)}}function Bt({isOpen:t,onClose:s,onGenerate:o,title:l="AI Content Generator",placeholder:v="Describe what you want to generate..."}){const{t:i}=Y();$t("chatgpt-modal",t);const[r,u]=j.useState(""),[x,f]=j.useState(""),[y,m]=j.useState(!1),[w,a]=j.useState("en"),[p,d]=j.useState("medium"),[b,C]=j.useState(1),[L,k]=j.useState(150),[E,M]=j.useState(""),[D,T]=j.useState(!1);j.useEffect(()=>{if(t){const c=()=>{document.body.removeAttribute("inert"),document.documentElement.removeAttribute("inert"),document.querySelectorAll("[inert]").forEach(P=>P.removeAttribute("inert"))};c();const A=setInterval(c,100);return()=>clearInterval(A)}},[t]);const g=async()=>{var c;if(!r.trim()){U.error(i("Please enter a prompt"));return}m(!0);try{const A=await fetch(route("chatgpt.generate"),{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":((c=document.querySelector('meta[name="csrf-token"]'))==null?void 0:c.getAttribute("content"))||""},body:JSON.stringify({prompt:r,language:w,creativity:p,num_results:b,max_length:L})}),I=await A.json();if(A.ok&&I.success!==!1)f(I.content),U.success(i("Content generated successfully"));else{const P=I.message||i("Failed to generate content");U.error(P)}}catch(A){const I=A instanceof Error?A.message:i("Error connecting to AI service");U.error(I)}finally{m(!1)}},Z=()=>{x&&(o(x),B())},B=()=>{u(""),f(""),M(""),T(!1),s()},J=async c=>{try{await navigator.clipboard.writeText(c),T(!0),U.success(i("Copied to clipboard")),setTimeout(()=>T(!1),2e3)}catch{U.error(i("Failed to copy"))}},h=()=>{const c=document.getElementById("generated-content");if(c){const A=c.selectionStart,I=c.selectionEnd,P=c.value.substring(A,I);M(P)}};if(!t)return null;const N=e.jsxs("div",{className:"fixed inset-0 flex items-center justify-center",style:{zIndex:99999},"data-chatgpt-modal":!0,onClick:c=>{c.target===c.currentTarget&&B()},children:[e.jsx("div",{className:"fixed inset-0 bg-black/30"}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-2xl w-full mx-4 border relative",style:{zIndex:1e5},onClick:c=>c.stopPropagation(),children:[e.jsxs("div",{className:"p-6 border-b flex items-center justify-between",children:[e.jsxs("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[e.jsx(Ae,{className:"h-5 w-5 text-blue-500"}),i(l)]}),e.jsx("button",{onClick:B,className:"p-1 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-full transition-colors",children:e.jsx(Qe,{className:"h-5 w-5"})})]}),e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(z,{children:i("Language")}),e.jsxs(we,{value:w,onValueChange:a,children:[e.jsx(Ce,{children:e.jsx(Se,{})}),e.jsx(Ne,{style:{zIndex:100010},children:vt.map(c=>e.jsxs(Q,{value:c.code,children:[e.jsx(jt,{countryCode:c.countryCode,svg:!0,style:{width:"1em",height:"1em",marginRight:"8px"}}),c.name]},c.code))})]})]}),e.jsxs("div",{children:[e.jsx(z,{children:i("AI Creativity")}),e.jsxs(we,{value:p,onValueChange:d,children:[e.jsx(Ce,{children:e.jsx(Se,{})}),e.jsxs(Ne,{style:{zIndex:100010},children:[e.jsxs(Q,{value:"low",children:[i("Low")," (0.3)"]}),e.jsxs(Q,{value:"medium",children:[i("Medium")," (0.7)"]}),e.jsxs(Q,{value:"high",children:[i("High")," (0.9)"]})]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(z,{children:i("Number of Results")}),e.jsx(ue,{type:"number",value:b,onChange:c=>C(Number(c.target.value)),min:1,max:5})]}),e.jsxs("div",{children:[e.jsx(z,{children:i("Max Result Length")}),e.jsx(ue,{type:"number",value:L,onChange:c=>k(Number(c.target.value)),min:50,max:500})]})]}),e.jsxs("div",{children:[e.jsx(z,{htmlFor:"prompt",children:i("Add Text")}),e.jsx(ye,{id:"prompt",value:r,onChange:c=>u(c.target.value),placeholder:i(v),rows:3,className:"mt-1"})]}),e.jsx($,{onClick:g,disabled:y||!r.trim(),className:"w-full",children:y?e.jsxs(e.Fragment,{children:[e.jsx(wt,{className:"h-4 w-4 mr-2 animate-spin"}),i("Generating...")]}):e.jsxs(e.Fragment,{children:[e.jsx(Ae,{className:"h-4 w-4 mr-2"}),i("Generate")]})}),x&&e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx(z,{htmlFor:"generated",children:i("Output Text")}),e.jsxs("div",{className:"flex gap-2",children:[E&&e.jsxs($,{size:"sm",variant:"outline",onClick:()=>J(E),children:[D?e.jsx(he,{className:"h-4 w-4"}):e.jsx(ke,{className:"h-4 w-4"}),i("Copy Selected")]}),e.jsxs($,{size:"sm",variant:"outline",onClick:()=>J(x),children:[D?e.jsx(he,{className:"h-4 w-4"}):e.jsx(ke,{className:"h-4 w-4"}),i("Copy Text")]})]})]}),e.jsx(ye,{id:"generated-content",value:x,onChange:c=>f(c.target.value),onSelect:h,rows:6,className:"mt-1"}),e.jsxs("div",{className:"flex gap-2 mt-2",children:[e.jsx($,{onClick:Z,className:"flex-1",children:i("Use This Content")}),e.jsx($,{variant:"outline",onClick:g,disabled:y,children:i("Regenerate")})]})]})]})]})]});return typeof window<"u"?Oe.createPortal(N,document.body):null}function le(){var p,d,b,C,L,k,E,M,D,T;const{t}=Y(),{auth:s}=H().props,{position:o}=X(),[l,v]=j.useState(!1),[i,r]=j.useState(""),x=(((p=s==null?void 0:s.roles)==null?void 0:p[0])||((d=s==null?void 0:s.user)==null?void 0:d.type))==="superadmin"||((b=s==null?void 0:s.user)==null?void 0:b.type)==="superadmin",f=((C=s==null?void 0:s.user)==null?void 0:C.type)==="company";let y=!1;if(x)y=!0;else if(f)y=((L=s==null?void 0:s.user)==null?void 0:L.plan_is_active)===1&&((k=s==null?void 0:s.user)==null?void 0:k.plan)&&((M=(E=s==null?void 0:s.user)==null?void 0:E.plan)==null?void 0:M.enable_chatgpt)==="on";else{const g=(D=s==null?void 0:s.user)==null?void 0:D.creator;y=(g==null?void 0:g.plan_is_active)===1&&(g==null?void 0:g.plan)&&((T=g==null?void 0:g.plan)==null?void 0:T.enable_chatgpt)==="on"}if(!y)return null;j.useEffect(()=>{},[l]);const m=g=>{r(g)},w=()=>{v(!0)},a=()=>{v(!1)};return Oe.createPortal(e.jsxs(e.Fragment,{children:[e.jsx("div",{className:`fixed bottom-6 z-[80000] pointer-events-auto ${o==="right"?"left-6":"right-6"}`,"data-chatgpt-button":!0,style:{pointerEvents:"auto",zIndex:8e4},onClickCapture:g=>{g.preventDefault(),g.stopPropagation(),g.nativeEvent.stopImmediatePropagation(),w()},onMouseDownCapture:g=>{g.preventDefault(),g.stopPropagation()},onClick:g=>{g.preventDefault(),g.stopPropagation()},children:e.jsx($,{onClick:g=>{g.preventDefault(),g.stopPropagation(),w()},className:"h-14 w-14 rounded-full shadow-lg hover:shadow-xl transition-shadow pointer-events-auto",size:"lg","data-chatgpt-button":!0,style:{pointerEvents:"auto"},children:e.jsx(bt,{className:"h-6 w-6"})})}),e.jsx(Bt,{isOpen:l,onClose:a,onGenerate:m,title:t("AI Assistant"),placeholder:t("What would you like me to help you generate?")})]}),document.body)}function Ot({children:t,variant:s="header"}){const[o,l]=j.useState(()=>typeof window<"u"?localStorage.getItem("sidebar")!=="false":!0),v=r=>{l(r),typeof window<"u"&&localStorage.setItem("sidebar",String(r))};if(s==="header")return e.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[t,e.jsx(le,{}),e.jsx(Ie,{})]});const{position:i}=X();return e.jsx(et,{defaultOpen:o,open:o,onOpenChange:v,children:e.jsxs("div",{className:R("flex w-full",i==="right"?"flex-row-reverse":"flex-row"),children:[t,e.jsx(le,{}),e.jsx(Ie,{})]})})}const Fe="nav_expanded_items";function Gt({items:t=[],position:s}){const o=H(),{state:l}=tt(),v=document.documentElement.dir==="rtl",[i,r]=j.useState({}),u=v?s==="left"?"right":"left":s;j.useEffect(()=>{const a={},p=(d,b)=>{d.forEach(C=>{const L=y(C.href),k=C.children&&m(C.children);b&&(L||k)&&(a[b]=!0),C.children&&(L||k||C.defaultOpen===!0)&&(a[C.title]=!0,p(C.children,C.title)),C.children&&x(C.children,1,a)})};p(t),r(a);try{localStorage.setItem(Fe,JSON.stringify(a))}catch(d){console.error("Error saving navigation state:",d)}},[o.url,t]);const x=(a,p,d)=>{a.forEach(b=>{const C=`${p}-${b.title}`,L=y(b.href),k=b.children&&m(b.children);b.children&&(L||k)&&(d[C]=!0,x(b.children,p+1,d))})},f=a=>{const p={...i,[a]:!i[a]};r(p);try{localStorage.setItem(Fe,JSON.stringify(p))}catch(d){console.error("Error saving navigation state:",d)}},y=a=>{if(!a)return!1;const p=a.startsWith("http")?new URL(a):new URL(a,window.location.origin),d=new URL(o.url,window.location.origin),b=p.pathname.replace(/\/$/,""),C=d.pathname.replace(/\/$/,"");if(!(C===b||C.startsWith(b+"/")))return!1;let k=!0;return p.searchParams.forEach((E,M)=>{d.searchParams.get(M)!==E&&(k=!1)}),d.searchParams.has("my_attendance")&&!p.searchParams.has("my_attendance")&&(k=!1),k},m=a=>a?a.some(p=>y(p.href)||m(p.children)):!1,w=(a,p=1)=>e.jsx(at,{children:a.map(d=>e.jsx("div",{children:d.children?e.jsxs(e.Fragment,{children:[e.jsx(pe,{children:e.jsx(ge,{isActive:m(d.children),onClick:()=>f(`${p}-${d.title}`),className:"cursor-pointer",children:e.jsxs("div",{className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:[e.jsx("span",{children:d.title}),l!=="collapsed"&&(i[`${p}-${d.title}`]?e.jsx(re,{className:"h-3 w-3 ml-auto"}):e.jsx(ee,{className:"h-3 w-3 ml-auto"}))]})})}),i[`${p}-${d.title}`]&&w(d.children,p+1)]}):e.jsx(pe,{children:e.jsx(ge,{asChild:!0,isActive:y(d.href),children:d.target==="_blank"?e.jsx("a",{href:d.href||"#",target:"_blank",rel:"noopener noreferrer",className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:e.jsx("span",{children:d.title})}):e.jsx(K,{href:d.href||"#",prefetch:!0,className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:e.jsx("span",{children:d.title})})})})},d.title))});return e.jsxs(rt,{className:"px-1.5 py-0",children:[e.jsx(nt,{className:`flex w-full text-xs ${u==="right"?"justify-end":"justify-start"}`}),e.jsx(st,{children:t.map(a=>e.jsx("div",{children:a.children?e.jsxs(e.Fragment,{children:[e.jsx(me,{children:e.jsx(fe,{isActive:m(a.children),tooltip:{children:a.title},onClick:()=>f(a.title),className:"cursor-pointer",children:e.jsx("div",{className:`flex items-center gap-2 w-full ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:u==="right"?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:l!=="collapsed"?a.title:""}),a.icon&&e.jsx(a.icon,{className:"h-4 w-4"}),l!=="collapsed"&&(i[a.title]?e.jsx(re,{className:"h-3 w-3"}):e.jsx(ee,{className:"h-3 w-3"}))]}):e.jsxs(e.Fragment,{children:[a.icon&&e.jsx(a.icon,{className:"h-4 w-4"}),e.jsxs("div",{className:"flex items-center gap-1",children:[l!=="collapsed"&&e.jsx("span",{children:a.title}),l!=="collapsed"&&a.badge&&e.jsx("span",{className:"px-1.5 py-0.5 text-[10px] font-medium rounded-full bg-primary text-white",children:a.badge.label})]}),l!=="collapsed"&&(i[a.title]?e.jsx(re,{className:"h-3 w-3 ml-auto"}):e.jsx(ee,{className:"h-3 w-3 ml-auto"}))]})})})}),l!=="collapsed"&&i[a.title]&&w(a.children)]}):e.jsx(me,{children:e.jsx(fe,{asChild:!0,isActive:y(a.href),tooltip:{children:a.title},children:a.target==="_blank"?e.jsx("a",{href:a.href||"#",target:"_blank",rel:"noopener noreferrer",className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:u==="right"?e.jsxs(e.Fragment,{children:[l!=="collapsed"&&e.jsx("span",{children:a.title}),a.icon&&e.jsx(a.icon,{className:"h-4 w-4"})]}):e.jsxs(e.Fragment,{children:[a.icon&&e.jsx(a.icon,{className:"h-4 w-4"}),l!=="collapsed"&&e.jsx("span",{children:a.title})]})}):e.jsx(K,{href:a.href||"#",prefetch:!0,className:`flex items-center gap-2 ${u==="right"?"justify-end text-right":"justify-start text-left"}`,children:u==="right"?e.jsxs(e.Fragment,{children:[l!=="collapsed"&&e.jsx("span",{children:a.title}),a.icon&&e.jsx(a.icon,{className:"h-4 w-4"})]}):e.jsxs(e.Fragment,{children:[a.icon&&e.jsx(a.icon,{className:"h-4 w-4"}),l!=="collapsed"&&e.jsx("span",{children:a.title})]})})})})},a.title))})]})}function qt(){var B,J;const{t,i18n:s}=Y(),{auth:o,globalSettings:l,companySlug:v}=H().props,i=((B=o.user)==null?void 0:B.type)||((J=o.user)==null?void 0:J.role),r=(o==null?void 0:o.permissions)||[],u=l==null?void 0:l.is_saas;document.documentElement.dir;const x=()=>[{title:t("Dashboard"),href:route("dashboard"),icon:ne},{title:t("Companies"),href:route("companies.index"),icon:Pe},{title:t("Media Library"),href:route("media-library"),icon:je},{title:t("Plans"),icon:Me,children:[{title:t("Plan"),href:route("plans.index")},{title:t("Plan Request"),href:route("plan-requests.index")},{title:t("Plan Orders"),href:route("plan-orders.index")}]},{title:t("Coupons"),href:route("coupons.index"),icon:se},{title:t("Referral Program"),href:route("referral.index"),icon:Te},{title:t("Landing Page"),icon:ve,children:[{title:t("Landing Page"),href:route("landing-page")},{title:t("Custom Pages"),href:route("landing-page.custom-pages.index")},...n(r,"manage-contacts")?[{title:t("Contact Inquiries"),href:route("contacts.index")}]:[],...n(r,"manage-newsletters")?[{title:t("Newsletter"),href:route("newsletters.index")}]:[]]},{title:t("Settings"),href:route("settings"),icon:se}],f=()=>{const h=[];i!=="employee"&&n(r,"manage-dashboard")&&h.push({title:t("Dashboard"),href:route("dashboard"),icon:ne});const N=[];n(r,"manage-users")&&N.push({title:t("Users"),href:route("users.index")}),n(r,"manage-roles")&&N.push({title:t("Roles"),href:route("roles.index")}),N.length>0&&h.push({title:t("Staff"),icon:Re,children:N});const c=[];n(r,"manage-branches")&&c.push({title:t("Branches"),href:route("hr.branches.index")}),n(r,"manage-departments")&&c.push({title:t("Departments"),href:route("hr.departments.index")}),n(r,"manage-designations")&&c.push({title:t("Designations"),href:route("hr.designations.index")}),n(r,"manage-document-types")&&c.push({title:t("Document Types"),href:route("hr.document-types.index")}),n(r,"manage-employees")&&c.push({title:t("Employees"),href:route("hr.employees.index")}),n(r,"manage-award-types")&&c.push({title:t("Award Types"),href:route("hr.award-types.index")}),n(r,"manage-awards")&&c.push({title:t("Awards"),href:route("hr.awards.index")}),n(r,"manage-promotions")&&c.push({title:t("Promotions"),href:route("hr.promotions.index")});const A=[];n(r,"manage-performance-indicator-categories")&&A.push({title:t("Indicator Categories"),href:route("hr.performance.indicator-categories.index")}),n(r,"manage-performance-indicators")&&A.push({title:t("Indicators"),href:route("hr.performance.indicators.index")}),n(r,"manage-goal-types")&&A.push({title:t("Goal Types"),href:route("hr.performance.goal-types.index")}),n(r,"manage-employee-goals")&&A.push({title:t("Employee Goals"),href:route("hr.performance.employee-goals.index")}),n(r,"manage-review-cycles")&&A.push({title:t("Review Cycles"),href:route("hr.performance.review-cycles.index")}),n(r,"manage-employee-reviews")&&A.push({title:t("Employee Reviews"),href:route("hr.performance.employee-reviews.index")}),A.length>0&&c.push({title:t("Performance"),children:A}),n(r,"manage-resignations")&&c.push({title:t("Resignations"),href:route("hr.resignations.index")}),n(r,"manage-terminations")&&c.push({title:t("Terminations"),href:route("hr.terminations.index")}),n(r,"manage-warnings")&&c.push({title:t("Warnings"),href:route("hr.warnings.index")}),n(r,"manage-trips")&&c.push({title:t("Trips"),href:route("hr.trips.index")}),n(r,"manage-complaints")&&c.push({title:t("Complaints"),href:route("hr.complaints.index")}),n(r,"manage-employee-transfers")&&c.push({title:t("Transfers"),href:route("hr.transfers.index")}),n(r,"manage-holidays")&&c.push({title:t("Holidays"),href:route("hr.holidays.index")}),n(r,"manage-announcements")&&c.push({title:t("Announcements"),href:route("hr.announcements.index")});const I=[];n(r,"manage-asset-types")&&I.push({title:t("Asset Types"),href:route("hr.asset-types.index")}),n(r,"manage-assets")&&I.push({title:t("Assets"),href:route("hr.assets.index")}),n(r,"manage-assets")&&I.push({title:t("Dashboard"),href:route("hr.assets.dashboard")}),n(r,"manage-assets")&&I.push({title:t("Depreciation"),href:route("hr.assets.depreciation-report")}),I.length>0&&c.push({title:t("Asset Management"),children:I});const P=[];n(r,"manage-training-types")&&P.push({title:t("Training Types"),href:route("hr.training-types.index")}),n(r,"manage-training-programs")&&P.push({title:t("Training Programs"),href:route("hr.training-programs.index")}),n(r,"manage-training-sessions")&&P.push({title:t("Training Sessions"),href:route("hr.training-sessions.index")}),n(r,"manage-employee-trainings")&&P.push({title:t("Employee Trainings"),href:route("hr.employee-trainings.index")}),P.length>0&&c.push({title:t("Training"),children:P}),c.length>0&&h.push({title:t("HR Management"),icon:Pe,children:c});const S=[];n(r,"manage-job-categories")&&S.push({title:t("Job Categories"),href:route("hr.recruitment.job-categories.index")}),n(r,"manage-job-types")&&S.push({title:t("Job Types"),href:route("hr.recruitment.job-types.index")}),n(r,"manage-job-locations")&&S.push({title:t("Job Locations"),href:route("hr.recruitment.job-locations.index")}),n(r,"manage-custom-questions")&&S.push({title:t("Custom Questions"),href:route("hr.recruitment.custom-questions.index")}),n(r,"manage-job-postings")&&S.push({title:t("Job Postings"),href:route("hr.recruitment.job-postings.index")}),n(r,"manage-candidate-sources")&&S.push({title:t("Candidate Sources"),href:route("hr.recruitment.candidate-sources.index")}),n(r,"manage-candidates")&&S.push({title:t("Candidates"),href:route("hr.recruitment.candidates.index")}),n(r,"manage-interview-types")&&S.push({title:t("Interview Types"),href:route("hr.recruitment.interview-types.index")}),n(r,"manage-interview-rounds")&&S.push({title:t("Interview Rounds"),href:route("hr.recruitment.interview-rounds.index")}),n(r,"manage-interviews")&&S.push({title:t("Interviews"),href:route("hr.recruitment.interviews.index")}),n(r,"manage-interview-feedback")&&S.push({title:t("Interview Feedback"),href:route("hr.recruitment.interview-feedback.index")}),n(r,"manage-candidate-assessments")&&S.push({title:t("Candidate Assessments"),href:route("hr.recruitment.candidate-assessments.index")}),n(r,"manage-offer-templates")&&S.push({title:t("Offer Templates"),href:route("hr.recruitment.offer-templates.index")}),n(r,"manage-offers")&&S.push({title:t("Offers"),href:route("hr.recruitment.offers.index")}),n(r,"manage-onboarding-checklists")&&S.push({title:t("Onboarding Checklists"),href:route("hr.recruitment.onboarding-checklists.index")}),n(r,"manage-checklist-items")&&S.push({title:t("Checklist Items"),href:route("hr.recruitment.checklist-items.index")}),n(r,"manage-candidate-onboarding")&&S.push({title:t("Candidate Onboarding"),href:route("hr.recruitment.candidate-onboarding.index")}),n(r,"manage-career-page")&&v&&S.push({title:t("Career"),href:route("career.index",v),target:"_blank"}),S.length>0&&h.push({title:t("Recruitment"),icon:Re,children:S});const W=[];n(r,"manage-contract-types")&&W.push({title:t("Contract Types"),href:route("hr.contracts.contract-types.index")}),n(r,"manage-employee-contracts")&&W.push({title:t("Employee Contracts"),href:route("hr.contracts.employee-contracts.index")}),n(r,"manage-contract-templates")&&W.push({title:t("Contract Templates"),href:route("hr.contracts.contract-templates.index")}),W.length>0&&h.push({title:t("Contract Management"),icon:ht,children:W});const O=[];n(r,"manage-document-categories")&&O.push({title:t("Document Categories"),href:route("hr.documents.document-categories.index")}),n(r,"manage-hr-documents")&&O.push({title:t("HR Documents"),href:route("hr.documents.hr-documents.index")}),n(r,"manage-document-acknowledgments")&&O.push({title:t("Acknowledgments"),href:route("hr.documents.document-acknowledgments.index")}),n(r,"manage-document-templates")&&O.push({title:t("Document Templates"),href:route("hr.documents.document-templates.index")}),O.length>0&&h.push({title:t("Document Management"),icon:yt,children:O});const F=[];n(r,"manage-meeting-types")&&F.push({title:t("Meeting Types"),href:route("meetings.meeting-types.index")}),n(r,"manage-meeting-rooms")&&F.push({title:t("Meeting Rooms"),href:route("meetings.meeting-rooms.index")}),n(r,"manage-meetings")&&F.push({title:t("Meetings"),href:route("meetings.meetings.index")}),n(r,"manage-meeting-attendees")&&F.push({title:t("Meeting Attendees"),href:route("meetings.meeting-attendees.index")}),n(r,"manage-meeting-minutes")&&F.push({title:t("Meeting Minutes"),href:route("meetings.meeting-minutes.index")}),n(r,"manage-action-items")&&F.push({title:t("Action Items"),href:route("meetings.action-items.index")}),F.length>0&&h.push({title:t("Meetings"),icon:De,children:F}),(n(r,"view-calendar")||n(r,"manage-calendar"))&&h.push({title:t("Calendar"),href:route("calendar.index"),icon:De}),n(r,"manage-media")&&h.push({title:t("Media Library"),href:route("media-library"),icon:je});const G=[];n(r,"manage-leave-types")&&G.push({title:t("Leave Types"),href:route("hr.leave-types.index")}),n(r,"manage-leave-policies")&&G.push({title:t("Leave Policies"),href:route("hr.leave-policies.index")}),n(r,"manage-leave-applications")&&G.push({title:t("Leave Applications"),href:route("hr.leave-applications.index")}),n(r,"manage-leave-balances")&&G.push({title:t("Leave Balances"),href:route("hr.leave-balances.index")}),G.length>0&&h.push({title:t("Leave Management"),icon:Lt,children:G});const q=[];n(r,"manage-shifts")&&q.push({title:t("Shifts"),href:route("hr.shifts.index")}),n(r,"manage-attendance-records")&&q.push({title:t("Attendance Records"),href:route("hr.attendance-records.index")}),n(r,"manage-attendance-regularizations")&&q.push({title:t("Attendance Adjustment"),href:route("hr.attendance-regularizations.index")}),n(r,"manage-attendance-records")&&q.push({title:t("Overtime Requests"),href:route("hr.overtime.index")}),q.length>0&&h.push({title:t("Attendance"),icon:Et,children:q}),n(r,"manage-biometric-attendance")&&h.push({title:t("Biometric Attendance"),href:route("hr.biometric-attendance.index"),icon:Pt});const te=[];n(r,"manage-time-entries")&&te.push({title:t("Time Entries"),href:route("hr.time-entries.index")}),te.length>0&&h.push({title:t("Time Tracking"),icon:Mt,children:te});const _=[];n(r,"manage-salary-components")&&_.push({title:t("Salary Components"),href:route("hr.salary-components.index")}),n(r,"manage-employee-salaries")&&_.push({title:t("Employee Salaries"),href:route("hr.employee-salaries.index")}),n(r,"manage-employee-salaries")&&_.push({title:t("Statutory Brackets"),href:route("hr.statutory-brackets.index")}),n(r,"manage-payroll-runs")&&(_.push({title:t("Payroll Runs"),href:route("hr.payroll-runs.index")}),_.push({title:t("13th Month Pay"),href:route("hr.thirteenth-month.index")})),n(r,"manage-payslips")&&_.push({title:t("Payslips"),href:route("hr.payslips.index")}),_.length>0&&h.push({title:t("Payroll Management"),icon:Tt,children:_});const V=[];return u&&n(r,"manage-plans")&&V.push({title:t("Plans"),href:route("plans.index")}),u&&n(r,"view-plan-requests")&&V.push({title:t("Plan Requests"),href:route("plan-requests.index")}),u&&n(r,"view-plan-orders")&&V.push({title:t("Plan Orders"),href:route("plan-orders.index")}),V.length>0&&h.push({title:t("Plans"),icon:Me,children:V}),u&&n(r,"manage-referral")&&h.push({title:t("Referral Program"),href:route("referral.index"),icon:Te}),!u&&n(r,"manage-currencies")&&h.push({title:t("Currency"),href:route("currencies.index"),icon:Rt}),!u&&n(r,"manage-landing-page")&&h.push({title:t("Landing Page"),icon:ve,children:[{title:t("Landing Page"),href:route("landing-page")},{title:t("Custom Pages"),href:route("landing-page.custom-pages.index")},...n(r,"manage-contacts")?[{title:t("Contact Inquiries"),href:route("contacts.index")}]:[],...n(r,"manage-newsletters")?[{title:t("Newsletter"),href:route("newsletters.index")}]:[]]}),n(r,"manage-settings")&&h.push({title:t("Settings"),href:route("settings"),icon:se}),h},m=i==="superadmin"?x():i==="employee"?[...(()=>{const h=[];h.push({title:t("Dashboard"),href:route("dashboard"),icon:ne});const N=[];return N.push({title:t("My Leaves"),href:route("hr.leave-applications.index")}),N.push({title:t("Overtime Requests"),href:route("hr.overtime.index")}),N.push({title:t("My Attendance"),href:route("hr.attendance-records.index")+"?my_attendance=1"}),N.push({title:t("My Payslips"),href:route("hr.payslips.index")}),(n(r,"view-leave-balances")||n(r,"manage-own-leave-balances")||n(r,"manage-leave-balances"))&&N.push({title:t("Leave Balances"),href:route("hr.leave-balances.index")}),(n(r,"view-biometric-attendance")||n(r,"manage-own-biometric-attendance")||n(r,"manage-biometric-attendance"))&&N.push({title:t("Biometric Attendance"),href:route("hr.biometric-attendance.index")}),N.length>0&&h.push({title:t("Self Service"),icon:qe,children:N}),h})(),...f()]:f(),{position:w,effectivePosition:a}=X(),{variant:p,collapsible:d,style:b}=it(),{logoLight:C,logoDark:L,favicon:k,titleText:E,updateBrandSettings:M}=ot(),[D,T]=j.useState({});j.useEffect(()=>{T(b==="colored"?{backgroundColor:"var(--primary)",color:"white"}:b==="gradient"?{background:"linear-gradient(to bottom, var(--primary), color-mix(in srgb, var(--primary), transparent 20%))",color:"white"}:{})},[b]);const g=m,Z=()=>{if(g.length===0)return route("dashboard");const h=g[0];return h.href?h.href:h.children&&h.children.length>0&&h.children[0].href||route("dashboard")};return e.jsxs(lt,{side:a,collapsible:d,variant:p,className:b!=="plain"?"sidebar-custom-style":"",children:[e.jsx(ct,{className:b!=="plain"?"sidebar-styled":"",style:D,children:e.jsx("div",{className:"flex justify-center items-center p-2",children:e.jsxs(K,{href:Z(),prefetch:!0,className:"flex items-center justify-center",children:[e.jsx("div",{className:"group-data-[collapsible=icon]:hidden flex items-center",children:(()=>{const h=document.documentElement.classList.contains("dark"),N=h?C:L,c=xe(N)??N;return c?e.jsx("img",{src:c,alt:"Logo",className:"w-auto transition-all duration-200",onError:()=>M({[h?"logoLight":"logoDark"]:""})},`${N}-${Date.now()}`):e.jsx("div",{className:"h-12 text-inherit font-semibold flex items-center text-lg tracking-tight",children:E||"WorkDo"})})()}),e.jsx("div",{className:"h-8 w-8 hidden group-data-[collapsible=icon]:block",children:(()=>{const h=k?xe(k):"";return h?e.jsx("img",{src:h,alt:"Icon",className:"h-8 w-8 transition-all duration-200",onError:()=>M({favicon:""})},`${k}-${Date.now()}`):e.jsx("div",{className:"h-8 w-8 bg-primary text-white rounded flex items-center justify-center font-bold shadow-sm",children:(E==null?void 0:E.charAt(0))||"W"})})()})]})})}),e.jsx(dt,{children:e.jsx("div",{style:D,className:`h-full ${b!=="plain"?"sidebar-styled":""}`,children:e.jsx(Gt,{items:g,position:a})})}),e.jsx(ut,{})]})}function zt({...t}){return e.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...t})}function Ut({className:t,...s}){return e.jsx("ol",{"data-slot":"breadcrumb-list",className:R("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",t),...s})}function Ht({className:t,...s}){return e.jsx("li",{"data-slot":"breadcrumb-item",className:R("inline-flex items-center gap-1.5",t),...s})}function Jt({asChild:t,className:s,...o}){const l=t?mt:"a";return e.jsx(l,{"data-slot":"breadcrumb-link",className:R("hover:text-foreground transition-colors cursor-pointer",s),...o})}function Wt({className:t,...s}){return e.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:R("text-foreground font-normal",t),...s})}function Vt({children:t,className:s,...o}){return e.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:R("[&>svg]:size-3.5",s),...o,children:t??e.jsx(ee,{})})}function Kt({items:t}){return e.jsx(e.Fragment,{children:t&&t.length>0&&e.jsx(zt,{children:e.jsx(Ut,{children:t.map((s,o)=>{const l=o===t.length-1;return e.jsxs(j.Fragment,{children:[e.jsx(Ht,{children:l?e.jsx(Wt,{children:s.label}):e.jsx(Jt,{asChild:!0,children:e.jsx(K,{href:s.href||"#",children:s.label})})}),!l&&e.jsx(Vt,{})]},o)})})})})}var ae={exports:{}},ie={};/** * @license React * use-sync-external-store-shim.production.js * diff --git a/public/build/assets/pagination-D8A_HnL5.js b/public/build/assets/pagination-4PUepASD.js similarity index 95% rename from public/build/assets/pagination-D8A_HnL5.js rename to public/build/assets/pagination-4PUepASD.js index 81527dadd..7f60834cc 100644 --- a/public/build/assets/pagination-D8A_HnL5.js +++ b/public/build/assets/pagination-4PUepASD.js @@ -1 +1 @@ -import{j as s}from"./ui-Z445SNHD.js";import{u as j,o as l,e as b}from"./app-CfhhiFAk.js";function w({from:c=0,to:m=0,total:x=0,links:n=[],currentPage:a,lastPage:i,entityName:h="items",onPageChange:d,className:p=""}){const{t}=j(),o=e=>{d?d(e):e&&(window.location.href=e)};return s.jsxs("div",{className:b("p-4 border-t dark:border-gray-700 flex items-center justify-between dark:bg-gray-900",p),children:[s.jsxs("div",{className:"text-sm text-muted-foreground dark:text-gray-300",children:[t("Showing")," ",s.jsx("span",{className:"font-medium dark:text-white",children:c})," ",t("to")," ",s.jsx("span",{className:"font-medium dark:text-white",children:m})," ",t("of")," ",s.jsx("span",{className:"font-medium dark:text-white",children:x})," ",h]}),s.jsx("div",{className:"flex gap-1",children:n&&n.length>0?n.map((e,u)=>{const r=e.label==="« Previous"||e.label==="Next »",f=e.label.replace("« ","").replace(" »","");return s.jsx(l,{variant:e.active?"default":"outline",size:r?"sm":"icon",className:r?"px-3":"h-8 w-8",disabled:!e.url,onClick:()=>e.url&&o(e.url),children:r?f:s.jsx("span",{dangerouslySetInnerHTML:{__html:e.label}})},`pagination-${u}-${e.label}`)}):a&&i&&i>1&&s.jsxs(s.Fragment,{children:[s.jsx(l,{variant:"outline",size:"sm",disabled:a<=1,onClick:()=>o(`?page=${a-1}`),children:t("Previous")}),s.jsxs("span",{className:"px-3 py-1 dark:text-white",children:[a," of ",i]}),s.jsx(l,{variant:"outline",size:"sm",disabled:a>=i,onClick:()=>o(`?page=${a+1}`),children:t("Next")})]})})]})}export{w as P}; +import{j as s}from"./ui-Z445SNHD.js";import{u as j,o as l,e as b}from"./app-Dya84jp7.js";function w({from:c=0,to:m=0,total:x=0,links:n=[],currentPage:a,lastPage:i,entityName:h="items",onPageChange:d,className:p=""}){const{t}=j(),o=e=>{d?d(e):e&&(window.location.href=e)};return s.jsxs("div",{className:b("p-4 border-t dark:border-gray-700 flex items-center justify-between dark:bg-gray-900",p),children:[s.jsxs("div",{className:"text-sm text-muted-foreground dark:text-gray-300",children:[t("Showing")," ",s.jsx("span",{className:"font-medium dark:text-white",children:c})," ",t("to")," ",s.jsx("span",{className:"font-medium dark:text-white",children:m})," ",t("of")," ",s.jsx("span",{className:"font-medium dark:text-white",children:x})," ",h]}),s.jsx("div",{className:"flex gap-1",children:n&&n.length>0?n.map((e,u)=>{const r=e.label==="« Previous"||e.label==="Next »",f=e.label.replace("« ","").replace(" »","");return s.jsx(l,{variant:e.active?"default":"outline",size:r?"sm":"icon",className:r?"px-3":"h-8 w-8",disabled:!e.url,onClick:()=>e.url&&o(e.url),children:r?f:s.jsx("span",{dangerouslySetInnerHTML:{__html:e.label}})},`pagination-${u}-${e.label}`)}):a&&i&&i>1&&s.jsxs(s.Fragment,{children:[s.jsx(l,{variant:"outline",size:"sm",disabled:a<=1,onClick:()=>o(`?page=${a-1}`),children:t("Previous")}),s.jsxs("span",{className:"px-3 py-1 dark:text-white",children:[a," of ",i]}),s.jsx(l,{variant:"outline",size:"sm",disabled:a>=i,onClick:()=>o(`?page=${a+1}`),children:t("Next")})]})})]})}export{w as P}; diff --git a/public/build/assets/payment-settings-BTgVS2wQ.js b/public/build/assets/payment-settings-DH-KiRcT.js similarity index 98% rename from public/build/assets/payment-settings-BTgVS2wQ.js rename to public/build/assets/payment-settings-DH-KiRcT.js index cf9ef17ec..cb69ee1fe 100644 --- a/public/build/assets/payment-settings-BTgVS2wQ.js +++ b/public/build/assets/payment-settings-DH-KiRcT.js @@ -1,3 +1,3 @@ -import{j as e,r as S}from"./ui-Z445SNHD.js";import{u as Y,c as V,L as g,I as W,o as v,b as X,ap as $,C as q,m as J,n as Q,z as ee,l as ae,S as L,X as N,B as D,y as re,t as C}from"./app-CfhhiFAk.js";import{T as le}from"./textarea-kpRjGGLz.js";import{S as G,a as U,b as F,c as B,d as x}from"./select-BrY9osYp.js";import{A as I,a as E}from"./alert-DH0o7BP8.js";import{S as se}from"./switch-CKduD2wX.js";import{C as K}from"./circle-alert-64DrdoHv.js";import{E as te}from"./eye-off-CTWV_K-G.js";import{E as ie}from"./eye--FVGKpVp.js";import{R as oe,a as Z}from"./radio-group-CLGfOEmR.js";import{B as ne,I as _e}from"./indian-rupee-Dzf_OaiN.js";import{C as p}from"./credit-card-BmdpMcMw.js";import{W as H}from"./wallet-OtmBA2C9.js";import{C as ce}from"./coins-BDVfLngB.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./circle-BoWbKVIN.js";const s={STRIPE:"stripe",PAYPAL:"paypal",RAZORPAY:"razorpay",MERCADOPAGO:"mercadopago",PAYSTACK:"paystack",FLUTTERWAVE:"flutterwave",BANK:"bank",PAYTABS:"paytabs",SKRILL:"skrill",COINGATE:"coingate",PAYFAST:"payfast",TAP:"tap",XENDIT:"xendit",PAYTR:"paytr",MOLLIE:"mollie",TOYYIBPAY:"toyyibpay",PAYMENTWALL:"paymentwall",SSPAY:"sspay",BENEFIT:"benefit",IYZIPAY:"iyzipay",AAMARPAY:"aamarpay",MIDTRANS:"midtrans",YOOKASSA:"yookassa",NEPALSTE:"nepalste",PAIEMENT:"paiement",CINETPAY:"cinetpay",PAYHERE:"payhere",FEDAPAY:"fedapay",AUTHORIZENET:"authorizenet",KHALTI:"khalti",EASEBUZZ:"easebuzz",OZOW:"ozow",CASHFREE:"cashfree"},c={[s.STRIPE]:"Credit Card (Stripe)",[s.PAYPAL]:"PayPal",[s.RAZORPAY]:"Razorpay",[s.MERCADOPAGO]:"Mercado Pago",[s.PAYSTACK]:"Paystack",[s.FLUTTERWAVE]:"Flutterwave",[s.BANK]:"Bank Transfer",[s.PAYTABS]:"PayTabs",[s.SKRILL]:"Skrill",[s.COINGATE]:"CoinGate",[s.PAYFAST]:"Payfast",[s.TAP]:"Tap",[s.XENDIT]:"Xendit",[s.PAYTR]:"PayTR",[s.MOLLIE]:"Mollie",[s.TOYYIBPAY]:"toyyibPay",[s.PAYMENTWALL]:"PaymentWall",[s.SSPAY]:"SSPay",[s.BENEFIT]:"Benefit",[s.IYZIPAY]:"Iyzipay",[s.AAMARPAY]:"Aamarpay",[s.MIDTRANS]:"Midtrans",[s.YOOKASSA]:"YooKassa",[s.NEPALSTE]:"Nepalste",[s.PAIEMENT]:"Paiement Pro",[s.CINETPAY]:"CinetPay",[s.PAYHERE]:"PayHere",[s.FEDAPAY]:"FedaPay",[s.AUTHORIZENET]:"AuthorizeNet",[s.KHALTI]:"Khalti",[s.EASEBUZZ]:"Easebuzz",[s.OZOW]:"Ozow",[s.CASHFREE]:"Cashfree"},y={[s.STRIPE]:"https://dashboard.stripe.com/apikeys",[s.PAYPAL]:"https://developer.paypal.com/home",[s.RAZORPAY]:"https://dashboard.razorpay.com/",[s.MERCADOPAGO]:"https://www.mercadopago.com.br/developers/panel/app",[s.PAYSTACK]:"https://dashboard.paystack.com/#/settings/developers",[s.FLUTTERWAVE]:"https://dashboard.flutterwave.com/settings/apis",[s.PAYTABS]:"https://www.paytabs.com/en/support/",[s.SKRILL]:"https://www.skrill.com/en/business/",[s.COINGATE]:"https://coingate.com/api/docs",[s.PAYFAST]:"https://developers.payfast.co.za/",[s.TAP]:"https://www.tap.company/developers/",[s.XENDIT]:"https://developers.xendit.co/",[s.PAYTR]:"https://www.paytr.com/entegrasyon/",[s.MOLLIE]:"https://docs.mollie.com/",[s.TOYYIBPAY]:"https://toyyibpay.com/",[s.PAYMENTWALL]:"https://docs.paymentwall.com/",[s.SSPAY]:"https://sspay.my/docs/",[s.BENEFIT]:"https://www.benefit.bh/en/business/merchant-services/",[s.IYZIPAY]:"https://dev.iyzipay.com/",[s.AAMARPAY]:"https://aamarpay.com/developer/",[s.MIDTRANS]:"https://docs.midtrans.com/",[s.YOOKASSA]:"https://yookassa.ru/developers/",[s.NEPALSTE]:"https://nepalste.com.np/developer/",[s.PAIEMENT]:"https://paiementpro.net/documentation/",[s.CINETPAY]:"https://cinetpay.com/documentation/",[s.PAYHERE]:"https://www.payhere.lk/developers/",[s.FEDAPAY]:"https://docs.fedapay.com/",[s.AUTHORIZENET]:"https://developer.authorize.net/",[s.KHALTI]:"https://docs.khalti.com/",[s.EASEBUZZ]:"https://www.easebuzz.in/developer/",[s.OZOW]:"https://developers.ozow.com/",[s.CASHFREE]:"https://docs.cashfree.com/"};function d({title:l,icon:a,enabled:h,onToggle:u,children:m,helpUrl:j,helpText:t}){const{t:i}=Y();return e.jsxs("div",{className:"border rounded-lg",children:[e.jsxs("div",{className:"flex items-center justify-between p-4 border-b",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[a,e.jsx("span",{className:"font-medium",children:l})]}),e.jsx(se,{checked:h,onCheckedChange:u})]}),h&&e.jsxs("div",{className:"p-4 space-y-4",children:[j&&t&&e.jsxs(I,{children:[e.jsx(K,{className:"h-4 w-4"}),e.jsxs(E,{children:[t," ",e.jsx("a",{href:j,target:"_blank",rel:"noopener noreferrer",className:"underline",children:i("Dashboard")})]})]}),m]})]})}function n({id:l,label:a,value:h,onChange:u,placeholder:m,type:j="text",isSecret:t=!1,error:i,className:z=""}){var r;const[A,o]=S.useState(!1),{props:P}=V(),f=((r=P.globalSettings)==null?void 0:r.is_demo)||!1,_=f&&h?"************************************************":h,w=t?A?"text":"password":j;return e.jsxs("div",{className:"space-y-2",children:[e.jsx(g,{htmlFor:l,children:a}),e.jsxs("div",{className:"relative",children:[e.jsx(W,{id:l,type:w,value:_,onChange:k=>u(k.target.value),placeholder:m,className:`font-mono text-sm ${t?"pr-10":""} ${z}`,readOnly:f&&t&&h}),t&&e.jsx(v,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-3 text-muted-foreground",onClick:()=>{if(f)return!1;o(!A)},disabled:f,children:A?e.jsx(te,{className:"h-4 w-4"}):e.jsx(ie,{className:"h-4 w-4"})})]}),i&&e.jsx("p",{className:"text-sm text-destructive",children:i})]})}function b({value:l,onChange:a,name:h,error:u}){const{t:m}=Y();return e.jsxs("div",{className:"space-y-2",children:[e.jsx(g,{children:m("Mode")}),e.jsxs(oe,{value:l,onValueChange:a,className:"flex gap-4",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Z,{value:"sandbox",id:`${h}_sandbox`}),e.jsx(g,{htmlFor:`${h}_sandbox`,className:"font-normal",children:m("Sandbox")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Z,{value:"live",id:`${h}_live`}),e.jsx(g,{htmlFor:`${h}_live`,className:"font-normal",children:m("Live")})]})]}),u&&e.jsx("p",{className:"text-sm text-destructive",children:u})]})}function Ie({settings:l={}}){const{t:a}=Y(),[h,u]=S.useState(""),[m,j]=S.useState("all"),{data:t,setData:i,post:z,processing:A,errors:o}=X({currency:l.currency||"USD",currency_symbol:l.currency_symbol||"$",is_manually_enabled:l.is_manually_enabled===!0||l.is_manually_enabled==="1",is_bank_enabled:l.is_bank_enabled===!0||l.is_bank_enabled==="1",bank_detail:l.bank_detail||"",is_stripe_enabled:l.is_stripe_enabled===!0||l.is_stripe_enabled==="1",stripe_key:l.stripe_key||"",stripe_secret:l.stripe_secret||"",is_paypal_enabled:l.is_paypal_enabled===!0||l.is_paypal_enabled==="1",paypal_mode:l.paypal_mode||"sandbox",paypal_client_id:l.paypal_client_id||"",paypal_secret_key:l.paypal_secret_key||"",is_razorpay_enabled:l.is_razorpay_enabled===!0||l.is_razorpay_enabled==="1",razorpay_key:l.razorpay_key||"",razorpay_secret:l.razorpay_secret||"",is_mercadopago_enabled:l.is_mercadopago_enabled===!0||l.is_mercadopago_enabled==="1",mercadopago_mode:l.mercadopago_mode||"sandbox",mercadopago_access_token:l.mercadopago_access_token||"",is_paystack_enabled:l.is_paystack_enabled===!0||l.is_paystack_enabled==="1",paystack_public_key:l.paystack_public_key||"",paystack_secret_key:l.paystack_secret_key||"",is_flutterwave_enabled:l.is_flutterwave_enabled===!0||l.is_flutterwave_enabled==="1",flutterwave_public_key:l.flutterwave_public_key||"",flutterwave_secret_key:l.flutterwave_secret_key||"",is_tap_enabled:l.is_tap_enabled===!0||l.is_tap_enabled==="1",tap_secret_key:l.tap_secret_key||"",is_xendit_enabled:l.is_xendit_enabled===!0||l.is_xendit_enabled==="1",xendit_api_key:l.xendit_api_key||"",is_paytr_enabled:l.is_paytr_enabled===!0||l.is_paytr_enabled==="1",paytr_merchant_id:l.paytr_merchant_id||"",paytr_merchant_key:l.paytr_merchant_key||"",paytr_merchant_salt:l.paytr_merchant_salt||"",is_mollie_enabled:l.is_mollie_enabled===!0||l.is_mollie_enabled==="1",mollie_api_key:l.mollie_api_key||"",is_toyyibpay_enabled:l.is_toyyibpay_enabled===!0||l.is_toyyibpay_enabled==="1",toyyibpay_category_code:l.toyyibpay_category_code||"",toyyibpay_secret_key:l.toyyibpay_secret_key||"",is_paymentwall_enabled:l.is_paymentwall_enabled===!0||l.is_paymentwall_enabled==="1",paymentwall_public_key:l.paymentwall_public_key||"",paymentwall_private_key:l.paymentwall_private_key||"",is_sspay_enabled:l.is_sspay_enabled===!0||l.is_sspay_enabled==="1",sspay_secret_key:l.sspay_secret_key||"",sspay_category_code:l.sspay_category_code||"",is_benefit_enabled:l.is_benefit_enabled===!0||l.is_benefit_enabled==="1",benefit_mode:l.benefit_mode||"sandbox",benefit_secret_key:l.benefit_secret_key||"",benefit_public_key:l.benefit_public_key||"",is_iyzipay_enabled:l.is_iyzipay_enabled===!0||l.is_iyzipay_enabled==="1",iyzipay_mode:l.iyzipay_mode||"sandbox",iyzipay_secret_key:l.iyzipay_secret_key||"",iyzipay_public_key:l.iyzipay_public_key||"",is_aamarpay_enabled:l.is_aamarpay_enabled===!0||l.is_aamarpay_enabled==="1",aamarpay_store_id:l.aamarpay_store_id||"",aamarpay_signature:l.aamarpay_signature||"",is_midtrans_enabled:l.is_midtrans_enabled===!0||l.is_midtrans_enabled==="1",midtrans_mode:l.midtrans_mode||"sandbox",midtrans_secret_key:l.midtrans_secret_key||"",is_yookassa_enabled:l.is_yookassa_enabled===!0||l.is_yookassa_enabled==="1",yookassa_shop_id:l.yookassa_shop_id||"",yookassa_secret_key:l.yookassa_secret_key||"",is_nepalste_enabled:l.is_nepalste_enabled===!0||l.is_nepalste_enabled==="1",nepalste_mode:l.nepalste_mode||"sandbox",nepalste_secret_key:l.nepalste_secret_key||"",nepalste_public_key:l.nepalste_public_key||"",is_paiement_enabled:l.is_paiement_enabled===!0||l.is_paiement_enabled==="1",paiement_merchant_id:l.paiement_merchant_id||"",is_cinetpay_enabled:l.is_cinetpay_enabled===!0||l.is_cinetpay_enabled==="1",cinetpay_site_id:l.cinetpay_site_id||"",cinetpay_api_key:l.cinetpay_api_key||"",cinetpay_secret_key:l.cinetpay_secret_key||"",is_payhere_enabled:l.is_payhere_enabled===!0||l.is_payhere_enabled==="1",payhere_mode:l.payhere_mode||"sandbox",payhere_merchant_id:l.payhere_merchant_id||"",payhere_merchant_secret:l.payhere_merchant_secret||"",payhere_app_id:l.payhere_app_id||"",payhere_app_secret:l.payhere_app_secret||"",is_fedapay_enabled:l.is_fedapay_enabled===!0||l.is_fedapay_enabled==="1",fedapay_mode:l.fedapay_mode||"sandbox",fedapay_secret_key:l.fedapay_secret_key||"",fedapay_public_key:l.fedapay_public_key||"",is_authorizenet_enabled:l.is_authorizenet_enabled===!0||l.is_authorizenet_enabled==="1",authorizenet_mode:l.authorizenet_mode||"sandbox",authorizenet_merchant_id:l.authorizenet_merchant_id||"",authorizenet_transaction_key:l.authorizenet_transaction_key||"",is_khalti_enabled:l.is_khalti_enabled===!0||l.is_khalti_enabled==="1",khalti_secret_key:l.khalti_secret_key||"",khalti_public_key:l.khalti_public_key||"",is_easebuzz_enabled:l.is_easebuzz_enabled===!0||l.is_easebuzz_enabled==="1",easebuzz_merchant_key:l.easebuzz_merchant_key||"",easebuzz_salt_key:l.easebuzz_salt_key||"",easebuzz_environment:l.easebuzz_environment||"",is_ozow_enabled:l.is_ozow_enabled===!0||l.is_ozow_enabled==="1",ozow_mode:l.ozow_mode||"sandbox",ozow_site_key:l.ozow_site_key||"",ozow_private_key:l.ozow_private_key||"",ozow_api_key:l.ozow_api_key||"",is_cashfree_enabled:l.is_cashfree_enabled===!0||l.is_cashfree_enabled==="1",cashfree_mode:l.cashfree_mode||"sandbox",cashfree_secret_key:l.cashfree_secret_key||"",cashfree_public_key:l.cashfree_public_key||"",is_paytabs_enabled:l.is_paytabs_enabled===!0||l.is_paytabs_enabled==="1",paytabs_profile_id:l.paytabs_profile_id||"",paytabs_server_key:l.paytabs_server_key||"",paytabs_region:l.paytabs_region||"ARE",paytabs_mode:l.paytabs_mode||"sandbox",is_skrill_enabled:l.is_skrill_enabled===!0||l.is_skrill_enabled==="1",skrill_merchant_id:l.skrill_merchant_id||"",skrill_secret_word:l.skrill_secret_word||"",is_coingate_enabled:l.is_coingate_enabled===!0||l.is_coingate_enabled==="1",coingate_api_token:l.coingate_api_token||"",coingate_mode:l.coingate_mode||"sandbox",is_payfast_enabled:l.is_payfast_enabled===!0||l.is_payfast_enabled==="1",payfast_merchant_id:l.payfast_merchant_id||"",payfast_merchant_key:l.payfast_merchant_key||"",payfast_passphrase:l.payfast_passphrase||"",payfast_mode:l.payfast_mode||"sandbox"}),P=S.useMemo(()=>[{key:"bank",name:a(c[s.BANK])},{key:"stripe",name:a(c[s.STRIPE])},{key:"paypal",name:a(c[s.PAYPAL])},{key:"razorpay",name:a(c[s.RAZORPAY])},{key:"mercadopago",name:a(c[s.MERCADOPAGO])},{key:"paystack",name:a(c[s.PAYSTACK])},{key:"flutterwave",name:a(c[s.FLUTTERWAVE])},{key:"paytabs",name:a(c[s.PAYTABS])},{key:"skrill",name:a(c[s.SKRILL])},{key:"coingate",name:a(c[s.COINGATE])},{key:"payfast",name:a(c[s.PAYFAST])},{key:"tap",name:a(c[s.TAP])},{key:"xendit",name:a(c[s.XENDIT])},{key:"paytr",name:a(c[s.PAYTR])},{key:"mollie",name:a(c[s.MOLLIE])},{key:"toyyibpay",name:a(c[s.TOYYIBPAY])},{key:"paymentwall",name:a("PaymentWall")},{key:"sspay",name:a("SSPay")},{key:"benefit",name:a("Benefit")},{key:"iyzipay",name:a("Iyzipay")},{key:"aamarpay",name:a("Aamarpay")},{key:"midtrans",name:a("Midtrans")},{key:"yookassa",name:a("YooKassa")},{key:"nepalste",name:a("Nepalste")},{key:"paiement",name:a("Paiement Pro")},{key:"cinetpay",name:a("CinetPay")},{key:"payhere",name:a("PayHere")},{key:"fedapay",name:a("FedaPay")},{key:"authorizenet",name:a("AuthorizeNet")},{key:"khalti",name:a("Khalti")},{key:"easebuzz",name:a("Easebuzz")},{key:"ozow",name:a("Ozow")},{key:"cashfree",name:a("Cashfree")}],[a]),f=S.useMemo(()=>{let r=P;return h&&(r=r.filter(k=>k.name.toLowerCase().includes(h.toLowerCase()))),m!=="all"&&(r=r.filter(k=>{const T=t[`is_${k.key}_enabled`];return m==="enabled"?T:!T})),r},[P,h,m,t]),_=r=>f.some(k=>k.key===r),w=r=>{r.preventDefault(),z(route("payment.settings"),{onSuccess:k=>{var M,O;const T=(M=k.props.flash)==null?void 0:M.success,R=(O=k.props.flash)==null?void 0:O.error;T?C.success(T):R&&C.error(R)},onError:k=>{C.error(a("Failed to update payment settings"))}})};return e.jsx($,{title:a("Payment Settings"),description:a("Configure payment gateway for subscription plans"),action:e.jsxs(v,{type:"submit",form:"payment-settings-form",size:"sm",disabled:A,children:[e.jsx(re,{className:"h-4 w-4 mr-2"}),a(A?"Saving...":"Save Changes")]}),children:e.jsx("form",{id:"payment-settings-form",onSubmit:w,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(q,{children:[e.jsxs(J,{children:[e.jsx(Q,{children:a("Payment Methods")}),e.jsx(ee,{children:a("Configure available payment methods for subscription plans")})]}),e.jsxs(ae,{className:"space-y-6",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(L,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground h-4 w-4"}),e.jsx(W,{placeholder:a("Search payment methods..."),value:h,onChange:r=>u(r.target.value),className:"pl-10 pr-10"}),h&&e.jsx(v,{type:"button",variant:"ghost",size:"sm",className:"absolute right-2 top-1/2 transform -translate-y-1/2 h-6 w-6 p-0 hover:bg-muted",onClick:()=>u(""),children:e.jsx(N,{className:"h-3 w-3"})})]}),e.jsxs(G,{value:m,onValueChange:r=>j(r),children:[e.jsx(U,{className:"w-[140px]",children:e.jsx(F,{})}),e.jsxs(B,{children:[e.jsx(x,{value:"all",children:a("All Methods")}),e.jsx(x,{value:"enabled",children:a("Enabled Only")}),e.jsx(x,{value:"disabled",children:a("Disabled Only")})]})]})]}),(h||m!=="all")&&e.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:[a("Active filters:")," "]}),h&&e.jsxs(D,{variant:"secondary",className:"text-xs",children:[a("Search:"),' "',h,'"',e.jsx(v,{type:"button",variant:"ghost",size:"sm",className:"ml-1 h-3 w-3 p-0 hover:bg-transparent",onClick:()=>u(""),children:e.jsx(N,{className:"h-2 w-2"})})]}),m!=="all"&&e.jsxs(D,{variant:"secondary",className:"text-xs",children:[a("Status:")," ",a(m==="enabled"?"Enabled":"Disabled"),e.jsx(v,{type:"button",variant:"ghost",size:"sm",className:"ml-1 h-3 w-3 p-0 hover:bg-transparent",onClick:()=>j("all"),children:e.jsx(N,{className:"h-2 w-2"})})]})]}),(h||m!=="all")&&e.jsx("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:e.jsx("span",{children:f.length>0?a("Showing {{count}} of {{total}} payment methods",{count:f.length,total:P.length}):a("No payment methods found matching your criteria")})}),(h||m!=="all")&&f.length===0&&e.jsxs("div",{className:"text-center py-12 border-2 border-dashed border-muted rounded-lg",children:[e.jsx("div",{className:"mx-auto w-12 h-12 bg-muted rounded-full flex items-center justify-center mb-4",children:e.jsx(L,{className:"h-5 w-5 text-muted-foreground"})}),e.jsx("h3",{className:"text-lg font-medium mb-2",children:a("No results found")}),e.jsx("p",{className:"text-muted-foreground mb-4",children:a("Try adjusting your search or filter criteria")}),e.jsx(v,{type:"button",variant:"outline",size:"sm",onClick:()=>{u(""),j("all")},children:a("Clear filters")})]}),_("bank")&&e.jsx(d,{title:a(c[s.BANK]),icon:e.jsx(ne,{className:"h-5 w-5"}),enabled:t.is_bank_enabled,onToggle:r=>i("is_bank_enabled",r),children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(g,{htmlFor:"bank_detail",children:a("Bank Details")}),e.jsx(le,{id:"bank_detail",value:t.bank_detail,onChange:r=>i("bank_detail",r.target.value),placeholder:a(`Bank: Your Bank Name +import{j as e,r as S}from"./ui-Z445SNHD.js";import{u as Y,c as V,L as g,I as W,o as v,b as X,ap as $,C as q,m as J,n as Q,z as ee,l as ae,S as L,X as N,B as D,y as re,t as C}from"./app-Dya84jp7.js";import{T as le}from"./textarea-yeg8ONhy.js";import{S as G,a as U,b as F,c as B,d as x}from"./select-CHkpLxhL.js";import{A as I,a as E}from"./alert-CyJVNPY9.js";import{S as se}from"./switch-DyHgm-Sg.js";import{C as K}from"./circle-alert-Ddjg2Qwp.js";import{E as te}from"./eye-off-C7-ukqyH.js";import{E as ie}from"./eye-CCNnMtu4.js";import{R as oe,a as Z}from"./radio-group-BMzEN82K.js";import{B as ne,I as _e}from"./indian-rupee-CCruSHM0.js";import{C as p}from"./credit-card-BKi_ThdS.js";import{W as H}from"./wallet-ChDgCFUl.js";import{C as ce}from"./coins-CgSV4zfi.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./circle-C2Wo_gI7.js";const s={STRIPE:"stripe",PAYPAL:"paypal",RAZORPAY:"razorpay",MERCADOPAGO:"mercadopago",PAYSTACK:"paystack",FLUTTERWAVE:"flutterwave",BANK:"bank",PAYTABS:"paytabs",SKRILL:"skrill",COINGATE:"coingate",PAYFAST:"payfast",TAP:"tap",XENDIT:"xendit",PAYTR:"paytr",MOLLIE:"mollie",TOYYIBPAY:"toyyibpay",PAYMENTWALL:"paymentwall",SSPAY:"sspay",BENEFIT:"benefit",IYZIPAY:"iyzipay",AAMARPAY:"aamarpay",MIDTRANS:"midtrans",YOOKASSA:"yookassa",NEPALSTE:"nepalste",PAIEMENT:"paiement",CINETPAY:"cinetpay",PAYHERE:"payhere",FEDAPAY:"fedapay",AUTHORIZENET:"authorizenet",KHALTI:"khalti",EASEBUZZ:"easebuzz",OZOW:"ozow",CASHFREE:"cashfree"},c={[s.STRIPE]:"Credit Card (Stripe)",[s.PAYPAL]:"PayPal",[s.RAZORPAY]:"Razorpay",[s.MERCADOPAGO]:"Mercado Pago",[s.PAYSTACK]:"Paystack",[s.FLUTTERWAVE]:"Flutterwave",[s.BANK]:"Bank Transfer",[s.PAYTABS]:"PayTabs",[s.SKRILL]:"Skrill",[s.COINGATE]:"CoinGate",[s.PAYFAST]:"Payfast",[s.TAP]:"Tap",[s.XENDIT]:"Xendit",[s.PAYTR]:"PayTR",[s.MOLLIE]:"Mollie",[s.TOYYIBPAY]:"toyyibPay",[s.PAYMENTWALL]:"PaymentWall",[s.SSPAY]:"SSPay",[s.BENEFIT]:"Benefit",[s.IYZIPAY]:"Iyzipay",[s.AAMARPAY]:"Aamarpay",[s.MIDTRANS]:"Midtrans",[s.YOOKASSA]:"YooKassa",[s.NEPALSTE]:"Nepalste",[s.PAIEMENT]:"Paiement Pro",[s.CINETPAY]:"CinetPay",[s.PAYHERE]:"PayHere",[s.FEDAPAY]:"FedaPay",[s.AUTHORIZENET]:"AuthorizeNet",[s.KHALTI]:"Khalti",[s.EASEBUZZ]:"Easebuzz",[s.OZOW]:"Ozow",[s.CASHFREE]:"Cashfree"},y={[s.STRIPE]:"https://dashboard.stripe.com/apikeys",[s.PAYPAL]:"https://developer.paypal.com/home",[s.RAZORPAY]:"https://dashboard.razorpay.com/",[s.MERCADOPAGO]:"https://www.mercadopago.com.br/developers/panel/app",[s.PAYSTACK]:"https://dashboard.paystack.com/#/settings/developers",[s.FLUTTERWAVE]:"https://dashboard.flutterwave.com/settings/apis",[s.PAYTABS]:"https://www.paytabs.com/en/support/",[s.SKRILL]:"https://www.skrill.com/en/business/",[s.COINGATE]:"https://coingate.com/api/docs",[s.PAYFAST]:"https://developers.payfast.co.za/",[s.TAP]:"https://www.tap.company/developers/",[s.XENDIT]:"https://developers.xendit.co/",[s.PAYTR]:"https://www.paytr.com/entegrasyon/",[s.MOLLIE]:"https://docs.mollie.com/",[s.TOYYIBPAY]:"https://toyyibpay.com/",[s.PAYMENTWALL]:"https://docs.paymentwall.com/",[s.SSPAY]:"https://sspay.my/docs/",[s.BENEFIT]:"https://www.benefit.bh/en/business/merchant-services/",[s.IYZIPAY]:"https://dev.iyzipay.com/",[s.AAMARPAY]:"https://aamarpay.com/developer/",[s.MIDTRANS]:"https://docs.midtrans.com/",[s.YOOKASSA]:"https://yookassa.ru/developers/",[s.NEPALSTE]:"https://nepalste.com.np/developer/",[s.PAIEMENT]:"https://paiementpro.net/documentation/",[s.CINETPAY]:"https://cinetpay.com/documentation/",[s.PAYHERE]:"https://www.payhere.lk/developers/",[s.FEDAPAY]:"https://docs.fedapay.com/",[s.AUTHORIZENET]:"https://developer.authorize.net/",[s.KHALTI]:"https://docs.khalti.com/",[s.EASEBUZZ]:"https://www.easebuzz.in/developer/",[s.OZOW]:"https://developers.ozow.com/",[s.CASHFREE]:"https://docs.cashfree.com/"};function d({title:l,icon:a,enabled:h,onToggle:u,children:m,helpUrl:j,helpText:t}){const{t:i}=Y();return e.jsxs("div",{className:"border rounded-lg",children:[e.jsxs("div",{className:"flex items-center justify-between p-4 border-b",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[a,e.jsx("span",{className:"font-medium",children:l})]}),e.jsx(se,{checked:h,onCheckedChange:u})]}),h&&e.jsxs("div",{className:"p-4 space-y-4",children:[j&&t&&e.jsxs(I,{children:[e.jsx(K,{className:"h-4 w-4"}),e.jsxs(E,{children:[t," ",e.jsx("a",{href:j,target:"_blank",rel:"noopener noreferrer",className:"underline",children:i("Dashboard")})]})]}),m]})]})}function n({id:l,label:a,value:h,onChange:u,placeholder:m,type:j="text",isSecret:t=!1,error:i,className:z=""}){var r;const[A,o]=S.useState(!1),{props:P}=V(),f=((r=P.globalSettings)==null?void 0:r.is_demo)||!1,_=f&&h?"************************************************":h,w=t?A?"text":"password":j;return e.jsxs("div",{className:"space-y-2",children:[e.jsx(g,{htmlFor:l,children:a}),e.jsxs("div",{className:"relative",children:[e.jsx(W,{id:l,type:w,value:_,onChange:k=>u(k.target.value),placeholder:m,className:`font-mono text-sm ${t?"pr-10":""} ${z}`,readOnly:f&&t&&h}),t&&e.jsx(v,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-3 text-muted-foreground",onClick:()=>{if(f)return!1;o(!A)},disabled:f,children:A?e.jsx(te,{className:"h-4 w-4"}):e.jsx(ie,{className:"h-4 w-4"})})]}),i&&e.jsx("p",{className:"text-sm text-destructive",children:i})]})}function b({value:l,onChange:a,name:h,error:u}){const{t:m}=Y();return e.jsxs("div",{className:"space-y-2",children:[e.jsx(g,{children:m("Mode")}),e.jsxs(oe,{value:l,onValueChange:a,className:"flex gap-4",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Z,{value:"sandbox",id:`${h}_sandbox`}),e.jsx(g,{htmlFor:`${h}_sandbox`,className:"font-normal",children:m("Sandbox")})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Z,{value:"live",id:`${h}_live`}),e.jsx(g,{htmlFor:`${h}_live`,className:"font-normal",children:m("Live")})]})]}),u&&e.jsx("p",{className:"text-sm text-destructive",children:u})]})}function Ie({settings:l={}}){const{t:a}=Y(),[h,u]=S.useState(""),[m,j]=S.useState("all"),{data:t,setData:i,post:z,processing:A,errors:o}=X({currency:l.currency||"USD",currency_symbol:l.currency_symbol||"$",is_manually_enabled:l.is_manually_enabled===!0||l.is_manually_enabled==="1",is_bank_enabled:l.is_bank_enabled===!0||l.is_bank_enabled==="1",bank_detail:l.bank_detail||"",is_stripe_enabled:l.is_stripe_enabled===!0||l.is_stripe_enabled==="1",stripe_key:l.stripe_key||"",stripe_secret:l.stripe_secret||"",is_paypal_enabled:l.is_paypal_enabled===!0||l.is_paypal_enabled==="1",paypal_mode:l.paypal_mode||"sandbox",paypal_client_id:l.paypal_client_id||"",paypal_secret_key:l.paypal_secret_key||"",is_razorpay_enabled:l.is_razorpay_enabled===!0||l.is_razorpay_enabled==="1",razorpay_key:l.razorpay_key||"",razorpay_secret:l.razorpay_secret||"",is_mercadopago_enabled:l.is_mercadopago_enabled===!0||l.is_mercadopago_enabled==="1",mercadopago_mode:l.mercadopago_mode||"sandbox",mercadopago_access_token:l.mercadopago_access_token||"",is_paystack_enabled:l.is_paystack_enabled===!0||l.is_paystack_enabled==="1",paystack_public_key:l.paystack_public_key||"",paystack_secret_key:l.paystack_secret_key||"",is_flutterwave_enabled:l.is_flutterwave_enabled===!0||l.is_flutterwave_enabled==="1",flutterwave_public_key:l.flutterwave_public_key||"",flutterwave_secret_key:l.flutterwave_secret_key||"",is_tap_enabled:l.is_tap_enabled===!0||l.is_tap_enabled==="1",tap_secret_key:l.tap_secret_key||"",is_xendit_enabled:l.is_xendit_enabled===!0||l.is_xendit_enabled==="1",xendit_api_key:l.xendit_api_key||"",is_paytr_enabled:l.is_paytr_enabled===!0||l.is_paytr_enabled==="1",paytr_merchant_id:l.paytr_merchant_id||"",paytr_merchant_key:l.paytr_merchant_key||"",paytr_merchant_salt:l.paytr_merchant_salt||"",is_mollie_enabled:l.is_mollie_enabled===!0||l.is_mollie_enabled==="1",mollie_api_key:l.mollie_api_key||"",is_toyyibpay_enabled:l.is_toyyibpay_enabled===!0||l.is_toyyibpay_enabled==="1",toyyibpay_category_code:l.toyyibpay_category_code||"",toyyibpay_secret_key:l.toyyibpay_secret_key||"",is_paymentwall_enabled:l.is_paymentwall_enabled===!0||l.is_paymentwall_enabled==="1",paymentwall_public_key:l.paymentwall_public_key||"",paymentwall_private_key:l.paymentwall_private_key||"",is_sspay_enabled:l.is_sspay_enabled===!0||l.is_sspay_enabled==="1",sspay_secret_key:l.sspay_secret_key||"",sspay_category_code:l.sspay_category_code||"",is_benefit_enabled:l.is_benefit_enabled===!0||l.is_benefit_enabled==="1",benefit_mode:l.benefit_mode||"sandbox",benefit_secret_key:l.benefit_secret_key||"",benefit_public_key:l.benefit_public_key||"",is_iyzipay_enabled:l.is_iyzipay_enabled===!0||l.is_iyzipay_enabled==="1",iyzipay_mode:l.iyzipay_mode||"sandbox",iyzipay_secret_key:l.iyzipay_secret_key||"",iyzipay_public_key:l.iyzipay_public_key||"",is_aamarpay_enabled:l.is_aamarpay_enabled===!0||l.is_aamarpay_enabled==="1",aamarpay_store_id:l.aamarpay_store_id||"",aamarpay_signature:l.aamarpay_signature||"",is_midtrans_enabled:l.is_midtrans_enabled===!0||l.is_midtrans_enabled==="1",midtrans_mode:l.midtrans_mode||"sandbox",midtrans_secret_key:l.midtrans_secret_key||"",is_yookassa_enabled:l.is_yookassa_enabled===!0||l.is_yookassa_enabled==="1",yookassa_shop_id:l.yookassa_shop_id||"",yookassa_secret_key:l.yookassa_secret_key||"",is_nepalste_enabled:l.is_nepalste_enabled===!0||l.is_nepalste_enabled==="1",nepalste_mode:l.nepalste_mode||"sandbox",nepalste_secret_key:l.nepalste_secret_key||"",nepalste_public_key:l.nepalste_public_key||"",is_paiement_enabled:l.is_paiement_enabled===!0||l.is_paiement_enabled==="1",paiement_merchant_id:l.paiement_merchant_id||"",is_cinetpay_enabled:l.is_cinetpay_enabled===!0||l.is_cinetpay_enabled==="1",cinetpay_site_id:l.cinetpay_site_id||"",cinetpay_api_key:l.cinetpay_api_key||"",cinetpay_secret_key:l.cinetpay_secret_key||"",is_payhere_enabled:l.is_payhere_enabled===!0||l.is_payhere_enabled==="1",payhere_mode:l.payhere_mode||"sandbox",payhere_merchant_id:l.payhere_merchant_id||"",payhere_merchant_secret:l.payhere_merchant_secret||"",payhere_app_id:l.payhere_app_id||"",payhere_app_secret:l.payhere_app_secret||"",is_fedapay_enabled:l.is_fedapay_enabled===!0||l.is_fedapay_enabled==="1",fedapay_mode:l.fedapay_mode||"sandbox",fedapay_secret_key:l.fedapay_secret_key||"",fedapay_public_key:l.fedapay_public_key||"",is_authorizenet_enabled:l.is_authorizenet_enabled===!0||l.is_authorizenet_enabled==="1",authorizenet_mode:l.authorizenet_mode||"sandbox",authorizenet_merchant_id:l.authorizenet_merchant_id||"",authorizenet_transaction_key:l.authorizenet_transaction_key||"",is_khalti_enabled:l.is_khalti_enabled===!0||l.is_khalti_enabled==="1",khalti_secret_key:l.khalti_secret_key||"",khalti_public_key:l.khalti_public_key||"",is_easebuzz_enabled:l.is_easebuzz_enabled===!0||l.is_easebuzz_enabled==="1",easebuzz_merchant_key:l.easebuzz_merchant_key||"",easebuzz_salt_key:l.easebuzz_salt_key||"",easebuzz_environment:l.easebuzz_environment||"",is_ozow_enabled:l.is_ozow_enabled===!0||l.is_ozow_enabled==="1",ozow_mode:l.ozow_mode||"sandbox",ozow_site_key:l.ozow_site_key||"",ozow_private_key:l.ozow_private_key||"",ozow_api_key:l.ozow_api_key||"",is_cashfree_enabled:l.is_cashfree_enabled===!0||l.is_cashfree_enabled==="1",cashfree_mode:l.cashfree_mode||"sandbox",cashfree_secret_key:l.cashfree_secret_key||"",cashfree_public_key:l.cashfree_public_key||"",is_paytabs_enabled:l.is_paytabs_enabled===!0||l.is_paytabs_enabled==="1",paytabs_profile_id:l.paytabs_profile_id||"",paytabs_server_key:l.paytabs_server_key||"",paytabs_region:l.paytabs_region||"ARE",paytabs_mode:l.paytabs_mode||"sandbox",is_skrill_enabled:l.is_skrill_enabled===!0||l.is_skrill_enabled==="1",skrill_merchant_id:l.skrill_merchant_id||"",skrill_secret_word:l.skrill_secret_word||"",is_coingate_enabled:l.is_coingate_enabled===!0||l.is_coingate_enabled==="1",coingate_api_token:l.coingate_api_token||"",coingate_mode:l.coingate_mode||"sandbox",is_payfast_enabled:l.is_payfast_enabled===!0||l.is_payfast_enabled==="1",payfast_merchant_id:l.payfast_merchant_id||"",payfast_merchant_key:l.payfast_merchant_key||"",payfast_passphrase:l.payfast_passphrase||"",payfast_mode:l.payfast_mode||"sandbox"}),P=S.useMemo(()=>[{key:"bank",name:a(c[s.BANK])},{key:"stripe",name:a(c[s.STRIPE])},{key:"paypal",name:a(c[s.PAYPAL])},{key:"razorpay",name:a(c[s.RAZORPAY])},{key:"mercadopago",name:a(c[s.MERCADOPAGO])},{key:"paystack",name:a(c[s.PAYSTACK])},{key:"flutterwave",name:a(c[s.FLUTTERWAVE])},{key:"paytabs",name:a(c[s.PAYTABS])},{key:"skrill",name:a(c[s.SKRILL])},{key:"coingate",name:a(c[s.COINGATE])},{key:"payfast",name:a(c[s.PAYFAST])},{key:"tap",name:a(c[s.TAP])},{key:"xendit",name:a(c[s.XENDIT])},{key:"paytr",name:a(c[s.PAYTR])},{key:"mollie",name:a(c[s.MOLLIE])},{key:"toyyibpay",name:a(c[s.TOYYIBPAY])},{key:"paymentwall",name:a("PaymentWall")},{key:"sspay",name:a("SSPay")},{key:"benefit",name:a("Benefit")},{key:"iyzipay",name:a("Iyzipay")},{key:"aamarpay",name:a("Aamarpay")},{key:"midtrans",name:a("Midtrans")},{key:"yookassa",name:a("YooKassa")},{key:"nepalste",name:a("Nepalste")},{key:"paiement",name:a("Paiement Pro")},{key:"cinetpay",name:a("CinetPay")},{key:"payhere",name:a("PayHere")},{key:"fedapay",name:a("FedaPay")},{key:"authorizenet",name:a("AuthorizeNet")},{key:"khalti",name:a("Khalti")},{key:"easebuzz",name:a("Easebuzz")},{key:"ozow",name:a("Ozow")},{key:"cashfree",name:a("Cashfree")}],[a]),f=S.useMemo(()=>{let r=P;return h&&(r=r.filter(k=>k.name.toLowerCase().includes(h.toLowerCase()))),m!=="all"&&(r=r.filter(k=>{const T=t[`is_${k.key}_enabled`];return m==="enabled"?T:!T})),r},[P,h,m,t]),_=r=>f.some(k=>k.key===r),w=r=>{r.preventDefault(),z(route("payment.settings"),{onSuccess:k=>{var M,O;const T=(M=k.props.flash)==null?void 0:M.success,R=(O=k.props.flash)==null?void 0:O.error;T?C.success(T):R&&C.error(R)},onError:k=>{C.error(a("Failed to update payment settings"))}})};return e.jsx($,{title:a("Payment Settings"),description:a("Configure payment gateway for subscription plans"),action:e.jsxs(v,{type:"submit",form:"payment-settings-form",size:"sm",disabled:A,children:[e.jsx(re,{className:"h-4 w-4 mr-2"}),a(A?"Saving...":"Save Changes")]}),children:e.jsx("form",{id:"payment-settings-form",onSubmit:w,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(q,{children:[e.jsxs(J,{children:[e.jsx(Q,{children:a("Payment Methods")}),e.jsx(ee,{children:a("Configure available payment methods for subscription plans")})]}),e.jsxs(ae,{className:"space-y-6",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(L,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground h-4 w-4"}),e.jsx(W,{placeholder:a("Search payment methods..."),value:h,onChange:r=>u(r.target.value),className:"pl-10 pr-10"}),h&&e.jsx(v,{type:"button",variant:"ghost",size:"sm",className:"absolute right-2 top-1/2 transform -translate-y-1/2 h-6 w-6 p-0 hover:bg-muted",onClick:()=>u(""),children:e.jsx(N,{className:"h-3 w-3"})})]}),e.jsxs(G,{value:m,onValueChange:r=>j(r),children:[e.jsx(U,{className:"w-[140px]",children:e.jsx(F,{})}),e.jsxs(B,{children:[e.jsx(x,{value:"all",children:a("All Methods")}),e.jsx(x,{value:"enabled",children:a("Enabled Only")}),e.jsx(x,{value:"disabled",children:a("Disabled Only")})]})]})]}),(h||m!=="all")&&e.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:[a("Active filters:")," "]}),h&&e.jsxs(D,{variant:"secondary",className:"text-xs",children:[a("Search:"),' "',h,'"',e.jsx(v,{type:"button",variant:"ghost",size:"sm",className:"ml-1 h-3 w-3 p-0 hover:bg-transparent",onClick:()=>u(""),children:e.jsx(N,{className:"h-2 w-2"})})]}),m!=="all"&&e.jsxs(D,{variant:"secondary",className:"text-xs",children:[a("Status:")," ",a(m==="enabled"?"Enabled":"Disabled"),e.jsx(v,{type:"button",variant:"ghost",size:"sm",className:"ml-1 h-3 w-3 p-0 hover:bg-transparent",onClick:()=>j("all"),children:e.jsx(N,{className:"h-2 w-2"})})]})]}),(h||m!=="all")&&e.jsx("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:e.jsx("span",{children:f.length>0?a("Showing {{count}} of {{total}} payment methods",{count:f.length,total:P.length}):a("No payment methods found matching your criteria")})}),(h||m!=="all")&&f.length===0&&e.jsxs("div",{className:"text-center py-12 border-2 border-dashed border-muted rounded-lg",children:[e.jsx("div",{className:"mx-auto w-12 h-12 bg-muted rounded-full flex items-center justify-center mb-4",children:e.jsx(L,{className:"h-5 w-5 text-muted-foreground"})}),e.jsx("h3",{className:"text-lg font-medium mb-2",children:a("No results found")}),e.jsx("p",{className:"text-muted-foreground mb-4",children:a("Try adjusting your search or filter criteria")}),e.jsx(v,{type:"button",variant:"outline",size:"sm",onClick:()=>{u(""),j("all")},children:a("Clear filters")})]}),_("bank")&&e.jsx(d,{title:a(c[s.BANK]),icon:e.jsx(ne,{className:"h-5 w-5"}),enabled:t.is_bank_enabled,onToggle:r=>i("is_bank_enabled",r),children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(g,{htmlFor:"bank_detail",children:a("Bank Details")}),e.jsx(le,{id:"bank_detail",value:t.bank_detail,onChange:r=>i("bank_detail",r.target.value),placeholder:a(`Bank: Your Bank Name Account Number: 0000 0000 Routing Number: 000000000`),rows:6}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Enter your bank details that customers will use for manual transfers")}),o.bank_detail&&e.jsx("p",{className:"text-sm text-destructive",children:o.bank_detail})]})}),_("stripe")&&e.jsx(d,{title:a(c[s.STRIPE]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_stripe_enabled,onToggle:r=>i("is_stripe_enabled",r),helpUrl:y[s.STRIPE],helpText:a("Get your Stripe API keys from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"stripe_key",label:a("Publishable Key"),value:t.stripe_key,onChange:r=>i("stripe_key",r),placeholder:"pk_test_...",error:o.stripe_key}),e.jsx(n,{id:"stripe_secret",label:a("Secret Key"),value:t.stripe_secret,onChange:r=>i("stripe_secret",r),placeholder:"sk_test_...",isSecret:!0,error:o.stripe_secret})]})}),_("paypal")&&e.jsx(d,{title:a(c[s.PAYPAL]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_paypal_enabled,onToggle:r=>i("is_paypal_enabled",r),helpUrl:y[s.PAYPAL],helpText:a("Get your PayPal API credentials from your"),children:e.jsxs("div",{className:"space-y-4",children:[e.jsx(b,{value:t.paypal_mode,onChange:r=>i("paypal_mode",r),name:"paypal"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"paypal_client_id",label:a("Client ID"),value:t.paypal_client_id,onChange:r=>i("paypal_client_id",r),placeholder:a("Client ID"),error:o.paypal_client_id}),e.jsx(n,{id:"paypal_secret_key",label:a("Secret Key"),value:t.paypal_secret_key,onChange:r=>i("paypal_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.paypal_secret_key})]})]})}),_("razorpay")&&e.jsx(d,{title:a(c[s.RAZORPAY]),icon:e.jsx(_e,{className:"h-5 w-5"}),enabled:t.is_razorpay_enabled,onToggle:r=>i("is_razorpay_enabled",r),helpUrl:y[s.RAZORPAY],helpText:a("Get your Razorpay API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"razorpay_key",label:a("Key ID"),value:t.razorpay_key,onChange:r=>i("razorpay_key",r),placeholder:"rzp_test_...",error:o.razorpay_key}),e.jsx(n,{id:"razorpay_secret",label:a("Secret Key"),value:t.razorpay_secret,onChange:r=>i("razorpay_secret",r),placeholder:"...",isSecret:!0,error:o.razorpay_secret})]})}),_("mercadopago")&&e.jsx(d,{title:a(c[s.MERCADOPAGO]),icon:e.jsx(H,{className:"h-5 w-5"}),enabled:t.is_mercadopago_enabled,onToggle:r=>i("is_mercadopago_enabled",r),helpUrl:y[s.MERCADOPAGO],helpText:a("Get your Mercado Pago API credentials from your"),children:e.jsxs("div",{className:"space-y-4",children:[e.jsx(b,{value:t.mercadopago_mode,onChange:r=>i("mercadopago_mode",r),name:"mercadopago"}),e.jsx(n,{id:"mercadopago_access_token",label:a("Access Token"),value:t.mercadopago_access_token,onChange:r=>i("mercadopago_access_token",r),placeholder:t.mercadopago_mode==="sandbox"?"TEST-":"APP_USR-",isSecret:!0,error:o.mercadopago_access_token}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("For server-side API integration, use your Private Access Token (NOT your public key). You can find this in your MercadoPago Developer Dashboard under Credentials > Production/Test Credentials > Access token.")}),e.jsxs(I,{children:[e.jsx(K,{className:"h-4 w-4"}),e.jsx(E,{children:a("Important: Do not use your Public Key here. The Access Token is different and is required for server-side operations.")})]})]})}),_("paystack")&&e.jsx(d,{title:a(c[s.PAYSTACK]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_paystack_enabled,onToggle:r=>i("is_paystack_enabled",r),helpUrl:y[s.PAYSTACK],helpText:a("Get your Paystack API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"paystack_public_key",label:a("Public Key"),value:t.paystack_public_key,onChange:r=>i("paystack_public_key",r),placeholder:"pk_test_...",error:o.paystack_public_key}),e.jsx(n,{id:"paystack_secret_key",label:a("Secret Key"),value:t.paystack_secret_key,onChange:r=>i("paystack_secret_key",r),placeholder:"sk_test_...",isSecret:!0,error:o.paystack_secret_key})]})}),_("flutterwave")&&e.jsx(d,{title:a(c[s.FLUTTERWAVE]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_flutterwave_enabled,onToggle:r=>i("is_flutterwave_enabled",r),helpUrl:y[s.FLUTTERWAVE],helpText:a("Get your Flutterwave API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"flutterwave_public_key",label:a("Public Key"),value:t.flutterwave_public_key,onChange:r=>i("flutterwave_public_key",r),placeholder:"FLWPUBK_TEST-...",error:o.flutterwave_public_key}),e.jsx(n,{id:"flutterwave_secret_key",label:a("Secret Key"),value:t.flutterwave_secret_key,onChange:r=>i("flutterwave_secret_key",r),placeholder:"FLWSECK_TEST-...",isSecret:!0,error:o.flutterwave_secret_key})]})}),_("paytabs")&&e.jsx(d,{title:a(c[s.PAYTABS]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_paytabs_enabled,onToggle:r=>i("is_paytabs_enabled",r),helpUrl:y[s.PAYTABS],helpText:a("Get your PayTabs API credentials from your"),children:e.jsxs("div",{className:"space-y-4",children:[e.jsx(b,{value:t.paytabs_mode,onChange:r=>i("paytabs_mode",r),name:"paytabs"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"paytabs_profile_id",label:a("Profile ID"),value:t.paytabs_profile_id,onChange:r=>i("paytabs_profile_id",r),placeholder:a("Profile ID"),error:o.paytabs_profile_id}),e.jsx(n,{id:"paytabs_server_key",label:a("Server Key"),value:t.paytabs_server_key,onChange:r=>i("paytabs_server_key",r),placeholder:a("Server Key"),isSecret:!0,error:o.paytabs_server_key})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(g,{htmlFor:"paytabs_region",children:a("Region")}),e.jsxs(G,{value:t.paytabs_region,onValueChange:r=>i("paytabs_region",r),children:[e.jsx(U,{children:e.jsx(F,{placeholder:a("Select Region")})}),e.jsxs(B,{children:[e.jsx(x,{value:"ARE",children:a("UAE")}),e.jsx(x,{value:"SAU",children:a("Saudi Arabia")}),e.jsx(x,{value:"OMN",children:a("Oman")}),e.jsx(x,{value:"JOR",children:a("Jordan")}),e.jsx(x,{value:"EGY",children:a("Egypt")}),e.jsx(x,{value:"IRQ",children:a("Iraq")}),e.jsx(x,{value:"GLOBAL",children:a("Global")})]})]}),o.paytabs_region&&e.jsx("p",{className:"text-sm text-destructive",children:o.paytabs_region})]})]})}),_("skrill")&&e.jsx(d,{title:a(c[s.SKRILL]),icon:e.jsx(H,{className:"h-5 w-5"}),enabled:t.is_skrill_enabled,onToggle:r=>i("is_skrill_enabled",r),helpUrl:y[s.SKRILL],helpText:a("Get your Skrill merchant credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"skrill_merchant_id",label:a("Merchant ID"),value:t.skrill_merchant_id,onChange:r=>i("skrill_merchant_id",r),placeholder:a("Merchant ID"),error:o.skrill_merchant_id}),e.jsx(n,{id:"skrill_secret_word",label:a("Secret Word"),value:t.skrill_secret_word,onChange:r=>i("skrill_secret_word",r),placeholder:a("Secret Word"),isSecret:!0,error:o.skrill_secret_word})]})}),_("coingate")&&e.jsx(d,{title:a(c[s.COINGATE]),icon:e.jsx(ce,{className:"h-5 w-5"}),enabled:t.is_coingate_enabled,onToggle:r=>i("is_coingate_enabled",r),helpUrl:y[s.COINGATE],helpText:a("Get your CoinGate API credentials from your"),children:e.jsxs("div",{className:"space-y-4",children:[e.jsx(b,{value:t.coingate_mode,onChange:r=>i("coingate_mode",r),name:"coingate"}),e.jsx(n,{id:"coingate_api_token",label:a("API Token"),value:t.coingate_api_token,onChange:r=>i("coingate_api_token",r),placeholder:a("API Token"),isSecret:!0,error:o.coingate_api_token})]})}),_("payfast")&&e.jsx(d,{title:a(c[s.PAYFAST]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_payfast_enabled,onToggle:r=>i("is_payfast_enabled",r),helpUrl:y[s.PAYFAST],helpText:a("Get your Payfast merchant credentials from your"),children:e.jsxs("div",{className:"space-y-4",children:[e.jsx(b,{value:t.payfast_mode,onChange:r=>i("payfast_mode",r),name:"payfast"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"payfast_merchant_id",label:a("Merchant ID"),value:t.payfast_merchant_id,onChange:r=>i("payfast_merchant_id",r),placeholder:a("Merchant ID"),error:o.payfast_merchant_id}),e.jsx(n,{id:"payfast_merchant_key",label:a("Merchant Key"),value:t.payfast_merchant_key,onChange:r=>i("payfast_merchant_key",r),placeholder:a("Merchant Key"),isSecret:!0,error:o.payfast_merchant_key})]}),e.jsx(n,{id:"payfast_passphrase",label:a("Passphrase"),value:t.payfast_passphrase,onChange:r=>i("payfast_passphrase",r),placeholder:a("Passphrase (optional)"),error:o.payfast_passphrase})]})}),_("tap")&&e.jsx(d,{title:a(c[s.TAP]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_tap_enabled,onToggle:r=>i("is_tap_enabled",r),helpUrl:y[s.TAP],helpText:a("Get your Tap API credentials from your"),children:e.jsx(n,{id:"tap_secret_key",label:a("Secret Key"),value:t.tap_secret_key,onChange:r=>i("tap_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.tap_secret_key})}),_("xendit")&&e.jsx(d,{title:a(c[s.XENDIT]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_xendit_enabled,onToggle:r=>i("is_xendit_enabled",r),helpUrl:y[s.XENDIT],helpText:a("Get your Xendit API credentials from your"),children:e.jsx(n,{id:"xendit_api_key",label:a("API Key"),value:t.xendit_api_key,onChange:r=>i("xendit_api_key",r),placeholder:a("API Key"),isSecret:!0,error:o.xendit_api_key})}),_("paytr")&&e.jsxs(d,{title:a(c[s.PAYTR]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_paytr_enabled,onToggle:r=>i("is_paytr_enabled",r),helpUrl:y[s.PAYTR],helpText:a("Get your PayTR merchant credentials from your"),children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"paytr_merchant_id",label:a("Merchant ID"),value:t.paytr_merchant_id,onChange:r=>i("paytr_merchant_id",r),placeholder:a("Merchant ID"),error:o.paytr_merchant_id}),e.jsx(n,{id:"paytr_merchant_key",label:a("Merchant Key"),value:t.paytr_merchant_key,onChange:r=>i("paytr_merchant_key",r),placeholder:a("Merchant Key"),isSecret:!0,error:o.paytr_merchant_key})]}),e.jsx(n,{id:"paytr_merchant_salt",label:a("Merchant Salt"),value:t.paytr_merchant_salt,onChange:r=>i("paytr_merchant_salt",r),placeholder:a("Merchant Salt"),isSecret:!0,error:o.paytr_merchant_salt})]}),_("mollie")&&e.jsx(d,{title:a(c[s.MOLLIE]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_mollie_enabled,onToggle:r=>i("is_mollie_enabled",r),helpUrl:y[s.MOLLIE],helpText:a("Get your Mollie API credentials from your"),children:e.jsx(n,{id:"mollie_api_key",label:a("API Key"),value:t.mollie_api_key,onChange:r=>i("mollie_api_key",r),placeholder:a("API Key"),isSecret:!0,error:o.mollie_api_key})}),_("toyyibpay")&&e.jsx(d,{title:a(c[s.TOYYIBPAY]),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_toyyibpay_enabled,onToggle:r=>i("is_toyyibpay_enabled",r),helpUrl:y[s.TOYYIBPAY],helpText:a("Get your toyyibPay credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"toyyibpay_category_code",label:a("Category Code"),value:t.toyyibpay_category_code,onChange:r=>i("toyyibpay_category_code",r),placeholder:a("Category Code"),error:o.toyyibpay_category_code}),e.jsx(n,{id:"toyyibpay_secret_key",label:a("Secret Key"),value:t.toyyibpay_secret_key,onChange:r=>i("toyyibpay_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.toyyibpay_secret_key})]})}),_("paymentwall")&&e.jsx(d,{title:a("PaymentWall"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_paymentwall_enabled,onToggle:r=>i("is_paymentwall_enabled",r),helpUrl:y[s.PAYMENTWALL],helpText:a("Get your PaymentWall API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"paymentwall_public_key",label:a("Public Key"),value:t.paymentwall_public_key,onChange:r=>i("paymentwall_public_key",r),placeholder:a("Public Key"),error:o.paymentwall_public_key}),e.jsx(n,{id:"paymentwall_private_key",label:a("Private Key"),value:t.paymentwall_private_key,onChange:r=>i("paymentwall_private_key",r),placeholder:a("Private Key"),isSecret:!0,error:o.paymentwall_private_key})]})}),_("sspay")&&e.jsx(d,{title:a("SSPay"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_sspay_enabled,onToggle:r=>i("is_sspay_enabled",r),helpUrl:y[s.SSPAY],helpText:a("Get your SSPay API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"sspay_category_code",label:a("Category Code"),value:t.sspay_category_code,onChange:r=>i("sspay_category_code",r),placeholder:a("Category Code"),error:o.sspay_category_code}),e.jsx(n,{id:"sspay_secret_key",label:a("Secret Key"),value:t.sspay_secret_key,onChange:r=>i("sspay_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.sspay_secret_key})]})}),_("benefit")&&e.jsxs(d,{title:a("Benefit"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_benefit_enabled,onToggle:r=>i("is_benefit_enabled",r),helpUrl:y[s.BENEFIT],helpText:a("Get your Benefit API credentials from your"),children:[e.jsx(b,{value:t.benefit_mode,onChange:r=>i("benefit_mode",r),name:"benefit"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"benefit_public_key",label:a("Public Key"),value:t.benefit_public_key,onChange:r=>i("benefit_public_key",r),placeholder:a("Public Key"),error:o.benefit_public_key}),e.jsx(n,{id:"benefit_secret_key",label:a("Secret Key"),value:t.benefit_secret_key,onChange:r=>i("benefit_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.benefit_secret_key})]})]}),_("iyzipay")&&e.jsxs(d,{title:a("Iyzipay"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_iyzipay_enabled,onToggle:r=>i("is_iyzipay_enabled",r),helpUrl:y[s.IYZIPAY],helpText:a("Get your Iyzipay API credentials from your"),children:[e.jsx(b,{value:t.iyzipay_mode,onChange:r=>i("iyzipay_mode",r),name:"iyzipay"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"iyzipay_public_key",label:a("Public Key"),value:t.iyzipay_public_key,onChange:r=>i("iyzipay_public_key",r),placeholder:a("Public Key"),error:o.iyzipay_public_key}),e.jsx(n,{id:"iyzipay_secret_key",label:a("Secret Key"),value:t.iyzipay_secret_key,onChange:r=>i("iyzipay_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.iyzipay_secret_key})]})]}),_("aamarpay")&&e.jsx(d,{title:a("Aamarpay"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_aamarpay_enabled,onToggle:r=>i("is_aamarpay_enabled",r),helpUrl:y[s.AAMARPAY],helpText:a("Get your Aamarpay API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"aamarpay_store_id",label:a("Store ID"),value:t.aamarpay_store_id,onChange:r=>i("aamarpay_store_id",r),placeholder:a("Store ID"),error:o.aamarpay_store_id}),e.jsx(n,{id:"aamarpay_signature",label:a("Signature"),value:t.aamarpay_signature,onChange:r=>i("aamarpay_signature",r),placeholder:a("Signature"),isSecret:!0,error:o.aamarpay_signature})]})}),_("midtrans")&&e.jsxs(d,{title:a("Midtrans"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_midtrans_enabled,onToggle:r=>i("is_midtrans_enabled",r),helpUrl:y[s.MIDTRANS],helpText:a("Get your Midtrans API credentials from your"),children:[e.jsx(b,{value:t.midtrans_mode,onChange:r=>i("midtrans_mode",r),name:"midtrans"}),e.jsx(n,{id:"midtrans_secret_key",label:a("Secret Key"),value:t.midtrans_secret_key,onChange:r=>i("midtrans_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.midtrans_secret_key})]}),_("yookassa")&&e.jsx(d,{title:a("YooKassa"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_yookassa_enabled,onToggle:r=>i("is_yookassa_enabled",r),helpUrl:y[s.YOOKASSA],helpText:a("Get your YooKassa API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"yookassa_shop_id",label:a("Shop ID"),value:t.yookassa_shop_id,onChange:r=>i("yookassa_shop_id",r),placeholder:a("Shop ID"),error:o.yookassa_shop_id}),e.jsx(n,{id:"yookassa_secret_key",label:a("Secret Key"),value:t.yookassa_secret_key,onChange:r=>i("yookassa_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.yookassa_secret_key})]})}),_("paiement")&&e.jsx(d,{title:a("Paiement Pro"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_paiement_enabled,onToggle:r=>i("is_paiement_enabled",r),helpUrl:y[s.PAIEMENT],helpText:a("Get your Paiement Pro API credentials from your"),children:e.jsx(n,{id:"paiement_merchant_id",label:a("Merchant ID"),value:t.paiement_merchant_id,onChange:r=>i("paiement_merchant_id",r),placeholder:a("Merchant ID"),error:o.paiement_merchant_id})}),_("cinetpay")&&e.jsx(d,{title:a("CinetPay"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_cinetpay_enabled,onToggle:r=>i("is_cinetpay_enabled",r),helpUrl:y[s.CINETPAY],helpText:a("Get your CinetPay API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsx(n,{id:"cinetpay_site_id",label:a("Site ID"),value:t.cinetpay_site_id,onChange:r=>i("cinetpay_site_id",r),placeholder:a("Site ID"),error:o.cinetpay_site_id}),e.jsx(n,{id:"cinetpay_api_key",label:a("API Key"),value:t.cinetpay_api_key,onChange:r=>i("cinetpay_api_key",r),placeholder:a("API Key"),error:o.cinetpay_api_key}),e.jsx(n,{id:"cinetpay_secret_key",label:a("Secret Key"),value:t.cinetpay_secret_key,onChange:r=>i("cinetpay_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.cinetpay_secret_key})]})}),_("payhere")&&e.jsxs(d,{title:a("PayHere"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_payhere_enabled,onToggle:r=>i("is_payhere_enabled",r),helpUrl:y[s.PAYHERE],helpText:a("Get your PayHere API credentials from your"),children:[e.jsx(b,{value:t.payhere_mode,onChange:r=>i("payhere_mode",r),name:"payhere"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"payhere_merchant_id",label:a("Merchant ID"),value:t.payhere_merchant_id,onChange:r=>i("payhere_merchant_id",r),placeholder:a("Merchant ID"),error:o.payhere_merchant_id}),e.jsx(n,{id:"payhere_merchant_secret",label:a("Merchant Secret"),value:t.payhere_merchant_secret,onChange:r=>i("payhere_merchant_secret",r),placeholder:a("Merchant Secret"),isSecret:!0,error:o.payhere_merchant_secret}),e.jsx(n,{id:"payhere_app_id",label:a("App ID"),value:t.payhere_app_id,onChange:r=>i("payhere_app_id",r),placeholder:a("App ID"),error:o.payhere_app_id}),e.jsx(n,{id:"payhere_app_secret",label:a("App Secret"),value:t.payhere_app_secret,onChange:r=>i("payhere_app_secret",r),placeholder:a("App Secret"),isSecret:!0,error:o.payhere_app_secret})]})]}),_("fedapay")&&e.jsxs(d,{title:a("FedaPay"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_fedapay_enabled,onToggle:r=>i("is_fedapay_enabled",r),helpUrl:y[s.FEDAPAY],helpText:a("Get your FedaPay API credentials from your"),children:[e.jsx(b,{value:t.fedapay_mode,onChange:r=>i("fedapay_mode",r),name:"fedapay"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"fedapay_public_key",label:a("Public Key"),value:t.fedapay_public_key,onChange:r=>i("fedapay_public_key",r),placeholder:a("Public Key"),error:o.fedapay_public_key}),e.jsx(n,{id:"fedapay_secret_key",label:a("Secret Key"),value:t.fedapay_secret_key,onChange:r=>i("fedapay_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.fedapay_secret_key})]})]}),_("authorizenet")&&e.jsxs(d,{title:a("AuthorizeNet"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_authorizenet_enabled,onToggle:r=>i("is_authorizenet_enabled",r),helpUrl:y[s.AUTHORIZENET],helpText:a("Get your AuthorizeNet API credentials from your"),children:[e.jsx(b,{value:t.authorizenet_mode,onChange:r=>i("authorizenet_mode",r),name:"authorizenet"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"authorizenet_merchant_id",label:a("Merchant ID"),value:t.authorizenet_merchant_id,onChange:r=>i("authorizenet_merchant_id",r),placeholder:a("Merchant ID"),error:o.authorizenet_merchant_id}),e.jsx(n,{id:"authorizenet_transaction_key",label:a("Transaction Key"),value:t.authorizenet_transaction_key,onChange:r=>i("authorizenet_transaction_key",r),placeholder:a("Transaction Key"),isSecret:!0,error:o.authorizenet_transaction_key})]})]}),_("khalti")&&e.jsx(d,{title:a("Khalti"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_khalti_enabled,onToggle:r=>i("is_khalti_enabled",r),helpUrl:y[s.KHALTI],helpText:a("Get your Khalti API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"khalti_public_key",label:a("Public Key"),value:t.khalti_public_key,onChange:r=>i("khalti_public_key",r),placeholder:a("Public Key"),error:o.khalti_public_key}),e.jsx(n,{id:"khalti_secret_key",label:a("Secret Key"),value:t.khalti_secret_key,onChange:r=>i("khalti_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.khalti_secret_key})]})}),_("easebuzz")&&e.jsx(d,{title:a("Easebuzz"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_easebuzz_enabled,onToggle:r=>i("is_easebuzz_enabled",r),helpUrl:y[s.EASEBUZZ],helpText:a("Get your Easebuzz API credentials from your"),children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsx(n,{id:"easebuzz_merchant_key",label:a("Merchant Key"),value:t.easebuzz_merchant_key,onChange:r=>i("easebuzz_merchant_key",r),placeholder:a("Merchant Key"),error:o.easebuzz_merchant_key}),e.jsx(n,{id:"easebuzz_salt_key",label:a("Salt Key"),value:t.easebuzz_salt_key,onChange:r=>i("easebuzz_salt_key",r),placeholder:a("Salt Key"),isSecret:!0,error:o.easebuzz_salt_key}),e.jsx(n,{id:"easebuzz_environment",label:a("Environment"),value:t.easebuzz_environment,onChange:r=>i("easebuzz_environment",r),placeholder:a("prod/test"),error:o.easebuzz_environment})]})}),_("ozow")&&e.jsxs(d,{title:a("Ozow"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_ozow_enabled,onToggle:r=>i("is_ozow_enabled",r),helpUrl:y[s.OZOW],helpText:a("Get your Ozow API credentials from your"),children:[e.jsx(b,{value:t.ozow_mode,onChange:r=>i("ozow_mode",r),name:"ozow"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsx(n,{id:"ozow_site_key",label:a("Site Key"),value:t.ozow_site_key,onChange:r=>i("ozow_site_key",r),placeholder:a("Site Key"),error:o.ozow_site_key}),e.jsx(n,{id:"ozow_private_key",label:a("Private Key"),value:t.ozow_private_key,onChange:r=>i("ozow_private_key",r),placeholder:a("Private Key"),isSecret:!0,error:o.ozow_private_key}),e.jsx(n,{id:"ozow_api_key",label:a("API Key"),value:t.ozow_api_key,onChange:r=>i("ozow_api_key",r),placeholder:a("API Key"),error:o.ozow_api_key})]})]}),_("cashfree")&&e.jsxs(d,{title:a("Cashfree"),icon:e.jsx(p,{className:"h-5 w-5"}),enabled:t.is_cashfree_enabled,onToggle:r=>i("is_cashfree_enabled",r),helpUrl:y[s.CASHFREE],helpText:a("Get your Cashfree API credentials from your"),children:[e.jsx(b,{value:t.cashfree_mode,onChange:r=>i("cashfree_mode",r),name:"cashfree"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(n,{id:"cashfree_public_key",label:a("Public Key"),value:t.cashfree_public_key,onChange:r=>i("cashfree_public_key",r),placeholder:a("Public Key"),error:o.cashfree_public_key}),e.jsx(n,{id:"cashfree_secret_key",label:a("Secret Key"),value:t.cashfree_secret_key,onChange:r=>i("cashfree_secret_key",r),placeholder:a("Secret Key"),isSecret:!0,error:o.cashfree_secret_key})]})]})]})]}),e.jsxs(I,{children:[e.jsx(K,{className:"h-4 w-4"}),e.jsxs(E,{children:[e.jsx("strong",{children:a("Important:")})," ",a("These payment settings will be used for all subscription plan payments. Make sure to test your configuration before going live.")]})]})]})})})}export{Ie as default}; diff --git a/public/build/assets/payout-requests-Bo6HO_ay.js b/public/build/assets/payout-requests-3LVTkOgB.js similarity index 56% rename from public/build/assets/payout-requests-Bo6HO_ay.js rename to public/build/assets/payout-requests-3LVTkOgB.js index 98798d461..053d6c9d4 100644 --- a/public/build/assets/payout-requests-Bo6HO_ay.js +++ b/public/build/assets/payout-requests-3LVTkOgB.js @@ -1 +1 @@ -import{r as h,j as t}from"./ui-Z445SNHD.js";import{u as L,b as Y,C as j,m as b,n as g,D as C,ar as H,o as l,P as z,h as v,j as y,k as D,L as N,I as X,l as w,q as G,t as s,r as P}from"./app-CfhhiFAk.js";import{T as J}from"./textarea-kpRjGGLz.js";import{C as K}from"./CrudTable-qPWooc10.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./sparkles-BIbzOfb3.js";import"./briefcase-CLRn8zVu.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./calendar-days-CiPhwZgb.js";import"./calendar-CfUpdaK5.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-up-DepFp6b6.js";import"./chevron-left-DzjQ74li.js";import"./chevron-right-Bd9XWZHZ.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./clock-CwFdn-oy.js";import"./code-BfjQUpEO.js";import"./coins-BDVfLngB.js";import"./copy-xfopPExK.js";import"./credit-card-BmdpMcMw.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./dollar-sign-DYXFWWsE.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./fingerprint-DTUiU2wR.js";import"./house-CL9v9Cnk.js";import"./gift-DXGdvbnX.js";import"./git-branch-B0hRoz5x.js";import"./globe-DePi6jyA.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-grid-C6MkbbLQ.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./loader-circle-wGk7YsPK.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./log-out-XdMMCWfW.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./refresh-cw-DWorkL8J.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./settings-BwhyNRyj.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./timer-Cqv8ulB-.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function xe({userType:c,payoutRequests:a,settings:m,stats:n,currencySymbol:p}){const{t:r}=L(),[S,u]=h.useState(!1),[$,d]=h.useState(!1),[k,A]=h.useState(null),{data:R,setData:_,post:B,processing:E,errors:x,reset:T}=Y({amount:""}),q=o=>{o.preventDefault(),B(route("referral.payout-request.create"),{onSuccess:e=>{u(!1),T(),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{typeof e=="string"&&s.error(r(e))}})},F=(o,e)=>{o==="approve"?P.post(route("referral.payout-request.approve",e.id),{},{onSuccess:i=>{i.props.flash.success?s.success(r(i.props.flash.success)):i.props.flash.error&&s.error(r(i.props.flash.error))},onError:i=>{typeof i=="string"&&s.error(r(i))}}):o==="reject"&&(A(e),d(!0))},I=o=>{P.post(route("referral.payout-request.reject",k.id),{notes:o},{onSuccess:e=>{d(!1),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{typeof e=="string"&&s.error(r(e))}})},O=[...c==="superadmin"?[{key:"company.name",label:r("Company"),render:(o,e)=>{var i,f;return t.jsxs("div",{children:[t.jsx("p",{className:"text-sm font-semibold",children:(i=e.company)==null?void 0:i.name}),t.jsx("p",{className:"text-xs text-muted-foreground",children:(f=e.company)==null?void 0:f.email})]})}}]:[],{key:"amount",label:r("Amount"),render:o=>`${p}${o}`},{key:"status",label:r("Status"),render:o=>{const e={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset capitalize ${e[o]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:r(o)})}},{key:"created_at",label:r("Date"),render:o=>{var e;return((e=window.appSettings)==null?void 0:e.formatDateTimeSimple(o,!1))||new Date(o).toLocaleDateString()}}],M=c==="superadmin"?[{label:r("Approve"),icon:"Check",action:"approve",className:"text-green-500",condition:o=>o.status==="pending"},{label:r("Reject"),icon:"X",action:"reject",className:"text-red-500",condition:o=>o.status==="pending"}]:[];return t.jsxs("div",{className:"space-y-6",children:[c==="company"&&t.jsxs(j,{children:[t.jsxs(b,{className:"flex flex-row items-center justify-between",children:[t.jsx(g,{className:"text-base font-semibold",children:r("Create Payout Request")}),t.jsxs(C,{open:S,onOpenChange:u,children:[t.jsx(H,{asChild:!0,children:t.jsxs(l,{disabled:n.availableBalance_("amount",o.target.value),placeholder:`Min: $${m.threshold_amount}`}),x.amount&&t.jsx("p",{className:"text-sm text-red-500",children:x.amount})]}),t.jsxs("div",{className:"text-sm text-muted-foreground",children:[t.jsxs("p",{children:[r("Available Balance"),": ",p,n.availableBalance]}),t.jsxs("p",{children:[r("Minimum Amount"),": ",p,m.threshold_amount]})]}),t.jsxs("div",{className:"flex justify-end space-x-2",children:[t.jsx(l,{type:"button",variant:"outline",onClick:()=>u(!1),children:r("Cancel")}),t.jsx(l,{type:"submit",disabled:E,children:r("Submit Request")})]})]})]})]})]}),t.jsx(w,{children:t.jsx("p",{className:"text-sm text-muted-foreground",children:n.availableBalance{o.preventDefault();const i=new FormData(o.currentTarget).get("notes");I(i)},children:[t.jsx("div",{className:"space-y-4",children:t.jsxs("div",{children:[t.jsx(N,{htmlFor:"notes",children:r("Rejection Reason (Optional)")}),t.jsx(J,{id:"notes",name:"notes",placeholder:r("Enter rejection reason..."),className:"mt-1"})]})}),t.jsxs(G,{className:"mt-6",children:[t.jsx(l,{type:"button",variant:"outline",onClick:()=>d(!1),children:r("Cancel")}),t.jsx(l,{type:"submit",variant:"destructive",children:r("Reject")})]})]})]})})]})}export{xe as default}; +import{r as h,j as t}from"./ui-Z445SNHD.js";import{u as L,b as Y,C as j,m as b,n as g,D as C,ar as H,o as l,P as z,h as v,j as y,k as D,L as N,I as X,l as w,q as G,t as s,r as P}from"./app-Dya84jp7.js";import{T as J}from"./textarea-yeg8ONhy.js";import{C as K}from"./CrudTable-yqxtM6E_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./sparkles-C1HgyvOv.js";import"./briefcase-Btn3T9V4.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./calendar-days-CURbwGg4.js";import"./calendar-DuRYaSj5.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-up-DHaGktre.js";import"./chevron-left-CQUDAoaX.js";import"./chevron-right-D4JxSs4d.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./clock-LnEFQ-vK.js";import"./code-znlKMFkF.js";import"./coins-CgSV4zfi.js";import"./copy-G5cMddid.js";import"./credit-card-BKi_ThdS.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./dollar-sign-DH2Tc178.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./fingerprint-aH6d8cFa.js";import"./house-iKjbmxem.js";import"./gift-CQwwB55q.js";import"./git-branch-BmbBP1kF.js";import"./globe-5zZ4IsmY.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-grid-3SDzvK8c.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./loader-circle-BLsTZrwM.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./log-out-M0Vyot5_.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./refresh-cw-D_C_cDSu.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./settings-amvA_CjN.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./timer-BTqoLJiz.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function xe({userType:c,payoutRequests:a,settings:m,stats:n,currencySymbol:p}){const{t:r}=L(),[S,u]=h.useState(!1),[$,d]=h.useState(!1),[k,A]=h.useState(null),{data:R,setData:_,post:B,processing:E,errors:x,reset:T}=Y({amount:""}),q=o=>{o.preventDefault(),B(route("referral.payout-request.create"),{onSuccess:e=>{u(!1),T(),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{typeof e=="string"&&s.error(r(e))}})},F=(o,e)=>{o==="approve"?P.post(route("referral.payout-request.approve",e.id),{},{onSuccess:i=>{i.props.flash.success?s.success(r(i.props.flash.success)):i.props.flash.error&&s.error(r(i.props.flash.error))},onError:i=>{typeof i=="string"&&s.error(r(i))}}):o==="reject"&&(A(e),d(!0))},I=o=>{P.post(route("referral.payout-request.reject",k.id),{notes:o},{onSuccess:e=>{d(!1),e.props.flash.success?s.success(r(e.props.flash.success)):e.props.flash.error&&s.error(r(e.props.flash.error))},onError:e=>{typeof e=="string"&&s.error(r(e))}})},O=[...c==="superadmin"?[{key:"company.name",label:r("Company"),render:(o,e)=>{var i,f;return t.jsxs("div",{children:[t.jsx("p",{className:"text-sm font-semibold",children:(i=e.company)==null?void 0:i.name}),t.jsx("p",{className:"text-xs text-muted-foreground",children:(f=e.company)==null?void 0:f.email})]})}}]:[],{key:"amount",label:r("Amount"),render:o=>`${p}${o}`},{key:"status",label:r("Status"),render:o=>{const e={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset capitalize ${e[o]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:r(o)})}},{key:"created_at",label:r("Date"),render:o=>{var e;return((e=window.appSettings)==null?void 0:e.formatDateTimeSimple(o,!1))||new Date(o).toLocaleDateString()}}],M=c==="superadmin"?[{label:r("Approve"),icon:"Check",action:"approve",className:"text-green-500",condition:o=>o.status==="pending"},{label:r("Reject"),icon:"X",action:"reject",className:"text-red-500",condition:o=>o.status==="pending"}]:[];return t.jsxs("div",{className:"space-y-6",children:[c==="company"&&t.jsxs(j,{children:[t.jsxs(b,{className:"flex flex-row items-center justify-between",children:[t.jsx(g,{className:"text-base font-semibold",children:r("Create Payout Request")}),t.jsxs(C,{open:S,onOpenChange:u,children:[t.jsx(H,{asChild:!0,children:t.jsxs(l,{disabled:n.availableBalance_("amount",o.target.value),placeholder:`Min: $${m.threshold_amount}`}),x.amount&&t.jsx("p",{className:"text-sm text-red-500",children:x.amount})]}),t.jsxs("div",{className:"text-sm text-muted-foreground",children:[t.jsxs("p",{children:[r("Available Balance"),": ",p,n.availableBalance]}),t.jsxs("p",{children:[r("Minimum Amount"),": ",p,m.threshold_amount]})]}),t.jsxs("div",{className:"flex justify-end space-x-2",children:[t.jsx(l,{type:"button",variant:"outline",onClick:()=>u(!1),children:r("Cancel")}),t.jsx(l,{type:"submit",disabled:E,children:r("Submit Request")})]})]})]})]})]}),t.jsx(w,{children:t.jsx("p",{className:"text-sm text-muted-foreground",children:n.availableBalance{o.preventDefault();const i=new FormData(o.currentTarget).get("notes");I(i)},children:[t.jsx("div",{className:"space-y-4",children:t.jsxs("div",{children:[t.jsx(N,{htmlFor:"notes",children:r("Rejection Reason (Optional)")}),t.jsx(J,{id:"notes",name:"notes",placeholder:r("Enter rejection reason..."),className:"mt-1"})]})}),t.jsxs(G,{className:"mt-6",children:[t.jsx(l,{type:"button",variant:"outline",onClick:()=>d(!1),children:r("Cancel")}),t.jsx(l,{type:"submit",variant:"destructive",children:r("Reject")})]})]})]})})]})}export{xe as default}; diff --git a/public/build/assets/payroll-calculation-RtB_ajIT.js b/public/build/assets/payroll-calculation-CsNXsl-F.js similarity index 92% rename from public/build/assets/payroll-calculation-RtB_ajIT.js rename to public/build/assets/payroll-calculation-CsNXsl-F.js index c0215896d..eca93aa3d 100644 --- a/public/build/assets/payroll-calculation-RtB_ajIT.js +++ b/public/build/assets/payroll-calculation-CsNXsl-F.js @@ -1 +1 @@ -import{r as d,j as e}from"./ui-Z445SNHD.js";import{P as G}from"./page-template-BTxLyiDA.js";import{u as I,c as J,r as K,t as A}from"./app-CfhhiFAk.js";import{S as Q,a as X,b as Y,c as Z,d as ee}from"./select-BrY9osYp.js";import{A as te}from"./arrow-left-B_Yqvwsn.js";import{C as ae}from"./calculator-CAq-8OXK.js";import{D as se}from"./dollar-sign-DYXFWWsE.js";import{C as re}from"./clock-CwFdn-oy.js";import{T as B}from"./trending-up-Bi4f72Tj.js";import{T as ne}from"./trending-down-DeoG-P9A.js";import"./textarea-kpRjGGLz.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function Ie(){var j,f,N,b,w,k,v,_,S,C,D,L,P,T;const{t}=I(),{employeeSalary:o,payrollRuns:p,selectedPayrollRun:U,payrollData:r}=J().props,[x,O]=d.useState(U),[y,E]=d.useState((r==null?void 0:r.salaryBreakdown)||{earnings:{},deductions:{}}),[s,F]=d.useState((r==null?void 0:r.attendanceSummary)||{}),[l,H]=d.useState((r==null?void 0:r.payrollCalculation)||{}),[g,M]=d.useState((r==null?void 0:r.attendanceRecords)||[]),[h,R]=d.useState((r==null?void 0:r.currentMonth)||null),[c,u]=d.useState(!1),$=async a=>{var i;if(a!==((i=x==null?void 0:x.id)==null?void 0:i.toString())){u(!0);try{const n=await fetch(route("hr.employee-salaries.get-payroll-calculation",{employeeSalary:o.id,payrollRun:a}));if(n.ok){const m=await n.json(),q=p.find(z=>z.id.toString()===a);O(q),E(m.salaryBreakdown||{earnings:{},deductions:{}}),F(m.attendanceSummary||{}),H(m.payrollCalculation||{}),M(m.attendanceRecords||[]),R(m.currentMonth)}else A.error(t("Failed to load payroll data"))}catch{A.error(t("Failed to load payroll data"))}finally{u(!1)}}},V=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Payroll Management"),href:route("hr.employee-salaries.index")},{title:t("Employee Salaries"),href:route("hr.employee-salaries.index")},{title:t("Payroll Calculation")}],W=[{label:t("Back"),icon:e.jsx(te,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>K.get(route("hr.employee-salaries.index"))}];return e.jsx(G,{title:`${t("Payroll Calculation")} - ${o.employee.name}`,url:"/hr/employee-salaries/payroll-calculation",actions:W,breadcrumbs:V,noPadding:!0,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(ae,{className:"h-8 w-8 text-purple-600"}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl font-bold text-gray-900 dark:text-white",children:o.employee.name}),e.jsxs("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:[t("Payroll Calculation for")," ",h?new Date(h).toLocaleDateString("en-US",{year:"numeric",month:"long"}):"-"]})]})]}),e.jsx("div",{className:"w-64",children:e.jsxs(Q,{value:((j=x==null?void 0:x.id)==null?void 0:j.toString())||"",onValueChange:$,disabled:c,children:[e.jsx(X,{children:e.jsx(Y,{placeholder:t("Select Payroll Run")})}),e.jsx(Z,{children:p==null?void 0:p.map(a=>e.jsxs(ee,{value:a.id.toString(),children:[a.title," (",new Date(a.pay_period_start).toLocaleDateString()," - ",new Date(a.pay_period_end).toLocaleDateString(),")"]},a.id))})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-4 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(se,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"}),e.jsx("span",{className:"text-xs font-medium text-blue-600 dark:text-blue-400 tracking-wide",children:t("Basic Salary")})]}),e.jsx("p",{className:"text-xl font-bold text-blue-900 dark:text-blue-100 mt-1",children:(f=window.appSettings)==null?void 0:f.formatCurrency(o.basic_salary||0)})]}),e.jsxs("div",{className:"bg-green-50 dark:bg-green-900/20 p-4 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(re,{className:"h-5 w-5 text-green-600 dark:text-green-400"}),e.jsx("span",{className:"text-xs font-medium text-green-600 dark:text-green-400 tracking-wide",children:t("Working Days")})]}),e.jsx("p",{className:"text-xl font-bold text-green-900 dark:text-green-100 mt-1",children:s.total_working_days||0})]}),e.jsxs("div",{className:"bg-purple-50 dark:bg-purple-900/20 p-4 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(B,{className:"h-5 w-5 text-purple-600 dark:text-purple-400"}),e.jsx("span",{className:"text-xs font-medium text-purple-600 dark:text-purple-400 tracking-wide",children:t("Net Salary")})]}),e.jsx("p",{className:"text-xl font-bold text-purple-900 dark:text-purple-100 mt-1",children:(N=window.appSettings)==null?void 0:N.formatCurrency(l.net_salary||0)})]})]})]}),c&&e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:e.jsxs("div",{className:"flex items-center justify-center py-8",children:[e.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-purple-600"}),e.jsx("span",{className:"ml-2 text-gray-600 dark:text-gray-400",children:t("Loading payroll data...")})]})}),!c&&e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-4",children:t("Attendance Summary")}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-7 gap-4",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-blue-600",children:s.total_working_days}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Working Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-green-600",children:s.present_days}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Present Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-yellow-600",children:s.half_days}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Half Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-red-600",children:s.absent_days}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Absent Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-indigo-600",children:s.leave_days||0}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Paid Leave Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-indigo-600",children:s.unpaid_leave_days||0}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Total Unpaid Leave")}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-500",children:"(Unpaid Leaves + Half Days + Absent)"})]}),e.jsxs("div",{className:"text-center",children:[e.jsxs("p",{className:"text-xl font-bold text-orange-600",children:[(Number(s.overtime_hours)||0).toFixed(1),"h"]}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Overtime")})]})]})]}),!c&&e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(B,{className:"h-5 w-5 text-green-600"}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:t("Earnings")})]}),e.jsxs("div",{className:"space-y-3",children:[Object.entries(y.earnings||{}).map(([a,i])=>{var n;return e.jsxs("div",{className:"flex justify-between items-center py-2 border-b border-gray-100 dark:border-gray-700",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:a}),e.jsx("span",{className:"text-sm font-mono font-medium text-green-600",children:(n=window.appSettings)==null?void 0:n.formatCurrency(i)})]},a)}),e.jsxs("div",{className:"flex justify-between items-center py-2 font-semibold text-base border-t-2 border-green-200",children:[e.jsx("span",{className:"text-gray-900 dark:text-white",children:t("Total Earnings")}),e.jsx("span",{className:"font-mono text-green-600",children:(b=window.appSettings)==null?void 0:b.formatCurrency(l.total_earnings||0)})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(ne,{className:"h-5 w-5 text-red-600"}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:t("Deductions")})]}),e.jsxs("div",{className:"space-y-3",children:[Object.entries(y.deductions||{}).map(([a,i])=>{var n;return e.jsxs("div",{className:"flex justify-between items-center py-2 border-b border-gray-100 dark:border-gray-700",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:a}),e.jsx("span",{className:"text-sm font-mono font-medium text-red-600",children:(n=window.appSettings)==null?void 0:n.formatCurrency(i)})]},a)}),e.jsxs("div",{className:"flex justify-between items-center py-2 font-semibold text-base border-t-2 border-red-200",children:[e.jsx("span",{className:"text-gray-900 dark:text-white",children:t("Total Deductions")}),e.jsx("span",{className:"font-mono text-red-600",children:(w=window.appSettings)==null?void 0:w.formatCurrency(l.total_deductions||0)})]})]})]})]}),!c&&e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[e.jsx("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:t("Daily Attendance Records")})}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-800",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Date")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Clock In")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Clock Out")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Total Hours")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Overtime")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Status")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-900 divide-y divide-gray-200 dark:divide-gray-700",children:g&&g.length>0?g.map((a,i)=>{var n;return e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-800",children:[e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white",children:((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(a.date,!1))||new Date(a.date).toLocaleDateString()}),e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-mono text-green-600",children:a.clock_in||"-"}),e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-mono text-red-600",children:a.clock_out||"-"}),e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-mono text-gray-900 dark:text-white",children:a.total_hours?`${Number(a.total_hours).toFixed(2)}h`:"-"}),e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-mono text-orange-600",children:a.overtime_hours>0?`${Number(a.overtime_hours).toFixed(1)}h`:"-"}),e.jsxs("td",{className:"px-6 py-4 whitespace-nowrap",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${a.status==="present"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":a.status==="absent"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":a.status==="half_day"?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":a.status==="holiday"?"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20":a.status==="on_leave"?"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:a.status==="present"?t("Present"):a.status==="absent"?t("Absent"):a.status==="half_day"?t("Half Day"):a.status==="holiday"?t("Holiday"):a.status==="on_leave"?t("On Leave"):a.status||"-"}),a.is_late&&e.jsx("span",{className:"ml-1 inline-flex items-center rounded-md px-1 py-0.5 text-xs font-medium bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20",children:t("Late")}),a.is_early_departure&&e.jsx("span",{className:"ml-1 inline-flex items-center rounded-md px-1 py-0.5 text-xs font-medium bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20",children:t("Early")})]})]},i)}):e.jsx("tr",{children:e.jsx("td",{colSpan:6,className:"px-6 py-4 text-center text-sm text-gray-500 dark:text-gray-400",children:t("No attendance records found for this month")})})})]})})]}),!c&&e.jsxs("div",{className:"bg-gradient-to-r from-purple-50 to-blue-50 dark:from-purple-900/20 dark:to-blue-900/20 rounded-lg shadow p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-4",children:t("Final Calculation")}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Base Salary")}),e.jsx("span",{className:"text-sm font-mono font-medium text-blue-600",children:(k=window.appSettings)==null?void 0:k.formatCurrency(o.basic_salary)})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Total Earnings")}),e.jsx("span",{className:"text-sm font-mono font-medium text-green-600",children:(v=window.appSettings)==null?void 0:v.formatCurrency(l.total_earnings||0)})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Per Day Salary")}),e.jsx("span",{className:"text-sm font-mono font-medium text-blue-600",children:(_=window.appSettings)==null?void 0:_.formatCurrency(l.per_day_salary||0)})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsxs("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:[t("Unpaid Leave Deduction")," (",s.unpaid_leave_from_leave||0," days)"]}),e.jsxs("span",{className:"text-sm font-mono font-medium text-red-600",children:["- ",(S=window.appSettings)==null?void 0:S.formatCurrency((l.per_day_salary||0)*(s.unpaid_leave_from_leave||0))]})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsxs("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:[t("Half Day Deduction")," (",s.half_days," × 0.5)"]}),e.jsxs("span",{className:"text-sm font-mono font-medium text-orange-600",children:["- ",(C=window.appSettings)==null?void 0:C.formatCurrency((l.per_day_salary||0)*(s.half_days||0)*.5)]})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsxs("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:[t("Absent Day Deduction")," (",s.absent_days," days)"]}),e.jsxs("span",{className:"text-sm font-mono font-medium text-red-600",children:["- ",(D=window.appSettings)==null?void 0:D.formatCurrency((l.per_day_salary||0)*(s.absent_days||0))]})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Overtime Amount")}),e.jsxs("span",{className:"text-sm font-mono font-medium text-green-600",children:["+ ",(L=window.appSettings)==null?void 0:L.formatCurrency(l.overtime_amount||0)]})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Total Deductions")}),e.jsxs("span",{className:"text-sm font-mono font-medium text-red-600",children:["- ",(P=window.appSettings)==null?void 0:P.formatCurrency(l.total_deductions||0)]})]}),e.jsxs("div",{className:"flex justify-between items-center py-3 font-bold text-lg border-t-2 border-purple-200",children:[e.jsx("span",{className:"text-gray-900 dark:text-white",children:t("Net Salary")}),e.jsx("span",{className:"font-mono text-purple-600",children:(T=window.appSettings)==null?void 0:T.formatCurrency(l.net_salary||0)})]})]}),e.jsxs("div",{className:"mt-4 p-4 bg-white dark:bg-gray-800 rounded-lg",children:[e.jsxs("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:[e.jsxs("strong",{children:[t("Calculation Formula"),":"]})," ",t("Net Salary")," = (",t("Basic Salary")," + ",t("Allowances"),") - (",t("Per Day Salary")," × ",t("Unpaid Leave Days"),") + ",t("Overtime")," - ",t("Deductions")]}),e.jsxs("div",{className:"text-sm text-gray-600 dark:text-gray-400 mt-2",children:[e.jsx("p",{children:e.jsxs("strong",{children:[t("Unpaid Leave Days Breakdown"),":"]})}),e.jsxs("p",{children:["• Unpaid Leaves: ",s.unpaid_leave_from_leave||0," days"]}),e.jsxs("p",{children:["• Absent Days: ",s.absent_days||0," days"]}),e.jsxs("p",{children:["• Half Days: ",s.half_days||0," × 0.5 = ",(s.half_days||0)*.5," days"]}),e.jsx("p",{children:e.jsxs("strong",{children:["Total Unpaid Days: ",s.unpaid_leave_days||0," days"]})})]})]})]})]})})}export{Ie as default}; +import{r as d,j as e}from"./ui-Z445SNHD.js";import{P as G}from"./page-template-CLNVC8w_.js";import{u as I,c as J,r as K,t as A}from"./app-Dya84jp7.js";import{S as Q,a as X,b as Y,c as Z,d as ee}from"./select-CHkpLxhL.js";import{A as te}from"./arrow-left-BUNj5JJK.js";import{C as ae}from"./calculator-D-XBwqfe.js";import{D as se}from"./dollar-sign-DH2Tc178.js";import{C as re}from"./clock-LnEFQ-vK.js";import{T as B}from"./trending-up-BT453ptk.js";import{T as ne}from"./trending-down-DmDmdusz.js";import"./textarea-yeg8ONhy.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function Ie(){var j,f,N,b,w,k,v,_,S,C,D,L,P,T;const{t}=I(),{employeeSalary:o,payrollRuns:p,selectedPayrollRun:U,payrollData:r}=J().props,[x,O]=d.useState(U),[y,E]=d.useState((r==null?void 0:r.salaryBreakdown)||{earnings:{},deductions:{}}),[s,F]=d.useState((r==null?void 0:r.attendanceSummary)||{}),[l,H]=d.useState((r==null?void 0:r.payrollCalculation)||{}),[g,M]=d.useState((r==null?void 0:r.attendanceRecords)||[]),[h,R]=d.useState((r==null?void 0:r.currentMonth)||null),[c,u]=d.useState(!1),$=async a=>{var i;if(a!==((i=x==null?void 0:x.id)==null?void 0:i.toString())){u(!0);try{const n=await fetch(route("hr.employee-salaries.get-payroll-calculation",{employeeSalary:o.id,payrollRun:a}));if(n.ok){const m=await n.json(),q=p.find(z=>z.id.toString()===a);O(q),E(m.salaryBreakdown||{earnings:{},deductions:{}}),F(m.attendanceSummary||{}),H(m.payrollCalculation||{}),M(m.attendanceRecords||[]),R(m.currentMonth)}else A.error(t("Failed to load payroll data"))}catch{A.error(t("Failed to load payroll data"))}finally{u(!1)}}},V=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Payroll Management"),href:route("hr.employee-salaries.index")},{title:t("Employee Salaries"),href:route("hr.employee-salaries.index")},{title:t("Payroll Calculation")}],W=[{label:t("Back"),icon:e.jsx(te,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>K.get(route("hr.employee-salaries.index"))}];return e.jsx(G,{title:`${t("Payroll Calculation")} - ${o.employee.name}`,url:"/hr/employee-salaries/payroll-calculation",actions:W,breadcrumbs:V,noPadding:!0,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(ae,{className:"h-8 w-8 text-purple-600"}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl font-bold text-gray-900 dark:text-white",children:o.employee.name}),e.jsxs("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:[t("Payroll Calculation for")," ",h?new Date(h).toLocaleDateString("en-US",{year:"numeric",month:"long"}):"-"]})]})]}),e.jsx("div",{className:"w-64",children:e.jsxs(Q,{value:((j=x==null?void 0:x.id)==null?void 0:j.toString())||"",onValueChange:$,disabled:c,children:[e.jsx(X,{children:e.jsx(Y,{placeholder:t("Select Payroll Run")})}),e.jsx(Z,{children:p==null?void 0:p.map(a=>e.jsxs(ee,{value:a.id.toString(),children:[a.title," (",new Date(a.pay_period_start).toLocaleDateString()," - ",new Date(a.pay_period_end).toLocaleDateString(),")"]},a.id))})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-4 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(se,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"}),e.jsx("span",{className:"text-xs font-medium text-blue-600 dark:text-blue-400 tracking-wide",children:t("Basic Salary")})]}),e.jsx("p",{className:"text-xl font-bold text-blue-900 dark:text-blue-100 mt-1",children:(f=window.appSettings)==null?void 0:f.formatCurrency(o.basic_salary||0)})]}),e.jsxs("div",{className:"bg-green-50 dark:bg-green-900/20 p-4 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(re,{className:"h-5 w-5 text-green-600 dark:text-green-400"}),e.jsx("span",{className:"text-xs font-medium text-green-600 dark:text-green-400 tracking-wide",children:t("Working Days")})]}),e.jsx("p",{className:"text-xl font-bold text-green-900 dark:text-green-100 mt-1",children:s.total_working_days||0})]}),e.jsxs("div",{className:"bg-purple-50 dark:bg-purple-900/20 p-4 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(B,{className:"h-5 w-5 text-purple-600 dark:text-purple-400"}),e.jsx("span",{className:"text-xs font-medium text-purple-600 dark:text-purple-400 tracking-wide",children:t("Net Salary")})]}),e.jsx("p",{className:"text-xl font-bold text-purple-900 dark:text-purple-100 mt-1",children:(N=window.appSettings)==null?void 0:N.formatCurrency(l.net_salary||0)})]})]})]}),c&&e.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:e.jsxs("div",{className:"flex items-center justify-center py-8",children:[e.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-purple-600"}),e.jsx("span",{className:"ml-2 text-gray-600 dark:text-gray-400",children:t("Loading payroll data...")})]})}),!c&&e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-4",children:t("Attendance Summary")}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-7 gap-4",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-blue-600",children:s.total_working_days}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Working Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-green-600",children:s.present_days}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Present Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-yellow-600",children:s.half_days}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Half Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-red-600",children:s.absent_days}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Absent Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-indigo-600",children:s.leave_days||0}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Paid Leave Days")})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xl font-bold text-indigo-600",children:s.unpaid_leave_days||0}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Total Unpaid Leave")}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-500",children:"(Unpaid Leaves + Half Days + Absent)"})]}),e.jsxs("div",{className:"text-center",children:[e.jsxs("p",{className:"text-xl font-bold text-orange-600",children:[(Number(s.overtime_hours)||0).toFixed(1),"h"]}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:t("Overtime")})]})]})]}),!c&&e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(B,{className:"h-5 w-5 text-green-600"}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:t("Earnings")})]}),e.jsxs("div",{className:"space-y-3",children:[Object.entries(y.earnings||{}).map(([a,i])=>{var n;return e.jsxs("div",{className:"flex justify-between items-center py-2 border-b border-gray-100 dark:border-gray-700",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:a}),e.jsx("span",{className:"text-sm font-mono font-medium text-green-600",children:(n=window.appSettings)==null?void 0:n.formatCurrency(i)})]},a)}),e.jsxs("div",{className:"flex justify-between items-center py-2 font-semibold text-base border-t-2 border-green-200",children:[e.jsx("span",{className:"text-gray-900 dark:text-white",children:t("Total Earnings")}),e.jsx("span",{className:"font-mono text-green-600",children:(b=window.appSettings)==null?void 0:b.formatCurrency(l.total_earnings||0)})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(ne,{className:"h-5 w-5 text-red-600"}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:t("Deductions")})]}),e.jsxs("div",{className:"space-y-3",children:[Object.entries(y.deductions||{}).map(([a,i])=>{var n;return e.jsxs("div",{className:"flex justify-between items-center py-2 border-b border-gray-100 dark:border-gray-700",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:a}),e.jsx("span",{className:"text-sm font-mono font-medium text-red-600",children:(n=window.appSettings)==null?void 0:n.formatCurrency(i)})]},a)}),e.jsxs("div",{className:"flex justify-between items-center py-2 font-semibold text-base border-t-2 border-red-200",children:[e.jsx("span",{className:"text-gray-900 dark:text-white",children:t("Total Deductions")}),e.jsx("span",{className:"font-mono text-red-600",children:(w=window.appSettings)==null?void 0:w.formatCurrency(l.total_deductions||0)})]})]})]})]}),!c&&e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[e.jsx("div",{className:"px-6 py-4 border-b border-gray-200 dark:border-gray-700",children:e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:t("Daily Attendance Records")})}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-gray-800",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Date")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Clock In")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Clock Out")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Total Hours")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Overtime")}),e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:t("Status")})]})}),e.jsx("tbody",{className:"bg-white dark:bg-gray-900 divide-y divide-gray-200 dark:divide-gray-700",children:g&&g.length>0?g.map((a,i)=>{var n;return e.jsxs("tr",{className:"hover:bg-gray-50 dark:hover:bg-gray-800",children:[e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white",children:((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(a.date,!1))||new Date(a.date).toLocaleDateString()}),e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-mono text-green-600",children:a.clock_in||"-"}),e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-mono text-red-600",children:a.clock_out||"-"}),e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-mono text-gray-900 dark:text-white",children:a.total_hours?`${Number(a.total_hours).toFixed(2)}h`:"-"}),e.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-mono text-orange-600",children:a.overtime_hours>0?`${Number(a.overtime_hours).toFixed(1)}h`:"-"}),e.jsxs("td",{className:"px-6 py-4 whitespace-nowrap",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${a.status==="present"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":a.status==="absent"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":a.status==="half_day"?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":a.status==="holiday"?"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20":a.status==="on_leave"?"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:a.status==="present"?t("Present"):a.status==="absent"?t("Absent"):a.status==="half_day"?t("Half Day"):a.status==="holiday"?t("Holiday"):a.status==="on_leave"?t("On Leave"):a.status||"-"}),a.is_late&&e.jsx("span",{className:"ml-1 inline-flex items-center rounded-md px-1 py-0.5 text-xs font-medium bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20",children:t("Late")}),a.is_early_departure&&e.jsx("span",{className:"ml-1 inline-flex items-center rounded-md px-1 py-0.5 text-xs font-medium bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20",children:t("Early")})]})]},i)}):e.jsx("tr",{children:e.jsx("td",{colSpan:6,className:"px-6 py-4 text-center text-sm text-gray-500 dark:text-gray-400",children:t("No attendance records found for this month")})})})]})})]}),!c&&e.jsxs("div",{className:"bg-gradient-to-r from-purple-50 to-blue-50 dark:from-purple-900/20 dark:to-blue-900/20 rounded-lg shadow p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-4",children:t("Final Calculation")}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Base Salary")}),e.jsx("span",{className:"text-sm font-mono font-medium text-blue-600",children:(k=window.appSettings)==null?void 0:k.formatCurrency(o.basic_salary)})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Total Earnings")}),e.jsx("span",{className:"text-sm font-mono font-medium text-green-600",children:(v=window.appSettings)==null?void 0:v.formatCurrency(l.total_earnings||0)})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Per Day Salary")}),e.jsx("span",{className:"text-sm font-mono font-medium text-blue-600",children:(_=window.appSettings)==null?void 0:_.formatCurrency(l.per_day_salary||0)})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsxs("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:[t("Unpaid Leave Deduction")," (",s.unpaid_leave_from_leave||0," days)"]}),e.jsxs("span",{className:"text-sm font-mono font-medium text-red-600",children:["- ",(S=window.appSettings)==null?void 0:S.formatCurrency((l.per_day_salary||0)*(s.unpaid_leave_from_leave||0))]})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsxs("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:[t("Half Day Deduction")," (",s.half_days," × 0.5)"]}),e.jsxs("span",{className:"text-sm font-mono font-medium text-orange-600",children:["- ",(C=window.appSettings)==null?void 0:C.formatCurrency((l.per_day_salary||0)*(s.half_days||0)*.5)]})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsxs("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:[t("Absent Day Deduction")," (",s.absent_days," days)"]}),e.jsxs("span",{className:"text-sm font-mono font-medium text-red-600",children:["- ",(D=window.appSettings)==null?void 0:D.formatCurrency((l.per_day_salary||0)*(s.absent_days||0))]})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Overtime Amount")}),e.jsxs("span",{className:"text-sm font-mono font-medium text-green-600",children:["+ ",(L=window.appSettings)==null?void 0:L.formatCurrency(l.overtime_amount||0)]})]}),e.jsxs("div",{className:"flex justify-between items-center py-2",children:[e.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:t("Total Deductions")}),e.jsxs("span",{className:"text-sm font-mono font-medium text-red-600",children:["- ",(P=window.appSettings)==null?void 0:P.formatCurrency(l.total_deductions||0)]})]}),e.jsxs("div",{className:"flex justify-between items-center py-3 font-bold text-lg border-t-2 border-purple-200",children:[e.jsx("span",{className:"text-gray-900 dark:text-white",children:t("Net Salary")}),e.jsx("span",{className:"font-mono text-purple-600",children:(T=window.appSettings)==null?void 0:T.formatCurrency(l.net_salary||0)})]})]}),e.jsxs("div",{className:"mt-4 p-4 bg-white dark:bg-gray-800 rounded-lg",children:[e.jsxs("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:[e.jsxs("strong",{children:[t("Calculation Formula"),":"]})," ",t("Net Salary")," = (",t("Basic Salary")," + ",t("Allowances"),") - (",t("Per Day Salary")," × ",t("Unpaid Leave Days"),") + ",t("Overtime")," - ",t("Deductions")]}),e.jsxs("div",{className:"text-sm text-gray-600 dark:text-gray-400 mt-2",children:[e.jsx("p",{children:e.jsxs("strong",{children:[t("Unpaid Leave Days Breakdown"),":"]})}),e.jsxs("p",{children:["• Unpaid Leaves: ",s.unpaid_leave_from_leave||0," days"]}),e.jsxs("p",{children:["• Absent Days: ",s.absent_days||0," days"]}),e.jsxs("p",{children:["• Half Days: ",s.half_days||0," × 0.5 = ",(s.half_days||0)*.5," days"]}),e.jsx("p",{children:e.jsxs("strong",{children:["Total Unpaid Days: ",s.unpaid_leave_days||0," days"]})})]})]})]})]})})}export{Ie as default}; diff --git a/public/build/assets/pen-line-BrTss6NX.js b/public/build/assets/pen-line-D3y4U--J.js similarity index 95% rename from public/build/assets/pen-line-BrTss6NX.js rename to public/build/assets/pen-line-D3y4U--J.js index 99d68c21b..888ab0787 100644 --- a/public/build/assets/pen-line-BrTss6NX.js +++ b/public/build/assets/pen-line-D3y4U--J.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/percent-CBKzOw5k.js b/public/build/assets/percent-z25PPWNk.js similarity index 89% rename from public/build/assets/percent-CBKzOw5k.js rename to public/build/assets/percent-z25PPWNk.js index 71d3645db..ea4352049 100644 --- a/public/build/assets/percent-CBKzOw5k.js +++ b/public/build/assets/percent-z25PPWNk.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/phone-B_MwJBjY.js b/public/build/assets/phone-3MnRoAYu.js similarity index 92% rename from public/build/assets/phone-B_MwJBjY.js rename to public/build/assets/phone-3MnRoAYu.js index 552d18267..e7819cd4b 100644 --- a/public/build/assets/phone-B_MwJBjY.js +++ b/public/build/assets/phone-3MnRoAYu.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/plan-orders-pzF9lx7Z.js b/public/build/assets/plan-orders-j2XjTlVV.js similarity index 60% rename from public/build/assets/plan-orders-pzF9lx7Z.js rename to public/build/assets/plan-orders-j2XjTlVV.js index 4b3e280df..373e6b1fe 100644 --- a/public/build/assets/plan-orders-pzF9lx7Z.js +++ b/public/build/assets/plan-orders-j2XjTlVV.js @@ -1 +1 @@ -import{r as l,j as o}from"./ui-Z445SNHD.js";import{P as J}from"./page-template-BTxLyiDA.js";import{u as K,c as Q,g as k,r as d,D as U,h as V,j as W,k as Y,L as Z,q as ee,o as N,t as p}from"./app-CfhhiFAk.js";import{C as re}from"./CrudTable-qPWooc10.js";import{P as te}from"./pagination-D8A_HnL5.js";import{S as oe}from"./search-and-filter-bar-6Pp-FsiR.js";import{T as ie}from"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function qt(){var D,F;const{t:e}=K(),{planOrders:i,filters:m={},auth:c,currencySymbol:x,globalSettings:s}=Q().props,R=(c==null?void 0:c.permissions)||[],[u,_]=l.useState(m.search||""),[n,j]=l.useState(m.status||"_empty_"),[f,b]=l.useState(m.date_from||""),[h,y]=l.useState(m.date_to||""),[T,S]=l.useState(!1),[w,v]=l.useState(!1),[A,$]=l.useState(null),E=()=>n!=="_empty_"||f!==""||h!==""||u!=="",I=()=>(n!=="_empty_"?1:0)+(f!==""?1:0)+(h!==""?1:0)+(u!==""?1:0),q=r=>{r.preventDefault(),P()},P=()=>{d.get(route("plan-orders.index"),{page:1,search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:f||void 0,date_to:h||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},L=r=>{const t=m.sort_field===r&&m.sort_direction==="asc"?"desc":"asc";d.get(route("plan-orders.index"),{sort_field:r,sort_direction:t,page:1,search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:f||void 0,date_to:h||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},O=(r,t)=>{r==="approve"?(s!=null&&s.is_demo||p.loading(e("Approving plan order...")),d.post(route("plan-orders.approve",t.id),{},{onSuccess:a=>{s!=null&&s.is_demo||p.dismiss(),a.props.flash.success?p.success(e(a.props.flash.success)):a.props.flash.error&&p.error(e(a.props.flash.error))},onError:a=>{s!=null&&s.is_demo||p.dismiss(),typeof a=="string"?p.error(e(a)):p.error(e("Failed to approve plan order: {{errors}}",{errors:Object.values(a).join(", ")}))}})):r==="reject"&&($(t),v(!0))},z=r=>{s!=null&&s.is_demo||p.loading(e("Rejecting plan order...")),d.post(route("plan-orders.reject",A.id),{notes:r},{onSuccess:t=>{v(!1),s!=null&&s.is_demo||p.dismiss(),t.props.flash.success?p.success(e(t.props.flash.success)):t.props.flash.error&&p.error(e(t.props.flash.error))},onError:t=>{s!=null&&s.is_demo||p.dismiss(),typeof t=="string"?p.error(e(t)):p.error(e("Failed to reject plan order: {{errors}}",{errors:Object.values(t).join(", ")}))}})},B=()=>{_(""),j("_empty_"),b(""),y(""),S(!1),d.get(route("plan-orders.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},M=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Plans"),href:route("plans.index")},{title:e("Plan Orders")}],H=[{key:"order_number",label:e("Order Number"),render:r=>r||"-"},{key:"user.name",label:e("Name"),render:(r,t)=>{var a,g,C;return(a=t.user)!=null&&a.avatar?k(t.user.avatar):k("avatars/avatar.png"),o.jsx("div",{className:"flex items-center gap-3",children:o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((g=t.user)==null?void 0:g.name)||"-"}),o.jsx("div",{className:"text-xs text-gray-500",children:((C=t.user)==null?void 0:C.email)||""})]})})}},{key:"plan.name",label:e("Plan"),render:(r,t)=>{var g;const a=(g=t.plan)==null?void 0:g.name;return a?o.jsx("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-sm font-medium bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400 capitalize",children:a}):"-"}},{key:"original_price",label:e("Original Price"),render:r=>`${x}${r||0}`},{key:"discount_amount",label:e("Discount"),render:r=>r>0?`-${x}${r}`:"-"},{key:"final_price",label:e("Final Price"),sortable:!0,render:r=>`${x}${r||0}`},{key:"status",label:e("Status"),render:r=>{const t={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20",completed:"bg-blue-50 text-blue-700 ring-blue-600/20"};return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset capitalize ${t[r]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:e(r)})}},{key:"ordered_at",label:e("Order Date"),sortable:!0,render:r=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],X=((D=c==null?void 0:c.user)==null?void 0:D.type)==="superadmin"?[{label:e("Approve"),icon:"Check",action:"approve",className:"text-green-500",requiredPermission:"approve-plan-orders",condition:r=>r.status==="pending"},{label:e("Reject"),icon:"X",action:"reject",className:"text-red-500",requiredPermission:"reject-plan-orders",condition:r=>r.status==="pending"}]:[],G=[{value:"_empty_",label:e("All Status")},{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")},{value:"completed",label:e("Completed")}];return o.jsxs(J,{title:e("Plan Orders"),url:"/plan-orders",breadcrumbs:M,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(oe,{searchTerm:u,onSearchChange:_,onSearch:q,filters:[{name:"status",label:e("Status"),type:"select",value:n,onChange:j,options:G},{name:"date_from",label:e("Date From"),type:"date",value:f,onChange:b},{name:"date_to",label:e("Date To"),type:"date",value:h,onChange:y}],showFilters:T,setShowFilters:S,hasActiveFilters:E,activeFilterCount:I,onResetFilters:B,onApplyFilters:P,currentPerPage:((F=m.per_page)==null?void 0:F.toString())||"10",onPerPageChange:r=>{d.get(route("plan-orders.index"),{page:1,per_page:parseInt(r),search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:f||void 0,date_to:h||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(re,{columns:H,actions:X,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:O,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:L,permissions:R}),o.jsx(te,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("plan orders"),onPageChange:r=>d.get(r)})]}),o.jsx(U,{open:w,onOpenChange:v,children:o.jsxs(V,{children:[o.jsx(W,{children:o.jsx(Y,{children:e("Reject Plan Order")})}),o.jsxs("form",{onSubmit:r=>{r.preventDefault();const a=new FormData(r.currentTarget).get("notes");z(a)},children:[o.jsx("div",{className:"space-y-4",children:o.jsxs("div",{children:[o.jsx(Z,{htmlFor:"notes",children:e("Rejection Reason (Optional)")}),o.jsx(ie,{id:"notes",name:"notes",placeholder:e("Enter rejection reason..."),className:"mt-1"})]})}),o.jsxs(ee,{className:"mt-6",children:[o.jsx(N,{type:"button",variant:"outline",onClick:()=>v(!1),children:e("Cancel")}),o.jsx(N,{type:"submit",variant:"destructive",children:e("Reject")})]})]})]})})]})}export{qt as default}; +import{r as l,j as o}from"./ui-Z445SNHD.js";import{P as J}from"./page-template-CLNVC8w_.js";import{u as K,c as Q,g as k,r as d,D as U,h as V,j as W,k as Y,L as Z,q as ee,o as N,t as p}from"./app-Dya84jp7.js";import{C as re}from"./CrudTable-yqxtM6E_.js";import{P as te}from"./pagination-4PUepASD.js";import{S as oe}from"./search-and-filter-bar-DWH0yn_r.js";import{T as ie}from"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function qt(){var D,F;const{t:e}=K(),{planOrders:i,filters:m={},auth:c,currencySymbol:x,globalSettings:s}=Q().props,R=(c==null?void 0:c.permissions)||[],[u,_]=l.useState(m.search||""),[n,j]=l.useState(m.status||"_empty_"),[f,b]=l.useState(m.date_from||""),[h,y]=l.useState(m.date_to||""),[T,S]=l.useState(!1),[w,v]=l.useState(!1),[A,$]=l.useState(null),E=()=>n!=="_empty_"||f!==""||h!==""||u!=="",I=()=>(n!=="_empty_"?1:0)+(f!==""?1:0)+(h!==""?1:0)+(u!==""?1:0),q=r=>{r.preventDefault(),P()},P=()=>{d.get(route("plan-orders.index"),{page:1,search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:f||void 0,date_to:h||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},L=r=>{const t=m.sort_field===r&&m.sort_direction==="asc"?"desc":"asc";d.get(route("plan-orders.index"),{sort_field:r,sort_direction:t,page:1,search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:f||void 0,date_to:h||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},O=(r,t)=>{r==="approve"?(s!=null&&s.is_demo||p.loading(e("Approving plan order...")),d.post(route("plan-orders.approve",t.id),{},{onSuccess:a=>{s!=null&&s.is_demo||p.dismiss(),a.props.flash.success?p.success(e(a.props.flash.success)):a.props.flash.error&&p.error(e(a.props.flash.error))},onError:a=>{s!=null&&s.is_demo||p.dismiss(),typeof a=="string"?p.error(e(a)):p.error(e("Failed to approve plan order: {{errors}}",{errors:Object.values(a).join(", ")}))}})):r==="reject"&&($(t),v(!0))},z=r=>{s!=null&&s.is_demo||p.loading(e("Rejecting plan order...")),d.post(route("plan-orders.reject",A.id),{notes:r},{onSuccess:t=>{v(!1),s!=null&&s.is_demo||p.dismiss(),t.props.flash.success?p.success(e(t.props.flash.success)):t.props.flash.error&&p.error(e(t.props.flash.error))},onError:t=>{s!=null&&s.is_demo||p.dismiss(),typeof t=="string"?p.error(e(t)):p.error(e("Failed to reject plan order: {{errors}}",{errors:Object.values(t).join(", ")}))}})},B=()=>{_(""),j("_empty_"),b(""),y(""),S(!1),d.get(route("plan-orders.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},M=[{title:e("Dashboard"),href:route("dashboard")},{title:e("Plans"),href:route("plans.index")},{title:e("Plan Orders")}],H=[{key:"order_number",label:e("Order Number"),render:r=>r||"-"},{key:"user.name",label:e("Name"),render:(r,t)=>{var a,g,C;return(a=t.user)!=null&&a.avatar?k(t.user.avatar):k("avatars/avatar.png"),o.jsx("div",{className:"flex items-center gap-3",children:o.jsxs("div",{children:[o.jsx("div",{className:"font-medium",children:((g=t.user)==null?void 0:g.name)||"-"}),o.jsx("div",{className:"text-xs text-gray-500",children:((C=t.user)==null?void 0:C.email)||""})]})})}},{key:"plan.name",label:e("Plan"),render:(r,t)=>{var g;const a=(g=t.plan)==null?void 0:g.name;return a?o.jsx("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-sm font-medium bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400 capitalize",children:a}):"-"}},{key:"original_price",label:e("Original Price"),render:r=>`${x}${r||0}`},{key:"discount_amount",label:e("Discount"),render:r=>r>0?`-${x}${r}`:"-"},{key:"final_price",label:e("Final Price"),sortable:!0,render:r=>`${x}${r||0}`},{key:"status",label:e("Status"),render:r=>{const t={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20",completed:"bg-blue-50 text-blue-700 ring-blue-600/20"};return o.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset capitalize ${t[r]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:e(r)})}},{key:"ordered_at",label:e("Order Date"),sortable:!0,render:r=>{var t;return((t=window.appSettings)==null?void 0:t.formatDateTimeSimple(r,!1))||new Date(r).toLocaleDateString()}}],X=((D=c==null?void 0:c.user)==null?void 0:D.type)==="superadmin"?[{label:e("Approve"),icon:"Check",action:"approve",className:"text-green-500",requiredPermission:"approve-plan-orders",condition:r=>r.status==="pending"},{label:e("Reject"),icon:"X",action:"reject",className:"text-red-500",requiredPermission:"reject-plan-orders",condition:r=>r.status==="pending"}]:[],G=[{value:"_empty_",label:e("All Status")},{value:"pending",label:e("Pending")},{value:"approved",label:e("Approved")},{value:"rejected",label:e("Rejected")},{value:"completed",label:e("Completed")}];return o.jsxs(J,{title:e("Plan Orders"),url:"/plan-orders",breadcrumbs:M,noPadding:!0,children:[o.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:o.jsx(oe,{searchTerm:u,onSearchChange:_,onSearch:q,filters:[{name:"status",label:e("Status"),type:"select",value:n,onChange:j,options:G},{name:"date_from",label:e("Date From"),type:"date",value:f,onChange:b},{name:"date_to",label:e("Date To"),type:"date",value:h,onChange:y}],showFilters:T,setShowFilters:S,hasActiveFilters:E,activeFilterCount:I,onResetFilters:B,onApplyFilters:P,currentPerPage:((F=m.per_page)==null?void 0:F.toString())||"10",onPerPageChange:r=>{d.get(route("plan-orders.index"),{page:1,per_page:parseInt(r),search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:f||void 0,date_to:h||void 0},{preserveState:!0,preserveScroll:!0})}})}),o.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[o.jsx(re,{columns:H,actions:X,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:O,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:L,permissions:R}),o.jsx(te,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:e("plan orders"),onPageChange:r=>d.get(r)})]}),o.jsx(U,{open:w,onOpenChange:v,children:o.jsxs(V,{children:[o.jsx(W,{children:o.jsx(Y,{children:e("Reject Plan Order")})}),o.jsxs("form",{onSubmit:r=>{r.preventDefault();const a=new FormData(r.currentTarget).get("notes");z(a)},children:[o.jsx("div",{className:"space-y-4",children:o.jsxs("div",{children:[o.jsx(Z,{htmlFor:"notes",children:e("Rejection Reason (Optional)")}),o.jsx(ie,{id:"notes",name:"notes",placeholder:e("Enter rejection reason..."),className:"mt-1"})]})}),o.jsxs(ee,{className:"mt-6",children:[o.jsx(N,{type:"button",variant:"outline",onClick:()=>v(!1),children:e("Cancel")}),o.jsx(N,{type:"submit",variant:"destructive",children:e("Reject")})]})]})]})})]})}export{qt as default}; diff --git a/public/build/assets/plan-request-DxRHFYGR.js b/public/build/assets/plan-request-gP7ecbK6.js similarity index 56% rename from public/build/assets/plan-request-DxRHFYGR.js rename to public/build/assets/plan-request-gP7ecbK6.js index ea9bfb29a..9d56d133f 100644 --- a/public/build/assets/plan-request-DxRHFYGR.js +++ b/public/build/assets/plan-request-gP7ecbK6.js @@ -1 +1 @@ -import{r as f,j as a}from"./ui-Z445SNHD.js";import{P as B}from"./page-template-BTxLyiDA.js";import{u as L,c as M,g,r as d,t as p}from"./app-CfhhiFAk.js";import{C as X}from"./CrudTable-qPWooc10.js";import{P as Y}from"./pagination-D8A_HnL5.js";import{S as $}from"./search-and-filter-bar-6Pp-FsiR.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-BXUOKUBo.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-left-B_Yqvwsn.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./download-Bk1k2_dW.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";function St(){var y,j;const{t:r}=L(),{planRequests:i,filters:m={},auth:c,globalSettings:s}=M().props,F=(c==null?void 0:c.permissions)||[],[u,v]=f.useState(m.search||""),[n,h]=f.useState(m.status||"_empty_"),[k,_]=f.useState(!1),N=()=>n!=="_empty_"||u!=="",A=()=>(n!=="_empty_"?1:0)+(u!==""?1:0),w=t=>{t.preventDefault(),x()},x=()=>{d.get(route("plan-requests.index"),{page:1,search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:dateFrom||void 0,date_to:dateTo||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},C=t=>{const o=m.sort_field===t&&m.sort_direction==="asc"?"desc":"asc";d.get(route("plan-requests.index"),{sort_field:t,sort_direction:o,page:1,search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:dateFrom||void 0,date_to:dateTo||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},D=(t,o)=>{t==="approve"?(s!=null&&s.is_demo||p.loading(r("Approving plan request...")),d.post(route("plan-requests.approve",o.id),{},{onSuccess:e=>{s!=null&&s.is_demo||p.dismiss(),e.props.flash.success?p.success(r(e.props.flash.success)):e.props.flash.error&&p.error(r(e.props.flash.error))},onError:e=>{s!=null&&s.is_demo||p.dismiss(),typeof e=="string"?p.error(r(e)):p.error(r("Failed to approve plan request: {{errors}}",{errors:Object.values(e).join(", ")}))}})):t==="reject"&&(s!=null&&s.is_demo||p.loading(r("Rejecting plan request...")),d.post(route("plan-requests.reject",o.id),{},{onSuccess:e=>{s!=null&&s.is_demo||p.dismiss(),e.props.flash.success?p.success(r(e.props.flash.success)):e.props.flash.error&&p.error(r(e.props.flash.error))},onError:e=>{s!=null&&s.is_demo||p.dismiss(),typeof e=="string"?p.error(r(e)):p.error(r("Failed to reject plan request: {{errors}}",{errors:Object.values(e).join(", ")}))}}))},T=()=>{v(""),h("_empty_"),setDateFrom(""),setDateTo(""),_(!1),d.get(route("plan-requests.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},q=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Plans"),href:route("plans.index")},{title:r("Plan Requests")}],E=[{key:"user.name",label:r("Company"),render:(t,o)=>{var l,b,S,P;const e=(l=o.user)!=null&&l.avatar?g(o.user.avatar):g("avatars/avatar.png");return a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("img",{src:e,alt:((b=o.user)==null?void 0:b.name)||"User",className:"h-10 w-10 rounded-full object-cover",onError:I=>{const U=I.target;U.src=g("avatars/avatar.png")}}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((S=o.user)==null?void 0:S.name)||"-"}),a.jsx("div",{className:"text-xs text-gray-500",children:((P=o.user)==null?void 0:P.email)||""})]})]})}},{key:"plan.name",label:r("Plan"),render:(t,o)=>{var l;const e=(l=o.plan)==null?void 0:l.name;return e?a.jsx("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-sm font-medium bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400 capitalize",children:e}):"-"}},{key:"plan.duration",label:r("Duration"),render:(t,o)=>{var l;const e=(l=o.plan)==null?void 0:l.duration;return e?r(e==="monthly"?"Monthly":"Yearly"):"-"}},{key:"status",label:r("Status"),render:t=>{const o={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset capitalize ${o[t]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:r(t)})}},{key:"created_at",label:r("Request Date"),sortable:!0,render:t=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],O=((y=c==null?void 0:c.user)==null?void 0:y.type)==="superadmin"?[{label:r("Approve"),icon:"Check",action:"approve",className:"text-green-500",requiredPermission:"approve-plan-requests",condition:t=>t.status==="pending"},{label:r("Reject"),icon:"X",action:"reject",className:"text-red-500",requiredPermission:"reject-plan-requests",condition:t=>t.status==="pending"}]:[],z=[{value:"_empty_",label:r("All Status")},{value:"pending",label:r("Pending")},{value:"approved",label:r("Approved")},{value:"rejected",label:r("Rejected")}];return a.jsxs(B,{title:r("Plan Requests"),url:"/plan-requests",breadcrumbs:q,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx($,{searchTerm:u,onSearchChange:v,onSearch:w,filters:[{name:"status",label:r("Status"),type:"select",value:n,onChange:h,options:z}],showFilters:k,setShowFilters:_,hasActiveFilters:N,activeFilterCount:A,onResetFilters:T,onApplyFilters:x,currentPerPage:((j=m.per_page)==null?void 0:j.toString())||"10",onPerPageChange:t=>{d.get(route("plan-requests.index"),{page:1,per_page:parseInt(t),search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:dateFrom||void 0,date_to:dateTo||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(X,{columns:E,actions:O,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:D,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:C,permissions:F}),a.jsx(Y,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:r("plan requests"),onPageChange:t=>d.get(t)})]})]})}export{St as default}; +import{r as f,j as a}from"./ui-Z445SNHD.js";import{P as B}from"./page-template-CLNVC8w_.js";import{u as L,c as M,g,r as d,t as p}from"./app-Dya84jp7.js";import{C as X}from"./CrudTable-yqxtM6E_.js";import{P as Y}from"./pagination-4PUepASD.js";import{S as $}from"./search-and-filter-bar-DWH0yn_r.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./table-CM-_W5Cl.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-left-BUNj5JJK.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./download-BBNmalxc.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";function St(){var y,j;const{t:r}=L(),{planRequests:i,filters:m={},auth:c,globalSettings:s}=M().props,F=(c==null?void 0:c.permissions)||[],[u,v]=f.useState(m.search||""),[n,h]=f.useState(m.status||"_empty_"),[k,_]=f.useState(!1),N=()=>n!=="_empty_"||u!=="",A=()=>(n!=="_empty_"?1:0)+(u!==""?1:0),w=t=>{t.preventDefault(),x()},x=()=>{d.get(route("plan-requests.index"),{page:1,search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:dateFrom||void 0,date_to:dateTo||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},C=t=>{const o=m.sort_field===t&&m.sort_direction==="asc"?"desc":"asc";d.get(route("plan-requests.index"),{sort_field:t,sort_direction:o,page:1,search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:dateFrom||void 0,date_to:dateTo||void 0,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},D=(t,o)=>{t==="approve"?(s!=null&&s.is_demo||p.loading(r("Approving plan request...")),d.post(route("plan-requests.approve",o.id),{},{onSuccess:e=>{s!=null&&s.is_demo||p.dismiss(),e.props.flash.success?p.success(r(e.props.flash.success)):e.props.flash.error&&p.error(r(e.props.flash.error))},onError:e=>{s!=null&&s.is_demo||p.dismiss(),typeof e=="string"?p.error(r(e)):p.error(r("Failed to approve plan request: {{errors}}",{errors:Object.values(e).join(", ")}))}})):t==="reject"&&(s!=null&&s.is_demo||p.loading(r("Rejecting plan request...")),d.post(route("plan-requests.reject",o.id),{},{onSuccess:e=>{s!=null&&s.is_demo||p.dismiss(),e.props.flash.success?p.success(r(e.props.flash.success)):e.props.flash.error&&p.error(r(e.props.flash.error))},onError:e=>{s!=null&&s.is_demo||p.dismiss(),typeof e=="string"?p.error(r(e)):p.error(r("Failed to reject plan request: {{errors}}",{errors:Object.values(e).join(", ")}))}}))},T=()=>{v(""),h("_empty_"),setDateFrom(""),setDateTo(""),_(!1),d.get(route("plan-requests.index"),{page:1,per_page:m.per_page},{preserveState:!0,preserveScroll:!0})},q=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Plans"),href:route("plans.index")},{title:r("Plan Requests")}],E=[{key:"user.name",label:r("Company"),render:(t,o)=>{var l,b,S,P;const e=(l=o.user)!=null&&l.avatar?g(o.user.avatar):g("avatars/avatar.png");return a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("img",{src:e,alt:((b=o.user)==null?void 0:b.name)||"User",className:"h-10 w-10 rounded-full object-cover",onError:I=>{const U=I.target;U.src=g("avatars/avatar.png")}}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium",children:((S=o.user)==null?void 0:S.name)||"-"}),a.jsx("div",{className:"text-xs text-gray-500",children:((P=o.user)==null?void 0:P.email)||""})]})]})}},{key:"plan.name",label:r("Plan"),render:(t,o)=>{var l;const e=(l=o.plan)==null?void 0:l.name;return e?a.jsx("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-sm font-medium bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400 capitalize",children:e}):"-"}},{key:"plan.duration",label:r("Duration"),render:(t,o)=>{var l;const e=(l=o.plan)==null?void 0:l.duration;return e?r(e==="monthly"?"Monthly":"Yearly"):"-"}},{key:"status",label:r("Status"),render:t=>{const o={pending:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-red-600/20"};return a.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset capitalize ${o[t]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:r(t)})}},{key:"created_at",label:r("Request Date"),sortable:!0,render:t=>{var o;return((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(t,!1))||new Date(t).toLocaleDateString()}}],O=((y=c==null?void 0:c.user)==null?void 0:y.type)==="superadmin"?[{label:r("Approve"),icon:"Check",action:"approve",className:"text-green-500",requiredPermission:"approve-plan-requests",condition:t=>t.status==="pending"},{label:r("Reject"),icon:"X",action:"reject",className:"text-red-500",requiredPermission:"reject-plan-requests",condition:t=>t.status==="pending"}]:[],z=[{value:"_empty_",label:r("All Status")},{value:"pending",label:r("Pending")},{value:"approved",label:r("Approved")},{value:"rejected",label:r("Rejected")}];return a.jsxs(B,{title:r("Plan Requests"),url:"/plan-requests",breadcrumbs:q,noPadding:!0,children:[a.jsx("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow mb-4 p-4",children:a.jsx($,{searchTerm:u,onSearchChange:v,onSearch:w,filters:[{name:"status",label:r("Status"),type:"select",value:n,onChange:h,options:z}],showFilters:k,setShowFilters:_,hasActiveFilters:N,activeFilterCount:A,onResetFilters:T,onApplyFilters:x,currentPerPage:((j=m.per_page)==null?void 0:j.toString())||"10",onPerPageChange:t=>{d.get(route("plan-requests.index"),{page:1,per_page:parseInt(t),search:u||void 0,status:n!=="_empty_"?n:void 0,date_from:dateFrom||void 0,date_to:dateTo||void 0},{preserveState:!0,preserveScroll:!0})}})}),a.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow overflow-hidden",children:[a.jsx(X,{columns:E,actions:O,data:(i==null?void 0:i.data)||[],from:(i==null?void 0:i.from)||1,onAction:D,sortField:m.sort_field,sortDirection:m.sort_direction,onSort:C,permissions:F}),a.jsx(Y,{from:(i==null?void 0:i.from)||0,to:(i==null?void 0:i.to)||0,total:(i==null?void 0:i.total)||0,links:i==null?void 0:i.links,entityName:r("plan requests"),onPageChange:t=>d.get(t)})]})]})}export{St as default}; diff --git a/public/build/assets/plane-BHhadcsS.js b/public/build/assets/plane-AJz2gO49.js similarity index 91% rename from public/build/assets/plane-BHhadcsS.js rename to public/build/assets/plane-AJz2gO49.js index 63e1bec2e..153766c2d 100644 --- a/public/build/assets/plane-BHhadcsS.js +++ b/public/build/assets/plane-AJz2gO49.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/play-C-QVLyAb.js b/public/build/assets/play-BxVAbvyQ.js similarity index 86% rename from public/build/assets/play-C-QVLyAb.js rename to public/build/assets/play-BxVAbvyQ.js index 524747fd1..57eda7d68 100644 --- a/public/build/assets/play-C-QVLyAb.js +++ b/public/build/assets/play-BxVAbvyQ.js @@ -1,4 +1,4 @@ -import{G as o}from"./app-CfhhiFAk.js";/** +import{G as o}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/profile-settings-CiqFstUU.js b/public/build/assets/profile-settings-mvFr8XaK.js similarity index 87% rename from public/build/assets/profile-settings-CiqFstUU.js rename to public/build/assets/profile-settings-mvFr8XaK.js index bf22f91c5..322cbd490 100644 --- a/public/build/assets/profile-settings-CiqFstUU.js +++ b/public/build/assets/profile-settings-mvFr8XaK.js @@ -1 +1 @@ -import{r as c,j as s}from"./ui-Z445SNHD.js";import{P as es,A as rs,a as as,b as os}from"./page-template-BTxLyiDA.js";import{u as ts,c as is,o as C,e as ns,C as B,m as G,n as O,z as q,l as H,g as V,L as f,I as u,t as n,r as Y}from"./app-CfhhiFAk.js";import{I as h}from"./input-error-TZ1o_PqE.js";import{C as ls}from"./camera-C44LyAAQ.js";import{U as cs}from"./user-C37aWgZX.js";import{L as ds}from"./lock-By6rMOj7.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const ms=[{title:"Profile",href:"#profile",icon:s.jsx(cs,{className:"h-4 w-4 mr-2"})},{title:"Password",href:"#password",icon:s.jsx(ds,{className:"h-4 w-4 mr-2"})}];function Zs({mustVerifyEmail:z,status:J}){var A,U,D,R,L,T,S;const{t:a}=ts(),{auth:i,globalSettings:t}=is().props,[M,x]=c.useState("profile"),P=c.useRef(null),_=c.useRef(null),y=c.useRef(null),b=c.useRef(null),[m,w]=c.useState({name:((A=i==null?void 0:i.user)==null?void 0:A.name)||"",email:((U=i==null?void 0:i.user)==null?void 0:U.email)||"",avatar:null}),[N,E]=c.useState({}),[K,k]=c.useState(!1),[v,p]=c.useState({current_password:"",password:"",password_confirmation:""}),[g,F]=c.useState({}),[Q,I]=c.useState(!1),W=r=>{r.preventDefault(),t!=null&&t.is_demo||n.loading(a("Updating profile...")),k(!0);const e=new FormData;e.append("name",m.name),e.append("email",m.email),e.append("_method","PATCH"),m.avatar&&e.append("avatar",m.avatar),Y.post(route("profile.update"),e,{preserveScroll:!0,forceFormData:!0,onFinish:()=>k(!1),onSuccess:o=>{var l,d;w(j=>({...j,avatar:null})),E({}),t!=null&&t.is_demo||n.dismiss(),(l=o.props.flash)!=null&&l.success?n.success(a(o.props.flash.success)):(d=o.props.flash)!=null&&d.error&&n.error(a(o.props.flash.error))},onError:o=>{E(o),t!=null&&t.is_demo||n.dismiss(),typeof o=="string"?n.error(a(o)):n.error(a("Failed to update profile: {{errors}}",{errors:Object.values(o).join(", ")}))}})},X=r=>{var o;const e=(o=r.target.files)==null?void 0:o[0];e&&w(l=>({...l,avatar:e}))},Z=()=>{var r;return m.avatar?URL.createObjectURL(m.avatar):(r=i==null?void 0:i.user)!=null&&r.avatar?i.user.avatar:V("avatars/avatar.png")},$=r=>{r.preventDefault(),t!=null&&t.is_demo||n.loading(a("Updating password...")),I(!0),Y.put(route("password.update"),v,{preserveScroll:!0,onFinish:()=>I(!1),onSuccess:e=>{var o,l;p({current_password:"",password:"",password_confirmation:""}),F({}),t!=null&&t.is_demo||n.dismiss(),(o=e.props.flash)!=null&&o.success?n.success(a(e.props.flash.success)):(l=e.props.flash)!=null&&l.error&&n.error(a(e.props.flash.error))},onError:e=>{var o,l;F(e),t!=null&&t.is_demo||n.dismiss(),e.current_password&&(p(d=>({...d,current_password:""})),(o=b.current)==null||o.focus()),e.password&&(p(d=>({...d,password:"",password_confirmation:""})),(l=y.current)==null||l.focus()),typeof e=="string"?n.error(a(e)):n.error(a("Failed to update password: {{errors}}",{errors:Object.values(e).join(", ")}))}})};c.useEffect(()=>{const r=()=>{var d,j;const o=window.scrollY+100;(d=P.current)!=null&&d.offsetTop;const l=((j=_.current)==null?void 0:j.offsetTop)||0;o>=l?x("password"):x("profile")};window.addEventListener("scroll",r);const e=window.location.hash.replace("#","");if(e){const o=document.getElementById(e);o&&(o.scrollIntoView({behavior:"smooth"}),x(e))}return()=>{window.removeEventListener("scroll",r)}},[]);const ss=r=>{const e=r.replace("#",""),o=document.getElementById(e);o&&(o.scrollIntoView({behavior:"smooth"}),x(e))};return s.jsx(es,{title:a("Profile Settings"),url:"/profile",children:s.jsxs("div",{className:"flex flex-col md:flex-row gap-8",children:[s.jsx("div",{className:"md:w-64 flex-shrink-0",children:s.jsx("div",{className:"sticky top-20",children:s.jsx("div",{className:"space-y-1",children:ms.map(r=>s.jsxs(C,{variant:"ghost",className:ns("w-full justify-start text-sm",{"bg-muted font-semibold":M===r.href.replace("#","")}),onClick:()=>ss(r.href),children:[r.icon,r.title]},r.href))})})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("section",{id:"profile",ref:P,className:"mb-16",children:s.jsxs(B,{className:"shadow-sm",children:[s.jsxs(G,{children:[s.jsx(O,{className:"text-lg font-semibold",children:a("Profile Information")}),s.jsx(q,{children:a("Update your account's profile information and email address")})]}),s.jsx(H,{children:s.jsxs("form",{id:"profile-form",onSubmit:W,className:"space-y-6",children:[s.jsxs("div",{className:"flex items-center space-x-6",children:[s.jsxs(rs,{className:"h-20 w-20",children:[s.jsx(as,{src:Z(),alt:((D=i==null?void 0:i.user)==null?void 0:D.name)||"Avatar",onError:r=>{const e=r.target;e.src=V("avatars/avatar.png")}}),s.jsx(os,{className:"text-lg",children:((T=(L=(R=i==null?void 0:i.user)==null?void 0:R.name)==null?void 0:L.charAt(0))==null?void 0:T.toUpperCase())||"U"})]}),s.jsxs("div",{className:"flex flex-col space-y-2",children:[s.jsxs(f,{htmlFor:"avatar",className:"cursor-pointer inline-flex items-center px-4 py-2 border border-input bg-background hover:bg-accent hover:text-accent-foreground rounded-md font-medium text-sm transition-colors",children:[s.jsx(ls,{className:"h-4 w-4 mr-2"}),a("Change Avatar")]}),s.jsx(u,{id:"avatar",type:"file",accept:"image/*",onChange:X,className:"hidden"}),s.jsx("p",{className:"text-xs text-muted-foreground",children:a("JPG, PNG, GIF up to 2MB")})]})]}),s.jsx(h,{className:"mt-2",message:N.avatar}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"name",children:a("Name")}),s.jsx(u,{id:"name",className:"mt-1 block w-full",value:m.name,onChange:r=>w(e=>({...e,name:r.target.value})),required:!0,autoComplete:"name",placeholder:a("Full name")}),s.jsx(h,{className:"mt-2",message:N.name})]}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"email",children:a("Email address")}),s.jsx(u,{id:"email",type:"email",className:"mt-1 block w-full",value:m.email,onChange:r=>w(e=>({...e,email:r.target.value})),required:!0,autoComplete:"username",placeholder:a("Email address")}),s.jsx(h,{className:"mt-2",message:N.email})]}),z&&((S=i==null?void 0:i.user)==null?void 0:S.email_verified_at)===null&&s.jsxs("div",{children:[s.jsxs("p",{className:"text-muted-foreground -mt-4 text-sm",children:[a("Your email address is unverified.")," ",s.jsx("button",{type:"button",onClick:()=>route("verification.send"),className:"text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current dark:decoration-neutral-500",children:a("Click here to resend the verification email.")})]}),J==="verification-link-sent"&&s.jsx("div",{className:"mt-2 text-sm font-medium text-green-600",children:a("A new verification link has been sent to your email address.")})]}),s.jsx("div",{className:"flex items-center gap-4",children:s.jsx(C,{disabled:K&&!(t!=null&&t.is_demo),children:a("Save")})})]})})]})}),s.jsx("section",{id:"password",ref:_,className:"mb-16",children:s.jsxs(B,{className:"shadow-sm",children:[s.jsxs(G,{children:[s.jsx(O,{className:"text-lg font-semibold",children:a("Update Password")}),s.jsx(q,{children:a("Ensure your account is using a long, random password to stay secure")})]}),s.jsx(H,{children:s.jsxs("form",{id:"password-form",onSubmit:$,className:"space-y-6",children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"current_password",children:a("Current password")}),s.jsx(u,{id:"current_password",ref:b,value:v.current_password,onChange:r=>p(e=>({...e,current_password:r.target.value})),type:"password",className:"mt-1 block w-full",autoComplete:"current-password",placeholder:"Current password"}),s.jsx(h,{message:g.current_password})]}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"password",children:a("New password")}),s.jsx(u,{id:"password",ref:y,value:v.password,onChange:r=>p(e=>({...e,password:r.target.value})),type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"New password"}),s.jsx(h,{message:g.password})]}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"password_confirmation",children:a("Confirm password")}),s.jsx(u,{id:"password_confirmation",value:v.password_confirmation,onChange:r=>p(e=>({...e,password_confirmation:r.target.value})),type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"Confirm password"}),s.jsx(h,{message:g.password_confirmation})]}),s.jsx("div",{className:"flex items-center gap-4",children:s.jsx(C,{disabled:Q&&!(t!=null&&t.is_demo),children:a("Save")})})]})})]})})]})]})})}export{Zs as default}; +import{r as c,j as s}from"./ui-Z445SNHD.js";import{P as es,A as rs,a as as,b as os}from"./page-template-CLNVC8w_.js";import{u as ts,c as is,o as C,e as ns,C as B,m as G,n as O,z as q,l as H,g as V,L as f,I as u,t as n,r as Y}from"./app-Dya84jp7.js";import{I as h}from"./input-error-eAcZLOer.js";import{C as ls}from"./camera-CcveDep5.js";import{U as cs}from"./user-77BPqA3J.js";import{L as ds}from"./lock-DaHvMEII.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const ms=[{title:"Profile",href:"#profile",icon:s.jsx(cs,{className:"h-4 w-4 mr-2"})},{title:"Password",href:"#password",icon:s.jsx(ds,{className:"h-4 w-4 mr-2"})}];function Zs({mustVerifyEmail:z,status:J}){var A,U,D,R,L,T,S;const{t:a}=ts(),{auth:i,globalSettings:t}=is().props,[M,x]=c.useState("profile"),P=c.useRef(null),_=c.useRef(null),y=c.useRef(null),b=c.useRef(null),[m,w]=c.useState({name:((A=i==null?void 0:i.user)==null?void 0:A.name)||"",email:((U=i==null?void 0:i.user)==null?void 0:U.email)||"",avatar:null}),[N,E]=c.useState({}),[K,k]=c.useState(!1),[v,p]=c.useState({current_password:"",password:"",password_confirmation:""}),[g,F]=c.useState({}),[Q,I]=c.useState(!1),W=r=>{r.preventDefault(),t!=null&&t.is_demo||n.loading(a("Updating profile...")),k(!0);const e=new FormData;e.append("name",m.name),e.append("email",m.email),e.append("_method","PATCH"),m.avatar&&e.append("avatar",m.avatar),Y.post(route("profile.update"),e,{preserveScroll:!0,forceFormData:!0,onFinish:()=>k(!1),onSuccess:o=>{var l,d;w(j=>({...j,avatar:null})),E({}),t!=null&&t.is_demo||n.dismiss(),(l=o.props.flash)!=null&&l.success?n.success(a(o.props.flash.success)):(d=o.props.flash)!=null&&d.error&&n.error(a(o.props.flash.error))},onError:o=>{E(o),t!=null&&t.is_demo||n.dismiss(),typeof o=="string"?n.error(a(o)):n.error(a("Failed to update profile: {{errors}}",{errors:Object.values(o).join(", ")}))}})},X=r=>{var o;const e=(o=r.target.files)==null?void 0:o[0];e&&w(l=>({...l,avatar:e}))},Z=()=>{var r;return m.avatar?URL.createObjectURL(m.avatar):(r=i==null?void 0:i.user)!=null&&r.avatar?i.user.avatar:V("avatars/avatar.png")},$=r=>{r.preventDefault(),t!=null&&t.is_demo||n.loading(a("Updating password...")),I(!0),Y.put(route("password.update"),v,{preserveScroll:!0,onFinish:()=>I(!1),onSuccess:e=>{var o,l;p({current_password:"",password:"",password_confirmation:""}),F({}),t!=null&&t.is_demo||n.dismiss(),(o=e.props.flash)!=null&&o.success?n.success(a(e.props.flash.success)):(l=e.props.flash)!=null&&l.error&&n.error(a(e.props.flash.error))},onError:e=>{var o,l;F(e),t!=null&&t.is_demo||n.dismiss(),e.current_password&&(p(d=>({...d,current_password:""})),(o=b.current)==null||o.focus()),e.password&&(p(d=>({...d,password:"",password_confirmation:""})),(l=y.current)==null||l.focus()),typeof e=="string"?n.error(a(e)):n.error(a("Failed to update password: {{errors}}",{errors:Object.values(e).join(", ")}))}})};c.useEffect(()=>{const r=()=>{var d,j;const o=window.scrollY+100;(d=P.current)!=null&&d.offsetTop;const l=((j=_.current)==null?void 0:j.offsetTop)||0;o>=l?x("password"):x("profile")};window.addEventListener("scroll",r);const e=window.location.hash.replace("#","");if(e){const o=document.getElementById(e);o&&(o.scrollIntoView({behavior:"smooth"}),x(e))}return()=>{window.removeEventListener("scroll",r)}},[]);const ss=r=>{const e=r.replace("#",""),o=document.getElementById(e);o&&(o.scrollIntoView({behavior:"smooth"}),x(e))};return s.jsx(es,{title:a("Profile Settings"),url:"/profile",children:s.jsxs("div",{className:"flex flex-col md:flex-row gap-8",children:[s.jsx("div",{className:"md:w-64 flex-shrink-0",children:s.jsx("div",{className:"sticky top-20",children:s.jsx("div",{className:"space-y-1",children:ms.map(r=>s.jsxs(C,{variant:"ghost",className:ns("w-full justify-start text-sm",{"bg-muted font-semibold":M===r.href.replace("#","")}),onClick:()=>ss(r.href),children:[r.icon,r.title]},r.href))})})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("section",{id:"profile",ref:P,className:"mb-16",children:s.jsxs(B,{className:"shadow-sm",children:[s.jsxs(G,{children:[s.jsx(O,{className:"text-lg font-semibold",children:a("Profile Information")}),s.jsx(q,{children:a("Update your account's profile information and email address")})]}),s.jsx(H,{children:s.jsxs("form",{id:"profile-form",onSubmit:W,className:"space-y-6",children:[s.jsxs("div",{className:"flex items-center space-x-6",children:[s.jsxs(rs,{className:"h-20 w-20",children:[s.jsx(as,{src:Z(),alt:((D=i==null?void 0:i.user)==null?void 0:D.name)||"Avatar",onError:r=>{const e=r.target;e.src=V("avatars/avatar.png")}}),s.jsx(os,{className:"text-lg",children:((T=(L=(R=i==null?void 0:i.user)==null?void 0:R.name)==null?void 0:L.charAt(0))==null?void 0:T.toUpperCase())||"U"})]}),s.jsxs("div",{className:"flex flex-col space-y-2",children:[s.jsxs(f,{htmlFor:"avatar",className:"cursor-pointer inline-flex items-center px-4 py-2 border border-input bg-background hover:bg-accent hover:text-accent-foreground rounded-md font-medium text-sm transition-colors",children:[s.jsx(ls,{className:"h-4 w-4 mr-2"}),a("Change Avatar")]}),s.jsx(u,{id:"avatar",type:"file",accept:"image/*",onChange:X,className:"hidden"}),s.jsx("p",{className:"text-xs text-muted-foreground",children:a("JPG, PNG, GIF up to 2MB")})]})]}),s.jsx(h,{className:"mt-2",message:N.avatar}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"name",children:a("Name")}),s.jsx(u,{id:"name",className:"mt-1 block w-full",value:m.name,onChange:r=>w(e=>({...e,name:r.target.value})),required:!0,autoComplete:"name",placeholder:a("Full name")}),s.jsx(h,{className:"mt-2",message:N.name})]}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"email",children:a("Email address")}),s.jsx(u,{id:"email",type:"email",className:"mt-1 block w-full",value:m.email,onChange:r=>w(e=>({...e,email:r.target.value})),required:!0,autoComplete:"username",placeholder:a("Email address")}),s.jsx(h,{className:"mt-2",message:N.email})]}),z&&((S=i==null?void 0:i.user)==null?void 0:S.email_verified_at)===null&&s.jsxs("div",{children:[s.jsxs("p",{className:"text-muted-foreground -mt-4 text-sm",children:[a("Your email address is unverified.")," ",s.jsx("button",{type:"button",onClick:()=>route("verification.send"),className:"text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current dark:decoration-neutral-500",children:a("Click here to resend the verification email.")})]}),J==="verification-link-sent"&&s.jsx("div",{className:"mt-2 text-sm font-medium text-green-600",children:a("A new verification link has been sent to your email address.")})]}),s.jsx("div",{className:"flex items-center gap-4",children:s.jsx(C,{disabled:K&&!(t!=null&&t.is_demo),children:a("Save")})})]})})]})}),s.jsx("section",{id:"password",ref:_,className:"mb-16",children:s.jsxs(B,{className:"shadow-sm",children:[s.jsxs(G,{children:[s.jsx(O,{className:"text-lg font-semibold",children:a("Update Password")}),s.jsx(q,{children:a("Ensure your account is using a long, random password to stay secure")})]}),s.jsx(H,{children:s.jsxs("form",{id:"password-form",onSubmit:$,className:"space-y-6",children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"current_password",children:a("Current password")}),s.jsx(u,{id:"current_password",ref:b,value:v.current_password,onChange:r=>p(e=>({...e,current_password:r.target.value})),type:"password",className:"mt-1 block w-full",autoComplete:"current-password",placeholder:"Current password"}),s.jsx(h,{message:g.current_password})]}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"password",children:a("New password")}),s.jsx(u,{id:"password",ref:y,value:v.password,onChange:r=>p(e=>({...e,password:r.target.value})),type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"New password"}),s.jsx(h,{message:g.password})]}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(f,{htmlFor:"password_confirmation",children:a("Confirm password")}),s.jsx(u,{id:"password_confirmation",value:v.password_confirmation,onChange:r=>p(e=>({...e,password_confirmation:r.target.value})),type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"Confirm password"}),s.jsx(h,{message:g.password_confirmation})]}),s.jsx("div",{className:"flex items-center gap-4",children:s.jsx(C,{disabled:Q&&!(t!=null&&t.is_demo),children:a("Save")})})]})})]})})]})]})})}export{Zs as default}; diff --git a/public/build/assets/progress-CJ4ij2ij.js b/public/build/assets/progress-NbCMYaUz.js similarity index 96% rename from public/build/assets/progress-CJ4ij2ij.js rename to public/build/assets/progress-NbCMYaUz.js index 187177814..1f3f4deea 100644 --- a/public/build/assets/progress-CJ4ij2ij.js +++ b/public/build/assets/progress-NbCMYaUz.js @@ -1,4 +1,4 @@ -import{r as u,j as l}from"./ui-Z445SNHD.js";import{c as y}from"./index-BFT_C1pH.js";import{af as m,e as I}from"./app-CfhhiFAk.js";var d="Progress",v=100,[E]=y(d),[R,j]=E(d),c=u.forwardRef((r,e)=>{const{__scopeProgress:n,value:o=null,max:a,getValueLabel:b=w,...h}=r;(a||a===0)&&!p(a)&&console.error(_(`${a}`,"Progress"));const t=p(a)?a:v;o!==null&&!f(o,t)&&console.error(M(`${o}`,"Progress"));const s=f(o,t)?o:null,$=i(s)?b(s,t):void 0;return l.jsx(R,{scope:n,value:s,max:t,children:l.jsx(m.div,{"aria-valuemax":t,"aria-valuemin":0,"aria-valuenow":i(s)?s:void 0,"aria-valuetext":$,role:"progressbar","data-state":P(s,t),"data-value":s??void 0,"data-max":t,...h,ref:e})})});c.displayName=d;var x="ProgressIndicator",g=u.forwardRef((r,e)=>{const{__scopeProgress:n,...o}=r,a=j(x,n);return l.jsx(m.div,{"data-state":P(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...o,ref:e})});g.displayName=x;function w(r,e){return`${Math.round(r/e*100)}%`}function P(r,e){return r==null?"indeterminate":r===e?"complete":"loading"}function i(r){return typeof r=="number"}function p(r){return i(r)&&!isNaN(r)&&r>0}function f(r,e){return i(r)&&!isNaN(r)&&r<=e&&r>=0}function _(r,e){return`Invalid prop \`max\` of value \`${r}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${v}\`.`}function M(r,e){return`Invalid prop \`value\` of value \`${r}\` supplied to \`${e}\`. The \`value\` prop must be: +import{r as u,j as l}from"./ui-Z445SNHD.js";import{c as y}from"./index-BFT_C1pH.js";import{af as m,e as I}from"./app-Dya84jp7.js";var d="Progress",v=100,[E]=y(d),[R,j]=E(d),c=u.forwardRef((r,e)=>{const{__scopeProgress:n,value:o=null,max:a,getValueLabel:b=w,...h}=r;(a||a===0)&&!p(a)&&console.error(_(`${a}`,"Progress"));const t=p(a)?a:v;o!==null&&!f(o,t)&&console.error(M(`${o}`,"Progress"));const s=f(o,t)?o:null,$=i(s)?b(s,t):void 0;return l.jsx(R,{scope:n,value:s,max:t,children:l.jsx(m.div,{"aria-valuemax":t,"aria-valuemin":0,"aria-valuenow":i(s)?s:void 0,"aria-valuetext":$,role:"progressbar","data-state":P(s,t),"data-value":s??void 0,"data-max":t,...h,ref:e})})});c.displayName=d;var x="ProgressIndicator",g=u.forwardRef((r,e)=>{const{__scopeProgress:n,...o}=r,a=j(x,n);return l.jsx(m.div,{"data-state":P(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...o,ref:e})});g.displayName=x;function w(r,e){return`${Math.round(r/e*100)}%`}function P(r,e){return r==null?"indeterminate":r===e?"complete":"loading"}function i(r){return typeof r=="number"}function p(r){return i(r)&&!isNaN(r)&&r>0}function f(r,e){return i(r)&&!isNaN(r)&&r<=e&&r>=0}function _(r,e){return`Invalid prop \`max\` of value \`${r}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${v}\`.`}function M(r,e){return`Invalid prop \`value\` of value \`${r}\` supplied to \`${e}\`. The \`value\` prop must be: - a positive number - less than the value passed to \`max\` (or ${v} if no \`max\` prop is set) - \`null\` or \`undefined\` if the progress is indeterminate. diff --git a/public/build/assets/qr-code-Dvy3HD3W.js b/public/build/assets/qr-code-CUIVRbAs.js similarity index 94% rename from public/build/assets/qr-code-Dvy3HD3W.js rename to public/build/assets/qr-code-CUIVRbAs.js index 172099551..9fcf28809 100644 --- a/public/build/assets/qr-code-Dvy3HD3W.js +++ b/public/build/assets/qr-code-CUIVRbAs.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/quote-CVpLTvYv.js b/public/build/assets/quote-BmDTOIsR.js similarity index 92% rename from public/build/assets/quote-CVpLTvYv.js rename to public/build/assets/quote-BmDTOIsR.js index 155c64c24..ffe67b848 100644 --- a/public/build/assets/quote-CVpLTvYv.js +++ b/public/build/assets/quote-BmDTOIsR.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/radio-group-CLGfOEmR.js b/public/build/assets/radio-group-BMzEN82K.js similarity index 98% rename from public/build/assets/radio-group-CLGfOEmR.js rename to public/build/assets/radio-group-BMzEN82K.js index cf4298465..a37dea497 100644 --- a/public/build/assets/radio-group-CLGfOEmR.js +++ b/public/build/assets/radio-group-BMzEN82K.js @@ -1 +1 @@ -import{r as s,j as l,f as T,M as q,k as H,X as W,m as g,Y as K,n as b,Z as E,o as U,H as z}from"./ui-Z445SNHD.js";import{u as X}from"./index-9MclThM-.js";import{e as P}from"./app-CfhhiFAk.js";import{C as Y}from"./circle-BoWbKVIN.js";function _(e,t=[]){let o=[];function n(a,i){const c=s.createContext(i),u=o.length;o=[...o,i];const d=p=>{var w;const{scope:v,children:f,...m}=p,y=((w=v==null?void 0:v[e])==null?void 0:w[u])||c,x=s.useMemo(()=>m,Object.values(m));return l.jsx(y.Provider,{value:x,children:f})};d.displayName=a+"Provider";function R(p,v){var y;const f=((y=v==null?void 0:v[e])==null?void 0:y[u])||c,m=s.useContext(f);if(m)return m;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${a}\``)}return[d,R]}const r=()=>{const a=o.map(i=>s.createContext(i));return function(c){const u=(c==null?void 0:c[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return r.scopeName=e,[n,Z(r,...t)]}function Z(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const n=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(a){const i=n.reduce((c,{useScope:u,scopeName:d})=>{const p=u(a)[`__scope${d}`];return{...c,...p}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return o.scopeName=t.scopeName,o}function J(e){const t=Q(e),o=s.forwardRef((n,r)=>{const{children:a,...i}=n,c=s.Children.toArray(a),u=c.find(re);if(u){const d=u.props.children,R=c.map(p=>p===u?s.Children.count(d)>1?s.Children.only(null):s.isValidElement(d)?d.props.children:null:p);return l.jsx(t,{...i,ref:r,children:s.isValidElement(d)?s.cloneElement(d,void 0,R):null})}return l.jsx(t,{...i,ref:r,children:a})});return o.displayName=`${e}.Slot`,o}function Q(e){const t=s.forwardRef((o,n)=>{const{children:r,...a}=o;if(s.isValidElement(r)){const i=te(r),c=oe(a,r.props);return r.type!==s.Fragment&&(c.ref=n?T(n,i):i),s.cloneElement(r,c)}return s.Children.count(r)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ee=Symbol("radix.slottable");function re(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ee}function oe(e,t){const o={...t};for(const n in t){const r=e[n],a=t[n];/^on[A-Z]/.test(n)?r&&a?o[n]=(...c)=>{const u=a(...c);return r(...c),u}:r&&(o[n]=r):n==="style"?o[n]={...r,...a}:n==="className"&&(o[n]=[r,a].filter(Boolean).join(" "))}return{...e,...o}}function te(e){var n,r;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var ne=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],h=ne.reduce((e,t)=>{const o=J(`Primitive.${t}`),n=s.forwardRef((r,a)=>{const{asChild:i,...c}=r,u=i?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(u,{...c,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),S="Radio",[se,N]=_(S),[ae,ie]=se(S),j=s.forwardRef((e,t)=>{const{__scopeRadio:o,name:n,checked:r=!1,required:a,disabled:i,value:c="on",onCheck:u,form:d,...R}=e,[p,v]=s.useState(null),f=g(t,x=>v(x)),m=s.useRef(!1),y=p?d||!!p.closest("form"):!0;return l.jsxs(ae,{scope:o,checked:r,disabled:i,children:[l.jsx(h.button,{type:"button",role:"radio","aria-checked":r,"data-state":G(r),"data-disabled":i?"":void 0,disabled:i,value:c,...R,ref:f,onClick:b(e.onClick,x=>{r||u==null||u(),y&&(m.current=x.isPropagationStopped(),m.current||x.stopPropagation())})}),y&&l.jsx(A,{control:p,bubbles:!m.current,name:n,value:c,checked:r,required:a,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});j.displayName=S;var I="RadioIndicator",k=s.forwardRef((e,t)=>{const{__scopeRadio:o,forceMount:n,...r}=e,a=ie(I,o);return l.jsx(U,{present:n||a.checked,children:l.jsx(h.span,{"data-state":G(a.checked),"data-disabled":a.disabled?"":void 0,...r,ref:t})})});k.displayName=I;var ce="RadioBubbleInput",A=s.forwardRef(({__scopeRadio:e,control:t,checked:o,bubbles:n=!0,...r},a)=>{const i=s.useRef(null),c=g(i,a),u=X(o),d=z(t);return s.useEffect(()=>{const R=i.current;if(!R)return;const p=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(p,"checked").set;if(u!==o&&f){const m=new Event("click",{bubbles:n});f.call(R,o),R.dispatchEvent(m)}},[u,o,n]),l.jsx(h.input,{type:"radio","aria-hidden":!0,defaultChecked:o,...r,tabIndex:-1,ref:c,style:{...r.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});A.displayName=ce;function G(e){return e?"checked":"unchecked"}var ue=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],C="RadioGroup",[de]=_(C,[E,N]),D=E(),O=N(),[le,pe]=de(C),M=s.forwardRef((e,t)=>{const{__scopeRadioGroup:o,name:n,defaultValue:r,value:a,required:i=!1,disabled:c=!1,orientation:u,dir:d,loop:R=!0,onValueChange:p,...v}=e,f=D(o),m=q(d),[y,x]=H({prop:a,defaultProp:r??null,onChange:p,caller:C});return l.jsx(le,{scope:o,name:n,required:i,disabled:c,value:y,onValueChange:x,children:l.jsx(W,{asChild:!0,...f,orientation:u,dir:m,loop:R,children:l.jsx(h.div,{role:"radiogroup","aria-required":i,"aria-orientation":u,"data-disabled":c?"":void 0,dir:m,...v,ref:t})})})});M.displayName=C;var V="RadioGroupItem",$=s.forwardRef((e,t)=>{const{__scopeRadioGroup:o,disabled:n,...r}=e,a=pe(V,o),i=a.disabled||n,c=D(o),u=O(o),d=s.useRef(null),R=g(t,d),p=a.value===r.value,v=s.useRef(!1);return s.useEffect(()=>{const f=y=>{ue.includes(y.key)&&(v.current=!0)},m=()=>v.current=!1;return document.addEventListener("keydown",f),document.addEventListener("keyup",m),()=>{document.removeEventListener("keydown",f),document.removeEventListener("keyup",m)}},[]),l.jsx(K,{asChild:!0,...c,focusable:!i,active:p,children:l.jsx(j,{disabled:i,required:a.required,checked:p,...u,...r,name:a.name,ref:R,onCheck:()=>a.onValueChange(r.value),onKeyDown:b(f=>{f.key==="Enter"&&f.preventDefault()}),onFocus:b(r.onFocus,()=>{var f;v.current&&((f=d.current)==null||f.click())})})})});$.displayName=V;var fe="RadioGroupIndicator",B=s.forwardRef((e,t)=>{const{__scopeRadioGroup:o,...n}=e,r=O(o);return l.jsx(k,{...r,...n,ref:t})});B.displayName=fe;var F=M,L=$,me=B;const ve=s.forwardRef(({className:e,...t},o)=>l.jsx(F,{className:P("grid gap-2",e),...t,ref:o}));ve.displayName=F.displayName;const Re=s.forwardRef(({className:e,...t},o)=>l.jsx(L,{ref:o,className:P("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:l.jsx(me,{className:"flex items-center justify-center",children:l.jsx(Y,{className:"h-2.5 w-2.5 fill-primary text-primary"})})}));Re.displayName=L.displayName;export{ve as R,Re as a}; +import{r as s,j as l,f as T,M as q,k as H,X as W,m as g,Y as K,n as b,Z as E,o as U,H as z}from"./ui-Z445SNHD.js";import{u as X}from"./index-9MclThM-.js";import{e as P}from"./app-Dya84jp7.js";import{C as Y}from"./circle-C2Wo_gI7.js";function _(e,t=[]){let o=[];function n(a,i){const c=s.createContext(i),u=o.length;o=[...o,i];const d=p=>{var w;const{scope:v,children:f,...m}=p,y=((w=v==null?void 0:v[e])==null?void 0:w[u])||c,x=s.useMemo(()=>m,Object.values(m));return l.jsx(y.Provider,{value:x,children:f})};d.displayName=a+"Provider";function R(p,v){var y;const f=((y=v==null?void 0:v[e])==null?void 0:y[u])||c,m=s.useContext(f);if(m)return m;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${a}\``)}return[d,R]}const r=()=>{const a=o.map(i=>s.createContext(i));return function(c){const u=(c==null?void 0:c[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return r.scopeName=e,[n,Z(r,...t)]}function Z(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const n=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(a){const i=n.reduce((c,{useScope:u,scopeName:d})=>{const p=u(a)[`__scope${d}`];return{...c,...p}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return o.scopeName=t.scopeName,o}function J(e){const t=Q(e),o=s.forwardRef((n,r)=>{const{children:a,...i}=n,c=s.Children.toArray(a),u=c.find(re);if(u){const d=u.props.children,R=c.map(p=>p===u?s.Children.count(d)>1?s.Children.only(null):s.isValidElement(d)?d.props.children:null:p);return l.jsx(t,{...i,ref:r,children:s.isValidElement(d)?s.cloneElement(d,void 0,R):null})}return l.jsx(t,{...i,ref:r,children:a})});return o.displayName=`${e}.Slot`,o}function Q(e){const t=s.forwardRef((o,n)=>{const{children:r,...a}=o;if(s.isValidElement(r)){const i=te(r),c=oe(a,r.props);return r.type!==s.Fragment&&(c.ref=n?T(n,i):i),s.cloneElement(r,c)}return s.Children.count(r)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ee=Symbol("radix.slottable");function re(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ee}function oe(e,t){const o={...t};for(const n in t){const r=e[n],a=t[n];/^on[A-Z]/.test(n)?r&&a?o[n]=(...c)=>{const u=a(...c);return r(...c),u}:r&&(o[n]=r):n==="style"?o[n]={...r,...a}:n==="className"&&(o[n]=[r,a].filter(Boolean).join(" "))}return{...e,...o}}function te(e){var n,r;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var ne=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],h=ne.reduce((e,t)=>{const o=J(`Primitive.${t}`),n=s.forwardRef((r,a)=>{const{asChild:i,...c}=r,u=i?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(u,{...c,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),S="Radio",[se,N]=_(S),[ae,ie]=se(S),j=s.forwardRef((e,t)=>{const{__scopeRadio:o,name:n,checked:r=!1,required:a,disabled:i,value:c="on",onCheck:u,form:d,...R}=e,[p,v]=s.useState(null),f=g(t,x=>v(x)),m=s.useRef(!1),y=p?d||!!p.closest("form"):!0;return l.jsxs(ae,{scope:o,checked:r,disabled:i,children:[l.jsx(h.button,{type:"button",role:"radio","aria-checked":r,"data-state":G(r),"data-disabled":i?"":void 0,disabled:i,value:c,...R,ref:f,onClick:b(e.onClick,x=>{r||u==null||u(),y&&(m.current=x.isPropagationStopped(),m.current||x.stopPropagation())})}),y&&l.jsx(A,{control:p,bubbles:!m.current,name:n,value:c,checked:r,required:a,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});j.displayName=S;var I="RadioIndicator",k=s.forwardRef((e,t)=>{const{__scopeRadio:o,forceMount:n,...r}=e,a=ie(I,o);return l.jsx(U,{present:n||a.checked,children:l.jsx(h.span,{"data-state":G(a.checked),"data-disabled":a.disabled?"":void 0,...r,ref:t})})});k.displayName=I;var ce="RadioBubbleInput",A=s.forwardRef(({__scopeRadio:e,control:t,checked:o,bubbles:n=!0,...r},a)=>{const i=s.useRef(null),c=g(i,a),u=X(o),d=z(t);return s.useEffect(()=>{const R=i.current;if(!R)return;const p=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(p,"checked").set;if(u!==o&&f){const m=new Event("click",{bubbles:n});f.call(R,o),R.dispatchEvent(m)}},[u,o,n]),l.jsx(h.input,{type:"radio","aria-hidden":!0,defaultChecked:o,...r,tabIndex:-1,ref:c,style:{...r.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});A.displayName=ce;function G(e){return e?"checked":"unchecked"}var ue=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],C="RadioGroup",[de]=_(C,[E,N]),D=E(),O=N(),[le,pe]=de(C),M=s.forwardRef((e,t)=>{const{__scopeRadioGroup:o,name:n,defaultValue:r,value:a,required:i=!1,disabled:c=!1,orientation:u,dir:d,loop:R=!0,onValueChange:p,...v}=e,f=D(o),m=q(d),[y,x]=H({prop:a,defaultProp:r??null,onChange:p,caller:C});return l.jsx(le,{scope:o,name:n,required:i,disabled:c,value:y,onValueChange:x,children:l.jsx(W,{asChild:!0,...f,orientation:u,dir:m,loop:R,children:l.jsx(h.div,{role:"radiogroup","aria-required":i,"aria-orientation":u,"data-disabled":c?"":void 0,dir:m,...v,ref:t})})})});M.displayName=C;var V="RadioGroupItem",$=s.forwardRef((e,t)=>{const{__scopeRadioGroup:o,disabled:n,...r}=e,a=pe(V,o),i=a.disabled||n,c=D(o),u=O(o),d=s.useRef(null),R=g(t,d),p=a.value===r.value,v=s.useRef(!1);return s.useEffect(()=>{const f=y=>{ue.includes(y.key)&&(v.current=!0)},m=()=>v.current=!1;return document.addEventListener("keydown",f),document.addEventListener("keyup",m),()=>{document.removeEventListener("keydown",f),document.removeEventListener("keyup",m)}},[]),l.jsx(K,{asChild:!0,...c,focusable:!i,active:p,children:l.jsx(j,{disabled:i,required:a.required,checked:p,...u,...r,name:a.name,ref:R,onCheck:()=>a.onValueChange(r.value),onKeyDown:b(f=>{f.key==="Enter"&&f.preventDefault()}),onFocus:b(r.onFocus,()=>{var f;v.current&&((f=d.current)==null||f.click())})})})});$.displayName=V;var fe="RadioGroupIndicator",B=s.forwardRef((e,t)=>{const{__scopeRadioGroup:o,...n}=e,r=O(o);return l.jsx(k,{...r,...n,ref:t})});B.displayName=fe;var F=M,L=$,me=B;const ve=s.forwardRef(({className:e,...t},o)=>l.jsx(F,{className:P("grid gap-2",e),...t,ref:o}));ve.displayName=F.displayName;const Re=s.forwardRef(({className:e,...t},o)=>l.jsx(L,{ref:o,className:P("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:l.jsx(me,{className:"flex items-center justify-center",children:l.jsx(Y,{className:"h-2.5 w-2.5 fill-primary text-primary"})})}));Re.displayName=L.displayName;export{ve as R,Re as a}; diff --git a/public/build/assets/recaptcha-D-hXS7fB.js b/public/build/assets/recaptcha-DWdHEy2a.js similarity index 96% rename from public/build/assets/recaptcha-D-hXS7fB.js rename to public/build/assets/recaptcha-DWdHEy2a.js index 1a91490e2..46ec4f3a9 100644 --- a/public/build/assets/recaptcha-D-hXS7fB.js +++ b/public/build/assets/recaptcha-DWdHEy2a.js @@ -1 +1 @@ -import{r as o,j as f}from"./ui-Z445SNHD.js";import{c as R}from"./app-CfhhiFAk.js";function b({onVerify:s,onExpired:d,onError:c}){const{settings:r={}}=R().props,l=o.useRef(null),t=o.useRef(null),i=o.useRef(`recaptcha-${Math.random().toString(36).substr(2,9)}`),n=r.recaptchaEnabled==="true"||r.recaptchaEnabled===!0||r.recaptchaEnabled===1||r.recaptchaEnabled==="1",p=r.recaptchaVersion||"v2",a=r.recaptchaSiteKey||"";return o.useEffect(()=>{if(!n||!a)return;const h=()=>{try{p==="v2"?u():w()}catch(e){console.error("ReCaptcha load error:",e),c&&c()}},u=()=>{if(window.grecaptcha&&l.current&&t.current===null)try{t.current=window.grecaptcha.render(i.current,{sitekey:a,callback:s,"expired-callback":d||(()=>{}),"error-callback":c||(()=>{})})}catch(e){console.error("ReCaptcha v2 render error:",e)}},w=()=>{if(window.grecaptcha)try{window.grecaptcha.ready(()=>{window.grecaptcha.execute(a,{action:"submit"}).then(e=>{s(e)}).catch(e=>{console.error("ReCaptcha v3 execute error:",e),c&&c()})})}catch(e){console.error("ReCaptcha v3 ready error:",e)}};if(window.grecaptcha)h();else{window.onRecaptchaLoad=h;const e=document.createElement("script");e.src=`https://www.google.com/recaptcha/api.js?onload=onRecaptchaLoad&render=${p==="v3"?a:"explicit"}`,e.async=!0,e.defer=!0,e.onerror=()=>{console.error("Failed to load ReCaptcha script"),c&&c()},document.head.appendChild(e)}return()=>{try{t.current!==null&&window.grecaptcha&&(window.grecaptcha.reset(t.current),t.current=null)}catch(e){console.error("ReCaptcha cleanup error:",e)}}},[n,a]),!n||!a?null:p==="v2"?f.jsx("div",{id:i.current,ref:l}):null}export{b as R}; +import{r as o,j as f}from"./ui-Z445SNHD.js";import{c as R}from"./app-Dya84jp7.js";function b({onVerify:s,onExpired:d,onError:c}){const{settings:r={}}=R().props,l=o.useRef(null),t=o.useRef(null),i=o.useRef(`recaptcha-${Math.random().toString(36).substr(2,9)}`),n=r.recaptchaEnabled==="true"||r.recaptchaEnabled===!0||r.recaptchaEnabled===1||r.recaptchaEnabled==="1",p=r.recaptchaVersion||"v2",a=r.recaptchaSiteKey||"";return o.useEffect(()=>{if(!n||!a)return;const h=()=>{try{p==="v2"?u():w()}catch(e){console.error("ReCaptcha load error:",e),c&&c()}},u=()=>{if(window.grecaptcha&&l.current&&t.current===null)try{t.current=window.grecaptcha.render(i.current,{sitekey:a,callback:s,"expired-callback":d||(()=>{}),"error-callback":c||(()=>{})})}catch(e){console.error("ReCaptcha v2 render error:",e)}},w=()=>{if(window.grecaptcha)try{window.grecaptcha.ready(()=>{window.grecaptcha.execute(a,{action:"submit"}).then(e=>{s(e)}).catch(e=>{console.error("ReCaptcha v3 execute error:",e),c&&c()})})}catch(e){console.error("ReCaptcha v3 ready error:",e)}};if(window.grecaptcha)h();else{window.onRecaptchaLoad=h;const e=document.createElement("script");e.src=`https://www.google.com/recaptcha/api.js?onload=onRecaptchaLoad&render=${p==="v3"?a:"explicit"}`,e.async=!0,e.defer=!0,e.onerror=()=>{console.error("Failed to load ReCaptcha script"),c&&c()},document.head.appendChild(e)}return()=>{try{t.current!==null&&window.grecaptcha&&(window.grecaptcha.reset(t.current),t.current=null)}catch(e){console.error("ReCaptcha cleanup error:",e)}}},[n,a]),!n||!a?null:p==="v2"?f.jsx("div",{id:i.current,ref:l}):null}export{b as R}; diff --git a/public/build/assets/recaptcha-settings-C2nUOtIM.js b/public/build/assets/recaptcha-settings-Cr42TArj.js similarity index 93% rename from public/build/assets/recaptcha-settings-C2nUOtIM.js rename to public/build/assets/recaptcha-settings-Cr42TArj.js index 8851a5bf8..2e6c654d7 100644 --- a/public/build/assets/recaptcha-settings-C2nUOtIM.js +++ b/public/build/assets/recaptcha-settings-Cr42TArj.js @@ -1 +1 @@ -import{r as b,j as e}from"./ui-Z445SNHD.js";import{u as v,c as f,ap as K,L as i,I as u,o as C,y as E,r as N,t as p}from"./app-CfhhiFAk.js";import{S as R,a as k,b as V,c as w,d as S}from"./select-BrY9osYp.js";import{S as G}from"./switch-CKduD2wX.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";function H({settings:h={}}){const{t}=v(),x=f().props,l={recaptchaVersion:"v2",recaptchaSiteKey:"",recaptchaSecretKey:""},r=Object.keys(h).length>0?h:x.systemSettings||{},[o,y]=b.useState(()=>({recaptchaEnabled:r.recaptchaEnabled==="true"||r.recaptchaEnabled===!0||r.recaptchaEnabled===1||r.recaptchaEnabled==="1",recaptchaVersion:r.recaptchaVersion||l.recaptchaVersion,recaptchaSiteKey:r.recaptchaSiteKey||l.recaptchaSiteKey,recaptchaSecretKey:r.recaptchaSecretKey||l.recaptchaSecretKey})),n=(a,c)=>{y(s=>({...s,[a]:c}))},j=a=>{a.preventDefault(),N.post(route("settings.recaptcha.update"),o,{preserveScroll:!0,onSuccess:c=>{var g,m;const s=(g=c.props.flash)==null?void 0:g.success,d=(m=c.props.flash)==null?void 0:m.error;s?p.success(s):d&&p.error(d)},onError:c=>{const s=c.error||Object.values(c).join(", ")||t("Failed to update ReCaptcha settings");p.error(s)}})};return e.jsxs(K,{title:t("ReCaptcha Settings"),description:t("Configure Google ReCaptcha settings for form protection"),action:e.jsxs(C,{type:"submit",form:"recaptcha-settings-form",size:"sm",children:[e.jsx(E,{className:"h-4 w-4 mr-2"}),t("Save Changes")]}),children:[e.jsxs("div",{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-md text-sm text-blue-800 dark:bg-blue-950 dark:border-blue-800 dark:text-blue-200",children:[e.jsxs("strong",{children:[t("Note"),":"]})," ",e.jsx("a",{href:"https://phppot.com/php/how-to-get-google-recaptcha-site-and-secret-key/",target:"_blank",rel:"noopener noreferrer",className:"underline hover:no-underline",children:t("How to Get Google reCaptcha Site and Secret key")})]}),e.jsxs("form",{id:"recaptcha-settings-form",onSubmit:j,className:"space-y-6",children:[e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(i,{htmlFor:"recaptchaEnabled",children:t("Enable ReCaptcha")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Show ReCaptcha on authentication pages")})]}),e.jsx(G,{id:"recaptchaEnabled",checked:o.recaptchaEnabled,onCheckedChange:a=>n("recaptchaEnabled",a)})]})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(i,{htmlFor:"recaptchaVersion",children:t("Google Recaptcha Version")}),e.jsxs(R,{value:o.recaptchaVersion,onValueChange:a=>n("recaptchaVersion",a),children:[e.jsx(k,{children:e.jsx(V,{placeholder:t("Select version")})}),e.jsxs(w,{children:[e.jsx(S,{value:"v2",children:"v2"}),e.jsx(S,{value:"v3",children:"v3"})]})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(i,{htmlFor:"recaptchaSiteKey",children:t("Site Key")}),e.jsx(u,{id:"recaptchaSiteKey",name:"recaptchaSiteKey",type:"text",value:o.recaptchaSiteKey,onChange:a=>n("recaptchaSiteKey",a.target.value),placeholder:t("Enter your Google ReCaptcha site key")})]}),e.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[e.jsx(i,{htmlFor:"recaptchaSecretKey",children:t("Secret Key")}),e.jsx(u,{id:"recaptchaSecretKey",name:"recaptchaSecretKey",type:"password",value:o.recaptchaSecretKey,onChange:a=>n("recaptchaSecretKey",a.target.value),placeholder:t("Enter your Google ReCaptcha secret key")})]})]})]})]})}export{H as default}; +import{r as b,j as e}from"./ui-Z445SNHD.js";import{u as v,c as f,ap as K,L as i,I as u,o as C,y as E,r as N,t as p}from"./app-Dya84jp7.js";import{S as R,a as k,b as V,c as w,d as S}from"./select-CHkpLxhL.js";import{S as G}from"./switch-DyHgm-Sg.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";function H({settings:h={}}){const{t}=v(),x=f().props,l={recaptchaVersion:"v2",recaptchaSiteKey:"",recaptchaSecretKey:""},r=Object.keys(h).length>0?h:x.systemSettings||{},[o,y]=b.useState(()=>({recaptchaEnabled:r.recaptchaEnabled==="true"||r.recaptchaEnabled===!0||r.recaptchaEnabled===1||r.recaptchaEnabled==="1",recaptchaVersion:r.recaptchaVersion||l.recaptchaVersion,recaptchaSiteKey:r.recaptchaSiteKey||l.recaptchaSiteKey,recaptchaSecretKey:r.recaptchaSecretKey||l.recaptchaSecretKey})),n=(a,c)=>{y(s=>({...s,[a]:c}))},j=a=>{a.preventDefault(),N.post(route("settings.recaptcha.update"),o,{preserveScroll:!0,onSuccess:c=>{var g,m;const s=(g=c.props.flash)==null?void 0:g.success,d=(m=c.props.flash)==null?void 0:m.error;s?p.success(s):d&&p.error(d)},onError:c=>{const s=c.error||Object.values(c).join(", ")||t("Failed to update ReCaptcha settings");p.error(s)}})};return e.jsxs(K,{title:t("ReCaptcha Settings"),description:t("Configure Google ReCaptcha settings for form protection"),action:e.jsxs(C,{type:"submit",form:"recaptcha-settings-form",size:"sm",children:[e.jsx(E,{className:"h-4 w-4 mr-2"}),t("Save Changes")]}),children:[e.jsxs("div",{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-md text-sm text-blue-800 dark:bg-blue-950 dark:border-blue-800 dark:text-blue-200",children:[e.jsxs("strong",{children:[t("Note"),":"]})," ",e.jsx("a",{href:"https://phppot.com/php/how-to-get-google-recaptcha-site-and-secret-key/",target:"_blank",rel:"noopener noreferrer",className:"underline hover:no-underline",children:t("How to Get Google reCaptcha Site and Secret key")})]}),e.jsxs("form",{id:"recaptcha-settings-form",onSubmit:j,className:"space-y-6",children:[e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(i,{htmlFor:"recaptchaEnabled",children:t("Enable ReCaptcha")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Show ReCaptcha on authentication pages")})]}),e.jsx(G,{id:"recaptchaEnabled",checked:o.recaptchaEnabled,onCheckedChange:a=>n("recaptchaEnabled",a)})]})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(i,{htmlFor:"recaptchaVersion",children:t("Google Recaptcha Version")}),e.jsxs(R,{value:o.recaptchaVersion,onValueChange:a=>n("recaptchaVersion",a),children:[e.jsx(k,{children:e.jsx(V,{placeholder:t("Select version")})}),e.jsxs(w,{children:[e.jsx(S,{value:"v2",children:"v2"}),e.jsx(S,{value:"v3",children:"v3"})]})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(i,{htmlFor:"recaptchaSiteKey",children:t("Site Key")}),e.jsx(u,{id:"recaptchaSiteKey",name:"recaptchaSiteKey",type:"text",value:o.recaptchaSiteKey,onChange:a=>n("recaptchaSiteKey",a.target.value),placeholder:t("Enter your Google ReCaptcha site key")})]}),e.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[e.jsx(i,{htmlFor:"recaptchaSecretKey",children:t("Secret Key")}),e.jsx(u,{id:"recaptchaSecretKey",name:"recaptchaSecretKey",type:"password",value:o.recaptchaSecretKey,onChange:a=>n("recaptchaSecretKey",a.target.value),placeholder:t("Enter your Google ReCaptcha secret key")})]})]})]})]})}export{H as default}; diff --git a/public/build/assets/referral-dashboard-EJIXIPEg.js b/public/build/assets/referral-dashboard-B3KOw-d5.js similarity index 97% rename from public/build/assets/referral-dashboard-EJIXIPEg.js rename to public/build/assets/referral-dashboard-B3KOw-d5.js index 23042499e..65caa2aed 100644 --- a/public/build/assets/referral-dashboard-EJIXIPEg.js +++ b/public/build/assets/referral-dashboard-B3KOw-d5.js @@ -1 +1 @@ -import{r as R,j as e}from"./ui-Z445SNHD.js";import{u as T,C as a,l,m as i,n as c,z as x,I as P,o as A,V as U,B as f,t as B}from"./app-CfhhiFAk.js";import{U as d}from"./users-C4LpG59H.js";import{C as D}from"./clock-CwFdn-oy.js";import{D as h}from"./dollar-sign-DYXFWWsE.js";import{T as p}from"./trending-up-Bi4f72Tj.js";import{A as u}from"./award-DMMowKjz.js";import{M as b}from"./mail-CGIE7ZEy.js";import{C as N}from"./calendar-CfUpdaK5.js";import{C as v}from"./copy-xfopPExK.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function G({userType:w,stats:r,referralLink:m,recentReferredUsers:o,currencySymbol:n}){var g;const{t:s}=T(),[k,j]=R.useState(!1),y=async()=>{m&&(await navigator.clipboard.writeText(m),j(!0),B.success(s("Referral link copied to clipboard")),setTimeout(()=>j(!1),2e3))};return w==="superadmin"?e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(a,{className:"border-l-4 border-l-blue-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Total Referral Users")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-blue-600 dark:text-blue-400",children:r.totalReferralUsers}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Registered users")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center",children:e.jsx(d,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-amber-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Pending Payouts")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-amber-600 dark:text-amber-400",children:r.pendingPayouts}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Awaiting approval")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-amber-100 dark:bg-amber-900/30 flex items-center justify-center",children:e.jsx(D,{className:"h-5 w-5 text-amber-600 dark:text-amber-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-green-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Total Commission Paid")}),e.jsxs("h3",{className:"mt-1 text-2xl font-bold text-green-600 dark:text-green-400",children:[n,r.totalCommissionPaid]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Total payouts")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:e.jsx(h,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-purple-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Active Companies")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-purple-600 dark:text-purple-400",children:((g=r.topCompanies)==null?void 0:g.length)||0}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Referring companies")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-purple-100 dark:bg-purple-900/30 flex items-center justify-center",children:e.jsx(p,{className:"h-5 w-5 text-purple-600 dark:text-purple-400"})})]})})})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[e.jsxs(a,{className:"hover:shadow-lg transition-shadow duration-300",children:[e.jsx(i,{className:"pb-3 bg-gradient-to-r from-blue-50 to-purple-50 dark:from-blue-950/20 dark:to-purple-950/20",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"h-9 w-9 rounded-lg bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center",children:e.jsx(u,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{children:[e.jsx(c,{className:"text-base font-semibold",children:s("Top Referring Companies")}),e.jsx(x,{className:"text-xs",children:s("Companies with most referrals")})]})]})}),e.jsx(l,{className:"pt-4",children:r.topCompanies&&r.topCompanies.length>0?e.jsx("div",{className:"space-y-2",children:r.topCompanies.slice(0,5).map((t,C)=>e.jsxs("div",{className:"flex items-center justify-between p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[e.jsxs("div",{className:"flex items-center space-x-3 min-w-0",children:[e.jsx("div",{className:"flex items-center justify-center w-7 h-7 rounded-full bg-muted text-xs font-semibold text-muted-foreground shrink-0",children:C+1}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold truncate",children:t.name}),e.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(b,{className:"h-3 w-3 shrink-0"}),e.jsx("span",{className:"truncate",children:t.email})]})]})]}),e.jsxs("div",{className:"text-right ml-3 shrink-0",children:[e.jsxs("div",{className:"flex items-center gap-1 text-sm font-semibold text-blue-600 dark:text-blue-400",children:[e.jsx(d,{className:"h-4 w-4"}),t.referral_count]}),e.jsxs("p",{className:"text-xs text-green-600 dark:text-green-400 font-medium",children:[n,t.total_earned||0]})]})]},t.id))}):e.jsxs("div",{className:"text-center py-6",children:[e.jsx(u,{className:"h-10 w-10 text-muted-foreground mx-auto mb-2 opacity-50"}),e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("No companies yet")})]})})]}),e.jsxs(a,{className:"hover:shadow-lg transition-shadow duration-300",children:[e.jsx(i,{className:"pb-3 bg-gradient-to-r from-green-50 to-emerald-50 dark:from-green-950/20 dark:to-emerald-950/20",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"h-9 w-9 rounded-lg bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:e.jsx(p,{className:"h-4 w-4 text-green-600 dark:text-green-400"})}),e.jsxs("div",{children:[e.jsx(c,{className:"text-base font-semibold",children:s("Monthly Performance")}),e.jsx(x,{className:"text-xs",children:s("This year statistics")})]})]})}),e.jsx(l,{className:"pt-4",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"p-3 rounded-lg bg-gradient-to-br from-blue-50 to-blue-100 dark:from-blue-950/30 dark:to-blue-900/20 border border-blue-200 dark:border-blue-800",children:[e.jsxs("div",{className:"flex items-center justify-between mb-1",children:[e.jsx("p",{className:"text-sm font-medium text-blue-900 dark:text-blue-100",children:s("Referral Signups")}),e.jsx(d,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})]}),e.jsx("p",{className:"text-2xl font-bold text-blue-600 dark:text-blue-400",children:r.monthlyReferrals||0}),e.jsxs("p",{className:"text-xs text-blue-700 dark:text-blue-300 mt-1 flex items-center gap-1",children:[e.jsx(N,{className:"h-3 w-3"}),s("Total this year")]})]}),e.jsxs("div",{className:"p-3 rounded-lg bg-gradient-to-br from-green-50 to-green-100 dark:from-green-950/30 dark:to-green-900/20 border border-green-200 dark:border-green-800",children:[e.jsxs("div",{className:"flex items-center justify-between mb-1",children:[e.jsx("p",{className:"text-sm font-medium text-green-900 dark:text-green-100",children:s("Payouts Processed")}),e.jsx(h,{className:"h-4 w-4 text-green-600 dark:text-green-400"})]}),e.jsxs("p",{className:"text-2xl font-bold text-green-600 dark:text-green-400",children:[n,r.monthlyPayouts||0]}),e.jsxs("p",{className:"text-xs text-green-700 dark:text-green-300 mt-1 flex items-center gap-1",children:[e.jsx(N,{className:"h-3 w-3"}),s("Total this year")]})]})]})})]})]})]}):e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(a,{className:"border-l-4 border-l-green-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Total Referrals")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-green-600 dark:text-green-400",children:r.totalReferrals}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("All referrals")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:e.jsx(d,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-blue-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Referred Users")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-blue-600 dark:text-blue-400",children:r.referredUsersCount||0}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Active users")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center",children:e.jsx(d,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-amber-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Total Earned")}),e.jsxs("h3",{className:"mt-1 text-2xl font-bold text-amber-600 dark:text-amber-400",children:[n,r.totalEarned]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Commission earned")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-amber-100 dark:bg-amber-900/30 flex items-center justify-center",children:e.jsx(h,{className:"h-5 w-5 text-amber-600 dark:text-amber-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-purple-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Available Balance")}),e.jsxs("h3",{className:"mt-1 text-2xl font-bold text-purple-600 dark:text-purple-400",children:[n,r.availableBalance.toFixed(2)]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Ready to withdraw")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-purple-100 dark:bg-purple-900/30 flex items-center justify-center",children:e.jsx(u,{className:"h-5 w-5 text-purple-600 dark:text-purple-400"})})]})})})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[e.jsxs(a,{className:"hover:shadow-lg transition-shadow duration-300",children:[e.jsx(i,{className:"pb-3 bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-950/20 dark:to-indigo-950/20",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"h-9 w-9 rounded-lg bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center",children:e.jsx(v,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{children:[e.jsx(c,{className:"text-base font-semibold",children:s("Your Referral Link")}),e.jsx(x,{className:"text-xs",children:s("Share and earn commissions")})]})]})}),e.jsxs(l,{className:"pt-4",children:[e.jsxs("div",{className:"flex space-x-2",children:[e.jsx(P,{value:m||"",readOnly:!0,className:"flex-1 font-mono text-sm"}),e.jsx(A,{onClick:y,variant:"outline",size:"icon",className:"shrink-0",children:k?e.jsx(U,{className:"h-4 w-4 text-green-600"}):e.jsx(v,{className:"h-4 w-4"})})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2 p-2 bg-muted/50 rounded-lg",children:s("Share this link to earn commissions when users sign up and purchase plans")})]})]}),e.jsxs(a,{className:"hover:shadow-lg transition-shadow duration-300",children:[e.jsx(i,{className:"pb-3 bg-gradient-to-r from-purple-50 to-pink-50 dark:from-purple-950/20 dark:to-pink-950/20",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"h-9 w-9 rounded-lg bg-purple-100 dark:bg-purple-900/30 flex items-center justify-center",children:e.jsx(d,{className:"h-4 w-4 text-purple-600 dark:text-purple-400"})}),e.jsxs("div",{children:[e.jsx(c,{className:"text-base font-semibold",children:s("Recent Referred Users")}),e.jsx(x,{className:"text-xs",children:s("Latest referrals")})]})]})}),e.jsx(l,{className:"pt-4",children:o&&o.length>0?e.jsx("div",{className:"space-y-2",children:o.map(t=>e.jsxs("div",{className:"flex items-center justify-between p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[e.jsxs("div",{className:"flex items-center space-x-3 min-w-0",children:[t.avatar?e.jsx("img",{src:t.avatar,alt:t.name,className:"w-8 h-8 rounded-full object-cover shrink-0"}):e.jsx("div",{className:"w-8 h-8 bg-gradient-to-br from-blue-500 to-purple-500 rounded-full flex items-center justify-center shrink-0",children:e.jsx("span",{className:"text-xs font-semibold text-white",children:t.name.charAt(0).toUpperCase()})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"font-semibold text-sm truncate",children:t.name}),e.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(b,{className:"h-3 w-3 shrink-0"}),e.jsx("span",{className:"truncate",children:t.email})]})]})]}),e.jsx("div",{className:"text-right ml-3 shrink-0",children:t.plan?e.jsx(f,{variant:"default",className:"text-xs bg-green-100 text-green-700 dark:bg-green-900/30 dark:text-green-400",children:t.plan.name}):e.jsx(f,{variant:"secondary",className:"text-xs",children:s("No Plan")})})]},t.id))}):e.jsxs("div",{className:"text-center py-6",children:[e.jsx(d,{className:"h-10 w-10 text-muted-foreground mx-auto mb-2 opacity-50"}),e.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:s("No referred users yet")}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Share your link to get started")})]})})]})]})]})}export{G as default}; +import{r as R,j as e}from"./ui-Z445SNHD.js";import{u as T,C as a,l,m as i,n as c,z as x,I as P,o as A,V as U,B as f,t as B}from"./app-Dya84jp7.js";import{U as d}from"./users-BzCDZrS0.js";import{C as D}from"./clock-LnEFQ-vK.js";import{D as h}from"./dollar-sign-DH2Tc178.js";import{T as p}from"./trending-up-BT453ptk.js";import{A as u}from"./award-D1KbOerA.js";import{M as b}from"./mail-Cha_PX4q.js";import{C as N}from"./calendar-DuRYaSj5.js";import{C as v}from"./copy-G5cMddid.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function G({userType:w,stats:r,referralLink:m,recentReferredUsers:o,currencySymbol:n}){var g;const{t:s}=T(),[k,j]=R.useState(!1),y=async()=>{m&&(await navigator.clipboard.writeText(m),j(!0),B.success(s("Referral link copied to clipboard")),setTimeout(()=>j(!1),2e3))};return w==="superadmin"?e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(a,{className:"border-l-4 border-l-blue-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Total Referral Users")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-blue-600 dark:text-blue-400",children:r.totalReferralUsers}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Registered users")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center",children:e.jsx(d,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-amber-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Pending Payouts")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-amber-600 dark:text-amber-400",children:r.pendingPayouts}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Awaiting approval")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-amber-100 dark:bg-amber-900/30 flex items-center justify-center",children:e.jsx(D,{className:"h-5 w-5 text-amber-600 dark:text-amber-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-green-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Total Commission Paid")}),e.jsxs("h3",{className:"mt-1 text-2xl font-bold text-green-600 dark:text-green-400",children:[n,r.totalCommissionPaid]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Total payouts")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:e.jsx(h,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-purple-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Active Companies")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-purple-600 dark:text-purple-400",children:((g=r.topCompanies)==null?void 0:g.length)||0}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Referring companies")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-purple-100 dark:bg-purple-900/30 flex items-center justify-center",children:e.jsx(p,{className:"h-5 w-5 text-purple-600 dark:text-purple-400"})})]})})})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[e.jsxs(a,{className:"hover:shadow-lg transition-shadow duration-300",children:[e.jsx(i,{className:"pb-3 bg-gradient-to-r from-blue-50 to-purple-50 dark:from-blue-950/20 dark:to-purple-950/20",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"h-9 w-9 rounded-lg bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center",children:e.jsx(u,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{children:[e.jsx(c,{className:"text-base font-semibold",children:s("Top Referring Companies")}),e.jsx(x,{className:"text-xs",children:s("Companies with most referrals")})]})]})}),e.jsx(l,{className:"pt-4",children:r.topCompanies&&r.topCompanies.length>0?e.jsx("div",{className:"space-y-2",children:r.topCompanies.slice(0,5).map((t,C)=>e.jsxs("div",{className:"flex items-center justify-between p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[e.jsxs("div",{className:"flex items-center space-x-3 min-w-0",children:[e.jsx("div",{className:"flex items-center justify-center w-7 h-7 rounded-full bg-muted text-xs font-semibold text-muted-foreground shrink-0",children:C+1}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold truncate",children:t.name}),e.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(b,{className:"h-3 w-3 shrink-0"}),e.jsx("span",{className:"truncate",children:t.email})]})]})]}),e.jsxs("div",{className:"text-right ml-3 shrink-0",children:[e.jsxs("div",{className:"flex items-center gap-1 text-sm font-semibold text-blue-600 dark:text-blue-400",children:[e.jsx(d,{className:"h-4 w-4"}),t.referral_count]}),e.jsxs("p",{className:"text-xs text-green-600 dark:text-green-400 font-medium",children:[n,t.total_earned||0]})]})]},t.id))}):e.jsxs("div",{className:"text-center py-6",children:[e.jsx(u,{className:"h-10 w-10 text-muted-foreground mx-auto mb-2 opacity-50"}),e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("No companies yet")})]})})]}),e.jsxs(a,{className:"hover:shadow-lg transition-shadow duration-300",children:[e.jsx(i,{className:"pb-3 bg-gradient-to-r from-green-50 to-emerald-50 dark:from-green-950/20 dark:to-emerald-950/20",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"h-9 w-9 rounded-lg bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:e.jsx(p,{className:"h-4 w-4 text-green-600 dark:text-green-400"})}),e.jsxs("div",{children:[e.jsx(c,{className:"text-base font-semibold",children:s("Monthly Performance")}),e.jsx(x,{className:"text-xs",children:s("This year statistics")})]})]})}),e.jsx(l,{className:"pt-4",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"p-3 rounded-lg bg-gradient-to-br from-blue-50 to-blue-100 dark:from-blue-950/30 dark:to-blue-900/20 border border-blue-200 dark:border-blue-800",children:[e.jsxs("div",{className:"flex items-center justify-between mb-1",children:[e.jsx("p",{className:"text-sm font-medium text-blue-900 dark:text-blue-100",children:s("Referral Signups")}),e.jsx(d,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})]}),e.jsx("p",{className:"text-2xl font-bold text-blue-600 dark:text-blue-400",children:r.monthlyReferrals||0}),e.jsxs("p",{className:"text-xs text-blue-700 dark:text-blue-300 mt-1 flex items-center gap-1",children:[e.jsx(N,{className:"h-3 w-3"}),s("Total this year")]})]}),e.jsxs("div",{className:"p-3 rounded-lg bg-gradient-to-br from-green-50 to-green-100 dark:from-green-950/30 dark:to-green-900/20 border border-green-200 dark:border-green-800",children:[e.jsxs("div",{className:"flex items-center justify-between mb-1",children:[e.jsx("p",{className:"text-sm font-medium text-green-900 dark:text-green-100",children:s("Payouts Processed")}),e.jsx(h,{className:"h-4 w-4 text-green-600 dark:text-green-400"})]}),e.jsxs("p",{className:"text-2xl font-bold text-green-600 dark:text-green-400",children:[n,r.monthlyPayouts||0]}),e.jsxs("p",{className:"text-xs text-green-700 dark:text-green-300 mt-1 flex items-center gap-1",children:[e.jsx(N,{className:"h-3 w-3"}),s("Total this year")]})]})]})})]})]})]}):e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(a,{className:"border-l-4 border-l-green-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Total Referrals")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-green-600 dark:text-green-400",children:r.totalReferrals}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("All referrals")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:e.jsx(d,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-blue-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Referred Users")}),e.jsx("h3",{className:"mt-1 text-2xl font-bold text-blue-600 dark:text-blue-400",children:r.referredUsersCount||0}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Active users")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center",children:e.jsx(d,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-amber-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Total Earned")}),e.jsxs("h3",{className:"mt-1 text-2xl font-bold text-amber-600 dark:text-amber-400",children:[n,r.totalEarned]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Commission earned")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-amber-100 dark:bg-amber-900/30 flex items-center justify-center",children:e.jsx(h,{className:"h-5 w-5 text-amber-600 dark:text-amber-400"})})]})})}),e.jsx(a,{className:"border-l-4 border-l-purple-500 hover:shadow-lg transition-shadow duration-300",children:e.jsx(l,{className:"p-5",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:s("Available Balance")}),e.jsxs("h3",{className:"mt-1 text-2xl font-bold text-purple-600 dark:text-purple-400",children:[n,r.availableBalance.toFixed(2)]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Ready to withdraw")})]}),e.jsx("div",{className:"h-10 w-10 rounded-full bg-purple-100 dark:bg-purple-900/30 flex items-center justify-center",children:e.jsx(u,{className:"h-5 w-5 text-purple-600 dark:text-purple-400"})})]})})})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[e.jsxs(a,{className:"hover:shadow-lg transition-shadow duration-300",children:[e.jsx(i,{className:"pb-3 bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-950/20 dark:to-indigo-950/20",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"h-9 w-9 rounded-lg bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center",children:e.jsx(v,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{children:[e.jsx(c,{className:"text-base font-semibold",children:s("Your Referral Link")}),e.jsx(x,{className:"text-xs",children:s("Share and earn commissions")})]})]})}),e.jsxs(l,{className:"pt-4",children:[e.jsxs("div",{className:"flex space-x-2",children:[e.jsx(P,{value:m||"",readOnly:!0,className:"flex-1 font-mono text-sm"}),e.jsx(A,{onClick:y,variant:"outline",size:"icon",className:"shrink-0",children:k?e.jsx(U,{className:"h-4 w-4 text-green-600"}):e.jsx(v,{className:"h-4 w-4"})})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2 p-2 bg-muted/50 rounded-lg",children:s("Share this link to earn commissions when users sign up and purchase plans")})]})]}),e.jsxs(a,{className:"hover:shadow-lg transition-shadow duration-300",children:[e.jsx(i,{className:"pb-3 bg-gradient-to-r from-purple-50 to-pink-50 dark:from-purple-950/20 dark:to-pink-950/20",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"h-9 w-9 rounded-lg bg-purple-100 dark:bg-purple-900/30 flex items-center justify-center",children:e.jsx(d,{className:"h-4 w-4 text-purple-600 dark:text-purple-400"})}),e.jsxs("div",{children:[e.jsx(c,{className:"text-base font-semibold",children:s("Recent Referred Users")}),e.jsx(x,{className:"text-xs",children:s("Latest referrals")})]})]})}),e.jsx(l,{className:"pt-4",children:o&&o.length>0?e.jsx("div",{className:"space-y-2",children:o.map(t=>e.jsxs("div",{className:"flex items-center justify-between p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[e.jsxs("div",{className:"flex items-center space-x-3 min-w-0",children:[t.avatar?e.jsx("img",{src:t.avatar,alt:t.name,className:"w-8 h-8 rounded-full object-cover shrink-0"}):e.jsx("div",{className:"w-8 h-8 bg-gradient-to-br from-blue-500 to-purple-500 rounded-full flex items-center justify-center shrink-0",children:e.jsx("span",{className:"text-xs font-semibold text-white",children:t.name.charAt(0).toUpperCase()})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"font-semibold text-sm truncate",children:t.name}),e.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(b,{className:"h-3 w-3 shrink-0"}),e.jsx("span",{className:"truncate",children:t.email})]})]})]}),e.jsx("div",{className:"text-right ml-3 shrink-0",children:t.plan?e.jsx(f,{variant:"default",className:"text-xs bg-green-100 text-green-700 dark:bg-green-900/30 dark:text-green-400",children:t.plan.name}):e.jsx(f,{variant:"secondary",className:"text-xs",children:s("No Plan")})})]},t.id))}):e.jsxs("div",{className:"text-center py-6",children:[e.jsx(d,{className:"h-10 w-10 text-muted-foreground mx-auto mb-2 opacity-50"}),e.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:s("No referred users yet")}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Share your link to get started")})]})})]})]})]})}export{G as default}; diff --git a/public/build/assets/referral-settings-C9bquCXp.js b/public/build/assets/referral-settings-BfItF-NA.js similarity index 93% rename from public/build/assets/referral-settings-C9bquCXp.js rename to public/build/assets/referral-settings-BfItF-NA.js index 92c92ff16..d7f61d99f 100644 --- a/public/build/assets/referral-settings-C9bquCXp.js +++ b/public/build/assets/referral-settings-BfItF-NA.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as f,b as j,C as _,m as v,n as C,l as g,L as c,I as h,o as N,t as n}from"./app-CfhhiFAk.js";import{T as y}from"./textarea-kpRjGGLz.js";import{S as F}from"./switch-CKduD2wX.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function I({settings:d,currencySymbol:u,globalSettings:r}){const{t:s}=f(),{data:t,setData:m,post:p,processing:l,errors:o}=j({is_enabled:d.is_enabled,commission_percentage:d.commission_percentage,threshold_amount:d.threshold_amount,guidelines:d.guidelines||""}),x=i=>{i.preventDefault(),r!=null&&r.is_demo||n.loading(s("Updating referral settings...")),p(route("referral.settings.update"),{onSuccess:a=>{r!=null&&r.is_demo||n.dismiss(),a.props.flash.success?n.success(s(a.props.flash.success)):a.props.flash.error&&n.error(s(a.props.flash.error))},onError:a=>{r!=null&&r.is_demo||n.dismiss(),typeof a=="string"?n.error(s(a)):n.error(s("Failed to update referral settings: {{errors}}",{errors:Object.values(a).join(", ")}))}})};return e.jsxs(_,{children:[e.jsx(v,{children:e.jsx(C,{className:"text-base font-semibold",children:s("Referral Program Settings")})}),e.jsx(g,{children:e.jsxs("form",{onSubmit:x,className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(F,{id:"is_enabled",checked:t.is_enabled,onCheckedChange:i=>m("is_enabled",i)}),e.jsx(c,{htmlFor:"is_enabled",children:s("Enable Referral Program")})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(c,{htmlFor:"commission_percentage",children:s("Commission Percentage (%)")}),e.jsx(h,{id:"commission_percentage",type:"number",step:"0.01",min:"0",max:"100",value:t.commission_percentage,onChange:i=>m("commission_percentage",i.target.value)}),o.commission_percentage&&e.jsx("p",{className:"text-sm text-red-500",children:o.commission_percentage})]}),e.jsxs("div",{children:[e.jsxs(c,{htmlFor:"threshold_amount",children:[s("Minimum Threshold Amount")," ",u]}),e.jsx(h,{id:"threshold_amount",type:"number",step:"0.01",min:"0",value:t.threshold_amount,onChange:i=>m("threshold_amount",i.target.value)}),o.threshold_amount&&e.jsx("p",{className:"text-sm text-red-500",children:o.threshold_amount})]})]}),e.jsxs("div",{children:[e.jsx(c,{htmlFor:"guidelines",children:s("Referral Guidelines")}),e.jsx(y,{id:"guidelines",value:t.guidelines,onChange:i=>m("guidelines",i.target.value),placeholder:s("Enter referral program guidelines and terms..."),rows:6}),o.guidelines&&e.jsx("p",{className:"text-sm text-red-500",children:o.guidelines})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(N,{type:"submit",disabled:l,children:s(l?"Saving...":"Save Settings")})})]})})]})}export{I as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as f,b as j,C as _,m as v,n as C,l as g,L as c,I as h,o as N,t as n}from"./app-Dya84jp7.js";import{T as y}from"./textarea-yeg8ONhy.js";import{S as F}from"./switch-DyHgm-Sg.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function I({settings:d,currencySymbol:u,globalSettings:r}){const{t:s}=f(),{data:t,setData:m,post:p,processing:l,errors:o}=j({is_enabled:d.is_enabled,commission_percentage:d.commission_percentage,threshold_amount:d.threshold_amount,guidelines:d.guidelines||""}),x=i=>{i.preventDefault(),r!=null&&r.is_demo||n.loading(s("Updating referral settings...")),p(route("referral.settings.update"),{onSuccess:a=>{r!=null&&r.is_demo||n.dismiss(),a.props.flash.success?n.success(s(a.props.flash.success)):a.props.flash.error&&n.error(s(a.props.flash.error))},onError:a=>{r!=null&&r.is_demo||n.dismiss(),typeof a=="string"?n.error(s(a)):n.error(s("Failed to update referral settings: {{errors}}",{errors:Object.values(a).join(", ")}))}})};return e.jsxs(_,{children:[e.jsx(v,{children:e.jsx(C,{className:"text-base font-semibold",children:s("Referral Program Settings")})}),e.jsx(g,{children:e.jsxs("form",{onSubmit:x,className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(F,{id:"is_enabled",checked:t.is_enabled,onCheckedChange:i=>m("is_enabled",i)}),e.jsx(c,{htmlFor:"is_enabled",children:s("Enable Referral Program")})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(c,{htmlFor:"commission_percentage",children:s("Commission Percentage (%)")}),e.jsx(h,{id:"commission_percentage",type:"number",step:"0.01",min:"0",max:"100",value:t.commission_percentage,onChange:i=>m("commission_percentage",i.target.value)}),o.commission_percentage&&e.jsx("p",{className:"text-sm text-red-500",children:o.commission_percentage})]}),e.jsxs("div",{children:[e.jsxs(c,{htmlFor:"threshold_amount",children:[s("Minimum Threshold Amount")," ",u]}),e.jsx(h,{id:"threshold_amount",type:"number",step:"0.01",min:"0",value:t.threshold_amount,onChange:i=>m("threshold_amount",i.target.value)}),o.threshold_amount&&e.jsx("p",{className:"text-sm text-red-500",children:o.threshold_amount})]})]}),e.jsxs("div",{children:[e.jsx(c,{htmlFor:"guidelines",children:s("Referral Guidelines")}),e.jsx(y,{id:"guidelines",value:t.guidelines,onChange:i=>m("guidelines",i.target.value),placeholder:s("Enter referral program guidelines and terms..."),rows:6}),o.guidelines&&e.jsx("p",{className:"text-sm text-red-500",children:o.guidelines})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(N,{type:"submit",disabled:l,children:s(l?"Saving...":"Save Settings")})})]})})]})}export{I as default}; diff --git a/public/build/assets/referred-users-C2Xmp0nE.js b/public/build/assets/referred-users-BvGde4A8.js similarity index 81% rename from public/build/assets/referred-users-C2Xmp0nE.js rename to public/build/assets/referred-users-BvGde4A8.js index 3bdf6a11a..78d4b591c 100644 --- a/public/build/assets/referred-users-C2Xmp0nE.js +++ b/public/build/assets/referred-users-BvGde4A8.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as g}from"./page-template-BTxLyiDA.js";import{u as N,c as b,C as n,l as m,m as v,n as y,B as c,r as x}from"./app-CfhhiFAk.js";import{P as w}from"./pagination-D8A_HnL5.js";import{U as p}from"./users-C4LpG59H.js";import{C}from"./circle-check-big-C5Cqj7-2.js";import{D as k}from"./dollar-sign-DYXFWWsE.js";import{C as P}from"./calendar-CfUpdaK5.js";import{A as U}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function fe(){const{t:r}=N(),{props:f}=b(),{referredUsers:a,userType:h,currencySymbol:l}=f,o=s=>{var i;return((i=s.referrals)==null?void 0:i.reduce((t,d)=>t+(Number(d.amount)||0),0))||0},j=s=>{var t;if(!s.plan)return null;const i=(t=s.plan_orders)==null?void 0:t[0];if(i){const d=i.billing_cycle==="yearly";return{name:s.plan.name,price:i.final_price,cycle:d?"year":"month"}}return{name:s.plan.name,price:s.plan.price,cycle:"month"}},u=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Referral Program"),href:route("referral.index")},{title:r("Referral Users")}];return e.jsx(g,{title:r("Referred Users"),url:"/referral/referred-users",breadcrumbs:u,actions:[{label:r("Back"),icon:e.jsx(U,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>x.get(route("referral.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Referred Users")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:a.total})]}),e.jsx("div",{className:"rounded-full bg-green-100 p-3 dark:bg-green-900",children:e.jsx(p,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Users with Plans")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:a.data.filter(s=>s.plan).length})]}),e.jsx("div",{className:"rounded-full bg-blue-100 p-3 dark:bg-blue-900",children:e.jsx(C,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Commission Earned")}),e.jsxs("p",{className:"mt-2 text-2xl font-bold",children:[l,(a.data.reduce((s,i)=>s+o(i),0)||0).toFixed(2)]})]}),e.jsx("div",{className:"rounded-full bg-yellow-100 p-3 dark:bg-yellow-900",children:e.jsx(k,{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400"})})]})})})]}),e.jsxs(n,{children:[e.jsx(v,{children:e.jsx(y,{className:"text-base font-semibold",children:r("Referred Users List")})}),e.jsx(m,{children:a.data.length===0?e.jsxs("div",{className:"text-center py-12",children:[e.jsx(p,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e.jsx("p",{className:"text-base font-semibold text-muted-foreground mb-2",children:r("No referred users yet")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:r(h==="superadmin"?"No users have registered using referral codes yet.":"Share your referral link to start earning commissions.")})]}):e.jsx("div",{className:"space-y-4",children:a.data.map(s=>{var i;return e.jsxs("div",{className:"border rounded-lg p-4 hover:shadow-md transition-shadow",children:[e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex items-start space-x-3 flex-1",children:[e.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center flex-shrink-0",children:e.jsx("span",{className:"text-sm font-medium text-primary",children:s.name.charAt(0).toUpperCase()})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-semibold",children:s.name}),e.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:s.email}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{className:"h-4 w-4 text-muted-foreground"}),e.jsxs("span",{className:"text-xs text-muted-foreground",children:[r("Registered")," ",((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.created_at,!1))||new Date(s.created_at).toLocaleDateString()]})]})]})]}),e.jsxs("div",{className:"flex items-start space-x-6 flex-shrink-0",children:[e.jsx("div",{className:"text-right",children:(()=>{const t=j(s);return t?e.jsxs("div",{children:[e.jsx(c,{variant:"default",className:"mb-1.5",children:t.name}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[l,t.price,"/",r(t.cycle)]})]}):e.jsx(c,{variant:"secondary",children:r("No Plan")})})()}),o(s)>0&&e.jsxs("div",{className:"text-right min-w-[80px]",children:[e.jsxs("p",{className:"text-sm font-semibold text-green-600",children:["+",l,o(s)]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:r("Commission")})]})]})]}),s.referrals&&s.referrals.length>0&&e.jsxs("div",{className:"mt-4 pt-4 border-t",children:[e.jsx("p",{className:"text-sm font-semibold mb-2",children:r("Commission History")}),e.jsx("div",{className:"space-y-2",children:s.referrals.map(t=>e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:[t.commission_percentage,"% ",r("commission")]}),e.jsxs("span",{className:"text-sm font-semibold text-green-600",children:["+",l,t.amount]})]},t.id))})]})]},s.id)})})})]}),a.last_page>1&&e.jsx(w,{from:a.from,to:a.to,total:a.total,links:a.links,currentPage:a.current_page,lastPage:a.last_page,entityName:r("users"),onPageChange:s=>{x.visit(s,{preserveState:!0,preserveScroll:!0})}})]})})}export{fe as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as g}from"./page-template-CLNVC8w_.js";import{u as N,c as b,C as n,l as m,m as v,n as y,B as c,r as x}from"./app-Dya84jp7.js";import{P as w}from"./pagination-4PUepASD.js";import{U as p}from"./users-BzCDZrS0.js";import{C}from"./circle-check-big-Cju4ilPH.js";import{D as k}from"./dollar-sign-DH2Tc178.js";import{C as P}from"./calendar-DuRYaSj5.js";import{A as U}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function fe(){const{t:r}=N(),{props:f}=b(),{referredUsers:a,userType:h,currencySymbol:l}=f,o=s=>{var i;return((i=s.referrals)==null?void 0:i.reduce((t,d)=>t+(Number(d.amount)||0),0))||0},j=s=>{var t;if(!s.plan)return null;const i=(t=s.plan_orders)==null?void 0:t[0];if(i){const d=i.billing_cycle==="yearly";return{name:s.plan.name,price:i.final_price,cycle:d?"year":"month"}}return{name:s.plan.name,price:s.plan.price,cycle:"month"}},u=[{title:r("Dashboard"),href:route("dashboard")},{title:r("Referral Program"),href:route("referral.index")},{title:r("Referral Users")}];return e.jsx(g,{title:r("Referred Users"),url:"/referral/referred-users",breadcrumbs:u,actions:[{label:r("Back"),icon:e.jsx(U,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>x.get(route("referral.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Referred Users")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:a.total})]}),e.jsx("div",{className:"rounded-full bg-green-100 p-3 dark:bg-green-900",children:e.jsx(p,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Users with Plans")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:a.data.filter(s=>s.plan).length})]}),e.jsx("div",{className:"rounded-full bg-blue-100 p-3 dark:bg-blue-900",children:e.jsx(C,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:r("Total Commission Earned")}),e.jsxs("p",{className:"mt-2 text-2xl font-bold",children:[l,(a.data.reduce((s,i)=>s+o(i),0)||0).toFixed(2)]})]}),e.jsx("div",{className:"rounded-full bg-yellow-100 p-3 dark:bg-yellow-900",children:e.jsx(k,{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400"})})]})})})]}),e.jsxs(n,{children:[e.jsx(v,{children:e.jsx(y,{className:"text-base font-semibold",children:r("Referred Users List")})}),e.jsx(m,{children:a.data.length===0?e.jsxs("div",{className:"text-center py-12",children:[e.jsx(p,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e.jsx("p",{className:"text-base font-semibold text-muted-foreground mb-2",children:r("No referred users yet")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:r(h==="superadmin"?"No users have registered using referral codes yet.":"Share your referral link to start earning commissions.")})]}):e.jsx("div",{className:"space-y-4",children:a.data.map(s=>{var i;return e.jsxs("div",{className:"border rounded-lg p-4 hover:shadow-md transition-shadow",children:[e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex items-start space-x-3 flex-1",children:[e.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center flex-shrink-0",children:e.jsx("span",{className:"text-sm font-medium text-primary",children:s.name.charAt(0).toUpperCase()})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-semibold",children:s.name}),e.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:s.email}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{className:"h-4 w-4 text-muted-foreground"}),e.jsxs("span",{className:"text-xs text-muted-foreground",children:[r("Registered")," ",((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.created_at,!1))||new Date(s.created_at).toLocaleDateString()]})]})]})]}),e.jsxs("div",{className:"flex items-start space-x-6 flex-shrink-0",children:[e.jsx("div",{className:"text-right",children:(()=>{const t=j(s);return t?e.jsxs("div",{children:[e.jsx(c,{variant:"default",className:"mb-1.5",children:t.name}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[l,t.price,"/",r(t.cycle)]})]}):e.jsx(c,{variant:"secondary",children:r("No Plan")})})()}),o(s)>0&&e.jsxs("div",{className:"text-right min-w-[80px]",children:[e.jsxs("p",{className:"text-sm font-semibold text-green-600",children:["+",l,o(s)]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:r("Commission")})]})]})]}),s.referrals&&s.referrals.length>0&&e.jsxs("div",{className:"mt-4 pt-4 border-t",children:[e.jsx("p",{className:"text-sm font-semibold mb-2",children:r("Commission History")}),e.jsx("div",{className:"space-y-2",children:s.referrals.map(t=>e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:[t.commission_percentage,"% ",r("commission")]}),e.jsxs("span",{className:"text-sm font-semibold text-green-600",children:["+",l,t.amount]})]},t.id))})]})]},s.id)})})})]}),a.last_page>1&&e.jsx(w,{from:a.from,to:a.to,total:a.total,links:a.links,currentPage:a.current_page,lastPage:a.last_page,entityName:r("users"),onPageChange:s=>{x.visit(s,{preserveState:!0,preserveScroll:!0})}})]})})}export{fe as default}; diff --git a/public/build/assets/referred-users-section-Cl-gSTeU.js b/public/build/assets/referred-users-section-CUDX25qY.js similarity index 94% rename from public/build/assets/referred-users-section-Cl-gSTeU.js rename to public/build/assets/referred-users-section-CUDX25qY.js index 818537c93..a5048d91e 100644 --- a/public/build/assets/referred-users-section-Cl-gSTeU.js +++ b/public/build/assets/referred-users-section-CUDX25qY.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as j,C as r,l as m,m as f,n as g,r as u}from"./app-CfhhiFAk.js";import{P as N}from"./pagination-D8A_HnL5.js";import{U as o}from"./users-C4LpG59H.js";import{C as b}from"./circle-check-big-C5Cqj7-2.js";import{D as v}from"./dollar-sign-DYXFWWsE.js";import{C as y}from"./calendar-CfUpdaK5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function E({referredUsers:l,userType:x,currencySymbol:i}){const{t}=j(),d=s=>{var n;return((n=s.referrals)==null?void 0:n.reduce((a,c)=>a+(Number(c.amount)||0),0))||0},p=()=>l.data.reduce((s,n)=>s+d(n),0)||0,h=s=>{var a;if(!s.plan)return null;const n=(a=s.plan_orders)==null?void 0:a[0];if(n){const c=n.billing_cycle==="yearly";return{name:s.plan.name,price:n.final_price,cycle:c?"year":"month"}}return{name:s.plan.name,price:s.plan.price,cycle:"month"}};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsx(r,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:t("Total Referred Users")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:l.total})]}),e.jsx("div",{className:"rounded-full bg-green-100 p-3 dark:bg-green-900",children:e.jsx(o,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(r,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:t("Users with Plans")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:l.data.filter(s=>s.plan).length})]}),e.jsx("div",{className:"rounded-full bg-blue-100 p-3 dark:bg-blue-900",children:e.jsx(b,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(r,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:t("Total Commission Earned")}),e.jsxs("p",{className:"mt-2 text-2xl font-bold",children:[i,p().toFixed(2)]})]}),e.jsx("div",{className:"rounded-full bg-yellow-100 p-3 dark:bg-yellow-900",children:e.jsx(v,{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400"})})]})})})]}),e.jsxs(r,{children:[e.jsx(f,{children:e.jsx(g,{className:"text-base font-semibold",children:t("Referred Users List")})}),e.jsx(m,{children:l.data.length===0?e.jsxs("div",{className:"text-center py-12",children:[e.jsx(o,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e.jsx("p",{className:"text-base font-semibold text-muted-foreground mb-2",children:t("No referred users yet")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t(x==="superadmin"?"No users have registered using referral codes yet.":"Share your referral link to start earning commissions.")})]}):e.jsx("div",{className:"space-y-4",children:l.data.map(s=>{var n;return e.jsxs("div",{className:"border rounded-lg p-4 hover:shadow-md transition-shadow",children:[e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex items-start space-x-3 flex-1",children:[e.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center flex-shrink-0",children:e.jsx("span",{className:"text-sm font-medium text-primary",children:s.name.charAt(0).toUpperCase()})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-semibold",children:s.name}),e.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:s.email}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(y,{className:"h-4 w-4 text-muted-foreground"}),e.jsxs("span",{className:"text-xs text-muted-foreground",children:[t("Registered")," ",((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.created_at,!1))||new Date(s.created_at).toLocaleDateString()]})]})]})]}),e.jsxs("div",{className:"flex items-start space-x-6 flex-shrink-0",children:[e.jsx("div",{className:"text-right",children:(()=>{const a=h(s);return a?e.jsxs("div",{children:[e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10 mb-1.5",children:a.name}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[i,a.price,"/",t(a.cycle)]})]}):e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:t("No Plan")})})()}),d(s)>0&&e.jsxs("div",{className:"text-right min-w-[80px]",children:[e.jsxs("p",{className:"text-sm font-semibold text-green-600",children:["+",i,d(s)]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:t("Commission")})]})]})]}),s.referrals&&s.referrals.length>0&&e.jsxs("div",{className:"mt-4 pt-4 border-t",children:[e.jsx("p",{className:"text-sm font-semibold mb-2",children:t("Commission History")}),e.jsx("div",{className:"space-y-2",children:s.referrals.map(a=>e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:[a.commission_percentage,"% ",t("commission")]}),e.jsxs("span",{className:"text-sm font-semibold text-green-600",children:["+",i,a.amount]})]},a.id))})]})]},s.id)})})})]}),l.last_page>1&&e.jsx(N,{from:l.from,to:l.to,total:l.total,links:l.links,currentPage:l.current_page,lastPage:l.last_page,entityName:t("users"),onPageChange:s=>{u.visit(s,{preserveState:!0,preserveScroll:!0,only:["referredUsers"]})}})]})}export{E as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as j,C as r,l as m,m as f,n as g,r as u}from"./app-Dya84jp7.js";import{P as N}from"./pagination-4PUepASD.js";import{U as o}from"./users-BzCDZrS0.js";import{C as b}from"./circle-check-big-Cju4ilPH.js";import{D as v}from"./dollar-sign-DH2Tc178.js";import{C as y}from"./calendar-DuRYaSj5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function E({referredUsers:l,userType:x,currencySymbol:i}){const{t}=j(),d=s=>{var n;return((n=s.referrals)==null?void 0:n.reduce((a,c)=>a+(Number(c.amount)||0),0))||0},p=()=>l.data.reduce((s,n)=>s+d(n),0)||0,h=s=>{var a;if(!s.plan)return null;const n=(a=s.plan_orders)==null?void 0:a[0];if(n){const c=n.billing_cycle==="yearly";return{name:s.plan.name,price:n.final_price,cycle:c?"year":"month"}}return{name:s.plan.name,price:s.plan.price,cycle:"month"}};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsx(r,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:t("Total Referred Users")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:l.total})]}),e.jsx("div",{className:"rounded-full bg-green-100 p-3 dark:bg-green-900",children:e.jsx(o,{className:"h-5 w-5 text-green-600 dark:text-green-400"})})]})})}),e.jsx(r,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:t("Users with Plans")}),e.jsx("p",{className:"mt-2 text-2xl font-bold",children:l.data.filter(s=>s.plan).length})]}),e.jsx("div",{className:"rounded-full bg-blue-100 p-3 dark:bg-blue-900",children:e.jsx(b,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})})]})})}),e.jsx(r,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:t("Total Commission Earned")}),e.jsxs("p",{className:"mt-2 text-2xl font-bold",children:[i,p().toFixed(2)]})]}),e.jsx("div",{className:"rounded-full bg-yellow-100 p-3 dark:bg-yellow-900",children:e.jsx(v,{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400"})})]})})})]}),e.jsxs(r,{children:[e.jsx(f,{children:e.jsx(g,{className:"text-base font-semibold",children:t("Referred Users List")})}),e.jsx(m,{children:l.data.length===0?e.jsxs("div",{className:"text-center py-12",children:[e.jsx(o,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e.jsx("p",{className:"text-base font-semibold text-muted-foreground mb-2",children:t("No referred users yet")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t(x==="superadmin"?"No users have registered using referral codes yet.":"Share your referral link to start earning commissions.")})]}):e.jsx("div",{className:"space-y-4",children:l.data.map(s=>{var n;return e.jsxs("div",{className:"border rounded-lg p-4 hover:shadow-md transition-shadow",children:[e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex items-start space-x-3 flex-1",children:[e.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center flex-shrink-0",children:e.jsx("span",{className:"text-sm font-medium text-primary",children:s.name.charAt(0).toUpperCase()})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-semibold",children:s.name}),e.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:s.email}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(y,{className:"h-4 w-4 text-muted-foreground"}),e.jsxs("span",{className:"text-xs text-muted-foreground",children:[t("Registered")," ",((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.created_at,!1))||new Date(s.created_at).toLocaleDateString()]})]})]})]}),e.jsxs("div",{className:"flex items-start space-x-6 flex-shrink-0",children:[e.jsx("div",{className:"text-right",children:(()=>{const a=h(s);return a?e.jsxs("div",{children:[e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10 mb-1.5",children:a.name}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[i,a.price,"/",t(a.cycle)]})]}):e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:t("No Plan")})})()}),d(s)>0&&e.jsxs("div",{className:"text-right min-w-[80px]",children:[e.jsxs("p",{className:"text-sm font-semibold text-green-600",children:["+",i,d(s)]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:t("Commission")})]})]})]}),s.referrals&&s.referrals.length>0&&e.jsxs("div",{className:"mt-4 pt-4 border-t",children:[e.jsx("p",{className:"text-sm font-semibold mb-2",children:t("Commission History")}),e.jsx("div",{className:"space-y-2",children:s.referrals.map(a=>e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:[a.commission_percentage,"% ",t("commission")]}),e.jsxs("span",{className:"text-sm font-semibold text-green-600",children:["+",i,a.amount]})]},a.id))})]})]},s.id)})})})]}),l.last_page>1&&e.jsx(N,{from:l.from,to:l.to,total:l.total,links:l.links,currentPage:l.current_page,lastPage:l.last_page,entityName:t("users"),onPageChange:s=>{u.visit(s,{preserveState:!0,preserveScroll:!0,only:["referredUsers"]})}})]})}export{E as default}; diff --git a/public/build/assets/refresh-cw-DWorkL8J.js b/public/build/assets/refresh-cw-D_C_cDSu.js similarity index 91% rename from public/build/assets/refresh-cw-DWorkL8J.js rename to public/build/assets/refresh-cw-D_C_cDSu.js index 9f2a39a62..49b8cd02f 100644 --- a/public/build/assets/refresh-cw-DWorkL8J.js +++ b/public/build/assets/refresh-cw-D_C_cDSu.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/register-lqn-QIsw.js b/public/build/assets/register-CV6QGhcj.js similarity index 87% rename from public/build/assets/register-lqn-QIsw.js rename to public/build/assets/register-CV6QGhcj.js index 32a74c965..ebd345238 100644 --- a/public/build/assets/register-lqn-QIsw.js +++ b/public/build/assets/register-CV6QGhcj.js @@ -1 +1 @@ -import{r as j,j as e}from"./ui-Z445SNHD.js";import{u as N,c as v,a as k,b as F,L as l,I as d,T as E}from"./app-CfhhiFAk.js";import{I as m}from"./input-error-TZ1o_PqE.js";import{T as I}from"./text-link-CgVy1bNC.js";import{C as _}from"./checkbox-1_Cig_g5.js";import{A as T}from"./auth-layout-ISq1MRqV.js";import{R}from"./recaptcha-D-hXS7fB.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./use-favicon-Dgw0iu9k.js";import"./credit-card-BmdpMcMw.js";function Y({referralCode:x,planId:h}){const{t:o}=N(),{globalSettings:i}=v().props,g=i==null?void 0:i.termsConditionsUrl,[b,c]=j.useState(""),{themeColor:u,customColor:y}=k(),t=u==="custom"?y:E[u],{data:s,setData:a,post:f,processing:p,errors:n,reset:w}=F({name:"",email:"",password:"",password_confirmation:"",terms:!1,plan_id:h,referral_code:x}),C=r=>{r.preventDefault(),f(route("register"),{data:{...s,recaptcha_token:b},onFinish:()=>w("password","password_confirmation")})};return e.jsx(T,{title:o("Create your account"),description:o("Enter your details below to get started"),children:e.jsxs("form",{className:"space-y-5",onSubmit:C,children:[e.jsxs("div",{className:"mb-4",children:[e.jsx(l,{htmlFor:"name",className:"block text-sm font-medium text-gray-900",children:o("Full name")}),e.jsx(d,{id:"name",type:"text",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"name",value:s.name,onChange:r=>a("name",r.target.value),placeholder:o("Enter your full name"),className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=t,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),e.jsx(m,{message:n.name})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx(l,{htmlFor:"email",className:"block text-sm font-medium text-gray-900",children:o("Email address")}),e.jsx(d,{id:"email",type:"email",required:!0,tabIndex:2,autoComplete:"email",value:s.email,onChange:r=>a("email",r.target.value),placeholder:"Enter your email",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=t,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),e.jsx(m,{message:n.email})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx(l,{htmlFor:"password",className:"block text-sm font-medium text-gray-900",children:o("Password")}),e.jsx(d,{id:"password",type:"password",required:!0,tabIndex:3,autoComplete:"new-password",value:s.password,onChange:r=>a("password",r.target.value),placeholder:"Enter your password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=t,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),e.jsx(m,{message:n.password})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx(l,{htmlFor:"password_confirmation",className:"block text-sm font-medium text-gray-900",children:o("Confirm password")}),e.jsx(d,{id:"password_confirmation",type:"password",required:!0,tabIndex:4,autoComplete:"new-password",value:s.password_confirmation,onChange:r=>a("password_confirmation",r.target.value),placeholder:"Confirm your password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=t,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),e.jsx(m,{message:n.password_confirmation})]}),e.jsxs("div",{className:"flex items-center !mt-4 !mb-5",children:[e.jsx(_,{id:"terms",name:"terms",checked:s.terms,onClick:()=>a("terms",!s.terms),tabIndex:5,className:"border border-gray-300 rounded"}),e.jsxs(l,{htmlFor:"terms",className:"ml-2 text-sm text-gray-600",children:[o("I agree to the")," ",e.jsx("a",{href:g||route("home"),target:"_blank",rel:"noopener noreferrer",style:{color:t},className:"hover:underline",children:o("Terms and Conditions")})]})]}),e.jsx(m,{message:n.terms}),e.jsx(R,{onVerify:c,onExpired:()=>c(""),onError:()=>c("")}),e.jsx("button",{type:"submit",disabled:p,tabIndex:6,className:"cursor-pointer w-full text-white py-2.5 text-sm font-medium tracking-wide transition-all duration-200 rounded-md shadow-md hover:shadow-lg transform hover:scale-[1.02] disabled:opacity-50",style:{backgroundColor:t},children:o(p?"Creating account...":"Create Account")}),e.jsx("div",{className:"text-center",children:e.jsxs("p",{className:"text-sm text-gray-500",children:[o("Already have an account?")," ",e.jsx(I,{href:route("login"),className:"font-medium hover:underline",style:{color:t},tabIndex:7,children:o("Sign in")})]})})]})})}export{Y as default}; +import{r as j,j as e}from"./ui-Z445SNHD.js";import{u as N,c as v,a as k,b as F,L as l,I as d,T as E}from"./app-Dya84jp7.js";import{I as m}from"./input-error-eAcZLOer.js";import{T as I}from"./text-link-Qbn0vFC1.js";import{C as _}from"./checkbox-BLrehV38.js";import{A as T}from"./auth-layout-CuYQAqvO.js";import{R}from"./recaptcha-DWdHEy2a.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";import"./CookieConsentBanner-dwye0O-l.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./use-favicon-B8cqaHhj.js";import"./credit-card-BKi_ThdS.js";function Y({referralCode:x,planId:h}){const{t:o}=N(),{globalSettings:i}=v().props,g=i==null?void 0:i.termsConditionsUrl,[b,c]=j.useState(""),{themeColor:u,customColor:y}=k(),t=u==="custom"?y:E[u],{data:s,setData:a,post:f,processing:p,errors:n,reset:w}=F({name:"",email:"",password:"",password_confirmation:"",terms:!1,plan_id:h,referral_code:x}),C=r=>{r.preventDefault(),f(route("register"),{data:{...s,recaptcha_token:b},onFinish:()=>w("password","password_confirmation")})};return e.jsx(T,{title:o("Create your account"),description:o("Enter your details below to get started"),children:e.jsxs("form",{className:"space-y-5",onSubmit:C,children:[e.jsxs("div",{className:"mb-4",children:[e.jsx(l,{htmlFor:"name",className:"block text-sm font-medium text-gray-900",children:o("Full name")}),e.jsx(d,{id:"name",type:"text",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"name",value:s.name,onChange:r=>a("name",r.target.value),placeholder:o("Enter your full name"),className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=t,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),e.jsx(m,{message:n.name})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx(l,{htmlFor:"email",className:"block text-sm font-medium text-gray-900",children:o("Email address")}),e.jsx(d,{id:"email",type:"email",required:!0,tabIndex:2,autoComplete:"email",value:s.email,onChange:r=>a("email",r.target.value),placeholder:"Enter your email",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=t,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),e.jsx(m,{message:n.email})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx(l,{htmlFor:"password",className:"block text-sm font-medium text-gray-900",children:o("Password")}),e.jsx(d,{id:"password",type:"password",required:!0,tabIndex:3,autoComplete:"new-password",value:s.password,onChange:r=>a("password",r.target.value),placeholder:"Enter your password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=t,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),e.jsx(m,{message:n.password})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx(l,{htmlFor:"password_confirmation",className:"block text-sm font-medium text-gray-900",children:o("Confirm password")}),e.jsx(d,{id:"password_confirmation",type:"password",required:!0,tabIndex:4,autoComplete:"new-password",value:s.password_confirmation,onChange:r=>a("password_confirmation",r.target.value),placeholder:"Confirm your password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=t,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),e.jsx(m,{message:n.password_confirmation})]}),e.jsxs("div",{className:"flex items-center !mt-4 !mb-5",children:[e.jsx(_,{id:"terms",name:"terms",checked:s.terms,onClick:()=>a("terms",!s.terms),tabIndex:5,className:"border border-gray-300 rounded"}),e.jsxs(l,{htmlFor:"terms",className:"ml-2 text-sm text-gray-600",children:[o("I agree to the")," ",e.jsx("a",{href:g||route("home"),target:"_blank",rel:"noopener noreferrer",style:{color:t},className:"hover:underline",children:o("Terms and Conditions")})]})]}),e.jsx(m,{message:n.terms}),e.jsx(R,{onVerify:c,onExpired:()=>c(""),onError:()=>c("")}),e.jsx("button",{type:"submit",disabled:p,tabIndex:6,className:"cursor-pointer w-full text-white py-2.5 text-sm font-medium tracking-wide transition-all duration-200 rounded-md shadow-md hover:shadow-lg transform hover:scale-[1.02] disabled:opacity-50",style:{backgroundColor:t},children:o(p?"Creating account...":"Create Account")}),e.jsx("div",{className:"text-center",children:e.jsxs("p",{className:"text-sm text-gray-500",children:[o("Already have an account?")," ",e.jsx(I,{href:route("login"),className:"font-medium hover:underline",style:{color:t},tabIndex:7,children:o("Sign in")})]})})]})})}export{Y as default}; diff --git a/public/build/assets/reset-password-frsxX5jE.js b/public/build/assets/reset-password-C1D-FlN1.js similarity index 83% rename from public/build/assets/reset-password-frsxX5jE.js rename to public/build/assets/reset-password-C1D-FlN1.js index 3cdc9cbdb..050c95d62 100644 --- a/public/build/assets/reset-password-frsxX5jE.js +++ b/public/build/assets/reset-password-C1D-FlN1.js @@ -1 +1 @@ -import{j as o}from"./ui-Z445SNHD.js";import{u as f,a as g,b as h,L as m,I as d,T as j}from"./app-CfhhiFAk.js";import{I as l}from"./input-error-TZ1o_PqE.js";import{A as C}from"./auth-layout-ISq1MRqV.js";import{L as N}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./use-favicon-Dgw0iu9k.js";import"./credit-card-BmdpMcMw.js";function M({token:c,email:u}){const{t:s}=f(),{themeColor:n,customColor:w}=g(),e=n==="custom"?w:j[n],{data:t,setData:i,post:x,processing:p,errors:a,reset:b}=h({token:c,email:u,password:"",password_confirmation:""}),y=r=>{r.preventDefault(),x(route("password.store"),{onFinish:()=>b("password","password_confirmation")})};return o.jsx(C,{title:s("Reset your password"),description:s("Please enter your new password below"),icon:o.jsx(N,{className:"h-7 w-7",style:{color:e}}),children:o.jsxs("form",{onSubmit:y,className:"space-y-5",children:[o.jsxs("div",{className:"mb-4",children:[o.jsx(m,{htmlFor:"email",className:"block text-sm font-medium text-gray-900",children:s("Email")}),o.jsx(d,{id:"email",type:"email",readOnly:!0,value:t.email,className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm bg-gray-50 mt-2"}),o.jsx(l,{message:a.email})]}),o.jsxs("div",{className:"mb-4",children:[o.jsx(m,{htmlFor:"password",className:"block text-sm font-medium text-gray-900",children:s("New Password")}),o.jsx(d,{id:"password",type:"password",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"new-password",value:t.password,onChange:r=>i("password",r.target.value),placeholder:"Enter new password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=e,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),o.jsx(l,{message:a.password})]}),o.jsxs("div",{className:"mb-4",children:[o.jsx(m,{htmlFor:"password_confirmation",className:"block text-sm font-medium text-gray-900",children:s("Confirm Password")}),o.jsx(d,{id:"password_confirmation",type:"password",required:!0,tabIndex:2,autoComplete:"new-password",value:t.password_confirmation,onChange:r=>i("password_confirmation",r.target.value),placeholder:"Confirm new password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=e,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),o.jsx(l,{message:a.password_confirmation})]}),o.jsx("button",{type:"submit",disabled:p,tabIndex:3,className:"w-full text-white py-2.5 text-sm font-medium tracking-wide transition-all duration-200 rounded-md shadow-md hover:shadow-lg transform hover:scale-[1.02] disabled:opacity-50",style:{backgroundColor:e},children:s(p?"Resetting...":"RESET PASSWORD")})]})})}export{M as default}; +import{j as o}from"./ui-Z445SNHD.js";import{u as f,a as g,b as h,L as m,I as d,T as j}from"./app-Dya84jp7.js";import{I as l}from"./input-error-eAcZLOer.js";import{A as C}from"./auth-layout-CuYQAqvO.js";import{L as N}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-dwye0O-l.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./use-favicon-B8cqaHhj.js";import"./credit-card-BKi_ThdS.js";function M({token:c,email:u}){const{t:s}=f(),{themeColor:n,customColor:w}=g(),e=n==="custom"?w:j[n],{data:t,setData:i,post:x,processing:p,errors:a,reset:b}=h({token:c,email:u,password:"",password_confirmation:""}),y=r=>{r.preventDefault(),x(route("password.store"),{onFinish:()=>b("password","password_confirmation")})};return o.jsx(C,{title:s("Reset your password"),description:s("Please enter your new password below"),icon:o.jsx(N,{className:"h-7 w-7",style:{color:e}}),children:o.jsxs("form",{onSubmit:y,className:"space-y-5",children:[o.jsxs("div",{className:"mb-4",children:[o.jsx(m,{htmlFor:"email",className:"block text-sm font-medium text-gray-900",children:s("Email")}),o.jsx(d,{id:"email",type:"email",readOnly:!0,value:t.email,className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm bg-gray-50 mt-2"}),o.jsx(l,{message:a.email})]}),o.jsxs("div",{className:"mb-4",children:[o.jsx(m,{htmlFor:"password",className:"block text-sm font-medium text-gray-900",children:s("New Password")}),o.jsx(d,{id:"password",type:"password",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"new-password",value:t.password,onChange:r=>i("password",r.target.value),placeholder:"Enter new password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=e,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),o.jsx(l,{message:a.password})]}),o.jsxs("div",{className:"mb-4",children:[o.jsx(m,{htmlFor:"password_confirmation",className:"block text-sm font-medium text-gray-900",children:s("Confirm Password")}),o.jsx(d,{id:"password_confirmation",type:"password",required:!0,tabIndex:2,autoComplete:"new-password",value:t.password_confirmation,onChange:r=>i("password_confirmation",r.target.value),placeholder:"Confirm new password",className:"w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none transition-colors placeholder-gray-400 mt-2",onFocus:r=>r.target.style.borderColor=e,onBlur:r=>r.target.style.borderColor="rgb(209 213 219)"}),o.jsx(l,{message:a.password_confirmation})]}),o.jsx("button",{type:"submit",disabled:p,tabIndex:3,className:"w-full text-white py-2.5 text-sm font-medium tracking-wide transition-all duration-200 rounded-md shadow-md hover:shadow-lg transform hover:scale-[1.02] disabled:opacity-50",style:{backgroundColor:e},children:s(p?"Resetting...":"RESET PASSWORD")})]})})}export{M as default}; diff --git a/public/build/assets/rich-text-editor-6rkrWVFe.js b/public/build/assets/rich-text-editor-uObNYFW4.js similarity index 99% rename from public/build/assets/rich-text-editor-6rkrWVFe.js rename to public/build/assets/rich-text-editor-uObNYFW4.js index 4c8a5dba2..e32d9c2db 100644 --- a/public/build/assets/rich-text-editor-6rkrWVFe.js +++ b/public/build/assets/rich-text-editor-uObNYFW4.js @@ -1,4 +1,4 @@ -import{r as ee,R as re,w as Ja,j as D}from"./ui-Z445SNHD.js";import{o as oe,am as zt,e as Ga}from"./app-CfhhiFAk.js";import{B as Ya,I as Qa,S as Xa,a as Za,A as ec,b as tc,L as nc,c as rc,U as ic,R as sc}from"./unlink-BUU37FwK.js";import{L as oc}from"./list-D0MAUZMV.js";import{Q as lc}from"./quote-CVpLTvYv.js";import{L as ac}from"./link-Bv_VEBSZ.js";import{C as cc}from"./code-BfjQUpEO.js";function q(n){this.content=n}q.prototype={constructor:q,find:function(n){for(var e=0;e>1}};q.from=function(n){if(n instanceof q)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new q(e)};function qo(n,e,t){for(let r=0;;r++){if(r==n.childCount||r==e.childCount)return n.childCount==e.childCount?null:t;let i=n.child(r),s=e.child(r);if(i==s){t+=i.nodeSize;continue}if(!i.sameMarkup(s))return t;if(i.isText&&i.text!=s.text){for(let o=0;i.text[o]==s.text[o];o++)t++;return t}if(i.content.size||s.content.size){let o=qo(i.content,s.content,t+1);if(o!=null)return o}t+=i.nodeSize}}function Jo(n,e,t,r){for(let i=n.childCount,s=e.childCount;;){if(i==0||s==0)return i==s?null:{a:t,b:r};let o=n.child(--i),l=e.child(--s),a=o.nodeSize;if(o==l){t-=a,r-=a;continue}if(!o.sameMarkup(l))return{a:t,b:r};if(o.isText&&o.text!=l.text){let c=0,u=Math.min(o.text.length,l.text.length);for(;ce&&r(a,i+l,s||null,o)!==!1&&a.content.size){let u=l+1;a.nodesBetween(Math.max(0,e-u),Math.min(a.content.size,t-u),r,i+u)}l=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,i){let s="",o=!0;return this.nodesBetween(e,t,(l,a)=>{let c=l.isText?l.text.slice(Math.max(e,a)-a,t-a):l.isLeaf?i?typeof i=="function"?i(l):i:l.type.spec.leafText?l.type.spec.leafText(l):"":"";l.isBlock&&(l.isLeaf&&c||l.isTextblock)&&r&&(o?o=!1:s+=r),s+=c},0),s}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,i=this.content.slice(),s=0;for(t.isText&&t.sameMarkup(r)&&(i[i.length-1]=t.withText(t.text+r.text),s=1);se)for(let s=0,o=0;oe&&((ot)&&(l.isText?l=l.cut(Math.max(0,e-o),Math.min(l.text.length,t-o)):l=l.cut(Math.max(0,e-o-1),Math.min(l.content.size,t-o-1))),r.push(l),i+=l.nodeSize),o=a}return new b(r,i)}cutByIndex(e,t){return e==t?b.empty:e==0&&t==this.content.length?this:new b(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let i=this.content.slice(),s=this.size+t.nodeSize-r.nodeSize;return i[e]=t,new b(i,s)}addToStart(e){return new b([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new b(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;tthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,r=0;;t++){let i=this.child(t),s=r+i.nodeSize;if(s>=e)return s==e?yn(t+1,s):yn(t,r);r=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return b.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new b(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return b.empty;let t,r=0;for(let i=0;ithis.type.rank&&(t||(t=e.slice(0,i)),t.push(this),r=!0),t&&t.push(s)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;tr.type.rank-i.type.rank),t}};L.none=[];class Pn extends Error{}class S{constructor(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let r=Yo(this.content,e+this.openStart,t);return r&&new S(r,this.openStart,this.openEnd)}removeBetween(e,t){return new S(Go(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return S.empty;let r=t.openStart||0,i=t.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new S(b.fromJSON(e,t.content),r,i)}static maxOpen(e,t=!0){let r=0,i=0;for(let s=e.firstChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.firstChild)r++;for(let s=e.lastChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.lastChild)i++;return new S(e,r,i)}}S.empty=new S(b.empty,0,0);function Go(n,e,t){let{index:r,offset:i}=n.findIndex(e),s=n.maybeChild(r),{index:o,offset:l}=n.findIndex(t);if(i==e||s.isText){if(l!=t&&!n.child(o).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=o)throw new RangeError("Removing non-flat range");return n.replaceChild(r,s.copy(Go(s.content,e-i-1,t-i-1)))}function Yo(n,e,t,r){let{index:i,offset:s}=n.findIndex(e),o=n.maybeChild(i);if(s==e||o.isText)return r&&!r.canReplace(i,i,t)?null:n.cut(0,e).append(t).append(n.cut(e));let l=Yo(o.content,e-s-1,t,o);return l&&n.replaceChild(i,o.copy(l))}function uc(n,e,t){if(t.openStart>n.depth)throw new Pn("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new Pn("Inconsistent open depths");return Qo(n,e,t,0)}function Qo(n,e,t,r){let i=n.index(r),s=n.node(r);if(i==e.index(r)&&r=0&&n.isText&&n.sameMarkup(e[t])?e[t]=n.withText(e[t].text+n.text):e.push(n)}function Kt(n,e,t,r){let i=(e||n).node(t),s=0,o=e?e.index(t):i.childCount;n&&(s=n.index(t),n.depth>t?s++:n.textOffset&&(at(n.nodeAfter,r),s++));for(let l=s;li&&di(n,e,i+1),o=r.depth>i&&di(t,r,i+1),l=[];return Kt(null,n,i,l),s&&o&&e.index(i)==t.index(i)?(Xo(s,o),at(ct(s,Zo(n,e,t,r,i+1)),l)):(s&&at(ct(s,Ln(n,e,i+1)),l),Kt(e,t,i,l),o&&at(ct(o,Ln(t,r,i+1)),l)),Kt(r,null,i,l),new b(l)}function Ln(n,e,t){let r=[];if(Kt(null,n,t,r),n.depth>t){let i=di(n,e,t+1);at(ct(i,Ln(n,e,t+1)),r)}return Kt(e,null,t,r),new b(r)}function dc(n,e){let t=e.depth-n.openStart,i=e.node(t).copy(n.content);for(let s=t-1;s>=0;s--)i=e.node(s).copy(b.from(i));return{start:i.resolveNoCache(n.openStart+t),end:i.resolveNoCache(i.content.size-n.openEnd-t)}}class en{constructor(e,t,r){this.pos=e,this.path=t,this.parentOffset=r,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(t);return r?e.child(t).cut(r):i}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let r=this.path[t*3],i=t==0?0:this.path[t*3-1]+1;for(let s=0;s0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new Bn(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let r=[],i=0,s=t;for(let o=e;;){let{index:l,offset:a}=o.content.findIndex(s),c=s-a;if(r.push(o,l,i+a),!c||(o=o.child(l),o.isText))break;s=c-1,i+=a+1}return new en(t,r,s)}static resolveCached(e,t){let r=ws.get(e);if(r)for(let s=0;se&&this.nodesBetween(e,t,s=>(r.isInSet(s.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),el(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=b.empty,i=0,s=r.childCount){let o=this.contentMatchAt(e).matchFragment(r,i,s),l=o&&o.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let a=i;at.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let r;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}let i=b.fromJSON(e,t.content),s=e.nodeType(t.type).create(t.attrs,i,r);return s.type.checkAttrs(s.attrs),s}};_e.prototype.text=void 0;class zn extends _e{constructor(e,t,r,i){if(super(e,t,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):el(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new zn(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new zn(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function el(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class ht{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new mc(e,t);if(r.next==null)return ht.empty;let i=tl(r);r.next&&r.err("Unexpected trailing text");let s=Cc(xc(i));return Mc(s,r),s}matchType(e){for(let t=0;tc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(r){e.push(r);for(let i=0;i{let s=i+(r.validEnd?"*":" ")+" ";for(let o=0;o"+e.indexOf(r.next[o].next);return s}).join(` +import{r as ee,R as re,w as Ja,j as D}from"./ui-Z445SNHD.js";import{o as oe,am as zt,e as Ga}from"./app-Dya84jp7.js";import{B as Ya,I as Qa,S as Xa,a as Za,A as ec,b as tc,L as nc,c as rc,U as ic,R as sc}from"./unlink-BLQWL2NW.js";import{L as oc}from"./list-C_2fG_BT.js";import{Q as lc}from"./quote-BmDTOIsR.js";import{L as ac}from"./link-DXJwkkHX.js";import{C as cc}from"./code-znlKMFkF.js";function q(n){this.content=n}q.prototype={constructor:q,find:function(n){for(var e=0;e>1}};q.from=function(n){if(n instanceof q)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new q(e)};function qo(n,e,t){for(let r=0;;r++){if(r==n.childCount||r==e.childCount)return n.childCount==e.childCount?null:t;let i=n.child(r),s=e.child(r);if(i==s){t+=i.nodeSize;continue}if(!i.sameMarkup(s))return t;if(i.isText&&i.text!=s.text){for(let o=0;i.text[o]==s.text[o];o++)t++;return t}if(i.content.size||s.content.size){let o=qo(i.content,s.content,t+1);if(o!=null)return o}t+=i.nodeSize}}function Jo(n,e,t,r){for(let i=n.childCount,s=e.childCount;;){if(i==0||s==0)return i==s?null:{a:t,b:r};let o=n.child(--i),l=e.child(--s),a=o.nodeSize;if(o==l){t-=a,r-=a;continue}if(!o.sameMarkup(l))return{a:t,b:r};if(o.isText&&o.text!=l.text){let c=0,u=Math.min(o.text.length,l.text.length);for(;ce&&r(a,i+l,s||null,o)!==!1&&a.content.size){let u=l+1;a.nodesBetween(Math.max(0,e-u),Math.min(a.content.size,t-u),r,i+u)}l=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,i){let s="",o=!0;return this.nodesBetween(e,t,(l,a)=>{let c=l.isText?l.text.slice(Math.max(e,a)-a,t-a):l.isLeaf?i?typeof i=="function"?i(l):i:l.type.spec.leafText?l.type.spec.leafText(l):"":"";l.isBlock&&(l.isLeaf&&c||l.isTextblock)&&r&&(o?o=!1:s+=r),s+=c},0),s}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,i=this.content.slice(),s=0;for(t.isText&&t.sameMarkup(r)&&(i[i.length-1]=t.withText(t.text+r.text),s=1);se)for(let s=0,o=0;oe&&((ot)&&(l.isText?l=l.cut(Math.max(0,e-o),Math.min(l.text.length,t-o)):l=l.cut(Math.max(0,e-o-1),Math.min(l.content.size,t-o-1))),r.push(l),i+=l.nodeSize),o=a}return new b(r,i)}cutByIndex(e,t){return e==t?b.empty:e==0&&t==this.content.length?this:new b(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let i=this.content.slice(),s=this.size+t.nodeSize-r.nodeSize;return i[e]=t,new b(i,s)}addToStart(e){return new b([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new b(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;tthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,r=0;;t++){let i=this.child(t),s=r+i.nodeSize;if(s>=e)return s==e?yn(t+1,s):yn(t,r);r=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return b.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new b(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return b.empty;let t,r=0;for(let i=0;ithis.type.rank&&(t||(t=e.slice(0,i)),t.push(this),r=!0),t&&t.push(s)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;tr.type.rank-i.type.rank),t}};L.none=[];class Pn extends Error{}class S{constructor(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let r=Yo(this.content,e+this.openStart,t);return r&&new S(r,this.openStart,this.openEnd)}removeBetween(e,t){return new S(Go(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return S.empty;let r=t.openStart||0,i=t.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new S(b.fromJSON(e,t.content),r,i)}static maxOpen(e,t=!0){let r=0,i=0;for(let s=e.firstChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.firstChild)r++;for(let s=e.lastChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.lastChild)i++;return new S(e,r,i)}}S.empty=new S(b.empty,0,0);function Go(n,e,t){let{index:r,offset:i}=n.findIndex(e),s=n.maybeChild(r),{index:o,offset:l}=n.findIndex(t);if(i==e||s.isText){if(l!=t&&!n.child(o).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=o)throw new RangeError("Removing non-flat range");return n.replaceChild(r,s.copy(Go(s.content,e-i-1,t-i-1)))}function Yo(n,e,t,r){let{index:i,offset:s}=n.findIndex(e),o=n.maybeChild(i);if(s==e||o.isText)return r&&!r.canReplace(i,i,t)?null:n.cut(0,e).append(t).append(n.cut(e));let l=Yo(o.content,e-s-1,t,o);return l&&n.replaceChild(i,o.copy(l))}function uc(n,e,t){if(t.openStart>n.depth)throw new Pn("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new Pn("Inconsistent open depths");return Qo(n,e,t,0)}function Qo(n,e,t,r){let i=n.index(r),s=n.node(r);if(i==e.index(r)&&r=0&&n.isText&&n.sameMarkup(e[t])?e[t]=n.withText(e[t].text+n.text):e.push(n)}function Kt(n,e,t,r){let i=(e||n).node(t),s=0,o=e?e.index(t):i.childCount;n&&(s=n.index(t),n.depth>t?s++:n.textOffset&&(at(n.nodeAfter,r),s++));for(let l=s;li&&di(n,e,i+1),o=r.depth>i&&di(t,r,i+1),l=[];return Kt(null,n,i,l),s&&o&&e.index(i)==t.index(i)?(Xo(s,o),at(ct(s,Zo(n,e,t,r,i+1)),l)):(s&&at(ct(s,Ln(n,e,i+1)),l),Kt(e,t,i,l),o&&at(ct(o,Ln(t,r,i+1)),l)),Kt(r,null,i,l),new b(l)}function Ln(n,e,t){let r=[];if(Kt(null,n,t,r),n.depth>t){let i=di(n,e,t+1);at(ct(i,Ln(n,e,t+1)),r)}return Kt(e,null,t,r),new b(r)}function dc(n,e){let t=e.depth-n.openStart,i=e.node(t).copy(n.content);for(let s=t-1;s>=0;s--)i=e.node(s).copy(b.from(i));return{start:i.resolveNoCache(n.openStart+t),end:i.resolveNoCache(i.content.size-n.openEnd-t)}}class en{constructor(e,t,r){this.pos=e,this.path=t,this.parentOffset=r,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(t);return r?e.child(t).cut(r):i}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let r=this.path[t*3],i=t==0?0:this.path[t*3-1]+1;for(let s=0;s0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new Bn(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let r=[],i=0,s=t;for(let o=e;;){let{index:l,offset:a}=o.content.findIndex(s),c=s-a;if(r.push(o,l,i+a),!c||(o=o.child(l),o.isText))break;s=c-1,i+=a+1}return new en(t,r,s)}static resolveCached(e,t){let r=ws.get(e);if(r)for(let s=0;se&&this.nodesBetween(e,t,s=>(r.isInSet(s.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),el(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=b.empty,i=0,s=r.childCount){let o=this.contentMatchAt(e).matchFragment(r,i,s),l=o&&o.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let a=i;at.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let r;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}let i=b.fromJSON(e,t.content),s=e.nodeType(t.type).create(t.attrs,i,r);return s.type.checkAttrs(s.attrs),s}};_e.prototype.text=void 0;class zn extends _e{constructor(e,t,r,i){if(super(e,t,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):el(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new zn(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new zn(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function el(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class ht{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new mc(e,t);if(r.next==null)return ht.empty;let i=tl(r);r.next&&r.err("Unexpected trailing text");let s=Cc(xc(i));return Mc(s,r),s}matchType(e){for(let t=0;tc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(r){e.push(r);for(let i=0;i{let s=i+(r.validEnd?"*":" ")+" ";for(let o=0;o"+e.indexOf(r.next[o].next);return s}).join(` `)}}ht.empty=new ht(!0);class mc{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function tl(n){let e=[];do e.push(gc(n));while(n.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function gc(n){let e=[];do e.push(yc(n));while(n.next&&n.next!=")"&&n.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function yc(n){let e=Sc(n);for(;;)if(n.eat("+"))e={type:"plus",expr:e};else if(n.eat("*"))e={type:"star",expr:e};else if(n.eat("?"))e={type:"opt",expr:e};else if(n.eat("{"))e=bc(n,e);else break;return e}function Es(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let e=Number(n.next);return n.pos++,e}function bc(n,e){let t=Es(n),r=t;return n.eat(",")&&(n.next!="}"?r=Es(n):r=-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:t,max:r,expr:e}}function kc(n,e){let t=n.nodeTypes,r=t[e];if(r)return[r];let i=[];for(let s in t){let o=t[s];o.isInGroup(e)&&i.push(o)}return i.length==0&&n.err("No node type or group '"+e+"' found"),i}function Sc(n){if(n.eat("(")){let e=tl(n);return n.eat(")")||n.err("Missing closing paren"),e}else if(/\W/.test(n.next))n.err("Unexpected token '"+n.next+"'");else{let e=kc(n,n.next).map(t=>(n.inline==null?n.inline=t.isInline:n.inline!=t.isInline&&n.err("Mixing inline and block content"),{type:"name",value:t}));return n.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function xc(n){let e=[[]];return i(s(n,0),t()),e;function t(){return e.push([])-1}function r(o,l,a){let c={term:a,to:l};return e[o].push(c),c}function i(o,l){o.forEach(a=>a.to=l)}function s(o,l){if(o.type=="choice")return o.exprs.reduce((a,c)=>a.concat(s(c,l)),[]);if(o.type=="seq")for(let a=0;;a++){let c=s(o.exprs[a],l);if(a==o.exprs.length-1)return c;i(c,l=t())}else if(o.type=="star"){let a=t();return r(l,a),i(s(o.expr,a),a),[r(a)]}else if(o.type=="plus"){let a=t();return i(s(o.expr,l),a),i(s(o.expr,a),a),[r(a)]}else{if(o.type=="opt")return[r(l)].concat(s(o.expr,l));if(o.type=="range"){let a=l;for(let c=0;c{n[o].forEach(({term:l,to:a})=>{if(!l)return;let c;for(let u=0;u{c||i.push([l,c=[]]),c.indexOf(u)==-1&&c.push(u)})})});let s=e[r.join(",")]=new ht(r.indexOf(n.length-1)>-1);for(let o=0;o-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:il(this.attrs,e)}create(e=null,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new _e(this,this.computeAttrs(e),b.from(t),L.setFrom(r))}createChecked(e=null,t,r){return t=b.from(t),this.checkContent(t),new _e(this,this.computeAttrs(e),t,L.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),t=b.from(t),t.size){let o=this.contentMatch.fillBefore(t);if(!o)return null;t=o.append(t)}let i=this.contentMatch.matchFragment(t),s=i&&i.fillBefore(b.empty,!0);return s?new _e(this,e,t.append(s),L.setFrom(r)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;tr[s]=new ll(s,t,o));let i=t.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let s in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function wc(n,e,t){let r=t.split("|");return i=>{let s=i===null?"null":typeof i;if(r.indexOf(s)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${n}, got ${s}`)}}class Ec{constructor(e,t,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?wc(e,t,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class Sr{constructor(e,t,r,i){this.name=e,this.rank=t,this.schema=r,this.spec=i,this.attrs=ol(e,i.attrs),this.excluded=null;let s=rl(this.attrs);this.instance=s?new L(this,s):null}create(e=null){return!e&&this.instance?this.instance:new L(this,il(this.attrs,e))}static compile(e,t){let r=Object.create(null),i=0;return e.forEach((s,o)=>r[s]=new Sr(s,i++,t,o)),r}removeFromSet(e){for(var t=0;t-1}}class al{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let i in e)t[i]=e[i];t.nodes=q.from(e.nodes),t.marks=q.from(e.marks||{}),this.nodes=Os.compile(this.spec.nodes,this),this.marks=Sr.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let s=this.nodes[i],o=s.spec.content||"",l=s.spec.marks;if(s.contentMatch=r[o]||(r[o]=ht.parse(o,this.nodes)),s.inlineContent=s.contentMatch.inlineContent,s.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!s.isInline||!s.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=s}s.markSet=l=="_"?null:l?As(this,l.split(" ")):l==""||!s.inlineContent?[]:null}for(let i in this.marks){let s=this.marks[i],o=s.spec.excludes;s.excluded=o==null?[s]:o==""?[]:As(this,o.split(" "))}this.nodeFromJSON=i=>_e.fromJSON(this,i),this.markFromJSON=i=>L.fromJSON(this,i),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Os){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(t,r,i)}text(e,t){let r=this.nodes.text;return new zn(r,r.defaultAttrs,e,L.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function As(n,e){let t=[];for(let r=0;r-1)&&t.push(o=a)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return t}function Tc(n){return n.tag!=null}function Oc(n){return n.style!=null}class qe{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let r=this.matchedStyles=[];t.forEach(i=>{if(Tc(i))this.tags.push(i);else if(Oc(i)){let s=/[^=]*/.exec(i.style)[0];r.indexOf(s)<0&&r.push(s),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let s=e.nodes[i.node];return s.contentMatch.matchType(s)})}parse(e,t={}){let r=new vs(this,t,!1);return r.addAll(e,L.none,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new vs(this,t,!0);return r.addAll(e,L.none,t.from,t.to),S.maxOpen(r.finish())}matchTag(e,t,r){for(let i=r?this.tags.indexOf(r)+1:0;ie.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(o.getAttrs){let a=o.getAttrs(t);if(a===!1)continue;o.attrs=a||void 0}return o}}}static schemaRules(e){let t=[];function r(i){let s=i.priority==null?50:i.priority,o=0;for(;o{r(o=Ds(o)),o.mark||o.ignore||o.clearMark||(o.mark=i)})}for(let i in e.nodes){let s=e.nodes[i].spec.parseDOM;s&&s.forEach(o=>{r(o=Ds(o)),o.node||o.ignore||o.mark||(o.node=i)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new qe(e,qe.schemaRules(e)))}}const cl={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},Ac={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ul={ol:!0,ul:!0},tn=1,hi=2,Ut=4;function Ns(n,e,t){return e!=null?(e?tn:0)|(e==="full"?hi:0):n&&n.whitespace=="pre"?tn|hi:t&~Ut}class bn{constructor(e,t,r,i,s,o){this.type=e,this.attrs=t,this.marks=r,this.solid=i,this.options=o,this.content=[],this.activeMarks=L.none,this.match=s||(o&Ut?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(b.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&tn)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let s=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=s.withText(s.text.slice(0,s.text.length-i[0].length))}}let t=b.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(b.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!cl.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class vs{constructor(e,t,r){this.parser=e,this.options=t,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let i=t.topNode,s,o=Ns(null,t.preserveWhitespace,0)|(r?Ut:0);i?s=new bn(i.type,i.attrs,L.none,!0,t.topMatch||i.type.contentMatch,o):r?s=new bn(null,null,L.none,!0,null,o):s=new bn(e.schema.topNodeType,null,L.none,!0,null,o),this.nodes=[s],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){e.nodeType==3?this.addTextNode(e,t):e.nodeType==1&&this.addElement(e,t)}addTextNode(e,t){let r=e.nodeValue,i=this.top,s=i.options&hi?"full":this.localPreserveWS||(i.options&tn)>0,{schema:o}=this.parser;if(s==="full"||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(s)if(s==="full")r=r.replace(/\r\n?/g,` `);else if(o.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(o.linebreakReplacement.create())){let l=r.split(/\r?\n|\r/);for(let a=0;a!a.clearMark(c)):t=t.concat(this.parser.schema.marks[a.mark].create(a.attrs)),a.consuming===!1)l=a;else break}}return t}addElementByRule(e,t,r,i){let s,o;if(t.node)if(o=this.parser.schema.nodes[t.node],o.isLeaf)this.insertNode(o.create(t.attrs),r,e.nodeName=="BR")||this.leafFallback(e,r);else{let a=this.enter(o,t.attrs||null,r,t.preserveWhitespace);a&&(s=!0,r=a)}else{let a=this.parser.schema.marks[t.mark];r=r.concat(a.create(t.attrs))}let l=this.top;if(o&&o.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(a=>this.insertNode(a,r,!1));else{let a=e;typeof t.contentElement=="string"?a=e.querySelector(t.contentElement):typeof t.contentElement=="function"?a=t.contentElement(e):t.contentElement&&(a=t.contentElement),this.findAround(e,a,!0),this.addAll(a,r),this.findAround(e,a,!1)}s&&this.sync(l)&&this.open--}addAll(e,t,r,i){let s=r||0;for(let o=r?e.childNodes[r]:e.firstChild,l=i==null?null:e.childNodes[i];o!=l;o=o.nextSibling,++s)this.findAtPoint(e,s),this.addDOM(o,t);this.findAtPoint(e,s)}findPlace(e,t,r){let i,s;for(let o=this.open,l=0;o>=0;o--){let a=this.nodes[o],c=a.findWrapping(e);if(c&&(!i||i.length>c.length+l)&&(i=c,s=a,!c.length))break;if(a.solid){if(r)break;l+=2}}if(!i)return null;this.sync(s);for(let o=0;o(o.type?o.type.allowsMarkType(c.type):Rs(c.type,e))?(a=c.addToSet(a),!1):!0),this.nodes.push(new bn(e,t,a,i,null,l)),this.open++,r}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=tn)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let r=this.nodes[t].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),s=-(r?r.depth+1:0)+(i?0:1),o=(l,a)=>{for(;l>=0;l--){let c=t[l];if(c==""){if(l==t.length-1||l==0)continue;for(;a>=s;a--)if(o(l-1,a))return!0;return!1}else{let u=a>0||a==0&&i?this.nodes[a].type:r&&a>=s?r.node(a-s).type:null;if(!u||u.name!=c&&!u.isInGroup(c))return!1;a--}}return!0};return o(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let r=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let t in this.parser.schema.nodes){let r=this.parser.schema.nodes[t];if(r.isTextblock&&r.defaultAttrs)return r}}}function Nc(n){for(let e=n.firstChild,t=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&ul.hasOwnProperty(r)&&t?(t.appendChild(e),e=t):r=="li"?t=e:r&&(t=null)}}function vc(n,e){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,e)}function Ds(n){let e={};for(let t in n)e[t]=n[t];return e}function Rs(n,e){let t=e.schema.nodes;for(let r in t){let i=t[r];if(!i.allowsMarkType(n))continue;let s=[],o=l=>{s.push(l);for(let a=0;a{if(s.length||o.marks.length){let l=0,a=0;for(;l=0;i--){let s=this.serializeMark(e.marks[i],e.isInline,t);s&&((s.contentDOM||s.dom).appendChild(r),r=s.dom)}return r}serializeMark(e,t,r={}){let i=this.marks[e.type.name];return i&&An(zr(r),i(e,t),null,e.attrs)}static renderSpec(e,t,r=null,i){return An(e,t,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new bt(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Is(e.nodes);return t.text||(t.text=r=>r.text),t}static marksFromSchema(e){return Is(e.marks)}}function Is(n){let e={};for(let t in n){let r=n[t].spec.toDOM;r&&(e[t]=r)}return e}function zr(n){return n.document||window.document}const Ps=new WeakMap;function Dc(n){let e=Ps.get(n);return e===void 0&&Ps.set(n,e=Rc(n)),e}function Rc(n){let e=null;function t(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let i=0;i-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=i.indexOf(" ");o>0&&(t=i.slice(0,o),i=i.slice(o+1));let l,a=t?n.createElementNS(t,i):n.createElement(i),c=e[1],u=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){u=2;for(let d in c)if(c[d]!=null){let f=d.indexOf(" ");f>0?a.setAttributeNS(d.slice(0,f),d.slice(f+1),c[d]):d=="style"&&a.style?a.style.cssText=c[d]:a.setAttribute(d,c[d])}}for(let d=u;du)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}else{let{dom:h,contentDOM:p}=An(n,f,t,r);if(a.appendChild(h),p){if(l)throw new RangeError("Multiple content holes");l=p}}}return{dom:a,contentDOM:l}}const dl=65535,fl=Math.pow(2,16);function Ic(n,e){return n+e*fl}function Ls(n){return n&dl}function Pc(n){return(n-(n&dl))/fl}const hl=1,pl=2,Nn=4,ml=8;class pi{constructor(e,t,r){this.pos=e,this.delInfo=t,this.recover=r}get deleted(){return(this.delInfo&ml)>0}get deletedBefore(){return(this.delInfo&(hl|Nn))>0}get deletedAfter(){return(this.delInfo&(pl|Nn))>0}get deletedAcross(){return(this.delInfo&Nn)>0}}class ue{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&ue.empty)return ue.empty}recover(e){let t=0,r=Ls(e);if(!this.inverted)for(let i=0;ie)break;let c=this.ranges[l+s],u=this.ranges[l+o],d=a+c;if(e<=d){let f=c?e==a?-1:e==d?1:t:t,h=a+i+(f<0?0:u);if(r)return h;let p=e==(t<0?a:d)?null:Ic(l/3,e-a),m=e==a?pl:e==d?hl:Nn;return(t<0?e!=a:e!=d)&&(m|=ml),new pi(h,m,p)}i+=u-c}return r?e+i:new pi(e+i,0,null)}touches(e,t){let r=0,i=Ls(t),s=this.inverted?2:1,o=this.inverted?1:2;for(let l=0;le)break;let c=this.ranges[l+s],u=a+c;if(e<=u&&l==i*3)return!0;r+=this.ranges[l+o]-c}return!1}forEach(e){let t=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,s=0;i=0;t--){let i=e.getMirror(t);this.appendMap(e._maps[t].invert(),i!=null&&i>t?r-i-1:void 0)}}invert(){let e=new nn;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let r=this.from;rs&&a!o.isAtom||!l.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),i),t.openStart,t.openEnd);return H.fromReplace(e,this.from,this.to,s)}invert(){return new we(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new We(t.pos,r.pos,this.mark)}merge(e){return e instanceof We&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new We(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new We(t.from,t.to,e.markFromJSON(t.mark))}}ne.jsonID("addMark",We);class we extends ne{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=new S(Hi(t.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),t.openStart,t.openEnd);return H.fromReplace(e,this.from,this.to,r)}invert(){return new We(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new we(t.pos,r.pos,this.mark)}merge(e){return e instanceof we&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new we(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new we(t.from,t.to,e.markFromJSON(t.mark))}}ne.jsonID("removeMark",we);class Ke extends ne{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return H.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return H.fromReplace(e,this.pos,this.pos+1,new S(b.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let r=this.mark.addToSet(t.marks);if(r.length==t.marks.length){for(let i=0;ir.pos?null:new W(t.pos,r.pos,i,s,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number"||typeof t.gapFrom!="number"||typeof t.gapTo!="number"||typeof t.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new W(t.from,t.to,t.gapFrom,t.gapTo,S.fromJSON(e,t.slice),t.insert,!!t.structure)}}ne.jsonID("replaceAround",W);function mi(n,e,t){let r=n.resolve(e),i=t-e,s=r.depth;for(;i>0&&s>0&&r.indexAfter(s)==r.node(s).childCount;)s--,i--;if(i>0){let o=r.node(s).maybeChild(r.indexAfter(s));for(;i>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,i--}}return!1}function Lc(n,e,t,r){let i=[],s=[],o,l;n.doc.nodesBetween(e,t,(a,c,u)=>{if(!a.isInline)return;let d=a.marks;if(!r.isInSet(d)&&u.type.allowsMarkType(r.type)){let f=Math.max(c,e),h=Math.min(c+a.nodeSize,t),p=r.addToSet(d);for(let m=0;mn.step(a)),s.forEach(a=>n.step(a))}function Bc(n,e,t,r){let i=[],s=0;n.doc.nodesBetween(e,t,(o,l)=>{if(!o.isInline)return;s++;let a=null;if(r instanceof Sr){let c=o.marks,u;for(;u=r.isInSet(c);)(a||(a=[])).push(u),c=u.removeFromSet(c)}else r?r.isInSet(o.marks)&&(a=[r]):a=o.marks;if(a&&a.length){let c=Math.min(l+o.nodeSize,t);for(let u=0;un.step(new we(o.from,o.to,o.style)))}function Vi(n,e,t,r=t.contentMatch,i=!0){let s=n.doc.nodeAt(e),o=[],l=e+1;for(let a=0;a=0;a--)n.step(o[a])}function zc(n,e,t){return(e==0||n.canReplace(e,n.childCount))&&(t==n.childCount||n.canReplace(0,t))}function Pt(n){let t=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let r=n.depth,i=0,s=0;;--r){let o=n.$from.node(r),l=n.$from.index(r)+i,a=n.$to.indexAfter(r)-s;if(rt;p--)m||r.index(p)>0?(m=!0,u=b.from(r.node(p).copy(u)),d++):a--;let f=b.empty,h=0;for(let p=s,m=!1;p>t;p--)m||i.after(p+1)=0;o--){if(r.size){let l=t[o].type.contentMatch.matchFragment(r);if(!l||!l.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=b.from(t[o].type.create(t[o].attrs,r))}let i=e.start,s=e.end;n.step(new W(i,s,i,s,new S(r,0,0),t.length,!0))}function jc(n,e,t,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let s=n.steps.length;n.doc.nodesBetween(e,t,(o,l)=>{let a=typeof i=="function"?i(o):i;if(o.isTextblock&&!o.hasMarkup(r,a)&&Wc(n.doc,n.mapping.slice(s).map(l),r)){let c=null;if(r.schema.linebreakReplacement){let h=r.whitespace=="pre",p=!!r.contentMatch.matchType(r.schema.linebreakReplacement);h&&!p?c=!1:!h&&p&&(c=!0)}c===!1&&yl(n,o,l,s),Vi(n,n.mapping.slice(s).map(l,1),r,void 0,c===null);let u=n.mapping.slice(s),d=u.map(l,1),f=u.map(l+o.nodeSize,1);return n.step(new W(d,f,d+1,f-1,new S(b.from(r.create(a,null,o.marks)),0,0),1,!0)),c===!0&&gl(n,o,l,s),!1}})}function gl(n,e,t,r){e.forEach((i,s)=>{if(i.isText){let o,l=/\r?\n|\r/g;for(;o=l.exec(i.text);){let a=n.mapping.slice(r).map(t+1+s+o.index);n.replaceWith(a,a+1,e.type.schema.linebreakReplacement.create())}}})}function yl(n,e,t,r){e.forEach((i,s)=>{if(i.type==i.type.schema.linebreakReplacement){let o=n.mapping.slice(r).map(t+1+s);n.replaceWith(o,o+1,e.type.schema.text(` diff --git a/public/build/assets/ruler-BouWNjvC.js b/public/build/assets/ruler-BmcStEpw.js similarity index 92% rename from public/build/assets/ruler-BouWNjvC.js rename to public/build/assets/ruler-BmcStEpw.js index 57c443643..bd5a9fa4a 100644 --- a/public/build/assets/ruler-BouWNjvC.js +++ b/public/build/assets/ruler-BmcStEpw.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/scale-BUz-ovAe.js b/public/build/assets/scale-BzSuyiWe.js similarity index 98% rename from public/build/assets/scale-BUz-ovAe.js rename to public/build/assets/scale-BzSuyiWe.js index 99a3085e7..ff965e2c6 100644 --- a/public/build/assets/scale-BUz-ovAe.js +++ b/public/build/assets/scale-BzSuyiWe.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/scroll-area-Dxv7Ysgl.js b/public/build/assets/scroll-area-T2TE8oKI.js similarity index 99% rename from public/build/assets/scroll-area-Dxv7Ysgl.js rename to public/build/assets/scroll-area-T2TE8oKI.js index afb87ace5..11f6bb130 100644 --- a/public/build/assets/scroll-area-Dxv7Ysgl.js +++ b/public/build/assets/scroll-area-T2TE8oKI.js @@ -1 +1 @@ -import{r as s,j as p,f as ie,m as A,M as ae,o as I,n as E,J as P,K as ue}from"./ui-Z445SNHD.js";import{c as de}from"./index-BdQq_4o_.js";import{e as $}from"./app-CfhhiFAk.js";function fe(e){const t=he(e),r=s.forwardRef((n,o)=>{const{children:l,...c}=n,i=s.Children.toArray(l),a=i.find(be);if(a){const u=a.props.children,d=i.map(h=>h===a?s.Children.count(u)>1?s.Children.only(null):s.isValidElement(u)?u.props.children:null:h);return p.jsx(t,{...c,ref:o,children:s.isValidElement(u)?s.cloneElement(u,void 0,d):null})}return p.jsx(t,{...c,ref:o,children:l})});return r.displayName=`${e}.Slot`,r}function he(e){const t=s.forwardRef((r,n)=>{const{children:o,...l}=r;if(s.isValidElement(o)){const c=me(o),i=Se(l,o.props);return o.type!==s.Fragment&&(i.ref=n?ie(n,c):c),s.cloneElement(o,i)}return s.Children.count(o)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pe=Symbol("radix.slottable");function be(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===pe}function Se(e,t){const r={...t};for(const n in t){const o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...i)=>{const a=l(...i);return o(...i),a}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}function me(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var ve=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],L=ve.reduce((e,t)=>{const r=fe(`Primitive.${t}`),n=s.forwardRef((o,l)=>{const{asChild:c,...i}=o,a=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(a,{...i,ref:l})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function we(e,t=[]){let r=[];function n(l,c){const i=s.createContext(c),a=r.length;r=[...r,c];const u=h=>{var x;const{scope:f,children:b,...S}=h,g=((x=f==null?void 0:f[e])==null?void 0:x[a])||i,T=s.useMemo(()=>S,Object.values(S));return p.jsx(g.Provider,{value:T,children:b})};u.displayName=l+"Provider";function d(h,f){var g;const b=((g=f==null?void 0:f[e])==null?void 0:g[a])||i,S=s.useContext(b);if(S)return S;if(c!==void 0)return c;throw new Error(`\`${h}\` must be used within \`${l}\``)}return[u,d]}const o=()=>{const l=r.map(c=>s.createContext(c));return function(i){const a=(i==null?void 0:i[e])||l;return s.useMemo(()=>({[`__scope${e}`]:{...i,[e]:a}}),[i,a])}};return o.scopeName=e,[n,ge(o,...t)]}function ge(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const c=n.reduce((i,{useScope:a,scopeName:u})=>{const h=a(l)[`__scope${u}`];return{...i,...h}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}function xe(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}var Y="ScrollArea",[q]=we(Y),[Ce,v]=q(Y),J=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:o,scrollHideDelay:l=600,...c}=e,[i,a]=s.useState(null),[u,d]=s.useState(null),[h,f]=s.useState(null),[b,S]=s.useState(null),[g,T]=s.useState(null),[x,j]=s.useState(0),[X,D]=s.useState(0),[N,_]=s.useState(!1),[W,O]=s.useState(!1),m=A(t,R=>a(R)),w=ae(o);return p.jsx(Ce,{scope:r,type:n,dir:w,scrollHideDelay:l,scrollArea:i,viewport:u,onViewportChange:d,content:h,onContentChange:f,scrollbarX:b,onScrollbarXChange:S,scrollbarXEnabled:N,onScrollbarXEnabledChange:_,scrollbarY:g,onScrollbarYChange:T,scrollbarYEnabled:W,onScrollbarYEnabledChange:O,onCornerWidthChange:j,onCornerHeightChange:D,children:p.jsx(L.div,{dir:w,...c,ref:m,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":X+"px",...e.style}})})});J.displayName=Y;var K="ScrollAreaViewport",Z=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:o,...l}=e,c=v(K,r),i=s.useRef(null),a=A(t,i,c.onViewportChange);return p.jsxs(p.Fragment,{children:[p.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),p.jsx(L.div,{"data-radix-scroll-area-viewport":"",...l,ref:a,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:p.jsx("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});Z.displayName=K;var C="ScrollAreaScrollbar",B=s.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=v(C,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:c}=o,i=e.orientation==="horizontal";return s.useEffect(()=>(i?l(!0):c(!0),()=>{i?l(!1):c(!1)}),[i,l,c]),o.type==="hover"?p.jsx(Pe,{...n,ref:t,forceMount:r}):o.type==="scroll"?p.jsx(Ee,{...n,ref:t,forceMount:r}):o.type==="auto"?p.jsx(G,{...n,ref:t,forceMount:r}):o.type==="always"?p.jsx(U,{...n,ref:t}):null});B.displayName=C;var Pe=s.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=v(C,e.__scopeScrollArea),[l,c]=s.useState(!1);return s.useEffect(()=>{const i=o.scrollArea;let a=0;if(i){const u=()=>{window.clearTimeout(a),c(!0)},d=()=>{a=window.setTimeout(()=>c(!1),o.scrollHideDelay)};return i.addEventListener("pointerenter",u),i.addEventListener("pointerleave",d),()=>{window.clearTimeout(a),i.removeEventListener("pointerenter",u),i.removeEventListener("pointerleave",d)}}},[o.scrollArea,o.scrollHideDelay]),p.jsx(I,{present:r||l,children:p.jsx(G,{"data-state":l?"visible":"hidden",...n,ref:t})})}),Ee=s.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=v(C,e.__scopeScrollArea),l=e.orientation==="horizontal",c=V(()=>a("SCROLL_END"),100),[i,a]=xe("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return s.useEffect(()=>{if(i==="idle"){const u=window.setTimeout(()=>a("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(u)}},[i,o.scrollHideDelay,a]),s.useEffect(()=>{const u=o.viewport,d=l?"scrollLeft":"scrollTop";if(u){let h=u[d];const f=()=>{const b=u[d];h!==b&&(a("SCROLL"),c()),h=b};return u.addEventListener("scroll",f),()=>u.removeEventListener("scroll",f)}},[o.viewport,l,a,c]),p.jsx(I,{present:r||i!=="hidden",children:p.jsx(U,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:E(e.onPointerEnter,()=>a("POINTER_ENTER")),onPointerLeave:E(e.onPointerLeave,()=>a("POINTER_LEAVE"))})})}),G=s.forwardRef((e,t)=>{const r=v(C,e.__scopeScrollArea),{forceMount:n,...o}=e,[l,c]=s.useState(!1),i=e.orientation==="horizontal",a=V(()=>{if(r.viewport){const u=r.viewport.offsetWidth{const{orientation:r="vertical",...n}=e,o=v(C,e.__scopeScrollArea),l=s.useRef(null),c=s.useRef(0),[i,a]=s.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=oe(i.viewport,i.content),d={...n,sizes:i,onSizesChange:a,hasThumb:u>0&&u<1,onThumbChange:f=>l.current=f,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:f=>c.current=f};function h(f,b){return Le(f,c.current,i,b)}return r==="horizontal"?p.jsx(Re,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&l.current){const f=o.viewport.scrollLeft,b=F(f,i,o.dir);l.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:f=>{o.viewport&&(o.viewport.scrollLeft=f)},onDragScroll:f=>{o.viewport&&(o.viewport.scrollLeft=h(f,o.dir))}}):r==="vertical"?p.jsx(ye,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&l.current){const f=o.viewport.scrollTop,b=F(f,i);l.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:f=>{o.viewport&&(o.viewport.scrollTop=f)},onDragScroll:f=>{o.viewport&&(o.viewport.scrollTop=h(f))}}):null}),Re=s.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...o}=e,l=v(C,e.__scopeScrollArea),[c,i]=s.useState(),a=s.useRef(null),u=A(t,a,l.onScrollbarXChange);return s.useEffect(()=>{a.current&&i(getComputedStyle(a.current))},[a]),p.jsx(ee,{"data-orientation":"horizontal",...o,ref:u,sizes:r,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":M(r)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.x),onDragScroll:d=>e.onDragScroll(d.x),onWheelScroll:(d,h)=>{if(l.viewport){const f=l.viewport.scrollLeft+d.deltaX;e.onWheelScroll(f),le(f,h)&&d.preventDefault()}},onResize:()=>{a.current&&l.viewport&&c&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:a.current.clientWidth,paddingStart:z(c.paddingLeft),paddingEnd:z(c.paddingRight)}})}})}),ye=s.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...o}=e,l=v(C,e.__scopeScrollArea),[c,i]=s.useState(),a=s.useRef(null),u=A(t,a,l.onScrollbarYChange);return s.useEffect(()=>{a.current&&i(getComputedStyle(a.current))},[a]),p.jsx(ee,{"data-orientation":"vertical",...o,ref:u,sizes:r,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":M(r)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.y),onDragScroll:d=>e.onDragScroll(d.y),onWheelScroll:(d,h)=>{if(l.viewport){const f=l.viewport.scrollTop+d.deltaY;e.onWheelScroll(f),le(f,h)&&d.preventDefault()}},onResize:()=>{a.current&&l.viewport&&c&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:a.current.clientHeight,paddingStart:z(c.paddingTop),paddingEnd:z(c.paddingBottom)}})}})}),[Ae,Q]=q(C),ee=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:o,onThumbChange:l,onThumbPointerUp:c,onThumbPointerDown:i,onThumbPositionChange:a,onDragScroll:u,onWheelScroll:d,onResize:h,...f}=e,b=v(C,r),[S,g]=s.useState(null),T=A(t,m=>g(m)),x=s.useRef(null),j=s.useRef(""),X=b.viewport,D=n.content-n.viewport,N=P(d),_=P(a),W=V(h,10);function O(m){if(x.current){const w=m.clientX-x.current.left,R=m.clientY-x.current.top;u({x:w,y:R})}}return s.useEffect(()=>{const m=w=>{const R=w.target;(S==null?void 0:S.contains(R))&&N(w,D)};return document.addEventListener("wheel",m,{passive:!1}),()=>document.removeEventListener("wheel",m,{passive:!1})},[X,S,D,N]),s.useEffect(_,[n,_]),y(S,W),y(b.content,W),p.jsx(Ae,{scope:r,scrollbar:S,hasThumb:o,onThumbChange:P(l),onThumbPointerUp:P(c),onThumbPositionChange:_,onThumbPointerDown:P(i),children:p.jsx(L.div,{...f,ref:T,style:{position:"absolute",...f.style},onPointerDown:E(e.onPointerDown,m=>{m.button===0&&(m.target.setPointerCapture(m.pointerId),x.current=S.getBoundingClientRect(),j.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",b.viewport&&(b.viewport.style.scrollBehavior="auto"),O(m))}),onPointerMove:E(e.onPointerMove,O),onPointerUp:E(e.onPointerUp,m=>{const w=m.target;w.hasPointerCapture(m.pointerId)&&w.releasePointerCapture(m.pointerId),document.body.style.webkitUserSelect=j.current,b.viewport&&(b.viewport.style.scrollBehavior=""),x.current=null})})})}),H="ScrollAreaThumb",re=s.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=Q(H,e.__scopeScrollArea);return p.jsx(I,{present:r||o.hasThumb,children:p.jsx(Te,{ref:t,...n})})}),Te=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...o}=e,l=v(H,r),c=Q(H,r),{onThumbPositionChange:i}=c,a=A(t,h=>c.onThumbChange(h)),u=s.useRef(void 0),d=V(()=>{u.current&&(u.current(),u.current=void 0)},100);return s.useEffect(()=>{const h=l.viewport;if(h){const f=()=>{if(d(),!u.current){const b=je(h,i);u.current=b,i()}};return i(),h.addEventListener("scroll",f),()=>h.removeEventListener("scroll",f)}},[l.viewport,d,i]),p.jsx(L.div,{"data-state":c.hasThumb?"visible":"hidden",...o,ref:a,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:E(e.onPointerDownCapture,h=>{const b=h.target.getBoundingClientRect(),S=h.clientX-b.left,g=h.clientY-b.top;c.onThumbPointerDown({x:S,y:g})}),onPointerUp:E(e.onPointerUp,c.onThumbPointerUp)})});re.displayName=H;var k="ScrollAreaCorner",te=s.forwardRef((e,t)=>{const r=v(k,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?p.jsx(_e,{...e,ref:t}):null});te.displayName=k;var _e=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,o=v(k,r),[l,c]=s.useState(0),[i,a]=s.useState(0),u=!!(l&&i);return y(o.scrollbarX,()=>{var h;const d=((h=o.scrollbarX)==null?void 0:h.offsetHeight)||0;o.onCornerHeightChange(d),a(d)}),y(o.scrollbarY,()=>{var h;const d=((h=o.scrollbarY)==null?void 0:h.offsetWidth)||0;o.onCornerWidthChange(d),c(d)}),u?p.jsx(L.div,{...n,ref:t,style:{width:l,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function z(e){return e?parseInt(e,10):0}function oe(e,t){const r=e/t;return isNaN(r)?0:r}function M(e){const t=oe(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function Le(e,t,r,n="ltr"){const o=M(r),l=o/2,c=t||l,i=o-c,a=r.scrollbar.paddingStart+c,u=r.scrollbar.size-r.scrollbar.paddingEnd-i,d=r.content-r.viewport,h=n==="ltr"?[0,d]:[d*-1,0];return ne([a,u],h)(e)}function F(e,t,r="ltr"){const n=M(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-o,c=t.content-t.viewport,i=l-n,a=r==="ltr"?[0,c]:[c*-1,0],u=de(e,a);return ne([0,c],[0,i])(u)}function ne(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function le(e,t){return e>0&&e{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return(function o(){const l={left:e.scrollLeft,top:e.scrollTop},c=r.left!==l.left,i=r.top!==l.top;(c||i)&&t(),r=l,n=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(n)};function V(e,t){const r=P(e),n=s.useRef(0);return s.useEffect(()=>()=>window.clearTimeout(n.current),[]),s.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function y(e,t){const r=P(t);ue(()=>{let n=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}},[e,r])}var se=J,De=Z,Ne=te;const We=s.forwardRef(({className:e,children:t,...r},n)=>p.jsxs(se,{ref:n,className:$("relative overflow-hidden",e),...r,children:[p.jsx(De,{className:"h-full w-full rounded-[inherit]",children:t}),p.jsx(ce,{}),p.jsx(Ne,{})]}));We.displayName=se.displayName;const ce=s.forwardRef(({className:e,orientation:t="vertical",...r},n)=>p.jsx(B,{ref:n,orientation:t,className:$("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...r,children:p.jsx(re,{className:"relative flex-1 rounded-full bg-border"})}));ce.displayName=B.displayName;export{We as S}; +import{r as s,j as p,f as ie,m as A,M as ae,o as I,n as E,J as P,K as ue}from"./ui-Z445SNHD.js";import{c as de}from"./index-BdQq_4o_.js";import{e as $}from"./app-Dya84jp7.js";function fe(e){const t=he(e),r=s.forwardRef((n,o)=>{const{children:l,...c}=n,i=s.Children.toArray(l),a=i.find(be);if(a){const u=a.props.children,d=i.map(h=>h===a?s.Children.count(u)>1?s.Children.only(null):s.isValidElement(u)?u.props.children:null:h);return p.jsx(t,{...c,ref:o,children:s.isValidElement(u)?s.cloneElement(u,void 0,d):null})}return p.jsx(t,{...c,ref:o,children:l})});return r.displayName=`${e}.Slot`,r}function he(e){const t=s.forwardRef((r,n)=>{const{children:o,...l}=r;if(s.isValidElement(o)){const c=me(o),i=Se(l,o.props);return o.type!==s.Fragment&&(i.ref=n?ie(n,c):c),s.cloneElement(o,i)}return s.Children.count(o)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pe=Symbol("radix.slottable");function be(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===pe}function Se(e,t){const r={...t};for(const n in t){const o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...i)=>{const a=l(...i);return o(...i),a}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}function me(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var ve=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],L=ve.reduce((e,t)=>{const r=fe(`Primitive.${t}`),n=s.forwardRef((o,l)=>{const{asChild:c,...i}=o,a=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(a,{...i,ref:l})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function we(e,t=[]){let r=[];function n(l,c){const i=s.createContext(c),a=r.length;r=[...r,c];const u=h=>{var x;const{scope:f,children:b,...S}=h,g=((x=f==null?void 0:f[e])==null?void 0:x[a])||i,T=s.useMemo(()=>S,Object.values(S));return p.jsx(g.Provider,{value:T,children:b})};u.displayName=l+"Provider";function d(h,f){var g;const b=((g=f==null?void 0:f[e])==null?void 0:g[a])||i,S=s.useContext(b);if(S)return S;if(c!==void 0)return c;throw new Error(`\`${h}\` must be used within \`${l}\``)}return[u,d]}const o=()=>{const l=r.map(c=>s.createContext(c));return function(i){const a=(i==null?void 0:i[e])||l;return s.useMemo(()=>({[`__scope${e}`]:{...i,[e]:a}}),[i,a])}};return o.scopeName=e,[n,ge(o,...t)]}function ge(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const c=n.reduce((i,{useScope:a,scopeName:u})=>{const h=a(l)[`__scope${u}`];return{...i,...h}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}function xe(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}var Y="ScrollArea",[q]=we(Y),[Ce,v]=q(Y),J=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:o,scrollHideDelay:l=600,...c}=e,[i,a]=s.useState(null),[u,d]=s.useState(null),[h,f]=s.useState(null),[b,S]=s.useState(null),[g,T]=s.useState(null),[x,j]=s.useState(0),[X,D]=s.useState(0),[N,_]=s.useState(!1),[W,O]=s.useState(!1),m=A(t,R=>a(R)),w=ae(o);return p.jsx(Ce,{scope:r,type:n,dir:w,scrollHideDelay:l,scrollArea:i,viewport:u,onViewportChange:d,content:h,onContentChange:f,scrollbarX:b,onScrollbarXChange:S,scrollbarXEnabled:N,onScrollbarXEnabledChange:_,scrollbarY:g,onScrollbarYChange:T,scrollbarYEnabled:W,onScrollbarYEnabledChange:O,onCornerWidthChange:j,onCornerHeightChange:D,children:p.jsx(L.div,{dir:w,...c,ref:m,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":X+"px",...e.style}})})});J.displayName=Y;var K="ScrollAreaViewport",Z=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:o,...l}=e,c=v(K,r),i=s.useRef(null),a=A(t,i,c.onViewportChange);return p.jsxs(p.Fragment,{children:[p.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),p.jsx(L.div,{"data-radix-scroll-area-viewport":"",...l,ref:a,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:p.jsx("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});Z.displayName=K;var C="ScrollAreaScrollbar",B=s.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=v(C,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:c}=o,i=e.orientation==="horizontal";return s.useEffect(()=>(i?l(!0):c(!0),()=>{i?l(!1):c(!1)}),[i,l,c]),o.type==="hover"?p.jsx(Pe,{...n,ref:t,forceMount:r}):o.type==="scroll"?p.jsx(Ee,{...n,ref:t,forceMount:r}):o.type==="auto"?p.jsx(G,{...n,ref:t,forceMount:r}):o.type==="always"?p.jsx(U,{...n,ref:t}):null});B.displayName=C;var Pe=s.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=v(C,e.__scopeScrollArea),[l,c]=s.useState(!1);return s.useEffect(()=>{const i=o.scrollArea;let a=0;if(i){const u=()=>{window.clearTimeout(a),c(!0)},d=()=>{a=window.setTimeout(()=>c(!1),o.scrollHideDelay)};return i.addEventListener("pointerenter",u),i.addEventListener("pointerleave",d),()=>{window.clearTimeout(a),i.removeEventListener("pointerenter",u),i.removeEventListener("pointerleave",d)}}},[o.scrollArea,o.scrollHideDelay]),p.jsx(I,{present:r||l,children:p.jsx(G,{"data-state":l?"visible":"hidden",...n,ref:t})})}),Ee=s.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=v(C,e.__scopeScrollArea),l=e.orientation==="horizontal",c=V(()=>a("SCROLL_END"),100),[i,a]=xe("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return s.useEffect(()=>{if(i==="idle"){const u=window.setTimeout(()=>a("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(u)}},[i,o.scrollHideDelay,a]),s.useEffect(()=>{const u=o.viewport,d=l?"scrollLeft":"scrollTop";if(u){let h=u[d];const f=()=>{const b=u[d];h!==b&&(a("SCROLL"),c()),h=b};return u.addEventListener("scroll",f),()=>u.removeEventListener("scroll",f)}},[o.viewport,l,a,c]),p.jsx(I,{present:r||i!=="hidden",children:p.jsx(U,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:E(e.onPointerEnter,()=>a("POINTER_ENTER")),onPointerLeave:E(e.onPointerLeave,()=>a("POINTER_LEAVE"))})})}),G=s.forwardRef((e,t)=>{const r=v(C,e.__scopeScrollArea),{forceMount:n,...o}=e,[l,c]=s.useState(!1),i=e.orientation==="horizontal",a=V(()=>{if(r.viewport){const u=r.viewport.offsetWidth{const{orientation:r="vertical",...n}=e,o=v(C,e.__scopeScrollArea),l=s.useRef(null),c=s.useRef(0),[i,a]=s.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=oe(i.viewport,i.content),d={...n,sizes:i,onSizesChange:a,hasThumb:u>0&&u<1,onThumbChange:f=>l.current=f,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:f=>c.current=f};function h(f,b){return Le(f,c.current,i,b)}return r==="horizontal"?p.jsx(Re,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&l.current){const f=o.viewport.scrollLeft,b=F(f,i,o.dir);l.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:f=>{o.viewport&&(o.viewport.scrollLeft=f)},onDragScroll:f=>{o.viewport&&(o.viewport.scrollLeft=h(f,o.dir))}}):r==="vertical"?p.jsx(ye,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&l.current){const f=o.viewport.scrollTop,b=F(f,i);l.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:f=>{o.viewport&&(o.viewport.scrollTop=f)},onDragScroll:f=>{o.viewport&&(o.viewport.scrollTop=h(f))}}):null}),Re=s.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...o}=e,l=v(C,e.__scopeScrollArea),[c,i]=s.useState(),a=s.useRef(null),u=A(t,a,l.onScrollbarXChange);return s.useEffect(()=>{a.current&&i(getComputedStyle(a.current))},[a]),p.jsx(ee,{"data-orientation":"horizontal",...o,ref:u,sizes:r,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":M(r)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.x),onDragScroll:d=>e.onDragScroll(d.x),onWheelScroll:(d,h)=>{if(l.viewport){const f=l.viewport.scrollLeft+d.deltaX;e.onWheelScroll(f),le(f,h)&&d.preventDefault()}},onResize:()=>{a.current&&l.viewport&&c&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:a.current.clientWidth,paddingStart:z(c.paddingLeft),paddingEnd:z(c.paddingRight)}})}})}),ye=s.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...o}=e,l=v(C,e.__scopeScrollArea),[c,i]=s.useState(),a=s.useRef(null),u=A(t,a,l.onScrollbarYChange);return s.useEffect(()=>{a.current&&i(getComputedStyle(a.current))},[a]),p.jsx(ee,{"data-orientation":"vertical",...o,ref:u,sizes:r,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":M(r)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.y),onDragScroll:d=>e.onDragScroll(d.y),onWheelScroll:(d,h)=>{if(l.viewport){const f=l.viewport.scrollTop+d.deltaY;e.onWheelScroll(f),le(f,h)&&d.preventDefault()}},onResize:()=>{a.current&&l.viewport&&c&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:a.current.clientHeight,paddingStart:z(c.paddingTop),paddingEnd:z(c.paddingBottom)}})}})}),[Ae,Q]=q(C),ee=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:o,onThumbChange:l,onThumbPointerUp:c,onThumbPointerDown:i,onThumbPositionChange:a,onDragScroll:u,onWheelScroll:d,onResize:h,...f}=e,b=v(C,r),[S,g]=s.useState(null),T=A(t,m=>g(m)),x=s.useRef(null),j=s.useRef(""),X=b.viewport,D=n.content-n.viewport,N=P(d),_=P(a),W=V(h,10);function O(m){if(x.current){const w=m.clientX-x.current.left,R=m.clientY-x.current.top;u({x:w,y:R})}}return s.useEffect(()=>{const m=w=>{const R=w.target;(S==null?void 0:S.contains(R))&&N(w,D)};return document.addEventListener("wheel",m,{passive:!1}),()=>document.removeEventListener("wheel",m,{passive:!1})},[X,S,D,N]),s.useEffect(_,[n,_]),y(S,W),y(b.content,W),p.jsx(Ae,{scope:r,scrollbar:S,hasThumb:o,onThumbChange:P(l),onThumbPointerUp:P(c),onThumbPositionChange:_,onThumbPointerDown:P(i),children:p.jsx(L.div,{...f,ref:T,style:{position:"absolute",...f.style},onPointerDown:E(e.onPointerDown,m=>{m.button===0&&(m.target.setPointerCapture(m.pointerId),x.current=S.getBoundingClientRect(),j.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",b.viewport&&(b.viewport.style.scrollBehavior="auto"),O(m))}),onPointerMove:E(e.onPointerMove,O),onPointerUp:E(e.onPointerUp,m=>{const w=m.target;w.hasPointerCapture(m.pointerId)&&w.releasePointerCapture(m.pointerId),document.body.style.webkitUserSelect=j.current,b.viewport&&(b.viewport.style.scrollBehavior=""),x.current=null})})})}),H="ScrollAreaThumb",re=s.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=Q(H,e.__scopeScrollArea);return p.jsx(I,{present:r||o.hasThumb,children:p.jsx(Te,{ref:t,...n})})}),Te=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...o}=e,l=v(H,r),c=Q(H,r),{onThumbPositionChange:i}=c,a=A(t,h=>c.onThumbChange(h)),u=s.useRef(void 0),d=V(()=>{u.current&&(u.current(),u.current=void 0)},100);return s.useEffect(()=>{const h=l.viewport;if(h){const f=()=>{if(d(),!u.current){const b=je(h,i);u.current=b,i()}};return i(),h.addEventListener("scroll",f),()=>h.removeEventListener("scroll",f)}},[l.viewport,d,i]),p.jsx(L.div,{"data-state":c.hasThumb?"visible":"hidden",...o,ref:a,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:E(e.onPointerDownCapture,h=>{const b=h.target.getBoundingClientRect(),S=h.clientX-b.left,g=h.clientY-b.top;c.onThumbPointerDown({x:S,y:g})}),onPointerUp:E(e.onPointerUp,c.onThumbPointerUp)})});re.displayName=H;var k="ScrollAreaCorner",te=s.forwardRef((e,t)=>{const r=v(k,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?p.jsx(_e,{...e,ref:t}):null});te.displayName=k;var _e=s.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,o=v(k,r),[l,c]=s.useState(0),[i,a]=s.useState(0),u=!!(l&&i);return y(o.scrollbarX,()=>{var h;const d=((h=o.scrollbarX)==null?void 0:h.offsetHeight)||0;o.onCornerHeightChange(d),a(d)}),y(o.scrollbarY,()=>{var h;const d=((h=o.scrollbarY)==null?void 0:h.offsetWidth)||0;o.onCornerWidthChange(d),c(d)}),u?p.jsx(L.div,{...n,ref:t,style:{width:l,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function z(e){return e?parseInt(e,10):0}function oe(e,t){const r=e/t;return isNaN(r)?0:r}function M(e){const t=oe(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function Le(e,t,r,n="ltr"){const o=M(r),l=o/2,c=t||l,i=o-c,a=r.scrollbar.paddingStart+c,u=r.scrollbar.size-r.scrollbar.paddingEnd-i,d=r.content-r.viewport,h=n==="ltr"?[0,d]:[d*-1,0];return ne([a,u],h)(e)}function F(e,t,r="ltr"){const n=M(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-o,c=t.content-t.viewport,i=l-n,a=r==="ltr"?[0,c]:[c*-1,0],u=de(e,a);return ne([0,c],[0,i])(u)}function ne(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function le(e,t){return e>0&&e{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return(function o(){const l={left:e.scrollLeft,top:e.scrollTop},c=r.left!==l.left,i=r.top!==l.top;(c||i)&&t(),r=l,n=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(n)};function V(e,t){const r=P(e),n=s.useRef(0);return s.useEffect(()=>()=>window.clearTimeout(n.current),[]),s.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function y(e,t){const r=P(t);ue(()=>{let n=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}},[e,r])}var se=J,De=Z,Ne=te;const We=s.forwardRef(({className:e,children:t,...r},n)=>p.jsxs(se,{ref:n,className:$("relative overflow-hidden",e),...r,children:[p.jsx(De,{className:"h-full w-full rounded-[inherit]",children:t}),p.jsx(ce,{}),p.jsx(Ne,{})]}));We.displayName=se.displayName;const ce=s.forwardRef(({className:e,orientation:t="vertical",...r},n)=>p.jsx(B,{ref:n,orientation:t,className:$("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...r,children:p.jsx(re,{className:"relative flex-1 rounded-full bg-border"})}));ce.displayName=B.displayName;export{We as S}; diff --git a/public/build/assets/search-and-filter-bar-6Pp-FsiR.js b/public/build/assets/search-and-filter-bar-DWH0yn_r.js similarity index 92% rename from public/build/assets/search-and-filter-bar-6Pp-FsiR.js rename to public/build/assets/search-and-filter-bar-DWH0yn_r.js index 3a477b28e..fcf1acf8c 100644 --- a/public/build/assets/search-and-filter-bar-6Pp-FsiR.js +++ b/public/build/assets/search-and-filter-bar-DWH0yn_r.js @@ -1 +1 @@ -import{r as g,j as e}from"./ui-Z445SNHD.js";import{I as L,u as M,S as N,o as m,L as y}from"./app-CfhhiFAk.js";import{S as b,a as w,b as C,c as S,d as k}from"./select-BrY9osYp.js";import{f as z}from"./utils-BWxnHGCV.js";import{C as R}from"./calendar-CfUpdaK5.js";import{F as E}from"./filter-uErFRSPT.js";import{L as I}from"./list-D0MAUZMV.js";import{L as B}from"./layout-grid-C6MkbbLQ.js";function F({selected:r,onSelect:c,onChange:n,placeholder:u="Pick a date",disabled:i=!1}){const d=g.useRef(null),[o,x]=g.useState(r?z(r,"yyyy-MM-dd"):""),j=a=>{if(x(a.target.value),a.target.value){const t=new Date(a.target.value);c&&c(t),n&&n(t)}else c&&c(void 0),n&&n(void 0)};g.useEffect(()=>{x(r?z(r,"yyyy-MM-dd"):"")},[r]);const h=()=>{var a,t;!i&&d.current&&((t=(a=d.current).showPicker)==null||t.call(a),d.current.focus())};return e.jsxs("div",{className:"relative cursor-pointer",onClick:h,children:[e.jsx(R,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground pointer-events-none"}),e.jsx(L,{ref:d,type:"date",value:o,onChange:j,className:"pl-9 w-[240px] cursor-pointer",disabled:i})]})}function K({searchTerm:r,onSearchChange:c,onSearch:n,filters:u=[],showFilters:i,setShowFilters:d,hasActiveFilters:o,activeFilterCount:x,onResetFilters:j,onApplyFilters:h,perPageOptions:a=[10,25,50,100],currentPerPage:t,onPerPageChange:P,showViewToggle:D=!1,activeView:v="list",onViewChange:f}){const{t:l}=M();return e.jsxs("div",{className:"w-full",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("form",{onSubmit:n,className:"flex gap-2",children:[e.jsxs("div",{className:"relative w-64",children:[e.jsx(N,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),e.jsx(L,{placeholder:l("Search..."),value:r,onChange:s=>c(s.target.value),className:"w-full pl-9"})]}),e.jsxs(m,{type:"submit",size:"sm",children:[e.jsx(N,{className:"h-4 w-4 mr-1.5"}),l("Search")]})]}),u.length>0&&e.jsx("div",{className:"ml-2",children:e.jsxs(m,{variant:o()?"default":"outline",size:"sm",className:"h-8 px-2 py-1",onClick:()=>d(!i),children:[e.jsx(E,{className:"h-3.5 w-3.5 mr-1.5"}),l(i?"Hide Filters":"Filters"),o()&&e.jsx("span",{className:"ml-1 bg-primary-foreground text-primary rounded-full w-5 h-5 flex items-center justify-center text-xs",children:x()})]})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[D&&f&&e.jsxs("div",{className:"border rounded-md p-0.5 mr-2",children:[e.jsx(m,{size:"sm",variant:v==="list"?"default":"ghost",className:"h-7 px-2",onClick:()=>f("list"),children:e.jsx(I,{className:"h-4 w-4"})}),e.jsx(m,{size:"sm",variant:v==="grid"?"default":"ghost",className:"h-7 px-2",onClick:()=>f("grid"),children:e.jsx(B,{className:"h-4 w-4"})})]}),e.jsx(y,{className:"text-xs text-muted-foreground",children:l("Per Page:")}),e.jsxs(b,{value:t,onValueChange:P,children:[e.jsx(w,{className:"w-16 h-8",children:e.jsx(C,{})}),e.jsx(S,{children:a.map(s=>e.jsx(k,{value:s.toString(),children:s},s))})]})]})]}),i&&u.length>0&&e.jsx("div",{className:"w-full mt-3 p-4 bg-gray-50 dark:bg-gray-800 border dark:border-gray-700 rounded-md",children:e.jsxs("div",{className:"flex flex-wrap gap-4 items-end",children:[u.map(s=>e.jsxs("div",{className:"space-y-2",children:[e.jsx(y,{children:s.label}),s.type==="select"&&s.options&&e.jsxs(b,{value:s.value,onValueChange:s.onChange,children:[e.jsx(w,{className:"w-40",children:e.jsx(C,{placeholder:l(`All ${s.label}`)})}),e.jsx(S,{searchable:s.searchable,children:s.options.map(p=>e.jsx(k,{value:p.value||"_empty_",disabled:p.disabled,children:p.label},p.value||"empty"))})]}),s.type==="date"&&e.jsx(F,{selected:s.value,onSelect:s.onChange,onChange:s.onChange})]},s.name)),e.jsxs("div",{className:"flex gap-2",children:[h&&e.jsx(m,{variant:"default",size:"sm",className:"h-9",onClick:h,children:l("Apply Filters")}),e.jsx(m,{variant:"outline",size:"sm",className:"h-9",onClick:j,disabled:!o(),children:l("Reset Filters")})]})]})})]})}export{K as S}; +import{r as g,j as e}from"./ui-Z445SNHD.js";import{I as L,u as M,S as N,o as m,L as y}from"./app-Dya84jp7.js";import{S as b,a as w,b as C,c as S,d as k}from"./select-CHkpLxhL.js";import{f as z}from"./utils-BWxnHGCV.js";import{C as R}from"./calendar-DuRYaSj5.js";import{F as E}from"./filter-BTHjyusi.js";import{L as I}from"./list-C_2fG_BT.js";import{L as B}from"./layout-grid-3SDzvK8c.js";function F({selected:r,onSelect:c,onChange:n,placeholder:u="Pick a date",disabled:i=!1}){const d=g.useRef(null),[o,x]=g.useState(r?z(r,"yyyy-MM-dd"):""),j=a=>{if(x(a.target.value),a.target.value){const t=new Date(a.target.value);c&&c(t),n&&n(t)}else c&&c(void 0),n&&n(void 0)};g.useEffect(()=>{x(r?z(r,"yyyy-MM-dd"):"")},[r]);const h=()=>{var a,t;!i&&d.current&&((t=(a=d.current).showPicker)==null||t.call(a),d.current.focus())};return e.jsxs("div",{className:"relative cursor-pointer",onClick:h,children:[e.jsx(R,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground pointer-events-none"}),e.jsx(L,{ref:d,type:"date",value:o,onChange:j,className:"pl-9 w-[240px] cursor-pointer",disabled:i})]})}function K({searchTerm:r,onSearchChange:c,onSearch:n,filters:u=[],showFilters:i,setShowFilters:d,hasActiveFilters:o,activeFilterCount:x,onResetFilters:j,onApplyFilters:h,perPageOptions:a=[10,25,50,100],currentPerPage:t,onPerPageChange:P,showViewToggle:D=!1,activeView:v="list",onViewChange:f}){const{t:l}=M();return e.jsxs("div",{className:"w-full",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("form",{onSubmit:n,className:"flex gap-2",children:[e.jsxs("div",{className:"relative w-64",children:[e.jsx(N,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),e.jsx(L,{placeholder:l("Search..."),value:r,onChange:s=>c(s.target.value),className:"w-full pl-9"})]}),e.jsxs(m,{type:"submit",size:"sm",children:[e.jsx(N,{className:"h-4 w-4 mr-1.5"}),l("Search")]})]}),u.length>0&&e.jsx("div",{className:"ml-2",children:e.jsxs(m,{variant:o()?"default":"outline",size:"sm",className:"h-8 px-2 py-1",onClick:()=>d(!i),children:[e.jsx(E,{className:"h-3.5 w-3.5 mr-1.5"}),l(i?"Hide Filters":"Filters"),o()&&e.jsx("span",{className:"ml-1 bg-primary-foreground text-primary rounded-full w-5 h-5 flex items-center justify-center text-xs",children:x()})]})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[D&&f&&e.jsxs("div",{className:"border rounded-md p-0.5 mr-2",children:[e.jsx(m,{size:"sm",variant:v==="list"?"default":"ghost",className:"h-7 px-2",onClick:()=>f("list"),children:e.jsx(I,{className:"h-4 w-4"})}),e.jsx(m,{size:"sm",variant:v==="grid"?"default":"ghost",className:"h-7 px-2",onClick:()=>f("grid"),children:e.jsx(B,{className:"h-4 w-4"})})]}),e.jsx(y,{className:"text-xs text-muted-foreground",children:l("Per Page:")}),e.jsxs(b,{value:t,onValueChange:P,children:[e.jsx(w,{className:"w-16 h-8",children:e.jsx(C,{})}),e.jsx(S,{children:a.map(s=>e.jsx(k,{value:s.toString(),children:s},s))})]})]})]}),i&&u.length>0&&e.jsx("div",{className:"w-full mt-3 p-4 bg-gray-50 dark:bg-gray-800 border dark:border-gray-700 rounded-md",children:e.jsxs("div",{className:"flex flex-wrap gap-4 items-end",children:[u.map(s=>e.jsxs("div",{className:"space-y-2",children:[e.jsx(y,{children:s.label}),s.type==="select"&&s.options&&e.jsxs(b,{value:s.value,onValueChange:s.onChange,children:[e.jsx(w,{className:"w-40",children:e.jsx(C,{placeholder:l(`All ${s.label}`)})}),e.jsx(S,{searchable:s.searchable,children:s.options.map(p=>e.jsx(k,{value:p.value||"_empty_",disabled:p.disabled,children:p.label},p.value||"empty"))})]}),s.type==="date"&&e.jsx(F,{selected:s.value,onSelect:s.onChange,onChange:s.onChange})]},s.name)),e.jsxs("div",{className:"flex gap-2",children:[h&&e.jsx(m,{variant:"default",size:"sm",className:"h-9",onClick:h,children:l("Apply Filters")}),e.jsx(m,{variant:"outline",size:"sm",className:"h-9",onClick:j,disabled:!o(),children:l("Reset Filters")})]})]})})]})}export{K as S}; diff --git a/public/build/assets/select-BrY9osYp.js b/public/build/assets/select-CHkpLxhL.js similarity index 99% rename from public/build/assets/select-BrY9osYp.js rename to public/build/assets/select-CHkpLxhL.js index dd0ad2afe..1eded630d 100644 --- a/public/build/assets/select-BrY9osYp.js +++ b/public/build/assets/select-CHkpLxhL.js @@ -1 +1 @@ -import{r as n,j as c,f as mt,M as ht,k as Te,l as gt,u as Ie,m as V,K as z,s as Pe,N as vt,A as St,n as P,p as xt,a as Ee,J as wt,Q as yt,U as Ct,V as It,W as Nt,t as Tt,v as bt,q as Pt}from"./ui-Z445SNHD.js";import{c as be}from"./index-BdQq_4o_.js";import{u as Et}from"./index-9MclThM-.js";import{ah as Rt,e as G,S as _t,I as jt,V as Mt}from"./app-CfhhiFAk.js";import{C as Re,a as At}from"./chevron-up-DepFp6b6.js";function Ot(t,o=[]){let e=[];function r(d,l){const a=n.createContext(l),i=e.length;e=[...e,l];const u=v=>{var y;const{scope:x,children:T,...w}=v,p=((y=x==null?void 0:x[t])==null?void 0:y[i])||a,S=n.useMemo(()=>w,Object.values(w));return c.jsx(p.Provider,{value:S,children:T})};u.displayName=d+"Provider";function g(v,x){var p;const T=((p=x==null?void 0:x[t])==null?void 0:p[i])||a,w=n.useContext(T);if(w)return w;if(l!==void 0)return l;throw new Error(`\`${v}\` must be used within \`${d}\``)}return[u,g]}const s=()=>{const d=e.map(l=>n.createContext(l));return function(a){const i=(a==null?void 0:a[t])||d;return n.useMemo(()=>({[`__scope${t}`]:{...a,[t]:i}}),[a,i])}};return s.scopeName=t,[r,Dt(s,...o)]}function Dt(...t){const o=t[0];if(t.length===1)return o;const e=()=>{const r=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(d){const l=r.reduce((a,{useScope:i,scopeName:u})=>{const v=i(d)[`__scope${u}`];return{...a,...v}},{});return n.useMemo(()=>({[`__scope${o.scopeName}`]:l}),[l])}};return e.scopeName=o.scopeName,e}function _e(t){const o=Lt(t),e=n.forwardRef((r,s)=>{const{children:d,...l}=r,a=n.Children.toArray(d),i=a.find(kt);if(i){const u=i.props.children,g=a.map(v=>v===i?n.Children.count(u)>1?n.Children.only(null):n.isValidElement(u)?u.props.children:null:v);return c.jsx(o,{...l,ref:s,children:n.isValidElement(u)?n.cloneElement(u,void 0,g):null})}return c.jsx(o,{...l,ref:s,children:d})});return e.displayName=`${t}.Slot`,e}function Lt(t){const o=n.forwardRef((e,r)=>{const{children:s,...d}=e;if(n.isValidElement(s)){const l=Ht(s),a=Bt(d,s.props);return s.type!==n.Fragment&&(a.ref=r?mt(r,l):l),n.cloneElement(s,a)}return n.Children.count(s)>1?n.Children.only(null):null});return o.displayName=`${t}.SlotClone`,o}var Vt=Symbol("radix.slottable");function kt(t){return n.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Vt}function Bt(t,o){const e={...o};for(const r in o){const s=t[r],d=o[r];/^on[A-Z]/.test(r)?s&&d?e[r]=(...a)=>{const i=d(...a);return s(...a),i}:s&&(e[r]=s):r==="style"?e[r]={...s,...d}:r==="className"&&(e[r]=[s,d].filter(Boolean).join(" "))}return{...t,...e}}function Ht(t){var r,s;let o=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,e=o&&"isReactWarning"in o&&o.isReactWarning;return e?t.ref:(o=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,e=o&&"isReactWarning"in o&&o.isReactWarning,e?t.props.ref:t.props.ref||t.ref)}var Wt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],j=Wt.reduce((t,o)=>{const e=_e(`Primitive.${o}`),r=n.forwardRef((s,d)=>{const{asChild:l,...a}=s,i=l?e:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(i,{...a,ref:d})});return r.displayName=`Primitive.${o}`,{...t,[o]:r}},{}),Ft=[" ","Enter","ArrowUp","ArrowDown"],Ut=[" ","Enter"],Q="Select",[ce,de,Kt]=vt(Q),[oe]=Ot(Q,[Kt,Pe]),ue=Pe(),[$t,Y]=oe(Q),[zt,Gt]=oe(Q),je=t=>{const{__scopeSelect:o,children:e,open:r,defaultOpen:s,onOpenChange:d,value:l,defaultValue:a,onValueChange:i,dir:u,name:g,autoComplete:v,disabled:x,required:T,form:w}=t,p=ue(o),[S,y]=n.useState(null),[f,h]=n.useState(null),[M,A]=n.useState(!1),ne=ht(u),[E,D]=Te({prop:r,defaultProp:s??!1,onChange:d,caller:Q}),[U,Z]=Te({prop:l,defaultProp:a,onChange:i,caller:Q}),k=n.useRef(null),B=S?w||!!S.closest("form"):!0,[K,H]=n.useState(new Set),W=Array.from(K).map(R=>R.props.value).join(";");return c.jsx(gt,{...p,children:c.jsxs($t,{required:T,scope:o,trigger:S,onTriggerChange:y,valueNode:f,onValueNodeChange:h,valueNodeHasChildren:M,onValueNodeHasChildrenChange:A,contentId:Ie(),value:U,onValueChange:Z,open:E,onOpenChange:D,dir:ne,triggerPointerDownPosRef:k,disabled:x,children:[c.jsx(ce.Provider,{scope:o,children:c.jsx(zt,{scope:t.__scopeSelect,onNativeOptionAdd:n.useCallback(R=>{H(L=>new Set(L).add(R))},[]),onNativeOptionRemove:n.useCallback(R=>{H(L=>{const F=new Set(L);return F.delete(R),F})},[]),children:e})}),B?c.jsxs(tt,{"aria-hidden":!0,required:T,tabIndex:-1,name:g,autoComplete:v,value:U,onChange:R=>Z(R.target.value),disabled:x,form:w,children:[U===void 0?c.jsx("option",{value:""}):null,Array.from(K)]},W):null]})})};je.displayName=Q;var Me="SelectTrigger",Ae=n.forwardRef((t,o)=>{const{__scopeSelect:e,disabled:r=!1,...s}=t,d=ue(e),l=Y(Me,e),a=l.disabled||r,i=V(o,l.onTriggerChange),u=de(e),g=n.useRef("touch"),[v,x,T]=nt(p=>{const S=u().filter(h=>!h.disabled),y=S.find(h=>h.value===l.value),f=rt(S,p,y);f!==void 0&&l.onValueChange(f.value)}),w=p=>{a||(l.onOpenChange(!0),T()),p&&(l.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return c.jsx(St,{asChild:!0,...d,children:c.jsx(j.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":ot(l.value)?"":void 0,...s,ref:i,onClick:P(s.onClick,p=>{p.currentTarget.focus(),g.current!=="mouse"&&w(p)}),onPointerDown:P(s.onPointerDown,p=>{g.current=p.pointerType;const S=p.target;S.hasPointerCapture(p.pointerId)&&S.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(w(p),p.preventDefault())}),onKeyDown:P(s.onKeyDown,p=>{const S=v.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&x(p.key),!(S&&p.key===" ")&&Ft.includes(p.key)&&(w(),p.preventDefault())})})})});Ae.displayName=Me;var Oe="SelectValue",De=n.forwardRef((t,o)=>{const{__scopeSelect:e,className:r,style:s,children:d,placeholder:l="",...a}=t,i=Y(Oe,e),{onValueNodeHasChildrenChange:u}=i,g=d!==void 0,v=V(o,i.onValueNodeChange);return z(()=>{u(g)},[u,g]),c.jsx(j.span,{...a,ref:v,style:{pointerEvents:"none"},children:ot(i.value)?c.jsx(c.Fragment,{children:l}):d})});De.displayName=Oe;var Yt="SelectIcon",Le=n.forwardRef((t,o)=>{const{__scopeSelect:e,children:r,...s}=t;return c.jsx(j.span,{"aria-hidden":!0,...s,ref:o,children:r||"▼"})});Le.displayName=Yt;var qt="SelectPortal",Ve=t=>c.jsx(xt,{asChild:!0,...t});Ve.displayName=qt;var ee="SelectContent",ke=n.forwardRef((t,o)=>{const e=Y(ee,t.__scopeSelect),[r,s]=n.useState();if(z(()=>{s(new DocumentFragment)},[]),!e.open){const d=r;return d?Ee.createPortal(c.jsx(Be,{scope:t.__scopeSelect,children:c.jsx(ce.Slot,{scope:t.__scopeSelect,children:c.jsx("div",{children:t.children})})}),d):null}return c.jsx(He,{...t,ref:o})});ke.displayName=ee;var O=10,[Be,q]=oe(ee),Zt="SelectContentImpl",Xt=_e("SelectContent.RemoveScroll"),He=n.forwardRef((t,o)=>{const{__scopeSelect:e,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:d,onPointerDownOutside:l,side:a,sideOffset:i,align:u,alignOffset:g,arrowPadding:v,collisionBoundary:x,collisionPadding:T,sticky:w,hideWhenDetached:p,avoidCollisions:S,...y}=t,f=Y(ee,e),[h,M]=n.useState(null),[A,ne]=n.useState(null),E=V(o,m=>M(m)),[D,U]=n.useState(null),[Z,k]=n.useState(null),B=de(e),[K,H]=n.useState(!1),W=n.useRef(!1);n.useEffect(()=>{if(h)return yt(h)},[h]),Ct();const R=n.useCallback(m=>{const[b,..._]=B().map(I=>I.ref.current),[N]=_.slice(-1),C=document.activeElement;for(const I of m)if(I===C||(I==null||I.scrollIntoView({block:"nearest"}),I===b&&A&&(A.scrollTop=0),I===N&&A&&(A.scrollTop=A.scrollHeight),I==null||I.focus(),document.activeElement!==C))return},[B,A]),L=n.useCallback(()=>R([D,h]),[R,D,h]);n.useEffect(()=>{K&&L()},[K,L]);const{onOpenChange:F,triggerPointerDownPosRef:$}=f;n.useEffect(()=>{if(h){let m={x:0,y:0};const b=N=>{var C,I;m={x:Math.abs(Math.round(N.pageX)-(((C=$.current)==null?void 0:C.x)??0)),y:Math.abs(Math.round(N.pageY)-(((I=$.current)==null?void 0:I.y)??0))}},_=N=>{m.x<=10&&m.y<=10?N.preventDefault():h.contains(N.target)||F(!1),document.removeEventListener("pointermove",b),$.current=null};return $.current!==null&&(document.addEventListener("pointermove",b),document.addEventListener("pointerup",_,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",_,{capture:!0})}}},[h,F,$]),n.useEffect(()=>{const m=()=>F(!1);return window.addEventListener("blur",m),window.addEventListener("resize",m),()=>{window.removeEventListener("blur",m),window.removeEventListener("resize",m)}},[F]);const[pe,le]=nt(m=>{const b=B().filter(C=>!C.disabled),_=b.find(C=>C.ref.current===document.activeElement),N=rt(b,m,_);N&&setTimeout(()=>N.ref.current.focus())}),fe=n.useCallback((m,b,_)=>{const N=!W.current&&!_;(f.value!==void 0&&f.value===b||N)&&(U(m),N&&(W.current=!0))},[f.value]),me=n.useCallback(()=>h==null?void 0:h.focus(),[h]),te=n.useCallback((m,b,_)=>{const N=!W.current&&!_;(f.value!==void 0&&f.value===b||N)&&k(m)},[f.value]),ae=r==="popper"?Se:We,re=ae===Se?{side:a,sideOffset:i,align:u,alignOffset:g,arrowPadding:v,collisionBoundary:x,collisionPadding:T,sticky:w,hideWhenDetached:p,avoidCollisions:S}:{};return c.jsx(Be,{scope:e,content:h,viewport:A,onViewportChange:ne,itemRefCallback:fe,selectedItem:D,onItemLeave:me,itemTextRefCallback:te,focusSelectedItem:L,selectedItemText:Z,position:r,isPositioned:K,searchRef:pe,children:c.jsx(It,{as:Xt,allowPinchZoom:!0,children:c.jsx(Nt,{asChild:!0,trapped:f.open,onMountAutoFocus:m=>{m.preventDefault()},onUnmountAutoFocus:P(s,m=>{var b;(b=f.trigger)==null||b.focus({preventScroll:!0}),m.preventDefault()}),children:c.jsx(Tt,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:d,onPointerDownOutside:l,onFocusOutside:m=>m.preventDefault(),onDismiss:()=>f.onOpenChange(!1),children:c.jsx(ae,{role:"listbox",id:f.contentId,"data-state":f.open?"open":"closed",dir:f.dir,onContextMenu:m=>m.preventDefault(),...y,...re,onPlaced:()=>H(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:P(y.onKeyDown,m=>{const b=m.ctrlKey||m.altKey||m.metaKey;if(m.key==="Tab"&&m.preventDefault(),!b&&m.key.length===1&&le(m.key),["ArrowUp","ArrowDown","Home","End"].includes(m.key)){let N=B().filter(C=>!C.disabled).map(C=>C.ref.current);if(["ArrowUp","End"].includes(m.key)&&(N=N.slice().reverse()),["ArrowUp","ArrowDown"].includes(m.key)){const C=m.target,I=N.indexOf(C);N=N.slice(I+1)}setTimeout(()=>R(N)),m.preventDefault()}})})})})})})});He.displayName=Zt;var Jt="SelectItemAlignedPosition",We=n.forwardRef((t,o)=>{const{__scopeSelect:e,onPlaced:r,...s}=t,d=Y(ee,e),l=q(ee,e),[a,i]=n.useState(null),[u,g]=n.useState(null),v=V(o,E=>g(E)),x=de(e),T=n.useRef(!1),w=n.useRef(!0),{viewport:p,selectedItem:S,selectedItemText:y,focusSelectedItem:f}=l,h=n.useCallback(()=>{if(d.trigger&&d.valueNode&&a&&u&&p&&S&&y){const E=d.trigger.getBoundingClientRect(),D=u.getBoundingClientRect(),U=d.valueNode.getBoundingClientRect(),Z=y.getBoundingClientRect();if(d.dir!=="rtl"){const C=Z.left-D.left,I=U.left-C,X=E.left-I,J=E.width+X,he=Math.max(J,D.width),ge=window.innerWidth-O,ve=be(I,[O,Math.max(O,ge-he)]);a.style.minWidth=J+"px",a.style.left=ve+"px"}else{const C=D.right-Z.right,I=window.innerWidth-U.right-C,X=window.innerWidth-E.right-I,J=E.width+X,he=Math.max(J,D.width),ge=window.innerWidth-O,ve=be(I,[O,Math.max(O,ge-he)]);a.style.minWidth=J+"px",a.style.right=ve+"px"}const k=x(),B=window.innerHeight-O*2,K=p.scrollHeight,H=window.getComputedStyle(u),W=parseInt(H.borderTopWidth,10),R=parseInt(H.paddingTop,10),L=parseInt(H.borderBottomWidth,10),F=parseInt(H.paddingBottom,10),$=W+R+K+F+L,pe=Math.min(S.offsetHeight*5,$),le=window.getComputedStyle(p),fe=parseInt(le.paddingTop,10),me=parseInt(le.paddingBottom,10),te=E.top+E.height/2-O,ae=B-te,re=S.offsetHeight/2,m=S.offsetTop+re,b=W+R+m,_=$-b;if(b<=te){const C=k.length>0&&S===k[k.length-1].ref.current;a.style.bottom="0px";const I=u.clientHeight-p.offsetTop-p.offsetHeight,X=Math.max(ae,re+(C?me:0)+I+L),J=b+X;a.style.height=J+"px"}else{const C=k.length>0&&S===k[0].ref.current;a.style.top="0px";const X=Math.max(te,W+p.offsetTop+(C?fe:0)+re)+_;a.style.height=X+"px",p.scrollTop=b-te+p.offsetTop}a.style.margin=`${O}px 0`,a.style.minHeight=pe+"px",a.style.maxHeight=B+"px",r==null||r(),requestAnimationFrame(()=>T.current=!0)}},[x,d.trigger,d.valueNode,a,u,p,S,y,d.dir,r]);z(()=>h(),[h]);const[M,A]=n.useState();z(()=>{u&&A(window.getComputedStyle(u).zIndex)},[u]);const ne=n.useCallback(E=>{E&&w.current===!0&&(h(),f==null||f(),w.current=!1)},[h,f]);return c.jsx(eo,{scope:e,contentWrapper:a,shouldExpandOnScrollRef:T,onScrollButtonChange:ne,children:c.jsx("div",{ref:i,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:M},children:c.jsx(j.div,{...s,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});We.displayName=Jt;var Qt="SelectPopperPosition",Se=n.forwardRef((t,o)=>{const{__scopeSelect:e,align:r="start",collisionPadding:s=O,...d}=t,l=ue(e);return c.jsx(bt,{...l,...d,ref:o,align:r,collisionPadding:s,style:{boxSizing:"border-box",...d.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Se.displayName=Qt;var[eo,Ne]=oe(ee,{}),xe="SelectViewport",Fe=n.forwardRef((t,o)=>{const{__scopeSelect:e,nonce:r,...s}=t,d=q(xe,e),l=Ne(xe,e),a=V(o,d.onViewportChange),i=n.useRef(0);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),c.jsx(ce.Slot,{scope:e,children:c.jsx(j.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:P(s.onScroll,u=>{const g=u.currentTarget,{contentWrapper:v,shouldExpandOnScrollRef:x}=l;if(x!=null&&x.current&&v){const T=Math.abs(i.current-g.scrollTop);if(T>0){const w=window.innerHeight-O*2,p=parseFloat(v.style.minHeight),S=parseFloat(v.style.height),y=Math.max(p,S);if(y0?M:0,v.style.justifyContent="flex-end")}}}i.current=g.scrollTop})})})]})});Fe.displayName=xe;var Ue="SelectGroup",[to,oo]=oe(Ue),no=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t,s=Ie();return c.jsx(to,{scope:e,id:s,children:c.jsx(j.div,{role:"group","aria-labelledby":s,...r,ref:o})})});no.displayName=Ue;var Ke="SelectLabel",$e=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t,s=oo(Ke,e);return c.jsx(j.div,{id:s.id,...r,ref:o})});$e.displayName=Ke;var ie="SelectItem",[ro,ze]=oe(ie),Ge=n.forwardRef((t,o)=>{const{__scopeSelect:e,value:r,disabled:s=!1,textValue:d,...l}=t,a=Y(ie,e),i=q(ie,e),u=a.value===r,[g,v]=n.useState(d??""),[x,T]=n.useState(!1),w=V(o,f=>{var h;return(h=i.itemRefCallback)==null?void 0:h.call(i,f,r,s)}),p=Ie(),S=n.useRef("touch"),y=()=>{s||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return c.jsx(ro,{scope:e,value:r,disabled:s,textId:p,isSelected:u,onItemTextChange:n.useCallback(f=>{v(h=>h||((f==null?void 0:f.textContent)??"").trim())},[]),children:c.jsx(ce.ItemSlot,{scope:e,value:r,disabled:s,textValue:g,children:c.jsx(j.div,{role:"option","aria-labelledby":p,"data-highlighted":x?"":void 0,"aria-selected":u&&x,"data-state":u?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...l,ref:w,onFocus:P(l.onFocus,()=>T(!0)),onBlur:P(l.onBlur,()=>T(!1)),onClick:P(l.onClick,()=>{S.current!=="mouse"&&y()}),onPointerUp:P(l.onPointerUp,()=>{S.current==="mouse"&&y()}),onPointerDown:P(l.onPointerDown,f=>{S.current=f.pointerType}),onPointerMove:P(l.onPointerMove,f=>{var h;S.current=f.pointerType,s?(h=i.onItemLeave)==null||h.call(i):S.current==="mouse"&&f.currentTarget.focus({preventScroll:!0})}),onPointerLeave:P(l.onPointerLeave,f=>{var h;f.currentTarget===document.activeElement&&((h=i.onItemLeave)==null||h.call(i))}),onKeyDown:P(l.onKeyDown,f=>{var M;((M=i.searchRef)==null?void 0:M.current)!==""&&f.key===" "||(Ut.includes(f.key)&&y(),f.key===" "&&f.preventDefault())})})})})});Ge.displayName=ie;var se="SelectItemText",Ye=n.forwardRef((t,o)=>{const{__scopeSelect:e,className:r,style:s,...d}=t,l=Y(se,e),a=q(se,e),i=ze(se,e),u=Gt(se,e),[g,v]=n.useState(null),x=V(o,y=>v(y),i.onItemTextChange,y=>{var f;return(f=a.itemTextRefCallback)==null?void 0:f.call(a,y,i.value,i.disabled)}),T=g==null?void 0:g.textContent,w=n.useMemo(()=>c.jsx("option",{value:i.value,disabled:i.disabled,children:T},i.value),[i.disabled,i.value,T]),{onNativeOptionAdd:p,onNativeOptionRemove:S}=u;return z(()=>(p(w),()=>S(w)),[p,S,w]),c.jsxs(c.Fragment,{children:[c.jsx(j.span,{id:i.textId,...d,ref:x}),i.isSelected&&l.valueNode&&!l.valueNodeHasChildren?Ee.createPortal(d.children,l.valueNode):null]})});Ye.displayName=se;var qe="SelectItemIndicator",Ze=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t;return ze(qe,e).isSelected?c.jsx(j.span,{"aria-hidden":!0,...r,ref:o}):null});Ze.displayName=qe;var we="SelectScrollUpButton",Xe=n.forwardRef((t,o)=>{const e=q(we,t.__scopeSelect),r=Ne(we,t.__scopeSelect),[s,d]=n.useState(!1),l=V(o,r.onScrollButtonChange);return z(()=>{if(e.viewport&&e.isPositioned){let a=function(){const u=i.scrollTop>0;d(u)};const i=e.viewport;return a(),i.addEventListener("scroll",a),()=>i.removeEventListener("scroll",a)}},[e.viewport,e.isPositioned]),s?c.jsx(Qe,{...t,ref:l,onAutoScroll:()=>{const{viewport:a,selectedItem:i}=e;a&&i&&(a.scrollTop=a.scrollTop-i.offsetHeight)}}):null});Xe.displayName=we;var ye="SelectScrollDownButton",Je=n.forwardRef((t,o)=>{const e=q(ye,t.__scopeSelect),r=Ne(ye,t.__scopeSelect),[s,d]=n.useState(!1),l=V(o,r.onScrollButtonChange);return z(()=>{if(e.viewport&&e.isPositioned){let a=function(){const u=i.scrollHeight-i.clientHeight,g=Math.ceil(i.scrollTop)i.removeEventListener("scroll",a)}},[e.viewport,e.isPositioned]),s?c.jsx(Qe,{...t,ref:l,onAutoScroll:()=>{const{viewport:a,selectedItem:i}=e;a&&i&&(a.scrollTop=a.scrollTop+i.offsetHeight)}}):null});Je.displayName=ye;var Qe=n.forwardRef((t,o)=>{const{__scopeSelect:e,onAutoScroll:r,...s}=t,d=q("SelectScrollButton",e),l=n.useRef(null),a=de(e),i=n.useCallback(()=>{l.current!==null&&(window.clearInterval(l.current),l.current=null)},[]);return n.useEffect(()=>()=>i(),[i]),z(()=>{var g;const u=a().find(v=>v.ref.current===document.activeElement);(g=u==null?void 0:u.ref.current)==null||g.scrollIntoView({block:"nearest"})},[a]),c.jsx(j.div,{"aria-hidden":!0,...s,ref:o,style:{flexShrink:0,...s.style},onPointerDown:P(s.onPointerDown,()=>{l.current===null&&(l.current=window.setInterval(r,50))}),onPointerMove:P(s.onPointerMove,()=>{var u;(u=d.onItemLeave)==null||u.call(d),l.current===null&&(l.current=window.setInterval(r,50))}),onPointerLeave:P(s.onPointerLeave,()=>{i()})})}),so="SelectSeparator",et=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t;return c.jsx(j.div,{"aria-hidden":!0,...r,ref:o})});et.displayName=so;var Ce="SelectArrow",lo=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t,s=ue(e),d=Y(Ce,e),l=q(Ce,e);return d.open&&l.position==="popper"?c.jsx(Pt,{...s,...r,ref:o}):null});lo.displayName=Ce;var ao="SelectBubbleInput",tt=n.forwardRef(({__scopeSelect:t,value:o,...e},r)=>{const s=n.useRef(null),d=V(r,s),l=Et(o);return n.useEffect(()=>{const a=s.current;if(!a)return;const i=window.HTMLSelectElement.prototype,g=Object.getOwnPropertyDescriptor(i,"value").set;if(l!==o&&g){const v=new Event("change",{bubbles:!0});g.call(a,o),a.dispatchEvent(v)}},[l,o]),c.jsx(j.select,{...e,style:{...Rt,...e.style},ref:d,defaultValue:o})});tt.displayName=ao;function ot(t){return t===""||t===void 0}function nt(t){const o=wt(t),e=n.useRef(""),r=n.useRef(0),s=n.useCallback(l=>{const a=e.current+l;o(a),(function i(u){e.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>i(""),1e3))})(a)},[o]),d=n.useCallback(()=>{e.current="",window.clearTimeout(r.current)},[]);return n.useEffect(()=>()=>window.clearTimeout(r.current),[]),[e,s,d]}function rt(t,o,e){const s=o.length>1&&Array.from(o).every(u=>u===o[0])?o[0]:o,d=e?t.indexOf(e):-1;let l=io(t,Math.max(d,0));s.length===1&&(l=l.filter(u=>u!==e));const i=l.find(u=>u.textValue.toLowerCase().startsWith(s.toLowerCase()));return i!==e?i:void 0}function io(t,o){return t.map((e,r)=>t[(o+r)%t.length])}var co=je,st=Ae,uo=De,po=Le,fo=Ve,lt=ke,mo=Fe,at=$e,it=Ge,ho=Ye,go=Ze,ct=Xe,dt=Je,ut=et;const Po=co,Eo=uo,vo=n.forwardRef(({className:t,children:o,...e},r)=>c.jsxs(st,{ref:r,className:G("flex h-10 w-full cursor-pointer items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...e,children:[o,c.jsx(po,{asChild:!0,children:c.jsx(Re,{className:"h-4 w-4 opacity-50"})})]}));vo.displayName=st.displayName;const pt=n.forwardRef(({className:t,...o},e)=>c.jsx(ct,{ref:e,className:G("flex cursor-pointer items-center justify-center py-1",t),...o,children:c.jsx(At,{className:"h-4 w-4"})}));pt.displayName=ct.displayName;const ft=n.forwardRef(({className:t,...o},e)=>c.jsx(dt,{ref:e,className:G("flex cursor-pointer items-center justify-center py-1",t),...o,children:c.jsx(Re,{className:"h-4 w-4"})}));ft.displayName=dt.displayName;const So=n.forwardRef(({className:t,children:o,position:e="popper",searchable:r,...s},d)=>{const[l,a]=n.useState(""),i=n.useMemo(()=>!r||!l?o:n.Children.toArray(o).filter(u=>{var g;return n.isValidElement(u)?(((g=u.props.children)==null?void 0:g.toString().toLowerCase())||"").includes(l.toLowerCase()):!0}),[o,l,r]);return c.jsx(fo,{children:c.jsxs(lt,{ref:d,className:G("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:e,...s,children:[r&&c.jsx("div",{className:"p-2 border-b",children:c.jsxs("div",{className:"relative",children:[c.jsx(_t,{className:"absolute left-2 top-2.5 h-4 w-4 text-muted-foreground"}),c.jsx(jt,{placeholder:"Search...",value:l,onChange:u=>a(u.target.value),className:"pl-8 h-8",onKeyDown:u=>u.stopPropagation()})]})}),c.jsx(pt,{}),c.jsx(mo,{className:G("p-1",e==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r?i:o}),c.jsx(ft,{})]})})});So.displayName=lt.displayName;const xo=n.forwardRef(({className:t,...o},e)=>c.jsx(at,{ref:e,className:G("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...o}));xo.displayName=at.displayName;const wo=n.forwardRef(({className:t,children:o,...e},r)=>c.jsxs(it,{ref:r,className:G("relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...e,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:c.jsx(go,{children:c.jsx(Mt,{className:"h-4 w-4"})})}),c.jsx(ho,{children:o})]}));wo.displayName=it.displayName;const yo=n.forwardRef(({className:t,...o},e)=>c.jsx(ut,{ref:e,className:G("-mx-1 my-1 h-px bg-muted",t),...o}));yo.displayName=ut.displayName;export{Po as S,vo as a,Eo as b,So as c,wo as d}; +import{r as n,j as c,f as mt,M as ht,k as Te,l as gt,u as Ie,m as V,K as z,s as Pe,N as vt,A as St,n as P,p as xt,a as Ee,J as wt,Q as yt,U as Ct,V as It,W as Nt,t as Tt,v as bt,q as Pt}from"./ui-Z445SNHD.js";import{c as be}from"./index-BdQq_4o_.js";import{u as Et}from"./index-9MclThM-.js";import{ah as Rt,e as G,S as _t,I as jt,V as Mt}from"./app-Dya84jp7.js";import{C as Re,a as At}from"./chevron-up-DHaGktre.js";function Ot(t,o=[]){let e=[];function r(d,l){const a=n.createContext(l),i=e.length;e=[...e,l];const u=v=>{var y;const{scope:x,children:T,...w}=v,p=((y=x==null?void 0:x[t])==null?void 0:y[i])||a,S=n.useMemo(()=>w,Object.values(w));return c.jsx(p.Provider,{value:S,children:T})};u.displayName=d+"Provider";function g(v,x){var p;const T=((p=x==null?void 0:x[t])==null?void 0:p[i])||a,w=n.useContext(T);if(w)return w;if(l!==void 0)return l;throw new Error(`\`${v}\` must be used within \`${d}\``)}return[u,g]}const s=()=>{const d=e.map(l=>n.createContext(l));return function(a){const i=(a==null?void 0:a[t])||d;return n.useMemo(()=>({[`__scope${t}`]:{...a,[t]:i}}),[a,i])}};return s.scopeName=t,[r,Dt(s,...o)]}function Dt(...t){const o=t[0];if(t.length===1)return o;const e=()=>{const r=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(d){const l=r.reduce((a,{useScope:i,scopeName:u})=>{const v=i(d)[`__scope${u}`];return{...a,...v}},{});return n.useMemo(()=>({[`__scope${o.scopeName}`]:l}),[l])}};return e.scopeName=o.scopeName,e}function _e(t){const o=Lt(t),e=n.forwardRef((r,s)=>{const{children:d,...l}=r,a=n.Children.toArray(d),i=a.find(kt);if(i){const u=i.props.children,g=a.map(v=>v===i?n.Children.count(u)>1?n.Children.only(null):n.isValidElement(u)?u.props.children:null:v);return c.jsx(o,{...l,ref:s,children:n.isValidElement(u)?n.cloneElement(u,void 0,g):null})}return c.jsx(o,{...l,ref:s,children:d})});return e.displayName=`${t}.Slot`,e}function Lt(t){const o=n.forwardRef((e,r)=>{const{children:s,...d}=e;if(n.isValidElement(s)){const l=Ht(s),a=Bt(d,s.props);return s.type!==n.Fragment&&(a.ref=r?mt(r,l):l),n.cloneElement(s,a)}return n.Children.count(s)>1?n.Children.only(null):null});return o.displayName=`${t}.SlotClone`,o}var Vt=Symbol("radix.slottable");function kt(t){return n.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Vt}function Bt(t,o){const e={...o};for(const r in o){const s=t[r],d=o[r];/^on[A-Z]/.test(r)?s&&d?e[r]=(...a)=>{const i=d(...a);return s(...a),i}:s&&(e[r]=s):r==="style"?e[r]={...s,...d}:r==="className"&&(e[r]=[s,d].filter(Boolean).join(" "))}return{...t,...e}}function Ht(t){var r,s;let o=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,e=o&&"isReactWarning"in o&&o.isReactWarning;return e?t.ref:(o=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,e=o&&"isReactWarning"in o&&o.isReactWarning,e?t.props.ref:t.props.ref||t.ref)}var Wt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],j=Wt.reduce((t,o)=>{const e=_e(`Primitive.${o}`),r=n.forwardRef((s,d)=>{const{asChild:l,...a}=s,i=l?e:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(i,{...a,ref:d})});return r.displayName=`Primitive.${o}`,{...t,[o]:r}},{}),Ft=[" ","Enter","ArrowUp","ArrowDown"],Ut=[" ","Enter"],Q="Select",[ce,de,Kt]=vt(Q),[oe]=Ot(Q,[Kt,Pe]),ue=Pe(),[$t,Y]=oe(Q),[zt,Gt]=oe(Q),je=t=>{const{__scopeSelect:o,children:e,open:r,defaultOpen:s,onOpenChange:d,value:l,defaultValue:a,onValueChange:i,dir:u,name:g,autoComplete:v,disabled:x,required:T,form:w}=t,p=ue(o),[S,y]=n.useState(null),[f,h]=n.useState(null),[M,A]=n.useState(!1),ne=ht(u),[E,D]=Te({prop:r,defaultProp:s??!1,onChange:d,caller:Q}),[U,Z]=Te({prop:l,defaultProp:a,onChange:i,caller:Q}),k=n.useRef(null),B=S?w||!!S.closest("form"):!0,[K,H]=n.useState(new Set),W=Array.from(K).map(R=>R.props.value).join(";");return c.jsx(gt,{...p,children:c.jsxs($t,{required:T,scope:o,trigger:S,onTriggerChange:y,valueNode:f,onValueNodeChange:h,valueNodeHasChildren:M,onValueNodeHasChildrenChange:A,contentId:Ie(),value:U,onValueChange:Z,open:E,onOpenChange:D,dir:ne,triggerPointerDownPosRef:k,disabled:x,children:[c.jsx(ce.Provider,{scope:o,children:c.jsx(zt,{scope:t.__scopeSelect,onNativeOptionAdd:n.useCallback(R=>{H(L=>new Set(L).add(R))},[]),onNativeOptionRemove:n.useCallback(R=>{H(L=>{const F=new Set(L);return F.delete(R),F})},[]),children:e})}),B?c.jsxs(tt,{"aria-hidden":!0,required:T,tabIndex:-1,name:g,autoComplete:v,value:U,onChange:R=>Z(R.target.value),disabled:x,form:w,children:[U===void 0?c.jsx("option",{value:""}):null,Array.from(K)]},W):null]})})};je.displayName=Q;var Me="SelectTrigger",Ae=n.forwardRef((t,o)=>{const{__scopeSelect:e,disabled:r=!1,...s}=t,d=ue(e),l=Y(Me,e),a=l.disabled||r,i=V(o,l.onTriggerChange),u=de(e),g=n.useRef("touch"),[v,x,T]=nt(p=>{const S=u().filter(h=>!h.disabled),y=S.find(h=>h.value===l.value),f=rt(S,p,y);f!==void 0&&l.onValueChange(f.value)}),w=p=>{a||(l.onOpenChange(!0),T()),p&&(l.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return c.jsx(St,{asChild:!0,...d,children:c.jsx(j.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":ot(l.value)?"":void 0,...s,ref:i,onClick:P(s.onClick,p=>{p.currentTarget.focus(),g.current!=="mouse"&&w(p)}),onPointerDown:P(s.onPointerDown,p=>{g.current=p.pointerType;const S=p.target;S.hasPointerCapture(p.pointerId)&&S.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(w(p),p.preventDefault())}),onKeyDown:P(s.onKeyDown,p=>{const S=v.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&x(p.key),!(S&&p.key===" ")&&Ft.includes(p.key)&&(w(),p.preventDefault())})})})});Ae.displayName=Me;var Oe="SelectValue",De=n.forwardRef((t,o)=>{const{__scopeSelect:e,className:r,style:s,children:d,placeholder:l="",...a}=t,i=Y(Oe,e),{onValueNodeHasChildrenChange:u}=i,g=d!==void 0,v=V(o,i.onValueNodeChange);return z(()=>{u(g)},[u,g]),c.jsx(j.span,{...a,ref:v,style:{pointerEvents:"none"},children:ot(i.value)?c.jsx(c.Fragment,{children:l}):d})});De.displayName=Oe;var Yt="SelectIcon",Le=n.forwardRef((t,o)=>{const{__scopeSelect:e,children:r,...s}=t;return c.jsx(j.span,{"aria-hidden":!0,...s,ref:o,children:r||"▼"})});Le.displayName=Yt;var qt="SelectPortal",Ve=t=>c.jsx(xt,{asChild:!0,...t});Ve.displayName=qt;var ee="SelectContent",ke=n.forwardRef((t,o)=>{const e=Y(ee,t.__scopeSelect),[r,s]=n.useState();if(z(()=>{s(new DocumentFragment)},[]),!e.open){const d=r;return d?Ee.createPortal(c.jsx(Be,{scope:t.__scopeSelect,children:c.jsx(ce.Slot,{scope:t.__scopeSelect,children:c.jsx("div",{children:t.children})})}),d):null}return c.jsx(He,{...t,ref:o})});ke.displayName=ee;var O=10,[Be,q]=oe(ee),Zt="SelectContentImpl",Xt=_e("SelectContent.RemoveScroll"),He=n.forwardRef((t,o)=>{const{__scopeSelect:e,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:d,onPointerDownOutside:l,side:a,sideOffset:i,align:u,alignOffset:g,arrowPadding:v,collisionBoundary:x,collisionPadding:T,sticky:w,hideWhenDetached:p,avoidCollisions:S,...y}=t,f=Y(ee,e),[h,M]=n.useState(null),[A,ne]=n.useState(null),E=V(o,m=>M(m)),[D,U]=n.useState(null),[Z,k]=n.useState(null),B=de(e),[K,H]=n.useState(!1),W=n.useRef(!1);n.useEffect(()=>{if(h)return yt(h)},[h]),Ct();const R=n.useCallback(m=>{const[b,..._]=B().map(I=>I.ref.current),[N]=_.slice(-1),C=document.activeElement;for(const I of m)if(I===C||(I==null||I.scrollIntoView({block:"nearest"}),I===b&&A&&(A.scrollTop=0),I===N&&A&&(A.scrollTop=A.scrollHeight),I==null||I.focus(),document.activeElement!==C))return},[B,A]),L=n.useCallback(()=>R([D,h]),[R,D,h]);n.useEffect(()=>{K&&L()},[K,L]);const{onOpenChange:F,triggerPointerDownPosRef:$}=f;n.useEffect(()=>{if(h){let m={x:0,y:0};const b=N=>{var C,I;m={x:Math.abs(Math.round(N.pageX)-(((C=$.current)==null?void 0:C.x)??0)),y:Math.abs(Math.round(N.pageY)-(((I=$.current)==null?void 0:I.y)??0))}},_=N=>{m.x<=10&&m.y<=10?N.preventDefault():h.contains(N.target)||F(!1),document.removeEventListener("pointermove",b),$.current=null};return $.current!==null&&(document.addEventListener("pointermove",b),document.addEventListener("pointerup",_,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",_,{capture:!0})}}},[h,F,$]),n.useEffect(()=>{const m=()=>F(!1);return window.addEventListener("blur",m),window.addEventListener("resize",m),()=>{window.removeEventListener("blur",m),window.removeEventListener("resize",m)}},[F]);const[pe,le]=nt(m=>{const b=B().filter(C=>!C.disabled),_=b.find(C=>C.ref.current===document.activeElement),N=rt(b,m,_);N&&setTimeout(()=>N.ref.current.focus())}),fe=n.useCallback((m,b,_)=>{const N=!W.current&&!_;(f.value!==void 0&&f.value===b||N)&&(U(m),N&&(W.current=!0))},[f.value]),me=n.useCallback(()=>h==null?void 0:h.focus(),[h]),te=n.useCallback((m,b,_)=>{const N=!W.current&&!_;(f.value!==void 0&&f.value===b||N)&&k(m)},[f.value]),ae=r==="popper"?Se:We,re=ae===Se?{side:a,sideOffset:i,align:u,alignOffset:g,arrowPadding:v,collisionBoundary:x,collisionPadding:T,sticky:w,hideWhenDetached:p,avoidCollisions:S}:{};return c.jsx(Be,{scope:e,content:h,viewport:A,onViewportChange:ne,itemRefCallback:fe,selectedItem:D,onItemLeave:me,itemTextRefCallback:te,focusSelectedItem:L,selectedItemText:Z,position:r,isPositioned:K,searchRef:pe,children:c.jsx(It,{as:Xt,allowPinchZoom:!0,children:c.jsx(Nt,{asChild:!0,trapped:f.open,onMountAutoFocus:m=>{m.preventDefault()},onUnmountAutoFocus:P(s,m=>{var b;(b=f.trigger)==null||b.focus({preventScroll:!0}),m.preventDefault()}),children:c.jsx(Tt,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:d,onPointerDownOutside:l,onFocusOutside:m=>m.preventDefault(),onDismiss:()=>f.onOpenChange(!1),children:c.jsx(ae,{role:"listbox",id:f.contentId,"data-state":f.open?"open":"closed",dir:f.dir,onContextMenu:m=>m.preventDefault(),...y,...re,onPlaced:()=>H(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:P(y.onKeyDown,m=>{const b=m.ctrlKey||m.altKey||m.metaKey;if(m.key==="Tab"&&m.preventDefault(),!b&&m.key.length===1&&le(m.key),["ArrowUp","ArrowDown","Home","End"].includes(m.key)){let N=B().filter(C=>!C.disabled).map(C=>C.ref.current);if(["ArrowUp","End"].includes(m.key)&&(N=N.slice().reverse()),["ArrowUp","ArrowDown"].includes(m.key)){const C=m.target,I=N.indexOf(C);N=N.slice(I+1)}setTimeout(()=>R(N)),m.preventDefault()}})})})})})})});He.displayName=Zt;var Jt="SelectItemAlignedPosition",We=n.forwardRef((t,o)=>{const{__scopeSelect:e,onPlaced:r,...s}=t,d=Y(ee,e),l=q(ee,e),[a,i]=n.useState(null),[u,g]=n.useState(null),v=V(o,E=>g(E)),x=de(e),T=n.useRef(!1),w=n.useRef(!0),{viewport:p,selectedItem:S,selectedItemText:y,focusSelectedItem:f}=l,h=n.useCallback(()=>{if(d.trigger&&d.valueNode&&a&&u&&p&&S&&y){const E=d.trigger.getBoundingClientRect(),D=u.getBoundingClientRect(),U=d.valueNode.getBoundingClientRect(),Z=y.getBoundingClientRect();if(d.dir!=="rtl"){const C=Z.left-D.left,I=U.left-C,X=E.left-I,J=E.width+X,he=Math.max(J,D.width),ge=window.innerWidth-O,ve=be(I,[O,Math.max(O,ge-he)]);a.style.minWidth=J+"px",a.style.left=ve+"px"}else{const C=D.right-Z.right,I=window.innerWidth-U.right-C,X=window.innerWidth-E.right-I,J=E.width+X,he=Math.max(J,D.width),ge=window.innerWidth-O,ve=be(I,[O,Math.max(O,ge-he)]);a.style.minWidth=J+"px",a.style.right=ve+"px"}const k=x(),B=window.innerHeight-O*2,K=p.scrollHeight,H=window.getComputedStyle(u),W=parseInt(H.borderTopWidth,10),R=parseInt(H.paddingTop,10),L=parseInt(H.borderBottomWidth,10),F=parseInt(H.paddingBottom,10),$=W+R+K+F+L,pe=Math.min(S.offsetHeight*5,$),le=window.getComputedStyle(p),fe=parseInt(le.paddingTop,10),me=parseInt(le.paddingBottom,10),te=E.top+E.height/2-O,ae=B-te,re=S.offsetHeight/2,m=S.offsetTop+re,b=W+R+m,_=$-b;if(b<=te){const C=k.length>0&&S===k[k.length-1].ref.current;a.style.bottom="0px";const I=u.clientHeight-p.offsetTop-p.offsetHeight,X=Math.max(ae,re+(C?me:0)+I+L),J=b+X;a.style.height=J+"px"}else{const C=k.length>0&&S===k[0].ref.current;a.style.top="0px";const X=Math.max(te,W+p.offsetTop+(C?fe:0)+re)+_;a.style.height=X+"px",p.scrollTop=b-te+p.offsetTop}a.style.margin=`${O}px 0`,a.style.minHeight=pe+"px",a.style.maxHeight=B+"px",r==null||r(),requestAnimationFrame(()=>T.current=!0)}},[x,d.trigger,d.valueNode,a,u,p,S,y,d.dir,r]);z(()=>h(),[h]);const[M,A]=n.useState();z(()=>{u&&A(window.getComputedStyle(u).zIndex)},[u]);const ne=n.useCallback(E=>{E&&w.current===!0&&(h(),f==null||f(),w.current=!1)},[h,f]);return c.jsx(eo,{scope:e,contentWrapper:a,shouldExpandOnScrollRef:T,onScrollButtonChange:ne,children:c.jsx("div",{ref:i,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:M},children:c.jsx(j.div,{...s,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});We.displayName=Jt;var Qt="SelectPopperPosition",Se=n.forwardRef((t,o)=>{const{__scopeSelect:e,align:r="start",collisionPadding:s=O,...d}=t,l=ue(e);return c.jsx(bt,{...l,...d,ref:o,align:r,collisionPadding:s,style:{boxSizing:"border-box",...d.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Se.displayName=Qt;var[eo,Ne]=oe(ee,{}),xe="SelectViewport",Fe=n.forwardRef((t,o)=>{const{__scopeSelect:e,nonce:r,...s}=t,d=q(xe,e),l=Ne(xe,e),a=V(o,d.onViewportChange),i=n.useRef(0);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),c.jsx(ce.Slot,{scope:e,children:c.jsx(j.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:P(s.onScroll,u=>{const g=u.currentTarget,{contentWrapper:v,shouldExpandOnScrollRef:x}=l;if(x!=null&&x.current&&v){const T=Math.abs(i.current-g.scrollTop);if(T>0){const w=window.innerHeight-O*2,p=parseFloat(v.style.minHeight),S=parseFloat(v.style.height),y=Math.max(p,S);if(y0?M:0,v.style.justifyContent="flex-end")}}}i.current=g.scrollTop})})})]})});Fe.displayName=xe;var Ue="SelectGroup",[to,oo]=oe(Ue),no=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t,s=Ie();return c.jsx(to,{scope:e,id:s,children:c.jsx(j.div,{role:"group","aria-labelledby":s,...r,ref:o})})});no.displayName=Ue;var Ke="SelectLabel",$e=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t,s=oo(Ke,e);return c.jsx(j.div,{id:s.id,...r,ref:o})});$e.displayName=Ke;var ie="SelectItem",[ro,ze]=oe(ie),Ge=n.forwardRef((t,o)=>{const{__scopeSelect:e,value:r,disabled:s=!1,textValue:d,...l}=t,a=Y(ie,e),i=q(ie,e),u=a.value===r,[g,v]=n.useState(d??""),[x,T]=n.useState(!1),w=V(o,f=>{var h;return(h=i.itemRefCallback)==null?void 0:h.call(i,f,r,s)}),p=Ie(),S=n.useRef("touch"),y=()=>{s||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return c.jsx(ro,{scope:e,value:r,disabled:s,textId:p,isSelected:u,onItemTextChange:n.useCallback(f=>{v(h=>h||((f==null?void 0:f.textContent)??"").trim())},[]),children:c.jsx(ce.ItemSlot,{scope:e,value:r,disabled:s,textValue:g,children:c.jsx(j.div,{role:"option","aria-labelledby":p,"data-highlighted":x?"":void 0,"aria-selected":u&&x,"data-state":u?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...l,ref:w,onFocus:P(l.onFocus,()=>T(!0)),onBlur:P(l.onBlur,()=>T(!1)),onClick:P(l.onClick,()=>{S.current!=="mouse"&&y()}),onPointerUp:P(l.onPointerUp,()=>{S.current==="mouse"&&y()}),onPointerDown:P(l.onPointerDown,f=>{S.current=f.pointerType}),onPointerMove:P(l.onPointerMove,f=>{var h;S.current=f.pointerType,s?(h=i.onItemLeave)==null||h.call(i):S.current==="mouse"&&f.currentTarget.focus({preventScroll:!0})}),onPointerLeave:P(l.onPointerLeave,f=>{var h;f.currentTarget===document.activeElement&&((h=i.onItemLeave)==null||h.call(i))}),onKeyDown:P(l.onKeyDown,f=>{var M;((M=i.searchRef)==null?void 0:M.current)!==""&&f.key===" "||(Ut.includes(f.key)&&y(),f.key===" "&&f.preventDefault())})})})})});Ge.displayName=ie;var se="SelectItemText",Ye=n.forwardRef((t,o)=>{const{__scopeSelect:e,className:r,style:s,...d}=t,l=Y(se,e),a=q(se,e),i=ze(se,e),u=Gt(se,e),[g,v]=n.useState(null),x=V(o,y=>v(y),i.onItemTextChange,y=>{var f;return(f=a.itemTextRefCallback)==null?void 0:f.call(a,y,i.value,i.disabled)}),T=g==null?void 0:g.textContent,w=n.useMemo(()=>c.jsx("option",{value:i.value,disabled:i.disabled,children:T},i.value),[i.disabled,i.value,T]),{onNativeOptionAdd:p,onNativeOptionRemove:S}=u;return z(()=>(p(w),()=>S(w)),[p,S,w]),c.jsxs(c.Fragment,{children:[c.jsx(j.span,{id:i.textId,...d,ref:x}),i.isSelected&&l.valueNode&&!l.valueNodeHasChildren?Ee.createPortal(d.children,l.valueNode):null]})});Ye.displayName=se;var qe="SelectItemIndicator",Ze=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t;return ze(qe,e).isSelected?c.jsx(j.span,{"aria-hidden":!0,...r,ref:o}):null});Ze.displayName=qe;var we="SelectScrollUpButton",Xe=n.forwardRef((t,o)=>{const e=q(we,t.__scopeSelect),r=Ne(we,t.__scopeSelect),[s,d]=n.useState(!1),l=V(o,r.onScrollButtonChange);return z(()=>{if(e.viewport&&e.isPositioned){let a=function(){const u=i.scrollTop>0;d(u)};const i=e.viewport;return a(),i.addEventListener("scroll",a),()=>i.removeEventListener("scroll",a)}},[e.viewport,e.isPositioned]),s?c.jsx(Qe,{...t,ref:l,onAutoScroll:()=>{const{viewport:a,selectedItem:i}=e;a&&i&&(a.scrollTop=a.scrollTop-i.offsetHeight)}}):null});Xe.displayName=we;var ye="SelectScrollDownButton",Je=n.forwardRef((t,o)=>{const e=q(ye,t.__scopeSelect),r=Ne(ye,t.__scopeSelect),[s,d]=n.useState(!1),l=V(o,r.onScrollButtonChange);return z(()=>{if(e.viewport&&e.isPositioned){let a=function(){const u=i.scrollHeight-i.clientHeight,g=Math.ceil(i.scrollTop)i.removeEventListener("scroll",a)}},[e.viewport,e.isPositioned]),s?c.jsx(Qe,{...t,ref:l,onAutoScroll:()=>{const{viewport:a,selectedItem:i}=e;a&&i&&(a.scrollTop=a.scrollTop+i.offsetHeight)}}):null});Je.displayName=ye;var Qe=n.forwardRef((t,o)=>{const{__scopeSelect:e,onAutoScroll:r,...s}=t,d=q("SelectScrollButton",e),l=n.useRef(null),a=de(e),i=n.useCallback(()=>{l.current!==null&&(window.clearInterval(l.current),l.current=null)},[]);return n.useEffect(()=>()=>i(),[i]),z(()=>{var g;const u=a().find(v=>v.ref.current===document.activeElement);(g=u==null?void 0:u.ref.current)==null||g.scrollIntoView({block:"nearest"})},[a]),c.jsx(j.div,{"aria-hidden":!0,...s,ref:o,style:{flexShrink:0,...s.style},onPointerDown:P(s.onPointerDown,()=>{l.current===null&&(l.current=window.setInterval(r,50))}),onPointerMove:P(s.onPointerMove,()=>{var u;(u=d.onItemLeave)==null||u.call(d),l.current===null&&(l.current=window.setInterval(r,50))}),onPointerLeave:P(s.onPointerLeave,()=>{i()})})}),so="SelectSeparator",et=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t;return c.jsx(j.div,{"aria-hidden":!0,...r,ref:o})});et.displayName=so;var Ce="SelectArrow",lo=n.forwardRef((t,o)=>{const{__scopeSelect:e,...r}=t,s=ue(e),d=Y(Ce,e),l=q(Ce,e);return d.open&&l.position==="popper"?c.jsx(Pt,{...s,...r,ref:o}):null});lo.displayName=Ce;var ao="SelectBubbleInput",tt=n.forwardRef(({__scopeSelect:t,value:o,...e},r)=>{const s=n.useRef(null),d=V(r,s),l=Et(o);return n.useEffect(()=>{const a=s.current;if(!a)return;const i=window.HTMLSelectElement.prototype,g=Object.getOwnPropertyDescriptor(i,"value").set;if(l!==o&&g){const v=new Event("change",{bubbles:!0});g.call(a,o),a.dispatchEvent(v)}},[l,o]),c.jsx(j.select,{...e,style:{...Rt,...e.style},ref:d,defaultValue:o})});tt.displayName=ao;function ot(t){return t===""||t===void 0}function nt(t){const o=wt(t),e=n.useRef(""),r=n.useRef(0),s=n.useCallback(l=>{const a=e.current+l;o(a),(function i(u){e.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>i(""),1e3))})(a)},[o]),d=n.useCallback(()=>{e.current="",window.clearTimeout(r.current)},[]);return n.useEffect(()=>()=>window.clearTimeout(r.current),[]),[e,s,d]}function rt(t,o,e){const s=o.length>1&&Array.from(o).every(u=>u===o[0])?o[0]:o,d=e?t.indexOf(e):-1;let l=io(t,Math.max(d,0));s.length===1&&(l=l.filter(u=>u!==e));const i=l.find(u=>u.textValue.toLowerCase().startsWith(s.toLowerCase()));return i!==e?i:void 0}function io(t,o){return t.map((e,r)=>t[(o+r)%t.length])}var co=je,st=Ae,uo=De,po=Le,fo=Ve,lt=ke,mo=Fe,at=$e,it=Ge,ho=Ye,go=Ze,ct=Xe,dt=Je,ut=et;const Po=co,Eo=uo,vo=n.forwardRef(({className:t,children:o,...e},r)=>c.jsxs(st,{ref:r,className:G("flex h-10 w-full cursor-pointer items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...e,children:[o,c.jsx(po,{asChild:!0,children:c.jsx(Re,{className:"h-4 w-4 opacity-50"})})]}));vo.displayName=st.displayName;const pt=n.forwardRef(({className:t,...o},e)=>c.jsx(ct,{ref:e,className:G("flex cursor-pointer items-center justify-center py-1",t),...o,children:c.jsx(At,{className:"h-4 w-4"})}));pt.displayName=ct.displayName;const ft=n.forwardRef(({className:t,...o},e)=>c.jsx(dt,{ref:e,className:G("flex cursor-pointer items-center justify-center py-1",t),...o,children:c.jsx(Re,{className:"h-4 w-4"})}));ft.displayName=dt.displayName;const So=n.forwardRef(({className:t,children:o,position:e="popper",searchable:r,...s},d)=>{const[l,a]=n.useState(""),i=n.useMemo(()=>!r||!l?o:n.Children.toArray(o).filter(u=>{var g;return n.isValidElement(u)?(((g=u.props.children)==null?void 0:g.toString().toLowerCase())||"").includes(l.toLowerCase()):!0}),[o,l,r]);return c.jsx(fo,{children:c.jsxs(lt,{ref:d,className:G("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:e,...s,children:[r&&c.jsx("div",{className:"p-2 border-b",children:c.jsxs("div",{className:"relative",children:[c.jsx(_t,{className:"absolute left-2 top-2.5 h-4 w-4 text-muted-foreground"}),c.jsx(jt,{placeholder:"Search...",value:l,onChange:u=>a(u.target.value),className:"pl-8 h-8",onKeyDown:u=>u.stopPropagation()})]})}),c.jsx(pt,{}),c.jsx(mo,{className:G("p-1",e==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r?i:o}),c.jsx(ft,{})]})})});So.displayName=lt.displayName;const xo=n.forwardRef(({className:t,...o},e)=>c.jsx(at,{ref:e,className:G("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...o}));xo.displayName=at.displayName;const wo=n.forwardRef(({className:t,children:o,...e},r)=>c.jsxs(it,{ref:r,className:G("relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...e,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:c.jsx(go,{children:c.jsx(Mt,{className:"h-4 w-4"})})}),c.jsx(ho,{children:o})]}));wo.displayName=it.displayName;const yo=n.forwardRef(({className:t,...o},e)=>c.jsx(ut,{ref:e,className:G("-mx-1 my-1 h-px bg-muted",t),...o}));yo.displayName=ut.displayName;export{Po as S,vo as a,Eo as b,So as c,wo as d}; diff --git a/public/build/assets/send-Cj7KqUHo.js b/public/build/assets/send-Cs5D4i9u.js similarity index 90% rename from public/build/assets/send-Cj7KqUHo.js rename to public/build/assets/send-Cs5D4i9u.js index d771c98c0..7ddfb91d6 100644 --- a/public/build/assets/send-Cj7KqUHo.js +++ b/public/build/assets/send-Cs5D4i9u.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/seo-settings-BcLiux8O.js b/public/build/assets/seo-settings-BzvLQN-Z.js similarity index 98% rename from public/build/assets/seo-settings-BcLiux8O.js rename to public/build/assets/seo-settings-BzvLQN-Z.js index 1ae88b8da..71039495c 100644 --- a/public/build/assets/seo-settings-BcLiux8O.js +++ b/public/build/assets/seo-settings-BzvLQN-Z.js @@ -1 +1 @@ -import{r as c,j as e}from"./ui-Z445SNHD.js";import{u as K,c as U,g as O,ap as F,L as u,I as v,U as w,X as M,S as P,o as C,y as L,t as n,r as q}from"./app-CfhhiFAk.js";import{T as z}from"./textarea-kpRjGGLz.js";import{L as R}from"./lightbulb-BGgHG47R.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function H({settings:p={}}){const{t:s}=K(),y=U().props,o={metaKeywords:"",metaDescription:"",metaImage:"",siteName:""},l=Object.keys(p).length>0?p:y.settings||{},[r,m]=c.useState(()=>({metaKeywords:l.metaKeywords||o.metaKeywords,metaDescription:l.metaDescription||o.metaDescription,metaImage:l.metaImage||o.metaImage,siteName:l.siteName||l.appName||o.siteName})),[h,d]=c.useState(null),[S,x]=c.useState(!1),[f,g]=c.useState(null),[I]=c.useState(l.metaImage||"");c.useEffect(()=>{if(Object.keys(l).length>0){const i=Object.keys(o).reduce((t,a)=>(t[a]=l[a]||o[a],t),{});m(t=>({...t,...i}))}},[l]);const j=(i,t)=>{m(a=>({...a,[i]:t}))},k=i=>{var a;const t=(a=i.target.files)==null?void 0:a[0];if(t){if(!t.type.startsWith("image/")){n.error("Please select a valid image file");return}if(t.size>5*1024*1024){n.error("Image size should be less than 5MB");return}x(!1),d(URL.createObjectURL(t)),g(t)}},D=()=>{d(null),x(!1),g(null),m(i=>({...i,metaImage:I}))},E=i=>{if(i.preventDefault(),!r.metaKeywords.trim()){n.error(s("Meta Keywords is required"));return}if(!r.metaDescription.trim()){n.error(s("Meta Description is required"));return}if(!r.metaImage.trim()&&!f){n.error(s("Meta Image is required"));return}q.post(route("settings.seo.update"),{metaKeywords:r.metaKeywords,metaDescription:r.metaDescription,metaImage:f||r.metaImage},{preserveScroll:!0,forceFormData:!0,onSuccess:t=>{const a=t.props.flash;a!=null&&a.success?(n.success(a.success),g(null),d(null)):a!=null&&a.error&&n.error(a.error)},onError:t=>{n.error(t.error||Object.values(t).join(", ")||s("Failed to update SEO settings"))}})},b=h||(r.metaImage?O(r.metaImage):null),N=!!(r.metaImage||h);return e.jsx(F,{title:s("SEO Settings"),description:s("Configure SEO settings to improve your website's search engine visibility"),action:e.jsxs(C,{type:"submit",form:"seo-settings-form",size:"sm",className:"gap-2 bg-green-600 text-white hover:bg-green-700",children:[e.jsx(L,{className:"h-4 w-4"}),s("Save Changes")]}),children:e.jsx("form",{id:"seo-settings-form",onSubmit:E,children:e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-5",children:[e.jsxs("div",{className:"space-y-5 lg:col-span-3",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs(u,{htmlFor:"metaKeywords",children:[s("Meta Keywords")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(v,{id:"metaKeywords",type:"text",value:r.metaKeywords,onChange:i=>j("metaKeywords",i.target.value),placeholder:s("Enter keywords separated by commas"),required:!0}),e.jsx("p",{className:"text-muted-foreground text-xs",children:s("Use relevant keywords that describe your content. Separate multiple keywords with commas.")})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs(u,{htmlFor:"metaDescription",children:[s("Meta Description")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"relative",children:[e.jsx(z,{id:"metaDescription",value:r.metaDescription,onChange:i=>j("metaDescription",i.target.value),placeholder:s("Enter a brief description for search engines (max 160 characters)"),maxLength:160,rows:4,required:!0,className:"pb-6"}),e.jsxs("span",{className:"text-muted-foreground pointer-events-none absolute right-3 bottom-2 text-xs",children:[r.metaDescription.length,"/160"]})]}),e.jsx("p",{className:"text-muted-foreground text-xs",children:s("Write a compelling description that summarizes your page content and encourages clicks from search results.")})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs(u,{htmlFor:"metaImageUpload",children:[s("Meta Image")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"border-input flex h-10 w-full items-center overflow-hidden rounded-md border bg-transparent text-sm",children:[e.jsxs("label",{htmlFor:"metaImageUpload",className:"flex flex-1 cursor-pointer items-center gap-2 px-3 py-2 select-none",children:[e.jsx(w,{className:"text-muted-foreground h-4 w-4 shrink-0"}),e.jsx("span",{className:"text-muted-foreground",children:s(N?"Change Image":"Upload Image")})]}),e.jsx(v,{id:"metaImageUpload",type:"file",accept:"image/*",className:"hidden",onChange:k}),N&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"bg-border h-full w-px"}),e.jsx("button",{type:"button",onClick:D,className:"text-muted-foreground hover:text-foreground flex h-full w-10 shrink-0 cursor-pointer items-center justify-center","aria-label":"Remove image",children:e.jsx(M,{className:"h-4 w-4"})})]})]}),e.jsx("p",{className:"text-muted-foreground text-xs",children:s("Recommended size: 1200x630px for optimal social media sharing.")})]})]}),e.jsx("div",{className:"lg:col-span-2",children:e.jsxs("div",{className:"h-full space-y-3 rounded-xl border p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm font-semibold",children:[e.jsx(P,{className:"text-muted-foreground h-4 w-4"}),e.jsx("span",{children:s("SEO Preview")})]}),e.jsxs("div",{className:"rounded-lg border overflow-hidden",children:[e.jsx("div",{className:"px-3 pt-3 pb-2",children:e.jsx("p",{className:"text-muted-foreground text-xs font-semibold",children:s("Social Media Preview")})}),e.jsxs("div",{className:"flex items-stretch bg-gray-200 dark:bg-gray-700/50",children:[e.jsx("div",{className:"w-8 shrink-0 bg-gray-200 dark:bg-gray-600"}),e.jsx("div",{className:"flex flex-1 aspect-[1200/630] items-center justify-center overflow-hidden bg-white dark:bg-gray-800 shadow-sm",children:b&&!S?e.jsx("img",{src:b,alt:"Meta Image Preview",className:"h-full w-full object-cover",onError:()=>x(!0)}):e.jsxs("div",{className:"text-muted-foreground flex h-full w-full flex-col items-center justify-center gap-2 border border-dashed bg-slate-50 dark:bg-slate-800",children:[e.jsx(w,{className:"h-8 w-8 opacity-25"}),e.jsx("span",{className:"text-xs",children:"1200 × 630px"})]})}),e.jsx("div",{className:"w-8 shrink-0 bg-gray-200 dark:bg-gray-600"})]}),e.jsx("div",{className:"px-3 py-3",children:e.jsx("p",{className:"text-muted-foreground line-clamp-3 text-xs leading-relaxed",children:r.metaDescription||e.jsx("span",{className:"italic",children:s("Your meta description will appear here…")})})})]}),e.jsxs("div",{className:"rounded-lg border border-blue-200 bg-blue-50 p-3 dark:border-blue-800 dark:bg-blue-950/20",children:[e.jsxs("div",{className:"mb-2 flex items-center gap-1.5",children:[e.jsx(R,{className:"h-3.5 w-3.5 text-blue-500"}),e.jsx("span",{className:"text-xs font-semibold text-blue-600 dark:text-blue-400",children:s("SEO Tips")})]}),e.jsxs("ul",{className:"space-y-1 text-xs",children:[e.jsxs("li",{className:"text-blue-600 dark:text-blue-400",children:[e.jsx("span",{className:"font-medium",children:s("Keywords:")})," ",e.jsx("span",{children:s("Use 3-5 relevant keywords")})]}),e.jsxs("li",{className:"text-blue-600 dark:text-blue-400",children:[e.jsx("span",{className:"font-medium",children:s("Description:")})," ",e.jsx("span",{children:s("150-160 characters")})]}),e.jsxs("li",{className:"text-blue-600 dark:text-blue-400",children:[e.jsx("span",{className:"font-medium",children:s("Image:")})," ",e.jsx("span",{children:s("1200x630px works well")})]})]})]})]})})]})})})}export{H as default}; +import{r as c,j as e}from"./ui-Z445SNHD.js";import{u as K,c as U,g as O,ap as F,L as u,I as v,U as w,X as M,S as P,o as C,y as L,t as n,r as q}from"./app-Dya84jp7.js";import{T as z}from"./textarea-yeg8ONhy.js";import{L as R}from"./lightbulb-BaPQrzRp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function H({settings:p={}}){const{t:s}=K(),y=U().props,o={metaKeywords:"",metaDescription:"",metaImage:"",siteName:""},l=Object.keys(p).length>0?p:y.settings||{},[r,m]=c.useState(()=>({metaKeywords:l.metaKeywords||o.metaKeywords,metaDescription:l.metaDescription||o.metaDescription,metaImage:l.metaImage||o.metaImage,siteName:l.siteName||l.appName||o.siteName})),[h,d]=c.useState(null),[S,x]=c.useState(!1),[f,g]=c.useState(null),[I]=c.useState(l.metaImage||"");c.useEffect(()=>{if(Object.keys(l).length>0){const i=Object.keys(o).reduce((t,a)=>(t[a]=l[a]||o[a],t),{});m(t=>({...t,...i}))}},[l]);const j=(i,t)=>{m(a=>({...a,[i]:t}))},k=i=>{var a;const t=(a=i.target.files)==null?void 0:a[0];if(t){if(!t.type.startsWith("image/")){n.error("Please select a valid image file");return}if(t.size>5*1024*1024){n.error("Image size should be less than 5MB");return}x(!1),d(URL.createObjectURL(t)),g(t)}},D=()=>{d(null),x(!1),g(null),m(i=>({...i,metaImage:I}))},E=i=>{if(i.preventDefault(),!r.metaKeywords.trim()){n.error(s("Meta Keywords is required"));return}if(!r.metaDescription.trim()){n.error(s("Meta Description is required"));return}if(!r.metaImage.trim()&&!f){n.error(s("Meta Image is required"));return}q.post(route("settings.seo.update"),{metaKeywords:r.metaKeywords,metaDescription:r.metaDescription,metaImage:f||r.metaImage},{preserveScroll:!0,forceFormData:!0,onSuccess:t=>{const a=t.props.flash;a!=null&&a.success?(n.success(a.success),g(null),d(null)):a!=null&&a.error&&n.error(a.error)},onError:t=>{n.error(t.error||Object.values(t).join(", ")||s("Failed to update SEO settings"))}})},b=h||(r.metaImage?O(r.metaImage):null),N=!!(r.metaImage||h);return e.jsx(F,{title:s("SEO Settings"),description:s("Configure SEO settings to improve your website's search engine visibility"),action:e.jsxs(C,{type:"submit",form:"seo-settings-form",size:"sm",className:"gap-2 bg-green-600 text-white hover:bg-green-700",children:[e.jsx(L,{className:"h-4 w-4"}),s("Save Changes")]}),children:e.jsx("form",{id:"seo-settings-form",onSubmit:E,children:e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-5",children:[e.jsxs("div",{className:"space-y-5 lg:col-span-3",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs(u,{htmlFor:"metaKeywords",children:[s("Meta Keywords")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(v,{id:"metaKeywords",type:"text",value:r.metaKeywords,onChange:i=>j("metaKeywords",i.target.value),placeholder:s("Enter keywords separated by commas"),required:!0}),e.jsx("p",{className:"text-muted-foreground text-xs",children:s("Use relevant keywords that describe your content. Separate multiple keywords with commas.")})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs(u,{htmlFor:"metaDescription",children:[s("Meta Description")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"relative",children:[e.jsx(z,{id:"metaDescription",value:r.metaDescription,onChange:i=>j("metaDescription",i.target.value),placeholder:s("Enter a brief description for search engines (max 160 characters)"),maxLength:160,rows:4,required:!0,className:"pb-6"}),e.jsxs("span",{className:"text-muted-foreground pointer-events-none absolute right-3 bottom-2 text-xs",children:[r.metaDescription.length,"/160"]})]}),e.jsx("p",{className:"text-muted-foreground text-xs",children:s("Write a compelling description that summarizes your page content and encourages clicks from search results.")})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs(u,{htmlFor:"metaImageUpload",children:[s("Meta Image")," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"border-input flex h-10 w-full items-center overflow-hidden rounded-md border bg-transparent text-sm",children:[e.jsxs("label",{htmlFor:"metaImageUpload",className:"flex flex-1 cursor-pointer items-center gap-2 px-3 py-2 select-none",children:[e.jsx(w,{className:"text-muted-foreground h-4 w-4 shrink-0"}),e.jsx("span",{className:"text-muted-foreground",children:s(N?"Change Image":"Upload Image")})]}),e.jsx(v,{id:"metaImageUpload",type:"file",accept:"image/*",className:"hidden",onChange:k}),N&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"bg-border h-full w-px"}),e.jsx("button",{type:"button",onClick:D,className:"text-muted-foreground hover:text-foreground flex h-full w-10 shrink-0 cursor-pointer items-center justify-center","aria-label":"Remove image",children:e.jsx(M,{className:"h-4 w-4"})})]})]}),e.jsx("p",{className:"text-muted-foreground text-xs",children:s("Recommended size: 1200x630px for optimal social media sharing.")})]})]}),e.jsx("div",{className:"lg:col-span-2",children:e.jsxs("div",{className:"h-full space-y-3 rounded-xl border p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm font-semibold",children:[e.jsx(P,{className:"text-muted-foreground h-4 w-4"}),e.jsx("span",{children:s("SEO Preview")})]}),e.jsxs("div",{className:"rounded-lg border overflow-hidden",children:[e.jsx("div",{className:"px-3 pt-3 pb-2",children:e.jsx("p",{className:"text-muted-foreground text-xs font-semibold",children:s("Social Media Preview")})}),e.jsxs("div",{className:"flex items-stretch bg-gray-200 dark:bg-gray-700/50",children:[e.jsx("div",{className:"w-8 shrink-0 bg-gray-200 dark:bg-gray-600"}),e.jsx("div",{className:"flex flex-1 aspect-[1200/630] items-center justify-center overflow-hidden bg-white dark:bg-gray-800 shadow-sm",children:b&&!S?e.jsx("img",{src:b,alt:"Meta Image Preview",className:"h-full w-full object-cover",onError:()=>x(!0)}):e.jsxs("div",{className:"text-muted-foreground flex h-full w-full flex-col items-center justify-center gap-2 border border-dashed bg-slate-50 dark:bg-slate-800",children:[e.jsx(w,{className:"h-8 w-8 opacity-25"}),e.jsx("span",{className:"text-xs",children:"1200 × 630px"})]})}),e.jsx("div",{className:"w-8 shrink-0 bg-gray-200 dark:bg-gray-600"})]}),e.jsx("div",{className:"px-3 py-3",children:e.jsx("p",{className:"text-muted-foreground line-clamp-3 text-xs leading-relaxed",children:r.metaDescription||e.jsx("span",{className:"italic",children:s("Your meta description will appear here…")})})})]}),e.jsxs("div",{className:"rounded-lg border border-blue-200 bg-blue-50 p-3 dark:border-blue-800 dark:bg-blue-950/20",children:[e.jsxs("div",{className:"mb-2 flex items-center gap-1.5",children:[e.jsx(R,{className:"h-3.5 w-3.5 text-blue-500"}),e.jsx("span",{className:"text-xs font-semibold text-blue-600 dark:text-blue-400",children:s("SEO Tips")})]}),e.jsxs("ul",{className:"space-y-1 text-xs",children:[e.jsxs("li",{className:"text-blue-600 dark:text-blue-400",children:[e.jsx("span",{className:"font-medium",children:s("Keywords:")})," ",e.jsx("span",{children:s("Use 3-5 relevant keywords")})]}),e.jsxs("li",{className:"text-blue-600 dark:text-blue-400",children:[e.jsx("span",{className:"font-medium",children:s("Description:")})," ",e.jsx("span",{children:s("150-160 characters")})]}),e.jsxs("li",{className:"text-blue-600 dark:text-blue-400",children:[e.jsx("span",{className:"font-medium",children:s("Image:")})," ",e.jsx("span",{children:s("1200x630px works well")})]})]})]})]})})]})})})}export{H as default}; diff --git a/public/build/assets/server-Dw1-QcTX.js b/public/build/assets/server-Bk9UD-_r.js similarity index 91% rename from public/build/assets/server-Dw1-QcTX.js rename to public/build/assets/server-Bk9UD-_r.js index d960abf15..aa4c52d6c 100644 --- a/public/build/assets/server-Dw1-QcTX.js +++ b/public/build/assets/server-Bk9UD-_r.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/settings-DrBp48X9.js b/public/build/assets/settings-B86VyvB8.js similarity index 98% rename from public/build/assets/settings-DrBp48X9.js rename to public/build/assets/settings-B86VyvB8.js index 4a4dd0977..f88972ef3 100644 --- a/public/build/assets/settings-DrBp48X9.js +++ b/public/build/assets/settings-B86VyvB8.js @@ -1 +1 @@ -import{r as J,j as e}from"./ui-Z445SNHD.js";import{u as ws,c as Cs,a as ks,b as Ss,ap as Fs,o as g,E as I,X as E,P as _,S as se,I as c,T as Ts,L as i,F as te,ac as xs,M as O,ad as gs,am as W,y as qs,d as Rs,g as us,r as Hs,t as ae}from"./app-CfhhiFAk.js";import{T as u}from"./textarea-kpRjGGLz.js";import{S as f}from"./switch-CKduD2wX.js";import{P as As}from"./page-template-BTxLyiDA.js";import{T as $s}from"./toaster-Bc5RPjCT.js";import Ms from"./settings-features-CF0Deece.js";import Ls from"./settings-about-qj_gVNSa.js";import{S as R}from"./settings-BwhyNRyj.js";import{A as Q}from"./arrow-up-down-Bd89yBZf.js";import{C as G}from"./code-BfjQUpEO.js";import{T as v}from"./type-CNRj7XNX.js";import{G as Y}from"./globe-DePi6jyA.js";import{A as H}from"./award-DMMowKjz.js";import{M as V}from"./monitor-CnIEqEUy.js";import{U as A}from"./users-C4LpG59H.js";import{I as B}from"./info-D_4wnc_R.js";import{C as re}from"./credit-card-BmdpMcMw.js";import{C as U}from"./circle-help-qSaafQwl.js";import{M as le}from"./mail-CGIE7ZEy.js";import{P as K}from"./phone-B_MwJBjY.js";import{T as C}from"./trash-2-C1NR_7Ss.js";import{G as Is}from"./grip-vertical-DE07jY4a.js";import{E as Ds}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./star-DQsTg5F1.js";import"./chart-column-CXNcY9Vx.js";const z={sections:[{key:"header",transparent:!1,background_color:"#ffffff",text_color:"#1f2937",button_style:"gradient"},{key:"hero",title:"Simplify HR Management Effortlessly",subtitle:"Manage employees, payroll, attendance, and more in one powerful platform.",announcement_text:"� New: Smart Leave & Attendance Tracking Launched!",primary_button_text:"Start Free Trial",secondary_button_text:"Login",image:"",background_color:"#f8fafc",text_color:"#1f2937",layout:"image-right",height:600,stats:[{value:"10K+",label:"Active Users"},{value:"50+",label:"Countries"},{value:"99%",label:"Satisfaction"}],card:{name:"John Doe",title:"Senior Developer",company:"Tech Solutions Inc.",initials:"JD"}},{key:"features",title:"Empowering Businesses with Smart HR Solutions",description:"All-in-one platform to manage employees, payroll, attendance, and performance with ease.",background_color:"#ffffff",layout:"grid",columns:3,image:"",show_icons:!0,features_list:[{title:"Employee Management",description:"Centralized profiles with personal, job, and document details.",icon:"users"},{title:"Payroll Automation",description:"Generate accurate payslips with tax, allowances, and deductions.",icon:"dollar-sign"},{title:"Leave & Attendance",description:"Smart tracking of leaves, shifts, and attendance logs.",icon:"clock"},{icon:"user-plus",title:"Recruitment & Onboarding",description:"Streamline hiring with applicant tracking and digital onboarding."},{icon:"award",title:"Performance Management",description:"Set goals, run evaluations, and track employee growth."},{icon:"bar-chart-2",title:"Reports & Analytics",description:"Get actionable insights on workforce productivity and HR metrics."}]},{key:"screenshots",title:"See HRM Saas in Action",subtitle:"Discover how our modern HRM SaaS platform helps you manage employees, payroll, attendance, and performance — all in one place.",screenshots_list:[{src:"/screenshots/dashboard.png",alt:"HRMGo Dashboard Overview",title:"Dashboard Overview",description:"Get a complete overview of employee data, payroll, and HR activities in one unified dashboard."},{src:"/screenshots/employee-management.png",alt:"Employee Management Module",title:"Employee Management",description:"Centralized employee profiles with personal details, documents, and job history."},{src:"/screenshots/payroll-payslip.png",alt:"Payroll Automation",title:"Payroll & Payslips",description:"Automated payroll processing with tax calculations, allowances, and downloadable payslips."},{src:"/screenshots/leave.png",alt:"Leave Management",title:"Leave Management",description:"Easily apply, approve, and track employee leave requests with proper workflows and policies."},{src:"/screenshots/attendance.png",alt:"Attendance Tracking",title:"Attendance Tracking",description:"Monitor employee check-ins, check-outs, and shifts with automated attendance logs."},{src:"/screenshots/recruitment.png",alt:"Recruitment & Onboarding",title:"Recruitment & Onboarding",description:"Streamline hiring with applicant tracking and digital onboarding."}]},{key:"why_choose_us",title:"Why Choose HRM SaaS ? ",subtitle:"Smart, simple, and powerful HR solutions for every business.",reasons:[{title:"All-in-One HR Solution",description:"Manage employees, payroll, attendance, recruitment, and performance from a single platform.",icon:"layers"},{title:"Time-Saving Automation",description:"Automate repetitive HR tasks to focus on strategic decision-making.",icon:"clock"},{icon:"bar-chart",title:"Data-Driven Insights",description:"Make informed decisions with advanced analytics and reports."},{icon:"shield",title:"Secure & Reliable",description:"Keep sensitive HR data safe with enterprise-grade security."}],stats:[{value:"500+",label:"Companies Using HRM",color:"blue"},{value:"20K+",label:"Employees Managed",color:"green"},{value:"98%",label:"Customer Satisfaction",color:"orange"}]},{key:"about",title:"About HRM SaaS",description:"We are passionate about simplifying HR management for businesses of all sizes.",story_title:"We are passionate about simplifying HR management for businesses of all sizes.",story_content:"Founded by HR and tech enthusiasts, HRMGo was created to replace cumbersome spreadsheets and manual processes with a modern, all-in-one HR platform.",image:"",background_color:"#f9fafb",layout:"image-right",stats:[{value:"3+ Years",label:"Experience",color:"blue"},{value:"500+",label:"Companies Served",color:"green"},{value:"20K+",label:"Employees Managed",color:"purple"}]},{key:"team",title:"Meet Our Team",subtitle:"We're a dedicated team of HR and technology experts.",cta_title:"Want to Join Our Team?",cta_description:"We're always looking for talented individuals to shape the future of HR management.",cta_button_text:"View Open Positions",members:[{name:"John Doe",role:"CEO & Founder",bio:"Experienced HR tech entrepreneur passionate about building intuitive HR solutions.",image:"",linkedin:"#",email:"john@example.com"},{name:"Jane Smith",role:"CTO",bio:"Leads the tech team to create scalable and secure HR platforms.",image:"",linkedin:"#",email:"jane@example.com"},{name:"Michael Lee",role:"Head of Product",bio:"Designs user-centric features to simplify HR processes.",image:"",linkedin:"#",email:"michael@example.com"},{name:"Emily Davis",role:"HR Manager",bio:"Oversees employee engagement, recruitment, and HR operations.",image:"",linkedin:"#",email:"emily@example.com"}]},{key:"testimonials",title:"What Our Clients Say",subtitle:"Hear from HR leaders who trust our platform.",trust_title:"Trusted by HR Professionals Worldwide",trust_stats:[{value:"4.9/5",label:"Average Rating",color:"blue"},{value:"500+",label:"Companies Served",color:"green"}],testimonials:[{name:"Alice Johnson",role:"HR Manager",company:"GlobalTech Ltd.",content:"HRMGo has made managing employee records and attendance effortless. Our HR team saves hours every week!",rating:5},{name:"Robert Smith",role:"Operations Head",company:"Innovate Solutions",content:"The payroll automation is incredibly accurate and easy to use. No more manual calculations or errors!",rating:5},{name:"Maria Davis",role:"CEO",company:"BrightFuture Corp.",content:"From recruitment to performance management, HRMGo covers everything we need in one platform.",rating:5},{name:"David Lee",role:"Talent Acquisition Lead",company:"NextGen Enterprises",content:"Recruitment and onboarding have never been smoother. HRMGo’s platform is intuitive and efficient.",rating:5},{name:"Samantha Green",role:"Payroll Specialist",company:"BrightSolutions Inc.",content:"Payroll processing is now quick and error-free thanks to HRMGo. It has transformed our monthly workflow.",rating:5},{name:"Michael Brown",role:"HR Coordinator",company:"TechWave Ltd.",content:"The performance management module helps us track employee goals and progress effortlessly.",rating:5}]},{key:"plans",title:"Choose Your HRM SaaS Plan",subtitle:"Start with our free plan and upgrade as your team grows.",faq_text:"Have questions about our plans? Reach out to our sales team for guidance."},{key:"faq",title:"Frequently Asked Questions",subtitle:"Got questions? We've got answers.",cta_text:"Still have questions?",button_text:"Contact Support",faqs:[{question:"How does HRM work?",answer:"HRM SaaS is an all-in-one HR platform that helps you manage employees, payroll, attendance, recruitment, and performance efficiently."},{question:"Can I automate payroll and leave tracking?",answer:"Yes! HRM SaaS allows you to automate payroll calculations, generate payslips, and track employee leaves and attendance seamlessly."},{question:"Is my employee data secure?",answer:"Absolutely. HRM SaaS uses enterprise-grade security measures to keep all sensitive HR data safe and confidential."},{question:"Can I manage recruitment and onboarding?",answer:"Yes, HRM SaaS provides applicant tracking, interview management, and digital onboarding tools to simplify hiring."},{question:"Does HRM SaaS support performance evaluations?",answer:"Yes, you can set goals, track KPIs, and run performance reviews directly within the platform."},{question:"Can HRM SaaS generate HR reports?",answer:"HRM offers advanced analytics and reporting features to give insights on attendance, payroll, and workforce performance."},{question:"What plans are available and can I upgrade anytime?",answer:"We offer flexible plans for different team sizes. You can start with the free plan and upgrade as your organization grows."}]},{key:"newsletter",title:"Stay Updated with HRM SaaS",subtitle:"Get the latest updates, HR tips, and feature announcements.",privacy_text:"No spam, unsubscribe at any time.",benefits:[{icon:"📧",title:"Weekly Updates",description:"Stay informed about the latest HRM SaaS features and improvements."},{icon:"💡",title:"HR Insights",description:"Get tips and best practices to optimize your HR operations."},{icon:"📊",title:"Reports & Trends",description:"Receive analytics insights and industry trends directly to your inbox."}]},{key:"contact",title:"Get in Touch",subtitle:"Have questions about HRM SaaS? We'd love to hear from you..",form_title:"Send us a Message",info_title:"Contact Information",info_description:"We're here to help and answer any questions you might have about managing your HR processes efficiently.",layout:"split",background_color:"#f9fafb"},{key:"footer",description:"Simplifying HR management with an all-in-one modern platform.",newsletter_title:"Stay Updated",newsletter_subtitle:"Join our newsletter for HR tips and product updates",links:{product:[{name:"Features",href:"#features"},{name:"Pricing",href:"#pricing"}],company:[{name:"About Us",href:"#about"},{name:"Contact",href:"#contact"}]},social_links:[{name:"Facebook",icon:"Facebook",href:"#"},{name:"Twitter",icon:"Twitter",href:"#"},{name:"LinkedIn",icon:"LinkedIn",href:"#"}],section_titles:{product:"Product",company:"Company"}}],theme:{primary_color:"#10b77f",secondary_color:"#ffffff",accent_color:"#f7f7f7",logo_light:"",logo_dark:"",favicon:""},seo:{meta_title:"HRM - All-in-One HR Management Software",meta_description:"Simplify employee management, payroll, attendance, recruitment, and performance with HRM, a modern HR SaaS platform.",meta_keywords:"HR software, HRM, employee management, payroll, attendance tracking, recruitment, performance management"},custom_css:"",custom_js:"",section_order:["header","hero","features","screenshots","why_choose_us","about","team","testimonials","plans","faq","newsletter","contact","footer"],section_visibility:{header:!0,hero:!0,features:!0,screenshots:!0,why_choose_us:!0,about:!0,team:!0,testimonials:!0,plans:!0,faq:!0,newsletter:!0,contact:!0,footer:!0}};function Wt(){var de,me,he,xe,ge,ue,pe,je,ve,be,ye,fe,_e,Ne,we,Ce,ke,Se,Fe,Te,qe,Re,He,Ae,$e,Me,Le,Ie,De,Pe,Ee,Oe,We,Ge,Be,Ue,ze,Je,Qe,Ye,Ve,Ke,Xe,Ze,es,ss,ts,as,rs,ls,os,ns,is,cs,ds,ms,hs;const{t:s}=ws(),{settings:N,flash:Ps,globalSettings:$}=Cs().props,{themeColor:oe,customColor:ps}=ks(),X=$==null?void 0:$.is_saas,m=oe==="custom"?ps:Ts[oe],[x,M]=J.useState("general"),[ne,Z]=J.useState(!1),[ee,F]=J.useState(!1),[L,ie]=J.useState(""),js=t=>t.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${t}`:us(t),D=t=>{if(!t||!t.startsWith("http"))return t;const a=t.indexOf("/storage/");return a!==-1?t.substring(a):t},P=t=>t?t.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${t}`:us(t):null,{data:d,setData:k,post:Es,processing:Os,errors:T}=Ss({company_name:N.company_name,contact_email:N.contact_email,contact_phone:N.contact_phone,contact_address:N.contact_address,config_sections:N.config_sections&&N.config_sections.sections&&N.config_sections.sections.length>0?{sections:N.config_sections.sections||[],theme:N.config_sections.theme||z.theme,seo:N.config_sections.seo||z.seo,section_order:N.config_sections.section_order||z.section_order,section_visibility:N.config_sections.section_visibility||z.section_visibility}:z}),o=t=>{var a,l;return((l=(a=d.config_sections)==null?void 0:a.sections)==null?void 0:l.find(r=>r.key===t))||{}},n=(t,a)=>{var h;const l=[...((h=d.config_sections)==null?void 0:h.sections)||[]],r=l.findIndex(j=>j.key===t);r>=0?l[r]={...l[r],...a}:l.push({key:t,...a}),k("config_sections",{...d.config_sections,sections:l})},b=t=>{var a;k("config_sections",{...d.config_sections,theme:{...(a=d.config_sections)==null?void 0:a.theme,...t}})},ce=t=>{var a;k("config_sections",{...d.config_sections,seo:{...(a=d.config_sections)==null?void 0:a.seo,...t}})},y=(t,a)=>{var l;k("config_sections",{...d.config_sections,section_visibility:{...(l=d.config_sections)==null?void 0:l.section_visibility,[t]:a}})},vs=t=>{k("config_sections",{...d.config_sections,section_order:t})},bs=(t,a)=>{t.dataTransfer.setData("text/plain",a.toString())},ys=t=>{t.preventDefault()},fs=(t,a)=>{var j;t.preventDefault();const l=parseInt(t.dataTransfer.getData("text/plain")),r=[...((j=d.config_sections)==null?void 0:j.section_order)||[]],h=r[l];r.splice(l,1),r.splice(a,0,h),vs(r)},S=t=>{const{name:a,value:l}=t.target;k(a,l)},_s=()=>{Z(!0),Hs.post(route("landing-page.settings.update"),d,{preserveScroll:!0,onSuccess:t=>{var r,h;Z(!1);const a=((r=t.props.flash)==null?void 0:r.success)||s("Landing page settings saved successfully"),l=(h=t.props.flash)==null?void 0:h.error;a&&!l?ae.success(a):l&&ae.error(l)},onError:t=>{Z(!1);const a=t.error||Object.values(t).join(", ")||s("Failed to save landing page settings");ae.error(a)}})};return e.jsxs(As,{title:s("Landing Page Settings"),url:"/landing-page/settings",breadcrumbs:[{title:s("Dashboard"),href:route("dashboard")},{title:s("Landing Page Settings")}],action:e.jsx("div",{className:"flex gap-2",children:e.jsxs(Rs,{href:route("landing-page"),className:"inline-flex items-center gap-2 px-4 py-2 text-white rounded-lg transition-colors",style:{backgroundColor:m},children:[e.jsx(Ds,{className:"w-4 h-4"}),s("View Landing Page")]})}),children:[e.jsxs(Fs,{title:s("Landing Page Settings"),description:s("Customize your landing page content and appearance"),action:e.jsxs(g,{onClick:_s,disabled:ne,size:"sm",children:[e.jsx(qs,{className:"h-4 w-4 mr-2"}),s(ne?"Saving...":"Save Changes")]}),children:[e.jsx("div",{className:"lg:hidden mb-4",children:e.jsxs(g,{variant:"outline",onClick:()=>F(!ee),className:"w-full flex items-center justify-center gap-2",children:[e.jsx(I,{className:"h-4 w-4"}),s("Sections"),ee?e.jsx(E,{className:"h-4 w-4"}):e.jsx(_,{className:"h-4 w-4"})]})}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-8",children:[e.jsx("div",{className:`lg:col-span-1 ${ee?"block":"hidden lg:block"}`,children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 p-4 shadow-sm sticky top-4",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 px-2",children:s("Sections")}),e.jsx("button",{onClick:()=>F(!1),className:"lg:hidden p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700",children:e.jsx(E,{className:"h-4 w-4"})})]}),e.jsx("div",{className:"mb-4 px-2",children:e.jsxs("div",{className:"relative",children:[e.jsx(se,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(c,{type:"text",placeholder:s("Search sections..."),value:L,onChange:t=>ie(t.target.value),className:"pl-10 h-8 text-sm border-gray-200 dark:border-gray-700 dark:bg-gray-900"})]})}),e.jsx("nav",{className:"space-y-1",children:(()=>{const t=[{key:"general",label:s("General"),icon:R,group:"Setup"},{key:"order",label:s("Order"),icon:Q,group:"Setup"},{key:"advanced",label:s("Advanced"),icon:G,group:"Setup"},{key:"header",label:s("Header"),icon:I,group:"Layout"},{key:"hero",label:s("Hero"),icon:v,group:"Layout"},{key:"footer",label:s("Footer"),icon:Y,group:"Layout"},{key:"features",label:s("Features"),icon:H,group:"Content"},{key:"screenshots",label:s("Screenshots"),icon:V,group:"Content"},{key:"whychooseus",label:s("Why Us"),icon:A,group:"Content"},{key:"about",label:s("About"),icon:B,group:"Content"},{key:"team",label:s("Team"),icon:A,group:"Social"},{key:"testimonials",label:s("Reviews"),icon:H,group:"Social"},...X?[{key:"plans",label:s("Plans"),icon:re,group:"Social"}]:[],{key:"faq",label:s("FAQ"),icon:U,group:"Engagement"},{key:"newsletter",label:s("Newsletter"),icon:le,group:"Engagement"},{key:"contact",label:s("Contact"),icon:K,group:"Engagement"}],a=L?t.filter(l=>l.label.toLowerCase().includes(L.toLowerCase())||l.group.toLowerCase().includes(L.toLowerCase())):t;return L&&a.length>0?e.jsx("div",{className:"space-y-1",children:a.map(l=>{const r=l.icon;return e.jsxs("button",{onClick:()=>{M(l.key),F(!1),ie("")},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(r,{className:"h-4 w-4"}),e.jsxs("div",{children:[e.jsx("div",{children:l.label}),e.jsx("div",{className:"text-xs opacity-75",children:l.group})]})]},l.key)})}):L&&a.length===0?e.jsxs("div",{className:"text-center py-8 text-gray-500 dark:text-gray-400",children:[e.jsx(se,{className:"h-8 w-8 mx-auto mb-2 opacity-50"}),e.jsx("p",{className:"text-sm",children:s("No sections found")})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Setup")}),[{key:"general",label:s("General"),icon:R},{key:"order",label:s("Order"),icon:Q},{key:"advanced",label:s("Advanced"),icon:G}].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Layout")}),[{key:"header",label:s("Header"),icon:I},{key:"hero",label:s("Hero"),icon:v},{key:"footer",label:s("Footer"),icon:Y}].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Content")}),[{key:"features",label:s("Features"),icon:H},{key:"screenshots",label:s("Screenshots"),icon:V},{key:"whychooseus",label:s("Why Us"),icon:A},{key:"about",label:s("About"),icon:B}].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Social")}),[{key:"team",label:s("Team"),icon:A},{key:"testimonials",label:s("Reviews"),icon:H},...X?[{key:"plans",label:s("Plans"),icon:re}]:[]].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Engagement")}),[{key:"faq",label:s("FAQ"),icon:U},{key:"newsletter",label:s("Newsletter"),icon:le},{key:"contact",label:s("Contact"),icon:K}].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]})]})})()})]})}),e.jsxs("div",{className:"lg:col-span-3 space-y-6",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 p-4 shadow-sm",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg",style:{backgroundColor:m+"20"},children:(()=>{const a={general:R,order:Q,advanced:G,header:I,hero:v,footer:Y,features:H,screenshots:V,whychooseus:A,about:B,team:A,testimonials:H,plans:re,faq:U,newsletter:le,contact:K}[x]||R;return e.jsx(a,{className:"h-5 w-5",style:{color:m}})})()}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 dark:text-gray-100",children:{general:s("General Settings"),order:s("Section Order"),advanced:s("Advanced Settings"),header:s("Header Configuration"),hero:s("Hero Section"),footer:s("Footer Settings"),features:s("Features Section"),screenshots:s("Screenshots Gallery"),whychooseus:s("Why Choose Us"),about:s("About Section"),team:s("Team Section"),testimonials:s("Testimonials"),plans:s("Pricing Plans"),faq:s("FAQ Section"),newsletter:s("Newsletter"),contact:s("Contact Section")}[x]||s("Settings")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:{general:s("Configure basic company information and theme colors"),order:s("Drag and drop to reorder sections on your landing page"),advanced:s("SEO settings, custom CSS and JavaScript"),header:s("Customize header appearance and navigation"),hero:s("Configure the main hero section with title, subtitle and CTA"),footer:s("Footer content, links and social media"),features:s("Showcase your product features and benefits"),screenshots:s("Display application screenshots and demos"),whychooseus:s("Highlight reasons why customers should choose you"),about:s("Tell your company story and mission"),team:s("Showcase your team members and their roles"),testimonials:s("Display customer reviews and testimonials"),plans:s("Configure pricing plans and features"),faq:s("Frequently asked questions and answers"),newsletter:s("Newsletter subscription and benefits"),contact:s("Contact form and company information")}[x]||s("Customize your landing page")})]})]})}),x==="general"&&e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Company Information")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:s("Basic company details for your landing page")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs(i,{htmlFor:"company_name",className:"text-sm font-medium text-gray-900 dark:text-gray-100 flex items-center gap-2",children:[e.jsx(R,{className:"h-4 w-4",style:{color:m}}),s("Company Name")]}),e.jsx(c,{id:"company_name",name:"company_name",value:d.company_name,onChange:S,placeholder:s("Your Company Name"),className:"h-10 border-gray-200 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-100",style:{"--tw-ring-color":m+"33"}}),T.company_name&&e.jsxs("div",{className:"flex items-center gap-2 text-red-600 text-sm bg-red-50 p-2 rounded-md border border-red-200",children:[e.jsx(E,{className:"h-4 w-4"}),T.company_name]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_email",children:s("Contact Email")}),e.jsx(c,{id:"contact_email",name:"contact_email",type:"email",value:d.contact_email,onChange:S,placeholder:s("support@company.com")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_phone",children:s("Contact Phone")}),e.jsx(c,{id:"contact_phone",name:"contact_phone",value:d.contact_phone,onChange:S,placeholder:s("+1 (555) 123-4567")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_address",children:s("Contact Address")}),e.jsx(c,{id:"contact_address",name:"contact_address",value:d.contact_address,onChange:S,placeholder:s("123 Business Ave, City, State")})]})]}),e.jsxs("div",{className:"mt-6 p-4 bg-gradient-to-r rounded-lg border",style:{backgroundColor:m+"10",borderColor:m+"30"},children:[e.jsx("h4",{className:"text-sm font-medium mb-3",style:{color:m},children:s("Theme Colors")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"general_primary_color",children:s("Primary Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"general_primary_color",type:"color",value:((me=(de=d.config_sections)==null?void 0:de.theme)==null?void 0:me.primary_color)||"#3b82f6",onChange:t=>b({primary_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((xe=(he=d.config_sections)==null?void 0:he.theme)==null?void 0:xe.primary_color)||"#3b82f6",onChange:t=>b({primary_color:t.target.value}),placeholder:"#3b82f6"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"general_secondary_color",children:s("Secondary Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"general_secondary_color",type:"color",value:((ue=(ge=d.config_sections)==null?void 0:ge.theme)==null?void 0:ue.secondary_color)||"#8b5cf6",onChange:t=>b({secondary_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((je=(pe=d.config_sections)==null?void 0:pe.theme)==null?void 0:je.secondary_color)||"#8b5cf6",onChange:t=>b({secondary_color:t.target.value}),placeholder:"#8b5cf6"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"general_accent_color",children:s("Accent Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"general_accent_color",type:"color",value:((be=(ve=d.config_sections)==null?void 0:ve.theme)==null?void 0:be.accent_color)||"#10b77f",onChange:t=>b({accent_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((fe=(ye=d.config_sections)==null?void 0:ye.theme)==null?void 0:fe.accent_color)||"#10b77f",onChange:t=>b({accent_color:t.target.value}),placeholder:"#10b77f"})]})]})]})]})]})}),x==="header"&&e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(I,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Header Style")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Customize your header appearance and behavior")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ne=(_e=d.config_sections)==null?void 0:_e.section_visibility)==null?void 0:Ne.header)!==!1,onCheckedChange:t=>y("header",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(i,{htmlFor:"header_transparent",children:s("Transparent Header")}),e.jsx(f,{id:"header_transparent",checked:o("header").transparent||!1,onCheckedChange:t=>n("header",{transparent:t})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Make header background transparent")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"header_background_color",children:s("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"header_background_color",type:"color",value:o("header").background_color||"#ffffff",onChange:t=>n("header",{background_color:t.target.value}),className:"w-16 h-10 p-1",disabled:o("header").transparent}),e.jsx(c,{value:o("header").background_color||"#ffffff",onChange:t=>n("header",{background_color:t.target.value}),placeholder:"#ffffff",disabled:o("header").transparent})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"header_text_color",children:s("Text Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"header_text_color",type:"color",value:o("header").text_color||"#1f2937",onChange:t=>n("header",{text_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:o("header").text_color||"#1f2937",onChange:t=>n("header",{text_color:t.target.value}),placeholder:"#1f2937"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"header_button_style",children:s("Button Style")}),e.jsxs("select",{id:"header_button_style",value:o("header").button_style||"gradient",onChange:t=>n("header",{button_style:t.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"gradient",children:"Gradient"}),e.jsx("option",{value:"solid",children:"Solid"}),e.jsx("option",{value:"outline",children:"Outline"})]})]})]})]})}),x==="hero"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-orange-100 rounded-lg",children:e.jsx(I,{className:"h-5 w-5 text-orange-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Layout")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Configure hero section layout and dimensions")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ce=(we=d.config_sections)==null?void 0:we.section_visibility)==null?void 0:Ce.hero)!==!1,onCheckedChange:t=>y("hero",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_layout",children:s("Layout Style")}),e.jsxs("select",{id:"hero_layout",value:o("hero").layout||"image-right",onChange:t=>n("hero",{layout:t.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"image-right",children:"Content Left, Image Right"}),e.jsx("option",{value:"image-left",children:"Image Left, Content Right"}),e.jsx("option",{value:"full-width",children:"Full Width"}),e.jsx("option",{value:"centered",children:"Centered Content"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_height",children:s("Section Height")}),e.jsx(c,{id:"hero_height",type:"number",value:o("hero").height||600,onChange:t=>n("hero",{height:parseInt(t.target.value)}),min:"300",max:"1000"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Height in pixels (300-1000)")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Main headline and supporting text")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs(i,{htmlFor:"hero_title",className:"text-sm font-medium text-gray-900 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4",style:{color:m}}),s("Hero Title")]}),e.jsx(c,{id:"hero_title",value:o("hero").title||"",onChange:t=>n("hero",{title:t.target.value}),placeholder:s("Your main headline"),className:"h-10 border-gray-200",style:{"--tw-ring-color":m+"33"}}),T.hero_title&&e.jsxs("div",{className:"flex items-center gap-2 text-red-600 text-sm bg-red-50 p-2 rounded-md border border-red-200",children:[e.jsx(E,{className:"h-4 w-4"}),T.hero_title]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs(i,{htmlFor:"hero_subtitle",className:"text-sm font-medium text-gray-900 flex items-center gap-2",children:[e.jsx(te,{className:"h-4 w-4",style:{color:m}}),s("Hero Subtitle")]}),e.jsx(u,{id:"hero_subtitle",value:o("hero").subtitle||"",onChange:t=>n("hero",{subtitle:t.target.value}),placeholder:s("Supporting text for your headline"),rows:3,className:"border-gray-200 resize-none",style:{"--tw-ring-color":m+"33"}}),T.hero_subtitle&&e.jsxs("div",{className:"flex items-center gap-2 text-red-600 text-sm bg-red-50 p-2 rounded-md border border-red-200",children:[e.jsx(E,{className:"h-4 w-4"}),T.hero_subtitle]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_announcement_text",children:s("Announcement Badge")}),e.jsx(c,{id:"hero_announcement_text",value:o("hero").announcement_text||"",onChange:t=>n("hero",{announcement_text:t.target.value}),placeholder:s("📢 New: Smart Leave & Attendance Tracking Launched!")}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Small announcement text shown above the title")})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_primary_button_text",children:s("Primary Button Text")}),e.jsx(c,{id:"hero_primary_button_text",value:o("hero").primary_button_text||"",onChange:t=>n("hero",{primary_button_text:t.target.value}),placeholder:s("Start Free Trial")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_secondary_button_text",children:s("Secondary Button Text")}),e.jsx(c,{id:"hero_secondary_button_text",value:o("hero").secondary_button_text||"",onChange:t=>n("hero",{secondary_button_text:t.target.value}),placeholder:s("Login")})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-indigo-100 rounded-lg",children:e.jsx(R,{className:"h-5 w-5 text-indigo-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Statistics")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Add compelling statistics to your hero section")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("hero").stats||[]).map((t,a)=>e.jsxs("div",{className:"grid grid-cols-2 gap-4 p-4 border rounded-lg",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`hero_stats_${a}_value`,children:s("Value")}),e.jsx(c,{id:`hero_stats_${a}_value`,value:t.value||"",onChange:l=>{const r=[...o("hero").stats||[]];r[a]={...r[a],value:l.target.value},n("hero",{stats:r})},placeholder:"10K+"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`hero_stats_${a}_label`,children:s("Label")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:`hero_stats_${a}_label`,value:t.label||"",onChange:l=>{const r=[...o("hero").stats||[]];r[a]={...r[a],label:l.target.value},n("hero",{stats:r})},placeholder:s("Active Users")}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("hero").stats||[]).filter((r,h)=>h!==a);n("hero",{stats:l})},children:e.jsx(C,{className:"h-4 w-4"})})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("hero").stats||[],{value:"",label:""}];n("hero",{stats:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Statistic")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-pink-100 rounded-lg",children:e.jsx(xs,{className:"h-5 w-5 text-pink-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Image")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Configure hero section imagery")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx("div",{className:"space-y-3",children:e.jsx(O,{label:s("Hero Image"),value:P(o("hero").image||js($!=null&&$.is_saas?"/screenshots/saas/hero-default.png":"/screenshots/non-saas/hero-default.png")),onChange:t=>{n("hero",{image:D(t)})},placeholder:s("Select hero image...")})}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_image_position",children:s("Image Position")}),e.jsxs("select",{id:"hero_image_position",value:o("hero").image_position||"right",onChange:t=>n("hero",{image_position:t.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"right",children:s("Right Side")}),e.jsx("option",{value:"left",children:s("Left Side")}),e.jsx("option",{value:"center",children:s("Center")}),e.jsx("option",{value:"background",children:s("Background")})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-violet-100 rounded-lg",children:e.jsx(gs,{className:"h-5 w-5 text-violet-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Colors")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Customize hero section colors and overlays")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_background_color",children:s("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"hero_background_color",type:"color",value:o("hero").background_color||"#f8fafc",onChange:t=>n("hero",{background_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:o("hero").background_color||"#f8fafc",onChange:t=>n("hero",{background_color:t.target.value}),placeholder:"#f8fafc"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_text_color",children:s("Text Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"hero_text_color",type:"color",value:o("hero").text_color||"#1f2937",onChange:t=>n("hero",{text_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:o("hero").text_color||"#1f2937",onChange:t=>n("hero",{text_color:t.target.value}),placeholder:"#1f2937"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(i,{htmlFor:"hero_overlay",children:s("Background Overlay")}),e.jsx(f,{id:"hero_overlay",checked:o("hero").overlay||!1,onCheckedChange:t=>n("hero",{overlay:t})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Add overlay on background image")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_overlay_color",children:s("Overlay Color")}),e.jsx(c,{id:"hero_overlay_color",value:o("hero").overlay_color||"rgba(0,0,0,0.5)",onChange:t=>n("hero",{overlay_color:t.target.value}),placeholder:"rgba(0,0,0,0.5)",disabled:!o("hero").overlay})]})]})]})]}),x==="features"&&e.jsx(Ms,{data:d,setData:k,errors:T,handleInputChange:S,getSectionData:o,updateSectionData:n,updateSectionVisibility:y,t:s}),x==="screenshots"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Screenshots Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Se=(ke=d.config_sections)==null?void 0:ke.section_visibility)==null?void 0:Se.screenshots)!==!1,onCheckedChange:t=>y("screenshots",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"screenshots_title",children:s("Section Title")}),e.jsx(c,{id:"screenshots_title",value:o("screenshots").title||"",onChange:t=>n("screenshots",{title:t.target.value}),placeholder:s("See HRM Saas in Action")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"screenshots_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"screenshots_subtitle",value:o("screenshots").subtitle||"",onChange:t=>n("screenshots",{subtitle:t.target.value}),placeholder:s("Explore our intuitive interface and powerful features..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(V,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Screenshots Gallery")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Manage application screenshots")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("screenshots").screenshots_list||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-purple-100 text-purple-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Screenshot")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("screenshots").screenshots_list||[]).filter((r,h)=>h!==a);n("screenshots",{screenshots_list:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsx("div",{className:"space-y-3",children:e.jsx(O,{label:s("Screenshot Image"),value:P(t.src||""),onChange:l=>{const r=[...o("screenshots").screenshots_list||[]];r[a]={...r[a],src:D(l)},n("screenshots",{screenshots_list:r})},placeholder:s("Select screenshot image...")})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`screenshot_${a}_title`,children:s("Title")}),e.jsx(c,{id:`screenshot_${a}_title`,value:t.title||"",onChange:l=>{const r=[...o("screenshots").screenshots_list||[]];r[a]={...r[a],title:l.target.value},n("screenshots",{screenshots_list:r})},placeholder:s("Dashboard Overview")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`screenshot_${a}_alt`,children:s("Alt Text")}),e.jsx(c,{id:`screenshot_${a}_alt`,value:t.alt||"",onChange:l=>{const r=[...o("screenshots").screenshots_list||[]];r[a]={...r[a],alt:l.target.value},n("screenshots",{screenshots_list:r})},placeholder:s("HRMGo Dashboard Overview")})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`screenshot_${a}_description`,children:s("Description")}),e.jsx(u,{id:`screenshot_${a}_description`,value:t.description||"",onChange:l=>{const r=[...o("screenshots").screenshots_list||[]];r[a]={...r[a],description:l.target.value},n("screenshots",{screenshots_list:r})},placeholder:s("Get a complete overview of employee data, payroll, and HR activities in one unified dashboard."),rows:2})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("screenshots").screenshots_list||[],{src:"",alt:"",title:"",description:""}];n("screenshots",{screenshots_list:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Screenshot")]})]})]})]}),x==="whychooseus"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-emerald-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-emerald-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Why Choose Us Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Main section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Te=(Fe=d.config_sections)==null?void 0:Fe.section_visibility)==null?void 0:Te.why_choose_us)!==!1,onCheckedChange:t=>y("why_choose_us",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs(i,{htmlFor:"why_choose_us_title",className:"text-sm font-medium text-gray-900 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4 text-emerald-600"}),s("Section Title")]}),e.jsx(c,{id:"why_choose_us_title",value:o("why_choose_us").title||"",onChange:t=>n("why_choose_us",{title:t.target.value}),placeholder:s("Why Choose HRM SaaS ? "),className:"h-10 border-gray-200 focus:border-emerald-500 focus:ring-emerald-500/20"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"why_choose_us_subtitle",value:o("why_choose_us").subtitle||"",onChange:t=>n("why_choose_us",{subtitle:t.target.value}),placeholder:s("We're not just another digital business card platform..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-amber-100 rounded-lg",children:e.jsx(H,{className:"h-5 w-5 text-amber-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Reasons to Choose Us")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Key benefits and advantages")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("why_choose_us").reasons||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-amber-100 text-amber-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Reason")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("why_choose_us").reasons||[]).filter((r,h)=>h!==a);n("why_choose_us",{reasons:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`reason_${a}_title`,children:s("Title")}),e.jsx(c,{id:`reason_${a}_title`,value:t.title||"",onChange:l=>{const r=[...o("why_choose_us").reasons||[]];r[a]={...r[a],title:l.target.value},n("why_choose_us",{reasons:r})},placeholder:s("All-in-One HR Solution")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`reason_${a}_icon`,children:s("Icon")}),e.jsxs("select",{id:`reason_${a}_icon`,value:t.icon||"clock",onChange:l=>{const r=[...o("why_choose_us").reasons||[]];r[a]={...r[a],icon:l.target.value},n("why_choose_us",{reasons:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"clock",children:"Clock"}),e.jsx("option",{value:"users",children:"Users"}),e.jsx("option",{value:"zap",children:"Zap"}),e.jsx("option",{value:"check-circle",children:"Check Circle"}),e.jsx("option",{value:"star",children:"Star"}),e.jsx("option",{value:"shield",children:"Shield"}),e.jsx("option",{value:"heart",children:"Heart"}),e.jsx("option",{value:"award",children:"Award"}),e.jsx("option",{value:"layers",children:"Layers"}),e.jsx("option",{value:"bar-chart",children:"Bar Chart"})]})]}),e.jsxs("div",{className:"space-y-3 md:col-span-1",children:[e.jsx(i,{htmlFor:`reason_${a}_description`,children:s("Description")}),e.jsx(u,{id:`reason_${a}_description`,value:t.description||"",onChange:l=>{const r=[...o("why_choose_us").reasons||[]];r[a]={...r[a],description:l.target.value},n("why_choose_us",{reasons:r})},placeholder:s("Manage employees, payroll, attendance, recruitment, and performance from a single platform..."),rows:3})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("why_choose_us").reasons||[],{title:"",description:"",icon:"clock"}];n("why_choose_us",{reasons:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Reason")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-cyan-100 rounded-lg",children:e.jsx(R,{className:"h-5 w-5 text-cyan-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Statistics Section")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Trust indicators and key metrics")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4 mb-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_stats_title",children:s("Statistics Title")}),e.jsx(c,{id:"why_choose_us_stats_title",value:o("why_choose_us").stats_title||"",onChange:t=>n("why_choose_us",{stats_title:t.target.value}),placeholder:s("Trusted by Industry Leaders")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_stats_subtitle",children:s("Statistics Subtitle")}),e.jsx(c,{id:"why_choose_us_stats_subtitle",value:o("why_choose_us").stats_subtitle||"",onChange:t=>n("why_choose_us",{stats_subtitle:t.target.value}),placeholder:s("Join the growing community of professionals")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("why_choose_us").stats||[]).map((t,a)=>e.jsxs("div",{className:"grid grid-cols-3 gap-4 p-4 border rounded-lg",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`stat_${a}_value`,children:s("Value")}),e.jsx(c,{id:`stat_${a}_value`,value:t.value||"",onChange:l=>{const r=[...o("why_choose_us").stats||[]];r[a]={...r[a],value:l.target.value},n("why_choose_us",{stats:r})},placeholder:"10K+"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`stat_${a}_label`,children:s("Label")}),e.jsx(c,{id:`stat_${a}_label`,value:t.label||"",onChange:l=>{const r=[...o("why_choose_us").stats||[]];r[a]={...r[a],label:l.target.value},n("why_choose_us",{stats:r})},placeholder:s("Active Users")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`stat_${a}_color`,children:s("Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("select",{id:`stat_${a}_color`,value:t.color||"blue",onChange:l=>{const r=[...o("why_choose_us").stats||[]];r[a]={...r[a],color:l.target.value},n("why_choose_us",{stats:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"blue",children:"Blue"}),e.jsx("option",{value:"green",children:"Green"}),e.jsx("option",{value:"purple",children:"Purple"}),e.jsx("option",{value:"orange",children:"Orange"}),e.jsx("option",{value:"red",children:"Red"}),e.jsx("option",{value:"yellow",children:"Yellow"})]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("why_choose_us").stats||[]).filter((r,h)=>h!==a);n("why_choose_us",{stats:l})},children:e.jsx(C,{className:"h-4 w-4"})})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("why_choose_us").stats||[],{value:"",label:"",color:"blue"}];n("why_choose_us",{stats:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Statistic")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-rose-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-rose-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Call to Action")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Encourage user engagement")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_cta_title",children:s("CTA Title")}),e.jsx(c,{id:"why_choose_us_cta_title",value:o("why_choose_us").cta_title||"",onChange:t=>n("why_choose_us",{cta_title:t.target.value}),placeholder:s("Ready to get started?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_cta_subtitle",children:s("CTA Subtitle")}),e.jsx(c,{id:"why_choose_us_cta_subtitle",value:o("why_choose_us").cta_subtitle||"",onChange:t=>n("why_choose_us",{cta_subtitle:t.target.value}),placeholder:s("Join thousands of satisfied users today")})]})]})]})]}),x==="about"&&e.jsx(Ls,{data:d,setData:k,errors:T,handleInputChange:S,getSectionData:o,updateSectionData:n,updateSectionVisibility:y,t:s}),x==="team"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Team Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Team section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Re=(qe=d.config_sections)==null?void 0:qe.section_visibility)==null?void 0:Re.team)!==!1,onCheckedChange:t=>y("team",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_title",children:s("Team Title")}),e.jsx(c,{id:"team_title",value:o("team").title||"",onChange:t=>n("team",{title:t.target.value}),placeholder:s("Meet Our Team")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_subtitle",children:s("Team Subtitle")}),e.jsx(u,{id:"team_subtitle",value:o("team").subtitle||"",onChange:t=>n("team",{subtitle:t.target.value}),placeholder:s("We're a diverse team of innovators..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(A,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Team Members")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Add and manage team member profiles")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("team").members||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-purple-100 text-purple-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Member")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("team").members||[]).filter((r,h)=>h!==a);n("team",{members:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`member_${a}_name`,children:s("Name")}),e.jsx(c,{id:`member_${a}_name`,value:t.name||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],name:l.target.value},n("team",{members:r})},placeholder:s("John Doe")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`member_${a}_role`,children:s("Role")}),e.jsx(c,{id:`member_${a}_role`,value:t.role||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],role:l.target.value},n("team",{members:r})},placeholder:s("CEO & Founder")})]}),e.jsx("div",{className:"space-y-3 md:col-span-2",children:e.jsx(O,{label:s("Profile Image"),value:P(t.image||""),onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],image:D(l)},n("team",{members:r})},placeholder:s("Select profile image...")})}),e.jsxs("div",{className:"space-y-3 md:col-span-2",children:[e.jsx(i,{htmlFor:`member_${a}_bio`,children:s("Bio")}),e.jsx(u,{id:`member_${a}_bio`,value:t.bio||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],bio:l.target.value},n("team",{members:r})},placeholder:s("Brief description about the team member..."),rows:2})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`member_${a}_linkedin`,children:s("LinkedIn")}),e.jsx(c,{id:`member_${a}_linkedin`,value:t.linkedin||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],linkedin:l.target.value},n("team",{members:r})},placeholder:"https://linkedin.com/in/..."})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`member_${a}_email`,children:s("Email")}),e.jsx(c,{id:`member_${a}_email`,value:t.email||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],email:l.target.value},n("team",{members:r})},placeholder:"john@company.com"})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("team").members||[],{name:"",role:"",bio:"",image:"",linkedin:"",twitter:"",email:""}];n("team",{members:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Team Member")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Join Team CTA")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Call-to-action for team recruitment")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_cta_title",children:s("CTA Title")}),e.jsx(c,{id:"team_cta_title",value:o("team").cta_title||"",onChange:t=>n("team",{cta_title:t.target.value}),placeholder:s("Want to Join Our Team?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_cta_description",children:s("CTA Description")}),e.jsx(u,{id:"team_cta_description",value:o("team").cta_description||"",onChange:t=>n("team",{cta_description:t.target.value}),placeholder:s("We're always looking for talented individuals..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_cta_button_text",children:s("Button Text")}),e.jsx(c,{id:"team_cta_button_text",value:o("team").cta_button_text||"",onChange:t=>n("team",{cta_button_text:t.target.value}),placeholder:s("View Open Positions")})]})]})]})]}),x==="testimonials"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Testimonials Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ae=(He=d.config_sections)==null?void 0:He.section_visibility)==null?void 0:Ae.testimonials)!==!1,onCheckedChange:t=>y("testimonials",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"testimonials_title",children:s("Section Title")}),e.jsx(c,{id:"testimonials_title",value:o("testimonials").title||"",onChange:t=>n("testimonials",{title:t.target.value}),placeholder:s("What Our Clients Say")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"testimonials_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"testimonials_subtitle",value:o("testimonials").subtitle||"",onChange:t=>n("testimonials",{subtitle:t.target.value}),placeholder:s("Don't just take our word for it..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-yellow-100 rounded-lg",children:e.jsx(R,{className:"h-5 w-5 text-yellow-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Trust Indicators")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Statistics that build credibility")})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"testimonials_trust_title",children:s("Trust Section Title")}),e.jsx(c,{id:"testimonials_trust_title",value:o("testimonials").trust_title||"",onChange:t=>n("testimonials",{trust_title:t.target.value}),placeholder:s("Trusted by HR Professionals Worldwide")})]}),(o("testimonials").trust_stats||[]).map((t,a)=>e.jsxs("div",{className:"grid grid-cols-3 gap-4 p-4 border rounded-lg",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`trust_stat_${a}_value`,children:s("Value")}),e.jsx(c,{id:`trust_stat_${a}_value`,value:t.value||"",onChange:l=>{const r=[...o("testimonials").trust_stats||[]];r[a]={...r[a],value:l.target.value},n("testimonials",{trust_stats:r})},placeholder:"4.9/5"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`trust_stat_${a}_label`,children:s("Label")}),e.jsx(c,{id:`trust_stat_${a}_label`,value:t.label||"",onChange:l=>{const r=[...o("testimonials").trust_stats||[]];r[a]={...r[a],label:l.target.value},n("testimonials",{trust_stats:r})},placeholder:s("Average Rating")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`trust_stat_${a}_color`,children:s("Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("select",{id:`trust_stat_${a}_color`,value:t.color||"blue",onChange:l=>{const r=[...o("testimonials").trust_stats||[]];r[a]={...r[a],color:l.target.value},n("testimonials",{trust_stats:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"blue",children:"Blue"}),e.jsx("option",{value:"green",children:"Green"}),e.jsx("option",{value:"purple",children:"Purple"}),e.jsx("option",{value:"orange",children:"Orange"}),e.jsx("option",{value:"red",children:"Red"})]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("testimonials").trust_stats||[]).filter((r,h)=>h!==a);n("testimonials",{trust_stats:l})},children:e.jsx(C,{className:"h-4 w-4"})})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("testimonials").trust_stats||[],{value:"",label:"",color:"blue"}];n("testimonials",{trust_stats:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Trust Statistic")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-lime-100 rounded-lg",children:e.jsx(A,{className:"h-5 w-5 text-lime-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Default Testimonials")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Customer reviews and feedback")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("testimonials").testimonials||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-lime-100 text-lime-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Testimonial")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("testimonials").testimonials||[]).filter((r,h)=>h!==a);n("testimonials",{testimonials:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`testimonial_${a}_name`,children:s("Name")}),e.jsx(c,{id:`testimonial_${a}_name`,value:t.name||"",onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],name:l.target.value},n("testimonials",{testimonials:r})},placeholder:s("John Doe")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`testimonial_${a}_role`,children:s("Role")}),e.jsx(c,{id:`testimonial_${a}_role`,value:t.role||"",onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],role:l.target.value},n("testimonials",{testimonials:r})},placeholder:s("CEO")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`testimonial_${a}_company`,children:s("Company")}),e.jsx(c,{id:`testimonial_${a}_company`,value:t.company||"",onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],company:l.target.value},n("testimonials",{testimonials:r})},placeholder:s("Company Name")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`testimonial_${a}_rating`,children:s("Rating")}),e.jsxs("select",{id:`testimonial_${a}_rating`,value:t.rating||5,onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],rating:parseInt(l.target.value)},n("testimonials",{testimonials:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:1,children:s("1 Star")}),e.jsx("option",{value:2,children:s("2 Stars")}),e.jsx("option",{value:3,children:s("3 Stars")}),e.jsx("option",{value:4,children:s("4 Stars")}),e.jsx("option",{value:5,children:s("5 Stars")})]})]}),e.jsxs("div",{className:"space-y-3 md:col-span-2",children:[e.jsx(i,{htmlFor:`testimonial_${a}_content`,children:s("Content")}),e.jsx(u,{id:`testimonial_${a}_content`,value:t.content||"",onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],content:l.target.value},n("testimonials",{testimonials:r})},placeholder:s("Testimonial content..."),rows:3})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("testimonials").testimonials||[],{name:"",role:"",company:"",content:"",rating:5}];n("testimonials",{testimonials:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Default Testimonial")]})]})]})]}),x==="plans"&&X&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-violet-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-violet-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Plans Section Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Pricing section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Me=($e=d.config_sections)==null?void 0:$e.section_visibility)==null?void 0:Me.plans)!==!1,onCheckedChange:t=>y("plans",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"plans_title",children:s("Section Title")}),e.jsx(c,{id:"plans_title",value:o("plans").title||"",onChange:t=>n("plans",{title:t.target.value}),placeholder:s("Choose Your Plan")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"plans_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"plans_subtitle",value:o("plans").subtitle||"",onChange:t=>n("plans",{subtitle:t.target.value}),placeholder:s("Start with our free plan and upgrade as you grow..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"plans_faq_text",children:s("FAQ Text")}),e.jsx(c,{id:"plans_faq_text",value:o("plans").faq_text||"",onChange:t=>n("plans",{faq_text:t.target.value}),placeholder:s("Have questions about our plans? Reach out to our sales team for guidance.")})]})]})]}),e.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4",children:e.jsxs("div",{className:"flex items-start",children:[e.jsx(B,{className:"h-5 w-5 text-blue-600 mr-2 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-medium mb-1",style:{color:m},children:s("Plans Management")}),e.jsx("p",{className:"text-sm",style:{color:m+"cc"},children:s("The actual plans displayed on the landing page are managed through the Plans module. Go to Plans section to create, edit, or manage your subscription plans.")})]})]})})]}),x==="faq"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-sky-100 rounded-lg",children:e.jsx(U,{className:"h-5 w-5 text-sky-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("FAQ Section Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Section title, subtitle and CTA")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ie=(Le=d.config_sections)==null?void 0:Le.section_visibility)==null?void 0:Ie.faq)!==!1,onCheckedChange:t=>y("faq",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"faq_title",children:s("Section Title")}),e.jsx(c,{id:"faq_title",value:o("faq").title||"",onChange:t=>n("faq",{title:t.target.value}),placeholder:s("Frequently Asked Questions")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"faq_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"faq_subtitle",value:o("faq").subtitle||"",onChange:t=>n("faq",{subtitle:t.target.value}),placeholder:s("Got questions? We've got answers..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"faq_cta_text",children:s("CTA Text")}),e.jsx(c,{id:"faq_cta_text",value:o("faq").cta_text||"",onChange:t=>n("faq",{cta_text:t.target.value}),placeholder:s("Still have questions?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"faq_button_text",children:s("Button Text")}),e.jsx(c,{id:"faq_button_text",value:o("faq").button_text||"",onChange:t=>n("faq",{button_text:t.target.value}),placeholder:s("Contact Support")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-slate-100 rounded-lg",children:e.jsx(U,{className:"h-5 w-5 text-slate-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Default FAQs")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Frequently asked questions and answers")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("faq").faqs||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-slate-100 text-slate-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("FAQ")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("faq").faqs||[]).filter((r,h)=>h!==a);n("faq",{faqs:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`faq_${a}_question`,children:s("Question")}),e.jsx(c,{id:`faq_${a}_question`,value:t.question||"",onChange:l=>{const r=[...o("faq").faqs||[]];r[a]={...r[a],question:l.target.value},n("faq",{faqs:r})},placeholder:s("How does HRM work?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`faq_${a}_answer`,children:s("Answer")}),e.jsx(u,{id:`faq_${a}_answer`,value:t.answer||"",onChange:l=>{const r=[...o("faq").faqs||[]];r[a]={...r[a],answer:l.target.value},n("faq",{faqs:r})},placeholder:s("HRM SaaS allows you to manage employees, payroll, attendance, and performance all in one modern platform."),rows:3})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("faq").faqs||[],{question:"",answer:""}];n("faq",{faqs:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add FAQ")]})]})]})]}),x==="newsletter"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-orange-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-orange-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Newsletter Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Newsletter section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Pe=(De=d.config_sections)==null?void 0:De.section_visibility)==null?void 0:Pe.newsletter)!==!1,onCheckedChange:t=>y("newsletter",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"newsletter_title",children:s("Section Title")}),e.jsx(c,{id:"newsletter_title",value:o("newsletter").title||"",onChange:t=>n("newsletter",{title:t.target.value}),placeholder:s("Stay Updated with HRM SaaS")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"newsletter_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"newsletter_subtitle",value:o("newsletter").subtitle||"",onChange:t=>n("newsletter",{subtitle:t.target.value}),placeholder:s("Get the latest updates, networking tips..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"newsletter_privacy_text",children:s("Privacy Text")}),e.jsx(c,{id:"newsletter_privacy_text",value:o("newsletter").privacy_text||"",onChange:t=>n("newsletter",{privacy_text:t.target.value}),placeholder:s("No spam, unsubscribe at any time...")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-red-100 rounded-lg",children:e.jsx(H,{className:"h-5 w-5 text-red-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Newsletter Benefits")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Benefits of subscribing to newsletter")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("newsletter").benefits||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-red-100 text-red-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Benefit")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("newsletter").benefits||[]).filter((r,h)=>h!==a);n("newsletter",{benefits:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`benefit_${a}_icon`,children:s("Icon (Emoji)")}),e.jsx(c,{id:`benefit_${a}_icon`,value:t.icon||"",onChange:l=>{const r=[...o("newsletter").benefits||[]];r[a]={...r[a],icon:l.target.value},n("newsletter",{benefits:r})},placeholder:"📧",maxLength:2})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`benefit_${a}_title`,children:"Title"}),e.jsx(c,{id:`benefit_${a}_title`,value:t.title||"",onChange:l=>{const r=[...o("newsletter").benefits||[]];r[a]={...r[a],title:l.target.value},n("newsletter",{benefits:r})},placeholder:s("Weekly Updates")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`benefit_${a}_description`,children:s("Description")}),e.jsx(c,{id:`benefit_${a}_description`,value:t.description||"",onChange:l=>{const r=[...o("newsletter").benefits||[]];r[a]={...r[a],description:l.target.value},n("newsletter",{benefits:r})},placeholder:s("Stay informed about the latest HRM SaaS features and improvements.")})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("newsletter").benefits||[],{icon:"",title:"",description:""}];n("newsletter",{benefits:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Benefit")]})]})]})]}),x==="contact"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-teal-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-teal-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Contact Section Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Contact section titles and descriptions")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Oe=(Ee=d.config_sections)==null?void 0:Ee.section_visibility)==null?void 0:Oe.contact)!==!1,onCheckedChange:t=>y("contact",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_title",children:s("Section Title")}),e.jsx(c,{id:"contact_title",value:o("contact").title||"",onChange:t=>n("contact",{title:t.target.value}),placeholder:s("Get in Touch")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"contact_subtitle",value:o("contact").subtitle||"",onChange:t=>n("contact",{subtitle:t.target.value}),placeholder:s("Have questions about HRM SaaS ?..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_form_title",children:s("Form Title")}),e.jsx(c,{id:"contact_form_title",value:o("contact").form_title||"",onChange:t=>n("contact",{form_title:t.target.value}),placeholder:s("Send us a Message")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_info_title",children:s("Contact Info Title")}),e.jsx(c,{id:"contact_info_title",value:o("contact").info_title||"",onChange:t=>n("contact",{info_title:t.target.value}),placeholder:s("Contact Information")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_info_description",children:s("Contact Info Description")}),e.jsx(u,{id:"contact_info_description",value:o("contact").info_description||"",onChange:t=>n("contact",{info_description:t.target.value}),placeholder:s("We're here to help and answer any question..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-emerald-100 rounded-lg",children:e.jsx(K,{className:"h-5 w-5 text-emerald-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Contact Information")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Company contact details")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_email",children:s("Email Address")}),e.jsx(c,{id:"contact_email",name:"contact_email",value:d.contact_email||"",onChange:S,placeholder:"support@hrm.com",type:"email"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_phone",children:s("Phone Number")}),e.jsx(c,{id:"contact_phone",name:"contact_phone",value:d.contact_phone||"",onChange:S,placeholder:s("+1 (555) 123-4567")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_address",children:s("Address")}),e.jsx(u,{id:"contact_address",name:"contact_address",value:d.contact_address||"",onChange:S,placeholder:s("123 Business Ave, Suite 100, San Francisco, CA 94105"),rows:2})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-indigo-100 rounded-lg",children:e.jsx(te,{className:"h-5 w-5 text-indigo-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Contact FAQs")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Contact-related frequently asked questions")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("contact").faqs||[]).map((t,a)=>e.jsxs("div",{className:"p-4 border rounded-lg space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("h4",{className:"font-medium",children:[s("FAQ")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("contact").faqs||[]).filter((r,h)=>h!==a);n("contact",{faqs:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`contact_faq_${a}_question`,children:"Question"}),e.jsx(c,{id:`contact_faq_${a}_question`,value:t.question||"",onChange:l=>{const r=[...o("contact").faqs||[]];r[a]={...r[a],question:l.target.value},n("contact",{faqs:r})},placeholder:s("How quickly do you respond?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`contact_faq_${a}_answer`,children:"Answer"}),e.jsx(u,{id:`contact_faq_${a}_answer`,value:t.answer||"",onChange:l=>{const r=[...o("contact").faqs||[]];r[a]={...r[a],answer:l.target.value},n("contact",{faqs:r})},placeholder:s("We typically respond within 24 hours..."),rows:2})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("contact").faqs||[],{question:"",answer:""}];n("contact",{faqs:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add FAQ")]})]})]})]}),x==="footer"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gray-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-gray-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Footer Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Footer description and newsletter content")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ge=(We=d.config_sections)==null?void 0:We.section_visibility)==null?void 0:Ge.footer)!==!1,onCheckedChange:t=>y("footer",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"footer_description",children:s("Company Description")}),e.jsx(u,{id:"footer_description",value:o("footer").description||"",onChange:t=>n("footer",{description:t.target.value}),placeholder:s("Transforming professional networking..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"footer_newsletter_title",children:s("Newsletter Title")}),e.jsx(c,{id:"footer_newsletter_title",value:o("footer").newsletter_title||"",onChange:t=>n("footer",{newsletter_title:t.target.value}),placeholder:s("Stay Updated with Our Latest Features")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"footer_newsletter_subtitle",children:s("Newsletter Subtitle")}),e.jsx(c,{id:"footer_newsletter_subtitle",value:o("footer").newsletter_subtitle||"",onChange:t=>n("footer",{newsletter_subtitle:t.target.value}),placeholder:s("Join our newsletter for product updates...")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(Y,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Social Links")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Social media links and profiles")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("footer").social_links||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Social Link")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("footer").social_links||[]).filter((r,h)=>h!==a);n("footer",{social_links:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`social_${a}_name`,children:s("Name")}),e.jsx(c,{id:`social_${a}_name`,value:t.name||"",onChange:l=>{const r=[...o("footer").social_links||[]];r[a]={...r[a],name:l.target.value},n("footer",{social_links:r})},placeholder:s("Facebook")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`social_${a}_icon`,children:s("Icon")}),e.jsxs("select",{id:`social_${a}_icon`,value:t.icon||"Facebook",onChange:l=>{const r=[...o("footer").social_links||[]];r[a]={...r[a],icon:l.target.value},n("footer",{social_links:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"Facebook",children:"Facebook"}),e.jsx("option",{value:"Twitter",children:"Twitter"}),e.jsx("option",{value:"Linkedin",children:"LinkedIn"}),e.jsx("option",{value:"Instagram",children:"Instagram"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`social_${a}_href`,children:s("URL")}),e.jsx(c,{id:`social_${a}_href`,value:t.href||"",onChange:l=>{const r=[...o("footer").social_links||[]];r[a]={...r[a],href:l.target.value},n("footer",{social_links:r})},placeholder:"https://facebook.com/..."})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("footer").social_links||[],{name:"",icon:"Facebook",href:""}];n("footer",{social_links:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Social Link")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(te,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Footer Links")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Footer navigation links by category")})]})]}),e.jsx("div",{className:"space-y-6",children:["product","company","support","legal"].map(t=>{var a,l,r,h;return e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`${t}_title`,children:s("Section Title")}),e.jsx(c,{id:`${t}_title`,value:((a=o("footer").section_titles)==null?void 0:a[t])||"",onChange:j=>{const p={...o("footer").section_titles};p[t]=j.target.value,n("footer",{section_titles:p})},placeholder:t.charAt(0).toUpperCase()+t.slice(1)})]}),e.jsxs("h4",{className:"font-medium",children:[((l=o("footer").section_titles)==null?void 0:l[t])||t.charAt(0).toUpperCase()+t.slice(1)," Links"]}),(((r=o("footer").links)==null?void 0:r[t])||[]).map((j,p)=>e.jsxs("div",{className:"grid grid-cols-2 gap-4 p-4 border rounded-lg",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`${t}_${p}_name`,children:s("Name")}),e.jsx(c,{id:`${t}_${p}_name`,value:j.name||"",onChange:q=>{const w={...o("footer").links};w[t]||(w[t]=[]),w[t][p]={...w[t][p],name:q.target.value},n("footer",{links:w})},placeholder:s("Features")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`${t}_${p}_href`,children:s("URL")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:`${t}_${p}_href`,value:j.href||"",onChange:q=>{const w={...o("footer").links};w[t]||(w[t]=[]),w[t][p]={...w[t][p],href:q.target.value},n("footer",{links:w})},placeholder:"#features"}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const q={...o("footer").links};q[t]&&(q[t]=q[t].filter((w,Ns)=>Ns!==p),n("footer",{links:q}))},children:e.jsx(C,{className:"h-4 w-4"})})]})]})]},p)),e.jsxs(g,{type:"button",variant:"outline",size:"sm",className:"border-2",style:{color:m,borderColor:m},onClick:()=>{const j={...o("footer").links};j[t]||(j[t]=[]),j[t].push({name:"",href:""}),n("footer",{links:j})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add")," ",((h=o("footer").section_titles)==null?void 0:h[t])||t.charAt(0).toUpperCase()+t.slice(1)," ",s("Link")]})]},t)})})]})]}),x==="design"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(gs,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("Colors & Theme")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"primary_color",children:s("Primary Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"primary_color",type:"color",value:((Ue=(Be=d.config_sections)==null?void 0:Be.theme)==null?void 0:Ue.primary_color)||"#3b82f6",onChange:t=>b({primary_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((Je=(ze=d.config_sections)==null?void 0:ze.theme)==null?void 0:Je.primary_color)||"#3b82f6",onChange:t=>b({primary_color:t.target.value}),placeholder:"#3b82f6"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"secondary_color",children:s("Secondary Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"secondary_color",type:"color",value:((Ye=(Qe=d.config_sections)==null?void 0:Qe.theme)==null?void 0:Ye.secondary_color)||"#8b5cf6",onChange:t=>b({secondary_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((Ke=(Ve=d.config_sections)==null?void 0:Ve.theme)==null?void 0:Ke.secondary_color)||"#8b5cf6",onChange:t=>b({secondary_color:t.target.value}),placeholder:"#8b5cf6"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"accent_color",children:s("Accent Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"accent_color",type:"color",value:((Ze=(Xe=d.config_sections)==null?void 0:Xe.theme)==null?void 0:Ze.accent_color)||"#10b77f",onChange:t=>b({accent_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((ss=(es=d.config_sections)==null?void 0:es.theme)==null?void 0:ss.accent_color)||"#10b77f",onChange:t=>b({accent_color:t.target.value}),placeholder:"#10b77f"})]})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(xs,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("Images & Logos")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsx("div",{className:"space-y-3",children:e.jsx(O,{label:s("Logo (Light)"),value:P(((as=(ts=d.config_sections)==null?void 0:ts.theme)==null?void 0:as.logo_light)||""),onChange:t=>{b({logo_light:D(t)})},placeholder:s("Select light logo...")})}),e.jsx("div",{className:"space-y-3",children:e.jsx(O,{label:s("Logo (Dark)"),value:P(((ls=(rs=d.config_sections)==null?void 0:rs.theme)==null?void 0:ls.logo_dark)||""),onChange:t=>{b({logo_dark:D(t)})},placeholder:s("Select dark logo...")})})]})]})]}),x==="order"&&e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-indigo-100 rounded-lg",children:e.jsx(Q,{className:"h-5 w-5 text-indigo-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Section Order")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Drag and drop to reorder sections on your landing page")})]})]}),e.jsx("div",{className:"space-y-3",children:(((os=d.config_sections)==null?void 0:os.section_order)||[]).map((t,a)=>{var h,j;const l={header:s("Header"),hero:s("Hero"),features:s("Features"),screenshots:s("Screenshots"),why_choose_us:s("Why Choose Us"),about:s("About"),team:s("Team"),testimonials:s("Testimonials"),plans:s("Plans"),faq:s("FAQ"),newsletter:s("Newsletter"),contact:s("Contact"),footer:s("Footer")},r=((j=(h=d.config_sections)==null?void 0:h.section_visibility)==null?void 0:j[t])!==!1;return e.jsxs("div",{draggable:!0,onDragStart:p=>bs(p,a),onDragOver:ys,onDrop:p=>fs(p,a),className:`flex items-center gap-3 p-4 border rounded-lg cursor-move transition-all hover:shadow-md ${r?"bg-white border-gray-200":"bg-gray-50 border-gray-300 opacity-60"}`,children:[e.jsx(Is,{className:"h-5 w-5 text-gray-400"}),e.jsxs("div",{className:"flex-1 flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"w-8 h-8 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center text-sm font-bold",children:a+1}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900",children:l[t]||t}),e.jsx("p",{className:"text-sm text-gray-500",children:s(r?"Enabled":"Disabled")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable")}),e.jsx(f,{checked:r,onCheckedChange:p=>y(t,p)})]})]})]},t)})}),e.jsx("div",{className:"mt-6 p-4 bg-blue-50 border border-blue-200 rounded-lg",children:e.jsxs("div",{className:"flex items-start",children:[e.jsx(B,{className:"h-5 w-5 text-blue-600 mr-2 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-medium text-blue-900 mb-1",children:s("How to reorder")}),e.jsx("p",{className:"text-sm text-blue-700",children:s("Click and drag any section to change its position. Disabled sections will still appear in the order but won't be visible on the landing page.")})]})]})})]})}),x==="advanced"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(se,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("SEO Settings")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"meta_title",children:s("Meta Title")}),e.jsx(c,{id:"meta_title",value:((is=(ns=d.config_sections)==null?void 0:ns.seo)==null?void 0:is.meta_title)||"",onChange:t=>ce({meta_title:t.target.value}),placeholder:s("Landing Page Title")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"meta_description",children:s("Meta Description")}),e.jsx(u,{id:"meta_description",value:((ds=(cs=d.config_sections)==null?void 0:cs.seo)==null?void 0:ds.meta_description)||"",onChange:t=>ce({meta_description:t.target.value}),placeholder:s("Landing page description for search engines"),rows:3})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(G,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("Custom CSS")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"custom_css",children:s("Custom CSS")}),e.jsx(u,{id:"custom_css",value:((ms=d.config_sections)==null?void 0:ms.custom_css)||"",onChange:t=>k("config_sections",{...d.config_sections,custom_css:t.target.value}),placeholder:s("Add your custom CSS here"),rows:6,className:"font-mono text-sm"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Add custom CSS to override default styles")})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(G,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("Custom JavaScript")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"custom_js",children:s("Custom JavaScript")}),e.jsx(u,{id:"custom_js",value:((hs=d.config_sections)==null?void 0:hs.custom_js)||"",onChange:t=>k("config_sections",{...d.config_sections,custom_js:t.target.value}),placeholder:s("Add your custom JavaScript here"),rows:6,className:"font-mono text-sm"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Add custom JavaScript for advanced functionality")})]})]})]})]})]})]}),e.jsx($s,{})]})}export{Wt as default}; +import{r as J,j as e}from"./ui-Z445SNHD.js";import{u as ws,c as Cs,a as ks,b as Ss,ap as Fs,o as g,E as I,X as E,P as _,S as se,I as c,T as Ts,L as i,F as te,ac as xs,M as O,ad as gs,am as W,y as qs,d as Rs,g as us,r as Hs,t as ae}from"./app-Dya84jp7.js";import{T as u}from"./textarea-yeg8ONhy.js";import{S as f}from"./switch-DyHgm-Sg.js";import{P as As}from"./page-template-CLNVC8w_.js";import{T as $s}from"./toaster-Bc5RPjCT.js";import Ms from"./settings-features-DNQBmccf.js";import Ls from"./settings-about-GG9PVihu.js";import{S as R}from"./settings-amvA_CjN.js";import{A as Q}from"./arrow-up-down-B7nj--dP.js";import{C as G}from"./code-znlKMFkF.js";import{T as v}from"./type-Bsbmfmsu.js";import{G as Y}from"./globe-5zZ4IsmY.js";import{A as H}from"./award-D1KbOerA.js";import{M as V}from"./monitor-BYgqmcKD.js";import{U as A}from"./users-BzCDZrS0.js";import{I as B}from"./info-CPi9bOGM.js";import{C as re}from"./credit-card-BKi_ThdS.js";import{C as U}from"./circle-help-DYANbqeK.js";import{M as le}from"./mail-Cha_PX4q.js";import{P as K}from"./phone-3MnRoAYu.js";import{T as C}from"./trash-2-BeirBLIk.js";import{G as Is}from"./grip-vertical-jJ2YrfNT.js";import{E as Ds}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./star-DCkLKzoE.js";import"./chart-column-B76eI9Qi.js";const z={sections:[{key:"header",transparent:!1,background_color:"#ffffff",text_color:"#1f2937",button_style:"gradient"},{key:"hero",title:"Simplify HR Management Effortlessly",subtitle:"Manage employees, payroll, attendance, and more in one powerful platform.",announcement_text:"� New: Smart Leave & Attendance Tracking Launched!",primary_button_text:"Start Free Trial",secondary_button_text:"Login",image:"",background_color:"#f8fafc",text_color:"#1f2937",layout:"image-right",height:600,stats:[{value:"10K+",label:"Active Users"},{value:"50+",label:"Countries"},{value:"99%",label:"Satisfaction"}],card:{name:"John Doe",title:"Senior Developer",company:"Tech Solutions Inc.",initials:"JD"}},{key:"features",title:"Empowering Businesses with Smart HR Solutions",description:"All-in-one platform to manage employees, payroll, attendance, and performance with ease.",background_color:"#ffffff",layout:"grid",columns:3,image:"",show_icons:!0,features_list:[{title:"Employee Management",description:"Centralized profiles with personal, job, and document details.",icon:"users"},{title:"Payroll Automation",description:"Generate accurate payslips with tax, allowances, and deductions.",icon:"dollar-sign"},{title:"Leave & Attendance",description:"Smart tracking of leaves, shifts, and attendance logs.",icon:"clock"},{icon:"user-plus",title:"Recruitment & Onboarding",description:"Streamline hiring with applicant tracking and digital onboarding."},{icon:"award",title:"Performance Management",description:"Set goals, run evaluations, and track employee growth."},{icon:"bar-chart-2",title:"Reports & Analytics",description:"Get actionable insights on workforce productivity and HR metrics."}]},{key:"screenshots",title:"See HRM Saas in Action",subtitle:"Discover how our modern HRM SaaS platform helps you manage employees, payroll, attendance, and performance — all in one place.",screenshots_list:[{src:"/screenshots/dashboard.png",alt:"HRMGo Dashboard Overview",title:"Dashboard Overview",description:"Get a complete overview of employee data, payroll, and HR activities in one unified dashboard."},{src:"/screenshots/employee-management.png",alt:"Employee Management Module",title:"Employee Management",description:"Centralized employee profiles with personal details, documents, and job history."},{src:"/screenshots/payroll-payslip.png",alt:"Payroll Automation",title:"Payroll & Payslips",description:"Automated payroll processing with tax calculations, allowances, and downloadable payslips."},{src:"/screenshots/leave.png",alt:"Leave Management",title:"Leave Management",description:"Easily apply, approve, and track employee leave requests with proper workflows and policies."},{src:"/screenshots/attendance.png",alt:"Attendance Tracking",title:"Attendance Tracking",description:"Monitor employee check-ins, check-outs, and shifts with automated attendance logs."},{src:"/screenshots/recruitment.png",alt:"Recruitment & Onboarding",title:"Recruitment & Onboarding",description:"Streamline hiring with applicant tracking and digital onboarding."}]},{key:"why_choose_us",title:"Why Choose HRM SaaS ? ",subtitle:"Smart, simple, and powerful HR solutions for every business.",reasons:[{title:"All-in-One HR Solution",description:"Manage employees, payroll, attendance, recruitment, and performance from a single platform.",icon:"layers"},{title:"Time-Saving Automation",description:"Automate repetitive HR tasks to focus on strategic decision-making.",icon:"clock"},{icon:"bar-chart",title:"Data-Driven Insights",description:"Make informed decisions with advanced analytics and reports."},{icon:"shield",title:"Secure & Reliable",description:"Keep sensitive HR data safe with enterprise-grade security."}],stats:[{value:"500+",label:"Companies Using HRM",color:"blue"},{value:"20K+",label:"Employees Managed",color:"green"},{value:"98%",label:"Customer Satisfaction",color:"orange"}]},{key:"about",title:"About HRM SaaS",description:"We are passionate about simplifying HR management for businesses of all sizes.",story_title:"We are passionate about simplifying HR management for businesses of all sizes.",story_content:"Founded by HR and tech enthusiasts, HRMGo was created to replace cumbersome spreadsheets and manual processes with a modern, all-in-one HR platform.",image:"",background_color:"#f9fafb",layout:"image-right",stats:[{value:"3+ Years",label:"Experience",color:"blue"},{value:"500+",label:"Companies Served",color:"green"},{value:"20K+",label:"Employees Managed",color:"purple"}]},{key:"team",title:"Meet Our Team",subtitle:"We're a dedicated team of HR and technology experts.",cta_title:"Want to Join Our Team?",cta_description:"We're always looking for talented individuals to shape the future of HR management.",cta_button_text:"View Open Positions",members:[{name:"John Doe",role:"CEO & Founder",bio:"Experienced HR tech entrepreneur passionate about building intuitive HR solutions.",image:"",linkedin:"#",email:"john@example.com"},{name:"Jane Smith",role:"CTO",bio:"Leads the tech team to create scalable and secure HR platforms.",image:"",linkedin:"#",email:"jane@example.com"},{name:"Michael Lee",role:"Head of Product",bio:"Designs user-centric features to simplify HR processes.",image:"",linkedin:"#",email:"michael@example.com"},{name:"Emily Davis",role:"HR Manager",bio:"Oversees employee engagement, recruitment, and HR operations.",image:"",linkedin:"#",email:"emily@example.com"}]},{key:"testimonials",title:"What Our Clients Say",subtitle:"Hear from HR leaders who trust our platform.",trust_title:"Trusted by HR Professionals Worldwide",trust_stats:[{value:"4.9/5",label:"Average Rating",color:"blue"},{value:"500+",label:"Companies Served",color:"green"}],testimonials:[{name:"Alice Johnson",role:"HR Manager",company:"GlobalTech Ltd.",content:"HRMGo has made managing employee records and attendance effortless. Our HR team saves hours every week!",rating:5},{name:"Robert Smith",role:"Operations Head",company:"Innovate Solutions",content:"The payroll automation is incredibly accurate and easy to use. No more manual calculations or errors!",rating:5},{name:"Maria Davis",role:"CEO",company:"BrightFuture Corp.",content:"From recruitment to performance management, HRMGo covers everything we need in one platform.",rating:5},{name:"David Lee",role:"Talent Acquisition Lead",company:"NextGen Enterprises",content:"Recruitment and onboarding have never been smoother. HRMGo’s platform is intuitive and efficient.",rating:5},{name:"Samantha Green",role:"Payroll Specialist",company:"BrightSolutions Inc.",content:"Payroll processing is now quick and error-free thanks to HRMGo. It has transformed our monthly workflow.",rating:5},{name:"Michael Brown",role:"HR Coordinator",company:"TechWave Ltd.",content:"The performance management module helps us track employee goals and progress effortlessly.",rating:5}]},{key:"plans",title:"Choose Your HRM SaaS Plan",subtitle:"Start with our free plan and upgrade as your team grows.",faq_text:"Have questions about our plans? Reach out to our sales team for guidance."},{key:"faq",title:"Frequently Asked Questions",subtitle:"Got questions? We've got answers.",cta_text:"Still have questions?",button_text:"Contact Support",faqs:[{question:"How does HRM work?",answer:"HRM SaaS is an all-in-one HR platform that helps you manage employees, payroll, attendance, recruitment, and performance efficiently."},{question:"Can I automate payroll and leave tracking?",answer:"Yes! HRM SaaS allows you to automate payroll calculations, generate payslips, and track employee leaves and attendance seamlessly."},{question:"Is my employee data secure?",answer:"Absolutely. HRM SaaS uses enterprise-grade security measures to keep all sensitive HR data safe and confidential."},{question:"Can I manage recruitment and onboarding?",answer:"Yes, HRM SaaS provides applicant tracking, interview management, and digital onboarding tools to simplify hiring."},{question:"Does HRM SaaS support performance evaluations?",answer:"Yes, you can set goals, track KPIs, and run performance reviews directly within the platform."},{question:"Can HRM SaaS generate HR reports?",answer:"HRM offers advanced analytics and reporting features to give insights on attendance, payroll, and workforce performance."},{question:"What plans are available and can I upgrade anytime?",answer:"We offer flexible plans for different team sizes. You can start with the free plan and upgrade as your organization grows."}]},{key:"newsletter",title:"Stay Updated with HRM SaaS",subtitle:"Get the latest updates, HR tips, and feature announcements.",privacy_text:"No spam, unsubscribe at any time.",benefits:[{icon:"📧",title:"Weekly Updates",description:"Stay informed about the latest HRM SaaS features and improvements."},{icon:"💡",title:"HR Insights",description:"Get tips and best practices to optimize your HR operations."},{icon:"📊",title:"Reports & Trends",description:"Receive analytics insights and industry trends directly to your inbox."}]},{key:"contact",title:"Get in Touch",subtitle:"Have questions about HRM SaaS? We'd love to hear from you..",form_title:"Send us a Message",info_title:"Contact Information",info_description:"We're here to help and answer any questions you might have about managing your HR processes efficiently.",layout:"split",background_color:"#f9fafb"},{key:"footer",description:"Simplifying HR management with an all-in-one modern platform.",newsletter_title:"Stay Updated",newsletter_subtitle:"Join our newsletter for HR tips and product updates",links:{product:[{name:"Features",href:"#features"},{name:"Pricing",href:"#pricing"}],company:[{name:"About Us",href:"#about"},{name:"Contact",href:"#contact"}]},social_links:[{name:"Facebook",icon:"Facebook",href:"#"},{name:"Twitter",icon:"Twitter",href:"#"},{name:"LinkedIn",icon:"LinkedIn",href:"#"}],section_titles:{product:"Product",company:"Company"}}],theme:{primary_color:"#10b77f",secondary_color:"#ffffff",accent_color:"#f7f7f7",logo_light:"",logo_dark:"",favicon:""},seo:{meta_title:"HRM - All-in-One HR Management Software",meta_description:"Simplify employee management, payroll, attendance, recruitment, and performance with HRM, a modern HR SaaS platform.",meta_keywords:"HR software, HRM, employee management, payroll, attendance tracking, recruitment, performance management"},custom_css:"",custom_js:"",section_order:["header","hero","features","screenshots","why_choose_us","about","team","testimonials","plans","faq","newsletter","contact","footer"],section_visibility:{header:!0,hero:!0,features:!0,screenshots:!0,why_choose_us:!0,about:!0,team:!0,testimonials:!0,plans:!0,faq:!0,newsletter:!0,contact:!0,footer:!0}};function Wt(){var de,me,he,xe,ge,ue,pe,je,ve,be,ye,fe,_e,Ne,we,Ce,ke,Se,Fe,Te,qe,Re,He,Ae,$e,Me,Le,Ie,De,Pe,Ee,Oe,We,Ge,Be,Ue,ze,Je,Qe,Ye,Ve,Ke,Xe,Ze,es,ss,ts,as,rs,ls,os,ns,is,cs,ds,ms,hs;const{t:s}=ws(),{settings:N,flash:Ps,globalSettings:$}=Cs().props,{themeColor:oe,customColor:ps}=ks(),X=$==null?void 0:$.is_saas,m=oe==="custom"?ps:Ts[oe],[x,M]=J.useState("general"),[ne,Z]=J.useState(!1),[ee,F]=J.useState(!1),[L,ie]=J.useState(""),js=t=>t.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${t}`:us(t),D=t=>{if(!t||!t.startsWith("http"))return t;const a=t.indexOf("/storage/");return a!==-1?t.substring(a):t},P=t=>t?t.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${t}`:us(t):null,{data:d,setData:k,post:Es,processing:Os,errors:T}=Ss({company_name:N.company_name,contact_email:N.contact_email,contact_phone:N.contact_phone,contact_address:N.contact_address,config_sections:N.config_sections&&N.config_sections.sections&&N.config_sections.sections.length>0?{sections:N.config_sections.sections||[],theme:N.config_sections.theme||z.theme,seo:N.config_sections.seo||z.seo,section_order:N.config_sections.section_order||z.section_order,section_visibility:N.config_sections.section_visibility||z.section_visibility}:z}),o=t=>{var a,l;return((l=(a=d.config_sections)==null?void 0:a.sections)==null?void 0:l.find(r=>r.key===t))||{}},n=(t,a)=>{var h;const l=[...((h=d.config_sections)==null?void 0:h.sections)||[]],r=l.findIndex(j=>j.key===t);r>=0?l[r]={...l[r],...a}:l.push({key:t,...a}),k("config_sections",{...d.config_sections,sections:l})},b=t=>{var a;k("config_sections",{...d.config_sections,theme:{...(a=d.config_sections)==null?void 0:a.theme,...t}})},ce=t=>{var a;k("config_sections",{...d.config_sections,seo:{...(a=d.config_sections)==null?void 0:a.seo,...t}})},y=(t,a)=>{var l;k("config_sections",{...d.config_sections,section_visibility:{...(l=d.config_sections)==null?void 0:l.section_visibility,[t]:a}})},vs=t=>{k("config_sections",{...d.config_sections,section_order:t})},bs=(t,a)=>{t.dataTransfer.setData("text/plain",a.toString())},ys=t=>{t.preventDefault()},fs=(t,a)=>{var j;t.preventDefault();const l=parseInt(t.dataTransfer.getData("text/plain")),r=[...((j=d.config_sections)==null?void 0:j.section_order)||[]],h=r[l];r.splice(l,1),r.splice(a,0,h),vs(r)},S=t=>{const{name:a,value:l}=t.target;k(a,l)},_s=()=>{Z(!0),Hs.post(route("landing-page.settings.update"),d,{preserveScroll:!0,onSuccess:t=>{var r,h;Z(!1);const a=((r=t.props.flash)==null?void 0:r.success)||s("Landing page settings saved successfully"),l=(h=t.props.flash)==null?void 0:h.error;a&&!l?ae.success(a):l&&ae.error(l)},onError:t=>{Z(!1);const a=t.error||Object.values(t).join(", ")||s("Failed to save landing page settings");ae.error(a)}})};return e.jsxs(As,{title:s("Landing Page Settings"),url:"/landing-page/settings",breadcrumbs:[{title:s("Dashboard"),href:route("dashboard")},{title:s("Landing Page Settings")}],action:e.jsx("div",{className:"flex gap-2",children:e.jsxs(Rs,{href:route("landing-page"),className:"inline-flex items-center gap-2 px-4 py-2 text-white rounded-lg transition-colors",style:{backgroundColor:m},children:[e.jsx(Ds,{className:"w-4 h-4"}),s("View Landing Page")]})}),children:[e.jsxs(Fs,{title:s("Landing Page Settings"),description:s("Customize your landing page content and appearance"),action:e.jsxs(g,{onClick:_s,disabled:ne,size:"sm",children:[e.jsx(qs,{className:"h-4 w-4 mr-2"}),s(ne?"Saving...":"Save Changes")]}),children:[e.jsx("div",{className:"lg:hidden mb-4",children:e.jsxs(g,{variant:"outline",onClick:()=>F(!ee),className:"w-full flex items-center justify-center gap-2",children:[e.jsx(I,{className:"h-4 w-4"}),s("Sections"),ee?e.jsx(E,{className:"h-4 w-4"}):e.jsx(_,{className:"h-4 w-4"})]})}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-8",children:[e.jsx("div",{className:`lg:col-span-1 ${ee?"block":"hidden lg:block"}`,children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 p-4 shadow-sm sticky top-4",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 px-2",children:s("Sections")}),e.jsx("button",{onClick:()=>F(!1),className:"lg:hidden p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700",children:e.jsx(E,{className:"h-4 w-4"})})]}),e.jsx("div",{className:"mb-4 px-2",children:e.jsxs("div",{className:"relative",children:[e.jsx(se,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(c,{type:"text",placeholder:s("Search sections..."),value:L,onChange:t=>ie(t.target.value),className:"pl-10 h-8 text-sm border-gray-200 dark:border-gray-700 dark:bg-gray-900"})]})}),e.jsx("nav",{className:"space-y-1",children:(()=>{const t=[{key:"general",label:s("General"),icon:R,group:"Setup"},{key:"order",label:s("Order"),icon:Q,group:"Setup"},{key:"advanced",label:s("Advanced"),icon:G,group:"Setup"},{key:"header",label:s("Header"),icon:I,group:"Layout"},{key:"hero",label:s("Hero"),icon:v,group:"Layout"},{key:"footer",label:s("Footer"),icon:Y,group:"Layout"},{key:"features",label:s("Features"),icon:H,group:"Content"},{key:"screenshots",label:s("Screenshots"),icon:V,group:"Content"},{key:"whychooseus",label:s("Why Us"),icon:A,group:"Content"},{key:"about",label:s("About"),icon:B,group:"Content"},{key:"team",label:s("Team"),icon:A,group:"Social"},{key:"testimonials",label:s("Reviews"),icon:H,group:"Social"},...X?[{key:"plans",label:s("Plans"),icon:re,group:"Social"}]:[],{key:"faq",label:s("FAQ"),icon:U,group:"Engagement"},{key:"newsletter",label:s("Newsletter"),icon:le,group:"Engagement"},{key:"contact",label:s("Contact"),icon:K,group:"Engagement"}],a=L?t.filter(l=>l.label.toLowerCase().includes(L.toLowerCase())||l.group.toLowerCase().includes(L.toLowerCase())):t;return L&&a.length>0?e.jsx("div",{className:"space-y-1",children:a.map(l=>{const r=l.icon;return e.jsxs("button",{onClick:()=>{M(l.key),F(!1),ie("")},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(r,{className:"h-4 w-4"}),e.jsxs("div",{children:[e.jsx("div",{children:l.label}),e.jsx("div",{className:"text-xs opacity-75",children:l.group})]})]},l.key)})}):L&&a.length===0?e.jsxs("div",{className:"text-center py-8 text-gray-500 dark:text-gray-400",children:[e.jsx(se,{className:"h-8 w-8 mx-auto mb-2 opacity-50"}),e.jsx("p",{className:"text-sm",children:s("No sections found")})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Setup")}),[{key:"general",label:s("General"),icon:R},{key:"order",label:s("Order"),icon:Q},{key:"advanced",label:s("Advanced"),icon:G}].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Layout")}),[{key:"header",label:s("Header"),icon:I},{key:"hero",label:s("Hero"),icon:v},{key:"footer",label:s("Footer"),icon:Y}].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Content")}),[{key:"features",label:s("Features"),icon:H},{key:"screenshots",label:s("Screenshots"),icon:V},{key:"whychooseus",label:s("Why Us"),icon:A},{key:"about",label:s("About"),icon:B}].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Social")}),[{key:"team",label:s("Team"),icon:A},{key:"testimonials",label:s("Reviews"),icon:H},...X?[{key:"plans",label:s("Plans"),icon:re}]:[]].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider px-2 mb-2",children:s("Engagement")}),[{key:"faq",label:s("FAQ"),icon:U},{key:"newsletter",label:s("Newsletter"),icon:le},{key:"contact",label:s("Contact"),icon:K}].map(l=>e.jsxs("button",{onClick:()=>{M(l.key),F(!1)},className:`w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-colors text-left ${x===l.key?"text-white dark:text-white shadow-sm":"text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"}`,style:x===l.key?{backgroundColor:m}:{},children:[e.jsx(l.icon,{className:"h-4 w-4"}),l.label]},l.key))]})]})})()})]})}),e.jsxs("div",{className:"lg:col-span-3 space-y-6",children:[e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 p-4 shadow-sm",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg",style:{backgroundColor:m+"20"},children:(()=>{const a={general:R,order:Q,advanced:G,header:I,hero:v,footer:Y,features:H,screenshots:V,whychooseus:A,about:B,team:A,testimonials:H,plans:re,faq:U,newsletter:le,contact:K}[x]||R;return e.jsx(a,{className:"h-5 w-5",style:{color:m}})})()}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 dark:text-gray-100",children:{general:s("General Settings"),order:s("Section Order"),advanced:s("Advanced Settings"),header:s("Header Configuration"),hero:s("Hero Section"),footer:s("Footer Settings"),features:s("Features Section"),screenshots:s("Screenshots Gallery"),whychooseus:s("Why Choose Us"),about:s("About Section"),team:s("Team Section"),testimonials:s("Testimonials"),plans:s("Pricing Plans"),faq:s("FAQ Section"),newsletter:s("Newsletter"),contact:s("Contact Section")}[x]||s("Settings")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:{general:s("Configure basic company information and theme colors"),order:s("Drag and drop to reorder sections on your landing page"),advanced:s("SEO settings, custom CSS and JavaScript"),header:s("Customize header appearance and navigation"),hero:s("Configure the main hero section with title, subtitle and CTA"),footer:s("Footer content, links and social media"),features:s("Showcase your product features and benefits"),screenshots:s("Display application screenshots and demos"),whychooseus:s("Highlight reasons why customers should choose you"),about:s("Tell your company story and mission"),team:s("Showcase your team members and their roles"),testimonials:s("Display customer reviews and testimonials"),plans:s("Configure pricing plans and features"),faq:s("Frequently asked questions and answers"),newsletter:s("Newsletter subscription and benefits"),contact:s("Contact form and company information")}[x]||s("Customize your landing page")})]})]})}),x==="general"&&e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Company Information")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:s("Basic company details for your landing page")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs(i,{htmlFor:"company_name",className:"text-sm font-medium text-gray-900 dark:text-gray-100 flex items-center gap-2",children:[e.jsx(R,{className:"h-4 w-4",style:{color:m}}),s("Company Name")]}),e.jsx(c,{id:"company_name",name:"company_name",value:d.company_name,onChange:S,placeholder:s("Your Company Name"),className:"h-10 border-gray-200 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-100",style:{"--tw-ring-color":m+"33"}}),T.company_name&&e.jsxs("div",{className:"flex items-center gap-2 text-red-600 text-sm bg-red-50 p-2 rounded-md border border-red-200",children:[e.jsx(E,{className:"h-4 w-4"}),T.company_name]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_email",children:s("Contact Email")}),e.jsx(c,{id:"contact_email",name:"contact_email",type:"email",value:d.contact_email,onChange:S,placeholder:s("support@company.com")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_phone",children:s("Contact Phone")}),e.jsx(c,{id:"contact_phone",name:"contact_phone",value:d.contact_phone,onChange:S,placeholder:s("+1 (555) 123-4567")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_address",children:s("Contact Address")}),e.jsx(c,{id:"contact_address",name:"contact_address",value:d.contact_address,onChange:S,placeholder:s("123 Business Ave, City, State")})]})]}),e.jsxs("div",{className:"mt-6 p-4 bg-gradient-to-r rounded-lg border",style:{backgroundColor:m+"10",borderColor:m+"30"},children:[e.jsx("h4",{className:"text-sm font-medium mb-3",style:{color:m},children:s("Theme Colors")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"general_primary_color",children:s("Primary Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"general_primary_color",type:"color",value:((me=(de=d.config_sections)==null?void 0:de.theme)==null?void 0:me.primary_color)||"#3b82f6",onChange:t=>b({primary_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((xe=(he=d.config_sections)==null?void 0:he.theme)==null?void 0:xe.primary_color)||"#3b82f6",onChange:t=>b({primary_color:t.target.value}),placeholder:"#3b82f6"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"general_secondary_color",children:s("Secondary Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"general_secondary_color",type:"color",value:((ue=(ge=d.config_sections)==null?void 0:ge.theme)==null?void 0:ue.secondary_color)||"#8b5cf6",onChange:t=>b({secondary_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((je=(pe=d.config_sections)==null?void 0:pe.theme)==null?void 0:je.secondary_color)||"#8b5cf6",onChange:t=>b({secondary_color:t.target.value}),placeholder:"#8b5cf6"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"general_accent_color",children:s("Accent Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"general_accent_color",type:"color",value:((be=(ve=d.config_sections)==null?void 0:ve.theme)==null?void 0:be.accent_color)||"#10b77f",onChange:t=>b({accent_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((fe=(ye=d.config_sections)==null?void 0:ye.theme)==null?void 0:fe.accent_color)||"#10b77f",onChange:t=>b({accent_color:t.target.value}),placeholder:"#10b77f"})]})]})]})]})]})}),x==="header"&&e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(I,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Header Style")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Customize your header appearance and behavior")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ne=(_e=d.config_sections)==null?void 0:_e.section_visibility)==null?void 0:Ne.header)!==!1,onCheckedChange:t=>y("header",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(i,{htmlFor:"header_transparent",children:s("Transparent Header")}),e.jsx(f,{id:"header_transparent",checked:o("header").transparent||!1,onCheckedChange:t=>n("header",{transparent:t})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Make header background transparent")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"header_background_color",children:s("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"header_background_color",type:"color",value:o("header").background_color||"#ffffff",onChange:t=>n("header",{background_color:t.target.value}),className:"w-16 h-10 p-1",disabled:o("header").transparent}),e.jsx(c,{value:o("header").background_color||"#ffffff",onChange:t=>n("header",{background_color:t.target.value}),placeholder:"#ffffff",disabled:o("header").transparent})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"header_text_color",children:s("Text Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"header_text_color",type:"color",value:o("header").text_color||"#1f2937",onChange:t=>n("header",{text_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:o("header").text_color||"#1f2937",onChange:t=>n("header",{text_color:t.target.value}),placeholder:"#1f2937"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"header_button_style",children:s("Button Style")}),e.jsxs("select",{id:"header_button_style",value:o("header").button_style||"gradient",onChange:t=>n("header",{button_style:t.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"gradient",children:"Gradient"}),e.jsx("option",{value:"solid",children:"Solid"}),e.jsx("option",{value:"outline",children:"Outline"})]})]})]})]})}),x==="hero"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-orange-100 rounded-lg",children:e.jsx(I,{className:"h-5 w-5 text-orange-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Layout")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Configure hero section layout and dimensions")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ce=(we=d.config_sections)==null?void 0:we.section_visibility)==null?void 0:Ce.hero)!==!1,onCheckedChange:t=>y("hero",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_layout",children:s("Layout Style")}),e.jsxs("select",{id:"hero_layout",value:o("hero").layout||"image-right",onChange:t=>n("hero",{layout:t.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"image-right",children:"Content Left, Image Right"}),e.jsx("option",{value:"image-left",children:"Image Left, Content Right"}),e.jsx("option",{value:"full-width",children:"Full Width"}),e.jsx("option",{value:"centered",children:"Centered Content"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_height",children:s("Section Height")}),e.jsx(c,{id:"hero_height",type:"number",value:o("hero").height||600,onChange:t=>n("hero",{height:parseInt(t.target.value)}),min:"300",max:"1000"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Height in pixels (300-1000)")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Main headline and supporting text")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs(i,{htmlFor:"hero_title",className:"text-sm font-medium text-gray-900 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4",style:{color:m}}),s("Hero Title")]}),e.jsx(c,{id:"hero_title",value:o("hero").title||"",onChange:t=>n("hero",{title:t.target.value}),placeholder:s("Your main headline"),className:"h-10 border-gray-200",style:{"--tw-ring-color":m+"33"}}),T.hero_title&&e.jsxs("div",{className:"flex items-center gap-2 text-red-600 text-sm bg-red-50 p-2 rounded-md border border-red-200",children:[e.jsx(E,{className:"h-4 w-4"}),T.hero_title]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs(i,{htmlFor:"hero_subtitle",className:"text-sm font-medium text-gray-900 flex items-center gap-2",children:[e.jsx(te,{className:"h-4 w-4",style:{color:m}}),s("Hero Subtitle")]}),e.jsx(u,{id:"hero_subtitle",value:o("hero").subtitle||"",onChange:t=>n("hero",{subtitle:t.target.value}),placeholder:s("Supporting text for your headline"),rows:3,className:"border-gray-200 resize-none",style:{"--tw-ring-color":m+"33"}}),T.hero_subtitle&&e.jsxs("div",{className:"flex items-center gap-2 text-red-600 text-sm bg-red-50 p-2 rounded-md border border-red-200",children:[e.jsx(E,{className:"h-4 w-4"}),T.hero_subtitle]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_announcement_text",children:s("Announcement Badge")}),e.jsx(c,{id:"hero_announcement_text",value:o("hero").announcement_text||"",onChange:t=>n("hero",{announcement_text:t.target.value}),placeholder:s("📢 New: Smart Leave & Attendance Tracking Launched!")}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Small announcement text shown above the title")})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_primary_button_text",children:s("Primary Button Text")}),e.jsx(c,{id:"hero_primary_button_text",value:o("hero").primary_button_text||"",onChange:t=>n("hero",{primary_button_text:t.target.value}),placeholder:s("Start Free Trial")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_secondary_button_text",children:s("Secondary Button Text")}),e.jsx(c,{id:"hero_secondary_button_text",value:o("hero").secondary_button_text||"",onChange:t=>n("hero",{secondary_button_text:t.target.value}),placeholder:s("Login")})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-indigo-100 rounded-lg",children:e.jsx(R,{className:"h-5 w-5 text-indigo-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Statistics")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Add compelling statistics to your hero section")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("hero").stats||[]).map((t,a)=>e.jsxs("div",{className:"grid grid-cols-2 gap-4 p-4 border rounded-lg",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`hero_stats_${a}_value`,children:s("Value")}),e.jsx(c,{id:`hero_stats_${a}_value`,value:t.value||"",onChange:l=>{const r=[...o("hero").stats||[]];r[a]={...r[a],value:l.target.value},n("hero",{stats:r})},placeholder:"10K+"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`hero_stats_${a}_label`,children:s("Label")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:`hero_stats_${a}_label`,value:t.label||"",onChange:l=>{const r=[...o("hero").stats||[]];r[a]={...r[a],label:l.target.value},n("hero",{stats:r})},placeholder:s("Active Users")}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("hero").stats||[]).filter((r,h)=>h!==a);n("hero",{stats:l})},children:e.jsx(C,{className:"h-4 w-4"})})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("hero").stats||[],{value:"",label:""}];n("hero",{stats:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Statistic")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-pink-100 rounded-lg",children:e.jsx(xs,{className:"h-5 w-5 text-pink-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Image")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Configure hero section imagery")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx("div",{className:"space-y-3",children:e.jsx(O,{label:s("Hero Image"),value:P(o("hero").image||js($!=null&&$.is_saas?"/screenshots/saas/hero-default.png":"/screenshots/non-saas/hero-default.png")),onChange:t=>{n("hero",{image:D(t)})},placeholder:s("Select hero image...")})}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_image_position",children:s("Image Position")}),e.jsxs("select",{id:"hero_image_position",value:o("hero").image_position||"right",onChange:t=>n("hero",{image_position:t.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"right",children:s("Right Side")}),e.jsx("option",{value:"left",children:s("Left Side")}),e.jsx("option",{value:"center",children:s("Center")}),e.jsx("option",{value:"background",children:s("Background")})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-violet-100 rounded-lg",children:e.jsx(gs,{className:"h-5 w-5 text-violet-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Hero Colors")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Customize hero section colors and overlays")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_background_color",children:s("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"hero_background_color",type:"color",value:o("hero").background_color||"#f8fafc",onChange:t=>n("hero",{background_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:o("hero").background_color||"#f8fafc",onChange:t=>n("hero",{background_color:t.target.value}),placeholder:"#f8fafc"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_text_color",children:s("Text Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"hero_text_color",type:"color",value:o("hero").text_color||"#1f2937",onChange:t=>n("hero",{text_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:o("hero").text_color||"#1f2937",onChange:t=>n("hero",{text_color:t.target.value}),placeholder:"#1f2937"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(i,{htmlFor:"hero_overlay",children:s("Background Overlay")}),e.jsx(f,{id:"hero_overlay",checked:o("hero").overlay||!1,onCheckedChange:t=>n("hero",{overlay:t})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Add overlay on background image")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"hero_overlay_color",children:s("Overlay Color")}),e.jsx(c,{id:"hero_overlay_color",value:o("hero").overlay_color||"rgba(0,0,0,0.5)",onChange:t=>n("hero",{overlay_color:t.target.value}),placeholder:"rgba(0,0,0,0.5)",disabled:!o("hero").overlay})]})]})]})]}),x==="features"&&e.jsx(Ms,{data:d,setData:k,errors:T,handleInputChange:S,getSectionData:o,updateSectionData:n,updateSectionVisibility:y,t:s}),x==="screenshots"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Screenshots Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Se=(ke=d.config_sections)==null?void 0:ke.section_visibility)==null?void 0:Se.screenshots)!==!1,onCheckedChange:t=>y("screenshots",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"screenshots_title",children:s("Section Title")}),e.jsx(c,{id:"screenshots_title",value:o("screenshots").title||"",onChange:t=>n("screenshots",{title:t.target.value}),placeholder:s("See HRM Saas in Action")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"screenshots_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"screenshots_subtitle",value:o("screenshots").subtitle||"",onChange:t=>n("screenshots",{subtitle:t.target.value}),placeholder:s("Explore our intuitive interface and powerful features..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(V,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Screenshots Gallery")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Manage application screenshots")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("screenshots").screenshots_list||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-purple-100 text-purple-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Screenshot")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("screenshots").screenshots_list||[]).filter((r,h)=>h!==a);n("screenshots",{screenshots_list:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsx("div",{className:"space-y-3",children:e.jsx(O,{label:s("Screenshot Image"),value:P(t.src||""),onChange:l=>{const r=[...o("screenshots").screenshots_list||[]];r[a]={...r[a],src:D(l)},n("screenshots",{screenshots_list:r})},placeholder:s("Select screenshot image...")})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`screenshot_${a}_title`,children:s("Title")}),e.jsx(c,{id:`screenshot_${a}_title`,value:t.title||"",onChange:l=>{const r=[...o("screenshots").screenshots_list||[]];r[a]={...r[a],title:l.target.value},n("screenshots",{screenshots_list:r})},placeholder:s("Dashboard Overview")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`screenshot_${a}_alt`,children:s("Alt Text")}),e.jsx(c,{id:`screenshot_${a}_alt`,value:t.alt||"",onChange:l=>{const r=[...o("screenshots").screenshots_list||[]];r[a]={...r[a],alt:l.target.value},n("screenshots",{screenshots_list:r})},placeholder:s("HRMGo Dashboard Overview")})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`screenshot_${a}_description`,children:s("Description")}),e.jsx(u,{id:`screenshot_${a}_description`,value:t.description||"",onChange:l=>{const r=[...o("screenshots").screenshots_list||[]];r[a]={...r[a],description:l.target.value},n("screenshots",{screenshots_list:r})},placeholder:s("Get a complete overview of employee data, payroll, and HR activities in one unified dashboard."),rows:2})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("screenshots").screenshots_list||[],{src:"",alt:"",title:"",description:""}];n("screenshots",{screenshots_list:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Screenshot")]})]})]})]}),x==="whychooseus"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-emerald-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-emerald-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Why Choose Us Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Main section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Te=(Fe=d.config_sections)==null?void 0:Fe.section_visibility)==null?void 0:Te.why_choose_us)!==!1,onCheckedChange:t=>y("why_choose_us",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs(i,{htmlFor:"why_choose_us_title",className:"text-sm font-medium text-gray-900 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4 text-emerald-600"}),s("Section Title")]}),e.jsx(c,{id:"why_choose_us_title",value:o("why_choose_us").title||"",onChange:t=>n("why_choose_us",{title:t.target.value}),placeholder:s("Why Choose HRM SaaS ? "),className:"h-10 border-gray-200 focus:border-emerald-500 focus:ring-emerald-500/20"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"why_choose_us_subtitle",value:o("why_choose_us").subtitle||"",onChange:t=>n("why_choose_us",{subtitle:t.target.value}),placeholder:s("We're not just another digital business card platform..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-amber-100 rounded-lg",children:e.jsx(H,{className:"h-5 w-5 text-amber-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Reasons to Choose Us")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Key benefits and advantages")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("why_choose_us").reasons||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-amber-100 text-amber-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Reason")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("why_choose_us").reasons||[]).filter((r,h)=>h!==a);n("why_choose_us",{reasons:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`reason_${a}_title`,children:s("Title")}),e.jsx(c,{id:`reason_${a}_title`,value:t.title||"",onChange:l=>{const r=[...o("why_choose_us").reasons||[]];r[a]={...r[a],title:l.target.value},n("why_choose_us",{reasons:r})},placeholder:s("All-in-One HR Solution")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`reason_${a}_icon`,children:s("Icon")}),e.jsxs("select",{id:`reason_${a}_icon`,value:t.icon||"clock",onChange:l=>{const r=[...o("why_choose_us").reasons||[]];r[a]={...r[a],icon:l.target.value},n("why_choose_us",{reasons:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"clock",children:"Clock"}),e.jsx("option",{value:"users",children:"Users"}),e.jsx("option",{value:"zap",children:"Zap"}),e.jsx("option",{value:"check-circle",children:"Check Circle"}),e.jsx("option",{value:"star",children:"Star"}),e.jsx("option",{value:"shield",children:"Shield"}),e.jsx("option",{value:"heart",children:"Heart"}),e.jsx("option",{value:"award",children:"Award"}),e.jsx("option",{value:"layers",children:"Layers"}),e.jsx("option",{value:"bar-chart",children:"Bar Chart"})]})]}),e.jsxs("div",{className:"space-y-3 md:col-span-1",children:[e.jsx(i,{htmlFor:`reason_${a}_description`,children:s("Description")}),e.jsx(u,{id:`reason_${a}_description`,value:t.description||"",onChange:l=>{const r=[...o("why_choose_us").reasons||[]];r[a]={...r[a],description:l.target.value},n("why_choose_us",{reasons:r})},placeholder:s("Manage employees, payroll, attendance, recruitment, and performance from a single platform..."),rows:3})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("why_choose_us").reasons||[],{title:"",description:"",icon:"clock"}];n("why_choose_us",{reasons:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Reason")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-cyan-100 rounded-lg",children:e.jsx(R,{className:"h-5 w-5 text-cyan-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Statistics Section")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Trust indicators and key metrics")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4 mb-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_stats_title",children:s("Statistics Title")}),e.jsx(c,{id:"why_choose_us_stats_title",value:o("why_choose_us").stats_title||"",onChange:t=>n("why_choose_us",{stats_title:t.target.value}),placeholder:s("Trusted by Industry Leaders")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_stats_subtitle",children:s("Statistics Subtitle")}),e.jsx(c,{id:"why_choose_us_stats_subtitle",value:o("why_choose_us").stats_subtitle||"",onChange:t=>n("why_choose_us",{stats_subtitle:t.target.value}),placeholder:s("Join the growing community of professionals")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("why_choose_us").stats||[]).map((t,a)=>e.jsxs("div",{className:"grid grid-cols-3 gap-4 p-4 border rounded-lg",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`stat_${a}_value`,children:s("Value")}),e.jsx(c,{id:`stat_${a}_value`,value:t.value||"",onChange:l=>{const r=[...o("why_choose_us").stats||[]];r[a]={...r[a],value:l.target.value},n("why_choose_us",{stats:r})},placeholder:"10K+"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`stat_${a}_label`,children:s("Label")}),e.jsx(c,{id:`stat_${a}_label`,value:t.label||"",onChange:l=>{const r=[...o("why_choose_us").stats||[]];r[a]={...r[a],label:l.target.value},n("why_choose_us",{stats:r})},placeholder:s("Active Users")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`stat_${a}_color`,children:s("Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("select",{id:`stat_${a}_color`,value:t.color||"blue",onChange:l=>{const r=[...o("why_choose_us").stats||[]];r[a]={...r[a],color:l.target.value},n("why_choose_us",{stats:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"blue",children:"Blue"}),e.jsx("option",{value:"green",children:"Green"}),e.jsx("option",{value:"purple",children:"Purple"}),e.jsx("option",{value:"orange",children:"Orange"}),e.jsx("option",{value:"red",children:"Red"}),e.jsx("option",{value:"yellow",children:"Yellow"})]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("why_choose_us").stats||[]).filter((r,h)=>h!==a);n("why_choose_us",{stats:l})},children:e.jsx(C,{className:"h-4 w-4"})})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("why_choose_us").stats||[],{value:"",label:"",color:"blue"}];n("why_choose_us",{stats:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Statistic")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-rose-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-rose-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Call to Action")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Encourage user engagement")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_cta_title",children:s("CTA Title")}),e.jsx(c,{id:"why_choose_us_cta_title",value:o("why_choose_us").cta_title||"",onChange:t=>n("why_choose_us",{cta_title:t.target.value}),placeholder:s("Ready to get started?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"why_choose_us_cta_subtitle",children:s("CTA Subtitle")}),e.jsx(c,{id:"why_choose_us_cta_subtitle",value:o("why_choose_us").cta_subtitle||"",onChange:t=>n("why_choose_us",{cta_subtitle:t.target.value}),placeholder:s("Join thousands of satisfied users today")})]})]})]})]}),x==="about"&&e.jsx(Ls,{data:d,setData:k,errors:T,handleInputChange:S,getSectionData:o,updateSectionData:n,updateSectionVisibility:y,t:s}),x==="team"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Team Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Team section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Re=(qe=d.config_sections)==null?void 0:qe.section_visibility)==null?void 0:Re.team)!==!1,onCheckedChange:t=>y("team",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_title",children:s("Team Title")}),e.jsx(c,{id:"team_title",value:o("team").title||"",onChange:t=>n("team",{title:t.target.value}),placeholder:s("Meet Our Team")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_subtitle",children:s("Team Subtitle")}),e.jsx(u,{id:"team_subtitle",value:o("team").subtitle||"",onChange:t=>n("team",{subtitle:t.target.value}),placeholder:s("We're a diverse team of innovators..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(A,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Team Members")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Add and manage team member profiles")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("team").members||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-purple-100 text-purple-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Member")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("team").members||[]).filter((r,h)=>h!==a);n("team",{members:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`member_${a}_name`,children:s("Name")}),e.jsx(c,{id:`member_${a}_name`,value:t.name||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],name:l.target.value},n("team",{members:r})},placeholder:s("John Doe")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`member_${a}_role`,children:s("Role")}),e.jsx(c,{id:`member_${a}_role`,value:t.role||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],role:l.target.value},n("team",{members:r})},placeholder:s("CEO & Founder")})]}),e.jsx("div",{className:"space-y-3 md:col-span-2",children:e.jsx(O,{label:s("Profile Image"),value:P(t.image||""),onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],image:D(l)},n("team",{members:r})},placeholder:s("Select profile image...")})}),e.jsxs("div",{className:"space-y-3 md:col-span-2",children:[e.jsx(i,{htmlFor:`member_${a}_bio`,children:s("Bio")}),e.jsx(u,{id:`member_${a}_bio`,value:t.bio||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],bio:l.target.value},n("team",{members:r})},placeholder:s("Brief description about the team member..."),rows:2})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`member_${a}_linkedin`,children:s("LinkedIn")}),e.jsx(c,{id:`member_${a}_linkedin`,value:t.linkedin||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],linkedin:l.target.value},n("team",{members:r})},placeholder:"https://linkedin.com/in/..."})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`member_${a}_email`,children:s("Email")}),e.jsx(c,{id:`member_${a}_email`,value:t.email||"",onChange:l=>{const r=[...o("team").members||[]];r[a]={...r[a],email:l.target.value},n("team",{members:r})},placeholder:"john@company.com"})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("team").members||[],{name:"",role:"",bio:"",image:"",linkedin:"",twitter:"",email:""}];n("team",{members:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Team Member")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Join Team CTA")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Call-to-action for team recruitment")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_cta_title",children:s("CTA Title")}),e.jsx(c,{id:"team_cta_title",value:o("team").cta_title||"",onChange:t=>n("team",{cta_title:t.target.value}),placeholder:s("Want to Join Our Team?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_cta_description",children:s("CTA Description")}),e.jsx(u,{id:"team_cta_description",value:o("team").cta_description||"",onChange:t=>n("team",{cta_description:t.target.value}),placeholder:s("We're always looking for talented individuals..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"team_cta_button_text",children:s("Button Text")}),e.jsx(c,{id:"team_cta_button_text",value:o("team").cta_button_text||"",onChange:t=>n("team",{cta_button_text:t.target.value}),placeholder:s("View Open Positions")})]})]})]})]}),x==="testimonials"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Testimonials Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ae=(He=d.config_sections)==null?void 0:He.section_visibility)==null?void 0:Ae.testimonials)!==!1,onCheckedChange:t=>y("testimonials",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"testimonials_title",children:s("Section Title")}),e.jsx(c,{id:"testimonials_title",value:o("testimonials").title||"",onChange:t=>n("testimonials",{title:t.target.value}),placeholder:s("What Our Clients Say")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"testimonials_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"testimonials_subtitle",value:o("testimonials").subtitle||"",onChange:t=>n("testimonials",{subtitle:t.target.value}),placeholder:s("Don't just take our word for it..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-yellow-100 rounded-lg",children:e.jsx(R,{className:"h-5 w-5 text-yellow-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Trust Indicators")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Statistics that build credibility")})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"testimonials_trust_title",children:s("Trust Section Title")}),e.jsx(c,{id:"testimonials_trust_title",value:o("testimonials").trust_title||"",onChange:t=>n("testimonials",{trust_title:t.target.value}),placeholder:s("Trusted by HR Professionals Worldwide")})]}),(o("testimonials").trust_stats||[]).map((t,a)=>e.jsxs("div",{className:"grid grid-cols-3 gap-4 p-4 border rounded-lg",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`trust_stat_${a}_value`,children:s("Value")}),e.jsx(c,{id:`trust_stat_${a}_value`,value:t.value||"",onChange:l=>{const r=[...o("testimonials").trust_stats||[]];r[a]={...r[a],value:l.target.value},n("testimonials",{trust_stats:r})},placeholder:"4.9/5"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`trust_stat_${a}_label`,children:s("Label")}),e.jsx(c,{id:`trust_stat_${a}_label`,value:t.label||"",onChange:l=>{const r=[...o("testimonials").trust_stats||[]];r[a]={...r[a],label:l.target.value},n("testimonials",{trust_stats:r})},placeholder:s("Average Rating")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`trust_stat_${a}_color`,children:s("Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("select",{id:`trust_stat_${a}_color`,value:t.color||"blue",onChange:l=>{const r=[...o("testimonials").trust_stats||[]];r[a]={...r[a],color:l.target.value},n("testimonials",{trust_stats:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"blue",children:"Blue"}),e.jsx("option",{value:"green",children:"Green"}),e.jsx("option",{value:"purple",children:"Purple"}),e.jsx("option",{value:"orange",children:"Orange"}),e.jsx("option",{value:"red",children:"Red"})]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("testimonials").trust_stats||[]).filter((r,h)=>h!==a);n("testimonials",{trust_stats:l})},children:e.jsx(C,{className:"h-4 w-4"})})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("testimonials").trust_stats||[],{value:"",label:"",color:"blue"}];n("testimonials",{trust_stats:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Trust Statistic")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-lime-100 rounded-lg",children:e.jsx(A,{className:"h-5 w-5 text-lime-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Default Testimonials")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Customer reviews and feedback")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("testimonials").testimonials||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-lime-100 text-lime-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Testimonial")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("testimonials").testimonials||[]).filter((r,h)=>h!==a);n("testimonials",{testimonials:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`testimonial_${a}_name`,children:s("Name")}),e.jsx(c,{id:`testimonial_${a}_name`,value:t.name||"",onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],name:l.target.value},n("testimonials",{testimonials:r})},placeholder:s("John Doe")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`testimonial_${a}_role`,children:s("Role")}),e.jsx(c,{id:`testimonial_${a}_role`,value:t.role||"",onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],role:l.target.value},n("testimonials",{testimonials:r})},placeholder:s("CEO")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`testimonial_${a}_company`,children:s("Company")}),e.jsx(c,{id:`testimonial_${a}_company`,value:t.company||"",onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],company:l.target.value},n("testimonials",{testimonials:r})},placeholder:s("Company Name")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`testimonial_${a}_rating`,children:s("Rating")}),e.jsxs("select",{id:`testimonial_${a}_rating`,value:t.rating||5,onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],rating:parseInt(l.target.value)},n("testimonials",{testimonials:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:1,children:s("1 Star")}),e.jsx("option",{value:2,children:s("2 Stars")}),e.jsx("option",{value:3,children:s("3 Stars")}),e.jsx("option",{value:4,children:s("4 Stars")}),e.jsx("option",{value:5,children:s("5 Stars")})]})]}),e.jsxs("div",{className:"space-y-3 md:col-span-2",children:[e.jsx(i,{htmlFor:`testimonial_${a}_content`,children:s("Content")}),e.jsx(u,{id:`testimonial_${a}_content`,value:t.content||"",onChange:l=>{const r=[...o("testimonials").testimonials||[]];r[a]={...r[a],content:l.target.value},n("testimonials",{testimonials:r})},placeholder:s("Testimonial content..."),rows:3})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("testimonials").testimonials||[],{name:"",role:"",company:"",content:"",rating:5}];n("testimonials",{testimonials:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Default Testimonial")]})]})]})]}),x==="plans"&&X&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-violet-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-violet-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Plans Section Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Pricing section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Me=($e=d.config_sections)==null?void 0:$e.section_visibility)==null?void 0:Me.plans)!==!1,onCheckedChange:t=>y("plans",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"plans_title",children:s("Section Title")}),e.jsx(c,{id:"plans_title",value:o("plans").title||"",onChange:t=>n("plans",{title:t.target.value}),placeholder:s("Choose Your Plan")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"plans_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"plans_subtitle",value:o("plans").subtitle||"",onChange:t=>n("plans",{subtitle:t.target.value}),placeholder:s("Start with our free plan and upgrade as you grow..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"plans_faq_text",children:s("FAQ Text")}),e.jsx(c,{id:"plans_faq_text",value:o("plans").faq_text||"",onChange:t=>n("plans",{faq_text:t.target.value}),placeholder:s("Have questions about our plans? Reach out to our sales team for guidance.")})]})]})]}),e.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4",children:e.jsxs("div",{className:"flex items-start",children:[e.jsx(B,{className:"h-5 w-5 text-blue-600 mr-2 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-medium mb-1",style:{color:m},children:s("Plans Management")}),e.jsx("p",{className:"text-sm",style:{color:m+"cc"},children:s("The actual plans displayed on the landing page are managed through the Plans module. Go to Plans section to create, edit, or manage your subscription plans.")})]})]})})]}),x==="faq"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-sky-100 rounded-lg",children:e.jsx(U,{className:"h-5 w-5 text-sky-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("FAQ Section Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Section title, subtitle and CTA")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ie=(Le=d.config_sections)==null?void 0:Le.section_visibility)==null?void 0:Ie.faq)!==!1,onCheckedChange:t=>y("faq",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"faq_title",children:s("Section Title")}),e.jsx(c,{id:"faq_title",value:o("faq").title||"",onChange:t=>n("faq",{title:t.target.value}),placeholder:s("Frequently Asked Questions")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"faq_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"faq_subtitle",value:o("faq").subtitle||"",onChange:t=>n("faq",{subtitle:t.target.value}),placeholder:s("Got questions? We've got answers..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"faq_cta_text",children:s("CTA Text")}),e.jsx(c,{id:"faq_cta_text",value:o("faq").cta_text||"",onChange:t=>n("faq",{cta_text:t.target.value}),placeholder:s("Still have questions?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"faq_button_text",children:s("Button Text")}),e.jsx(c,{id:"faq_button_text",value:o("faq").button_text||"",onChange:t=>n("faq",{button_text:t.target.value}),placeholder:s("Contact Support")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-slate-100 rounded-lg",children:e.jsx(U,{className:"h-5 w-5 text-slate-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Default FAQs")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Frequently asked questions and answers")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("faq").faqs||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-slate-100 text-slate-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("FAQ")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("faq").faqs||[]).filter((r,h)=>h!==a);n("faq",{faqs:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`faq_${a}_question`,children:s("Question")}),e.jsx(c,{id:`faq_${a}_question`,value:t.question||"",onChange:l=>{const r=[...o("faq").faqs||[]];r[a]={...r[a],question:l.target.value},n("faq",{faqs:r})},placeholder:s("How does HRM work?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`faq_${a}_answer`,children:s("Answer")}),e.jsx(u,{id:`faq_${a}_answer`,value:t.answer||"",onChange:l=>{const r=[...o("faq").faqs||[]];r[a]={...r[a],answer:l.target.value},n("faq",{faqs:r})},placeholder:s("HRM SaaS allows you to manage employees, payroll, attendance, and performance all in one modern platform."),rows:3})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("faq").faqs||[],{question:"",answer:""}];n("faq",{faqs:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add FAQ")]})]})]})]}),x==="newsletter"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-orange-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-orange-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Newsletter Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Newsletter section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Pe=(De=d.config_sections)==null?void 0:De.section_visibility)==null?void 0:Pe.newsletter)!==!1,onCheckedChange:t=>y("newsletter",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"newsletter_title",children:s("Section Title")}),e.jsx(c,{id:"newsletter_title",value:o("newsletter").title||"",onChange:t=>n("newsletter",{title:t.target.value}),placeholder:s("Stay Updated with HRM SaaS")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"newsletter_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"newsletter_subtitle",value:o("newsletter").subtitle||"",onChange:t=>n("newsletter",{subtitle:t.target.value}),placeholder:s("Get the latest updates, networking tips..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"newsletter_privacy_text",children:s("Privacy Text")}),e.jsx(c,{id:"newsletter_privacy_text",value:o("newsletter").privacy_text||"",onChange:t=>n("newsletter",{privacy_text:t.target.value}),placeholder:s("No spam, unsubscribe at any time...")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-red-100 rounded-lg",children:e.jsx(H,{className:"h-5 w-5 text-red-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Newsletter Benefits")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Benefits of subscribing to newsletter")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("newsletter").benefits||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-red-100 text-red-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Benefit")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("newsletter").benefits||[]).filter((r,h)=>h!==a);n("newsletter",{benefits:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`benefit_${a}_icon`,children:s("Icon (Emoji)")}),e.jsx(c,{id:`benefit_${a}_icon`,value:t.icon||"",onChange:l=>{const r=[...o("newsletter").benefits||[]];r[a]={...r[a],icon:l.target.value},n("newsletter",{benefits:r})},placeholder:"📧",maxLength:2})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`benefit_${a}_title`,children:"Title"}),e.jsx(c,{id:`benefit_${a}_title`,value:t.title||"",onChange:l=>{const r=[...o("newsletter").benefits||[]];r[a]={...r[a],title:l.target.value},n("newsletter",{benefits:r})},placeholder:s("Weekly Updates")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`benefit_${a}_description`,children:s("Description")}),e.jsx(c,{id:`benefit_${a}_description`,value:t.description||"",onChange:l=>{const r=[...o("newsletter").benefits||[]];r[a]={...r[a],description:l.target.value},n("newsletter",{benefits:r})},placeholder:s("Stay informed about the latest HRM SaaS features and improvements.")})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("newsletter").benefits||[],{icon:"",title:"",description:""}];n("newsletter",{benefits:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Benefit")]})]})]})]}),x==="contact"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-teal-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-teal-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Contact Section Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Contact section titles and descriptions")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Oe=(Ee=d.config_sections)==null?void 0:Ee.section_visibility)==null?void 0:Oe.contact)!==!1,onCheckedChange:t=>y("contact",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_title",children:s("Section Title")}),e.jsx(c,{id:"contact_title",value:o("contact").title||"",onChange:t=>n("contact",{title:t.target.value}),placeholder:s("Get in Touch")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_subtitle",children:s("Section Subtitle")}),e.jsx(u,{id:"contact_subtitle",value:o("contact").subtitle||"",onChange:t=>n("contact",{subtitle:t.target.value}),placeholder:s("Have questions about HRM SaaS ?..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_form_title",children:s("Form Title")}),e.jsx(c,{id:"contact_form_title",value:o("contact").form_title||"",onChange:t=>n("contact",{form_title:t.target.value}),placeholder:s("Send us a Message")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_info_title",children:s("Contact Info Title")}),e.jsx(c,{id:"contact_info_title",value:o("contact").info_title||"",onChange:t=>n("contact",{info_title:t.target.value}),placeholder:s("Contact Information")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_info_description",children:s("Contact Info Description")}),e.jsx(u,{id:"contact_info_description",value:o("contact").info_description||"",onChange:t=>n("contact",{info_description:t.target.value}),placeholder:s("We're here to help and answer any question..."),rows:3})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-emerald-100 rounded-lg",children:e.jsx(K,{className:"h-5 w-5 text-emerald-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Contact Information")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Company contact details")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_email",children:s("Email Address")}),e.jsx(c,{id:"contact_email",name:"contact_email",value:d.contact_email||"",onChange:S,placeholder:"support@hrm.com",type:"email"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_phone",children:s("Phone Number")}),e.jsx(c,{id:"contact_phone",name:"contact_phone",value:d.contact_phone||"",onChange:S,placeholder:s("+1 (555) 123-4567")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"contact_address",children:s("Address")}),e.jsx(u,{id:"contact_address",name:"contact_address",value:d.contact_address||"",onChange:S,placeholder:s("123 Business Ave, Suite 100, San Francisco, CA 94105"),rows:2})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-indigo-100 rounded-lg",children:e.jsx(te,{className:"h-5 w-5 text-indigo-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Contact FAQs")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Contact-related frequently asked questions")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("contact").faqs||[]).map((t,a)=>e.jsxs("div",{className:"p-4 border rounded-lg space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("h4",{className:"font-medium",children:[s("FAQ")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("contact").faqs||[]).filter((r,h)=>h!==a);n("contact",{faqs:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`contact_faq_${a}_question`,children:"Question"}),e.jsx(c,{id:`contact_faq_${a}_question`,value:t.question||"",onChange:l=>{const r=[...o("contact").faqs||[]];r[a]={...r[a],question:l.target.value},n("contact",{faqs:r})},placeholder:s("How quickly do you respond?")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`contact_faq_${a}_answer`,children:"Answer"}),e.jsx(u,{id:`contact_faq_${a}_answer`,value:t.answer||"",onChange:l=>{const r=[...o("contact").faqs||[]];r[a]={...r[a],answer:l.target.value},n("contact",{faqs:r})},placeholder:s("We typically respond within 24 hours..."),rows:2})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("contact").faqs||[],{question:"",answer:""}];n("contact",{faqs:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add FAQ")]})]})]})]}),x==="footer"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gray-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-gray-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Footer Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Footer description and newsletter content")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable Section")}),e.jsx(f,{checked:((Ge=(We=d.config_sections)==null?void 0:We.section_visibility)==null?void 0:Ge.footer)!==!1,onCheckedChange:t=>y("footer",t)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"footer_description",children:s("Company Description")}),e.jsx(u,{id:"footer_description",value:o("footer").description||"",onChange:t=>n("footer",{description:t.target.value}),placeholder:s("Transforming professional networking..."),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"footer_newsletter_title",children:s("Newsletter Title")}),e.jsx(c,{id:"footer_newsletter_title",value:o("footer").newsletter_title||"",onChange:t=>n("footer",{newsletter_title:t.target.value}),placeholder:s("Stay Updated with Our Latest Features")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"footer_newsletter_subtitle",children:s("Newsletter Subtitle")}),e.jsx(c,{id:"footer_newsletter_subtitle",value:o("footer").newsletter_subtitle||"",onChange:t=>n("footer",{newsletter_subtitle:t.target.value}),placeholder:s("Join our newsletter for product updates...")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(Y,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Social Links")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Social media links and profiles")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(o("footer").social_links||[]).map((t,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),s("Social Link")," ",a+1]}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const l=(o("footer").social_links||[]).filter((r,h)=>h!==a);n("footer",{social_links:l})},children:e.jsx(C,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`social_${a}_name`,children:s("Name")}),e.jsx(c,{id:`social_${a}_name`,value:t.name||"",onChange:l=>{const r=[...o("footer").social_links||[]];r[a]={...r[a],name:l.target.value},n("footer",{social_links:r})},placeholder:s("Facebook")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`social_${a}_icon`,children:s("Icon")}),e.jsxs("select",{id:`social_${a}_icon`,value:t.icon||"Facebook",onChange:l=>{const r=[...o("footer").social_links||[]];r[a]={...r[a],icon:l.target.value},n("footer",{social_links:r})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"Facebook",children:"Facebook"}),e.jsx("option",{value:"Twitter",children:"Twitter"}),e.jsx("option",{value:"Linkedin",children:"LinkedIn"}),e.jsx("option",{value:"Instagram",children:"Instagram"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`social_${a}_href`,children:s("URL")}),e.jsx(c,{id:`social_${a}_href`,value:t.href||"",onChange:l=>{const r=[...o("footer").social_links||[]];r[a]={...r[a],href:l.target.value},n("footer",{social_links:r})},placeholder:"https://facebook.com/..."})]})]})]},a)),e.jsxs(g,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const t=[...o("footer").social_links||[],{name:"",icon:"Facebook",href:""}];n("footer",{social_links:t})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add Social Link")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(te,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Footer Links")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Footer navigation links by category")})]})]}),e.jsx("div",{className:"space-y-6",children:["product","company","support","legal"].map(t=>{var a,l,r,h;return e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`${t}_title`,children:s("Section Title")}),e.jsx(c,{id:`${t}_title`,value:((a=o("footer").section_titles)==null?void 0:a[t])||"",onChange:j=>{const p={...o("footer").section_titles};p[t]=j.target.value,n("footer",{section_titles:p})},placeholder:t.charAt(0).toUpperCase()+t.slice(1)})]}),e.jsxs("h4",{className:"font-medium",children:[((l=o("footer").section_titles)==null?void 0:l[t])||t.charAt(0).toUpperCase()+t.slice(1)," Links"]}),(((r=o("footer").links)==null?void 0:r[t])||[]).map((j,p)=>e.jsxs("div",{className:"grid grid-cols-2 gap-4 p-4 border rounded-lg",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`${t}_${p}_name`,children:s("Name")}),e.jsx(c,{id:`${t}_${p}_name`,value:j.name||"",onChange:q=>{const w={...o("footer").links};w[t]||(w[t]=[]),w[t][p]={...w[t][p],name:q.target.value},n("footer",{links:w})},placeholder:s("Features")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`${t}_${p}_href`,children:s("URL")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:`${t}_${p}_href`,value:j.href||"",onChange:q=>{const w={...o("footer").links};w[t]||(w[t]=[]),w[t][p]={...w[t][p],href:q.target.value},n("footer",{links:w})},placeholder:"#features"}),e.jsx(g,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const q={...o("footer").links};q[t]&&(q[t]=q[t].filter((w,Ns)=>Ns!==p),n("footer",{links:q}))},children:e.jsx(C,{className:"h-4 w-4"})})]})]})]},p)),e.jsxs(g,{type:"button",variant:"outline",size:"sm",className:"border-2",style:{color:m,borderColor:m},onClick:()=>{const j={...o("footer").links};j[t]||(j[t]=[]),j[t].push({name:"",href:""}),n("footer",{links:j})},children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s("Add")," ",((h=o("footer").section_titles)==null?void 0:h[t])||t.charAt(0).toUpperCase()+t.slice(1)," ",s("Link")]})]},t)})})]})]}),x==="design"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(gs,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("Colors & Theme")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"primary_color",children:s("Primary Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"primary_color",type:"color",value:((Ue=(Be=d.config_sections)==null?void 0:Be.theme)==null?void 0:Ue.primary_color)||"#3b82f6",onChange:t=>b({primary_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((Je=(ze=d.config_sections)==null?void 0:ze.theme)==null?void 0:Je.primary_color)||"#3b82f6",onChange:t=>b({primary_color:t.target.value}),placeholder:"#3b82f6"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"secondary_color",children:s("Secondary Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"secondary_color",type:"color",value:((Ye=(Qe=d.config_sections)==null?void 0:Qe.theme)==null?void 0:Ye.secondary_color)||"#8b5cf6",onChange:t=>b({secondary_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((Ke=(Ve=d.config_sections)==null?void 0:Ve.theme)==null?void 0:Ke.secondary_color)||"#8b5cf6",onChange:t=>b({secondary_color:t.target.value}),placeholder:"#8b5cf6"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"accent_color",children:s("Accent Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"accent_color",type:"color",value:((Ze=(Xe=d.config_sections)==null?void 0:Xe.theme)==null?void 0:Ze.accent_color)||"#10b77f",onChange:t=>b({accent_color:t.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:((ss=(es=d.config_sections)==null?void 0:es.theme)==null?void 0:ss.accent_color)||"#10b77f",onChange:t=>b({accent_color:t.target.value}),placeholder:"#10b77f"})]})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(xs,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("Images & Logos")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsx("div",{className:"space-y-3",children:e.jsx(O,{label:s("Logo (Light)"),value:P(((as=(ts=d.config_sections)==null?void 0:ts.theme)==null?void 0:as.logo_light)||""),onChange:t=>{b({logo_light:D(t)})},placeholder:s("Select light logo...")})}),e.jsx("div",{className:"space-y-3",children:e.jsx(O,{label:s("Logo (Dark)"),value:P(((ls=(rs=d.config_sections)==null?void 0:rs.theme)==null?void 0:ls.logo_dark)||""),onChange:t=>{b({logo_dark:D(t)})},placeholder:s("Select dark logo...")})})]})]})]}),x==="order"&&e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-indigo-100 rounded-lg",children:e.jsx(Q,{className:"h-5 w-5 text-indigo-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:s("Section Order")}),e.jsx("p",{className:"text-sm text-gray-500",children:s("Drag and drop to reorder sections on your landing page")})]})]}),e.jsx("div",{className:"space-y-3",children:(((os=d.config_sections)==null?void 0:os.section_order)||[]).map((t,a)=>{var h,j;const l={header:s("Header"),hero:s("Hero"),features:s("Features"),screenshots:s("Screenshots"),why_choose_us:s("Why Choose Us"),about:s("About"),team:s("Team"),testimonials:s("Testimonials"),plans:s("Plans"),faq:s("FAQ"),newsletter:s("Newsletter"),contact:s("Contact"),footer:s("Footer")},r=((j=(h=d.config_sections)==null?void 0:h.section_visibility)==null?void 0:j[t])!==!1;return e.jsxs("div",{draggable:!0,onDragStart:p=>bs(p,a),onDragOver:ys,onDrop:p=>fs(p,a),className:`flex items-center gap-3 p-4 border rounded-lg cursor-move transition-all hover:shadow-md ${r?"bg-white border-gray-200":"bg-gray-50 border-gray-300 opacity-60"}`,children:[e.jsx(Is,{className:"h-5 w-5 text-gray-400"}),e.jsxs("div",{className:"flex-1 flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"w-8 h-8 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center text-sm font-bold",children:a+1}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900",children:l[t]||t}),e.jsx("p",{className:"text-sm text-gray-500",children:s(r?"Enabled":"Disabled")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:s("Enable")}),e.jsx(f,{checked:r,onCheckedChange:p=>y(t,p)})]})]})]},t)})}),e.jsx("div",{className:"mt-6 p-4 bg-blue-50 border border-blue-200 rounded-lg",children:e.jsxs("div",{className:"flex items-start",children:[e.jsx(B,{className:"h-5 w-5 text-blue-600 mr-2 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-medium text-blue-900 mb-1",children:s("How to reorder")}),e.jsx("p",{className:"text-sm text-blue-700",children:s("Click and drag any section to change its position. Disabled sections will still appear in the order but won't be visible on the landing page.")})]})]})})]})}),x==="advanced"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(se,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("SEO Settings")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"meta_title",children:s("Meta Title")}),e.jsx(c,{id:"meta_title",value:((is=(ns=d.config_sections)==null?void 0:ns.seo)==null?void 0:is.meta_title)||"",onChange:t=>ce({meta_title:t.target.value}),placeholder:s("Landing Page Title")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"meta_description",children:s("Meta Description")}),e.jsx(u,{id:"meta_description",value:((ds=(cs=d.config_sections)==null?void 0:cs.seo)==null?void 0:ds.meta_description)||"",onChange:t=>ce({meta_description:t.target.value}),placeholder:s("Landing page description for search engines"),rows:3})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(G,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("Custom CSS")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"custom_css",children:s("Custom CSS")}),e.jsx(u,{id:"custom_css",value:((ms=d.config_sections)==null?void 0:ms.custom_css)||"",onChange:t=>k("config_sections",{...d.config_sections,custom_css:t.target.value}),placeholder:s("Add your custom CSS here"),rows:6,className:"font-mono text-sm"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Add custom CSS to override default styles")})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(G,{className:"h-5 w-5 mr-2 text-muted-foreground"}),e.jsx("h3",{className:"text-base font-medium",children:s("Custom JavaScript")})]}),e.jsx(W,{className:"my-2"}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"custom_js",children:s("Custom JavaScript")}),e.jsx(u,{id:"custom_js",value:((hs=d.config_sections)==null?void 0:hs.custom_js)||"",onChange:t=>k("config_sections",{...d.config_sections,custom_js:t.target.value}),placeholder:s("Add your custom JavaScript here"),rows:6,className:"font-mono text-sm"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Add custom JavaScript for advanced functionality")})]})]})]})]})]})]}),e.jsx($s,{})]})}export{Wt as default}; diff --git a/public/build/assets/settings-about-qj_gVNSa.js b/public/build/assets/settings-about-GG9PVihu.js similarity index 97% rename from public/build/assets/settings-about-qj_gVNSa.js rename to public/build/assets/settings-about-GG9PVihu.js index 988330b6a..1f1f5a028 100644 --- a/public/build/assets/settings-about-qj_gVNSa.js +++ b/public/build/assets/settings-about-GG9PVihu.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{a as I,E as F,L as i,I as c,ac as v,M as T,o as h,T as A,P as p,g as $}from"./app-CfhhiFAk.js";import{T as x}from"./textarea-kpRjGGLz.js";import{S as _}from"./switch-CKduD2wX.js";import{T as L}from"./type-CNRj7XNX.js";import{C as P}from"./chart-column-CXNcY9Vx.js";import{T as y}from"./trash-2-C1NR_7Ss.js";import{U as V}from"./users-C4LpG59H.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function J({data:N,setData:E,errors:d,handleInputChange:R,getSectionData:r,updateSectionData:o,updateSectionVisibility:f,t:a=u=>u}){var g,j;const{themeColor:u,customColor:w}=I(),m=u==="custom"?w:A[u],C=s=>{if(!s||!s.startsWith("http"))return s;const l=s.indexOf("/storage/");return l!==-1?s.substring(l):s},k=s=>s&&(s.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${s}`:$(s));return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(F,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Layout")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Configure about section layout and positioning")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:a("Enable Section")}),e.jsx(_,{checked:((j=(g=N.config_sections)==null?void 0:g.section_visibility)==null?void 0:j.about)!==!1,onCheckedChange:s=>f("about",s)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_layout",children:a("Layout Style")}),e.jsxs("select",{id:"about_layout",name:"about_layout",value:r("about").layout||"image-right",onChange:s=>o("about",{layout:s.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"image-right",children:a("Content Left, Image Right")}),e.jsx("option",{value:"image-left",children:a("Image Left, Content Right")}),e.jsx("option",{value:"centered",children:a("Centered Content")})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_image_position",children:a("Image Position")}),e.jsxs("select",{id:"about_image_position",name:"about_image_position",value:r("about").image_position||"right",onChange:s=>o("about",{image_position:s.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"right",children:a("Right Side")}),e.jsx("option",{value:"left",children:a("Left Side")}),e.jsx("option",{value:"background",children:a("Background")})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(L,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("About section title, description and story")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_title",children:a("About Title")}),e.jsx(c,{id:"about_title",name:"about_title",value:r("about").title||"",onChange:s=>o("about",{title:s.target.value}),placeholder:a("About section title")}),d.about_title&&e.jsx("p",{className:"text-red-600 text-sm",children:d.about_title})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_description",children:a("About Description")}),e.jsx(x,{id:"about_description",name:"about_description",value:r("about").description||"",onChange:s=>o("about",{description:s.target.value}),placeholder:a("Tell visitors about your company"),rows:4}),d.about_description&&e.jsx("p",{className:"text-red-600 text-sm",children:d.about_description})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_story_title",children:a("Story Title")}),e.jsx(c,{id:"about_story_title",name:"about_story_title",value:r("about").story_title||"",onChange:s=>o("about",{story_title:s.target.value}),placeholder:a("We are passionate about simplifying HR management for businesses of all sizes.")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_story_content",children:a("Story Content")}),e.jsx(x,{id:"about_story_content",name:"about_story_content",value:r("about").story_content||"",onChange:s=>o("about",{story_content:s.target.value}),placeholder:a("Founded by a team of networking enthusiasts..."),rows:4})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Image & Style")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Images, colors and visual effects")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx("div",{className:"space-y-3",children:e.jsx(T,{label:a("About Image"),value:k(r("about").image||""),onChange:s=>{o("about",{image:C(s)})},placeholder:a("Select about section image...")})}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_background_color",children:a("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"about_background_color",name:"about_background_color",type:"color",value:r("about").background_color||"#f9fafb",onChange:s=>o("about",{background_color:s.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:r("about").background_color||"#f9fafb",onChange:s=>o("about",{background_color:s.target.value}),placeholder:"#f9fafb"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(i,{htmlFor:"about_parallax",children:a("Parallax Effect")}),e.jsx(_,{id:"about_parallax",name:"about_parallax",checked:r("about").parallax||!1,onCheckedChange:s=>o("about",{parallax:s})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Enable parallax scrolling effect")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-orange-100 rounded-lg",children:e.jsx(P,{className:"h-5 w-5 text-orange-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Statistics")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Key metrics and achievements")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(r("about").stats||[]).map((s,l)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-orange-100 text-orange-600 rounded-full flex items-center justify-center text-xs font-bold",children:l+1}),a("Statistic")," ",l+1]}),e.jsx(h,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const n=(r("about").stats||[]).filter((t,b)=>b!==l);o("about",{stats:n})},children:e.jsx(y,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_stat_${l}_value`,children:a("Value")}),e.jsx(c,{id:`about_stat_${l}_value`,value:s.value||"",onChange:n=>{const t=[...r("about").stats||[]];t[l]={...t[l],value:n.target.value},o("about",{stats:t})},placeholder:a("4+ Years")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_stat_${l}_label`,children:a("Label")}),e.jsx(c,{id:`about_stat_${l}_label`,value:s.label||"",onChange:n=>{const t=[...r("about").stats||[]];t[l]={...t[l],label:n.target.value},o("about",{stats:t})},placeholder:a("Experience")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_stat_${l}_color`,children:"Color"}),e.jsx("div",{className:"flex gap-2",children:e.jsxs("select",{id:`about_stat_${l}_color`,value:s.color||"blue",onChange:n=>{const t=[...r("about").stats||[]];t[l]={...t[l],color:n.target.value},o("about",{stats:t})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"blue",children:"Blue"}),e.jsx("option",{value:"green",children:"Green"}),e.jsx("option",{value:"purple",children:"Purple"}),e.jsx("option",{value:"orange",children:"Orange"}),e.jsx("option",{value:"red",children:"Red"}),e.jsx("option",{value:"yellow",children:"Yellow"})]})})]})]})]},l)),e.jsxs(h,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const s=[...r("about").stats||[],{value:"",label:"",color:"blue"}];o("about",{stats:s})},children:[e.jsx(p,{className:"h-4 w-4 mr-2"}),a("Add Statistic")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-teal-100 rounded-lg",children:e.jsx(V,{className:"h-5 w-5 text-teal-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Values")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Company values and mission statements")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(r("about").values||[]).map((s,l)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-teal-100 text-teal-600 rounded-full flex items-center justify-center text-xs font-bold",children:l+1}),a("Value")," ",l+1]}),e.jsx(h,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const n=(r("about").values||[]).filter((t,b)=>b!==l);o("about",{values:n})},children:e.jsx(y,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_value_${l}_title`,children:a("Title")}),e.jsx(c,{id:`about_value_${l}_title`,value:s.title||"",onChange:n=>{const t=[...r("about").values||[]];t[l]={...t[l],title:n.target.value},o("about",{values:t})},placeholder:"Our Mission"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_value_${l}_icon`,children:a("Icon")}),e.jsxs("select",{id:`about_value_${l}_icon`,value:s.icon||"target",onChange:n=>{const t=[...r("about").values||[]];t[l]={...t[l],icon:n.target.value},o("about",{values:t})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"target",children:"Target"}),e.jsx("option",{value:"heart",children:"Heart"}),e.jsx("option",{value:"award",children:"Award"}),e.jsx("option",{value:"lightbulb",children:"Lightbulb"}),e.jsx("option",{value:"star",children:"Star"}),e.jsx("option",{value:"shield",children:"Shield"}),e.jsx("option",{value:"users",children:"Users"}),e.jsx("option",{value:"zap",children:"Zap"})]})]}),e.jsxs("div",{className:"space-y-3 md:col-span-1",children:[e.jsx(i,{htmlFor:`about_value_${l}_description`,children:a("Description")}),e.jsx(x,{id:`about_value_${l}_description`,value:s.description||"",onChange:n=>{const t=[...r("about").values||[]];t[l]={...t[l],description:n.target.value},o("about",{values:t})},placeholder:"To revolutionize professional networking...",rows:3})]})]})]},l)),e.jsxs(h,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const s=[...r("about").values||[],{title:"",description:"",icon:"target"}];o("about",{values:s})},children:[e.jsx(p,{className:"h-4 w-4 mr-2"}),a("Add Value")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-pink-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-pink-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("Image Section")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Image overlay content and icons")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_image_title",children:a("Image Title")}),e.jsx(c,{id:"about_image_title",name:"about_image_title",value:r("about").image_title||"",onChange:s=>o("about",{image_title:s.target.value}),placeholder:"Innovation Driven"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_image_subtitle",children:a("Image Subtitle")}),e.jsx(c,{id:"about_image_subtitle",name:"about_image_subtitle",value:r("about").image_subtitle||"",onChange:s=>o("about",{image_subtitle:s.target.value}),placeholder:"Building the future of networking"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_image_icon",children:a("Image Icon")}),e.jsx(c,{id:"about_image_icon",name:"about_image_icon",value:r("about").image_icon||"",onChange:s=>o("about",{image_icon:s.target.value}),placeholder:"🚀",maxLength:5})]})]})]})]})}export{J as default}; +import{j as e}from"./ui-Z445SNHD.js";import{a as I,E as F,L as i,I as c,ac as v,M as T,o as h,T as A,P as p,g as $}from"./app-Dya84jp7.js";import{T as x}from"./textarea-yeg8ONhy.js";import{S as _}from"./switch-DyHgm-Sg.js";import{T as L}from"./type-Bsbmfmsu.js";import{C as P}from"./chart-column-B76eI9Qi.js";import{T as y}from"./trash-2-BeirBLIk.js";import{U as V}from"./users-BzCDZrS0.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function J({data:N,setData:E,errors:d,handleInputChange:R,getSectionData:r,updateSectionData:o,updateSectionVisibility:f,t:a=u=>u}){var g,j;const{themeColor:u,customColor:w}=I(),m=u==="custom"?w:A[u],C=s=>{if(!s||!s.startsWith("http"))return s;const l=s.indexOf("/storage/");return l!==-1?s.substring(l):s},k=s=>s&&(s.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${s}`:$(s));return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(F,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Layout")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Configure about section layout and positioning")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{className:"text-sm",children:a("Enable Section")}),e.jsx(_,{checked:((j=(g=N.config_sections)==null?void 0:g.section_visibility)==null?void 0:j.about)!==!1,onCheckedChange:s=>f("about",s)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_layout",children:a("Layout Style")}),e.jsxs("select",{id:"about_layout",name:"about_layout",value:r("about").layout||"image-right",onChange:s=>o("about",{layout:s.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"image-right",children:a("Content Left, Image Right")}),e.jsx("option",{value:"image-left",children:a("Image Left, Content Right")}),e.jsx("option",{value:"centered",children:a("Centered Content")})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_image_position",children:a("Image Position")}),e.jsxs("select",{id:"about_image_position",name:"about_image_position",value:r("about").image_position||"right",onChange:s=>o("about",{image_position:s.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"right",children:a("Right Side")}),e.jsx("option",{value:"left",children:a("Left Side")}),e.jsx("option",{value:"background",children:a("Background")})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(L,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("About section title, description and story")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_title",children:a("About Title")}),e.jsx(c,{id:"about_title",name:"about_title",value:r("about").title||"",onChange:s=>o("about",{title:s.target.value}),placeholder:a("About section title")}),d.about_title&&e.jsx("p",{className:"text-red-600 text-sm",children:d.about_title})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_description",children:a("About Description")}),e.jsx(x,{id:"about_description",name:"about_description",value:r("about").description||"",onChange:s=>o("about",{description:s.target.value}),placeholder:a("Tell visitors about your company"),rows:4}),d.about_description&&e.jsx("p",{className:"text-red-600 text-sm",children:d.about_description})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_story_title",children:a("Story Title")}),e.jsx(c,{id:"about_story_title",name:"about_story_title",value:r("about").story_title||"",onChange:s=>o("about",{story_title:s.target.value}),placeholder:a("We are passionate about simplifying HR management for businesses of all sizes.")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_story_content",children:a("Story Content")}),e.jsx(x,{id:"about_story_content",name:"about_story_content",value:r("about").story_content||"",onChange:s=>o("about",{story_content:s.target.value}),placeholder:a("Founded by a team of networking enthusiasts..."),rows:4})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Image & Style")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Images, colors and visual effects")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx("div",{className:"space-y-3",children:e.jsx(T,{label:a("About Image"),value:k(r("about").image||""),onChange:s=>{o("about",{image:C(s)})},placeholder:a("Select about section image...")})}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_background_color",children:a("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(c,{id:"about_background_color",name:"about_background_color",type:"color",value:r("about").background_color||"#f9fafb",onChange:s=>o("about",{background_color:s.target.value}),className:"w-16 h-10 p-1"}),e.jsx(c,{value:r("about").background_color||"#f9fafb",onChange:s=>o("about",{background_color:s.target.value}),placeholder:"#f9fafb"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(i,{htmlFor:"about_parallax",children:a("Parallax Effect")}),e.jsx(_,{id:"about_parallax",name:"about_parallax",checked:r("about").parallax||!1,onCheckedChange:s=>o("about",{parallax:s})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a("Enable parallax scrolling effect")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-orange-100 rounded-lg",children:e.jsx(P,{className:"h-5 w-5 text-orange-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Statistics")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Key metrics and achievements")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(r("about").stats||[]).map((s,l)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-orange-100 text-orange-600 rounded-full flex items-center justify-center text-xs font-bold",children:l+1}),a("Statistic")," ",l+1]}),e.jsx(h,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const n=(r("about").stats||[]).filter((t,b)=>b!==l);o("about",{stats:n})},children:e.jsx(y,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_stat_${l}_value`,children:a("Value")}),e.jsx(c,{id:`about_stat_${l}_value`,value:s.value||"",onChange:n=>{const t=[...r("about").stats||[]];t[l]={...t[l],value:n.target.value},o("about",{stats:t})},placeholder:a("4+ Years")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_stat_${l}_label`,children:a("Label")}),e.jsx(c,{id:`about_stat_${l}_label`,value:s.label||"",onChange:n=>{const t=[...r("about").stats||[]];t[l]={...t[l],label:n.target.value},o("about",{stats:t})},placeholder:a("Experience")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_stat_${l}_color`,children:"Color"}),e.jsx("div",{className:"flex gap-2",children:e.jsxs("select",{id:`about_stat_${l}_color`,value:s.color||"blue",onChange:n=>{const t=[...r("about").stats||[]];t[l]={...t[l],color:n.target.value},o("about",{stats:t})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"blue",children:"Blue"}),e.jsx("option",{value:"green",children:"Green"}),e.jsx("option",{value:"purple",children:"Purple"}),e.jsx("option",{value:"orange",children:"Orange"}),e.jsx("option",{value:"red",children:"Red"}),e.jsx("option",{value:"yellow",children:"Yellow"})]})})]})]})]},l)),e.jsxs(h,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const s=[...r("about").stats||[],{value:"",label:"",color:"blue"}];o("about",{stats:s})},children:[e.jsx(p,{className:"h-4 w-4 mr-2"}),a("Add Statistic")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-teal-100 rounded-lg",children:e.jsx(V,{className:"h-5 w-5 text-teal-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("About Values")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Company values and mission statements")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(r("about").values||[]).map((s,l)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-teal-100 text-teal-600 rounded-full flex items-center justify-center text-xs font-bold",children:l+1}),a("Value")," ",l+1]}),e.jsx(h,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const n=(r("about").values||[]).filter((t,b)=>b!==l);o("about",{values:n})},children:e.jsx(y,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_value_${l}_title`,children:a("Title")}),e.jsx(c,{id:`about_value_${l}_title`,value:s.title||"",onChange:n=>{const t=[...r("about").values||[]];t[l]={...t[l],title:n.target.value},o("about",{values:t})},placeholder:"Our Mission"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:`about_value_${l}_icon`,children:a("Icon")}),e.jsxs("select",{id:`about_value_${l}_icon`,value:s.icon||"target",onChange:n=>{const t=[...r("about").values||[]];t[l]={...t[l],icon:n.target.value},o("about",{values:t})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"target",children:"Target"}),e.jsx("option",{value:"heart",children:"Heart"}),e.jsx("option",{value:"award",children:"Award"}),e.jsx("option",{value:"lightbulb",children:"Lightbulb"}),e.jsx("option",{value:"star",children:"Star"}),e.jsx("option",{value:"shield",children:"Shield"}),e.jsx("option",{value:"users",children:"Users"}),e.jsx("option",{value:"zap",children:"Zap"})]})]}),e.jsxs("div",{className:"space-y-3 md:col-span-1",children:[e.jsx(i,{htmlFor:`about_value_${l}_description`,children:a("Description")}),e.jsx(x,{id:`about_value_${l}_description`,value:s.description||"",onChange:n=>{const t=[...r("about").values||[]];t[l]={...t[l],description:n.target.value},o("about",{values:t})},placeholder:"To revolutionize professional networking...",rows:3})]})]})]},l)),e.jsxs(h,{type:"button",variant:"outline",className:"w-full border-2",style:{color:m,borderColor:m},onClick:()=>{const s=[...r("about").values||[],{title:"",description:"",icon:"target"}];o("about",{values:s})},children:[e.jsx(p,{className:"h-4 w-4 mr-2"}),a("Add Value")]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-pink-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-pink-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("Image Section")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Image overlay content and icons")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_image_title",children:a("Image Title")}),e.jsx(c,{id:"about_image_title",name:"about_image_title",value:r("about").image_title||"",onChange:s=>o("about",{image_title:s.target.value}),placeholder:"Innovation Driven"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_image_subtitle",children:a("Image Subtitle")}),e.jsx(c,{id:"about_image_subtitle",name:"about_image_subtitle",value:r("about").image_subtitle||"",onChange:s=>o("about",{image_subtitle:s.target.value}),placeholder:"Building the future of networking"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(i,{htmlFor:"about_image_icon",children:a("Image Icon")}),e.jsx(c,{id:"about_image_icon",name:"about_image_icon",value:r("about").image_icon||"",onChange:s=>o("about",{image_icon:s.target.value}),placeholder:"🚀",maxLength:5})]})]})]})]})}export{J as default}; diff --git a/public/build/assets/settings-BwhyNRyj.js b/public/build/assets/settings-amvA_CjN.js similarity index 95% rename from public/build/assets/settings-BwhyNRyj.js rename to public/build/assets/settings-amvA_CjN.js index ab51efe8d..861ad364b 100644 --- a/public/build/assets/settings-BwhyNRyj.js +++ b/public/build/assets/settings-amvA_CjN.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/settings-contact-D97GUGau.js b/public/build/assets/settings-contact-d0_U5LO2.js similarity index 95% rename from public/build/assets/settings-contact-D97GUGau.js rename to public/build/assets/settings-contact-d0_U5LO2.js index 5f7d97c16..54653ad52 100644 --- a/public/build/assets/settings-contact-D97GUGau.js +++ b/public/build/assets/settings-contact-d0_U5LO2.js @@ -1 +1 @@ -import{j as c}from"./ui-Z445SNHD.js";import{E as m,am as n,L as s,I as o}from"./app-CfhhiFAk.js";import{S as r}from"./switch-CKduD2wX.js";import{P as d}from"./phone-B_MwJBjY.js";import{M as h}from"./map-pin-BEMjKB1T.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function g({data:a,setData:l,errors:t,handleInputChange:e}){return c.jsxs("div",{className:"space-y-6",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex items-center",children:[c.jsx(m,{className:"h-5 w-5 mr-2 text-muted-foreground"}),c.jsx("h3",{className:"text-base font-medium",children:"Contact Layout"})]}),c.jsx(n,{className:"my-2"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_layout",children:"Layout Style"}),c.jsxs("select",{id:"contact_layout",name:"contact_layout",value:a.contact_layout||"split",onChange:e,className:"w-full p-2 border border-gray-300 rounded-md",children:[c.jsx("option",{value:"split",children:"Split (Form + Info)"}),c.jsx("option",{value:"full-width",children:"Full Width Form"}),c.jsx("option",{value:"centered",children:"Centered Content"})]})]}),c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_background_color",children:"Background Color"}),c.jsxs("div",{className:"flex gap-2",children:[c.jsx(o,{id:"contact_background_color",name:"contact_background_color",type:"color",value:a.contact_background_color||"#f9fafb",onChange:e,className:"w-16 h-10 p-1"}),c.jsx(o,{name:"contact_background_color",value:a.contact_background_color||"#f9fafb",onChange:e,placeholder:"#f9fafb"})]})]})]})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex items-center",children:[c.jsx(d,{className:"h-5 w-5 mr-2 text-muted-foreground"}),c.jsx("h3",{className:"text-base font-medium",children:"Contact Information"})]}),c.jsx(n,{className:"my-2"}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_email",children:"Contact Email"}),c.jsx(o,{id:"contact_email",name:"contact_email",type:"email",value:a.contact_email,onChange:e,placeholder:"contact@yourcompany.com"}),t.contact_email&&c.jsx("p",{className:"text-red-600 text-sm",children:t.contact_email})]}),c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_phone",children:"Contact Phone"}),c.jsx(o,{id:"contact_phone",name:"contact_phone",value:a.contact_phone,onChange:e,placeholder:"+1 (555) 123-4567"}),t.contact_phone&&c.jsx("p",{className:"text-red-600 text-sm",children:t.contact_phone})]}),c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_address",children:"Contact Address"}),c.jsx(o,{id:"contact_address",name:"contact_address",value:a.contact_address,onChange:e,placeholder:"City, State"}),t.contact_address&&c.jsx("p",{className:"text-red-600 text-sm",children:t.contact_address})]})]})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex items-center",children:[c.jsx(h,{className:"h-5 w-5 mr-2 text-muted-foreground"}),c.jsx("h3",{className:"text-base font-medium",children:"Map Settings"})]}),c.jsx(n,{className:"my-2"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[c.jsxs("div",{className:"space-y-3",children:[c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsx(s,{htmlFor:"contact_show_map",children:"Show Map"}),c.jsx(r,{id:"contact_show_map",name:"contact_show_map",checked:a.contact_show_map||!1,onCheckedChange:i=>l("contact_show_map",i)})]}),c.jsx("p",{className:"text-xs text-muted-foreground",children:"Display a map in the contact section"})]}),c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_map_location",children:"Map Location"}),c.jsx(o,{id:"contact_map_location",name:"contact_map_location",value:a.contact_map_location||"",onChange:e,placeholder:"San Francisco, CA",disabled:!a.contact_show_map})]})]})]})]})}export{g as default}; +import{j as c}from"./ui-Z445SNHD.js";import{E as m,am as n,L as s,I as o}from"./app-Dya84jp7.js";import{S as r}from"./switch-DyHgm-Sg.js";import{P as d}from"./phone-3MnRoAYu.js";import{M as h}from"./map-pin-DFWKFR9c.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function g({data:a,setData:l,errors:t,handleInputChange:e}){return c.jsxs("div",{className:"space-y-6",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex items-center",children:[c.jsx(m,{className:"h-5 w-5 mr-2 text-muted-foreground"}),c.jsx("h3",{className:"text-base font-medium",children:"Contact Layout"})]}),c.jsx(n,{className:"my-2"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_layout",children:"Layout Style"}),c.jsxs("select",{id:"contact_layout",name:"contact_layout",value:a.contact_layout||"split",onChange:e,className:"w-full p-2 border border-gray-300 rounded-md",children:[c.jsx("option",{value:"split",children:"Split (Form + Info)"}),c.jsx("option",{value:"full-width",children:"Full Width Form"}),c.jsx("option",{value:"centered",children:"Centered Content"})]})]}),c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_background_color",children:"Background Color"}),c.jsxs("div",{className:"flex gap-2",children:[c.jsx(o,{id:"contact_background_color",name:"contact_background_color",type:"color",value:a.contact_background_color||"#f9fafb",onChange:e,className:"w-16 h-10 p-1"}),c.jsx(o,{name:"contact_background_color",value:a.contact_background_color||"#f9fafb",onChange:e,placeholder:"#f9fafb"})]})]})]})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex items-center",children:[c.jsx(d,{className:"h-5 w-5 mr-2 text-muted-foreground"}),c.jsx("h3",{className:"text-base font-medium",children:"Contact Information"})]}),c.jsx(n,{className:"my-2"}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_email",children:"Contact Email"}),c.jsx(o,{id:"contact_email",name:"contact_email",type:"email",value:a.contact_email,onChange:e,placeholder:"contact@yourcompany.com"}),t.contact_email&&c.jsx("p",{className:"text-red-600 text-sm",children:t.contact_email})]}),c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_phone",children:"Contact Phone"}),c.jsx(o,{id:"contact_phone",name:"contact_phone",value:a.contact_phone,onChange:e,placeholder:"+1 (555) 123-4567"}),t.contact_phone&&c.jsx("p",{className:"text-red-600 text-sm",children:t.contact_phone})]}),c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_address",children:"Contact Address"}),c.jsx(o,{id:"contact_address",name:"contact_address",value:a.contact_address,onChange:e,placeholder:"City, State"}),t.contact_address&&c.jsx("p",{className:"text-red-600 text-sm",children:t.contact_address})]})]})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex items-center",children:[c.jsx(h,{className:"h-5 w-5 mr-2 text-muted-foreground"}),c.jsx("h3",{className:"text-base font-medium",children:"Map Settings"})]}),c.jsx(n,{className:"my-2"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[c.jsxs("div",{className:"space-y-3",children:[c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsx(s,{htmlFor:"contact_show_map",children:"Show Map"}),c.jsx(r,{id:"contact_show_map",name:"contact_show_map",checked:a.contact_show_map||!1,onCheckedChange:i=>l("contact_show_map",i)})]}),c.jsx("p",{className:"text-xs text-muted-foreground",children:"Display a map in the contact section"})]}),c.jsxs("div",{className:"space-y-3",children:[c.jsx(s,{htmlFor:"contact_map_location",children:"Map Location"}),c.jsx(o,{id:"contact_map_location",name:"contact_map_location",value:a.contact_map_location||"",onChange:e,placeholder:"San Francisco, CA",disabled:!a.contact_show_map})]})]})]})]})}export{g as default}; diff --git a/public/build/assets/settings-features-CF0Deece.js b/public/build/assets/settings-features-DNQBmccf.js similarity index 96% rename from public/build/assets/settings-features-CF0Deece.js rename to public/build/assets/settings-features-DNQBmccf.js index 420420dc9..41fe37454 100644 --- a/public/build/assets/settings-features-CF0Deece.js +++ b/public/build/assets/settings-features-DNQBmccf.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{a as w,E as C,L as o,I as d,ad as F,M as k,o as f,T,P as I}from"./app-CfhhiFAk.js";import{T as j}from"./textarea-kpRjGGLz.js";import{S as g}from"./switch-CKduD2wX.js";import{T as B}from"./type-CNRj7XNX.js";import{S as L}from"./star-DQsTg5F1.js";import{T as $}from"./trash-2-C1NR_7Ss.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function Z({data:p,setData:P,errors:u,handleInputChange:E,getSectionData:l,updateSectionData:t,updateSectionVisibility:v,t:r=c=>c}){var m,x;const{themeColor:c,customColor:b}=w(),h=c==="custom"?b:T[c],N=s=>{if(!s||!s.startsWith("http"))return s;const a=s.indexOf("/storage/");return a!==-1?s.substring(a):s},_=s=>!s||s.startsWith("http")?s:`${window.location.origin}${s}`;return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900 rounded-lg",children:e.jsx(C,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Features Layout")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Configure features section layout and columns")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(o,{className:"text-sm",children:r("Enable Section")}),e.jsx(g,{checked:((x=(m=p.config_sections)==null?void 0:m.section_visibility)==null?void 0:x.features)!==!1,onCheckedChange:s=>v("features",s)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_layout",children:r("Layout Style")}),e.jsxs("select",{id:"features_layout",name:"features_layout",value:l("features").layout||"grid",onChange:s=>t("features",{layout:s.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"grid",children:"Grid"}),e.jsx("option",{value:"list",children:"List"}),e.jsx("option",{value:"cards",children:"Cards"}),e.jsx("option",{value:"alternating",children:"Alternating"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_columns",children:r("Columns")}),e.jsxs("select",{id:"features_columns",name:"features_columns",value:l("features").columns||3,onChange:s=>t("features",{columns:parseInt(s.target.value)}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"1",children:"1 Column"}),e.jsx("option",{value:"2",children:"2 Columns"}),e.jsx("option",{value:"3",children:"3 Columns"}),e.jsx("option",{value:"4",children:"4 Columns"})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(B,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:r("Features Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:r("Features section title and description")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_title",children:r("Features Title")}),e.jsx(d,{id:"features_title",name:"features_title",value:l("features").title||"",onChange:s=>t("features",{title:s.target.value}),placeholder:"Features section title"}),u.features_title&&e.jsx("p",{className:"text-red-600 text-sm",children:u.features_title})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_description",children:r("Features Description")}),e.jsx(j,{id:"features_description",name:"features_description",value:l("features").description||"",onChange:s=>t("features",{description:s.target.value}),placeholder:r("Description text for features section"),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(o,{htmlFor:"features_show_icons",children:r("Show Icons")}),e.jsx(g,{id:"features_show_icons",name:"features_show_icons",checked:l("features").show_icons!==!1,onCheckedChange:s=>t("features",{show_icons:s})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:r("Display icons with features")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(F,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:r("Features Style")}),e.jsx("p",{className:"text-sm text-gray-500",children:r("Background colors and section image")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_background_color",children:r("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(d,{id:"features_background_color",name:"features_background_color",type:"color",value:l("features").background_color||"#ffffff",onChange:s=>t("features",{background_color:s.target.value}),className:"w-16 h-10 p-1"}),e.jsx(d,{value:l("features").background_color||"#ffffff",onChange:s=>t("features",{background_color:s.target.value}),placeholder:"#ffffff"})]})]}),e.jsx("div",{className:"space-y-3",children:e.jsx(k,{label:"Section Image",value:_(l("features").image||""),onChange:s=>{t("features",{image:N(s)})},placeholder:r("Select features section image...")})})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-orange-100 rounded-lg",children:e.jsx(L,{className:"h-5 w-5 text-orange-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:r("Feature Boxes")}),e.jsx("p",{className:"text-sm text-gray-500",children:r("Individual feature items with icons")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(l("features").features_list||[]).map((s,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-orange-100 text-orange-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),r("Feature")," ",a+1]}),e.jsx(f,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const n=(l("features").features_list||[]).filter((i,y)=>y!==a);t("features",{features_list:n})},children:e.jsx($,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:`feature_${a}_title`,children:r("Title")}),e.jsx(d,{id:`feature_${a}_title`,value:s.title||"",onChange:n=>{const i=[...l("features").features_list||[]];i[a]={...i[a],title:n.target.value},t("features",{features_list:i})},placeholder:"Feature title"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:`feature_${a}_icon`,children:r("Icon")}),e.jsxs("select",{id:`feature_${a}_icon`,value:s.icon||"qr-code",onChange:n=>{const i=[...l("features").features_list||[]];i[a]={...i[a],icon:n.target.value},t("features",{features_list:i})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"qr-code",children:"QR Code"}),e.jsx("option",{value:"smartphone",children:"Smartphone"}),e.jsx("option",{value:"share",children:"Share"}),e.jsx("option",{value:"bar-chart",children:"Bar Chart"}),e.jsx("option",{value:"globe",children:"Globe"}),e.jsx("option",{value:"shield",children:"Shield"}),e.jsx("option",{value:"star",children:"Star"}),e.jsx("option",{value:"zap",children:"Zap"}),e.jsx("option",{value:"users",children:"Users"}),e.jsx("option",{value:"lock",children:"Lock"}),e.jsx("option",{value:"wifi",children:"Wifi"}),e.jsx("option",{value:"heart",children:"Heart"}),e.jsx("option",{value:"dollar-sign",children:"Dollar Sign"}),e.jsx("option",{value:"clock",children:"Clock"}),e.jsx("option",{value:"user-plus",children:"User Plus"}),e.jsx("option",{value:"award",children:"Award"}),e.jsx("option",{value:"bar-chart-2",children:"Bar Chart"})]})]}),e.jsxs("div",{className:"space-y-3 md:col-span-1",children:[e.jsx(o,{htmlFor:`feature_${a}_description`,children:r("Description")}),e.jsx(j,{id:`feature_${a}_description`,value:s.description||"",onChange:n=>{const i=[...l("features").features_list||[]];i[a]={...i[a],description:n.target.value},t("features",{features_list:i})},placeholder:r("Feature description"),rows:3})]})]})]},a)),e.jsxs(f,{type:"button",variant:"outline",className:"w-full border-2",style:{color:h,borderColor:h},onClick:()=>{const s=[...l("features").features_list||[],{title:"",description:"",icon:"qr-code"}];t("features",{features_list:s})},children:[e.jsx(I,{className:"h-4 w-4 mr-2"}),r("Add Feature Box")]})]})]})]})}export{Z as default}; +import{j as e}from"./ui-Z445SNHD.js";import{a as w,E as C,L as o,I as d,ad as F,M as k,o as f,T,P as I}from"./app-Dya84jp7.js";import{T as j}from"./textarea-yeg8ONhy.js";import{S as g}from"./switch-DyHgm-Sg.js";import{T as B}from"./type-Bsbmfmsu.js";import{S as L}from"./star-DCkLKzoE.js";import{T as $}from"./trash-2-BeirBLIk.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function Z({data:p,setData:P,errors:u,handleInputChange:E,getSectionData:l,updateSectionData:t,updateSectionVisibility:v,t:r=c=>c}){var m,x;const{themeColor:c,customColor:b}=w(),h=c==="custom"?b:T[c],N=s=>{if(!s||!s.startsWith("http"))return s;const a=s.indexOf("/storage/");return a!==-1?s.substring(a):s},_=s=>!s||s.startsWith("http")?s:`${window.location.origin}${s}`;return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 dark:bg-blue-900 rounded-lg",children:e.jsx(C,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:r("Features Layout")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("Configure features section layout and columns")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(o,{className:"text-sm",children:r("Enable Section")}),e.jsx(g,{checked:((x=(m=p.config_sections)==null?void 0:m.section_visibility)==null?void 0:x.features)!==!1,onCheckedChange:s=>v("features",s)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_layout",children:r("Layout Style")}),e.jsxs("select",{id:"features_layout",name:"features_layout",value:l("features").layout||"grid",onChange:s=>t("features",{layout:s.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"grid",children:"Grid"}),e.jsx("option",{value:"list",children:"List"}),e.jsx("option",{value:"cards",children:"Cards"}),e.jsx("option",{value:"alternating",children:"Alternating"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_columns",children:r("Columns")}),e.jsxs("select",{id:"features_columns",name:"features_columns",value:l("features").columns||3,onChange:s=>t("features",{columns:parseInt(s.target.value)}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"1",children:"1 Column"}),e.jsx("option",{value:"2",children:"2 Columns"}),e.jsx("option",{value:"3",children:"3 Columns"}),e.jsx("option",{value:"4",children:"4 Columns"})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(B,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:r("Features Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:r("Features section title and description")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_title",children:r("Features Title")}),e.jsx(d,{id:"features_title",name:"features_title",value:l("features").title||"",onChange:s=>t("features",{title:s.target.value}),placeholder:"Features section title"}),u.features_title&&e.jsx("p",{className:"text-red-600 text-sm",children:u.features_title})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_description",children:r("Features Description")}),e.jsx(j,{id:"features_description",name:"features_description",value:l("features").description||"",onChange:s=>t("features",{description:s.target.value}),placeholder:r("Description text for features section"),rows:3})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(o,{htmlFor:"features_show_icons",children:r("Show Icons")}),e.jsx(g,{id:"features_show_icons",name:"features_show_icons",checked:l("features").show_icons!==!1,onCheckedChange:s=>t("features",{show_icons:s})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:r("Display icons with features")})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(F,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:r("Features Style")}),e.jsx("p",{className:"text-sm text-gray-500",children:r("Background colors and section image")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:"features_background_color",children:r("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(d,{id:"features_background_color",name:"features_background_color",type:"color",value:l("features").background_color||"#ffffff",onChange:s=>t("features",{background_color:s.target.value}),className:"w-16 h-10 p-1"}),e.jsx(d,{value:l("features").background_color||"#ffffff",onChange:s=>t("features",{background_color:s.target.value}),placeholder:"#ffffff"})]})]}),e.jsx("div",{className:"space-y-3",children:e.jsx(k,{label:"Section Image",value:_(l("features").image||""),onChange:s=>{t("features",{image:N(s)})},placeholder:r("Select features section image...")})})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-orange-100 rounded-lg",children:e.jsx(L,{className:"h-5 w-5 text-orange-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:r("Feature Boxes")}),e.jsx("p",{className:"text-sm text-gray-500",children:r("Individual feature items with icons")})]})]}),e.jsxs("div",{className:"space-y-4",children:[(l("features").features_list||[]).map((s,a)=>e.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("h4",{className:"font-semibold text-gray-900 flex items-center gap-2",children:[e.jsx("span",{className:"w-6 h-6 bg-orange-100 text-orange-600 rounded-full flex items-center justify-center text-xs font-bold",children:a+1}),r("Feature")," ",a+1]}),e.jsx(f,{type:"button",variant:"outline",size:"sm",className:"text-red-600 hover:text-red-700 hover:bg-red-50 border-red-200",onClick:()=>{const n=(l("features").features_list||[]).filter((i,y)=>y!==a);t("features",{features_list:n})},children:e.jsx($,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:`feature_${a}_title`,children:r("Title")}),e.jsx(d,{id:`feature_${a}_title`,value:s.title||"",onChange:n=>{const i=[...l("features").features_list||[]];i[a]={...i[a],title:n.target.value},t("features",{features_list:i})},placeholder:"Feature title"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(o,{htmlFor:`feature_${a}_icon`,children:r("Icon")}),e.jsxs("select",{id:`feature_${a}_icon`,value:s.icon||"qr-code",onChange:n=>{const i=[...l("features").features_list||[]];i[a]={...i[a],icon:n.target.value},t("features",{features_list:i})},className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"qr-code",children:"QR Code"}),e.jsx("option",{value:"smartphone",children:"Smartphone"}),e.jsx("option",{value:"share",children:"Share"}),e.jsx("option",{value:"bar-chart",children:"Bar Chart"}),e.jsx("option",{value:"globe",children:"Globe"}),e.jsx("option",{value:"shield",children:"Shield"}),e.jsx("option",{value:"star",children:"Star"}),e.jsx("option",{value:"zap",children:"Zap"}),e.jsx("option",{value:"users",children:"Users"}),e.jsx("option",{value:"lock",children:"Lock"}),e.jsx("option",{value:"wifi",children:"Wifi"}),e.jsx("option",{value:"heart",children:"Heart"}),e.jsx("option",{value:"dollar-sign",children:"Dollar Sign"}),e.jsx("option",{value:"clock",children:"Clock"}),e.jsx("option",{value:"user-plus",children:"User Plus"}),e.jsx("option",{value:"award",children:"Award"}),e.jsx("option",{value:"bar-chart-2",children:"Bar Chart"})]})]}),e.jsxs("div",{className:"space-y-3 md:col-span-1",children:[e.jsx(o,{htmlFor:`feature_${a}_description`,children:r("Description")}),e.jsx(j,{id:`feature_${a}_description`,value:s.description||"",onChange:n=>{const i=[...l("features").features_list||[]];i[a]={...i[a],description:n.target.value},t("features",{features_list:i})},placeholder:r("Feature description"),rows:3})]})]})]},a)),e.jsxs(f,{type:"button",variant:"outline",className:"w-full border-2",style:{color:h,borderColor:h},onClick:()=>{const s=[...l("features").features_list||[],{title:"",description:"",icon:"qr-code"}];t("features",{features_list:s})},children:[e.jsx(I,{className:"h-4 w-4 mr-2"}),r("Add Feature Box")]})]})]})]})}export{Z as default}; diff --git a/public/build/assets/settings-templates-Cq-_M1uj.js b/public/build/assets/settings-templates-g5OZiiRG.js similarity index 97% rename from public/build/assets/settings-templates-Cq-_M1uj.js rename to public/build/assets/settings-templates-g5OZiiRG.js index 8f013ed17..1055fc41b 100644 --- a/public/build/assets/settings-templates-Cq-_M1uj.js +++ b/public/build/assets/settings-templates-g5OZiiRG.js @@ -1 +1 @@ -import{r as i,j as e}from"./ui-Z445SNHD.js";import{L as r,I as m,ac as I,o as v,S as B}from"./app-CfhhiFAk.js";import{T as E}from"./textarea-kpRjGGLz.js";import{S as M}from"./switch-CKduD2wX.js";import{T as j}from"./type-CNRj7XNX.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";const b=[{name:"freelancer",category:"professional"},{name:"doctor",category:"medical"},{name:"restaurant",category:"food"},{name:"realestate",category:"business"},{name:"fitness",category:"health"},{name:"photography",category:"creative"},{name:"lawfirm",category:"professional"},{name:"cafe",category:"food"},{name:"salon",category:"beauty"},{name:"construction",category:"business"},{name:"eventplanner",category:"services"},{name:"ecommerce",category:"business"},{name:"travel",category:"leisure"},{name:"gym",category:"health"},{name:"bakery",category:"food"},{name:"fitness-studio",category:"health"},{name:"tech-startup",category:"technology"},{name:"wedding-planner",category:"services"},{name:"music-artist",category:"creative"},{name:"pet-care",category:"services"},{name:"digital-marketing",category:"business"},{name:"automotive",category:"business"},{name:"beauty-cosmetics",category:"beauty"},{name:"food-delivery",category:"food"},{name:"home-services",category:"services"},{name:"personal-trainer",category:"health"},{name:"consulting",category:"professional"},{name:"graphic-design",category:"creative"},{name:"yoga-wellness",category:"health"},{name:"podcast-creator",category:"creative"},{name:"gaming-streamer",category:"entertainment"},{name:"life-coach",category:"professional"},{name:"veterinarian",category:"medical"},{name:"architect-designer",category:"creative"}];function W({data:f,setData:P,errors:Q,handleInputChange:R,getSectionData:l,updateSectionData:t,updateSectionVisibility:N,t:a}){var u,y;const[p,_]=i.useState(""),[c,C]=i.useState("all"),[h,w]=i.useState(8),x=i.useMemo(()=>b.filter(s=>s&&s.name&&(c==="all"||s.category===c)&&s.name.toLowerCase().includes(p.toLowerCase())),[c,p]),T=i.useMemo(()=>x.slice(0,h),[x,h]),k=i.useCallback(()=>{w(s=>s+8)},[]),A=["all",...new Set(b.map(s=>s.category))];return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(j,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("Templates Section Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(r,{className:"text-sm",children:a("Enable Section")}),e.jsx(M,{checked:((y=(u=f.config_sections)==null?void 0:u.section_visibility)==null?void 0:y.templates)!==!1,onCheckedChange:s=>N("templates",s)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_title",children:a("Section Title")}),e.jsx(m,{id:"templates_title",value:l("templates").title||"",onChange:s=>t("templates",{title:s.target.value}),placeholder:a("Explore Our Templates")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_subtitle",children:a("Section Subtitle")}),e.jsx(E,{id:"templates_subtitle",value:l("templates").subtitle||"",onChange:s=>t("templates",{subtitle:s.target.value}),placeholder:a("Choose from our professionally designed templates..."),rows:3})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_layout",children:a("Layout Style")}),e.jsxs("select",{id:"templates_layout",value:l("templates").layout||"grid",onChange:s=>t("templates",{layout:s.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"grid",children:"Grid"}),e.jsx("option",{value:"carousel",children:"Carousel"}),e.jsx("option",{value:"list",children:"List"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_columns",children:a("Number of Columns")}),e.jsxs("select",{id:"templates_columns",value:l("templates").columns||3,onChange:s=>t("templates",{columns:parseInt(s.target.value)}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:1,children:"1 Column"}),e.jsx("option",{value:2,children:"2 Columns"}),e.jsx("option",{value:3,children:"3 Columns"}),e.jsx("option",{value:4,children:"4 Columns"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_background_color",children:a("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(m,{id:"templates_background_color",type:"color",value:l("templates").background_color||"#f8fafc",onChange:s=>t("templates",{background_color:s.target.value}),className:"w-16 h-10 p-1"}),e.jsx(m,{value:l("templates").background_color||"#f8fafc",onChange:s=>t("templates",{background_color:s.target.value}),placeholder:"#f8fafc"})]})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(I,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("Template Selection")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Select templates to display in this section")})]})]}),e.jsx("div",{className:"flex items-center gap-2",children:e.jsxs("span",{className:"text-sm font-medium",children:[a("Selected"),": ",Array.isArray(l("templates").templates_list)?l("templates").templates_list.length:0]})})]}),e.jsxs("div",{className:"space-y-4 mb-6",children:[e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:A.map(s=>e.jsx(v,{variant:c===s?"default":"outline",size:"sm",onClick:()=>C(s),className:c===s?"text-white":"",style:c===s?{backgroundColor:"#10b77f"}:{},children:s.charAt(0).toUpperCase()+s.slice(1)},s))}),e.jsxs("div",{className:"relative mb-4",children:[e.jsx(B,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(m,{placeholder:a("Search templates..."),value:p,onChange:s=>_(s.target.value),className:"pl-10"})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:T.map(s=>{const o=(Array.isArray(l("templates").templates_list)?l("templates").templates_list:[]).some(n=>n&&n.name&&s.name&&n.name===s.name);return e.jsx(TemplatePreviewCard,{template:s,isSelected:o,previewButtonText:a("Preview"),onClick:()=>{const d=[...Array.isArray(l("templates").templates_list)?l("templates").templates_list:[]];if(o){const L=d.filter(F=>F.name!==s.name);t("templates",{templates_list:L})}else t("templates",{templates_list:[...d,{name:s.name,category:s.category}]})}},s.name)})}),x.length>h&&e.jsx("div",{className:"mt-4 text-center",children:e.jsx(v,{type:"button",variant:"outline",className:"border-2",style:{color:"#10b77f",borderColor:"#10b77f"},onClick:k,children:a("Load More Templates")})})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h4",{className:"font-medium mb-3",children:a("Selected Templates")}),e.jsx("div",{className:"space-y-2",children:!Array.isArray(l("templates").templates_list)||l("templates").templates_list.length===0?e.jsx("p",{className:"text-sm text-gray-500",children:a("No templates selected. Click on templates above to select them.")}):e.jsx("div",{className:"grid grid-cols-1 gap-2",children:(Array.isArray(l("templates").templates_list)?l("templates").templates_list:[]).filter(s=>s&&s.name).map((s,g)=>e.jsx(TemplateListItem,{template:s,onRemove:()=>{const o=(l("templates").templates_list||[]).filter((n,d)=>d!==g);t("templates",{templates_list:o})}},g))})})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(j,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("Call to Action")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Add a call-to-action button to view all templates")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_cta_text",children:a("CTA Button Text")}),e.jsx(m,{id:"templates_cta_text",value:l("templates").cta_text||"",onChange:s=>t("templates",{cta_text:s.target.value}),placeholder:a("View All Templates")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_cta_link",children:a("CTA Button Link")}),e.jsx(m,{id:"templates_cta_link",value:l("templates").cta_link||"",onChange:s=>t("templates",{cta_link:s.target.value}),placeholder:"/templates"})]})]})]})]})}export{W as default}; +import{r as i,j as e}from"./ui-Z445SNHD.js";import{L as r,I as m,ac as I,o as v,S as B}from"./app-Dya84jp7.js";import{T as E}from"./textarea-yeg8ONhy.js";import{S as M}from"./switch-DyHgm-Sg.js";import{T as j}from"./type-Bsbmfmsu.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";const b=[{name:"freelancer",category:"professional"},{name:"doctor",category:"medical"},{name:"restaurant",category:"food"},{name:"realestate",category:"business"},{name:"fitness",category:"health"},{name:"photography",category:"creative"},{name:"lawfirm",category:"professional"},{name:"cafe",category:"food"},{name:"salon",category:"beauty"},{name:"construction",category:"business"},{name:"eventplanner",category:"services"},{name:"ecommerce",category:"business"},{name:"travel",category:"leisure"},{name:"gym",category:"health"},{name:"bakery",category:"food"},{name:"fitness-studio",category:"health"},{name:"tech-startup",category:"technology"},{name:"wedding-planner",category:"services"},{name:"music-artist",category:"creative"},{name:"pet-care",category:"services"},{name:"digital-marketing",category:"business"},{name:"automotive",category:"business"},{name:"beauty-cosmetics",category:"beauty"},{name:"food-delivery",category:"food"},{name:"home-services",category:"services"},{name:"personal-trainer",category:"health"},{name:"consulting",category:"professional"},{name:"graphic-design",category:"creative"},{name:"yoga-wellness",category:"health"},{name:"podcast-creator",category:"creative"},{name:"gaming-streamer",category:"entertainment"},{name:"life-coach",category:"professional"},{name:"veterinarian",category:"medical"},{name:"architect-designer",category:"creative"}];function W({data:f,setData:P,errors:Q,handleInputChange:R,getSectionData:l,updateSectionData:t,updateSectionVisibility:N,t:a}){var u,y;const[p,_]=i.useState(""),[c,C]=i.useState("all"),[h,w]=i.useState(8),x=i.useMemo(()=>b.filter(s=>s&&s.name&&(c==="all"||s.category===c)&&s.name.toLowerCase().includes(p.toLowerCase())),[c,p]),T=i.useMemo(()=>x.slice(0,h),[x,h]),k=i.useCallback(()=>{w(s=>s+8)},[]),A=["all",...new Set(b.map(s=>s.category))];return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-100 rounded-lg",children:e.jsx(j,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("Templates Section Content")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Section title and description")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(r,{className:"text-sm",children:a("Enable Section")}),e.jsx(M,{checked:((y=(u=f.config_sections)==null?void 0:u.section_visibility)==null?void 0:y.templates)!==!1,onCheckedChange:s=>N("templates",s)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_title",children:a("Section Title")}),e.jsx(m,{id:"templates_title",value:l("templates").title||"",onChange:s=>t("templates",{title:s.target.value}),placeholder:a("Explore Our Templates")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_subtitle",children:a("Section Subtitle")}),e.jsx(E,{id:"templates_subtitle",value:l("templates").subtitle||"",onChange:s=>t("templates",{subtitle:s.target.value}),placeholder:a("Choose from our professionally designed templates..."),rows:3})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_layout",children:a("Layout Style")}),e.jsxs("select",{id:"templates_layout",value:l("templates").layout||"grid",onChange:s=>t("templates",{layout:s.target.value}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:"grid",children:"Grid"}),e.jsx("option",{value:"carousel",children:"Carousel"}),e.jsx("option",{value:"list",children:"List"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_columns",children:a("Number of Columns")}),e.jsxs("select",{id:"templates_columns",value:l("templates").columns||3,onChange:s=>t("templates",{columns:parseInt(s.target.value)}),className:"w-full p-2 border border-gray-300 rounded-md",children:[e.jsx("option",{value:1,children:"1 Column"}),e.jsx("option",{value:2,children:"2 Columns"}),e.jsx("option",{value:3,children:"3 Columns"}),e.jsx("option",{value:4,children:"4 Columns"})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_background_color",children:a("Background Color")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(m,{id:"templates_background_color",type:"color",value:l("templates").background_color||"#f8fafc",onChange:s=>t("templates",{background_color:s.target.value}),className:"w-16 h-10 p-1"}),e.jsx(m,{value:l("templates").background_color||"#f8fafc",onChange:s=>t("templates",{background_color:s.target.value}),placeholder:"#f8fafc"})]})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-purple-100 rounded-lg",children:e.jsx(I,{className:"h-5 w-5 text-purple-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("Template Selection")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Select templates to display in this section")})]})]}),e.jsx("div",{className:"flex items-center gap-2",children:e.jsxs("span",{className:"text-sm font-medium",children:[a("Selected"),": ",Array.isArray(l("templates").templates_list)?l("templates").templates_list.length:0]})})]}),e.jsxs("div",{className:"space-y-4 mb-6",children:[e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:A.map(s=>e.jsx(v,{variant:c===s?"default":"outline",size:"sm",onClick:()=>C(s),className:c===s?"text-white":"",style:c===s?{backgroundColor:"#10b77f"}:{},children:s.charAt(0).toUpperCase()+s.slice(1)},s))}),e.jsxs("div",{className:"relative mb-4",children:[e.jsx(B,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(m,{placeholder:a("Search templates..."),value:p,onChange:s=>_(s.target.value),className:"pl-10"})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:T.map(s=>{const o=(Array.isArray(l("templates").templates_list)?l("templates").templates_list:[]).some(n=>n&&n.name&&s.name&&n.name===s.name);return e.jsx(TemplatePreviewCard,{template:s,isSelected:o,previewButtonText:a("Preview"),onClick:()=>{const d=[...Array.isArray(l("templates").templates_list)?l("templates").templates_list:[]];if(o){const L=d.filter(F=>F.name!==s.name);t("templates",{templates_list:L})}else t("templates",{templates_list:[...d,{name:s.name,category:s.category}]})}},s.name)})}),x.length>h&&e.jsx("div",{className:"mt-4 text-center",children:e.jsx(v,{type:"button",variant:"outline",className:"border-2",style:{color:"#10b77f",borderColor:"#10b77f"},onClick:k,children:a("Load More Templates")})})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h4",{className:"font-medium mb-3",children:a("Selected Templates")}),e.jsx("div",{className:"space-y-2",children:!Array.isArray(l("templates").templates_list)||l("templates").templates_list.length===0?e.jsx("p",{className:"text-sm text-gray-500",children:a("No templates selected. Click on templates above to select them.")}):e.jsx("div",{className:"grid grid-cols-1 gap-2",children:(Array.isArray(l("templates").templates_list)?l("templates").templates_list:[]).filter(s=>s&&s.name).map((s,g)=>e.jsx(TemplateListItem,{template:s,onRemove:()=>{const o=(l("templates").templates_list||[]).filter((n,d)=>d!==g);t("templates",{templates_list:o})}},g))})})]})]}),e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"p-2 bg-green-100 rounded-lg",children:e.jsx(j,{className:"h-5 w-5 text-green-600"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:a("Call to Action")}),e.jsx("p",{className:"text-sm text-gray-500",children:a("Add a call-to-action button to view all templates")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_cta_text",children:a("CTA Button Text")}),e.jsx(m,{id:"templates_cta_text",value:l("templates").cta_text||"",onChange:s=>t("templates",{cta_text:s.target.value}),placeholder:a("View All Templates")})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(r,{htmlFor:"templates_cta_link",children:a("CTA Button Link")}),e.jsx(m,{id:"templates_cta_link",value:l("templates").cta_link||"",onChange:s=>t("templates",{cta_link:s.target.value}),placeholder:"/templates"})]})]})]})]})}export{W as default}; diff --git a/public/build/assets/shield-BXgaUVtY.js b/public/build/assets/shield-CDL27iRK.js similarity index 94% rename from public/build/assets/shield-BXgaUVtY.js rename to public/build/assets/shield-CDL27iRK.js index c60168d66..042e89b6b 100644 --- a/public/build/assets/shield-BXgaUVtY.js +++ b/public/build/assets/shield-CDL27iRK.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/shield-check-Ca-zuQJC.js b/public/build/assets/shield-check-CGAYPEyR.js similarity index 91% rename from public/build/assets/shield-check-Ca-zuQJC.js rename to public/build/assets/shield-check-CGAYPEyR.js index f97ad993e..e74d12a41 100644 --- a/public/build/assets/shield-check-Ca-zuQJC.js +++ b/public/build/assets/shield-check-CGAYPEyR.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/show-CdcCQjuW.js b/public/build/assets/show-B-cqQHn6.js similarity index 90% rename from public/build/assets/show-CdcCQjuW.js rename to public/build/assets/show-B-cqQHn6.js index c71260f1a..696ce541d 100644 --- a/public/build/assets/show-CdcCQjuW.js +++ b/public/build/assets/show-B-cqQHn6.js @@ -1 +1 @@ -import{r as v,j as e}from"./ui-Z445SNHD.js";import{P as Oe}from"./page-template-BTxLyiDA.js";import{u as $e,c as Re,x as p,F as je,C as h,m as u,n as y,z as Be,B as l,l as j,o as f,r as m,t as r}from"./app-CfhhiFAk.js";import{T as qe,a as Ue,b as fe,c as o,d as Ie,e as c}from"./table-BXUOKUBo.js";import{C as be}from"./CrudFormModal-DAR9q-oM.js";import{C as He}from"./CrudDeleteModal-CKTiD3_K.js";import{T as We,a as ze,b as Ne,c as ke}from"./tabs-pc4jrsjt.js";import{A as Le}from"./arrow-left-B_Yqvwsn.js";import{S as Ve}from"./square-pen-bMHyT06o.js";import{T as Ge}from"./trash-Pq_dkuTI.js";import{D as ve}from"./download-Bk1k2_dW.js";import{f as w}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";function Vs(){var D,S,M,A,F,P,E,O,$,R,B,q,U,I,H,W,z,L,V,G,J,K,Q,X,Y,Z,ee,se,te,ae,re,ie,ne,le,de,me,oe,ce,xe;const{t:s}=$e(),{auth:b,employeeTraining:t,availableAssessments:d}=Re().props,g=(b==null?void 0:b.permissions)||[],[we,_]=v.useState(!1),[_e,N]=v.useState(!1),[Ce,k]=v.useState(!1),Te=()=>{m.get(route("hr.employee-trainings.index"))},De=()=>{N(!0)},Se=()=>{_(!0)},C=()=>{k(!0)},Me=()=>{window.open(route("hr.employee-trainings.download-certification",t.id),"_blank")},Ae=a=>{const n=new FormData;Object.keys(a).forEach(i=>{a[i]!==null&&a[i]!==void 0&&(i==="certification"?a[i]instanceof File&&n.append(i,a[i]):n.append(i,a[i]))}),r.loading(s("Updating training")),n.append("_method","PUT"),m.post(route("hr.employee-trainings.update",t.id),n,{onSuccess:i=>{N(!1),r.dismiss(),i.props.flash.success?r.success(s(i.props.flash.success)):i.props.flash.error&&r.error(s(i.props.flash.error))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(s(i)):r.error(s("Failed to update training {{errors}}",{errors:Object.values(i).join(", ")}))}})},Fe=a=>{r.loading(s("Recording assessment result")),m.post(route("hr.employee-trainings.record-assessment",t.id),a,{onSuccess:n=>{k(!1),r.dismiss(),n.props.flash.success?r.success(s(n.props.flash.success)):n.props.flash.error&&r.error(s(n.props.flash.error))},onError:n=>{r.dismiss(),typeof n=="string"?r.error(s(n)):r.error(s("Failed to record assessment result {{errors}}",{errors:Object.values(n).join(", ")}))}})},Pe=()=>{r.loading(s("Deleting training assignment")),m.delete(route("hr.employee-trainings.destroy",t.id),{onSuccess:a=>{r.dismiss(),a.props.flash.success?r.success(s(a.props.flash.success)):a.props.flash.error&&r.error(s(a.props.flash.error)),m.get(route("hr.employee-trainings.index"))},onError:a=>{r.dismiss(),typeof a=="string"?r.error(s(a)):r.error(s("Failed to delete training assignment {{errors}}",{errors:Object.values(a).join(", ")}))}})},x=[];x.push({label:s("Back"),icon:e.jsx(Le,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:Te}),p(g,"edit-employee-trainings")&&x.push({label:s("Edit"),icon:e.jsx(Ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:De}),p(g,"delete-employee-trainings")&&x.push({label:s("Delete"),icon:e.jsx(Ge,{className:"h-4 w-4 mr-2"}),variant:"destructive",onClick:Se}),p(g,"record-assessment-results")&&d&&d.length>0&&x.push({label:s("Record Assessment"),icon:e.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:C});const Ee=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.employee-trainings.index")},{title:s("Training Management"),href:route("hr.employee-trainings.index")},{title:s("Employee Trainings"),href:route("hr.employee-trainings.index")},{title:`${((D=t.employee)==null?void 0:D.name)||""} - ${((S=t.training_program)==null?void 0:S.name)||""}`}],T={assigned:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",failed:"bg-red-50 text-red-700 ring-red-600/20"};return e.jsxs(Oe,{title:`${((M=t.employee)==null?void 0:M.name)||""} - ${((A=t.training_program)==null?void 0:A.name)||""}`,url:`/hr/training/employee-trainings/${t.id}`,actions:x,breadcrumbs:Ee,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs(h,{className:"mb-6",children:[e.jsx(u,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:((F=t.training_program)==null?void 0:F.name)||s("Unknown Program")}),e.jsx(Be,{className:"mt-2",children:((E=(P=t.training_program)==null?void 0:P.training_type)==null?void 0:E.name)||"-"})]}),e.jsx(l,{className:`${T[t.status]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:t.status==="in_progress"?s("In Progress"):t.status==="assigned"?s("Assigned"):t.status==="completed"?s("Completed"):t.status==="failed"?s("Failed"):t.status})]})}),e.jsxs(j,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 mt-1",children:((O=t.employee)==null?void 0:O.name)||"-"}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:((R=($=t.employee)==null?void 0:$.employee)==null?void 0:R.employee_id)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Assigned By")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((B=t.assigner)==null?void 0:B.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Assigned Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.assigned_date?((q=window.appSettings)==null?void 0:q.formatDateTimeSimple(t.assigned_date,!1))||w(new Date(t.assigned_date),"MMM dd, yyyy"):"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Completion Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.completion_date?((U=window.appSettings)==null?void 0:U.formatDateTimeSimple(t.completion_date,!1))||w(new Date(t.completion_date),"MMM dd, yyyy"):"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Score")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.score!==null?`${t.score}%`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Result")}),e.jsx("p",{className:"mt-1",children:t.is_passed===null?"-":t.is_passed?e.jsx(l,{variant:"outline",className:"bg-green-50 text-green-700",children:s("Passed")}):e.jsx(l,{variant:"outline",className:"bg-red-50 text-red-700",children:s("Failed")})})]})]}),t.feedback&&e.jsxs("div",{className:"mb-4",children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Feedback")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.feedback})]}),t.notes&&e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Notes")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.notes})]}),t.certification&&e.jsx("div",{className:"mt-4",children:e.jsxs(f,{variant:"outline",onClick:Me,className:"flex items-center",children:[e.jsx(ve,{className:"h-4 w-4 mr-2"}),s("Download Certification")]})})]})]}),e.jsxs(We,{defaultValue:"program",className:"w-full",children:[e.jsxs(ze,{className:"grid grid-cols-2 mb-4",children:[e.jsx(Ne,{value:"program",children:s("Program Details")}),e.jsx(Ne,{value:"assessments",children:s("Assessment Results")})]}),e.jsx(ke,{value:"program",children:e.jsxs(h,{children:[e.jsx(u,{children:e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Program Details")})}),e.jsxs(j,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Duration")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(I=t.training_program)!=null&&I.duration?`${t.training_program.duration} ${s("Hours")}`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Cost")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(H=t.training_program)!=null&&H.cost?`$${parseFloat(t.training_program.cost).toFixed(2)}`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Status")}),e.jsx("p",{className:"mt-1",children:e.jsx(l,{variant:"outline",className:`${T[(W=t.training_program)==null?void 0:W.status]||""}`,children:((L=(z=t.training_program)==null?void 0:z.status)==null?void 0:L.charAt(0).toUpperCase())+((G=(V=t.training_program)==null?void 0:V.status)==null?void 0:G.slice(1))||"-"})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Flags")}),e.jsxs("div",{className:"flex flex-wrap gap-1 mt-1",children:[((J=t.training_program)==null?void 0:J.is_mandatory)&&e.jsx(l,{variant:"outline",className:"bg-red-50 text-red-700",children:s("Mandatory")}),((K=t.training_program)==null?void 0:K.is_self_enrollment)&&e.jsx(l,{variant:"outline",className:"bg-blue-50 text-blue-700",children:s("Self-Enrollment")})]})]})]}),((Q=t.training_program)==null?void 0:Q.description)&&e.jsxs("div",{className:"mb-4",children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Description")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.training_program.description})]}),((X=t.training_program)==null?void 0:X.prerequisites)&&e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Prerequisites")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.training_program.prerequisites})]}),((Y=t.training_program)==null?void 0:Y.materials)&&e.jsx("div",{className:"mt-4",children:e.jsxs(f,{variant:"outline",onClick:()=>window.open(route("hr.training-programs.download-materials",t.training_program.id),"_blank"),className:"flex items-center",children:[e.jsx(ve,{className:"h-4 w-4 mr-2"}),s("Download Materials")]})})]})]})}),e.jsx(ke,{value:"assessments",children:e.jsxs(h,{children:[e.jsx(u,{children:e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Assessment Results")})}),e.jsxs(j,{children:[t.assessment_results&&t.assessment_results.length>0?e.jsxs(qe,{children:[e.jsx(Ue,{children:e.jsxs(fe,{children:[e.jsx(o,{children:s("Assessment")}),e.jsx(o,{children:s("Type")}),e.jsx(o,{children:s("Date")}),e.jsx(o,{children:s("Score")}),e.jsx(o,{children:s("Result")}),e.jsx(o,{children:s("Assessed By")})]})}),e.jsx(Ie,{children:t.assessment_results.map(a=>{var n,i,ge,pe,he,ue,ye;return e.jsxs(fe,{children:[e.jsx(c,{className:"font-medium",children:((n=a.training_assessment)==null?void 0:n.name)||"-"}),e.jsx(c,{children:((ge=(i=a.training_assessment)==null?void 0:i.type)==null?void 0:ge.charAt(0).toUpperCase())+((he=(pe=a.training_assessment)==null?void 0:pe.type)==null?void 0:he.slice(1))||"-"}),e.jsx(c,{children:((ue=window.appSettings)==null?void 0:ue.formatDateTimeSimple(a.assessment_date,!1))||w(new Date(a.assessment_date),"MMM dd, yyyy")}),e.jsxs(c,{children:[a.score,"%"]}),e.jsx(c,{children:a.is_passed?e.jsx(l,{variant:"outline",className:"bg-green-50 text-green-700",children:s("Passed")}):e.jsx(l,{variant:"outline",className:"bg-red-50 text-red-700",children:s("Failed")})}),e.jsx(c,{children:((ye=a.assessor)==null?void 0:ye.name)||"-"})]},a.id)})})]}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:s("No assessment results available")}),d&&d.length>0&&p(g,"record-assessment-results")&&e.jsx("div",{className:"mt-4",children:e.jsxs(f,{variant:"default",onClick:C,children:[e.jsx(je,{className:"h-4 w-4 mr-2"}),s("Record Assessment")]})})]})]})})]})]}),e.jsx("div",{children:e.jsxs(h,{children:[e.jsx(u,{children:e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Employee Details")})}),e.jsxs(j,{children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Name")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 mt-1",children:((Z=t.employee)==null?void 0:Z.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Employee ID")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((se=(ee=t.employee)==null?void 0:ee.employee)==null?void 0:se.employee_id)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((re=(ae=(te=t.employee)==null?void 0:te.employee)==null?void 0:ae.department)==null?void 0:re.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Designation")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((le=(ne=(ie=t.employee)==null?void 0:ie.employee)==null?void 0:ne.designation)==null?void 0:le.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Email")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((de=t.employee)==null?void 0:de.email)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Phone")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((oe=(me=t.employee)==null?void 0:me.employee)==null?void 0:oe.phone)||"-"})]})]}),e.jsx("div",{className:"mt-4",children:e.jsx(f,{variant:"outline",onClick:()=>{var a,n;return m.get(route("hr.employees.show",(n=(a=t.employee)==null?void 0:a.employee)==null?void 0:n.id))},className:"w-full",children:s("View Employee Profile")})})]})]})})]}),e.jsx(be,{isOpen:_e,onClose:()=>N(!1),onSubmit:Ae,formConfig:{fields:[{name:"status",label:s("Status"),type:"select",required:!0,options:[{value:"assigned",label:s("Assigned")},{value:"in_progress",label:s("In Progress")},{value:"completed",label:s("Completed")},{value:"failed",label:s("Failed")}]},{name:"completion_date",label:s("Completion Date"),type:"date",showWhen:a=>["completed","failed"].includes(a.status)},{name:"certification",label:s("Certification"),type:"file",accept:".pdf,.doc,.docx,.jpg,.jpeg,.png",helpText:s("Upload certification file (Max 5MB)"),showWhen:a=>a.status==="completed"},{name:"score",label:s("Score (%)"),type:"number",min:0,max:100,step:.01,showWhen:a=>["completed","failed"].includes(a.status)},{name:"is_passed",label:s("Passed"),type:"checkbox",showWhen:a=>["completed","failed"].includes(a.status)},{name:"feedback",label:s("Feedback"),type:"textarea",showWhen:a=>["completed","failed"].includes(a.status)},{name:"notes",label:s("Notes"),type:"textarea"}],modalSize:"lg"},initialData:t,title:s("Edit Training Assignment"),mode:"edit"}),e.jsx(be,{isOpen:Ce,onClose:()=>k(!1),onSubmit:Fe,formConfig:{fields:[{name:"training_assessment_id",label:s("Assessment"),type:"select",required:!0,options:(d==null?void 0:d.map(a=>({value:a.id.toString(),label:a.name})))||[]},{name:"score",label:s("Score (%)"),type:"number",required:!0,min:0,max:100,step:.01},{name:"is_passed",label:s("Passed"),type:"checkbox"},{name:"feedback",label:s("Feedback"),type:"textarea"},{name:"assessment_date",label:s("Assessment Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"update_training_status",label:s("Update Training Status"),type:"checkbox",helpText:s("Update the training status based on this assessment result")}],modalSize:"md"},initialData:{},title:s("Record Assessment Result"),mode:"create"}),e.jsx(He,{isOpen:we,onClose:()=>_(!1),onConfirm:Pe,itemName:`${((ce=t.employee)==null?void 0:ce.name)||""} - ${((xe=t.training_program)==null?void 0:xe.name)||""}`,entityName:"training assignment"})]})}export{Vs as default}; +import{r as v,j as e}from"./ui-Z445SNHD.js";import{P as Oe}from"./page-template-CLNVC8w_.js";import{u as $e,c as Re,x as p,F as je,C as h,m as u,n as y,z as Be,B as l,l as j,o as f,r as m,t as r}from"./app-Dya84jp7.js";import{T as qe,a as Ue,b as fe,c as o,d as Ie,e as c}from"./table-CM-_W5Cl.js";import{C as be}from"./CrudFormModal-CsuqSfb2.js";import{C as He}from"./CrudDeleteModal-D32N6I8y.js";import{T as We,a as ze,b as Ne,c as ke}from"./tabs-CsP5VcXV.js";import{A as Le}from"./arrow-left-BUNj5JJK.js";import{S as Ve}from"./square-pen-CzdhbxyN.js";import{T as Ge}from"./trash-BFTYTNQN.js";import{D as ve}from"./download-BBNmalxc.js";import{f as w}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";function Vs(){var D,S,M,A,F,P,E,O,$,R,B,q,U,I,H,W,z,L,V,G,J,K,Q,X,Y,Z,ee,se,te,ae,re,ie,ne,le,de,me,oe,ce,xe;const{t:s}=$e(),{auth:b,employeeTraining:t,availableAssessments:d}=Re().props,g=(b==null?void 0:b.permissions)||[],[we,_]=v.useState(!1),[_e,N]=v.useState(!1),[Ce,k]=v.useState(!1),Te=()=>{m.get(route("hr.employee-trainings.index"))},De=()=>{N(!0)},Se=()=>{_(!0)},C=()=>{k(!0)},Me=()=>{window.open(route("hr.employee-trainings.download-certification",t.id),"_blank")},Ae=a=>{const n=new FormData;Object.keys(a).forEach(i=>{a[i]!==null&&a[i]!==void 0&&(i==="certification"?a[i]instanceof File&&n.append(i,a[i]):n.append(i,a[i]))}),r.loading(s("Updating training")),n.append("_method","PUT"),m.post(route("hr.employee-trainings.update",t.id),n,{onSuccess:i=>{N(!1),r.dismiss(),i.props.flash.success?r.success(s(i.props.flash.success)):i.props.flash.error&&r.error(s(i.props.flash.error))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(s(i)):r.error(s("Failed to update training {{errors}}",{errors:Object.values(i).join(", ")}))}})},Fe=a=>{r.loading(s("Recording assessment result")),m.post(route("hr.employee-trainings.record-assessment",t.id),a,{onSuccess:n=>{k(!1),r.dismiss(),n.props.flash.success?r.success(s(n.props.flash.success)):n.props.flash.error&&r.error(s(n.props.flash.error))},onError:n=>{r.dismiss(),typeof n=="string"?r.error(s(n)):r.error(s("Failed to record assessment result {{errors}}",{errors:Object.values(n).join(", ")}))}})},Pe=()=>{r.loading(s("Deleting training assignment")),m.delete(route("hr.employee-trainings.destroy",t.id),{onSuccess:a=>{r.dismiss(),a.props.flash.success?r.success(s(a.props.flash.success)):a.props.flash.error&&r.error(s(a.props.flash.error)),m.get(route("hr.employee-trainings.index"))},onError:a=>{r.dismiss(),typeof a=="string"?r.error(s(a)):r.error(s("Failed to delete training assignment {{errors}}",{errors:Object.values(a).join(", ")}))}})},x=[];x.push({label:s("Back"),icon:e.jsx(Le,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:Te}),p(g,"edit-employee-trainings")&&x.push({label:s("Edit"),icon:e.jsx(Ve,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:De}),p(g,"delete-employee-trainings")&&x.push({label:s("Delete"),icon:e.jsx(Ge,{className:"h-4 w-4 mr-2"}),variant:"destructive",onClick:Se}),p(g,"record-assessment-results")&&d&&d.length>0&&x.push({label:s("Record Assessment"),icon:e.jsx(je,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:C});const Ee=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.employee-trainings.index")},{title:s("Training Management"),href:route("hr.employee-trainings.index")},{title:s("Employee Trainings"),href:route("hr.employee-trainings.index")},{title:`${((D=t.employee)==null?void 0:D.name)||""} - ${((S=t.training_program)==null?void 0:S.name)||""}`}],T={assigned:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",failed:"bg-red-50 text-red-700 ring-red-600/20"};return e.jsxs(Oe,{title:`${((M=t.employee)==null?void 0:M.name)||""} - ${((A=t.training_program)==null?void 0:A.name)||""}`,url:`/hr/training/employee-trainings/${t.id}`,actions:x,breadcrumbs:Ee,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs(h,{className:"mb-6",children:[e.jsx(u,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:((F=t.training_program)==null?void 0:F.name)||s("Unknown Program")}),e.jsx(Be,{className:"mt-2",children:((E=(P=t.training_program)==null?void 0:P.training_type)==null?void 0:E.name)||"-"})]}),e.jsx(l,{className:`${T[t.status]||"bg-gray-50 text-gray-700 ring-gray-600/20"}`,children:t.status==="in_progress"?s("In Progress"):t.status==="assigned"?s("Assigned"):t.status==="completed"?s("Completed"):t.status==="failed"?s("Failed"):t.status})]})}),e.jsxs(j,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 mt-1",children:((O=t.employee)==null?void 0:O.name)||"-"}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:((R=($=t.employee)==null?void 0:$.employee)==null?void 0:R.employee_id)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Assigned By")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((B=t.assigner)==null?void 0:B.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Assigned Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.assigned_date?((q=window.appSettings)==null?void 0:q.formatDateTimeSimple(t.assigned_date,!1))||w(new Date(t.assigned_date),"MMM dd, yyyy"):"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Completion Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.completion_date?((U=window.appSettings)==null?void 0:U.formatDateTimeSimple(t.completion_date,!1))||w(new Date(t.completion_date),"MMM dd, yyyy"):"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Score")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.score!==null?`${t.score}%`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Result")}),e.jsx("p",{className:"mt-1",children:t.is_passed===null?"-":t.is_passed?e.jsx(l,{variant:"outline",className:"bg-green-50 text-green-700",children:s("Passed")}):e.jsx(l,{variant:"outline",className:"bg-red-50 text-red-700",children:s("Failed")})})]})]}),t.feedback&&e.jsxs("div",{className:"mb-4",children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Feedback")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.feedback})]}),t.notes&&e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Notes")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.notes})]}),t.certification&&e.jsx("div",{className:"mt-4",children:e.jsxs(f,{variant:"outline",onClick:Me,className:"flex items-center",children:[e.jsx(ve,{className:"h-4 w-4 mr-2"}),s("Download Certification")]})})]})]}),e.jsxs(We,{defaultValue:"program",className:"w-full",children:[e.jsxs(ze,{className:"grid grid-cols-2 mb-4",children:[e.jsx(Ne,{value:"program",children:s("Program Details")}),e.jsx(Ne,{value:"assessments",children:s("Assessment Results")})]}),e.jsx(ke,{value:"program",children:e.jsxs(h,{children:[e.jsx(u,{children:e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Program Details")})}),e.jsxs(j,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Duration")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(I=t.training_program)!=null&&I.duration?`${t.training_program.duration} ${s("Hours")}`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Cost")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(H=t.training_program)!=null&&H.cost?`$${parseFloat(t.training_program.cost).toFixed(2)}`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Status")}),e.jsx("p",{className:"mt-1",children:e.jsx(l,{variant:"outline",className:`${T[(W=t.training_program)==null?void 0:W.status]||""}`,children:((L=(z=t.training_program)==null?void 0:z.status)==null?void 0:L.charAt(0).toUpperCase())+((G=(V=t.training_program)==null?void 0:V.status)==null?void 0:G.slice(1))||"-"})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Flags")}),e.jsxs("div",{className:"flex flex-wrap gap-1 mt-1",children:[((J=t.training_program)==null?void 0:J.is_mandatory)&&e.jsx(l,{variant:"outline",className:"bg-red-50 text-red-700",children:s("Mandatory")}),((K=t.training_program)==null?void 0:K.is_self_enrollment)&&e.jsx(l,{variant:"outline",className:"bg-blue-50 text-blue-700",children:s("Self-Enrollment")})]})]})]}),((Q=t.training_program)==null?void 0:Q.description)&&e.jsxs("div",{className:"mb-4",children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Description")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.training_program.description})]}),((X=t.training_program)==null?void 0:X.prerequisites)&&e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Prerequisites")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.training_program.prerequisites})]}),((Y=t.training_program)==null?void 0:Y.materials)&&e.jsx("div",{className:"mt-4",children:e.jsxs(f,{variant:"outline",onClick:()=>window.open(route("hr.training-programs.download-materials",t.training_program.id),"_blank"),className:"flex items-center",children:[e.jsx(ve,{className:"h-4 w-4 mr-2"}),s("Download Materials")]})})]})]})}),e.jsx(ke,{value:"assessments",children:e.jsxs(h,{children:[e.jsx(u,{children:e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Assessment Results")})}),e.jsxs(j,{children:[t.assessment_results&&t.assessment_results.length>0?e.jsxs(qe,{children:[e.jsx(Ue,{children:e.jsxs(fe,{children:[e.jsx(o,{children:s("Assessment")}),e.jsx(o,{children:s("Type")}),e.jsx(o,{children:s("Date")}),e.jsx(o,{children:s("Score")}),e.jsx(o,{children:s("Result")}),e.jsx(o,{children:s("Assessed By")})]})}),e.jsx(Ie,{children:t.assessment_results.map(a=>{var n,i,ge,pe,he,ue,ye;return e.jsxs(fe,{children:[e.jsx(c,{className:"font-medium",children:((n=a.training_assessment)==null?void 0:n.name)||"-"}),e.jsx(c,{children:((ge=(i=a.training_assessment)==null?void 0:i.type)==null?void 0:ge.charAt(0).toUpperCase())+((he=(pe=a.training_assessment)==null?void 0:pe.type)==null?void 0:he.slice(1))||"-"}),e.jsx(c,{children:((ue=window.appSettings)==null?void 0:ue.formatDateTimeSimple(a.assessment_date,!1))||w(new Date(a.assessment_date),"MMM dd, yyyy")}),e.jsxs(c,{children:[a.score,"%"]}),e.jsx(c,{children:a.is_passed?e.jsx(l,{variant:"outline",className:"bg-green-50 text-green-700",children:s("Passed")}):e.jsx(l,{variant:"outline",className:"bg-red-50 text-red-700",children:s("Failed")})}),e.jsx(c,{children:((ye=a.assessor)==null?void 0:ye.name)||"-"})]},a.id)})})]}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:s("No assessment results available")}),d&&d.length>0&&p(g,"record-assessment-results")&&e.jsx("div",{className:"mt-4",children:e.jsxs(f,{variant:"default",onClick:C,children:[e.jsx(je,{className:"h-4 w-4 mr-2"}),s("Record Assessment")]})})]})]})})]})]}),e.jsx("div",{children:e.jsxs(h,{children:[e.jsx(u,{children:e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Employee Details")})}),e.jsxs(j,{children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Name")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 mt-1",children:((Z=t.employee)==null?void 0:Z.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Employee ID")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((se=(ee=t.employee)==null?void 0:ee.employee)==null?void 0:se.employee_id)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((re=(ae=(te=t.employee)==null?void 0:te.employee)==null?void 0:ae.department)==null?void 0:re.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Designation")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((le=(ne=(ie=t.employee)==null?void 0:ie.employee)==null?void 0:ne.designation)==null?void 0:le.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Email")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((de=t.employee)==null?void 0:de.email)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Phone")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((oe=(me=t.employee)==null?void 0:me.employee)==null?void 0:oe.phone)||"-"})]})]}),e.jsx("div",{className:"mt-4",children:e.jsx(f,{variant:"outline",onClick:()=>{var a,n;return m.get(route("hr.employees.show",(n=(a=t.employee)==null?void 0:a.employee)==null?void 0:n.id))},className:"w-full",children:s("View Employee Profile")})})]})]})})]}),e.jsx(be,{isOpen:_e,onClose:()=>N(!1),onSubmit:Ae,formConfig:{fields:[{name:"status",label:s("Status"),type:"select",required:!0,options:[{value:"assigned",label:s("Assigned")},{value:"in_progress",label:s("In Progress")},{value:"completed",label:s("Completed")},{value:"failed",label:s("Failed")}]},{name:"completion_date",label:s("Completion Date"),type:"date",showWhen:a=>["completed","failed"].includes(a.status)},{name:"certification",label:s("Certification"),type:"file",accept:".pdf,.doc,.docx,.jpg,.jpeg,.png",helpText:s("Upload certification file (Max 5MB)"),showWhen:a=>a.status==="completed"},{name:"score",label:s("Score (%)"),type:"number",min:0,max:100,step:.01,showWhen:a=>["completed","failed"].includes(a.status)},{name:"is_passed",label:s("Passed"),type:"checkbox",showWhen:a=>["completed","failed"].includes(a.status)},{name:"feedback",label:s("Feedback"),type:"textarea",showWhen:a=>["completed","failed"].includes(a.status)},{name:"notes",label:s("Notes"),type:"textarea"}],modalSize:"lg"},initialData:t,title:s("Edit Training Assignment"),mode:"edit"}),e.jsx(be,{isOpen:Ce,onClose:()=>k(!1),onSubmit:Fe,formConfig:{fields:[{name:"training_assessment_id",label:s("Assessment"),type:"select",required:!0,options:(d==null?void 0:d.map(a=>({value:a.id.toString(),label:a.name})))||[]},{name:"score",label:s("Score (%)"),type:"number",required:!0,min:0,max:100,step:.01},{name:"is_passed",label:s("Passed"),type:"checkbox"},{name:"feedback",label:s("Feedback"),type:"textarea"},{name:"assessment_date",label:s("Assessment Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"update_training_status",label:s("Update Training Status"),type:"checkbox",helpText:s("Update the training status based on this assessment result")}],modalSize:"md"},initialData:{},title:s("Record Assessment Result"),mode:"create"}),e.jsx(He,{isOpen:we,onClose:()=>_(!1),onConfirm:Pe,itemName:`${((ce=t.employee)==null?void 0:ce.name)||""} - ${((xe=t.training_program)==null?void 0:xe.name)||""}`,entityName:"training assignment"})]})}export{Vs as default}; diff --git a/public/build/assets/show-BbJQH56Z.js b/public/build/assets/show-BQ1fRKoZ.js similarity index 83% rename from public/build/assets/show-BbJQH56Z.js rename to public/build/assets/show-BQ1fRKoZ.js index a585341b0..e6b229cd3 100644 --- a/public/build/assets/show-BbJQH56Z.js +++ b/public/build/assets/show-BQ1fRKoZ.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as E}from"./page-template-BTxLyiDA.js";import{u as I,c as T,C as f,m as v,n as N,z as w,l as b,B as d,x as z,r as k}from"./app-CfhhiFAk.js";import{S as C}from"./star-DQsTg5F1.js";import{A as L}from"./arrow-left-B_Yqvwsn.js";import{C as A}from"./clipboard-list-DA9ABN1f.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function ke(){var c,x,p,g,h,y;const{t}=I(),{review:r,auth:o}=T().props,R=(o==null?void 0:o.permissions)||[],S=a=>{switch(a){case"scheduled":return e.jsx(d,{variant:"outline",className:"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20",children:t("Scheduled")});case"in_progress":return e.jsx(d,{variant:"outline",className:"bg-amber-50 text-amber-700 ring-1 ring-inset ring-amber-600/20",children:t("In Progress")});case"completed":return e.jsx(d,{variant:"outline",className:"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",children:t("Completed")});default:return e.jsx(d,{variant:"outline",children:a})}},_=()=>{k.visit(route("hr.performance.employee-reviews.index"))},D=()=>{k.visit(route("hr.performance.employee-reviews.conduct",r.id))},P=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:t("Performance"),href:route("hr.performance.indicator-categories.index")},{title:t("Employee Reviews"),href:route("hr.performance.employee-reviews.index")},{title:t("View Review")}],B=(c=r.ratings)==null?void 0:c.reduce((a,s)=>{var m,n,j,u;const i=((n=(m=s.indicator)==null?void 0:m.category)==null?void 0:n.id)||"uncategorized",l=((u=(j=s.indicator)==null?void 0:j.category)==null?void 0:u.name)||"Uncategorized";return a[i]||(a[i]={name:l,ratings:[]}),a[i].ratings.push(s),a},{});return e.jsx(E,{title:t("Review Details"),url:`/hr/performance/employee-reviews/${r.id}`,breadcrumbs:P,actions:[{label:t("Back"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:_},...r.status!=="completed"&&z(R,"edit-employee-reviews")?[{label:t("Conduct Review"),icon:e.jsx(A,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:D}]:[]],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(f,{children:[e.jsxs(v,{children:[e.jsx(N,{className:"text-lg font-semibold",children:t("Review Information")}),e.jsx(w,{children:t("Details about this performance review")})]}),e.jsxs(b,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-6",children:[e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Employee")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:(x=r.employee)==null?void 0:x.name})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Reviewer")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:(p=r.reviewer)==null?void 0:p.name})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Review Cycle")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:(g=r.review_cycle)==null?void 0:g.name})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Review Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:r.review_date?((h=window.appSettings)==null?void 0:h.formatDateTimeSimple(r.review_date,!1))||new Date(r.review_date).toLocaleString():"-"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Status")}),e.jsx("div",{className:"mt-1",children:S(r.status)})]})]})]}),r.status==="completed"&&e.jsxs("div",{className:"mt-6 pt-6 border-t",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("p",{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:t("Overall Rating")}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"text-2xl font-bold text-gray-900 dark:text-gray-100 mr-2",children:(y=r.overall_rating)==null?void 0:y.toFixed(1)}),e.jsx(C,{className:"h-5 w-5 fill-yellow-400 text-yellow-400"})]})]}),r.comments&&e.jsxs("div",{className:"mt-4",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:t("Comments")}),e.jsx("p",{className:"mt-1 text-sm text-gray-700 dark:text-gray-300",children:r.comments})]})]})]})]}),r.status==="completed"&&e.jsxs(f,{children:[e.jsxs(v,{children:[e.jsx(N,{className:"text-lg font-semibold",children:t("Performance Ratings")}),e.jsx(w,{children:t("Individual ratings for each performance indicator")})]}),e.jsx(b,{children:e.jsx("div",{className:"space-y-6",children:Object.values(B||{}).map(a=>e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a.name}),e.jsx("div",{className:"space-y-4",children:a.ratings.map(s=>{var i,l,m,n;return e.jsxs("div",{className:"border rounded-lg p-4 bg-gray-50 dark:bg-gray-800",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:(i=s.indicator)==null?void 0:i.name}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:((l=s.indicator)==null?void 0:l.description)||t("No description")}),((m=s.indicator)==null?void 0:m.measurement_unit)&&e.jsx(d,{variant:"outline",className:"mt-2",children:(n=s.indicator)==null?void 0:n.measurement_unit})]}),e.jsxs("div",{className:"flex items-center ml-4",children:[e.jsx("span",{className:"text-xl font-bold text-gray-900 dark:text-gray-100 mr-2",children:s.rating.toFixed(1)}),e.jsx(C,{className:"h-5 w-5 fill-yellow-400 text-yellow-400"})]})]}),s.comments&&e.jsxs("div",{className:"mt-3 pt-3 border-t border-gray-200 dark:border-gray-700",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide",children:t("Comments")}),e.jsx("p",{className:"mt-1 text-sm text-gray-700 dark:text-gray-300",children:s.comments})]})]},s.id)})})]},a.name))})})]})]})})}export{ke as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as E}from"./page-template-CLNVC8w_.js";import{u as I,c as T,C as f,m as v,n as N,z as w,l as b,B as d,x as z,r as k}from"./app-Dya84jp7.js";import{S as C}from"./star-DCkLKzoE.js";import{A as L}from"./arrow-left-BUNj5JJK.js";import{C as A}from"./clipboard-list-C-5sn1G-.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function ke(){var c,x,p,g,h,y;const{t}=I(),{review:r,auth:o}=T().props,R=(o==null?void 0:o.permissions)||[],S=a=>{switch(a){case"scheduled":return e.jsx(d,{variant:"outline",className:"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20",children:t("Scheduled")});case"in_progress":return e.jsx(d,{variant:"outline",className:"bg-amber-50 text-amber-700 ring-1 ring-inset ring-amber-600/20",children:t("In Progress")});case"completed":return e.jsx(d,{variant:"outline",className:"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",children:t("Completed")});default:return e.jsx(d,{variant:"outline",children:a})}},_=()=>{k.visit(route("hr.performance.employee-reviews.index"))},D=()=>{k.visit(route("hr.performance.employee-reviews.conduct",r.id))},P=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.performance.indicator-categories.index")},{title:t("Performance"),href:route("hr.performance.indicator-categories.index")},{title:t("Employee Reviews"),href:route("hr.performance.employee-reviews.index")},{title:t("View Review")}],B=(c=r.ratings)==null?void 0:c.reduce((a,s)=>{var m,n,j,u;const i=((n=(m=s.indicator)==null?void 0:m.category)==null?void 0:n.id)||"uncategorized",l=((u=(j=s.indicator)==null?void 0:j.category)==null?void 0:u.name)||"Uncategorized";return a[i]||(a[i]={name:l,ratings:[]}),a[i].ratings.push(s),a},{});return e.jsx(E,{title:t("Review Details"),url:`/hr/performance/employee-reviews/${r.id}`,breadcrumbs:P,actions:[{label:t("Back"),icon:e.jsx(L,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:_},...r.status!=="completed"&&z(R,"edit-employee-reviews")?[{label:t("Conduct Review"),icon:e.jsx(A,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:D}]:[]],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(f,{children:[e.jsxs(v,{children:[e.jsx(N,{className:"text-lg font-semibold",children:t("Review Information")}),e.jsx(w,{children:t("Details about this performance review")})]}),e.jsxs(b,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-6",children:[e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Employee")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:(x=r.employee)==null?void 0:x.name})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Reviewer")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:(p=r.reviewer)==null?void 0:p.name})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Review Cycle")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:(g=r.review_cycle)==null?void 0:g.name})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Review Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:r.review_date?((h=window.appSettings)==null?void 0:h.formatDateTimeSimple(r.review_date,!1))||new Date(r.review_date).toLocaleString():"-"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:t("Status")}),e.jsx("div",{className:"mt-1",children:S(r.status)})]})]})]}),r.status==="completed"&&e.jsxs("div",{className:"mt-6 pt-6 border-t",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("p",{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:t("Overall Rating")}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"text-2xl font-bold text-gray-900 dark:text-gray-100 mr-2",children:(y=r.overall_rating)==null?void 0:y.toFixed(1)}),e.jsx(C,{className:"h-5 w-5 fill-yellow-400 text-yellow-400"})]})]}),r.comments&&e.jsxs("div",{className:"mt-4",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:t("Comments")}),e.jsx("p",{className:"mt-1 text-sm text-gray-700 dark:text-gray-300",children:r.comments})]})]})]})]}),r.status==="completed"&&e.jsxs(f,{children:[e.jsxs(v,{children:[e.jsx(N,{className:"text-lg font-semibold",children:t("Performance Ratings")}),e.jsx(w,{children:t("Individual ratings for each performance indicator")})]}),e.jsx(b,{children:e.jsx("div",{className:"space-y-6",children:Object.values(B||{}).map(a=>e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:a.name}),e.jsx("div",{className:"space-y-4",children:a.ratings.map(s=>{var i,l,m,n;return e.jsxs("div",{className:"border rounded-lg p-4 bg-gray-50 dark:bg-gray-800",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:(i=s.indicator)==null?void 0:i.name}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:((l=s.indicator)==null?void 0:l.description)||t("No description")}),((m=s.indicator)==null?void 0:m.measurement_unit)&&e.jsx(d,{variant:"outline",className:"mt-2",children:(n=s.indicator)==null?void 0:n.measurement_unit})]}),e.jsxs("div",{className:"flex items-center ml-4",children:[e.jsx("span",{className:"text-xl font-bold text-gray-900 dark:text-gray-100 mr-2",children:s.rating.toFixed(1)}),e.jsx(C,{className:"h-5 w-5 fill-yellow-400 text-yellow-400"})]})]}),s.comments&&e.jsxs("div",{className:"mt-3 pt-3 border-t border-gray-200 dark:border-gray-700",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide",children:t("Comments")}),e.jsx("p",{className:"mt-1 text-sm text-gray-700 dark:text-gray-300",children:s.comments})]})]},s.id)})})]},a.name))})})]})]})})}export{ke as default}; diff --git a/public/build/assets/show-BRSqTYn6.js b/public/build/assets/show-BhlcLnPW.js similarity index 86% rename from public/build/assets/show-BRSqTYn6.js rename to public/build/assets/show-BhlcLnPW.js index 5f37da383..3cafcfe4b 100644 --- a/public/build/assets/show-BRSqTYn6.js +++ b/public/build/assets/show-BhlcLnPW.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as b}from"./page-template-BTxLyiDA.js";import{u as v,c as D,C as r,m as s,n as i,l as d,F as S,r as _}from"./app-CfhhiFAk.js";import{U as C}from"./user-C37aWgZX.js";import{B as T}from"./building-Cyq-0nCs.js";import{D as O}from"./dollar-sign-DYXFWWsE.js";import{C as u}from"./calendar-CfUpdaK5.js";import{A as B}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function he(){var m,n,x,l,c,o,g,p,f,y,h,j;const{t:a}=v(),{offer:t}=D().props,N=[{title:a("Dashboard"),href:route("dashboard")},{title:a("Recruitment"),href:route("hr.recruitment.offers.index")},{title:a("Offers"),href:route("hr.recruitment.offers.index")},{title:a("View Offer")}],k=w=>{switch(w){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Sent":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Accepted":return"bg-green-50 text-green-700 ring-green-600/20";case"Negotiating":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Declined":return"bg-red-50 text-red-700 ring-red-600/10";case"Expired":return"bg-orange-50 text-orange-700 ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}};return e.jsx(b,{title:a("Offer Details"),breadcrumbs:N,actions:[{label:a("Back"),icon:e.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>_.get(route("hr.recruitment.offers.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(r,{children:[e.jsx(s,{children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsxs(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:[(m=t.candidate)==null?void 0:m.first_name," ",(n=t.candidate)==null?void 0:n.last_name]}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:(x=t.job)==null?void 0:x.job_code})]}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${k(t.status)}`,children:a(t.status)})]})}),e.jsx(d,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(C,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Candidate")}),e.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[(l=t.candidate)==null?void 0:l.first_name," ",(c=t.candidate)==null?void 0:c.last_name]})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(S,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Position")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.position})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(T,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((o=t.department)==null?void 0:o.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(O,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Salary")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(g=window.appSettings)==null?void 0:g.formatCurrency(t.salary)})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(u,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Start Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(t.start_date,!1))||new Date(t.start_date).toLocaleDateString()})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(u,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Expiration Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((f=window.appSettings)==null?void 0:f.formatDateTimeSimple(t.expiration_date,!1))||new Date(t.expiration_date).toLocaleDateString()})]})]})]})})]}),t.benefits&&e.jsxs(r,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:a("Benefits")})}),e.jsx(d,{children:e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 whitespace-pre-wrap",children:t.benefits})})]}),e.jsxs(r,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:a("Offer Information")})}),e.jsx(d,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Offer Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((y=window.appSettings)==null?void 0:y.formatDateTimeSimple(t.offer_date,!1))||new Date(t.offer_date).toLocaleDateString()})]}),t.approved_by&&e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Approved By")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((h=t.approver)==null?void 0:h.name)||"-"})]}),t.response_date&&e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Response Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((j=window.appSettings)==null?void 0:j.formatDateTimeSimple(t.response_date,!1))||new Date(t.response_date).toLocaleDateString()})]}),t.decline_reason&&e.jsxs("div",{className:"col-span-2",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Decline Reason")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.decline_reason})]})]})})]}),t.job&&e.jsxs(r,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:a("Job Details")})}),e.jsx(d,{children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Job Title")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.job.title})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Job Code")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.job.job_code})]})]})})]})]})})}export{he as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as b}from"./page-template-CLNVC8w_.js";import{u as v,c as D,C as r,m as s,n as i,l as d,F as S,r as _}from"./app-Dya84jp7.js";import{U as C}from"./user-77BPqA3J.js";import{B as T}from"./building-DyhEfKj4.js";import{D as O}from"./dollar-sign-DH2Tc178.js";import{C as u}from"./calendar-DuRYaSj5.js";import{A as B}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function he(){var m,n,x,l,c,o,g,p,f,y,h,j;const{t:a}=v(),{offer:t}=D().props,N=[{title:a("Dashboard"),href:route("dashboard")},{title:a("Recruitment"),href:route("hr.recruitment.offers.index")},{title:a("Offers"),href:route("hr.recruitment.offers.index")},{title:a("View Offer")}],k=w=>{switch(w){case"Draft":return"bg-gray-50 text-gray-600 ring-gray-500/10";case"Sent":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Accepted":return"bg-green-50 text-green-700 ring-green-600/20";case"Negotiating":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Declined":return"bg-red-50 text-red-700 ring-red-600/10";case"Expired":return"bg-orange-50 text-orange-700 ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}};return e.jsx(b,{title:a("Offer Details"),breadcrumbs:N,actions:[{label:a("Back"),icon:e.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>_.get(route("hr.recruitment.offers.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(r,{children:[e.jsx(s,{children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsxs(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:[(m=t.candidate)==null?void 0:m.first_name," ",(n=t.candidate)==null?void 0:n.last_name]}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:(x=t.job)==null?void 0:x.job_code})]}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${k(t.status)}`,children:a(t.status)})]})}),e.jsx(d,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(C,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Candidate")}),e.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[(l=t.candidate)==null?void 0:l.first_name," ",(c=t.candidate)==null?void 0:c.last_name]})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(S,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Position")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.position})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(T,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((o=t.department)==null?void 0:o.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(O,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Salary")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(g=window.appSettings)==null?void 0:g.formatCurrency(t.salary)})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(u,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Start Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(t.start_date,!1))||new Date(t.start_date).toLocaleDateString()})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(u,{className:"h-5 w-5 text-gray-500 dark:text-gray-400 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Expiration Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((f=window.appSettings)==null?void 0:f.formatDateTimeSimple(t.expiration_date,!1))||new Date(t.expiration_date).toLocaleDateString()})]})]})]})})]}),t.benefits&&e.jsxs(r,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:a("Benefits")})}),e.jsx(d,{children:e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 whitespace-pre-wrap",children:t.benefits})})]}),e.jsxs(r,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:a("Offer Information")})}),e.jsx(d,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Offer Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((y=window.appSettings)==null?void 0:y.formatDateTimeSimple(t.offer_date,!1))||new Date(t.offer_date).toLocaleDateString()})]}),t.approved_by&&e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Approved By")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((h=t.approver)==null?void 0:h.name)||"-"})]}),t.response_date&&e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Response Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((j=window.appSettings)==null?void 0:j.formatDateTimeSimple(t.response_date,!1))||new Date(t.response_date).toLocaleDateString()})]}),t.decline_reason&&e.jsxs("div",{className:"col-span-2",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Decline Reason")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:t.decline_reason})]})]})})]}),t.job&&e.jsxs(r,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:a("Job Details")})}),e.jsx(d,{children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Job Title")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.job.title})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Job Code")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.job.job_code})]})]})})]})]})})}export{he as default}; diff --git a/public/build/assets/show-DxsRsCDG.js b/public/build/assets/show-BifM1eai.js similarity index 92% rename from public/build/assets/show-DxsRsCDG.js rename to public/build/assets/show-BifM1eai.js index 40e3454e7..3e104d238 100644 --- a/public/build/assets/show-DxsRsCDG.js +++ b/public/build/assets/show-BifM1eai.js @@ -1 +1 @@ -import{r as u,j as t}from"./ui-Z445SNHD.js";import{P as Pe}from"./page-template-BTxLyiDA.js";import{u as Re,c as Ee,x as h,C as g,m as f,n as y,z as Ue,l as j,o as w,ac as Ie,B as K,A as X,M as Z,r as x,t as i}from"./app-CfhhiFAk.js";import{T as Fe,a as qe,b as T,c as A}from"./tabs-pc4jrsjt.js";import{T as ee,a as te,b as _,c as n,d as ae,e as l}from"./table-BXUOKUBo.js";import{C as v}from"./CrudFormModal-DAR9q-oM.js";import{C as Le}from"./CrudDeleteModal-CKTiD3_K.js";import{P as Ve}from"./progress-CJ4ij2ij.js";import{A as We}from"./arrow-left-B_Yqvwsn.js";import{S as Be}from"./square-pen-bMHyT06o.js";import{U as ze}from"./user-plus-DXHdW4q-.js";import{A as se}from"./arrow-down-left-B7-m5tqv.js";import{W as $e}from"./wrench-BdOd6Wbm.js";import{Q as He}from"./qr-code-Dvy3HD3W.js";import{T as Qe}from"./trash-Pq_dkuTI.js";import{D as re}from"./download-Bk1k2_dW.js";import{f as c}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";function Kt(){var I,F,q,L,V,W,B,z,$,H,Q,G,Y,J;const{t:e}=Re(),{auth:k,asset:a,assetTypes:ie,employees:ne}=Ee().props,p=(k==null?void 0:k.permissions)||[],[le,O]=u.useState(!1),[de,N]=u.useState(!1),[oe,S]=u.useState(!1),[ce,C]=u.useState(!1),[me,D]=u.useState(!1),[xe,M]=u.useState(!1),[P,pe]=u.useState(null),ue=()=>{x.get(route("hr.assets.index"))},he=()=>{N(!0)},ge=()=>{O(!0)},fe=()=>{S(!0)},R=()=>{C(!0)},ye=()=>{D(!0)},je=s=>{pe(s),M(!0)},E=()=>{window.open(route("hr.assets.download-qrcode",a.id),"_blank")},be=()=>{window.open(route("hr.assets.download-document",a.id),"_blank")},we=()=>{window.open(route("hr.assets.view-image",a.id),"_blank")},ve=s=>{i.loading(e("Updating asset")),x.put(route("hr.assets.update",a.id),s,{onSuccess:r=>{N(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update asset {{errors}}",{errors:Object.values(r).join(", ")}))}})},_e=s=>{i.loading(e("Assigning asset")),x.post(route("hr.assets.assign",a.id),s,{onSuccess:r=>{S(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to assign asset {{errors}}",{errors:Object.values(r).join(", ")}))}})},ke=s=>{i.loading(e("Returning asset")),x.post(route("hr.assets.return",a.id),s,{onSuccess:r=>{C(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to return asset {{errors}}",{errors:Object.values(r).join(", ")}))}})},Ne=s=>{i.loading(e("Scheduling maintenance")),x.post(route("hr.assets.schedule-maintenance",a.id),s,{onSuccess:r=>{D(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to schedule maintenance {{errors}}",{errors:Object.values(r).join(", ")}))}})},Se=s=>{i.loading(e("Updating maintenance")),x.put(route("hr.assets.update-maintenance",P.id),s,{onSuccess:r=>{M(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update maintenance {{errors}}",{errors:Object.values(r).join(", ")}))}})},Ce=()=>{i.loading(e("Deleting asset")),x.delete(route("hr.assets.destroy",a.id),{onSuccess:s=>{i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error)),x.get(route("hr.assets.index"))},onError:s=>{i.dismiss(),typeof s=="string"?i.error(e(s)):i.error(e("Failed to delete asset {{errors}}",{errors:Object.values(s).join(", ")}))}})},m=[];m.push({label:e("Back"),icon:t.jsx(We,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ue}),h(p,"edit-assets")&&m.push({label:e("Edit"),icon:t.jsx(Be,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:he}),h(p,"assign-assets")&&a.status==="available"&&m.push({label:e("Assign"),icon:t.jsx(ze,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:fe}),h(p,"assign-assets")&&a.status==="assigned"&&m.push({label:e("Return"),icon:t.jsx(se,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:R}),h(p,"manage-asset-maintenance")&&a.status!=="disposed"&&m.push({label:e("Maintenance"),icon:t.jsx($e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:ye}),a.qr_code&&m.push({label:e("QR Code"),icon:t.jsx(He,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:E}),h(p,"delete-assets")&&a.status!=="assigned"&&m.push({label:e("Delete"),icon:t.jsx(Qe,{className:"h-4 w-4 mr-2"}),variant:"destructive",onClick:ge});const De=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.assets.index")},{title:e("Asset Management"),href:route("hr.assets.index")},{title:e("Assets"),href:route("hr.assets.index")},{title:a.name}],Me={available:"bg-green-50 text-green-700 ring-green-600/20",assigned:"bg-blue-50 text-blue-700 ring-blue-600/20",under_maintenance:"bg-amber-50 text-amber-700 ring-amber-600/20",disposed:"bg-red-50 text-red-700 ring-red-600/20"},Te={available:e("Available"),assigned:e("Assigned"),under_maintenance:e("Under Maintenance"),disposed:e("Disposed")},Ae={new:"bg-green-50 text-green-700 ring-green-600/20",good:"bg-blue-50 text-blue-700 ring-blue-600/20",fair:"bg-amber-50 text-amber-700 ring-amber-600/20",poor:"bg-red-50 text-red-700 ring-red-600/20"},Oe={scheduled:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"},U=()=>!a.purchase_cost||a.purchase_cost===0||!a.depreciation?0:(a.purchase_cost-a.depreciation.current_value)/a.purchase_cost*100;return t.jsxs(Pe,{title:a.name,url:`/hr/assets/${a.id}`,actions:m,breadcrumbs:De,children:[t.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[t.jsxs("div",{className:"lg:col-span-2",children:[t.jsxs(g,{className:"mb-6",children:[t.jsx(f,{children:t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:a.name}),t.jsx(Ue,{className:"mt-2",children:((I=a.asset_type)==null?void 0:I.name)||e("Unknown Type")})]}),t.jsx("div",{children:t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-sm font-medium ring-1 ring-inset ${Me[a.status]||""}`,children:Te[a.status]||a.status})})]})}),t.jsxs(j,{children:[t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Asset Code")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.asset_code||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Serial Number")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.serial_number||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Purchase Date")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.purchase_date?((F=window.appSettings)==null?void 0:F.formatDateTimeSimple(a.purchase_date,!1))||new Date(a.purchase_date).toLocaleDateString():"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Purchase Cost")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((q=window.appSettings)==null?void 0:q.formatCurrency(a.purchase_cost))||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Condition")}),t.jsx("p",{className:"mt-1",children:a.condition?t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Ae[a.condition]||""}`,children:a.condition.charAt(0).toUpperCase()+a.condition.slice(1)}):"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Location")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.location||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Supplier")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.supplier||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Warranty")}),t.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[a.warranty_info||"-",a.warranty_expiry_date&&t.jsxs("span",{className:"block text-xs text-gray-600 dark:text-gray-400",children:[e("Expires"),": ",((L=window.appSettings)==null?void 0:L.formatDateTimeSimple(a.warranty_expiry_date,!1))||c(new Date(a.warranty_expiry_date),"MMM dd, yyyy")]})]})]})]}),a.description&&t.jsxs("div",{className:"mt-4",children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Description")}),t.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.description})]}),t.jsxs("div",{className:"mt-4 flex flex-wrap gap-2",children:[a.documents&&t.jsxs(w,{variant:"outline",size:"sm",onClick:be,className:"flex items-center",children:[t.jsx(re,{className:"h-4 w-4 mr-2"}),e("Download Document")]}),a.images&&t.jsxs(w,{variant:"outline",size:"sm",onClick:we,className:"flex items-center",children:[t.jsx(Ie,{className:"h-4 w-4 mr-2"}),e("View Image")]})]})]})]}),t.jsxs(Fe,{defaultValue:"assignments",className:"w-full",children:[t.jsxs(qe,{className:"grid grid-cols-3 mb-4",children:[t.jsx(T,{value:"assignments",children:e("Assignments")}),t.jsx(T,{value:"maintenance",children:e("Maintenance")}),t.jsx(T,{value:"depreciation",children:e("Depreciation")})]}),t.jsx(A,{value:"assignments",children:t.jsxs(g,{children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Assignment History")})}),t.jsx(j,{children:a.assignments&&a.assignments.length>0?t.jsxs(ee,{children:[t.jsx(te,{children:t.jsxs(_,{children:[t.jsx(n,{children:e("Employee")}),t.jsx(n,{children:e("Check-Out Date")}),t.jsx(n,{children:e("Return Date")}),t.jsx(n,{children:e("Status")})]})}),t.jsx(ae,{children:a.assignments.map(s=>{var r,d,o,b;return t.jsxs(_,{children:[t.jsx(l,{className:"font-medium",children:((r=s.employee)==null?void 0:r.name)||"-"}),t.jsx(l,{children:((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.checkout_date,!1))||c(new Date(s.checkout_date),"MMM dd, yyyy")}),t.jsx(l,{children:s.checkin_date?((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(s.checkin_date,!1))||c(new Date(s.checkin_date),"MMM dd, yyyy"):s.expected_return_date?`${e("Expected")} ${((b=window.appSettings)==null?void 0:b.formatDateTimeSimple(s.expected_return_date,!1))||c(new Date(s.expected_return_date),"MMM dd, yyyy")}`:"-"}),t.jsx(l,{children:s.checkin_date?t.jsx(K,{variant:"outline",className:"bg-green-50 text-green-700",children:e("Returned")}):t.jsx(K,{variant:"outline",className:"bg-blue-50 text-blue-700",children:e("Assigned")})})]},s.id)})})]}):t.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:e("No assignment history available")})})]})}),t.jsx(A,{value:"maintenance",children:t.jsxs(g,{children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Maintenance History")})}),t.jsx(j,{children:a.maintenances&&a.maintenances.length>0?t.jsxs(ee,{children:[t.jsx(te,{children:t.jsxs(_,{children:[t.jsx(n,{children:e("Type")}),t.jsx(n,{children:e("Start Date")}),t.jsx(n,{children:e("End Date")}),t.jsx(n,{children:e("Status")}),t.jsx(n,{children:e("Cost")}),t.jsx(n,{children:e("Actions")})]})}),t.jsx(ae,{children:a.maintenances.map(s=>{var r,d,o;return t.jsxs(_,{children:[t.jsx(l,{className:"font-medium",children:s.maintenance_type}),t.jsx(l,{children:((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.start_date,!1))||c(new Date(s.start_date),"MMM dd, yyyy")}),t.jsx(l,{children:s.end_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.end_date,!1))||c(new Date(s.end_date),"MMM dd, yyyy"):"-"}),t.jsx(l,{children:t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Oe[s.status]||""}`,children:s.status.split("_").map(b=>b.charAt(0).toUpperCase()+b.slice(1)).join(" ")})}),t.jsx(l,{children:s.cost?(o=window.appSettings)==null?void 0:o.formatCurrency(s.cost):"-"}),t.jsx(l,{children:(s.status==="scheduled"||s.status==="in_progress")&&h(p,"manage-asset-maintenance")&&t.jsx(w,{variant:"ghost",size:"sm",onClick:()=>je(s),children:e("Update")})})]},s.id)})})]}):t.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:e("No maintenance history available")})})]})}),t.jsx(A,{value:"depreciation",children:t.jsxs(g,{children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Depreciation Information")})}),t.jsx(j,{children:a.depreciation?t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Depreciation Method")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.depreciation.method==="straight_line"?e("Straight Line"):a.depreciation.method==="reducing_balance"?e("Reducing Balance"):"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Useful Life")}),t.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[a.depreciation.useful_life_years," ",e("Years")]})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Purchase Value")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(V=window.appSettings)==null?void 0:V.formatCurrency(a.purchase_cost||0)})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Salvage Value")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(W=window.appSettings)==null?void 0:W.formatCurrency(a.depreciation.salvage_value||0)})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Current Value")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(B=window.appSettings)==null?void 0:B.formatCurrency(a.depreciation.current_value||0)})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Last Calculated")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.depreciation.last_calculated_date?((z=window.appSettings)==null?void 0:z.formatDateTimeSimple(a.depreciation.last_calculated_date,!1))||c(new Date(a.depreciation.last_calculated_date),"MMM dd, yyyy"):"-"})]})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:e("Depreciation Progress")}),t.jsxs("div",{className:"flex justify-between mb-2",children:[t.jsx("p",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:e("Current Value")}),t.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:[U().toFixed(2),"% ",e("Depreciated")]})]}),t.jsx(Ve,{value:U(),className:"h-2"})]})]}):t.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:e("No depreciation information available")})})]})})]})]}),t.jsxs("div",{children:[a.status==="assigned"&&a.current_assignment&&t.jsxs(g,{className:"mb-6",children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Current Assignment")})}),t.jsx(j,{children:t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Assigned To")}),t.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 mt-1",children:(($=a.current_assignment.employee)==null?void 0:$.name)||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Check-Out Date")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((H=window.appSettings)==null?void 0:H.formatDateTimeSimple(a.current_assignment.checkout_date,!1))||c(new Date(a.current_assignment.checkout_date),"MMM dd, yyyy")})]}),a.current_assignment.expected_return_date&&t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Expected Return")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Q=window.appSettings)==null?void 0:Q.formatDateTimeSimple(a.current_assignment.expected_return_date,!1))||c(new Date(a.current_assignment.expected_return_date),"MMM dd, yyyy")})]}),a.current_assignment.notes&&t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Notes")}),t.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.current_assignment.notes})]})]})}),h(p,"assign-assets")&&t.jsx(X,{children:t.jsxs(w,{variant:"default",onClick:R,className:"w-full",children:[t.jsx(se,{className:"h-4 w-4 mr-2"}),e("Return Asset")]})})]}),a.qr_code&&t.jsxs(g,{children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Asset QR Code")})}),t.jsx(j,{className:"flex justify-center",children:t.jsx("img",{src:`/storage/${a.qr_code}`,alt:"Asset QR Code",className:"max-w-full h-auto"})}),t.jsx(X,{children:t.jsxs(w,{variant:"outline",onClick:E,className:"w-full",children:[t.jsx(re,{className:"h-4 w-4 mr-2"}),e("Download QR Code")]})})]})]})]}),t.jsx(v,{isOpen:de,onClose:()=>N(!1),onSubmit:ve,formConfig:{fields:[{name:"name",label:e("Name"),type:"text",required:!0},{name:"asset_type_id",label:e("Asset Type"),type:"select",required:!0,options:(ie||[]).map(s=>({value:s.id.toString(),label:s.name}))},{name:"serial_number",label:e("Serial Number"),type:"text"},{name:"asset_code",label:e("Asset Code"),type:"text"},{name:"purchase_date",label:e("Purchase Date"),type:"date"},{name:"purchase_cost",label:e("Purchase Cost"),type:"number",min:0,step:.01},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"available",label:e("Available")},{value:"assigned",label:e("Assigned")},{value:"under_maintenance",label:e("Under Maintenance")},{value:"disposed",label:e("Disposed")}]},{name:"condition",label:e("Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}]},{name:"description",label:e("Description"),type:"textarea"},{name:"location",label:e("Location"),type:"text"},{name:"supplier",label:e("Supplier"),type:"text"},{name:"warranty_info",label:e("Warranty Information"),type:"text"},{name:"warranty_expiry_date",label:e("Warranty Expiry Date"),type:"date"},{name:"images",label:e("Images"),type:"custom",render:(s,r,d)=>t.jsx(Z,{value:String(r[s.name]||""),onChange:o=>d(s.name,o),placeholder:e("Select image file")}),helpText:e("Upload image file (Max 5MB)")},{name:"documents",label:e("Documents"),type:"custom",render:(s,r,d)=>t.jsx(Z,{value:String(r[s.name]||""),onChange:o=>d(s.name,o),placeholder:e("Select document file")}),helpText:e("Upload PDF or Word document (Max 5MB)")},{name:"depreciation_method",label:e("Depreciation Method"),type:"select",options:[{value:"none",label:e("No Depreciation")},{value:"straight_line",label:e("Straight Line")},{value:"reducing_balance",label:e("Reducing Balance")}],showWhen:s=>s.purchase_cost&&s.purchase_date},{name:"useful_life_years",label:e("Useful Life (Years)"),type:"number",min:1,step:1,showWhen:s=>s.depreciation_method&&s.depreciation_method!=="none"},{name:"salvage_value",label:e("Salvage Value"),type:"number",min:0,step:.01,showWhen:s=>s.depreciation_method&&s.depreciation_method!=="none"}],modalSize:"lg"},initialData:{...a,depreciation_method:((G=a.depreciation)==null?void 0:G.method)||"none",useful_life_years:((Y=a.depreciation)==null?void 0:Y.useful_life_years)||5,salvage_value:((J=a.depreciation)==null?void 0:J.salvage_value)||0},title:e("Edit Asset"),mode:"edit"}),t.jsx(v,{isOpen:oe,onClose:()=>S(!1),onSubmit:_e,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:(ne||[]).map(s=>({value:s.id.toString(),label:`${s.name} (${s.employee_id})`}))},{name:"checkout_date",label:e("Check-Out Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"expected_return_date",label:e("Expected Return Date"),type:"date"},{name:"checkout_condition",label:e("Check-Out Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],defaultValue:a.condition},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"md"},initialData:{},title:e("Assign Asset"),mode:"create"}),t.jsx(v,{isOpen:ce,onClose:()=>C(!1),onSubmit:ke,formConfig:{fields:[{name:"checkin_date",label:e("Check-In Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"checkin_condition",label:e("Check-In Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],defaultValue:a.condition},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"md"},initialData:{},title:e("Return Asset"),mode:"create"}),t.jsx(v,{isOpen:me,onClose:()=>D(!1),onSubmit:Ne,formConfig:{fields:[{name:"maintenance_type",label:e("Maintenance Type"),type:"select",required:!0,options:[{value:"repair",label:e("Repair")},{value:"preventive",label:e("Preventive")},{value:"calibration",label:e("Calibration")},{value:"software update",label:e("Software Update")},{value:"hardware upgrade",label:e("Hardware Upgrade")}]},{name:"start_date",label:e("Start Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"end_date",label:e("End Date"),type:"date"},{name:"cost",label:e("Cost"),type:"number",min:0,step:.01},{name:"details",label:e("Details"),type:"textarea"},{name:"supplier",label:e("Supplier"),type:"text"}],modalSize:"md"},initialData:{},title:e("Schedule Maintenance"),mode:"create"}),t.jsx(v,{isOpen:xe,onClose:()=>M(!1),onSubmit:Se,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"scheduled",label:e("Scheduled")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}]},{name:"end_date",label:e("End Date"),type:"date",showWhen:s=>["completed","cancelled"].includes(s.status)},{name:"completion_notes",label:e("Completion Notes"),type:"textarea",showWhen:s=>["completed","cancelled"].includes(s.status)},{name:"cost",label:e("Cost"),type:"number",min:0,step:.01}],modalSize:"md"},initialData:P,title:e("Update Maintenance"),mode:"edit"}),t.jsx(Le,{isOpen:le,onClose:()=>O(!1),onConfirm:Ce,itemName:a.name,entityName:"asset"})]})}export{Kt as default}; +import{r as u,j as t}from"./ui-Z445SNHD.js";import{P as Pe}from"./page-template-CLNVC8w_.js";import{u as Re,c as Ee,x as h,C as g,m as f,n as y,z as Ue,l as j,o as w,ac as Ie,B as K,A as X,M as Z,r as x,t as i}from"./app-Dya84jp7.js";import{T as Fe,a as qe,b as T,c as A}from"./tabs-CsP5VcXV.js";import{T as ee,a as te,b as _,c as n,d as ae,e as l}from"./table-CM-_W5Cl.js";import{C as v}from"./CrudFormModal-CsuqSfb2.js";import{C as Le}from"./CrudDeleteModal-D32N6I8y.js";import{P as Ve}from"./progress-NbCMYaUz.js";import{A as We}from"./arrow-left-BUNj5JJK.js";import{S as Be}from"./square-pen-CzdhbxyN.js";import{U as ze}from"./user-plus-BpaQ3zuJ.js";import{A as se}from"./arrow-down-left-B_VdNN9z.js";import{W as $e}from"./wrench-D9olQ4TN.js";import{Q as He}from"./qr-code-CUIVRbAs.js";import{T as Qe}from"./trash-BFTYTNQN.js";import{D as re}from"./download-BBNmalxc.js";import{f as c}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";function Kt(){var I,F,q,L,V,W,B,z,$,H,Q,G,Y,J;const{t:e}=Re(),{auth:k,asset:a,assetTypes:ie,employees:ne}=Ee().props,p=(k==null?void 0:k.permissions)||[],[le,O]=u.useState(!1),[de,N]=u.useState(!1),[oe,S]=u.useState(!1),[ce,C]=u.useState(!1),[me,D]=u.useState(!1),[xe,M]=u.useState(!1),[P,pe]=u.useState(null),ue=()=>{x.get(route("hr.assets.index"))},he=()=>{N(!0)},ge=()=>{O(!0)},fe=()=>{S(!0)},R=()=>{C(!0)},ye=()=>{D(!0)},je=s=>{pe(s),M(!0)},E=()=>{window.open(route("hr.assets.download-qrcode",a.id),"_blank")},be=()=>{window.open(route("hr.assets.download-document",a.id),"_blank")},we=()=>{window.open(route("hr.assets.view-image",a.id),"_blank")},ve=s=>{i.loading(e("Updating asset")),x.put(route("hr.assets.update",a.id),s,{onSuccess:r=>{N(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update asset {{errors}}",{errors:Object.values(r).join(", ")}))}})},_e=s=>{i.loading(e("Assigning asset")),x.post(route("hr.assets.assign",a.id),s,{onSuccess:r=>{S(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to assign asset {{errors}}",{errors:Object.values(r).join(", ")}))}})},ke=s=>{i.loading(e("Returning asset")),x.post(route("hr.assets.return",a.id),s,{onSuccess:r=>{C(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to return asset {{errors}}",{errors:Object.values(r).join(", ")}))}})},Ne=s=>{i.loading(e("Scheduling maintenance")),x.post(route("hr.assets.schedule-maintenance",a.id),s,{onSuccess:r=>{D(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to schedule maintenance {{errors}}",{errors:Object.values(r).join(", ")}))}})},Se=s=>{i.loading(e("Updating maintenance")),x.put(route("hr.assets.update-maintenance",P.id),s,{onSuccess:r=>{M(!1),i.dismiss(),r.props.flash.success?i.success(e(r.props.flash.success)):r.props.flash.error&&i.error(e(r.props.flash.error))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(e(r)):i.error(e("Failed to update maintenance {{errors}}",{errors:Object.values(r).join(", ")}))}})},Ce=()=>{i.loading(e("Deleting asset")),x.delete(route("hr.assets.destroy",a.id),{onSuccess:s=>{i.dismiss(),s.props.flash.success?i.success(e(s.props.flash.success)):s.props.flash.error&&i.error(e(s.props.flash.error)),x.get(route("hr.assets.index"))},onError:s=>{i.dismiss(),typeof s=="string"?i.error(e(s)):i.error(e("Failed to delete asset {{errors}}",{errors:Object.values(s).join(", ")}))}})},m=[];m.push({label:e("Back"),icon:t.jsx(We,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ue}),h(p,"edit-assets")&&m.push({label:e("Edit"),icon:t.jsx(Be,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:he}),h(p,"assign-assets")&&a.status==="available"&&m.push({label:e("Assign"),icon:t.jsx(ze,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:fe}),h(p,"assign-assets")&&a.status==="assigned"&&m.push({label:e("Return"),icon:t.jsx(se,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:R}),h(p,"manage-asset-maintenance")&&a.status!=="disposed"&&m.push({label:e("Maintenance"),icon:t.jsx($e,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:ye}),a.qr_code&&m.push({label:e("QR Code"),icon:t.jsx(He,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:E}),h(p,"delete-assets")&&a.status!=="assigned"&&m.push({label:e("Delete"),icon:t.jsx(Qe,{className:"h-4 w-4 mr-2"}),variant:"destructive",onClick:ge});const De=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.assets.index")},{title:e("Asset Management"),href:route("hr.assets.index")},{title:e("Assets"),href:route("hr.assets.index")},{title:a.name}],Me={available:"bg-green-50 text-green-700 ring-green-600/20",assigned:"bg-blue-50 text-blue-700 ring-blue-600/20",under_maintenance:"bg-amber-50 text-amber-700 ring-amber-600/20",disposed:"bg-red-50 text-red-700 ring-red-600/20"},Te={available:e("Available"),assigned:e("Assigned"),under_maintenance:e("Under Maintenance"),disposed:e("Disposed")},Ae={new:"bg-green-50 text-green-700 ring-green-600/20",good:"bg-blue-50 text-blue-700 ring-blue-600/20",fair:"bg-amber-50 text-amber-700 ring-amber-600/20",poor:"bg-red-50 text-red-700 ring-red-600/20"},Oe={scheduled:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"},U=()=>!a.purchase_cost||a.purchase_cost===0||!a.depreciation?0:(a.purchase_cost-a.depreciation.current_value)/a.purchase_cost*100;return t.jsxs(Pe,{title:a.name,url:`/hr/assets/${a.id}`,actions:m,breadcrumbs:De,children:[t.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[t.jsxs("div",{className:"lg:col-span-2",children:[t.jsxs(g,{className:"mb-6",children:[t.jsx(f,{children:t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:a.name}),t.jsx(Ue,{className:"mt-2",children:((I=a.asset_type)==null?void 0:I.name)||e("Unknown Type")})]}),t.jsx("div",{children:t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-sm font-medium ring-1 ring-inset ${Me[a.status]||""}`,children:Te[a.status]||a.status})})]})}),t.jsxs(j,{children:[t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Asset Code")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.asset_code||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Serial Number")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.serial_number||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Purchase Date")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.purchase_date?((F=window.appSettings)==null?void 0:F.formatDateTimeSimple(a.purchase_date,!1))||new Date(a.purchase_date).toLocaleDateString():"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Purchase Cost")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((q=window.appSettings)==null?void 0:q.formatCurrency(a.purchase_cost))||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Condition")}),t.jsx("p",{className:"mt-1",children:a.condition?t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Ae[a.condition]||""}`,children:a.condition.charAt(0).toUpperCase()+a.condition.slice(1)}):"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Location")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.location||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Supplier")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.supplier||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Warranty")}),t.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[a.warranty_info||"-",a.warranty_expiry_date&&t.jsxs("span",{className:"block text-xs text-gray-600 dark:text-gray-400",children:[e("Expires"),": ",((L=window.appSettings)==null?void 0:L.formatDateTimeSimple(a.warranty_expiry_date,!1))||c(new Date(a.warranty_expiry_date),"MMM dd, yyyy")]})]})]})]}),a.description&&t.jsxs("div",{className:"mt-4",children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Description")}),t.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.description})]}),t.jsxs("div",{className:"mt-4 flex flex-wrap gap-2",children:[a.documents&&t.jsxs(w,{variant:"outline",size:"sm",onClick:be,className:"flex items-center",children:[t.jsx(re,{className:"h-4 w-4 mr-2"}),e("Download Document")]}),a.images&&t.jsxs(w,{variant:"outline",size:"sm",onClick:we,className:"flex items-center",children:[t.jsx(Ie,{className:"h-4 w-4 mr-2"}),e("View Image")]})]})]})]}),t.jsxs(Fe,{defaultValue:"assignments",className:"w-full",children:[t.jsxs(qe,{className:"grid grid-cols-3 mb-4",children:[t.jsx(T,{value:"assignments",children:e("Assignments")}),t.jsx(T,{value:"maintenance",children:e("Maintenance")}),t.jsx(T,{value:"depreciation",children:e("Depreciation")})]}),t.jsx(A,{value:"assignments",children:t.jsxs(g,{children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Assignment History")})}),t.jsx(j,{children:a.assignments&&a.assignments.length>0?t.jsxs(ee,{children:[t.jsx(te,{children:t.jsxs(_,{children:[t.jsx(n,{children:e("Employee")}),t.jsx(n,{children:e("Check-Out Date")}),t.jsx(n,{children:e("Return Date")}),t.jsx(n,{children:e("Status")})]})}),t.jsx(ae,{children:a.assignments.map(s=>{var r,d,o,b;return t.jsxs(_,{children:[t.jsx(l,{className:"font-medium",children:((r=s.employee)==null?void 0:r.name)||"-"}),t.jsx(l,{children:((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.checkout_date,!1))||c(new Date(s.checkout_date),"MMM dd, yyyy")}),t.jsx(l,{children:s.checkin_date?((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(s.checkin_date,!1))||c(new Date(s.checkin_date),"MMM dd, yyyy"):s.expected_return_date?`${e("Expected")} ${((b=window.appSettings)==null?void 0:b.formatDateTimeSimple(s.expected_return_date,!1))||c(new Date(s.expected_return_date),"MMM dd, yyyy")}`:"-"}),t.jsx(l,{children:s.checkin_date?t.jsx(K,{variant:"outline",className:"bg-green-50 text-green-700",children:e("Returned")}):t.jsx(K,{variant:"outline",className:"bg-blue-50 text-blue-700",children:e("Assigned")})})]},s.id)})})]}):t.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:e("No assignment history available")})})]})}),t.jsx(A,{value:"maintenance",children:t.jsxs(g,{children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Maintenance History")})}),t.jsx(j,{children:a.maintenances&&a.maintenances.length>0?t.jsxs(ee,{children:[t.jsx(te,{children:t.jsxs(_,{children:[t.jsx(n,{children:e("Type")}),t.jsx(n,{children:e("Start Date")}),t.jsx(n,{children:e("End Date")}),t.jsx(n,{children:e("Status")}),t.jsx(n,{children:e("Cost")}),t.jsx(n,{children:e("Actions")})]})}),t.jsx(ae,{children:a.maintenances.map(s=>{var r,d,o;return t.jsxs(_,{children:[t.jsx(l,{className:"font-medium",children:s.maintenance_type}),t.jsx(l,{children:((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.start_date,!1))||c(new Date(s.start_date),"MMM dd, yyyy")}),t.jsx(l,{children:s.end_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.end_date,!1))||c(new Date(s.end_date),"MMM dd, yyyy"):"-"}),t.jsx(l,{children:t.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${Oe[s.status]||""}`,children:s.status.split("_").map(b=>b.charAt(0).toUpperCase()+b.slice(1)).join(" ")})}),t.jsx(l,{children:s.cost?(o=window.appSettings)==null?void 0:o.formatCurrency(s.cost):"-"}),t.jsx(l,{children:(s.status==="scheduled"||s.status==="in_progress")&&h(p,"manage-asset-maintenance")&&t.jsx(w,{variant:"ghost",size:"sm",onClick:()=>je(s),children:e("Update")})})]},s.id)})})]}):t.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:e("No maintenance history available")})})]})}),t.jsx(A,{value:"depreciation",children:t.jsxs(g,{children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Depreciation Information")})}),t.jsx(j,{children:a.depreciation?t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Depreciation Method")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.depreciation.method==="straight_line"?e("Straight Line"):a.depreciation.method==="reducing_balance"?e("Reducing Balance"):"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Useful Life")}),t.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[a.depreciation.useful_life_years," ",e("Years")]})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Purchase Value")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(V=window.appSettings)==null?void 0:V.formatCurrency(a.purchase_cost||0)})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Salvage Value")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(W=window.appSettings)==null?void 0:W.formatCurrency(a.depreciation.salvage_value||0)})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Current Value")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(B=window.appSettings)==null?void 0:B.formatCurrency(a.depreciation.current_value||0)})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Last Calculated")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.depreciation.last_calculated_date?((z=window.appSettings)==null?void 0:z.formatDateTimeSimple(a.depreciation.last_calculated_date,!1))||c(new Date(a.depreciation.last_calculated_date),"MMM dd, yyyy"):"-"})]})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-2",children:e("Depreciation Progress")}),t.jsxs("div",{className:"flex justify-between mb-2",children:[t.jsx("p",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:e("Current Value")}),t.jsxs("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:[U().toFixed(2),"% ",e("Depreciated")]})]}),t.jsx(Ve,{value:U(),className:"h-2"})]})]}):t.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:e("No depreciation information available")})})]})})]})]}),t.jsxs("div",{children:[a.status==="assigned"&&a.current_assignment&&t.jsxs(g,{className:"mb-6",children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Current Assignment")})}),t.jsx(j,{children:t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Assigned To")}),t.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100 mt-1",children:(($=a.current_assignment.employee)==null?void 0:$.name)||"-"})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Check-Out Date")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((H=window.appSettings)==null?void 0:H.formatDateTimeSimple(a.current_assignment.checkout_date,!1))||c(new Date(a.current_assignment.checkout_date),"MMM dd, yyyy")})]}),a.current_assignment.expected_return_date&&t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Expected Return")}),t.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Q=window.appSettings)==null?void 0:Q.formatDateTimeSimple(a.current_assignment.expected_return_date,!1))||c(new Date(a.current_assignment.expected_return_date),"MMM dd, yyyy")})]}),a.current_assignment.notes&&t.jsxs("div",{children:[t.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:e("Notes")}),t.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.current_assignment.notes})]})]})}),h(p,"assign-assets")&&t.jsx(X,{children:t.jsxs(w,{variant:"default",onClick:R,className:"w-full",children:[t.jsx(se,{className:"h-4 w-4 mr-2"}),e("Return Asset")]})})]}),a.qr_code&&t.jsxs(g,{children:[t.jsx(f,{children:t.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:e("Asset QR Code")})}),t.jsx(j,{className:"flex justify-center",children:t.jsx("img",{src:`/storage/${a.qr_code}`,alt:"Asset QR Code",className:"max-w-full h-auto"})}),t.jsx(X,{children:t.jsxs(w,{variant:"outline",onClick:E,className:"w-full",children:[t.jsx(re,{className:"h-4 w-4 mr-2"}),e("Download QR Code")]})})]})]})]}),t.jsx(v,{isOpen:de,onClose:()=>N(!1),onSubmit:ve,formConfig:{fields:[{name:"name",label:e("Name"),type:"text",required:!0},{name:"asset_type_id",label:e("Asset Type"),type:"select",required:!0,options:(ie||[]).map(s=>({value:s.id.toString(),label:s.name}))},{name:"serial_number",label:e("Serial Number"),type:"text"},{name:"asset_code",label:e("Asset Code"),type:"text"},{name:"purchase_date",label:e("Purchase Date"),type:"date"},{name:"purchase_cost",label:e("Purchase Cost"),type:"number",min:0,step:.01},{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"available",label:e("Available")},{value:"assigned",label:e("Assigned")},{value:"under_maintenance",label:e("Under Maintenance")},{value:"disposed",label:e("Disposed")}]},{name:"condition",label:e("Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}]},{name:"description",label:e("Description"),type:"textarea"},{name:"location",label:e("Location"),type:"text"},{name:"supplier",label:e("Supplier"),type:"text"},{name:"warranty_info",label:e("Warranty Information"),type:"text"},{name:"warranty_expiry_date",label:e("Warranty Expiry Date"),type:"date"},{name:"images",label:e("Images"),type:"custom",render:(s,r,d)=>t.jsx(Z,{value:String(r[s.name]||""),onChange:o=>d(s.name,o),placeholder:e("Select image file")}),helpText:e("Upload image file (Max 5MB)")},{name:"documents",label:e("Documents"),type:"custom",render:(s,r,d)=>t.jsx(Z,{value:String(r[s.name]||""),onChange:o=>d(s.name,o),placeholder:e("Select document file")}),helpText:e("Upload PDF or Word document (Max 5MB)")},{name:"depreciation_method",label:e("Depreciation Method"),type:"select",options:[{value:"none",label:e("No Depreciation")},{value:"straight_line",label:e("Straight Line")},{value:"reducing_balance",label:e("Reducing Balance")}],showWhen:s=>s.purchase_cost&&s.purchase_date},{name:"useful_life_years",label:e("Useful Life (Years)"),type:"number",min:1,step:1,showWhen:s=>s.depreciation_method&&s.depreciation_method!=="none"},{name:"salvage_value",label:e("Salvage Value"),type:"number",min:0,step:.01,showWhen:s=>s.depreciation_method&&s.depreciation_method!=="none"}],modalSize:"lg"},initialData:{...a,depreciation_method:((G=a.depreciation)==null?void 0:G.method)||"none",useful_life_years:((Y=a.depreciation)==null?void 0:Y.useful_life_years)||5,salvage_value:((J=a.depreciation)==null?void 0:J.salvage_value)||0},title:e("Edit Asset"),mode:"edit"}),t.jsx(v,{isOpen:oe,onClose:()=>S(!1),onSubmit:_e,formConfig:{fields:[{name:"employee_id",label:e("Employee"),type:"select",required:!0,options:(ne||[]).map(s=>({value:s.id.toString(),label:`${s.name} (${s.employee_id})`}))},{name:"checkout_date",label:e("Check-Out Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"expected_return_date",label:e("Expected Return Date"),type:"date"},{name:"checkout_condition",label:e("Check-Out Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],defaultValue:a.condition},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"md"},initialData:{},title:e("Assign Asset"),mode:"create"}),t.jsx(v,{isOpen:ce,onClose:()=>C(!1),onSubmit:ke,formConfig:{fields:[{name:"checkin_date",label:e("Check-In Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"checkin_condition",label:e("Check-In Condition"),type:"select",options:[{value:"new",label:e("New")},{value:"good",label:e("Good")},{value:"fair",label:e("Fair")},{value:"poor",label:e("Poor")}],defaultValue:a.condition},{name:"notes",label:e("Notes"),type:"textarea"}],modalSize:"md"},initialData:{},title:e("Return Asset"),mode:"create"}),t.jsx(v,{isOpen:me,onClose:()=>D(!1),onSubmit:Ne,formConfig:{fields:[{name:"maintenance_type",label:e("Maintenance Type"),type:"select",required:!0,options:[{value:"repair",label:e("Repair")},{value:"preventive",label:e("Preventive")},{value:"calibration",label:e("Calibration")},{value:"software update",label:e("Software Update")},{value:"hardware upgrade",label:e("Hardware Upgrade")}]},{name:"start_date",label:e("Start Date"),type:"date",required:!0,defaultValue:new Date().toISOString().split("T")[0]},{name:"end_date",label:e("End Date"),type:"date"},{name:"cost",label:e("Cost"),type:"number",min:0,step:.01},{name:"details",label:e("Details"),type:"textarea"},{name:"supplier",label:e("Supplier"),type:"text"}],modalSize:"md"},initialData:{},title:e("Schedule Maintenance"),mode:"create"}),t.jsx(v,{isOpen:xe,onClose:()=>M(!1),onSubmit:Se,formConfig:{fields:[{name:"status",label:e("Status"),type:"select",required:!0,options:[{value:"scheduled",label:e("Scheduled")},{value:"in_progress",label:e("In Progress")},{value:"completed",label:e("Completed")},{value:"cancelled",label:e("Cancelled")}]},{name:"end_date",label:e("End Date"),type:"date",showWhen:s=>["completed","cancelled"].includes(s.status)},{name:"completion_notes",label:e("Completion Notes"),type:"textarea",showWhen:s=>["completed","cancelled"].includes(s.status)},{name:"cost",label:e("Cost"),type:"number",min:0,step:.01}],modalSize:"md"},initialData:P,title:e("Update Maintenance"),mode:"edit"}),t.jsx(Le,{isOpen:le,onClose:()=>O(!1),onConfirm:Ce,itemName:a.name,entityName:"asset"})]})}export{Kt as default}; diff --git a/public/build/assets/show-CIW6tgp8.js b/public/build/assets/show-BnL2g2PG.js similarity index 80% rename from public/build/assets/show-CIW6tgp8.js rename to public/build/assets/show-BnL2g2PG.js index 480e4fca0..bb80fa31e 100644 --- a/public/build/assets/show-CIW6tgp8.js +++ b/public/build/assets/show-BnL2g2PG.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as y}from"./page-template-BTxLyiDA.js";import{u as f,c as u,r as b,C as a,m as s,n as i,l as n,F as N}from"./app-CfhhiFAk.js";import{A as k}from"./arrow-left-B_Yqvwsn.js";import{S as v}from"./star-DQsTg5F1.js";import{T as w}from"./tag-JSZ9YmZg.js";import{C}from"./code-BfjQUpEO.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function pe(){var o,p,g;const{t}=f(),{auth:l,contractTemplate:r}=u().props;l!=null&&l.permissions;const h=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-templates.index")},{title:t("Contract Templates"),href:route("hr.contracts.contract-templates.index")},{title:t("View")}],j=[{label:t("Back"),icon:e.jsx(k,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>b.get(route("hr.contracts.contract-templates.index"))}],m=Array.isArray(r.variables)?r.variables:[],c=Array.isArray(r.clauses)?r.clauses:[];return e.jsx(y,{title:t("View Contract Template"),breadcrumbs:h,actions:j,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(a,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(n,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Template Name")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center shrink-0",children:e.jsx(N,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:r.name}),r.is_default&&e.jsx(v,{className:"h-4 w-4 text-yellow-500 fill-current"})]})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Contract Type")}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(w,{className:"h-4 w-4 text-gray-400"}),e.jsx("p",{className:"text-sm text-gray-900 dark:text-gray-100",children:((o=r.contract_type)==null?void 0:o.name)||"-"})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?t("Active"):t("Inactive")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Created At")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(r.created_at,!1))||new Date(r.created_at).toLocaleDateString()})]}),r.description&&e.jsxs("div",{className:"md:col-span-2",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Description")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:r.description})]})]})})]}),e.jsxs(a,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsxs(n,{children:[e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:e.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono text-gray-800 dark:text-gray-200",children:r.template_content||t("No content available")})}),e.jsxs("p",{className:"text-xs text-gray-400 dark:text-gray-500 mt-2",children:[((g=r.template_content)==null?void 0:g.length)||0," ",t("characters")]})]})]}),m.length>0&&e.jsxs(a,{children:[e.jsx(s,{children:e.jsxs(i,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(C,{className:"h-5 w-5 text-gray-400"}),t("Variables"),e.jsxs("span",{className:"text-sm font-normal text-gray-500",children:["(",m.length,")"]})]})}),e.jsx(n,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:m.map((x,d)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/20 px-2.5 py-1 text-xs font-medium text-blue-700 dark:text-blue-300 ring-1 ring-inset ring-blue-600/20",children:`{{${x}}}`},d))})})]}),c.length>0&&e.jsxs(a,{children:[e.jsx(s,{children:e.jsxs(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:[t("Clauses"),e.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",c.length,")"]})]})}),e.jsx(n,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:c.map((x,d)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 dark:bg-gray-800 px-2.5 py-1 text-xs font-medium text-gray-700 dark:text-gray-300 ring-1 ring-inset ring-gray-600/20",children:x},d))})})]})]})})}export{pe as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as y}from"./page-template-CLNVC8w_.js";import{u as f,c as u,r as b,C as a,m as s,n as i,l as n,F as N}from"./app-Dya84jp7.js";import{A as k}from"./arrow-left-BUNj5JJK.js";import{S as v}from"./star-DCkLKzoE.js";import{T as w}from"./tag-Bq7fLwM4.js";import{C}from"./code-znlKMFkF.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function pe(){var o,p,g;const{t}=f(),{auth:l,contractTemplate:r}=u().props;l!=null&&l.permissions;const h=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Contract Management"),href:route("hr.contracts.contract-templates.index")},{title:t("Contract Templates"),href:route("hr.contracts.contract-templates.index")},{title:t("View")}],j=[{label:t("Back"),icon:e.jsx(k,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>b.get(route("hr.contracts.contract-templates.index"))}],m=Array.isArray(r.variables)?r.variables:[],c=Array.isArray(r.clauses)?r.clauses:[];return e.jsx(y,{title:t("View Contract Template"),breadcrumbs:h,actions:j,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(a,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(n,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Template Name")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center shrink-0",children:e.jsx(N,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:r.name}),r.is_default&&e.jsx(v,{className:"h-4 w-4 text-yellow-500 fill-current"})]})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Contract Type")}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(w,{className:"h-4 w-4 text-gray-400"}),e.jsx("p",{className:"text-sm text-gray-900 dark:text-gray-100",children:((o=r.contract_type)==null?void 0:o.name)||"-"})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?t("Active"):t("Inactive")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Created At")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(r.created_at,!1))||new Date(r.created_at).toLocaleDateString()})]}),r.description&&e.jsxs("div",{className:"md:col-span-2",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Description")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:r.description})]})]})})]}),e.jsxs(a,{children:[e.jsx(s,{children:e.jsx(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsxs(n,{children:[e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:e.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono text-gray-800 dark:text-gray-200",children:r.template_content||t("No content available")})}),e.jsxs("p",{className:"text-xs text-gray-400 dark:text-gray-500 mt-2",children:[((g=r.template_content)==null?void 0:g.length)||0," ",t("characters")]})]})]}),m.length>0&&e.jsxs(a,{children:[e.jsx(s,{children:e.jsxs(i,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(C,{className:"h-5 w-5 text-gray-400"}),t("Variables"),e.jsxs("span",{className:"text-sm font-normal text-gray-500",children:["(",m.length,")"]})]})}),e.jsx(n,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:m.map((x,d)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/20 px-2.5 py-1 text-xs font-medium text-blue-700 dark:text-blue-300 ring-1 ring-inset ring-blue-600/20",children:`{{${x}}}`},d))})})]}),c.length>0&&e.jsxs(a,{children:[e.jsx(s,{children:e.jsxs(i,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:[t("Clauses"),e.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",c.length,")"]})]})}),e.jsx(n,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:c.map((x,d)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 dark:bg-gray-800 px-2.5 py-1 text-xs font-medium text-gray-700 dark:text-gray-300 ring-1 ring-inset ring-gray-600/20",children:x},d))})})]})]})})}export{pe as default}; diff --git a/public/build/assets/show-Du2PJKcK.js b/public/build/assets/show-Brg1lofv.js similarity index 82% rename from public/build/assets/show-Du2PJKcK.js rename to public/build/assets/show-Brg1lofv.js index 335b1c754..10c4d4c0a 100644 --- a/public/build/assets/show-Du2PJKcK.js +++ b/public/build/assets/show-Brg1lofv.js @@ -1 +1 @@ -import{r as l,j as e}from"./ui-Z445SNHD.js";import{L as N,e as k,u as I,c as P,t as L,H as U,C as v,m as g,n as y,o as R,y as F,r as H,l as C,I as T,B as w}from"./app-CfhhiFAk.js";import{P as V}from"./page-template-BTxLyiDA.js";import{T as $,a as A,b as O,c as D}from"./tabs-pc4jrsjt.js";import{R as M}from"./rich-text-editor-6rkrWVFe.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";import"./unlink-BUU37FwK.js";import"./list-D0MAUZMV.js";import"./quote-CVpLTvYv.js";import"./link-Bv_VEBSZ.js";import"./code-BfjQUpEO.js";const _=l.forwardRef(({label:a,name:m,value:x="",onChange:t,placeholder:i,className:u,error:d,required:h,disabled:j=!1},p)=>{const n=l.useRef(null);return l.useImperativeHandle(p,()=>({getContent:()=>{var c;return((c=n.current)==null?void 0:c.getContent())||""},setContent:c=>{var f;return(f=n.current)==null?void 0:f.setContent(c)},focus:()=>{var c;return(c=n.current)==null?void 0:c.focus()}})),e.jsxs("div",{className:k("space-y-2",u),children:[a&&e.jsxs(N,{htmlFor:m,className:"text-sm font-medium",children:[a,h&&e.jsx("span",{className:"text-destructive ml-1",children:"*"})]}),e.jsx(M,{ref:n,content:x,onChange:t,placeholder:i,editable:!j,className:k(d&&"border-destructive",j&&"opacity-50 cursor-not-allowed")}),d&&e.jsx("p",{className:"text-sm text-destructive",children:d})]})});_.displayName="RichTextField";function Be({template:a,languages:m,variables:x}){var E,S;const{t}=I(),{flash:i}=P().props,[u,d]=l.useState(a.from),[h,j]=l.useState(((E=m[0])==null?void 0:E.code)||"en"),[p,n]=l.useState(a.email_template_langs.reduce((s,r)=>(s[r.lang]={subject:r.subject,content:r.content},s),{})),c=(s,r)=>{n(o=>({...o,[s]:{...o[s],subject:r}}))},f=(s,r)=>{n(o=>({...o,[s]:{...o[s],content:r}}))};l.useEffect(()=>{i!=null&&i.success&&L.success(i.success),i!=null&&i.error&&L.error(i.error)},[i]);const z=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Email Templates"),href:route("email-templates.index")},{title:a.name}],B=[];return e.jsxs(V,{title:a.name,url:route("email-templates.show",a.id),breadcrumbs:z,actions:B,children:[e.jsx(U,{title:`Edit Template - ${a.name}`}),e.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsxs(v,{children:[e.jsx(g,{children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx(y,{children:t("Template Settings")}),e.jsxs(R,{onClick:()=>{H.put(route("email-templates.update-settings",a.id),{from:u})},size:"sm",children:[e.jsx(F,{className:"h-4 w-4 mr-2"}),t("Save Changes")]})]})}),e.jsxs(C,{className:"space-y-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(N,{children:t("Template Name")}),e.jsx(T,{value:a.name,disabled:!0,className:"bg-muted"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Template name cannot be changed")})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(N,{htmlFor:"from",children:t("From Name")}),e.jsx(T,{id:"from",value:u,onChange:s=>d(s.target.value),placeholder:t("Enter from name (e.g., {app_name}, Support Team)"),className:"focus:ring-2 focus:ring-primary"})]})]})]}),e.jsxs(v,{children:[e.jsx(g,{children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx(y,{children:t("Email Content")}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:t("Customize email content for different languages")})]}),e.jsxs(R,{onClick:()=>{const s=p[h];s&&H.put(route("email-templates.update-content",a.id),{lang:h,subject:s.subject,content:s.content})},size:"sm",className:"shrink-0",children:[e.jsx(F,{className:"h-4 w-4 mr-2"}),t("Save Content")]})]})}),e.jsx(C,{children:e.jsxs($,{defaultValue:(S=m[0])==null?void 0:S.code,onValueChange:j,className:"w-full",children:[e.jsx("div",{className:"mb-4",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsx(A,{className:"inline-flex h-auto p-1 w-max",children:m.map(s=>e.jsx(O,{value:s.code,className:"text-xs px-3 py-2 whitespace-nowrap data-[state=active]:bg-primary data-[state=active]:text-primary-foreground",children:s.code.toUpperCase()},s.code))})})}),m.map(s=>{var r,o;return e.jsxs(D,{value:s.code,className:"space-y-6 mt-6",children:[e.jsxs("div",{className:"flex items-center gap-3 p-3 bg-muted/50 rounded-lg",children:[e.jsx(w,{variant:"default",className:"px-3 py-1",children:s.code.toUpperCase()}),e.jsxs("div",{children:[e.jsx("span",{className:"font-medium",children:s.name}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Edit email content for this language")})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid gap-3",children:[e.jsx(N,{htmlFor:`subject-${s.code}`,className:"text-sm font-medium",children:t("Email Subject")}),e.jsx(T,{id:`subject-${s.code}`,value:((r=p[s.code])==null?void 0:r.subject)||"",onChange:b=>c(s.code,b.target.value),placeholder:t("Enter email subject (you can use variables like {app_name})"),className:"focus:ring-2 focus:ring-primary"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(_,{label:"Email Content",value:((o=p[s.code])==null?void 0:o.content)||"",onChange:b=>f(s.code,b),placeholder:t("Write your email content here. You can use HTML formatting and variables..."),className:"min-h-[300px]"}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["💡 ",t("Tip: Use the variables from the sidebar to personalize your emails")]})]})]})]},s.code)})]})})]})]}),e.jsx("div",{children:e.jsxs(v,{children:[e.jsxs(g,{children:[e.jsxs(y,{className:"flex items-center gap-2",children:[e.jsx("span",{children:t("Available Variables")}),e.jsx(w,{variant:"secondary",className:"text-xs",children:Object.keys(x).length})]}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:t("Click to copy variables to use in your email content")})]}),e.jsxs(C,{children:[e.jsx("div",{className:"space-y-3",children:Object.entries(x).map(([s,r])=>e.jsxs("div",{className:"group p-3 bg-muted/50 rounded-lg border hover:bg-muted/80 cursor-pointer transition-colors",onClick:()=>{navigator.clipboard.writeText(s)},children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("code",{className:"text-sm font-mono text-primary font-medium bg-background px-1.5 py-0.5 rounded",children:s}),e.jsx("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:e.jsx(w,{variant:"outline",className:"text-xs",children:t("Click to copy")})})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2 leading-relaxed",children:r})]},s))}),e.jsx("div",{className:"mt-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:e.jsxs("p",{className:"text-xs text-blue-700",children:["💡 ",e.jsxs("strong",{children:[t("Tip"),":"]})," ",t("These variables will be automatically replaced with actual values when emails are sent.")]})})]})]})})]})]})}export{Be as default}; +import{r as l,j as e}from"./ui-Z445SNHD.js";import{L as N,e as k,u as I,c as P,t as L,H as U,C as v,m as g,n as y,o as R,y as F,r as H,l as C,I as T,B as w}from"./app-Dya84jp7.js";import{P as V}from"./page-template-CLNVC8w_.js";import{T as $,a as A,b as O,c as D}from"./tabs-CsP5VcXV.js";import{R as M}from"./rich-text-editor-uObNYFW4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";import"./unlink-BLQWL2NW.js";import"./list-C_2fG_BT.js";import"./quote-BmDTOIsR.js";import"./link-DXJwkkHX.js";import"./code-znlKMFkF.js";const _=l.forwardRef(({label:a,name:m,value:x="",onChange:t,placeholder:i,className:u,error:d,required:h,disabled:j=!1},p)=>{const n=l.useRef(null);return l.useImperativeHandle(p,()=>({getContent:()=>{var c;return((c=n.current)==null?void 0:c.getContent())||""},setContent:c=>{var f;return(f=n.current)==null?void 0:f.setContent(c)},focus:()=>{var c;return(c=n.current)==null?void 0:c.focus()}})),e.jsxs("div",{className:k("space-y-2",u),children:[a&&e.jsxs(N,{htmlFor:m,className:"text-sm font-medium",children:[a,h&&e.jsx("span",{className:"text-destructive ml-1",children:"*"})]}),e.jsx(M,{ref:n,content:x,onChange:t,placeholder:i,editable:!j,className:k(d&&"border-destructive",j&&"opacity-50 cursor-not-allowed")}),d&&e.jsx("p",{className:"text-sm text-destructive",children:d})]})});_.displayName="RichTextField";function Be({template:a,languages:m,variables:x}){var E,S;const{t}=I(),{flash:i}=P().props,[u,d]=l.useState(a.from),[h,j]=l.useState(((E=m[0])==null?void 0:E.code)||"en"),[p,n]=l.useState(a.email_template_langs.reduce((s,r)=>(s[r.lang]={subject:r.subject,content:r.content},s),{})),c=(s,r)=>{n(o=>({...o,[s]:{...o[s],subject:r}}))},f=(s,r)=>{n(o=>({...o,[s]:{...o[s],content:r}}))};l.useEffect(()=>{i!=null&&i.success&&L.success(i.success),i!=null&&i.error&&L.error(i.error)},[i]);const z=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Email Templates"),href:route("email-templates.index")},{title:a.name}],B=[];return e.jsxs(V,{title:a.name,url:route("email-templates.show",a.id),breadcrumbs:z,actions:B,children:[e.jsx(U,{title:`Edit Template - ${a.name}`}),e.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsxs(v,{children:[e.jsx(g,{children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx(y,{children:t("Template Settings")}),e.jsxs(R,{onClick:()=>{H.put(route("email-templates.update-settings",a.id),{from:u})},size:"sm",children:[e.jsx(F,{className:"h-4 w-4 mr-2"}),t("Save Changes")]})]})}),e.jsxs(C,{className:"space-y-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(N,{children:t("Template Name")}),e.jsx(T,{value:a.name,disabled:!0,className:"bg-muted"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Template name cannot be changed")})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(N,{htmlFor:"from",children:t("From Name")}),e.jsx(T,{id:"from",value:u,onChange:s=>d(s.target.value),placeholder:t("Enter from name (e.g., {app_name}, Support Team)"),className:"focus:ring-2 focus:ring-primary"})]})]})]}),e.jsxs(v,{children:[e.jsx(g,{children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx(y,{children:t("Email Content")}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:t("Customize email content for different languages")})]}),e.jsxs(R,{onClick:()=>{const s=p[h];s&&H.put(route("email-templates.update-content",a.id),{lang:h,subject:s.subject,content:s.content})},size:"sm",className:"shrink-0",children:[e.jsx(F,{className:"h-4 w-4 mr-2"}),t("Save Content")]})]})}),e.jsx(C,{children:e.jsxs($,{defaultValue:(S=m[0])==null?void 0:S.code,onValueChange:j,className:"w-full",children:[e.jsx("div",{className:"mb-4",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsx(A,{className:"inline-flex h-auto p-1 w-max",children:m.map(s=>e.jsx(O,{value:s.code,className:"text-xs px-3 py-2 whitespace-nowrap data-[state=active]:bg-primary data-[state=active]:text-primary-foreground",children:s.code.toUpperCase()},s.code))})})}),m.map(s=>{var r,o;return e.jsxs(D,{value:s.code,className:"space-y-6 mt-6",children:[e.jsxs("div",{className:"flex items-center gap-3 p-3 bg-muted/50 rounded-lg",children:[e.jsx(w,{variant:"default",className:"px-3 py-1",children:s.code.toUpperCase()}),e.jsxs("div",{children:[e.jsx("span",{className:"font-medium",children:s.name}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t("Edit email content for this language")})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid gap-3",children:[e.jsx(N,{htmlFor:`subject-${s.code}`,className:"text-sm font-medium",children:t("Email Subject")}),e.jsx(T,{id:`subject-${s.code}`,value:((r=p[s.code])==null?void 0:r.subject)||"",onChange:b=>c(s.code,b.target.value),placeholder:t("Enter email subject (you can use variables like {app_name})"),className:"focus:ring-2 focus:ring-primary"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(_,{label:"Email Content",value:((o=p[s.code])==null?void 0:o.content)||"",onChange:b=>f(s.code,b),placeholder:t("Write your email content here. You can use HTML formatting and variables..."),className:"min-h-[300px]"}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["💡 ",t("Tip: Use the variables from the sidebar to personalize your emails")]})]})]})]},s.code)})]})})]})]}),e.jsx("div",{children:e.jsxs(v,{children:[e.jsxs(g,{children:[e.jsxs(y,{className:"flex items-center gap-2",children:[e.jsx("span",{children:t("Available Variables")}),e.jsx(w,{variant:"secondary",className:"text-xs",children:Object.keys(x).length})]}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:t("Click to copy variables to use in your email content")})]}),e.jsxs(C,{children:[e.jsx("div",{className:"space-y-3",children:Object.entries(x).map(([s,r])=>e.jsxs("div",{className:"group p-3 bg-muted/50 rounded-lg border hover:bg-muted/80 cursor-pointer transition-colors",onClick:()=>{navigator.clipboard.writeText(s)},children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("code",{className:"text-sm font-mono text-primary font-medium bg-background px-1.5 py-0.5 rounded",children:s}),e.jsx("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:e.jsx(w,{variant:"outline",className:"text-xs",children:t("Click to copy")})})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2 leading-relaxed",children:r})]},s))}),e.jsx("div",{className:"mt-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:e.jsxs("p",{className:"text-xs text-blue-700",children:["💡 ",e.jsxs("strong",{children:[t("Tip"),":"]})," ",t("These variables will be automatically replaced with actual values when emails are sent.")]})})]})]})})]})]})}export{Be as default}; diff --git a/public/build/assets/show-DWzFj7I_.js b/public/build/assets/show-C1pwhZq9.js similarity index 91% rename from public/build/assets/show-DWzFj7I_.js rename to public/build/assets/show-C1pwhZq9.js index 1d4358d4c..1e2ef6571 100644 --- a/public/build/assets/show-DWzFj7I_.js +++ b/public/build/assets/show-C1pwhZq9.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as B}from"./page-template-BTxLyiDA.js";import{u as E,c as R,C as s,l as r,B as n,m as i,n as x,F as c,g as w,r as I}from"./app-CfhhiFAk.js";import{U as v}from"./user-C37aWgZX.js";import{P as b}from"./phone-B_MwJBjY.js";import{M as _}from"./mail-CGIE7ZEy.js";import{M as l}from"./map-pin-BEMjKB1T.js";import{E as C}from"./external-link-QgK5Wt8A.js";import{B as M}from"./briefcase-CLRn8zVu.js";import{B as D}from"./building-Cyq-0nCs.js";import{C as A}from"./clock-CwFdn-oy.js";import{U as T}from"./users-C4LpG59H.js";import{D as $}from"./dollar-sign-DYXFWWsE.js";import{A as U}from"./award-DMMowKjz.js";import{A as q}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Le(){var o,g,h,p,y,j,f,N,u,k;const{t:a}=E(),{candidate:t}=R().props,S=[{title:a("Dashboard"),href:route("dashboard")},{title:a("Recruitment")},{title:a("Candidates"),href:route("hr.recruitment.candidates.index")},{title:`${t.first_name} ${t.last_name}`}],P=d=>{switch(d){case"New":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Screening":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Interview":return"bg-purple-50 text-purple-700 ring-purple-600/20";case"Offer":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Hired":return"bg-green-50 text-green-700 ring-green-600/20";case"Rejected":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}};return e.jsx(B,{title:"Candidate Details",breadcrumbs:S,actions:[{label:a("Back"),icon:e.jsx(q,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>I.get(route("hr.recruitment.candidates.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(s,{children:e.jsx(r,{className:"p-6",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex items-center space-x-4",children:[e.jsx("div",{className:"w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center",children:e.jsx(v,{className:"h-8 w-8 text-blue-600"})}),e.jsxs("div",{children:[e.jsxs("h1",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:[t.first_name," ",t.last_name]}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:t.current_position||a("Job Applicant")}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t.current_company}),t.rating&&e.jsxs("div",{className:"flex items-center mt-2",children:[e.jsxs("span",{className:"text-xs font-medium text-gray-700 dark:text-gray-300 mr-2",children:[a("Rating"),":"]}),e.jsx("div",{className:"flex",children:[...Array(5)].map((d,m)=>e.jsx("span",{className:`text-base ${m0&&e.jsxs(s,{children:[e.jsx(i,{children:e.jsxs(x,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(U,{className:"h-5 w-5"}),a("Custom Questions & Answers")]})}),e.jsx(r,{children:e.jsx("div",{className:"space-y-4",children:Object.entries(t.custom_question).map(([d,m],L)=>e.jsxs("div",{className:"border-l-4 border-blue-200 dark:border-blue-800 pl-4",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:d}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:m})]},L))})})]}),e.jsxs(s,{children:[e.jsx(i,{children:e.jsxs(x,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(A,{className:"h-5 w-5"}),a("Additional Information")]})}),e.jsx(r,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Terms & Conditions")}),e.jsx(n,{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset mt-1 ${t.terms_condition_check==="on"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t.terms_condition_check==="on"?a("Accepted"):a("Not Accepted")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Applied Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:new Date(t.application_date).toLocaleDateString()})]})]})})]})]})})}export{Le as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as B}from"./page-template-CLNVC8w_.js";import{u as E,c as R,C as s,l as r,B as n,m as i,n as x,F as c,g as w,r as I}from"./app-Dya84jp7.js";import{U as v}from"./user-77BPqA3J.js";import{P as b}from"./phone-3MnRoAYu.js";import{M as _}from"./mail-Cha_PX4q.js";import{M as l}from"./map-pin-DFWKFR9c.js";import{E as C}from"./external-link-Cr5OfBdg.js";import{B as M}from"./briefcase-Btn3T9V4.js";import{B as D}from"./building-DyhEfKj4.js";import{C as A}from"./clock-LnEFQ-vK.js";import{U as T}from"./users-BzCDZrS0.js";import{D as $}from"./dollar-sign-DH2Tc178.js";import{A as U}from"./award-D1KbOerA.js";import{A as q}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Le(){var o,g,h,p,y,j,f,N,u,k;const{t:a}=E(),{candidate:t}=R().props,S=[{title:a("Dashboard"),href:route("dashboard")},{title:a("Recruitment")},{title:a("Candidates"),href:route("hr.recruitment.candidates.index")},{title:`${t.first_name} ${t.last_name}`}],P=d=>{switch(d){case"New":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Screening":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"Interview":return"bg-purple-50 text-purple-700 ring-purple-600/20";case"Offer":return"bg-orange-50 text-orange-700 ring-orange-600/20";case"Hired":return"bg-green-50 text-green-700 ring-green-600/20";case"Rejected":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}};return e.jsx(B,{title:"Candidate Details",breadcrumbs:S,actions:[{label:a("Back"),icon:e.jsx(q,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>I.get(route("hr.recruitment.candidates.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(s,{children:e.jsx(r,{className:"p-6",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex items-center space-x-4",children:[e.jsx("div",{className:"w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center",children:e.jsx(v,{className:"h-8 w-8 text-blue-600"})}),e.jsxs("div",{children:[e.jsxs("h1",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:[t.first_name," ",t.last_name]}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:t.current_position||a("Job Applicant")}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:t.current_company}),t.rating&&e.jsxs("div",{className:"flex items-center mt-2",children:[e.jsxs("span",{className:"text-xs font-medium text-gray-700 dark:text-gray-300 mr-2",children:[a("Rating"),":"]}),e.jsx("div",{className:"flex",children:[...Array(5)].map((d,m)=>e.jsx("span",{className:`text-base ${m0&&e.jsxs(s,{children:[e.jsx(i,{children:e.jsxs(x,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(U,{className:"h-5 w-5"}),a("Custom Questions & Answers")]})}),e.jsx(r,{children:e.jsx("div",{className:"space-y-4",children:Object.entries(t.custom_question).map(([d,m],L)=>e.jsxs("div",{className:"border-l-4 border-blue-200 dark:border-blue-800 pl-4",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:d}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:m})]},L))})})]}),e.jsxs(s,{children:[e.jsx(i,{children:e.jsxs(x,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(A,{className:"h-5 w-5"}),a("Additional Information")]})}),e.jsx(r,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Terms & Conditions")}),e.jsx(n,{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset mt-1 ${t.terms_condition_check==="on"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t.terms_condition_check==="on"?a("Accepted"):a("Not Accepted")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a("Applied Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:new Date(t.application_date).toLocaleDateString()})]})]})})]})]})})}export{Le as default}; diff --git a/public/build/assets/show-BwK500r8.js b/public/build/assets/show-C3AxymVF.js similarity index 88% rename from public/build/assets/show-BwK500r8.js rename to public/build/assets/show-C3AxymVF.js index d5a1bf4cd..53ad4c504 100644 --- a/public/build/assets/show-BwK500r8.js +++ b/public/build/assets/show-C3AxymVF.js @@ -1 +1 @@ -import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as pe}from"./page-template-BTxLyiDA.js";import{u as ge,c as he,x as z,V as W,C as p,m as g,n as h,l as u,B as G,o as J,r as d,t as r}from"./app-CfhhiFAk.js";import{T as K,a as Q,b as j,c as o,d as X,e as m}from"./table-BXUOKUBo.js";import{C as Y}from"./CrudFormModal-DAR9q-oM.js";import{C as ue}from"./CrudDeleteModal-CKTiD3_K.js";import{C as je}from"./checkbox-1_Cig_g5.js";import{u as ye}from"./use-initials-BK4eRgYY.js";import{A as fe}from"./arrow-left-B_Yqvwsn.js";import{f as b}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";function ht(){var w,C,S,T,M,A,D,P,$,O,L,E,F,B,I,q,H,V,R,U;const{t}=ge(),{auth:c,trainingSession:a,attendanceData:Z}=he().props,_=(c==null?void 0:c.permissions)||[],ee=ye(),[te,se]=x.useState(!1),[ae,N]=x.useState(!1),[re,y]=x.useState(!1),[l,k]=x.useState(Z||[]),ie=()=>{d.get(route("hr.training-sessions.index"))},v=()=>{y(!0)},ne=(s,n)=>{k(l.map(i=>i.employee_id===s?{...i,is_present:n}:i))},le=(s,n)=>{k(l.map(i=>i.employee_id===s?{...i,notes:n}:i))},de=s=>{const n={...s,start_date:s.start_date&&s.start_time?`${s.start_date} ${s.start_time}`:s.start_date,end_date:s.end_date&&s.end_time?`${s.end_date} ${s.end_time}`:s.end_date};delete n.start_time,delete n.end_time,r.loading(t("Updating session...")),d.put(route("hr.training-sessions.update",a.id),n,{onSuccess:i=>{N(!1),r.dismiss(),i.props.flash.success?r.success(t(i.props.flash.success)):i.props.flash.error&&r.error(t(i.props.flash.error))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(t(i)):r.error(t("Failed to update session: {{errors}}",{errors:Object.values(i).join(", ")}))}})},oe=()=>{r.loading(t("Updating attendance...")),d.post(route("hr.training-sessions.update-attendance",a.id),{attendance:l},{onSuccess:s=>{y(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error&&r.error(t(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(t(s)):r.error(t("Failed to update attendance: {{errors}}",{errors:Object.values(s).join(", ")}))}})},me=()=>{r.loading(t("Deleting session...")),d.delete(route("hr.training-sessions.destroy",a.id),{onSuccess:s=>{r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error&&r.error(t(s.props.flash.error)),d.get(route("hr.training-sessions.index"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(t(s)):r.error(t("Failed to delete session: {{errors}}",{errors:Object.values(s).join(", ")}))}})},f=[];f.push({label:t("Back"),icon:e.jsx(fe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ie}),z(_,"manage-attendance")&&f.push({label:t("Manage Attendance"),icon:e.jsx(W,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:v});const ce=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.training-sessions.index")},{title:t("Training Management"),href:route("hr.training-sessions.index")},{title:t("Training Sessions"),href:route("hr.training-sessions.index")},{title:a.name||((w=a.training_program)==null?void 0:w.name)||""}],xe={scheduled:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return e.jsxs(pe,{title:a.name||((C=a.training_program)==null?void 0:C.name)||"",url:`/hr/training/sessions/${a.id}`,actions:f,breadcrumbs:ce,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs(p,{className:"mb-6",children:[e.jsx(g,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsx("div",{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:((S=a.training_program)==null?void 0:S.name)||""})}),e.jsx("div",{children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-sm font-medium ring-1 ring-inset ${xe[a.status]||""}`,children:a.status.charAt(0).toUpperCase()+a.status.slice(1).replace("_"," ")})})]})}),e.jsxs(u,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((T=window.appSettings)==null?void 0:T.formatDateTimeSimple(a.start_date,!1))||b(new Date(a.start_date),"MMMM dd, yyyy")})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Time")}),e.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[((A=(M=window.appSettings)==null?void 0:M.formatDateTimeSimple(a.start_date,!0))==null?void 0:A.split(" ").slice(-2).join(" "))||b(new Date(a.start_date),"h:mm a")," - ",((P=(D=window.appSettings)==null?void 0:D.formatDateTimeSimple(a.end_date,!0))==null?void 0:P.split(" ").slice(-2).join(" "))||b(new Date(a.end_date),"h:mm a")]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Duration")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:new Date(a.end_date).getTime()-new Date(a.start_date).getTime()>0?`${Math.round((new Date(a.end_date).getTime()-new Date(a.start_date).getTime())/(1e3*60*60))} ${t("hours")}`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Location Type")}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a.location_type==="virtual"?"bg-blue-50 text-blue-700 ring-blue-600/20":"bg-green-50 text-green-700 ring-green-600/20"}`,children:a.location_type==="virtual"?t("Virtual"):t("Physical")})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a.location_type==="virtual"?t("Meeting Link"):t("Location")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.location_type==="virtual"?a.meeting_link?e.jsx("a",{href:a.meeting_link,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline",children:a.meeting_link}):"-":a.location||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Created By")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(($=c.user)==null?void 0:$.name)||"-"})]})]}),a.notes&&e.jsxs("div",{className:"mt-4",children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Notes")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.notes})]})]})]}),e.jsxs(p,{children:[e.jsx(g,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Attendance")})}),e.jsxs(u,{children:[l&&l.length>0?e.jsxs(K,{children:[e.jsx(Q,{children:e.jsxs(j,{className:"dark:bg-gray-800 dark:border-gray-700",children:[e.jsx(o,{children:t("Employee")}),e.jsx(o,{children:t("Status")}),e.jsx(o,{children:t("Notes")})]})}),e.jsx(X,{children:l.map(s=>e.jsxs(j,{className:"dark:bg-gray-900 dark:border-gray-700 dark:hover:bg-gray-800",children:[e.jsx(m,{className:"font-medium",children:s.name}),e.jsx(m,{children:s.is_present?e.jsx(G,{variant:"outline",className:"bg-green-50 text-green-700",children:t("Present")}):e.jsx(G,{variant:"outline",className:"bg-red-50 text-red-700",children:t("Absent")})}),e.jsx(m,{children:s.notes||"-"})]},s.employee_id))})]}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No attendance data available")}),z(_,"manage-attendance")&&e.jsx("div",{className:"mt-4",children:e.jsxs(J,{variant:"default",onClick:v,children:[e.jsx(W,{className:"h-4 w-4 mr-2"}),t("Manage Attendance")]})})]})]})]}),e.jsxs("div",{children:[e.jsxs(p,{className:"mb-6",children:[e.jsx(g,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Program Details")})}),e.jsxs(u,{children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Program Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((O=a.training_program)==null?void 0:O.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Duration")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(L=a.training_program)!=null&&L.duration?`${a.training_program.duration} ${t("hours")}`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Cost")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(E=a.training_program)!=null&&E.cost?(F=window.appSettings)==null?void 0:F.formatCurrency(parseFloat(a.training_program.cost)):"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Capacity")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((B=a.training_program)==null?void 0:B.capacity)||"-"})]})]}),e.jsx("div",{className:"mt-4",children:e.jsx(J,{variant:"outline",onClick:()=>d.get(route("hr.training-programs.show",a.training_program_id)),className:"w-full",children:t("View Program Details")})})]})]}),e.jsxs(p,{children:[e.jsx(g,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Trainers")})}),e.jsx(u,{children:a.trainers&&a.trainers.length>0?e.jsx("div",{className:"space-y-4",children:a.trainers.map(s=>e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:s.avatar?e.jsx("img",{src:s.avatar,alt:s.name,className:"h-full w-full object-cover"}):ee(s.name||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:s.name}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:s.email})]})]},s.id))}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No trainers assigned")})})]})]})]}),e.jsx(Y,{isOpen:ae,onClose:()=>N(!1),onSubmit:de,formConfig:{fields:[{name:"training_program_id",label:t("Training Program"),type:"select",required:!0,options:[{value:a.training_program_id.toString(),label:((I=a.training_program)==null?void 0:I.name)||""}],disabled:!0},{name:"name",label:t("Session Name"),type:"text",helpText:t("Leave blank to use program name")},{name:"start_date",label:t("Start Date & Time"),type:"datetime-local",required:!0},{name:"end_date",label:t("End Date & Time"),type:"datetime-local",required:!0},{name:"location_type",label:t("Location Type"),type:"select",required:!0,options:[{value:"physical",label:t("Physical")},{value:"virtual",label:t("Virtual")}]},{name:"location",label:t("Location"),type:"text",showWhen:s=>s.location_type==="physical"},{name:"meeting_link",label:t("Meeting Link"),type:"text",showWhen:s=>s.location_type==="virtual"},{name:"status",label:t("Status"),type:"select",required:!0,options:[{value:"scheduled",label:t("Scheduled")},{value:"in_progress",label:t("In Progress")},{value:"completed",label:t("Completed")},{value:"cancelled",label:t("Cancelled")}]},{name:"notes",label:t("Notes"),type:"textarea"},{name:"trainer_ids",label:t("Trainers"),type:"multiselect",options:((q=c.trainers)==null?void 0:q.map(s=>({value:s.id.toString(),label:s.name})))||[]}],modalSize:"lg"},initialData:{...a,start_date:a.start_date?a.start_date.split(" ")[0]:"",start_time:a.start_date?(H=a.start_date.split(" ")[1])==null?void 0:H.substring(0,5):"",end_date:a.end_date?a.end_date.split(" ")[0]:"",end_time:a.end_date?(V=a.end_date.split(" ")[1])==null?void 0:V.substring(0,5):"",trainer_ids:(R=a.trainers)==null?void 0:R.map(s=>s.id.toString())},title:t("Edit Training Session"),mode:"edit"}),e.jsx(Y,{isOpen:re,onClose:()=>y(!1),onSubmit:oe,formConfig:{fields:[],modalSize:"lg",customContent:e.jsx("div",{className:"space-y-4",children:e.jsxs(K,{children:[e.jsx(Q,{children:e.jsxs(j,{children:[e.jsx(o,{children:t("Employee")}),e.jsx(o,{children:t("Present")}),e.jsx(o,{children:t("Notes")})]})}),e.jsx(X,{children:l.map(s=>e.jsxs(j,{children:[e.jsx(m,{className:"font-medium",children:s.name}),e.jsx(m,{children:e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(je,{id:`present-${s.employee_id}`,checked:s.is_present,onCheckedChange:n=>ne(s.employee_id,!!n)}),e.jsx("label",{htmlFor:`present-${s.employee_id}`,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:t("Present")})]})}),e.jsx(m,{children:e.jsx("input",{type:"text",value:s.notes||"",onChange:n=>le(s.employee_id,n.target.value),className:"w-full p-2 border rounded-md",placeholder:t("Add notes")})})]},s.employee_id))})]})})},initialData:{},title:t("Manage Attendance"),mode:"custom",submitLabel:t("Save Attendance")}),e.jsx(ue,{isOpen:te,onClose:()=>se(!1),onConfirm:me,itemName:a.name||((U=a.training_program)==null?void 0:U.name)||"",entityName:"training session"})]})}export{ht as default}; +import{r as x,j as e}from"./ui-Z445SNHD.js";import{P as pe}from"./page-template-CLNVC8w_.js";import{u as ge,c as he,x as z,V as W,C as p,m as g,n as h,l as u,B as G,o as J,r as d,t as r}from"./app-Dya84jp7.js";import{T as K,a as Q,b as j,c as o,d as X,e as m}from"./table-CM-_W5Cl.js";import{C as Y}from"./CrudFormModal-CsuqSfb2.js";import{C as ue}from"./CrudDeleteModal-D32N6I8y.js";import{C as je}from"./checkbox-BLrehV38.js";import{u as ye}from"./use-initials-BK4eRgYY.js";import{A as fe}from"./arrow-left-BUNj5JJK.js";import{f as b}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";function ht(){var w,C,S,T,M,A,D,P,$,O,L,E,F,B,I,q,H,V,R,U;const{t}=ge(),{auth:c,trainingSession:a,attendanceData:Z}=he().props,_=(c==null?void 0:c.permissions)||[],ee=ye(),[te,se]=x.useState(!1),[ae,N]=x.useState(!1),[re,y]=x.useState(!1),[l,k]=x.useState(Z||[]),ie=()=>{d.get(route("hr.training-sessions.index"))},v=()=>{y(!0)},ne=(s,n)=>{k(l.map(i=>i.employee_id===s?{...i,is_present:n}:i))},le=(s,n)=>{k(l.map(i=>i.employee_id===s?{...i,notes:n}:i))},de=s=>{const n={...s,start_date:s.start_date&&s.start_time?`${s.start_date} ${s.start_time}`:s.start_date,end_date:s.end_date&&s.end_time?`${s.end_date} ${s.end_time}`:s.end_date};delete n.start_time,delete n.end_time,r.loading(t("Updating session...")),d.put(route("hr.training-sessions.update",a.id),n,{onSuccess:i=>{N(!1),r.dismiss(),i.props.flash.success?r.success(t(i.props.flash.success)):i.props.flash.error&&r.error(t(i.props.flash.error))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(t(i)):r.error(t("Failed to update session: {{errors}}",{errors:Object.values(i).join(", ")}))}})},oe=()=>{r.loading(t("Updating attendance...")),d.post(route("hr.training-sessions.update-attendance",a.id),{attendance:l},{onSuccess:s=>{y(!1),r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error&&r.error(t(s.props.flash.error))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(t(s)):r.error(t("Failed to update attendance: {{errors}}",{errors:Object.values(s).join(", ")}))}})},me=()=>{r.loading(t("Deleting session...")),d.delete(route("hr.training-sessions.destroy",a.id),{onSuccess:s=>{r.dismiss(),s.props.flash.success?r.success(t(s.props.flash.success)):s.props.flash.error&&r.error(t(s.props.flash.error)),d.get(route("hr.training-sessions.index"))},onError:s=>{r.dismiss(),typeof s=="string"?r.error(t(s)):r.error(t("Failed to delete session: {{errors}}",{errors:Object.values(s).join(", ")}))}})},f=[];f.push({label:t("Back"),icon:e.jsx(fe,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:ie}),z(_,"manage-attendance")&&f.push({label:t("Manage Attendance"),icon:e.jsx(W,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:v});const ce=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.training-sessions.index")},{title:t("Training Management"),href:route("hr.training-sessions.index")},{title:t("Training Sessions"),href:route("hr.training-sessions.index")},{title:a.name||((w=a.training_program)==null?void 0:w.name)||""}],xe={scheduled:"bg-blue-50 text-blue-700 ring-blue-600/20",in_progress:"bg-amber-50 text-amber-700 ring-amber-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return e.jsxs(pe,{title:a.name||((C=a.training_program)==null?void 0:C.name)||"",url:`/hr/training/sessions/${a.id}`,actions:f,breadcrumbs:ce,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs(p,{className:"mb-6",children:[e.jsx(g,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsx("div",{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:((S=a.training_program)==null?void 0:S.name)||""})}),e.jsx("div",{children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-sm font-medium ring-1 ring-inset ${xe[a.status]||""}`,children:a.status.charAt(0).toUpperCase()+a.status.slice(1).replace("_"," ")})})]})}),e.jsxs(u,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((T=window.appSettings)==null?void 0:T.formatDateTimeSimple(a.start_date,!1))||b(new Date(a.start_date),"MMMM dd, yyyy")})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Time")}),e.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[((A=(M=window.appSettings)==null?void 0:M.formatDateTimeSimple(a.start_date,!0))==null?void 0:A.split(" ").slice(-2).join(" "))||b(new Date(a.start_date),"h:mm a")," - ",((P=(D=window.appSettings)==null?void 0:D.formatDateTimeSimple(a.end_date,!0))==null?void 0:P.split(" ").slice(-2).join(" "))||b(new Date(a.end_date),"h:mm a")]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Duration")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:new Date(a.end_date).getTime()-new Date(a.start_date).getTime()>0?`${Math.round((new Date(a.end_date).getTime()-new Date(a.start_date).getTime())/(1e3*60*60))} ${t("hours")}`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Location Type")}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${a.location_type==="virtual"?"bg-blue-50 text-blue-700 ring-blue-600/20":"bg-green-50 text-green-700 ring-green-600/20"}`,children:a.location_type==="virtual"?t("Virtual"):t("Physical")})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:a.location_type==="virtual"?t("Meeting Link"):t("Location")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:a.location_type==="virtual"?a.meeting_link?e.jsx("a",{href:a.meeting_link,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline",children:a.meeting_link}):"-":a.location||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Created By")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(($=c.user)==null?void 0:$.name)||"-"})]})]}),a.notes&&e.jsxs("div",{className:"mt-4",children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Notes")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.notes})]})]})]}),e.jsxs(p,{children:[e.jsx(g,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Attendance")})}),e.jsxs(u,{children:[l&&l.length>0?e.jsxs(K,{children:[e.jsx(Q,{children:e.jsxs(j,{className:"dark:bg-gray-800 dark:border-gray-700",children:[e.jsx(o,{children:t("Employee")}),e.jsx(o,{children:t("Status")}),e.jsx(o,{children:t("Notes")})]})}),e.jsx(X,{children:l.map(s=>e.jsxs(j,{className:"dark:bg-gray-900 dark:border-gray-700 dark:hover:bg-gray-800",children:[e.jsx(m,{className:"font-medium",children:s.name}),e.jsx(m,{children:s.is_present?e.jsx(G,{variant:"outline",className:"bg-green-50 text-green-700",children:t("Present")}):e.jsx(G,{variant:"outline",className:"bg-red-50 text-red-700",children:t("Absent")})}),e.jsx(m,{children:s.notes||"-"})]},s.employee_id))})]}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No attendance data available")}),z(_,"manage-attendance")&&e.jsx("div",{className:"mt-4",children:e.jsxs(J,{variant:"default",onClick:v,children:[e.jsx(W,{className:"h-4 w-4 mr-2"}),t("Manage Attendance")]})})]})]})]}),e.jsxs("div",{children:[e.jsxs(p,{className:"mb-6",children:[e.jsx(g,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Program Details")})}),e.jsxs(u,{children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Program Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((O=a.training_program)==null?void 0:O.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Duration")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(L=a.training_program)!=null&&L.duration?`${a.training_program.duration} ${t("hours")}`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Cost")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(E=a.training_program)!=null&&E.cost?(F=window.appSettings)==null?void 0:F.formatCurrency(parseFloat(a.training_program.cost)):"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Capacity")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((B=a.training_program)==null?void 0:B.capacity)||"-"})]})]}),e.jsx("div",{className:"mt-4",children:e.jsx(J,{variant:"outline",onClick:()=>d.get(route("hr.training-programs.show",a.training_program_id)),className:"w-full",children:t("View Program Details")})})]})]}),e.jsxs(p,{children:[e.jsx(g,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Trainers")})}),e.jsx(u,{children:a.trainers&&a.trainers.length>0?e.jsx("div",{className:"space-y-4",children:a.trainers.map(s=>e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:s.avatar?e.jsx("img",{src:s.avatar,alt:s.name,className:"h-full w-full object-cover"}):ee(s.name||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:s.name}),e.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:s.email})]})]},s.id))}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No trainers assigned")})})]})]})]}),e.jsx(Y,{isOpen:ae,onClose:()=>N(!1),onSubmit:de,formConfig:{fields:[{name:"training_program_id",label:t("Training Program"),type:"select",required:!0,options:[{value:a.training_program_id.toString(),label:((I=a.training_program)==null?void 0:I.name)||""}],disabled:!0},{name:"name",label:t("Session Name"),type:"text",helpText:t("Leave blank to use program name")},{name:"start_date",label:t("Start Date & Time"),type:"datetime-local",required:!0},{name:"end_date",label:t("End Date & Time"),type:"datetime-local",required:!0},{name:"location_type",label:t("Location Type"),type:"select",required:!0,options:[{value:"physical",label:t("Physical")},{value:"virtual",label:t("Virtual")}]},{name:"location",label:t("Location"),type:"text",showWhen:s=>s.location_type==="physical"},{name:"meeting_link",label:t("Meeting Link"),type:"text",showWhen:s=>s.location_type==="virtual"},{name:"status",label:t("Status"),type:"select",required:!0,options:[{value:"scheduled",label:t("Scheduled")},{value:"in_progress",label:t("In Progress")},{value:"completed",label:t("Completed")},{value:"cancelled",label:t("Cancelled")}]},{name:"notes",label:t("Notes"),type:"textarea"},{name:"trainer_ids",label:t("Trainers"),type:"multiselect",options:((q=c.trainers)==null?void 0:q.map(s=>({value:s.id.toString(),label:s.name})))||[]}],modalSize:"lg"},initialData:{...a,start_date:a.start_date?a.start_date.split(" ")[0]:"",start_time:a.start_date?(H=a.start_date.split(" ")[1])==null?void 0:H.substring(0,5):"",end_date:a.end_date?a.end_date.split(" ")[0]:"",end_time:a.end_date?(V=a.end_date.split(" ")[1])==null?void 0:V.substring(0,5):"",trainer_ids:(R=a.trainers)==null?void 0:R.map(s=>s.id.toString())},title:t("Edit Training Session"),mode:"edit"}),e.jsx(Y,{isOpen:re,onClose:()=>y(!1),onSubmit:oe,formConfig:{fields:[],modalSize:"lg",customContent:e.jsx("div",{className:"space-y-4",children:e.jsxs(K,{children:[e.jsx(Q,{children:e.jsxs(j,{children:[e.jsx(o,{children:t("Employee")}),e.jsx(o,{children:t("Present")}),e.jsx(o,{children:t("Notes")})]})}),e.jsx(X,{children:l.map(s=>e.jsxs(j,{children:[e.jsx(m,{className:"font-medium",children:s.name}),e.jsx(m,{children:e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(je,{id:`present-${s.employee_id}`,checked:s.is_present,onCheckedChange:n=>ne(s.employee_id,!!n)}),e.jsx("label",{htmlFor:`present-${s.employee_id}`,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:t("Present")})]})}),e.jsx(m,{children:e.jsx("input",{type:"text",value:s.notes||"",onChange:n=>le(s.employee_id,n.target.value),className:"w-full p-2 border rounded-md",placeholder:t("Add notes")})})]},s.employee_id))})]})})},initialData:{},title:t("Manage Attendance"),mode:"custom",submitLabel:t("Save Attendance")}),e.jsx(ue,{isOpen:te,onClose:()=>se(!1),onConfirm:me,itemName:a.name||((U=a.training_program)==null?void 0:U.name)||"",entityName:"training session"})]})}export{ht as default}; diff --git a/public/build/assets/show-BN_q1h7s.js b/public/build/assets/show-CGoKk1jF.js similarity index 82% rename from public/build/assets/show-BN_q1h7s.js rename to public/build/assets/show-CGoKk1jF.js index c01d2f1d8..801359fb1 100644 --- a/public/build/assets/show-BN_q1h7s.js +++ b/public/build/assets/show-CGoKk1jF.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as N}from"./page-template-BTxLyiDA.js";import{u as w,c as _,C as n,l as m,r as v,B as d}from"./app-CfhhiFAk.js";import{P as C}from"./pagination-D8A_HnL5.js";import{T,a as S,b as c,c as k,d as $,e as g}from"./table-BXUOKUBo.js";import{D as h}from"./dollar-sign-DYXFWWsE.js";import{T as D}from"./trending-up-Bi4f72Tj.js";import{U as P}from"./users-C4LpG59H.js";import{A as U}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function ye(){var x,p,u;const{t:s}=w(),{coupon:a,usage_history:l}=_().props,j=[{title:s("Dashboard"),href:route("dashboard")},{title:s("Coupons"),href:route("coupons.index")},{title:a.name}],o=[{key:"user_name",label:s("User"),sortable:!0},{key:"user_email",label:s("Email"),sortable:!0},{key:"order_id",label:s("Order ID"),sortable:!0},{key:"amount",label:s("Order Amount"),render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatCurrency(t))||`$${t.toFixed(2)}`}},{key:"discount_amount",label:s("Discount Applied"),render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatCurrency(t))||`$${t.toFixed(2)}`}},{key:"used_at",label:s("Used At"),sortable:!0,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||t}}],b=(t,r)=>{var i;return t==="percentage"?`${r}%`:((i=window.appSettings)==null?void 0:i.formatCurrency(r))||`$${r.toFixed(2)}`},f=t=>t?e.jsx(d,{className:"bg-green-100 text-green-800",children:s("Active")}):e.jsx(d,{className:"bg-red-100 text-red-800",children:s("Inactive")}),y=t=>{const r=t==="percentage"?"bg-blue-100 text-blue-800":"bg-green-100 text-green-800",i=s(t==="percentage"?"Percentage":"Flat Amount");return e.jsx(d,{className:r,children:i})};return e.jsx(N,{title:a.name,breadcrumbs:j,actions:[{label:s("Back"),icon:e.jsx(U,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>v.get(route("coupons.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:s("Coupon Details & Usage History")}),f(a.status)]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 mb-2",children:s("Discount Value")}),e.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:b(a.type,a.discount_amount)})]}),e.jsx("div",{className:"rounded-full bg-blue-50 p-3",children:e.jsx(h,{className:"h-5 w-5 text-blue-600"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 mb-2",children:s("Times Used")}),e.jsxs("h3",{className:"text-2xl font-bold text-gray-900",children:[a.used_count,a.use_limit_per_coupon&&` / ${a.use_limit_per_coupon}`]})]}),e.jsx("div",{className:"rounded-full bg-green-50 p-3",children:e.jsx(D,{className:"h-5 w-5 text-green-600"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 mb-2",children:s("User Limit")}),e.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:a.use_limit_per_user||s("Unlimited")})]}),e.jsx("div",{className:"rounded-full bg-purple-50 p-3",children:e.jsx(P,{className:"h-5 w-5 text-purple-600"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 mb-2",children:s("Expires")}),e.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:a.expiry_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(a.expiry_date,!1))||a.expiry_date:s("Never")})]}),e.jsx("div",{className:"rounded-full bg-orange-50 p-3",children:e.jsx(h,{className:"h-5 w-5 text-orange-600"})})]})})})]}),e.jsx(n,{children:e.jsxs(m,{className:"p-6",children:[e.jsx("h2",{className:"text-lg text-gray-900 mb-6",children:s("Coupon Information")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-gray-600",children:s("Coupon Code")}),e.jsx("p",{className:"mt-1 text-base font-mono bg-gray-100 dark:bg-gray-800 px-3 py-2 rounded",children:a.code})]}),a.minimum_spend&&e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-gray-600",children:s("Minimum Spend")}),e.jsx("p",{className:"mt-1 text-base text-gray-900",children:((p=window.appSettings)==null?void 0:p.formatCurrency(a.minimum_spend))||`$${a.minimum_spend.toFixed(2)}`})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-gray-600",children:s("Type")}),e.jsx("div",{className:"mt-1",children:y(a.type)})]}),a.maximum_spend&&e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-gray-600",children:s("Maximum Spend")}),e.jsx("p",{className:"mt-1 text-base text-gray-900",children:((u=window.appSettings)==null?void 0:u.formatCurrency(a.maximum_spend))||`$${a.maximum_spend.toFixed(2)}`})]})]})]})}),e.jsx(n,{children:e.jsxs(m,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:s("Usage History")}),e.jsx("div",{className:"border rounded-lg overflow-hidden",children:e.jsxs(T,{children:[e.jsx(S,{children:e.jsx(c,{children:o.map(t=>e.jsx(k,{className:"text-sm font-semibold text-gray-600",children:t.label},t.key))})}),e.jsx($,{children:l.data&&l.data.length>0?l.data.map((t,r)=>e.jsx(c,{children:o.map(i=>e.jsx(g,{className:"text-sm font-medium text-gray-900",children:i.render?i.render(t[i.key]):t[i.key]},i.key))},r)):e.jsx(c,{children:e.jsx(g,{colSpan:o.length,className:"text-center py-8 text-base text-gray-500",children:s("No usage history found")})})})]})}),l.last_page>1&&e.jsx("div",{className:"mt-4",children:e.jsx(C,{from:l.from||0,to:l.to||0,total:l.total||0,currentPage:l.current_page,lastPage:l.last_page,entityName:s("records"),onPageChange:t=>{const i=new URL(t,window.location.origin).searchParams.get("page");window.location.href=route("coupons.show",{coupon:a.id,page:i})}})})]})})]})})}export{ye as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as N}from"./page-template-CLNVC8w_.js";import{u as w,c as _,C as n,l as m,r as v,B as d}from"./app-Dya84jp7.js";import{P as C}from"./pagination-4PUepASD.js";import{T,a as S,b as c,c as k,d as $,e as g}from"./table-CM-_W5Cl.js";import{D as h}from"./dollar-sign-DH2Tc178.js";import{T as D}from"./trending-up-BT453ptk.js";import{U as P}from"./users-BzCDZrS0.js";import{A as U}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function ye(){var x,p,u;const{t:s}=w(),{coupon:a,usage_history:l}=_().props,j=[{title:s("Dashboard"),href:route("dashboard")},{title:s("Coupons"),href:route("coupons.index")},{title:a.name}],o=[{key:"user_name",label:s("User"),sortable:!0},{key:"user_email",label:s("Email"),sortable:!0},{key:"order_id",label:s("Order ID"),sortable:!0},{key:"amount",label:s("Order Amount"),render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatCurrency(t))||`$${t.toFixed(2)}`}},{key:"discount_amount",label:s("Discount Applied"),render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatCurrency(t))||`$${t.toFixed(2)}`}},{key:"used_at",label:s("Used At"),sortable:!0,render:t=>{var r;return((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t,!1))||t}}],b=(t,r)=>{var i;return t==="percentage"?`${r}%`:((i=window.appSettings)==null?void 0:i.formatCurrency(r))||`$${r.toFixed(2)}`},f=t=>t?e.jsx(d,{className:"bg-green-100 text-green-800",children:s("Active")}):e.jsx(d,{className:"bg-red-100 text-red-800",children:s("Inactive")}),y=t=>{const r=t==="percentage"?"bg-blue-100 text-blue-800":"bg-green-100 text-green-800",i=s(t==="percentage"?"Percentage":"Flat Amount");return e.jsx(d,{className:r,children:i})};return e.jsx(N,{title:a.name,breadcrumbs:j,actions:[{label:s("Back"),icon:e.jsx(U,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>v.get(route("coupons.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:s("Coupon Details & Usage History")}),f(a.status)]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 mb-2",children:s("Discount Value")}),e.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:b(a.type,a.discount_amount)})]}),e.jsx("div",{className:"rounded-full bg-blue-50 p-3",children:e.jsx(h,{className:"h-5 w-5 text-blue-600"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 mb-2",children:s("Times Used")}),e.jsxs("h3",{className:"text-2xl font-bold text-gray-900",children:[a.used_count,a.use_limit_per_coupon&&` / ${a.use_limit_per_coupon}`]})]}),e.jsx("div",{className:"rounded-full bg-green-50 p-3",children:e.jsx(D,{className:"h-5 w-5 text-green-600"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 mb-2",children:s("User Limit")}),e.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:a.use_limit_per_user||s("Unlimited")})]}),e.jsx("div",{className:"rounded-full bg-purple-50 p-3",children:e.jsx(P,{className:"h-5 w-5 text-purple-600"})})]})})}),e.jsx(n,{children:e.jsx(m,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-gray-500 mb-2",children:s("Expires")}),e.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:a.expiry_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(a.expiry_date,!1))||a.expiry_date:s("Never")})]}),e.jsx("div",{className:"rounded-full bg-orange-50 p-3",children:e.jsx(h,{className:"h-5 w-5 text-orange-600"})})]})})})]}),e.jsx(n,{children:e.jsxs(m,{className:"p-6",children:[e.jsx("h2",{className:"text-lg text-gray-900 mb-6",children:s("Coupon Information")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-gray-600",children:s("Coupon Code")}),e.jsx("p",{className:"mt-1 text-base font-mono bg-gray-100 dark:bg-gray-800 px-3 py-2 rounded",children:a.code})]}),a.minimum_spend&&e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-gray-600",children:s("Minimum Spend")}),e.jsx("p",{className:"mt-1 text-base text-gray-900",children:((p=window.appSettings)==null?void 0:p.formatCurrency(a.minimum_spend))||`$${a.minimum_spend.toFixed(2)}`})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-gray-600",children:s("Type")}),e.jsx("div",{className:"mt-1",children:y(a.type)})]}),a.maximum_spend&&e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium text-gray-600",children:s("Maximum Spend")}),e.jsx("p",{className:"mt-1 text-base text-gray-900",children:((u=window.appSettings)==null?void 0:u.formatCurrency(a.maximum_spend))||`$${a.maximum_spend.toFixed(2)}`})]})]})]})}),e.jsx(n,{children:e.jsxs(m,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:s("Usage History")}),e.jsx("div",{className:"border rounded-lg overflow-hidden",children:e.jsxs(T,{children:[e.jsx(S,{children:e.jsx(c,{children:o.map(t=>e.jsx(k,{className:"text-sm font-semibold text-gray-600",children:t.label},t.key))})}),e.jsx($,{children:l.data&&l.data.length>0?l.data.map((t,r)=>e.jsx(c,{children:o.map(i=>e.jsx(g,{className:"text-sm font-medium text-gray-900",children:i.render?i.render(t[i.key]):t[i.key]},i.key))},r)):e.jsx(c,{children:e.jsx(g,{colSpan:o.length,className:"text-center py-8 text-base text-gray-500",children:s("No usage history found")})})})]})}),l.last_page>1&&e.jsx("div",{className:"mt-4",children:e.jsx(C,{from:l.from||0,to:l.to||0,total:l.total||0,currentPage:l.current_page,lastPage:l.last_page,entityName:s("records"),onPageChange:t=>{const i=new URL(t,window.location.origin).searchParams.get("page");window.location.href=route("coupons.show",{coupon:a.id,page:i})}})})]})})]})})}export{ye as default}; diff --git a/public/build/assets/show-DRD8df6K.js b/public/build/assets/show-CWZul8W_.js similarity index 93% rename from public/build/assets/show-DRD8df6K.js rename to public/build/assets/show-CWZul8W_.js index 22122749f..0acb62698 100644 --- a/public/build/assets/show-DRD8df6K.js +++ b/public/build/assets/show-CWZul8W_.js @@ -1 +1 @@ -import{r as _,j as e}from"./ui-Z445SNHD.js";import{P as Ue}from"./page-template-BTxLyiDA.js";import{u as We,c as Ge,t as r,r as N,C as d,l as m,x as c,m as y,n as p,F as v,o as g,V as Xe,X as Ze}from"./app-CfhhiFAk.js";import{T as qe,a as Ke,b as j,c as f}from"./tabs-pc4jrsjt.js";import{C as Qe}from"./CrudDeleteModal-CKTiD3_K.js";import{u as Ye}from"./use-initials-BK4eRgYY.js";import{D as b,a as D,b as C,c as u}from"./CookieConsentBanner-Do3n0EfV.js";import{A as et}from"./arrow-left-B_Yqvwsn.js";import{U as tt}from"./user-C37aWgZX.js";import{M as st}from"./mail-CGIE7ZEy.js";import{P as at}from"./phone-B_MwJBjY.js";import{C as Oe}from"./calendar-CfUpdaK5.js";import{B as Ae}from"./building-Cyq-0nCs.js";import{B as rt}from"./briefcase-CLRn8zVu.js";import{D as S}from"./download-Bk1k2_dW.js";import{C as E}from"./chevron-up-DepFp6b6.js";import{E as it}from"./eye--FVGKpVp.js";import{T as nt}from"./trash-2-C1NR_7Ss.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./credit-card-BmdpMcMw.js";import"./settings-BwhyNRyj.js";import"./gift-DXGdvbnX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./switch-CKduD2wX.js";function es(){var B,P,I,O,A,$,F,M,L,R,z,V,H,J,U,W,G,X,Z,q,K,Q,Y,ee,te,se,ae,re,ie,ne,le,de,me,ce,xe,oe,ge,he,ye,pe,je,fe,ue,Ne,ke,ve,we,_e,be,De,Ce,Se,Ee,Te,Be,Pe,Ie;const{t}=We(),{auth:w,employee:s,flash:x}=Ge().props,n=(w==null?void 0:w.permissions)||[],$e=Ye(),[Fe,Me]=_.useState(!1),[Le,Re]=_.useState("basic_info");_.useEffect(()=>{x!=null&&x.success&&r.success(t(x.success)),x!=null&&x.error&&r.error(t(x.error))},[x,t]);const ze=()=>{r.loading(t("Deleting employee...")),N.delete(route("hr.employees.destroy",s.id),{onSuccess:a=>{r.dismiss(),N.get(route("hr.employees.index"))},onError:a=>{r.dismiss(),typeof a=="string"?r.error(t(a)):r.error(t("Failed to delete employee: {{errors}}",{errors:Object.values(a).join(", ")}))}})},Ve=a=>{r.loading(t("Deleting document...")),N.delete(route("hr.employees.documents.destroy",[s.id,a]),{onSuccess:i=>{r.dismiss(),i.props.flash.success?r.success(t(i.props.flash.success)):i.props.flash.error&&r.error(t(i.props.flash.error))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(t(i)):r.error(t("Failed to delete document: {{errors}}",{errors:Object.values(i).join(", ")}))}})},T=(a,i)=>{const l=i==="verified"?"approve":"reject";r.loading(t(`${i==="verified"?"Approving":"Rejecting"} document...`)),N.put(route(`hr.employees.documents.${l}`,[s.id,a]),{},{onSuccess:o=>{var k;r.dismiss(),(k=o.props.flash)!=null&&k.success?r.success(t(o.props.flash.success)):r.success(t(`Document ${i==="verified"?"approved":"rejected"} successfully`))},onError:o=>{r.dismiss();const k=(o==null?void 0:o.message)||Object.values(o)[0]||`Failed to ${l} document`;r.error(t(k))}})},h=(a,i)=>{if(a==="joining_letter"){const l=route("hr.employees.download-joining-letter",[s.id,i]);window.open(l,"_blank")}else if(a==="experience_certificate"){const l=route("hr.employees.download-experience-certificate",[s.id,i]);window.open(l,"_blank")}else if(a==="noc"){const l=route("hr.employees.download-noc-certificate",[s.id,i]);window.open(l,"_blank")}},He=[{label:t("Back"),icon:e.jsx(et,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>N.get(route("hr.employees.index"))}],Je=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.employees.index")},{title:t("Employees"),href:route("hr.employees.index")},{title:(s==null?void 0:s.name)||t("Employee Details")}];return e.jsxs(Ue,{title:(s==null?void 0:s.name)||t("Employee Details"),url:`/hr/employees/${s==null?void 0:s.id}`,actions:He,breadcrumbs:Je,children:[e.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-4 gap-4 lg:gap-6",children:[e.jsx(d,{className:"xl:col-span-1",children:e.jsx(m,{className:"p-4 sm:p-6",children:e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("div",{className:"h-24 w-24 sm:h-32 sm:w-32 rounded-full bg-primary text-white flex items-center justify-center text-2xl sm:text-3xl font-bold mb-4 overflow-hidden",children:s.avatar?e.jsx("img",{src:s.avatar,alt:s.name,className:"h-full w-full object-cover"}):$e(s.name)}),e.jsx("h2",{className:"text-lg sm:text-xl font-bold mb-1 text-center text-gray-900 dark:text-gray-100",children:s.name}),e.jsx("p",{className:"text-xs sm:text-sm text-gray-600 dark:text-gray-400 mb-2 text-center",children:((P=(B=s.employee)==null?void 0:B.designation)==null?void 0:P.name)||"-"}),e.jsxs("div",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset mb-4 ${((I=s.employee)==null?void 0:I.employee_status)==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":((O=s.employee)==null?void 0:O.employee_status)==="inactive"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":((A=s.employee)==null?void 0:A.employee_status)==="probation"?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":((($=s.employee)==null?void 0:$.employee_status)==="terminated","bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20")}`,children:[((F=s.employee)==null?void 0:F.employee_status)==="active"&&t("Active"),((M=s.employee)==null?void 0:M.employee_status)==="inactive"&&t("Inactive"),((L=s.employee)==null?void 0:L.employee_status)==="probation"&&t("Probation"),((R=s.employee)==null?void 0:R.employee_status)==="terminated"&&t("Terminated"),!((z=s.employee)!=null&&z.employee_status)&&"-"]}),e.jsxs("div",{className:"w-full space-y-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(tt,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsxs("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:[t("Employee ID"),": ",(V=s.employee)==null?void 0:V.employee_id]})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(st,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.email})]}),((H=s.employee)==null?void 0:H.phone)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(at,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.employee.phone})]}),((J=s.employee)==null?void 0:J.date_of_birth)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Oe,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsxs("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:[t("DOB"),": ",((U=window.appSettings)==null?void 0:U.formatDateTimeSimple(s.employee.date_of_birth,!1))||new Date(s.employee.date_of_birth).toLocaleDateString()]})]}),((W=s.employee)==null?void 0:W.date_of_joining)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Oe,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsxs("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:[t("Joined"),": ",((G=window.appSettings)==null?void 0:G.formatDateTimeSimple(s.employee.date_of_joining,!1))||new Date(s.employee.date_of_joining).toLocaleDateString()]})]}),((Z=(X=s.employee)==null?void 0:X.department)==null?void 0:Z.name)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Ae,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.employee.department.name})]}),((K=(q=s.employee)==null?void 0:q.branch)==null?void 0:K.name)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Ae,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.employee.branch.name})]}),((Q=s.employee)==null?void 0:Q.employment_type)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(rt,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.employee.employment_type})]})]})]})})}),e.jsx("div",{className:"xl:col-span-3",children:e.jsxs(qe,{value:Le,onValueChange:Re,className:"w-full",children:[e.jsxs(Ke,{className:"grid grid-cols-6 mb-4",children:[e.jsx(j,{value:"basic_info",children:t("Basic Info")}),e.jsx(j,{value:"employment",children:t("Employment")}),e.jsx(j,{value:"contact",children:t("Contact")}),e.jsx(j,{value:"banking",children:t("Banking")}),(c(n,"download-joining-letter")||c(n,"download-experience-certificate")||c(n,"download-noc-certificate"))&&e.jsx(j,{value:"certifications",children:t("Certifications")}),e.jsx(j,{value:"documents",children:t("Documents")})]}),e.jsx(f,{value:"basic_info",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(m,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Full Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:s.name})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Employee ID")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(Y=s.employee)==null?void 0:Y.employee_id})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Email")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:s.email})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Phone Number")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ee=s.employee)==null?void 0:ee.phone)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Employee Code")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((te=s.employee)==null?void 0:te.biometric_emp_id)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Date of Birth")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(se=s.employee)!=null&&se.date_of_birth?((ae=window.appSettings)==null?void 0:ae.formatDateTimeSimple(s.employee.date_of_birth,!1))||new Date(s.employee.date_of_birth).toLocaleDateString():"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Gender")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(re=s.employee)!=null&&re.gender?t(s.employee.gender.charAt(0).toUpperCase()+s.employee.gender.slice(1)):"-"})]})]})})]})}),e.jsx(f,{value:"employment",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Employment Details")})}),e.jsx(m,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Branch")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ne=(ie=s.employee)==null?void 0:ie.branch)==null?void 0:ne.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((de=(le=s.employee)==null?void 0:le.department)==null?void 0:de.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Designation")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ce=(me=s.employee)==null?void 0:me.designation)==null?void 0:ce.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Date of Joining")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(xe=s.employee)!=null&&xe.date_of_joining?((oe=window.appSettings)==null?void 0:oe.formatDateTimeSimple(s.employee.date_of_joining,!1))||new Date(s.employee.date_of_joining).toLocaleDateString():"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Employment Type")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ge=s.employee)==null?void 0:ge.employment_type)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Shift")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(he=s.employee)!=null&&he.shift?`${s.employee.shift.name} (${s.employee.shift.start_time} - ${s.employee.shift.end_time})`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Attendance Policy")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((pe=(ye=s.employee)==null?void 0:ye.attendance_policy)==null?void 0:pe.name)||"-"})]})]})})]})}),e.jsx(f,{value:"contact",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Contact Information")})}),e.jsxs(m,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Address Line 1")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((je=s.employee)==null?void 0:je.address_line_1)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Address Line 2")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((fe=s.employee)==null?void 0:fe.address_line_2)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("City")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ue=s.employee)==null?void 0:ue.city)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("State/Province")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Ne=s.employee)==null?void 0:Ne.state)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Country")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ke=s.employee)==null?void 0:ke.country)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Postal/Zip Code")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ve=s.employee)==null?void 0:ve.postal_code)||"-"})]})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-gray-100 mb-4",children:t("Emergency Contact")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((we=s.employee)==null?void 0:we.emergency_contact_name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Relationship")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((_e=s.employee)==null?void 0:_e.emergency_contact_relationship)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Phone Number")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((be=s.employee)==null?void 0:be.emergency_contact_number)||"-"})]})]})]})]})]})}),e.jsx(f,{value:"banking",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Banking Information")})}),e.jsx(m,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Bank Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((De=s.employee)==null?void 0:De.bank_name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Account Holder Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Ce=s.employee)==null?void 0:Ce.account_holder_name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Account Number")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Se=s.employee)==null?void 0:Se.account_number)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Bank Identifier Code (BIC/SWIFT)")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Ee=s.employee)==null?void 0:Ee.bank_identifier_code)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Bank Branch")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Te=s.employee)==null?void 0:Te.bank_branch)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Tax Payer ID")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Be=s.employee)==null?void 0:Be.tax_payer_id)||"-"})]}),((Pe=s.employee)==null?void 0:Pe.base_salary)&&e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Base Salary")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:s.employee.base_salary})]})]})})]})}),e.jsx(f,{value:"certifications",children:(c(n,"download-joining-letter")||c(n,"download-experience-certificate")||c(n,"download-noc-certificate"))&&e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Employee Certifications")})}),e.jsx(m,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[c(n,"download-joining-letter")&&e.jsx(d,{className:"border",children:e.jsxs(m,{className:"p-4",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(v,{className:"h-8 w-8 mr-3 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900 dark:text-gray-100",children:t("Joining Letter")}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("Official joining letter document")})]})]})}),e.jsx("div",{className:"mt-4",children:e.jsxs(b,{children:[e.jsx(D,{asChild:!0,children:e.jsxs(g,{variant:"outline",className:"w-full",children:[e.jsx(S,{className:"mr-2 h-4 w-4"}),t("Download"),e.jsx(E,{className:"ml-2 h-4 w-4"})]})}),e.jsxs(C,{className:"w-full",children:[e.jsx(u,{onClick:()=>h("joining_letter","pdf"),children:t("PDF")}),e.jsx(u,{onClick:()=>h("joining_letter","doc"),children:t("DOC")})]})]})})]})}),c(n,"download-experience-certificate")&&e.jsx(d,{className:"border",children:e.jsxs(m,{className:"p-4",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(v,{className:"h-8 w-8 mr-3 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900 dark:text-gray-100",children:t("Experience Certificate")}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("Work experience certificate")})]})]})}),e.jsx("div",{className:"mt-4",children:e.jsxs(b,{children:[e.jsx(D,{asChild:!0,children:e.jsxs(g,{variant:"outline",className:"w-full",children:[e.jsx(S,{className:"mr-2 h-4 w-4"}),t("Download"),e.jsx(E,{className:"ml-2 h-4 w-4"})]})}),e.jsxs(C,{className:"w-full",children:[e.jsx(u,{onClick:()=>h("experience_certificate","pdf"),children:t("PDF")}),e.jsx(u,{onClick:()=>h("experience_certificate","doc"),children:t("DOC")})]})]})})]})}),c(n,"download-noc-certificate")&&e.jsx(d,{className:"border",children:e.jsxs(m,{className:"p-4",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(v,{className:"h-8 w-8 mr-3 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900 dark:text-gray-100",children:t("NOC")}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("No Objection Certificate")})]})]})}),e.jsx("div",{className:"mt-4",children:e.jsxs(b,{children:[e.jsx(D,{asChild:!0,children:e.jsxs(g,{variant:"outline",className:"w-full",children:[e.jsx(S,{className:"mr-2 h-4 w-4"}),t("Download"),e.jsx(E,{className:"ml-2 h-4 w-4"})]})}),e.jsxs(C,{className:"w-full",children:[e.jsx(u,{onClick:()=>h("noc","pdf"),children:t("PDF")}),e.jsx(u,{onClick:()=>h("noc","doc"),children:t("DOC")})]})]})})]})})]})})]})}),e.jsx(f,{value:"documents",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Documents")})}),e.jsx(m,{children:(Ie=s.employee)!=null&&Ie.documents&&s.employee.documents.length>0?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:s.employee.documents.map(a=>{var i,l;return e.jsx(d,{className:"border",children:e.jsx(m,{className:"p-4",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(v,{className:"h-8 w-8 mr-3 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900 dark:text-gray-100",children:(i=a.document_type)==null?void 0:i.name}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:a.expiry_date?`${t("Expires")}: ${((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(a.expiry_date,!1))||new Date(a.expiry_date).toLocaleDateString()}`:t("No expiry date")}),e.jsx("div",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset mt-2 ${a.verification_status==="verified"?"bg-green-50 text-green-700 ring-green-600/20":a.verification_status==="rejected"?"bg-red-50 text-red-700 ring-red-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:a.verification_status==="verified"?t("Verified"):a.verification_status==="rejected"?t("Rejected"):t("Pending")})]})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx(g,{variant:"outline",size:"sm",onClick:()=>window.open(a.document_url||a.file_path,"_blank"),children:e.jsx(it,{className:"h-4 w-4"})}),c(n,"edit-employees")&&e.jsx(g,{variant:"outline",size:"sm",onClick:()=>Ve(a.id),children:e.jsx(nt,{className:"h-4 w-4 text-red-500"})}),c(n,"edit-employees")&&a.verification_status==="pending"&&e.jsxs(e.Fragment,{children:[e.jsx(g,{variant:"outline",size:"sm",onClick:()=>T(a.id,"verified"),className:"text-green-600 hover:text-green-700",children:e.jsx(Xe,{className:"h-4 w-4"})}),e.jsx(g,{variant:"outline",size:"sm",onClick:()=>T(a.id,"rejected"),className:"text-red-600 hover:text-red-700",children:e.jsx(Ze,{className:"h-4 w-4"})})]})]})]})})},a.id)})}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No documents found")})})]})})]})})]}),e.jsx(Qe,{isOpen:Fe,onClose:()=>Me(!1),onConfirm:ze,itemName:(s==null?void 0:s.name)||"",entityName:"employee"})]})}export{es as default}; +import{r as _,j as e}from"./ui-Z445SNHD.js";import{P as Ue}from"./page-template-CLNVC8w_.js";import{u as We,c as Ge,t as r,r as N,C as d,l as m,x as c,m as y,n as p,F as v,o as g,V as Xe,X as Ze}from"./app-Dya84jp7.js";import{T as qe,a as Ke,b as j,c as f}from"./tabs-CsP5VcXV.js";import{C as Qe}from"./CrudDeleteModal-D32N6I8y.js";import{u as Ye}from"./use-initials-BK4eRgYY.js";import{D as b,a as D,b as C,c as u}from"./CookieConsentBanner-dwye0O-l.js";import{A as et}from"./arrow-left-BUNj5JJK.js";import{U as tt}from"./user-77BPqA3J.js";import{M as st}from"./mail-Cha_PX4q.js";import{P as at}from"./phone-3MnRoAYu.js";import{C as Oe}from"./calendar-DuRYaSj5.js";import{B as Ae}from"./building-DyhEfKj4.js";import{B as rt}from"./briefcase-Btn3T9V4.js";import{D as S}from"./download-BBNmalxc.js";import{C as E}from"./chevron-up-DHaGktre.js";import{E as it}from"./eye-CCNnMtu4.js";import{T as nt}from"./trash-2-BeirBLIk.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./credit-card-BKi_ThdS.js";import"./settings-amvA_CjN.js";import"./gift-CQwwB55q.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./switch-DyHgm-Sg.js";function es(){var B,P,I,O,A,$,F,M,L,R,z,V,H,J,U,W,G,X,Z,q,K,Q,Y,ee,te,se,ae,re,ie,ne,le,de,me,ce,xe,oe,ge,he,ye,pe,je,fe,ue,Ne,ke,ve,we,_e,be,De,Ce,Se,Ee,Te,Be,Pe,Ie;const{t}=We(),{auth:w,employee:s,flash:x}=Ge().props,n=(w==null?void 0:w.permissions)||[],$e=Ye(),[Fe,Me]=_.useState(!1),[Le,Re]=_.useState("basic_info");_.useEffect(()=>{x!=null&&x.success&&r.success(t(x.success)),x!=null&&x.error&&r.error(t(x.error))},[x,t]);const ze=()=>{r.loading(t("Deleting employee...")),N.delete(route("hr.employees.destroy",s.id),{onSuccess:a=>{r.dismiss(),N.get(route("hr.employees.index"))},onError:a=>{r.dismiss(),typeof a=="string"?r.error(t(a)):r.error(t("Failed to delete employee: {{errors}}",{errors:Object.values(a).join(", ")}))}})},Ve=a=>{r.loading(t("Deleting document...")),N.delete(route("hr.employees.documents.destroy",[s.id,a]),{onSuccess:i=>{r.dismiss(),i.props.flash.success?r.success(t(i.props.flash.success)):i.props.flash.error&&r.error(t(i.props.flash.error))},onError:i=>{r.dismiss(),typeof i=="string"?r.error(t(i)):r.error(t("Failed to delete document: {{errors}}",{errors:Object.values(i).join(", ")}))}})},T=(a,i)=>{const l=i==="verified"?"approve":"reject";r.loading(t(`${i==="verified"?"Approving":"Rejecting"} document...`)),N.put(route(`hr.employees.documents.${l}`,[s.id,a]),{},{onSuccess:o=>{var k;r.dismiss(),(k=o.props.flash)!=null&&k.success?r.success(t(o.props.flash.success)):r.success(t(`Document ${i==="verified"?"approved":"rejected"} successfully`))},onError:o=>{r.dismiss();const k=(o==null?void 0:o.message)||Object.values(o)[0]||`Failed to ${l} document`;r.error(t(k))}})},h=(a,i)=>{if(a==="joining_letter"){const l=route("hr.employees.download-joining-letter",[s.id,i]);window.open(l,"_blank")}else if(a==="experience_certificate"){const l=route("hr.employees.download-experience-certificate",[s.id,i]);window.open(l,"_blank")}else if(a==="noc"){const l=route("hr.employees.download-noc-certificate",[s.id,i]);window.open(l,"_blank")}},He=[{label:t("Back"),icon:e.jsx(et,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>N.get(route("hr.employees.index"))}],Je=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.employees.index")},{title:t("Employees"),href:route("hr.employees.index")},{title:(s==null?void 0:s.name)||t("Employee Details")}];return e.jsxs(Ue,{title:(s==null?void 0:s.name)||t("Employee Details"),url:`/hr/employees/${s==null?void 0:s.id}`,actions:He,breadcrumbs:Je,children:[e.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-4 gap-4 lg:gap-6",children:[e.jsx(d,{className:"xl:col-span-1",children:e.jsx(m,{className:"p-4 sm:p-6",children:e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("div",{className:"h-24 w-24 sm:h-32 sm:w-32 rounded-full bg-primary text-white flex items-center justify-center text-2xl sm:text-3xl font-bold mb-4 overflow-hidden",children:s.avatar?e.jsx("img",{src:s.avatar,alt:s.name,className:"h-full w-full object-cover"}):$e(s.name)}),e.jsx("h2",{className:"text-lg sm:text-xl font-bold mb-1 text-center text-gray-900 dark:text-gray-100",children:s.name}),e.jsx("p",{className:"text-xs sm:text-sm text-gray-600 dark:text-gray-400 mb-2 text-center",children:((P=(B=s.employee)==null?void 0:B.designation)==null?void 0:P.name)||"-"}),e.jsxs("div",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset mb-4 ${((I=s.employee)==null?void 0:I.employee_status)==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":((O=s.employee)==null?void 0:O.employee_status)==="inactive"?"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20":((A=s.employee)==null?void 0:A.employee_status)==="probation"?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":((($=s.employee)==null?void 0:$.employee_status)==="terminated","bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20")}`,children:[((F=s.employee)==null?void 0:F.employee_status)==="active"&&t("Active"),((M=s.employee)==null?void 0:M.employee_status)==="inactive"&&t("Inactive"),((L=s.employee)==null?void 0:L.employee_status)==="probation"&&t("Probation"),((R=s.employee)==null?void 0:R.employee_status)==="terminated"&&t("Terminated"),!((z=s.employee)!=null&&z.employee_status)&&"-"]}),e.jsxs("div",{className:"w-full space-y-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(tt,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsxs("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:[t("Employee ID"),": ",(V=s.employee)==null?void 0:V.employee_id]})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(st,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.email})]}),((H=s.employee)==null?void 0:H.phone)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(at,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.employee.phone})]}),((J=s.employee)==null?void 0:J.date_of_birth)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Oe,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsxs("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:[t("DOB"),": ",((U=window.appSettings)==null?void 0:U.formatDateTimeSimple(s.employee.date_of_birth,!1))||new Date(s.employee.date_of_birth).toLocaleDateString()]})]}),((W=s.employee)==null?void 0:W.date_of_joining)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Oe,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsxs("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:[t("Joined"),": ",((G=window.appSettings)==null?void 0:G.formatDateTimeSimple(s.employee.date_of_joining,!1))||new Date(s.employee.date_of_joining).toLocaleDateString()]})]}),((Z=(X=s.employee)==null?void 0:X.department)==null?void 0:Z.name)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Ae,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.employee.department.name})]}),((K=(q=s.employee)==null?void 0:q.branch)==null?void 0:K.name)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Ae,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.employee.branch.name})]}),((Q=s.employee)==null?void 0:Q.employment_type)&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(rt,{className:"h-4 w-4 mr-2 text-gray-500 dark:text-gray-400"}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-gray-100",children:s.employee.employment_type})]})]})]})})}),e.jsx("div",{className:"xl:col-span-3",children:e.jsxs(qe,{value:Le,onValueChange:Re,className:"w-full",children:[e.jsxs(Ke,{className:"grid grid-cols-6 mb-4",children:[e.jsx(j,{value:"basic_info",children:t("Basic Info")}),e.jsx(j,{value:"employment",children:t("Employment")}),e.jsx(j,{value:"contact",children:t("Contact")}),e.jsx(j,{value:"banking",children:t("Banking")}),(c(n,"download-joining-letter")||c(n,"download-experience-certificate")||c(n,"download-noc-certificate"))&&e.jsx(j,{value:"certifications",children:t("Certifications")}),e.jsx(j,{value:"documents",children:t("Documents")})]}),e.jsx(f,{value:"basic_info",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(m,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Full Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:s.name})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Employee ID")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(Y=s.employee)==null?void 0:Y.employee_id})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Email")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:s.email})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Phone Number")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ee=s.employee)==null?void 0:ee.phone)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Employee Code")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((te=s.employee)==null?void 0:te.biometric_emp_id)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Date of Birth")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(se=s.employee)!=null&&se.date_of_birth?((ae=window.appSettings)==null?void 0:ae.formatDateTimeSimple(s.employee.date_of_birth,!1))||new Date(s.employee.date_of_birth).toLocaleDateString():"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Gender")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(re=s.employee)!=null&&re.gender?t(s.employee.gender.charAt(0).toUpperCase()+s.employee.gender.slice(1)):"-"})]})]})})]})}),e.jsx(f,{value:"employment",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Employment Details")})}),e.jsx(m,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Branch")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ne=(ie=s.employee)==null?void 0:ie.branch)==null?void 0:ne.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((de=(le=s.employee)==null?void 0:le.department)==null?void 0:de.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Designation")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ce=(me=s.employee)==null?void 0:me.designation)==null?void 0:ce.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Date of Joining")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(xe=s.employee)!=null&&xe.date_of_joining?((oe=window.appSettings)==null?void 0:oe.formatDateTimeSimple(s.employee.date_of_joining,!1))||new Date(s.employee.date_of_joining).toLocaleDateString():"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Employment Type")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ge=s.employee)==null?void 0:ge.employment_type)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Shift")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:(he=s.employee)!=null&&he.shift?`${s.employee.shift.name} (${s.employee.shift.start_time} - ${s.employee.shift.end_time})`:"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Attendance Policy")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((pe=(ye=s.employee)==null?void 0:ye.attendance_policy)==null?void 0:pe.name)||"-"})]})]})})]})}),e.jsx(f,{value:"contact",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Contact Information")})}),e.jsxs(m,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Address Line 1")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((je=s.employee)==null?void 0:je.address_line_1)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Address Line 2")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((fe=s.employee)==null?void 0:fe.address_line_2)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("City")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ue=s.employee)==null?void 0:ue.city)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("State/Province")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Ne=s.employee)==null?void 0:Ne.state)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Country")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ke=s.employee)==null?void 0:ke.country)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Postal/Zip Code")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((ve=s.employee)==null?void 0:ve.postal_code)||"-"})]})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("h3",{className:"text-lg font-medium text-gray-900 dark:text-gray-100 mb-4",children:t("Emergency Contact")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((we=s.employee)==null?void 0:we.emergency_contact_name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Relationship")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((_e=s.employee)==null?void 0:_e.emergency_contact_relationship)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Phone Number")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((be=s.employee)==null?void 0:be.emergency_contact_number)||"-"})]})]})]})]})]})}),e.jsx(f,{value:"banking",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Banking Information")})}),e.jsx(m,{className:"space-y-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Bank Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((De=s.employee)==null?void 0:De.bank_name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Account Holder Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Ce=s.employee)==null?void 0:Ce.account_holder_name)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Account Number")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Se=s.employee)==null?void 0:Se.account_number)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Bank Identifier Code (BIC/SWIFT)")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Ee=s.employee)==null?void 0:Ee.bank_identifier_code)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Bank Branch")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Te=s.employee)==null?void 0:Te.bank_branch)||"-"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Tax Payer ID")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((Be=s.employee)==null?void 0:Be.tax_payer_id)||"-"})]}),((Pe=s.employee)==null?void 0:Pe.base_salary)&&e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Base Salary")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:s.employee.base_salary})]})]})})]})}),e.jsx(f,{value:"certifications",children:(c(n,"download-joining-letter")||c(n,"download-experience-certificate")||c(n,"download-noc-certificate"))&&e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Employee Certifications")})}),e.jsx(m,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[c(n,"download-joining-letter")&&e.jsx(d,{className:"border",children:e.jsxs(m,{className:"p-4",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(v,{className:"h-8 w-8 mr-3 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900 dark:text-gray-100",children:t("Joining Letter")}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("Official joining letter document")})]})]})}),e.jsx("div",{className:"mt-4",children:e.jsxs(b,{children:[e.jsx(D,{asChild:!0,children:e.jsxs(g,{variant:"outline",className:"w-full",children:[e.jsx(S,{className:"mr-2 h-4 w-4"}),t("Download"),e.jsx(E,{className:"ml-2 h-4 w-4"})]})}),e.jsxs(C,{className:"w-full",children:[e.jsx(u,{onClick:()=>h("joining_letter","pdf"),children:t("PDF")}),e.jsx(u,{onClick:()=>h("joining_letter","doc"),children:t("DOC")})]})]})})]})}),c(n,"download-experience-certificate")&&e.jsx(d,{className:"border",children:e.jsxs(m,{className:"p-4",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(v,{className:"h-8 w-8 mr-3 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900 dark:text-gray-100",children:t("Experience Certificate")}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("Work experience certificate")})]})]})}),e.jsx("div",{className:"mt-4",children:e.jsxs(b,{children:[e.jsx(D,{asChild:!0,children:e.jsxs(g,{variant:"outline",className:"w-full",children:[e.jsx(S,{className:"mr-2 h-4 w-4"}),t("Download"),e.jsx(E,{className:"ml-2 h-4 w-4"})]})}),e.jsxs(C,{className:"w-full",children:[e.jsx(u,{onClick:()=>h("experience_certificate","pdf"),children:t("PDF")}),e.jsx(u,{onClick:()=>h("experience_certificate","doc"),children:t("DOC")})]})]})})]})}),c(n,"download-noc-certificate")&&e.jsx(d,{className:"border",children:e.jsxs(m,{className:"p-4",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(v,{className:"h-8 w-8 mr-3 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900 dark:text-gray-100",children:t("NOC")}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("No Objection Certificate")})]})]})}),e.jsx("div",{className:"mt-4",children:e.jsxs(b,{children:[e.jsx(D,{asChild:!0,children:e.jsxs(g,{variant:"outline",className:"w-full",children:[e.jsx(S,{className:"mr-2 h-4 w-4"}),t("Download"),e.jsx(E,{className:"ml-2 h-4 w-4"})]})}),e.jsxs(C,{className:"w-full",children:[e.jsx(u,{onClick:()=>h("noc","pdf"),children:t("PDF")}),e.jsx(u,{onClick:()=>h("noc","doc"),children:t("DOC")})]})]})})]})})]})})]})}),e.jsx(f,{value:"documents",children:e.jsxs(d,{children:[e.jsx(y,{children:e.jsx(p,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Documents")})}),e.jsx(m,{children:(Ie=s.employee)!=null&&Ie.documents&&s.employee.documents.length>0?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:s.employee.documents.map(a=>{var i,l;return e.jsx(d,{className:"border",children:e.jsx(m,{className:"p-4",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(v,{className:"h-8 w-8 mr-3 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-gray-900 dark:text-gray-100",children:(i=a.document_type)==null?void 0:i.name}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:a.expiry_date?`${t("Expires")}: ${((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(a.expiry_date,!1))||new Date(a.expiry_date).toLocaleDateString()}`:t("No expiry date")}),e.jsx("div",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset mt-2 ${a.verification_status==="verified"?"bg-green-50 text-green-700 ring-green-600/20":a.verification_status==="rejected"?"bg-red-50 text-red-700 ring-red-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:a.verification_status==="verified"?t("Verified"):a.verification_status==="rejected"?t("Rejected"):t("Pending")})]})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx(g,{variant:"outline",size:"sm",onClick:()=>window.open(a.document_url||a.file_path,"_blank"),children:e.jsx(it,{className:"h-4 w-4"})}),c(n,"edit-employees")&&e.jsx(g,{variant:"outline",size:"sm",onClick:()=>Ve(a.id),children:e.jsx(nt,{className:"h-4 w-4 text-red-500"})}),c(n,"edit-employees")&&a.verification_status==="pending"&&e.jsxs(e.Fragment,{children:[e.jsx(g,{variant:"outline",size:"sm",onClick:()=>T(a.id,"verified"),className:"text-green-600 hover:text-green-700",children:e.jsx(Xe,{className:"h-4 w-4"})}),e.jsx(g,{variant:"outline",size:"sm",onClick:()=>T(a.id,"rejected"),className:"text-red-600 hover:text-red-700",children:e.jsx(Ze,{className:"h-4 w-4"})})]})]})]})})},a.id)})}):e.jsx("div",{className:"text-center py-12 text-sm text-gray-500 dark:text-gray-400",children:t("No documents found")})})]})})]})})]}),e.jsx(Qe,{isOpen:Fe,onClose:()=>Me(!1),onConfirm:ze,itemName:(s==null?void 0:s.name)||"",entityName:"employee"})]})}export{es as default}; diff --git a/public/build/assets/show-C8XPQCrp.js b/public/build/assets/show-ClT9zPwr.js similarity index 91% rename from public/build/assets/show-C8XPQCrp.js rename to public/build/assets/show-ClT9zPwr.js index 5ff24a8f5..d803945aa 100644 --- a/public/build/assets/show-C8XPQCrp.js +++ b/public/build/assets/show-ClT9zPwr.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as q}from"./page-template-BTxLyiDA.js";import{u as D,c as C,C as a,m as i,n as d,l,B as x,r as P}from"./app-CfhhiFAk.js";import{S as T}from"./star-DQsTg5F1.js";import{B as m}from"./building-Cyq-0nCs.js";import{M as L}from"./map-pin-BEMjKB1T.js";import{C as p}from"./calendar-CfUpdaK5.js";import{C as A}from"./clock-CwFdn-oy.js";import{D as R}from"./dollar-sign-DYXFWWsE.js";import{A as B}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-days-CiPhwZgb.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function we(){var g,h,y,j,u,f,N,k,b,w;const{t:s}=D(),{jobPosting:t,customQuestions:c}=C().props,v=[{title:s("Dashboard"),href:route("dashboard")},{title:s("Recruitment"),href:route("hr.recruitment.job-postings.index")},{title:s("Job Postings"),href:route("hr.recruitment.job-postings.index")},{title:t.title}],_=r=>{switch(r){case"Draft":return"bg-yellow-50 text-yellow-700 ring-yellow-600/20";case"Published":return"bg-green-50 text-green-700 ring-green-600/20";case"Closed":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}};return e.jsx(q,{title:t.title,breadcrumbs:v,actions:[{label:s("Back"),icon:e.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>P.get(route("hr.recruitment.job-postings.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(a,{children:[e.jsx(i,{children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsxs(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100 flex items-center gap-2",children:[t.title,t.is_featured&&e.jsx(T,{className:"h-5 w-5 text-yellow-500 fill-current"})]}),e.jsxs("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:[s("Job Code"),": ",t.job_code]})]}),e.jsx("div",{className:"flex gap-2",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${_(t.status)}`,children:s(t.status)})})]})}),e.jsx(l,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Job Type")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((g=t.job_type)==null?void 0:g.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Location")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((h=t.location)==null?void 0:h.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Branch")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((y=t.branch)==null?void 0:y.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((j=t.department)==null?void 0:j.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Priority")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.priority||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Positions")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.positions||"-"})]})]})]})})]}),e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Experience & Salary")})}),e.jsx(l,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(A,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Experience Required")}),e.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[t.min_experience," - ",t.max_experience||"+"," ",s("years")]})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(R,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Salary Range")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.min_salary&&t.max_salary?`${(u=window.appSettings)==null?void 0:u.formatCurrency(t.min_salary)} - ${(f=window.appSettings)==null?void 0:f.formatCurrency(t.max_salary)}`:t.min_salary?`${(N=window.appSettings)==null?void 0:N.formatCurrency(t.min_salary)}+`:"-"})]})]})]})})]}),t.requisition&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Job Requisition")})}),e.jsx(l,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-1 sm:gap-2",children:[e.jsxs("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide min-w-fit",children:[s("Requisition Code"),":"]}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 font-mono bg-muted px-2 py-1 rounded",children:t.requisition.requisition_code})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-1 sm:gap-2",children:[e.jsxs("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide min-w-fit",children:[s("Title"),":"]}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:t.requisition.title})]})]})})]}),t.description&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Job Description")})}),e.jsx(l,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h1:text-xl prose-h2:text-lg prose-h3:text-base prose-p:text-gray-700 prose-p:leading-relaxed prose-strong:text-gray-900 prose-strong:font-semibold prose-ul:text-gray-700 prose-ol:text-gray-700 prose-li:my-1 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-blockquote:border-l-4 prose-blockquote:border-gray-300 prose-blockquote:pl-4 prose-blockquote:italic prose-code:bg-gray-100 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:text-sm",dangerouslySetInnerHTML:{__html:t.description}})})]}),t.requirements&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Requirements")})}),e.jsx(l,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h1:text-xl prose-h2:text-lg prose-h3:text-base prose-p:text-gray-700 prose-p:leading-relaxed prose-strong:text-gray-900 prose-strong:font-semibold prose-ul:text-gray-700 prose-ol:text-gray-700 prose-li:my-1 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-blockquote:border-l-4 prose-blockquote:border-gray-300 prose-blockquote:pl-4 prose-blockquote:italic prose-code:bg-gray-100 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:text-sm",dangerouslySetInnerHTML:{__html:t.requirements}})})]}),t.benefits&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Benefits")})}),e.jsx(l,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h1:text-xl prose-h2:text-lg prose-h3:text-base prose-p:text-gray-700 prose-p:leading-relaxed prose-strong:text-gray-900 prose-strong:font-semibold prose-ul:text-gray-700 prose-ol:text-gray-700 prose-li:my-1 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-blockquote:border-l-4 prose-blockquote:border-gray-300 prose-blockquote:pl-4 prose-blockquote:italic prose-code:bg-gray-100 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:text-sm",dangerouslySetInnerHTML:{__html:t.benefits}})})]}),t.skills&&t.skills.length>0&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Required Skills")})}),e.jsx(l,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.skills.map((r,n)=>e.jsx(x,{variant:"outline",className:"text-xs font-medium px-3 py-1",children:r},n))})})]}),t.custom_question&&t.custom_question.length>0&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Custom Questions")})}),e.jsx(l,{children:e.jsx("div",{className:"space-y-3",children:t.custom_question.map((r,n)=>{const o=c==null?void 0:c.find(S=>S.id===r);return e.jsx("div",{className:"p-4 bg-muted rounded-lg border",children:e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 leading-relaxed flex-1",children:(o==null?void 0:o.question)||`Question ID: ${r}`}),(o==null?void 0:o.required)===1&&e.jsx(x,{variant:"destructive",className:"text-xs shrink-0",children:"Required"})]})},n)})})})]}),t.applicant&&t.applicant.length>0&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Need to Ask?")})}),e.jsx(l,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.applicant.map((r,n)=>e.jsxs(x,{variant:"secondary",className:"text-xs",children:[r==="gender"&&s("Gender"),r==="date_of_birth"&&s("Date Of Birth"),r==="address"&&s("Address")]},n))})})]}),t.visibility&&t.visibility.length>0&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Need to Show Option?")})}),e.jsx(l,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.visibility.map((r,n)=>e.jsxs(x,{variant:"secondary",className:"text-xs",children:[r==="profile_image"&&s("Profile Image"),r==="resume"&&s("Resume"),r==="cover_letter"&&s("Cover Letter"),r==="terms_and_conditions"&&s("Terms And Conditions")]},n))})})]}),e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Important Dates")})}),e.jsx(l,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(p,{className:"h-5 w-5 text-blue-600 mt-0.5 shrink-0"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Start Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.start_date?new Date(t.start_date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):"Not specified"})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(p,{className:"h-5 w-5 text-red-600 mt-0.5 shrink-0"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Application Deadline")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.application_deadline?new Date(t.application_deadline).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):"Not specified"})]})]})]})})]}),e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Additional Information")})}),e.jsx(l,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Created At")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((k=window.appSettings)==null?void 0:k.formatDateTimeSimple(t.created_at))||new Date(t.created_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Updated At")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((b=window.appSettings)==null?void 0:b.formatDateTimeSimple(t.updated_at))||new Date(t.updated_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})})]}),t.publish_date&&e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Published At")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((w=window.appSettings)==null?void 0:w.formatDateTimeSimple(t.publish_date))||new Date(t.publish_date).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})})]})]})})]})]})})}export{we as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as q}from"./page-template-CLNVC8w_.js";import{u as D,c as C,C as a,m as i,n as d,l,B as x,r as P}from"./app-Dya84jp7.js";import{S as T}from"./star-DCkLKzoE.js";import{B as m}from"./building-DyhEfKj4.js";import{M as L}from"./map-pin-DFWKFR9c.js";import{C as p}from"./calendar-DuRYaSj5.js";import{C as A}from"./clock-LnEFQ-vK.js";import{D as R}from"./dollar-sign-DH2Tc178.js";import{A as B}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-days-CURbwGg4.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function we(){var g,h,y,j,u,f,N,k,b,w;const{t:s}=D(),{jobPosting:t,customQuestions:c}=C().props,v=[{title:s("Dashboard"),href:route("dashboard")},{title:s("Recruitment"),href:route("hr.recruitment.job-postings.index")},{title:s("Job Postings"),href:route("hr.recruitment.job-postings.index")},{title:t.title}],_=r=>{switch(r){case"Draft":return"bg-yellow-50 text-yellow-700 ring-yellow-600/20";case"Published":return"bg-green-50 text-green-700 ring-green-600/20";case"Closed":return"bg-red-50 text-red-700 ring-red-600/10";default:return"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}};return e.jsx(q,{title:t.title,breadcrumbs:v,actions:[{label:s("Back"),icon:e.jsx(B,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>P.get(route("hr.recruitment.job-postings.index"))}],children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(a,{children:[e.jsx(i,{children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsxs(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100 flex items-center gap-2",children:[t.title,t.is_featured&&e.jsx(T,{className:"h-5 w-5 text-yellow-500 fill-current"})]}),e.jsxs("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:[s("Job Code"),": ",t.job_code]})]}),e.jsx("div",{className:"flex gap-2",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${_(t.status)}`,children:s(t.status)})})]})}),e.jsx(l,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Job Type")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((g=t.job_type)==null?void 0:g.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Location")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((h=t.location)==null?void 0:h.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Branch")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((y=t.branch)==null?void 0:y.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((j=t.department)==null?void 0:j.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Priority")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.priority||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Positions")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.positions||"-"})]})]})]})})]}),e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Experience & Salary")})}),e.jsx(l,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(A,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Experience Required")}),e.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[t.min_experience," - ",t.max_experience||"+"," ",s("years")]})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(R,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Salary Range")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.min_salary&&t.max_salary?`${(u=window.appSettings)==null?void 0:u.formatCurrency(t.min_salary)} - ${(f=window.appSettings)==null?void 0:f.formatCurrency(t.max_salary)}`:t.min_salary?`${(N=window.appSettings)==null?void 0:N.formatCurrency(t.min_salary)}+`:"-"})]})]})]})})]}),t.requisition&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Job Requisition")})}),e.jsx(l,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-1 sm:gap-2",children:[e.jsxs("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide min-w-fit",children:[s("Requisition Code"),":"]}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 font-mono bg-muted px-2 py-1 rounded",children:t.requisition.requisition_code})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-1 sm:gap-2",children:[e.jsxs("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide min-w-fit",children:[s("Title"),":"]}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:t.requisition.title})]})]})})]}),t.description&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Job Description")})}),e.jsx(l,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h1:text-xl prose-h2:text-lg prose-h3:text-base prose-p:text-gray-700 prose-p:leading-relaxed prose-strong:text-gray-900 prose-strong:font-semibold prose-ul:text-gray-700 prose-ol:text-gray-700 prose-li:my-1 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-blockquote:border-l-4 prose-blockquote:border-gray-300 prose-blockquote:pl-4 prose-blockquote:italic prose-code:bg-gray-100 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:text-sm",dangerouslySetInnerHTML:{__html:t.description}})})]}),t.requirements&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Requirements")})}),e.jsx(l,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h1:text-xl prose-h2:text-lg prose-h3:text-base prose-p:text-gray-700 prose-p:leading-relaxed prose-strong:text-gray-900 prose-strong:font-semibold prose-ul:text-gray-700 prose-ol:text-gray-700 prose-li:my-1 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-blockquote:border-l-4 prose-blockquote:border-gray-300 prose-blockquote:pl-4 prose-blockquote:italic prose-code:bg-gray-100 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:text-sm",dangerouslySetInnerHTML:{__html:t.requirements}})})]}),t.benefits&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Benefits")})}),e.jsx(l,{children:e.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-gray-900 prose-headings:font-semibold prose-h1:text-xl prose-h2:text-lg prose-h3:text-base prose-p:text-gray-700 prose-p:leading-relaxed prose-strong:text-gray-900 prose-strong:font-semibold prose-ul:text-gray-700 prose-ol:text-gray-700 prose-li:my-1 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-blockquote:border-l-4 prose-blockquote:border-gray-300 prose-blockquote:pl-4 prose-blockquote:italic prose-code:bg-gray-100 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:text-sm",dangerouslySetInnerHTML:{__html:t.benefits}})})]}),t.skills&&t.skills.length>0&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Required Skills")})}),e.jsx(l,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.skills.map((r,n)=>e.jsx(x,{variant:"outline",className:"text-xs font-medium px-3 py-1",children:r},n))})})]}),t.custom_question&&t.custom_question.length>0&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Custom Questions")})}),e.jsx(l,{children:e.jsx("div",{className:"space-y-3",children:t.custom_question.map((r,n)=>{const o=c==null?void 0:c.find(S=>S.id===r);return e.jsx("div",{className:"p-4 bg-muted rounded-lg border",children:e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 leading-relaxed flex-1",children:(o==null?void 0:o.question)||`Question ID: ${r}`}),(o==null?void 0:o.required)===1&&e.jsx(x,{variant:"destructive",className:"text-xs shrink-0",children:"Required"})]})},n)})})})]}),t.applicant&&t.applicant.length>0&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Need to Ask?")})}),e.jsx(l,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.applicant.map((r,n)=>e.jsxs(x,{variant:"secondary",className:"text-xs",children:[r==="gender"&&s("Gender"),r==="date_of_birth"&&s("Date Of Birth"),r==="address"&&s("Address")]},n))})})]}),t.visibility&&t.visibility.length>0&&e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Need to Show Option?")})}),e.jsx(l,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.visibility.map((r,n)=>e.jsxs(x,{variant:"secondary",className:"text-xs",children:[r==="profile_image"&&s("Profile Image"),r==="resume"&&s("Resume"),r==="cover_letter"&&s("Cover Letter"),r==="terms_and_conditions"&&s("Terms And Conditions")]},n))})})]}),e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Important Dates")})}),e.jsx(l,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(p,{className:"h-5 w-5 text-blue-600 mt-0.5 shrink-0"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Start Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.start_date?new Date(t.start_date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):"Not specified"})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(p,{className:"h-5 w-5 text-red-600 mt-0.5 shrink-0"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Application Deadline")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:t.application_deadline?new Date(t.application_deadline).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):"Not specified"})]})]})]})})]}),e.jsxs(a,{children:[e.jsx(i,{children:e.jsx(d,{className:"text-lg font-semibold text-gray-900",children:s("Additional Information")})}),e.jsx(l,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Created At")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((k=window.appSettings)==null?void 0:k.formatDateTimeSimple(t.created_at))||new Date(t.created_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Updated At")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((b=window.appSettings)==null?void 0:b.formatDateTimeSimple(t.updated_at))||new Date(t.updated_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})})]}),t.publish_date&&e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Published At")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((w=window.appSettings)==null?void 0:w.formatDateTimeSimple(t.publish_date))||new Date(t.publish_date).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})})]})]})})]})]})})}export{we as default}; diff --git a/public/build/assets/show-j2pNpnhj.js b/public/build/assets/show-CuchtGiG.js similarity index 81% rename from public/build/assets/show-j2pNpnhj.js rename to public/build/assets/show-CuchtGiG.js index eabc501b0..8bb18f038 100644 --- a/public/build/assets/show-j2pNpnhj.js +++ b/public/build/assets/show-CuchtGiG.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as j}from"./page-template-BTxLyiDA.js";import{u as f,c as b,r as N,C as i,m as l,n as m,l as n,F as k}from"./app-CfhhiFAk.js";import{A as v}from"./arrow-left-B_Yqvwsn.js";import{S as w}from"./star-DQsTg5F1.js";import{T as C}from"./tag-JSZ9YmZg.js";import{C as T}from"./code-BfjQUpEO.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function ge(){var d,o,x,c,p;const{t}=f(),{auth:a,documentTemplate:r}=b().props;a!=null&&a.permissions;const g=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-templates.index")},{title:t("Document Templates"),href:route("hr.documents.document-templates.index")},{title:t("View")}],h=[{label:t("Back"),icon:e.jsx(v,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>N.get(route("hr.documents.document-templates.index"))}],s=Array.isArray(r.placeholders)?r.placeholders:[];return e.jsx(j,{title:t("View Document Template"),breadcrumbs:g,actions:h,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(n,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Template Name")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center text-white shrink-0",style:{backgroundColor:((d=r.category)==null?void 0:d.color)||"#3B82F6"},children:e.jsx(k,{className:"h-4 w-4"})}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:r.name}),r.is_default&&e.jsx(w,{className:"h-4 w-4 text-yellow-500 fill-current"})]})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Category")}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(C,{className:"h-4 w-4 text-gray-400"}),e.jsx("p",{className:"text-sm text-gray-900 dark:text-gray-100",children:((o=r.category)==null?void 0:o.name)||"-"})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("File Format")}),e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 dark:bg-gray-800 px-2 py-1 text-xs font-medium text-gray-600 dark:text-gray-300 ring-1 ring-inset ring-gray-500/10",children:((x=r.file_format)==null?void 0:x.toUpperCase())||"-"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?t("Active"):t("Inactive")})]}),r.description&&e.jsxs("div",{className:"md:col-span-2",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Description")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:r.description})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Created At")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:((c=window.appSettings)==null?void 0:c.formatDateTimeSimple(r.created_at,!1))||new Date(r.created_at).toLocaleDateString()})]})]})})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsxs(n,{children:[e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:e.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono text-gray-800 dark:text-gray-200",children:r.template_content||t("No content available")})}),e.jsxs("p",{className:"text-xs text-gray-400 dark:text-gray-500 mt-2",children:[((p=r.template_content)==null?void 0:p.length)||0," ",t("characters")]})]})]}),s.length>0&&e.jsxs(i,{children:[e.jsx(l,{children:e.jsxs(m,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(T,{className:"h-5 w-5 text-gray-400"}),t("Placeholders"),e.jsxs("span",{className:"text-sm font-normal text-gray-500",children:["(",s.length,")"]})]})}),e.jsxs(n,{children:[e.jsx("div",{className:"flex flex-wrap gap-2",children:s.map((y,u)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/20 px-2.5 py-1 text-xs font-medium text-blue-700 dark:text-blue-300 ring-1 ring-inset ring-blue-600/20",children:`{{${y}}}`},u))}),r.default_values&&Object.keys(r.default_values).length>0&&e.jsxs("div",{className:"mt-4",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-2",children:t("Default Values")}),e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-3",children:e.jsx("pre",{className:"text-xs font-mono text-gray-700 dark:text-gray-300",children:JSON.stringify(r.default_values,null,2)})})]})]})]})]})})}export{ge as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as j}from"./page-template-CLNVC8w_.js";import{u as f,c as b,r as N,C as i,m as l,n as m,l as n,F as k}from"./app-Dya84jp7.js";import{A as v}from"./arrow-left-BUNj5JJK.js";import{S as w}from"./star-DCkLKzoE.js";import{T as C}from"./tag-Bq7fLwM4.js";import{C as T}from"./code-znlKMFkF.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function ge(){var d,o,x,c,p;const{t}=f(),{auth:a,documentTemplate:r}=b().props;a!=null&&a.permissions;const g=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Document Management"),href:route("hr.documents.document-templates.index")},{title:t("Document Templates"),href:route("hr.documents.document-templates.index")},{title:t("View")}],h=[{label:t("Back"),icon:e.jsx(v,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>N.get(route("hr.documents.document-templates.index"))}],s=Array.isArray(r.placeholders)?r.placeholders:[];return e.jsx(j,{title:t("View Document Template"),breadcrumbs:g,actions:h,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(n,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Template Name")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center text-white shrink-0",style:{backgroundColor:((d=r.category)==null?void 0:d.color)||"#3B82F6"},children:e.jsx(k,{className:"h-4 w-4"})}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:r.name}),r.is_default&&e.jsx(w,{className:"h-4 w-4 text-yellow-500 fill-current"})]})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Category")}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(C,{className:"h-4 w-4 text-gray-400"}),e.jsx("p",{className:"text-sm text-gray-900 dark:text-gray-100",children:((o=r.category)==null?void 0:o.name)||"-"})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("File Format")}),e.jsx("span",{className:"inline-flex items-center rounded-md bg-gray-50 dark:bg-gray-800 px-2 py-1 text-xs font-medium text-gray-600 dark:text-gray-300 ring-1 ring-inset ring-gray-500/10",children:((x=r.file_format)==null?void 0:x.toUpperCase())||"-"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?t("Active"):t("Inactive")})]}),r.description&&e.jsxs("div",{className:"md:col-span-2",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Description")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:r.description})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Created At")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:((c=window.appSettings)==null?void 0:c.formatDateTimeSimple(r.created_at,!1))||new Date(r.created_at).toLocaleDateString()})]})]})})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(m,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsxs(n,{children:[e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:e.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono text-gray-800 dark:text-gray-200",children:r.template_content||t("No content available")})}),e.jsxs("p",{className:"text-xs text-gray-400 dark:text-gray-500 mt-2",children:[((p=r.template_content)==null?void 0:p.length)||0," ",t("characters")]})]})]}),s.length>0&&e.jsxs(i,{children:[e.jsx(l,{children:e.jsxs(m,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(T,{className:"h-5 w-5 text-gray-400"}),t("Placeholders"),e.jsxs("span",{className:"text-sm font-normal text-gray-500",children:["(",s.length,")"]})]})}),e.jsxs(n,{children:[e.jsx("div",{className:"flex flex-wrap gap-2",children:s.map((y,u)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/20 px-2.5 py-1 text-xs font-medium text-blue-700 dark:text-blue-300 ring-1 ring-inset ring-blue-600/20",children:`{{${y}}}`},u))}),r.default_values&&Object.keys(r.default_values).length>0&&e.jsxs("div",{className:"mt-4",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-2",children:t("Default Values")}),e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-3",children:e.jsx("pre",{className:"text-xs font-mono text-gray-700 dark:text-gray-300",children:JSON.stringify(r.default_values,null,2)})})]})]})]})]})})}export{ge as default}; diff --git a/public/build/assets/show-D3Zydh5Q.js b/public/build/assets/show-CwPiSc4f.js similarity index 81% rename from public/build/assets/show-D3Zydh5Q.js rename to public/build/assets/show-CwPiSc4f.js index f8d742428..a8b2ded71 100644 --- a/public/build/assets/show-D3Zydh5Q.js +++ b/public/build/assets/show-CwPiSc4f.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as p}from"./page-template-BTxLyiDA.js";import{u as h,c as y}from"./app-CfhhiFAk.js";import{A as u}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function re(){var s,i,d,n,l,m;const{t}=h(),{candidateOnboarding:r}=y().props,o=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.candidate-onboarding.index")},{title:t("Candidate Onboarding"),href:route("hr.recruitment.candidate-onboarding.index")},{title:t("View Details")}],c=[{label:t("Back"),icon:e.jsx(u,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>window.history.back()}],x=a=>{switch(a){case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"In Progress":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}};return e.jsx(p,{title:t("Onboarding Details"),url:"/hr/recruitment/candidate-onboarding",actions:c,breadcrumbs:o,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-4",children:t("Employee Information")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Employee Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((s=r.employee)==null?void 0:s.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Email")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((i=r.employee)==null?void 0:i.email)||"-"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Buddy Employee")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((d=r.buddy_employee)==null?void 0:d.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Start Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:r.start_date?new Date(r.start_date).toLocaleDateString():"-"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Status")}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${x(r.status)}`,children:t(r.status)})})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-4",children:t("Onboarding Checklist")}),e.jsxs("div",{className:"mb-4",children:[e.jsx("h4",{className:"font-semibold text-gray-900 dark:text-gray-100",children:(n=r.checklist)==null?void 0:n.name}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:(l=r.checklist)==null?void 0:l.description})]}),(m=r.checklist)!=null&&m.checklist_items&&r.checklist.checklist_items.length>0?e.jsx("div",{className:"space-y-3",children:r.checklist.checklist_items.map((a,g)=>e.jsxs("div",{className:"flex items-start space-x-3 p-3 border border-gray-200 dark:border-gray-700 rounded-lg",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("span",{className:"inline-flex items-center justify-center w-6 h-6 bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 text-xs font-medium rounded-full",children:g+1})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h5",{className:"font-medium text-gray-900 dark:text-gray-100",children:a.task_name}),a.description&&e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.description}),a.due_day&&e.jsxs("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-1",children:[t("Due Day"),": ",a.due_day]})]})]},a.id))}):e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:t("No checklist items found")})]})]})})}export{re as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as p}from"./page-template-CLNVC8w_.js";import{u as h,c as y}from"./app-Dya84jp7.js";import{A as u}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function re(){var s,i,d,n,l,m;const{t}=h(),{candidateOnboarding:r}=y().props,o=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.candidate-onboarding.index")},{title:t("Candidate Onboarding"),href:route("hr.recruitment.candidate-onboarding.index")},{title:t("View Details")}],c=[{label:t("Back"),icon:e.jsx(u,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>window.history.back()}],x=a=>{switch(a){case"Pending":return"bg-yellow-50 text-yellow-800 ring-yellow-600/20";case"In Progress":return"bg-blue-50 text-blue-700 ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-green-600/20";default:return"bg-gray-50 text-gray-600 ring-gray-500/10"}};return e.jsx(p,{title:t("Onboarding Details"),url:"/hr/recruitment/candidate-onboarding",actions:c,breadcrumbs:o,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-4",children:t("Employee Information")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Employee Name")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((s=r.employee)==null?void 0:s.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Email")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((i=r.employee)==null?void 0:i.email)||"-"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Buddy Employee")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((d=r.buddy_employee)==null?void 0:d.name)||"-"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Start Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:r.start_date?new Date(r.start_date).toLocaleDateString():"-"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:t("Status")}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${x(r.status)}`,children:t(r.status)})})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-900 rounded-lg shadow p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-4",children:t("Onboarding Checklist")}),e.jsxs("div",{className:"mb-4",children:[e.jsx("h4",{className:"font-semibold text-gray-900 dark:text-gray-100",children:(n=r.checklist)==null?void 0:n.name}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:(l=r.checklist)==null?void 0:l.description})]}),(m=r.checklist)!=null&&m.checklist_items&&r.checklist.checklist_items.length>0?e.jsx("div",{className:"space-y-3",children:r.checklist.checklist_items.map((a,g)=>e.jsxs("div",{className:"flex items-start space-x-3 p-3 border border-gray-200 dark:border-gray-700 rounded-lg",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("span",{className:"inline-flex items-center justify-center w-6 h-6 bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 text-xs font-medium rounded-full",children:g+1})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h5",{className:"font-medium text-gray-900 dark:text-gray-100",children:a.task_name}),a.description&&e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.description}),a.due_day&&e.jsxs("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-1",children:[t("Due Day"),": ",a.due_day]})]})]},a.id))}):e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:t("No checklist items found")})]})]})})}export{re as default}; diff --git a/public/build/assets/show-BHknxJ8v.js b/public/build/assets/show-DO4Y3HfX.js similarity index 79% rename from public/build/assets/show-BHknxJ8v.js rename to public/build/assets/show-DO4Y3HfX.js index bf514f8a9..4e1e9aee5 100644 --- a/public/build/assets/show-BHknxJ8v.js +++ b/public/build/assets/show-DO4Y3HfX.js @@ -1 +1 @@ -import{r as S,j as e}from"./ui-Z445SNHD.js";import{P as z}from"./page-template-BTxLyiDA.js";import{u as H,c as $,x as L,C as x,m as h,n as u,z as U,B as j,l as g,r as c,t as i}from"./app-CfhhiFAk.js";import{P as A}from"./progress-CJ4ij2ij.js";import{T as I,a as Q,b as P,c as l,d as G,e as m}from"./table-BXUOKUBo.js";import{C as J}from"./CrudFormModal-DAR9q-oM.js";import{C as K}from"./CrudDeleteModal-CKTiD3_K.js";import{A as V}from"./arrow-left-B_Yqvwsn.js";import{S as W}from"./square-pen-bMHyT06o.js";import{T as X}from"./trash-Pq_dkuTI.js";import{f as Y}from"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./radio-group-CLGfOEmR.js";import"./circle-BoWbKVIN.js";import"./checkbox-1_Cig_g5.js";import"./multi-select-field-Dxyl0jtB.js";import"./scroll-area-Dxv7Ysgl.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-DbvcuJ_9.js";function We(){var b,y;const{t:s}=H(),{auth:d,trainingAssessment:t,statistics:n}=$().props,D=(d==null?void 0:d.permissions)||[],[_,f]=S.useState(!1),[w,p]=S.useState(!1),R=()=>{c.get(route("hr.training-assessments.index"))},M=()=>{p(!0)},F=()=>{f(!0)},O=a=>{i.loading(s("Updating assessment...")),c.put(route("hr.training-assessments.update",t.id),a,{onSuccess:r=>{p(!1),i.dismiss(),r.props.flash.success?i.success(s(r.props.flash.success)):r.props.flash.error?i.error(s(r.props.flash.error)):i.success(s("Assessment updated successfully"))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update assessment: ${Object.values(r).join(", ")}`)}})},E=()=>{i.loading(s("Deleting assessment...")),c.delete(route("hr.training-assessments.destroy",t.id),{onSuccess:a=>{i.dismiss(),a.props.flash.success?i.success(s(a.props.flash.success)):a.props.flash.error?i.error(s(a.props.flash.error)):i.success(s("Assessment deleted successfully")),c.get(route("hr.training-assessments.index"))},onError:a=>{i.dismiss(),typeof a=="string"?i.error(a):i.error(`Failed to delete assessment: ${Object.values(a).join(", ")}`)}})},o=[];o.push({label:s("Back to List"),icon:e.jsx(V,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:R}),L(D,"manage-assessments")&&(o.push({label:s("Edit"),icon:e.jsx(W,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:M}),n.totalResults===0&&o.push({label:s("Delete"),icon:e.jsx(X,{className:"h-4 w-4 mr-2"}),variant:"destructive",onClick:F}));const q=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.training-assessments.index")},{title:s("Training Management"),href:route("hr.training-assessments.index")},{title:s("Training Assessments"),href:route("hr.training-assessments.index")},{title:t.name}],B={quiz:"bg-blue-50 text-blue-700 ring-blue-600/20",practical:"bg-green-50 text-green-700 ring-green-600/20",presentation:"bg-amber-50 text-amber-700 ring-amber-600/20"},k=[{value:t.training_program.id.toString(),label:t.training_program.name}];return e.jsxs(z,{title:t.name,url:`/hr/training/assessments/${t.id}`,actions:o,breadcrumbs:q,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs(x,{className:"mb-6",children:[e.jsx(h,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx(u,{className:"text-2xl",children:t.name}),e.jsx(U,{className:"mt-2",children:((b=t.training_program)==null?void 0:b.name)||s("Unknown Program")})]}),e.jsx(j,{className:`${B[t.type]||""}`,children:t.type.charAt(0).toUpperCase()+t.type.slice(1)})]})}),e.jsxs(g,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium text-gray-500",children:s("Passing Score")}),e.jsxs("p",{children:[t.passing_score,"%"]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium text-gray-500",children:s("Created By")}),e.jsx("p",{children:((y=t.creator)==null?void 0:y.name)||"-"})]})]}),t.description&&e.jsxs("div",{className:"mb-4",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-500",children:s("Description")}),e.jsx("p",{className:"mt-1",children:t.description})]}),t.criteria&&e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium text-gray-500",children:s("Assessment Criteria")}),e.jsx("p",{className:"mt-1",children:t.criteria})]})]})]}),e.jsxs(x,{children:[e.jsx(h,{children:e.jsx(u,{children:s("Assessment Results")})}),e.jsx(g,{children:t.employee_results&&t.employee_results.length>0?e.jsxs(I,{children:[e.jsx(Q,{children:e.jsxs(P,{children:[e.jsx(l,{children:s("Employee")}),e.jsx(l,{children:s("Date")}),e.jsx(l,{children:s("Score")}),e.jsx(l,{children:s("Result")}),e.jsx(l,{children:s("Assessed By")})]})}),e.jsx(G,{children:t.employee_results.map(a=>{var r,N,v,C,T;return e.jsxs(P,{children:[e.jsxs(m,{children:[e.jsx("div",{className:"font-medium",children:((N=(r=a.employee_training)==null?void 0:r.employee)==null?void 0:N.name)||"-"}),e.jsx("div",{className:"text-xs text-gray-500",children:((C=(v=a.employee_training)==null?void 0:v.employee)==null?void 0:C.employee_id)||"-"})]}),e.jsx(m,{children:Y(new Date(a.assessment_date),"MMM dd, yyyy")}),e.jsxs(m,{children:[a.score,"%"]}),e.jsx(m,{children:a.is_passed?e.jsx(j,{variant:"outline",className:"bg-green-50 text-green-700",children:s("Passed")}):e.jsx(j,{variant:"outline",className:"bg-red-50 text-red-700",children:s("Failed")})}),e.jsx(m,{children:((T=a.assessor)==null?void 0:T.name)||"-"})]},a.id)})})]}):e.jsx("div",{className:"text-center py-4 text-gray-500",children:s("No assessment results available")})})]})]}),e.jsx("div",{children:e.jsxs(x,{className:"mb-6",children:[e.jsx(h,{children:e.jsx(u,{children:s("Statistics")})}),e.jsx(g,{children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{children:e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Total Results")}),e.jsx("span",{className:"text-sm",children:n.totalResults})]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Pass Rate")}),e.jsxs("span",{className:"text-sm",children:[n.passRate.toFixed(1),"%"]})]}),e.jsx(A,{value:n.passRate,className:"h-2"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Average Score")}),e.jsxs("span",{className:"text-sm",children:[n.averageScore.toFixed(1),"%"]})]}),e.jsx(A,{value:n.averageScore,className:"h-2"})]}),e.jsx("div",{className:"pt-2 border-t",children:e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Passed")}),e.jsx("span",{className:"text-sm",children:n.passedResults})]})}),e.jsx("div",{children:e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Failed")}),e.jsx("span",{className:"text-sm",children:n.failedResults})]})})]})})]})})]}),e.jsx(J,{isOpen:w,onClose:()=>p(!1),onSubmit:O,formConfig:{fields:[{name:"training_program_id",label:s("Training Program"),type:"select",required:!0,options:k,disabled:!0},{name:"name",label:s("Assessment Name"),type:"text",required:!0},{name:"description",label:s("Description"),type:"textarea"},{name:"type",label:s("Assessment Type"),type:"select",required:!0,options:[{value:"quiz",label:s("Quiz")},{value:"practical",label:s("Practical")},{value:"presentation",label:s("Presentation")}]},{name:"passing_score",label:s("Passing Score (%)"),type:"number",required:!0,min:0,max:100},{name:"criteria",label:s("Assessment Criteria"),type:"textarea",helpText:s("Describe the criteria used to evaluate this assessment")}],modalSize:"lg"},initialData:t,title:s("Edit Assessment"),mode:"edit"}),e.jsx(K,{isOpen:_,onClose:()=>f(!1),onConfirm:E,itemName:t.name,entityName:"assessment"})]})}export{We as default}; +import{r as S,j as e}from"./ui-Z445SNHD.js";import{P as z}from"./page-template-CLNVC8w_.js";import{u as H,c as $,x as L,C as x,m as h,n as u,z as U,B as j,l as g,r as c,t as i}from"./app-Dya84jp7.js";import{P as A}from"./progress-NbCMYaUz.js";import{T as I,a as Q,b as P,c as l,d as G,e as m}from"./table-CM-_W5Cl.js";import{C as J}from"./CrudFormModal-CsuqSfb2.js";import{C as K}from"./CrudDeleteModal-D32N6I8y.js";import{A as V}from"./arrow-left-BUNj5JJK.js";import{S as W}from"./square-pen-CzdhbxyN.js";import{T as X}from"./trash-BFTYTNQN.js";import{f as Y}from"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./radio-group-BMzEN82K.js";import"./circle-C2Wo_gI7.js";import"./checkbox-BLrehV38.js";import"./multi-select-field-CO_GzZgi.js";import"./scroll-area-T2TE8oKI.js";import"./leaflet-ChJqBZBV.js";import"./locate-fixed-BEb8vcRf.js";function We(){var b,y;const{t:s}=H(),{auth:d,trainingAssessment:t,statistics:n}=$().props,D=(d==null?void 0:d.permissions)||[],[_,f]=S.useState(!1),[w,p]=S.useState(!1),R=()=>{c.get(route("hr.training-assessments.index"))},M=()=>{p(!0)},F=()=>{f(!0)},O=a=>{i.loading(s("Updating assessment...")),c.put(route("hr.training-assessments.update",t.id),a,{onSuccess:r=>{p(!1),i.dismiss(),r.props.flash.success?i.success(s(r.props.flash.success)):r.props.flash.error?i.error(s(r.props.flash.error)):i.success(s("Assessment updated successfully"))},onError:r=>{i.dismiss(),typeof r=="string"?i.error(r):i.error(`Failed to update assessment: ${Object.values(r).join(", ")}`)}})},E=()=>{i.loading(s("Deleting assessment...")),c.delete(route("hr.training-assessments.destroy",t.id),{onSuccess:a=>{i.dismiss(),a.props.flash.success?i.success(s(a.props.flash.success)):a.props.flash.error?i.error(s(a.props.flash.error)):i.success(s("Assessment deleted successfully")),c.get(route("hr.training-assessments.index"))},onError:a=>{i.dismiss(),typeof a=="string"?i.error(a):i.error(`Failed to delete assessment: ${Object.values(a).join(", ")}`)}})},o=[];o.push({label:s("Back to List"),icon:e.jsx(V,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:R}),L(D,"manage-assessments")&&(o.push({label:s("Edit"),icon:e.jsx(W,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:M}),n.totalResults===0&&o.push({label:s("Delete"),icon:e.jsx(X,{className:"h-4 w-4 mr-2"}),variant:"destructive",onClick:F}));const q=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.training-assessments.index")},{title:s("Training Management"),href:route("hr.training-assessments.index")},{title:s("Training Assessments"),href:route("hr.training-assessments.index")},{title:t.name}],B={quiz:"bg-blue-50 text-blue-700 ring-blue-600/20",practical:"bg-green-50 text-green-700 ring-green-600/20",presentation:"bg-amber-50 text-amber-700 ring-amber-600/20"},k=[{value:t.training_program.id.toString(),label:t.training_program.name}];return e.jsxs(z,{title:t.name,url:`/hr/training/assessments/${t.id}`,actions:o,breadcrumbs:q,children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs(x,{className:"mb-6",children:[e.jsx(h,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx(u,{className:"text-2xl",children:t.name}),e.jsx(U,{className:"mt-2",children:((b=t.training_program)==null?void 0:b.name)||s("Unknown Program")})]}),e.jsx(j,{className:`${B[t.type]||""}`,children:t.type.charAt(0).toUpperCase()+t.type.slice(1)})]})}),e.jsxs(g,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium text-gray-500",children:s("Passing Score")}),e.jsxs("p",{children:[t.passing_score,"%"]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium text-gray-500",children:s("Created By")}),e.jsx("p",{children:((y=t.creator)==null?void 0:y.name)||"-"})]})]}),t.description&&e.jsxs("div",{className:"mb-4",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-500",children:s("Description")}),e.jsx("p",{className:"mt-1",children:t.description})]}),t.criteria&&e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-medium text-gray-500",children:s("Assessment Criteria")}),e.jsx("p",{className:"mt-1",children:t.criteria})]})]})]}),e.jsxs(x,{children:[e.jsx(h,{children:e.jsx(u,{children:s("Assessment Results")})}),e.jsx(g,{children:t.employee_results&&t.employee_results.length>0?e.jsxs(I,{children:[e.jsx(Q,{children:e.jsxs(P,{children:[e.jsx(l,{children:s("Employee")}),e.jsx(l,{children:s("Date")}),e.jsx(l,{children:s("Score")}),e.jsx(l,{children:s("Result")}),e.jsx(l,{children:s("Assessed By")})]})}),e.jsx(G,{children:t.employee_results.map(a=>{var r,N,v,C,T;return e.jsxs(P,{children:[e.jsxs(m,{children:[e.jsx("div",{className:"font-medium",children:((N=(r=a.employee_training)==null?void 0:r.employee)==null?void 0:N.name)||"-"}),e.jsx("div",{className:"text-xs text-gray-500",children:((C=(v=a.employee_training)==null?void 0:v.employee)==null?void 0:C.employee_id)||"-"})]}),e.jsx(m,{children:Y(new Date(a.assessment_date),"MMM dd, yyyy")}),e.jsxs(m,{children:[a.score,"%"]}),e.jsx(m,{children:a.is_passed?e.jsx(j,{variant:"outline",className:"bg-green-50 text-green-700",children:s("Passed")}):e.jsx(j,{variant:"outline",className:"bg-red-50 text-red-700",children:s("Failed")})}),e.jsx(m,{children:((T=a.assessor)==null?void 0:T.name)||"-"})]},a.id)})})]}):e.jsx("div",{className:"text-center py-4 text-gray-500",children:s("No assessment results available")})})]})]}),e.jsx("div",{children:e.jsxs(x,{className:"mb-6",children:[e.jsx(h,{children:e.jsx(u,{children:s("Statistics")})}),e.jsx(g,{children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{children:e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Total Results")}),e.jsx("span",{className:"text-sm",children:n.totalResults})]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Pass Rate")}),e.jsxs("span",{className:"text-sm",children:[n.passRate.toFixed(1),"%"]})]}),e.jsx(A,{value:n.passRate,className:"h-2"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Average Score")}),e.jsxs("span",{className:"text-sm",children:[n.averageScore.toFixed(1),"%"]})]}),e.jsx(A,{value:n.averageScore,className:"h-2"})]}),e.jsx("div",{className:"pt-2 border-t",children:e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Passed")}),e.jsx("span",{className:"text-sm",children:n.passedResults})]})}),e.jsx("div",{children:e.jsxs("div",{className:"flex justify-between mb-1",children:[e.jsx("span",{className:"text-sm font-medium",children:s("Failed")}),e.jsx("span",{className:"text-sm",children:n.failedResults})]})})]})})]})})]}),e.jsx(J,{isOpen:w,onClose:()=>p(!1),onSubmit:O,formConfig:{fields:[{name:"training_program_id",label:s("Training Program"),type:"select",required:!0,options:k,disabled:!0},{name:"name",label:s("Assessment Name"),type:"text",required:!0},{name:"description",label:s("Description"),type:"textarea"},{name:"type",label:s("Assessment Type"),type:"select",required:!0,options:[{value:"quiz",label:s("Quiz")},{value:"practical",label:s("Practical")},{value:"presentation",label:s("Presentation")}]},{name:"passing_score",label:s("Passing Score (%)"),type:"number",required:!0,min:0,max:100},{name:"criteria",label:s("Assessment Criteria"),type:"textarea",helpText:s("Describe the criteria used to evaluate this assessment")}],modalSize:"lg"},initialData:t,title:s("Edit Assessment"),mode:"edit"}),e.jsx(K,{isOpen:_,onClose:()=>f(!1),onConfirm:E,itemName:t.name,entityName:"assessment"})]})}export{We as default}; diff --git a/public/build/assets/show-Dg_yrs0x.js b/public/build/assets/show-DjWMXJgC.js similarity index 75% rename from public/build/assets/show-Dg_yrs0x.js rename to public/build/assets/show-DjWMXJgC.js index e0dcac924..9e41b480c 100644 --- a/public/build/assets/show-Dg_yrs0x.js +++ b/public/build/assets/show-DjWMXJgC.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as h}from"./page-template-BTxLyiDA.js";import{u as f,c as j,r as u,C as i,m,n,l as o}from"./app-CfhhiFAk.js";import{A as b}from"./arrow-left-B_Yqvwsn.js";import{C as y}from"./code-BfjQUpEO.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function me(){var l,d;const{t}=f(),{auth:a,offerTemplate:r}=j().props;a!=null&&a.permissions;const x=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.offer-templates.index")},{title:t("Offer Templates"),href:route("hr.recruitment.offer-templates.index")},{title:t("View")}],c=[{label:t("Back"),icon:e.jsx(b,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>u.get(route("hr.recruitment.offer-templates.index"))}],s=Array.isArray(r.variables)?r.variables:[];return e.jsx(h,{title:t("View Offer Template"),breadcrumbs:x,actions:c,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(i,{children:[e.jsx(m,{children:e.jsx(n,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(o,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Template Name")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:r.name})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?t("Active"):t("Inactive")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Created At")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(r.created_at,!1))||new Date(r.created_at).toLocaleDateString()})]})]})})]}),e.jsxs(i,{children:[e.jsx(m,{children:e.jsx(n,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsxs(o,{children:[e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:e.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono text-gray-800 dark:text-gray-200",children:r.template_content||t("No content available")})}),e.jsxs("p",{className:"text-xs text-gray-400 dark:text-gray-500 mt-2",children:[((d=r.template_content)==null?void 0:d.length)||0," ",t("characters")]})]})]}),s.length>0&&e.jsxs(i,{children:[e.jsx(m,{children:e.jsxs(n,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(y,{className:"h-5 w-5 text-gray-400"}),t("Variables"),e.jsxs("span",{className:"text-sm font-normal text-gray-500",children:["(",s.length,")"]})]})}),e.jsx(o,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:s.map((p,g)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/20 px-2.5 py-1 text-xs font-medium text-blue-700 dark:text-blue-300 ring-1 ring-inset ring-blue-600/20",children:`{{${p}}}`},g))})})]})]})})}export{me as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as h}from"./page-template-CLNVC8w_.js";import{u as f,c as j,r as u,C as i,m,n,l as o}from"./app-Dya84jp7.js";import{A as b}from"./arrow-left-BUNj5JJK.js";import{C as y}from"./code-znlKMFkF.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function me(){var l,d;const{t}=f(),{auth:a,offerTemplate:r}=j().props;a!=null&&a.permissions;const x=[{title:t("Dashboard"),href:route("dashboard")},{title:t("Recruitment"),href:route("hr.recruitment.offer-templates.index")},{title:t("Offer Templates"),href:route("hr.recruitment.offer-templates.index")},{title:t("View")}],c=[{label:t("Back"),icon:e.jsx(b,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>u.get(route("hr.recruitment.offer-templates.index"))}],s=Array.isArray(r.variables)?r.variables:[];return e.jsx(h,{title:t("View Offer Template"),breadcrumbs:x,actions:c,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(i,{children:[e.jsx(m,{children:e.jsx(n,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Basic Information")})}),e.jsx(o,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Template Name")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:r.name})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Status")}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${r.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r.status==="active"?t("Active"):t("Inactive")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1",children:t("Created At")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(r.created_at,!1))||new Date(r.created_at).toLocaleDateString()})]})]})})]}),e.jsxs(i,{children:[e.jsx(m,{children:e.jsx(n,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Template Content")})}),e.jsxs(o,{children:[e.jsx("div",{className:"bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-4",children:e.jsx("pre",{className:"whitespace-pre-wrap text-sm font-mono text-gray-800 dark:text-gray-200",children:r.template_content||t("No content available")})}),e.jsxs("p",{className:"text-xs text-gray-400 dark:text-gray-500 mt-2",children:[((d=r.template_content)==null?void 0:d.length)||0," ",t("characters")]})]})]}),s.length>0&&e.jsxs(i,{children:[e.jsx(m,{children:e.jsxs(n,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx(y,{className:"h-5 w-5 text-gray-400"}),t("Variables"),e.jsxs("span",{className:"text-sm font-normal text-gray-500",children:["(",s.length,")"]})]})}),e.jsx(o,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:s.map((p,g)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/20 px-2.5 py-1 text-xs font-medium text-blue-700 dark:text-blue-300 ring-1 ring-inset ring-blue-600/20",children:`{{${p}}}`},g))})})]})]})})}export{me as default}; diff --git a/public/build/assets/show-BBP32Lsm.js b/public/build/assets/show-Vr7BZGQD.js similarity index 82% rename from public/build/assets/show-BBP32Lsm.js rename to public/build/assets/show-Vr7BZGQD.js index cdede458f..bc367d089 100644 --- a/public/build/assets/show-BBP32Lsm.js +++ b/public/build/assets/show-Vr7BZGQD.js @@ -1 +1 @@ -import{r as M,j as e}from"./ui-Z445SNHD.js";import{C as H}from"./CrudDeleteModal-CKTiD3_K.js";import{u as L,c as I,x as l,C as c,m as p,n as h,z as O,B as m,l as u,A as $,o as y,r as i,t as n}from"./app-CfhhiFAk.js";import{P as F}from"./page-template-BTxLyiDA.js";import{P as R}from"./progress-CJ4ij2ij.js";import{A as N}from"./arrow-left-B_Yqvwsn.js";import{C as v}from"./chart-no-axes-column-increasing-B7MqdTh5.js";import{S as V}from"./square-pen-bMHyT06o.js";import{T as q}from"./trash-Pq_dkuTI.js";import{D as z}from"./download-Bk1k2_dW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";function Le(){var j,b;const{t:s}=L(),{auth:d,announcement:t,viewCount:w,totalEmployees:C,viewPercentage:g}=I().props,o=(d==null?void 0:d.permissions)||[],[D,x]=M.useState(!1),k=()=>{i.get(route("hr.announcements.index"))},S=()=>{i.get(route("hr.announcements.dashboard"))},_=()=>{i.get(route("hr.announcements.index"),{},{onSuccess:()=>{setTimeout(()=>{const a=document.querySelector(`[data-announcement-id="${t.id}"][data-action="edit"]`);a&&a.dispatchEvent(new MouseEvent("click",{bubbles:!0}))},500)}})},f=()=>{i.get(route("hr.announcements.statistics",t.id))},A=()=>{window.open(route("hr.announcements.download-attachment",t.id),"_blank")},T=()=>{x(!0)},E=()=>{n.loading(s("Deleting announcement...")),i.delete(route("hr.announcements.destroy",t.id),{onSuccess:a=>{x(!1),n.dismiss(),a.props.flash.success?n.success(s(a.props.flash.success)):a.props.flash.error?n.error(s(a.props.flash.error)):n.success(s("Announcement deleted successfully")),i.get(route("hr.announcements.index"))},onError:a=>{n.dismiss(),typeof a=="string"?n.error(a):n.error(`Failed to delete announcement: ${Object.values(a).join(", ")}`)}})},r=[];r.push({label:s("Back"),icon:e.jsx(N,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:k}),r.push({label:s("Dashboard"),icon:e.jsx(N,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:S}),l(o,"view-announcements")&&r.push({label:s("Statistics"),icon:e.jsx(v,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:f}),l(o,"edit-announcements")&&r.push({label:s("Edit"),icon:e.jsx(V,{className:"mr-2 h-4 w-4"}),variant:"default",onClick:_}),l(o,"delete-announcements")&&r.push({label:s("Delete"),icon:e.jsx(q,{className:"mr-2 h-4 w-4"}),variant:"destructive",onClick:T});const P=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.announcements.index")},{title:s("Announcements"),href:route("hr.announcements.index")},{title:s("Details")}],B={"company news":"bg-blue-50 text-blue-700 ring-blue-600/20","policy updates":"bg-purple-50 text-purple-700 ring-purple-600/20",events:"bg-green-50 text-green-700 ring-green-600/20",HR:"bg-amber-50 text-amber-700 ring-amber-600/20","IT updates":"bg-indigo-50 text-indigo-700 ring-indigo-600/20"}[t.category]||"bg-gray-50 text-gray-700 ring-gray-600/20";return e.jsxs(F,{title:s("Announcement Details"),url:`/hr/announcements/${t.id}`,actions:r,breadcrumbs:P,children:[e.jsx(c,{className:"mb-6",children:e.jsxs(p,{children:[e.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-2",children:[e.jsxs("div",{children:[e.jsx(h,{className:"text-xl font-semibold text-gray-900 dark:text-gray-100",children:t.title}),e.jsx(O,{className:"mt-2 text-sm text-gray-600 dark:text-gray-400",children:t.description})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${B}`,children:t.category.charAt(0).toUpperCase()+t.category.slice(1)}),t.is_featured&&e.jsx(m,{variant:"secondary",className:"bg-purple-50 text-xs text-purple-700 hover:bg-purple-50",children:s("Featured")}),t.is_high_priority&&e.jsx(m,{variant:"secondary",className:"bg-red-50 text-xs text-red-700 hover:bg-red-50",children:s("High Priority")})]})]}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-4 text-xs text-gray-600 dark:text-gray-400",children:[e.jsxs("div",{children:[e.jsxs("span",{className:"font-semibold text-gray-700 dark:text-gray-300",children:[s("Start Date"),":"]})," ",e.jsx("span",{className:"ml-1",children:t.start_date?((j=window.appSettings)==null?void 0:j.formatDateTimeSimple(t.start_date,!1))||new Date(t.start_date).toLocaleString():"-"})]}),t.end_date&&e.jsxs("div",{children:[e.jsxs("span",{className:"font-semibold text-gray-700 dark:text-gray-300",children:[s("End Date"),":"]})," ",e.jsx("span",{className:"ml-1",children:t.end_date?((b=window.appSettings)==null?void 0:b.formatDateTimeSimple(t.end_date,!1))||new Date(t.end_date).toLocaleString():"-"})]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-semibold text-gray-700 dark:text-gray-300",children:[s("Audience"),":"]})," ",e.jsx("span",{className:"ml-1",children:t.is_company_wide?s("Company-wide"):s("Targeted")})]})]})]})}),e.jsxs(c,{className:"mb-6",children:[e.jsx(u,{className:"pt-6",children:e.jsx("div",{className:"prose dark:prose-invert max-w-none",dangerouslySetInnerHTML:{__html:t.content}})}),t.attachments&&e.jsx($,{children:e.jsxs(y,{variant:"outline",onClick:A,className:"flex items-center",children:[e.jsx(z,{className:"mr-2 h-4 w-4"}),s("Download Attachment")]})})]}),!t.is_company_wide&&(t.departments.length>0||t.branches.length>0)&&e.jsxs(c,{className:"mb-6",children:[e.jsx(p,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Target Audience")})}),e.jsx(u,{children:e.jsxs("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2",children:[t.departments.length>0&&e.jsxs("div",{children:[e.jsx("h3",{className:"mb-3 text-sm font-semibold text-gray-900 dark:text-gray-100",children:s("Departments")}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.departments.map(a=>e.jsx(m,{variant:"outline",className:"text-xs",children:a.name},a.id))})]}),t.branches.length>0&&e.jsxs("div",{children:[e.jsx("h3",{className:"mb-3 text-sm font-semibold text-gray-900 dark:text-gray-100",children:s("Branches")}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.branches.map(a=>e.jsx(m,{variant:"outline",className:"text-xs",children:a.name},a.id))})]})]})})]}),l(o,"view-announcements")&&e.jsxs(c,{children:[e.jsx(p,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Engagement Statistics")})}),e.jsx(u,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex justify-between text-sm text-gray-700 dark:text-gray-300",children:[e.jsx("span",{className:"font-medium",children:s("Views")}),e.jsxs("span",{className:"font-semibold",children:[w," / ",C," (",g,"%)"]})]}),e.jsx(R,{value:g,className:"h-2"})]}),e.jsx("div",{className:"flex justify-center",children:e.jsxs(y,{variant:"outline",onClick:f,className:"flex items-center",children:[e.jsx(v,{className:"mr-2 h-4 w-4"}),s("View Detailed Statistics")]})})]})})]}),e.jsx(H,{isOpen:D,onClose:()=>x(!1),onConfirm:E,itemName:t.title,entityName:"announcement"})]})}export{Le as default}; +import{r as M,j as e}from"./ui-Z445SNHD.js";import{C as H}from"./CrudDeleteModal-D32N6I8y.js";import{u as L,c as I,x as l,C as c,m as p,n as h,z as O,B as m,l as u,A as $,o as y,r as i,t as n}from"./app-Dya84jp7.js";import{P as F}from"./page-template-CLNVC8w_.js";import{P as R}from"./progress-NbCMYaUz.js";import{A as N}from"./arrow-left-BUNj5JJK.js";import{C as v}from"./chart-no-axes-column-increasing-DGWtPhLs.js";import{S as V}from"./square-pen-CzdhbxyN.js";import{T as q}from"./trash-BFTYTNQN.js";import{D as z}from"./download-BBNmalxc.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";function Le(){var j,b;const{t:s}=L(),{auth:d,announcement:t,viewCount:w,totalEmployees:C,viewPercentage:g}=I().props,o=(d==null?void 0:d.permissions)||[],[D,x]=M.useState(!1),k=()=>{i.get(route("hr.announcements.index"))},S=()=>{i.get(route("hr.announcements.dashboard"))},_=()=>{i.get(route("hr.announcements.index"),{},{onSuccess:()=>{setTimeout(()=>{const a=document.querySelector(`[data-announcement-id="${t.id}"][data-action="edit"]`);a&&a.dispatchEvent(new MouseEvent("click",{bubbles:!0}))},500)}})},f=()=>{i.get(route("hr.announcements.statistics",t.id))},A=()=>{window.open(route("hr.announcements.download-attachment",t.id),"_blank")},T=()=>{x(!0)},E=()=>{n.loading(s("Deleting announcement...")),i.delete(route("hr.announcements.destroy",t.id),{onSuccess:a=>{x(!1),n.dismiss(),a.props.flash.success?n.success(s(a.props.flash.success)):a.props.flash.error?n.error(s(a.props.flash.error)):n.success(s("Announcement deleted successfully")),i.get(route("hr.announcements.index"))},onError:a=>{n.dismiss(),typeof a=="string"?n.error(a):n.error(`Failed to delete announcement: ${Object.values(a).join(", ")}`)}})},r=[];r.push({label:s("Back"),icon:e.jsx(N,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:k}),r.push({label:s("Dashboard"),icon:e.jsx(N,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:S}),l(o,"view-announcements")&&r.push({label:s("Statistics"),icon:e.jsx(v,{className:"mr-2 h-4 w-4"}),variant:"outline",onClick:f}),l(o,"edit-announcements")&&r.push({label:s("Edit"),icon:e.jsx(V,{className:"mr-2 h-4 w-4"}),variant:"default",onClick:_}),l(o,"delete-announcements")&&r.push({label:s("Delete"),icon:e.jsx(q,{className:"mr-2 h-4 w-4"}),variant:"destructive",onClick:T});const P=[{title:s("Dashboard"),href:route("dashboard")},{title:s("HR Management"),href:route("hr.announcements.index")},{title:s("Announcements"),href:route("hr.announcements.index")},{title:s("Details")}],B={"company news":"bg-blue-50 text-blue-700 ring-blue-600/20","policy updates":"bg-purple-50 text-purple-700 ring-purple-600/20",events:"bg-green-50 text-green-700 ring-green-600/20",HR:"bg-amber-50 text-amber-700 ring-amber-600/20","IT updates":"bg-indigo-50 text-indigo-700 ring-indigo-600/20"}[t.category]||"bg-gray-50 text-gray-700 ring-gray-600/20";return e.jsxs(F,{title:s("Announcement Details"),url:`/hr/announcements/${t.id}`,actions:r,breadcrumbs:P,children:[e.jsx(c,{className:"mb-6",children:e.jsxs(p,{children:[e.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-2",children:[e.jsxs("div",{children:[e.jsx(h,{className:"text-xl font-semibold text-gray-900 dark:text-gray-100",children:t.title}),e.jsx(O,{className:"mt-2 text-sm text-gray-600 dark:text-gray-400",children:t.description})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${B}`,children:t.category.charAt(0).toUpperCase()+t.category.slice(1)}),t.is_featured&&e.jsx(m,{variant:"secondary",className:"bg-purple-50 text-xs text-purple-700 hover:bg-purple-50",children:s("Featured")}),t.is_high_priority&&e.jsx(m,{variant:"secondary",className:"bg-red-50 text-xs text-red-700 hover:bg-red-50",children:s("High Priority")})]})]}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-4 text-xs text-gray-600 dark:text-gray-400",children:[e.jsxs("div",{children:[e.jsxs("span",{className:"font-semibold text-gray-700 dark:text-gray-300",children:[s("Start Date"),":"]})," ",e.jsx("span",{className:"ml-1",children:t.start_date?((j=window.appSettings)==null?void 0:j.formatDateTimeSimple(t.start_date,!1))||new Date(t.start_date).toLocaleString():"-"})]}),t.end_date&&e.jsxs("div",{children:[e.jsxs("span",{className:"font-semibold text-gray-700 dark:text-gray-300",children:[s("End Date"),":"]})," ",e.jsx("span",{className:"ml-1",children:t.end_date?((b=window.appSettings)==null?void 0:b.formatDateTimeSimple(t.end_date,!1))||new Date(t.end_date).toLocaleString():"-"})]}),e.jsxs("div",{children:[e.jsxs("span",{className:"font-semibold text-gray-700 dark:text-gray-300",children:[s("Audience"),":"]})," ",e.jsx("span",{className:"ml-1",children:t.is_company_wide?s("Company-wide"):s("Targeted")})]})]})]})}),e.jsxs(c,{className:"mb-6",children:[e.jsx(u,{className:"pt-6",children:e.jsx("div",{className:"prose dark:prose-invert max-w-none",dangerouslySetInnerHTML:{__html:t.content}})}),t.attachments&&e.jsx($,{children:e.jsxs(y,{variant:"outline",onClick:A,className:"flex items-center",children:[e.jsx(z,{className:"mr-2 h-4 w-4"}),s("Download Attachment")]})})]}),!t.is_company_wide&&(t.departments.length>0||t.branches.length>0)&&e.jsxs(c,{className:"mb-6",children:[e.jsx(p,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Target Audience")})}),e.jsx(u,{children:e.jsxs("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2",children:[t.departments.length>0&&e.jsxs("div",{children:[e.jsx("h3",{className:"mb-3 text-sm font-semibold text-gray-900 dark:text-gray-100",children:s("Departments")}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.departments.map(a=>e.jsx(m,{variant:"outline",className:"text-xs",children:a.name},a.id))})]}),t.branches.length>0&&e.jsxs("div",{children:[e.jsx("h3",{className:"mb-3 text-sm font-semibold text-gray-900 dark:text-gray-100",children:s("Branches")}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.branches.map(a=>e.jsx(m,{variant:"outline",className:"text-xs",children:a.name},a.id))})]})]})})]}),l(o,"view-announcements")&&e.jsxs(c,{children:[e.jsx(p,{children:e.jsx(h,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Engagement Statistics")})}),e.jsx(u,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex justify-between text-sm text-gray-700 dark:text-gray-300",children:[e.jsx("span",{className:"font-medium",children:s("Views")}),e.jsxs("span",{className:"font-semibold",children:[w," / ",C," (",g,"%)"]})]}),e.jsx(R,{value:g,className:"h-2"})]}),e.jsx("div",{className:"flex justify-center",children:e.jsxs(y,{variant:"outline",onClick:f,className:"flex items-center",children:[e.jsx(v,{className:"mr-2 h-4 w-4"}),s("View Detailed Statistics")]})})]})})]}),e.jsx(H,{isOpen:D,onClose:()=>x(!1),onConfirm:E,itemName:t.title,entityName:"announcement"})]})}export{Le as default}; diff --git a/public/build/assets/show-BrUoHkvy.js b/public/build/assets/show-btx521-2.js similarity index 61% rename from public/build/assets/show-BrUoHkvy.js rename to public/build/assets/show-btx521-2.js index 598bfd7fd..1a850692e 100644 --- a/public/build/assets/show-BrUoHkvy.js +++ b/public/build/assets/show-btx521-2.js @@ -1,2 +1,2 @@ -import{r as N,j as e}from"./ui-Z445SNHD.js";import{P as ne}from"./page-template-BTxLyiDA.js";import{u as ie,c as le,r as f,t as o,x as V,C as c,m as x,n as y,l as u}from"./app-CfhhiFAk.js";import{C as me}from"./CrudTable-qPWooc10.js";import{C as de}from"./CrudDeleteModal-CKTiD3_K.js";import{PayrollOverrideModal as pe}from"./PayrollOverrideModal-zN2d0QE9.js";import{f as ce,b as xe,e as i}from"./table-BXUOKUBo.js";import{D as z}from"./download-Bk1k2_dW.js";import{A as ye}from"./arrow-left-B_Yqvwsn.js";import{U as ue}from"./users-C4LpG59H.js";import{D as w}from"./dollar-sign-DYXFWWsE.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./unlink-BUU37FwK.js";import"./scale-BUz-ovAe.js";import"./arrow-down-left-B7-m5tqv.js";import"./arrow-right-left-oZQEgmVQ.js";import"./arrow-right-0WTHrq3r.js";import"./arrow-up-down-Bd89yBZf.js";import"./lock-open-Bohob0Q8.js";import"./award-DMMowKjz.js";import"./ban-61sP3ZVw.js";import"./indian-rupee-Dzf_OaiN.js";import"./bell-DXAvb3Z0.js";import"./book-open-3qYfaEN0.js";import"./boxes-C2a1Xilp.js";import"./building-2-D7cTdbG2.js";import"./building-Cyq-0nCs.js";import"./calculator-CAq-8OXK.js";import"./calendar-check-B2HQiQ2A.js";import"./camera-C44LyAAQ.js";import"./chart-column-CXNcY9Vx.js";import"./chart-no-axes-column-increasing-B7MqdTh5.js";import"./chart-no-axes-column-BrIh_iVD.js";import"./chevron-left-DzjQ74li.js";import"./circle-alert-64DrdoHv.js";import"./circle-check-big-C5Cqj7-2.js";import"./circle-check-BE5AcCr7.js";import"./circle-help-qSaafQwl.js";import"./circle-x-C1aiFLrz.js";import"./circle-BoWbKVIN.js";import"./clipboard-list-DA9ABN1f.js";import"./code-BfjQUpEO.js";import"./crosshair-D1Bk7XgB.js";import"./crown-hSojj3Kc.js";import"./external-link-QgK5Wt8A.js";import"./eye-off-CTWV_K-G.js";import"./eye--FVGKpVp.js";import"./instagram-BINpUnZv.js";import"./file-down-Dd8zePUY.js";import"./pen-line-BrTss6NX.js";import"./file-up-BGHgeTEG.js";import"./filter-uErFRSPT.js";import"./house-CL9v9Cnk.js";import"./git-branch-B0hRoz5x.js";import"./grip-vertical-DE07jY4a.js";import"./hard-drive-B_Mpft6K.js";import"./hash-BdwQ_IPO.js";import"./shield-BXgaUVtY.js";import"./info-D_4wnc_R.js";import"./layers-Dl67CG9c.js";import"./layout-list-BgC0E-xE.js";import"./lightbulb-BGgHG47R.js";import"./link-2-CqlWBpzI.js";import"./link-Bv_VEBSZ.js";import"./twitter-C171Pyox.js";import"./list-D0MAUZMV.js";import"./locate-fixed-DbvcuJ_9.js";import"./lock-By6rMOj7.js";import"./log-in-DDjMW0xI.js";import"./mail-CGIE7ZEy.js";import"./map-pin-BEMjKB1T.js";import"./menu-Ce4PLUkG.js";import"./message-square-warning-D-p7x0Lz.js";import"./message-square-CWrDttoL.js";import"./monitor-CnIEqEUy.js";import"./package-Dbz0W2dX.js";import"./percent-CBKzOw5k.js";import"./phone-B_MwJBjY.js";import"./plane-BHhadcsS.js";import"./play-C-QVLyAb.js";import"./qr-code-Dvy3HD3W.js";import"./quote-CVpLTvYv.js";import"./ruler-BouWNjvC.js";import"./send-Cj7KqUHo.js";import"./server-Dw1-QcTX.js";import"./wifi-C3afLemA.js";import"./shield-check-Ca-zuQJC.js";import"./square-check-big-BCxRi7D4.js";import"./square-pen-bMHyT06o.js";import"./star-DQsTg5F1.js";import"./sun-C2oQ_gMz.js";import"./tag-JSZ9YmZg.js";import"./target-Pzb9zAUp.js";import"./thumbs-up-_WTyicKR.js";import"./ticket-iWUCgUMN.js";import"./trash-2-C1NR_7Ss.js";import"./trash-Pq_dkuTI.js";import"./trending-down-DeoG-P9A.js";import"./trending-up-Bi4f72Tj.js";import"./triangle-alert-DGWTh17w.js";import"./trophy-D1q7o3Ri.js";import"./type-CNRj7XNX.js";import"./user-check-eTf_WVUH.js";import"./user-plus-DXHdW4q-.js";import"./user-x-BAm8TG2r.js";import"./wallet-OtmBA2C9.js";import"./wrench-BdOd6Wbm.js";import"./zap-DncwKEcc.js";import"./scroll-area-Dxv7Ysgl.js";function Jr(){var C,v,D,P,E,T,A,O,R,G,L,F,M,U,$,B,H,I,q;const{t:s}=ie(),{payrollRun:a,auth:h}=le().props,j=(h==null?void 0:h.permissions)||[],[J,_]=N.useState(!1),[K,b]=N.useState(!1),[m,k]=N.useState(null),Q=[{title:s("Dashboard"),href:route("dashboard")},{title:s("Payroll Management"),href:route("hr.payroll-runs.index")},{title:s("Payroll Runs"),href:route("hr.payroll-runs.index")},{title:a.title}],S=[{label:s("Export"),icon:e.jsx(z,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>Y()},{label:s("Back"),icon:e.jsx(ye,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>f.get(route("hr.payroll-runs.index"))}];(a.status==="processing"||a.status==="completed")&&S.unshift({label:s("Generate Payslips"),icon:e.jsx(z,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const X=()=>{o.loading(s("Generating payslips...")),f.post(route("hr.payslips.bulk-generate"),{payroll_run_id:a.id},{onSuccess:t=>{o.dismiss(),t.props.flash.success?(o.success(s(t.props.flash.success)),setTimeout(()=>{f.get(route("hr.payslips.index"))},1e3)):t.props.flash.error&&o.error(s(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(t):o.error("Failed to generate payslips")}})},Y=()=>{if(!a.payroll_entries||a.payroll_entries.length===0){o.error(s("No payroll entries to export."));return}const r=[["Employee","Basic Salary","Per Day Salary","Component Earnings","Adjustment Earnings","Adjustment Deductions","Total Earnings","Working Days","Present Days","Overtime Hours","Overtime Earnings","Leave Deductions","Gross Pay","Component Deduction","Net Pay"].join(",")];a.payroll_entries.forEach(n=>{var W;const oe=[`"${((W=n.employee)==null?void 0:W.name)||"-"}"`,n.basic_salary||0,n.per_day_salary||0,n.component_earnings||0,n.adjustment_earnings_total||0,n.adjustment_deductions_total||0,n.total_earnings||0,n.working_days||0,n.present_days||0,n.overtime_hours||0,n.overtime_amount||0,n.unpaid_leave_deduction||0,n.gross_pay||0,n.total_deductions||0,n.net_pay||0];r.push(oe.join(","))});const d="data:text/csv;charset=utf-8,"+r.join(` -`),g=encodeURI(d),p=document.createElement("a");p.setAttribute("href",g),p.setAttribute("download",`Payroll_Run_${a.id}_Export.csv`),document.body.appendChild(p),p.click(),document.body.removeChild(p)},Z=(t,r)=>{t==="delete"?(k(r),_(!0)):t==="edit"&&(k(r),b(!0))},ee=t=>{o.loading(s("Updating payroll entry...")),f.put(route("hr.payroll-entries.update",m==null?void 0:m.id),t,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(s(r.props.flash.success)):r.props.flash.error&&o.error(s(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(s(r)):o.error(s("Failed to update payroll entry"))}})},te=()=>{o.loading(s("Deleting payroll entry...")),f.delete(route("hr.payroll-entries.destroy",m.id),{onSuccess:t=>{_(!1),o.dismiss(),t.props.flash.success?o.success(s(t.props.flash.success)):t.props.flash.error&&o.error(s(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(s(t)):o.error(s("Failed to delete payroll entry"))}})},re=t=>{const r={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",processing:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return r[t]||r.draft},l=(a.payroll_entries||[]).reduce((t,r)=>(t.basic_salary+=Number(r.basic_salary||0),t.per_day_salary+=Number(r.per_day_salary||0),t.component_earnings+=Number(r.component_earnings||0),t.adjustment_earnings+=Number(r.adjustment_earnings_total||0),t.adjustment_deductions+=Number(r.adjustment_deductions_total||0),t.total_earnings+=Number(r.total_earnings||0),t.overtime_amount+=Number(r.overtime_amount||0),t.unpaid_leave_deduction+=Number(r.unpaid_leave_deduction||0),t.gross_pay+=Number(r.gross_pay||0),t.total_deductions+=Number(r.total_deductions||0),t.net_pay+=Number(r.net_pay||0),t),{basic_salary:0,per_day_salary:0,component_earnings:0,adjustment_earnings:0,adjustment_deductions:0,total_earnings:0,overtime_amount:0,unpaid_leave_deduction:0,gross_pay:0,total_deductions:0,net_pay:0}),se=V(j,"edit-payroll-runs")||V(j,"delete-payroll-entries"),ae=e.jsx(ce,{children:e.jsxs(xe,{className:"font-bold bg-gray-100 dark:bg-gray-800",children:[e.jsx(i,{colSpan:2,className:"text-right py-2.5 text-gray-900 dark:text-gray-100",children:s("Totals")}),e.jsx(i,{className:"text-left font-mono py-2.5",children:(C=window.appSettings)==null?void 0:C.formatCurrency(l.basic_salary)}),e.jsx(i,{className:"text-left font-mono text-green-600 py-2.5",children:(v=window.appSettings)==null?void 0:v.formatCurrency(l.per_day_salary)}),e.jsx(i,{className:"text-left font-mono text-blue-600 py-2.5",children:(D=window.appSettings)==null?void 0:D.formatCurrency(l.component_earnings)}),e.jsx(i,{className:"text-left font-mono py-2.5",children:e.jsxs("div",{className:"flex flex-col text-xs font-mono",children:[l.adjustment_earnings>0&&e.jsxs("span",{className:"text-green-600",children:["+",(P=window.appSettings)==null?void 0:P.formatCurrency(l.adjustment_earnings)]}),l.adjustment_deductions>0&&e.jsxs("span",{className:"text-red-600",children:["-",(E=window.appSettings)==null?void 0:E.formatCurrency(l.adjustment_deductions)]})]})}),e.jsx(i,{className:"text-left font-mono text-blue-600 py-2.5",children:(T=window.appSettings)==null?void 0:T.formatCurrency(l.total_earnings)}),e.jsx(i,{className:"py-2.5"}),e.jsx(i,{className:"py-2.5"}),e.jsx(i,{className:"py-2.5"}),e.jsx(i,{className:"text-left font-mono text-green-600 py-2.5",children:(A=window.appSettings)==null?void 0:A.formatCurrency(l.overtime_amount)}),e.jsx(i,{className:"text-left font-mono text-red-600 py-2.5",children:(O=window.appSettings)==null?void 0:O.formatCurrency(l.unpaid_leave_deduction)}),e.jsx(i,{className:"text-left font-mono text-green-600 py-2.5",children:(R=window.appSettings)==null?void 0:R.formatCurrency(l.gross_pay)}),e.jsx(i,{className:"text-left font-mono text-red-600 py-2.5",children:(G=window.appSettings)==null?void 0:G.formatCurrency(l.total_deductions)}),e.jsx(i,{className:"text-left font-mono text-blue-600 font-bold py-2.5",children:(L=window.appSettings)==null?void 0:L.formatCurrency(l.net_pay)}),se&&e.jsx(i,{className:"py-2.5"})]})});return e.jsxs(ne,{title:a.title,url:`/hr/payroll-runs/${a.id}`,actions:S,breadcrumbs:Q,children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 mb-6",children:[e.jsxs(c,{children:[e.jsxs(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsx(y,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Total Employees")}),e.jsx(ue,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"})]}),e.jsx(u,{children:e.jsx("div",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:a.employee_count})})]}),e.jsxs(c,{children:[e.jsxs(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsx(y,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Gross Pay")}),e.jsx(w,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"})]}),e.jsx(u,{children:e.jsx("div",{className:"text-xl font-bold text-green-600",children:(F=window.appSettings)==null?void 0:F.formatCurrency(a.total_gross_pay)})})]}),e.jsxs(c,{children:[e.jsxs(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsx(y,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Total Deductions")}),e.jsx(w,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"})]}),e.jsx(u,{children:e.jsx("div",{className:"text-xl font-bold text-red-600",children:(M=window.appSettings)==null?void 0:M.formatCurrency(a.total_deductions)})})]}),e.jsxs(c,{children:[e.jsxs(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsx(y,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Net Pay")}),e.jsx(w,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"})]}),e.jsx(u,{children:e.jsx("div",{className:"text-xl font-bold text-blue-600",children:(U=window.appSettings)==null?void 0:U.formatCurrency(a.total_net_pay)})})]})]}),e.jsxs(c,{className:"mb-6",children:[e.jsx(x,{children:e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Payroll Run Details")})}),e.jsxs(u,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Pay Period")}),e.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[(($=window.appSettings)==null?void 0:$.formatDateTimeSimple(a.pay_period_start,!1))||new Date(a.pay_period_start).toLocaleDateString()," - ",((B=window.appSettings)==null?void 0:B.formatDateTimeSimple(a.pay_period_end,!1))||new Date(a.pay_period_end).toLocaleDateString()]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Pay Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((H=window.appSettings)==null?void 0:H.formatDateTimeSimple(a.pay_date,!1))||new Date(a.pay_date).toLocaleDateString()})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Status")}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${re(a.status)}`,children:s(a.status.charAt(0).toUpperCase()+a.status.slice(1))})})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Created At")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((I=window.appSettings)==null?void 0:I.formatDateTimeSimple(a.created_at,!1))||new Date(a.created_at).toLocaleDateString()})]})]}),a.notes&&e.jsxs("div",{className:"mt-4",children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Notes")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.notes})]})]})]}),e.jsxs(c,{children:[e.jsxs(x,{children:[e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Employee Payroll Entries")}),e.jsxs("div",{className:"mt-2 p-3 bg-blue-50 dark:bg-blue-900/20 rounded-md space-y-2",children:[e.jsxs("p",{className:"text-xs text-blue-800 dark:text-blue-200 font-medium",children:[s("Gross Pay Formula")," : ",e.jsx("span",{className:"font-mono",children:"Total Earnings (Basic Salary + Component Earning + Adjustment Earnings) - Unpaid Leave Deduction + Overtime Earnings"})]}),e.jsxs("p",{className:"text-xs text-blue-800 dark:text-blue-200 font-medium",children:[s("Net Salary Formula")," : ",e.jsx("span",{className:"font-mono",children:"Gross Pay - Total Deductions - Adjustment Deductions"})]})]})]}),e.jsx(u,{className:"p-0",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsx(me,{columns:[{key:"employee",label:s("Employee"),render:(t,r)=>{var d;return((d=r.employee)==null?void 0:d.name)||"-"}},{key:"basic_salary",label:s("Basic Salary"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-gray-900",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t)})}},{key:"per_day_salary",label:s("Per Day Salary"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-green-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"component_earnings",label:s("Component Earnings"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-blue-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"adjustments",label:s("Adjustments"),render:(t,r)=>{var p,n;const d=r.adjustment_earnings_total||0,g=r.adjustment_deductions_total||0;return d===0&&g===0?e.jsx("span",{className:"text-gray-400",children:"—"}):e.jsxs("div",{className:"flex flex-col text-xs font-mono",children:[d>0&&e.jsxs("span",{className:"text-green-600",children:["+",(p=window.appSettings)==null?void 0:p.formatCurrency(d)]}),g>0&&e.jsxs("span",{className:"text-red-600",children:["-",(n=window.appSettings)==null?void 0:n.formatCurrency(g)]})]})}},{key:"total_earnings",label:s("Total Earning"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-blue-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"working_days",label:s("Working Days"),render:t=>t||0},{key:"present_days",label:s("Present Days"),render:t=>t||0},{key:"overtime_hours",label:s("Overtime Hours"),render:t=>`${t||0}h`},{key:"overtime_amount",label:s("Overtime Earnings"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-green-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"unpaid_leave_deduction",label:s("Leave Deductions"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-red-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"gross_pay",label:s("Gross Pay"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-green-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t)})}},{key:"total_deductions",label:s("Component Deduction"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-red-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t)})}},{key:"net_pay",label:s("Net Pay"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-blue-600 font-bold",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t)})}}],data:a.payroll_entries||[],from:1,onAction:Z,permissions:j,entityPermissions:{delete:"delete-payroll-entries",edit:"edit-payroll-runs"},actions:[...a.status!=="completed"?[{label:s("Edit Override"),icon:"Edit",action:"edit",className:"text-blue-500 hover:text-blue-700",requiredPermission:"edit-payroll-runs"}]:[],{label:s("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-payroll-entries"}],showActions:!0,footer:ae})})})]}),e.jsx(pe,{isOpen:K,onClose:()=>b(!1),onSubmit:ee,initialData:m}),e.jsx(de,{isOpen:J,onClose:()=>_(!1),onConfirm:te,itemName:((q=m==null?void 0:m.employee)==null?void 0:q.name)||"",entityName:"payroll entry"})]})}export{Jr as default}; +import{r as N,j as e}from"./ui-Z445SNHD.js";import{P as ne}from"./page-template-CLNVC8w_.js";import{u as ie,c as le,r as f,t as o,x as V,C as c,m as x,n as y,l as u}from"./app-Dya84jp7.js";import{C as me}from"./CrudTable-yqxtM6E_.js";import{C as de}from"./CrudDeleteModal-D32N6I8y.js";import{PayrollOverrideModal as pe}from"./PayrollOverrideModal-BFEQA8PZ.js";import{PayrollEntryBreakdown as ce}from"./PayrollEntryBreakdown-BQCA24RG.js";import{f as xe,b as ye,e as i}from"./table-CM-_W5Cl.js";import{D as z}from"./download-BBNmalxc.js";import{A as ue}from"./arrow-left-BUNj5JJK.js";import{U as ge}from"./users-BzCDZrS0.js";import{D as w}from"./dollar-sign-DH2Tc178.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./unlink-BLQWL2NW.js";import"./scale-BzSuyiWe.js";import"./arrow-down-left-B_VdNN9z.js";import"./arrow-right-left-rbTR90Mc.js";import"./arrow-right-BHW--AGU.js";import"./arrow-up-down-B7nj--dP.js";import"./lock-open-wwRKX_jV.js";import"./award-D1KbOerA.js";import"./ban-BM0r7XNR.js";import"./indian-rupee-CCruSHM0.js";import"./bell-DRg7kyzT.js";import"./book-open-DIuydbp9.js";import"./boxes-Dyz92FXO.js";import"./building-2-CASHKqFo.js";import"./building-DyhEfKj4.js";import"./calculator-D-XBwqfe.js";import"./calendar-check-Cei2wfOk.js";import"./camera-CcveDep5.js";import"./chart-column-B76eI9Qi.js";import"./chart-no-axes-column-increasing-DGWtPhLs.js";import"./chart-no-axes-column-BoCXnewH.js";import"./chevron-left-CQUDAoaX.js";import"./circle-alert-Ddjg2Qwp.js";import"./circle-check-big-Cju4ilPH.js";import"./circle-check-BSTxZIbF.js";import"./circle-help-DYANbqeK.js";import"./circle-x-Dg5wGIim.js";import"./circle-C2Wo_gI7.js";import"./clipboard-list-C-5sn1G-.js";import"./code-znlKMFkF.js";import"./crosshair-CURvK9L2.js";import"./crown-CroP5qiL.js";import"./external-link-Cr5OfBdg.js";import"./eye-off-C7-ukqyH.js";import"./eye-CCNnMtu4.js";import"./instagram-hxbchcd2.js";import"./file-down-DO17xCrw.js";import"./pen-line-D3y4U--J.js";import"./file-up-mHt_z-hD.js";import"./filter-BTHjyusi.js";import"./house-iKjbmxem.js";import"./git-branch-BmbBP1kF.js";import"./grip-vertical-jJ2YrfNT.js";import"./hard-drive-7VwcRvWp.js";import"./hash-CHQJ9wMw.js";import"./shield-CDL27iRK.js";import"./info-CPi9bOGM.js";import"./layers-OK3_pizJ.js";import"./layout-list-Cqn_SURh.js";import"./lightbulb-BaPQrzRp.js";import"./link-2-oaQNJJAj.js";import"./link-DXJwkkHX.js";import"./twitter-DZQVDI4Y.js";import"./list-C_2fG_BT.js";import"./locate-fixed-BEb8vcRf.js";import"./lock-DaHvMEII.js";import"./log-in-3L4UHGsD.js";import"./mail-Cha_PX4q.js";import"./map-pin-DFWKFR9c.js";import"./menu-GuULvnRC.js";import"./message-square-warning-DT--Ufeu.js";import"./message-square-DyWo8S6i.js";import"./monitor-BYgqmcKD.js";import"./package-BMnRSK1k.js";import"./percent-z25PPWNk.js";import"./phone-3MnRoAYu.js";import"./plane-AJz2gO49.js";import"./play-BxVAbvyQ.js";import"./qr-code-CUIVRbAs.js";import"./quote-BmDTOIsR.js";import"./ruler-BmcStEpw.js";import"./send-Cs5D4i9u.js";import"./server-Bk9UD-_r.js";import"./wifi-vecZUHsy.js";import"./shield-check-CGAYPEyR.js";import"./square-check-big-CpQiidmr.js";import"./square-pen-CzdhbxyN.js";import"./star-DCkLKzoE.js";import"./sun-D8i-fCJe.js";import"./tag-Bq7fLwM4.js";import"./target-BPl0Bsow.js";import"./thumbs-up-2-1HocdZ.js";import"./ticket-Cl2Nq5Ff.js";import"./trash-2-BeirBLIk.js";import"./trash-BFTYTNQN.js";import"./trending-down-DmDmdusz.js";import"./trending-up-BT453ptk.js";import"./triangle-alert-CpPzdeiH.js";import"./trophy-BaZS8IUN.js";import"./type-Bsbmfmsu.js";import"./user-check-DC9_V3Qo.js";import"./user-plus-BpaQ3zuJ.js";import"./user-x-CVAZCW5-.js";import"./wallet-ChDgCFUl.js";import"./wrench-D9olQ4TN.js";import"./zap-CgFkG-9H.js";import"./scroll-area-T2TE8oKI.js";function Qr(){var C,v,D,P,E,T,A,O,R,G,L,F,M,U,B,$,H,I,q;const{t:s}=ie(),{payrollRun:a,auth:h}=le().props,j=(h==null?void 0:h.permissions)||[],[J,_]=N.useState(!1),[K,b]=N.useState(!1),[m,k]=N.useState(null),Q=[{title:s("Dashboard"),href:route("dashboard")},{title:s("Payroll Management"),href:route("hr.payroll-runs.index")},{title:s("Payroll Runs"),href:route("hr.payroll-runs.index")},{title:a.title}],S=[{label:s("Export"),icon:e.jsx(z,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>Y()},{label:s("Back"),icon:e.jsx(ue,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>f.get(route("hr.payroll-runs.index"))}];(a.status==="processing"||a.status==="completed")&&S.unshift({label:s("Generate Payslips"),icon:e.jsx(z,{className:"h-4 w-4 mr-2"}),variant:"default",onClick:()=>X()});const X=()=>{o.loading(s("Generating payslips...")),f.post(route("hr.payslips.bulk-generate"),{payroll_run_id:a.id},{onSuccess:t=>{o.dismiss(),t.props.flash.success?(o.success(s(t.props.flash.success)),setTimeout(()=>{f.get(route("hr.payslips.index"))},1e3)):t.props.flash.error&&o.error(s(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(t):o.error("Failed to generate payslips")}})},Y=()=>{if(!a.payroll_entries||a.payroll_entries.length===0){o.error(s("No payroll entries to export."));return}const r=[["Employee","Basic Salary","Per Day Salary","Component Earnings","Adjustment Earnings","Adjustment Deductions","Total Earnings","Working Days","Present Days","Overtime Hours","Overtime Earnings","Leave Deductions","Gross Pay","Component Deduction","Net Pay"].join(",")];a.payroll_entries.forEach(n=>{var W;const oe=[`"${((W=n.employee)==null?void 0:W.name)||"-"}"`,n.basic_salary||0,n.per_day_salary||0,n.component_earnings||0,n.adjustment_earnings_total||0,n.adjustment_deductions_total||0,n.total_earnings||0,n.working_days||0,n.present_days||0,n.overtime_hours||0,n.overtime_amount||0,n.unpaid_leave_deduction||0,n.gross_pay||0,n.total_deductions||0,n.net_pay||0];r.push(oe.join(","))});const d="data:text/csv;charset=utf-8,"+r.join(` +`),g=encodeURI(d),p=document.createElement("a");p.setAttribute("href",g),p.setAttribute("download",`Payroll_Run_${a.id}_Export.csv`),document.body.appendChild(p),p.click(),document.body.removeChild(p)},Z=(t,r)=>{t==="delete"?(k(r),_(!0)):t==="edit"&&(k(r),b(!0))},ee=t=>{o.loading(s("Updating payroll entry...")),f.put(route("hr.payroll-entries.update",m==null?void 0:m.id),t,{onSuccess:r=>{b(!1),o.dismiss(),r.props.flash.success?o.success(s(r.props.flash.success)):r.props.flash.error&&o.error(s(r.props.flash.error))},onError:r=>{o.dismiss(),typeof r=="string"?o.error(s(r)):o.error(s("Failed to update payroll entry"))}})},te=()=>{o.loading(s("Deleting payroll entry...")),f.delete(route("hr.payroll-entries.destroy",m.id),{onSuccess:t=>{_(!1),o.dismiss(),t.props.flash.success?o.success(s(t.props.flash.success)):t.props.flash.error&&o.error(s(t.props.flash.error))},onError:t=>{o.dismiss(),typeof t=="string"?o.error(s(t)):o.error(s("Failed to delete payroll entry"))}})},re=t=>{const r={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",processing:"bg-yellow-50 text-yellow-700 ring-yellow-600/20",completed:"bg-green-50 text-green-700 ring-green-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return r[t]||r.draft},l=(a.payroll_entries||[]).reduce((t,r)=>(t.basic_salary+=Number(r.basic_salary||0),t.per_day_salary+=Number(r.per_day_salary||0),t.component_earnings+=Number(r.component_earnings||0),t.adjustment_earnings+=Number(r.adjustment_earnings_total||0),t.adjustment_deductions+=Number(r.adjustment_deductions_total||0),t.total_earnings+=Number(r.total_earnings||0),t.overtime_amount+=Number(r.overtime_amount||0),t.unpaid_leave_deduction+=Number(r.unpaid_leave_deduction||0),t.gross_pay+=Number(r.gross_pay||0),t.total_deductions+=Number(r.total_deductions||0),t.net_pay+=Number(r.net_pay||0),t),{basic_salary:0,per_day_salary:0,component_earnings:0,adjustment_earnings:0,adjustment_deductions:0,total_earnings:0,overtime_amount:0,unpaid_leave_deduction:0,gross_pay:0,total_deductions:0,net_pay:0}),se=V(j,"edit-payroll-runs")||V(j,"delete-payroll-entries"),ae=e.jsx(xe,{children:e.jsxs(ye,{className:"font-bold bg-gray-100 dark:bg-gray-800",children:[e.jsx(i,{colSpan:3,className:"text-right py-2.5 text-gray-900 dark:text-gray-100",children:s("Totals")}),e.jsx(i,{className:"text-left font-mono py-2.5",children:(C=window.appSettings)==null?void 0:C.formatCurrency(l.basic_salary)}),e.jsx(i,{className:"text-left font-mono text-green-600 py-2.5",children:(v=window.appSettings)==null?void 0:v.formatCurrency(l.per_day_salary)}),e.jsx(i,{className:"text-left font-mono text-blue-600 py-2.5",children:(D=window.appSettings)==null?void 0:D.formatCurrency(l.component_earnings)}),e.jsx(i,{className:"text-left font-mono py-2.5",children:e.jsxs("div",{className:"flex flex-col text-xs font-mono",children:[l.adjustment_earnings>0&&e.jsxs("span",{className:"text-green-600",children:["+",(P=window.appSettings)==null?void 0:P.formatCurrency(l.adjustment_earnings)]}),l.adjustment_deductions>0&&e.jsxs("span",{className:"text-red-600",children:["-",(E=window.appSettings)==null?void 0:E.formatCurrency(l.adjustment_deductions)]})]})}),e.jsx(i,{className:"text-left font-mono text-blue-600 py-2.5",children:(T=window.appSettings)==null?void 0:T.formatCurrency(l.total_earnings)}),e.jsx(i,{className:"py-2.5"}),e.jsx(i,{className:"py-2.5"}),e.jsx(i,{className:"py-2.5"}),e.jsx(i,{className:"text-left font-mono text-green-600 py-2.5",children:(A=window.appSettings)==null?void 0:A.formatCurrency(l.overtime_amount)}),e.jsx(i,{className:"text-left font-mono text-red-600 py-2.5",children:(O=window.appSettings)==null?void 0:O.formatCurrency(l.unpaid_leave_deduction)}),e.jsx(i,{className:"text-left font-mono text-green-600 py-2.5",children:(R=window.appSettings)==null?void 0:R.formatCurrency(l.gross_pay)}),e.jsx(i,{className:"text-left font-mono text-red-600 py-2.5",children:(G=window.appSettings)==null?void 0:G.formatCurrency(l.total_deductions)}),e.jsx(i,{className:"text-left font-mono text-blue-600 font-bold py-2.5",children:(L=window.appSettings)==null?void 0:L.formatCurrency(l.net_pay)}),se&&e.jsx(i,{className:"py-2.5"})]})});return e.jsxs(ne,{title:a.title,url:`/hr/payroll-runs/${a.id}`,actions:S,breadcrumbs:Q,children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 mb-6",children:[e.jsxs(c,{children:[e.jsxs(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsx(y,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Total Employees")}),e.jsx(ge,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"})]}),e.jsx(u,{children:e.jsx("div",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:a.employee_count})})]}),e.jsxs(c,{children:[e.jsxs(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsx(y,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Gross Pay")}),e.jsx(w,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"})]}),e.jsx(u,{children:e.jsx("div",{className:"text-xl font-bold text-green-600",children:(F=window.appSettings)==null?void 0:F.formatCurrency(a.total_gross_pay)})})]}),e.jsxs(c,{children:[e.jsxs(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsx(y,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Total Deductions")}),e.jsx(w,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"})]}),e.jsx(u,{children:e.jsx("div",{className:"text-xl font-bold text-red-600",children:(M=window.appSettings)==null?void 0:M.formatCurrency(a.total_deductions)})})]}),e.jsxs(c,{children:[e.jsxs(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsx(y,{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Net Pay")}),e.jsx(w,{className:"h-4 w-4 text-gray-500 dark:text-gray-400"})]}),e.jsx(u,{children:e.jsx("div",{className:"text-xl font-bold text-blue-600",children:(U=window.appSettings)==null?void 0:U.formatCurrency(a.total_net_pay)})})]})]}),e.jsxs(c,{className:"mb-6",children:[e.jsx(x,{children:e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Payroll Run Details")})}),e.jsxs(u,{children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Pay Period")}),e.jsxs("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:[((B=window.appSettings)==null?void 0:B.formatDateTimeSimple(a.pay_period_start,!1))||new Date(a.pay_period_start).toLocaleDateString()," - ",(($=window.appSettings)==null?void 0:$.formatDateTimeSimple(a.pay_period_end,!1))||new Date(a.pay_period_end).toLocaleDateString()]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Pay Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((H=window.appSettings)==null?void 0:H.formatDateTimeSimple(a.pay_date,!1))||new Date(a.pay_date).toLocaleDateString()})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Status")}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${re(a.status)}`,children:s(a.status.charAt(0).toUpperCase()+a.status.slice(1))})})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Created At")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-1",children:((I=window.appSettings)==null?void 0:I.formatDateTimeSimple(a.created_at,!1))||new Date(a.created_at).toLocaleDateString()})]})]}),a.notes&&e.jsxs("div",{className:"mt-4",children:[e.jsx("label",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 tracking-wide",children:s("Notes")}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mt-1",children:a.notes})]})]})]}),e.jsxs(c,{children:[e.jsxs(x,{children:[e.jsx(y,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:s("Employee Payroll Entries")}),e.jsxs("div",{className:"mt-2 p-3 bg-blue-50 dark:bg-blue-900/20 rounded-md space-y-2",children:[e.jsxs("p",{className:"text-xs text-blue-800 dark:text-blue-200 font-medium",children:[s("Gross Pay Formula")," : ",e.jsx("span",{className:"font-mono",children:"Total Earnings (Basic Salary + Component Earning + Adjustment Earnings) - Unpaid Leave Deduction + Overtime Earnings"})]}),e.jsxs("p",{className:"text-xs text-blue-800 dark:text-blue-200 font-medium",children:[s("Net Salary Formula")," : ",e.jsx("span",{className:"font-mono",children:"Gross Pay - Total Deductions - Adjustment Deductions"})]})]})]}),e.jsx(u,{className:"p-0",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsx(me,{columns:[{key:"employee",label:s("Employee"),render:(t,r)=>{var d;return((d=r.employee)==null?void 0:d.name)||"-"}},{key:"basic_salary",label:s("Basic Salary"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-gray-900",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t)})}},{key:"per_day_salary",label:s("Per Day Salary"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-green-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"component_earnings",label:s("Component Earnings"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-blue-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"adjustments",label:s("Adjustments"),render:(t,r)=>{var p,n;const d=r.adjustment_earnings_total||0,g=r.adjustment_deductions_total||0;return d===0&&g===0?e.jsx("span",{className:"text-gray-400",children:"—"}):e.jsxs("div",{className:"flex flex-col text-xs font-mono",children:[d>0&&e.jsxs("span",{className:"text-green-600",children:["+",(p=window.appSettings)==null?void 0:p.formatCurrency(d)]}),g>0&&e.jsxs("span",{className:"text-red-600",children:["-",(n=window.appSettings)==null?void 0:n.formatCurrency(g)]})]})}},{key:"total_earnings",label:s("Total Earning"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-blue-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"working_days",label:s("Working Days"),render:t=>t||0},{key:"present_days",label:s("Present Days"),render:t=>t||0},{key:"overtime_hours",label:s("Overtime Hours"),render:t=>`${t||0}h`},{key:"overtime_amount",label:s("Overtime Earnings"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-green-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"unpaid_leave_deduction",label:s("Leave Deductions"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-red-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t||0)})}},{key:"gross_pay",label:s("Gross Pay"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-green-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t)})}},{key:"total_deductions",label:s("Component Deduction"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-red-600",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t)})}},{key:"net_pay",label:s("Net Pay"),render:t=>{var r;return e.jsx("span",{className:"font-mono text-blue-600 font-bold",children:(r=window.appSettings)==null?void 0:r.formatCurrency(t)})}}],data:a.payroll_entries||[],from:1,onAction:Z,permissions:j,entityPermissions:{delete:"delete-payroll-entries",edit:"edit-payroll-runs"},actions:[...a.status!=="completed"?[{label:s("Edit Override"),icon:"Edit",action:"edit",className:"text-blue-500 hover:text-blue-700",requiredPermission:"edit-payroll-runs"}]:[],{label:s("Delete"),icon:"Trash2",action:"delete",className:"text-red-500",requiredPermission:"delete-payroll-entries"}],showActions:!0,footer:ae,renderExpandedRow:t=>e.jsx(ce,{entry:t})})})})]}),e.jsx(pe,{isOpen:K,onClose:()=>b(!1),onSubmit:ee,initialData:m}),e.jsx(de,{isOpen:J,onClose:()=>_(!1),onConfirm:te,itemName:((q=m==null?void 0:m.employee)==null?void 0:q.name)||"",entityName:"payroll entry"})]})}export{Qr as default}; diff --git a/public/build/assets/show-Cv_bOZu9.js b/public/build/assets/show-sBLYxDq4.js similarity index 83% rename from public/build/assets/show-Cv_bOZu9.js rename to public/build/assets/show-sBLYxDq4.js index e420d2418..797540115 100644 --- a/public/build/assets/show-Cv_bOZu9.js +++ b/public/build/assets/show-sBLYxDq4.js @@ -1 +1 @@ -import{j as s}from"./ui-Z445SNHD.js";import{P as u}from"./page-template-BTxLyiDA.js";import{u as j,c as f,C as i,m as n,n as a,l,B as o,r as N}from"./app-CfhhiFAk.js";import{P as c}from"./progress-CJ4ij2ij.js";import{A as b}from"./arrow-left-B_Yqvwsn.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./users-C4LpG59H.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function as(){var m,d;const{t:e}=j(),{trainingProgram:r,statistics:t}=f().props,x=()=>{N.get(route("hr.training-programs.index"))},p=[{label:e("Back"),icon:s.jsx(b,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:x}],g=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.training-programs.index")},{title:e("Training Programs"),href:route("hr.training-programs.index")},{title:r.name}],h={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",active:"bg-green-50 text-green-700 ring-green-600/20",completed:"bg-blue-50 text-blue-700 ring-blue-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return s.jsxs(u,{title:r.name,url:`/hr/training/programs/${r.id}`,actions:p,breadcrumbs:g,children:[s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6",children:[s.jsxs(i,{className:"lg:col-span-2",children:[s.jsx(n,{children:s.jsx(a,{className:"text-lg font-semibold",children:e("Program Details")})}),s.jsxs(l,{className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Training Type")}),s.jsx("p",{className:"text-sm",children:((m=r.training_type)==null?void 0:m.name)||"-"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Description")}),s.jsx("p",{className:"text-sm",children:r.description||"-"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Prerequisites")}),s.jsx("p",{className:"text-sm",children:r.prerequisites||"-"})]}),s.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.is_mandatory&&s.jsx(o,{variant:"outline",className:"text-xs bg-red-50 text-red-700",children:e("Mandatory")}),r.is_self_enrollment&&s.jsx(o,{variant:"outline",className:"text-xs bg-blue-50 text-blue-700",children:e("Self-Enrollment")})]})]})]}),s.jsxs(i,{children:[s.jsx(n,{children:s.jsx(a,{className:"text-lg font-semibold",children:e("Program Info")})}),s.jsxs(l,{className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Status")}),s.jsx("div",{children:s.jsx(o,{variant:"outline",className:`text-xs ring-1 ring-inset ${h[r.status]||""}`,children:r.status.charAt(0).toUpperCase()+r.status.slice(1)})})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Duration")}),s.jsx("p",{className:"text-sm",children:r.duration?`${r.duration} ${e("hours")}`:"-"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Cost")}),s.jsx("p",{className:"text-sm",children:r.cost?(d=window.appSettings)==null?void 0:d.formatCurrency(parseFloat(r.cost)):"-"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Capacity")}),s.jsx("p",{className:"text-sm",children:r.capacity||"-"})]})]})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[s.jsxs(i,{children:[s.jsx(n,{className:"pb-2",children:s.jsx(a,{className:"text-sm font-medium text-muted-foreground",children:e("Total Sessions")})}),s.jsx(l,{children:s.jsx("p",{className:"text-2xl font-bold",children:t.totalSessions})})]}),s.jsxs(i,{children:[s.jsx(n,{className:"pb-2",children:s.jsx(a,{className:"text-sm font-medium text-muted-foreground",children:e("Completed Sessions")})}),s.jsxs(l,{children:[s.jsx("p",{className:"text-2xl font-bold text-green-600",children:t.completedSessions}),s.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:[t.totalSessions>0?Math.round(t.completedSessions/t.totalSessions*100):0,"% ",e("completion rate")]})]})]}),s.jsxs(i,{children:[s.jsx(n,{className:"pb-2",children:s.jsx(a,{className:"text-sm font-medium text-muted-foreground",children:e("Total Employees")})}),s.jsx(l,{children:s.jsx("p",{className:"text-2xl font-bold",children:t.totalTrainings})})]}),s.jsxs(i,{children:[s.jsx(n,{className:"pb-2",children:s.jsx(a,{className:"text-sm font-medium text-muted-foreground",children:e("Completed Trainings")})}),s.jsxs(l,{children:[s.jsx("p",{className:"text-2xl font-bold text-blue-600",children:t.completedTrainings}),s.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:[t.totalTrainings>0?Math.round(t.completedTrainings/t.totalTrainings*100):0,"% ",e("completion rate")]})]})]})]}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[s.jsxs(i,{children:[s.jsx(n,{children:s.jsx(a,{className:"text-lg font-semibold",children:e("Session Progress")})}),s.jsx(l,{children:s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex justify-between text-sm font-medium",children:[s.jsx("span",{children:e("Sessions Completed")}),s.jsxs("span",{children:[t.completedSessions||0,"/",t.totalSessions||0]})]}),s.jsx(c,{value:t.totalSessions>0?t.completedSessions/t.totalSessions*100:0,className:"h-2"}),s.jsxs("p",{className:"text-xs text-muted-foreground",children:[t.totalSessions>0?Math.round(t.completedSessions/t.totalSessions*100):0,"% ",e("of sessions completed")]})]})})]}),s.jsxs(i,{children:[s.jsx(n,{children:s.jsx(a,{className:"text-lg font-semibold",children:e("Employee Progress")})}),s.jsx(l,{children:s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex justify-between text-sm font-medium",children:[s.jsx("span",{children:e("Employees Completed")}),s.jsxs("span",{children:[t.completedTrainings||0,"/",t.totalTrainings||0]})]}),s.jsx(c,{value:t.totalTrainings>0?t.completedTrainings/t.totalTrainings*100:0,className:"h-2"}),s.jsxs("p",{className:"text-xs text-muted-foreground",children:[t.totalTrainings>0?Math.round(t.completedTrainings/t.totalTrainings*100):0,"% ",e("of employees completed")]})]})})]})]})]})}export{as as default}; +import{j as s}from"./ui-Z445SNHD.js";import{P as u}from"./page-template-CLNVC8w_.js";import{u as j,c as f,C as i,m as n,n as a,l,B as o,r as N}from"./app-Dya84jp7.js";import{P as c}from"./progress-NbCMYaUz.js";import{A as b}from"./arrow-left-BUNj5JJK.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./users-BzCDZrS0.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function as(){var m,d;const{t:e}=j(),{trainingProgram:r,statistics:t}=f().props,x=()=>{N.get(route("hr.training-programs.index"))},p=[{label:e("Back"),icon:s.jsx(b,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:x}],g=[{title:e("Dashboard"),href:route("dashboard")},{title:e("HR Management"),href:route("hr.training-programs.index")},{title:e("Training Programs"),href:route("hr.training-programs.index")},{title:r.name}],h={draft:"bg-gray-50 text-gray-700 ring-gray-600/20",active:"bg-green-50 text-green-700 ring-green-600/20",completed:"bg-blue-50 text-blue-700 ring-blue-600/20",cancelled:"bg-red-50 text-red-700 ring-red-600/20"};return s.jsxs(u,{title:r.name,url:`/hr/training/programs/${r.id}`,actions:p,breadcrumbs:g,children:[s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6",children:[s.jsxs(i,{className:"lg:col-span-2",children:[s.jsx(n,{children:s.jsx(a,{className:"text-lg font-semibold",children:e("Program Details")})}),s.jsxs(l,{className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Training Type")}),s.jsx("p",{className:"text-sm",children:((m=r.training_type)==null?void 0:m.name)||"-"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Description")}),s.jsx("p",{className:"text-sm",children:r.description||"-"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Prerequisites")}),s.jsx("p",{className:"text-sm",children:r.prerequisites||"-"})]}),s.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.is_mandatory&&s.jsx(o,{variant:"outline",className:"text-xs bg-red-50 text-red-700",children:e("Mandatory")}),r.is_self_enrollment&&s.jsx(o,{variant:"outline",className:"text-xs bg-blue-50 text-blue-700",children:e("Self-Enrollment")})]})]})]}),s.jsxs(i,{children:[s.jsx(n,{children:s.jsx(a,{className:"text-lg font-semibold",children:e("Program Info")})}),s.jsxs(l,{className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Status")}),s.jsx("div",{children:s.jsx(o,{variant:"outline",className:`text-xs ring-1 ring-inset ${h[r.status]||""}`,children:r.status.charAt(0).toUpperCase()+r.status.slice(1)})})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Duration")}),s.jsx("p",{className:"text-sm",children:r.duration?`${r.duration} ${e("hours")}`:"-"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Cost")}),s.jsx("p",{className:"text-sm",children:r.cost?(d=window.appSettings)==null?void 0:d.formatCurrency(parseFloat(r.cost)):"-"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:e("Capacity")}),s.jsx("p",{className:"text-sm",children:r.capacity||"-"})]})]})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[s.jsxs(i,{children:[s.jsx(n,{className:"pb-2",children:s.jsx(a,{className:"text-sm font-medium text-muted-foreground",children:e("Total Sessions")})}),s.jsx(l,{children:s.jsx("p",{className:"text-2xl font-bold",children:t.totalSessions})})]}),s.jsxs(i,{children:[s.jsx(n,{className:"pb-2",children:s.jsx(a,{className:"text-sm font-medium text-muted-foreground",children:e("Completed Sessions")})}),s.jsxs(l,{children:[s.jsx("p",{className:"text-2xl font-bold text-green-600",children:t.completedSessions}),s.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:[t.totalSessions>0?Math.round(t.completedSessions/t.totalSessions*100):0,"% ",e("completion rate")]})]})]}),s.jsxs(i,{children:[s.jsx(n,{className:"pb-2",children:s.jsx(a,{className:"text-sm font-medium text-muted-foreground",children:e("Total Employees")})}),s.jsx(l,{children:s.jsx("p",{className:"text-2xl font-bold",children:t.totalTrainings})})]}),s.jsxs(i,{children:[s.jsx(n,{className:"pb-2",children:s.jsx(a,{className:"text-sm font-medium text-muted-foreground",children:e("Completed Trainings")})}),s.jsxs(l,{children:[s.jsx("p",{className:"text-2xl font-bold text-blue-600",children:t.completedTrainings}),s.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:[t.totalTrainings>0?Math.round(t.completedTrainings/t.totalTrainings*100):0,"% ",e("completion rate")]})]})]})]}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[s.jsxs(i,{children:[s.jsx(n,{children:s.jsx(a,{className:"text-lg font-semibold",children:e("Session Progress")})}),s.jsx(l,{children:s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex justify-between text-sm font-medium",children:[s.jsx("span",{children:e("Sessions Completed")}),s.jsxs("span",{children:[t.completedSessions||0,"/",t.totalSessions||0]})]}),s.jsx(c,{value:t.totalSessions>0?t.completedSessions/t.totalSessions*100:0,className:"h-2"}),s.jsxs("p",{className:"text-xs text-muted-foreground",children:[t.totalSessions>0?Math.round(t.completedSessions/t.totalSessions*100):0,"% ",e("of sessions completed")]})]})})]}),s.jsxs(i,{children:[s.jsx(n,{children:s.jsx(a,{className:"text-lg font-semibold",children:e("Employee Progress")})}),s.jsx(l,{children:s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex justify-between text-sm font-medium",children:[s.jsx("span",{children:e("Employees Completed")}),s.jsxs("span",{children:[t.completedTrainings||0,"/",t.totalTrainings||0]})]}),s.jsx(c,{value:t.totalTrainings>0?t.completedTrainings/t.totalTrainings*100:0,className:"h-2"}),s.jsxs("p",{className:"text-xs text-muted-foreground",children:[t.totalTrainings>0?Math.round(t.completedTrainings/t.totalTrainings*100):0,"% ",e("of employees completed")]})]})})]})]})]})}export{as as default}; diff --git a/public/build/assets/sparkles-BIbzOfb3.js b/public/build/assets/sparkles-C1HgyvOv.js similarity index 97% rename from public/build/assets/sparkles-BIbzOfb3.js rename to public/build/assets/sparkles-C1HgyvOv.js index cf135bcf2..c291f1d89 100644 --- a/public/build/assets/sparkles-BIbzOfb3.js +++ b/public/build/assets/sparkles-C1HgyvOv.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/square-check-big-BCxRi7D4.js b/public/build/assets/square-check-big-CpQiidmr.js similarity index 89% rename from public/build/assets/square-check-big-BCxRi7D4.js rename to public/build/assets/square-check-big-CpQiidmr.js index 8ba7e9248..fe69dcf22 100644 --- a/public/build/assets/square-check-big-BCxRi7D4.js +++ b/public/build/assets/square-check-big-CpQiidmr.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/square-pen-bMHyT06o.js b/public/build/assets/square-pen-CzdhbxyN.js similarity index 91% rename from public/build/assets/square-pen-bMHyT06o.js rename to public/build/assets/square-pen-CzdhbxyN.js index 7d8016616..878ab8de7 100644 --- a/public/build/assets/square-pen-bMHyT06o.js +++ b/public/build/assets/square-pen-CzdhbxyN.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/star-DQsTg5F1.js b/public/build/assets/star-DCkLKzoE.js similarity index 93% rename from public/build/assets/star-DQsTg5F1.js rename to public/build/assets/star-DCkLKzoE.js index 9510fa13a..ac33206e9 100644 --- a/public/build/assets/star-DQsTg5F1.js +++ b/public/build/assets/star-DCkLKzoE.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/statistics-DP1Z7RvM.js b/public/build/assets/statistics-CVwBoPhL.js similarity index 85% rename from public/build/assets/statistics-DP1Z7RvM.js rename to public/build/assets/statistics-CVwBoPhL.js index 200b4d5cd..53bd9d71c 100644 --- a/public/build/assets/statistics-DP1Z7RvM.js +++ b/public/build/assets/statistics-CVwBoPhL.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{P as S}from"./page-template-BTxLyiDA.js";import{u as T,c as C,r as D,C as r,m as c,n as x,B as u,l as i}from"./app-CfhhiFAk.js";import{A as _}from"./arrow-left-B_Yqvwsn.js";import{U as A}from"./users-C4LpG59H.js";import{E}from"./eye--FVGKpVp.js";import{T as B}from"./trending-up-Bi4f72Tj.js";import"./textarea-kpRjGGLz.js";import"./select-BrY9osYp.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-BIbzOfb3.js";import"./loader-circle-wGk7YsPK.js";import"./copy-xfopPExK.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./chevron-right-Bd9XWZHZ.js";import"./layout-grid-C6MkbbLQ.js";import"./briefcase-CLRn8zVu.js";import"./credit-card-BmdpMcMw.js";import"./gift-DXGdvbnX.js";import"./user-C37aWgZX.js";import"./calendar-CfUpdaK5.js";import"./calendar-days-CiPhwZgb.js";import"./clock-CwFdn-oy.js";import"./fingerprint-DTUiU2wR.js";import"./timer-Cqv8ulB-.js";import"./dollar-sign-DYXFWWsE.js";import"./coins-BDVfLngB.js";import"./index-BFT_C1pH.js";import"./log-out-XdMMCWfW.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Ne(){var o,g,p,h,j,y;const{t}=T(),{announcement:s,totalEmployees:N,viewedCount:f,viewPercentage:b,departmentStats:l,branchStats:n}=C().props,v=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.announcements.index")},{title:t("Announcements"),href:route("hr.announcements.index")},{title:t("Statistics")}],k=[{label:t("Back"),icon:e.jsx(_,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>D.get(route("hr.announcements.index"))}];return e.jsxs(S,{title:t("Announcement Statistics"),url:"/hr/announcements/statistics",actions:k,breadcrumbs:v,children:[e.jsxs(r,{className:"mb-6",children:[e.jsx(c,{children:e.jsxs(x,{className:"flex items-center justify-between text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx("span",{children:s.title}),e.jsxs("div",{className:"flex gap-2",children:[s.is_featured&&e.jsx(u,{variant:"secondary",className:"bg-purple-50 text-purple-700 text-xs",children:t("Featured")}),s.is_high_priority&&e.jsx(u,{variant:"secondary",className:"bg-red-50 text-red-700 text-xs",children:t("High Priority")})]})]})}),e.jsx(i,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-5 gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("Category")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:s.category})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("Target Branch")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:((g=(o=s.branches)==null?void 0:o[0])==null?void 0:g.name)||t("Company-wide")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("Target Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:((h=(p=s.departments)==null?void 0:p[0])==null?void 0:h.name)||t("All Departments")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("Start Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:s.start_date?((j=window.appSettings)==null?void 0:j.formatDateTimeSimple(s.start_date,!1))||new Date(s.start_date).toLocaleString():"-"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("End Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:s.end_date?((y=window.appSettings)==null?void 0:y.formatDateTimeSimple(s.end_date,!1))||new Date(s.end_date).toLocaleString():t("Ongoing")})]})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-6",children:[e.jsx(r,{children:e.jsx(i,{className:"p-6",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"rounded-full bg-blue-50 p-3",children:e.jsx(A,{className:"h-6 w-6 text-blue-600"})}),e.jsxs("div",{className:"ml-4",children:[e.jsx("p",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:N}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("Total Employees")})]})]})})}),e.jsx(r,{children:e.jsx(i,{className:"p-6",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"rounded-full bg-green-50 p-3",children:e.jsx(E,{className:"h-6 w-6 text-green-600"})}),e.jsxs("div",{className:"ml-4",children:[e.jsx("p",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:f}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("Views")})]})]})})}),e.jsx(r,{children:e.jsx(i,{className:"p-6",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"rounded-full bg-purple-50 p-3",children:e.jsx(B,{className:"h-6 w-6 text-purple-600"})}),e.jsxs("div",{className:"ml-4",children:[e.jsxs("p",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:[b,"%"]}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("View Rate")})]})]})})})]}),l&&l.length>0&&e.jsxs(r,{className:"mb-6",children:[e.jsx(c,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Target Department Statistics")})}),e.jsx(i,{children:e.jsx("div",{className:"space-y-4",children:l.map((a,m)=>e.jsx("div",{children:a.departments.map((d,w)=>e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg bg-gray-50 dark:bg-gray-800",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:d.department}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:[d.viewed," of ",d.total," employees viewed"]})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("div",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:[d.percentage,"%"]}),e.jsx("div",{className:"w-24 bg-gray-200 dark:bg-gray-700 rounded-full h-2 mt-2",children:e.jsx("div",{className:"bg-blue-500 h-2 rounded-full",style:{width:`${d.percentage}%`}})})]})]},w))},m))})})]}),n&&n.length>0&&e.jsxs(r,{children:[e.jsx(c,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Target Branch Statistics")})}),e.jsx(i,{children:e.jsx("div",{className:"space-y-4",children:n.map((a,m)=>e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg bg-gray-50 dark:bg-gray-800",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:a.branch}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:[a.viewed," of ",a.total," employees viewed"]})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("div",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:[a.percentage,"%"]}),e.jsx("div",{className:"w-24 bg-gray-200 dark:bg-gray-700 rounded-full h-2 mt-2",children:e.jsx("div",{className:"bg-green-500 h-2 rounded-full",style:{width:`${a.percentage}%`}})})]})]},m))})})]})]})}export{Ne as default}; +import{j as e}from"./ui-Z445SNHD.js";import{P as S}from"./page-template-CLNVC8w_.js";import{u as T,c as C,r as D,C as r,m as c,n as x,B as u,l as i}from"./app-Dya84jp7.js";import{A as _}from"./arrow-left-BUNj5JJK.js";import{U as A}from"./users-BzCDZrS0.js";import{E}from"./eye-CCNnMtu4.js";import{T as B}from"./trending-up-BT453ptk.js";import"./textarea-yeg8ONhy.js";import"./select-CHkpLxhL.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C1HgyvOv.js";import"./loader-circle-BLsTZrwM.js";import"./copy-G5cMddid.js";import"./CookieConsentBanner-dwye0O-l.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./chevron-right-D4JxSs4d.js";import"./layout-grid-3SDzvK8c.js";import"./briefcase-Btn3T9V4.js";import"./credit-card-BKi_ThdS.js";import"./gift-CQwwB55q.js";import"./user-77BPqA3J.js";import"./calendar-DuRYaSj5.js";import"./calendar-days-CURbwGg4.js";import"./clock-LnEFQ-vK.js";import"./fingerprint-aH6d8cFa.js";import"./timer-BTqoLJiz.js";import"./dollar-sign-DH2Tc178.js";import"./coins-CgSV4zfi.js";import"./index-BFT_C1pH.js";import"./log-out-M0Vyot5_.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function Ne(){var o,g,p,h,j,y;const{t}=T(),{announcement:s,totalEmployees:N,viewedCount:f,viewPercentage:b,departmentStats:l,branchStats:n}=C().props,v=[{title:t("Dashboard"),href:route("dashboard")},{title:t("HR Management"),href:route("hr.announcements.index")},{title:t("Announcements"),href:route("hr.announcements.index")},{title:t("Statistics")}],k=[{label:t("Back"),icon:e.jsx(_,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:()=>D.get(route("hr.announcements.index"))}];return e.jsxs(S,{title:t("Announcement Statistics"),url:"/hr/announcements/statistics",actions:k,breadcrumbs:v,children:[e.jsxs(r,{className:"mb-6",children:[e.jsx(c,{children:e.jsxs(x,{className:"flex items-center justify-between text-lg font-semibold text-gray-900 dark:text-gray-100",children:[e.jsx("span",{children:s.title}),e.jsxs("div",{className:"flex gap-2",children:[s.is_featured&&e.jsx(u,{variant:"secondary",className:"bg-purple-50 text-purple-700 text-xs",children:t("Featured")}),s.is_high_priority&&e.jsx(u,{variant:"secondary",className:"bg-red-50 text-red-700 text-xs",children:t("High Priority")})]})]})}),e.jsx(i,{children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-5 gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("Category")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:s.category})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("Target Branch")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:((g=(o=s.branches)==null?void 0:o[0])==null?void 0:g.name)||t("Company-wide")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("Target Department")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:((h=(p=s.departments)==null?void 0:p[0])==null?void 0:h.name)||t("All Departments")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("Start Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:s.start_date?((j=window.appSettings)==null?void 0:j.formatDateTimeSimple(s.start_date,!1))||new Date(s.start_date).toLocaleString():"-"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-1",children:t("End Date")}),e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:s.end_date?((y=window.appSettings)==null?void 0:y.formatDateTimeSimple(s.end_date,!1))||new Date(s.end_date).toLocaleString():t("Ongoing")})]})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-6",children:[e.jsx(r,{children:e.jsx(i,{className:"p-6",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"rounded-full bg-blue-50 p-3",children:e.jsx(A,{className:"h-6 w-6 text-blue-600"})}),e.jsxs("div",{className:"ml-4",children:[e.jsx("p",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:N}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("Total Employees")})]})]})})}),e.jsx(r,{children:e.jsx(i,{className:"p-6",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"rounded-full bg-green-50 p-3",children:e.jsx(E,{className:"h-6 w-6 text-green-600"})}),e.jsxs("div",{className:"ml-4",children:[e.jsx("p",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:f}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("Views")})]})]})})}),e.jsx(r,{children:e.jsx(i,{className:"p-6",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"rounded-full bg-purple-50 p-3",children:e.jsx(B,{className:"h-6 w-6 text-purple-600"})}),e.jsxs("div",{className:"ml-4",children:[e.jsxs("p",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:[b,"%"]}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:t("View Rate")})]})]})})})]}),l&&l.length>0&&e.jsxs(r,{className:"mb-6",children:[e.jsx(c,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Target Department Statistics")})}),e.jsx(i,{children:e.jsx("div",{className:"space-y-4",children:l.map((a,m)=>e.jsx("div",{children:a.departments.map((d,w)=>e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg bg-gray-50 dark:bg-gray-800",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:d.department}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:[d.viewed," of ",d.total," employees viewed"]})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("div",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:[d.percentage,"%"]}),e.jsx("div",{className:"w-24 bg-gray-200 dark:bg-gray-700 rounded-full h-2 mt-2",children:e.jsx("div",{className:"bg-blue-500 h-2 rounded-full",style:{width:`${d.percentage}%`}})})]})]},w))},m))})})]}),n&&n.length>0&&e.jsxs(r,{children:[e.jsx(c,{children:e.jsx(x,{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:t("Target Branch Statistics")})}),e.jsx(i,{children:e.jsx("div",{className:"space-y-4",children:n.map((a,m)=>e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg bg-gray-50 dark:bg-gray-800",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:a.branch}),e.jsxs("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-1",children:[a.viewed," of ",a.total," employees viewed"]})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("div",{className:"text-xl font-bold text-gray-900 dark:text-gray-100",children:[a.percentage,"%"]}),e.jsx("div",{className:"w-24 bg-gray-200 dark:bg-gray-700 rounded-full h-2 mt-2",children:e.jsx("div",{className:"bg-green-500 h-2 rounded-full",style:{width:`${a.percentage}%`}})})]})]},m))})})]})]})}export{Ne as default}; diff --git a/public/build/assets/storage-settings-B8KLOCSA.js b/public/build/assets/storage-settings-etuGiLdE.js similarity index 97% rename from public/build/assets/storage-settings-B8KLOCSA.js rename to public/build/assets/storage-settings-etuGiLdE.js index b3d5e5004..376f5ce63 100644 --- a/public/build/assets/storage-settings-B8KLOCSA.js +++ b/public/build/assets/storage-settings-etuGiLdE.js @@ -1 +1 @@ -import{r as w,j as e}from"./ui-Z445SNHD.js";import{u as R,ap as _,o as x,y as E,r as T,t as u,L as c,I as t,S as B}from"./app-CfhhiFAk.js";import{T as M,a as W,b,c as j}from"./tabs-pc4jrsjt.js";import{C as D}from"./checkbox-1_Cig_g5.js";import{H as I}from"./hard-drive-B_Mpft6K.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function V({settings:r={}}){const{t:l}=R(),y={"3dmf":"3dmf","3dm":"3dm",avi:"avi",ai:"ai",bin:"bin",bmp:"bmp",cab:"cab",c:"c","c++":"c++",class:"class",css:"css",csv:"csv",cdr:"cdr",doc:"doc",dot:"dot",docx:"docx",dwg:"dwg",eps:"eps",exe:"exe",gif:"gif",gz:"gz",gtar:"gtar",flv:"flv",fh4:"fh4",fh5:"fh5",fhc:"fhc",help:"help",hlp:"hlp",html:"html",htm:"htm",ico:"ico",imap:"imap",inf:"inf",jpe:"jpe",jpeg:"jpeg",jpg:"jpg",js:"js",java:"java",latex:"latex",log:"log",m3u:"m3u",midi:"midi",mid:"mid",mov:"mov",mp4:"mp4",mp3:"mp3",mpeg:"mpeg",mpg:"mpg",mp2:"mp2",ogg:"ogg",phtml:"phtml",php:"php",pdf:"pdf",pgp:"pgp",png:"png",pps:"pps",ppt:"ppt",ppz:"ppz",pot:"pot",ps:"ps",qt:"qt",qd3d:"qd3d",qd3:"qd3",qxd:"qxd",rar:"rar",ra:"ra",ram:"ram",rm:"rm",rtf:"rtf",spr:"spr",sprite:"sprite",stream:"stream",swf:"swf",svg:"svg",sgml:"sgml",sgm:"sgm",tar:"tar",tiff:"tiff",tif:"tif",tgz:"tgz",tex:"tex",txt:"txt",vob:"vob",wav:"wav",wrl:"wrl",xla:"xla",xls:"xls",xlc:"xlc",xml:"xml",zip:"zip",json:"json",webp:"webp"},[a,m]=w.useState({storageType:r.storage_type||"local",allowedFileTypes:r.storage_file_types||"jpg,png,webp,gif",maxUploadSize:r.storage_max_upload_size||"2048",awsAccessKeyId:r.aws_access_key_id||"",awsSecretAccessKey:r.aws_secret_access_key||"",awsDefaultRegion:r.aws_default_region||"us-east-1",awsBucket:r.aws_bucket||"",awsUrl:r.aws_url||"",awsEndpoint:r.aws_endpoint||"",wasabiAccessKey:r.wasabi_access_key||"",wasabiSecretKey:r.wasabi_secret_key||"",wasabiRegion:r.wasabi_region||"us-east-1",wasabiBucket:r.wasabi_bucket||"",wasabiUrl:r.wasabi_url||"",wasabiRoot:r.wasabi_root||""}),[h,S]=w.useState(""),o=(s,i)=>{m(d=>({...d,[s]:i}))},N=(s,i)=>{const d=a.allowedFileTypes.split(",").filter(p=>p.trim());let n;i?n=[...d,s]:n=d.filter(p=>p!==s),m(p=>({...p,allowedFileTypes:n.join(",")}))},A=()=>{const s=Object.keys(y);m(i=>({...i,allowedFileTypes:s.join(",")}))},K=()=>{m(s=>({...s,allowedFileTypes:""}))},U=w.useMemo(()=>Object.keys(y).filter(s=>s.toLowerCase().includes(h.toLowerCase())),[h]),F=s=>{s.preventDefault();const i={storage_type:a.storageType,allowedFileTypes:a.allowedFileTypes,maxUploadSize:a.maxUploadSize};a.storageType==="aws_s3"&&(i.awsAccessKeyId=a.awsAccessKeyId,i.awsSecretAccessKey=a.awsSecretAccessKey,i.awsDefaultRegion=a.awsDefaultRegion,i.awsBucket=a.awsBucket,i.awsUrl=a.awsUrl,i.awsEndpoint=a.awsEndpoint),a.storageType==="wasabi"&&(i.wasabiAccessKey=a.wasabiAccessKey,i.wasabiSecretKey=a.wasabiSecretKey,i.wasabiRegion=a.wasabiRegion,i.wasabiBucket=a.wasabiBucket,i.wasabiUrl=a.wasabiUrl,i.wasabiRoot=a.wasabiRoot),T.post(route("settings.storage.update"),i,{preserveScroll:!0,onSuccess:d=>{var v,f;const n=(v=d.props.flash)==null?void 0:v.success,p=(f=d.props.flash)==null?void 0:f.error;n?u.success(n):p&&u.error(p)},onError:d=>{const n=d.error||Object.values(d).join(", ")||l("Failed to update storage settings");u.error(n)}})},g=()=>e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{children:l("Allowed File Types")}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(B,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(t,{placeholder:l("Search file types..."),value:h,onChange:s=>S(s.target.value),className:"pl-10"})]}),e.jsx(x,{type:"button",variant:"outline",size:"sm",onClick:A,children:l("Select All")}),e.jsx(x,{type:"button",variant:"outline",size:"sm",onClick:K,children:l("Unselect All")})]}),e.jsx("div",{className:"grid grid-cols-4 gap-2 p-4 border rounded-md max-h-48 overflow-y-auto",children:U.map(s=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(D,{id:s,checked:a.allowedFileTypes.split(",").includes(s),onCheckedChange:i=>N(s,i)}),e.jsx(c,{htmlFor:s,className:"text-sm font-normal",children:s})]},s))})]})]}),z=()=>e.jsxs("div",{className:"space-y-6",children:[g(),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"maxUploadSize",children:l("Max Upload Size (KB)")}),e.jsx(t,{id:"maxUploadSize",type:"number",value:a.maxUploadSize,onChange:s=>o("maxUploadSize",s.target.value),placeholder:"2048"})]})]}),C=()=>e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsAccessKeyId",children:l("AWS Access Key ID")}),e.jsx(t,{id:"awsAccessKeyId",value:a.awsAccessKeyId,onChange:s=>o("awsAccessKeyId",s.target.value),placeholder:"AKIAIOSFODNN7EXAMPLE"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsSecretAccessKey",children:l("AWS Secret Access Key")}),e.jsx(t,{id:"awsSecretAccessKey",type:"password",value:a.awsSecretAccessKey,onChange:s=>o("awsSecretAccessKey",s.target.value),placeholder:"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsDefaultRegion",children:l("AWS Default Region")}),e.jsx(t,{id:"awsDefaultRegion",value:a.awsDefaultRegion,onChange:s=>o("awsDefaultRegion",s.target.value),placeholder:"us-east-1"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsBucket",children:l("AWS Bucket")}),e.jsx(t,{id:"awsBucket",value:a.awsBucket,onChange:s=>o("awsBucket",s.target.value),placeholder:"my-bucket-name"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsUrl",children:l("AWS URL")}),e.jsx(t,{id:"awsUrl",value:a.awsUrl,onChange:s=>o("awsUrl",s.target.value),placeholder:"https://s3.amazonaws.com"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsEndpoint",children:l("AWS Endpoint")}),e.jsx(t,{id:"awsEndpoint",value:a.awsEndpoint,onChange:s=>o("awsEndpoint",s.target.value),placeholder:"https://s3.us-east-1.amazonaws.com"})]})]}),e.jsxs("div",{className:"space-y-6",children:[g(),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsMaxUploadSize",children:l("Max Upload Size (KB)")}),e.jsx(t,{id:"awsMaxUploadSize",type:"number",value:a.maxUploadSize,onChange:s=>o("maxUploadSize",s.target.value),placeholder:"2048"})]})})]})]}),k=()=>e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiAccessKey",children:l("Wasabi Access Key")}),e.jsx(t,{id:"wasabiAccessKey",value:a.wasabiAccessKey,onChange:s=>o("wasabiAccessKey",s.target.value),placeholder:"AKIAIOSFODNN7EXAMPLE"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiSecretKey",children:l("Wasabi Secret Key")}),e.jsx(t,{id:"wasabiSecretKey",type:"password",value:a.wasabiSecretKey,onChange:s=>o("wasabiSecretKey",s.target.value),placeholder:"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiRegion",children:l("Wasabi Region")}),e.jsx(t,{id:"wasabiRegion",value:a.wasabiRegion,onChange:s=>o("wasabiRegion",s.target.value),placeholder:"us-east-1"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiBucket",children:l("Wasabi Bucket")}),e.jsx(t,{id:"wasabiBucket",value:a.wasabiBucket,onChange:s=>o("wasabiBucket",s.target.value),placeholder:"my-wasabi-bucket"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiUrl",children:l("Wasabi URL")}),e.jsx(t,{id:"wasabiUrl",value:a.wasabiUrl,onChange:s=>o("wasabiUrl",s.target.value),placeholder:"https://s3.wasabisys.com"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiRoot",children:l("Wasabi Root")}),e.jsx(t,{id:"wasabiRoot",value:a.wasabiRoot,onChange:s=>o("wasabiRoot",s.target.value),placeholder:"/"})]})]}),e.jsxs("div",{className:"space-y-6",children:[g(),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiMaxUploadSize",children:l("Max Upload Size (KB)")}),e.jsx(t,{id:"wasabiMaxUploadSize",type:"number",value:a.maxUploadSize,onChange:s=>o("maxUploadSize",s.target.value),placeholder:"2048"})]})]})]});return e.jsx(_,{title:l("Storage Settings"),description:l("Configure file storage settings for your application"),action:e.jsxs(x,{type:"submit",form:"storage-settings-form",size:"sm",children:[e.jsx(E,{className:"h-4 w-4 mr-2"}),l("Save Changes")]}),children:e.jsx("form",{id:"storage-settings-form",onSubmit:F,children:e.jsxs(M,{value:a.storageType,className:"w-full",onValueChange:s=>m(i=>({...i,storageType:s})),children:[e.jsxs(W,{className:"grid w-full grid-cols-3",children:[e.jsxs(b,{value:"local",className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-4 w-4"}),l("Local Storage")]}),e.jsxs(b,{value:"aws_s3",className:"flex items-center gap-2",children:[e.jsx("span",{children:"☁️"}),l("AWS S3")]}),e.jsxs(b,{value:"wasabi",className:"flex items-center gap-2",children:[e.jsx("span",{children:"🗄️"}),l("Wasabi")]})]}),e.jsxs(j,{value:"local",className:"mt-6",children:[e.jsx("h3",{className:"text-base font-medium mb-4",children:l("Local Storage Settings")}),z()]}),e.jsxs(j,{value:"aws_s3",className:"mt-6",children:[e.jsx("h3",{className:"text-base font-medium mb-4",children:l("AWS S3 Storage Settings")}),C()]}),e.jsxs(j,{value:"wasabi",className:"mt-6",children:[e.jsx("h3",{className:"text-base font-medium mb-4",children:l("Wasabi Storage Settings")}),k()]})]})})})}export{V as default}; +import{r as w,j as e}from"./ui-Z445SNHD.js";import{u as R,ap as _,o as x,y as E,r as T,t as u,L as c,I as t,S as B}from"./app-Dya84jp7.js";import{T as M,a as W,b,c as j}from"./tabs-CsP5VcXV.js";import{C as D}from"./checkbox-BLrehV38.js";import{H as I}from"./hard-drive-7VwcRvWp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function V({settings:r={}}){const{t:l}=R(),y={"3dmf":"3dmf","3dm":"3dm",avi:"avi",ai:"ai",bin:"bin",bmp:"bmp",cab:"cab",c:"c","c++":"c++",class:"class",css:"css",csv:"csv",cdr:"cdr",doc:"doc",dot:"dot",docx:"docx",dwg:"dwg",eps:"eps",exe:"exe",gif:"gif",gz:"gz",gtar:"gtar",flv:"flv",fh4:"fh4",fh5:"fh5",fhc:"fhc",help:"help",hlp:"hlp",html:"html",htm:"htm",ico:"ico",imap:"imap",inf:"inf",jpe:"jpe",jpeg:"jpeg",jpg:"jpg",js:"js",java:"java",latex:"latex",log:"log",m3u:"m3u",midi:"midi",mid:"mid",mov:"mov",mp4:"mp4",mp3:"mp3",mpeg:"mpeg",mpg:"mpg",mp2:"mp2",ogg:"ogg",phtml:"phtml",php:"php",pdf:"pdf",pgp:"pgp",png:"png",pps:"pps",ppt:"ppt",ppz:"ppz",pot:"pot",ps:"ps",qt:"qt",qd3d:"qd3d",qd3:"qd3",qxd:"qxd",rar:"rar",ra:"ra",ram:"ram",rm:"rm",rtf:"rtf",spr:"spr",sprite:"sprite",stream:"stream",swf:"swf",svg:"svg",sgml:"sgml",sgm:"sgm",tar:"tar",tiff:"tiff",tif:"tif",tgz:"tgz",tex:"tex",txt:"txt",vob:"vob",wav:"wav",wrl:"wrl",xla:"xla",xls:"xls",xlc:"xlc",xml:"xml",zip:"zip",json:"json",webp:"webp"},[a,m]=w.useState({storageType:r.storage_type||"local",allowedFileTypes:r.storage_file_types||"jpg,png,webp,gif",maxUploadSize:r.storage_max_upload_size||"2048",awsAccessKeyId:r.aws_access_key_id||"",awsSecretAccessKey:r.aws_secret_access_key||"",awsDefaultRegion:r.aws_default_region||"us-east-1",awsBucket:r.aws_bucket||"",awsUrl:r.aws_url||"",awsEndpoint:r.aws_endpoint||"",wasabiAccessKey:r.wasabi_access_key||"",wasabiSecretKey:r.wasabi_secret_key||"",wasabiRegion:r.wasabi_region||"us-east-1",wasabiBucket:r.wasabi_bucket||"",wasabiUrl:r.wasabi_url||"",wasabiRoot:r.wasabi_root||""}),[h,S]=w.useState(""),o=(s,i)=>{m(d=>({...d,[s]:i}))},N=(s,i)=>{const d=a.allowedFileTypes.split(",").filter(p=>p.trim());let n;i?n=[...d,s]:n=d.filter(p=>p!==s),m(p=>({...p,allowedFileTypes:n.join(",")}))},A=()=>{const s=Object.keys(y);m(i=>({...i,allowedFileTypes:s.join(",")}))},K=()=>{m(s=>({...s,allowedFileTypes:""}))},U=w.useMemo(()=>Object.keys(y).filter(s=>s.toLowerCase().includes(h.toLowerCase())),[h]),F=s=>{s.preventDefault();const i={storage_type:a.storageType,allowedFileTypes:a.allowedFileTypes,maxUploadSize:a.maxUploadSize};a.storageType==="aws_s3"&&(i.awsAccessKeyId=a.awsAccessKeyId,i.awsSecretAccessKey=a.awsSecretAccessKey,i.awsDefaultRegion=a.awsDefaultRegion,i.awsBucket=a.awsBucket,i.awsUrl=a.awsUrl,i.awsEndpoint=a.awsEndpoint),a.storageType==="wasabi"&&(i.wasabiAccessKey=a.wasabiAccessKey,i.wasabiSecretKey=a.wasabiSecretKey,i.wasabiRegion=a.wasabiRegion,i.wasabiBucket=a.wasabiBucket,i.wasabiUrl=a.wasabiUrl,i.wasabiRoot=a.wasabiRoot),T.post(route("settings.storage.update"),i,{preserveScroll:!0,onSuccess:d=>{var v,f;const n=(v=d.props.flash)==null?void 0:v.success,p=(f=d.props.flash)==null?void 0:f.error;n?u.success(n):p&&u.error(p)},onError:d=>{const n=d.error||Object.values(d).join(", ")||l("Failed to update storage settings");u.error(n)}})},g=()=>e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{children:l("Allowed File Types")}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(B,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),e.jsx(t,{placeholder:l("Search file types..."),value:h,onChange:s=>S(s.target.value),className:"pl-10"})]}),e.jsx(x,{type:"button",variant:"outline",size:"sm",onClick:A,children:l("Select All")}),e.jsx(x,{type:"button",variant:"outline",size:"sm",onClick:K,children:l("Unselect All")})]}),e.jsx("div",{className:"grid grid-cols-4 gap-2 p-4 border rounded-md max-h-48 overflow-y-auto",children:U.map(s=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(D,{id:s,checked:a.allowedFileTypes.split(",").includes(s),onCheckedChange:i=>N(s,i)}),e.jsx(c,{htmlFor:s,className:"text-sm font-normal",children:s})]},s))})]})]}),z=()=>e.jsxs("div",{className:"space-y-6",children:[g(),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"maxUploadSize",children:l("Max Upload Size (KB)")}),e.jsx(t,{id:"maxUploadSize",type:"number",value:a.maxUploadSize,onChange:s=>o("maxUploadSize",s.target.value),placeholder:"2048"})]})]}),C=()=>e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsAccessKeyId",children:l("AWS Access Key ID")}),e.jsx(t,{id:"awsAccessKeyId",value:a.awsAccessKeyId,onChange:s=>o("awsAccessKeyId",s.target.value),placeholder:"AKIAIOSFODNN7EXAMPLE"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsSecretAccessKey",children:l("AWS Secret Access Key")}),e.jsx(t,{id:"awsSecretAccessKey",type:"password",value:a.awsSecretAccessKey,onChange:s=>o("awsSecretAccessKey",s.target.value),placeholder:"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsDefaultRegion",children:l("AWS Default Region")}),e.jsx(t,{id:"awsDefaultRegion",value:a.awsDefaultRegion,onChange:s=>o("awsDefaultRegion",s.target.value),placeholder:"us-east-1"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsBucket",children:l("AWS Bucket")}),e.jsx(t,{id:"awsBucket",value:a.awsBucket,onChange:s=>o("awsBucket",s.target.value),placeholder:"my-bucket-name"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsUrl",children:l("AWS URL")}),e.jsx(t,{id:"awsUrl",value:a.awsUrl,onChange:s=>o("awsUrl",s.target.value),placeholder:"https://s3.amazonaws.com"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsEndpoint",children:l("AWS Endpoint")}),e.jsx(t,{id:"awsEndpoint",value:a.awsEndpoint,onChange:s=>o("awsEndpoint",s.target.value),placeholder:"https://s3.us-east-1.amazonaws.com"})]})]}),e.jsxs("div",{className:"space-y-6",children:[g(),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"awsMaxUploadSize",children:l("Max Upload Size (KB)")}),e.jsx(t,{id:"awsMaxUploadSize",type:"number",value:a.maxUploadSize,onChange:s=>o("maxUploadSize",s.target.value),placeholder:"2048"})]})})]})]}),k=()=>e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiAccessKey",children:l("Wasabi Access Key")}),e.jsx(t,{id:"wasabiAccessKey",value:a.wasabiAccessKey,onChange:s=>o("wasabiAccessKey",s.target.value),placeholder:"AKIAIOSFODNN7EXAMPLE"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiSecretKey",children:l("Wasabi Secret Key")}),e.jsx(t,{id:"wasabiSecretKey",type:"password",value:a.wasabiSecretKey,onChange:s=>o("wasabiSecretKey",s.target.value),placeholder:"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiRegion",children:l("Wasabi Region")}),e.jsx(t,{id:"wasabiRegion",value:a.wasabiRegion,onChange:s=>o("wasabiRegion",s.target.value),placeholder:"us-east-1"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiBucket",children:l("Wasabi Bucket")}),e.jsx(t,{id:"wasabiBucket",value:a.wasabiBucket,onChange:s=>o("wasabiBucket",s.target.value),placeholder:"my-wasabi-bucket"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiUrl",children:l("Wasabi URL")}),e.jsx(t,{id:"wasabiUrl",value:a.wasabiUrl,onChange:s=>o("wasabiUrl",s.target.value),placeholder:"https://s3.wasabisys.com"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiRoot",children:l("Wasabi Root")}),e.jsx(t,{id:"wasabiRoot",value:a.wasabiRoot,onChange:s=>o("wasabiRoot",s.target.value),placeholder:"/"})]})]}),e.jsxs("div",{className:"space-y-6",children:[g(),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"wasabiMaxUploadSize",children:l("Max Upload Size (KB)")}),e.jsx(t,{id:"wasabiMaxUploadSize",type:"number",value:a.maxUploadSize,onChange:s=>o("maxUploadSize",s.target.value),placeholder:"2048"})]})]})]});return e.jsx(_,{title:l("Storage Settings"),description:l("Configure file storage settings for your application"),action:e.jsxs(x,{type:"submit",form:"storage-settings-form",size:"sm",children:[e.jsx(E,{className:"h-4 w-4 mr-2"}),l("Save Changes")]}),children:e.jsx("form",{id:"storage-settings-form",onSubmit:F,children:e.jsxs(M,{value:a.storageType,className:"w-full",onValueChange:s=>m(i=>({...i,storageType:s})),children:[e.jsxs(W,{className:"grid w-full grid-cols-3",children:[e.jsxs(b,{value:"local",className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-4 w-4"}),l("Local Storage")]}),e.jsxs(b,{value:"aws_s3",className:"flex items-center gap-2",children:[e.jsx("span",{children:"☁️"}),l("AWS S3")]}),e.jsxs(b,{value:"wasabi",className:"flex items-center gap-2",children:[e.jsx("span",{children:"🗄️"}),l("Wasabi")]})]}),e.jsxs(j,{value:"local",className:"mt-6",children:[e.jsx("h3",{className:"text-base font-medium mb-4",children:l("Local Storage Settings")}),z()]}),e.jsxs(j,{value:"aws_s3",className:"mt-6",children:[e.jsx("h3",{className:"text-base font-medium mb-4",children:l("AWS S3 Storage Settings")}),C()]}),e.jsxs(j,{value:"wasabi",className:"mt-6",children:[e.jsx("h3",{className:"text-base font-medium mb-4",children:l("Wasabi Storage Settings")}),k()]})]})})})}export{V as default}; diff --git a/public/build/assets/stripe-settings-SOBEkVu7.js b/public/build/assets/stripe-settings-BAwI1r-t.js similarity index 94% rename from public/build/assets/stripe-settings-SOBEkVu7.js rename to public/build/assets/stripe-settings-BAwI1r-t.js index 3aae4cbc1..602127683 100644 --- a/public/build/assets/stripe-settings-SOBEkVu7.js +++ b/public/build/assets/stripe-settings-BAwI1r-t.js @@ -1 +1 @@ -import{r as d,j as e}from"./ui-Z445SNHD.js";import{u as k,ap as _,L as i,al as c,s as m,v as h,w as p,I as x,o as u,y as C}from"./app-CfhhiFAk.js";import{S as b}from"./switch-CKduD2wX.js";import{A as K,a as M}from"./alert-DH0o7BP8.js";import{C as E}from"./credit-card-BmdpMcMw.js";import{C as n}from"./circle-alert-64DrdoHv.js";import{E as j}from"./eye-off-CTWV_K-G.js";import{E as f}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function q(){const{t:s}=k(),[t,g]=d.useState({enabled:!1,testMode:!0,publishableKey:"pk_test_51AbCdEfGhIjKlMnOpQrStUvWxYz12345678901234",secretKey:"sk_test_51AbCdEfGhIjKlMnOpQrStUvWxYz12345678901234",webhookSecret:"whsec_1234567890abcdefghijklmnopqrstuvwxyz1234"}),[o,y]=d.useState(!1),[l,v]=d.useState(!1),r=(a,N)=>{g(w=>({...w,[a]:N}))},S=a=>{a.preventDefault()};return e.jsx(_,{title:s("Stripe Payment Settings"),description:s("Configure Stripe payment gateway integration for online payments"),action:e.jsxs(u,{type:"submit",form:"stripe-settings-form",size:"sm",children:[e.jsx(C,{className:"h-4 w-4 mr-2"}),s("Save Changes")]}),children:e.jsx("form",{id:"stripe-settings-form",onSubmit:S,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-md bg-muted/30",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(E,{className:"h-5 w-5 text-primary mt-0.5"}),e.jsxs("div",{children:[e.jsx(i,{htmlFor:"stripeEnabled",className:"text-base font-medium",children:s("Stripe Payment Gateway")}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:s("Enable or disable Stripe payment processing")})]})]}),e.jsx(b,{id:"stripeEnabled",checked:t.enabled,onCheckedChange:a=>r("enabled",a)})]}),e.jsxs("div",{className:`space-y-6 ${t.enabled?"":"opacity-60"}`,children:[e.jsxs(K,{variant:"info",className:"mb-6",children:[e.jsx(n,{className:"h-4 w-4"}),e.jsxs(M,{children:[s("You need to set up a Stripe account and obtain API keys before enabling this integration."),e.jsx("a",{href:"https://dashboard.stripe.com/apikeys",target:"_blank",rel:"noopener noreferrer",className:"ml-1 underline",children:s("Get your API keys")})]})]}),e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-md",children:[e.jsxs("div",{children:[e.jsx(i,{htmlFor:"testMode",className:"font-medium",children:s("Test Mode")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Use Stripe test environment for development")})]}),e.jsx(b,{id:"testMode",checked:t.testMode,onCheckedChange:a=>r("testMode",a),disabled:!t.enabled})]}),e.jsxs("div",{className:"grid gap-6",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{htmlFor:"publishableKey",className:"font-medium",children:t.testMode?"Test Publishable Key":"Live Publishable Key"}),e.jsx(c,{children:e.jsxs(m,{children:[e.jsx(h,{asChild:!0,children:e.jsx(n,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(p,{children:e.jsxs("p",{children:[s("Starts with")," ",t.testMode?"pk_test_":"pk_live_"]})})]})})]}),e.jsx(x,{id:"publishableKey",value:t.publishableKey,onChange:a=>r("publishableKey",a.target.value),placeholder:t.testMode?"pk_test_...":"pk_live_...",className:"font-mono text-sm",disabled:!t.enabled})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{htmlFor:"secretKey",className:"font-medium",children:t.testMode?"Test Secret Key":"Live Secret Key"}),e.jsx(c,{children:e.jsxs(m,{children:[e.jsx(h,{asChild:!0,children:e.jsx(n,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(p,{children:e.jsxs("p",{children:[s("Starts with")," ",t.testMode?"sk_test_":"sk_live_"]})})]})})]}),e.jsxs("div",{className:"relative",children:[e.jsx(x,{id:"secretKey",type:o?"text":"password",value:t.secretKey,onChange:a=>r("secretKey",a.target.value),placeholder:t.testMode?"sk_test_...":"sk_live_...",className:"font-mono text-sm pr-10",disabled:!t.enabled}),e.jsx(u,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-3 text-muted-foreground",onClick:()=>y(!o),disabled:!t.enabled,children:o?e.jsx(j,{className:"h-4 w-4"}):e.jsx(f,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{htmlFor:"webhookSecret",className:"font-medium",children:s("Webhook Signing Secret")}),e.jsx(c,{children:e.jsxs(m,{children:[e.jsx(h,{asChild:!0,children:e.jsx(n,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(p,{children:e.jsx("p",{children:s("Starts with whsec_")})})]})})]}),e.jsxs("div",{className:"relative",children:[e.jsx(x,{id:"webhookSecret",type:l?"text":"password",value:t.webhookSecret,onChange:a=>r("webhookSecret",a.target.value),placeholder:s("whsec_..."),className:"font-mono text-sm pr-10",disabled:!t.enabled}),e.jsx(u,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-3 text-muted-foreground",onClick:()=>v(!l),disabled:!t.enabled,children:l?e.jsx(j,{className:"h-4 w-4"}):e.jsx(f,{className:"h-4 w-4"})})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Used to verify webhook events sent by Stripe")})]})]}),e.jsxs("div",{className:"bg-muted/30 p-4 rounded-md border",children:[e.jsx("h4",{className:"text-sm font-medium mb-2",children:s("Webhook Configuration")}),e.jsxs("p",{className:"text-sm text-muted-foreground mb-2",children:[s("Set up a webhook in your Stripe dashboard to receive event notifications"),":"]}),e.jsxs("div",{className:"bg-muted p-2 rounded border text-xs font-mono mb-2 break-all",children:[window.location.origin,"/api/webhooks/stripe"]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Required events: payment_intent.succeeded, payment_intent.payment_failed, checkout.session.completed")})]})]})]})})})}export{q as default}; +import{r as d,j as e}from"./ui-Z445SNHD.js";import{u as k,ap as _,L as i,al as c,s as m,v as h,w as p,I as x,o as u,y as C}from"./app-Dya84jp7.js";import{S as b}from"./switch-DyHgm-Sg.js";import{A as K,a as M}from"./alert-CyJVNPY9.js";import{C as E}from"./credit-card-BKi_ThdS.js";import{C as n}from"./circle-alert-Ddjg2Qwp.js";import{E as j}from"./eye-off-C7-ukqyH.js";import{E as f}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function q(){const{t:s}=k(),[t,g]=d.useState({enabled:!1,testMode:!0,publishableKey:"pk_test_51AbCdEfGhIjKlMnOpQrStUvWxYz12345678901234",secretKey:"sk_test_51AbCdEfGhIjKlMnOpQrStUvWxYz12345678901234",webhookSecret:"whsec_1234567890abcdefghijklmnopqrstuvwxyz1234"}),[o,y]=d.useState(!1),[l,v]=d.useState(!1),r=(a,N)=>{g(w=>({...w,[a]:N}))},S=a=>{a.preventDefault()};return e.jsx(_,{title:s("Stripe Payment Settings"),description:s("Configure Stripe payment gateway integration for online payments"),action:e.jsxs(u,{type:"submit",form:"stripe-settings-form",size:"sm",children:[e.jsx(C,{className:"h-4 w-4 mr-2"}),s("Save Changes")]}),children:e.jsx("form",{id:"stripe-settings-form",onSubmit:S,children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-md bg-muted/30",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(E,{className:"h-5 w-5 text-primary mt-0.5"}),e.jsxs("div",{children:[e.jsx(i,{htmlFor:"stripeEnabled",className:"text-base font-medium",children:s("Stripe Payment Gateway")}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:s("Enable or disable Stripe payment processing")})]})]}),e.jsx(b,{id:"stripeEnabled",checked:t.enabled,onCheckedChange:a=>r("enabled",a)})]}),e.jsxs("div",{className:`space-y-6 ${t.enabled?"":"opacity-60"}`,children:[e.jsxs(K,{variant:"info",className:"mb-6",children:[e.jsx(n,{className:"h-4 w-4"}),e.jsxs(M,{children:[s("You need to set up a Stripe account and obtain API keys before enabling this integration."),e.jsx("a",{href:"https://dashboard.stripe.com/apikeys",target:"_blank",rel:"noopener noreferrer",className:"ml-1 underline",children:s("Get your API keys")})]})]}),e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-md",children:[e.jsxs("div",{children:[e.jsx(i,{htmlFor:"testMode",className:"font-medium",children:s("Test Mode")}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Use Stripe test environment for development")})]}),e.jsx(b,{id:"testMode",checked:t.testMode,onCheckedChange:a=>r("testMode",a),disabled:!t.enabled})]}),e.jsxs("div",{className:"grid gap-6",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{htmlFor:"publishableKey",className:"font-medium",children:t.testMode?"Test Publishable Key":"Live Publishable Key"}),e.jsx(c,{children:e.jsxs(m,{children:[e.jsx(h,{asChild:!0,children:e.jsx(n,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(p,{children:e.jsxs("p",{children:[s("Starts with")," ",t.testMode?"pk_test_":"pk_live_"]})})]})})]}),e.jsx(x,{id:"publishableKey",value:t.publishableKey,onChange:a=>r("publishableKey",a.target.value),placeholder:t.testMode?"pk_test_...":"pk_live_...",className:"font-mono text-sm",disabled:!t.enabled})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{htmlFor:"secretKey",className:"font-medium",children:t.testMode?"Test Secret Key":"Live Secret Key"}),e.jsx(c,{children:e.jsxs(m,{children:[e.jsx(h,{asChild:!0,children:e.jsx(n,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(p,{children:e.jsxs("p",{children:[s("Starts with")," ",t.testMode?"sk_test_":"sk_live_"]})})]})})]}),e.jsxs("div",{className:"relative",children:[e.jsx(x,{id:"secretKey",type:o?"text":"password",value:t.secretKey,onChange:a=>r("secretKey",a.target.value),placeholder:t.testMode?"sk_test_...":"sk_live_...",className:"font-mono text-sm pr-10",disabled:!t.enabled}),e.jsx(u,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-3 text-muted-foreground",onClick:()=>y(!o),disabled:!t.enabled,children:o?e.jsx(j,{className:"h-4 w-4"}):e.jsx(f,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{htmlFor:"webhookSecret",className:"font-medium",children:s("Webhook Signing Secret")}),e.jsx(c,{children:e.jsxs(m,{children:[e.jsx(h,{asChild:!0,children:e.jsx(n,{className:"h-4 w-4 text-muted-foreground"})}),e.jsx(p,{children:e.jsx("p",{children:s("Starts with whsec_")})})]})})]}),e.jsxs("div",{className:"relative",children:[e.jsx(x,{id:"webhookSecret",type:l?"text":"password",value:t.webhookSecret,onChange:a=>r("webhookSecret",a.target.value),placeholder:s("whsec_..."),className:"font-mono text-sm pr-10",disabled:!t.enabled}),e.jsx(u,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-3 text-muted-foreground",onClick:()=>v(!l),disabled:!t.enabled,children:l?e.jsx(j,{className:"h-4 w-4"}):e.jsx(f,{className:"h-4 w-4"})})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("Used to verify webhook events sent by Stripe")})]})]}),e.jsxs("div",{className:"bg-muted/30 p-4 rounded-md border",children:[e.jsx("h4",{className:"text-sm font-medium mb-2",children:s("Webhook Configuration")}),e.jsxs("p",{className:"text-sm text-muted-foreground mb-2",children:[s("Set up a webhook in your Stripe dashboard to receive event notifications"),":"]}),e.jsxs("div",{className:"bg-muted p-2 rounded border text-xs font-mono mb-2 break-all",children:[window.location.origin,"/api/webhooks/stripe"]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("Required events: payment_intent.succeeded, payment_intent.payment_failed, checkout.session.completed")})]})]})]})})})}export{q as default}; diff --git a/public/build/assets/sun-C2oQ_gMz.js b/public/build/assets/sun-D8i-fCJe.js similarity index 93% rename from public/build/assets/sun-C2oQ_gMz.js rename to public/build/assets/sun-D8i-fCJe.js index e4b1cdfe6..b8a2c2b06 100644 --- a/public/build/assets/sun-C2oQ_gMz.js +++ b/public/build/assets/sun-D8i-fCJe.js @@ -1,4 +1,4 @@ -import{G as t}from"./app-CfhhiFAk.js";/** +import{G as t}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/switch-CKduD2wX.js b/public/build/assets/switch-DyHgm-Sg.js similarity index 98% rename from public/build/assets/switch-CKduD2wX.js rename to public/build/assets/switch-DyHgm-Sg.js index ad07272e6..d189ed3b6 100644 --- a/public/build/assets/switch-CKduD2wX.js +++ b/public/build/assets/switch-DyHgm-Sg.js @@ -1 +1 @@ -import{r as s,j as h,f as T,m as y,k as $,n as O,H}from"./ui-Z445SNHD.js";import{u as M}from"./index-9MclThM-.js";import{e as g}from"./app-CfhhiFAk.js";function A(e,t=[]){let r=[];function o(a,c){const i=s.createContext(c),l=r.length;r=[...r,c];const u=d=>{var S;const{scope:p,children:b,...m}=d,v=((S=p==null?void 0:p[e])==null?void 0:S[l])||i,x=s.useMemo(()=>m,Object.values(m));return h.jsx(v.Provider,{value:x,children:b})};u.displayName=a+"Provider";function f(d,p){var v;const b=((v=p==null?void 0:p[e])==null?void 0:v[l])||i,m=s.useContext(b);if(m)return m;if(c!==void 0)return c;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[u,f]}const n=()=>{const a=r.map(c=>s.createContext(c));return function(i){const l=(i==null?void 0:i[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return n.scopeName=e,[o,V(n,...t)]}function V(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){const c=o.reduce((i,{useScope:l,scopeName:u})=>{const d=l(a)[`__scope${u}`];return{...i,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}function W(e){const t=D(e),r=s.forwardRef((o,n)=>{const{children:a,...c}=o,i=s.Children.toArray(a),l=i.find(F);if(l){const u=l.props.children,f=i.map(d=>d===l?s.Children.count(u)>1?s.Children.only(null):s.isValidElement(u)?u.props.children:null:d);return h.jsx(t,{...c,ref:n,children:s.isValidElement(u)?s.cloneElement(u,void 0,f):null})}return h.jsx(t,{...c,ref:n,children:a})});return r.displayName=`${e}.Slot`,r}function D(e){const t=s.forwardRef((r,o)=>{const{children:n,...a}=r;if(s.isValidElement(n)){const c=q(n),i=U(a,n.props);return n.type!==s.Fragment&&(i.ref=o?T(o,c):c),s.cloneElement(n,i)}return s.Children.count(n)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var L=Symbol("radix.slottable");function F(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===L}function U(e,t){const r={...t};for(const o in t){const n=e[o],a=t[o];/^on[A-Z]/.test(o)?n&&a?r[o]=(...i)=>{const l=a(...i);return n(...i),l}:n&&(r[o]=n):o==="style"?r[o]={...n,...a}:o==="className"&&(r[o]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}function q(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var z=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],k=z.reduce((e,t)=>{const r=W(`Primitive.${t}`),o=s.forwardRef((n,a)=>{const{asChild:c,...i}=n,l=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(l,{...i,ref:a})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),C="Switch",[X]=A(C),[Z,G]=X(C),P=s.forwardRef((e,t)=>{const{__scopeSwitch:r,name:o,checked:n,defaultChecked:a,required:c,disabled:i,value:l="on",onCheckedChange:u,form:f,...d}=e,[p,b]=s.useState(null),m=y(t,w=>b(w)),v=s.useRef(!1),x=p?f||!!p.closest("form"):!0,[S,I]=$({prop:n,defaultProp:a??!1,onChange:u,caller:C});return h.jsxs(Z,{scope:r,checked:S,disabled:i,children:[h.jsx(k.button,{type:"button",role:"switch","aria-checked":S,"aria-required":c,"data-state":N(S),"data-disabled":i?"":void 0,disabled:i,value:l,...d,ref:m,onClick:O(e.onClick,w=>{I(B=>!B),x&&(v.current=w.isPropagationStopped(),v.current||w.stopPropagation())})}),x&&h.jsx(_,{control:p,bubbles:!v.current,name:o,value:l,checked:S,required:c,disabled:i,form:f,style:{transform:"translateX(-100%)"}})]})});P.displayName=C;var E="SwitchThumb",R=s.forwardRef((e,t)=>{const{__scopeSwitch:r,...o}=e,n=G(E,r);return h.jsx(k.span,{"data-state":N(n.checked),"data-disabled":n.disabled?"":void 0,...o,ref:t})});R.displayName=E;var J="SwitchBubbleInput",_=s.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:o=!0,...n},a)=>{const c=s.useRef(null),i=y(c,a),l=M(r),u=H(t);return s.useEffect(()=>{const f=c.current;if(!f)return;const d=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==r&&b){const m=new Event("click",{bubbles:o});b.call(f,r),f.dispatchEvent(m)}},[l,r,o]),h.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...n,tabIndex:-1,ref:i,style:{...n.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});_.displayName=J;function N(e){return e?"checked":"unchecked"}var j=P,K=R;const Q=s.forwardRef(({className:e,...t},r)=>h.jsx(j,{className:g("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:r,children:h.jsx(K,{className:g("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 rtl:data-[state=checked]:-translate-x-5 rtl:data-[state=unchecked]:translate-x-0")})}));Q.displayName=j.displayName;export{Q as S}; +import{r as s,j as h,f as T,m as y,k as $,n as O,H}from"./ui-Z445SNHD.js";import{u as M}from"./index-9MclThM-.js";import{e as g}from"./app-Dya84jp7.js";function A(e,t=[]){let r=[];function o(a,c){const i=s.createContext(c),l=r.length;r=[...r,c];const u=d=>{var S;const{scope:p,children:b,...m}=d,v=((S=p==null?void 0:p[e])==null?void 0:S[l])||i,x=s.useMemo(()=>m,Object.values(m));return h.jsx(v.Provider,{value:x,children:b})};u.displayName=a+"Provider";function f(d,p){var v;const b=((v=p==null?void 0:p[e])==null?void 0:v[l])||i,m=s.useContext(b);if(m)return m;if(c!==void 0)return c;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[u,f]}const n=()=>{const a=r.map(c=>s.createContext(c));return function(i){const l=(i==null?void 0:i[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return n.scopeName=e,[o,V(n,...t)]}function V(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){const c=o.reduce((i,{useScope:l,scopeName:u})=>{const d=l(a)[`__scope${u}`];return{...i,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}function W(e){const t=D(e),r=s.forwardRef((o,n)=>{const{children:a,...c}=o,i=s.Children.toArray(a),l=i.find(F);if(l){const u=l.props.children,f=i.map(d=>d===l?s.Children.count(u)>1?s.Children.only(null):s.isValidElement(u)?u.props.children:null:d);return h.jsx(t,{...c,ref:n,children:s.isValidElement(u)?s.cloneElement(u,void 0,f):null})}return h.jsx(t,{...c,ref:n,children:a})});return r.displayName=`${e}.Slot`,r}function D(e){const t=s.forwardRef((r,o)=>{const{children:n,...a}=r;if(s.isValidElement(n)){const c=q(n),i=U(a,n.props);return n.type!==s.Fragment&&(i.ref=o?T(o,c):c),s.cloneElement(n,i)}return s.Children.count(n)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var L=Symbol("radix.slottable");function F(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===L}function U(e,t){const r={...t};for(const o in t){const n=e[o],a=t[o];/^on[A-Z]/.test(o)?n&&a?r[o]=(...i)=>{const l=a(...i);return n(...i),l}:n&&(r[o]=n):o==="style"?r[o]={...n,...a}:o==="className"&&(r[o]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}function q(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var z=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],k=z.reduce((e,t)=>{const r=W(`Primitive.${t}`),o=s.forwardRef((n,a)=>{const{asChild:c,...i}=n,l=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(l,{...i,ref:a})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),C="Switch",[X]=A(C),[Z,G]=X(C),P=s.forwardRef((e,t)=>{const{__scopeSwitch:r,name:o,checked:n,defaultChecked:a,required:c,disabled:i,value:l="on",onCheckedChange:u,form:f,...d}=e,[p,b]=s.useState(null),m=y(t,w=>b(w)),v=s.useRef(!1),x=p?f||!!p.closest("form"):!0,[S,I]=$({prop:n,defaultProp:a??!1,onChange:u,caller:C});return h.jsxs(Z,{scope:r,checked:S,disabled:i,children:[h.jsx(k.button,{type:"button",role:"switch","aria-checked":S,"aria-required":c,"data-state":N(S),"data-disabled":i?"":void 0,disabled:i,value:l,...d,ref:m,onClick:O(e.onClick,w=>{I(B=>!B),x&&(v.current=w.isPropagationStopped(),v.current||w.stopPropagation())})}),x&&h.jsx(_,{control:p,bubbles:!v.current,name:o,value:l,checked:S,required:c,disabled:i,form:f,style:{transform:"translateX(-100%)"}})]})});P.displayName=C;var E="SwitchThumb",R=s.forwardRef((e,t)=>{const{__scopeSwitch:r,...o}=e,n=G(E,r);return h.jsx(k.span,{"data-state":N(n.checked),"data-disabled":n.disabled?"":void 0,...o,ref:t})});R.displayName=E;var J="SwitchBubbleInput",_=s.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:o=!0,...n},a)=>{const c=s.useRef(null),i=y(c,a),l=M(r),u=H(t);return s.useEffect(()=>{const f=c.current;if(!f)return;const d=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==r&&b){const m=new Event("click",{bubbles:o});b.call(f,r),f.dispatchEvent(m)}},[l,r,o]),h.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...n,tabIndex:-1,ref:i,style:{...n.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});_.displayName=J;function N(e){return e?"checked":"unchecked"}var j=P,K=R;const Q=s.forwardRef(({className:e,...t},r)=>h.jsx(j,{className:g("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:r,children:h.jsx(K,{className:g("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 rtl:data-[state=checked]:-translate-x-5 rtl:data-[state=unchecked]:translate-x-0")})}));Q.displayName=j.displayName;export{Q as S}; diff --git a/public/build/assets/system-settings-BOfM4ZSu.js b/public/build/assets/system-settings-CiunzQ_e.js similarity index 97% rename from public/build/assets/system-settings-BOfM4ZSu.js rename to public/build/assets/system-settings-CiunzQ_e.js index 0bc4f0c4c..05af0f0d5 100644 --- a/public/build/assets/system-settings-BOfM4ZSu.js +++ b/public/build/assets/system-settings-CiunzQ_e.js @@ -1 +1 @@ -import{r as b,j as e}from"./ui-Z445SNHD.js";import{u as z,c as O,ap as M,L as c,I as T,o as Y,y as B,r as I,t as E}from"./app-CfhhiFAk.js";import{S as g,a as u,b as h,c as x,d as r}from"./select-BrY9osYp.js";import{S as f}from"./switch-CKduD2wX.js";import{l as L}from"./language-BbwPiY59.js";import{R as V}from"./react-country-flag.esm-Bs2jngHP.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";function ee({settings:v={},timezones:y={},dateFormats:S={},timeFormats:C={},isCompanyUser:m=!1}){const{t}=z(),w=O().props,l={defaultLanguage:"en",dateFormat:"MM/DD/YYYY",timeFormat:"12h",calendarStartDay:"sunday",defaultTimezone:"UTC",emailVerification:!1,landingPageEnabled:!0,ipRestrictionEnabled:!1,userRegistrationEnabled:!0,termsConditionsUrl:""},i=Object.keys(v).length>0?v:w.settings||{},[p,D]=b.useState(""),[s,R]=b.useState(()=>({defaultLanguage:i.defaultLanguage||l.defaultLanguage,dateFormat:i.dateFormat||l.dateFormat,timeFormat:i.timeFormat||l.timeFormat,calendarStartDay:i.calendarStartDay||l.calendarStartDay,defaultTimezone:i.defaultTimezone||l.defaultTimezone,emailVerification:i.emailVerification==="true"||i.emailVerification===!0||l.emailVerification,landingPageEnabled:i.landingPageEnabled==="true"||i.landingPageEnabled===!0||i.landingPageEnabled==="1"||(i.landingPageEnabled===void 0?l.landingPageEnabled:!1),ipRestrictionEnabled:i.ipRestrictionEnabled==="1"||i.ipRestrictionEnabled===1||l.ipRestrictionEnabled,userRegistrationEnabled:i.userRegistrationEnabled==="true"||i.userRegistrationEnabled===!0||i.userRegistrationEnabled==="1"||(i.userRegistrationEnabled===void 0?l.userRegistrationEnabled:!1),termsConditionsUrl:i.termsConditionsUrl||l.termsConditionsUrl}));b.useEffect(()=>{if(Object.keys(i).length>0){const a=Object.keys(l).reduce((n,d)=>(n[d]=i[d]||l[d],n),{});R(n=>({...n,...a,emailVerification:a.emailVerification==="true"||a.emailVerification===!0||a.emailVerification==="1",landingPageEnabled:a.landingPageEnabled==="true"||a.landingPageEnabled===!0||a.landingPageEnabled==="1"||(a.landingPageEnabled===void 0?l.landingPageEnabled:!1),ipRestrictionEnabled:a.ipRestrictionEnabled==="1"||a.ipRestrictionEnabled===1||!1,userRegistrationEnabled:a.userRegistrationEnabled==="true"||a.userRegistrationEnabled===!0||a.userRegistrationEnabled==="1"||(a.userRegistrationEnabled===void 0?l.userRegistrationEnabled:!1),termsConditionsUrl:a.termsConditionsUrl||l.termsConditionsUrl}))}},[i]);const o=(a,n)=>{R(d=>({...d,[a]:n}))},U=a=>{a.preventDefault();const n={defaultLanguage:s.defaultLanguage,dateFormat:s.dateFormat,timeFormat:s.timeFormat,calendarStartDay:s.calendarStartDay,defaultTimezone:s.defaultTimezone,emailVerification:!!s.emailVerification,landingPageEnabled:!!s.landingPageEnabled,ipRestrictionEnabled:s.ipRestrictionEnabled?1:0,userRegistrationEnabled:s.userRegistrationEnabled?1:0,termsConditionsUrl:s.termsConditionsUrl};m||(n.emailVerification=!!s.emailVerification,n.landingPageEnabled=!!s.landingPageEnabled,n.userRegistrationEnabled=!!s.userRegistrationEnabled),m&&(n.ipRestrictionEnabled=s.ipRestrictionEnabled?1:0),I.post(route("settings.system.update"),n,{preserveScroll:!0,onSuccess:d=>{var N,P;const j=(N=d.props.flash)==null?void 0:N.success,F=(P=d.props.flash)==null?void 0:P.error;j?E.success(j):F&&E.error(F)},onError:d=>{const j=d.error||Object.values(d).join(", ")||t("Failed to update system settings");E.error(j)}})},k=Object.entries(y).filter(([a,n])=>a.toLowerCase().includes(p.toLowerCase())||n.toLowerCase().includes(p.toLowerCase()));return e.jsx(M,{title:t("System Settings"),description:t("Configure system-wide settings for your application"),action:e.jsxs(Y,{type:"submit",form:"system-settings-form",size:"sm",children:[e.jsx(B,{className:"h-4 w-4 mr-2"}),t("Save Changes")]}),children:e.jsx("form",{id:"system-settings-form",onSubmit:U,className:"space-y-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(c,{htmlFor:"defaultLanguage",children:t("Default Language")}),e.jsxs(g,{value:s.defaultLanguage,onValueChange:a=>o("defaultLanguage",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select language"),children:s.defaultLanguage&&(()=>{const a=L.find(n=>n.code===s.defaultLanguage);return a?e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{countryCode:a.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}})," ",e.jsx("span",{children:a.name})," "]}):t("Select language")})()})}),e.jsx(x,{children:L.map(a=>e.jsx(r,{value:a.code,children:e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{countryCode:a.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}})," ",e.jsx("span",{children:a.name})]})},a.code))})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(c,{htmlFor:"dateFormat",children:t("Date Format")}),e.jsxs(g,{value:s.dateFormat,onValueChange:a=>o("dateFormat",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select date format")})}),e.jsx(x,{children:Object.keys(S).length>0?Object.entries(S).map(([a,n])=>e.jsx(r,{value:a,children:e.jsxs("div",{className:"flex items-center justify-between w-full",children:[e.jsx("span",{children:a}),e.jsxs("span",{className:"text-muted-foreground text-sm ml-4",children:["(",n,")"]})]})},a)):e.jsxs(e.Fragment,{children:[e.jsx(r,{value:"M j, Y",children:"Jan 1, 2025"}),e.jsx(r,{value:"d-m-Y",children:"01-01-2025"}),e.jsx(r,{value:"Y-m-d",children:"2025-01-01"}),e.jsx(r,{value:"F j, Y",children:"January 1, 2025"})]})})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(c,{htmlFor:"timeFormat",children:t("Time Format")}),e.jsxs(g,{value:s.timeFormat,onValueChange:a=>o("timeFormat",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select time format")})}),e.jsx(x,{children:Object.keys(C).length>0?Object.entries(C).map(([a,n])=>e.jsx(r,{value:a,children:e.jsxs("div",{className:"flex items-center justify-between w-full",children:[e.jsx("span",{children:a}),e.jsxs("span",{className:"text-muted-foreground text-sm ml-4",children:["(",n,")"]})]})},a)):e.jsxs(e.Fragment,{children:[e.jsx(r,{value:"g:i A",children:"1:30 PM"}),e.jsx(r,{value:"H:i",children:"13:30"}),e.jsx(r,{value:"g:i a",children:"1:30 pm"})]})})]})]}),!m&&e.jsx(e.Fragment,{children:e.jsxs("div",{className:"grid gap-2",children:[e.jsx(c,{htmlFor:"calendarStartDay",children:t("Calendar Start Day")}),e.jsxs(g,{value:s.calendarStartDay,onValueChange:a=>o("calendarStartDay",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select start day")})}),e.jsxs(x,{children:[e.jsx(r,{value:"sunday",children:t("Sunday")}),e.jsx(r,{value:"monday",children:t("Monday")})]})]})]})}),e.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[e.jsx(c,{htmlFor:"defaultTimezone",children:t("Default Timezone")}),e.jsxs(g,{value:s.defaultTimezone,onValueChange:a=>o("defaultTimezone",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select timezone")})}),e.jsxs(x,{children:[e.jsx("div",{className:"p-2",children:e.jsx(T,{placeholder:t("Search timezones..."),value:p,onChange:a=>D(a.target.value),className:"mb-2"})}),e.jsx("div",{className:"max-h-60 overflow-y-auto",children:Object.keys(y).length>0?k.map(([a,n])=>e.jsx(r,{value:a,children:n},a)):e.jsxs(e.Fragment,{children:[e.jsx(r,{value:"UTC",children:"UTC"}),e.jsx(r,{value:"America/New_York",children:"Eastern Time (ET)"}),e.jsx(r,{value:"America/Chicago",children:"Central Time (CT)"}),e.jsx(r,{value:"Europe/London",children:"London (GMT)"})]})})]})]})]}),!m&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(c,{htmlFor:"emailVerification",children:t("Email Verification")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Require users to verify their email addresses")})]}),e.jsx(f,{id:"emailVerification",checked:s.emailVerification,onCheckedChange:a=>o("emailVerification",a)})]})}),e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(c,{htmlFor:"landingPageEnabled",children:t("Landing Page")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Enable or disable the public landing page")})]}),e.jsx(f,{id:"landingPageEnabled",checked:s.landingPageEnabled,onCheckedChange:a=>o("landingPageEnabled",a)})]})}),e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(c,{htmlFor:"userRegistrationEnabled",children:t("User Registration")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Allow new users to create accounts on your platform")})]}),e.jsx(f,{id:"userRegistrationEnabled",checked:s.userRegistrationEnabled,onCheckedChange:a=>o("userRegistrationEnabled",a)})]})}),e.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[e.jsx(c,{htmlFor:"termsConditionsUrl",children:t("Terms and Conditions URL")}),e.jsx(T,{id:"termsConditionsUrl",type:"url",placeholder:"https://example.com/terms",value:s.termsConditionsUrl,onChange:a=>o("termsConditionsUrl",a.target.value)}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Enter the URL for your Terms and Conditions page that will be linked in the registration form")})]})]}),m&&e.jsx(e.Fragment,{children:e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(c,{htmlFor:"ipRestrictionEnabled",children:t("IP Restriction")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Enable IP address restrictions for enhanced security")})]}),e.jsx(f,{id:"ipRestrictionEnabled",checked:s.ipRestrictionEnabled,onCheckedChange:a=>o("ipRestrictionEnabled",a)})]})})})]})})})}export{ee as default}; +import{r as b,j as e}from"./ui-Z445SNHD.js";import{u as z,c as O,ap as M,L as c,I as T,o as Y,y as B,r as I,t as E}from"./app-Dya84jp7.js";import{S as g,a as u,b as h,c as x,d as r}from"./select-CHkpLxhL.js";import{S as f}from"./switch-DyHgm-Sg.js";import{l as L}from"./language-BbwPiY59.js";import{R as V}from"./react-country-flag.esm-Bs2jngHP.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";function ee({settings:v={},timezones:y={},dateFormats:S={},timeFormats:C={},isCompanyUser:m=!1}){const{t}=z(),w=O().props,l={defaultLanguage:"en",dateFormat:"MM/DD/YYYY",timeFormat:"12h",calendarStartDay:"sunday",defaultTimezone:"UTC",emailVerification:!1,landingPageEnabled:!0,ipRestrictionEnabled:!1,userRegistrationEnabled:!0,termsConditionsUrl:""},i=Object.keys(v).length>0?v:w.settings||{},[p,D]=b.useState(""),[s,R]=b.useState(()=>({defaultLanguage:i.defaultLanguage||l.defaultLanguage,dateFormat:i.dateFormat||l.dateFormat,timeFormat:i.timeFormat||l.timeFormat,calendarStartDay:i.calendarStartDay||l.calendarStartDay,defaultTimezone:i.defaultTimezone||l.defaultTimezone,emailVerification:i.emailVerification==="true"||i.emailVerification===!0||l.emailVerification,landingPageEnabled:i.landingPageEnabled==="true"||i.landingPageEnabled===!0||i.landingPageEnabled==="1"||(i.landingPageEnabled===void 0?l.landingPageEnabled:!1),ipRestrictionEnabled:i.ipRestrictionEnabled==="1"||i.ipRestrictionEnabled===1||l.ipRestrictionEnabled,userRegistrationEnabled:i.userRegistrationEnabled==="true"||i.userRegistrationEnabled===!0||i.userRegistrationEnabled==="1"||(i.userRegistrationEnabled===void 0?l.userRegistrationEnabled:!1),termsConditionsUrl:i.termsConditionsUrl||l.termsConditionsUrl}));b.useEffect(()=>{if(Object.keys(i).length>0){const a=Object.keys(l).reduce((n,d)=>(n[d]=i[d]||l[d],n),{});R(n=>({...n,...a,emailVerification:a.emailVerification==="true"||a.emailVerification===!0||a.emailVerification==="1",landingPageEnabled:a.landingPageEnabled==="true"||a.landingPageEnabled===!0||a.landingPageEnabled==="1"||(a.landingPageEnabled===void 0?l.landingPageEnabled:!1),ipRestrictionEnabled:a.ipRestrictionEnabled==="1"||a.ipRestrictionEnabled===1||!1,userRegistrationEnabled:a.userRegistrationEnabled==="true"||a.userRegistrationEnabled===!0||a.userRegistrationEnabled==="1"||(a.userRegistrationEnabled===void 0?l.userRegistrationEnabled:!1),termsConditionsUrl:a.termsConditionsUrl||l.termsConditionsUrl}))}},[i]);const o=(a,n)=>{R(d=>({...d,[a]:n}))},U=a=>{a.preventDefault();const n={defaultLanguage:s.defaultLanguage,dateFormat:s.dateFormat,timeFormat:s.timeFormat,calendarStartDay:s.calendarStartDay,defaultTimezone:s.defaultTimezone,emailVerification:!!s.emailVerification,landingPageEnabled:!!s.landingPageEnabled,ipRestrictionEnabled:s.ipRestrictionEnabled?1:0,userRegistrationEnabled:s.userRegistrationEnabled?1:0,termsConditionsUrl:s.termsConditionsUrl};m||(n.emailVerification=!!s.emailVerification,n.landingPageEnabled=!!s.landingPageEnabled,n.userRegistrationEnabled=!!s.userRegistrationEnabled),m&&(n.ipRestrictionEnabled=s.ipRestrictionEnabled?1:0),I.post(route("settings.system.update"),n,{preserveScroll:!0,onSuccess:d=>{var N,P;const j=(N=d.props.flash)==null?void 0:N.success,F=(P=d.props.flash)==null?void 0:P.error;j?E.success(j):F&&E.error(F)},onError:d=>{const j=d.error||Object.values(d).join(", ")||t("Failed to update system settings");E.error(j)}})},k=Object.entries(y).filter(([a,n])=>a.toLowerCase().includes(p.toLowerCase())||n.toLowerCase().includes(p.toLowerCase()));return e.jsx(M,{title:t("System Settings"),description:t("Configure system-wide settings for your application"),action:e.jsxs(Y,{type:"submit",form:"system-settings-form",size:"sm",children:[e.jsx(B,{className:"h-4 w-4 mr-2"}),t("Save Changes")]}),children:e.jsx("form",{id:"system-settings-form",onSubmit:U,className:"space-y-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(c,{htmlFor:"defaultLanguage",children:t("Default Language")}),e.jsxs(g,{value:s.defaultLanguage,onValueChange:a=>o("defaultLanguage",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select language"),children:s.defaultLanguage&&(()=>{const a=L.find(n=>n.code===s.defaultLanguage);return a?e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{countryCode:a.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}})," ",e.jsx("span",{children:a.name})," "]}):t("Select language")})()})}),e.jsx(x,{children:L.map(a=>e.jsx(r,{value:a.code,children:e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(V,{countryCode:a.countryCode,svg:!0,style:{width:"1.2em",height:"1.2em"}})," ",e.jsx("span",{children:a.name})]})},a.code))})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(c,{htmlFor:"dateFormat",children:t("Date Format")}),e.jsxs(g,{value:s.dateFormat,onValueChange:a=>o("dateFormat",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select date format")})}),e.jsx(x,{children:Object.keys(S).length>0?Object.entries(S).map(([a,n])=>e.jsx(r,{value:a,children:e.jsxs("div",{className:"flex items-center justify-between w-full",children:[e.jsx("span",{children:a}),e.jsxs("span",{className:"text-muted-foreground text-sm ml-4",children:["(",n,")"]})]})},a)):e.jsxs(e.Fragment,{children:[e.jsx(r,{value:"M j, Y",children:"Jan 1, 2025"}),e.jsx(r,{value:"d-m-Y",children:"01-01-2025"}),e.jsx(r,{value:"Y-m-d",children:"2025-01-01"}),e.jsx(r,{value:"F j, Y",children:"January 1, 2025"})]})})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(c,{htmlFor:"timeFormat",children:t("Time Format")}),e.jsxs(g,{value:s.timeFormat,onValueChange:a=>o("timeFormat",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select time format")})}),e.jsx(x,{children:Object.keys(C).length>0?Object.entries(C).map(([a,n])=>e.jsx(r,{value:a,children:e.jsxs("div",{className:"flex items-center justify-between w-full",children:[e.jsx("span",{children:a}),e.jsxs("span",{className:"text-muted-foreground text-sm ml-4",children:["(",n,")"]})]})},a)):e.jsxs(e.Fragment,{children:[e.jsx(r,{value:"g:i A",children:"1:30 PM"}),e.jsx(r,{value:"H:i",children:"13:30"}),e.jsx(r,{value:"g:i a",children:"1:30 pm"})]})})]})]}),!m&&e.jsx(e.Fragment,{children:e.jsxs("div",{className:"grid gap-2",children:[e.jsx(c,{htmlFor:"calendarStartDay",children:t("Calendar Start Day")}),e.jsxs(g,{value:s.calendarStartDay,onValueChange:a=>o("calendarStartDay",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select start day")})}),e.jsxs(x,{children:[e.jsx(r,{value:"sunday",children:t("Sunday")}),e.jsx(r,{value:"monday",children:t("Monday")})]})]})]})}),e.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[e.jsx(c,{htmlFor:"defaultTimezone",children:t("Default Timezone")}),e.jsxs(g,{value:s.defaultTimezone,onValueChange:a=>o("defaultTimezone",a),children:[e.jsx(u,{children:e.jsx(h,{placeholder:t("Select timezone")})}),e.jsxs(x,{children:[e.jsx("div",{className:"p-2",children:e.jsx(T,{placeholder:t("Search timezones..."),value:p,onChange:a=>D(a.target.value),className:"mb-2"})}),e.jsx("div",{className:"max-h-60 overflow-y-auto",children:Object.keys(y).length>0?k.map(([a,n])=>e.jsx(r,{value:a,children:n},a)):e.jsxs(e.Fragment,{children:[e.jsx(r,{value:"UTC",children:"UTC"}),e.jsx(r,{value:"America/New_York",children:"Eastern Time (ET)"}),e.jsx(r,{value:"America/Chicago",children:"Central Time (CT)"}),e.jsx(r,{value:"Europe/London",children:"London (GMT)"})]})})]})]})]}),!m&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(c,{htmlFor:"emailVerification",children:t("Email Verification")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Require users to verify their email addresses")})]}),e.jsx(f,{id:"emailVerification",checked:s.emailVerification,onCheckedChange:a=>o("emailVerification",a)})]})}),e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(c,{htmlFor:"landingPageEnabled",children:t("Landing Page")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Enable or disable the public landing page")})]}),e.jsx(f,{id:"landingPageEnabled",checked:s.landingPageEnabled,onCheckedChange:a=>o("landingPageEnabled",a)})]})}),e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(c,{htmlFor:"userRegistrationEnabled",children:t("User Registration")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Allow new users to create accounts on your platform")})]}),e.jsx(f,{id:"userRegistrationEnabled",checked:s.userRegistrationEnabled,onCheckedChange:a=>o("userRegistrationEnabled",a)})]})}),e.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[e.jsx(c,{htmlFor:"termsConditionsUrl",children:t("Terms and Conditions URL")}),e.jsx(T,{id:"termsConditionsUrl",type:"url",placeholder:"https://example.com/terms",value:s.termsConditionsUrl,onChange:a=>o("termsConditionsUrl",a.target.value)}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Enter the URL for your Terms and Conditions page that will be linked in the registration form")})]})]}),m&&e.jsx(e.Fragment,{children:e.jsx("div",{className:"grid gap-2 md:col-span-2",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx(c,{htmlFor:"ipRestrictionEnabled",children:t("IP Restriction")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:t("Enable IP address restrictions for enhanced security")})]}),e.jsx(f,{id:"ipRestrictionEnabled",checked:s.ipRestrictionEnabled,onCheckedChange:a=>o("ipRestrictionEnabled",a)})]})})})]})})})}export{ee as default}; diff --git a/public/build/assets/table-BXUOKUBo.js b/public/build/assets/table-CM-_W5Cl.js similarity index 96% rename from public/build/assets/table-BXUOKUBo.js rename to public/build/assets/table-CM-_W5Cl.js index a3beae9ab..68c000ffe 100644 --- a/public/build/assets/table-BXUOKUBo.js +++ b/public/build/assets/table-CM-_W5Cl.js @@ -1 +1 @@ -import{r as o,j as t}from"./ui-Z445SNHD.js";import{e as s}from"./app-CfhhiFAk.js";const d=o.forwardRef(({className:a,...e},r)=>t.jsx("div",{className:"relative w-full overflow-auto dark:bg-gray-900",children:t.jsx("table",{ref:r,className:s("w-full caption-bottom text-sm text-foreground dark:bg-gray-900",a),...e})}));d.displayName="Table";const l=o.forwardRef(({className:a,...e},r)=>t.jsx("thead",{ref:r,className:s("[&_tr]:border-b",a),...e}));l.displayName="TableHeader";const b=o.forwardRef(({className:a,...e},r)=>t.jsx("tbody",{ref:r,className:s("[&_tr:last-child]:border-0",a),...e}));b.displayName="TableBody";const m=o.forwardRef(({className:a,...e},r)=>t.jsx("tfoot",{ref:r,className:s("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...e}));m.displayName="TableFooter";const f=o.forwardRef(({className:a,...e},r)=>t.jsx("tr",{ref:r,className:s("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted text-foreground dark:border-gray-700 dark:bg-gray-900",a),...e}));f.displayName="TableRow";const c=o.forwardRef(({className:a,...e},r)=>t.jsx("th",{ref:r,className:s("h-12 px-4 text-left align-middle font-medium text-muted-foreground dark:text-gray-300 [&:has([role=checkbox])]:pr-0",a),...e}));c.displayName="TableHead";const i=o.forwardRef(({className:a,...e},r)=>t.jsx("td",{ref:r,className:s("p-4 align-middle [&:has([role=checkbox])]:pr-0 text-foreground",a),...e}));i.displayName="TableCell";const n=o.forwardRef(({className:a,...e},r)=>t.jsx("caption",{ref:r,className:s("mt-4 text-sm text-muted-foreground",a),...e}));n.displayName="TableCaption";export{d as T,l as a,f as b,c,b as d,i as e,m as f}; +import{r as o,j as t}from"./ui-Z445SNHD.js";import{e as s}from"./app-Dya84jp7.js";const d=o.forwardRef(({className:a,...e},r)=>t.jsx("div",{className:"relative w-full overflow-auto dark:bg-gray-900",children:t.jsx("table",{ref:r,className:s("w-full caption-bottom text-sm text-foreground dark:bg-gray-900",a),...e})}));d.displayName="Table";const l=o.forwardRef(({className:a,...e},r)=>t.jsx("thead",{ref:r,className:s("[&_tr]:border-b",a),...e}));l.displayName="TableHeader";const b=o.forwardRef(({className:a,...e},r)=>t.jsx("tbody",{ref:r,className:s("[&_tr:last-child]:border-0",a),...e}));b.displayName="TableBody";const m=o.forwardRef(({className:a,...e},r)=>t.jsx("tfoot",{ref:r,className:s("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...e}));m.displayName="TableFooter";const f=o.forwardRef(({className:a,...e},r)=>t.jsx("tr",{ref:r,className:s("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted text-foreground dark:border-gray-700 dark:bg-gray-900",a),...e}));f.displayName="TableRow";const c=o.forwardRef(({className:a,...e},r)=>t.jsx("th",{ref:r,className:s("h-12 px-4 text-left align-middle font-medium text-muted-foreground dark:text-gray-300 [&:has([role=checkbox])]:pr-0",a),...e}));c.displayName="TableHead";const i=o.forwardRef(({className:a,...e},r)=>t.jsx("td",{ref:r,className:s("p-4 align-middle [&:has([role=checkbox])]:pr-0 text-foreground",a),...e}));i.displayName="TableCell";const n=o.forwardRef(({className:a,...e},r)=>t.jsx("caption",{ref:r,className:s("mt-4 text-sm text-muted-foreground",a),...e}));n.displayName="TableCaption";export{d as T,l as a,f as b,c,b as d,i as e,m as f}; diff --git a/public/build/assets/tabs-pc4jrsjt.js b/public/build/assets/tabs-CsP5VcXV.js similarity index 98% rename from public/build/assets/tabs-pc4jrsjt.js rename to public/build/assets/tabs-CsP5VcXV.js index 960d8d1d6..bd948b72e 100644 --- a/public/build/assets/tabs-pc4jrsjt.js +++ b/public/build/assets/tabs-CsP5VcXV.js @@ -1 +1 @@ -import{r as i,j as p,f as O,M as L,k as G,u as B,X as W,Y as H,n as C,o as K,Z as N}from"./ui-Z445SNHD.js";import{e as h}from"./app-CfhhiFAk.js";function Z(e,t=[]){let n=[];function r(c,s){const a=i.createContext(s),l=n.length;n=[...n,s];const d=u=>{var S;const{scope:m,children:y,...v}=u,b=((S=m==null?void 0:m[e])==null?void 0:S[l])||a,k=i.useMemo(()=>v,Object.values(v));return p.jsx(b.Provider,{value:k,children:y})};d.displayName=c+"Provider";function f(u,m){var b;const y=((b=m==null?void 0:m[e])==null?void 0:b[l])||a,v=i.useContext(y);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${u}\` must be used within \`${c}\``)}return[d,f]}const o=()=>{const c=n.map(s=>i.createContext(s));return function(a){const l=(a==null?void 0:a[e])||c;return i.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,q(o,...t)]}function q(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const s=r.reduce((a,{useScope:l,scopeName:d})=>{const u=l(c)[`__scope${d}`];return{...a,...u}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function z(e){const t=X(e),n=i.forwardRef((r,o)=>{const{children:c,...s}=r,a=i.Children.toArray(c),l=a.find(J);if(l){const d=l.props.children,f=a.map(u=>u===l?i.Children.count(d)>1?i.Children.only(null):i.isValidElement(d)?d.props.children:null:u);return p.jsx(t,{...s,ref:o,children:i.isValidElement(d)?i.cloneElement(d,void 0,f):null})}return p.jsx(t,{...s,ref:o,children:c})});return n.displayName=`${e}.Slot`,n}function X(e){const t=i.forwardRef((n,r)=>{const{children:o,...c}=n;if(i.isValidElement(o)){const s=U(o),a=Q(c,o.props);return o.type!==i.Fragment&&(a.ref=r?O(r,s):s),i.cloneElement(o,a)}return i.Children.count(o)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Y=Symbol("radix.slottable");function J(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Y}function Q(e,t){const n={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?n[r]=(...a)=>{const l=c(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...c}:r==="className"&&(n[r]=[o,c].filter(Boolean).join(" "))}return{...e,...n}}function U(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],g=ee.reduce((e,t)=>{const n=z(`Primitive.${t}`),r=i.forwardRef((o,c)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),x="Tabs",[te]=Z(x,[N]),w=N(),[ne,T]=te(x),R=i.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:c,orientation:s="horizontal",dir:a,activationMode:l="automatic",...d}=e,f=L(a),[u,m]=G({prop:r,onChange:o,defaultProp:c??"",caller:x});return p.jsx(ne,{scope:n,baseId:B(),value:u,onValueChange:m,orientation:s,dir:f,activationMode:l,children:p.jsx(g.div,{dir:f,"data-orientation":s,...d,ref:t})})});R.displayName=x;var E="TabsList",_=i.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,c=T(E,n),s=w(n);return p.jsx(W,{asChild:!0,...s,orientation:c.orientation,dir:c.dir,loop:r,children:p.jsx(g.div,{role:"tablist","aria-orientation":c.orientation,...o,ref:t})})});_.displayName=E;var j="TabsTrigger",P=i.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...c}=e,s=T(j,n),a=w(n),l=A(s.baseId,r),d=M(s.baseId,r),f=r===s.value;return p.jsx(H,{asChild:!0,...a,focusable:!o,active:f,children:p.jsx(g.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...c,ref:t,onMouseDown:C(e.onMouseDown,u=>{!o&&u.button===0&&u.ctrlKey===!1?s.onValueChange(r):u.preventDefault()}),onKeyDown:C(e.onKeyDown,u=>{[" ","Enter"].includes(u.key)&&s.onValueChange(r)}),onFocus:C(e.onFocus,()=>{const u=s.activationMode!=="manual";!f&&!o&&u&&s.onValueChange(r)})})})});P.displayName=j;var I="TabsContent",$=i.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:c,...s}=e,a=T(I,n),l=A(a.baseId,r),d=M(a.baseId,r),f=r===a.value,u=i.useRef(f);return i.useEffect(()=>{const m=requestAnimationFrame(()=>u.current=!1);return()=>cancelAnimationFrame(m)},[]),p.jsx(K,{present:o||f,children:({present:m})=>p.jsx(g.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!m,id:d,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:u.current?"0s":void 0},children:m&&c})})});$.displayName=I;function A(e,t){return`${e}-trigger-${t}`}function M(e,t){return`${e}-content-${t}`}var oe=R,V=_,D=P,F=$;const le=oe,re=i.forwardRef(({className:e,...t},n)=>p.jsx(V,{ref:n,className:h("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));re.displayName=V.displayName;const se=i.forwardRef(({className:e,...t},n)=>p.jsx(D,{ref:n,className:h("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));se.displayName=D.displayName;const ae=i.forwardRef(({className:e,...t},n)=>p.jsx(F,{ref:n,className:h("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));ae.displayName=F.displayName;export{le as T,re as a,se as b,ae as c}; +import{r as i,j as p,f as O,M as L,k as G,u as B,X as W,Y as H,n as C,o as K,Z as N}from"./ui-Z445SNHD.js";import{e as h}from"./app-Dya84jp7.js";function Z(e,t=[]){let n=[];function r(c,s){const a=i.createContext(s),l=n.length;n=[...n,s];const d=u=>{var S;const{scope:m,children:y,...v}=u,b=((S=m==null?void 0:m[e])==null?void 0:S[l])||a,k=i.useMemo(()=>v,Object.values(v));return p.jsx(b.Provider,{value:k,children:y})};d.displayName=c+"Provider";function f(u,m){var b;const y=((b=m==null?void 0:m[e])==null?void 0:b[l])||a,v=i.useContext(y);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${u}\` must be used within \`${c}\``)}return[d,f]}const o=()=>{const c=n.map(s=>i.createContext(s));return function(a){const l=(a==null?void 0:a[e])||c;return i.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,q(o,...t)]}function q(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const s=r.reduce((a,{useScope:l,scopeName:d})=>{const u=l(c)[`__scope${d}`];return{...a,...u}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function z(e){const t=X(e),n=i.forwardRef((r,o)=>{const{children:c,...s}=r,a=i.Children.toArray(c),l=a.find(J);if(l){const d=l.props.children,f=a.map(u=>u===l?i.Children.count(d)>1?i.Children.only(null):i.isValidElement(d)?d.props.children:null:u);return p.jsx(t,{...s,ref:o,children:i.isValidElement(d)?i.cloneElement(d,void 0,f):null})}return p.jsx(t,{...s,ref:o,children:c})});return n.displayName=`${e}.Slot`,n}function X(e){const t=i.forwardRef((n,r)=>{const{children:o,...c}=n;if(i.isValidElement(o)){const s=U(o),a=Q(c,o.props);return o.type!==i.Fragment&&(a.ref=r?O(r,s):s),i.cloneElement(o,a)}return i.Children.count(o)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Y=Symbol("radix.slottable");function J(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Y}function Q(e,t){const n={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?n[r]=(...a)=>{const l=c(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...c}:r==="className"&&(n[r]=[o,c].filter(Boolean).join(" "))}return{...e,...n}}function U(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],g=ee.reduce((e,t)=>{const n=z(`Primitive.${t}`),r=i.forwardRef((o,c)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),x="Tabs",[te]=Z(x,[N]),w=N(),[ne,T]=te(x),R=i.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:c,orientation:s="horizontal",dir:a,activationMode:l="automatic",...d}=e,f=L(a),[u,m]=G({prop:r,onChange:o,defaultProp:c??"",caller:x});return p.jsx(ne,{scope:n,baseId:B(),value:u,onValueChange:m,orientation:s,dir:f,activationMode:l,children:p.jsx(g.div,{dir:f,"data-orientation":s,...d,ref:t})})});R.displayName=x;var E="TabsList",_=i.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,c=T(E,n),s=w(n);return p.jsx(W,{asChild:!0,...s,orientation:c.orientation,dir:c.dir,loop:r,children:p.jsx(g.div,{role:"tablist","aria-orientation":c.orientation,...o,ref:t})})});_.displayName=E;var j="TabsTrigger",P=i.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...c}=e,s=T(j,n),a=w(n),l=A(s.baseId,r),d=M(s.baseId,r),f=r===s.value;return p.jsx(H,{asChild:!0,...a,focusable:!o,active:f,children:p.jsx(g.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...c,ref:t,onMouseDown:C(e.onMouseDown,u=>{!o&&u.button===0&&u.ctrlKey===!1?s.onValueChange(r):u.preventDefault()}),onKeyDown:C(e.onKeyDown,u=>{[" ","Enter"].includes(u.key)&&s.onValueChange(r)}),onFocus:C(e.onFocus,()=>{const u=s.activationMode!=="manual";!f&&!o&&u&&s.onValueChange(r)})})})});P.displayName=j;var I="TabsContent",$=i.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:c,...s}=e,a=T(I,n),l=A(a.baseId,r),d=M(a.baseId,r),f=r===a.value,u=i.useRef(f);return i.useEffect(()=>{const m=requestAnimationFrame(()=>u.current=!1);return()=>cancelAnimationFrame(m)},[]),p.jsx(K,{present:o||f,children:({present:m})=>p.jsx(g.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!m,id:d,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:u.current?"0s":void 0},children:m&&c})})});$.displayName=I;function A(e,t){return`${e}-trigger-${t}`}function M(e,t){return`${e}-content-${t}`}var oe=R,V=_,D=P,F=$;const le=oe,re=i.forwardRef(({className:e,...t},n)=>p.jsx(V,{ref:n,className:h("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));re.displayName=V.displayName;const se=i.forwardRef(({className:e,...t},n)=>p.jsx(D,{ref:n,className:h("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));se.displayName=D.displayName;const ae=i.forwardRef(({className:e,...t},n)=>p.jsx(F,{ref:n,className:h("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));ae.displayName=F.displayName;export{le as T,re as a,se as b,ae as c}; diff --git a/public/build/assets/tag-JSZ9YmZg.js b/public/build/assets/tag-Bq7fLwM4.js similarity index 91% rename from public/build/assets/tag-JSZ9YmZg.js rename to public/build/assets/tag-Bq7fLwM4.js index ca55c2e0e..a0becdc70 100644 --- a/public/build/assets/tag-JSZ9YmZg.js +++ b/public/build/assets/tag-Bq7fLwM4.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/tag-input-C5bCQZVs.js b/public/build/assets/tag-input-B-Rs7khN.js similarity index 93% rename from public/build/assets/tag-input-C5bCQZVs.js rename to public/build/assets/tag-input-B-Rs7khN.js index 381f05fd8..61481408e 100644 --- a/public/build/assets/tag-input-C5bCQZVs.js +++ b/public/build/assets/tag-input-B-Rs7khN.js @@ -1 +1 @@ -import{r as u,j as r}from"./ui-Z445SNHD.js";import{B as x,X as f,I as h}from"./app-CfhhiFAk.js";function w({value:s,onChange:a,placeholder:c="Type and press Enter",className:l=""}){const[t,o]=u.useState(""),i=e=>{e.trim()&&!s.includes(e.trim())&&a([...s,e.trim()]),o("")},m=e=>{const n=s.filter((j,d)=>d!==e);a(n)},p=e=>{e.key==="Enter"&&(e.preventDefault(),i(t))};return r.jsxs("div",{className:`border rounded-md pl-2 min-h-[40px] flex flex-wrap gap-2 items-center ${l}`,children:[s.map((e,n)=>r.jsxs(x,{variant:"secondary",className:"flex items-center gap-1",children:[e,r.jsx("button",{type:"button",className:"ml-1 h-3 w-3 cursor-pointer hover:text-red-500 flex items-center justify-center",onClick:()=>m(n),children:r.jsx(f,{className:"h-3 w-3"})})]},`${e}-${n}`)),r.jsx(h,{value:t,onChange:e=>o(e.target.value),onKeyPress:p,onBlur:()=>t.trim()&&i(t),placeholder:s.length===0?c:"",className:"border-0 flex-1 min-w-[200px] focus-visible:ring-0 shadow-none"})]})}export{w as T}; +import{r as u,j as r}from"./ui-Z445SNHD.js";import{B as x,X as f,I as h}from"./app-Dya84jp7.js";function w({value:s,onChange:a,placeholder:c="Type and press Enter",className:l=""}){const[t,o]=u.useState(""),i=e=>{e.trim()&&!s.includes(e.trim())&&a([...s,e.trim()]),o("")},m=e=>{const n=s.filter((j,d)=>d!==e);a(n)},p=e=>{e.key==="Enter"&&(e.preventDefault(),i(t))};return r.jsxs("div",{className:`border rounded-md pl-2 min-h-[40px] flex flex-wrap gap-2 items-center ${l}`,children:[s.map((e,n)=>r.jsxs(x,{variant:"secondary",className:"flex items-center gap-1",children:[e,r.jsx("button",{type:"button",className:"ml-1 h-3 w-3 cursor-pointer hover:text-red-500 flex items-center justify-center",onClick:()=>m(n),children:r.jsx(f,{className:"h-3 w-3"})})]},`${e}-${n}`)),r.jsx(h,{value:t,onChange:e=>o(e.target.value),onKeyPress:p,onBlur:()=>t.trim()&&i(t),placeholder:s.length===0?c:"",className:"border-0 flex-1 min-w-[200px] focus-visible:ring-0 shadow-none"})]})}export{w as T}; diff --git a/public/build/assets/target-Pzb9zAUp.js b/public/build/assets/target-BPl0Bsow.js similarity index 89% rename from public/build/assets/target-Pzb9zAUp.js rename to public/build/assets/target-BPl0Bsow.js index 349f51fcd..b86d21c78 100644 --- a/public/build/assets/target-Pzb9zAUp.js +++ b/public/build/assets/target-BPl0Bsow.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/text-link-CgVy1bNC.js b/public/build/assets/text-link-Qbn0vFC1.js similarity index 82% rename from public/build/assets/text-link-CgVy1bNC.js rename to public/build/assets/text-link-Qbn0vFC1.js index b01e41a20..36b855372 100644 --- a/public/build/assets/text-link-CgVy1bNC.js +++ b/public/build/assets/text-link-Qbn0vFC1.js @@ -1 +1 @@ -import{j as t}from"./ui-Z445SNHD.js";import{d as n,e as a}from"./app-CfhhiFAk.js";function u({className:r="",children:e,...o}){return t.jsx(n,{className:a("text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! cursor-pointer dark:decoration-neutral-500",r),...o,children:e})}export{u as T}; +import{j as t}from"./ui-Z445SNHD.js";import{d as n,e as a}from"./app-Dya84jp7.js";function u({className:r="",children:e,...o}){return t.jsx(n,{className:a("text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! cursor-pointer dark:decoration-neutral-500",r),...o,children:e})}export{u as T}; diff --git a/public/build/assets/textarea-kpRjGGLz.js b/public/build/assets/textarea-yeg8ONhy.js similarity index 87% rename from public/build/assets/textarea-kpRjGGLz.js rename to public/build/assets/textarea-yeg8ONhy.js index 3365118ba..a7b810c17 100644 --- a/public/build/assets/textarea-kpRjGGLz.js +++ b/public/build/assets/textarea-yeg8ONhy.js @@ -1 +1 @@ -import{r as s,j as t}from"./ui-Z445SNHD.js";import{e as a}from"./app-CfhhiFAk.js";const i=s.forwardRef(({className:e,...r},o)=>t.jsx("textarea",{className:a("flex min-h-[80px] w-full rounded-md border border-input 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",e),ref:o,...r}));i.displayName="Textarea";export{i as T}; +import{r as s,j as t}from"./ui-Z445SNHD.js";import{e as a}from"./app-Dya84jp7.js";const i=s.forwardRef(({className:e,...r},o)=>t.jsx("textarea",{className:a("flex min-h-[80px] w-full rounded-md border border-input 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",e),ref:o,...r}));i.displayName="Textarea";export{i as T}; diff --git a/public/build/assets/thumbs-up-_WTyicKR.js b/public/build/assets/thumbs-up-2-1HocdZ.js similarity index 95% rename from public/build/assets/thumbs-up-_WTyicKR.js rename to public/build/assets/thumbs-up-2-1HocdZ.js index 4283161b1..826a95977 100644 --- a/public/build/assets/thumbs-up-_WTyicKR.js +++ b/public/build/assets/thumbs-up-2-1HocdZ.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/ticket-iWUCgUMN.js b/public/build/assets/ticket-Cl2Nq5Ff.js similarity index 91% rename from public/build/assets/ticket-iWUCgUMN.js rename to public/build/assets/ticket-Cl2Nq5Ff.js index 2e95f50d8..a21b209c3 100644 --- a/public/build/assets/ticket-iWUCgUMN.js +++ b/public/build/assets/ticket-Cl2Nq5Ff.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/timer-Cqv8ulB-.js b/public/build/assets/timer-BTqoLJiz.js similarity index 89% rename from public/build/assets/timer-Cqv8ulB-.js rename to public/build/assets/timer-BTqoLJiz.js index 58bc2746f..c86214d88 100644 --- a/public/build/assets/timer-Cqv8ulB-.js +++ b/public/build/assets/timer-BTqoLJiz.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/trash-2-C1NR_7Ss.js b/public/build/assets/trash-2-BeirBLIk.js similarity index 92% rename from public/build/assets/trash-2-C1NR_7Ss.js rename to public/build/assets/trash-2-BeirBLIk.js index 9ef6f36e8..56938623f 100644 --- a/public/build/assets/trash-2-C1NR_7Ss.js +++ b/public/build/assets/trash-2-BeirBLIk.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/trash-Pq_dkuTI.js b/public/build/assets/trash-BFTYTNQN.js similarity index 89% rename from public/build/assets/trash-Pq_dkuTI.js rename to public/build/assets/trash-BFTYTNQN.js index 788df8135..290dc26d5 100644 --- a/public/build/assets/trash-Pq_dkuTI.js +++ b/public/build/assets/trash-BFTYTNQN.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/trending-down-DeoG-P9A.js b/public/build/assets/trending-down-DmDmdusz.js similarity index 88% rename from public/build/assets/trending-down-DeoG-P9A.js rename to public/build/assets/trending-down-DmDmdusz.js index 0ab734a87..402955106 100644 --- a/public/build/assets/trending-down-DeoG-P9A.js +++ b/public/build/assets/trending-down-DmDmdusz.js @@ -1,4 +1,4 @@ -import{G as n}from"./app-CfhhiFAk.js";/** +import{G as n}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/trending-up-Bi4f72Tj.js b/public/build/assets/trending-up-BT453ptk.js similarity index 88% rename from public/build/assets/trending-up-Bi4f72Tj.js rename to public/build/assets/trending-up-BT453ptk.js index 73a646176..2b8c1962e 100644 --- a/public/build/assets/trending-up-Bi4f72Tj.js +++ b/public/build/assets/trending-up-BT453ptk.js @@ -1,4 +1,4 @@ -import{G as n}from"./app-CfhhiFAk.js";/** +import{G as n}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/triangle-alert-DGWTh17w.js b/public/build/assets/triangle-alert-CpPzdeiH.js similarity index 90% rename from public/build/assets/triangle-alert-DGWTh17w.js rename to public/build/assets/triangle-alert-CpPzdeiH.js index cbb717312..ba1ef1609 100644 --- a/public/build/assets/triangle-alert-DGWTh17w.js +++ b/public/build/assets/triangle-alert-CpPzdeiH.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/trophy-D1q7o3Ri.js b/public/build/assets/trophy-BaZS8IUN.js similarity index 93% rename from public/build/assets/trophy-D1q7o3Ri.js rename to public/build/assets/trophy-BaZS8IUN.js index 86eea6771..f2decb2e6 100644 --- a/public/build/assets/trophy-D1q7o3Ri.js +++ b/public/build/assets/trophy-BaZS8IUN.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/twitter-C171Pyox.js b/public/build/assets/twitter-DZQVDI4Y.js similarity index 94% rename from public/build/assets/twitter-C171Pyox.js rename to public/build/assets/twitter-DZQVDI4Y.js index 405a26685..8aa01a135 100644 --- a/public/build/assets/twitter-C171Pyox.js +++ b/public/build/assets/twitter-DZQVDI4Y.js @@ -1,4 +1,4 @@ -import{G as c}from"./app-CfhhiFAk.js";/** +import{G as c}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/type-CNRj7XNX.js b/public/build/assets/type-Bsbmfmsu.js similarity index 89% rename from public/build/assets/type-CNRj7XNX.js rename to public/build/assets/type-Bsbmfmsu.js index ed6a6c1d5..b780095bf 100644 --- a/public/build/assets/type-CNRj7XNX.js +++ b/public/build/assets/type-Bsbmfmsu.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/unlink-BUU37FwK.js b/public/build/assets/unlink-BLQWL2NW.js similarity index 98% rename from public/build/assets/unlink-BUU37FwK.js rename to public/build/assets/unlink-BLQWL2NW.js index 7fc6edf66..3b432dca2 100644 --- a/public/build/assets/unlink-BUU37FwK.js +++ b/public/build/assets/unlink-BLQWL2NW.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/use-brand-theme-CmuRtpGN.js b/public/build/assets/use-brand-theme-Cg8kbbAC.js similarity index 98% rename from public/build/assets/use-brand-theme-CmuRtpGN.js rename to public/build/assets/use-brand-theme-Cg8kbbAC.js index 3dcf4369d..66d62c423 100644 --- a/public/build/assets/use-brand-theme-CmuRtpGN.js +++ b/public/build/assets/use-brand-theme-Cg8kbbAC.js @@ -1 +1 @@ -import{j as r,r as h}from"./ui-Z445SNHD.js";import{u as n,d as l,g as u,c as f,a as j,T as p}from"./app-CfhhiFAk.js";function v({title:t,showBackToHome:s,logoOnly:a=!1,companySettings:e}){const{t:o}=n();(()=>{const d=(e==null?void 0:e.themeColor)||"blue",i=(e==null?void 0:e.customColor)||"#3b82f6";if(d==="custom")return i;const x={blue:"#2563eb",green:"#059669",purple:"#7c3aed",orange:"#ea580c",red:"#dc2626"};return x[d]||x.blue})();const c=()=>e!=null&&e.logoDark?u(e.logoDark):"https://via.placeholder.com/120x32/3B82F6/FFFFFF?text=LOGO",m=()=>(e==null?void 0:e.titleText)||"Company";return a?r.jsx("header",{className:"bg-white shadow-sm border-b",children:r.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:r.jsx("div",{className:"flex justify-center items-center h-12 sm:h-16",children:r.jsx("img",{className:"h-6 sm:h-8 w-auto",src:c(),alt:`${m()} Logo`})})})}):r.jsx("header",{className:"bg-white shadow-sm border-b",children:r.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:r.jsxs("div",{className:"flex justify-between items-center h-12 sm:h-16",children:[r.jsx("div",{className:"flex items-center",children:r.jsx("div",{className:"flex-shrink-0",children:r.jsx("img",{className:"h-6 sm:h-8 w-auto",src:c(),alt:`${m()} Logo`})})}),r.jsxs("nav",{className:"hidden sm:flex space-x-4 lg:space-x-8",children:[r.jsx(l,{href:"/",className:"text-gray-600 hover:text-gray-900 text-sm lg:text-base",children:o("Home")}),r.jsx(l,{href:"/about",className:"text-gray-600 hover:text-gray-900 text-sm lg:text-base",children:o("About")}),r.jsx(l,{href:"/career",className:"text-primary font-medium text-sm lg:text-base",children:o("Careers")}),r.jsx(l,{href:"/contact",className:"text-gray-600 hover:text-gray-900 text-sm lg:text-base",children:o("Contact")})]})]})})})}function C({companySettings:t}){const{t:s}=n(),{props:a}=f(),e=t||a.companySettings;return r.jsx("footer",{className:"bg-gray-900 text-white py-12",children:r.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"text-lg font-semibold mb-4",children:(e==null?void 0:e.company_name)||s("Company Name")}),r.jsx("p",{className:"text-gray-400",children:(e==null?void 0:e.company_description)||s("Building the future of work with innovative solutions and amazing people.")})]}),r.jsxs("div",{children:[r.jsx("h4",{className:"font-semibold mb-4",children:s("Contact Info")}),r.jsxs("div",{className:"text-gray-400 space-y-2",children:[r.jsxs("p",{children:[s("Email"),": ",(e==null?void 0:e.company_email)||"careers@company.com"]}),r.jsxs("p",{children:[s("Phone"),": ",(e==null?void 0:e.companyMobile)||"+1 (555) 123-4567"]})]})]})]}),r.jsx("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center text-gray-400",children:r.jsx("p",{children:(e==null?void 0:e.footerText)||s("© 2024 Company Name. All rights reserved.")})})]})})}function w(){const{themeColor:t,customColor:s,themeMode:a}=j();h.useEffect(()=>{const e=t==="custom"?s:p[t];e&&(document.documentElement.style.setProperty("--theme-color",e),document.documentElement.style.setProperty("--primary",e),document.documentElement.style.setProperty("--chart-1",e))},[t,s]),h.useEffect(()=>{const e=window.matchMedia("(prefers-color-scheme: dark)").matches,o=a==="dark"||a==="system"&&e;document.documentElement.classList.toggle("dark",o)},[a])}export{v as C,C as a,w as u}; +import{j as r,r as h}from"./ui-Z445SNHD.js";import{u as n,d as l,g as u,c as f,a as j,T as p}from"./app-Dya84jp7.js";function v({title:t,showBackToHome:s,logoOnly:a=!1,companySettings:e}){const{t:o}=n();(()=>{const d=(e==null?void 0:e.themeColor)||"blue",i=(e==null?void 0:e.customColor)||"#3b82f6";if(d==="custom")return i;const x={blue:"#2563eb",green:"#059669",purple:"#7c3aed",orange:"#ea580c",red:"#dc2626"};return x[d]||x.blue})();const c=()=>e!=null&&e.logoDark?u(e.logoDark):"https://via.placeholder.com/120x32/3B82F6/FFFFFF?text=LOGO",m=()=>(e==null?void 0:e.titleText)||"Company";return a?r.jsx("header",{className:"bg-white shadow-sm border-b",children:r.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:r.jsx("div",{className:"flex justify-center items-center h-12 sm:h-16",children:r.jsx("img",{className:"h-6 sm:h-8 w-auto",src:c(),alt:`${m()} Logo`})})})}):r.jsx("header",{className:"bg-white shadow-sm border-b",children:r.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:r.jsxs("div",{className:"flex justify-between items-center h-12 sm:h-16",children:[r.jsx("div",{className:"flex items-center",children:r.jsx("div",{className:"flex-shrink-0",children:r.jsx("img",{className:"h-6 sm:h-8 w-auto",src:c(),alt:`${m()} Logo`})})}),r.jsxs("nav",{className:"hidden sm:flex space-x-4 lg:space-x-8",children:[r.jsx(l,{href:"/",className:"text-gray-600 hover:text-gray-900 text-sm lg:text-base",children:o("Home")}),r.jsx(l,{href:"/about",className:"text-gray-600 hover:text-gray-900 text-sm lg:text-base",children:o("About")}),r.jsx(l,{href:"/career",className:"text-primary font-medium text-sm lg:text-base",children:o("Careers")}),r.jsx(l,{href:"/contact",className:"text-gray-600 hover:text-gray-900 text-sm lg:text-base",children:o("Contact")})]})]})})})}function C({companySettings:t}){const{t:s}=n(),{props:a}=f(),e=t||a.companySettings;return r.jsx("footer",{className:"bg-gray-900 text-white py-12",children:r.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"text-lg font-semibold mb-4",children:(e==null?void 0:e.company_name)||s("Company Name")}),r.jsx("p",{className:"text-gray-400",children:(e==null?void 0:e.company_description)||s("Building the future of work with innovative solutions and amazing people.")})]}),r.jsxs("div",{children:[r.jsx("h4",{className:"font-semibold mb-4",children:s("Contact Info")}),r.jsxs("div",{className:"text-gray-400 space-y-2",children:[r.jsxs("p",{children:[s("Email"),": ",(e==null?void 0:e.company_email)||"careers@company.com"]}),r.jsxs("p",{children:[s("Phone"),": ",(e==null?void 0:e.companyMobile)||"+1 (555) 123-4567"]})]})]})]}),r.jsx("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center text-gray-400",children:r.jsx("p",{children:(e==null?void 0:e.footerText)||s("© 2024 Company Name. All rights reserved.")})})]})})}function w(){const{themeColor:t,customColor:s,themeMode:a}=j();h.useEffect(()=>{const e=t==="custom"?s:p[t];e&&(document.documentElement.style.setProperty("--theme-color",e),document.documentElement.style.setProperty("--primary",e),document.documentElement.style.setProperty("--chart-1",e))},[t,s]),h.useEffect(()=>{const e=window.matchMedia("(prefers-color-scheme: dark)").matches,o=a==="dark"||a==="system"&&e;document.documentElement.classList.toggle("dark",o)},[a])}export{v as C,C as a,w as u}; diff --git a/public/build/assets/use-favicon-Dgw0iu9k.js b/public/build/assets/use-favicon-B8cqaHhj.js similarity index 78% rename from public/build/assets/use-favicon-Dgw0iu9k.js rename to public/build/assets/use-favicon-B8cqaHhj.js index 7cb9d7df0..bec6281a5 100644 --- a/public/build/assets/use-favicon-Dgw0iu9k.js +++ b/public/build/assets/use-favicon-B8cqaHhj.js @@ -1 +1 @@ -import{r as a}from"./ui-Z445SNHD.js";import{a as r}from"./app-CfhhiFAk.js";function s(){const{favicon:e}=r();a.useEffect(()=>{if(!e)return;let o;e.startsWith("http")?o=e:e.includes("Product/hrmgo-saas-react/uploads/media/")?o=`${window.location.origin}/${e}`:e.includes("uploads/media/")?o=`${window.baseUrl||window.location.origin}/${e}`:o=`${window.baseUrl||window.location.origin}/uploads/media/${e.replace(/^\//,"")}`;let i=document.querySelector("link[rel*='icon']");i||(i=document.createElement("link"),i.rel="icon",document.head.appendChild(i)),i.href=o},[e])}export{s as u}; +import{r as a}from"./ui-Z445SNHD.js";import{a as r}from"./app-Dya84jp7.js";function s(){const{favicon:e}=r();a.useEffect(()=>{if(!e)return;let o;e.startsWith("http")?o=e:e.includes("Product/hrmgo-saas-react/uploads/media/")?o=`${window.location.origin}/${e}`:e.includes("uploads/media/")?o=`${window.baseUrl||window.location.origin}/${e}`:o=`${window.baseUrl||window.location.origin}/uploads/media/${e.replace(/^\//,"")}`;let i=document.querySelector("link[rel*='icon']");i||(i=document.createElement("link"),i.rel="icon",document.head.appendChild(i)),i.href=o},[e])}export{s as u}; diff --git a/public/build/assets/user-C37aWgZX.js b/public/build/assets/user-77BPqA3J.js similarity index 88% rename from public/build/assets/user-C37aWgZX.js rename to public/build/assets/user-77BPqA3J.js index eb0be1872..29e33c9b7 100644 --- a/public/build/assets/user-C37aWgZX.js +++ b/public/build/assets/user-77BPqA3J.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/user-check-eTf_WVUH.js b/public/build/assets/user-check-DC9_V3Qo.js similarity index 90% rename from public/build/assets/user-check-eTf_WVUH.js rename to public/build/assets/user-check-DC9_V3Qo.js index be4d10b21..b4a47aedd 100644 --- a/public/build/assets/user-check-eTf_WVUH.js +++ b/public/build/assets/user-check-DC9_V3Qo.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/user-plus-DXHdW4q-.js b/public/build/assets/user-plus-BpaQ3zuJ.js similarity index 91% rename from public/build/assets/user-plus-DXHdW4q-.js rename to public/build/assets/user-plus-BpaQ3zuJ.js index 253619fca..eebef38d6 100644 --- a/public/build/assets/user-plus-DXHdW4q-.js +++ b/public/build/assets/user-plus-BpaQ3zuJ.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/user-x-BAm8TG2r.js b/public/build/assets/user-x-CVAZCW5-.js similarity index 91% rename from public/build/assets/user-x-BAm8TG2r.js rename to public/build/assets/user-x-CVAZCW5-.js index f6a570107..ccd097462 100644 --- a/public/build/assets/user-x-BAm8TG2r.js +++ b/public/build/assets/user-x-CVAZCW5-.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/users-C4LpG59H.js b/public/build/assets/users-BzCDZrS0.js similarity index 91% rename from public/build/assets/users-C4LpG59H.js rename to public/build/assets/users-BzCDZrS0.js index 48d382de7..40bf8055e 100644 --- a/public/build/assets/users-C4LpG59H.js +++ b/public/build/assets/users-BzCDZrS0.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/verify-email-BaTdu6tt.js b/public/build/assets/verify-email-CjhKNwZK.js similarity index 66% rename from public/build/assets/verify-email-BaTdu6tt.js rename to public/build/assets/verify-email-CjhKNwZK.js index cce02cd3c..a7aad4399 100644 --- a/public/build/assets/verify-email-BaTdu6tt.js +++ b/public/build/assets/verify-email-CjhKNwZK.js @@ -1 +1 @@ -import{j as t}from"./ui-Z445SNHD.js";import{u,a as p,b as d,T as f,t as r}from"./app-CfhhiFAk.js";import{T as h}from"./text-link-CgVy1bNC.js";import{A as y}from"./auth-layout-ISq1MRqV.js";import{A as v}from"./auth-button-BnJeEQoR.js";import{M as x}from"./mail-CGIE7ZEy.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-Do3n0EfV.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-DWorkL8J.js";import"./globe-DePi6jyA.js";import"./settings-BwhyNRyj.js";import"./switch-CKduD2wX.js";import"./index-9MclThM-.js";import"./use-favicon-Dgw0iu9k.js";import"./credit-card-BmdpMcMw.js";import"./loader-circle-wGk7YsPK.js";function D({status:s}){const{t:o}=u(),{themeColor:i,customColor:a}=p(),e=i==="custom"?a:f[i],{post:n,processing:m}=d({}),l=c=>{c.preventDefault(),n(route("verification.send"),{onSuccess:()=>{r.success(o("A new verification link has been sent to your email address."))},onError:()=>{r.error(o("Failed to send verification email. Please try again."))}})};return t.jsx(y,{title:o("Verify your email"),description:o("Please verify your email address by clicking on the link we just emailed to you."),icon:t.jsx(x,{className:"h-7 w-7",style:{color:e}}),status:s==="verification-link-sent"?o("A new verification link has been sent to the email address you provided during registration."):void 0,children:t.jsxs("form",{onSubmit:l,className:"space-y-5",children:[t.jsx(v,{processing:m,children:o("Resend verification email")}),t.jsx("div",{className:"text-center",children:t.jsx(h,{href:route("logout"),method:"post",className:"font-medium transition-colors duration-200",style:{color:e},children:o("Log out")})})]})})}export{D as default}; +import{j as t}from"./ui-Z445SNHD.js";import{u,a as p,b as d,T as f,t as r}from"./app-Dya84jp7.js";import{T as h}from"./text-link-Qbn0vFC1.js";import{A as y}from"./auth-layout-CuYQAqvO.js";import{A as v}from"./auth-button-C1AEioKh.js";import{M as x}from"./mail-Cha_PX4q.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-dwye0O-l.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-D_C_cDSu.js";import"./globe-5zZ4IsmY.js";import"./settings-amvA_CjN.js";import"./switch-DyHgm-Sg.js";import"./index-9MclThM-.js";import"./use-favicon-B8cqaHhj.js";import"./credit-card-BKi_ThdS.js";import"./loader-circle-BLsTZrwM.js";function D({status:s}){const{t:o}=u(),{themeColor:i,customColor:a}=p(),e=i==="custom"?a:f[i],{post:n,processing:m}=d({}),l=c=>{c.preventDefault(),n(route("verification.send"),{onSuccess:()=>{r.success(o("A new verification link has been sent to your email address."))},onError:()=>{r.error(o("Failed to send verification email. Please try again."))}})};return t.jsx(y,{title:o("Verify your email"),description:o("Please verify your email address by clicking on the link we just emailed to you."),icon:t.jsx(x,{className:"h-7 w-7",style:{color:e}}),status:s==="verification-link-sent"?o("A new verification link has been sent to the email address you provided during registration."):void 0,children:t.jsxs("form",{onSubmit:l,className:"space-y-5",children:[t.jsx(v,{processing:m,children:o("Resend verification email")}),t.jsx("div",{className:"text-center",children:t.jsx(h,{href:route("logout"),method:"post",className:"font-medium transition-colors duration-200",style:{color:e},children:o("Log out")})})]})})}export{D as default}; diff --git a/public/build/assets/view-C8SbLwsW.js b/public/build/assets/view--947vg3E.js similarity index 94% rename from public/build/assets/view-C8SbLwsW.js rename to public/build/assets/view--947vg3E.js index c72a2999f..201dd0a98 100644 --- a/public/build/assets/view-C8SbLwsW.js +++ b/public/build/assets/view--947vg3E.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as l,h as d,j as x,F as a,k as c}from"./app-CfhhiFAk.js";import{T as o}from"./tag-JSZ9YmZg.js";import{R as p}from"./refresh-cw-DWorkL8J.js";import{A as g}from"./arrow-up-down-Bd89yBZf.js";import{H as m}from"./hash-BdwQ_IPO.js";import{L as h}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function A({leavePolicy:t}){var r,i;const{t:s}=l();return e.jsxs(d,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:n=>n.preventDefault(),children:[e.jsx(x,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(c,{className:"text-xl font-semibold",children:s("Leave Policy Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Policy Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Leave Type")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[((r=t.leave_type)==null?void 0:r.color)&&e.jsx("div",{className:"w-3 h-3 rounded-full shrink-0"}),e.jsx("p",{className:"text-sm font-medium text-gray-900",children:((i=t.leave_type)==null?void 0:i.name)||"-"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),s("Accrual")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.accrual_rate," ",s("days"),"/",t.accrual_type||"-"]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Carry Forward Limit")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.carry_forward_limit," ",s("days")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Min Days Per Application")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.min_days_per_application," ",s("days")]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Max Days Per Application")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.max_days_per_application," ",s("days")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Approval")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.requires_approval?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20"}`,children:t.requires_approval?s("Required"):s("Not Required")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{A as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as l,h as d,j as x,F as a,k as c}from"./app-Dya84jp7.js";import{T as o}from"./tag-Bq7fLwM4.js";import{R as p}from"./refresh-cw-D_C_cDSu.js";import{A as g}from"./arrow-up-down-B7nj--dP.js";import{H as m}from"./hash-CHQJ9wMw.js";import{L as h}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function A({leavePolicy:t}){var r,i;const{t:s}=l();return e.jsxs(d,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:n=>n.preventDefault(),children:[e.jsx(x,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(c,{className:"text-xl font-semibold",children:s("Leave Policy Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Policy Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Leave Type")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[((r=t.leave_type)==null?void 0:r.color)&&e.jsx("div",{className:"w-3 h-3 rounded-full shrink-0"}),e.jsx("p",{className:"text-sm font-medium text-gray-900",children:((i=t.leave_type)==null?void 0:i.name)||"-"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),s("Accrual")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.accrual_rate," ",s("days"),"/",t.accrual_type||"-"]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Carry Forward Limit")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.carry_forward_limit," ",s("days")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Min Days Per Application")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.min_days_per_application," ",s("days")]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Max Days Per Application")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.max_days_per_application," ",s("days")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Approval")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.requires_approval?"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20":"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20"}`,children:t.requires_approval?s("Required"):s("Not Required")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{A as default}; diff --git a/public/build/assets/view-5dgAhEQh.js b/public/build/assets/view-0E0bYwEc.js similarity index 91% rename from public/build/assets/view-5dgAhEQh.js rename to public/build/assets/view-0E0bYwEc.js index 81cf517b0..be93df35f 100644 --- a/public/build/assets/view-5dgAhEQh.js +++ b/public/build/assets/view-0E0bYwEc.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as i,h as c,j as x,k as n,F as d}from"./app-CfhhiFAk.js";import{U as m}from"./users-C4LpG59H.js";import{H as o}from"./hash-BdwQ_IPO.js";import{B as p}from"./briefcase-CLRn8zVu.js";import{L as g}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({interviewRound:s}){var a,l;const{t}=i();return e.jsxs(c,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(x,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(n,{className:"text-xl font-semibold",children:t("Interview Round Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Sequence Number")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:"inline-flex items-center rounded-full bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:s.sequence_number||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Job")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((a=s.job)==null?void 0:a.title)||"-"}),((l=s.job)==null?void 0:l.job_code)&&e.jsx("p",{className:"text-xs text-gray-500",children:s.job.job_code})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{F as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as i,h as c,j as x,k as n,F as d}from"./app-Dya84jp7.js";import{U as m}from"./users-BzCDZrS0.js";import{H as o}from"./hash-CHQJ9wMw.js";import{B as p}from"./briefcase-Btn3T9V4.js";import{L as g}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({interviewRound:s}){var a,l;const{t}=i();return e.jsxs(c,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(x,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(n,{className:"text-xl font-semibold",children:t("Interview Round Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Sequence Number")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:"inline-flex items-center rounded-full bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:s.sequence_number||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Job")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((a=s.job)==null?void 0:a.title)||"-"}),((l=s.job)==null?void 0:l.job_code)&&e.jsx("p",{className:"text-xs text-gray-500",children:s.job.job_code})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{F as default}; diff --git a/public/build/assets/view-CeXwvO2y.js b/public/build/assets/view-0ho_yqvm.js similarity index 94% rename from public/build/assets/view-CeXwvO2y.js rename to public/build/assets/view-0ho_yqvm.js index 2e0b542be..64d3c0708 100644 --- a/public/build/assets/view-CeXwvO2y.js +++ b/public/build/assets/view-0ho_yqvm.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as j,h as u,j as b,k as y,F as o,g}from"./app-CfhhiFAk.js";import{u as N}from"./use-initials-BK4eRgYY.js";import{T as v}from"./trending-up-Bi4f72Tj.js";import{B as f}from"./briefcase-CLRn8zVu.js";import{A as w}from"./arrow-right-0WTHrq3r.js";import{D}from"./dollar-sign-DYXFWWsE.js";import{E as k}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function z({promotion:s}){var r,l,i,d,n,c,m,x;const{t}=j(),h=N(),p=a=>{switch(a){case"approved":return"bg-green-100 text-green-800 border-green-200";case"rejected":return"bg-red-100 text-red-800 border-red-200";default:return"bg-yellow-100 text-yellow-800 border-yellow-200"}};return e.jsxs(u,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-primary"})}),e.jsx(y,{className:"text-xl font-semibold",children:t("Promotion Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(r=s.employee)!=null&&r.avatar?e.jsx("img",{src:s.employee.avatar,alt:(l=s.employee)==null?void 0:l.name,className:"h-full w-full object-cover"}):h(((i=s.employee)==null?void 0:i.name)||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500",children:t("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((d=s.employee)==null?void 0:d.name)||"-"})]})]}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium border capitalize ${p(s.status)}`,children:s.status||"-"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 mb-3 tracking-wide",children:t("Designation Change")}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-red-50 border-red-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Previous")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4 text-red-400 shrink-0"}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:s.previous_designation||"-"})]})]}),e.jsx("div",{className:"flex flex-col items-center gap-1 shrink-0",children:e.jsx(w,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-green-50 border-green-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("New")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4 text-green-500 shrink-0"}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((n=s.designation)==null?void 0:n.name)||"-"})]})]})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 mb-3 tracking-wide",children:t("Timeline")}),e.jsxs("div",{className:"relative pl-6 space-y-4 before:absolute before:left-2 before:top-1 before:bottom-1 before:w-0.5 before:bg-gray-200",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -left-6 top-0.5 w-4 h-4 rounded-full bg-primary/20 border-2 border-primary flex items-center justify-center",children:e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary"})}),e.jsx("p",{className:"text-xs text-gray-500",children:t("Promotion Date")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:s.promotion_date?((c=window.appSettings)==null?void 0:c.formatDateTimeSimple(s.promotion_date,!1))||s.promotion_date:"-"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -left-6 top-0.5 w-4 h-4 rounded-full bg-green-100 border-2 border-green-500 flex items-center justify-center",children:e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-green-500"})}),e.jsx("p",{className:"text-xs text-gray-500",children:t("Effective Date")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:s.effective_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.effective_date,!1))||s.effective_date:"-"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(D,{className:"h-4 w-4"}),t("Salary Adjustment")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.salary_adjustment?(x=window.appSettings)==null?void 0:x.formatCurrency(s.salary_adjustment):"-"})]}),s.document&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Document")]}),e.jsxs("a",{href:g(s.document),target:"_blank",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:g(s.document),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(k,{className:"h-6 w-6 text-white"})})]})]})]}),s.reason&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Reason for Promotion")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason})]})]})]})}export{z as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as j,h as u,j as b,k as y,F as o,g}from"./app-Dya84jp7.js";import{u as N}from"./use-initials-BK4eRgYY.js";import{T as v}from"./trending-up-BT453ptk.js";import{B as f}from"./briefcase-Btn3T9V4.js";import{A as w}from"./arrow-right-BHW--AGU.js";import{D}from"./dollar-sign-DH2Tc178.js";import{E as k}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function z({promotion:s}){var r,l,i,d,n,c,m,x;const{t}=j(),h=N(),p=a=>{switch(a){case"approved":return"bg-green-100 text-green-800 border-green-200";case"rejected":return"bg-red-100 text-red-800 border-red-200";default:return"bg-yellow-100 text-yellow-800 border-yellow-200"}};return e.jsxs(u,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-primary"})}),e.jsx(y,{className:"text-xl font-semibold",children:t("Promotion Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(r=s.employee)!=null&&r.avatar?e.jsx("img",{src:s.employee.avatar,alt:(l=s.employee)==null?void 0:l.name,className:"h-full w-full object-cover"}):h(((i=s.employee)==null?void 0:i.name)||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500",children:t("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((d=s.employee)==null?void 0:d.name)||"-"})]})]}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium border capitalize ${p(s.status)}`,children:s.status||"-"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 mb-3 tracking-wide",children:t("Designation Change")}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-red-50 border-red-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("Previous")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4 text-red-400 shrink-0"}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:s.previous_designation||"-"})]})]}),e.jsx("div",{className:"flex flex-col items-center gap-1 shrink-0",children:e.jsx(w,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-green-50 border-green-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("New")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4 text-green-500 shrink-0"}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((n=s.designation)==null?void 0:n.name)||"-"})]})]})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 mb-3 tracking-wide",children:t("Timeline")}),e.jsxs("div",{className:"relative pl-6 space-y-4 before:absolute before:left-2 before:top-1 before:bottom-1 before:w-0.5 before:bg-gray-200",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -left-6 top-0.5 w-4 h-4 rounded-full bg-primary/20 border-2 border-primary flex items-center justify-center",children:e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary"})}),e.jsx("p",{className:"text-xs text-gray-500",children:t("Promotion Date")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:s.promotion_date?((c=window.appSettings)==null?void 0:c.formatDateTimeSimple(s.promotion_date,!1))||s.promotion_date:"-"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -left-6 top-0.5 w-4 h-4 rounded-full bg-green-100 border-2 border-green-500 flex items-center justify-center",children:e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-green-500"})}),e.jsx("p",{className:"text-xs text-gray-500",children:t("Effective Date")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:s.effective_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.effective_date,!1))||s.effective_date:"-"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(D,{className:"h-4 w-4"}),t("Salary Adjustment")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.salary_adjustment?(x=window.appSettings)==null?void 0:x.formatCurrency(s.salary_adjustment):"-"})]}),s.document&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Document")]}),e.jsxs("a",{href:g(s.document),target:"_blank",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:g(s.document),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(k,{className:"h-6 w-6 text-white"})})]})]})]}),s.reason&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Reason for Promotion")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason})]})]})]})}export{z as default}; diff --git a/public/build/assets/view-DFM6GxUi.js b/public/build/assets/view-7uUxZAzH.js similarity index 92% rename from public/build/assets/view-DFM6GxUi.js rename to public/build/assets/view-7uUxZAzH.js index 924054cc8..37fed332f 100644 --- a/public/build/assets/view-DFM6GxUi.js +++ b/public/build/assets/view-7uUxZAzH.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as n,h as x,j as m,k as c,F as d}from"./app-CfhhiFAk.js";import{M as r}from"./monitor-CnIEqEUy.js";import{M as i}from"./map-pin-BEMjKB1T.js";import{U as p}from"./users-C4LpG59H.js";import{L as g}from"./lock-By6rMOj7.js";import{H as h}from"./hash-BdwQ_IPO.js";import{L as o}from"./link-Bv_VEBSZ.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({meetingRoom:s}){const{t}=n();return e.jsxs(x,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(m,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:s.type==="Virtual"?e.jsx(r,{className:"h-5 w-5 text-primary"}):e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(c,{className:"text-xl font-semibold",children:t("Meeting Room Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Room Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.type==="Virtual"?"bg-blue-50 text-blue-700 ring-blue-600/20":"bg-green-50 text-green-700 ring-green-600/20"}`,children:s.type||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Capacity")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.capacity||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Location")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.location||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Meetings")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:s.meetings_count||0})})]})]}),s.booking_url&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Booking URL")]}),e.jsx("a",{href:s.booking_url,target:"_blank",rel:"noreferrer",className:"mt-1 text-sm font-medium text-blue-600 hover:underline block",children:s.booking_url})]}),s.equipment&&Array.isArray(s.equipment)&&s.equipment.length>0&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Equipment")]}),e.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:s.equipment.map((a,l)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:a},l))})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{M as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as n,h as x,j as m,k as c,F as d}from"./app-Dya84jp7.js";import{M as r}from"./monitor-BYgqmcKD.js";import{M as i}from"./map-pin-DFWKFR9c.js";import{U as p}from"./users-BzCDZrS0.js";import{L as g}from"./lock-DaHvMEII.js";import{H as h}from"./hash-CHQJ9wMw.js";import{L as o}from"./link-DXJwkkHX.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({meetingRoom:s}){const{t}=n();return e.jsxs(x,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(m,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:s.type==="Virtual"?e.jsx(r,{className:"h-5 w-5 text-primary"}):e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(c,{className:"text-xl font-semibold",children:t("Meeting Room Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Room Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.type==="Virtual"?"bg-blue-50 text-blue-700 ring-blue-600/20":"bg-green-50 text-green-700 ring-green-600/20"}`,children:s.type||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Capacity")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.capacity||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Location")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.location||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Meetings")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:s.meetings_count||0})})]})]}),s.booking_url&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Booking URL")]}),e.jsx("a",{href:s.booking_url,target:"_blank",rel:"noreferrer",className:"mt-1 text-sm font-medium text-blue-600 hover:underline block",children:s.booking_url})]}),s.equipment&&Array.isArray(s.equipment)&&s.equipment.length>0&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Equipment")]}),e.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:s.equipment.map((a,l)=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:a},l))})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{M as default}; diff --git a/public/build/assets/view-Bdd5ZGnN.js b/public/build/assets/view-B1OOFt0r.js similarity index 94% rename from public/build/assets/view-Bdd5ZGnN.js rename to public/build/assets/view-B1OOFt0r.js index d8112615a..d90bd83d3 100644 --- a/public/build/assets/view-Bdd5ZGnN.js +++ b/public/build/assets/view-B1OOFt0r.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as p,h as u,j as h,k as j,F as a}from"./app-CfhhiFAk.js";import{S as i}from"./square-check-big-BCxRi7D4.js";import{U as f}from"./user-C37aWgZX.js";import{C as N}from"./calendar-CfUpdaK5.js";import{T as m}from"./triangle-alert-DGWTh17w.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function O({actionItem:s}){var n,d,x;const{t:r}=p(),g=t=>{switch(t){case"Not Started":return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10";case"In Progress":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Overdue":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},c=t=>{switch(t){case"Low":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Medium":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"High":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";case"Critical":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},o=t=>t==="Completed"?"bg-green-500":t==="Overdue"?"bg-red-500":"bg-blue-500",l=s.due_date&&new Date(s.due_date)t.preventDefault(),children:[e.jsx(h,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(j,{className:"text-xl font-semibold",children:r("Action Item Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),r("Title")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.title||"-"}),((n=s.meeting)==null?void 0:n.title)&&e.jsx("p",{className:"text-xs text-gray-500",children:s.meeting.title})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),r("Assigned To")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((d=s.assignee)==null?void 0:d.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),r("Due Date")]}),e.jsxs("p",{className:`mt-1 text-sm font-medium ${l?"text-red-600":"text-gray-900"}`,children:[s.due_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.due_date,!1))||s.due_date:"-",l&&e.jsxs("span",{className:"ml-2 inline-flex items-center gap-1 text-xs text-red-500",children:[e.jsx(m,{className:"h-3 w-3"}),r("Overdue")]})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),r("Priority")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${c(s.priority)}`,children:r(s.priority)||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),r("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${g(s.status)}`,children:r(s.status)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),r("Progress")]}),e.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[e.jsx("div",{className:"flex-1 bg-gray-200 rounded-full h-2",children:e.jsx("div",{className:`h-2 rounded-full ${o(s.status)}`,style:{width:`${s.progress_percentage||0}%`}})}),e.jsxs("span",{className:"text-xs font-medium text-gray-600 shrink-0",children:[s.progress_percentage||0,"%"]})]})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),r("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),r("Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notes})]})]})]})}export{O as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as p,h as u,j as h,k as j,F as a}from"./app-Dya84jp7.js";import{S as i}from"./square-check-big-CpQiidmr.js";import{U as f}from"./user-77BPqA3J.js";import{C as N}from"./calendar-DuRYaSj5.js";import{T as m}from"./triangle-alert-CpPzdeiH.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function O({actionItem:s}){var n,d,x;const{t:r}=p(),g=t=>{switch(t){case"Not Started":return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10";case"In Progress":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Overdue":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},c=t=>{switch(t){case"Low":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Medium":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"High":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";case"Critical":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},o=t=>t==="Completed"?"bg-green-500":t==="Overdue"?"bg-red-500":"bg-blue-500",l=s.due_date&&new Date(s.due_date)t.preventDefault(),children:[e.jsx(h,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(j,{className:"text-xl font-semibold",children:r("Action Item Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),r("Title")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.title||"-"}),((n=s.meeting)==null?void 0:n.title)&&e.jsx("p",{className:"text-xs text-gray-500",children:s.meeting.title})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),r("Assigned To")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((d=s.assignee)==null?void 0:d.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),r("Due Date")]}),e.jsxs("p",{className:`mt-1 text-sm font-medium ${l?"text-red-600":"text-gray-900"}`,children:[s.due_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.due_date,!1))||s.due_date:"-",l&&e.jsxs("span",{className:"ml-2 inline-flex items-center gap-1 text-xs text-red-500",children:[e.jsx(m,{className:"h-3 w-3"}),r("Overdue")]})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),r("Priority")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${c(s.priority)}`,children:r(s.priority)||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),r("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${g(s.status)}`,children:r(s.status)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),r("Progress")]}),e.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[e.jsx("div",{className:"flex-1 bg-gray-200 rounded-full h-2",children:e.jsx("div",{className:`h-2 rounded-full ${o(s.status)}`,style:{width:`${s.progress_percentage||0}%`}})}),e.jsxs("span",{className:"text-xs font-medium text-gray-600 shrink-0",children:[s.progress_percentage||0,"%"]})]})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),r("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),r("Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notes})]})]})]})}export{O as default}; diff --git a/public/build/assets/view-D6YTnx8g.js b/public/build/assets/view-B2zB18Rr.js similarity index 93% rename from public/build/assets/view-D6YTnx8g.js rename to public/build/assets/view-B2zB18Rr.js index 6455e6557..0e658125b 100644 --- a/public/build/assets/view-D6YTnx8g.js +++ b/public/build/assets/view-B2zB18Rr.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as i,h as l,j as d,k as x}from"./app-CfhhiFAk.js";import{M as a}from"./map-pin-BEMjKB1T.js";import{B as m}from"./building-2-D7cTdbG2.js";import{L as n}from"./lock-By6rMOj7.js";import{G as c}from"./globe-DePi6jyA.js";import{H as g}from"./hash-BdwQ_IPO.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function w({jobLocation:t}){const{t:s}=i();return e.jsxs(l,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(d,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(x,{className:"text-xl font-semibold",children:s("Job Location Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.is_remote?"bg-blue-50 text-blue-700 ring-blue-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:t.is_remote?s("Remote"):s("On-site")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("City")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.city||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("State")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.state||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Country")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.country||"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Postal Code")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.postal_code||"-"})]})}),t.address&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Address")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.address})]})]})]})}export{w as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as i,h as l,j as d,k as x}from"./app-Dya84jp7.js";import{M as a}from"./map-pin-DFWKFR9c.js";import{B as m}from"./building-2-CASHKqFo.js";import{L as n}from"./lock-DaHvMEII.js";import{G as c}from"./globe-5zZ4IsmY.js";import{H as g}from"./hash-CHQJ9wMw.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function w({jobLocation:t}){const{t:s}=i();return e.jsxs(l,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(d,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(x,{className:"text-xl font-semibold",children:s("Job Location Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.is_remote?"bg-blue-50 text-blue-700 ring-blue-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:t.is_remote?s("Remote"):s("On-site")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("City")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.city||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("State")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.state||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Country")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.country||"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Postal Code")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.postal_code||"-"})]})}),t.address&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Address")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.address})]})]})]})}export{w as default}; diff --git a/public/build/assets/view-BzOgJRog.js b/public/build/assets/view-BGJ9rVpd.js similarity index 92% rename from public/build/assets/view-BzOgJRog.js rename to public/build/assets/view-BGJ9rVpd.js index 479cde274..fff8cfbc6 100644 --- a/public/build/assets/view-BzOgJRog.js +++ b/public/build/assets/view-BGJ9rVpd.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as n,h as x,j as d,k as c}from"./app-CfhhiFAk.js";import{B as l}from"./building-2-D7cTdbG2.js";import{M as p}from"./mail-CGIE7ZEy.js";import{L as o}from"./lock-By6rMOj7.js";import{C as m}from"./calendar-CfUpdaK5.js";import{C as g}from"./credit-card-BmdpMcMw.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function C({record:s}){var a,i;const{t}=n();return e.jsxs(x,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(d,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(l,{className:"h-5 w-5 text-primary"})}),e.jsx(c,{className:"text-xl font-semibold",children:t("Company Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Company Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Email")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.email||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Created At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.created_at?((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Plan")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/30 px-2 py-1 text-xs font-medium text-blue-700 dark:text-blue-300 ring-1 ring-inset ring-blue-700/10",children:s.plan_name||t("No Plan")})})]}),s.plan_expiry_date&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Plan Expires")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.plan_expiry_date,!1))||s.plan_expiry_date})]})]})]})]})}export{C as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as n,h as x,j as d,k as c}from"./app-Dya84jp7.js";import{B as l}from"./building-2-CASHKqFo.js";import{M as p}from"./mail-Cha_PX4q.js";import{L as o}from"./lock-DaHvMEII.js";import{C as m}from"./calendar-DuRYaSj5.js";import{C as g}from"./credit-card-BKi_ThdS.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function C({record:s}){var a,i;const{t}=n();return e.jsxs(x,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(d,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(l,{className:"h-5 w-5 text-primary"})}),e.jsx(c,{className:"text-xl font-semibold",children:t("Company Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Company Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Email")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.email||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Created At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.created_at?((a=window.appSettings)==null?void 0:a.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Plan")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 dark:bg-blue-900/30 px-2 py-1 text-xs font-medium text-blue-700 dark:text-blue-300 ring-1 ring-inset ring-blue-700/10",children:s.plan_name||t("No Plan")})})]}),s.plan_expiry_date&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Plan Expires")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.plan_expiry_date,!1))||s.plan_expiry_date})]})]})]})]})}export{C as default}; diff --git a/public/build/assets/view-Z7ZNWGt1.js b/public/build/assets/view-BIyDbRpR.js similarity index 94% rename from public/build/assets/view-Z7ZNWGt1.js rename to public/build/assets/view-BIyDbRpR.js index da133044b..f0fb585e7 100644 --- a/public/build/assets/view-Z7ZNWGt1.js +++ b/public/build/assets/view-BIyDbRpR.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as o,h as g,j as h,k as u,F as a,g as c}from"./app-CfhhiFAk.js";import{M as j}from"./message-square-warning-D-p7x0Lz.js";import{U as d}from"./user-C37aWgZX.js";import{T as p}from"./tag-JSZ9YmZg.js";import{C as f}from"./calendar-CfUpdaK5.js";import{U as N}from"./user-check-eTf_WVUH.js";import{E as y}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function U({complaint:s}){var i,l,m,n;const{t}=o(),x=r=>{switch(r){case"under investigation":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"resolved":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"dismissed":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";default:return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20"}};return e.jsxs(g,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(h,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(j,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Complaint Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Complainant")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.is_anonymous?t("Anonymous"):((i=s.employee)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Against")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.against_employee)==null?void 0:l.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Complaint Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.complaint_type||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Complaint Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.complaint_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.complaint_date,!1))||s.complaint_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${x(s.status)}`,children:s.status||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Assigned To")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((n=s.assigned_user)==null?void 0:n.name)||"-"})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:c(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:c(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:r=>{r.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(y,{className:"h-6 w-6 text-white"})})]})]})}),s.subject&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Subject")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.subject})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.investigation_notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Investigation Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.investigation_notes})]}),s.resolution_action&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Resolution Action")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.resolution_action})]})]})]})}export{U as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as o,h as g,j as h,k as u,F as a,g as c}from"./app-Dya84jp7.js";import{M as j}from"./message-square-warning-DT--Ufeu.js";import{U as d}from"./user-77BPqA3J.js";import{T as p}from"./tag-Bq7fLwM4.js";import{C as f}from"./calendar-DuRYaSj5.js";import{U as N}from"./user-check-DC9_V3Qo.js";import{E as y}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function U({complaint:s}){var i,l,m,n;const{t}=o(),x=r=>{switch(r){case"under investigation":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"resolved":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"dismissed":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";default:return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20"}};return e.jsxs(g,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(h,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(j,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Complaint Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Complainant")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.is_anonymous?t("Anonymous"):((i=s.employee)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Against")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.against_employee)==null?void 0:l.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Complaint Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.complaint_type||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Complaint Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.complaint_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.complaint_date,!1))||s.complaint_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${x(s.status)}`,children:s.status||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Assigned To")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((n=s.assigned_user)==null?void 0:n.name)||"-"})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:c(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:c(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:r=>{r.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(y,{className:"h-6 w-6 text-white"})})]})]})}),s.subject&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Subject")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.subject})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.investigation_notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Investigation Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.investigation_notes})]}),s.resolution_action&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Resolution Action")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.resolution_action})]})]})]})}export{U as default}; diff --git a/public/build/assets/view-CwN1eCBc.js b/public/build/assets/view-BJ4q7exK.js similarity index 93% rename from public/build/assets/view-CwN1eCBc.js rename to public/build/assets/view-BJ4q7exK.js index 4772aa10d..1d5fbe9bc 100644 --- a/public/build/assets/view-CwN1eCBc.js +++ b/public/build/assets/view-BJ4q7exK.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as j,j as u,F as a,k as N}from"./app-CfhhiFAk.js";import{T as w}from"./tag-JSZ9YmZg.js";import{D as y}from"./download-Bk1k2_dW.js";import{C as c}from"./calendar-CfUpdaK5.js";import{U as v}from"./user-C37aWgZX.js";import{T as g}from"./triangle-alert-DGWTh17w.js";import{E as b}from"./eye--FVGKpVp.js";import{C as D}from"./circle-check-big-C5Cqj7-2.js";import{C as _}from"./clock-CwFdn-oy.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function P({document:s}){var l,n,m,x,d;const{t}=h(),o=r=>{switch(r){case"Draft":return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10";case"Under Review":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Approved":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Published":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Archived":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";case"Expired":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},p=r=>{switch(r){case"Under Review":return e.jsx(_,{className:"h-3 w-3"});case"Approved":return e.jsx(D,{className:"h-3 w-3"});case"Published":return e.jsx(b,{className:"h-3 w-3"});case"Expired":return e.jsx(g,{className:"h-3 w-3"});default:return e.jsx(a,{className:"h-3 w-3"})}},f=r=>r?r>=1073741824?(r/1073741824).toFixed(2)+" GB":r>=1048576?(r/1048576).toFixed(2)+" MB":r>=1024?(r/1024).toFixed(2)+" KB":r+" bytes":"-",i=s.expiry_date&&new Date(s.expiry_date)r.preventDefault(),children:[e.jsx(u,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center text-white shrink-0",style:{backgroundColor:((l=s.category)==null?void 0:l.color)||"#3B82F6"},children:e.jsx(a,{className:"h-5 w-5"})}),e.jsx("div",{children:e.jsx(N,{className:"text-xl font-semibold",children:s.title||t("Document Details")})})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Category")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((n=s.category)==null?void 0:n.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ${o(s.status)}`,children:[p(s.status),t(s.status)||"-"]})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("File Size")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:f(s.file_size)})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Downloads")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.download_count||0})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Effective Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.effective_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.effective_date,!1))||s.effective_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Expiry Date")]}),e.jsxs("p",{className:`mt-1 text-sm font-medium ${i?"text-red-600":"text-gray-900"}`,children:[s.expiry_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.expiry_date,!1))||s.expiry_date:"-",i&&e.jsxs("span",{className:"ml-2 text-xs text-red-500",children:["(",t("Expired"),")"]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),t("Uploaded By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((d=s.uploader)==null?void 0:d.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Requires Acknowledgment")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.requires_acknowledgment?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/10"}`,children:s.requires_acknowledgment?t("Yes"):t("No")})})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{P as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as j,j as u,F as a,k as N}from"./app-Dya84jp7.js";import{T as w}from"./tag-Bq7fLwM4.js";import{D as y}from"./download-BBNmalxc.js";import{C as c}from"./calendar-DuRYaSj5.js";import{U as v}from"./user-77BPqA3J.js";import{T as g}from"./triangle-alert-CpPzdeiH.js";import{E as b}from"./eye-CCNnMtu4.js";import{C as D}from"./circle-check-big-Cju4ilPH.js";import{C as _}from"./clock-LnEFQ-vK.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function P({document:s}){var l,n,m,x,d;const{t}=h(),o=r=>{switch(r){case"Draft":return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10";case"Under Review":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Approved":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Published":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Archived":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";case"Expired":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},p=r=>{switch(r){case"Under Review":return e.jsx(_,{className:"h-3 w-3"});case"Approved":return e.jsx(D,{className:"h-3 w-3"});case"Published":return e.jsx(b,{className:"h-3 w-3"});case"Expired":return e.jsx(g,{className:"h-3 w-3"});default:return e.jsx(a,{className:"h-3 w-3"})}},f=r=>r?r>=1073741824?(r/1073741824).toFixed(2)+" GB":r>=1048576?(r/1048576).toFixed(2)+" MB":r>=1024?(r/1024).toFixed(2)+" KB":r+" bytes":"-",i=s.expiry_date&&new Date(s.expiry_date)r.preventDefault(),children:[e.jsx(u,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center text-white shrink-0",style:{backgroundColor:((l=s.category)==null?void 0:l.color)||"#3B82F6"},children:e.jsx(a,{className:"h-5 w-5"})}),e.jsx("div",{children:e.jsx(N,{className:"text-xl font-semibold",children:s.title||t("Document Details")})})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Category")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((n=s.category)==null?void 0:n.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ${o(s.status)}`,children:[p(s.status),t(s.status)||"-"]})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("File Size")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:f(s.file_size)})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Downloads")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.download_count||0})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Effective Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.effective_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.effective_date,!1))||s.effective_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Expiry Date")]}),e.jsxs("p",{className:`mt-1 text-sm font-medium ${i?"text-red-600":"text-gray-900"}`,children:[s.expiry_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.expiry_date,!1))||s.expiry_date:"-",i&&e.jsxs("span",{className:"ml-2 text-xs text-red-500",children:["(",t("Expired"),")"]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),t("Uploaded By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((d=s.uploader)==null?void 0:d.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Requires Acknowledgment")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.requires_acknowledgment?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/10"}`,children:s.requires_acknowledgment?t("Yes"):t("No")})})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{P as default}; diff --git a/public/build/assets/view-D-KwmQWY.js b/public/build/assets/view-BNW3nx7q.js similarity index 94% rename from public/build/assets/view-D-KwmQWY.js rename to public/build/assets/view-BNW3nx7q.js index 5526a2288..d2338f648 100644 --- a/public/build/assets/view-D-KwmQWY.js +++ b/public/build/assets/view-BNW3nx7q.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as y,j,F as r,k as u}from"./app-CfhhiFAk.js";import{U as N}from"./user-C37aWgZX.js";import{C as l}from"./calendar-CfUpdaK5.js";import{T as v}from"./triangle-alert-DGWTh17w.js";import{D as w}from"./dollar-sign-DYXFWWsE.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function R({contract:s}){var m,n,d,x,g,p,c;const{t}=h(),o=a=>{switch(a){case"Draft":return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10";case"Pending Approval":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Active":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Expired":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Terminated":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Renewed":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},i=(()=>{if(!s.end_date||s.status!=="Active")return null;const a=new Date,f=new Date(s.end_date);return Math.ceil((f.getTime()-a.getTime())/(1e3*60*60*24))})();return e.jsxs(y,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(r,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Employee Contract Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Contract #")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.contract_number||"-"}),((m=s.contract_type)==null?void 0:m.name)&&e.jsx("p",{className:"text-xs text-gray-500",children:s.contract_type.name})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((n=s.employee)==null?void 0:n.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("End Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.end_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.end_date,!1))||s.end_date:t("Permanent")}),i!==null&&i<=30&&i>0&&e.jsxs("div",{className:"flex items-center gap-1 text-orange-600 mt-1 text-xs",children:[e.jsx(v,{className:"h-3 w-3"}),i," ",t("days left")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Basic Salary")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.basic_salary?(g=window.appSettings)==null?void 0:g.formatCurrency(s.basic_salary):"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${o(s.status)}`,children:t(s.status)||"-"})})]})]}),s.approved_at&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Approved At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(s.approved_at,!1))||s.approved_at}),((c=s.approver)==null?void 0:c.name)&&e.jsx("p",{className:"text-xs text-gray-500",children:s.approver.name})]})}),s.terms_conditions&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Terms & Conditions")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.terms_conditions})]})]})]})}export{R as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as y,j,F as r,k as u}from"./app-Dya84jp7.js";import{U as N}from"./user-77BPqA3J.js";import{C as l}from"./calendar-DuRYaSj5.js";import{T as v}from"./triangle-alert-CpPzdeiH.js";import{D as w}from"./dollar-sign-DH2Tc178.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function R({contract:s}){var m,n,d,x,g,p,c;const{t}=h(),o=a=>{switch(a){case"Draft":return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10";case"Pending Approval":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Active":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Expired":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Terminated":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Renewed":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},i=(()=>{if(!s.end_date||s.status!=="Active")return null;const a=new Date,f=new Date(s.end_date);return Math.ceil((f.getTime()-a.getTime())/(1e3*60*60*24))})();return e.jsxs(y,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(r,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Employee Contract Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Contract #")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.contract_number||"-"}),((m=s.contract_type)==null?void 0:m.name)&&e.jsx("p",{className:"text-xs text-gray-500",children:s.contract_type.name})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((n=s.employee)==null?void 0:n.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("End Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.end_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.end_date,!1))||s.end_date:t("Permanent")}),i!==null&&i<=30&&i>0&&e.jsxs("div",{className:"flex items-center gap-1 text-orange-600 mt-1 text-xs",children:[e.jsx(v,{className:"h-3 w-3"}),i," ",t("days left")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Basic Salary")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.basic_salary?(g=window.appSettings)==null?void 0:g.formatCurrency(s.basic_salary):"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${o(s.status)}`,children:t(s.status)||"-"})})]})]}),s.approved_at&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Approved At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(s.approved_at,!1))||s.approved_at}),((c=s.approver)==null?void 0:c.name)&&e.jsx("p",{className:"text-xs text-gray-500",children:s.approver.name})]})}),s.terms_conditions&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Terms & Conditions")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.terms_conditions})]})]})]})}export{R as default}; diff --git a/public/build/assets/view-cRrRneW8.js b/public/build/assets/view-Bp1EXKNS.js similarity index 94% rename from public/build/assets/view-cRrRneW8.js rename to public/build/assets/view-Bp1EXKNS.js index 089be1260..5198d56c7 100644 --- a/public/build/assets/view-cRrRneW8.js +++ b/public/build/assets/view-Bp1EXKNS.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as p,h,j,k as u,F as r}from"./app-CfhhiFAk.js";import{C as i}from"./calendar-days-CiPhwZgb.js";import{C as f}from"./clock-CwFdn-oy.js";import{U as N}from"./user-C37aWgZX.js";import{M as y}from"./map-pin-BEMjKB1T.js";import{R as b}from"./refresh-cw-DWorkL8J.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({meeting:s}){var l,m,n,c,d,x;const{t}=p(),o=a=>{switch(a){case"Scheduled":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"In Progress":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Cancelled":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},g=a=>a==="None"?"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10":"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";return e.jsxs(h,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Meeting Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Meeting Title")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.title||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Meeting Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.type)==null?void 0:l.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Meeting Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.meeting_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.meeting_date,!1))||s.meeting_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_time&&s.end_time?`${((n=window.appSettings)==null?void 0:n.formatTime(s.start_time))||s.start_time} - ${((c=window.appSettings)==null?void 0:c.formatTime(s.end_time))||s.end_time}`:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Organizer")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((d=s.organizer)==null?void 0:d.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Room")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((x=s.room)==null?void 0:x.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${o(s.status)}`,children:t(s.status)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Recurrence")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${g(s.recurrence)}`,children:t(s.recurrence)||"-"})})]})]}),s.agenda&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Agenda")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.agenda})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{F as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as p,h,j,k as u,F as r}from"./app-Dya84jp7.js";import{C as i}from"./calendar-days-CURbwGg4.js";import{C as f}from"./clock-LnEFQ-vK.js";import{U as N}from"./user-77BPqA3J.js";import{M as y}from"./map-pin-DFWKFR9c.js";import{R as b}from"./refresh-cw-D_C_cDSu.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({meeting:s}){var l,m,n,c,d,x;const{t}=p(),o=a=>{switch(a){case"Scheduled":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"In Progress":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Cancelled":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},g=a=>a==="None"?"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10":"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";return e.jsxs(h,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Meeting Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Meeting Title")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.title||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Meeting Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.type)==null?void 0:l.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Meeting Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.meeting_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.meeting_date,!1))||s.meeting_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_time&&s.end_time?`${((n=window.appSettings)==null?void 0:n.formatTime(s.start_time))||s.start_time} - ${((c=window.appSettings)==null?void 0:c.formatTime(s.end_time))||s.end_time}`:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Organizer")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((d=s.organizer)==null?void 0:d.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Room")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((x=s.room)==null?void 0:x.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${o(s.status)}`,children:t(s.status)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Recurrence")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${g(s.recurrence)}`,children:t(s.recurrence)||"-"})})]})]}),s.agenda&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Agenda")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.agenda})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{F as default}; diff --git a/public/build/assets/view-MDlwRyWy.js b/public/build/assets/view-Bq_QvsAn.js similarity index 92% rename from public/build/assets/view-MDlwRyWy.js rename to public/build/assets/view-Bq_QvsAn.js index 652f6592b..b34153fc1 100644 --- a/public/build/assets/view-MDlwRyWy.js +++ b/public/build/assets/view-Bq_QvsAn.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as f,h as u,j as N,k as v}from"./app-CfhhiFAk.js";import{C as w}from"./circle-check-big-C5Cqj7-2.js";import{C as y}from"./circle-x-C1aiFLrz.js";import{C as _}from"./circle-alert-64DrdoHv.js";import{C as a}from"./clock-CwFdn-oy.js";import{U as b}from"./user-C37aWgZX.js";import{C as i}from"./calendar-CfUpdaK5.js";import{A as C}from"./arrow-right-0WTHrq3r.js";import{M as g}from"./message-square-CWrDttoL.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function H({record:s}){var l,n,x,c,r,d,o,p;const{t}=f(),m={pending:"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"},j=s.status==="approved"?w:s.status==="rejected"?y:_;return e.jsxs(u,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:h=>h.preventDefault(),children:[e.jsx(N,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(v,{className:"text-xl font-semibold",children:t("Adjustment Request Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.employee)==null?void 0:l.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.date?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.date,!1))||s.date:"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2 mb-3",children:[e.jsx(a,{className:"h-4 w-4"}),t("Time Adjustment")]}),e.jsx("div",{className:"bg-gray-50 rounded-lg p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"text-center flex-1",children:[e.jsx("p",{className:"text-xs text-gray-500 font-medium mb-2",children:t("Original")}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-center gap-1 text-red-600",children:[e.jsx(a,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"font-mono text-sm",children:s.original_clock_in?(x=window.appSettings)==null?void 0:x.formatTime(s.original_clock_in):"--:--"})]}),e.jsxs("div",{className:"flex items-center justify-center gap-1 text-red-600",children:[e.jsx(a,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"font-mono text-sm",children:s.original_clock_out?(c=window.appSettings)==null?void 0:c.formatTime(s.original_clock_out):"--:--"})]})]})]}),e.jsx("div",{className:"px-4",children:e.jsx(C,{className:"h-5 w-5 text-gray-400"})}),e.jsxs("div",{className:"text-center flex-1",children:[e.jsx("p",{className:"text-xs text-gray-500 font-medium mb-2",children:t("Requested")}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-center gap-1 text-green-600",children:[e.jsx(a,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"font-mono text-sm",children:s.requested_clock_in?(r=window.appSettings)==null?void 0:r.formatTime(s.requested_clock_in):"--:--"})]}),e.jsxs("div",{className:"flex items-center justify-center gap-1 text-green-600",children:[e.jsx(a,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"font-mono text-sm",children:s.requested_clock_out?(d=window.appSettings)==null?void 0:d.formatTime(s.requested_clock_out):"--:--"})]})]})]})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${m[s.status]||m.pending}`,children:s.status?s.status.charAt(0).toUpperCase()+s.status.slice(1):"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Requested On")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.created_at?((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),s.status!=="pending"&&s.approved_at&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s.status==="approved"?t("Approved At"):t("Rejected At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(s.approved_at,!1))||s.approved_at})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason||"-"})]}),s.manager_comments&&s.status!=="pending"&&s.manager_comments!=="Approved"&&s.manager_comments!=="Rejected"&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Manager Comments")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 italic",children:['"',s.manager_comments,'"']})]})]})]})}export{H as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as f,h as u,j as N,k as v}from"./app-Dya84jp7.js";import{C as w}from"./circle-check-big-Cju4ilPH.js";import{C as y}from"./circle-x-Dg5wGIim.js";import{C as _}from"./circle-alert-Ddjg2Qwp.js";import{C as a}from"./clock-LnEFQ-vK.js";import{U as b}from"./user-77BPqA3J.js";import{C as i}from"./calendar-DuRYaSj5.js";import{A as C}from"./arrow-right-BHW--AGU.js";import{M as g}from"./message-square-DyWo8S6i.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function H({record:s}){var l,n,x,c,r,d,o,p;const{t}=f(),m={pending:"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"},j=s.status==="approved"?w:s.status==="rejected"?y:_;return e.jsxs(u,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:h=>h.preventDefault(),children:[e.jsx(N,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(v,{className:"text-xl font-semibold",children:t("Adjustment Request Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.employee)==null?void 0:l.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.date?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.date,!1))||s.date:"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2 mb-3",children:[e.jsx(a,{className:"h-4 w-4"}),t("Time Adjustment")]}),e.jsx("div",{className:"bg-gray-50 rounded-lg p-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"text-center flex-1",children:[e.jsx("p",{className:"text-xs text-gray-500 font-medium mb-2",children:t("Original")}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-center gap-1 text-red-600",children:[e.jsx(a,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"font-mono text-sm",children:s.original_clock_in?(x=window.appSettings)==null?void 0:x.formatTime(s.original_clock_in):"--:--"})]}),e.jsxs("div",{className:"flex items-center justify-center gap-1 text-red-600",children:[e.jsx(a,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"font-mono text-sm",children:s.original_clock_out?(c=window.appSettings)==null?void 0:c.formatTime(s.original_clock_out):"--:--"})]})]})]}),e.jsx("div",{className:"px-4",children:e.jsx(C,{className:"h-5 w-5 text-gray-400"})}),e.jsxs("div",{className:"text-center flex-1",children:[e.jsx("p",{className:"text-xs text-gray-500 font-medium mb-2",children:t("Requested")}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-center gap-1 text-green-600",children:[e.jsx(a,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"font-mono text-sm",children:s.requested_clock_in?(r=window.appSettings)==null?void 0:r.formatTime(s.requested_clock_in):"--:--"})]}),e.jsxs("div",{className:"flex items-center justify-center gap-1 text-green-600",children:[e.jsx(a,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"font-mono text-sm",children:s.requested_clock_out?(d=window.appSettings)==null?void 0:d.formatTime(s.requested_clock_out):"--:--"})]})]})]})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${m[s.status]||m.pending}`,children:s.status?s.status.charAt(0).toUpperCase()+s.status.slice(1):"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Requested On")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.created_at?((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),s.status!=="pending"&&s.approved_at&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s.status==="approved"?t("Approved At"):t("Rejected At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((p=window.appSettings)==null?void 0:p.formatDateTimeSimple(s.approved_at,!1))||s.approved_at})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason||"-"})]}),s.manager_comments&&s.status!=="pending"&&s.manager_comments!=="Approved"&&s.manager_comments!=="Rejected"&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Manager Comments")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 italic",children:['"',s.manager_comments,'"']})]})]})]})}export{H as default}; diff --git a/public/build/assets/view-jKtOT9Bm.js b/public/build/assets/view-ByKSN7IQ.js similarity index 96% rename from public/build/assets/view-jKtOT9Bm.js rename to public/build/assets/view-ByKSN7IQ.js index 5e9a6499d..3ca58d1d1 100644 --- a/public/build/assets/view-jKtOT9Bm.js +++ b/public/build/assets/view-ByKSN7IQ.js @@ -1 +1 @@ -import{r as c,j as t}from"./ui-Z445SNHD.js";import{u as M,h as R,j as B,k as V,o as b,r as q,t as m}from"./app-CfhhiFAk.js";import{T as H}from"./timer-Cqv8ulB-.js";import{C as $}from"./circle-alert-64DrdoHv.js";import{I as G}from"./info-D_4wnc_R.js";import{R as J}from"./refresh-cw-DWorkL8J.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function et({employee:s,entries:h,onClose:j}){var I,_;const{t:a}=M(),y=e=>{if(!e)return-1;const r=e.split(":"),n=parseInt(r[0])||0,o=parseInt(r[1])||0,x=parseInt(r[2])||0;return n*3600+o*60+x},k=e=>{if(!e)return null;const r=y(e);let n=null,o=180;for(const x of h){const F=y(x.time),C=Math.abs(r-F);C{O(e.id),D(e),l(!1)},z=e=>{T(e.id),P(e),l(!1)},w=i&&d&&i.time>=d.time,A=()=>{if(!s||!i||!d)return;u(!0);const e={biometric_emp_id:s.code,date:s.date,clock_in_id:i.id,clock_out_id:d.id};q.post(route("hr.biometric-attendance.sync-custom"),e,{onSuccess:r=>{u(!1),l(!1),r.props.flash.success?m.success(a(r.props.flash.success)):r.props.flash.error&&m.error(a(r.props.flash.error)),j&&j()},onError:r=>{u(!1),typeof r=="string"?m.error(r):m.error(a("Failed to sync custom pair."))}})};return t.jsxs(R,{className:"max-w-3xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:e=>e.preventDefault(),children:[t.jsx(B,{className:"px-6 pt-6 pb-4 border-b",children:t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:t.jsx(H,{className:"h-5 w-5 text-primary"})}),t.jsxs("div",{children:[t.jsxs(V,{className:"text-xl font-semibold",children:[a("Punch Details")," — ",s==null?void 0:s.name,(s==null?void 0:s.code)&&t.jsxs("span",{className:"text-base font-normal text-gray-500 ml-1",children:["(",s.code,")"]})]}),(s==null?void 0:s.date)&&t.jsx("p",{className:"text-sm text-gray-500 mt-0.5",children:window.appSettings.formatDateTimeSimple(s.date,!1)})]})]})}),t.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[t.jsxs("div",{className:"max-h-80 overflow-y-auto rounded-md border",children:[t.jsxs("table",{className:"w-full text-sm",children:[t.jsx("thead",{className:"sticky top-0 bg-gray-50 dark:bg-gray-800 border-b",children:t.jsxs("tr",{children:[t.jsx("th",{className:"text-left px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider",children:a("Time")}),t.jsx("th",{className:"text-left px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider",children:a("Status")}),t.jsx("th",{className:"text-left px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider",children:a("Verify Type")}),t.jsx("th",{className:"text-left px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider",children:a("Terminal")}),t.jsx("th",{className:"text-center px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider w-20",children:a("Select In")}),t.jsx("th",{className:"text-center px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider w-20",children:a("Select Out")})]})}),t.jsx("tbody",{className:"divide-y divide-gray-100 dark:divide-gray-700",children:h.map(e=>{const r=N===e.id,n=S===e.id;return t.jsxs("tr",{className:`hover:bg-gray-50 dark:hover:bg-gray-800/50 transition-colors ${r?"bg-green-50/70 dark:bg-green-950/20":n?"bg-red-50/70 dark:bg-red-950/20":""}`,children:[t.jsx("td",{className:"px-3 py-2 font-mono text-sm font-medium text-gray-900 dark:text-gray-100",children:e.time}),t.jsx("td",{className:"px-3 py-2 text-sm text-gray-700 dark:text-gray-300",children:e.punch_state_display}),t.jsx("td",{className:"px-3 py-2 text-sm text-gray-700 dark:text-gray-300",children:e.verify_type_display}),t.jsx("td",{className:"px-3 py-2 text-sm text-gray-700 dark:text-gray-300",children:e.terminal_alias}),t.jsx("td",{className:"text-center px-3 py-2",children:t.jsx("input",{type:"radio",name:"clock_in_selection",checked:r,disabled:S===e.id,onChange:()=>E(e),className:"h-4 w-4 text-primary border-gray-300 focus:ring-primary cursor-pointer accent-green-600"})}),t.jsx("td",{className:"text-center px-3 py-2",children:t.jsx("input",{type:"radio",name:"clock_out_selection",checked:n,disabled:N===e.id,onChange:()=>z(e),className:"h-4 w-4 text-primary border-gray-300 focus:ring-primary cursor-pointer accent-red-600"})})]},e.id)})})]}),h.length===0&&t.jsx("div",{className:"text-center py-8 text-gray-500 text-sm",children:a("No entries found")})]}),i&&d&&t.jsxs("div",{className:"p-4 rounded-lg bg-gray-50 dark:bg-gray-800 border dark:border-gray-700 space-y-3 transition-all",children:[t.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-3",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:a("Selected Custom Pair")}),t.jsxs("div",{className:"flex items-center gap-2 mt-1 text-sm font-mono",children:[t.jsxs("span",{className:"px-2 py-0.5 rounded bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-400 font-bold",children:[i.time," (In)"]}),t.jsx("span",{className:"text-gray-400",children:"➔"}),t.jsxs("span",{className:"px-2 py-0.5 rounded bg-red-100 dark:bg-red-900/30 text-red-700 dark:text-red-400 font-bold",children:[d.time," (Out)"]})]})]}),!v&&t.jsx(b,{size:"sm",onClick:()=>l(!0),disabled:w,className:"bg-primary text-white",children:a("Sync Selected Pair")})]}),w&&t.jsxs("div",{className:"flex items-start gap-2 text-xs text-red-600 dark:text-red-400 mt-1",children:[t.jsx($,{className:"h-4 w-4 shrink-0"}),t.jsx("span",{children:a("Clock Out time cannot be earlier than or equal to Clock In time.")})]}),v&&t.jsxs("div",{className:"pt-3 border-t border-gray-200 dark:border-gray-700 space-y-3 animate-in fade-in slide-in-from-bottom-2 duration-250",children:[t.jsxs("div",{className:"flex items-start gap-2.5 p-3 bg-amber-50 dark:bg-amber-950/20 rounded border border-amber-200 dark:border-amber-900 text-xs text-amber-800 dark:text-amber-300",children:[t.jsx(G,{className:"h-4 w-4 shrink-0 text-amber-600 dark:text-amber-400 mt-0.5"}),t.jsxs("div",{children:[t.jsx("p",{className:"font-semibold",children:a("Confirm Attendance Sync")}),t.jsx("p",{className:"mt-0.5",children:a("Biometric logs are the source of truth. Proceeding will create or overwrite the existing attendance record for this day.")})]})]}),t.jsxs("div",{className:"flex justify-end gap-2",children:[t.jsx(b,{size:"sm",variant:"outline",onClick:()=>l(!1),disabled:p,children:a("Cancel")}),t.jsx(b,{size:"sm",variant:"default",onClick:A,disabled:p,children:p?t.jsxs(t.Fragment,{children:[t.jsx(J,{className:"h-3.5 w-3.5 mr-1.5 animate-spin"}),a("Syncing...")]}):a("Proceed Sync")})]})]})]})]})]})}export{et as default}; +import{r as c,j as t}from"./ui-Z445SNHD.js";import{u as M,h as R,j as B,k as V,o as b,r as q,t as m}from"./app-Dya84jp7.js";import{T as H}from"./timer-BTqoLJiz.js";import{C as $}from"./circle-alert-Ddjg2Qwp.js";import{I as G}from"./info-CPi9bOGM.js";import{R as J}from"./refresh-cw-D_C_cDSu.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function et({employee:s,entries:h,onClose:j}){var I,_;const{t:a}=M(),y=e=>{if(!e)return-1;const r=e.split(":"),n=parseInt(r[0])||0,o=parseInt(r[1])||0,x=parseInt(r[2])||0;return n*3600+o*60+x},k=e=>{if(!e)return null;const r=y(e);let n=null,o=180;for(const x of h){const F=y(x.time),C=Math.abs(r-F);C{O(e.id),D(e),l(!1)},z=e=>{T(e.id),P(e),l(!1)},w=i&&d&&i.time>=d.time,A=()=>{if(!s||!i||!d)return;u(!0);const e={biometric_emp_id:s.code,date:s.date,clock_in_id:i.id,clock_out_id:d.id};q.post(route("hr.biometric-attendance.sync-custom"),e,{onSuccess:r=>{u(!1),l(!1),r.props.flash.success?m.success(a(r.props.flash.success)):r.props.flash.error&&m.error(a(r.props.flash.error)),j&&j()},onError:r=>{u(!1),typeof r=="string"?m.error(r):m.error(a("Failed to sync custom pair."))}})};return t.jsxs(R,{className:"max-w-3xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:e=>e.preventDefault(),children:[t.jsx(B,{className:"px-6 pt-6 pb-4 border-b",children:t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:t.jsx(H,{className:"h-5 w-5 text-primary"})}),t.jsxs("div",{children:[t.jsxs(V,{className:"text-xl font-semibold",children:[a("Punch Details")," — ",s==null?void 0:s.name,(s==null?void 0:s.code)&&t.jsxs("span",{className:"text-base font-normal text-gray-500 ml-1",children:["(",s.code,")"]})]}),(s==null?void 0:s.date)&&t.jsx("p",{className:"text-sm text-gray-500 mt-0.5",children:window.appSettings.formatDateTimeSimple(s.date,!1)})]})]})}),t.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[t.jsxs("div",{className:"max-h-80 overflow-y-auto rounded-md border",children:[t.jsxs("table",{className:"w-full text-sm",children:[t.jsx("thead",{className:"sticky top-0 bg-gray-50 dark:bg-gray-800 border-b",children:t.jsxs("tr",{children:[t.jsx("th",{className:"text-left px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider",children:a("Time")}),t.jsx("th",{className:"text-left px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider",children:a("Status")}),t.jsx("th",{className:"text-left px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider",children:a("Verify Type")}),t.jsx("th",{className:"text-left px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider",children:a("Terminal")}),t.jsx("th",{className:"text-center px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider w-20",children:a("Select In")}),t.jsx("th",{className:"text-center px-3 py-2 text-xs font-bold text-gray-700 dark:text-gray-300 tracking-wider w-20",children:a("Select Out")})]})}),t.jsx("tbody",{className:"divide-y divide-gray-100 dark:divide-gray-700",children:h.map(e=>{const r=N===e.id,n=S===e.id;return t.jsxs("tr",{className:`hover:bg-gray-50 dark:hover:bg-gray-800/50 transition-colors ${r?"bg-green-50/70 dark:bg-green-950/20":n?"bg-red-50/70 dark:bg-red-950/20":""}`,children:[t.jsx("td",{className:"px-3 py-2 font-mono text-sm font-medium text-gray-900 dark:text-gray-100",children:e.time}),t.jsx("td",{className:"px-3 py-2 text-sm text-gray-700 dark:text-gray-300",children:e.punch_state_display}),t.jsx("td",{className:"px-3 py-2 text-sm text-gray-700 dark:text-gray-300",children:e.verify_type_display}),t.jsx("td",{className:"px-3 py-2 text-sm text-gray-700 dark:text-gray-300",children:e.terminal_alias}),t.jsx("td",{className:"text-center px-3 py-2",children:t.jsx("input",{type:"radio",name:"clock_in_selection",checked:r,disabled:S===e.id,onChange:()=>E(e),className:"h-4 w-4 text-primary border-gray-300 focus:ring-primary cursor-pointer accent-green-600"})}),t.jsx("td",{className:"text-center px-3 py-2",children:t.jsx("input",{type:"radio",name:"clock_out_selection",checked:n,disabled:N===e.id,onChange:()=>z(e),className:"h-4 w-4 text-primary border-gray-300 focus:ring-primary cursor-pointer accent-red-600"})})]},e.id)})})]}),h.length===0&&t.jsx("div",{className:"text-center py-8 text-gray-500 text-sm",children:a("No entries found")})]}),i&&d&&t.jsxs("div",{className:"p-4 rounded-lg bg-gray-50 dark:bg-gray-800 border dark:border-gray-700 space-y-3 transition-all",children:[t.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-3",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:a("Selected Custom Pair")}),t.jsxs("div",{className:"flex items-center gap-2 mt-1 text-sm font-mono",children:[t.jsxs("span",{className:"px-2 py-0.5 rounded bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-400 font-bold",children:[i.time," (In)"]}),t.jsx("span",{className:"text-gray-400",children:"➔"}),t.jsxs("span",{className:"px-2 py-0.5 rounded bg-red-100 dark:bg-red-900/30 text-red-700 dark:text-red-400 font-bold",children:[d.time," (Out)"]})]})]}),!v&&t.jsx(b,{size:"sm",onClick:()=>l(!0),disabled:w,className:"bg-primary text-white",children:a("Sync Selected Pair")})]}),w&&t.jsxs("div",{className:"flex items-start gap-2 text-xs text-red-600 dark:text-red-400 mt-1",children:[t.jsx($,{className:"h-4 w-4 shrink-0"}),t.jsx("span",{children:a("Clock Out time cannot be earlier than or equal to Clock In time.")})]}),v&&t.jsxs("div",{className:"pt-3 border-t border-gray-200 dark:border-gray-700 space-y-3 animate-in fade-in slide-in-from-bottom-2 duration-250",children:[t.jsxs("div",{className:"flex items-start gap-2.5 p-3 bg-amber-50 dark:bg-amber-950/20 rounded border border-amber-200 dark:border-amber-900 text-xs text-amber-800 dark:text-amber-300",children:[t.jsx(G,{className:"h-4 w-4 shrink-0 text-amber-600 dark:text-amber-400 mt-0.5"}),t.jsxs("div",{children:[t.jsx("p",{className:"font-semibold",children:a("Confirm Attendance Sync")}),t.jsx("p",{className:"mt-0.5",children:a("Biometric logs are the source of truth. Proceeding will create or overwrite the existing attendance record for this day.")})]})]}),t.jsxs("div",{className:"flex justify-end gap-2",children:[t.jsx(b,{size:"sm",variant:"outline",onClick:()=>l(!1),disabled:p,children:a("Cancel")}),t.jsx(b,{size:"sm",variant:"default",onClick:A,disabled:p,children:p?t.jsxs(t.Fragment,{children:[t.jsx(J,{className:"h-3.5 w-3.5 mr-1.5 animate-spin"}),a("Syncing...")]}):a("Proceed Sync")})]})]})]})]})]})}export{et as default}; diff --git a/public/build/assets/view-CaHtUUUu.js b/public/build/assets/view-ByxV07S_.js similarity index 96% rename from public/build/assets/view-CaHtUUUu.js rename to public/build/assets/view-ByxV07S_.js index 907f3789d..2806137b8 100644 --- a/public/build/assets/view-CaHtUUUu.js +++ b/public/build/assets/view-ByxV07S_.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as p,h,j,k as f,F as n,g as c}from"./app-CfhhiFAk.js";import{P as N}from"./plane-BHhadcsS.js";import{M as b}from"./map-pin-BEMjKB1T.js";import{C as d}from"./calendar-CfUpdaK5.js";import{D as x}from"./dollar-sign-DYXFWWsE.js";import{E as y}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function A({trip:s}){var r,l,i,m;const{t}=p(),o=a=>{switch(a){case"ongoing":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"cancelled":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";default:return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20"}},g=a=>{switch(a){case"approved":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"paid":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"reconciled":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";default:return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20"}},u=a=>{switch(a){case"approved":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"paid":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";default:return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20"}};return e.jsxs(h,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(N,{className:"h-5 w-5 text-primary"})}),e.jsx(f,{className:"text-xl font-semibold",children:t("Trip Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Purpose")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.purpose||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Destination")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.destination||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("End Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.end_date?((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.end_date,!1))||s.end_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${o(s.status)}`,children:s.status||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),t("Advance Amount")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:s.advance_amount?(i=window.appSettings)==null?void 0:i.formatCurrency(s.advance_amount):"-"}),s.advance_status&&e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${g(s.advance_status)}`,children:s.advance_status})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),t("Total Expenses")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:s.total_expenses?(m=window.appSettings)==null?void 0:m.formatCurrency(s.total_expenses):"-"}),s.reimbursement_status&&e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${u(s.reimbursement_status)}`,children:s.reimbursement_status})]})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:c(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:c(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(y,{className:"h-6 w-6 text-white"})})]})]})}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.expected_outcomes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Expected Outcomes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.expected_outcomes})]}),s.trip_report&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Trip Report")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.trip_report})]})]})]})}export{A as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as p,h,j,k as f,F as n,g as c}from"./app-Dya84jp7.js";import{P as N}from"./plane-AJz2gO49.js";import{M as b}from"./map-pin-DFWKFR9c.js";import{C as d}from"./calendar-DuRYaSj5.js";import{D as x}from"./dollar-sign-DH2Tc178.js";import{E as y}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function A({trip:s}){var r,l,i,m;const{t}=p(),o=a=>{switch(a){case"ongoing":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"cancelled":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";default:return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20"}},g=a=>{switch(a){case"approved":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"paid":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"reconciled":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";default:return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20"}},u=a=>{switch(a){case"approved":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"paid":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";default:return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20"}};return e.jsxs(h,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(N,{className:"h-5 w-5 text-primary"})}),e.jsx(f,{className:"text-xl font-semibold",children:t("Trip Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Purpose")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.purpose||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Destination")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.destination||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("End Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.end_date?((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.end_date,!1))||s.end_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${o(s.status)}`,children:s.status||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),t("Advance Amount")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:s.advance_amount?(i=window.appSettings)==null?void 0:i.formatCurrency(s.advance_amount):"-"}),s.advance_status&&e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${g(s.advance_status)}`,children:s.advance_status})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),t("Total Expenses")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:s.total_expenses?(m=window.appSettings)==null?void 0:m.formatCurrency(s.total_expenses):"-"}),s.reimbursement_status&&e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${u(s.reimbursement_status)}`,children:s.reimbursement_status})]})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:c(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:c(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(y,{className:"h-6 w-6 text-white"})})]})]})}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.expected_outcomes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Expected Outcomes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.expected_outcomes})]}),s.trip_report&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),t("Trip Report")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.trip_report})]})]})]})}export{A as default}; diff --git a/public/build/assets/view-CUmR-B1R.js b/public/build/assets/view-C30gboqX.js similarity index 92% rename from public/build/assets/view-CUmR-B1R.js rename to public/build/assets/view-C30gboqX.js index 78f358140..afda2e272 100644 --- a/public/build/assets/view-CUmR-B1R.js +++ b/public/build/assets/view-C30gboqX.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as o,h as g,j as h,k as p,F as l}from"./app-CfhhiFAk.js";import{C as c}from"./calendar-check-B2HQiQ2A.js";import{U as u}from"./user-C37aWgZX.js";import{B as j}from"./briefcase-CLRn8zVu.js";import{U as f}from"./users-C4LpG59H.js";import{C as N}from"./clock-CwFdn-oy.js";import{L as b}from"./link-Bv_VEBSZ.js";import{M as y}from"./map-pin-BEMjKB1T.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function v({interview:s}){var m,r,i,n,d;const{t}=o(),x=a=>{switch(a){case"Scheduled":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Cancelled":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"No-show":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}};return e.jsxs(g,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(h,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(c,{className:"h-5 w-5 text-primary"})}),e.jsx(p,{className:"text-xl font-semibold",children:t("Interview Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Candidate")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.candidate?`${s.candidate.first_name} ${s.candidate.last_name}`:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Job")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.job)==null?void 0:m.title)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Round")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((r=s.round)==null?void 0:r.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Interview Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.interview_type)==null?void 0:i.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Date & Time")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900",children:[s.scheduled_date?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.scheduled_date,!1))||s.scheduled_date:"-",s.scheduled_time&&e.jsx("span",{className:"ml-2 text-gray-500",children:((d=window.appSettings)==null?void 0:d.formatTime(s.scheduled_time))||s.scheduled_time})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Duration")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.duration?`${s.duration} ${t("min")}`:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${x(s.status)}`,children:t(s.status)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Feedback")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.feedback_submitted?"bg-green-50 text-green-700 ring-green-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:s.feedback_submitted?t("Submitted"):t("Pending")})})]})]}),s.meeting_link?e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Meeting Link")]}),e.jsx("a",{href:s.meeting_link,target:"_blank",rel:"noreferrer",className:"mt-1 text-sm font-medium text-blue-600 hover:underline block",children:s.meeting_link})]}):s.location?e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Location")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.location})]}):null]})]})}export{v as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as o,h as g,j as h,k as p,F as l}from"./app-Dya84jp7.js";import{C as c}from"./calendar-check-Cei2wfOk.js";import{U as u}from"./user-77BPqA3J.js";import{B as j}from"./briefcase-Btn3T9V4.js";import{U as f}from"./users-BzCDZrS0.js";import{C as N}from"./clock-LnEFQ-vK.js";import{L as b}from"./link-DXJwkkHX.js";import{M as y}from"./map-pin-DFWKFR9c.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function v({interview:s}){var m,r,i,n,d;const{t}=o(),x=a=>{switch(a){case"Scheduled":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Cancelled":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"No-show":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}};return e.jsxs(g,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(h,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(c,{className:"h-5 w-5 text-primary"})}),e.jsx(p,{className:"text-xl font-semibold",children:t("Interview Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Candidate")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.candidate?`${s.candidate.first_name} ${s.candidate.last_name}`:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Job")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.job)==null?void 0:m.title)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Round")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((r=s.round)==null?void 0:r.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Interview Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.interview_type)==null?void 0:i.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Date & Time")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900",children:[s.scheduled_date?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.scheduled_date,!1))||s.scheduled_date:"-",s.scheduled_time&&e.jsx("span",{className:"ml-2 text-gray-500",children:((d=window.appSettings)==null?void 0:d.formatTime(s.scheduled_time))||s.scheduled_time})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Duration")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.duration?`${s.duration} ${t("min")}`:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${x(s.status)}`,children:t(s.status)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Feedback")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.feedback_submitted?"bg-green-50 text-green-700 ring-green-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:s.feedback_submitted?t("Submitted"):t("Pending")})})]})]}),s.meeting_link?e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Meeting Link")]}),e.jsx("a",{href:s.meeting_link,target:"_blank",rel:"noreferrer",className:"mt-1 text-sm font-medium text-blue-600 hover:underline block",children:s.meeting_link})]}):s.location?e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Location")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.location})]}):null]})]})}export{v as default}; diff --git a/public/build/assets/view-FrvU1Gq2.js b/public/build/assets/view-C5MKftPZ.js similarity index 90% rename from public/build/assets/view-FrvU1Gq2.js rename to public/build/assets/view-C5MKftPZ.js index 7fc117853..f3c58739b 100644 --- a/public/build/assets/view-FrvU1Gq2.js +++ b/public/build/assets/view-C5MKftPZ.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as c,h as x,j as n,k as d,F as o}from"./app-CfhhiFAk.js";import{B as m}from"./briefcase-CLRn8zVu.js";import{B as p}from"./building-2-D7cTdbG2.js";import{G as h}from"./git-branch-B0hRoz5x.js";import{L as g}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function k({designation:t}){var a,r,i;const{t:s}=c();return e.jsxs(x,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:l=>l.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:s("Designation Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Designation Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),s("Department")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:((a=t.department)==null?void 0:a.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),s("Branch")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:((i=(r=t.department)==null?void 0:r.branch)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.description})]})]})]})}export{k as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as c,h as x,j as n,k as d,F as o}from"./app-Dya84jp7.js";import{B as m}from"./briefcase-Btn3T9V4.js";import{B as p}from"./building-2-CASHKqFo.js";import{G as h}from"./git-branch-BmbBP1kF.js";import{L as g}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function k({designation:t}){var a,r,i;const{t:s}=c();return e.jsxs(x,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:l=>l.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:s("Designation Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Designation Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),s("Department")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:((a=t.department)==null?void 0:a.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),s("Branch")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:((i=(r=t.department)==null?void 0:r.branch)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.description})]})]})]})}export{k as default}; diff --git a/public/build/assets/view-DyPRc1fN.js b/public/build/assets/view-CBDIEe_U.js similarity index 91% rename from public/build/assets/view-DyPRc1fN.js rename to public/build/assets/view-CBDIEe_U.js index e68110744..c0a517e6f 100644 --- a/public/build/assets/view-DyPRc1fN.js +++ b/public/build/assets/view-CBDIEe_U.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as m,h as r,j as n,k as x}from"./app-CfhhiFAk.js";import{U as l}from"./user-C37aWgZX.js";import{M as d}from"./mail-CGIE7ZEy.js";import{L as c}from"./lock-By6rMOj7.js";import{C as o}from"./calendar-CfUpdaK5.js";import{S as p}from"./shield-check-Ca-zuQJC.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function k({record:s}){var i;const{t}=m();return e.jsxs(r,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(l,{className:"h-5 w-5 text-primary"})}),e.jsx(x,{className:"text-xl font-semibold",children:t("User Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Email")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.email||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Joined")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.created_at?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Roles")]}),e.jsx("div",{className:"mt-2 flex flex-wrap gap-2",children:s.roles&&s.roles.length>0?s.roles.map(a=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10",children:a.label||a.name},a.id)):e.jsx("p",{className:"text-sm text-gray-500",children:t("No roles assigned")})})]})]})]})}export{k as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as m,h as r,j as n,k as x}from"./app-Dya84jp7.js";import{U as l}from"./user-77BPqA3J.js";import{M as d}from"./mail-Cha_PX4q.js";import{L as c}from"./lock-DaHvMEII.js";import{C as o}from"./calendar-DuRYaSj5.js";import{S as p}from"./shield-check-CGAYPEyR.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function k({record:s}){var i;const{t}=m();return e.jsxs(r,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(l,{className:"h-5 w-5 text-primary"})}),e.jsx(x,{className:"text-xl font-semibold",children:t("User Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Email")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.email||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.status==="active"?t("Active"):t("Inactive")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Joined")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:s.created_at?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Roles")]}),e.jsx("div",{className:"mt-2 flex flex-wrap gap-2",children:s.roles&&s.roles.length>0?s.roles.map(a=>e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10",children:a.label||a.name},a.id)):e.jsx("p",{className:"text-sm text-gray-500",children:t("No roles assigned")})})]})]})]})}export{k as default}; diff --git a/public/build/assets/view-DXMFTn3s.js b/public/build/assets/view-CIsuARGL.js similarity index 94% rename from public/build/assets/view-DXMFTn3s.js rename to public/build/assets/view-CIsuARGL.js index 9093c52d7..086ab6f05 100644 --- a/public/build/assets/view-DXMFTn3s.js +++ b/public/build/assets/view-CIsuARGL.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as g,h,j,k as f,F as r,g as x}from"./app-CfhhiFAk.js";import{C as m}from"./calendar-days-CiPhwZgb.js";import{U as u}from"./user-C37aWgZX.js";import{T as y}from"./tag-JSZ9YmZg.js";import{H as N}from"./hash-BdwQ_IPO.js";import{E as p}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({leaveApplication:s}){var l,n,i,d,c;const{t}=g(),o=a=>{switch(a){case"approved":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"rejected":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";default:return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20"}};return e.jsxs(h,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(f,{className:"text-xl font-semibold",children:t("Leave Application Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.employee)==null?void 0:l.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Leave Type")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[((n=s.leave_type)==null?void 0:n.color)&&e.jsx("div",{className:"w-3 h-3 rounded-full shrink-0"}),e.jsx("p",{className:"text-sm font-medium text-gray-900",children:((i=s.leave_type)==null?void 0:i.name)||"-"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("End Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.end_date?((c=window.appSettings)==null?void 0:c.formatDateTimeSimple(s.end_date,!1))||s.end_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Total Days")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:s.total_days||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${o(s.status)}`,children:s.status||"-"})})]})]}),s.attachment&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Attachment")]}),e.jsxs("a",{href:x(s.attachment),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:x(s.attachment),alt:t("Attachment"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(p,{className:"h-6 w-6 text-white"})})]})]})}),s.reason&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason})]}),s.manager_comments&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Manager Comments")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.manager_comments})]})]})]})}export{F as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as g,h,j,k as f,F as r,g as x}from"./app-Dya84jp7.js";import{C as m}from"./calendar-days-CURbwGg4.js";import{U as u}from"./user-77BPqA3J.js";import{T as y}from"./tag-Bq7fLwM4.js";import{H as N}from"./hash-CHQJ9wMw.js";import{E as p}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({leaveApplication:s}){var l,n,i,d,c;const{t}=g(),o=a=>{switch(a){case"approved":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"rejected":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";default:return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20"}};return e.jsxs(h,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(f,{className:"text-xl font-semibold",children:t("Leave Application Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.employee)==null?void 0:l.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Leave Type")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[((n=s.leave_type)==null?void 0:n.color)&&e.jsx("div",{className:"w-3 h-3 rounded-full shrink-0"}),e.jsx("p",{className:"text-sm font-medium text-gray-900",children:((i=s.leave_type)==null?void 0:i.name)||"-"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("End Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.end_date?((c=window.appSettings)==null?void 0:c.formatDateTimeSimple(s.end_date,!1))||s.end_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Total Days")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:s.total_days||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${o(s.status)}`,children:s.status||"-"})})]})]}),s.attachment&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Attachment")]}),e.jsxs("a",{href:x(s.attachment),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:x(s.attachment),alt:t("Attachment"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(p,{className:"h-6 w-6 text-white"})})]})]})}),s.reason&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason})]}),s.manager_comments&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Manager Comments")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.manager_comments})]})]})]})}export{F as default}; diff --git a/public/build/assets/view-BFjj0TjT.js b/public/build/assets/view-CNymHwlr.js similarity index 93% rename from public/build/assets/view-BFjj0TjT.js rename to public/build/assets/view-CNymHwlr.js index aa37dadfd..609b67c8c 100644 --- a/public/build/assets/view-BFjj0TjT.js +++ b/public/build/assets/view-CNymHwlr.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as y,h as w,j as b,k,F as d}from"./app-CfhhiFAk.js";import{M as g,T as p,b as u,L as l}from"./leaflet-ChJqBZBV.js";import{C as n}from"./clock-CwFdn-oy.js";import{U as v}from"./user-C37aWgZX.js";import{C as S}from"./calendar-CfUpdaK5.js";import{L as D}from"./log-in-DDjMW0xI.js";import{M as h}from"./map-pin-BEMjKB1T.js";import{F as f}from"./fingerprint-DTUiU2wR.js";import{M as j}from"./monitor-CnIEqEUy.js";import{L as M}from"./log-out-XdMMCWfW.js";import{T}from"./triangle-alert-DGWTh17w.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";l.Icon.Default.prototype._getIconUrl||(l.Icon.Default.prototype._getIconUrl=function(){},l.Icon.Default.mergeOptions({iconRetinaUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon-2x.png",iconUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png",shadowUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-shadow.png"}));function W({record:t}){var i,r,m,o,c,x;const{t:s}=y(),_=a=>{switch(a){case"present":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"absent":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";case"half_day":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"on_leave":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"holiday":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}},N=a=>{switch(a){case"present":return s("Present");case"absent":return s("Absent");case"half_day":return s("Half Day");case"on_leave":return s("On Leave");case"holiday":return s("Holiday");default:return a}};return e.jsxs(w,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(n,{className:"h-5 w-5 text-primary"})}),e.jsx(k,{className:"text-xl font-semibold",children:s("Attendance Record Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),s("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=t.employee)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4"}),s("Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.date?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t.date,!1))||t.date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Shift")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=t.shift)==null?void 0:m.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Status")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2 flex-wrap",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${_(t.status)}`,children:N(t.status)}),t.leave_type&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-indigo-50 text-indigo-700 ring-1 ring-inset ring-indigo-600/20",children:t.leave_type.name}),t.is_late&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20",children:s("Late")}),t.is_early_departure&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20",children:s("Early Departure")})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(D,{className:"h-4 w-4"}),s("Clock In")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.clock_in?((o=window.appSettings)==null?void 0:o.formatTime(t.clock_in))||t.clock_in:"-"}),t.clock_in_latitude&&t.clock_in_longitude&&e.jsxs("div",{className:"mt-2",children:[e.jsx("div",{className:"h-[120px] w-full rounded-md border border-gray-300 overflow-hidden z-0",children:e.jsxs(g,{center:[t.clock_in_latitude,t.clock_in_longitude],zoom:14,scrollWheelZoom:!1,style:{height:"100%",width:"100%",zIndex:0},children:[e.jsx(p,{attribution:'© OpenStreetMap',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),e.jsx(u,{position:[t.clock_in_latitude,t.clock_in_longitude]})]})}),e.jsxs("a",{href:`https://www.google.com/maps?q=${t.clock_in_latitude},${t.clock_in_longitude}`,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-blue-600 hover:underline mt-1 inline-flex items-center gap-1",children:[e.jsx(h,{className:"h-3 w-3"})," ",s("Open in Google Maps")]})]}),t.clock_in_source&&e.jsxs("div",{className:"text-xs text-gray-500 mt-1 flex items-center gap-1",children:[t.clock_in_source==="zkteco"?e.jsx(f,{className:"h-3 w-3"}):e.jsx(j,{className:"h-3 w-3"}),s("Source"),": ",e.jsx("span",{className:"uppercase",children:t.clock_in_source})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(M,{className:"h-4 w-4"}),s("Clock Out")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.clock_out?((c=window.appSettings)==null?void 0:c.formatTime(t.clock_out))||t.clock_out:"-"}),t.clock_out_latitude&&t.clock_out_longitude&&e.jsxs("div",{className:"mt-2",children:[e.jsx("div",{className:"h-[120px] w-full rounded-md border border-gray-300 overflow-hidden z-0",children:e.jsxs(g,{center:[t.clock_out_latitude,t.clock_out_longitude],zoom:14,scrollWheelZoom:!1,style:{height:"100%",width:"100%",zIndex:0},children:[e.jsx(p,{attribution:'© OpenStreetMap',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),e.jsx(u,{position:[t.clock_out_latitude,t.clock_out_longitude]})]})}),e.jsxs("a",{href:`https://www.google.com/maps?q=${t.clock_out_latitude},${t.clock_out_longitude}`,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-blue-600 hover:underline mt-1 inline-flex items-center gap-1",children:[e.jsx(h,{className:"h-3 w-3"})," ",s("Open in Google Maps")]})]}),t.clock_out_source&&e.jsxs("div",{className:"text-xs text-gray-500 mt-1 flex items-center gap-1",children:[t.clock_out_source==="zkteco"?e.jsx(f,{className:"h-3 w-3"}):e.jsx(j,{className:"h-3 w-3"}),s("Source"),": ",e.jsx("span",{className:"uppercase",children:t.clock_out_source})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Total Hours")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[Number(t.total_hours||0).toFixed(2),"h"]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(T,{className:"h-4 w-4"}),s("Overtime")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[Number(t.overtime_hours||0).toFixed(2),"h",t.overtime_amount>0&&e.jsxs("span",{className:"ml-2 text-xs text-gray-500",children:["(",(x=window.appSettings)==null?void 0:x.formatCurrency(t.overtime_amount),")"]})]})]})]}),t.notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.notes})]})]})]})}export{W as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as y,h as w,j as b,k,F as d}from"./app-Dya84jp7.js";import{M as g,T as p,b as u,L as l}from"./leaflet-ChJqBZBV.js";import{C as n}from"./clock-LnEFQ-vK.js";import{U as v}from"./user-77BPqA3J.js";import{C as S}from"./calendar-DuRYaSj5.js";import{L as D}from"./log-in-3L4UHGsD.js";import{M as h}from"./map-pin-DFWKFR9c.js";import{F as f}from"./fingerprint-aH6d8cFa.js";import{M as j}from"./monitor-BYgqmcKD.js";import{L as M}from"./log-out-M0Vyot5_.js";import{T}from"./triangle-alert-CpPzdeiH.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";l.Icon.Default.prototype._getIconUrl||(l.Icon.Default.prototype._getIconUrl=function(){},l.Icon.Default.mergeOptions({iconRetinaUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon-2x.png",iconUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png",shadowUrl:"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-shadow.png"}));function W({record:t}){var i,r,m,o,c,x;const{t:s}=y(),_=a=>{switch(a){case"present":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"absent":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";case"half_day":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"on_leave":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"holiday":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}},N=a=>{switch(a){case"present":return s("Present");case"absent":return s("Absent");case"half_day":return s("Half Day");case"on_leave":return s("On Leave");case"holiday":return s("Holiday");default:return a}};return e.jsxs(w,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(n,{className:"h-5 w-5 text-primary"})}),e.jsx(k,{className:"text-xl font-semibold",children:s("Attendance Record Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),s("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=t.employee)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4"}),s("Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.date?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(t.date,!1))||t.date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Shift")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=t.shift)==null?void 0:m.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Status")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2 flex-wrap",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${_(t.status)}`,children:N(t.status)}),t.leave_type&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-indigo-50 text-indigo-700 ring-1 ring-inset ring-indigo-600/20",children:t.leave_type.name}),t.is_late&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20",children:s("Late")}),t.is_early_departure&&e.jsx("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20",children:s("Early Departure")})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(D,{className:"h-4 w-4"}),s("Clock In")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.clock_in?((o=window.appSettings)==null?void 0:o.formatTime(t.clock_in))||t.clock_in:"-"}),t.clock_in_latitude&&t.clock_in_longitude&&e.jsxs("div",{className:"mt-2",children:[e.jsx("div",{className:"h-[120px] w-full rounded-md border border-gray-300 overflow-hidden z-0",children:e.jsxs(g,{center:[t.clock_in_latitude,t.clock_in_longitude],zoom:14,scrollWheelZoom:!1,style:{height:"100%",width:"100%",zIndex:0},children:[e.jsx(p,{attribution:'© OpenStreetMap',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),e.jsx(u,{position:[t.clock_in_latitude,t.clock_in_longitude]})]})}),e.jsxs("a",{href:`https://www.google.com/maps?q=${t.clock_in_latitude},${t.clock_in_longitude}`,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-blue-600 hover:underline mt-1 inline-flex items-center gap-1",children:[e.jsx(h,{className:"h-3 w-3"})," ",s("Open in Google Maps")]})]}),t.clock_in_source&&e.jsxs("div",{className:"text-xs text-gray-500 mt-1 flex items-center gap-1",children:[t.clock_in_source==="zkteco"?e.jsx(f,{className:"h-3 w-3"}):e.jsx(j,{className:"h-3 w-3"}),s("Source"),": ",e.jsx("span",{className:"uppercase",children:t.clock_in_source})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(M,{className:"h-4 w-4"}),s("Clock Out")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.clock_out?((c=window.appSettings)==null?void 0:c.formatTime(t.clock_out))||t.clock_out:"-"}),t.clock_out_latitude&&t.clock_out_longitude&&e.jsxs("div",{className:"mt-2",children:[e.jsx("div",{className:"h-[120px] w-full rounded-md border border-gray-300 overflow-hidden z-0",children:e.jsxs(g,{center:[t.clock_out_latitude,t.clock_out_longitude],zoom:14,scrollWheelZoom:!1,style:{height:"100%",width:"100%",zIndex:0},children:[e.jsx(p,{attribution:'© OpenStreetMap',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),e.jsx(u,{position:[t.clock_out_latitude,t.clock_out_longitude]})]})}),e.jsxs("a",{href:`https://www.google.com/maps?q=${t.clock_out_latitude},${t.clock_out_longitude}`,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-blue-600 hover:underline mt-1 inline-flex items-center gap-1",children:[e.jsx(h,{className:"h-3 w-3"})," ",s("Open in Google Maps")]})]}),t.clock_out_source&&e.jsxs("div",{className:"text-xs text-gray-500 mt-1 flex items-center gap-1",children:[t.clock_out_source==="zkteco"?e.jsx(f,{className:"h-3 w-3"}):e.jsx(j,{className:"h-3 w-3"}),s("Source"),": ",e.jsx("span",{className:"uppercase",children:t.clock_out_source})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Total Hours")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[Number(t.total_hours||0).toFixed(2),"h"]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(T,{className:"h-4 w-4"}),s("Overtime")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[Number(t.overtime_hours||0).toFixed(2),"h",t.overtime_amount>0&&e.jsxs("span",{className:"ml-2 text-xs text-gray-500",children:["(",(x=window.appSettings)==null?void 0:x.formatCurrency(t.overtime_amount),")"]})]})]})]}),t.notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.notes})]})]})]})}export{W as default}; diff --git a/public/build/assets/view-DvTZXpYh.js b/public/build/assets/view-CPJephlz.js similarity index 95% rename from public/build/assets/view-DvTZXpYh.js rename to public/build/assets/view-CPJephlz.js index bafe4aa38..25eb44014 100644 --- a/public/build/assets/view-DvTZXpYh.js +++ b/public/build/assets/view-CPJephlz.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as y,h as N,j as b,k as _,F as v}from"./app-CfhhiFAk.js";import{D as f}from"./dollar-sign-DYXFWWsE.js";import{U as w}from"./user-C37aWgZX.js";import{C as u}from"./calendar-CfUpdaK5.js";import{L as i}from"./layers-Dl67CG9c.js";import{L as S}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function I({record:s}){var l,m,n,x,r,d,c,p,g;const{t}=y();return e.jsxs(N,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(f,{className:"h-5 w-5 text-primary"})}),e.jsx(_,{className:"text-xl font-semibold",children:t("Employee Salary Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.employee)==null?void 0:l.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Basic Salary")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono text-green-600",children:(m=window.appSettings)==null?void 0:m.formatCurrency(s.basic_salary||0)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Daily Salary (Est. 26 Days)")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:(n=window.appSettings)==null?void 0:n.formatCurrency((s.basic_salary||0)/26)})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Hourly Salary (Est. 8 Hours)")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:(x=window.appSettings)==null?void 0:x.formatCurrency((s.basic_salary||0)/26/8)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.is_active?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.is_active?t("Active"):t("Inactive")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Created At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.created_at?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Salary Components")]}),e.jsx("div",{className:"mt-2",children:((d=s.component_names)==null?void 0:d.length)>0?e.jsx("div",{className:"flex flex-wrap gap-2",children:s.component_names.map((a,o)=>{var h;const j=((h=s.component_types)==null?void 0:h[o])==="earning";return e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${j?"bg-green-50 text-green-700 ring-green-700/10":"bg-red-50 text-red-700 ring-red-700/10"}`,children:a},o)})}):e.jsx("p",{className:"text-sm font-medium text-gray-900",children:t("Basic only")})})]}),(s.sss_fixed||s.sss_computed||s.philhealth_fixed||s.philhealth_computed||s.pagibig_fixed||s.pagibig_computed)&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Statutory Contributions")]}),e.jsxs("div",{className:"mt-2 text-sm font-medium text-gray-900 grid grid-cols-3 gap-2",children:[(s.sss_fixed||s.sss_computed)&&e.jsxs("div",{className:"p-2 border rounded-md bg-amber-50",children:[e.jsxs("span",{className:"block text-xs text-amber-700",children:["SSS ",s.sss_fixed?"(Fixed)":"(Auto Bracket)"]}),e.jsx("span",{children:(c=window.appSettings)==null?void 0:c.formatCurrency(s.sss_fixed||s.sss_computed)})]}),(s.philhealth_fixed||s.philhealth_computed)&&e.jsxs("div",{className:"p-2 border rounded-md bg-blue-50",children:[e.jsxs("span",{className:"block text-xs text-blue-700",children:["PhilHealth ",s.philhealth_fixed?"(Fixed)":"(Auto Bracket)"]}),e.jsx("span",{children:(p=window.appSettings)==null?void 0:p.formatCurrency(s.philhealth_fixed||s.philhealth_computed)})]}),(s.pagibig_fixed||s.pagibig_computed)&&e.jsxs("div",{className:"p-2 border rounded-md bg-purple-50",children:[e.jsxs("span",{className:"block text-xs text-purple-700",children:["Pag-IBIG ",s.pagibig_fixed?"(Fixed)":"(Auto Bracket)"]}),e.jsx("span",{children:(g=window.appSettings)==null?void 0:g.formatCurrency(s.pagibig_fixed||s.pagibig_computed)})]})]})]}),s.notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),t("Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notes})]})]})]})}export{I as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as y,h as N,j as b,k as _,F as v}from"./app-Dya84jp7.js";import{D as f}from"./dollar-sign-DH2Tc178.js";import{U as w}from"./user-77BPqA3J.js";import{C as u}from"./calendar-DuRYaSj5.js";import{L as i}from"./layers-OK3_pizJ.js";import{L as S}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function I({record:s}){var l,m,n,x,r,d,c,p,g;const{t}=y();return e.jsxs(N,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(b,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(f,{className:"h-5 w-5 text-primary"})}),e.jsx(_,{className:"text-xl font-semibold",children:t("Employee Salary Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.employee)==null?void 0:l.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Basic Salary")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono text-green-600",children:(m=window.appSettings)==null?void 0:m.formatCurrency(s.basic_salary||0)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Daily Salary (Est. 26 Days)")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:(n=window.appSettings)==null?void 0:n.formatCurrency((s.basic_salary||0)/26)})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Hourly Salary (Est. 8 Hours)")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:(x=window.appSettings)==null?void 0:x.formatCurrency((s.basic_salary||0)/26/8)})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.is_active?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s.is_active?t("Active"):t("Inactive")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Created At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.created_at?((r=window.appSettings)==null?void 0:r.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Salary Components")]}),e.jsx("div",{className:"mt-2",children:((d=s.component_names)==null?void 0:d.length)>0?e.jsx("div",{className:"flex flex-wrap gap-2",children:s.component_names.map((a,o)=>{var h;const j=((h=s.component_types)==null?void 0:h[o])==="earning";return e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${j?"bg-green-50 text-green-700 ring-green-700/10":"bg-red-50 text-red-700 ring-red-700/10"}`,children:a},o)})}):e.jsx("p",{className:"text-sm font-medium text-gray-900",children:t("Basic only")})})]}),(s.sss_fixed||s.sss_computed||s.philhealth_fixed||s.philhealth_computed||s.pagibig_fixed||s.pagibig_computed)&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),t("Statutory Contributions")]}),e.jsxs("div",{className:"mt-2 text-sm font-medium text-gray-900 grid grid-cols-3 gap-2",children:[(s.sss_fixed||s.sss_computed)&&e.jsxs("div",{className:"p-2 border rounded-md bg-amber-50",children:[e.jsxs("span",{className:"block text-xs text-amber-700",children:["SSS ",s.sss_fixed?"(Fixed)":"(Auto Bracket)"]}),e.jsx("span",{children:(c=window.appSettings)==null?void 0:c.formatCurrency(s.sss_fixed||s.sss_computed)})]}),(s.philhealth_fixed||s.philhealth_computed)&&e.jsxs("div",{className:"p-2 border rounded-md bg-blue-50",children:[e.jsxs("span",{className:"block text-xs text-blue-700",children:["PhilHealth ",s.philhealth_fixed?"(Fixed)":"(Auto Bracket)"]}),e.jsx("span",{children:(p=window.appSettings)==null?void 0:p.formatCurrency(s.philhealth_fixed||s.philhealth_computed)})]}),(s.pagibig_fixed||s.pagibig_computed)&&e.jsxs("div",{className:"p-2 border rounded-md bg-purple-50",children:[e.jsxs("span",{className:"block text-xs text-purple-700",children:["Pag-IBIG ",s.pagibig_fixed?"(Fixed)":"(Auto Bracket)"]}),e.jsx("span",{children:(g=window.appSettings)==null?void 0:g.formatCurrency(s.pagibig_fixed||s.pagibig_computed)})]})]})]}),s.notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),t("Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notes})]})]})]})}export{I as default}; diff --git a/public/build/assets/view-Wi8QiEXn.js b/public/build/assets/view-CRyrgb0P.js similarity index 94% rename from public/build/assets/view-Wi8QiEXn.js rename to public/build/assets/view-CRyrgb0P.js index 2fc670177..38b5b0d95 100644 --- a/public/build/assets/view-Wi8QiEXn.js +++ b/public/build/assets/view-CRyrgb0P.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as x,h as o,j as g,F as a,k as p}from"./app-CfhhiFAk.js";import{C as h}from"./calendar-days-CiPhwZgb.js";import{U as j}from"./user-C37aWgZX.js";import{C as f}from"./clock-CwFdn-oy.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function C({minute:s}){var i,l,n,m,c;const{t}=x(),d=r=>{switch(r){case"Discussion":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Decision":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Action Item":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";case"Note":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20"}};return e.jsxs(o,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(g,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(p,{className:"text-xl font-semibold",children:t("Meeting Minute Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Topic")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.topic||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ${d(s.type)}`,children:t(s.type)||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Meeting")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.meeting)==null?void 0:i.title)||"-"}),((l=s.meeting)==null?void 0:l.meeting_date)&&e.jsx("p",{className:"text-xs text-gray-500",children:((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.meeting.meeting_date,!1))||s.meeting.meeting_date})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Recorded By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.recorder)==null?void 0:m.name)||"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Recorded At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.recorded_at?((c=window.appSettings)==null?void 0:c.formatDateTimeSimple(s.recorded_at,!1))||s.recorded_at:"-"})]})}),s.content&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Content")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.content})]})]})]})}export{C as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as x,h as o,j as g,F as a,k as p}from"./app-Dya84jp7.js";import{C as h}from"./calendar-days-CURbwGg4.js";import{U as j}from"./user-77BPqA3J.js";import{C as f}from"./clock-LnEFQ-vK.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function C({minute:s}){var i,l,n,m,c;const{t}=x(),d=r=>{switch(r){case"Discussion":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Decision":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Action Item":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";case"Note":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20"}};return e.jsxs(o,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(g,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(p,{className:"text-xl font-semibold",children:t("Meeting Minute Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Topic")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.topic||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ${d(s.type)}`,children:t(s.type)||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Meeting")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.meeting)==null?void 0:i.title)||"-"}),((l=s.meeting)==null?void 0:l.meeting_date)&&e.jsx("p",{className:"text-xs text-gray-500",children:((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.meeting.meeting_date,!1))||s.meeting.meeting_date})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Recorded By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.recorder)==null?void 0:m.name)||"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Recorded At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.recorded_at?((c=window.appSettings)==null?void 0:c.formatDateTimeSimple(s.recorded_at,!1))||s.recorded_at:"-"})]})}),s.content&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Content")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.content})]})]})]})}export{C as default}; diff --git a/public/build/assets/view-DeKROn_z.js b/public/build/assets/view-CbD001QY.js similarity index 92% rename from public/build/assets/view-DeKROn_z.js rename to public/build/assets/view-CbD001QY.js index 62aeb833e..3e27d7587 100644 --- a/public/build/assets/view-DeKROn_z.js +++ b/public/build/assets/view-CbD001QY.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as p,h as g,j as h,k as j,F as d}from"./app-CfhhiFAk.js";import{P as f}from"./progress-CJ4ij2ij.js";import{T as r}from"./target-Pzb9zAUp.js";import{U as u}from"./user-C37aWgZX.js";import{T as N}from"./tag-JSZ9YmZg.js";import{C as y}from"./crosshair-D1Bk7XgB.js";import{C as c}from"./calendar-CfUpdaK5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BFT_C1pH.js";function k({goal:s}){var i,m,l,n;const{t}=p(),x=a=>{switch(a){case"in_progress":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}},o=a=>{switch(a){case"not_started":return t("Not Started");case"in_progress":return t("In Progress");case"completed":return t("Completed");default:return a}};return e.jsxs(g,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(h,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(r,{className:"h-5 w-5 text-primary"})}),e.jsx(j,{className:"text-xl font-semibold",children:t("Employee Goal Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Goal Title")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.title||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.employee)==null?void 0:i.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Goal Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.goal_type)==null?void 0:m.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Target")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.target||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("End Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.end_date?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.end_date,!1))||s.end_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${x(s.status)}`,children:o(s.status)})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Progress")]}),e.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[e.jsx(f,{value:s.progress||0,className:"h-2 flex-1"}),e.jsxs("span",{className:"text-xs font-medium text-gray-600 shrink-0",children:[s.progress||0,"%"]})]})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{k as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as p,h as g,j as h,k as j,F as d}from"./app-Dya84jp7.js";import{P as f}from"./progress-NbCMYaUz.js";import{T as r}from"./target-BPl0Bsow.js";import{U as u}from"./user-77BPqA3J.js";import{T as N}from"./tag-Bq7fLwM4.js";import{C as y}from"./crosshair-CURvK9L2.js";import{C as c}from"./calendar-DuRYaSj5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BFT_C1pH.js";function k({goal:s}){var i,m,l,n;const{t}=p(),x=a=>{switch(a){case"in_progress":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}},o=a=>{switch(a){case"not_started":return t("Not Started");case"in_progress":return t("In Progress");case"completed":return t("Completed");default:return a}};return e.jsxs(g,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(h,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(r,{className:"h-5 w-5 text-primary"})}),e.jsx(j,{className:"text-xl font-semibold",children:t("Employee Goal Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Goal Title")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.title||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.employee)==null?void 0:i.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Goal Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.goal_type)==null?void 0:m.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Target")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.target||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("End Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.end_date?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.end_date,!1))||s.end_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${x(s.status)}`,children:o(s.status)})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Progress")]}),e.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[e.jsx(f,{value:s.progress||0,className:"h-2 flex-1"}),e.jsxs("span",{className:"text-xs font-medium text-gray-600 shrink-0",children:[s.progress||0,"%"]})]})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{k as default}; diff --git a/public/build/assets/view-ZfV1RGFO.js b/public/build/assets/view-Cn1iIsjc.js similarity index 93% rename from public/build/assets/view-ZfV1RGFO.js rename to public/build/assets/view-Cn1iIsjc.js index 8555982bb..e9c08325e 100644 --- a/public/build/assets/view-ZfV1RGFO.js +++ b/public/build/assets/view-Cn1iIsjc.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as d,h as x,j as o,k as g,F as l}from"./app-CfhhiFAk.js";import{C as m}from"./clipboard-list-DA9ABN1f.js";import{U as p}from"./user-C37aWgZX.js";import{H as h}from"./hash-BdwQ_IPO.js";import{U as j}from"./user-check-eTf_WVUH.js";import{C as f}from"./calendar-CfUpdaK5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function S({assessment:s}){var r,i;const{t}=d(),n=a=>{switch(a){case"Pass":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Fail":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Pending":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},c=s.score&&s.max_score?Math.round(s.score/s.max_score*100):null;return e.jsxs(x,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(o,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(g,{className:"text-xl font-semibold",children:t("Candidate Assessment Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Candidate")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.candidate?`${s.candidate.first_name} ${s.candidate.last_name}`:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Assessment Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.assessment_name||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Score")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.score&&s.max_score?e.jsxs(e.Fragment,{children:[s.score,"/",s.max_score," ",e.jsxs("span",{className:"text-xs text-gray-500",children:["(",c,"%)"]})]}):"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${n(s.pass_fail_status)}`,children:t(s.pass_fail_status)||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Conducted By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((r=s.conductor)==null?void 0:r.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Assessment Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.assessment_date?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.assessment_date,!1))||s.assessment_date:"-"})]})]}),s.comments&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Comments")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.comments})]})]})]})}export{S as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as d,h as x,j as o,k as g,F as l}from"./app-Dya84jp7.js";import{C as m}from"./clipboard-list-C-5sn1G-.js";import{U as p}from"./user-77BPqA3J.js";import{H as h}from"./hash-CHQJ9wMw.js";import{U as j}from"./user-check-DC9_V3Qo.js";import{C as f}from"./calendar-DuRYaSj5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function S({assessment:s}){var r,i;const{t}=d(),n=a=>{switch(a){case"Pass":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Fail":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Pending":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},c=s.score&&s.max_score?Math.round(s.score/s.max_score*100):null;return e.jsxs(x,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(o,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(g,{className:"text-xl font-semibold",children:t("Candidate Assessment Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Candidate")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.candidate?`${s.candidate.first_name} ${s.candidate.last_name}`:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),t("Assessment Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.assessment_name||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Score")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.score&&s.max_score?e.jsxs(e.Fragment,{children:[s.score,"/",s.max_score," ",e.jsxs("span",{className:"text-xs text-gray-500",children:["(",c,"%)"]})]}):"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${n(s.pass_fail_status)}`,children:t(s.pass_fail_status)||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Conducted By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((r=s.conductor)==null?void 0:r.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Assessment Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.assessment_date?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.assessment_date,!1))||s.assessment_date:"-"})]})]}),s.comments&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Comments")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.comments})]})]})]})}export{S as default}; diff --git a/public/build/assets/view-BM_2i5d_.js b/public/build/assets/view-D19m-Fnd.js similarity index 95% rename from public/build/assets/view-BM_2i5d_.js rename to public/build/assets/view-D19m-Fnd.js index 6b58d1cf9..9b31eb9b9 100644 --- a/public/build/assets/view-BM_2i5d_.js +++ b/public/build/assets/view-D19m-Fnd.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as g,h as p,j,ai as u,k as N,F as h}from"./app-CfhhiFAk.js";import{S as f}from"./sun-C2oQ_gMz.js";import{C as a}from"./clock-CwFdn-oy.js";import{T as x}from"./timer-Cqv8ulB-.js";import{L as _}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({shift:t}){var n,l,d,c;const{t:s}=g(),r=(()=>{if(!t.start_time||!t.end_time)return null;const m=new Date(`2000-01-01 ${t.start_time}`),i=new Date(`2000-01-01 ${t.end_time}`);i<=m&&i.setDate(i.getDate()+1);const o=(i.getTime()-m.getTime())/(1e3*60);return Math.max(0,(o-(t.break_duration||0))/60).toFixed(1)})();return e.jsxs(p,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:m=>m.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:`p-2 rounded-lg ${t.is_night_shift?"bg-slate-100":"bg-yellow-50"}`,children:t.is_night_shift?e.jsx(u,{className:"h-5 w-5 text-slate-600"}):e.jsx(f,{className:"h-5 w-5 text-yellow-600"})}),e.jsx(N,{className:"text-xl font-semibold",children:s("Shift Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Shift Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.is_night_shift?"bg-slate-100 text-slate-700 ring-slate-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:t.is_night_shift?s("Night Shift"):s("Day Shift")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Start Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.start_time?((n=window.appSettings)==null?void 0:n.formatTime(t.start_time))||t.start_time:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("End Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.end_time?((l=window.appSettings)==null?void 0:l.formatTime(t.end_time))||t.end_time:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Break Duration")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.break_duration," ",s("minutes")]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Grace Period")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-blue-600 font-mono",children:[t.grace_period," ",s("minutes")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Working Hours")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-green-600 font-mono",children:r?`${r}h`:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(_,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),(t.break_start_time||t.break_end_time)&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Break Start Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.break_start_time?((d=window.appSettings)==null?void 0:d.formatTime(t.break_start_time))||t.break_start_time:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Break End Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.break_end_time?((c=window.appSettings)==null?void 0:c.formatTime(t.break_end_time))||t.break_end_time:"-"})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{F as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as g,h as p,j,ai as u,k as N,F as h}from"./app-Dya84jp7.js";import{S as f}from"./sun-D8i-fCJe.js";import{C as a}from"./clock-LnEFQ-vK.js";import{T as x}from"./timer-BTqoLJiz.js";import{L as _}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({shift:t}){var n,l,d,c;const{t:s}=g(),r=(()=>{if(!t.start_time||!t.end_time)return null;const m=new Date(`2000-01-01 ${t.start_time}`),i=new Date(`2000-01-01 ${t.end_time}`);i<=m&&i.setDate(i.getDate()+1);const o=(i.getTime()-m.getTime())/(1e3*60);return Math.max(0,(o-(t.break_duration||0))/60).toFixed(1)})();return e.jsxs(p,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:m=>m.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:`p-2 rounded-lg ${t.is_night_shift?"bg-slate-100":"bg-yellow-50"}`,children:t.is_night_shift?e.jsx(u,{className:"h-5 w-5 text-slate-600"}):e.jsx(f,{className:"h-5 w-5 text-yellow-600"})}),e.jsx(N,{className:"text-xl font-semibold",children:s("Shift Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Shift Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.is_night_shift?"bg-slate-100 text-slate-700 ring-slate-600/20":"bg-yellow-50 text-yellow-700 ring-yellow-600/20"}`,children:t.is_night_shift?s("Night Shift"):s("Day Shift")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Start Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.start_time?((n=window.appSettings)==null?void 0:n.formatTime(t.start_time))||t.start_time:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("End Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.end_time?((l=window.appSettings)==null?void 0:l.formatTime(t.end_time))||t.end_time:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Break Duration")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:[t.break_duration," ",s("minutes")]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Grace Period")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-blue-600 font-mono",children:[t.grace_period," ",s("minutes")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Working Hours")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-green-600 font-mono",children:r?`${r}h`:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(_,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),(t.break_start_time||t.break_end_time)&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Break Start Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.break_start_time?((d=window.appSettings)==null?void 0:d.formatTime(t.break_start_time))||t.break_start_time:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Break End Time")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:t.break_end_time?((c=window.appSettings)==null?void 0:c.formatTime(t.break_end_time))||t.break_end_time:"-"})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{F as default}; diff --git a/public/build/assets/view-65Z7yBvm.js b/public/build/assets/view-D9KBamBj.js similarity index 96% rename from public/build/assets/view-65Z7yBvm.js rename to public/build/assets/view-D9KBamBj.js index a996f4a0a..3eca5d1a5 100644 --- a/public/build/assets/view-65Z7yBvm.js +++ b/public/build/assets/view-D9KBamBj.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as y,h as j,j as f,k as N,F as r,g as o}from"./app-CfhhiFAk.js";import{u as b}from"./use-initials-BK4eRgYY.js";import{T as v}from"./triangle-alert-DGWTh17w.js";import{T as w}from"./tag-JSZ9YmZg.js";import{U as _}from"./user-C37aWgZX.js";import{C as g}from"./calendar-CfUpdaK5.js";import{E as D}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function P({warning:s}){var l,i,m,n,c,d,x;const{t}=y(),p=b(),h=a=>{switch(a){case"verbal":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"written":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"final":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}},u=a=>{switch(a){case"issued":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"acknowledged":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"expired":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}};return e.jsxs(j,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(f,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-yellow-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-yellow-600"})}),e.jsx(N,{className:"text-xl font-semibold",children:t("Warning Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(l=s.employee)!=null&&l.avatar?e.jsx("img",{src:s.employee.avatar,alt:(i=s.employee)==null?void 0:i.name,className:"h-full w-full object-cover"}):p(((m=s.employee)==null?void 0:m.name)||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500",children:t("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((n=s.employee)==null?void 0:n.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${h(s.severity)}`,children:s.severity||"-"}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${u(s.status)}`,children:s.status||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Subject")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.subject||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Warning Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.warning_type||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(_,{className:"h-4 w-4"}),t("Warning By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((c=s.warned_by)==null?void 0:c.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Warning Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.warning_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.warning_date,!1))||s.warning_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Expiry Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.expiry_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.expiry_date,!1))||s.expiry_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Improvement Plan")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s.has_improvement_plan?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:s.has_improvement_plan?t("Yes"):t("No")})})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:o(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:o(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(D,{className:"h-6 w-6 text-white"})})]})]})}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.employee_response&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Employee Response")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.employee_response})]})]})]})}export{P as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as y,h as j,j as f,k as N,F as r,g as o}from"./app-Dya84jp7.js";import{u as b}from"./use-initials-BK4eRgYY.js";import{T as v}from"./triangle-alert-CpPzdeiH.js";import{T as w}from"./tag-Bq7fLwM4.js";import{U as _}from"./user-77BPqA3J.js";import{C as g}from"./calendar-DuRYaSj5.js";import{E as D}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function P({warning:s}){var l,i,m,n,c,d,x;const{t}=y(),p=b(),h=a=>{switch(a){case"verbal":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"written":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"final":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}},u=a=>{switch(a){case"issued":return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20";case"acknowledged":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"expired":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}};return e.jsxs(j,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(f,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-yellow-100 rounded-lg",children:e.jsx(v,{className:"h-5 w-5 text-yellow-600"})}),e.jsx(N,{className:"text-xl font-semibold",children:t("Warning Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(l=s.employee)!=null&&l.avatar?e.jsx("img",{src:s.employee.avatar,alt:(i=s.employee)==null?void 0:i.name,className:"h-full w-full object-cover"}):p(((m=s.employee)==null?void 0:m.name)||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500",children:t("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((n=s.employee)==null?void 0:n.name)||"-"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${h(s.severity)}`,children:s.severity||"-"}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${u(s.status)}`,children:s.status||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Subject")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.subject||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Warning Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.warning_type||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(_,{className:"h-4 w-4"}),t("Warning By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((c=s.warned_by)==null?void 0:c.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Warning Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.warning_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.warning_date,!1))||s.warning_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Expiry Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.expiry_date?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.expiry_date,!1))||s.expiry_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Improvement Plan")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s.has_improvement_plan?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:s.has_improvement_plan?t("Yes"):t("No")})})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:o(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:o(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(D,{className:"h-6 w-6 text-white"})})]})]})}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.employee_response&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Employee Response")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.employee_response})]})]})]})}export{P as default}; diff --git a/public/build/assets/view-BJnRcI3c.js b/public/build/assets/view-DCegI9ZM.js similarity index 94% rename from public/build/assets/view-BJnRcI3c.js rename to public/build/assets/view-DCegI9ZM.js index fcd51bc75..e5bb307f3 100644 --- a/public/build/assets/view-BJnRcI3c.js +++ b/public/build/assets/view-DCegI9ZM.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as u,j as f,k as j,F as l,g as x}from"./app-CfhhiFAk.js";import{u as y}from"./use-initials-BK4eRgYY.js";import{L as N}from"./log-out-XdMMCWfW.js";import{C as o}from"./calendar-CfUpdaK5.js";import{C as b}from"./clock-CwFdn-oy.js";import{E as v}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function I({resignation:s}){var r,i,m,c,d,n;const{t}=h(),p=y(),g=a=>{switch(a){case"approved":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"rejected":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";case"completed":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";default:return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20"}};return e.jsxs(u,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(f,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(N,{className:"h-5 w-5 text-primary"})}),e.jsx(j,{className:"text-xl font-semibold",children:t("Resignation Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(r=s.employee)!=null&&r.avatar?e.jsx("img",{src:s.employee.avatar,alt:(i=s.employee)==null?void 0:i.name,className:"h-full w-full object-cover"}):p(((m=s.employee)==null?void 0:m.name)||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500",children:t("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((c=s.employee)==null?void 0:c.name)||"-"})]})]}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${g(s.status)}`,children:s.status||"-"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Resignation Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.resignation_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.resignation_date,!1))||s.resignation_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Last Working Day")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.last_working_day?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.last_working_day,!1))||s.last_working_day:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Notice Period")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notice_period||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason||"-"})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:x(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:x(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(v,{className:"h-6 w-6 text-white"})})]})]})}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.exit_feedback&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Exit Feedback")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.exit_feedback})]})]})]})}export{I as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as u,j as f,k as j,F as l,g as x}from"./app-Dya84jp7.js";import{u as y}from"./use-initials-BK4eRgYY.js";import{L as N}from"./log-out-M0Vyot5_.js";import{C as o}from"./calendar-DuRYaSj5.js";import{C as b}from"./clock-LnEFQ-vK.js";import{E as v}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function I({resignation:s}){var r,i,m,c,d,n;const{t}=h(),p=y(),g=a=>{switch(a){case"approved":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"rejected":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20";case"completed":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";default:return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20"}};return e.jsxs(u,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(f,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(N,{className:"h-5 w-5 text-primary"})}),e.jsx(j,{className:"text-xl font-semibold",children:t("Resignation Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(r=s.employee)!=null&&r.avatar?e.jsx("img",{src:s.employee.avatar,alt:(i=s.employee)==null?void 0:i.name,className:"h-full w-full object-cover"}):p(((m=s.employee)==null?void 0:m.name)||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500",children:t("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((c=s.employee)==null?void 0:c.name)||"-"})]})]}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${g(s.status)}`,children:s.status||"-"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Resignation Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.resignation_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.resignation_date,!1))||s.resignation_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Last Working Day")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.last_working_day?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.last_working_day,!1))||s.last_working_day:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Notice Period")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notice_period||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason||"-"})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:x(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:x(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(v,{className:"h-6 w-6 text-white"})})]})]})}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.exit_feedback&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Exit Feedback")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.exit_feedback})]})]})]})}export{I as default}; diff --git a/public/build/assets/view-Bp5k9w6L.js b/public/build/assets/view-DG9-mnmR.js similarity index 93% rename from public/build/assets/view-Bp5k9w6L.js rename to public/build/assets/view-DG9-mnmR.js index ded5788a1..16c24371c 100644 --- a/public/build/assets/view-Bp5k9w6L.js +++ b/public/build/assets/view-DG9-mnmR.js @@ -1 +1 @@ -import{j as s}from"./ui-Z445SNHD.js";import{u as l,h as x,j as n,k as c,F as o}from"./app-CfhhiFAk.js";import{C as j}from"./calendar-days-CiPhwZgb.js";import{U as p}from"./user-C37aWgZX.js";import{T as h}from"./tag-JSZ9YmZg.js";import{H as m}from"./hash-BdwQ_IPO.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function D({leaveBalance:e}){var a,r,i;const{t}=l();return s.jsxs(x,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:d=>d.preventDefault(),children:[s.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:s.jsx(j,{className:"h-5 w-5 text-primary"})}),s.jsx(c,{className:"text-xl font-semibold",children:t("Leave Balance Details")})]})}),s.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(p,{className:"h-4 w-4"}),t("Employee")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((a=e.employee)==null?void 0:a.name)||"-"})]}),s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(h,{className:"h-4 w-4"}),t("Leave Type")]}),s.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[((r=e.leave_type)==null?void 0:r.color)&&s.jsx("div",{className:"w-3 h-3 rounded-full shrink-0"}),s.jsx("p",{className:"text-sm font-medium text-gray-900",children:((i=e.leave_type)==null?void 0:i.name)||"-"})]})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Year")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:e.year||"-"})]}),s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Allocated Days")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-blue-600 font-mono",children:e.allocated_days??"-"})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Used Days")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-red-600 font-mono",children:e.used_days??"-"})]}),s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Remaining Days")]}),s.jsx("p",{className:`mt-1 text-sm font-medium font-mono ${e.remaining_days>0?"text-green-600":"text-gray-500"}`,children:e.remaining_days??"-"})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Carried Forward")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-purple-600 font-mono",children:e.carried_forward??"-"})]}),s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Manual Adjustment")]}),s.jsxs("p",{className:`mt-1 text-sm font-medium font-mono ${e.manual_adjustment>0?"text-green-600":e.manual_adjustment<0?"text-red-600":"text-gray-500"}`,children:[e.manual_adjustment>0?"+":"",e.manual_adjustment??"-"]})]})]}),e.adjustment_reason&&s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(o,{className:"h-4 w-4"}),t("Adjustment Reason")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:e.adjustment_reason})]})]})]})}export{D as default}; +import{j as s}from"./ui-Z445SNHD.js";import{u as l,h as x,j as n,k as c,F as o}from"./app-Dya84jp7.js";import{C as j}from"./calendar-days-CURbwGg4.js";import{U as p}from"./user-77BPqA3J.js";import{T as h}from"./tag-Bq7fLwM4.js";import{H as m}from"./hash-CHQJ9wMw.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function D({leaveBalance:e}){var a,r,i;const{t}=l();return s.jsxs(x,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:d=>d.preventDefault(),children:[s.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:s.jsx(j,{className:"h-5 w-5 text-primary"})}),s.jsx(c,{className:"text-xl font-semibold",children:t("Leave Balance Details")})]})}),s.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(p,{className:"h-4 w-4"}),t("Employee")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((a=e.employee)==null?void 0:a.name)||"-"})]}),s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(h,{className:"h-4 w-4"}),t("Leave Type")]}),s.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[((r=e.leave_type)==null?void 0:r.color)&&s.jsx("div",{className:"w-3 h-3 rounded-full shrink-0"}),s.jsx("p",{className:"text-sm font-medium text-gray-900",children:((i=e.leave_type)==null?void 0:i.name)||"-"})]})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Year")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono",children:e.year||"-"})]}),s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Allocated Days")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-blue-600 font-mono",children:e.allocated_days??"-"})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Used Days")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-red-600 font-mono",children:e.used_days??"-"})]}),s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Remaining Days")]}),s.jsx("p",{className:`mt-1 text-sm font-medium font-mono ${e.remaining_days>0?"text-green-600":"text-gray-500"}`,children:e.remaining_days??"-"})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Carried Forward")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-purple-600 font-mono",children:e.carried_forward??"-"})]}),s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(m,{className:"h-4 w-4"}),t("Manual Adjustment")]}),s.jsxs("p",{className:`mt-1 text-sm font-medium font-mono ${e.manual_adjustment>0?"text-green-600":e.manual_adjustment<0?"text-red-600":"text-gray-500"}`,children:[e.manual_adjustment>0?"+":"",e.manual_adjustment??"-"]})]})]}),e.adjustment_reason&&s.jsxs("div",{children:[s.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[s.jsx(o,{className:"h-4 w-4"}),t("Adjustment Reason")]}),s.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:e.adjustment_reason})]})]})]})}export{D as default}; diff --git a/public/build/assets/view-VLHZOIBe.js b/public/build/assets/view-DJgeOs6W.js similarity index 92% rename from public/build/assets/view-VLHZOIBe.js rename to public/build/assets/view-DJgeOs6W.js index cd8027dcb..47b774354 100644 --- a/public/build/assets/view-VLHZOIBe.js +++ b/public/build/assets/view-DJgeOs6W.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as r,h as n,j as l,k as m,F as x}from"./app-CfhhiFAk.js";import{S as a}from"./square-check-big-BCxRi7D4.js";import{H as d}from"./hash-BdwQ_IPO.js";import{L as c}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function b({checklist:s}){const{t}=r();return e.jsxs(n,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:i=>i.preventDefault(),children:[e.jsx(l,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(m,{className:"text-xl font-semibold",children:t("Onboarding Checklist Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Checklist Name")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:s.name||"-"}),s.is_default&&e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:t("Default")})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Items")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:s.checklist_items_count||0})})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t(s.status==="active"?"Active":"Inactive")})})]})}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{b as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as r,h as n,j as l,k as m,F as x}from"./app-Dya84jp7.js";import{S as a}from"./square-check-big-CpQiidmr.js";import{H as d}from"./hash-CHQJ9wMw.js";import{L as c}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function b({checklist:s}){const{t}=r();return e.jsxs(n,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:i=>i.preventDefault(),children:[e.jsx(l,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(m,{className:"text-xl font-semibold",children:t("Onboarding Checklist Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Checklist Name")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:s.name||"-"}),s.is_default&&e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:t("Default")})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Items")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:s.checklist_items_count||0})})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t(s.status==="active"?"Active":"Inactive")})})]})}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{b as default}; diff --git a/public/build/assets/view-CN8Y1143.js b/public/build/assets/view-DO2SNXYS.js similarity index 90% rename from public/build/assets/view-CN8Y1143.js rename to public/build/assets/view-DO2SNXYS.js index 7365af71e..2432f8d60 100644 --- a/public/build/assets/view-CN8Y1143.js +++ b/public/build/assets/view-DO2SNXYS.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as l,h as r,j as x,k as d}from"./app-CfhhiFAk.js";import{G as c}from"./git-branch-B0hRoz5x.js";import{B as a}from"./building-2-D7cTdbG2.js";import{M as n}from"./mail-CGIE7ZEy.js";import{P as o}from"./phone-B_MwJBjY.js";import{L as g}from"./lock-By6rMOj7.js";import{M as m}from"./map-pin-BEMjKB1T.js";import{G as p}from"./globe-DePi6jyA.js";import{H as j}from"./hash-BdwQ_IPO.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({branch:t}){const{t:s}=l();return e.jsxs(r,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:i=>i.preventDefault(),children:[e.jsx(x,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(c,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:s("Branch Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Branch Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Email")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.email||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Phone")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.phone||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("City")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.city||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("State/Province")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.state||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),s("Country")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.country||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),s("ZIP/Postal Code")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.zip_code||"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Address")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.address||"-"})]})]})]})}export{M as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as l,h as r,j as x,k as d}from"./app-Dya84jp7.js";import{G as c}from"./git-branch-BmbBP1kF.js";import{B as a}from"./building-2-CASHKqFo.js";import{M as n}from"./mail-Cha_PX4q.js";import{P as o}from"./phone-3MnRoAYu.js";import{L as g}from"./lock-DaHvMEII.js";import{M as m}from"./map-pin-DFWKFR9c.js";import{G as p}from"./globe-5zZ4IsmY.js";import{H as j}from"./hash-CHQJ9wMw.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({branch:t}){const{t:s}=l();return e.jsxs(r,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:i=>i.preventDefault(),children:[e.jsx(x,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(c,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:s("Branch Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Branch Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Email")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.email||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Phone")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.phone||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("City")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.city||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("State/Province")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.state||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),s("Country")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.country||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),s("ZIP/Postal Code")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.zip_code||"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Address")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.address||"-"})]})]})]})}export{M as default}; diff --git a/public/build/assets/view-BmsX62N2.js b/public/build/assets/view-DU_9UxWY.js similarity index 93% rename from public/build/assets/view-BmsX62N2.js rename to public/build/assets/view-DU_9UxWY.js index 8113d83ad..5c16e5957 100644 --- a/public/build/assets/view-BmsX62N2.js +++ b/public/build/assets/view-DU_9UxWY.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as r,h as m,j as l,k as n,F as x}from"./app-CfhhiFAk.js";import{L as a}from"./layout-grid-C6MkbbLQ.js";import{L as c}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function f({category:t}){const{t:s}=r();return e.jsxs(m,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:i=>i.preventDefault(),children:[e.jsx(l,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(n,{className:"text-xl font-semibold",children:s("Indicator Category Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Category Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{f as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as r,h as m,j as l,k as n,F as x}from"./app-Dya84jp7.js";import{L as a}from"./layout-grid-3SDzvK8c.js";import{L as c}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function f({category:t}){const{t:s}=r();return e.jsxs(m,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:i=>i.preventDefault(),children:[e.jsx(l,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(n,{className:"text-xl font-semibold",children:s("Indicator Category Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Category Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{f as default}; diff --git a/public/build/assets/view-D_VJF0vQ.js b/public/build/assets/view-DnoEz16W.js similarity index 92% rename from public/build/assets/view-D_VJF0vQ.js rename to public/build/assets/view-DnoEz16W.js index 1ab2e6875..b98866b0e 100644 --- a/public/build/assets/view-D_VJF0vQ.js +++ b/public/build/assets/view-DnoEz16W.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as t,h as l,j as n,k as m}from"./app-CfhhiFAk.js";import{C as i}from"./circle-help-qSaafQwl.js";import{C as x}from"./circle-check-big-C5Cqj7-2.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function u({customQuestion:r}){const{t:s}=t();return e.jsxs(l,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(m,{className:"text-xl font-semibold",children:s("Custom Question Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Required")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r.required==1?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:r.required==1?s("Yes"):s("No")})})]})}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s("Question")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:r.question||"-"})]})]})]})}export{u as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as t,h as l,j as n,k as m}from"./app-Dya84jp7.js";import{C as i}from"./circle-help-DYANbqeK.js";import{C as x}from"./circle-check-big-Cju4ilPH.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function u({customQuestion:r}){const{t:s}=t();return e.jsxs(l,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(m,{className:"text-xl font-semibold",children:s("Custom Question Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Required")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${r.required==1?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:r.required==1?s("Yes"):s("No")})})]})}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s("Question")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:r.question||"-"})]})]})]})}export{u as default}; diff --git a/public/build/assets/view-KQwkZ-26.js b/public/build/assets/view-Dpd8svdo.js similarity index 91% rename from public/build/assets/view-KQwkZ-26.js rename to public/build/assets/view-Dpd8svdo.js index c9f986607..3079ebe36 100644 --- a/public/build/assets/view-KQwkZ-26.js +++ b/public/build/assets/view-Dpd8svdo.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as l,h as m,j as c,k as n,F as x}from"./app-CfhhiFAk.js";import{B as i}from"./building-2-D7cTdbG2.js";import{G as d}from"./git-branch-B0hRoz5x.js";import{L as o}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function b({department:t}){var a;const{t:s}=l();return e.jsxs(m,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(c,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(n,{className:"text-xl font-semibold",children:s("Department Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s("Department Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Branch")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:((a=t.branch)==null?void 0:a.name)||"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.description})]})]})]})}export{b as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as l,h as m,j as c,k as n,F as x}from"./app-Dya84jp7.js";import{B as i}from"./building-2-CASHKqFo.js";import{G as d}from"./git-branch-BmbBP1kF.js";import{L as o}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function b({department:t}){var a;const{t:s}=l();return e.jsxs(m,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(c,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(n,{className:"text-xl font-semibold",children:s("Department Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s("Department Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Branch")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:((a=t.branch)==null?void 0:a.name)||"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.description})]})]})]})}export{b as default}; diff --git a/public/build/assets/view-DvxHpVLL.js b/public/build/assets/view-DpfMHBLp.js similarity index 92% rename from public/build/assets/view-DvxHpVLL.js rename to public/build/assets/view-DpfMHBLp.js index 19996bac3..25dadaa9a 100644 --- a/public/build/assets/view-DvxHpVLL.js +++ b/public/build/assets/view-DpfMHBLp.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as j,h,j as f,k as u,F as d}from"./app-CfhhiFAk.js";import{C as N}from"./circle-check-big-C5Cqj7-2.js";import{C as y}from"./circle-x-C1aiFLrz.js";import{C as v}from"./circle-alert-64DrdoHv.js";import{C as c}from"./clock-CwFdn-oy.js";import{U as p}from"./user-C37aWgZX.js";import{C as a}from"./calendar-CfUpdaK5.js";import{B as b}from"./briefcase-CLRn8zVu.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function H({record:s}){var m,l,n,r,x;const{t}=j(),i={pending:"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"},g=s.status==="approved"?N:s.status==="rejected"?y:v;return e.jsxs(h,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:o=>o.preventDefault(),children:[e.jsx(f,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(c,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Time Entry Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.employee)==null?void 0:m.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.date?((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.date,!1))||s.date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Hours")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono text-blue-600",children:[s.hours,"h"]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Project")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s.project?"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:s.project||t("No Project")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${i[s.status]||i.pending}`,children:s.status?s.status.charAt(0).toUpperCase()+s.status.slice(1):"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Submitted On")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.created_at?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),s.status!=="pending"&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Approved By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((r=s.approver)==null?void 0:r.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Approved At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.approved_at?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.approved_at,!1))||s.approved_at:"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description||"-"})]}),s.manager_comments&&s.status!=="pending"&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Manager Comments")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 italic",children:['"',s.manager_comments,'"']})]})]})]})}export{H as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as j,h,j as f,k as u,F as d}from"./app-Dya84jp7.js";import{C as N}from"./circle-check-big-Cju4ilPH.js";import{C as y}from"./circle-x-Dg5wGIim.js";import{C as v}from"./circle-alert-Ddjg2Qwp.js";import{C as c}from"./clock-LnEFQ-vK.js";import{U as p}from"./user-77BPqA3J.js";import{C as a}from"./calendar-DuRYaSj5.js";import{B as b}from"./briefcase-Btn3T9V4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function H({record:s}){var m,l,n,r,x;const{t}=j(),i={pending:"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20",approved:"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20",rejected:"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"},g=s.status==="approved"?N:s.status==="rejected"?y:v;return e.jsxs(h,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:o=>o.preventDefault(),children:[e.jsx(f,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(c,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Time Entry Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.employee)==null?void 0:m.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.date?((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.date,!1))||s.date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Hours")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 font-mono text-blue-600",children:[s.hours,"h"]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Project")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${s.project?"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20":"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}`,children:s.project||t("No Project")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Status")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${i[s.status]||i.pending}`,children:s.status?s.status.charAt(0).toUpperCase()+s.status.slice(1):"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Submitted On")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.created_at?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.created_at,!1))||s.created_at:"-"})]})]}),s.status!=="pending"&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),t("Approved By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((r=s.approver)==null?void 0:r.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Approved At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.approved_at?((x=window.appSettings)==null?void 0:x.formatDateTimeSimple(s.approved_at,!1))||s.approved_at:"-"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description||"-"})]}),s.manager_comments&&s.status!=="pending"&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),t("Manager Comments")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900 italic",children:['"',s.manager_comments,'"']})]})]})]})}export{H as default}; diff --git a/public/build/assets/view-Beyn6LUJ.js b/public/build/assets/view-DsifVeP-.js similarity index 93% rename from public/build/assets/view-Beyn6LUJ.js rename to public/build/assets/view-DsifVeP-.js index 6c4c2f6b2..07d02d0ea 100644 --- a/public/build/assets/view-Beyn6LUJ.js +++ b/public/build/assets/view-DsifVeP-.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as b,h as f,j as N,k as u,F as r,g as p}from"./app-CfhhiFAk.js";import{A as y}from"./arrow-right-left-oZQEgmVQ.js";import{G as v}from"./git-branch-B0hRoz5x.js";import{A as l}from"./arrow-right-0WTHrq3r.js";import{B as w}from"./building-2-D7cTdbG2.js";import{B as _}from"./briefcase-CLRn8zVu.js";import{C as h}from"./calendar-CfUpdaK5.js";import{L as T}from"./lock-By6rMOj7.js";import{E as D}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function O({transfer:s}){var i,m,d,c,n,x,o,g;const{t}=b(),j=a=>{switch(a){case"approved":return"bg-green-100 text-green-800 border-green-200";case"rejected":return"bg-red-100 text-red-800 border-red-200";default:return"bg-yellow-100 text-yellow-800 border-yellow-200"}};return e.jsxs(f,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(N,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(y,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Transfer Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[(s.from_branch_id||s.to_branch_id)&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-medium text-gray-500 flex items-center gap-2 mb-2",children:[e.jsx(v,{className:"h-3.5 w-3.5"}),t("Branch Transfer")]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-red-50 border-red-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("From")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((i=s.from_branch)==null?void 0:i.name)||"-"})]}),e.jsx(l,{className:"h-4 w-4 text-primary shrink-0"}),e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-green-50 border-green-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("To")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((m=s.to_branch)==null?void 0:m.name)||"-"})]})]})]}),(s.from_department_id||s.to_department_id)&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-medium text-gray-500 flex items-center gap-2 mb-2",children:[e.jsx(w,{className:"h-3.5 w-3.5"}),t("Department Transfer")]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-red-50 border-red-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("From")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((d=s.from_department)==null?void 0:d.name)||"-"})]}),e.jsx(l,{className:"h-4 w-4 text-primary shrink-0"}),e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-green-50 border-green-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("To")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((c=s.to_department)==null?void 0:c.name)||"-"})]})]})]}),(s.from_designation_id||s.to_designation_id)&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-medium text-gray-500 flex items-center gap-2 mb-2",children:[e.jsx(_,{className:"h-3.5 w-3.5"}),t("Designation Transfer")]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-red-50 border-red-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("From")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((n=s.from_designation)==null?void 0:n.name)||"-"})]}),e.jsx(l,{className:"h-4 w-4 text-primary shrink-0"}),e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-green-50 border-green-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("To")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((x=s.to_designation)==null?void 0:x.name)||"-"})]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Transfer Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.transfer_date?((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(s.transfer_date,!1))||s.transfer_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Effective Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.effective_date?((g=window.appSettings)==null?void 0:g.formatDateTimeSimple(s.effective_date,!1))||s.effective_date:"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(T,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium border capitalize ${j(s.status)}`,children:s.status||"-"})})]})}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:p(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:p(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(D,{className:"h-6 w-6 text-white"})})]})]})}),s.reason&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason})]}),s.notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notes})]})]})]})}export{O as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as b,h as f,j as N,k as u,F as r,g as p}from"./app-Dya84jp7.js";import{A as y}from"./arrow-right-left-rbTR90Mc.js";import{G as v}from"./git-branch-BmbBP1kF.js";import{A as l}from"./arrow-right-BHW--AGU.js";import{B as w}from"./building-2-CASHKqFo.js";import{B as _}from"./briefcase-Btn3T9V4.js";import{C as h}from"./calendar-DuRYaSj5.js";import{L as T}from"./lock-DaHvMEII.js";import{E as D}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function O({transfer:s}){var i,m,d,c,n,x,o,g;const{t}=b(),j=a=>{switch(a){case"approved":return"bg-green-100 text-green-800 border-green-200";case"rejected":return"bg-red-100 text-red-800 border-red-200";default:return"bg-yellow-100 text-yellow-800 border-yellow-200"}};return e.jsxs(f,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(N,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(y,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Transfer Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[(s.from_branch_id||s.to_branch_id)&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-medium text-gray-500 flex items-center gap-2 mb-2",children:[e.jsx(v,{className:"h-3.5 w-3.5"}),t("Branch Transfer")]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-red-50 border-red-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("From")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((i=s.from_branch)==null?void 0:i.name)||"-"})]}),e.jsx(l,{className:"h-4 w-4 text-primary shrink-0"}),e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-green-50 border-green-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("To")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((m=s.to_branch)==null?void 0:m.name)||"-"})]})]})]}),(s.from_department_id||s.to_department_id)&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-medium text-gray-500 flex items-center gap-2 mb-2",children:[e.jsx(w,{className:"h-3.5 w-3.5"}),t("Department Transfer")]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-red-50 border-red-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("From")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((d=s.from_department)==null?void 0:d.name)||"-"})]}),e.jsx(l,{className:"h-4 w-4 text-primary shrink-0"}),e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-green-50 border-green-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("To")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((c=s.to_department)==null?void 0:c.name)||"-"})]})]})]}),(s.from_designation_id||s.to_designation_id)&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-medium text-gray-500 flex items-center gap-2 mb-2",children:[e.jsx(_,{className:"h-3.5 w-3.5"}),t("Designation Transfer")]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-red-50 border-red-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("From")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((n=s.from_designation)==null?void 0:n.name)||"-"})]}),e.jsx(l,{className:"h-4 w-4 text-primary shrink-0"}),e.jsxs("div",{className:"flex-1 p-3 rounded-lg border bg-green-50 border-green-100",children:[e.jsx("p",{className:"text-xs text-gray-500 mb-1",children:t("To")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((x=s.to_designation)==null?void 0:x.name)||"-"})]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Transfer Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.transfer_date?((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(s.transfer_date,!1))||s.transfer_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Effective Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.effective_date?((g=window.appSettings)==null?void 0:g.formatDateTimeSimple(s.effective_date,!1))||s.effective_date:"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(T,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium border capitalize ${j(s.status)}`,children:s.status||"-"})})]})}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:p(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:p(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(D,{className:"h-6 w-6 text-white"})})]})]})}),s.reason&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason})]}),s.notes&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Notes")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notes})]})]})]})}export{O as default}; diff --git a/public/build/assets/view-D26r40SC.js b/public/build/assets/view-DtJK-ZFP.js similarity index 94% rename from public/build/assets/view-D26r40SC.js rename to public/build/assets/view-DtJK-ZFP.js index 56151aa18..5a3f14a60 100644 --- a/public/build/assets/view-D26r40SC.js +++ b/public/build/assets/view-DtJK-ZFP.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as m,h as l,j as n,F as i,k as d}from"./app-CfhhiFAk.js";import{L as x}from"./lock-By6rMOj7.js";import{C as c}from"./calendar-CfUpdaK5.js";import{C as a}from"./clock-CwFdn-oy.js";import{R as o}from"./refresh-cw-DWorkL8J.js";import{H as g}from"./hash-BdwQ_IPO.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function _({contractType:t}){const{t:s}=m();return e.jsxs(l,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:s("Contract Type Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s("Contract Type Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s(t.status==="active"?"Active":"Inactive")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Duration")]}),e.jsx("p",{className:"mt-1",children:t.default_duration_months?e.jsxs("span",{className:"text-sm font-medium text-gray-900",children:[t.default_duration_months," ",s("months")]}):e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:s("Permanent")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Probation Period")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900",children:[t.probation_period_months??"-"," ",t.probation_period_months!==void 0?s("months"):""]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Notice Period")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900",children:[t.notice_period_days??"-"," ",t.notice_period_days!==void 0?s("days"):""]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Renewable")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.is_renewable?"bg-green-50 text-green-700 ring-green-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:t.is_renewable?s("Yes"):s("No")})})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Contracts")]}),e.jsx("p",{className:"mt-1",children:e.jsxs("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:[t.contracts_count||0," ",s("contracts")]})})]})}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{_ as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as m,h as l,j as n,F as i,k as d}from"./app-Dya84jp7.js";import{L as x}from"./lock-DaHvMEII.js";import{C as c}from"./calendar-DuRYaSj5.js";import{C as a}from"./clock-LnEFQ-vK.js";import{R as o}from"./refresh-cw-D_C_cDSu.js";import{H as g}from"./hash-CHQJ9wMw.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function _({contractType:t}){const{t:s}=m();return e.jsxs(l,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:s("Contract Type Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s("Contract Type Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:s(t.status==="active"?"Active":"Inactive")})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Duration")]}),e.jsx("p",{className:"mt-1",children:t.default_duration_months?e.jsxs("span",{className:"text-sm font-medium text-gray-900",children:[t.default_duration_months," ",s("months")]}):e.jsx("span",{className:"inline-flex items-center rounded-md bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-600/20",children:s("Permanent")})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Probation Period")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900",children:[t.probation_period_months??"-"," ",t.probation_period_months!==void 0?s("months"):""]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Notice Period")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900",children:[t.notice_period_days??"-"," ",t.notice_period_days!==void 0?s("days"):""]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Renewable")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.is_renewable?"bg-green-50 text-green-700 ring-green-600/20":"bg-gray-50 text-gray-600 ring-gray-500/10"}`,children:t.is_renewable?s("Yes"):s("No")})})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Contracts")]}),e.jsx("p",{className:"mt-1",children:e.jsxs("span",{className:"inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10",children:[t.contracts_count||0," ",s("contracts")]})})]})}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{_ as default}; diff --git a/public/build/assets/view-BbFir-PT.js b/public/build/assets/view-DtjMRNVw.js similarity index 92% rename from public/build/assets/view-BbFir-PT.js rename to public/build/assets/view-DtjMRNVw.js index 4365758e1..20b6069aa 100644 --- a/public/build/assets/view-BbFir-PT.js +++ b/public/build/assets/view-DtjMRNVw.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as n,h as x,j as d,k as p,ac as o,g as r,F as h}from"./app-CfhhiFAk.js";import{T as g}from"./trophy-D1q7o3Ri.js";import{U as f}from"./user-C37aWgZX.js";import{T as j}from"./tag-JSZ9YmZg.js";import{C as y}from"./calendar-CfUpdaK5.js";import{G as u}from"./gift-DXGdvbnX.js";import{E as c}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({award:s}){var i,l,m;const{t}=n();return e.jsxs(x,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(d,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(g,{className:"h-5 w-5 text-primary"})}),e.jsx(p,{className:"text-xl font-semibold",children:t("Award Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.employee)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Award Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.award_type)==null?void 0:l.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Award Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.award_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.award_date,!1))||s.award_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Gift")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.gift||"-"})]})]}),(s.certificate||s.photo)&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.certificate&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Certificate")]}),e.jsxs("a",{href:r(s.certificate),target:"_blank",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:r(s.certificate),alt:t("Certificate"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(c,{className:"h-6 w-6 text-white"})})]})]}),s.photo&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Photo")]}),e.jsxs("a",{href:r(s.photo),target:"_blank",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:r(s.photo),alt:t("Photo"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(c,{className:"h-6 w-6 text-white"})})]})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{F as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as n,h as x,j as d,k as p,ac as o,g as r,F as h}from"./app-Dya84jp7.js";import{T as g}from"./trophy-BaZS8IUN.js";import{U as f}from"./user-77BPqA3J.js";import{T as j}from"./tag-Bq7fLwM4.js";import{C as y}from"./calendar-DuRYaSj5.js";import{G as u}from"./gift-CQwwB55q.js";import{E as c}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({award:s}){var i,l,m;const{t}=n();return e.jsxs(x,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(d,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(g,{className:"h-5 w-5 text-primary"})}),e.jsx(p,{className:"text-xl font-semibold",children:t("Award Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.employee)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Award Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((l=s.award_type)==null?void 0:l.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Award Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.award_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.award_date,!1))||s.award_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4"}),t("Gift")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.gift||"-"})]})]}),(s.certificate||s.photo)&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.certificate&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Certificate")]}),e.jsxs("a",{href:r(s.certificate),target:"_blank",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:r(s.certificate),alt:t("Certificate"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(c,{className:"h-6 w-6 text-white"})})]})]}),s.photo&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Photo")]}),e.jsxs("a",{href:r(s.photo),target:"_blank",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:r(s.photo),alt:t("Photo"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(c,{className:"h-6 w-6 text-white"})})]})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{F as default}; diff --git a/public/build/assets/view-CaBV2VCV.js b/public/build/assets/view-Dw61qhOk.js similarity index 93% rename from public/build/assets/view-CaBV2VCV.js rename to public/build/assets/view-Dw61qhOk.js index 1bad78bbf..1f08f3f53 100644 --- a/public/build/assets/view-CaBV2VCV.js +++ b/public/build/assets/view-Dw61qhOk.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as b,h as w,j as _,F as r,k as D}from"./app-CfhhiFAk.js";import{U as h}from"./user-C37aWgZX.js";import{C as j}from"./calendar-CfUpdaK5.js";import{C as f}from"./circle-check-big-C5Cqj7-2.js";import{C as N}from"./clock-CwFdn-oy.js";import{C as A}from"./circle-x-C1aiFLrz.js";import{T as C}from"./triangle-alert-DGWTh17w.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function R({acknowledgment:s}){var l,m,d,n,x,c,g,o,u,p;const{t}=b(),y=a=>{switch(a){case"Pending":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Acknowledged":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Overdue":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Exempted":return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},v=a=>{switch(a){case"Pending":return e.jsx(N,{className:"h-3 w-3"});case"Acknowledged":return e.jsx(f,{className:"h-3 w-3"});case"Overdue":return e.jsx(C,{className:"h-3 w-3"});case"Exempted":return e.jsx(A,{className:"h-3 w-3"});default:return e.jsx(N,{className:"h-3 w-3"})}},i=s.due_date&&new Date(s.due_date)a.preventDefault(),children:[e.jsx(_,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center text-white shrink-0",style:{backgroundColor:((m=(l=s.document)==null?void 0:l.category)==null?void 0:m.color)||"#3B82F6"},children:e.jsx(r,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx(D,{className:"text-xl font-semibold",children:t("Acknowledgment Details")}),((n=(d=s.document)==null?void 0:d.category)==null?void 0:n.name)&&e.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:s.document.category.name})]})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Document")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((x=s.document)==null?void 0:x.title)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((c=s.user)==null?void 0:c.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ${y(s.status)}`,children:[v(s.status),t(s.status)||"-"]})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Due Date")]}),e.jsxs("p",{className:`mt-1 text-sm font-medium ${i?"text-red-600":"text-gray-900"}`,children:[s.due_date?((g=window.appSettings)==null?void 0:g.formatDateTimeSimple(s.due_date,!1))||s.due_date:"-",i&&e.jsxs("span",{className:"ml-2 text-xs text-red-500",children:["(",t("Overdue"),")"]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Acknowledged At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.acknowledged_at?((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(s.acknowledged_at,!1))||s.acknowledged_at:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Assigned At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.assigned_at?((u=window.appSettings)==null?void 0:u.formatDateTimeSimple(s.assigned_at,!1))||s.assigned_at:"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Assigned By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((p=s.assigned_by)==null?void 0:p.name)||"-"})]})}),s.acknowledgment_note&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Acknowledgment Note")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.acknowledgment_note})]})]})]})}export{R as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as b,h as w,j as _,F as r,k as D}from"./app-Dya84jp7.js";import{U as h}from"./user-77BPqA3J.js";import{C as j}from"./calendar-DuRYaSj5.js";import{C as f}from"./circle-check-big-Cju4ilPH.js";import{C as N}from"./clock-LnEFQ-vK.js";import{C as A}from"./circle-x-Dg5wGIim.js";import{T as C}from"./triangle-alert-CpPzdeiH.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function R({acknowledgment:s}){var l,m,d,n,x,c,g,o,u,p;const{t}=b(),y=a=>{switch(a){case"Pending":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Acknowledged":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Overdue":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Exempted":return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},v=a=>{switch(a){case"Pending":return e.jsx(N,{className:"h-3 w-3"});case"Acknowledged":return e.jsx(f,{className:"h-3 w-3"});case"Overdue":return e.jsx(C,{className:"h-3 w-3"});case"Exempted":return e.jsx(A,{className:"h-3 w-3"});default:return e.jsx(N,{className:"h-3 w-3"})}},i=s.due_date&&new Date(s.due_date)a.preventDefault(),children:[e.jsx(_,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center text-white shrink-0",style:{backgroundColor:((m=(l=s.document)==null?void 0:l.category)==null?void 0:m.color)||"#3B82F6"},children:e.jsx(r,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx(D,{className:"text-xl font-semibold",children:t("Acknowledgment Details")}),((n=(d=s.document)==null?void 0:d.category)==null?void 0:n.name)&&e.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:s.document.category.name})]})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Document")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((x=s.document)==null?void 0:x.title)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Employee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((c=s.user)==null?void 0:c.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsxs("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ${y(s.status)}`,children:[v(s.status),t(s.status)||"-"]})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Due Date")]}),e.jsxs("p",{className:`mt-1 text-sm font-medium ${i?"text-red-600":"text-gray-900"}`,children:[s.due_date?((g=window.appSettings)==null?void 0:g.formatDateTimeSimple(s.due_date,!1))||s.due_date:"-",i&&e.jsxs("span",{className:"ml-2 text-xs text-red-500",children:["(",t("Overdue"),")"]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Acknowledged At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.acknowledged_at?((o=window.appSettings)==null?void 0:o.formatDateTimeSimple(s.acknowledged_at,!1))||s.acknowledged_at:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Assigned At")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.assigned_at?((u=window.appSettings)==null?void 0:u.formatDateTimeSimple(s.assigned_at,!1))||s.assigned_at:"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),t("Assigned By")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((p=s.assigned_by)==null?void 0:p.name)||"-"})]})}),s.acknowledgment_note&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4"}),t("Acknowledgment Note")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.acknowledgment_note})]})]})]})}export{R as default}; diff --git a/public/build/assets/view-BVCyb0_e.js b/public/build/assets/view-Dyr47ZtR.js similarity index 94% rename from public/build/assets/view-BVCyb0_e.js rename to public/build/assets/view-Dyr47ZtR.js index 0758d1b9b..271c51a75 100644 --- a/public/build/assets/view-BVCyb0_e.js +++ b/public/build/assets/view-Dyr47ZtR.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as o,h as p,j as u,k as h,F as g}from"./app-CfhhiFAk.js";import{U as c}from"./users-C4LpG59H.js";import{U as j}from"./user-C37aWgZX.js";import{C as f}from"./calendar-days-CiPhwZgb.js";import{C as y}from"./clock-CwFdn-oy.js";import{C as N}from"./circle-check-big-C5Cqj7-2.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function P({attendee:s}){var i,n,a,l,m;const{t}=o(),x=r=>{switch(r){case"Accepted":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Declined":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Tentative":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Pending":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},d=r=>{switch(r){case"Present":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Late":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Left Early":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";case"Not Attended":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}};return e.jsxs(p,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(u,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(c,{className:"h-5 w-5 text-primary"})}),e.jsx(h,{className:"text-xl font-semibold",children:t("Meeting Attendee Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Attendee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.user)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Attendance Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.type==="Required"?"bg-red-50 text-red-700 ring-red-600/10":"bg-blue-50 text-blue-700 ring-blue-600/20"}`,children:t(s.type)||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Meeting")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((n=s.meeting)==null?void 0:n.title)||"-"}),((a=s.meeting)==null?void 0:a.meeting_date)&&e.jsx("p",{className:"text-xs text-gray-500",children:((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.meeting.meeting_date,!1))||s.meeting.meeting_date})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("RSVP Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.rsvp_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.rsvp_date,!1))||s.rsvp_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("RSVP Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ${x(s.rsvp_status)}`,children:t(s.rsvp_status)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Attendance")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${d(s.attendance_status)}`,children:t(s.attendance_status)||"-"})})]})]}),s.decline_reason&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Decline Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.decline_reason})]})]})]})}export{P as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as o,h as p,j as u,k as h,F as g}from"./app-Dya84jp7.js";import{U as c}from"./users-BzCDZrS0.js";import{U as j}from"./user-77BPqA3J.js";import{C as f}from"./calendar-days-CURbwGg4.js";import{C as y}from"./clock-LnEFQ-vK.js";import{C as N}from"./circle-check-big-Cju4ilPH.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function P({attendee:s}){var i,n,a,l,m;const{t}=o(),x=r=>{switch(r){case"Accepted":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Declined":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Tentative":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Pending":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}},d=r=>{switch(r){case"Present":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Late":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Left Early":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";case"Not Attended":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}};return e.jsxs(p,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(u,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(c,{className:"h-5 w-5 text-primary"})}),e.jsx(h,{className:"text-xl font-semibold",children:t("Meeting Attendee Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),t("Attendee")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((i=s.user)==null?void 0:i.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Attendance Type")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.type==="Required"?"bg-red-50 text-red-700 ring-red-600/10":"bg-blue-50 text-blue-700 ring-blue-600/20"}`,children:t(s.type)||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Meeting")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((n=s.meeting)==null?void 0:n.title)||"-"}),((a=s.meeting)==null?void 0:a.meeting_date)&&e.jsx("p",{className:"text-xs text-gray-500",children:((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.meeting.meeting_date,!1))||s.meeting.meeting_date})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("RSVP Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.rsvp_date?((m=window.appSettings)==null?void 0:m.formatDateTimeSimple(s.rsvp_date,!1))||s.rsvp_date:"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("RSVP Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ${x(s.rsvp_status)}`,children:t(s.rsvp_status)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),t("Attendance")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${d(s.attendance_status)}`,children:t(s.attendance_status)||"-"})})]})]}),s.decline_reason&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Decline Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.decline_reason})]})]})]})}export{P as default}; diff --git a/public/build/assets/view-NP05V4-N.js b/public/build/assets/view-J15i8OQc.js similarity index 90% rename from public/build/assets/view-NP05V4-N.js rename to public/build/assets/view-J15i8OQc.js index 65a81c3c6..a1a8f7ce7 100644 --- a/public/build/assets/view-NP05V4-N.js +++ b/public/build/assets/view-J15i8OQc.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as x,h as c,j as n,k as d,B as o,F as h}from"./app-CfhhiFAk.js";import{B as i}from"./book-open-3qYfaEN0.js";import{C as p}from"./chart-no-axes-column-BrIh_iVD.js";import{G as j}from"./git-branch-B0hRoz5x.js";import{B as g}from"./building-2-D7cTdbG2.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function C({trainingType:s}){var m,l;const{t:a}=x();return e.jsxs(c,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:t=>t.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:a("Training Type Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),a("Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),a("Programs")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.training_programs_count||"0"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),a("Branch")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.branch)==null?void 0:m.name)||"-"})]})}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),a("Departments")]}),e.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:((l=s.departments)==null?void 0:l.length)>0?s.departments.map(t=>{var r;return e.jsxs(o,{variant:"outline",className:"flex flex-col items-start",children:[e.jsx("div",{className:"font-medium",children:t.name}),e.jsx("div",{className:"text-xs text-gray-500",children:((r=t.branch)==null?void 0:r.name)||"-"})]},t.id)}):e.jsx("p",{className:"text-sm font-medium text-gray-500",children:a("Departments Not Assigned")})})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),a("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{C as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as x,h as c,j as n,k as d,B as o,F as h}from"./app-Dya84jp7.js";import{B as i}from"./book-open-DIuydbp9.js";import{C as p}from"./chart-no-axes-column-BoCXnewH.js";import{G as j}from"./git-branch-BmbBP1kF.js";import{B as g}from"./building-2-CASHKqFo.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function C({trainingType:s}){var m,l;const{t:a}=x();return e.jsxs(c,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:t=>t.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:a("Training Type Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),a("Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),a("Programs")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.training_programs_count||"0"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),a("Branch")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((m=s.branch)==null?void 0:m.name)||"-"})]})}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),a("Departments")]}),e.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:((l=s.departments)==null?void 0:l.length)>0?s.departments.map(t=>{var r;return e.jsxs(o,{variant:"outline",className:"flex flex-col items-start",children:[e.jsx("div",{className:"font-medium",children:t.name}),e.jsx("div",{className:"text-xs text-gray-500",children:((r=t.branch)==null?void 0:r.name)||"-"})]},t.id)}):e.jsx("p",{className:"text-sm font-medium text-gray-500",children:a("Departments Not Assigned")})})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),a("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{C as default}; diff --git a/public/build/assets/view-Bc9HsFvk.js b/public/build/assets/view-JE4sQ_qW.js similarity index 91% rename from public/build/assets/view-Bc9HsFvk.js rename to public/build/assets/view-JE4sQ_qW.js index 57a2b62f4..78886fe63 100644 --- a/public/build/assets/view-Bc9HsFvk.js +++ b/public/build/assets/view-JE4sQ_qW.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as i,h as l,j as n,k as x,F as c}from"./app-CfhhiFAk.js";import{C as m}from"./chart-no-axes-column-BrIh_iVD.js";import{L as d}from"./layout-grid-C6MkbbLQ.js";import{R as o}from"./ruler-BouWNjvC.js";import{T as g}from"./target-Pzb9zAUp.js";import{L as p}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function T({indicator:t}){var a;const{t:s}=i();return e.jsxs(l,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(x,{className:"text-xl font-semibold",children:s("Indicator Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Indicator Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Category")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((a=t.category)==null?void 0:a.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Measurement Unit")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.measurement_unit||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Target Value")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.target_value||"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{T as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as i,h as l,j as n,k as x,F as c}from"./app-Dya84jp7.js";import{C as m}from"./chart-no-axes-column-BoCXnewH.js";import{L as d}from"./layout-grid-3SDzvK8c.js";import{R as o}from"./ruler-BmcStEpw.js";import{T as g}from"./target-BPl0Bsow.js";import{L as p}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function T({indicator:t}){var a;const{t:s}=i();return e.jsxs(l,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:r=>r.preventDefault(),children:[e.jsx(n,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(m,{className:"h-5 w-5 text-primary"})}),e.jsx(x,{className:"text-xl font-semibold",children:s("Indicator Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),s("Indicator Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Category")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((a=t.category)==null?void 0:a.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Measurement Unit")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.measurement_unit||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),s("Target Value")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.target_value||"-"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),s("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${t.status==="active"?"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20":"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/20"}`,children:t.status==="active"?s("Active"):s("Inactive")})})]})}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:t.description})]})]})]})}export{T as default}; diff --git a/public/build/assets/view-BTXCtQpe.js b/public/build/assets/view-Kypihw2t.js similarity index 94% rename from public/build/assets/view-BTXCtQpe.js rename to public/build/assets/view-Kypihw2t.js index 3622d4217..f5e46949b 100644 --- a/public/build/assets/view-BTXCtQpe.js +++ b/public/build/assets/view-Kypihw2t.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as p,h as j,j as f,k as h,F as c,B as r}from"./app-CfhhiFAk.js";import{d as u}from"./utils-BWxnHGCV.js";import{C as d}from"./calendar-days-CiPhwZgb.js";import{T as N}from"./tag-JSZ9YmZg.js";import{C as x}from"./calendar-CfUpdaK5.js";import{G as b}from"./git-branch-B0hRoz5x.js";/* empty css *//* empty css */function B({holiday:s}){var i,l,m;const{t:a}=p(),g=t=>{switch(t){case"national":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"religious":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";case"company-specific":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"regional":return"bg-amber-50 text-amber-700 ring-1 ring-inset ring-amber-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}},n=s.end_date&&s.start_date!==s.end_date,o=n?u(new Date(s.end_date),new Date(s.start_date))+1:1;return e.jsxs(j,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:t=>t.preventDefault(),children:[e.jsx(f,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(d,{className:"h-5 w-5 text-primary"})}),e.jsx(h,{className:"text-xl font-semibold",children:a("Holiday Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),a("Holiday Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),a("Category")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${g(s.category)}`,children:s.category||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),a("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),a("End Date")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900",children:[n?((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.end_date,!1))||s.end_date:"-",n&&e.jsxs("span",{className:"ml-2 text-xs text-gray-500",children:["(",o," ",a("days"),")"]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),a("Type")]}),e.jsxs("div",{className:"mt-1 flex flex-wrap gap-1",children:[s.holiday_type==="regular"&&e.jsx(r,{variant:"secondary",className:"bg-red-50 text-red-700 hover:bg-red-50",children:a("Regular Holiday (100%)")}),s.holiday_type==="special_non_working"&&e.jsx(r,{variant:"secondary",className:"bg-yellow-50 text-yellow-700 hover:bg-yellow-50",children:a("Special Non-Working (30%)")}),!s.holiday_type&&e.jsx(r,{variant:"secondary",className:"bg-gray-50 text-gray-500 hover:bg-gray-50",children:a("Not Set")}),s.is_half_day&&e.jsx(r,{variant:"secondary",className:"bg-orange-50 text-orange-700 hover:bg-orange-50",children:a("Half Day")}),e.jsx(r,{variant:"secondary",className:s.is_paid?"bg-green-50 text-green-700 hover:bg-green-50":"bg-red-50 text-red-700 hover:bg-red-50",children:s.is_paid?a("Paid"):a("Unpaid")})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),a("Branches")]}),e.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:((m=s.branches)==null?void 0:m.length)>0?s.branches.map(t=>e.jsx(r,{variant:"outline",children:t.name},t.id)):e.jsx("p",{className:"text-sm font-medium text-gray-900",children:"-"})})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),a("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{B as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as p,h as j,j as f,k as h,F as c,B as r}from"./app-Dya84jp7.js";import{d as u}from"./utils-BWxnHGCV.js";import{C as d}from"./calendar-days-CURbwGg4.js";import{T as N}from"./tag-Bq7fLwM4.js";import{C as x}from"./calendar-DuRYaSj5.js";import{G as b}from"./git-branch-BmbBP1kF.js";/* empty css *//* empty css */function B({holiday:s}){var i,l,m;const{t:a}=p(),g=t=>{switch(t){case"national":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"religious":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";case"company-specific":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"regional":return"bg-amber-50 text-amber-700 ring-1 ring-inset ring-amber-600/20";default:return"bg-gray-50 text-gray-700 ring-1 ring-inset ring-gray-600/20"}},n=s.end_date&&s.start_date!==s.end_date,o=n?u(new Date(s.end_date),new Date(s.start_date))+1:1;return e.jsxs(j,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:t=>t.preventDefault(),children:[e.jsx(f,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(d,{className:"h-5 w-5 text-primary"})}),e.jsx(h,{className:"text-xl font-semibold",children:a("Holiday Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),a("Holiday Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),a("Category")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${g(s.category)}`,children:s.category||"-"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),a("Start Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.start_date?((i=window.appSettings)==null?void 0:i.formatDateTimeSimple(s.start_date,!1))||s.start_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(x,{className:"h-4 w-4"}),a("End Date")]}),e.jsxs("p",{className:"mt-1 text-sm font-medium text-gray-900",children:[n?((l=window.appSettings)==null?void 0:l.formatDateTimeSimple(s.end_date,!1))||s.end_date:"-",n&&e.jsxs("span",{className:"ml-2 text-xs text-gray-500",children:["(",o," ",a("days"),")"]})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),a("Type")]}),e.jsxs("div",{className:"mt-1 flex flex-wrap gap-1",children:[s.holiday_type==="regular"&&e.jsx(r,{variant:"secondary",className:"bg-red-50 text-red-700 hover:bg-red-50",children:a("Regular Holiday (100%)")}),s.holiday_type==="special_non_working"&&e.jsx(r,{variant:"secondary",className:"bg-yellow-50 text-yellow-700 hover:bg-yellow-50",children:a("Special Non-Working (30%)")}),!s.holiday_type&&e.jsx(r,{variant:"secondary",className:"bg-gray-50 text-gray-500 hover:bg-gray-50",children:a("Not Set")}),s.is_half_day&&e.jsx(r,{variant:"secondary",className:"bg-orange-50 text-orange-700 hover:bg-orange-50",children:a("Half Day")}),e.jsx(r,{variant:"secondary",className:s.is_paid?"bg-green-50 text-green-700 hover:bg-green-50":"bg-red-50 text-red-700 hover:bg-red-50",children:s.is_paid?a("Paid"):a("Unpaid")})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),a("Branches")]}),e.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:((m=s.branches)==null?void 0:m.length)>0?s.branches.map(t=>e.jsx(r,{variant:"outline",children:t.name},t.id)):e.jsx("p",{className:"text-sm font-medium text-gray-900",children:"-"})})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),a("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{B as default}; diff --git a/public/build/assets/view-Cen6BZGx.js b/public/build/assets/view-MkN0R0ov.js similarity index 94% rename from public/build/assets/view-Cen6BZGx.js rename to public/build/assets/view-MkN0R0ov.js index fbdd94618..fe61d4a12 100644 --- a/public/build/assets/view-Cen6BZGx.js +++ b/public/build/assets/view-MkN0R0ov.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as l,h as m,j as x,k as d,F as g}from"./app-CfhhiFAk.js";import{S as i}from"./square-check-big-BCxRi7D4.js";import{T as c}from"./tag-JSZ9YmZg.js";import{L as o}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function v({checklistItem:s}){var a;const{t:r}=l(),n=t=>{switch(t){case"Documentation":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"IT Setup":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";case"Training":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"HR":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";case"Facilities":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}};return e.jsxs(m,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:t=>t.preventDefault(),children:[e.jsx(x,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:r("Checklist Item Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),r("Task Name")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:s.task_name||"-"}),s.is_required&&e.jsx("span",{className:"inline-flex items-center rounded-md bg-red-50 px-1.5 py-0.5 text-xs font-medium text-red-700 ring-1 ring-inset ring-red-600/10",children:r("Required")})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),r("Checklist")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((a=s.checklist)==null?void 0:a.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),r("Category")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${n(s.category)}`,children:r(s.category)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),r("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r(s.status==="active"?"Active":"Inactive")})})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),r("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{v as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as l,h as m,j as x,k as d,F as g}from"./app-Dya84jp7.js";import{S as i}from"./square-check-big-CpQiidmr.js";import{T as c}from"./tag-Bq7fLwM4.js";import{L as o}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function v({checklistItem:s}){var a;const{t:r}=l(),n=t=>{switch(t){case"Documentation":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"IT Setup":return"bg-purple-50 text-purple-700 ring-1 ring-inset ring-purple-600/20";case"Training":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"HR":return"bg-orange-50 text-orange-700 ring-1 ring-inset ring-orange-600/20";case"Facilities":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}};return e.jsxs(m,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:t=>t.preventDefault(),children:[e.jsx(x,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(i,{className:"h-5 w-5 text-primary"})}),e.jsx(d,{className:"text-xl font-semibold",children:r("Checklist Item Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),r("Task Name")]}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900",children:s.task_name||"-"}),s.is_required&&e.jsx("span",{className:"inline-flex items-center rounded-md bg-red-50 px-1.5 py-0.5 text-xs font-medium text-red-700 ring-1 ring-inset ring-red-600/10",children:r("Required")})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(i,{className:"h-4 w-4"}),r("Checklist")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((a=s.checklist)==null?void 0:a.name)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),r("Category")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${n(s.category)}`,children:r(s.category)||"-"})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),r("Status")]}),e.jsx("p",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${s.status==="active"?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:r(s.status==="active"?"Active":"Inactive")})})]})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),r("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]})]})]})}export{v as default}; diff --git a/public/build/assets/view-BoKNVuEn.js b/public/build/assets/view-Nnlh3FzL.js similarity index 90% rename from public/build/assets/view-BoKNVuEn.js rename to public/build/assets/view-Nnlh3FzL.js index f1c5a9f39..5733b14d1 100644 --- a/public/build/assets/view-BoKNVuEn.js +++ b/public/build/assets/view-Nnlh3FzL.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as m,h as l,j as r,k as x,F as n}from"./app-CfhhiFAk.js";import{D as a}from"./dollar-sign-DYXFWWsE.js";import{T as d}from"./type-CNRj7XNX.js";import{H as c}from"./hash-BdwQ_IPO.js";import{L as o}from"./lock-By6rMOj7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function v({record:t}){const{t:s}=m();return e.jsxs(l,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:i=>i.preventDefault(),children:[e.jsx(r,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(x,{className:"text-xl font-semibold",children:s("Currency Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Currency Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Currency Code")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.code||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Symbol")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.symbol||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Default")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.is_default?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t.is_default?s("Yes"):s("No")})})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.description})]})]})]})}export{v as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as m,h as l,j as r,k as x,F as n}from"./app-Dya84jp7.js";import{D as a}from"./dollar-sign-DH2Tc178.js";import{T as d}from"./type-Bsbmfmsu.js";import{H as c}from"./hash-CHQJ9wMw.js";import{L as o}from"./lock-DaHvMEII.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function v({record:t}){const{t:s}=m();return e.jsxs(l,{className:"max-w-xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:i=>i.preventDefault(),children:[e.jsx(r,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(x,{className:"text-xl font-semibold",children:s("Currency Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),s("Currency Name")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(c,{className:"h-4 w-4"}),s("Currency Code")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.code||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),s("Symbol")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.symbol||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),s("Default")]}),e.jsx("div",{className:"mt-1",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.is_default?"bg-green-50 text-green-700 ring-green-600/20":"bg-red-50 text-red-700 ring-red-600/20"}`,children:t.is_default?s("Yes"):s("No")})})]})]}),t.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(n,{className:"h-4 w-4"}),s("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:t.description})]})]})]})}export{v as default}; diff --git a/public/build/assets/view-gAlNzHTp.js b/public/build/assets/view-TaZ0CeRf.js similarity index 94% rename from public/build/assets/view-gAlNzHTp.js rename to public/build/assets/view-TaZ0CeRf.js index ce03d43da..122398353 100644 --- a/public/build/assets/view-gAlNzHTp.js +++ b/public/build/assets/view-TaZ0CeRf.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as j,j as u,k as p,F as N}from"./app-CfhhiFAk.js";import{M as o}from"./message-square-CWrDttoL.js";import{U as g}from"./user-C37aWgZX.js";import{B as v}from"./briefcase-CLRn8zVu.js";import{U as f}from"./users-C4LpG59H.js";import{S as a}from"./star-DQsTg5F1.js";import{a as w,T as y}from"./thumbs-up-_WTyicKR.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function r({value:s}){return s?e.jsxs("div",{className:"flex items-center gap-0.5",children:[[1,2,3,4,5].map(t=>{const i=s>=t,l=!i&&s>=t-.5;return e.jsxs("div",{className:"relative h-4 w-4",children:[e.jsx(a,{className:"h-4 w-4 fill-none text-gray-300"}),l&&e.jsx("div",{className:"absolute inset-0 overflow-hidden",style:{width:"50%"},children:e.jsx(a,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})}),i&&e.jsx("div",{className:"absolute inset-0",children:e.jsx(a,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})})]},t)}),e.jsxs("span",{className:"ml-1 text-xs text-gray-500",children:[s,"/5"]})]}):e.jsx("span",{className:"text-sm font-medium text-gray-900",children:"-"})}function $({feedback:s}){var l,m,x,c,d;const{t}=h(),i=n=>{switch(n){case"Strong Hire":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Hire":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Maybe":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Reject":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Strong Reject":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}};return e.jsxs(j,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:n=>n.preventDefault(),children:[e.jsx(u,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(o,{className:"h-5 w-5 text-primary"})}),e.jsx(p,{className:"text-xl font-semibold",children:t("Interview Feedback Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Candidate")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:(l=s.interview)!=null&&l.candidate?`${s.interview.candidate.first_name} ${s.interview.candidate.last_name}`:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),t("Job")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((x=(m=s.interview)==null?void 0:m.job)==null?void 0:x.title)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Round")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((d=(c=s.interview)==null?void 0:c.round)==null?void 0:d.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Interviewer")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.interviewer_names||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Technical Rating")]}),e.jsx("div",{className:"mt-1",children:e.jsx(r,{value:s.technical_rating})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Communication Rating")]}),e.jsx("div",{className:"mt-1",children:e.jsx(r,{value:s.communication_rating})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Cultural Fit Rating")]}),e.jsx("div",{className:"mt-1",children:e.jsx(r,{value:s.cultural_fit_rating})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Overall Rating")]}),e.jsx("div",{className:"mt-1",children:e.jsx(r,{value:s.overall_rating})})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Recommendation")]}),e.jsx("p",{className:"mt-1",children:s.recommendation?e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${i(s.recommendation)}`,children:t(s.recommendation)}):"-"})]})}),s.strengths&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Strengths")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.strengths})]}),s.weaknesses&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Weaknesses")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.weaknesses})]}),s.comments&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Comments")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.comments})]})]})]})}export{$ as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as j,j as u,k as p,F as N}from"./app-Dya84jp7.js";import{M as o}from"./message-square-DyWo8S6i.js";import{U as g}from"./user-77BPqA3J.js";import{B as v}from"./briefcase-Btn3T9V4.js";import{U as f}from"./users-BzCDZrS0.js";import{S as a}from"./star-DCkLKzoE.js";import{a as w,T as y}from"./thumbs-up-2-1HocdZ.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function r({value:s}){return s?e.jsxs("div",{className:"flex items-center gap-0.5",children:[[1,2,3,4,5].map(t=>{const i=s>=t,l=!i&&s>=t-.5;return e.jsxs("div",{className:"relative h-4 w-4",children:[e.jsx(a,{className:"h-4 w-4 fill-none text-gray-300"}),l&&e.jsx("div",{className:"absolute inset-0 overflow-hidden",style:{width:"50%"},children:e.jsx(a,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})}),i&&e.jsx("div",{className:"absolute inset-0",children:e.jsx(a,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"})})]},t)}),e.jsxs("span",{className:"ml-1 text-xs text-gray-500",children:[s,"/5"]})]}):e.jsx("span",{className:"text-sm font-medium text-gray-900",children:"-"})}function $({feedback:s}){var l,m,x,c,d;const{t}=h(),i=n=>{switch(n){case"Strong Hire":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"Hire":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";case"Maybe":return"bg-yellow-50 text-yellow-800 ring-1 ring-inset ring-yellow-600/20";case"Reject":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";case"Strong Reject":return"bg-red-50 text-red-700 ring-1 ring-inset ring-red-600/10";default:return"bg-gray-50 text-gray-600 ring-1 ring-inset ring-gray-500/10"}};return e.jsxs(j,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:n=>n.preventDefault(),children:[e.jsx(u,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(o,{className:"h-5 w-5 text-primary"})}),e.jsx(p,{className:"text-xl font-semibold",children:t("Interview Feedback Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Candidate")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:(l=s.interview)!=null&&l.candidate?`${s.interview.candidate.first_name} ${s.interview.candidate.last_name}`:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),t("Job")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((x=(m=s.interview)==null?void 0:m.job)==null?void 0:x.title)||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),t("Round")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:((d=(c=s.interview)==null?void 0:c.round)==null?void 0:d.name)||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(g,{className:"h-4 w-4"}),t("Interviewer")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.interviewer_names||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Technical Rating")]}),e.jsx("div",{className:"mt-1",children:e.jsx(r,{value:s.technical_rating})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Communication Rating")]}),e.jsx("div",{className:"mt-1",children:e.jsx(r,{value:s.communication_rating})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Cultural Fit Rating")]}),e.jsx("div",{className:"mt-1",children:e.jsx(r,{value:s.cultural_fit_rating})})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(a,{className:"h-4 w-4"}),t("Overall Rating")]}),e.jsx("div",{className:"mt-1",children:e.jsx(r,{value:s.overall_rating})})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),t("Recommendation")]}),e.jsx("p",{className:"mt-1",children:s.recommendation?e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ${i(s.recommendation)}`,children:t(s.recommendation)}):"-"})]})}),s.strengths&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4"}),t("Strengths")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.strengths})]}),s.weaknesses&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(y,{className:"h-4 w-4"}),t("Weaknesses")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.weaknesses})]}),s.comments&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Comments")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.comments})]})]})]})}export{$ as default}; diff --git a/public/build/assets/view-BnvT1Xkw.js b/public/build/assets/view-jkGirsLs.js similarity index 93% rename from public/build/assets/view-BnvT1Xkw.js rename to public/build/assets/view-jkGirsLs.js index ee27517b6..b8bed2402 100644 --- a/public/build/assets/view-BnvT1Xkw.js +++ b/public/build/assets/view-jkGirsLs.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as f,j,k as u,F as l,g as x}from"./app-CfhhiFAk.js";import{u as y}from"./use-initials-BK4eRgYY.js";import{U as N}from"./user-x-BAm8TG2r.js";import{T as b}from"./tag-JSZ9YmZg.js";import{C as v}from"./clock-CwFdn-oy.js";import{C as o}from"./calendar-CfUpdaK5.js";import{E as w}from"./eye--FVGKpVp.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function U({termination:s}){var r,i,m,c,d,n;const{t}=h(),p=y(),g=a=>{switch(a){case"completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"in progress":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";default:return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20"}};return e.jsxs(f,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(N,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Termination Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(r=s.employee)!=null&&r.avatar?e.jsx("img",{src:s.employee.avatar,alt:(i=s.employee)==null?void 0:i.name,className:"h-full w-full object-cover"}):p(((m=s.employee)==null?void 0:m.name)||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500",children:t("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((c=s.employee)==null?void 0:c.name)||"-"})]})]}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${g(s.status)}`,children:s.status||"-"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Termination Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.termination_type||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),t("Notice Period")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notice_period||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Notice Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notice_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.notice_date,!1))||s.notice_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Termination Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.termination_date?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.termination_date,!1))||s.termination_date:"-"})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:x(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:x(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(w,{className:"h-6 w-6 text-white"})})]})]})}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason||"-"})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.exit_feedback&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Exit Feedback")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.exit_feedback})]})]})]})}export{U as default}; +import{j as e}from"./ui-Z445SNHD.js";import{u as h,h as f,j,k as u,F as l,g as x}from"./app-Dya84jp7.js";import{u as y}from"./use-initials-BK4eRgYY.js";import{U as N}from"./user-x-CVAZCW5-.js";import{T as b}from"./tag-Bq7fLwM4.js";import{C as v}from"./clock-LnEFQ-vK.js";import{C as o}from"./calendar-DuRYaSj5.js";import{E as w}from"./eye-CCNnMtu4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function U({termination:s}){var r,i,m,c,d,n;const{t}=h(),p=y(),g=a=>{switch(a){case"completed":return"bg-green-50 text-green-700 ring-1 ring-inset ring-green-600/20";case"in progress":return"bg-blue-50 text-blue-700 ring-1 ring-inset ring-blue-600/20";default:return"bg-yellow-50 text-yellow-700 ring-1 ring-inset ring-yellow-600/20"}};return e.jsxs(f,{className:"max-w-2xl max-h-[90vh] overflow-y-auto p-0",onOpenAutoFocus:a=>a.preventDefault(),children:[e.jsx(j,{className:"px-6 pt-6 pb-4 border-b",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:e.jsx(N,{className:"h-5 w-5 text-primary"})}),e.jsx(u,{className:"text-xl font-semibold",children:t("Termination Details")})]})}),e.jsxs("div",{className:"px-6 py-4 pb-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary text-white overflow-hidden shrink-0",children:(r=s.employee)!=null&&r.avatar?e.jsx("img",{src:s.employee.avatar,alt:(i=s.employee)==null?void 0:i.name,className:"h-full w-full object-cover"}):p(((m=s.employee)==null?void 0:m.name)||"")}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-gray-500",children:t("Employee")}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:((c=s.employee)==null?void 0:c.name)||"-"})]})]}),e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium capitalize ${g(s.status)}`,children:s.status||"-"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4"}),t("Termination Type")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.termination_type||"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(v,{className:"h-4 w-4"}),t("Notice Period")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notice_period||"-"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Notice Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.notice_date?((d=window.appSettings)==null?void 0:d.formatDateTimeSimple(s.notice_date,!1))||s.notice_date:"-"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(o,{className:"h-4 w-4"}),t("Termination Date")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.termination_date?((n=window.appSettings)==null?void 0:n.formatDateTimeSimple(s.termination_date,!1))||s.termination_date:"-"})]})]}),s.documents&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Documents")]}),e.jsxs("a",{href:x(s.documents),target:"_blank",rel:"noreferrer",className:"mt-2 group block relative overflow-hidden rounded-lg border bg-gray-50 hover:border-primary transition-colors",children:[e.jsx("img",{src:x(s.documents),alt:t("Document"),className:"w-full h-36 object-cover group-hover:opacity-90 transition-opacity",onError:a=>{a.currentTarget.parentElement.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity bg-black/30",children:e.jsx(w,{className:"h-6 w-6 text-white"})})]})]})}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Reason")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.reason||"-"})]}),s.description&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Description")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.description})]}),s.exit_feedback&&e.jsxs("div",{children:[e.jsxs("label",{className:"text-sm font-medium text-gray-500 flex items-center gap-2",children:[e.jsx(l,{className:"h-4 w-4"}),t("Exit Feedback")]}),e.jsx("p",{className:"mt-1 text-sm font-medium text-gray-900",children:s.exit_feedback})]})]})]})}export{U as default}; diff --git a/public/build/assets/wallet-OtmBA2C9.js b/public/build/assets/wallet-ChDgCFUl.js similarity index 90% rename from public/build/assets/wallet-OtmBA2C9.js rename to public/build/assets/wallet-ChDgCFUl.js index df4c9c419..0f0826702 100644 --- a/public/build/assets/wallet-OtmBA2C9.js +++ b/public/build/assets/wallet-ChDgCFUl.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/webhook-settings-CwIqQy22.js b/public/build/assets/webhook-settings-CJnyQOMC.js similarity index 92% rename from public/build/assets/webhook-settings-CwIqQy22.js rename to public/build/assets/webhook-settings-CJnyQOMC.js index a354d31fc..aefdf9d4e 100644 --- a/public/build/assets/webhook-settings-CwIqQy22.js +++ b/public/build/assets/webhook-settings-CJnyQOMC.js @@ -1 +1 @@ -import{r as i,j as e}from"./ui-Z445SNHD.js";import{u as B,ap as X,al as D,s as M,v as W,o as x,w as E,D as $,h as J,j as K,k as Q,L as y,I as Y,X as Z,y as _,P as ee,ao as k,t as u}from"./app-CfhhiFAk.js";import{S as L,a as O,b as A,c as P,d as p}from"./select-BrY9osYp.js";import{T as se,a as te,b as v,c as j,d as ae,e as g}from"./table-BXUOKUBo.js";import{C as re}from"./CrudDeleteModal-CKTiD3_K.js";import{L as le}from"./link-2-CqlWBpzI.js";import{S as ne}from"./square-pen-bMHyT06o.js";import{T as oe}from"./trash-2-C1NR_7Ss.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DepFp6b6.js";function ke({webhooks:F=[]}){const{t:s}=B(),[S,b]=i.useState(F),[U,d]=i.useState(!1),[c,C]=i.useState(null),[I,f]=i.useState(!1),[n,N]=i.useState(null),[m,h]=i.useState({module:"",method:"",url:""}),T=()=>{h({module:"",method:"",url:""}),C(null)},R=()=>{T(),d(!0)},z=t=>{h({module:t.module,method:t.method,url:t.url}),C(t),d(!0)},G=async t=>{var a,o;t.preventDefault();try{if(c){const r=await k.put(route("settings.webhooks.update",c.id),m);b(l=>l.map(w=>w.id===c.id?r.data.webhook:w)),u.success(r.data.message)}else{const r=await k.post(route("settings.webhooks.store"),m);b(l=>[...l,r.data.webhook]),u.success(r.data.message)}d(!1),T()}catch(r){const l=((o=(a=r.response)==null?void 0:a.data)==null?void 0:o.message)||s("An error occurred");u.error(l)}},H=t=>{N(t),f(!0)},V=async()=>{var t,a;if(n)try{const o=await k.delete(route("settings.webhooks.destroy",n.id));b(r=>r.filter(l=>l.id!==n.id)),u.success(o.data.message)}catch(o){const r=((a=(t=o.response)==null?void 0:t.data)==null?void 0:a.message)||s("An error occurred");u.error(r)}finally{f(!1),N(null)}},q=()=>{f(!1),N(null)};return e.jsx(X,{title:s("Webhook Settings"),description:s("Manage webhooks for external integrations"),action:e.jsxs(x,{onClick:R,size:"sm",children:[e.jsx(ee,{className:"h-4 w-4 mr-2"}),s("Add Webhook")]}),children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(se,{children:[e.jsx(te,{children:e.jsxs(v,{className:"bg-gray-50 dark:bg-gray-800 border-b dark:border-gray-700",children:[e.jsx(j,{className:"py-2.5 font-semibold",children:s("Module")}),e.jsx(j,{className:"py-2.5 font-semibold",children:s("Method")}),e.jsx(j,{className:"py-2.5 font-semibold",children:s("URL")}),e.jsx(j,{className:"w-24 py-2.5 font-semibold text-right",children:s("Actions")})]})}),e.jsx(ae,{children:S.length===0?e.jsx(v,{children:e.jsx(g,{colSpan:4,className:"h-24 text-center text-muted-foreground dark:text-gray-400",children:s("No webhooks configured")})}):S.map(t=>e.jsxs(v,{className:"hover:bg-gray-50 dark:hover:bg-gray-700 border-b dark:border-gray-700 dark:bg-gray-900",children:[e.jsx(g,{className:"py-2.5",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(le,{className:"h-4 w-4 mr-2 text-muted-foreground"}),e.jsx("span",{className:"text-sm font-medium",children:t.module})]})}),e.jsx(g,{className:"py-2.5",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.method==="GET"?"bg-blue-50 text-blue-700 ring-blue-700/10 dark:bg-blue-900/30 dark:text-blue-400 dark:ring-blue-400/30":"bg-green-50 text-green-700 ring-green-700/10 dark:bg-green-900/30 dark:text-green-400 dark:ring-green-400/30"}`,children:t.method})}),e.jsx(g,{className:"py-2.5",children:e.jsx("div",{className:"max-w-xs truncate text-sm font-mono text-muted-foreground dark:text-gray-400",children:t.url})}),e.jsx(g,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[e.jsx(D,{children:e.jsxs(M,{children:[e.jsx(W,{asChild:!0,children:e.jsx(x,{variant:"ghost",size:"icon",className:"h-8 w-8 text-amber-500 hover:text-amber-700",onClick:()=>z(t),children:e.jsx(ne,{className:"h-4 w-4"})})}),e.jsx(E,{children:e.jsx("p",{children:s("Edit")})})]})}),e.jsx(D,{children:e.jsxs(M,{children:[e.jsx(W,{asChild:!0,children:e.jsx(x,{variant:"ghost",size:"icon",className:"h-8 w-8 text-red-500 hover:text-red-700",onClick:()=>H(t),children:e.jsx(oe,{className:"h-4 w-4"})})}),e.jsx(E,{children:e.jsx("p",{children:s("Delete")})})]})})]})})]},t.id))})]}),e.jsx($,{open:U,onOpenChange:d,children:e.jsxs(J,{children:[e.jsx(K,{children:e.jsx(Q,{children:s(c?"Edit Webhook":"Add New Webhook")})}),e.jsxs("form",{onSubmit:G,className:"space-y-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(y,{htmlFor:"module",children:s("Module")}),e.jsxs(L,{value:m.module,onValueChange:t=>h(a=>({...a,module:t})),children:[e.jsx(O,{children:e.jsx(A,{placeholder:s("Select module")})}),e.jsxs(P,{children:[e.jsx(p,{value:"New User",children:s("New User")}),e.jsx(p,{value:"New Appointment",children:s("New Appointment")})]})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(y,{htmlFor:"method",children:s("Method")}),e.jsxs(L,{value:m.method,onValueChange:t=>h(a=>({...a,method:t})),children:[e.jsx(O,{children:e.jsx(A,{placeholder:s("Select method")})}),e.jsxs(P,{children:[e.jsx(p,{value:"GET",children:"GET"}),e.jsx(p,{value:"POST",children:"POST"})]})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(y,{htmlFor:"url",children:s("URL")}),e.jsx(Y,{id:"url",type:"url",placeholder:"https://example.com/webhook",value:m.url,onChange:t=>h(a=>({...a,url:t.target.value})),required:!0})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsxs(x,{type:"button",variant:"outline",onClick:()=>d(!1),children:[e.jsx(Z,{className:"h-4 w-4 mr-2"}),s("Cancel")]}),e.jsxs(x,{type:"submit",children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s(c?"Update":"Create")]})]})]})]})}),e.jsx(re,{isOpen:I,onClose:q,onConfirm:V,itemName:(n==null?void 0:n.module)||"",entityName:s("Webhook")})]})})}export{ke as default}; +import{r as i,j as e}from"./ui-Z445SNHD.js";import{u as B,ap as X,al as D,s as M,v as W,o as x,w as E,D as $,h as J,j as K,k as Q,L as y,I as Y,X as Z,y as _,P as ee,ao as k,t as u}from"./app-Dya84jp7.js";import{S as L,a as O,b as A,c as P,d as p}from"./select-CHkpLxhL.js";import{T as se,a as te,b as v,c as j,d as ae,e as g}from"./table-CM-_W5Cl.js";import{C as re}from"./CrudDeleteModal-D32N6I8y.js";import{L as le}from"./link-2-oaQNJJAj.js";import{S as ne}from"./square-pen-CzdhbxyN.js";import{T as oe}from"./trash-2-BeirBLIk.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-DHaGktre.js";function ke({webhooks:F=[]}){const{t:s}=B(),[S,b]=i.useState(F),[U,d]=i.useState(!1),[c,C]=i.useState(null),[I,f]=i.useState(!1),[n,N]=i.useState(null),[m,h]=i.useState({module:"",method:"",url:""}),T=()=>{h({module:"",method:"",url:""}),C(null)},R=()=>{T(),d(!0)},z=t=>{h({module:t.module,method:t.method,url:t.url}),C(t),d(!0)},G=async t=>{var a,o;t.preventDefault();try{if(c){const r=await k.put(route("settings.webhooks.update",c.id),m);b(l=>l.map(w=>w.id===c.id?r.data.webhook:w)),u.success(r.data.message)}else{const r=await k.post(route("settings.webhooks.store"),m);b(l=>[...l,r.data.webhook]),u.success(r.data.message)}d(!1),T()}catch(r){const l=((o=(a=r.response)==null?void 0:a.data)==null?void 0:o.message)||s("An error occurred");u.error(l)}},H=t=>{N(t),f(!0)},V=async()=>{var t,a;if(n)try{const o=await k.delete(route("settings.webhooks.destroy",n.id));b(r=>r.filter(l=>l.id!==n.id)),u.success(o.data.message)}catch(o){const r=((a=(t=o.response)==null?void 0:t.data)==null?void 0:a.message)||s("An error occurred");u.error(r)}finally{f(!1),N(null)}},q=()=>{f(!1),N(null)};return e.jsx(X,{title:s("Webhook Settings"),description:s("Manage webhooks for external integrations"),action:e.jsxs(x,{onClick:R,size:"sm",children:[e.jsx(ee,{className:"h-4 w-4 mr-2"}),s("Add Webhook")]}),children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(se,{children:[e.jsx(te,{children:e.jsxs(v,{className:"bg-gray-50 dark:bg-gray-800 border-b dark:border-gray-700",children:[e.jsx(j,{className:"py-2.5 font-semibold",children:s("Module")}),e.jsx(j,{className:"py-2.5 font-semibold",children:s("Method")}),e.jsx(j,{className:"py-2.5 font-semibold",children:s("URL")}),e.jsx(j,{className:"w-24 py-2.5 font-semibold text-right",children:s("Actions")})]})}),e.jsx(ae,{children:S.length===0?e.jsx(v,{children:e.jsx(g,{colSpan:4,className:"h-24 text-center text-muted-foreground dark:text-gray-400",children:s("No webhooks configured")})}):S.map(t=>e.jsxs(v,{className:"hover:bg-gray-50 dark:hover:bg-gray-700 border-b dark:border-gray-700 dark:bg-gray-900",children:[e.jsx(g,{className:"py-2.5",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(le,{className:"h-4 w-4 mr-2 text-muted-foreground"}),e.jsx("span",{className:"text-sm font-medium",children:t.module})]})}),e.jsx(g,{className:"py-2.5",children:e.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ${t.method==="GET"?"bg-blue-50 text-blue-700 ring-blue-700/10 dark:bg-blue-900/30 dark:text-blue-400 dark:ring-blue-400/30":"bg-green-50 text-green-700 ring-green-700/10 dark:bg-green-900/30 dark:text-green-400 dark:ring-green-400/30"}`,children:t.method})}),e.jsx(g,{className:"py-2.5",children:e.jsx("div",{className:"max-w-xs truncate text-sm font-mono text-muted-foreground dark:text-gray-400",children:t.url})}),e.jsx(g,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end space-x-2",children:[e.jsx(D,{children:e.jsxs(M,{children:[e.jsx(W,{asChild:!0,children:e.jsx(x,{variant:"ghost",size:"icon",className:"h-8 w-8 text-amber-500 hover:text-amber-700",onClick:()=>z(t),children:e.jsx(ne,{className:"h-4 w-4"})})}),e.jsx(E,{children:e.jsx("p",{children:s("Edit")})})]})}),e.jsx(D,{children:e.jsxs(M,{children:[e.jsx(W,{asChild:!0,children:e.jsx(x,{variant:"ghost",size:"icon",className:"h-8 w-8 text-red-500 hover:text-red-700",onClick:()=>H(t),children:e.jsx(oe,{className:"h-4 w-4"})})}),e.jsx(E,{children:e.jsx("p",{children:s("Delete")})})]})})]})})]},t.id))})]}),e.jsx($,{open:U,onOpenChange:d,children:e.jsxs(J,{children:[e.jsx(K,{children:e.jsx(Q,{children:s(c?"Edit Webhook":"Add New Webhook")})}),e.jsxs("form",{onSubmit:G,className:"space-y-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(y,{htmlFor:"module",children:s("Module")}),e.jsxs(L,{value:m.module,onValueChange:t=>h(a=>({...a,module:t})),children:[e.jsx(O,{children:e.jsx(A,{placeholder:s("Select module")})}),e.jsxs(P,{children:[e.jsx(p,{value:"New User",children:s("New User")}),e.jsx(p,{value:"New Appointment",children:s("New Appointment")})]})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(y,{htmlFor:"method",children:s("Method")}),e.jsxs(L,{value:m.method,onValueChange:t=>h(a=>({...a,method:t})),children:[e.jsx(O,{children:e.jsx(A,{placeholder:s("Select method")})}),e.jsxs(P,{children:[e.jsx(p,{value:"GET",children:"GET"}),e.jsx(p,{value:"POST",children:"POST"})]})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(y,{htmlFor:"url",children:s("URL")}),e.jsx(Y,{id:"url",type:"url",placeholder:"https://example.com/webhook",value:m.url,onChange:t=>h(a=>({...a,url:t.target.value})),required:!0})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsxs(x,{type:"button",variant:"outline",onClick:()=>d(!1),children:[e.jsx(Z,{className:"h-4 w-4 mr-2"}),s("Cancel")]}),e.jsxs(x,{type:"submit",children:[e.jsx(_,{className:"h-4 w-4 mr-2"}),s(c?"Update":"Create")]})]})]})]})}),e.jsx(re,{isOpen:I,onClose:q,onConfirm:V,itemName:(n==null?void 0:n.module)||"",entityName:s("Webhook")})]})})}export{ke as default}; diff --git a/public/build/assets/welcome-BzDbO2My.js b/public/build/assets/welcome-C5pxBnvT.js similarity index 99% rename from public/build/assets/welcome-BzDbO2My.js rename to public/build/assets/welcome-C5pxBnvT.js index bece335a3..b1d7cdf62 100644 --- a/public/build/assets/welcome-BzDbO2My.js +++ b/public/build/assets/welcome-C5pxBnvT.js @@ -1 +1 @@ -import{j as e}from"./ui-Z445SNHD.js";import{c as o,u as a,H as C,d as s}from"./app-CfhhiFAk.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function h(){const{auth:r}=o().props,{t}=a();return e.jsxs(e.Fragment,{children:[e.jsxs(C,{title:t("Welcome"),children:[e.jsx("link",{rel:"preconnect",href:"https://fonts.bunny.net"}),e.jsx("link",{href:"https://fonts.bunny.net/css?family=instrument-sans:400,500,600",rel:"stylesheet"})]}),e.jsxs("div",{className:"flex min-h-screen flex-col items-center bg-[#FDFDFC] p-6 text-[#1b1b18] lg:justify-center lg:p-8 dark:bg-[#0a0a0a]",children:[e.jsx("header",{className:"mb-6 w-full max-w-[335px] text-sm not-has-[nav]:hidden lg:max-w-4xl",children:e.jsx("nav",{className:"flex items-center justify-end gap-4",children:r.user?e.jsx(s,{href:route("dashboard"),className:"inline-block rounded-sm border border-[#19140035] px-5 py-1.5 text-sm leading-normal text-[#1b1b18] hover:border-[#1915014a] dark:border-[#3E3E3A] dark:text-[#EDEDEC] dark:hover:border-[#62605b]",children:t("Dashboard")}):e.jsxs(e.Fragment,{children:[e.jsx(s,{href:route("login"),className:"inline-block rounded-sm border border-transparent px-5 py-1.5 text-sm leading-normal text-[#1b1b18] hover:border-[#19140035] dark:text-[#EDEDEC] dark:hover:border-[#3E3E3A]",children:t("Log in")}),e.jsx(s,{href:route("register"),className:"inline-block rounded-sm border border-[#19140035] px-5 py-1.5 text-sm leading-normal text-[#1b1b18] hover:border-[#1915014a] dark:border-[#3E3E3A] dark:text-[#EDEDEC] dark:hover:border-[#62605b]",children:t("Register")})]})})}),e.jsx("div",{className:"flex w-full items-center justify-center opacity-100 transition-opacity duration-750 lg:grow starting:opacity-0",children:e.jsxs("main",{className:"flex w-full max-w-[335px] flex-col-reverse lg:max-w-4xl lg:flex-row",children:[e.jsxs("div",{className:"flex-1 rounded-br-lg rounded-bl-lg bg-white p-6 pb-12 text-[13px] leading-[20px] shadow-[inset_0px_0px_0px_1px_rgba(26,26,0,0.16)] lg:rounded-tl-lg lg:rounded-br-none lg:p-20 dark:bg-[#161615] dark:text-[#EDEDEC] dark:shadow-[inset_0px_0px_0px_1px_#fffaed2d]",children:[e.jsx("h1",{className:"mb-1 font-medium",children:t("Let's get started")}),e.jsxs("p",{className:"mb-2 text-[#706f6c] dark:text-[#A1A09A]",children:[t("Laravel has an incredibly rich ecosystem."),e.jsx("br",{}),t("We suggest starting with the following.")]}),e.jsxs("ul",{className:"mb-4 flex flex-col lg:mb-6",children:[e.jsxs("li",{className:"relative flex items-center gap-4 py-2 before:absolute before:top-1/2 before:bottom-0 before:left-[0.4rem] before:border-l before:border-[#e3e3e0] dark:before:border-[#3E3E3A]",children:[e.jsx("span",{className:"relative bg-white py-1 dark:bg-[#161615]",children:e.jsx("span",{className:"flex h-3.5 w-3.5 items-center justify-center rounded-full border border-[#e3e3e0] bg-[#FDFDFC] shadow-[0px_0px_1px_0px_rgba(0,0,0,0.03),0px_1px_2px_0px_rgba(0,0,0,0.06)] dark:border-[#3E3E3A] dark:bg-[#161615]",children:e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-[#dbdbd7] dark:bg-[#3E3E3A]"})})}),e.jsxs("span",{children:[t("Read the"),e.jsxs("a",{href:"https://laravel.com/docs",target:"_blank",className:"ml-1 inline-flex items-center space-x-1 font-medium text-[#f53003] underline underline-offset-4 dark:text-[#FF4433]",children:[e.jsx("span",{children:t("Documentation")}),e.jsx("svg",{width:10,height:11,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-2.5 w-2.5",children:e.jsx("path",{d:"M7.70833 6.95834V2.79167H3.54167M2.5 8L7.5 3.00001",stroke:"currentColor",strokeLinecap:"square"})})]})]})]}),e.jsxs("li",{className:"relative flex items-center gap-4 py-2 before:absolute before:top-0 before:bottom-1/2 before:left-[0.4rem] before:border-l before:border-[#e3e3e0] dark:before:border-[#3E3E3A]",children:[e.jsx("span",{className:"relative bg-white py-1 dark:bg-[#161615]",children:e.jsx("span",{className:"flex h-3.5 w-3.5 items-center justify-center rounded-full border border-[#e3e3e0] bg-[#FDFDFC] shadow-[0px_0px_1px_0px_rgba(0,0,0,0.03),0px_1px_2px_0px_rgba(0,0,0,0.06)] dark:border-[#3E3E3A] dark:bg-[#161615]",children:e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-[#dbdbd7] dark:bg-[#3E3E3A]"})})}),e.jsxs("span",{children:[t("Watch video tutorials at"),e.jsxs("a",{href:"https://laracasts.com",target:"_blank",className:"ml-1 inline-flex items-center space-x-1 font-medium text-[#f53003] underline underline-offset-4 dark:text-[#FF4433]",children:[e.jsx("span",{children:t("Laracasts")}),e.jsx("svg",{width:10,height:11,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-2.5 w-2.5",children:e.jsx("path",{d:"M7.70833 6.95834V2.79167H3.54167M2.5 8L7.5 3.00001",stroke:"currentColor",strokeLinecap:"square"})})]})]})]})]}),e.jsx("ul",{className:"flex gap-3 text-sm leading-normal",children:e.jsx("li",{children:e.jsx("a",{href:"https://cloud.laravel.com",target:"_blank",className:"inline-block rounded-sm border border-black bg-[#1b1b18] px-5 py-1.5 text-sm leading-normal text-white hover:border-black hover:bg-black dark:border-[#eeeeec] dark:bg-[#eeeeec] dark:text-[#1C1C1A] dark:hover:border-white dark:hover:bg-white",children:t("Deploy now")})})})]}),e.jsxs("div",{className:"relative -mb-px aspect-[335/376] w-full shrink-0 overflow-hidden rounded-t-lg bg-[#fff2f2] lg:mb-0 lg:-ml-px lg:aspect-auto lg:w-[438px] lg:rounded-t-none lg:rounded-r-lg dark:bg-[#1D0002]",children:[e.jsxs("svg",{className:"w-full max-w-none translate-y-0 text-[#F53003] opacity-100 transition-all duration-750 dark:text-[#F61500] starting:translate-y-6 starting:opacity-0",viewBox:"0 0 438 104",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M17.2036 -3H0V102.197H49.5189V86.7187H17.2036V-3Z",fill:"currentColor"}),e.jsx("path",{d:"M110.256 41.6337C108.061 38.1275 104.945 35.3731 100.905 33.3681C96.8667 31.3647 92.8016 30.3618 88.7131 30.3618C83.4247 30.3618 78.5885 31.3389 74.201 33.2923C69.8111 35.2456 66.0474 37.928 62.9059 41.3333C59.7643 44.7401 57.3198 48.6726 55.5754 53.1293C53.8287 57.589 52.9572 62.274 52.9572 67.1813C52.9572 72.1925 53.8287 76.8995 55.5754 81.3069C57.3191 85.7173 59.7636 89.6241 62.9059 93.0293C66.0474 96.4361 69.8119 99.1155 74.201 101.069C78.5885 103.022 83.4247 103.999 88.7131 103.999C92.8016 103.999 96.8667 102.997 100.905 100.994C104.945 98.9911 108.061 96.2359 110.256 92.7282V102.195H126.563V32.1642H110.256V41.6337ZM108.76 75.7472C107.762 78.4531 106.366 80.8078 104.572 82.8112C102.776 84.8161 100.606 86.4183 98.0637 87.6206C95.5202 88.823 92.7004 89.4238 89.6103 89.4238C86.5178 89.4238 83.7252 88.823 81.2324 87.6206C78.7388 86.4183 76.5949 84.8161 74.7998 82.8112C73.004 80.8078 71.6319 78.4531 70.6856 75.7472C69.7356 73.0421 69.2644 70.1868 69.2644 67.1821C69.2644 64.1758 69.7356 61.3205 70.6856 58.6154C71.6319 55.9102 73.004 53.5571 74.7998 51.5522C76.5949 49.5495 78.738 47.9451 81.2324 46.7427C83.7252 45.5404 86.5178 44.9396 89.6103 44.9396C92.7012 44.9396 95.5202 45.5404 98.0637 46.7427C100.606 47.9451 102.776 49.5487 104.572 51.5522C106.367 53.5571 107.762 55.9102 108.76 58.6154C109.756 61.3205 110.256 64.1758 110.256 67.1821C110.256 70.1868 109.756 73.0421 108.76 75.7472Z",fill:"currentColor"}),e.jsx("path",{d:"M242.805 41.6337C240.611 38.1275 237.494 35.3731 233.455 33.3681C229.416 31.3647 225.351 30.3618 221.262 30.3618C215.974 30.3618 211.138 31.3389 206.75 33.2923C202.36 35.2456 198.597 37.928 195.455 41.3333C192.314 44.7401 189.869 48.6726 188.125 53.1293C186.378 57.589 185.507 62.274 185.507 67.1813C185.507 72.1925 186.378 76.8995 188.125 81.3069C189.868 85.7173 192.313 89.6241 195.455 93.0293C198.597 96.4361 202.361 99.1155 206.75 101.069C211.138 103.022 215.974 103.999 221.262 103.999C225.351 103.999 229.416 102.997 233.455 100.994C237.494 98.9911 240.611 96.2359 242.805 92.7282V102.195H259.112V32.1642H242.805V41.6337ZM241.31 75.7472C240.312 78.4531 238.916 80.8078 237.122 82.8112C235.326 84.8161 233.156 86.4183 230.614 87.6206C228.07 88.823 225.251 89.4238 222.16 89.4238C219.068 89.4238 216.275 88.823 213.782 87.6206C211.289 86.4183 209.145 84.8161 207.35 82.8112C205.554 80.8078 204.182 78.4531 203.236 75.7472C202.286 73.0421 201.814 70.1868 201.814 67.1821C201.814 64.1758 202.286 61.3205 203.236 58.6154C204.182 55.9102 205.554 53.5571 207.35 51.5522C209.145 49.5495 211.288 47.9451 213.782 46.7427C216.275 45.5404 219.068 44.9396 222.16 44.9396C225.251 44.9396 228.07 45.5404 230.614 46.7427C233.156 47.9451 235.326 49.5487 237.122 51.5522C238.917 53.5571 240.312 55.9102 241.31 58.6154C242.306 61.3205 242.806 64.1758 242.806 67.1821C242.805 70.1868 242.305 73.0421 241.31 75.7472Z",fill:"currentColor"}),e.jsx("path",{d:"M438 -3H421.694V102.197H438V-3Z",fill:"currentColor"}),e.jsx("path",{d:"M139.43 102.197H155.735V48.2834H183.712V32.1665H139.43V102.197Z",fill:"currentColor"}),e.jsx("path",{d:"M324.49 32.1665L303.995 85.794L283.498 32.1665H266.983L293.748 102.197H314.242L341.006 32.1665H324.49Z",fill:"currentColor"}),e.jsx("path",{d:"M376.571 30.3656C356.603 30.3656 340.797 46.8497 340.797 67.1828C340.797 89.6597 356.094 104 378.661 104C391.29 104 399.354 99.1488 409.206 88.5848L398.189 80.0226C398.183 80.031 389.874 90.9895 377.468 90.9895C363.048 90.9895 356.977 79.3111 356.977 73.269H411.075C413.917 50.1328 398.775 30.3656 376.571 30.3656ZM357.02 61.0967C357.145 59.7487 359.023 43.3761 376.442 43.3761C393.861 43.3761 395.978 59.7464 396.099 61.0967H357.02Z",fill:"currentColor"})]}),e.jsxs("svg",{className:"relative -mt-[4.9rem] -ml-8 w-[448px] max-w-none lg:-mt-[6.6rem] lg:ml-0 dark:hidden",viewBox:"0 0 440 376",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M188.263 355.73L188.595 355.73C195.441 348.845 205.766 339.761 219.569 328.477C232.93 317.193 242.978 308.205 249.714 301.511C256.34 294.626 260.867 287.358 263.296 279.708C265.725 272.058 264.565 264.121 259.816 255.896C254.516 246.716 247.062 239.352 237.454 233.805C227.957 228.067 217.908 225.198 207.307 225.198C196.927 225.197 190.136 227.97 186.934 233.516C183.621 238.872 184.726 246.331 190.247 255.894L125.647 255.891C116.371 239.825 112.395 225.481 113.72 212.858C115.265 200.235 121.559 190.481 132.602 183.596C143.754 176.52 158.607 172.982 177.159 172.983C196.594 172.984 215.863 176.523 234.968 183.6C253.961 190.486 271.299 200.241 286.98 212.864C302.661 225.488 315.14 239.833 324.416 255.899C333.03 270.817 336.841 283.918 335.847 295.203C335.075 306.487 331.376 316.336 324.75 324.751C318.346 333.167 308.408 343.494 294.936 355.734L377.094 355.737L405.917 405.656L217.087 405.649L188.263 355.73Z",fill:"black"}),e.jsx("path",{d:"M9.11884 226.339L-13.7396 226.338L-42.7286 176.132L43.0733 176.135L175.595 405.649L112.651 405.647L9.11884 226.339Z",fill:"black"}),e.jsx("path",{d:"M188.263 355.73L188.595 355.73C195.441 348.845 205.766 339.761 219.569 328.477C232.93 317.193 242.978 308.205 249.714 301.511C256.34 294.626 260.867 287.358 263.296 279.708C265.725 272.058 264.565 264.121 259.816 255.896C254.516 246.716 247.062 239.352 237.454 233.805C227.957 228.067 217.908 225.198 207.307 225.198C196.927 225.197 190.136 227.97 186.934 233.516C183.621 238.872 184.726 246.331 190.247 255.894L125.647 255.891C116.371 239.825 112.395 225.481 113.72 212.858C115.265 200.235 121.559 190.481 132.602 183.596C143.754 176.52 158.607 172.982 177.159 172.983C196.594 172.984 215.863 176.523 234.968 183.6C253.961 190.486 271.299 200.241 286.98 212.864C302.661 225.488 315.14 239.833 324.416 255.899C333.03 270.817 336.841 283.918 335.847 295.203C335.075 306.487 331.376 316.336 324.75 324.751C318.346 333.167 308.408 343.494 294.936 355.734L377.094 355.737L405.917 405.656L217.087 405.649L188.263 355.73Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M9.11884 226.339L-13.7396 226.338L-42.7286 176.132L43.0733 176.135L175.595 405.649L112.651 405.647L9.11884 226.339Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M204.592 327.449L204.923 327.449C211.769 320.564 222.094 311.479 235.897 300.196C249.258 288.912 259.306 279.923 266.042 273.23C272.668 266.345 277.195 259.077 279.624 251.427C282.053 243.777 280.893 235.839 276.145 227.615C270.844 218.435 263.39 211.071 253.782 205.524C244.285 199.786 234.236 196.917 223.635 196.916C213.255 196.916 206.464 199.689 203.262 205.235C199.949 210.59 201.054 218.049 206.575 227.612L141.975 227.61C132.699 211.544 128.723 197.2 130.048 184.577C131.593 171.954 137.887 162.2 148.93 155.315C160.083 148.239 174.935 144.701 193.487 144.702C212.922 144.703 232.192 148.242 251.296 155.319C270.289 162.205 287.627 171.96 303.308 184.583C318.989 197.207 331.468 211.552 340.745 227.618C349.358 242.536 353.169 255.637 352.175 266.921C351.403 278.205 347.704 288.055 341.078 296.47C334.674 304.885 324.736 315.213 311.264 327.453L393.422 327.456L422.246 377.375L233.415 377.368L204.592 327.449Z",fill:"#F8B803"}),e.jsx("path",{d:"M25.447 198.058L2.58852 198.057L-26.4005 147.851L59.4015 147.854L191.923 377.368L128.979 377.365L25.447 198.058Z",fill:"#F8B803"}),e.jsx("path",{d:"M204.592 327.449L204.923 327.449C211.769 320.564 222.094 311.479 235.897 300.196C249.258 288.912 259.306 279.923 266.042 273.23C272.668 266.345 277.195 259.077 279.624 251.427C282.053 243.777 280.893 235.839 276.145 227.615C270.844 218.435 263.39 211.071 253.782 205.524C244.285 199.786 234.236 196.917 223.635 196.916C213.255 196.916 206.464 199.689 203.262 205.235C199.949 210.59 201.054 218.049 206.575 227.612L141.975 227.61C132.699 211.544 128.723 197.2 130.048 184.577C131.593 171.954 137.887 162.2 148.93 155.315C160.083 148.239 174.935 144.701 193.487 144.702C212.922 144.703 232.192 148.242 251.296 155.319C270.289 162.205 287.627 171.96 303.308 184.583C318.989 197.207 331.468 211.552 340.745 227.618C349.358 242.536 353.169 255.637 352.175 266.921C351.403 278.205 347.704 288.055 341.078 296.47C334.674 304.885 324.736 315.213 311.264 327.453L393.422 327.456L422.246 377.375L233.415 377.368L204.592 327.449Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M25.447 198.058L2.58852 198.057L-26.4005 147.851L59.4015 147.854L191.923 377.368L128.979 377.365L25.447 198.058Z",stroke:"#1B1B18",strokeWidth:1})]}),e.jsxs("g",{style:{mixBlendMode:"hard-light"},className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.725 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",fill:"#F0ACB8"}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",fill:"#F0ACB8"}),e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.725 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",stroke:"#1B1B18",strokeWidth:1})]}),e.jsxs("g",{style:{mixBlendMode:"plus-darker"},className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M230.951 281.792L231.282 281.793C238.128 274.907 248.453 265.823 262.256 254.539C275.617 243.256 285.666 234.267 292.402 227.573C299.027 220.688 303.554 213.421 305.983 205.771C308.412 198.12 307.253 190.183 302.504 181.959C297.203 172.778 289.749 165.415 280.142 159.868C270.645 154.13 260.596 151.26 249.995 151.26C239.615 151.26 232.823 154.033 229.621 159.579C226.309 164.934 227.413 172.393 232.935 181.956L168.335 181.954C159.058 165.888 155.082 151.543 156.407 138.92C157.953 126.298 164.247 116.544 175.289 109.659C186.442 102.583 201.294 99.045 219.846 99.0457C239.281 99.0464 258.551 102.585 277.655 109.663C296.649 116.549 313.986 126.303 329.667 138.927C345.349 151.551 357.827 165.895 367.104 181.961C375.718 196.88 379.528 209.981 378.535 221.265C377.762 232.549 374.063 242.399 367.438 250.814C361.033 259.229 351.095 269.557 337.624 281.796L419.782 281.8L448.605 331.719L259.774 331.712L230.951 281.792Z",fill:"#F3BEC7"}),e.jsx("path",{d:"M51.8063 152.402L28.9479 152.401L-0.0411453 102.195L85.7608 102.198L218.282 331.711L155.339 331.709L51.8063 152.402Z",fill:"#F3BEC7"}),e.jsx("path",{d:"M230.951 281.792L231.282 281.793C238.128 274.907 248.453 265.823 262.256 254.539C275.617 243.256 285.666 234.267 292.402 227.573C299.027 220.688 303.554 213.421 305.983 205.771C308.412 198.12 307.253 190.183 302.504 181.959C297.203 172.778 289.749 165.415 280.142 159.868C270.645 154.13 260.596 151.26 249.995 151.26C239.615 151.26 232.823 154.033 229.621 159.579C226.309 164.934 227.413 172.393 232.935 181.956L168.335 181.954C159.058 165.888 155.082 151.543 156.407 138.92C157.953 126.298 164.247 116.544 175.289 109.659C186.442 102.583 201.294 99.045 219.846 99.0457C239.281 99.0464 258.551 102.585 277.655 109.663C296.649 116.549 313.986 126.303 329.667 138.927C345.349 151.551 357.827 165.895 367.104 181.961C375.718 196.88 379.528 209.981 378.535 221.265C377.762 232.549 374.063 242.399 367.438 250.814C361.033 259.229 351.095 269.557 337.624 281.796L419.782 281.8L448.605 331.719L259.774 331.712L230.951 281.792Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M51.8063 152.402L28.9479 152.401L-0.0411453 102.195L85.7608 102.198L218.282 331.711L155.339 331.709L51.8063 152.402Z",stroke:"#1B1B18",strokeWidth:1})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M188.467 355.363L188.798 355.363C195.644 348.478 205.969 339.393 219.772 328.11C233.133 316.826 243.181 307.837 249.917 301.144C253.696 297.217 256.792 293.166 259.205 288.991C261.024 285.845 262.455 282.628 263.499 279.341C265.928 271.691 264.768 263.753 260.02 255.529C254.719 246.349 247.265 238.985 237.657 233.438C228.16 227.7 218.111 224.831 207.51 224.83C197.13 224.83 190.339 227.603 187.137 233.149C183.824 238.504 184.929 245.963 190.45 255.527L125.851 255.524C116.574 239.458 112.598 225.114 113.923 212.491C114.615 206.836 116.261 201.756 118.859 197.253C122.061 191.704 126.709 187.03 132.805 183.229C143.958 176.153 158.81 172.615 177.362 172.616C196.797 172.617 216.067 176.156 235.171 183.233C254.164 190.119 271.502 199.874 287.183 212.497C302.864 225.121 315.343 239.466 324.62 255.532C333.233 270.45 337.044 283.551 336.05 294.835C335.46 303.459 333.16 311.245 329.151 318.194C327.915 320.337 326.515 322.4 324.953 324.384C318.549 332.799 308.611 343.127 295.139 355.367L377.297 355.37L406.121 405.289L217.29 405.282L188.467 355.363Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M9.32197 225.972L-13.5365 225.971L-42.5255 175.765L43.2765 175.768L175.798 405.282L112.854 405.279L9.32197 225.972Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M345.247 111.915C329.566 99.2919 312.229 89.5371 293.235 82.6512L235.167 183.228C254.161 190.114 271.498 199.869 287.179 212.492L345.247 111.915Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M382.686 154.964C373.41 138.898 360.931 124.553 345.25 111.93L287.182 212.506C302.863 225.13 315.342 239.475 324.618 255.541L382.686 154.964Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M293.243 82.6472C274.139 75.57 254.869 72.031 235.434 72.0303L177.366 172.607C196.801 172.608 216.071 176.147 235.175 183.224L293.243 82.6472Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M394.118 194.257C395.112 182.973 391.301 169.872 382.688 154.953L324.619 255.53C333.233 270.448 337.044 283.55 336.05 294.834L394.118 194.257Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M235.432 72.0311C216.88 72.0304 202.027 75.5681 190.875 82.6442L132.806 183.221C143.959 176.145 158.812 172.607 177.363 172.608L235.432 72.0311Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M265.59 124.25C276.191 124.251 286.24 127.12 295.737 132.858L237.669 233.435C228.172 227.697 218.123 224.828 207.522 224.827L265.59 124.25Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M295.719 132.859C305.326 138.406 312.78 145.77 318.081 154.95L260.013 255.527C254.712 246.347 247.258 238.983 237.651 233.436L295.719 132.859Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M387.218 217.608C391.227 210.66 393.527 202.874 394.117 194.25L336.049 294.827C335.459 303.451 333.159 311.237 329.15 318.185L387.218 217.608Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M245.211 132.577C248.413 127.03 255.204 124.257 265.584 124.258L207.516 224.835C197.136 224.834 190.345 227.607 187.143 233.154L245.211 132.577Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M318.094 154.945C322.842 163.17 324.002 171.107 321.573 178.757L263.505 279.334C265.934 271.684 264.774 263.746 260.026 255.522L318.094 154.945Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M176.925 96.6737C180.127 91.1249 184.776 86.4503 190.871 82.6499L132.803 183.227C126.708 187.027 122.059 191.702 118.857 197.25L176.925 96.6737Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M387.226 217.606C385.989 219.749 384.59 221.813 383.028 223.797L324.96 324.373C326.522 322.39 327.921 320.326 329.157 318.183L387.226 217.606Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M317.269 188.408C319.087 185.262 320.519 182.045 321.562 178.758L263.494 279.335C262.451 282.622 261.019 285.839 259.201 288.985L317.269 188.408Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M245.208 132.573C241.895 137.928 243 145.387 248.522 154.95L190.454 255.527C184.932 245.964 183.827 238.505 187.14 233.15L245.208 132.573Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M176.93 96.6719C174.331 101.175 172.686 106.255 171.993 111.91L113.925 212.487C114.618 206.831 116.263 201.752 118.862 197.249L176.93 96.6719Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M317.266 188.413C314.853 192.589 311.757 196.64 307.978 200.566L249.91 301.143C253.689 297.216 256.785 293.166 259.198 288.99L317.266 188.413Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M464.198 304.708L435.375 254.789L377.307 355.366L406.13 405.285L464.198 304.708Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M353.209 254.787C366.68 242.548 376.618 232.22 383.023 223.805L324.955 324.382C318.55 332.797 308.612 343.124 295.141 355.364L353.209 254.787Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M435.37 254.787L353.212 254.784L295.144 355.361L377.302 355.364L435.37 254.787Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M183.921 154.947L248.521 154.95L190.453 255.527L125.853 255.524L183.921 154.947Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M171.992 111.914C170.668 124.537 174.643 138.881 183.92 154.947L125.852 255.524C116.575 239.458 112.599 225.114 113.924 212.491L171.992 111.914Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M307.987 200.562C301.251 207.256 291.203 216.244 277.842 227.528L219.774 328.105C233.135 316.821 243.183 307.832 249.919 301.139L307.987 200.562Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M15.5469 75.1797L44.5359 125.386L-13.5321 225.963L-42.5212 175.756L15.5469 75.1797Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M277.836 227.536C264.033 238.82 253.708 247.904 246.862 254.789L188.794 355.366C195.64 348.481 205.965 339.397 219.768 328.113L277.836 227.536Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M275.358 304.706L464.189 304.713L406.12 405.29L217.29 405.283L275.358 304.706Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M44.5279 125.39L67.3864 125.39L9.31834 225.967L-13.5401 225.966L44.5279 125.39Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M101.341 75.1911L233.863 304.705L175.795 405.282L43.2733 175.768L101.341 75.1911ZM15.5431 75.19L-42.525 175.767L43.277 175.77L101.345 75.1932L15.5431 75.19Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M246.866 254.784L246.534 254.784L188.466 355.361L188.798 355.361L246.866 254.784Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M246.539 254.781L275.362 304.701L217.294 405.277L188.471 355.358L246.539 254.781Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M67.3906 125.391L170.923 304.698L112.855 405.275L9.32257 225.967L67.3906 125.391Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M170.921 304.699L233.865 304.701L175.797 405.278L112.853 405.276L170.921 304.699Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"})]}),e.jsxs("g",{style:{mixBlendMode:"hard-light"},className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M246.544 254.79L246.875 254.79C253.722 247.905 264.046 238.82 277.849 227.537C291.21 216.253 301.259 207.264 307.995 200.57C314.62 193.685 319.147 186.418 321.577 178.768C324.006 171.117 322.846 163.18 318.097 154.956C312.796 145.775 305.342 138.412 295.735 132.865C286.238 127.127 276.189 124.258 265.588 124.257C255.208 124.257 248.416 127.03 245.214 132.576C241.902 137.931 243.006 145.39 248.528 154.953L183.928 154.951C174.652 138.885 170.676 124.541 172 111.918C173.546 99.2946 179.84 89.5408 190.882 82.6559C202.035 75.5798 216.887 72.0421 235.439 72.0428C254.874 72.0435 274.144 75.5825 293.248 82.6598C312.242 89.5457 329.579 99.3005 345.261 111.924C360.942 124.548 373.421 138.892 382.697 154.958C391.311 169.877 395.121 182.978 394.128 194.262C393.355 205.546 389.656 215.396 383.031 223.811C376.627 232.226 366.688 242.554 353.217 254.794L435.375 254.797L464.198 304.716L275.367 304.709L246.544 254.79Z",fill:"#F0ACB8"}),e.jsx("path",{d:"M246.544 254.79L246.875 254.79C253.722 247.905 264.046 238.82 277.849 227.537C291.21 216.253 301.259 207.264 307.995 200.57C314.62 193.685 319.147 186.418 321.577 178.768C324.006 171.117 322.846 163.18 318.097 154.956C312.796 145.775 305.342 138.412 295.735 132.865C286.238 127.127 276.189 124.258 265.588 124.257C255.208 124.257 248.416 127.03 245.214 132.576C241.902 137.931 243.006 145.39 248.528 154.953L183.928 154.951C174.652 138.885 170.676 124.541 172 111.918C173.546 99.2946 179.84 89.5408 190.882 82.6559C202.035 75.5798 216.887 72.0421 235.439 72.0428C254.874 72.0435 274.144 75.5825 293.248 82.6598C312.242 89.5457 329.579 99.3005 345.261 111.924C360.942 124.548 373.421 138.892 382.697 154.958C391.311 169.877 395.121 182.978 394.128 194.262C393.355 205.546 389.656 215.396 383.031 223.811C376.627 232.226 366.688 242.554 353.217 254.794L435.375 254.797L464.198 304.716L275.367 304.709L246.544 254.79Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"round"})]}),e.jsxs("g",{style:{mixBlendMode:"hard-light"},className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M67.41 125.402L44.5515 125.401L15.5625 75.1953L101.364 75.1985L233.886 304.712L170.942 304.71L67.41 125.402Z",fill:"#F0ACB8"}),e.jsx("path",{d:"M67.41 125.402L44.5515 125.401L15.5625 75.1953L101.364 75.1985L233.886 304.712L170.942 304.71L67.41 125.402Z",stroke:"#1B1B18",strokeWidth:1})]})]}),e.jsxs("svg",{className:"relative -mt-[4.9rem] -ml-8 hidden w-[448px] max-w-none lg:-mt-[6.6rem] lg:ml-0 dark:block",viewBox:"0 0 440 376",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M188.263 355.73L188.595 355.73C195.441 348.845 205.766 339.761 219.569 328.477C232.93 317.193 242.978 308.205 249.714 301.511C256.34 294.626 260.867 287.358 263.296 279.708C265.725 272.058 264.565 264.121 259.816 255.896C254.516 246.716 247.062 239.352 237.454 233.805C227.957 228.067 217.908 225.198 207.307 225.198C196.927 225.197 190.136 227.97 186.934 233.516C183.621 238.872 184.726 246.331 190.247 255.894L125.647 255.891C116.371 239.825 112.395 225.481 113.72 212.858C115.265 200.235 121.559 190.481 132.602 183.596C143.754 176.52 158.607 172.982 177.159 172.983C196.594 172.984 215.863 176.523 234.968 183.6C253.961 190.486 271.299 200.241 286.98 212.864C302.661 225.488 315.14 239.833 324.416 255.899C333.03 270.817 336.841 283.918 335.847 295.203C335.075 306.487 331.376 316.336 324.75 324.751C318.346 333.167 308.408 343.494 294.936 355.734L377.094 355.737L405.917 405.656L217.087 405.649L188.263 355.73Z",fill:"black"}),e.jsx("path",{d:"M9.11884 226.339L-13.7396 226.338L-42.7286 176.132L43.0733 176.135L175.595 405.649L112.651 405.647L9.11884 226.339Z",fill:"black"}),e.jsx("path",{d:"M188.263 355.73L188.595 355.73C195.441 348.845 205.766 339.761 219.569 328.477C232.93 317.193 242.978 308.205 249.714 301.511C256.34 294.626 260.867 287.358 263.296 279.708C265.725 272.058 264.565 264.121 259.816 255.896C254.516 246.716 247.062 239.352 237.454 233.805C227.957 228.067 217.908 225.198 207.307 225.198C196.927 225.197 190.136 227.97 186.934 233.516C183.621 238.872 184.726 246.331 190.247 255.894L125.647 255.891C116.371 239.825 112.395 225.481 113.72 212.858C115.265 200.235 121.559 190.481 132.602 183.596C143.754 176.52 158.607 172.982 177.159 172.983C196.594 172.984 215.863 176.523 234.968 183.6C253.961 190.486 271.299 200.241 286.98 212.864C302.661 225.488 315.14 239.833 324.416 255.899C333.03 270.817 336.841 283.918 335.847 295.203C335.075 306.487 331.376 316.336 324.75 324.751C318.346 333.167 308.408 343.494 294.936 355.734L377.094 355.737L405.917 405.656L217.087 405.649L188.263 355.73Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M9.11884 226.339L-13.7396 226.338L-42.7286 176.132L43.0733 176.135L175.595 405.649L112.651 405.647L9.11884 226.339Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M204.592 327.449L204.923 327.449C211.769 320.564 222.094 311.479 235.897 300.196C249.258 288.912 259.306 279.923 266.042 273.23C272.668 266.345 277.195 259.077 279.624 251.427C282.053 243.777 280.893 235.839 276.145 227.615C270.844 218.435 263.39 211.071 253.782 205.524C244.285 199.786 234.236 196.917 223.635 196.916C213.255 196.916 206.464 199.689 203.262 205.235C199.949 210.59 201.054 218.049 206.575 227.612L141.975 227.61C132.699 211.544 128.723 197.2 130.048 184.577C131.593 171.954 137.887 162.2 148.93 155.315C160.083 148.239 174.935 144.701 193.487 144.702C212.922 144.703 232.192 148.242 251.296 155.319C270.289 162.205 287.627 171.96 303.308 184.583C318.989 197.207 331.468 211.552 340.745 227.618C349.358 242.536 353.169 255.637 352.175 266.921C351.403 278.205 347.704 288.055 341.078 296.47C334.674 304.885 324.736 315.213 311.264 327.453L393.422 327.456L422.246 377.375L233.415 377.368L204.592 327.449Z",fill:"#391800"}),e.jsx("path",{d:"M25.447 198.058L2.58852 198.057L-26.4005 147.851L59.4015 147.854L191.923 377.368L128.979 377.365L25.447 198.058Z",fill:"#391800"}),e.jsx("path",{d:"M204.592 327.449L204.923 327.449C211.769 320.564 222.094 311.479 235.897 300.196C249.258 288.912 259.306 279.923 266.042 273.23C272.668 266.345 277.195 259.077 279.624 251.427C282.053 243.777 280.893 235.839 276.145 227.615C270.844 218.435 263.39 211.071 253.782 205.524C244.285 199.786 234.236 196.917 223.635 196.916C213.255 196.916 206.464 199.689 203.262 205.235C199.949 210.59 201.054 218.049 206.575 227.612L141.975 227.61C132.699 211.544 128.723 197.2 130.048 184.577C131.593 171.954 137.887 162.2 148.93 155.315C160.083 148.239 174.935 144.701 193.487 144.702C212.922 144.703 232.192 148.242 251.296 155.319C270.289 162.205 287.627 171.96 303.308 184.583C318.989 197.207 331.468 211.552 340.745 227.618C349.358 242.536 353.169 255.637 352.175 266.921C351.403 278.205 347.704 288.055 341.078 296.47C334.674 304.885 324.736 315.213 311.264 327.453L393.422 327.456L422.246 377.375L233.415 377.368L204.592 327.449Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M25.447 198.058L2.58852 198.057L-26.4005 147.851L59.4015 147.854L191.923 377.368L128.979 377.365L25.447 198.058Z",stroke:"#FF750F",strokeWidth:1})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",style:{mixBlendMode:"hard-light"},children:[e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.725 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",fill:"#733000"}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",fill:"#733000"}),e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.725 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",stroke:"#FF750F",strokeWidth:1})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.726 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",stroke:"#FF750F",strokeWidth:1})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M188.467 355.363L188.798 355.363C195.644 348.478 205.969 339.393 219.772 328.11C233.133 316.826 243.181 307.837 249.917 301.144C253.696 297.217 256.792 293.166 259.205 288.991C261.024 285.845 262.455 282.628 263.499 279.341C265.928 271.691 264.768 263.753 260.02 255.529C254.719 246.349 247.265 238.985 237.657 233.438C228.16 227.7 218.111 224.831 207.51 224.83C197.13 224.83 190.339 227.603 187.137 233.149C183.824 238.504 184.929 245.963 190.45 255.527L125.851 255.524C116.574 239.458 112.598 225.114 113.923 212.491C114.615 206.836 116.261 201.756 118.859 197.253C122.061 191.704 126.709 187.03 132.805 183.229C143.958 176.153 158.81 172.615 177.362 172.616C196.797 172.617 216.067 176.156 235.171 183.233C254.164 190.119 271.502 199.874 287.183 212.497C302.864 225.121 315.343 239.466 324.62 255.532C333.233 270.45 337.044 283.551 336.05 294.835C335.46 303.459 333.16 311.245 329.151 318.194C327.915 320.337 326.515 322.4 324.953 324.384C318.549 332.799 308.611 343.127 295.139 355.367L377.297 355.37L406.121 405.289L217.29 405.282L188.467 355.363Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M9.32197 225.972L-13.5365 225.971L-42.5255 175.765L43.2765 175.768L175.798 405.282L112.854 405.279L9.32197 225.972Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M345.247 111.915C329.566 99.2919 312.229 89.5371 293.235 82.6512L235.167 183.228C254.161 190.114 271.498 199.869 287.179 212.492L345.247 111.915Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M382.686 154.964C373.41 138.898 360.931 124.553 345.25 111.93L287.182 212.506C302.863 225.13 315.342 239.475 324.618 255.541L382.686 154.964Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M293.243 82.6472C274.139 75.57 254.869 72.031 235.434 72.0303L177.366 172.607C196.801 172.608 216.071 176.147 235.175 183.224L293.243 82.6472Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M394.118 194.257C395.112 182.973 391.301 169.872 382.688 154.953L324.619 255.53C333.233 270.448 337.044 283.55 336.05 294.834L394.118 194.257Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M235.432 72.0311C216.88 72.0304 202.027 75.5681 190.875 82.6442L132.806 183.221C143.959 176.145 158.812 172.607 177.363 172.608L235.432 72.0311Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M265.59 124.25C276.191 124.251 286.24 127.12 295.737 132.858L237.669 233.435C228.172 227.697 218.123 224.828 207.522 224.827L265.59 124.25Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M295.719 132.859C305.326 138.406 312.78 145.77 318.081 154.95L260.013 255.527C254.712 246.347 247.258 238.983 237.651 233.436L295.719 132.859Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M387.218 217.608C391.227 210.66 393.527 202.874 394.117 194.25L336.049 294.827C335.459 303.451 333.159 311.237 329.15 318.185L387.218 217.608Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M245.211 132.577C248.413 127.03 255.204 124.257 265.584 124.258L207.516 224.835C197.136 224.834 190.345 227.607 187.143 233.154L245.211 132.577Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M318.094 154.945C322.842 163.17 324.002 171.107 321.573 178.757L263.505 279.334C265.934 271.684 264.774 263.746 260.026 255.522L318.094 154.945Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M176.925 96.6737C180.127 91.1249 184.776 86.4503 190.871 82.6499L132.803 183.227C126.708 187.027 122.059 191.702 118.857 197.25L176.925 96.6737Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M387.226 217.606C385.989 219.749 384.59 221.813 383.028 223.797L324.96 324.373C326.522 322.39 327.921 320.326 329.157 318.183L387.226 217.606Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M317.269 188.408C319.087 185.262 320.519 182.045 321.562 178.758L263.494 279.335C262.451 282.622 261.019 285.839 259.201 288.985L317.269 188.408Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M245.208 132.573C241.895 137.928 243 145.387 248.522 154.95L190.454 255.527C184.932 245.964 183.827 238.505 187.14 233.15L245.208 132.573Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M176.93 96.6719C174.331 101.175 172.686 106.255 171.993 111.91L113.925 212.487C114.618 206.831 116.263 201.752 118.862 197.249L176.93 96.6719Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M317.266 188.413C314.853 192.589 311.757 196.64 307.978 200.566L249.91 301.143C253.689 297.216 256.785 293.166 259.198 288.99L317.266 188.413Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M464.198 304.708L435.375 254.789L377.307 355.366L406.13 405.285L464.198 304.708Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M353.209 254.787C366.68 242.548 376.618 232.22 383.023 223.805L324.955 324.382C318.55 332.797 308.612 343.124 295.141 355.364L353.209 254.787Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M435.37 254.787L353.212 254.784L295.144 355.361L377.302 355.364L435.37 254.787Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M183.921 154.947L248.521 154.95L190.453 255.527L125.853 255.524L183.921 154.947Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M171.992 111.914C170.668 124.537 174.643 138.881 183.92 154.947L125.852 255.524C116.575 239.458 112.599 225.114 113.924 212.491L171.992 111.914Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M307.987 200.562C301.251 207.256 291.203 216.244 277.842 227.528L219.774 328.105C233.135 316.821 243.183 307.832 249.919 301.139L307.987 200.562Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M15.5469 75.1797L44.5359 125.386L-13.5321 225.963L-42.5212 175.756L15.5469 75.1797Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M277.836 227.536C264.033 238.82 253.708 247.904 246.862 254.789L188.794 355.366C195.64 348.481 205.965 339.397 219.768 328.113L277.836 227.536Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M275.358 304.706L464.189 304.713L406.12 405.29L217.29 405.283L275.358 304.706Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M44.5279 125.39L67.3864 125.39L9.31834 225.967L-13.5401 225.966L44.5279 125.39Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M101.341 75.1911L233.863 304.705L175.795 405.282L43.2733 175.768L101.341 75.1911ZM15.5431 75.19L-42.525 175.767L43.277 175.77L101.345 75.1932L15.5431 75.19Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M246.866 254.784L246.534 254.784L188.466 355.361L188.798 355.361L246.866 254.784Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M246.539 254.781L275.362 304.701L217.294 405.277L188.471 355.358L246.539 254.781Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M67.3906 125.391L170.923 304.698L112.855 405.275L9.32257 225.967L67.3906 125.391Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M170.921 304.699L233.865 304.701L175.797 405.278L112.853 405.276L170.921 304.699Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",style:{mixBlendMode:"hard-light"},children:[e.jsx("path",{d:"M246.544 254.79L246.875 254.79C253.722 247.905 264.046 238.82 277.849 227.537C291.21 216.253 301.259 207.264 307.995 200.57C314.62 193.685 319.147 186.418 321.577 178.768C324.006 171.117 322.846 163.18 318.097 154.956C312.796 145.775 305.342 138.412 295.735 132.865C286.238 127.127 276.189 124.258 265.588 124.257C255.208 124.257 248.416 127.03 245.214 132.576C241.902 137.931 243.006 145.39 248.528 154.953L183.928 154.951C174.652 138.885 170.676 124.541 172 111.918C173.546 99.2946 179.84 89.5408 190.882 82.6559C202.035 75.5798 216.887 72.0421 235.439 72.0428C254.874 72.0435 274.144 75.5825 293.248 82.6598C312.242 89.5457 329.579 99.3005 345.261 111.924C360.942 124.548 373.421 138.892 382.697 154.958C391.311 169.877 395.121 182.978 394.128 194.262C393.355 205.546 389.656 215.396 383.031 223.811C376.627 232.226 366.688 242.554 353.217 254.794L435.375 254.797L464.198 304.716L275.367 304.709L246.544 254.79Z",fill:"#4B0600"}),e.jsx("path",{d:"M246.544 254.79L246.875 254.79C253.722 247.905 264.046 238.82 277.849 227.537C291.21 216.253 301.259 207.264 307.995 200.57C314.62 193.685 319.147 186.418 321.577 178.768C324.006 171.117 322.846 163.18 318.097 154.956C312.796 145.775 305.342 138.412 295.735 132.865C286.238 127.127 276.189 124.258 265.588 124.257C255.208 124.257 248.416 127.03 245.214 132.576C241.902 137.931 243.006 145.39 248.528 154.953L183.928 154.951C174.652 138.885 170.676 124.541 172 111.918C173.546 99.2946 179.84 89.5408 190.882 82.6559C202.035 75.5798 216.887 72.0421 235.439 72.0428C254.874 72.0435 274.144 75.5825 293.248 82.6598C312.242 89.5457 329.579 99.3005 345.261 111.924C360.942 124.548 373.421 138.892 382.697 154.958C391.311 169.877 395.121 182.978 394.128 194.262C393.355 205.546 389.656 215.396 383.031 223.811C376.627 232.226 366.688 242.554 353.217 254.794L435.375 254.797L464.198 304.716L275.367 304.709L246.544 254.79Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"round"})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",style:{mixBlendMode:"hard-light"},children:[e.jsx("path",{d:"M67.41 125.402L44.5515 125.401L15.5625 75.1953L101.364 75.1985L233.886 304.712L170.942 304.71L67.41 125.402Z",fill:"#4B0600"}),e.jsx("path",{d:"M67.41 125.402L44.5515 125.401L15.5625 75.1953L101.364 75.1985L233.886 304.712L170.942 304.71L67.41 125.402Z",stroke:"#FF750F",strokeWidth:1})]})]}),e.jsx("div",{className:"absolute inset-0 rounded-t-lg shadow-[inset_0px_0px_0px_1px_rgba(26,26,0,0.16)] lg:rounded-t-none lg:rounded-r-lg dark:shadow-[inset_0px_0px_0px_1px_#fffaed2d]"})]})]})}),e.jsx("div",{className:"hidden h-14.5 lg:block"})]})]})}export{h as default}; +import{j as e}from"./ui-Z445SNHD.js";import{c as o,u as a,H as C,d as s}from"./app-Dya84jp7.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function h(){const{auth:r}=o().props,{t}=a();return e.jsxs(e.Fragment,{children:[e.jsxs(C,{title:t("Welcome"),children:[e.jsx("link",{rel:"preconnect",href:"https://fonts.bunny.net"}),e.jsx("link",{href:"https://fonts.bunny.net/css?family=instrument-sans:400,500,600",rel:"stylesheet"})]}),e.jsxs("div",{className:"flex min-h-screen flex-col items-center bg-[#FDFDFC] p-6 text-[#1b1b18] lg:justify-center lg:p-8 dark:bg-[#0a0a0a]",children:[e.jsx("header",{className:"mb-6 w-full max-w-[335px] text-sm not-has-[nav]:hidden lg:max-w-4xl",children:e.jsx("nav",{className:"flex items-center justify-end gap-4",children:r.user?e.jsx(s,{href:route("dashboard"),className:"inline-block rounded-sm border border-[#19140035] px-5 py-1.5 text-sm leading-normal text-[#1b1b18] hover:border-[#1915014a] dark:border-[#3E3E3A] dark:text-[#EDEDEC] dark:hover:border-[#62605b]",children:t("Dashboard")}):e.jsxs(e.Fragment,{children:[e.jsx(s,{href:route("login"),className:"inline-block rounded-sm border border-transparent px-5 py-1.5 text-sm leading-normal text-[#1b1b18] hover:border-[#19140035] dark:text-[#EDEDEC] dark:hover:border-[#3E3E3A]",children:t("Log in")}),e.jsx(s,{href:route("register"),className:"inline-block rounded-sm border border-[#19140035] px-5 py-1.5 text-sm leading-normal text-[#1b1b18] hover:border-[#1915014a] dark:border-[#3E3E3A] dark:text-[#EDEDEC] dark:hover:border-[#62605b]",children:t("Register")})]})})}),e.jsx("div",{className:"flex w-full items-center justify-center opacity-100 transition-opacity duration-750 lg:grow starting:opacity-0",children:e.jsxs("main",{className:"flex w-full max-w-[335px] flex-col-reverse lg:max-w-4xl lg:flex-row",children:[e.jsxs("div",{className:"flex-1 rounded-br-lg rounded-bl-lg bg-white p-6 pb-12 text-[13px] leading-[20px] shadow-[inset_0px_0px_0px_1px_rgba(26,26,0,0.16)] lg:rounded-tl-lg lg:rounded-br-none lg:p-20 dark:bg-[#161615] dark:text-[#EDEDEC] dark:shadow-[inset_0px_0px_0px_1px_#fffaed2d]",children:[e.jsx("h1",{className:"mb-1 font-medium",children:t("Let's get started")}),e.jsxs("p",{className:"mb-2 text-[#706f6c] dark:text-[#A1A09A]",children:[t("Laravel has an incredibly rich ecosystem."),e.jsx("br",{}),t("We suggest starting with the following.")]}),e.jsxs("ul",{className:"mb-4 flex flex-col lg:mb-6",children:[e.jsxs("li",{className:"relative flex items-center gap-4 py-2 before:absolute before:top-1/2 before:bottom-0 before:left-[0.4rem] before:border-l before:border-[#e3e3e0] dark:before:border-[#3E3E3A]",children:[e.jsx("span",{className:"relative bg-white py-1 dark:bg-[#161615]",children:e.jsx("span",{className:"flex h-3.5 w-3.5 items-center justify-center rounded-full border border-[#e3e3e0] bg-[#FDFDFC] shadow-[0px_0px_1px_0px_rgba(0,0,0,0.03),0px_1px_2px_0px_rgba(0,0,0,0.06)] dark:border-[#3E3E3A] dark:bg-[#161615]",children:e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-[#dbdbd7] dark:bg-[#3E3E3A]"})})}),e.jsxs("span",{children:[t("Read the"),e.jsxs("a",{href:"https://laravel.com/docs",target:"_blank",className:"ml-1 inline-flex items-center space-x-1 font-medium text-[#f53003] underline underline-offset-4 dark:text-[#FF4433]",children:[e.jsx("span",{children:t("Documentation")}),e.jsx("svg",{width:10,height:11,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-2.5 w-2.5",children:e.jsx("path",{d:"M7.70833 6.95834V2.79167H3.54167M2.5 8L7.5 3.00001",stroke:"currentColor",strokeLinecap:"square"})})]})]})]}),e.jsxs("li",{className:"relative flex items-center gap-4 py-2 before:absolute before:top-0 before:bottom-1/2 before:left-[0.4rem] before:border-l before:border-[#e3e3e0] dark:before:border-[#3E3E3A]",children:[e.jsx("span",{className:"relative bg-white py-1 dark:bg-[#161615]",children:e.jsx("span",{className:"flex h-3.5 w-3.5 items-center justify-center rounded-full border border-[#e3e3e0] bg-[#FDFDFC] shadow-[0px_0px_1px_0px_rgba(0,0,0,0.03),0px_1px_2px_0px_rgba(0,0,0,0.06)] dark:border-[#3E3E3A] dark:bg-[#161615]",children:e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-[#dbdbd7] dark:bg-[#3E3E3A]"})})}),e.jsxs("span",{children:[t("Watch video tutorials at"),e.jsxs("a",{href:"https://laracasts.com",target:"_blank",className:"ml-1 inline-flex items-center space-x-1 font-medium text-[#f53003] underline underline-offset-4 dark:text-[#FF4433]",children:[e.jsx("span",{children:t("Laracasts")}),e.jsx("svg",{width:10,height:11,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-2.5 w-2.5",children:e.jsx("path",{d:"M7.70833 6.95834V2.79167H3.54167M2.5 8L7.5 3.00001",stroke:"currentColor",strokeLinecap:"square"})})]})]})]})]}),e.jsx("ul",{className:"flex gap-3 text-sm leading-normal",children:e.jsx("li",{children:e.jsx("a",{href:"https://cloud.laravel.com",target:"_blank",className:"inline-block rounded-sm border border-black bg-[#1b1b18] px-5 py-1.5 text-sm leading-normal text-white hover:border-black hover:bg-black dark:border-[#eeeeec] dark:bg-[#eeeeec] dark:text-[#1C1C1A] dark:hover:border-white dark:hover:bg-white",children:t("Deploy now")})})})]}),e.jsxs("div",{className:"relative -mb-px aspect-[335/376] w-full shrink-0 overflow-hidden rounded-t-lg bg-[#fff2f2] lg:mb-0 lg:-ml-px lg:aspect-auto lg:w-[438px] lg:rounded-t-none lg:rounded-r-lg dark:bg-[#1D0002]",children:[e.jsxs("svg",{className:"w-full max-w-none translate-y-0 text-[#F53003] opacity-100 transition-all duration-750 dark:text-[#F61500] starting:translate-y-6 starting:opacity-0",viewBox:"0 0 438 104",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M17.2036 -3H0V102.197H49.5189V86.7187H17.2036V-3Z",fill:"currentColor"}),e.jsx("path",{d:"M110.256 41.6337C108.061 38.1275 104.945 35.3731 100.905 33.3681C96.8667 31.3647 92.8016 30.3618 88.7131 30.3618C83.4247 30.3618 78.5885 31.3389 74.201 33.2923C69.8111 35.2456 66.0474 37.928 62.9059 41.3333C59.7643 44.7401 57.3198 48.6726 55.5754 53.1293C53.8287 57.589 52.9572 62.274 52.9572 67.1813C52.9572 72.1925 53.8287 76.8995 55.5754 81.3069C57.3191 85.7173 59.7636 89.6241 62.9059 93.0293C66.0474 96.4361 69.8119 99.1155 74.201 101.069C78.5885 103.022 83.4247 103.999 88.7131 103.999C92.8016 103.999 96.8667 102.997 100.905 100.994C104.945 98.9911 108.061 96.2359 110.256 92.7282V102.195H126.563V32.1642H110.256V41.6337ZM108.76 75.7472C107.762 78.4531 106.366 80.8078 104.572 82.8112C102.776 84.8161 100.606 86.4183 98.0637 87.6206C95.5202 88.823 92.7004 89.4238 89.6103 89.4238C86.5178 89.4238 83.7252 88.823 81.2324 87.6206C78.7388 86.4183 76.5949 84.8161 74.7998 82.8112C73.004 80.8078 71.6319 78.4531 70.6856 75.7472C69.7356 73.0421 69.2644 70.1868 69.2644 67.1821C69.2644 64.1758 69.7356 61.3205 70.6856 58.6154C71.6319 55.9102 73.004 53.5571 74.7998 51.5522C76.5949 49.5495 78.738 47.9451 81.2324 46.7427C83.7252 45.5404 86.5178 44.9396 89.6103 44.9396C92.7012 44.9396 95.5202 45.5404 98.0637 46.7427C100.606 47.9451 102.776 49.5487 104.572 51.5522C106.367 53.5571 107.762 55.9102 108.76 58.6154C109.756 61.3205 110.256 64.1758 110.256 67.1821C110.256 70.1868 109.756 73.0421 108.76 75.7472Z",fill:"currentColor"}),e.jsx("path",{d:"M242.805 41.6337C240.611 38.1275 237.494 35.3731 233.455 33.3681C229.416 31.3647 225.351 30.3618 221.262 30.3618C215.974 30.3618 211.138 31.3389 206.75 33.2923C202.36 35.2456 198.597 37.928 195.455 41.3333C192.314 44.7401 189.869 48.6726 188.125 53.1293C186.378 57.589 185.507 62.274 185.507 67.1813C185.507 72.1925 186.378 76.8995 188.125 81.3069C189.868 85.7173 192.313 89.6241 195.455 93.0293C198.597 96.4361 202.361 99.1155 206.75 101.069C211.138 103.022 215.974 103.999 221.262 103.999C225.351 103.999 229.416 102.997 233.455 100.994C237.494 98.9911 240.611 96.2359 242.805 92.7282V102.195H259.112V32.1642H242.805V41.6337ZM241.31 75.7472C240.312 78.4531 238.916 80.8078 237.122 82.8112C235.326 84.8161 233.156 86.4183 230.614 87.6206C228.07 88.823 225.251 89.4238 222.16 89.4238C219.068 89.4238 216.275 88.823 213.782 87.6206C211.289 86.4183 209.145 84.8161 207.35 82.8112C205.554 80.8078 204.182 78.4531 203.236 75.7472C202.286 73.0421 201.814 70.1868 201.814 67.1821C201.814 64.1758 202.286 61.3205 203.236 58.6154C204.182 55.9102 205.554 53.5571 207.35 51.5522C209.145 49.5495 211.288 47.9451 213.782 46.7427C216.275 45.5404 219.068 44.9396 222.16 44.9396C225.251 44.9396 228.07 45.5404 230.614 46.7427C233.156 47.9451 235.326 49.5487 237.122 51.5522C238.917 53.5571 240.312 55.9102 241.31 58.6154C242.306 61.3205 242.806 64.1758 242.806 67.1821C242.805 70.1868 242.305 73.0421 241.31 75.7472Z",fill:"currentColor"}),e.jsx("path",{d:"M438 -3H421.694V102.197H438V-3Z",fill:"currentColor"}),e.jsx("path",{d:"M139.43 102.197H155.735V48.2834H183.712V32.1665H139.43V102.197Z",fill:"currentColor"}),e.jsx("path",{d:"M324.49 32.1665L303.995 85.794L283.498 32.1665H266.983L293.748 102.197H314.242L341.006 32.1665H324.49Z",fill:"currentColor"}),e.jsx("path",{d:"M376.571 30.3656C356.603 30.3656 340.797 46.8497 340.797 67.1828C340.797 89.6597 356.094 104 378.661 104C391.29 104 399.354 99.1488 409.206 88.5848L398.189 80.0226C398.183 80.031 389.874 90.9895 377.468 90.9895C363.048 90.9895 356.977 79.3111 356.977 73.269H411.075C413.917 50.1328 398.775 30.3656 376.571 30.3656ZM357.02 61.0967C357.145 59.7487 359.023 43.3761 376.442 43.3761C393.861 43.3761 395.978 59.7464 396.099 61.0967H357.02Z",fill:"currentColor"})]}),e.jsxs("svg",{className:"relative -mt-[4.9rem] -ml-8 w-[448px] max-w-none lg:-mt-[6.6rem] lg:ml-0 dark:hidden",viewBox:"0 0 440 376",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M188.263 355.73L188.595 355.73C195.441 348.845 205.766 339.761 219.569 328.477C232.93 317.193 242.978 308.205 249.714 301.511C256.34 294.626 260.867 287.358 263.296 279.708C265.725 272.058 264.565 264.121 259.816 255.896C254.516 246.716 247.062 239.352 237.454 233.805C227.957 228.067 217.908 225.198 207.307 225.198C196.927 225.197 190.136 227.97 186.934 233.516C183.621 238.872 184.726 246.331 190.247 255.894L125.647 255.891C116.371 239.825 112.395 225.481 113.72 212.858C115.265 200.235 121.559 190.481 132.602 183.596C143.754 176.52 158.607 172.982 177.159 172.983C196.594 172.984 215.863 176.523 234.968 183.6C253.961 190.486 271.299 200.241 286.98 212.864C302.661 225.488 315.14 239.833 324.416 255.899C333.03 270.817 336.841 283.918 335.847 295.203C335.075 306.487 331.376 316.336 324.75 324.751C318.346 333.167 308.408 343.494 294.936 355.734L377.094 355.737L405.917 405.656L217.087 405.649L188.263 355.73Z",fill:"black"}),e.jsx("path",{d:"M9.11884 226.339L-13.7396 226.338L-42.7286 176.132L43.0733 176.135L175.595 405.649L112.651 405.647L9.11884 226.339Z",fill:"black"}),e.jsx("path",{d:"M188.263 355.73L188.595 355.73C195.441 348.845 205.766 339.761 219.569 328.477C232.93 317.193 242.978 308.205 249.714 301.511C256.34 294.626 260.867 287.358 263.296 279.708C265.725 272.058 264.565 264.121 259.816 255.896C254.516 246.716 247.062 239.352 237.454 233.805C227.957 228.067 217.908 225.198 207.307 225.198C196.927 225.197 190.136 227.97 186.934 233.516C183.621 238.872 184.726 246.331 190.247 255.894L125.647 255.891C116.371 239.825 112.395 225.481 113.72 212.858C115.265 200.235 121.559 190.481 132.602 183.596C143.754 176.52 158.607 172.982 177.159 172.983C196.594 172.984 215.863 176.523 234.968 183.6C253.961 190.486 271.299 200.241 286.98 212.864C302.661 225.488 315.14 239.833 324.416 255.899C333.03 270.817 336.841 283.918 335.847 295.203C335.075 306.487 331.376 316.336 324.75 324.751C318.346 333.167 308.408 343.494 294.936 355.734L377.094 355.737L405.917 405.656L217.087 405.649L188.263 355.73Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M9.11884 226.339L-13.7396 226.338L-42.7286 176.132L43.0733 176.135L175.595 405.649L112.651 405.647L9.11884 226.339Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M204.592 327.449L204.923 327.449C211.769 320.564 222.094 311.479 235.897 300.196C249.258 288.912 259.306 279.923 266.042 273.23C272.668 266.345 277.195 259.077 279.624 251.427C282.053 243.777 280.893 235.839 276.145 227.615C270.844 218.435 263.39 211.071 253.782 205.524C244.285 199.786 234.236 196.917 223.635 196.916C213.255 196.916 206.464 199.689 203.262 205.235C199.949 210.59 201.054 218.049 206.575 227.612L141.975 227.61C132.699 211.544 128.723 197.2 130.048 184.577C131.593 171.954 137.887 162.2 148.93 155.315C160.083 148.239 174.935 144.701 193.487 144.702C212.922 144.703 232.192 148.242 251.296 155.319C270.289 162.205 287.627 171.96 303.308 184.583C318.989 197.207 331.468 211.552 340.745 227.618C349.358 242.536 353.169 255.637 352.175 266.921C351.403 278.205 347.704 288.055 341.078 296.47C334.674 304.885 324.736 315.213 311.264 327.453L393.422 327.456L422.246 377.375L233.415 377.368L204.592 327.449Z",fill:"#F8B803"}),e.jsx("path",{d:"M25.447 198.058L2.58852 198.057L-26.4005 147.851L59.4015 147.854L191.923 377.368L128.979 377.365L25.447 198.058Z",fill:"#F8B803"}),e.jsx("path",{d:"M204.592 327.449L204.923 327.449C211.769 320.564 222.094 311.479 235.897 300.196C249.258 288.912 259.306 279.923 266.042 273.23C272.668 266.345 277.195 259.077 279.624 251.427C282.053 243.777 280.893 235.839 276.145 227.615C270.844 218.435 263.39 211.071 253.782 205.524C244.285 199.786 234.236 196.917 223.635 196.916C213.255 196.916 206.464 199.689 203.262 205.235C199.949 210.59 201.054 218.049 206.575 227.612L141.975 227.61C132.699 211.544 128.723 197.2 130.048 184.577C131.593 171.954 137.887 162.2 148.93 155.315C160.083 148.239 174.935 144.701 193.487 144.702C212.922 144.703 232.192 148.242 251.296 155.319C270.289 162.205 287.627 171.96 303.308 184.583C318.989 197.207 331.468 211.552 340.745 227.618C349.358 242.536 353.169 255.637 352.175 266.921C351.403 278.205 347.704 288.055 341.078 296.47C334.674 304.885 324.736 315.213 311.264 327.453L393.422 327.456L422.246 377.375L233.415 377.368L204.592 327.449Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M25.447 198.058L2.58852 198.057L-26.4005 147.851L59.4015 147.854L191.923 377.368L128.979 377.365L25.447 198.058Z",stroke:"#1B1B18",strokeWidth:1})]}),e.jsxs("g",{style:{mixBlendMode:"hard-light"},className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.725 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",fill:"#F0ACB8"}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",fill:"#F0ACB8"}),e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.725 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",stroke:"#1B1B18",strokeWidth:1})]}),e.jsxs("g",{style:{mixBlendMode:"plus-darker"},className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M230.951 281.792L231.282 281.793C238.128 274.907 248.453 265.823 262.256 254.539C275.617 243.256 285.666 234.267 292.402 227.573C299.027 220.688 303.554 213.421 305.983 205.771C308.412 198.12 307.253 190.183 302.504 181.959C297.203 172.778 289.749 165.415 280.142 159.868C270.645 154.13 260.596 151.26 249.995 151.26C239.615 151.26 232.823 154.033 229.621 159.579C226.309 164.934 227.413 172.393 232.935 181.956L168.335 181.954C159.058 165.888 155.082 151.543 156.407 138.92C157.953 126.298 164.247 116.544 175.289 109.659C186.442 102.583 201.294 99.045 219.846 99.0457C239.281 99.0464 258.551 102.585 277.655 109.663C296.649 116.549 313.986 126.303 329.667 138.927C345.349 151.551 357.827 165.895 367.104 181.961C375.718 196.88 379.528 209.981 378.535 221.265C377.762 232.549 374.063 242.399 367.438 250.814C361.033 259.229 351.095 269.557 337.624 281.796L419.782 281.8L448.605 331.719L259.774 331.712L230.951 281.792Z",fill:"#F3BEC7"}),e.jsx("path",{d:"M51.8063 152.402L28.9479 152.401L-0.0411453 102.195L85.7608 102.198L218.282 331.711L155.339 331.709L51.8063 152.402Z",fill:"#F3BEC7"}),e.jsx("path",{d:"M230.951 281.792L231.282 281.793C238.128 274.907 248.453 265.823 262.256 254.539C275.617 243.256 285.666 234.267 292.402 227.573C299.027 220.688 303.554 213.421 305.983 205.771C308.412 198.12 307.253 190.183 302.504 181.959C297.203 172.778 289.749 165.415 280.142 159.868C270.645 154.13 260.596 151.26 249.995 151.26C239.615 151.26 232.823 154.033 229.621 159.579C226.309 164.934 227.413 172.393 232.935 181.956L168.335 181.954C159.058 165.888 155.082 151.543 156.407 138.92C157.953 126.298 164.247 116.544 175.289 109.659C186.442 102.583 201.294 99.045 219.846 99.0457C239.281 99.0464 258.551 102.585 277.655 109.663C296.649 116.549 313.986 126.303 329.667 138.927C345.349 151.551 357.827 165.895 367.104 181.961C375.718 196.88 379.528 209.981 378.535 221.265C377.762 232.549 374.063 242.399 367.438 250.814C361.033 259.229 351.095 269.557 337.624 281.796L419.782 281.8L448.605 331.719L259.774 331.712L230.951 281.792Z",stroke:"#1B1B18",strokeWidth:1}),e.jsx("path",{d:"M51.8063 152.402L28.9479 152.401L-0.0411453 102.195L85.7608 102.198L218.282 331.711L155.339 331.709L51.8063 152.402Z",stroke:"#1B1B18",strokeWidth:1})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M188.467 355.363L188.798 355.363C195.644 348.478 205.969 339.393 219.772 328.11C233.133 316.826 243.181 307.837 249.917 301.144C253.696 297.217 256.792 293.166 259.205 288.991C261.024 285.845 262.455 282.628 263.499 279.341C265.928 271.691 264.768 263.753 260.02 255.529C254.719 246.349 247.265 238.985 237.657 233.438C228.16 227.7 218.111 224.831 207.51 224.83C197.13 224.83 190.339 227.603 187.137 233.149C183.824 238.504 184.929 245.963 190.45 255.527L125.851 255.524C116.574 239.458 112.598 225.114 113.923 212.491C114.615 206.836 116.261 201.756 118.859 197.253C122.061 191.704 126.709 187.03 132.805 183.229C143.958 176.153 158.81 172.615 177.362 172.616C196.797 172.617 216.067 176.156 235.171 183.233C254.164 190.119 271.502 199.874 287.183 212.497C302.864 225.121 315.343 239.466 324.62 255.532C333.233 270.45 337.044 283.551 336.05 294.835C335.46 303.459 333.16 311.245 329.151 318.194C327.915 320.337 326.515 322.4 324.953 324.384C318.549 332.799 308.611 343.127 295.139 355.367L377.297 355.37L406.121 405.289L217.29 405.282L188.467 355.363Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M9.32197 225.972L-13.5365 225.971L-42.5255 175.765L43.2765 175.768L175.798 405.282L112.854 405.279L9.32197 225.972Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M345.247 111.915C329.566 99.2919 312.229 89.5371 293.235 82.6512L235.167 183.228C254.161 190.114 271.498 199.869 287.179 212.492L345.247 111.915Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M382.686 154.964C373.41 138.898 360.931 124.553 345.25 111.93L287.182 212.506C302.863 225.13 315.342 239.475 324.618 255.541L382.686 154.964Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M293.243 82.6472C274.139 75.57 254.869 72.031 235.434 72.0303L177.366 172.607C196.801 172.608 216.071 176.147 235.175 183.224L293.243 82.6472Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M394.118 194.257C395.112 182.973 391.301 169.872 382.688 154.953L324.619 255.53C333.233 270.448 337.044 283.55 336.05 294.834L394.118 194.257Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M235.432 72.0311C216.88 72.0304 202.027 75.5681 190.875 82.6442L132.806 183.221C143.959 176.145 158.812 172.607 177.363 172.608L235.432 72.0311Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M265.59 124.25C276.191 124.251 286.24 127.12 295.737 132.858L237.669 233.435C228.172 227.697 218.123 224.828 207.522 224.827L265.59 124.25Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M295.719 132.859C305.326 138.406 312.78 145.77 318.081 154.95L260.013 255.527C254.712 246.347 247.258 238.983 237.651 233.436L295.719 132.859Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M387.218 217.608C391.227 210.66 393.527 202.874 394.117 194.25L336.049 294.827C335.459 303.451 333.159 311.237 329.15 318.185L387.218 217.608Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M245.211 132.577C248.413 127.03 255.204 124.257 265.584 124.258L207.516 224.835C197.136 224.834 190.345 227.607 187.143 233.154L245.211 132.577Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M318.094 154.945C322.842 163.17 324.002 171.107 321.573 178.757L263.505 279.334C265.934 271.684 264.774 263.746 260.026 255.522L318.094 154.945Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M176.925 96.6737C180.127 91.1249 184.776 86.4503 190.871 82.6499L132.803 183.227C126.708 187.027 122.059 191.702 118.857 197.25L176.925 96.6737Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M387.226 217.606C385.989 219.749 384.59 221.813 383.028 223.797L324.96 324.373C326.522 322.39 327.921 320.326 329.157 318.183L387.226 217.606Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M317.269 188.408C319.087 185.262 320.519 182.045 321.562 178.758L263.494 279.335C262.451 282.622 261.019 285.839 259.201 288.985L317.269 188.408Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M245.208 132.573C241.895 137.928 243 145.387 248.522 154.95L190.454 255.527C184.932 245.964 183.827 238.505 187.14 233.15L245.208 132.573Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M176.93 96.6719C174.331 101.175 172.686 106.255 171.993 111.91L113.925 212.487C114.618 206.831 116.263 201.752 118.862 197.249L176.93 96.6719Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M317.266 188.413C314.853 192.589 311.757 196.64 307.978 200.566L249.91 301.143C253.689 297.216 256.785 293.166 259.198 288.99L317.266 188.413Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M464.198 304.708L435.375 254.789L377.307 355.366L406.13 405.285L464.198 304.708Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M353.209 254.787C366.68 242.548 376.618 232.22 383.023 223.805L324.955 324.382C318.55 332.797 308.612 343.124 295.141 355.364L353.209 254.787Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M435.37 254.787L353.212 254.784L295.144 355.361L377.302 355.364L435.37 254.787Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M183.921 154.947L248.521 154.95L190.453 255.527L125.853 255.524L183.921 154.947Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M171.992 111.914C170.668 124.537 174.643 138.881 183.92 154.947L125.852 255.524C116.575 239.458 112.599 225.114 113.924 212.491L171.992 111.914Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M307.987 200.562C301.251 207.256 291.203 216.244 277.842 227.528L219.774 328.105C233.135 316.821 243.183 307.832 249.919 301.139L307.987 200.562Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M15.5469 75.1797L44.5359 125.386L-13.5321 225.963L-42.5212 175.756L15.5469 75.1797Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M277.836 227.536C264.033 238.82 253.708 247.904 246.862 254.789L188.794 355.366C195.64 348.481 205.965 339.397 219.768 328.113L277.836 227.536Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M275.358 304.706L464.189 304.713L406.12 405.29L217.29 405.283L275.358 304.706Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M44.5279 125.39L67.3864 125.39L9.31834 225.967L-13.5401 225.966L44.5279 125.39Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M101.341 75.1911L233.863 304.705L175.795 405.282L43.2733 175.768L101.341 75.1911ZM15.5431 75.19L-42.525 175.767L43.277 175.77L101.345 75.1932L15.5431 75.19Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M246.866 254.784L246.534 254.784L188.466 355.361L188.798 355.361L246.866 254.784Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M246.539 254.781L275.362 304.701L217.294 405.277L188.471 355.358L246.539 254.781Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M67.3906 125.391L170.923 304.698L112.855 405.275L9.32257 225.967L67.3906 125.391Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M170.921 304.699L233.865 304.701L175.797 405.278L112.853 405.276L170.921 304.699Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"bevel"})]}),e.jsxs("g",{style:{mixBlendMode:"hard-light"},className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M246.544 254.79L246.875 254.79C253.722 247.905 264.046 238.82 277.849 227.537C291.21 216.253 301.259 207.264 307.995 200.57C314.62 193.685 319.147 186.418 321.577 178.768C324.006 171.117 322.846 163.18 318.097 154.956C312.796 145.775 305.342 138.412 295.735 132.865C286.238 127.127 276.189 124.258 265.588 124.257C255.208 124.257 248.416 127.03 245.214 132.576C241.902 137.931 243.006 145.39 248.528 154.953L183.928 154.951C174.652 138.885 170.676 124.541 172 111.918C173.546 99.2946 179.84 89.5408 190.882 82.6559C202.035 75.5798 216.887 72.0421 235.439 72.0428C254.874 72.0435 274.144 75.5825 293.248 82.6598C312.242 89.5457 329.579 99.3005 345.261 111.924C360.942 124.548 373.421 138.892 382.697 154.958C391.311 169.877 395.121 182.978 394.128 194.262C393.355 205.546 389.656 215.396 383.031 223.811C376.627 232.226 366.688 242.554 353.217 254.794L435.375 254.797L464.198 304.716L275.367 304.709L246.544 254.79Z",fill:"#F0ACB8"}),e.jsx("path",{d:"M246.544 254.79L246.875 254.79C253.722 247.905 264.046 238.82 277.849 227.537C291.21 216.253 301.259 207.264 307.995 200.57C314.62 193.685 319.147 186.418 321.577 178.768C324.006 171.117 322.846 163.18 318.097 154.956C312.796 145.775 305.342 138.412 295.735 132.865C286.238 127.127 276.189 124.258 265.588 124.257C255.208 124.257 248.416 127.03 245.214 132.576C241.902 137.931 243.006 145.39 248.528 154.953L183.928 154.951C174.652 138.885 170.676 124.541 172 111.918C173.546 99.2946 179.84 89.5408 190.882 82.6559C202.035 75.5798 216.887 72.0421 235.439 72.0428C254.874 72.0435 274.144 75.5825 293.248 82.6598C312.242 89.5457 329.579 99.3005 345.261 111.924C360.942 124.548 373.421 138.892 382.697 154.958C391.311 169.877 395.121 182.978 394.128 194.262C393.355 205.546 389.656 215.396 383.031 223.811C376.627 232.226 366.688 242.554 353.217 254.794L435.375 254.797L464.198 304.716L275.367 304.709L246.544 254.79Z",stroke:"#1B1B18",strokeWidth:1,strokeLinejoin:"round"})]}),e.jsxs("g",{style:{mixBlendMode:"hard-light"},className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M67.41 125.402L44.5515 125.401L15.5625 75.1953L101.364 75.1985L233.886 304.712L170.942 304.71L67.41 125.402Z",fill:"#F0ACB8"}),e.jsx("path",{d:"M67.41 125.402L44.5515 125.401L15.5625 75.1953L101.364 75.1985L233.886 304.712L170.942 304.71L67.41 125.402Z",stroke:"#1B1B18",strokeWidth:1})]})]}),e.jsxs("svg",{className:"relative -mt-[4.9rem] -ml-8 hidden w-[448px] max-w-none lg:-mt-[6.6rem] lg:ml-0 dark:block",viewBox:"0 0 440 376",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M188.263 355.73L188.595 355.73C195.441 348.845 205.766 339.761 219.569 328.477C232.93 317.193 242.978 308.205 249.714 301.511C256.34 294.626 260.867 287.358 263.296 279.708C265.725 272.058 264.565 264.121 259.816 255.896C254.516 246.716 247.062 239.352 237.454 233.805C227.957 228.067 217.908 225.198 207.307 225.198C196.927 225.197 190.136 227.97 186.934 233.516C183.621 238.872 184.726 246.331 190.247 255.894L125.647 255.891C116.371 239.825 112.395 225.481 113.72 212.858C115.265 200.235 121.559 190.481 132.602 183.596C143.754 176.52 158.607 172.982 177.159 172.983C196.594 172.984 215.863 176.523 234.968 183.6C253.961 190.486 271.299 200.241 286.98 212.864C302.661 225.488 315.14 239.833 324.416 255.899C333.03 270.817 336.841 283.918 335.847 295.203C335.075 306.487 331.376 316.336 324.75 324.751C318.346 333.167 308.408 343.494 294.936 355.734L377.094 355.737L405.917 405.656L217.087 405.649L188.263 355.73Z",fill:"black"}),e.jsx("path",{d:"M9.11884 226.339L-13.7396 226.338L-42.7286 176.132L43.0733 176.135L175.595 405.649L112.651 405.647L9.11884 226.339Z",fill:"black"}),e.jsx("path",{d:"M188.263 355.73L188.595 355.73C195.441 348.845 205.766 339.761 219.569 328.477C232.93 317.193 242.978 308.205 249.714 301.511C256.34 294.626 260.867 287.358 263.296 279.708C265.725 272.058 264.565 264.121 259.816 255.896C254.516 246.716 247.062 239.352 237.454 233.805C227.957 228.067 217.908 225.198 207.307 225.198C196.927 225.197 190.136 227.97 186.934 233.516C183.621 238.872 184.726 246.331 190.247 255.894L125.647 255.891C116.371 239.825 112.395 225.481 113.72 212.858C115.265 200.235 121.559 190.481 132.602 183.596C143.754 176.52 158.607 172.982 177.159 172.983C196.594 172.984 215.863 176.523 234.968 183.6C253.961 190.486 271.299 200.241 286.98 212.864C302.661 225.488 315.14 239.833 324.416 255.899C333.03 270.817 336.841 283.918 335.847 295.203C335.075 306.487 331.376 316.336 324.75 324.751C318.346 333.167 308.408 343.494 294.936 355.734L377.094 355.737L405.917 405.656L217.087 405.649L188.263 355.73Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M9.11884 226.339L-13.7396 226.338L-42.7286 176.132L43.0733 176.135L175.595 405.649L112.651 405.647L9.11884 226.339Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M204.592 327.449L204.923 327.449C211.769 320.564 222.094 311.479 235.897 300.196C249.258 288.912 259.306 279.923 266.042 273.23C272.668 266.345 277.195 259.077 279.624 251.427C282.053 243.777 280.893 235.839 276.145 227.615C270.844 218.435 263.39 211.071 253.782 205.524C244.285 199.786 234.236 196.917 223.635 196.916C213.255 196.916 206.464 199.689 203.262 205.235C199.949 210.59 201.054 218.049 206.575 227.612L141.975 227.61C132.699 211.544 128.723 197.2 130.048 184.577C131.593 171.954 137.887 162.2 148.93 155.315C160.083 148.239 174.935 144.701 193.487 144.702C212.922 144.703 232.192 148.242 251.296 155.319C270.289 162.205 287.627 171.96 303.308 184.583C318.989 197.207 331.468 211.552 340.745 227.618C349.358 242.536 353.169 255.637 352.175 266.921C351.403 278.205 347.704 288.055 341.078 296.47C334.674 304.885 324.736 315.213 311.264 327.453L393.422 327.456L422.246 377.375L233.415 377.368L204.592 327.449Z",fill:"#391800"}),e.jsx("path",{d:"M25.447 198.058L2.58852 198.057L-26.4005 147.851L59.4015 147.854L191.923 377.368L128.979 377.365L25.447 198.058Z",fill:"#391800"}),e.jsx("path",{d:"M204.592 327.449L204.923 327.449C211.769 320.564 222.094 311.479 235.897 300.196C249.258 288.912 259.306 279.923 266.042 273.23C272.668 266.345 277.195 259.077 279.624 251.427C282.053 243.777 280.893 235.839 276.145 227.615C270.844 218.435 263.39 211.071 253.782 205.524C244.285 199.786 234.236 196.917 223.635 196.916C213.255 196.916 206.464 199.689 203.262 205.235C199.949 210.59 201.054 218.049 206.575 227.612L141.975 227.61C132.699 211.544 128.723 197.2 130.048 184.577C131.593 171.954 137.887 162.2 148.93 155.315C160.083 148.239 174.935 144.701 193.487 144.702C212.922 144.703 232.192 148.242 251.296 155.319C270.289 162.205 287.627 171.96 303.308 184.583C318.989 197.207 331.468 211.552 340.745 227.618C349.358 242.536 353.169 255.637 352.175 266.921C351.403 278.205 347.704 288.055 341.078 296.47C334.674 304.885 324.736 315.213 311.264 327.453L393.422 327.456L422.246 377.375L233.415 377.368L204.592 327.449Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M25.447 198.058L2.58852 198.057L-26.4005 147.851L59.4015 147.854L191.923 377.368L128.979 377.365L25.447 198.058Z",stroke:"#FF750F",strokeWidth:1})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",style:{mixBlendMode:"hard-light"},children:[e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.725 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",fill:"#733000"}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",fill:"#733000"}),e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.725 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",stroke:"#FF750F",strokeWidth:1})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M217.342 305.363L217.673 305.363C224.519 298.478 234.844 289.393 248.647 278.11C262.008 266.826 272.056 257.837 278.792 251.144C285.418 244.259 289.945 236.991 292.374 229.341C294.803 221.691 293.643 213.753 288.895 205.529C283.594 196.349 276.14 188.985 266.532 183.438C257.035 177.7 246.986 174.831 236.385 174.83C226.005 174.83 219.214 177.603 216.012 183.149C212.699 188.504 213.804 195.963 219.325 205.527L154.726 205.524C145.449 189.458 141.473 175.114 142.798 162.491C144.343 149.868 150.637 140.114 161.68 133.229C172.833 126.153 187.685 122.615 206.237 122.616C225.672 122.617 244.942 126.156 264.046 133.233C283.039 140.119 300.377 149.874 316.058 162.497C331.739 175.121 344.218 189.466 353.495 205.532C362.108 220.45 365.919 233.551 364.925 244.835C364.153 256.12 360.454 265.969 353.828 274.384C347.424 282.799 337.486 293.127 324.014 305.367L406.172 305.37L434.996 355.289L246.165 355.282L217.342 305.363Z",stroke:"#FF750F",strokeWidth:1}),e.jsx("path",{d:"M38.197 175.972L15.3385 175.971L-13.6505 125.765L72.1515 125.768L204.673 355.282L141.729 355.279L38.197 175.972Z",stroke:"#FF750F",strokeWidth:1})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",children:[e.jsx("path",{d:"M188.467 355.363L188.798 355.363C195.644 348.478 205.969 339.393 219.772 328.11C233.133 316.826 243.181 307.837 249.917 301.144C253.696 297.217 256.792 293.166 259.205 288.991C261.024 285.845 262.455 282.628 263.499 279.341C265.928 271.691 264.768 263.753 260.02 255.529C254.719 246.349 247.265 238.985 237.657 233.438C228.16 227.7 218.111 224.831 207.51 224.83C197.13 224.83 190.339 227.603 187.137 233.149C183.824 238.504 184.929 245.963 190.45 255.527L125.851 255.524C116.574 239.458 112.598 225.114 113.923 212.491C114.615 206.836 116.261 201.756 118.859 197.253C122.061 191.704 126.709 187.03 132.805 183.229C143.958 176.153 158.81 172.615 177.362 172.616C196.797 172.617 216.067 176.156 235.171 183.233C254.164 190.119 271.502 199.874 287.183 212.497C302.864 225.121 315.343 239.466 324.62 255.532C333.233 270.45 337.044 283.551 336.05 294.835C335.46 303.459 333.16 311.245 329.151 318.194C327.915 320.337 326.515 322.4 324.953 324.384C318.549 332.799 308.611 343.127 295.139 355.367L377.297 355.37L406.121 405.289L217.29 405.282L188.467 355.363Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M9.32197 225.972L-13.5365 225.971L-42.5255 175.765L43.2765 175.768L175.798 405.282L112.854 405.279L9.32197 225.972Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M345.247 111.915C329.566 99.2919 312.229 89.5371 293.235 82.6512L235.167 183.228C254.161 190.114 271.498 199.869 287.179 212.492L345.247 111.915Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M382.686 154.964C373.41 138.898 360.931 124.553 345.25 111.93L287.182 212.506C302.863 225.13 315.342 239.475 324.618 255.541L382.686 154.964Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M293.243 82.6472C274.139 75.57 254.869 72.031 235.434 72.0303L177.366 172.607C196.801 172.608 216.071 176.147 235.175 183.224L293.243 82.6472Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M394.118 194.257C395.112 182.973 391.301 169.872 382.688 154.953L324.619 255.53C333.233 270.448 337.044 283.55 336.05 294.834L394.118 194.257Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M235.432 72.0311C216.88 72.0304 202.027 75.5681 190.875 82.6442L132.806 183.221C143.959 176.145 158.812 172.607 177.363 172.608L235.432 72.0311Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M265.59 124.25C276.191 124.251 286.24 127.12 295.737 132.858L237.669 233.435C228.172 227.697 218.123 224.828 207.522 224.827L265.59 124.25Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M295.719 132.859C305.326 138.406 312.78 145.77 318.081 154.95L260.013 255.527C254.712 246.347 247.258 238.983 237.651 233.436L295.719 132.859Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M387.218 217.608C391.227 210.66 393.527 202.874 394.117 194.25L336.049 294.827C335.459 303.451 333.159 311.237 329.15 318.185L387.218 217.608Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M245.211 132.577C248.413 127.03 255.204 124.257 265.584 124.258L207.516 224.835C197.136 224.834 190.345 227.607 187.143 233.154L245.211 132.577Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M318.094 154.945C322.842 163.17 324.002 171.107 321.573 178.757L263.505 279.334C265.934 271.684 264.774 263.746 260.026 255.522L318.094 154.945Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M176.925 96.6737C180.127 91.1249 184.776 86.4503 190.871 82.6499L132.803 183.227C126.708 187.027 122.059 191.702 118.857 197.25L176.925 96.6737Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M387.226 217.606C385.989 219.749 384.59 221.813 383.028 223.797L324.96 324.373C326.522 322.39 327.921 320.326 329.157 318.183L387.226 217.606Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M317.269 188.408C319.087 185.262 320.519 182.045 321.562 178.758L263.494 279.335C262.451 282.622 261.019 285.839 259.201 288.985L317.269 188.408Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M245.208 132.573C241.895 137.928 243 145.387 248.522 154.95L190.454 255.527C184.932 245.964 183.827 238.505 187.14 233.15L245.208 132.573Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M176.93 96.6719C174.331 101.175 172.686 106.255 171.993 111.91L113.925 212.487C114.618 206.831 116.263 201.752 118.862 197.249L176.93 96.6719Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M317.266 188.413C314.853 192.589 311.757 196.64 307.978 200.566L249.91 301.143C253.689 297.216 256.785 293.166 259.198 288.99L317.266 188.413Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M464.198 304.708L435.375 254.789L377.307 355.366L406.13 405.285L464.198 304.708Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M353.209 254.787C366.68 242.548 376.618 232.22 383.023 223.805L324.955 324.382C318.55 332.797 308.612 343.124 295.141 355.364L353.209 254.787Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M435.37 254.787L353.212 254.784L295.144 355.361L377.302 355.364L435.37 254.787Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M183.921 154.947L248.521 154.95L190.453 255.527L125.853 255.524L183.921 154.947Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M171.992 111.914C170.668 124.537 174.643 138.881 183.92 154.947L125.852 255.524C116.575 239.458 112.599 225.114 113.924 212.491L171.992 111.914Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M307.987 200.562C301.251 207.256 291.203 216.244 277.842 227.528L219.774 328.105C233.135 316.821 243.183 307.832 249.919 301.139L307.987 200.562Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M15.5469 75.1797L44.5359 125.386L-13.5321 225.963L-42.5212 175.756L15.5469 75.1797Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M277.836 227.536C264.033 238.82 253.708 247.904 246.862 254.789L188.794 355.366C195.64 348.481 205.965 339.397 219.768 328.113L277.836 227.536Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M275.358 304.706L464.189 304.713L406.12 405.29L217.29 405.283L275.358 304.706Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M44.5279 125.39L67.3864 125.39L9.31834 225.967L-13.5401 225.966L44.5279 125.39Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M101.341 75.1911L233.863 304.705L175.795 405.282L43.2733 175.768L101.341 75.1911ZM15.5431 75.19L-42.525 175.767L43.277 175.77L101.345 75.1932L15.5431 75.19Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M246.866 254.784L246.534 254.784L188.466 355.361L188.798 355.361L246.866 254.784Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M246.539 254.781L275.362 304.701L217.294 405.277L188.471 355.358L246.539 254.781Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M67.3906 125.391L170.923 304.698L112.855 405.275L9.32257 225.967L67.3906 125.391Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"}),e.jsx("path",{d:"M170.921 304.699L233.865 304.701L175.797 405.278L112.853 405.276L170.921 304.699Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"bevel"})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",style:{mixBlendMode:"hard-light"},children:[e.jsx("path",{d:"M246.544 254.79L246.875 254.79C253.722 247.905 264.046 238.82 277.849 227.537C291.21 216.253 301.259 207.264 307.995 200.57C314.62 193.685 319.147 186.418 321.577 178.768C324.006 171.117 322.846 163.18 318.097 154.956C312.796 145.775 305.342 138.412 295.735 132.865C286.238 127.127 276.189 124.258 265.588 124.257C255.208 124.257 248.416 127.03 245.214 132.576C241.902 137.931 243.006 145.39 248.528 154.953L183.928 154.951C174.652 138.885 170.676 124.541 172 111.918C173.546 99.2946 179.84 89.5408 190.882 82.6559C202.035 75.5798 216.887 72.0421 235.439 72.0428C254.874 72.0435 274.144 75.5825 293.248 82.6598C312.242 89.5457 329.579 99.3005 345.261 111.924C360.942 124.548 373.421 138.892 382.697 154.958C391.311 169.877 395.121 182.978 394.128 194.262C393.355 205.546 389.656 215.396 383.031 223.811C376.627 232.226 366.688 242.554 353.217 254.794L435.375 254.797L464.198 304.716L275.367 304.709L246.544 254.79Z",fill:"#4B0600"}),e.jsx("path",{d:"M246.544 254.79L246.875 254.79C253.722 247.905 264.046 238.82 277.849 227.537C291.21 216.253 301.259 207.264 307.995 200.57C314.62 193.685 319.147 186.418 321.577 178.768C324.006 171.117 322.846 163.18 318.097 154.956C312.796 145.775 305.342 138.412 295.735 132.865C286.238 127.127 276.189 124.258 265.588 124.257C255.208 124.257 248.416 127.03 245.214 132.576C241.902 137.931 243.006 145.39 248.528 154.953L183.928 154.951C174.652 138.885 170.676 124.541 172 111.918C173.546 99.2946 179.84 89.5408 190.882 82.6559C202.035 75.5798 216.887 72.0421 235.439 72.0428C254.874 72.0435 274.144 75.5825 293.248 82.6598C312.242 89.5457 329.579 99.3005 345.261 111.924C360.942 124.548 373.421 138.892 382.697 154.958C391.311 169.877 395.121 182.978 394.128 194.262C393.355 205.546 389.656 215.396 383.031 223.811C376.627 232.226 366.688 242.554 353.217 254.794L435.375 254.797L464.198 304.716L275.367 304.709L246.544 254.79Z",stroke:"#FF750F",strokeWidth:1,strokeLinejoin:"round"})]}),e.jsxs("g",{className:"translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0",style:{mixBlendMode:"hard-light"},children:[e.jsx("path",{d:"M67.41 125.402L44.5515 125.401L15.5625 75.1953L101.364 75.1985L233.886 304.712L170.942 304.71L67.41 125.402Z",fill:"#4B0600"}),e.jsx("path",{d:"M67.41 125.402L44.5515 125.401L15.5625 75.1953L101.364 75.1985L233.886 304.712L170.942 304.71L67.41 125.402Z",stroke:"#FF750F",strokeWidth:1})]})]}),e.jsx("div",{className:"absolute inset-0 rounded-t-lg shadow-[inset_0px_0px_0px_1px_rgba(26,26,0,0.16)] lg:rounded-t-none lg:rounded-r-lg dark:shadow-[inset_0px_0px_0px_1px_#fffaed2d]"})]})]})}),e.jsx("div",{className:"hidden h-14.5 lg:block"})]})]})}export{h as default}; diff --git a/public/build/assets/wifi-C3afLemA.js b/public/build/assets/wifi-vecZUHsy.js similarity index 96% rename from public/build/assets/wifi-C3afLemA.js rename to public/build/assets/wifi-vecZUHsy.js index cbbc853ff..0e5d6afa8 100644 --- a/public/build/assets/wifi-C3afLemA.js +++ b/public/build/assets/wifi-vecZUHsy.js @@ -1,4 +1,4 @@ -import{G as e}from"./app-CfhhiFAk.js";/** +import{G as e}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/working-days-settings-CLpYREMh.js b/public/build/assets/working-days-settings-Ba_UCqex.js similarity index 95% rename from public/build/assets/working-days-settings-CLpYREMh.js rename to public/build/assets/working-days-settings-Ba_UCqex.js index b7e2a613d..8b38ccedf 100644 --- a/public/build/assets/working-days-settings-CLpYREMh.js +++ b/public/build/assets/working-days-settings-Ba_UCqex.js @@ -1 +1 @@ -import{r as f,j as a}from"./ui-Z445SNHD.js";import{u as h,c as p,ap as w,C as x,l as j,L as _,o as v,y as C,t as d,r as S}from"./app-CfhhiFAk.js";import{S as b}from"./switch-CKduD2wX.js";import{C as D}from"./clock-CwFdn-oy.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function B({settings:N={}}){const{t:e}=h(),{globalSettings:o}=p().props,[y,i]=f.useState({monday:!1,tuesday:!1,wednesday:!1,thursday:!1,friday:!1,saturday:!1,sunday:!1});f.useEffect(()=>{fetch(route("settings.working-days.get")).then(s=>s.json()).then(s=>{i({monday:s.working_day_monday||!1,tuesday:s.working_day_tuesday||!1,wednesday:s.working_day_wednesday||!1,thursday:s.working_day_thursday||!1,friday:s.working_day_friday||!1,saturday:s.working_day_saturday||!1,sunday:s.working_day_sunday||!1})}).catch(()=>{i({monday:!1,tuesday:!1,wednesday:!1,thursday:!1,friday:!1,saturday:!1,sunday:!1})})},[]);const m=(s,t)=>{i(r=>({...r,[s]:t}))},g=s=>{s.preventDefault(),o!=null&&o.is_demo||d.loading(e("Saving working days settings..."));const t=Object.entries(y).filter(([r,n])=>n).map(([r])=>r);S.post(route("settings.working-days.update"),{working_days:t},{preserveScroll:!0,onSuccess:r=>{var c,u;o!=null&&o.is_demo||d.dismiss();const n=(c=r.props.flash)==null?void 0:c.success,l=(u=r.props.flash)==null?void 0:u.error;n?d.success(n):l?d.error(l):d.success(e("Working days settings saved successfully"))},onError:r=>{o!=null&&o.is_demo||d.dismiss();const n=r.error||Object.values(r).join(", ")||e("Failed to save working days settings");d.error(n)}})},k=[{key:"monday",label:e("Monday")},{key:"tuesday",label:e("Tuesday")},{key:"wednesday",label:e("Wednesday")},{key:"thursday",label:e("Thursday")},{key:"friday",label:e("Friday")},{key:"saturday",label:e("Saturday")},{key:"sunday",label:e("Sunday")}];return a.jsx(w,{title:e("Working Days Settings"),description:e("Configure which days are working days for your organization"),action:a.jsxs(v,{type:"submit",form:"working-days-form",size:"sm",children:[a.jsx(C,{className:"h-4 w-4 mr-2"}),e("Save Changes")]}),children:a.jsx(x,{children:a.jsx(j,{className:"pt-6",children:a.jsx("form",{id:"working-days-form",onSubmit:g,children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:k.map(s=>a.jsxs("div",{className:"flex items-center space-x-3 p-4 border rounded-lg",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(D,{className:"h-4 w-4 text-muted-foreground"}),a.jsx(_,{htmlFor:s.key,className:"font-medium",children:s.label})]}),a.jsx(b,{id:s.key,checked:y[s.key],onCheckedChange:t=>m(s.key,t)})]},s.key))})})})})})}export{B as default}; +import{r as f,j as a}from"./ui-Z445SNHD.js";import{u as h,c as p,ap as w,C as x,l as j,L as _,o as v,y as C,t as d,r as S}from"./app-Dya84jp7.js";import{S as b}from"./switch-DyHgm-Sg.js";import{C as D}from"./clock-LnEFQ-vK.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-9MclThM-.js";function B({settings:N={}}){const{t:e}=h(),{globalSettings:o}=p().props,[y,i]=f.useState({monday:!1,tuesday:!1,wednesday:!1,thursday:!1,friday:!1,saturday:!1,sunday:!1});f.useEffect(()=>{fetch(route("settings.working-days.get")).then(s=>s.json()).then(s=>{i({monday:s.working_day_monday||!1,tuesday:s.working_day_tuesday||!1,wednesday:s.working_day_wednesday||!1,thursday:s.working_day_thursday||!1,friday:s.working_day_friday||!1,saturday:s.working_day_saturday||!1,sunday:s.working_day_sunday||!1})}).catch(()=>{i({monday:!1,tuesday:!1,wednesday:!1,thursday:!1,friday:!1,saturday:!1,sunday:!1})})},[]);const m=(s,t)=>{i(r=>({...r,[s]:t}))},g=s=>{s.preventDefault(),o!=null&&o.is_demo||d.loading(e("Saving working days settings..."));const t=Object.entries(y).filter(([r,n])=>n).map(([r])=>r);S.post(route("settings.working-days.update"),{working_days:t},{preserveScroll:!0,onSuccess:r=>{var c,u;o!=null&&o.is_demo||d.dismiss();const n=(c=r.props.flash)==null?void 0:c.success,l=(u=r.props.flash)==null?void 0:u.error;n?d.success(n):l?d.error(l):d.success(e("Working days settings saved successfully"))},onError:r=>{o!=null&&o.is_demo||d.dismiss();const n=r.error||Object.values(r).join(", ")||e("Failed to save working days settings");d.error(n)}})},k=[{key:"monday",label:e("Monday")},{key:"tuesday",label:e("Tuesday")},{key:"wednesday",label:e("Wednesday")},{key:"thursday",label:e("Thursday")},{key:"friday",label:e("Friday")},{key:"saturday",label:e("Saturday")},{key:"sunday",label:e("Sunday")}];return a.jsx(w,{title:e("Working Days Settings"),description:e("Configure which days are working days for your organization"),action:a.jsxs(v,{type:"submit",form:"working-days-form",size:"sm",children:[a.jsx(C,{className:"h-4 w-4 mr-2"}),e("Save Changes")]}),children:a.jsx(x,{children:a.jsx(j,{className:"pt-6",children:a.jsx("form",{id:"working-days-form",onSubmit:g,children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:k.map(s=>a.jsxs("div",{className:"flex items-center space-x-3 p-4 border rounded-lg",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(D,{className:"h-4 w-4 text-muted-foreground"}),a.jsx(_,{htmlFor:s.key,className:"font-medium",children:s.label})]}),a.jsx(b,{id:s.key,checked:y[s.key],onCheckedChange:t=>m(s.key,t)})]},s.key))})})})})})}export{B as default}; diff --git a/public/build/assets/wrench-BdOd6Wbm.js b/public/build/assets/wrench-D9olQ4TN.js similarity index 90% rename from public/build/assets/wrench-BdOd6Wbm.js rename to public/build/assets/wrench-D9olQ4TN.js index 0350dd3cc..ee5150f01 100644 --- a/public/build/assets/wrench-BdOd6Wbm.js +++ b/public/build/assets/wrench-D9olQ4TN.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/assets/zap-DncwKEcc.js b/public/build/assets/zap-CgFkG-9H.js similarity index 90% rename from public/build/assets/zap-DncwKEcc.js rename to public/build/assets/zap-CgFkG-9H.js index 93806ebaa..f96aa637a 100644 --- a/public/build/assets/zap-DncwKEcc.js +++ b/public/build/assets/zap-CgFkG-9H.js @@ -1,4 +1,4 @@ -import{G as a}from"./app-CfhhiFAk.js";/** +import{G as a}from"./app-Dya84jp7.js";/** * @license lucide-react v0.475.0 - ISC * * This source code is licensed under the ISC license. diff --git a/public/build/manifest.json b/public/build/manifest.json index 75fa6d8e7..b9f5e50d6 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,283 +1,283 @@ { - "_CookieConsentBanner-Do3n0EfV.js": { - "file": "assets/CookieConsentBanner-Do3n0EfV.js", + "_CookieConsentBanner-dwye0O-l.js": { + "file": "assets/CookieConsentBanner-dwye0O-l.js", "name": "CookieConsentBanner", "imports": [ "_ui-Z445SNHD.js", "_react-country-flag.esm-Bs2jngHP.js", "resources/js/app.tsx", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js" + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js" ] }, - "_CrudDeleteModal-CKTiD3_K.js": { - "file": "assets/CrudDeleteModal-CKTiD3_K.js", + "_CrudDeleteModal-D32N6I8y.js": { + "file": "assets/CrudDeleteModal-D32N6I8y.js", "name": "CrudDeleteModal", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_CrudFormModal-DAR9q-oM.js": { - "file": "assets/CrudFormModal-DAR9q-oM.js", + "_CrudFormModal-CsuqSfb2.js": { + "file": "assets/CrudFormModal-CsuqSfb2.js", "name": "CrudFormModal", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_switch-CKduD2wX.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_switch-DyHgm-Sg.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js" + "_locate-fixed-BEb8vcRf.js" ] }, - "_CrudTable-qPWooc10.js": { - "file": "assets/CrudTable-qPWooc10.js", + "_CrudTable-yqxtM6E_.js": { + "file": "assets/CrudTable-yqxtM6E_.js", "name": "CrudTable", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_sparkles-BIbzOfb3.js", - "_briefcase-CLRn8zVu.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_calendar-days-CiPhwZgb.js", - "_calendar-CfUpdaK5.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-up-DepFp6b6.js", - "_chevron-left-DzjQ74li.js", - "_chevron-right-Bd9XWZHZ.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_clock-CwFdn-oy.js", - "_code-BfjQUpEO.js", - "_coins-BDVfLngB.js", - "_copy-xfopPExK.js", - "_credit-card-BmdpMcMw.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_dollar-sign-DYXFWWsE.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_fingerprint-DTUiU2wR.js", - "_house-CL9v9Cnk.js", - "_gift-DXGdvbnX.js", - "_git-branch-B0hRoz5x.js", - "_globe-DePi6jyA.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-grid-C6MkbbLQ.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_loader-circle-wGk7YsPK.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_log-out-XdMMCWfW.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_refresh-cw-DWorkL8J.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_settings-BwhyNRyj.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_timer-Cqv8ulB-.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_sparkles-C1HgyvOv.js", + "_briefcase-Btn3T9V4.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_calendar-days-CURbwGg4.js", + "_calendar-DuRYaSj5.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-up-DHaGktre.js", + "_chevron-left-CQUDAoaX.js", + "_chevron-right-D4JxSs4d.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_clock-LnEFQ-vK.js", + "_code-znlKMFkF.js", + "_coins-CgSV4zfi.js", + "_copy-G5cMddid.js", + "_credit-card-BKi_ThdS.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_dollar-sign-DH2Tc178.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_fingerprint-aH6d8cFa.js", + "_house-iKjbmxem.js", + "_gift-CQwwB55q.js", + "_git-branch-BmbBP1kF.js", + "_globe-5zZ4IsmY.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-grid-3SDzvK8c.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_loader-circle-BLsTZrwM.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_log-out-M0Vyot5_.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_refresh-cw-D_C_cDSu.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_settings-amvA_CjN.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_timer-BTqoLJiz.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ] }, - "_ImportModal-CxDgVhxL.js": { - "file": "assets/ImportModal-CxDgVhxL.js", + "_ImportModal-s55JxI6I.js": { + "file": "assets/ImportModal-s55JxI6I.js", "name": "ImportModal", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_alert-DH0o7BP8.js", - "_info-D_4wnc_R.js", - "_download-Bk1k2_dW.js" + "_select-CHkpLxhL.js", + "_alert-CyJVNPY9.js", + "_info-CPi9bOGM.js", + "_download-BBNmalxc.js" ] }, - "_alert-DH0o7BP8.js": { - "file": "assets/alert-DH0o7BP8.js", + "_alert-CyJVNPY9.js": { + "file": "assets/alert-CyJVNPY9.js", "name": "alert", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_arrow-down-left-B7-m5tqv.js": { - "file": "assets/arrow-down-left-B7-m5tqv.js", + "_arrow-down-left-B_VdNN9z.js": { + "file": "assets/arrow-down-left-B_VdNN9z.js", "name": "arrow-down-left", "imports": [ "resources/js/app.tsx" ] }, - "_arrow-left-B_Yqvwsn.js": { - "file": "assets/arrow-left-B_Yqvwsn.js", + "_arrow-left-BUNj5JJK.js": { + "file": "assets/arrow-left-BUNj5JJK.js", "name": "arrow-left", "imports": [ "resources/js/app.tsx" ] }, - "_arrow-right-0WTHrq3r.js": { - "file": "assets/arrow-right-0WTHrq3r.js", + "_arrow-right-BHW--AGU.js": { + "file": "assets/arrow-right-BHW--AGU.js", "name": "arrow-right", "imports": [ "resources/js/app.tsx" ] }, - "_arrow-right-left-oZQEgmVQ.js": { - "file": "assets/arrow-right-left-oZQEgmVQ.js", + "_arrow-right-left-rbTR90Mc.js": { + "file": "assets/arrow-right-left-rbTR90Mc.js", "name": "arrow-right-left", "imports": [ "resources/js/app.tsx" ] }, - "_arrow-up-down-Bd89yBZf.js": { - "file": "assets/arrow-up-down-Bd89yBZf.js", + "_arrow-up-down-B7nj--dP.js": { + "file": "assets/arrow-up-down-B7nj--dP.js", "name": "arrow-up-down", "imports": [ "resources/js/app.tsx" ] }, - "_auth-button-BnJeEQoR.js": { - "file": "assets/auth-button-BnJeEQoR.js", + "_auth-button-C1AEioKh.js": { + "file": "assets/auth-button-C1AEioKh.js", "name": "auth-button", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_loader-circle-wGk7YsPK.js" + "_loader-circle-BLsTZrwM.js" ] }, - "_auth-layout-ISq1MRqV.js": { - "file": "assets/auth-layout-ISq1MRqV.js", + "_auth-layout-CuYQAqvO.js": { + "file": "assets/auth-layout-CuYQAqvO.js", "name": "auth-layout", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_CookieConsentBanner-Do3n0EfV.js", - "_use-favicon-Dgw0iu9k.js", - "_credit-card-BmdpMcMw.js" + "_CookieConsentBanner-dwye0O-l.js", + "_use-favicon-B8cqaHhj.js", + "_credit-card-BKi_ThdS.js" ] }, - "_award-DMMowKjz.js": { - "file": "assets/award-DMMowKjz.js", + "_award-D1KbOerA.js": { + "file": "assets/award-D1KbOerA.js", "name": "award", "imports": [ "resources/js/app.tsx" ] }, - "_ban-61sP3ZVw.js": { - "file": "assets/ban-61sP3ZVw.js", + "_ban-BM0r7XNR.js": { + "file": "assets/ban-BM0r7XNR.js", "name": "ban", "imports": [ "resources/js/app.tsx" ] }, - "_bell-DXAvb3Z0.js": { - "file": "assets/bell-DXAvb3Z0.js", + "_bell-DRg7kyzT.js": { + "file": "assets/bell-DRg7kyzT.js", "name": "bell", "imports": [ "resources/js/app.tsx" ] }, - "_book-open-3qYfaEN0.js": { - "file": "assets/book-open-3qYfaEN0.js", + "_book-open-DIuydbp9.js": { + "file": "assets/book-open-DIuydbp9.js", "name": "book-open", "imports": [ "resources/js/app.tsx" ] }, - "_boxes-C2a1Xilp.js": { - "file": "assets/boxes-C2a1Xilp.js", + "_boxes-Dyz92FXO.js": { + "file": "assets/boxes-Dyz92FXO.js", "name": "boxes", "imports": [ "resources/js/app.tsx" ] }, - "_briefcase-CLRn8zVu.js": { - "file": "assets/briefcase-CLRn8zVu.js", + "_briefcase-Btn3T9V4.js": { + "file": "assets/briefcase-Btn3T9V4.js", "name": "briefcase", "imports": [ "resources/js/app.tsx" @@ -291,78 +291,78 @@ "_ui-Z445SNHD.js" ] }, - "_building-2-D7cTdbG2.js": { - "file": "assets/building-2-D7cTdbG2.js", + "_building-2-CASHKqFo.js": { + "file": "assets/building-2-CASHKqFo.js", "name": "building-2", "imports": [ "resources/js/app.tsx" ] }, - "_building-Cyq-0nCs.js": { - "file": "assets/building-Cyq-0nCs.js", + "_building-DyhEfKj4.js": { + "file": "assets/building-DyhEfKj4.js", "name": "building", "imports": [ "resources/js/app.tsx" ] }, - "_calculator-CAq-8OXK.js": { - "file": "assets/calculator-CAq-8OXK.js", + "_calculator-D-XBwqfe.js": { + "file": "assets/calculator-D-XBwqfe.js", "name": "calculator", "imports": [ "resources/js/app.tsx" ] }, - "_calendar-CfUpdaK5.js": { - "file": "assets/calendar-CfUpdaK5.js", + "_calendar-DuRYaSj5.js": { + "file": "assets/calendar-DuRYaSj5.js", "name": "calendar", "imports": [ "resources/js/app.tsx" ] }, - "_calendar-check-B2HQiQ2A.js": { - "file": "assets/calendar-check-B2HQiQ2A.js", + "_calendar-check-Cei2wfOk.js": { + "file": "assets/calendar-check-Cei2wfOk.js", "name": "calendar-check", "imports": [ "resources/js/app.tsx" ] }, - "_calendar-days-CiPhwZgb.js": { - "file": "assets/calendar-days-CiPhwZgb.js", + "_calendar-days-CURbwGg4.js": { + "file": "assets/calendar-days-CURbwGg4.js", "name": "calendar-days", "imports": [ "resources/js/app.tsx" ] }, - "_camera-C44LyAAQ.js": { - "file": "assets/camera-C44LyAAQ.js", + "_camera-CcveDep5.js": { + "file": "assets/camera-CcveDep5.js", "name": "camera", "imports": [ "resources/js/app.tsx" ] }, - "_chart-column-CXNcY9Vx.js": { - "file": "assets/chart-column-CXNcY9Vx.js", + "_chart-column-B76eI9Qi.js": { + "file": "assets/chart-column-B76eI9Qi.js", "name": "chart-column", "imports": [ "resources/js/app.tsx" ] }, - "_chart-no-axes-column-BrIh_iVD.js": { - "file": "assets/chart-no-axes-column-BrIh_iVD.js", + "_chart-no-axes-column-BoCXnewH.js": { + "file": "assets/chart-no-axes-column-BoCXnewH.js", "name": "chart-no-axes-column", "imports": [ "resources/js/app.tsx" ] }, - "_chart-no-axes-column-increasing-B7MqdTh5.js": { - "file": "assets/chart-no-axes-column-increasing-B7MqdTh5.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js": { + "file": "assets/chart-no-axes-column-increasing-DGWtPhLs.js", "name": "chart-no-axes-column-increasing", "imports": [ "resources/js/app.tsx" ] }, - "_checkbox-1_Cig_g5.js": { - "file": "assets/checkbox-1_Cig_g5.js", + "_checkbox-BLrehV38.js": { + "file": "assets/checkbox-BLrehV38.js", "name": "checkbox", "imports": [ "_ui-Z445SNHD.js", @@ -370,250 +370,250 @@ "resources/js/app.tsx" ] }, - "_chevron-left-DzjQ74li.js": { - "file": "assets/chevron-left-DzjQ74li.js", + "_chevron-left-CQUDAoaX.js": { + "file": "assets/chevron-left-CQUDAoaX.js", "name": "chevron-left", "imports": [ "resources/js/app.tsx" ] }, - "_chevron-right-Bd9XWZHZ.js": { - "file": "assets/chevron-right-Bd9XWZHZ.js", + "_chevron-right-D4JxSs4d.js": { + "file": "assets/chevron-right-D4JxSs4d.js", "name": "chevron-right", "imports": [ "resources/js/app.tsx" ] }, - "_chevron-up-DepFp6b6.js": { - "file": "assets/chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js": { + "file": "assets/chevron-up-DHaGktre.js", "name": "chevron-up", "imports": [ "resources/js/app.tsx" ] }, - "_circle-BoWbKVIN.js": { - "file": "assets/circle-BoWbKVIN.js", + "_circle-C2Wo_gI7.js": { + "file": "assets/circle-C2Wo_gI7.js", "name": "circle", "imports": [ "resources/js/app.tsx" ] }, - "_circle-alert-64DrdoHv.js": { - "file": "assets/circle-alert-64DrdoHv.js", + "_circle-alert-Ddjg2Qwp.js": { + "file": "assets/circle-alert-Ddjg2Qwp.js", "name": "circle-alert", "imports": [ "resources/js/app.tsx" ] }, - "_circle-check-BE5AcCr7.js": { - "file": "assets/circle-check-BE5AcCr7.js", + "_circle-check-BSTxZIbF.js": { + "file": "assets/circle-check-BSTxZIbF.js", "name": "circle-check", "imports": [ "resources/js/app.tsx" ] }, - "_circle-check-big-C5Cqj7-2.js": { - "file": "assets/circle-check-big-C5Cqj7-2.js", + "_circle-check-big-Cju4ilPH.js": { + "file": "assets/circle-check-big-Cju4ilPH.js", "name": "circle-check-big", "imports": [ "resources/js/app.tsx" ] }, - "_circle-help-qSaafQwl.js": { - "file": "assets/circle-help-qSaafQwl.js", + "_circle-help-DYANbqeK.js": { + "file": "assets/circle-help-DYANbqeK.js", "name": "circle-help", "imports": [ "resources/js/app.tsx" ] }, - "_circle-x-C1aiFLrz.js": { - "file": "assets/circle-x-C1aiFLrz.js", + "_circle-x-Dg5wGIim.js": { + "file": "assets/circle-x-Dg5wGIim.js", "name": "circle-x", "imports": [ "resources/js/app.tsx" ] }, - "_clipboard-list-DA9ABN1f.js": { - "file": "assets/clipboard-list-DA9ABN1f.js", + "_clipboard-list-C-5sn1G-.js": { + "file": "assets/clipboard-list-C-5sn1G-.js", "name": "clipboard-list", "imports": [ "resources/js/app.tsx" ] }, - "_clock-CwFdn-oy.js": { - "file": "assets/clock-CwFdn-oy.js", + "_clock-LnEFQ-vK.js": { + "file": "assets/clock-LnEFQ-vK.js", "name": "clock", "imports": [ "resources/js/app.tsx" ] }, - "_code-BfjQUpEO.js": { - "file": "assets/code-BfjQUpEO.js", + "_code-znlKMFkF.js": { + "file": "assets/code-znlKMFkF.js", "name": "code", "imports": [ "resources/js/app.tsx" ] }, - "_coins-BDVfLngB.js": { - "file": "assets/coins-BDVfLngB.js", + "_coins-CgSV4zfi.js": { + "file": "assets/coins-CgSV4zfi.js", "name": "coins", "imports": [ "resources/js/app.tsx" ] }, - "_copy-xfopPExK.js": { - "file": "assets/copy-xfopPExK.js", + "_copy-G5cMddid.js": { + "file": "assets/copy-G5cMddid.js", "name": "copy", "imports": [ "resources/js/app.tsx" ] }, - "_credit-card-BmdpMcMw.js": { - "file": "assets/credit-card-BmdpMcMw.js", + "_credit-card-BKi_ThdS.js": { + "file": "assets/credit-card-BKi_ThdS.js", "name": "credit-card", "imports": [ "resources/js/app.tsx" ] }, - "_crosshair-D1Bk7XgB.js": { - "file": "assets/crosshair-D1Bk7XgB.js", + "_crosshair-CURvK9L2.js": { + "file": "assets/crosshair-CURvK9L2.js", "name": "crosshair", "imports": [ "resources/js/app.tsx" ] }, - "_crown-hSojj3Kc.js": { - "file": "assets/crown-hSojj3Kc.js", + "_crown-CroP5qiL.js": { + "file": "assets/crown-CroP5qiL.js", "name": "crown", "imports": [ "resources/js/app.tsx" ] }, - "_dollar-sign-DYXFWWsE.js": { - "file": "assets/dollar-sign-DYXFWWsE.js", + "_dollar-sign-DH2Tc178.js": { + "file": "assets/dollar-sign-DH2Tc178.js", "name": "dollar-sign", "imports": [ "resources/js/app.tsx" ] }, - "_download-Bk1k2_dW.js": { - "file": "assets/download-Bk1k2_dW.js", + "_download-BBNmalxc.js": { + "file": "assets/download-BBNmalxc.js", "name": "download", "imports": [ "resources/js/app.tsx" ] }, - "_external-link-QgK5Wt8A.js": { - "file": "assets/external-link-QgK5Wt8A.js", + "_external-link-Cr5OfBdg.js": { + "file": "assets/external-link-Cr5OfBdg.js", "name": "external-link", "imports": [ "resources/js/app.tsx" ] }, - "_eye--FVGKpVp.js": { - "file": "assets/eye--FVGKpVp.js", + "_eye-CCNnMtu4.js": { + "file": "assets/eye-CCNnMtu4.js", "name": "eye", "imports": [ "resources/js/app.tsx" ] }, - "_eye-off-CTWV_K-G.js": { - "file": "assets/eye-off-CTWV_K-G.js", + "_eye-off-C7-ukqyH.js": { + "file": "assets/eye-off-C7-ukqyH.js", "name": "eye-off", "imports": [ "resources/js/app.tsx" ] }, - "_file-down-Dd8zePUY.js": { - "file": "assets/file-down-Dd8zePUY.js", + "_file-down-DO17xCrw.js": { + "file": "assets/file-down-DO17xCrw.js", "name": "file-down", "imports": [ "resources/js/app.tsx" ] }, - "_file-up-BGHgeTEG.js": { - "file": "assets/file-up-BGHgeTEG.js", + "_file-up-mHt_z-hD.js": { + "file": "assets/file-up-mHt_z-hD.js", "name": "file-up", "imports": [ "resources/js/app.tsx" ] }, - "_filter-uErFRSPT.js": { - "file": "assets/filter-uErFRSPT.js", + "_filter-BTHjyusi.js": { + "file": "assets/filter-BTHjyusi.js", "name": "filter", "imports": [ "resources/js/app.tsx" ] }, - "_fingerprint-DTUiU2wR.js": { - "file": "assets/fingerprint-DTUiU2wR.js", + "_fingerprint-aH6d8cFa.js": { + "file": "assets/fingerprint-aH6d8cFa.js", "name": "fingerprint", "imports": [ "resources/js/app.tsx" ] }, - "_gift-DXGdvbnX.js": { - "file": "assets/gift-DXGdvbnX.js", + "_gift-CQwwB55q.js": { + "file": "assets/gift-CQwwB55q.js", "name": "gift", "imports": [ "resources/js/app.tsx" ] }, - "_git-branch-B0hRoz5x.js": { - "file": "assets/git-branch-B0hRoz5x.js", + "_git-branch-BmbBP1kF.js": { + "file": "assets/git-branch-BmbBP1kF.js", "name": "git-branch", "imports": [ "resources/js/app.tsx" ] }, - "_globe-DePi6jyA.js": { - "file": "assets/globe-DePi6jyA.js", + "_globe-5zZ4IsmY.js": { + "file": "assets/globe-5zZ4IsmY.js", "name": "globe", "imports": [ "resources/js/app.tsx" ] }, - "_grip-vertical-DE07jY4a.js": { - "file": "assets/grip-vertical-DE07jY4a.js", + "_grip-vertical-jJ2YrfNT.js": { + "file": "assets/grip-vertical-jJ2YrfNT.js", "name": "grip-vertical", "imports": [ "resources/js/app.tsx" ] }, - "_hard-drive-B_Mpft6K.js": { - "file": "assets/hard-drive-B_Mpft6K.js", + "_hard-drive-7VwcRvWp.js": { + "file": "assets/hard-drive-7VwcRvWp.js", "name": "hard-drive", "imports": [ "resources/js/app.tsx" ] }, - "_hash-BdwQ_IPO.js": { - "file": "assets/hash-BdwQ_IPO.js", + "_hash-CHQJ9wMw.js": { + "file": "assets/hash-CHQJ9wMw.js", "name": "hash", "imports": [ "resources/js/app.tsx" ] }, - "_house-CL9v9Cnk.js": { - "file": "assets/house-CL9v9Cnk.js", + "_house-iKjbmxem.js": { + "file": "assets/house-iKjbmxem.js", "name": "house", "imports": [ "resources/js/app.tsx" ] }, - "_i18n-CM7rzmSQ.js": { - "file": "assets/i18n-CM7rzmSQ.js", + "_i18n-Db6Gz1TD.js": { + "file": "assets/i18n-Db6Gz1TD.js", "name": "i18n", "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_pagination-D8A_HnL5.js", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_filter-uErFRSPT.js" + "_select-CHkpLxhL.js", + "_pagination-4PUepASD.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_filter-BTHjyusi.js" ] }, "_index-9MclThM-.js": { @@ -641,30 +641,30 @@ "_ui-Z445SNHD.js" ] }, - "_indian-rupee-Dzf_OaiN.js": { - "file": "assets/indian-rupee-Dzf_OaiN.js", + "_indian-rupee-CCruSHM0.js": { + "file": "assets/indian-rupee-CCruSHM0.js", "name": "indian-rupee", "imports": [ "resources/js/app.tsx" ] }, - "_info-D_4wnc_R.js": { - "file": "assets/info-D_4wnc_R.js", + "_info-CPi9bOGM.js": { + "file": "assets/info-CPi9bOGM.js", "name": "info", "imports": [ "resources/js/app.tsx" ] }, - "_input-error-TZ1o_PqE.js": { - "file": "assets/input-error-TZ1o_PqE.js", + "_input-error-eAcZLOer.js": { + "file": "assets/input-error-eAcZLOer.js", "name": "input-error", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_instagram-BINpUnZv.js": { - "file": "assets/instagram-BINpUnZv.js", + "_instagram-hxbchcd2.js": { + "file": "assets/instagram-hxbchcd2.js", "name": "instagram", "imports": [ "resources/js/app.tsx" @@ -674,22 +674,22 @@ "file": "assets/language-BbwPiY59.js", "name": "language" }, - "_layers-Dl67CG9c.js": { - "file": "assets/layers-Dl67CG9c.js", + "_layers-OK3_pizJ.js": { + "file": "assets/layers-OK3_pizJ.js", "name": "layers", "imports": [ "resources/js/app.tsx" ] }, - "_layout-grid-C6MkbbLQ.js": { - "file": "assets/layout-grid-C6MkbbLQ.js", + "_layout-grid-3SDzvK8c.js": { + "file": "assets/layout-grid-3SDzvK8c.js", "name": "layout-grid", "imports": [ "resources/js/app.tsx" ] }, - "_layout-list-BgC0E-xE.js": { - "file": "assets/layout-list-BgC0E-xE.js", + "_layout-list-Cqn_SURh.js": { + "file": "assets/layout-list-Cqn_SURh.js", "name": "layout-list", "imports": [ "resources/js/app.tsx" @@ -714,212 +714,212 @@ "file": "assets/leaflet-CqzSHIH7.css", "src": "_leaflet-CqzSHIH7.css" }, - "_lightbulb-BGgHG47R.js": { - "file": "assets/lightbulb-BGgHG47R.js", + "_lightbulb-BaPQrzRp.js": { + "file": "assets/lightbulb-BaPQrzRp.js", "name": "lightbulb", "imports": [ "resources/js/app.tsx" ] }, - "_link-2-CqlWBpzI.js": { - "file": "assets/link-2-CqlWBpzI.js", + "_link-2-oaQNJJAj.js": { + "file": "assets/link-2-oaQNJJAj.js", "name": "link-2", "imports": [ "resources/js/app.tsx" ] }, - "_link-Bv_VEBSZ.js": { - "file": "assets/link-Bv_VEBSZ.js", + "_link-DXJwkkHX.js": { + "file": "assets/link-DXJwkkHX.js", "name": "link", "imports": [ "resources/js/app.tsx" ] }, - "_list-D0MAUZMV.js": { - "file": "assets/list-D0MAUZMV.js", + "_list-C_2fG_BT.js": { + "file": "assets/list-C_2fG_BT.js", "name": "list", "imports": [ "resources/js/app.tsx" ] }, - "_loader-circle-wGk7YsPK.js": { - "file": "assets/loader-circle-wGk7YsPK.js", + "_loader-circle-BLsTZrwM.js": { + "file": "assets/loader-circle-BLsTZrwM.js", "name": "loader-circle", "imports": [ "resources/js/app.tsx" ] }, - "_locate-fixed-DbvcuJ_9.js": { - "file": "assets/locate-fixed-DbvcuJ_9.js", + "_locate-fixed-BEb8vcRf.js": { + "file": "assets/locate-fixed-BEb8vcRf.js", "name": "locate-fixed", "imports": [ "resources/js/app.tsx" ] }, - "_lock-By6rMOj7.js": { - "file": "assets/lock-By6rMOj7.js", + "_lock-DaHvMEII.js": { + "file": "assets/lock-DaHvMEII.js", "name": "lock", "imports": [ "resources/js/app.tsx" ] }, - "_lock-open-Bohob0Q8.js": { - "file": "assets/lock-open-Bohob0Q8.js", + "_lock-open-wwRKX_jV.js": { + "file": "assets/lock-open-wwRKX_jV.js", "name": "lock-open", "imports": [ "resources/js/app.tsx" ] }, - "_log-in-DDjMW0xI.js": { - "file": "assets/log-in-DDjMW0xI.js", + "_log-in-3L4UHGsD.js": { + "file": "assets/log-in-3L4UHGsD.js", "name": "log-in", "imports": [ "resources/js/app.tsx" ] }, - "_log-out-XdMMCWfW.js": { - "file": "assets/log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js": { + "file": "assets/log-out-M0Vyot5_.js", "name": "log-out", "imports": [ "resources/js/app.tsx" ] }, - "_mail-CGIE7ZEy.js": { - "file": "assets/mail-CGIE7ZEy.js", + "_mail-Cha_PX4q.js": { + "file": "assets/mail-Cha_PX4q.js", "name": "mail", "imports": [ "resources/js/app.tsx" ] }, - "_map-pin-BEMjKB1T.js": { - "file": "assets/map-pin-BEMjKB1T.js", + "_map-pin-DFWKFR9c.js": { + "file": "assets/map-pin-DFWKFR9c.js", "name": "map-pin", "imports": [ "resources/js/app.tsx" ] }, - "_menu-Ce4PLUkG.js": { - "file": "assets/menu-Ce4PLUkG.js", + "_menu-GuULvnRC.js": { + "file": "assets/menu-GuULvnRC.js", "name": "menu", "imports": [ "resources/js/app.tsx" ] }, - "_message-square-CWrDttoL.js": { - "file": "assets/message-square-CWrDttoL.js", + "_message-square-DyWo8S6i.js": { + "file": "assets/message-square-DyWo8S6i.js", "name": "message-square", "imports": [ "resources/js/app.tsx" ] }, - "_message-square-warning-D-p7x0Lz.js": { - "file": "assets/message-square-warning-D-p7x0Lz.js", + "_message-square-warning-DT--Ufeu.js": { + "file": "assets/message-square-warning-DT--Ufeu.js", "name": "message-square-warning", "imports": [ "resources/js/app.tsx" ] }, - "_monitor-CnIEqEUy.js": { - "file": "assets/monitor-CnIEqEUy.js", + "_monitor-BYgqmcKD.js": { + "file": "assets/monitor-BYgqmcKD.js", "name": "monitor", "imports": [ "resources/js/app.tsx" ] }, - "_multi-select-field-Dxyl0jtB.js": { - "file": "assets/multi-select-field-Dxyl0jtB.js", + "_multi-select-field-CO_GzZgi.js": { + "file": "assets/multi-select-field-CO_GzZgi.js", "name": "multi-select-field", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_package-Dbz0W2dX.js": { - "file": "assets/package-Dbz0W2dX.js", + "_package-BMnRSK1k.js": { + "file": "assets/package-BMnRSK1k.js", "name": "package", "imports": [ "resources/js/app.tsx" ] }, - "_page-template-BTxLyiDA.js": { - "file": "assets/page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js": { + "file": "assets/page-template-CLNVC8w_.js", "name": "page-template", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_settings-BwhyNRyj.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_settings-amvA_CjN.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ] }, - "_pagination-D8A_HnL5.js": { - "file": "assets/pagination-D8A_HnL5.js", + "_pagination-4PUepASD.js": { + "file": "assets/pagination-4PUepASD.js", "name": "pagination", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_pen-line-BrTss6NX.js": { - "file": "assets/pen-line-BrTss6NX.js", + "_pen-line-D3y4U--J.js": { + "file": "assets/pen-line-D3y4U--J.js", "name": "pen-line", "imports": [ "resources/js/app.tsx" ] }, - "_percent-CBKzOw5k.js": { - "file": "assets/percent-CBKzOw5k.js", + "_percent-z25PPWNk.js": { + "file": "assets/percent-z25PPWNk.js", "name": "percent", "imports": [ "resources/js/app.tsx" ] }, - "_phone-B_MwJBjY.js": { - "file": "assets/phone-B_MwJBjY.js", + "_phone-3MnRoAYu.js": { + "file": "assets/phone-3MnRoAYu.js", "name": "phone", "imports": [ "resources/js/app.tsx" ] }, - "_plane-BHhadcsS.js": { - "file": "assets/plane-BHhadcsS.js", + "_plane-AJz2gO49.js": { + "file": "assets/plane-AJz2gO49.js", "name": "plane", "imports": [ "resources/js/app.tsx" ] }, - "_play-C-QVLyAb.js": { - "file": "assets/play-C-QVLyAb.js", + "_play-BxVAbvyQ.js": { + "file": "assets/play-BxVAbvyQ.js", "name": "play", "imports": [ "resources/js/app.tsx" ] }, - "_progress-CJ4ij2ij.js": { - "file": "assets/progress-CJ4ij2ij.js", + "_progress-NbCMYaUz.js": { + "file": "assets/progress-NbCMYaUz.js", "name": "progress", "imports": [ "_ui-Z445SNHD.js", @@ -927,28 +927,28 @@ "resources/js/app.tsx" ] }, - "_qr-code-Dvy3HD3W.js": { - "file": "assets/qr-code-Dvy3HD3W.js", + "_qr-code-CUIVRbAs.js": { + "file": "assets/qr-code-CUIVRbAs.js", "name": "qr-code", "imports": [ "resources/js/app.tsx" ] }, - "_quote-CVpLTvYv.js": { - "file": "assets/quote-CVpLTvYv.js", + "_quote-BmDTOIsR.js": { + "file": "assets/quote-BmDTOIsR.js", "name": "quote", "imports": [ "resources/js/app.tsx" ] }, - "_radio-group-CLGfOEmR.js": { - "file": "assets/radio-group-CLGfOEmR.js", + "_radio-group-BMzEN82K.js": { + "file": "assets/radio-group-BMzEN82K.js", "name": "radio-group", "imports": [ "_ui-Z445SNHD.js", "_index-9MclThM-.js", "resources/js/app.tsx", - "_circle-BoWbKVIN.js" + "_circle-C2Wo_gI7.js" ] }, "_react-country-flag.esm-Bs2jngHP.js": { @@ -958,50 +958,50 @@ "_ui-Z445SNHD.js" ] }, - "_recaptcha-D-hXS7fB.js": { - "file": "assets/recaptcha-D-hXS7fB.js", + "_recaptcha-DWdHEy2a.js": { + "file": "assets/recaptcha-DWdHEy2a.js", "name": "recaptcha", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_refresh-cw-DWorkL8J.js": { - "file": "assets/refresh-cw-DWorkL8J.js", + "_refresh-cw-D_C_cDSu.js": { + "file": "assets/refresh-cw-D_C_cDSu.js", "name": "refresh-cw", "imports": [ "resources/js/app.tsx" ] }, - "_rich-text-editor-6rkrWVFe.js": { - "file": "assets/rich-text-editor-6rkrWVFe.js", + "_rich-text-editor-uObNYFW4.js": { + "file": "assets/rich-text-editor-uObNYFW4.js", "name": "rich-text-editor", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_unlink-BUU37FwK.js", - "_list-D0MAUZMV.js", - "_quote-CVpLTvYv.js", - "_link-Bv_VEBSZ.js", - "_code-BfjQUpEO.js" + "_unlink-BLQWL2NW.js", + "_list-C_2fG_BT.js", + "_quote-BmDTOIsR.js", + "_link-DXJwkkHX.js", + "_code-znlKMFkF.js" ] }, - "_ruler-BouWNjvC.js": { - "file": "assets/ruler-BouWNjvC.js", + "_ruler-BmcStEpw.js": { + "file": "assets/ruler-BmcStEpw.js", "name": "ruler", "imports": [ "resources/js/app.tsx" ] }, - "_scale-BUz-ovAe.js": { - "file": "assets/scale-BUz-ovAe.js", + "_scale-BzSuyiWe.js": { + "file": "assets/scale-BzSuyiWe.js", "name": "scale", "imports": [ "resources/js/app.tsx" ] }, - "_scroll-area-Dxv7Ysgl.js": { - "file": "assets/scroll-area-Dxv7Ysgl.js", + "_scroll-area-T2TE8oKI.js": { + "file": "assets/scroll-area-T2TE8oKI.js", "name": "scroll-area", "imports": [ "_ui-Z445SNHD.js", @@ -1009,103 +1009,103 @@ "resources/js/app.tsx" ] }, - "_search-and-filter-bar-6Pp-FsiR.js": { - "file": "assets/search-and-filter-bar-6Pp-FsiR.js", + "_search-and-filter-bar-DWH0yn_r.js": { + "file": "assets/search-and-filter-bar-DWH0yn_r.js", "name": "search-and-filter-bar", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", + "_select-CHkpLxhL.js", "_utils-BWxnHGCV.js", - "_calendar-CfUpdaK5.js", - "_filter-uErFRSPT.js", - "_list-D0MAUZMV.js", - "_layout-grid-C6MkbbLQ.js" + "_calendar-DuRYaSj5.js", + "_filter-BTHjyusi.js", + "_list-C_2fG_BT.js", + "_layout-grid-3SDzvK8c.js" ] }, - "_select-BrY9osYp.js": { - "file": "assets/select-BrY9osYp.js", + "_select-CHkpLxhL.js": { + "file": "assets/select-CHkpLxhL.js", "name": "select", "imports": [ "_ui-Z445SNHD.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", "resources/js/app.tsx", - "_chevron-up-DepFp6b6.js" + "_chevron-up-DHaGktre.js" ] }, - "_send-Cj7KqUHo.js": { - "file": "assets/send-Cj7KqUHo.js", + "_send-Cs5D4i9u.js": { + "file": "assets/send-Cs5D4i9u.js", "name": "send", "imports": [ "resources/js/app.tsx" ] }, - "_server-Dw1-QcTX.js": { - "file": "assets/server-Dw1-QcTX.js", + "_server-Bk9UD-_r.js": { + "file": "assets/server-Bk9UD-_r.js", "name": "server", "imports": [ "resources/js/app.tsx" ] }, - "_settings-BwhyNRyj.js": { - "file": "assets/settings-BwhyNRyj.js", + "_settings-amvA_CjN.js": { + "file": "assets/settings-amvA_CjN.js", "name": "settings", "imports": [ "resources/js/app.tsx" ] }, - "_shield-BXgaUVtY.js": { - "file": "assets/shield-BXgaUVtY.js", + "_shield-CDL27iRK.js": { + "file": "assets/shield-CDL27iRK.js", "name": "shield", "imports": [ "resources/js/app.tsx" ] }, - "_shield-check-Ca-zuQJC.js": { - "file": "assets/shield-check-Ca-zuQJC.js", + "_shield-check-CGAYPEyR.js": { + "file": "assets/shield-check-CGAYPEyR.js", "name": "shield-check", "imports": [ "resources/js/app.tsx" ] }, - "_sparkles-BIbzOfb3.js": { - "file": "assets/sparkles-BIbzOfb3.js", + "_sparkles-C1HgyvOv.js": { + "file": "assets/sparkles-C1HgyvOv.js", "name": "sparkles", "imports": [ "resources/js/app.tsx" ] }, - "_square-check-big-BCxRi7D4.js": { - "file": "assets/square-check-big-BCxRi7D4.js", + "_square-check-big-CpQiidmr.js": { + "file": "assets/square-check-big-CpQiidmr.js", "name": "square-check-big", "imports": [ "resources/js/app.tsx" ] }, - "_square-pen-bMHyT06o.js": { - "file": "assets/square-pen-bMHyT06o.js", + "_square-pen-CzdhbxyN.js": { + "file": "assets/square-pen-CzdhbxyN.js", "name": "square-pen", "imports": [ "resources/js/app.tsx" ] }, - "_star-DQsTg5F1.js": { - "file": "assets/star-DQsTg5F1.js", + "_star-DCkLKzoE.js": { + "file": "assets/star-DCkLKzoE.js", "name": "star", "imports": [ "resources/js/app.tsx" ] }, - "_sun-C2oQ_gMz.js": { - "file": "assets/sun-C2oQ_gMz.js", + "_sun-D8i-fCJe.js": { + "file": "assets/sun-D8i-fCJe.js", "name": "sun", "imports": [ "resources/js/app.tsx" ] }, - "_switch-CKduD2wX.js": { - "file": "assets/switch-CKduD2wX.js", + "_switch-DyHgm-Sg.js": { + "file": "assets/switch-DyHgm-Sg.js", "name": "switch", "imports": [ "_ui-Z445SNHD.js", @@ -1113,76 +1113,76 @@ "resources/js/app.tsx" ] }, - "_table-BXUOKUBo.js": { - "file": "assets/table-BXUOKUBo.js", + "_table-CM-_W5Cl.js": { + "file": "assets/table-CM-_W5Cl.js", "name": "table", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_tabs-pc4jrsjt.js": { - "file": "assets/tabs-pc4jrsjt.js", + "_tabs-CsP5VcXV.js": { + "file": "assets/tabs-CsP5VcXV.js", "name": "tabs", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_tag-JSZ9YmZg.js": { - "file": "assets/tag-JSZ9YmZg.js", + "_tag-Bq7fLwM4.js": { + "file": "assets/tag-Bq7fLwM4.js", "name": "tag", "imports": [ "resources/js/app.tsx" ] }, - "_tag-input-C5bCQZVs.js": { - "file": "assets/tag-input-C5bCQZVs.js", + "_tag-input-B-Rs7khN.js": { + "file": "assets/tag-input-B-Rs7khN.js", "name": "tag-input", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_target-Pzb9zAUp.js": { - "file": "assets/target-Pzb9zAUp.js", + "_target-BPl0Bsow.js": { + "file": "assets/target-BPl0Bsow.js", "name": "target", "imports": [ "resources/js/app.tsx" ] }, - "_text-link-CgVy1bNC.js": { - "file": "assets/text-link-CgVy1bNC.js", + "_text-link-Qbn0vFC1.js": { + "file": "assets/text-link-Qbn0vFC1.js", "name": "text-link", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_textarea-kpRjGGLz.js": { - "file": "assets/textarea-kpRjGGLz.js", + "_textarea-yeg8ONhy.js": { + "file": "assets/textarea-yeg8ONhy.js", "name": "textarea", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_thumbs-up-_WTyicKR.js": { - "file": "assets/thumbs-up-_WTyicKR.js", + "_thumbs-up-2-1HocdZ.js": { + "file": "assets/thumbs-up-2-1HocdZ.js", "name": "thumbs-up", "imports": [ "resources/js/app.tsx" ] }, - "_ticket-iWUCgUMN.js": { - "file": "assets/ticket-iWUCgUMN.js", + "_ticket-Cl2Nq5Ff.js": { + "file": "assets/ticket-Cl2Nq5Ff.js", "name": "ticket", "imports": [ "resources/js/app.tsx" ] }, - "_timer-Cqv8ulB-.js": { - "file": "assets/timer-Cqv8ulB-.js", + "_timer-BTqoLJiz.js": { + "file": "assets/timer-BTqoLJiz.js", "name": "timer", "imports": [ "resources/js/app.tsx" @@ -1195,57 +1195,57 @@ "_ui-Z445SNHD.js" ] }, - "_trash-2-C1NR_7Ss.js": { - "file": "assets/trash-2-C1NR_7Ss.js", + "_trash-2-BeirBLIk.js": { + "file": "assets/trash-2-BeirBLIk.js", "name": "trash-2", "imports": [ "resources/js/app.tsx" ] }, - "_trash-Pq_dkuTI.js": { - "file": "assets/trash-Pq_dkuTI.js", + "_trash-BFTYTNQN.js": { + "file": "assets/trash-BFTYTNQN.js", "name": "trash", "imports": [ "resources/js/app.tsx" ] }, - "_trending-down-DeoG-P9A.js": { - "file": "assets/trending-down-DeoG-P9A.js", + "_trending-down-DmDmdusz.js": { + "file": "assets/trending-down-DmDmdusz.js", "name": "trending-down", "imports": [ "resources/js/app.tsx" ] }, - "_trending-up-Bi4f72Tj.js": { - "file": "assets/trending-up-Bi4f72Tj.js", + "_trending-up-BT453ptk.js": { + "file": "assets/trending-up-BT453ptk.js", "name": "trending-up", "imports": [ "resources/js/app.tsx" ] }, - "_triangle-alert-DGWTh17w.js": { - "file": "assets/triangle-alert-DGWTh17w.js", + "_triangle-alert-CpPzdeiH.js": { + "file": "assets/triangle-alert-CpPzdeiH.js", "name": "triangle-alert", "imports": [ "resources/js/app.tsx" ] }, - "_trophy-D1q7o3Ri.js": { - "file": "assets/trophy-D1q7o3Ri.js", + "_trophy-BaZS8IUN.js": { + "file": "assets/trophy-BaZS8IUN.js", "name": "trophy", "imports": [ "resources/js/app.tsx" ] }, - "_twitter-C171Pyox.js": { - "file": "assets/twitter-C171Pyox.js", + "_twitter-DZQVDI4Y.js": { + "file": "assets/twitter-DZQVDI4Y.js", "name": "twitter", "imports": [ "resources/js/app.tsx" ] }, - "_type-CNRj7XNX.js": { - "file": "assets/type-CNRj7XNX.js", + "_type-Bsbmfmsu.js": { + "file": "assets/type-Bsbmfmsu.js", "name": "type", "imports": [ "resources/js/app.tsx" @@ -1255,23 +1255,23 @@ "file": "assets/ui-Z445SNHD.js", "name": "ui" }, - "_unlink-BUU37FwK.js": { - "file": "assets/unlink-BUU37FwK.js", + "_unlink-BLQWL2NW.js": { + "file": "assets/unlink-BLQWL2NW.js", "name": "unlink", "imports": [ "resources/js/app.tsx" ] }, - "_use-brand-theme-CmuRtpGN.js": { - "file": "assets/use-brand-theme-CmuRtpGN.js", + "_use-brand-theme-Cg8kbbAC.js": { + "file": "assets/use-brand-theme-Cg8kbbAC.js", "name": "use-brand-theme", "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx" ] }, - "_use-favicon-Dgw0iu9k.js": { - "file": "assets/use-favicon-Dgw0iu9k.js", + "_use-favicon-B8cqaHhj.js": { + "file": "assets/use-favicon-B8cqaHhj.js", "name": "use-favicon", "imports": [ "_ui-Z445SNHD.js", @@ -1292,36 +1292,36 @@ "_ui-Z445SNHD.js" ] }, - "_user-C37aWgZX.js": { - "file": "assets/user-C37aWgZX.js", + "_user-77BPqA3J.js": { + "file": "assets/user-77BPqA3J.js", "name": "user", "imports": [ "resources/js/app.tsx" ] }, - "_user-check-eTf_WVUH.js": { - "file": "assets/user-check-eTf_WVUH.js", + "_user-check-DC9_V3Qo.js": { + "file": "assets/user-check-DC9_V3Qo.js", "name": "user-check", "imports": [ "resources/js/app.tsx" ] }, - "_user-plus-DXHdW4q-.js": { - "file": "assets/user-plus-DXHdW4q-.js", + "_user-plus-BpaQ3zuJ.js": { + "file": "assets/user-plus-BpaQ3zuJ.js", "name": "user-plus", "imports": [ "resources/js/app.tsx" ] }, - "_user-x-BAm8TG2r.js": { - "file": "assets/user-x-BAm8TG2r.js", + "_user-x-CVAZCW5-.js": { + "file": "assets/user-x-CVAZCW5-.js", "name": "user-x", "imports": [ "resources/js/app.tsx" ] }, - "_users-C4LpG59H.js": { - "file": "assets/users-C4LpG59H.js", + "_users-BzCDZrS0.js": { + "file": "assets/users-BzCDZrS0.js", "name": "users", "imports": [ "resources/js/app.tsx" @@ -1335,29 +1335,29 @@ "file": "assets/vendor-l0sNRNKZ.js", "name": "vendor" }, - "_wallet-OtmBA2C9.js": { - "file": "assets/wallet-OtmBA2C9.js", + "_wallet-ChDgCFUl.js": { + "file": "assets/wallet-ChDgCFUl.js", "name": "wallet", "imports": [ "resources/js/app.tsx" ] }, - "_wifi-C3afLemA.js": { - "file": "assets/wifi-C3afLemA.js", + "_wifi-vecZUHsy.js": { + "file": "assets/wifi-vecZUHsy.js", "name": "wifi", "imports": [ "resources/js/app.tsx" ] }, - "_wrench-BdOd6Wbm.js": { - "file": "assets/wrench-BdOd6Wbm.js", + "_wrench-D9olQ4TN.js": { + "file": "assets/wrench-D9olQ4TN.js", "name": "wrench", "imports": [ "resources/js/app.tsx" ] }, - "_zap-DncwKEcc.js": { - "file": "assets/zap-DncwKEcc.js", + "_zap-CgFkG-9H.js": { + "file": "assets/zap-CgFkG-9H.js", "name": "zap", "imports": [ "resources/js/app.tsx" @@ -1376,7 +1376,7 @@ "src": "node_modules/leaflet/dist/images/marker-icon.png" }, "resources/css/app.css": { - "file": "assets/app-Df5dGo4f.css", + "file": "assets/app-CmM4q005.css", "src": "resources/css/app.css", "isEntry": true }, @@ -1386,7 +1386,7 @@ "isEntry": true }, "resources/js/app.tsx": { - "file": "assets/app-CfhhiFAk.js", + "file": "assets/app-Dya84jp7.js", "name": "app", "src": "resources/js/app.tsx", "isEntry": true, @@ -1484,6 +1484,7 @@ "resources/js/pages/hr/leave-policies/view.tsx", "resources/js/pages/hr/leave-types/index.tsx", "resources/js/pages/hr/overtime/index.tsx", + "resources/js/pages/hr/payroll-runs/PayrollEntryBreakdown.tsx", "resources/js/pages/hr/payroll-runs/PayrollOverrideModal.tsx", "resources/js/pages/hr/payroll-runs/index.tsx", "resources/js/pages/hr/payroll-runs/show.tsx", @@ -1651,2120 +1652,2120 @@ "resources/js/pages/welcome.tsx" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/auth/confirm-password.tsx": { - "file": "assets/confirm-password-CxuZ_jnp.js", + "file": "assets/confirm-password-JjFVLWP9.js", "name": "confirm-password", "src": "resources/js/pages/auth/confirm-password.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_input-error-TZ1o_PqE.js", - "_auth-layout-ISq1MRqV.js", - "_auth-button-BnJeEQoR.js", - "_lock-By6rMOj7.js", + "_input-error-eAcZLOer.js", + "_auth-layout-CuYQAqvO.js", + "_auth-button-C1AEioKh.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js", - "_CookieConsentBanner-Do3n0EfV.js", + "_CookieConsentBanner-dwye0O-l.js", "_react-country-flag.esm-Bs2jngHP.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_use-favicon-Dgw0iu9k.js", - "_credit-card-BmdpMcMw.js", - "_loader-circle-wGk7YsPK.js" + "_use-favicon-B8cqaHhj.js", + "_credit-card-BKi_ThdS.js", + "_loader-circle-BLsTZrwM.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/auth/forgot-password.tsx": { - "file": "assets/forgot-password-yxbZL-Fe.js", + "file": "assets/forgot-password-HE1521nu.js", "name": "forgot-password", "src": "resources/js/pages/auth/forgot-password.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_input-error-TZ1o_PqE.js", - "_text-link-CgVy1bNC.js", - "_auth-layout-ISq1MRqV.js", - "_recaptcha-D-hXS7fB.js", - "_mail-CGIE7ZEy.js", + "_input-error-eAcZLOer.js", + "_text-link-Qbn0vFC1.js", + "_auth-layout-CuYQAqvO.js", + "_recaptcha-DWdHEy2a.js", + "_mail-Cha_PX4q.js", "_utils-BWxnHGCV.js", - "_CookieConsentBanner-Do3n0EfV.js", + "_CookieConsentBanner-dwye0O-l.js", "_react-country-flag.esm-Bs2jngHP.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_use-favicon-Dgw0iu9k.js", - "_credit-card-BmdpMcMw.js" + "_use-favicon-B8cqaHhj.js", + "_credit-card-BKi_ThdS.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/auth/login.tsx": { - "file": "assets/login-DjOYwzo6.js", + "file": "assets/login-CA90gCGa.js", "name": "login", "src": "resources/js/pages/auth/login.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_input-error-TZ1o_PqE.js", - "_text-link-CgVy1bNC.js", - "_checkbox-1_Cig_g5.js", - "_auth-layout-ISq1MRqV.js", - "_recaptcha-D-hXS7fB.js", + "_input-error-eAcZLOer.js", + "_text-link-Qbn0vFC1.js", + "_checkbox-BLrehV38.js", + "_auth-layout-CuYQAqvO.js", + "_recaptcha-DWdHEy2a.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js", - "_CookieConsentBanner-Do3n0EfV.js", + "_CookieConsentBanner-dwye0O-l.js", "_react-country-flag.esm-Bs2jngHP.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_use-favicon-Dgw0iu9k.js", - "_credit-card-BmdpMcMw.js" + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_use-favicon-B8cqaHhj.js", + "_credit-card-BKi_ThdS.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/auth/register.tsx": { - "file": "assets/register-lqn-QIsw.js", + "file": "assets/register-CV6QGhcj.js", "name": "register", "src": "resources/js/pages/auth/register.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_input-error-TZ1o_PqE.js", - "_text-link-CgVy1bNC.js", - "_checkbox-1_Cig_g5.js", - "_auth-layout-ISq1MRqV.js", - "_recaptcha-D-hXS7fB.js", + "_input-error-eAcZLOer.js", + "_text-link-Qbn0vFC1.js", + "_checkbox-BLrehV38.js", + "_auth-layout-CuYQAqvO.js", + "_recaptcha-DWdHEy2a.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js", - "_CookieConsentBanner-Do3n0EfV.js", + "_CookieConsentBanner-dwye0O-l.js", "_react-country-flag.esm-Bs2jngHP.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_use-favicon-Dgw0iu9k.js", - "_credit-card-BmdpMcMw.js" + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_use-favicon-B8cqaHhj.js", + "_credit-card-BKi_ThdS.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/auth/reset-password.tsx": { - "file": "assets/reset-password-frsxX5jE.js", + "file": "assets/reset-password-C1D-FlN1.js", "name": "reset-password", "src": "resources/js/pages/auth/reset-password.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_input-error-TZ1o_PqE.js", - "_auth-layout-ISq1MRqV.js", - "_lock-By6rMOj7.js", + "_input-error-eAcZLOer.js", + "_auth-layout-CuYQAqvO.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js", - "_CookieConsentBanner-Do3n0EfV.js", + "_CookieConsentBanner-dwye0O-l.js", "_react-country-flag.esm-Bs2jngHP.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_use-favicon-Dgw0iu9k.js", - "_credit-card-BmdpMcMw.js" + "_use-favicon-B8cqaHhj.js", + "_credit-card-BKi_ThdS.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/auth/verify-email.tsx": { - "file": "assets/verify-email-BaTdu6tt.js", + "file": "assets/verify-email-CjhKNwZK.js", "name": "verify-email", "src": "resources/js/pages/auth/verify-email.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_text-link-CgVy1bNC.js", - "_auth-layout-ISq1MRqV.js", - "_auth-button-BnJeEQoR.js", - "_mail-CGIE7ZEy.js", + "_text-link-Qbn0vFC1.js", + "_auth-layout-CuYQAqvO.js", + "_auth-button-C1AEioKh.js", + "_mail-Cha_PX4q.js", "_utils-BWxnHGCV.js", - "_CookieConsentBanner-Do3n0EfV.js", + "_CookieConsentBanner-dwye0O-l.js", "_react-country-flag.esm-Bs2jngHP.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_use-favicon-Dgw0iu9k.js", - "_credit-card-BmdpMcMw.js", - "_loader-circle-wGk7YsPK.js" + "_use-favicon-B8cqaHhj.js", + "_credit-card-BKi_ThdS.js", + "_loader-circle-BLsTZrwM.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/calendar/index.tsx": { - "file": "assets/index-cXt_xBft.js", + "file": "assets/index-BsIszv37.js", "name": "index", "src": "resources/js/pages/calendar/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "_index-DrmIhGnK.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/career/apply.tsx": { - "file": "assets/apply-BE2iVNrk.js", + "file": "assets/apply-D2x9Z5WS.js", "name": "apply", "src": "resources/js/pages/career/apply.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_checkbox-1_Cig_g5.js", - "_use-brand-theme-CmuRtpGN.js", - "_use-favicon-Dgw0iu9k.js", - "_arrow-left-B_Yqvwsn.js", - "_user-C37aWgZX.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_checkbox-BLrehV38.js", + "_use-brand-theme-Cg8kbbAC.js", + "_use-favicon-B8cqaHhj.js", + "_arrow-left-BUNj5JJK.js", + "_user-77BPqA3J.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js" + "_chevron-up-DHaGktre.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/career/index.tsx": { - "file": "assets/index-DlUqSP_j.js", + "file": "assets/index-DTAPp5JZ.js", "name": "index", "src": "resources/js/pages/career/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_use-brand-theme-CmuRtpGN.js", - "_use-favicon-Dgw0iu9k.js", - "_star-DQsTg5F1.js", - "_filter-uErFRSPT.js", - "_building-Cyq-0nCs.js", - "_map-pin-BEMjKB1T.js", - "_clock-CwFdn-oy.js", - "_chevron-left-DzjQ74li.js", - "_chevron-right-Bd9XWZHZ.js", + "_select-CHkpLxhL.js", + "_use-brand-theme-Cg8kbbAC.js", + "_use-favicon-B8cqaHhj.js", + "_star-DCkLKzoE.js", + "_filter-BTHjyusi.js", + "_building-DyhEfKj4.js", + "_map-pin-DFWKFR9c.js", + "_clock-LnEFQ-vK.js", + "_chevron-left-CQUDAoaX.js", + "_chevron-right-D4JxSs4d.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js" + "_chevron-up-DHaGktre.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/career/job-details.tsx": { - "file": "assets/job-details-BVmpZQPK.js", + "file": "assets/job-details-DQZE6v9J.js", "name": "job-details", "src": "resources/js/pages/career/job-details.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_use-brand-theme-CmuRtpGN.js", - "_use-favicon-Dgw0iu9k.js", - "_star-DQsTg5F1.js", - "_map-pin-BEMjKB1T.js", - "_building-Cyq-0nCs.js", - "_clock-CwFdn-oy.js", - "_users-C4LpG59H.js", - "_dollar-sign-DYXFWWsE.js", - "_calendar-CfUpdaK5.js", + "_use-brand-theme-Cg8kbbAC.js", + "_use-favicon-B8cqaHhj.js", + "_star-DCkLKzoE.js", + "_map-pin-DFWKFR9c.js", + "_building-DyhEfKj4.js", + "_clock-LnEFQ-vK.js", + "_users-BzCDZrS0.js", + "_dollar-sign-DH2Tc178.js", + "_calendar-DuRYaSj5.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/companies/index.tsx": { - "file": "assets/index-xU6JE9xN.js", + "file": "assets/index-D3-NtChe.js", "name": "index", "src": "resources/js/pages/companies/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_CookieConsentBanner-Do3n0EfV.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_CookieConsentBanner-dwye0O-l.js", "_use-initials-BK4eRgYY.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_radio-group-CLGfOEmR.js", - "_switch-CKduD2wX.js", - "_credit-card-BmdpMcMw.js", - "_circle-check-BE5AcCr7.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_radio-group-BMzEN82K.js", + "_switch-DyHgm-Sg.js", + "_credit-card-BKi_ThdS.js", + "_circle-check-BSTxZIbF.js", "resources/js/pages/companies/view.tsx", - "_lock-open-Bohob0Q8.js", - "_info-D_4wnc_R.js", - "_lock-By6rMOj7.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_lock-open-wwRKX_jV.js", + "_info-CPi9bOGM.js", + "_lock-DaHvMEII.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_settings-BwhyNRyj.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_settings-amvA_CjN.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_filter-uErFRSPT.js", - "_list-D0MAUZMV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_filter-BTHjyusi.js", + "_list-C_2fG_BT.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js", - "_circle-BoWbKVIN.js", - "_building-2-D7cTdbG2.js", - "_mail-CGIE7ZEy.js" + "_locate-fixed-BEb8vcRf.js", + "_circle-C2Wo_gI7.js", + "_building-2-CASHKqFo.js", + "_mail-Cha_PX4q.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/companies/view.tsx": { - "file": "assets/view-BzOgJRog.js", + "file": "assets/view-BGJ9rVpd.js", "name": "view", "src": "resources/js/pages/companies/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_building-2-D7cTdbG2.js", - "_mail-CGIE7ZEy.js", - "_lock-By6rMOj7.js", - "_calendar-CfUpdaK5.js", - "_credit-card-BmdpMcMw.js", + "_building-2-CASHKqFo.js", + "_mail-Cha_PX4q.js", + "_lock-DaHvMEII.js", + "_calendar-DuRYaSj5.js", + "_credit-card-BKi_ThdS.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/contacts/index.tsx": { - "file": "assets/index-BuI0zCd-.js", + "file": "assets/index-C3vJud6I.js", "name": "index", "src": "resources/js/pages/contacts/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_CrudFormModal-DAR9q-oM.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", + "_CrudFormModal-CsuqSfb2.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/coupons/index.tsx": { - "file": "assets/index-CsFBFtPk.js", + "file": "assets/index-zL79uW8n.js", "name": "index", "src": "resources/js/pages/coupons/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_switch-CKduD2wX.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_switch-DyHgm-Sg.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/coupons/show.tsx": { - "file": "assets/show-BN_q1h7s.js", + "file": "assets/show-CGoKk1jF.js", "name": "show", "src": "resources/js/pages/coupons/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_pagination-D8A_HnL5.js", - "_table-BXUOKUBo.js", - "_dollar-sign-DYXFWWsE.js", - "_trending-up-Bi4f72Tj.js", - "_users-C4LpG59H.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_pagination-4PUepASD.js", + "_table-CM-_W5Cl.js", + "_dollar-sign-DH2Tc178.js", + "_trending-up-BT453ptk.js", + "_users-BzCDZrS0.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/currencies/index.tsx": { - "file": "assets/index-Dz3Mkl-f.js", + "file": "assets/index-VX6ic1b6.js", "name": "index", "src": "resources/js/pages/currencies/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/currencies/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/currencies/view.tsx": { - "file": "assets/view-BoKNVuEn.js", + "file": "assets/view-Nnlh3FzL.js", "name": "view", "src": "resources/js/pages/currencies/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_dollar-sign-DYXFWWsE.js", - "_type-CNRj7XNX.js", - "_hash-BdwQ_IPO.js", - "_lock-By6rMOj7.js", + "_dollar-sign-DH2Tc178.js", + "_type-Bsbmfmsu.js", + "_hash-CHQJ9wMw.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/dashboard.tsx": { - "file": "assets/dashboard-Cfbs-0VV.js", + "file": "assets/dashboard-CdiMuNwF.js", "name": "dashboard", "src": "resources/js/pages/dashboard.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_refresh-cw-DWorkL8J.js", - "_users-C4LpG59H.js", - "_building-2-D7cTdbG2.js", - "_clock-CwFdn-oy.js", - "_calendar-CfUpdaK5.js", - "_briefcase-CLRn8zVu.js", - "_user-plus-DXHdW4q-.js", - "_circle-check-big-C5Cqj7-2.js", - "_copy-xfopPExK.js", - "_external-link-QgK5Wt8A.js", - "_chart-column-CXNcY9Vx.js", + "_refresh-cw-D_C_cDSu.js", + "_users-BzCDZrS0.js", + "_building-2-CASHKqFo.js", + "_clock-LnEFQ-vK.js", + "_calendar-DuRYaSj5.js", + "_briefcase-Btn3T9V4.js", + "_user-plus-BpaQ3zuJ.js", + "_circle-check-big-Cju4ilPH.js", + "_copy-G5cMddid.js", + "_external-link-Cr5OfBdg.js", + "_chart-column-B76eI9Qi.js", "_utils-BWxnHGCV.js", - "_trending-up-Bi4f72Tj.js", - "_bell-DXAvb3Z0.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_trending-up-BT453ptk.js", + "_bell-DRg7kyzT.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_CookieConsentBanner-dwye0O-l.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/email-templates/index.tsx": { - "file": "assets/index-Dle69l1X.js", + "file": "assets/index-MPIywYHE.js", "name": "index", "src": "resources/js/pages/email-templates/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_page-template-BTxLyiDA.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_eye--FVGKpVp.js", + "_page-template-CLNVC8w_.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_filter-uErFRSPT.js", - "_list-D0MAUZMV.js" + "_log-out-M0Vyot5_.js", + "_filter-BTHjyusi.js", + "_list-C_2fG_BT.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/email-templates/show.tsx": { - "file": "assets/show-Du2PJKcK.js", + "file": "assets/show-Brg1lofv.js", "name": "show", "src": "resources/js/pages/email-templates/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_page-template-BTxLyiDA.js", - "_tabs-pc4jrsjt.js", - "_rich-text-editor-6rkrWVFe.js", + "_page-template-CLNVC8w_.js", + "_tabs-CsP5VcXV.js", + "_rich-text-editor-uObNYFW4.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_unlink-BUU37FwK.js", - "_list-D0MAUZMV.js", - "_quote-CVpLTvYv.js", - "_link-Bv_VEBSZ.js", - "_code-BfjQUpEO.js" + "_log-out-M0Vyot5_.js", + "_unlink-BLQWL2NW.js", + "_list-C_2fG_BT.js", + "_quote-BmDTOIsR.js", + "_link-DXJwkkHX.js", + "_code-znlKMFkF.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/employee-dashboard.tsx": { - "file": "assets/employee-dashboard-BkctMP3j.js", + "file": "assets/employee-dashboard-tHYcgFQh.js", "name": "employee-dashboard", "src": "resources/js/pages/employee-dashboard.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_refresh-cw-DWorkL8J.js", - "_bell-DXAvb3Z0.js", - "_users-C4LpG59H.js", + "_refresh-cw-D_C_cDSu.js", + "_bell-DRg7kyzT.js", + "_users-BzCDZrS0.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/examples/chatgpt-demo.tsx": { - "file": "assets/chatgpt-demo-XaBb-3C8.js", + "file": "assets/chatgpt-demo-CneZQ9wg.js", "name": "chatgpt-demo", "src": "resources/js/pages/examples/chatgpt-demo.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_sparkles-BIbzOfb3.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_sparkles-C1HgyvOv.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/announcements/dashboard.tsx": { - "file": "assets/dashboard-BhA5vOBq.js", + "file": "assets/dashboard-Bz6Eb38A.js", "name": "dashboard", "src": "resources/js/pages/hr/announcements/dashboard.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_tabs-pc4jrsjt.js", - "_list-D0MAUZMV.js", - "_bell-DXAvb3Z0.js", - "_star-DQsTg5F1.js", - "_triangle-alert-DGWTh17w.js", - "_calendar-CfUpdaK5.js", + "_tabs-CsP5VcXV.js", + "_list-C_2fG_BT.js", + "_bell-DRg7kyzT.js", + "_star-DCkLKzoE.js", + "_triangle-alert-CpPzdeiH.js", + "_calendar-DuRYaSj5.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/announcements/index.tsx": { - "file": "assets/index-CEqr8902.js", + "file": "assets/index-BE_62-Dr.js", "name": "index", "src": "resources/js/pages/hr/announcements/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_rich-text-editor-6rkrWVFe.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_rich-text-editor-uObNYFW4.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/announcements/show.tsx": { - "file": "assets/show-BBP32Lsm.js", + "file": "assets/show-Vr7BZGQD.js", "name": "show", "src": "resources/js/pages/hr/announcements/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_CrudDeleteModal-D32N6I8y.js", "resources/js/app.tsx", - "_page-template-BTxLyiDA.js", - "_progress-CJ4ij2ij.js", - "_arrow-left-B_Yqvwsn.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_square-pen-bMHyT06o.js", - "_trash-Pq_dkuTI.js", - "_download-Bk1k2_dW.js", + "_page-template-CLNVC8w_.js", + "_progress-NbCMYaUz.js", + "_arrow-left-BUNj5JJK.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_square-pen-CzdhbxyN.js", + "_trash-BFTYTNQN.js", + "_download-BBNmalxc.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/announcements/statistics.tsx": { - "file": "assets/statistics-DP1Z7RvM.js", + "file": "assets/statistics-CVwBoPhL.js", "name": "statistics", "src": "resources/js/pages/hr/announcements/statistics.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_arrow-left-B_Yqvwsn.js", - "_users-C4LpG59H.js", - "_eye--FVGKpVp.js", - "_trending-up-Bi4f72Tj.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_arrow-left-BUNj5JJK.js", + "_users-BzCDZrS0.js", + "_eye-CCNnMtu4.js", + "_trending-up-BT453ptk.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/assets/dashboard.tsx": { - "file": "assets/dashboard-FKh0lMdj.js", + "file": "assets/dashboard-CibTTpYK.js", "name": "dashboard", "src": "resources/js/pages/hr/assets/dashboard.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_progress-CJ4ij2ij.js", - "_list-D0MAUZMV.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_trending-up-Bi4f72Tj.js", - "_package-Dbz0W2dX.js", - "_circle-check-big-C5Cqj7-2.js", - "_user-check-eTf_WVUH.js", - "_wrench-BdOd6Wbm.js", + "_progress-NbCMYaUz.js", + "_list-C_2fG_BT.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_trending-up-BT453ptk.js", + "_package-BMnRSK1k.js", + "_circle-check-big-Cju4ilPH.js", + "_user-check-DC9_V3Qo.js", + "_wrench-D9olQ4TN.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/assets/depreciation-report.tsx": { - "file": "assets/depreciation-report-TgdmfIPE.js", + "file": "assets/depreciation-report-Ctuc5gL8.js", "name": "depreciation-report", "src": "resources/js/pages/hr/assets/depreciation-report.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_search-and-filter-bar-6Pp-FsiR.js", - "_pagination-D8A_HnL5.js", - "_CrudTable-qPWooc10.js", - "_list-D0MAUZMV.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_download-Bk1k2_dW.js", - "_trending-up-Bi4f72Tj.js", - "_dollar-sign-DYXFWWsE.js", - "_trending-down-DeoG-P9A.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_pagination-4PUepASD.js", + "_CrudTable-yqxtM6E_.js", + "_list-C_2fG_BT.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_download-BBNmalxc.js", + "_trending-up-BT453ptk.js", + "_dollar-sign-DH2Tc178.js", + "_trending-down-DmDmdusz.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_filter-uErFRSPT.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_filter-BTHjyusi.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/assets/index.tsx": { - "file": "assets/index-CqtrR8zZ.js", + "file": "assets/index-fvp18Mnk.js", "name": "index", "src": "resources/js/pages/hr/assets/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_ImportModal-CxDgVhxL.js", - "_file-down-Dd8zePUY.js", - "_file-up-BGHgeTEG.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_ImportModal-s55JxI6I.js", + "_file-down-DO17xCrw.js", + "_file-up-mHt_z-hD.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_pen-line-BrTss6NX.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_pen-line-D3y4U--J.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_alert-DH0o7BP8.js" + "_alert-CyJVNPY9.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/assets/show.tsx": { - "file": "assets/show-DxsRsCDG.js", + "file": "assets/show-BifM1eai.js", "name": "show", "src": "resources/js/pages/hr/assets/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_tabs-pc4jrsjt.js", - "_table-BXUOKUBo.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_progress-CJ4ij2ij.js", - "_arrow-left-B_Yqvwsn.js", - "_square-pen-bMHyT06o.js", - "_user-plus-DXHdW4q-.js", - "_arrow-down-left-B7-m5tqv.js", - "_wrench-BdOd6Wbm.js", - "_qr-code-Dvy3HD3W.js", - "_trash-Pq_dkuTI.js", - "_download-Bk1k2_dW.js", + "_tabs-CsP5VcXV.js", + "_table-CM-_W5Cl.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_progress-NbCMYaUz.js", + "_arrow-left-BUNj5JJK.js", + "_square-pen-CzdhbxyN.js", + "_user-plus-BpaQ3zuJ.js", + "_arrow-down-left-B_VdNN9z.js", + "_wrench-D9olQ4TN.js", + "_qr-code-CUIVRbAs.js", + "_trash-BFTYTNQN.js", + "_download-BBNmalxc.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js" + "_locate-fixed-BEb8vcRf.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/assets/types/index.tsx": { - "file": "assets/index-CjDzhRcW.js", + "file": "assets/index-CHaOS5LS.js", "name": "index", "src": "resources/js/pages/hr/assets/types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_boxes-C2a1Xilp.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", - "_select-BrY9osYp.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_boxes-Dyz92FXO.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/attendance-records/calendar.tsx": { - "file": "assets/calendar-DK7BNiGj.js", + "file": "assets/calendar-q-CcV4Mq.js", "name": "calendar", "src": "resources/js/pages/hr/attendance-records/calendar.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_CrudFormModal-DAR9q-oM.js", - "_refresh-cw-DWorkL8J.js", - "_calendar-CfUpdaK5.js", - "_layout-list-BgC0E-xE.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_CrudFormModal-CsuqSfb2.js", + "_refresh-cw-D_C_cDSu.js", + "_calendar-DuRYaSj5.js", + "_layout-list-Cqn_SURh.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js" + "_locate-fixed-BEb8vcRf.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/attendance-records/index.tsx": { - "file": "assets/index-rQIAl_IQ.js", + "file": "assets/index-DfzWmulD.js", "name": "index", "src": "resources/js/pages/hr/attendance-records/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_ImportModal-CxDgVhxL.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_ImportModal-s55JxI6I.js", "resources/js/pages/hr/attendance-records/view.tsx", - "_calendar-CfUpdaK5.js", - "_file-down-Dd8zePUY.js", - "_file-up-BGHgeTEG.js", - "_circle-check-big-C5Cqj7-2.js", - "_triangle-alert-DGWTh17w.js", - "_trending-up-Bi4f72Tj.js", - "_eye--FVGKpVp.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", - "_log-in-DDjMW0xI.js", - "_log-out-XdMMCWfW.js", - "_clock-CwFdn-oy.js", - "_circle-x-C1aiFLrz.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_calendar-DuRYaSj5.js", + "_file-down-DO17xCrw.js", + "_file-up-mHt_z-hD.js", + "_circle-check-big-Cju4ilPH.js", + "_triangle-alert-CpPzdeiH.js", + "_trending-up-BT453ptk.js", + "_eye-CCNnMtu4.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", + "_log-in-3L4UHGsD.js", + "_log-out-M0Vyot5_.js", + "_clock-LnEFQ-vK.js", + "_circle-x-Dg5wGIim.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", "_utils-BWxnHGCV.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js", - "_filter-uErFRSPT.js", - "_list-D0MAUZMV.js", - "_alert-DH0o7BP8.js", - "_info-D_4wnc_R.js", - "_download-Bk1k2_dW.js", - "_map-pin-BEMjKB1T.js", - "_monitor-CnIEqEUy.js" + "_locate-fixed-BEb8vcRf.js", + "_filter-BTHjyusi.js", + "_list-C_2fG_BT.js", + "_alert-CyJVNPY9.js", + "_info-CPi9bOGM.js", + "_download-BBNmalxc.js", + "_map-pin-DFWKFR9c.js", + "_monitor-BYgqmcKD.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/attendance-records/view.tsx": { - "file": "assets/view-BFjj0TjT.js", + "file": "assets/view-CNymHwlr.js", "name": "view", "src": "resources/js/pages/hr/attendance-records/view.tsx", "isDynamicEntry": true, @@ -3772,24 +3773,24 @@ "_ui-Z445SNHD.js", "resources/js/app.tsx", "_leaflet-ChJqBZBV.js", - "_clock-CwFdn-oy.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_log-in-DDjMW0xI.js", - "_map-pin-BEMjKB1T.js", - "_fingerprint-DTUiU2wR.js", - "_monitor-CnIEqEUy.js", - "_log-out-XdMMCWfW.js", - "_triangle-alert-DGWTh17w.js", + "_clock-LnEFQ-vK.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_log-in-3L4UHGsD.js", + "_map-pin-DFWKFR9c.js", + "_fingerprint-aH6d8cFa.js", + "_monitor-BYgqmcKD.js", + "_log-out-M0Vyot5_.js", + "_triangle-alert-CpPzdeiH.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/attendance-regularizations/index.tsx": { - "file": "assets/index-Da0bR24c.js", + "file": "assets/index-oQjF2KvA.js", "name": "index", "src": "resources/js/pages/hr/attendance-regularizations/index.tsx", "isDynamicEntry": true, @@ -3797,3568 +3798,3568 @@ "_ui-Z445SNHD.js", "resources/js/app.tsx", "resources/js/pages/hr/attendance-regularizations/view.tsx", - "_page-template-BTxLyiDA.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_calendar-CfUpdaK5.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-x-C1aiFLrz.js", - "_eye--FVGKpVp.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", - "_clock-CwFdn-oy.js", - "_arrow-right-0WTHrq3r.js", - "_message-square-CWrDttoL.js", - "_user-C37aWgZX.js", + "_page-template-CLNVC8w_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_calendar-DuRYaSj5.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-x-Dg5wGIim.js", + "_eye-CCNnMtu4.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", + "_clock-LnEFQ-vK.js", + "_arrow-right-BHW--AGU.js", + "_message-square-DyWo8S6i.js", + "_user-77BPqA3J.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js", - "_filter-uErFRSPT.js", - "_list-D0MAUZMV.js" + "_locate-fixed-BEb8vcRf.js", + "_filter-BTHjyusi.js", + "_list-C_2fG_BT.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/attendance-regularizations/view.tsx": { - "file": "assets/view-MDlwRyWy.js", + "file": "assets/view-Bq_QvsAn.js", "name": "view", "src": "resources/js/pages/hr/attendance-regularizations/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_circle-check-big-C5Cqj7-2.js", - "_circle-x-C1aiFLrz.js", - "_circle-alert-64DrdoHv.js", - "_clock-CwFdn-oy.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_arrow-right-0WTHrq3r.js", - "_message-square-CWrDttoL.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-x-Dg5wGIim.js", + "_circle-alert-Ddjg2Qwp.js", + "_clock-LnEFQ-vK.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_arrow-right-BHW--AGU.js", + "_message-square-DyWo8S6i.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/award-types/index.tsx": { - "file": "assets/index-B-BvIINs.js", + "file": "assets/index-BwP8Xt-d.js", "name": "index", "src": "resources/js/pages/hr/award-types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_award-DMMowKjz.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_award-D1KbOerA.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/awards/index.tsx": { - "file": "assets/index-CEdEG00S.js", + "file": "assets/index-DeWVsfRP.js", "name": "index", "src": "resources/js/pages/hr/awards/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/awards/view.tsx", "_use-initials-BK4eRgYY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/awards/view.tsx": { - "file": "assets/view-BbFir-PT.js", + "file": "assets/view-DtjMRNVw.js", "name": "view", "src": "resources/js/pages/hr/awards/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_trophy-D1q7o3Ri.js", - "_user-C37aWgZX.js", - "_tag-JSZ9YmZg.js", - "_calendar-CfUpdaK5.js", - "_gift-DXGdvbnX.js", - "_eye--FVGKpVp.js", + "_trophy-BaZS8IUN.js", + "_user-77BPqA3J.js", + "_tag-Bq7fLwM4.js", + "_calendar-DuRYaSj5.js", + "_gift-CQwwB55q.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/biometric-attendance/index.tsx": { - "file": "assets/index-fvJm3AZD.js", + "file": "assets/index-DAILITQb.js", "name": "index", "src": "resources/js/pages/hr/biometric-attendance/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/biometric-attendance/view.tsx", - "_circle-check-big-C5Cqj7-2.js", - "_clock-CwFdn-oy.js", - "_timer-Cqv8ulB-.js", - "_refresh-cw-DWorkL8J.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_circle-check-big-Cju4ilPH.js", + "_clock-LnEFQ-vK.js", + "_timer-BTqoLJiz.js", + "_refresh-cw-D_C_cDSu.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/biometric-attendance/view.tsx": { - "file": "assets/view-jKtOT9Bm.js", + "file": "assets/view-ByKSN7IQ.js", "name": "view", "src": "resources/js/pages/hr/biometric-attendance/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_timer-Cqv8ulB-.js", - "_circle-alert-64DrdoHv.js", - "_info-D_4wnc_R.js", - "_refresh-cw-DWorkL8J.js", + "_timer-BTqoLJiz.js", + "_circle-alert-Ddjg2Qwp.js", + "_info-CPi9bOGM.js", + "_refresh-cw-D_C_cDSu.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/branches/index.tsx": { - "file": "assets/index-B0cz-aBP.js", + "file": "assets/index-DISA3NAq.js", "name": "index", "src": "resources/js/pages/hr/branches/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/branches/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/branches/view.tsx": { - "file": "assets/view-CN8Y1143.js", + "file": "assets/view-DO2SNXYS.js", "name": "view", "src": "resources/js/pages/hr/branches/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_git-branch-B0hRoz5x.js", - "_building-2-D7cTdbG2.js", - "_mail-CGIE7ZEy.js", - "_phone-B_MwJBjY.js", - "_lock-By6rMOj7.js", - "_map-pin-BEMjKB1T.js", - "_globe-DePi6jyA.js", - "_hash-BdwQ_IPO.js", + "_git-branch-BmbBP1kF.js", + "_building-2-CASHKqFo.js", + "_mail-Cha_PX4q.js", + "_phone-3MnRoAYu.js", + "_lock-DaHvMEII.js", + "_map-pin-DFWKFR9c.js", + "_globe-5zZ4IsmY.js", + "_hash-CHQJ9wMw.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/complaints/index.tsx": { - "file": "assets/index-Bj6jJ21X.js", + "file": "assets/index-zkqqkKBr.js", "name": "index", "src": "resources/js/pages/hr/complaints/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/complaints/view.tsx", "_use-initials-BK4eRgYY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/complaints/view.tsx": { - "file": "assets/view-Z7ZNWGt1.js", + "file": "assets/view-BIyDbRpR.js", "name": "view", "src": "resources/js/pages/hr/complaints/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_message-square-warning-D-p7x0Lz.js", - "_user-C37aWgZX.js", - "_tag-JSZ9YmZg.js", - "_calendar-CfUpdaK5.js", - "_user-check-eTf_WVUH.js", - "_eye--FVGKpVp.js", + "_message-square-warning-DT--Ufeu.js", + "_user-77BPqA3J.js", + "_tag-Bq7fLwM4.js", + "_calendar-DuRYaSj5.js", + "_user-check-DC9_V3Qo.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/contract-renewals/index.tsx": { - "file": "assets/index-tbtskYrP.js", + "file": "assets/index-7SkKqPGK.js", "name": "index", "src": "resources/js/pages/hr/contracts/contract-renewals/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_refresh-cw-DWorkL8J.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_dollar-sign-DYXFWWsE.js", - "_clock-CwFdn-oy.js", - "_play-C-QVLyAb.js", - "_circle-x-C1aiFLrz.js", - "_circle-check-big-C5Cqj7-2.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_refresh-cw-D_C_cDSu.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_dollar-sign-DH2Tc178.js", + "_clock-LnEFQ-vK.js", + "_play-BxVAbvyQ.js", + "_circle-x-Dg5wGIim.js", + "_circle-check-big-Cju4ilPH.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/contract-templates/create.tsx": { - "file": "assets/create-C72t9NiC.js", + "file": "assets/create-DttjtICA.js", "name": "create", "src": "resources/js/pages/hr/contracts/contract-templates/create.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_checkbox-1_Cig_g5.js", - "_arrow-left-B_Yqvwsn.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_checkbox-BLrehV38.js", + "_arrow-left-BUNj5JJK.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/contract-templates/edit.tsx": { - "file": "assets/edit-Dfqzkhqt.js", + "file": "assets/edit-C7rfSCHC.js", "name": "edit", "src": "resources/js/pages/hr/contracts/contract-templates/edit.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_checkbox-1_Cig_g5.js", - "_arrow-left-B_Yqvwsn.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_checkbox-BLrehV38.js", + "_arrow-left-BUNj5JJK.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/contract-templates/generate.tsx": { - "file": "assets/generate-CFssguy1.js", + "file": "assets/generate-DVcDuXVF.js", "name": "generate", "src": "resources/js/pages/hr/contracts/contract-templates/generate.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_file-down-Dd8zePUY.js", + "_file-down-DO17xCrw.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/contract-templates/index.tsx": { - "file": "assets/index-DjRJ1e6t.js", + "file": "assets/index-Cjv309fe.js", "name": "index", "src": "resources/js/pages/hr/contracts/contract-templates/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/contracts/contract-templates/generate.tsx", - "_star-DQsTg5F1.js", - "_code-BfjQUpEO.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_star-DCkLKzoE.js", + "_code-znlKMFkF.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/contract-templates/show.tsx": { - "file": "assets/show-CIW6tgp8.js", + "file": "assets/show-BnL2g2PG.js", "name": "show", "src": "resources/js/pages/hr/contracts/contract-templates/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_arrow-left-B_Yqvwsn.js", - "_star-DQsTg5F1.js", - "_tag-JSZ9YmZg.js", - "_code-BfjQUpEO.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_arrow-left-BUNj5JJK.js", + "_star-DCkLKzoE.js", + "_tag-Bq7fLwM4.js", + "_code-znlKMFkF.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/contract-types/index.tsx": { - "file": "assets/index-BgrFso6c.js", + "file": "assets/index-ChQKPCV2.js", "name": "index", "src": "resources/js/pages/hr/contracts/contract-types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/contracts/contract-types/view.tsx", - "_calendar-CfUpdaK5.js", - "_clock-CwFdn-oy.js", - "_refresh-cw-DWorkL8J.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_calendar-DuRYaSj5.js", + "_clock-LnEFQ-vK.js", + "_refresh-cw-D_C_cDSu.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/contract-types/view.tsx": { - "file": "assets/view-D26r40SC.js", + "file": "assets/view-DtJK-ZFP.js", "name": "view", "src": "resources/js/pages/hr/contracts/contract-types/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_lock-By6rMOj7.js", - "_calendar-CfUpdaK5.js", - "_clock-CwFdn-oy.js", - "_refresh-cw-DWorkL8J.js", - "_hash-BdwQ_IPO.js", + "_lock-DaHvMEII.js", + "_calendar-DuRYaSj5.js", + "_clock-LnEFQ-vK.js", + "_refresh-cw-D_C_cDSu.js", + "_hash-CHQJ9wMw.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/employee-contracts/index.tsx": { - "file": "assets/index-9x6Wsxln.js", + "file": "assets/index-Dbc0rBs0.js", "name": "index", "src": "resources/js/pages/hr/contracts/employee-contracts/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/contracts/employee-contracts/view.tsx", "_use-initials-BK4eRgYY.js", - "_calendar-CfUpdaK5.js", - "_triangle-alert-DGWTh17w.js", + "_calendar-DuRYaSj5.js", + "_triangle-alert-CpPzdeiH.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/contracts/employee-contracts/view.tsx": { - "file": "assets/view-D-KwmQWY.js", + "file": "assets/view-BNW3nx7q.js", "name": "view", "src": "resources/js/pages/hr/contracts/employee-contracts/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_triangle-alert-DGWTh17w.js", - "_dollar-sign-DYXFWWsE.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_triangle-alert-CpPzdeiH.js", + "_dollar-sign-DH2Tc178.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/departments/index.tsx": { - "file": "assets/index-DWoluho-.js", + "file": "assets/index-fChYlLmm.js", "name": "index", "src": "resources/js/pages/hr/departments/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/departments/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/departments/view.tsx": { - "file": "assets/view-KQwkZ-26.js", + "file": "assets/view-Dpd8svdo.js", "name": "view", "src": "resources/js/pages/hr/departments/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_building-2-D7cTdbG2.js", - "_git-branch-B0hRoz5x.js", - "_lock-By6rMOj7.js", + "_building-2-CASHKqFo.js", + "_git-branch-BmbBP1kF.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/designations/index.tsx": { - "file": "assets/index-ClbcQXHo.js", + "file": "assets/index-B2s-YkQ5.js", "name": "index", "src": "resources/js/pages/hr/designations/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/designations/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/designations/view.tsx": { - "file": "assets/view-FrvU1Gq2.js", + "file": "assets/view-C5MKftPZ.js", "name": "view", "src": "resources/js/pages/hr/designations/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_briefcase-CLRn8zVu.js", - "_building-2-D7cTdbG2.js", - "_git-branch-B0hRoz5x.js", - "_lock-By6rMOj7.js", + "_briefcase-Btn3T9V4.js", + "_building-2-CASHKqFo.js", + "_git-branch-BmbBP1kF.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/document-types/index.tsx": { - "file": "assets/index-CShf9M56.js", + "file": "assets/index-Pp0sx53v.js", "name": "index", "src": "resources/js/pages/hr/document-types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/document-acknowledgments/index.tsx": { - "file": "assets/index-BhNb0aNF.js", + "file": "assets/index-DuU4uqEk.js", "name": "index", "src": "resources/js/pages/hr/documents/document-acknowledgments/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudTable-qPWooc10.js", + "_CrudDeleteModal-D32N6I8y.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudTable-yqxtM6E_.js", "resources/js/app.tsx", - "_page-template-BTxLyiDA.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_page-template-CLNVC8w_.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/documents/document-acknowledgments/view.tsx", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_clock-CwFdn-oy.js", - "_circle-x-C1aiFLrz.js", - "_triangle-alert-DGWTh17w.js", - "_circle-check-big-C5Cqj7-2.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_clock-LnEFQ-vK.js", + "_circle-x-Dg5wGIim.js", + "_triangle-alert-CpPzdeiH.js", + "_circle-check-big-Cju4ilPH.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_switch-CKduD2wX.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_chevron-up-DHaGktre.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_switch-DyHgm-Sg.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_sparkles-BIbzOfb3.js", - "_briefcase-CLRn8zVu.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_calendar-days-CiPhwZgb.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_chevron-right-Bd9XWZHZ.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_coins-BDVfLngB.js", - "_copy-xfopPExK.js", - "_credit-card-BmdpMcMw.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_dollar-sign-DYXFWWsE.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_fingerprint-DTUiU2wR.js", - "_house-CL9v9Cnk.js", - "_gift-DXGdvbnX.js", - "_git-branch-B0hRoz5x.js", - "_globe-DePi6jyA.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-grid-C6MkbbLQ.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_loader-circle-wGk7YsPK.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_log-out-XdMMCWfW.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_refresh-cw-DWorkL8J.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_settings-BwhyNRyj.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_timer-Cqv8ulB-.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_users-C4LpG59H.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", + "_locate-fixed-BEb8vcRf.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_sparkles-C1HgyvOv.js", + "_briefcase-Btn3T9V4.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_calendar-days-CURbwGg4.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_chevron-right-D4JxSs4d.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_coins-CgSV4zfi.js", + "_copy-G5cMddid.js", + "_credit-card-BKi_ThdS.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_dollar-sign-DH2Tc178.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_fingerprint-aH6d8cFa.js", + "_house-iKjbmxem.js", + "_gift-CQwwB55q.js", + "_git-branch-BmbBP1kF.js", + "_globe-5zZ4IsmY.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-grid-3SDzvK8c.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_loader-circle-BLsTZrwM.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_log-out-M0Vyot5_.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_refresh-cw-D_C_cDSu.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_settings-amvA_CjN.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_timer-BTqoLJiz.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_users-BzCDZrS0.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", "_utils-BWxnHGCV.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_CookieConsentBanner-Do3n0EfV.js", + "_CookieConsentBanner-dwye0O-l.js", "_index-BFT_C1pH.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/document-acknowledgments/view.tsx": { - "file": "assets/view-CaBV2VCV.js", + "file": "assets/view-Dw61qhOk.js", "name": "view", "src": "resources/js/pages/hr/documents/document-acknowledgments/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_circle-check-big-C5Cqj7-2.js", - "_clock-CwFdn-oy.js", - "_circle-x-C1aiFLrz.js", - "_triangle-alert-DGWTh17w.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_circle-check-big-Cju4ilPH.js", + "_clock-LnEFQ-vK.js", + "_circle-x-Dg5wGIim.js", + "_triangle-alert-CpPzdeiH.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/document-categories/index.tsx": { - "file": "assets/index-DrqUs-Ht.js", + "file": "assets/index-BKa9SN2b.js", "name": "index", "src": "resources/js/pages/hr/documents/document-categories/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_CrudDeleteModal-D32N6I8y.js", "resources/js/app.tsx", - "_page-template-BTxLyiDA.js", - "_pagination-D8A_HnL5.js", - "_select-BrY9osYp.js", - "_textarea-kpRjGGLz.js", - "_user-C37aWgZX.js", - "_trending-up-Bi4f72Tj.js", - "_award-DMMowKjz.js", - "_dollar-sign-DYXFWWsE.js", - "_briefcase-CLRn8zVu.js", - "_scale-BUz-ovAe.js", - "_settings-BwhyNRyj.js", - "_users-C4LpG59H.js", - "_shield-BXgaUVtY.js", - "_building-Cyq-0nCs.js", - "_clipboard-list-DA9ABN1f.js", - "_sparkles-BIbzOfb3.js", - "_triangle-alert-DGWTh17w.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", + "_page-template-CLNVC8w_.js", + "_pagination-4PUepASD.js", + "_select-CHkpLxhL.js", + "_textarea-yeg8ONhy.js", + "_user-77BPqA3J.js", + "_trending-up-BT453ptk.js", + "_award-D1KbOerA.js", + "_dollar-sign-DH2Tc178.js", + "_briefcase-Btn3T9V4.js", + "_scale-BzSuyiWe.js", + "_settings-amvA_CjN.js", + "_users-BzCDZrS0.js", + "_shield-CDL27iRK.js", + "_building-DyhEfKj4.js", + "_clipboard-list-C-5sn1G-.js", + "_sparkles-C1HgyvOv.js", + "_triangle-alert-CpPzdeiH.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", "_utils-BWxnHGCV.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_switch-CKduD2wX.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/document-templates/create.tsx": { - "file": "assets/create-MS7LrsiO.js", + "file": "assets/create-IoumbhUE.js", "name": "create", "src": "resources/js/pages/hr/documents/document-templates/create.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_checkbox-1_Cig_g5.js", - "_arrow-left-B_Yqvwsn.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_checkbox-BLrehV38.js", + "_arrow-left-BUNj5JJK.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/document-templates/edit.tsx": { - "file": "assets/edit-Dq9tcmGS.js", + "file": "assets/edit-XCtlV2mF.js", "name": "edit", "src": "resources/js/pages/hr/documents/document-templates/edit.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_checkbox-1_Cig_g5.js", - "_arrow-left-B_Yqvwsn.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_checkbox-BLrehV38.js", + "_arrow-left-BUNj5JJK.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/document-templates/generate.tsx": { - "file": "assets/generate-BdLQjM1G.js", + "file": "assets/generate-C8citJrT.js", "name": "generate", "src": "resources/js/pages/hr/documents/document-templates/generate.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_file-down-Dd8zePUY.js", + "_file-down-DO17xCrw.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/document-templates/index.tsx": { - "file": "assets/index-DGZGl4KA.js", + "file": "assets/index-C4rS_B3j.js", "name": "index", "src": "resources/js/pages/hr/documents/document-templates/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/documents/document-templates/generate.tsx", - "_star-DQsTg5F1.js", - "_code-BfjQUpEO.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_star-DCkLKzoE.js", + "_code-znlKMFkF.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/document-templates/show.tsx": { - "file": "assets/show-j2pNpnhj.js", + "file": "assets/show-CuchtGiG.js", "name": "show", "src": "resources/js/pages/hr/documents/document-templates/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_arrow-left-B_Yqvwsn.js", - "_star-DQsTg5F1.js", - "_tag-JSZ9YmZg.js", - "_code-BfjQUpEO.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_arrow-left-BUNj5JJK.js", + "_star-DCkLKzoE.js", + "_tag-Bq7fLwM4.js", + "_code-znlKMFkF.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/hr-documents/index.tsx": { - "file": "assets/index-CI8zGq5x.js", + "file": "assets/index-CbdgvcXo.js", "name": "index", "src": "resources/js/pages/hr/documents/hr-documents/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/documents/hr-documents/view.tsx", - "_triangle-alert-DGWTh17w.js", - "_download-Bk1k2_dW.js", - "_eye--FVGKpVp.js", - "_circle-check-big-C5Cqj7-2.js", - "_clock-CwFdn-oy.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_triangle-alert-CpPzdeiH.js", + "_download-BBNmalxc.js", + "_eye-CCNnMtu4.js", + "_circle-check-big-Cju4ilPH.js", + "_clock-LnEFQ-vK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/documents/hr-documents/view.tsx": { - "file": "assets/view-CwN1eCBc.js", + "file": "assets/view-BJ4q7exK.js", "name": "view", "src": "resources/js/pages/hr/documents/hr-documents/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_tag-JSZ9YmZg.js", - "_download-Bk1k2_dW.js", - "_calendar-CfUpdaK5.js", - "_user-C37aWgZX.js", - "_triangle-alert-DGWTh17w.js", - "_eye--FVGKpVp.js", - "_circle-check-big-C5Cqj7-2.js", - "_clock-CwFdn-oy.js", + "_tag-Bq7fLwM4.js", + "_download-BBNmalxc.js", + "_calendar-DuRYaSj5.js", + "_user-77BPqA3J.js", + "_triangle-alert-CpPzdeiH.js", + "_eye-CCNnMtu4.js", + "_circle-check-big-Cju4ilPH.js", + "_clock-LnEFQ-vK.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/employee-salaries/index.tsx": { - "file": "assets/index-ltoYfV1y.js", + "file": "assets/index-CfE9RqBV.js", "name": "index", "src": "resources/js/pages/hr/employee-salaries/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/employee-salaries/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/employee-salaries/payroll-calculation.tsx": { - "file": "assets/payroll-calculation-RtB_ajIT.js", + "file": "assets/payroll-calculation-CsNXsl-F.js", "name": "payroll-calculation", "src": "resources/js/pages/hr/employee-salaries/payroll-calculation.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_arrow-left-B_Yqvwsn.js", - "_calculator-CAq-8OXK.js", - "_dollar-sign-DYXFWWsE.js", - "_clock-CwFdn-oy.js", - "_trending-up-Bi4f72Tj.js", - "_trending-down-DeoG-P9A.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_arrow-left-BUNj5JJK.js", + "_calculator-D-XBwqfe.js", + "_dollar-sign-DH2Tc178.js", + "_clock-LnEFQ-vK.js", + "_trending-up-BT453ptk.js", + "_trending-down-DmDmdusz.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/employee-salaries/view.tsx": { - "file": "assets/view-DvTZXpYh.js", + "file": "assets/view-CPJephlz.js", "name": "view", "src": "resources/js/pages/hr/employee-salaries/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_dollar-sign-DYXFWWsE.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_layers-Dl67CG9c.js", - "_lock-By6rMOj7.js", + "_dollar-sign-DH2Tc178.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_layers-OK3_pizJ.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/employees/create.tsx": { - "file": "assets/create-CEEzYIw1.js", + "file": "assets/create-D6ap4dph.js", "name": "create", "src": "resources/js/pages/hr/employees/create.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_radio-group-CLGfOEmR.js", - "_multi-select-field-Dxyl0jtB.js", - "_trash-2-C1NR_7Ss.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_radio-group-BMzEN82K.js", + "_multi-select-field-CO_GzZgi.js", + "_trash-2-BeirBLIk.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", - "_circle-BoWbKVIN.js" + "_circle-C2Wo_gI7.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/employees/edit.tsx": { - "file": "assets/edit-DTz0GzMY.js", + "file": "assets/edit-CX7bkawy.js", "name": "edit", "src": "resources/js/pages/hr/employees/edit.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_radio-group-CLGfOEmR.js", - "_multi-select-field-Dxyl0jtB.js", - "_eye--FVGKpVp.js", - "_trash-2-C1NR_7Ss.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_radio-group-BMzEN82K.js", + "_multi-select-field-CO_GzZgi.js", + "_eye-CCNnMtu4.js", + "_trash-2-BeirBLIk.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", - "_circle-BoWbKVIN.js" + "_circle-C2Wo_gI7.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/employees/index.tsx": { - "file": "assets/index-67ns2C5v.js", + "file": "assets/index-DZvsi9_s.js", "name": "index", "src": "resources/js/pages/hr/employees/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CookieConsentBanner-Do3n0EfV.js", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_CookieConsentBanner-dwye0O-l.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", "_use-initials-BK4eRgYY.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_CrudFormModal-DAR9q-oM.js", - "_ImportModal-CxDgVhxL.js", - "_file-down-Dd8zePUY.js", - "_file-up-BGHgeTEG.js", - "_eye--FVGKpVp.js", - "_lock-By6rMOj7.js", - "_lock-open-Bohob0Q8.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_CrudFormModal-CsuqSfb2.js", + "_ImportModal-s55JxI6I.js", + "_file-down-DO17xCrw.js", + "_file-up-mHt_z-hD.js", + "_eye-CCNnMtu4.js", + "_lock-DaHvMEII.js", + "_lock-open-wwRKX_jV.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_settings-BwhyNRyj.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_settings-amvA_CjN.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_switch-CKduD2wX.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_instagram-BINpUnZv.js", - "_pen-line-BrTss6NX.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_switch-DyHgm-Sg.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_instagram-hxbchcd2.js", + "_pen-line-D3y4U--J.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_alert-DH0o7BP8.js" + "_alert-CyJVNPY9.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/employees/show.tsx": { - "file": "assets/show-DRD8df6K.js", + "file": "assets/show-CWZul8W_.js", "name": "show", "src": "resources/js/pages/hr/employees/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_tabs-pc4jrsjt.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_tabs-CsP5VcXV.js", + "_CrudDeleteModal-D32N6I8y.js", "_use-initials-BK4eRgYY.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_arrow-left-B_Yqvwsn.js", - "_user-C37aWgZX.js", - "_mail-CGIE7ZEy.js", - "_phone-B_MwJBjY.js", - "_calendar-CfUpdaK5.js", - "_building-Cyq-0nCs.js", - "_briefcase-CLRn8zVu.js", - "_download-Bk1k2_dW.js", - "_chevron-up-DepFp6b6.js", - "_eye--FVGKpVp.js", - "_trash-2-C1NR_7Ss.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CookieConsentBanner-dwye0O-l.js", + "_arrow-left-BUNj5JJK.js", + "_user-77BPqA3J.js", + "_mail-Cha_PX4q.js", + "_phone-3MnRoAYu.js", + "_calendar-DuRYaSj5.js", + "_building-DyhEfKj4.js", + "_briefcase-Btn3T9V4.js", + "_download-BBNmalxc.js", + "_chevron-up-DHaGktre.js", + "_eye-CCNnMtu4.js", + "_trash-2-BeirBLIk.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_credit-card-BmdpMcMw.js", - "_settings-BwhyNRyj.js", - "_gift-DXGdvbnX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_credit-card-BKi_ThdS.js", + "_settings-amvA_CjN.js", + "_gift-CQwwB55q.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_switch-CKduD2wX.js" + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_switch-DyHgm-Sg.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/holidays/calendar.tsx": { - "file": "assets/calendar-DZbQGEJ_.js", + "file": "assets/calendar-1Xop4ez3.js", "name": "calendar", "src": "resources/js/pages/hr/holidays/calendar.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", "_index-DrmIhGnK.js", - "_list-D0MAUZMV.js", - "_download-Bk1k2_dW.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_list-C_2fG_BT.js", + "_download-BBNmalxc.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/holidays/index.tsx": { - "file": "assets/index-FKx2V6xd.js", + "file": "assets/index-CR7ebXL8.js", "name": "index", "src": "resources/js/pages/hr/holidays/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/holidays/view.tsx", - "_calendar-CfUpdaK5.js", - "_download-Bk1k2_dW.js", + "_calendar-DuRYaSj5.js", + "_download-BBNmalxc.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/holidays/view.tsx": { - "file": "assets/view-BTXCtQpe.js", + "file": "assets/view-Kypihw2t.js", "name": "view", "src": "resources/js/pages/hr/holidays/view.tsx", "isDynamicEntry": true, @@ -7366,2224 +7367,2245 @@ "_ui-Z445SNHD.js", "resources/js/app.tsx", "_utils-BWxnHGCV.js", - "_calendar-days-CiPhwZgb.js", - "_tag-JSZ9YmZg.js", - "_calendar-CfUpdaK5.js", - "_git-branch-B0hRoz5x.js" + "_calendar-days-CURbwGg4.js", + "_tag-Bq7fLwM4.js", + "_calendar-DuRYaSj5.js", + "_git-branch-BmbBP1kF.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/leave-applications/index.tsx": { - "file": "assets/index-jrL8Swqa.js", + "file": "assets/index-BS6rhCib.js", "name": "index", "src": "resources/js/pages/hr/leave-applications/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "_use-initials-BK4eRgYY.js", "resources/js/pages/hr/leave-applications/view.tsx", - "_file-down-Dd8zePUY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_file-down-DO17xCrw.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/leave-applications/view.tsx": { - "file": "assets/view-DXMFTn3s.js", + "file": "assets/view-CIsuARGL.js", "name": "view", "src": "resources/js/pages/hr/leave-applications/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_calendar-days-CiPhwZgb.js", - "_user-C37aWgZX.js", - "_tag-JSZ9YmZg.js", - "_hash-BdwQ_IPO.js", - "_eye--FVGKpVp.js", + "_calendar-days-CURbwGg4.js", + "_user-77BPqA3J.js", + "_tag-Bq7fLwM4.js", + "_hash-CHQJ9wMw.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/leave-balances/index.tsx": { - "file": "assets/index-CY4LrrUm.js", + "file": "assets/index-ChW1Tzdd.js", "name": "index", "src": "resources/js/pages/hr/leave-balances/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "_use-initials-BK4eRgYY.js", "resources/js/pages/hr/leave-balances/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/leave-balances/view.tsx": { - "file": "assets/view-Bp5k9w6L.js", + "file": "assets/view-DG9-mnmR.js", "name": "view", "src": "resources/js/pages/hr/leave-balances/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_calendar-days-CiPhwZgb.js", - "_user-C37aWgZX.js", - "_tag-JSZ9YmZg.js", - "_hash-BdwQ_IPO.js", + "_calendar-days-CURbwGg4.js", + "_user-77BPqA3J.js", + "_tag-Bq7fLwM4.js", + "_hash-CHQJ9wMw.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/leave-policies/index.tsx": { - "file": "assets/index-BUG3ThJK.js", + "file": "assets/index-DZc4Dxls.js", "name": "index", "src": "resources/js/pages/hr/leave-policies/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/leave-policies/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/leave-policies/view.tsx": { - "file": "assets/view-C8SbLwsW.js", + "file": "assets/view--947vg3E.js", "name": "view", "src": "resources/js/pages/hr/leave-policies/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_tag-JSZ9YmZg.js", - "_refresh-cw-DWorkL8J.js", - "_arrow-up-down-Bd89yBZf.js", - "_hash-BdwQ_IPO.js", - "_lock-By6rMOj7.js", + "_tag-Bq7fLwM4.js", + "_refresh-cw-D_C_cDSu.js", + "_arrow-up-down-B7nj--dP.js", + "_hash-CHQJ9wMw.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/leave-types/index.tsx": { - "file": "assets/index-CMpmrPYK.js", + "file": "assets/index-D4Gt8Ywm.js", "name": "index", "src": "resources/js/pages/hr/leave-types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_CrudDeleteModal-D32N6I8y.js", "resources/js/app.tsx", - "_page-template-BTxLyiDA.js", - "_pagination-D8A_HnL5.js", - "_select-BrY9osYp.js", - "_switch-CKduD2wX.js", - "_textarea-kpRjGGLz.js", - "_calendar-CfUpdaK5.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", - "_dollar-sign-DYXFWWsE.js", - "_wallet-OtmBA2C9.js", + "_page-template-CLNVC8w_.js", + "_pagination-4PUepASD.js", + "_select-CHkpLxhL.js", + "_switch-DyHgm-Sg.js", + "_textarea-yeg8ONhy.js", + "_calendar-DuRYaSj5.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", + "_dollar-sign-DH2Tc178.js", + "_wallet-ChDgCFUl.js", "_utils-BWxnHGCV.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/overtime/index.tsx": { - "file": "assets/index-D5sgV30H.js", + "file": "assets/index-B1jGHDZT.js", "name": "index", "src": "resources/js/pages/hr/overtime/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudFormModal-DAR9q-oM.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-x-C1aiFLrz.js", + "_CrudFormModal-CsuqSfb2.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-x-Dg5wGIim.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js" + "_locate-fixed-BEb8vcRf.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", + "assets/dark-mode-CbIfkZ9G.css" + ] + }, + "resources/js/pages/hr/payroll-runs/PayrollEntryBreakdown.tsx": { + "file": "assets/PayrollEntryBreakdown-BQCA24RG.js", + "name": "PayrollEntryBreakdown", + "src": "resources/js/pages/hr/payroll-runs/PayrollEntryBreakdown.tsx", + "isDynamicEntry": true, + "imports": [ + "_ui-Z445SNHD.js", + "resources/js/app.tsx", + "_calendar-DuRYaSj5.js", + "_clock-LnEFQ-vK.js", + "_calendar-check-Cei2wfOk.js", + "_trending-up-BT453ptk.js", + "_trending-down-DmDmdusz.js", + "_utils-BWxnHGCV.js" + ], + "css": [ + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/payroll-runs/PayrollOverrideModal.tsx": { - "file": "assets/PayrollOverrideModal-zN2d0QE9.js", + "file": "assets/PayrollOverrideModal-BFEQA8PZ.js", "name": "PayrollOverrideModal", "src": "resources/js/pages/hr/payroll-runs/PayrollOverrideModal.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_scroll-area-Dxv7Ysgl.js", + "_scroll-area-T2TE8oKI.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/payroll-runs/index.tsx": { - "file": "assets/index-8TqNXIQR.js", + "file": "assets/index-DXDOWGjM.js", "name": "index", "src": "resources/js/pages/hr/payroll-runs/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_ImportModal-CxDgVhxL.js", - "_file-down-Dd8zePUY.js", - "_file-up-BGHgeTEG.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_ImportModal-s55JxI6I.js", + "_file-down-DO17xCrw.js", + "_file-up-mHt_z-hD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_pen-line-BrTss6NX.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_pen-line-D3y4U--J.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_alert-DH0o7BP8.js" + "_alert-CyJVNPY9.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/payroll-runs/show.tsx": { - "file": "assets/show-BrUoHkvy.js", + "file": "assets/show-btx521-2.js", "name": "show", "src": "resources/js/pages/hr/payroll-runs/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", "resources/js/pages/hr/payroll-runs/PayrollOverrideModal.tsx", - "_table-BXUOKUBo.js", - "_download-Bk1k2_dW.js", - "_arrow-left-B_Yqvwsn.js", - "_users-C4LpG59H.js", - "_dollar-sign-DYXFWWsE.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "resources/js/pages/hr/payroll-runs/PayrollEntryBreakdown.tsx", + "_table-CM-_W5Cl.js", + "_download-BBNmalxc.js", + "_arrow-left-BUNj5JJK.js", + "_users-BzCDZrS0.js", + "_dollar-sign-DH2Tc178.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_scroll-area-Dxv7Ysgl.js" + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_scroll-area-T2TE8oKI.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/payslips/index.tsx": { - "file": "assets/index-nGhUNfeM.js", + "file": "assets/index-DhqFHF6S.js", "name": "index", "src": "resources/js/pages/hr/payslips/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/employee-goals/index.tsx": { - "file": "assets/index-DfDYhnBt.js", + "file": "assets/index-BSGmDIhX.js", "name": "index", "src": "resources/js/pages/hr/performance/employee-goals/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/performance/employee-goals/view.tsx", - "_progress-CJ4ij2ij.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_progress-NbCMYaUz.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/employee-goals/view.tsx": { - "file": "assets/view-DeKROn_z.js", + "file": "assets/view-CbD001QY.js", "name": "view", "src": "resources/js/pages/hr/performance/employee-goals/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_progress-CJ4ij2ij.js", - "_target-Pzb9zAUp.js", - "_user-C37aWgZX.js", - "_tag-JSZ9YmZg.js", - "_crosshair-D1Bk7XgB.js", - "_calendar-CfUpdaK5.js", + "_progress-NbCMYaUz.js", + "_target-BPl0Bsow.js", + "_user-77BPqA3J.js", + "_tag-Bq7fLwM4.js", + "_crosshair-CURvK9L2.js", + "_calendar-DuRYaSj5.js", "_utils-BWxnHGCV.js", "_index-BFT_C1pH.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/employee-reviews/conduct.tsx": { - "file": "assets/conduct-DRlCH6fa.js", + "file": "assets/conduct-ylN55ak5.js", "name": "conduct", "src": "resources/js/pages/hr/performance/employee-reviews/conduct.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_star-DQsTg5F1.js", - "_arrow-left-B_Yqvwsn.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_star-DCkLKzoE.js", + "_arrow-left-BUNj5JJK.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/employee-reviews/create.tsx": { - "file": "assets/create-DA2IkrK2.js", + "file": "assets/create-Aqz7hpS_.js", "name": "create", "src": "resources/js/pages/hr/performance/employee-reviews/create.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/employee-reviews/index.tsx": { - "file": "assets/index-C2eHu2Fm.js", + "file": "assets/index-C_0fPJzN.js", "name": "index", "src": "resources/js/pages/hr/performance/employee-reviews/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "_use-initials-BK4eRgYY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/employee-reviews/show.tsx": { - "file": "assets/show-BbJQH56Z.js", + "file": "assets/show-BQ1fRKoZ.js", "name": "show", "src": "resources/js/pages/hr/performance/employee-reviews/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_star-DQsTg5F1.js", - "_arrow-left-B_Yqvwsn.js", - "_clipboard-list-DA9ABN1f.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_star-DCkLKzoE.js", + "_arrow-left-BUNj5JJK.js", + "_clipboard-list-C-5sn1G-.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/goal-types/index.tsx": { - "file": "assets/index-DVrBTdX3.js", + "file": "assets/index-C4WCB3_m.js", "name": "index", "src": "resources/js/pages/hr/performance/goal-types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_target-Pzb9zAUp.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_target-BPl0Bsow.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/indicator-categories/index.tsx": { - "file": "assets/index-B7XTPaK-.js", + "file": "assets/index-D9WfGpQf.js", "name": "index", "src": "resources/js/pages/hr/performance/indicator-categories/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/performance/indicator-categories/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/indicator-categories/view.tsx": { - "file": "assets/view-BmsX62N2.js", + "file": "assets/view-DU_9UxWY.js", "name": "view", "src": "resources/js/pages/hr/performance/indicator-categories/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_layout-grid-C6MkbbLQ.js", - "_lock-By6rMOj7.js", + "_layout-grid-3SDzvK8c.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/indicators/index.tsx": { - "file": "assets/index-BShKuxu1.js", + "file": "assets/index-C6s0y99w.js", "name": "index", "src": "resources/js/pages/hr/performance/indicators/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/performance/indicators/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/indicators/view.tsx": { - "file": "assets/view-Bc9HsFvk.js", + "file": "assets/view-JE4sQ_qW.js", "name": "view", "src": "resources/js/pages/hr/performance/indicators/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_chart-no-axes-column-BrIh_iVD.js", - "_layout-grid-C6MkbbLQ.js", - "_ruler-BouWNjvC.js", - "_target-Pzb9zAUp.js", - "_lock-By6rMOj7.js", + "_chart-no-axes-column-BoCXnewH.js", + "_layout-grid-3SDzvK8c.js", + "_ruler-BmcStEpw.js", + "_target-BPl0Bsow.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/performance/review-cycles/index.tsx": { - "file": "assets/index-CY9ihQ1o.js", + "file": "assets/index-BwHXA9aB.js", "name": "index", "src": "resources/js/pages/hr/performance/review-cycles/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_refresh-cw-DWorkL8J.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_refresh-cw-D_C_cDSu.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/promotions/index.tsx": { - "file": "assets/index-C-rkBD8E.js", + "file": "assets/index-B95SfE_0.js", "name": "index", "src": "resources/js/pages/hr/promotions/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/promotions/view.tsx", "_use-initials-BK4eRgYY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/promotions/view.tsx": { - "file": "assets/view-CeXwvO2y.js", + "file": "assets/view-0ho_yqvm.js", "name": "view", "src": "resources/js/pages/hr/promotions/view.tsx", "isDynamicEntry": true, @@ -9591,3250 +9613,3250 @@ "_ui-Z445SNHD.js", "resources/js/app.tsx", "_use-initials-BK4eRgYY.js", - "_trending-up-Bi4f72Tj.js", - "_briefcase-CLRn8zVu.js", - "_arrow-right-0WTHrq3r.js", - "_dollar-sign-DYXFWWsE.js", - "_eye--FVGKpVp.js", + "_trending-up-BT453ptk.js", + "_briefcase-Btn3T9V4.js", + "_arrow-right-BHW--AGU.js", + "_dollar-sign-DH2Tc178.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/candidate-assessments/index.tsx": { - "file": "assets/index-DFa3CjCm.js", + "file": "assets/index-BatXmBQU.js", "name": "index", "src": "resources/js/pages/hr/recruitment/candidate-assessments/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/recruitment/candidate-assessments/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/candidate-assessments/view.tsx": { - "file": "assets/view-ZfV1RGFO.js", + "file": "assets/view-Cn1iIsjc.js", "name": "view", "src": "resources/js/pages/hr/recruitment/candidate-assessments/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_clipboard-list-DA9ABN1f.js", - "_user-C37aWgZX.js", - "_hash-BdwQ_IPO.js", - "_user-check-eTf_WVUH.js", - "_calendar-CfUpdaK5.js", + "_clipboard-list-C-5sn1G-.js", + "_user-77BPqA3J.js", + "_hash-CHQJ9wMw.js", + "_user-check-DC9_V3Qo.js", + "_calendar-DuRYaSj5.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/candidate-onboarding/index.tsx": { - "file": "assets/index-BtjYh975.js", + "file": "assets/index-07FSnf47.js", "name": "index", "src": "resources/js/pages/hr/recruitment/candidate-onboarding/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/candidate-onboarding/show.tsx": { - "file": "assets/show-D3Zydh5Q.js", + "file": "assets/show-CwPiSc4f.js", "name": "show", "src": "resources/js/pages/hr/recruitment/candidate-onboarding/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/candidate-sources/index.tsx": { - "file": "assets/index-D49SHwyU.js", + "file": "assets/index-C0Ml30Dj.js", "name": "index", "src": "resources/js/pages/hr/recruitment/candidate-sources/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_globe-DePi6jyA.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_globe-5zZ4IsmY.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/candidates/convert-to-employee.tsx": { - "file": "assets/convert-to-employee-Bs7b-vKF.js", + "file": "assets/convert-to-employee-QLKNwij2.js", "name": "convert-to-employee", "src": "resources/js/pages/hr/recruitment/candidates/convert-to-employee.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_radio-group-CLGfOEmR.js", - "_trash-2-C1NR_7Ss.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_radio-group-BMzEN82K.js", + "_trash-2-BeirBLIk.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", - "_circle-BoWbKVIN.js" + "_circle-C2Wo_gI7.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/candidates/index.tsx": { - "file": "assets/index-BvU7Sn67.js", + "file": "assets/index-BF8fif0j.js", "name": "index", "src": "resources/js/pages/hr/recruitment/candidates/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/candidates/show.tsx": { - "file": "assets/show-DWzFj7I_.js", + "file": "assets/show-C1pwhZq9.js", "name": "show", "src": "resources/js/pages/hr/recruitment/candidates/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_user-C37aWgZX.js", - "_phone-B_MwJBjY.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_external-link-QgK5Wt8A.js", - "_briefcase-CLRn8zVu.js", - "_building-Cyq-0nCs.js", - "_clock-CwFdn-oy.js", - "_users-C4LpG59H.js", - "_dollar-sign-DYXFWWsE.js", - "_award-DMMowKjz.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_user-77BPqA3J.js", + "_phone-3MnRoAYu.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_external-link-Cr5OfBdg.js", + "_briefcase-Btn3T9V4.js", + "_building-DyhEfKj4.js", + "_clock-LnEFQ-vK.js", + "_users-BzCDZrS0.js", + "_dollar-sign-DH2Tc178.js", + "_award-D1KbOerA.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/checklist-items/index.tsx": { - "file": "assets/index-T_WeL0Pu.js", + "file": "assets/index-U2bljUKu.js", "name": "index", "src": "resources/js/pages/hr/recruitment/checklist-items/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/recruitment/checklist-items/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/checklist-items/view.tsx": { - "file": "assets/view-Cen6BZGx.js", + "file": "assets/view-MkN0R0ov.js", "name": "view", "src": "resources/js/pages/hr/recruitment/checklist-items/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_square-check-big-BCxRi7D4.js", - "_tag-JSZ9YmZg.js", - "_lock-By6rMOj7.js", + "_square-check-big-CpQiidmr.js", + "_tag-Bq7fLwM4.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/custom-questions/index.tsx": { - "file": "assets/index-kp14gyxT.js", + "file": "assets/index-DvX1CIpv.js", "name": "index", "src": "resources/js/pages/hr/recruitment/custom-questions/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/recruitment/custom-questions/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/custom-questions/view.tsx": { - "file": "assets/view-D_VJF0vQ.js", + "file": "assets/view-DnoEz16W.js", "name": "view", "src": "resources/js/pages/hr/recruitment/custom-questions/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_circle-help-qSaafQwl.js", - "_circle-check-big-C5Cqj7-2.js", + "_circle-help-DYANbqeK.js", + "_circle-check-big-Cju4ilPH.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/interview-feedback/index.tsx": { - "file": "assets/index-ClFA5pLD.js", + "file": "assets/index-DmVtcg0V.js", "name": "index", "src": "resources/js/pages/hr/recruitment/interview-feedback/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/recruitment/interview-feedback/view.tsx", - "_select-BrY9osYp.js", - "_star-DQsTg5F1.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_star-DCkLKzoE.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_index-BdQq_4o_.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/interview-feedback/view.tsx": { - "file": "assets/view-gAlNzHTp.js", + "file": "assets/view-TaZ0CeRf.js", "name": "view", "src": "resources/js/pages/hr/recruitment/interview-feedback/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_message-square-CWrDttoL.js", - "_user-C37aWgZX.js", - "_briefcase-CLRn8zVu.js", - "_users-C4LpG59H.js", - "_star-DQsTg5F1.js", - "_thumbs-up-_WTyicKR.js", + "_message-square-DyWo8S6i.js", + "_user-77BPqA3J.js", + "_briefcase-Btn3T9V4.js", + "_users-BzCDZrS0.js", + "_star-DCkLKzoE.js", + "_thumbs-up-2-1HocdZ.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/interview-rounds/index.tsx": { - "file": "assets/index-DJuy97vM.js", + "file": "assets/index-0Z3DI-n5.js", "name": "index", "src": "resources/js/pages/hr/recruitment/interview-rounds/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/recruitment/interview-rounds/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/interview-rounds/view.tsx": { - "file": "assets/view-5dgAhEQh.js", + "file": "assets/view-0E0bYwEc.js", "name": "view", "src": "resources/js/pages/hr/recruitment/interview-rounds/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_users-C4LpG59H.js", - "_hash-BdwQ_IPO.js", - "_briefcase-CLRn8zVu.js", - "_lock-By6rMOj7.js", + "_users-BzCDZrS0.js", + "_hash-CHQJ9wMw.js", + "_briefcase-Btn3T9V4.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/interview-types/index.tsx": { - "file": "assets/index-ukFgEklP.js", + "file": "assets/index-Cd1BYcg7.js", "name": "index", "src": "resources/js/pages/hr/recruitment/interview-types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_message-square-CWrDttoL.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_message-square-DyWo8S6i.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/interviews/index.tsx": { - "file": "assets/index-BohFrjjc.js", + "file": "assets/index-BazTc7Ec.js", "name": "index", "src": "resources/js/pages/hr/recruitment/interviews/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/recruitment/interviews/view.tsx", - "_select-BrY9osYp.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_index-BdQq_4o_.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/interviews/view.tsx": { - "file": "assets/view-CUmR-B1R.js", + "file": "assets/view-C30gboqX.js", "name": "view", "src": "resources/js/pages/hr/recruitment/interviews/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_calendar-check-B2HQiQ2A.js", - "_user-C37aWgZX.js", - "_briefcase-CLRn8zVu.js", - "_users-C4LpG59H.js", - "_clock-CwFdn-oy.js", - "_link-Bv_VEBSZ.js", - "_map-pin-BEMjKB1T.js", + "_calendar-check-Cei2wfOk.js", + "_user-77BPqA3J.js", + "_briefcase-Btn3T9V4.js", + "_users-BzCDZrS0.js", + "_clock-LnEFQ-vK.js", + "_link-DXJwkkHX.js", + "_map-pin-DFWKFR9c.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/job-categories/index.tsx": { - "file": "assets/index-CMsES36n.js", + "file": "assets/index-C6pthHd0.js", "name": "index", "src": "resources/js/pages/hr/recruitment/job-categories/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_briefcase-CLRn8zVu.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_briefcase-Btn3T9V4.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/job-locations/index.tsx": { - "file": "assets/index-3N3O8gsF.js", + "file": "assets/index-DPhivvB9.js", "name": "index", "src": "resources/js/pages/hr/recruitment/job-locations/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/recruitment/job-locations/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/job-locations/view.tsx": { - "file": "assets/view-D6YTnx8g.js", + "file": "assets/view-B2zB18Rr.js", "name": "view", "src": "resources/js/pages/hr/recruitment/job-locations/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_map-pin-BEMjKB1T.js", - "_building-2-D7cTdbG2.js", - "_lock-By6rMOj7.js", - "_globe-DePi6jyA.js", - "_hash-BdwQ_IPO.js", + "_map-pin-DFWKFR9c.js", + "_building-2-CASHKqFo.js", + "_lock-DaHvMEII.js", + "_globe-5zZ4IsmY.js", + "_hash-CHQJ9wMw.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/job-postings/create.tsx": { - "file": "assets/create-Dxb0-r-t.js", + "file": "assets/create-trmZ1y6e.js", "name": "create", "src": "resources/js/pages/hr/recruitment/job-postings/create.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_checkbox-1_Cig_g5.js", - "_tag-input-C5bCQZVs.js", - "_rich-text-editor-6rkrWVFe.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_checkbox-BLrehV38.js", + "_tag-input-B-Rs7khN.js", + "_rich-text-editor-uObNYFW4.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", - "_unlink-BUU37FwK.js", - "_list-D0MAUZMV.js", - "_quote-CVpLTvYv.js", - "_link-Bv_VEBSZ.js", - "_code-BfjQUpEO.js" + "_unlink-BLQWL2NW.js", + "_list-C_2fG_BT.js", + "_quote-BmDTOIsR.js", + "_link-DXJwkkHX.js", + "_code-znlKMFkF.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/job-postings/edit.tsx": { - "file": "assets/edit-CYyr8VQA.js", + "file": "assets/edit-LuN72LBF.js", "name": "edit", "src": "resources/js/pages/hr/recruitment/job-postings/edit.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_checkbox-1_Cig_g5.js", - "_tag-input-C5bCQZVs.js", - "_rich-text-editor-6rkrWVFe.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_checkbox-BLrehV38.js", + "_tag-input-B-Rs7khN.js", + "_rich-text-editor-uObNYFW4.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", - "_unlink-BUU37FwK.js", - "_list-D0MAUZMV.js", - "_quote-CVpLTvYv.js", - "_link-Bv_VEBSZ.js", - "_code-BfjQUpEO.js" + "_unlink-BLQWL2NW.js", + "_list-C_2fG_BT.js", + "_quote-BmDTOIsR.js", + "_link-DXJwkkHX.js", + "_code-znlKMFkF.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/job-postings/index.tsx": { - "file": "assets/index-PwPT8lUJ.js", + "file": "assets/index-BxOjzVTT.js", "name": "index", "src": "resources/js/pages/hr/recruitment/job-postings/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/job-postings/show.tsx": { - "file": "assets/show-C8XPQCrp.js", + "file": "assets/show-ClT9zPwr.js", "name": "show", "src": "resources/js/pages/hr/recruitment/job-postings/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_star-DQsTg5F1.js", - "_building-Cyq-0nCs.js", - "_map-pin-BEMjKB1T.js", - "_calendar-CfUpdaK5.js", - "_clock-CwFdn-oy.js", - "_dollar-sign-DYXFWWsE.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_star-DCkLKzoE.js", + "_building-DyhEfKj4.js", + "_map-pin-DFWKFR9c.js", + "_calendar-DuRYaSj5.js", + "_clock-LnEFQ-vK.js", + "_dollar-sign-DH2Tc178.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/job-requisitions/index.tsx": { - "file": "assets/index-B-fmjELg.js", + "file": "assets/index-zjF_UbLu.js", "name": "index", "src": "resources/js/pages/hr/recruitment/job-requisitions/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/job-types/index.tsx": { - "file": "assets/index-Bc7YiNqH.js", + "file": "assets/index-M4eluJfZ.js", "name": "index", "src": "resources/js/pages/hr/recruitment/job-types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_layers-Dl67CG9c.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_layers-OK3_pizJ.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/offer-templates/create.tsx": { - "file": "assets/create-0bJrGrq4.js", + "file": "assets/create-ItAlWWwL.js", "name": "create", "src": "resources/js/pages/hr/recruitment/offer-templates/create.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_arrow-left-B_Yqvwsn.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_arrow-left-BUNj5JJK.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/offer-templates/edit.tsx": { - "file": "assets/edit-BI8SqA1F.js", + "file": "assets/edit-DObVaWFN.js", "name": "edit", "src": "resources/js/pages/hr/recruitment/offer-templates/edit.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_arrow-left-B_Yqvwsn.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_arrow-left-BUNj5JJK.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/offer-templates/generate.tsx": { - "file": "assets/generate-DaVjSTCS.js", + "file": "assets/generate-DNmdQ5bj.js", "name": "generate", "src": "resources/js/pages/hr/recruitment/offer-templates/generate.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_file-down-Dd8zePUY.js", + "_file-down-DO17xCrw.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/offer-templates/index.tsx": { - "file": "assets/index-auPrhmGN.js", + "file": "assets/index-CLujnaqp.js", "name": "index", "src": "resources/js/pages/hr/recruitment/offer-templates/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/recruitment/offer-templates/generate.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/offer-templates/show.tsx": { - "file": "assets/show-Dg_yrs0x.js", + "file": "assets/show-DjWMXJgC.js", "name": "show", "src": "resources/js/pages/hr/recruitment/offer-templates/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_arrow-left-B_Yqvwsn.js", - "_code-BfjQUpEO.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_arrow-left-BUNj5JJK.js", + "_code-znlKMFkF.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/offers/index.tsx": { - "file": "assets/index-DJPI4w11.js", + "file": "assets/index-GXWegY7L.js", "name": "index", "src": "resources/js/pages/hr/recruitment/offers/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/offers/show.tsx": { - "file": "assets/show-BRSqTYn6.js", + "file": "assets/show-BhlcLnPW.js", "name": "show", "src": "resources/js/pages/hr/recruitment/offers/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_user-C37aWgZX.js", - "_building-Cyq-0nCs.js", - "_dollar-sign-DYXFWWsE.js", - "_calendar-CfUpdaK5.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_user-77BPqA3J.js", + "_building-DyhEfKj4.js", + "_dollar-sign-DH2Tc178.js", + "_calendar-DuRYaSj5.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/onboarding-checklists/index.tsx": { - "file": "assets/index-CjfNXxh5.js", + "file": "assets/index-Dt0uMvSB.js", "name": "index", "src": "resources/js/pages/hr/recruitment/onboarding-checklists/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/recruitment/onboarding-checklists/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/recruitment/onboarding-checklists/view.tsx": { - "file": "assets/view-VLHZOIBe.js", + "file": "assets/view-DJgeOs6W.js", "name": "view", "src": "resources/js/pages/hr/recruitment/onboarding-checklists/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_square-check-big-BCxRi7D4.js", - "_hash-BdwQ_IPO.js", - "_lock-By6rMOj7.js", + "_square-check-big-CpQiidmr.js", + "_hash-CHQJ9wMw.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/resignations/index.tsx": { - "file": "assets/index-CRuRrZQd.js", + "file": "assets/index-CYs3geP5.js", "name": "index", "src": "resources/js/pages/hr/resignations/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/resignations/view.tsx", "_use-initials-BK4eRgYY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/resignations/view.tsx": { - "file": "assets/view-BJnRcI3c.js", + "file": "assets/view-DCegI9ZM.js", "name": "view", "src": "resources/js/pages/hr/resignations/view.tsx", "isDynamicEntry": true, @@ -12842,527 +12864,527 @@ "_ui-Z445SNHD.js", "resources/js/app.tsx", "_use-initials-BK4eRgYY.js", - "_log-out-XdMMCWfW.js", - "_calendar-CfUpdaK5.js", - "_clock-CwFdn-oy.js", - "_eye--FVGKpVp.js", + "_log-out-M0Vyot5_.js", + "_calendar-DuRYaSj5.js", + "_clock-LnEFQ-vK.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/salary-components/index.tsx": { - "file": "assets/index-CGuthwIf.js", + "file": "assets/index-DYnsaMnJ.js", "name": "index", "src": "resources/js/pages/hr/salary-components/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_trending-up-Bi4f72Tj.js", - "_trending-down-DeoG-P9A.js", - "_chevron-up-DepFp6b6.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", - "_dollar-sign-DYXFWWsE.js", - "_percent-CBKzOw5k.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_trending-up-BT453ptk.js", + "_trending-down-DmDmdusz.js", + "_chevron-up-DHaGktre.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", + "_dollar-sign-DH2Tc178.js", + "_percent-z25PPWNk.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/shifts/calendar.tsx": { - "file": "assets/calendar-D4496zB_.js", + "file": "assets/calendar-7JJmYI2k.js", "name": "calendar", "src": "resources/js/pages/hr/shifts/calendar.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_CrudFormModal-DAR9q-oM.js", - "_refresh-cw-DWorkL8J.js", - "_calendar-CfUpdaK5.js", - "_layout-list-BgC0E-xE.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_CrudFormModal-CsuqSfb2.js", + "_refresh-cw-D_C_cDSu.js", + "_calendar-DuRYaSj5.js", + "_layout-list-Cqn_SURh.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js" + "_locate-fixed-BEb8vcRf.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/shifts/index.tsx": { - "file": "assets/index-BtHNL129.js", + "file": "assets/index-DAww2MJ_.js", "name": "index", "src": "resources/js/pages/hr/shifts/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/shifts/view.tsx", - "_calendar-CfUpdaK5.js", - "_users-C4LpG59H.js", - "_sun-C2oQ_gMz.js", - "_eye--FVGKpVp.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", - "_clock-CwFdn-oy.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_calendar-DuRYaSj5.js", + "_users-BzCDZrS0.js", + "_sun-D8i-fCJe.js", + "_eye-CCNnMtu4.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", + "_clock-LnEFQ-vK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js", - "_filter-uErFRSPT.js", - "_list-D0MAUZMV.js" + "_locate-fixed-BEb8vcRf.js", + "_filter-BTHjyusi.js", + "_list-C_2fG_BT.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/shifts/view.tsx": { - "file": "assets/view-BM_2i5d_.js", + "file": "assets/view-D19m-Fnd.js", "name": "view", "src": "resources/js/pages/hr/shifts/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_sun-C2oQ_gMz.js", - "_clock-CwFdn-oy.js", - "_timer-Cqv8ulB-.js", - "_lock-By6rMOj7.js", + "_sun-D8i-fCJe.js", + "_clock-LnEFQ-vK.js", + "_timer-BTqoLJiz.js", + "_lock-DaHvMEII.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/statutory-brackets/index.tsx": { - "file": "assets/index-CyRy-HC5.js", + "file": "assets/index-CE095MNu.js", "name": "index", "src": "resources/js/pages/hr/statutory-brackets/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_page-template-CLNVC8w_.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/terminations/index.tsx": { - "file": "assets/index-BfIV-AaA.js", + "file": "assets/index-D68ER7Cp.js", "name": "index", "src": "resources/js/pages/hr/terminations/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/terminations/view.tsx", "_use-initials-BK4eRgYY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/terminations/view.tsx": { - "file": "assets/view-BnvT1Xkw.js", + "file": "assets/view-jkGirsLs.js", "name": "view", "src": "resources/js/pages/hr/terminations/view.tsx", "isDynamicEntry": true, @@ -13370,2054 +13392,2054 @@ "_ui-Z445SNHD.js", "resources/js/app.tsx", "_use-initials-BK4eRgYY.js", - "_user-x-BAm8TG2r.js", - "_tag-JSZ9YmZg.js", - "_clock-CwFdn-oy.js", - "_calendar-CfUpdaK5.js", - "_eye--FVGKpVp.js", + "_user-x-CVAZCW5-.js", + "_tag-Bq7fLwM4.js", + "_clock-LnEFQ-vK.js", + "_calendar-DuRYaSj5.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/thirteenth-month/index.tsx": { - "file": "assets/index-CtUZEotS.js", + "file": "assets/index-4R996m51.js", "name": "index", "src": "resources/js/pages/hr/thirteenth-month/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_sparkles-BIbzOfb3.js", - "_pen-line-BrTss6NX.js", - "_circle-check-BE5AcCr7.js", - "_filter-uErFRSPT.js", - "_calculator-CAq-8OXK.js", - "_users-C4LpG59H.js", - "_dollar-sign-DYXFWWsE.js", - "_shield-check-Ca-zuQJC.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_calendar-CfUpdaK5.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_sparkles-C1HgyvOv.js", + "_pen-line-D3y4U--J.js", + "_circle-check-BSTxZIbF.js", + "_filter-BTHjyusi.js", + "_calculator-D-XBwqfe.js", + "_users-BzCDZrS0.js", + "_dollar-sign-DH2Tc178.js", + "_shield-check-CGAYPEyR.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_calendar-DuRYaSj5.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/time-entries/index.tsx": { - "file": "assets/index-DK_uunBY.js", + "file": "assets/index-BVJa5G__.js", "name": "index", "src": "resources/js/pages/hr/time-entries/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_ImportModal-CxDgVhxL.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_ImportModal-s55JxI6I.js", "resources/js/pages/hr/time-entries/view.tsx", - "_file-down-Dd8zePUY.js", - "_file-up-BGHgeTEG.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_file-down-DO17xCrw.js", + "_file-up-mHt_z-hD.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_pen-line-BrTss6NX.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_pen-line-D3y4U--J.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_alert-DH0o7BP8.js" + "_alert-CyJVNPY9.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/time-entries/view.tsx": { - "file": "assets/view-DvxHpVLL.js", + "file": "assets/view-DpfMHBLp.js", "name": "view", "src": "resources/js/pages/hr/time-entries/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_circle-check-big-C5Cqj7-2.js", - "_circle-x-C1aiFLrz.js", - "_circle-alert-64DrdoHv.js", - "_clock-CwFdn-oy.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_briefcase-CLRn8zVu.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-x-Dg5wGIim.js", + "_circle-alert-Ddjg2Qwp.js", + "_clock-LnEFQ-vK.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_briefcase-Btn3T9V4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/assessments/index.tsx": { - "file": "assets/index-DrkH3Prc.js", + "file": "assets/index-D7lr0To6.js", "name": "index", "src": "resources/js/pages/hr/training/assessments/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/assessments/show.tsx": { - "file": "assets/show-BHknxJ8v.js", + "file": "assets/show-DO4Y3HfX.js", "name": "show", "src": "resources/js/pages/hr/training/assessments/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_progress-CJ4ij2ij.js", - "_table-BXUOKUBo.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_arrow-left-B_Yqvwsn.js", - "_square-pen-bMHyT06o.js", - "_trash-Pq_dkuTI.js", + "_progress-NbCMYaUz.js", + "_table-CM-_W5Cl.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_arrow-left-BUNj5JJK.js", + "_square-pen-CzdhbxyN.js", + "_trash-BFTYTNQN.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js" + "_locate-fixed-BEb8vcRf.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/employee-trainings/dashboard.tsx": { - "file": "assets/dashboard-EyalI_Q2.js", + "file": "assets/dashboard-D2OPNHx1.js", "name": "dashboard", "src": "resources/js/pages/hr/training/employee-trainings/dashboard.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_progress-CJ4ij2ij.js", - "_list-D0MAUZMV.js", + "_progress-NbCMYaUz.js", + "_list-C_2fG_BT.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/employee-trainings/index.tsx": { - "file": "assets/index-DymbFq2j.js", + "file": "assets/index-D8Y4pbO2.js", "name": "index", "src": "resources/js/pages/hr/training/employee-trainings/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "_use-initials-BK4eRgYY.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_user-plus-DXHdW4q-.js", - "_download-Bk1k2_dW.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_user-plus-BpaQ3zuJ.js", + "_download-BBNmalxc.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/employee-trainings/show.tsx": { - "file": "assets/show-CdcCQjuW.js", + "file": "assets/show-B-cqQHn6.js", "name": "show", "src": "resources/js/pages/hr/training/employee-trainings/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_table-BXUOKUBo.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_tabs-pc4jrsjt.js", - "_arrow-left-B_Yqvwsn.js", - "_square-pen-bMHyT06o.js", - "_trash-Pq_dkuTI.js", - "_download-Bk1k2_dW.js", + "_table-CM-_W5Cl.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_tabs-CsP5VcXV.js", + "_arrow-left-BUNj5JJK.js", + "_square-pen-CzdhbxyN.js", + "_trash-BFTYTNQN.js", + "_download-BBNmalxc.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js" + "_locate-fixed-BEb8vcRf.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/programs/index.tsx": { - "file": "assets/index-CtOmUlkv.js", + "file": "assets/index-DMBYXv3o.js", "name": "index", "src": "resources/js/pages/hr/training/programs/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/programs/show.tsx": { - "file": "assets/show-Cv_bOZu9.js", + "file": "assets/show-sBLYxDq4.js", "name": "show", "src": "resources/js/pages/hr/training/programs/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_progress-CJ4ij2ij.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_progress-NbCMYaUz.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/sessions/calendar.tsx": { - "file": "assets/calendar-DZXr_GgA.js", + "file": "assets/calendar-CE42kucH.js", "name": "calendar", "src": "resources/js/pages/hr/training/sessions/calendar.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", "_index-DrmIhGnK.js", - "_select-BrY9osYp.js", - "_list-D0MAUZMV.js", - "_textarea-kpRjGGLz.js", + "_select-CHkpLxhL.js", + "_list-C_2fG_BT.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-up-DHaGktre.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/sessions/index.tsx": { - "file": "assets/index-Q_JgswJm.js", + "file": "assets/index-rhhnQp0L.js", "name": "index", "src": "resources/js/pages/hr/training/sessions/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_calendar-CfUpdaK5.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_calendar-DuRYaSj5.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/sessions/show.tsx": { - "file": "assets/show-BwK500r8.js", + "file": "assets/show-C3AxymVF.js", "name": "show", "src": "resources/js/pages/hr/training/sessions/show.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_table-BXUOKUBo.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_checkbox-1_Cig_g5.js", + "_table-CM-_W5Cl.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_checkbox-BLrehV38.js", "_use-initials-BK4eRgYY.js", - "_arrow-left-B_Yqvwsn.js", + "_arrow-left-BUNj5JJK.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js" + "_locate-fixed-BEb8vcRf.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/types/index.tsx": { - "file": "assets/index-Btn7vxVU.js", + "file": "assets/index-B0f15GLA.js", "name": "index", "src": "resources/js/pages/hr/training/types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/training/types/view.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/training/types/view.tsx": { - "file": "assets/view-NP05V4-N.js", + "file": "assets/view-J15i8OQc.js", "name": "view", "src": "resources/js/pages/hr/training/types/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_book-open-3qYfaEN0.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_git-branch-B0hRoz5x.js", - "_building-2-D7cTdbG2.js", + "_book-open-DIuydbp9.js", + "_chart-no-axes-column-BoCXnewH.js", + "_git-branch-BmbBP1kF.js", + "_building-2-CASHKqFo.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/transfers/index.tsx": { - "file": "assets/index-C73ZUJCW.js", + "file": "assets/index-DW8RlYXo.js", "name": "index", "src": "resources/js/pages/hr/transfers/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/transfers/view.tsx", "_use-initials-BK4eRgYY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/transfers/view.tsx": { - "file": "assets/view-Beyn6LUJ.js", + "file": "assets/view-DsifVeP-.js", "name": "view", "src": "resources/js/pages/hr/transfers/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_arrow-right-left-oZQEgmVQ.js", - "_git-branch-B0hRoz5x.js", - "_arrow-right-0WTHrq3r.js", - "_building-2-D7cTdbG2.js", - "_briefcase-CLRn8zVu.js", - "_calendar-CfUpdaK5.js", - "_lock-By6rMOj7.js", - "_eye--FVGKpVp.js", + "_arrow-right-left-rbTR90Mc.js", + "_git-branch-BmbBP1kF.js", + "_arrow-right-BHW--AGU.js", + "_building-2-CASHKqFo.js", + "_briefcase-Btn3T9V4.js", + "_calendar-DuRYaSj5.js", + "_lock-DaHvMEII.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/trips/expenses.tsx": { - "file": "assets/expenses-BdrPMJrA.js", + "file": "assets/expenses-JeSgrSam.js", "name": "expenses", "src": "resources/js/pages/hr/trips/expenses.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/trips/index.tsx": { - "file": "assets/index-BHfZYVNr.js", + "file": "assets/index-DFj2VUsB.js", "name": "index", "src": "resources/js/pages/hr/trips/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/trips/view.tsx", "_use-initials-BK4eRgYY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/trips/view.tsx": { - "file": "assets/view-CaHtUUUu.js", + "file": "assets/view-ByxV07S_.js", "name": "view", "src": "resources/js/pages/hr/trips/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_plane-BHhadcsS.js", - "_map-pin-BEMjKB1T.js", - "_calendar-CfUpdaK5.js", - "_dollar-sign-DYXFWWsE.js", - "_eye--FVGKpVp.js", + "_plane-AJz2gO49.js", + "_map-pin-DFWKFR9c.js", + "_calendar-DuRYaSj5.js", + "_dollar-sign-DH2Tc178.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/warnings/index.tsx": { - "file": "assets/index-eZPreZA5.js", + "file": "assets/index-DDVcNMxg.js", "name": "index", "src": "resources/js/pages/hr/warnings/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/hr/warnings/view.tsx", "_use-initials-BK4eRgYY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/hr/warnings/view.tsx": { - "file": "assets/view-65Z7yBvm.js", + "file": "assets/view-D9KBamBj.js", "name": "view", "src": "resources/js/pages/hr/warnings/view.tsx", "isDynamicEntry": true, @@ -15425,20 +15447,20 @@ "_ui-Z445SNHD.js", "resources/js/app.tsx", "_use-initials-BK4eRgYY.js", - "_triangle-alert-DGWTh17w.js", - "_tag-JSZ9YmZg.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_eye--FVGKpVp.js", + "_triangle-alert-CpPzdeiH.js", + "_tag-Bq7fLwM4.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/AboutUs.tsx": { - "file": "assets/AboutUs-NnRpFGtj.js", + "file": "assets/AboutUs-Dzdgan1P.js", "name": "AboutUs", "src": "resources/js/pages/landing-page/components/AboutUs.tsx", "isDynamicEntry": true, @@ -15446,57 +15468,57 @@ "_ui-Z445SNHD.js", "_useScrollAnimation-B_bDsIuD.js", "resources/js/app.tsx", - "_zap-DncwKEcc.js", - "_users-C4LpG59H.js", - "_shield-BXgaUVtY.js", - "_star-DQsTg5F1.js", - "_lightbulb-BGgHG47R.js", - "_award-DMMowKjz.js", - "_target-Pzb9zAUp.js", + "_zap-CgFkG-9H.js", + "_users-BzCDZrS0.js", + "_shield-CDL27iRK.js", + "_star-DCkLKzoE.js", + "_lightbulb-BaPQrzRp.js", + "_award-D1KbOerA.js", + "_target-BPl0Bsow.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/ContactSection.tsx": { - "file": "assets/ContactSection-B2xucE0P.js", + "file": "assets/ContactSection-RJDSbCmK.js", "name": "ContactSection", "src": "resources/js/pages/landing-page/components/ContactSection.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_mail-CGIE7ZEy.js", - "_phone-B_MwJBjY.js", - "_map-pin-BEMjKB1T.js", - "_send-Cj7KqUHo.js", + "_mail-Cha_PX4q.js", + "_phone-3MnRoAYu.js", + "_map-pin-DFWKFR9c.js", + "_send-Cs5D4i9u.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/FaqSection.tsx": { - "file": "assets/FaqSection-D26nrHhP.js", + "file": "assets/FaqSection-CN7PLtZG.js", "name": "FaqSection", "src": "resources/js/pages/landing-page/components/FaqSection.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/FeaturesSection.tsx": { - "file": "assets/FeaturesSection-BbnHd1Fx.js", + "file": "assets/FeaturesSection-D-RNp6Oy.js", "name": "FeaturesSection", "src": "resources/js/pages/landing-page/components/FeaturesSection.tsx", "isDynamicEntry": true, @@ -15504,119 +15526,119 @@ "_ui-Z445SNHD.js", "_useScrollAnimation-B_bDsIuD.js", "resources/js/app.tsx", - "_chart-no-axes-column-BrIh_iVD.js", - "_award-DMMowKjz.js", - "_user-plus-DXHdW4q-.js", - "_clock-CwFdn-oy.js", - "_dollar-sign-DYXFWWsE.js", - "_shield-BXgaUVtY.js", - "_wifi-C3afLemA.js", - "_lock-By6rMOj7.js", - "_users-C4LpG59H.js", - "_zap-DncwKEcc.js", - "_star-DQsTg5F1.js", - "_globe-DePi6jyA.js", - "_chart-column-CXNcY9Vx.js", - "_qr-code-Dvy3HD3W.js", + "_chart-no-axes-column-BoCXnewH.js", + "_award-D1KbOerA.js", + "_user-plus-BpaQ3zuJ.js", + "_clock-LnEFQ-vK.js", + "_dollar-sign-DH2Tc178.js", + "_shield-CDL27iRK.js", + "_wifi-vecZUHsy.js", + "_lock-DaHvMEII.js", + "_users-BzCDZrS0.js", + "_zap-CgFkG-9H.js", + "_star-DCkLKzoE.js", + "_globe-5zZ4IsmY.js", + "_chart-column-B76eI9Qi.js", + "_qr-code-CUIVRbAs.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/Footer.tsx": { - "file": "assets/Footer-EjF7VPLK.js", + "file": "assets/Footer-CzBrdWfY.js", "name": "Footer", "src": "resources/js/pages/landing-page/components/Footer.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_mail-CGIE7ZEy.js", - "_phone-B_MwJBjY.js", - "_map-pin-BEMjKB1T.js", - "_instagram-BINpUnZv.js", - "_twitter-C171Pyox.js", + "_mail-Cha_PX4q.js", + "_phone-3MnRoAYu.js", + "_map-pin-DFWKFR9c.js", + "_instagram-hxbchcd2.js", + "_twitter-DZQVDI4Y.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/Header.tsx": { - "file": "assets/Header-DgbIWCbH.js", + "file": "assets/Header-CPmg6Bp5.js", "name": "Header", "src": "resources/js/pages/landing-page/components/Header.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_menu-Ce4PLUkG.js", + "_menu-GuULvnRC.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/HeroSection.tsx": { - "file": "assets/HeroSection-DDk-8ZQO.js", + "file": "assets/HeroSection-Z2S1x8Si.js", "name": "HeroSection", "src": "resources/js/pages/landing-page/components/HeroSection.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_arrow-right-0WTHrq3r.js", - "_play-C-QVLyAb.js", + "_arrow-right-BHW--AGU.js", + "_play-BxVAbvyQ.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/LivePreview.tsx": { - "file": "assets/LivePreview-CVzyG3uV.js", + "file": "assets/LivePreview-BPIigd50.js", "name": "LivePreview", "src": "resources/js/pages/landing-page/components/LivePreview.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_eye--FVGKpVp.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-alert-64DrdoHv.js", - "_phone-B_MwJBjY.js", - "_mail-CGIE7ZEy.js", - "_globe-DePi6jyA.js", + "_eye-CCNnMtu4.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-alert-Ddjg2Qwp.js", + "_phone-3MnRoAYu.js", + "_mail-Cha_PX4q.js", + "_globe-5zZ4IsmY.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/NewsletterSection.tsx": { - "file": "assets/NewsletterSection-B7eU_dYx.js", + "file": "assets/NewsletterSection-Cm0nudgR.js", "name": "NewsletterSection", "src": "resources/js/pages/landing-page/components/NewsletterSection.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_mail-CGIE7ZEy.js", + "_mail-Cha_PX4q.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/PlansSection.tsx": { - "file": "assets/PlansSection-MkqH7YpJ.js", + "file": "assets/PlansSection-CbnsxVRF.js", "name": "PlansSection", "src": "resources/js/pages/landing-page/components/PlansSection.tsx", "isDynamicEntry": true, @@ -15624,16 +15646,16 @@ "_ui-Z445SNHD.js", "resources/js/app.tsx", "_useScrollAnimation-B_bDsIuD.js", - "_arrow-right-0WTHrq3r.js", + "_arrow-right-BHW--AGU.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/ScreenshotsSection.tsx": { - "file": "assets/ScreenshotsSection-Cufxpz-n.js", + "file": "assets/ScreenshotsSection-ZsoMa9xw.js", "name": "ScreenshotsSection", "src": "resources/js/pages/landing-page/components/ScreenshotsSection.tsx", "isDynamicEntry": true, @@ -15641,61 +15663,61 @@ "_ui-Z445SNHD.js", "_useScrollAnimation-B_bDsIuD.js", "resources/js/app.tsx", - "_monitor-CnIEqEUy.js", + "_monitor-BYgqmcKD.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/SectionNavigation.tsx": { - "file": "assets/SectionNavigation-S6sEAPik.js", + "file": "assets/SectionNavigation-2ds3B-MX.js", "name": "SectionNavigation", "src": "resources/js/pages/landing-page/components/SectionNavigation.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_settings-BwhyNRyj.js", - "_arrow-up-down-Bd89yBZf.js", - "_code-BfjQUpEO.js", - "_type-CNRj7XNX.js", - "_globe-DePi6jyA.js", - "_monitor-CnIEqEUy.js", - "_award-DMMowKjz.js", - "_info-D_4wnc_R.js", - "_users-C4LpG59H.js", - "_credit-card-BmdpMcMw.js", - "_circle-help-qSaafQwl.js", - "_mail-CGIE7ZEy.js", - "_phone-B_MwJBjY.js", + "_settings-amvA_CjN.js", + "_arrow-up-down-B7nj--dP.js", + "_code-znlKMFkF.js", + "_type-Bsbmfmsu.js", + "_globe-5zZ4IsmY.js", + "_monitor-BYgqmcKD.js", + "_award-D1KbOerA.js", + "_info-CPi9bOGM.js", + "_users-BzCDZrS0.js", + "_credit-card-BKi_ThdS.js", + "_circle-help-DYANbqeK.js", + "_mail-Cha_PX4q.js", + "_phone-3MnRoAYu.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/TeamSection.tsx": { - "file": "assets/TeamSection-CQZvlFRV.js", + "file": "assets/TeamSection-DgmuZVwU.js", "name": "TeamSection", "src": "resources/js/pages/landing-page/components/TeamSection.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_twitter-C171Pyox.js", - "_mail-CGIE7ZEy.js", + "_twitter-DZQVDI4Y.js", + "_mail-Cha_PX4q.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/TestimonialsSection.tsx": { - "file": "assets/TestimonialsSection-DTvM3atF.js", + "file": "assets/TestimonialsSection-8hPz5wUJ.js", "name": "TestimonialsSection", "src": "resources/js/pages/landing-page/components/TestimonialsSection.tsx", "isDynamicEntry": true, @@ -15703,17 +15725,17 @@ "_ui-Z445SNHD.js", "_useScrollAnimation-B_bDsIuD.js", "resources/js/app.tsx", - "_quote-CVpLTvYv.js", - "_star-DQsTg5F1.js", + "_quote-BmDTOIsR.js", + "_star-DCkLKzoE.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/components/WhyChooseUs.tsx": { - "file": "assets/WhyChooseUs-B0lIb9AU.js", + "file": "assets/WhyChooseUs-tfkiXnEx.js", "name": "WhyChooseUs", "src": "resources/js/pages/landing-page/components/WhyChooseUs.tsx", "isDynamicEntry": true, @@ -15721,24 +15743,24 @@ "_ui-Z445SNHD.js", "_useScrollAnimation-B_bDsIuD.js", "resources/js/app.tsx", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_layers-Dl67CG9c.js", - "_award-DMMowKjz.js", - "_shield-BXgaUVtY.js", - "_star-DQsTg5F1.js", - "_circle-check-big-C5Cqj7-2.js", - "_zap-DncwKEcc.js", - "_users-C4LpG59H.js", - "_clock-CwFdn-oy.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_layers-OK3_pizJ.js", + "_award-D1KbOerA.js", + "_shield-CDL27iRK.js", + "_star-DCkLKzoE.js", + "_circle-check-big-Cju4ilPH.js", + "_zap-CgFkG-9H.js", + "_users-BzCDZrS0.js", + "_clock-LnEFQ-vK.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/custom-page.tsx": { - "file": "assets/custom-page-DdQaGiXq.js", + "file": "assets/custom-page-CPuiighF.js", "name": "custom-page", "src": "resources/js/pages/landing-page/custom-page.tsx", "isDynamicEntry": true, @@ -15747,283 +15769,283 @@ "resources/js/app.tsx", "resources/js/pages/landing-page/components/Header.tsx", "resources/js/pages/landing-page/components/Footer.tsx", - "_use-favicon-Dgw0iu9k.js", + "_use-favicon-B8cqaHhj.js", "_utils-BWxnHGCV.js", - "_menu-Ce4PLUkG.js", - "_mail-CGIE7ZEy.js", - "_phone-B_MwJBjY.js", - "_map-pin-BEMjKB1T.js", - "_instagram-BINpUnZv.js", - "_twitter-C171Pyox.js" + "_menu-GuULvnRC.js", + "_mail-Cha_PX4q.js", + "_phone-3MnRoAYu.js", + "_map-pin-DFWKFR9c.js", + "_instagram-hxbchcd2.js", + "_twitter-DZQVDI4Y.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/custom-pages/create.tsx": { - "file": "assets/create-D4Jx_5ir.js", + "file": "assets/create-DdBN69u6.js", "name": "create", "src": "resources/js/pages/landing-page/custom-pages/create.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_rich-text-editor-6rkrWVFe.js", - "_switch-CKduD2wX.js", - "_page-template-BTxLyiDA.js", + "_textarea-yeg8ONhy.js", + "_rich-text-editor-uObNYFW4.js", + "_switch-DyHgm-Sg.js", + "_page-template-CLNVC8w_.js", "_toaster-Bc5RPjCT.js", - "_arrow-left-B_Yqvwsn.js", + "_arrow-left-BUNj5JJK.js", "_utils-BWxnHGCV.js", - "_unlink-BUU37FwK.js", - "_list-D0MAUZMV.js", - "_quote-CVpLTvYv.js", - "_link-Bv_VEBSZ.js", - "_code-BfjQUpEO.js", + "_unlink-BLQWL2NW.js", + "_list-C_2fG_BT.js", + "_quote-BmDTOIsR.js", + "_link-DXJwkkHX.js", + "_code-znlKMFkF.js", "_index-9MclThM-.js", - "_select-BrY9osYp.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/custom-pages/edit.tsx": { - "file": "assets/edit-YozH1frd.js", + "file": "assets/edit-CEWakfnw.js", "name": "edit", "src": "resources/js/pages/landing-page/custom-pages/edit.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_rich-text-editor-6rkrWVFe.js", - "_switch-CKduD2wX.js", - "_page-template-BTxLyiDA.js", + "_textarea-yeg8ONhy.js", + "_rich-text-editor-uObNYFW4.js", + "_switch-DyHgm-Sg.js", + "_page-template-CLNVC8w_.js", "_toaster-Bc5RPjCT.js", - "_arrow-left-B_Yqvwsn.js", + "_arrow-left-BUNj5JJK.js", "_utils-BWxnHGCV.js", - "_unlink-BUU37FwK.js", - "_list-D0MAUZMV.js", - "_quote-CVpLTvYv.js", - "_link-Bv_VEBSZ.js", - "_code-BfjQUpEO.js", + "_unlink-BLQWL2NW.js", + "_list-C_2fG_BT.js", + "_quote-BmDTOIsR.js", + "_link-DXJwkkHX.js", + "_code-znlKMFkF.js", "_index-9MclThM-.js", - "_select-BrY9osYp.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/custom-pages/index.tsx": { - "file": "assets/index-wKY5eTpk.js", + "file": "assets/index-BsxQTXyb.js", "name": "index", "src": "resources/js/pages/landing-page/custom-pages/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_page-template-BTxLyiDA.js", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_page-template-CLNVC8w_.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", "_toaster-Bc5RPjCT.js", "_utils-BWxnHGCV.js", - "_select-BrY9osYp.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_calendar-CfUpdaK5.js", - "_filter-uErFRSPT.js", - "_list-D0MAUZMV.js", - "_layout-grid-C6MkbbLQ.js", - "_textarea-kpRjGGLz.js", + "_chevron-up-DHaGktre.js", + "_calendar-DuRYaSj5.js", + "_filter-BTHjyusi.js", + "_list-C_2fG_BT.js", + "_layout-grid-3SDzvK8c.js", + "_textarea-yeg8ONhy.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/index.tsx": { - "file": "assets/index-BvhZLF0G.js", + "file": "assets/index-Duh_t5s5.js", "name": "index", "src": "resources/js/pages/landing-page/index.tsx", "isDynamicEntry": true, @@ -16043,3305 +16065,3305 @@ "resources/js/pages/landing-page/components/NewsletterSection.tsx", "resources/js/pages/landing-page/components/ContactSection.tsx", "resources/js/pages/landing-page/components/Footer.tsx", - "_use-favicon-Dgw0iu9k.js", + "_use-favicon-B8cqaHhj.js", "_utils-BWxnHGCV.js", - "_menu-Ce4PLUkG.js", - "_arrow-right-0WTHrq3r.js", - "_play-C-QVLyAb.js", + "_menu-GuULvnRC.js", + "_arrow-right-BHW--AGU.js", + "_play-BxVAbvyQ.js", "_useScrollAnimation-B_bDsIuD.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_award-DMMowKjz.js", - "_user-plus-DXHdW4q-.js", - "_clock-CwFdn-oy.js", - "_dollar-sign-DYXFWWsE.js", - "_shield-BXgaUVtY.js", - "_wifi-C3afLemA.js", - "_lock-By6rMOj7.js", - "_users-C4LpG59H.js", - "_zap-DncwKEcc.js", - "_star-DQsTg5F1.js", - "_globe-DePi6jyA.js", - "_chart-column-CXNcY9Vx.js", - "_qr-code-Dvy3HD3W.js", - "_monitor-CnIEqEUy.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_layers-Dl67CG9c.js", - "_circle-check-big-C5Cqj7-2.js", - "_lightbulb-BGgHG47R.js", - "_target-Pzb9zAUp.js", - "_twitter-C171Pyox.js", - "_mail-CGIE7ZEy.js", - "_quote-CVpLTvYv.js", - "_chevron-up-DepFp6b6.js", - "_phone-B_MwJBjY.js", - "_map-pin-BEMjKB1T.js", - "_send-Cj7KqUHo.js", - "_instagram-BINpUnZv.js" + "_chart-no-axes-column-BoCXnewH.js", + "_award-D1KbOerA.js", + "_user-plus-BpaQ3zuJ.js", + "_clock-LnEFQ-vK.js", + "_dollar-sign-DH2Tc178.js", + "_shield-CDL27iRK.js", + "_wifi-vecZUHsy.js", + "_lock-DaHvMEII.js", + "_users-BzCDZrS0.js", + "_zap-CgFkG-9H.js", + "_star-DCkLKzoE.js", + "_globe-5zZ4IsmY.js", + "_chart-column-B76eI9Qi.js", + "_qr-code-CUIVRbAs.js", + "_monitor-BYgqmcKD.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_layers-OK3_pizJ.js", + "_circle-check-big-Cju4ilPH.js", + "_lightbulb-BaPQrzRp.js", + "_target-BPl0Bsow.js", + "_twitter-DZQVDI4Y.js", + "_mail-Cha_PX4q.js", + "_quote-BmDTOIsR.js", + "_chevron-up-DHaGktre.js", + "_phone-3MnRoAYu.js", + "_map-pin-DFWKFR9c.js", + "_send-Cs5D4i9u.js", + "_instagram-hxbchcd2.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/settings-about.tsx": { - "file": "assets/settings-about-qj_gVNSa.js", + "file": "assets/settings-about-GG9PVihu.js", "name": "settings-about", "src": "resources/js/pages/landing-page/settings-about.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_switch-CKduD2wX.js", - "_type-CNRj7XNX.js", - "_chart-column-CXNcY9Vx.js", - "_trash-2-C1NR_7Ss.js", - "_users-C4LpG59H.js", + "_textarea-yeg8ONhy.js", + "_switch-DyHgm-Sg.js", + "_type-Bsbmfmsu.js", + "_chart-column-B76eI9Qi.js", + "_trash-2-BeirBLIk.js", + "_users-BzCDZrS0.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/settings-contact.tsx": { - "file": "assets/settings-contact-D97GUGau.js", + "file": "assets/settings-contact-d0_U5LO2.js", "name": "settings-contact", "src": "resources/js/pages/landing-page/settings-contact.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_switch-CKduD2wX.js", - "_phone-B_MwJBjY.js", - "_map-pin-BEMjKB1T.js", + "_switch-DyHgm-Sg.js", + "_phone-3MnRoAYu.js", + "_map-pin-DFWKFR9c.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/settings-features.tsx": { - "file": "assets/settings-features-CF0Deece.js", + "file": "assets/settings-features-DNQBmccf.js", "name": "settings-features", "src": "resources/js/pages/landing-page/settings-features.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_switch-CKduD2wX.js", - "_type-CNRj7XNX.js", - "_star-DQsTg5F1.js", - "_trash-2-C1NR_7Ss.js", + "_textarea-yeg8ONhy.js", + "_switch-DyHgm-Sg.js", + "_type-Bsbmfmsu.js", + "_star-DCkLKzoE.js", + "_trash-2-BeirBLIk.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/settings-templates.tsx": { - "file": "assets/settings-templates-Cq-_M1uj.js", + "file": "assets/settings-templates-g5OZiiRG.js", "name": "settings-templates", "src": "resources/js/pages/landing-page/settings-templates.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_switch-CKduD2wX.js", - "_type-CNRj7XNX.js", + "_textarea-yeg8ONhy.js", + "_switch-DyHgm-Sg.js", + "_type-Bsbmfmsu.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/landing-page/settings.tsx": { - "file": "assets/settings-DrBp48X9.js", + "file": "assets/settings-B86VyvB8.js", "name": "settings", "src": "resources/js/pages/landing-page/settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_switch-CKduD2wX.js", - "_page-template-BTxLyiDA.js", + "_textarea-yeg8ONhy.js", + "_switch-DyHgm-Sg.js", + "_page-template-CLNVC8w_.js", "_toaster-Bc5RPjCT.js", "resources/js/pages/landing-page/settings-features.tsx", "resources/js/pages/landing-page/settings-about.tsx", - "_settings-BwhyNRyj.js", - "_arrow-up-down-Bd89yBZf.js", - "_code-BfjQUpEO.js", - "_type-CNRj7XNX.js", - "_globe-DePi6jyA.js", - "_award-DMMowKjz.js", - "_monitor-CnIEqEUy.js", - "_users-C4LpG59H.js", - "_info-D_4wnc_R.js", - "_credit-card-BmdpMcMw.js", - "_circle-help-qSaafQwl.js", - "_mail-CGIE7ZEy.js", - "_phone-B_MwJBjY.js", - "_trash-2-C1NR_7Ss.js", - "_grip-vertical-DE07jY4a.js", - "_eye--FVGKpVp.js", + "_settings-amvA_CjN.js", + "_arrow-up-down-B7nj--dP.js", + "_code-znlKMFkF.js", + "_type-Bsbmfmsu.js", + "_globe-5zZ4IsmY.js", + "_award-D1KbOerA.js", + "_monitor-BYgqmcKD.js", + "_users-BzCDZrS0.js", + "_info-CPi9bOGM.js", + "_credit-card-BKi_ThdS.js", + "_circle-help-DYANbqeK.js", + "_mail-Cha_PX4q.js", + "_phone-3MnRoAYu.js", + "_trash-2-BeirBLIk.js", + "_grip-vertical-jJ2YrfNT.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js", - "_select-BrY9osYp.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_star-DQsTg5F1.js", - "_chart-column-CXNcY9Vx.js" + "_log-out-M0Vyot5_.js", + "_star-DCkLKzoE.js", + "_chart-column-B76eI9Qi.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/login-history/index.tsx": { - "file": "assets/index-JNaZNbb5.js", + "file": "assets/index-BNOEQDEd.js", "name": "index", "src": "resources/js/pages/login-history/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/manage-language.tsx": { - "file": "assets/manage-language-DAJxJI26.js", + "file": "assets/manage-language-BcTjK0GJ.js", "name": "manage-language", "src": "resources/js/pages/manage-language.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_scroll-area-Dxv7Ysgl.js", + "_scroll-area-T2TE8oKI.js", "_react-country-flag.esm-Bs2jngHP.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_ban-61sP3ZVw.js", - "_eye--FVGKpVp.js", - "_trash-2-C1NR_7Ss.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudDeleteModal-D32N6I8y.js", + "_ban-BM0r7XNR.js", + "_eye-CCNnMtu4.js", + "_trash-2-BeirBLIk.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/media-library.tsx": { - "file": "assets/media-library-CVnwKZ3E.js", + "file": "assets/media-library-BLmhvmu9.js", "name": "media-library", "src": "resources/js/pages/media-library.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CookieConsentBanner-Do3n0EfV.js", - "_house-CL9v9Cnk.js", - "_sparkles-BIbzOfb3.js", - "_list-D0MAUZMV.js", - "_hard-drive-B_Mpft6K.js", - "_calendar-CfUpdaK5.js", - "_info-D_4wnc_R.js", - "_copy-xfopPExK.js", - "_download-Bk1k2_dW.js", - "_trash-2-C1NR_7Ss.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CookieConsentBanner-dwye0O-l.js", + "_house-iKjbmxem.js", + "_sparkles-C1HgyvOv.js", + "_list-C_2fG_BT.js", + "_hard-drive-7VwcRvWp.js", + "_calendar-DuRYaSj5.js", + "_info-CPi9bOGM.js", + "_copy-G5cMddid.js", + "_download-BBNmalxc.js", + "_trash-2-BeirBLIk.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_loader-circle-wGk7YsPK.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_settings-BwhyNRyj.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_loader-circle-BLsTZrwM.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_settings-amvA_CjN.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_switch-CKduD2wX.js" + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_switch-DyHgm-Sg.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/action-items/index.tsx": { - "file": "assets/index-Cw_jOgcF.js", + "file": "assets/index-BDpKvLvJ.js", "name": "index", "src": "resources/js/pages/meetings/action-items/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/meetings/action-items/view.tsx", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/action-items/view.tsx": { - "file": "assets/view-Bdd5ZGnN.js", + "file": "assets/view-B1OOFt0r.js", "name": "view", "src": "resources/js/pages/meetings/action-items/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_square-check-big-BCxRi7D4.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_triangle-alert-DGWTh17w.js", + "_square-check-big-CpQiidmr.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_triangle-alert-CpPzdeiH.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/meeting-attendees/index.tsx": { - "file": "assets/index-DY0XThH_.js", + "file": "assets/index-Ck8yYIR2.js", "name": "index", "src": "resources/js/pages/meetings/meeting-attendees/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/meetings/meeting-attendees/view.tsx", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/meeting-attendees/view.tsx": { - "file": "assets/view-BVCyb0_e.js", + "file": "assets/view-Dyr47ZtR.js", "name": "view", "src": "resources/js/pages/meetings/meeting-attendees/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_users-C4LpG59H.js", - "_user-C37aWgZX.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_circle-check-big-C5Cqj7-2.js", + "_users-BzCDZrS0.js", + "_user-77BPqA3J.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_circle-check-big-Cju4ilPH.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/meeting-minutes/index.tsx": { - "file": "assets/index-C2Giv46P.js", + "file": "assets/index-CC616HWW.js", "name": "index", "src": "resources/js/pages/meetings/meeting-minutes/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/meetings/meeting-minutes/view.tsx", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/meeting-minutes/view.tsx": { - "file": "assets/view-Wi8QiEXn.js", + "file": "assets/view-CRyrgb0P.js", "name": "view", "src": "resources/js/pages/meetings/meeting-minutes/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_calendar-days-CiPhwZgb.js", - "_user-C37aWgZX.js", - "_clock-CwFdn-oy.js", + "_calendar-days-CURbwGg4.js", + "_user-77BPqA3J.js", + "_clock-LnEFQ-vK.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/meeting-rooms/index.tsx": { - "file": "assets/index-CAMmBsqQ.js", + "file": "assets/index-C1ChM6f-.js", "name": "index", "src": "resources/js/pages/meetings/meeting-rooms/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/meetings/meeting-rooms/view.tsx", - "_map-pin-BEMjKB1T.js", - "_monitor-CnIEqEUy.js", - "_users-C4LpG59H.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_map-pin-DFWKFR9c.js", + "_monitor-BYgqmcKD.js", + "_users-BzCDZrS0.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/meeting-rooms/view.tsx": { - "file": "assets/view-DFM6GxUi.js", + "file": "assets/view-7uUxZAzH.js", "name": "view", "src": "resources/js/pages/meetings/meeting-rooms/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_monitor-CnIEqEUy.js", - "_map-pin-BEMjKB1T.js", - "_users-C4LpG59H.js", - "_lock-By6rMOj7.js", - "_hash-BdwQ_IPO.js", - "_link-Bv_VEBSZ.js", + "_monitor-BYgqmcKD.js", + "_map-pin-DFWKFR9c.js", + "_users-BzCDZrS0.js", + "_lock-DaHvMEII.js", + "_hash-CHQJ9wMw.js", + "_link-DXJwkkHX.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/meeting-types/index.tsx": { - "file": "assets/index-C6IQESMF.js", + "file": "assets/index-D81_-1V7.js", "name": "index", "src": "resources/js/pages/meetings/meeting-types/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_CrudDeleteModal-D32N6I8y.js", "resources/js/app.tsx", - "_page-template-BTxLyiDA.js", - "_pagination-D8A_HnL5.js", - "_select-BrY9osYp.js", - "_textarea-kpRjGGLz.js", - "_chevron-up-DepFp6b6.js", - "_clock-CwFdn-oy.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", - "_calendar-CfUpdaK5.js", + "_page-template-CLNVC8w_.js", + "_pagination-4PUepASD.js", + "_select-CHkpLxhL.js", + "_textarea-yeg8ONhy.js", + "_chevron-up-DHaGktre.js", + "_clock-LnEFQ-vK.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", + "_calendar-DuRYaSj5.js", "_utils-BWxnHGCV.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", "_index-9MclThM-.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/meetings/index.tsx": { - "file": "assets/index-DI4MMbI0.js", + "file": "assets/index-CP9ZrXLY.js", "name": "index", "src": "resources/js/pages/meetings/meetings/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", "resources/js/pages/meetings/meetings/view.tsx", - "_calendar-CfUpdaK5.js", - "_clock-CwFdn-oy.js", - "_user-C37aWgZX.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_calendar-DuRYaSj5.js", + "_clock-LnEFQ-vK.js", + "_user-77BPqA3J.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_users-C4LpG59H.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_users-BzCDZrS0.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/meetings/meetings/view.tsx": { - "file": "assets/view-cRrRneW8.js", + "file": "assets/view-Bp1EXKNS.js", "name": "view", "src": "resources/js/pages/meetings/meetings/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_user-C37aWgZX.js", - "_map-pin-BEMjKB1T.js", - "_refresh-cw-DWorkL8J.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_user-77BPqA3J.js", + "_map-pin-DFWKFR9c.js", + "_refresh-cw-D_C_cDSu.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/newsletters/index.tsx": { - "file": "assets/index-BdMii99d.js", + "file": "assets/index-B76rJyOC.js", "name": "index", "src": "resources/js/pages/newsletters/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_CrudDeleteModal-D32N6I8y.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/permissions/index.tsx": { - "file": "assets/index-CDq03yuW.js", + "file": "assets/index-BU-HRVXV.js", "name": "index", "src": "resources/js/pages/permissions/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_i18n-CM7rzmSQ.js", + "_i18n-Db6Gz1TD.js", "resources/js/app.tsx", - "_switch-CKduD2wX.js", - "_page-template-BTxLyiDA.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_switch-DyHgm-Sg.js", + "_page-template-CLNVC8w_.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_pagination-D8A_HnL5.js", - "_CrudTable-qPWooc10.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_CrudFormModal-DAR9q-oM.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_pagination-4PUepASD.js", + "_CrudTable-yqxtM6E_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_CrudFormModal-CsuqSfb2.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_CrudDeleteModal-D32N6I8y.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/plans/create.tsx": { - "file": "assets/create-DOeqbBui.js", + "file": "assets/create-D1cxLDHA.js", "name": "create", "src": "resources/js/pages/plans/create.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/pages/plans/form.tsx", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/plans/edit.tsx": { - "file": "assets/edit-V_ht8tGC.js", + "file": "assets/edit-Cq41ctsr.js", "name": "edit", "src": "resources/js/pages/plans/edit.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/pages/plans/form.tsx", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js" + "_log-out-M0Vyot5_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/plans/form.tsx": { - "file": "assets/form-BrKq2IwS.js", + "file": "assets/form-VUM5bQKz.js", "name": "form", "src": "resources/js/pages/plans/form.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_switch-CKduD2wX.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_switch-DyHgm-Sg.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/plans/index.tsx": { - "file": "assets/index-BxTsFXQg.js", + "file": "assets/index-Ce33qTIq.js", "name": "index", "src": "resources/js/pages/plans/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_switch-CKduD2wX.js", - "_tabs-pc4jrsjt.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_circle-check-big-C5Cqj7-2.js", - "_credit-card-BmdpMcMw.js", - "_external-link-QgK5Wt8A.js", - "_wallet-OtmBA2C9.js", - "_alert-DH0o7BP8.js", - "_coins-BDVfLngB.js", - "_info-D_4wnc_R.js", - "_circle-alert-64DrdoHv.js", - "_tag-JSZ9YmZg.js", - "_crown-hSojj3Kc.js", - "_zap-DncwKEcc.js", - "_users-C4LpG59H.js", - "_hard-drive-B_Mpft6K.js", - "_circle-check-BE5AcCr7.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", - "_indian-rupee-Dzf_OaiN.js", - "_clock-CwFdn-oy.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_switch-DyHgm-Sg.js", + "_tabs-CsP5VcXV.js", + "_CrudDeleteModal-D32N6I8y.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_circle-check-big-Cju4ilPH.js", + "_credit-card-BKi_ThdS.js", + "_external-link-Cr5OfBdg.js", + "_wallet-ChDgCFUl.js", + "_alert-CyJVNPY9.js", + "_coins-CgSV4zfi.js", + "_info-CPi9bOGM.js", + "_circle-alert-Ddjg2Qwp.js", + "_tag-Bq7fLwM4.js", + "_crown-CroP5qiL.js", + "_zap-CgFkG-9H.js", + "_users-BzCDZrS0.js", + "_hard-drive-7VwcRvWp.js", + "_circle-check-BSTxZIbF.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", + "_indian-rupee-CCruSHM0.js", + "_clock-LnEFQ-vK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", + "_sparkles-C1HgyvOv.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ "assets/index-DHgWAWKP.css", - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/plans/plan-orders.tsx": { - "file": "assets/plan-orders-pzF9lx7Z.js", + "file": "assets/plan-orders-j2XjTlVV.js", "name": "plan-orders", "src": "resources/js/pages/plans/plan-orders.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/plans/plan-request.tsx": { - "file": "assets/plan-request-DxRHFYGR.js", + "file": "assets/plan-request-gP7ecbK6.js", "name": "plan-request", "src": "resources/js/pages/plans/plan-request.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/referral/components/payout-requests.tsx": { - "file": "assets/payout-requests-Bo6HO_ay.js", + "file": "assets/payout-requests-3LVTkOgB.js", "name": "payout-requests", "src": "resources/js/pages/referral/components/payout-requests.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_CrudTable-qPWooc10.js", + "_textarea-yeg8ONhy.js", + "_CrudTable-yqxtM6E_.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_sparkles-BIbzOfb3.js", - "_briefcase-CLRn8zVu.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_calendar-days-CiPhwZgb.js", - "_calendar-CfUpdaK5.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-up-DepFp6b6.js", - "_chevron-left-DzjQ74li.js", - "_chevron-right-Bd9XWZHZ.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_clock-CwFdn-oy.js", - "_code-BfjQUpEO.js", - "_coins-BDVfLngB.js", - "_copy-xfopPExK.js", - "_credit-card-BmdpMcMw.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_dollar-sign-DYXFWWsE.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_fingerprint-DTUiU2wR.js", - "_house-CL9v9Cnk.js", - "_gift-DXGdvbnX.js", - "_git-branch-B0hRoz5x.js", - "_globe-DePi6jyA.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-grid-C6MkbbLQ.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_loader-circle-wGk7YsPK.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_log-out-XdMMCWfW.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_refresh-cw-DWorkL8J.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_settings-BwhyNRyj.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_timer-Cqv8ulB-.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_sparkles-C1HgyvOv.js", + "_briefcase-Btn3T9V4.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_calendar-days-CURbwGg4.js", + "_calendar-DuRYaSj5.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-up-DHaGktre.js", + "_chevron-left-CQUDAoaX.js", + "_chevron-right-D4JxSs4d.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_clock-LnEFQ-vK.js", + "_code-znlKMFkF.js", + "_coins-CgSV4zfi.js", + "_copy-G5cMddid.js", + "_credit-card-BKi_ThdS.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_dollar-sign-DH2Tc178.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_fingerprint-aH6d8cFa.js", + "_house-iKjbmxem.js", + "_gift-CQwwB55q.js", + "_git-branch-BmbBP1kF.js", + "_globe-5zZ4IsmY.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-grid-3SDzvK8c.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_loader-circle-BLsTZrwM.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_log-out-M0Vyot5_.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_refresh-cw-D_C_cDSu.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_settings-amvA_CjN.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_timer-BTqoLJiz.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/referral/components/referral-dashboard.tsx": { - "file": "assets/referral-dashboard-EJIXIPEg.js", + "file": "assets/referral-dashboard-B3KOw-d5.js", "name": "referral-dashboard", "src": "resources/js/pages/referral/components/referral-dashboard.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_users-C4LpG59H.js", - "_clock-CwFdn-oy.js", - "_dollar-sign-DYXFWWsE.js", - "_trending-up-Bi4f72Tj.js", - "_award-DMMowKjz.js", - "_mail-CGIE7ZEy.js", - "_calendar-CfUpdaK5.js", - "_copy-xfopPExK.js", + "_users-BzCDZrS0.js", + "_clock-LnEFQ-vK.js", + "_dollar-sign-DH2Tc178.js", + "_trending-up-BT453ptk.js", + "_award-D1KbOerA.js", + "_mail-Cha_PX4q.js", + "_calendar-DuRYaSj5.js", + "_copy-G5cMddid.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/referral/components/referral-settings.tsx": { - "file": "assets/referral-settings-C9bquCXp.js", + "file": "assets/referral-settings-BfItF-NA.js", "name": "referral-settings", "src": "resources/js/pages/referral/components/referral-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_switch-CKduD2wX.js", + "_textarea-yeg8ONhy.js", + "_switch-DyHgm-Sg.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/referral/components/referred-users-section.tsx": { - "file": "assets/referred-users-section-Cl-gSTeU.js", + "file": "assets/referred-users-section-CUDX25qY.js", "name": "referred-users-section", "src": "resources/js/pages/referral/components/referred-users-section.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_pagination-D8A_HnL5.js", - "_users-C4LpG59H.js", - "_circle-check-big-C5Cqj7-2.js", - "_dollar-sign-DYXFWWsE.js", - "_calendar-CfUpdaK5.js", + "_pagination-4PUepASD.js", + "_users-BzCDZrS0.js", + "_circle-check-big-Cju4ilPH.js", + "_dollar-sign-DH2Tc178.js", + "_calendar-DuRYaSj5.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/referral/index.tsx": { - "file": "assets/index-D7EeyNZo.js", + "file": "assets/index-Cv6i2NcW.js", "name": "index", "src": "resources/js/pages/referral/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_scroll-area-Dxv7Ysgl.js", + "_scroll-area-T2TE8oKI.js", "_toaster-Bc5RPjCT.js", "resources/js/pages/referral/components/referral-dashboard.tsx", "resources/js/pages/referral/components/payout-requests.tsx", "resources/js/pages/referral/components/referral-settings.tsx", "resources/js/pages/referral/components/referred-users-section.tsx", - "_chart-column-CXNcY9Vx.js", - "_users-C4LpG59H.js", - "_dollar-sign-DYXFWWsE.js", - "_settings-BwhyNRyj.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_chart-column-B76eI9Qi.js", + "_users-BzCDZrS0.js", + "_dollar-sign-DH2Tc178.js", + "_settings-amvA_CjN.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_trending-up-Bi4f72Tj.js", - "_award-DMMowKjz.js", - "_mail-CGIE7ZEy.js", - "_CrudTable-qPWooc10.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_locate-fixed-DbvcuJ_9.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_pagination-D8A_HnL5.js" + "_trending-up-BT453ptk.js", + "_award-D1KbOerA.js", + "_mail-Cha_PX4q.js", + "_CrudTable-yqxtM6E_.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_locate-fixed-BEb8vcRf.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_pagination-4PUepASD.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/referral/referred-users.tsx": { - "file": "assets/referred-users-C2Xmp0nE.js", + "file": "assets/referred-users-BvGde4A8.js", "name": "referred-users", "src": "resources/js/pages/referral/referred-users.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_pagination-D8A_HnL5.js", - "_users-C4LpG59H.js", - "_circle-check-big-C5Cqj7-2.js", - "_dollar-sign-DYXFWWsE.js", - "_calendar-CfUpdaK5.js", - "_arrow-left-B_Yqvwsn.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_pagination-4PUepASD.js", + "_users-BzCDZrS0.js", + "_circle-check-big-Cju4ilPH.js", + "_dollar-sign-DH2Tc178.js", + "_calendar-DuRYaSj5.js", + "_arrow-left-BUNj5JJK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/roles/index.tsx": { - "file": "assets/index-BO8kK88b.js", + "file": "assets/index-CbufqmQT.js", "name": "index", "src": "resources/js/pages/roles/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_i18n-CM7rzmSQ.js", - "_checkbox-1_Cig_g5.js", + "_i18n-Db6Gz1TD.js", + "_checkbox-BLrehV38.js", "resources/js/app.tsx", - "_CrudTable-qPWooc10.js", - "_page-template-BTxLyiDA.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_CrudTable-yqxtM6E_.js", + "_page-template-CLNVC8w_.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", - "_pagination-D8A_HnL5.js", - "_CrudFormModal-DAR9q-oM.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_log-out-M0Vyot5_.js", + "_pagination-4PUepASD.js", + "_CrudFormModal-CsuqSfb2.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_filter-uErFRSPT.js", + "_locate-fixed-BEb8vcRf.js", + "_CrudDeleteModal-D32N6I8y.js", + "_filter-BTHjyusi.js", "_utils-BWxnHGCV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/cache-settings.tsx": { - "file": "assets/cache-settings-CSv5JD42.js", + "file": "assets/cache-settings-B_8J---F.js", "name": "cache-settings", "src": "resources/js/pages/settings/components/cache-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_hard-drive-B_Mpft6K.js", - "_trash-2-C1NR_7Ss.js", + "_hard-drive-7VwcRvWp.js", + "_trash-2-BeirBLIk.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/chatgpt-settings.tsx": { - "file": "assets/chatgpt-settings-DS2lPGzN.js", + "file": "assets/chatgpt-settings-D_IVaC5b.js", "name": "chatgpt-settings", "src": "resources/js/pages/settings/components/chatgpt-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", + "_select-CHkpLxhL.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js" + "_chevron-up-DHaGktre.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/cookie-settings.tsx": { - "file": "assets/cookie-settings-ZygGKw1c.js", + "file": "assets/cookie-settings-D7p7EysW.js", "name": "cookie-settings", "src": "resources/js/pages/settings/components/cookie-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_switch-CKduD2wX.js", - "_download-Bk1k2_dW.js", + "_textarea-yeg8ONhy.js", + "_switch-DyHgm-Sg.js", + "_download-BBNmalxc.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/currency-settings.tsx": { - "file": "assets/currency-settings-WgmyxKUz.js", + "file": "assets/currency-settings-BT4omTSx.js", "name": "currency-settings", "src": "resources/js/pages/settings/components/currency-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_switch-CKduD2wX.js", - "_dollar-sign-DYXFWWsE.js", - "_info-D_4wnc_R.js", + "_select-CHkpLxhL.js", + "_switch-DyHgm-Sg.js", + "_dollar-sign-DH2Tc178.js", + "_info-CPi9bOGM.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js" + "_chevron-up-DHaGktre.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/email-notification-settings.tsx": { - "file": "assets/email-notification-settings-C-4YCEEU.js", + "file": "assets/email-notification-settings-CPtrgANi.js", "name": "email-notification-settings", "src": "resources/js/pages/settings/components/email-notification-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_switch-CKduD2wX.js", - "_tabs-pc4jrsjt.js", - "_scroll-area-Dxv7Ysgl.js", - "_bell-DXAvb3Z0.js", + "_switch-DyHgm-Sg.js", + "_tabs-CsP5VcXV.js", + "_scroll-area-T2TE8oKI.js", + "_bell-DRg7kyzT.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js", "_index-BdQq_4o_.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/email-settings.tsx": { - "file": "assets/email-settings-CgeSmhsA.js", + "file": "assets/email-settings-D6iy7QiV.js", "name": "email-settings", "src": "resources/js/pages/settings/components/email-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_alert-DH0o7BP8.js", - "_mail-CGIE7ZEy.js", - "_server-Dw1-QcTX.js", - "_circle-alert-64DrdoHv.js", - "_user-C37aWgZX.js", - "_lock-By6rMOj7.js", - "_send-Cj7KqUHo.js", + "_select-CHkpLxhL.js", + "_alert-CyJVNPY9.js", + "_mail-Cha_PX4q.js", + "_server-Bk9UD-_r.js", + "_circle-alert-Ddjg2Qwp.js", + "_user-77BPqA3J.js", + "_lock-DaHvMEII.js", + "_send-Cs5D4i9u.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js" + "_chevron-up-DHaGktre.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/experience-certificate-settings.tsx": { - "file": "assets/experience-certificate-settings-BUN-EjHN.js", + "file": "assets/experience-certificate-settings-DVg3g6Wh.js", "name": "experience-certificate-settings", "src": "resources/js/pages/settings/components/experience-certificate-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_rich-text-editor-6rkrWVFe.js", + "_select-CHkpLxhL.js", + "_rich-text-editor-uObNYFW4.js", "_react-country-flag.esm-Bs2jngHP.js", - "_info-D_4wnc_R.js", + "_info-CPi9bOGM.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_unlink-BUU37FwK.js", - "_list-D0MAUZMV.js", - "_quote-CVpLTvYv.js", - "_link-Bv_VEBSZ.js", - "_code-BfjQUpEO.js" + "_chevron-up-DHaGktre.js", + "_unlink-BLQWL2NW.js", + "_list-C_2fG_BT.js", + "_quote-BmDTOIsR.js", + "_link-DXJwkkHX.js", + "_code-znlKMFkF.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/google-calendar-settings.tsx": { - "file": "assets/google-calendar-settings-ByBUhdYk.js", + "file": "assets/google-calendar-settings-eMbsVytU.js", "name": "google-calendar-settings", "src": "resources/js/pages/settings/components/google-calendar-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_switch-CKduD2wX.js", + "_switch-DyHgm-Sg.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/ip-restriction-settings.tsx": { - "file": "assets/ip-restriction-settings-0-6ixzy_.js", + "file": "assets/ip-restriction-settings-D34h7VGk.js", "name": "ip-restriction-settings", "src": "resources/js/pages/settings/components/ip-restriction-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_CrudDeleteModal-CKTiD3_K.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudTable-qPWooc10.js", + "_CrudDeleteModal-D32N6I8y.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudTable-yqxtM6E_.js", "_utils-BWxnHGCV.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_checkbox-1_Cig_g5.js", - "_switch-CKduD2wX.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_chevron-up-DHaGktre.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_checkbox-BLrehV38.js", + "_switch-DyHgm-Sg.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_sparkles-BIbzOfb3.js", - "_briefcase-CLRn8zVu.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_calendar-days-CiPhwZgb.js", - "_calendar-CfUpdaK5.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_chevron-right-Bd9XWZHZ.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_clipboard-list-DA9ABN1f.js", - "_clock-CwFdn-oy.js", - "_code-BfjQUpEO.js", - "_coins-BDVfLngB.js", - "_copy-xfopPExK.js", - "_credit-card-BmdpMcMw.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_dollar-sign-DYXFWWsE.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_fingerprint-DTUiU2wR.js", - "_house-CL9v9Cnk.js", - "_gift-DXGdvbnX.js", - "_git-branch-B0hRoz5x.js", - "_globe-DePi6jyA.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-grid-C6MkbbLQ.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_loader-circle-wGk7YsPK.js", - "_lock-By6rMOj7.js", - "_log-in-DDjMW0xI.js", - "_log-out-XdMMCWfW.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_refresh-cw-DWorkL8J.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_settings-BwhyNRyj.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_timer-Cqv8ulB-.js", - "_trash-2-C1NR_7Ss.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js" + "_locate-fixed-BEb8vcRf.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_sparkles-C1HgyvOv.js", + "_briefcase-Btn3T9V4.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_calendar-days-CURbwGg4.js", + "_calendar-DuRYaSj5.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_chevron-right-D4JxSs4d.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_clipboard-list-C-5sn1G-.js", + "_clock-LnEFQ-vK.js", + "_code-znlKMFkF.js", + "_coins-CgSV4zfi.js", + "_copy-G5cMddid.js", + "_credit-card-BKi_ThdS.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_dollar-sign-DH2Tc178.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_fingerprint-aH6d8cFa.js", + "_house-iKjbmxem.js", + "_gift-CQwwB55q.js", + "_git-branch-BmbBP1kF.js", + "_globe-5zZ4IsmY.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-grid-3SDzvK8c.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_loader-circle-BLsTZrwM.js", + "_lock-DaHvMEII.js", + "_log-in-3L4UHGsD.js", + "_log-out-M0Vyot5_.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_refresh-cw-D_C_cDSu.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_settings-amvA_CjN.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_timer-BTqoLJiz.js", + "_trash-2-BeirBLIk.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/joining-letter-settings.tsx": { - "file": "assets/joining-letter-settings-6wlzZ749.js", + "file": "assets/joining-letter-settings-Dg8J1HvK.js", "name": "joining-letter-settings", "src": "resources/js/pages/settings/components/joining-letter-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_rich-text-editor-6rkrWVFe.js", + "_select-CHkpLxhL.js", + "_rich-text-editor-uObNYFW4.js", "_react-country-flag.esm-Bs2jngHP.js", - "_info-D_4wnc_R.js", + "_info-CPi9bOGM.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_unlink-BUU37FwK.js", - "_list-D0MAUZMV.js", - "_quote-CVpLTvYv.js", - "_link-Bv_VEBSZ.js", - "_code-BfjQUpEO.js" + "_chevron-up-DHaGktre.js", + "_unlink-BLQWL2NW.js", + "_list-C_2fG_BT.js", + "_quote-BmDTOIsR.js", + "_link-DXJwkkHX.js", + "_code-znlKMFkF.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/noc-settings.tsx": { - "file": "assets/noc-settings-Bp7HoVl3.js", + "file": "assets/noc-settings-Btctqwcg.js", "name": "noc-settings", "src": "resources/js/pages/settings/components/noc-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_rich-text-editor-6rkrWVFe.js", + "_select-CHkpLxhL.js", + "_rich-text-editor-uObNYFW4.js", "_react-country-flag.esm-Bs2jngHP.js", - "_info-D_4wnc_R.js", + "_info-CPi9bOGM.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_unlink-BUU37FwK.js", - "_list-D0MAUZMV.js", - "_quote-CVpLTvYv.js", - "_link-Bv_VEBSZ.js", - "_code-BfjQUpEO.js" + "_chevron-up-DHaGktre.js", + "_unlink-BLQWL2NW.js", + "_list-C_2fG_BT.js", + "_quote-BmDTOIsR.js", + "_link-DXJwkkHX.js", + "_code-znlKMFkF.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/payment-settings.tsx": { - "file": "assets/payment-settings-BTgVS2wQ.js", + "file": "assets/payment-settings-DH-KiRcT.js", "name": "payment-settings", "src": "resources/js/pages/settings/components/payment-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", - "_alert-DH0o7BP8.js", - "_switch-CKduD2wX.js", - "_circle-alert-64DrdoHv.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_radio-group-CLGfOEmR.js", - "_indian-rupee-Dzf_OaiN.js", - "_credit-card-BmdpMcMw.js", - "_wallet-OtmBA2C9.js", - "_coins-BDVfLngB.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", + "_alert-CyJVNPY9.js", + "_switch-DyHgm-Sg.js", + "_circle-alert-Ddjg2Qwp.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_radio-group-BMzEN82K.js", + "_indian-rupee-CCruSHM0.js", + "_credit-card-BKi_ThdS.js", + "_wallet-ChDgCFUl.js", + "_coins-CgSV4zfi.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", - "_circle-BoWbKVIN.js" + "_chevron-up-DHaGktre.js", + "_circle-C2Wo_gI7.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/recaptcha-settings.tsx": { - "file": "assets/recaptcha-settings-C2nUOtIM.js", + "file": "assets/recaptcha-settings-Cr42TArj.js", "name": "recaptcha-settings", "src": "resources/js/pages/settings/components/recaptcha-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_switch-CKduD2wX.js", + "_select-CHkpLxhL.js", + "_switch-DyHgm-Sg.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js" + "_chevron-up-DHaGktre.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/seo-settings.tsx": { - "file": "assets/seo-settings-BcLiux8O.js", + "file": "assets/seo-settings-BzvLQN-Z.js", "name": "seo-settings", "src": "resources/js/pages/settings/components/seo-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_textarea-kpRjGGLz.js", - "_lightbulb-BGgHG47R.js", + "_textarea-yeg8ONhy.js", + "_lightbulb-BaPQrzRp.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/storage-settings.tsx": { - "file": "assets/storage-settings-B8KLOCSA.js", + "file": "assets/storage-settings-etuGiLdE.js", "name": "storage-settings", "src": "resources/js/pages/settings/components/storage-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_tabs-pc4jrsjt.js", - "_checkbox-1_Cig_g5.js", - "_hard-drive-B_Mpft6K.js", + "_tabs-CsP5VcXV.js", + "_checkbox-BLrehV38.js", + "_hard-drive-7VwcRvWp.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/stripe-settings.tsx": { - "file": "assets/stripe-settings-SOBEkVu7.js", + "file": "assets/stripe-settings-BAwI1r-t.js", "name": "stripe-settings", "src": "resources/js/pages/settings/components/stripe-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_switch-CKduD2wX.js", - "_alert-DH0o7BP8.js", - "_credit-card-BmdpMcMw.js", - "_circle-alert-64DrdoHv.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", + "_switch-DyHgm-Sg.js", + "_alert-CyJVNPY9.js", + "_credit-card-BKi_ThdS.js", + "_circle-alert-Ddjg2Qwp.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/system-settings.tsx": { - "file": "assets/system-settings-BOfM4ZSu.js", + "file": "assets/system-settings-CiunzQ_e.js", "name": "system-settings", "src": "resources/js/pages/settings/components/system-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_switch-CKduD2wX.js", + "_select-CHkpLxhL.js", + "_switch-DyHgm-Sg.js", "_language-BbwPiY59.js", "_react-country-flag.esm-Bs2jngHP.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js" + "_chevron-up-DHaGktre.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/webhook-settings.tsx": { - "file": "assets/webhook-settings-CwIqQy22.js", + "file": "assets/webhook-settings-CJnyQOMC.js", "name": "webhook-settings", "src": "resources/js/pages/settings/components/webhook-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_select-BrY9osYp.js", - "_table-BXUOKUBo.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_link-2-CqlWBpzI.js", - "_square-pen-bMHyT06o.js", - "_trash-2-C1NR_7Ss.js", + "_select-CHkpLxhL.js", + "_table-CM-_W5Cl.js", + "_CrudDeleteModal-D32N6I8y.js", + "_link-2-oaQNJJAj.js", + "_square-pen-CzdhbxyN.js", + "_trash-2-BeirBLIk.js", "_utils-BWxnHGCV.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js" + "_chevron-up-DHaGktre.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/components/working-days-settings.tsx": { - "file": "assets/working-days-settings-CLpYREMh.js", + "file": "assets/working-days-settings-Ba_UCqex.js", "name": "working-days-settings", "src": "resources/js/pages/settings/components/working-days-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_switch-CKduD2wX.js", - "_clock-CwFdn-oy.js", + "_switch-DyHgm-Sg.js", + "_clock-LnEFQ-vK.js", "_utils-BWxnHGCV.js", "_index-9MclThM-.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/index.tsx": { - "file": "assets/index-CIa3Xokp.js", + "file": "assets/index-3kfBTgG2.js", "name": "index", "src": "resources/js/pages/settings/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_scroll-area-Dxv7Ysgl.js", + "_scroll-area-T2TE8oKI.js", "resources/js/pages/settings/components/system-settings.tsx", "resources/js/pages/settings/components/currency-settings.tsx", "resources/js/pages/settings/components/email-settings.tsx", @@ -19358,438 +19380,438 @@ "resources/js/pages/settings/components/experience-certificate-settings.tsx", "resources/js/pages/settings/components/joining-letter-settings.tsx", "_toaster-Bc5RPjCT.js", - "_settings-BwhyNRyj.js", - "_dollar-sign-DYXFWWsE.js", - "_mail-CGIE7ZEy.js", - "_clock-CwFdn-oy.js", - "_CrudTable-qPWooc10.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_hard-drive-B_Mpft6K.js", - "_shield-BXgaUVtY.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_settings-amvA_CjN.js", + "_dollar-sign-DH2Tc178.js", + "_mail-Cha_PX4q.js", + "_clock-LnEFQ-vK.js", + "_CrudTable-yqxtM6E_.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_hard-drive-7VwcRvWp.js", + "_shield-CDL27iRK.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_info-D_4wnc_R.js", - "_alert-DH0o7BP8.js", - "_server-Dw1-QcTX.js", - "_circle-alert-64DrdoHv.js", - "_lock-By6rMOj7.js", - "_send-Cj7KqUHo.js", - "_eye-off-CTWV_K-G.js", - "_eye--FVGKpVp.js", - "_radio-group-CLGfOEmR.js", - "_circle-BoWbKVIN.js", - "_indian-rupee-Dzf_OaiN.js", - "_wallet-OtmBA2C9.js", - "_tabs-pc4jrsjt.js", - "_checkbox-1_Cig_g5.js", - "_download-Bk1k2_dW.js", - "_lightbulb-BGgHG47R.js", - "_trash-2-C1NR_7Ss.js", - "_CrudDeleteModal-CKTiD3_K.js", - "_CrudFormModal-DAR9q-oM.js", - "_multi-select-field-Dxyl0jtB.js", + "_info-CPi9bOGM.js", + "_alert-CyJVNPY9.js", + "_server-Bk9UD-_r.js", + "_circle-alert-Ddjg2Qwp.js", + "_lock-DaHvMEII.js", + "_send-Cs5D4i9u.js", + "_eye-off-C7-ukqyH.js", + "_eye-CCNnMtu4.js", + "_radio-group-BMzEN82K.js", + "_circle-C2Wo_gI7.js", + "_indian-rupee-CCruSHM0.js", + "_wallet-ChDgCFUl.js", + "_tabs-CsP5VcXV.js", + "_checkbox-BLrehV38.js", + "_download-BBNmalxc.js", + "_lightbulb-BaPQrzRp.js", + "_trash-2-BeirBLIk.js", + "_CrudDeleteModal-D32N6I8y.js", + "_CrudFormModal-CsuqSfb2.js", + "_multi-select-field-CO_GzZgi.js", "_leaflet-ChJqBZBV.js", - "_locate-fixed-DbvcuJ_9.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_lock-open-Bohob0Q8.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_external-link-QgK5Wt8A.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_filter-uErFRSPT.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hash-BdwQ_IPO.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_list-D0MAUZMV.js", - "_log-in-DDjMW0xI.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_square-pen-bMHyT06o.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_rich-text-editor-6rkrWVFe.js" + "_locate-fixed-BEb8vcRf.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_lock-open-wwRKX_jV.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_external-link-Cr5OfBdg.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_filter-BTHjyusi.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hash-CHQJ9wMw.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_list-C_2fG_BT.js", + "_log-in-3L4UHGsD.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_square-pen-CzdhbxyN.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_rich-text-editor-uObNYFW4.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/settings/profile-settings.tsx": { - "file": "assets/profile-settings-CiqFstUU.js", + "file": "assets/profile-settings-mvFr8XaK.js", "name": "profile-settings", "src": "resources/js/pages/settings/profile-settings.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_input-error-TZ1o_PqE.js", - "_camera-C44LyAAQ.js", - "_user-C37aWgZX.js", - "_lock-By6rMOj7.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_input-error-eAcZLOer.js", + "_camera-CcveDep5.js", + "_user-77BPqA3J.js", + "_lock-DaHvMEII.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/superadmin/dashboard.tsx": { - "file": "assets/dashboard-Cq38_JDx.js", + "file": "assets/dashboard-Bn4z_3Hu.js", "name": "dashboard", "src": "resources/js/pages/superadmin/dashboard.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_building-2-D7cTdbG2.js", - "_credit-card-BmdpMcMw.js", - "_dollar-sign-DYXFWWsE.js", - "_tag-JSZ9YmZg.js", - "_eye--FVGKpVp.js", - "_sparkles-BIbzOfb3.js", - "_arrow-right-0WTHrq3r.js", - "_trending-up-Bi4f72Tj.js", - "_refresh-cw-DWorkL8J.js", - "_circle-alert-64DrdoHv.js", - "_user-plus-DXHdW4q-.js", - "_ticket-iWUCgUMN.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_building-2-CASHKqFo.js", + "_credit-card-BKi_ThdS.js", + "_dollar-sign-DH2Tc178.js", + "_tag-Bq7fLwM4.js", + "_eye-CCNnMtu4.js", + "_sparkles-C1HgyvOv.js", + "_arrow-right-BHW--AGU.js", + "_trending-up-BT453ptk.js", + "_refresh-cw-D_C_cDSu.js", + "_circle-alert-Ddjg2Qwp.js", + "_user-plus-BpaQ3zuJ.js", + "_ticket-Cl2Nq5Ff.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_coins-BDVfLngB.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/users/index.tsx": { - "file": "assets/index-Cc1Iv67H.js", + "file": "assets/index-aEHS69qc.js", "name": "index", "src": "resources/js/pages/users/index.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", - "_page-template-BTxLyiDA.js", + "_page-template-CLNVC8w_.js", "resources/js/app.tsx", - "_pagination-D8A_HnL5.js", - "_search-and-filter-bar-6Pp-FsiR.js", - "_CrudTable-qPWooc10.js", - "_CrudFormModal-DAR9q-oM.js", - "_CrudDeleteModal-CKTiD3_K.js", + "_pagination-4PUepASD.js", + "_search-and-filter-bar-DWH0yn_r.js", + "_CrudTable-yqxtM6E_.js", + "_CrudFormModal-CsuqSfb2.js", + "_CrudDeleteModal-D32N6I8y.js", "_use-initials-BK4eRgYY.js", "resources/js/pages/users/view.tsx", - "_lock-open-Bohob0Q8.js", - "_eye--FVGKpVp.js", - "_square-pen-bMHyT06o.js", - "_lock-By6rMOj7.js", - "_trash-2-C1NR_7Ss.js", - "_textarea-kpRjGGLz.js", - "_select-BrY9osYp.js", + "_lock-open-wwRKX_jV.js", + "_eye-CCNnMtu4.js", + "_square-pen-CzdhbxyN.js", + "_lock-DaHvMEII.js", + "_trash-2-BeirBLIk.js", + "_textarea-yeg8ONhy.js", + "_select-CHkpLxhL.js", "_index-BdQq_4o_.js", "_index-9MclThM-.js", - "_chevron-up-DepFp6b6.js", + "_chevron-up-DHaGktre.js", "_react-country-flag.esm-Bs2jngHP.js", "_language-BbwPiY59.js", - "_sparkles-BIbzOfb3.js", - "_loader-circle-wGk7YsPK.js", - "_copy-xfopPExK.js", - "_CookieConsentBanner-Do3n0EfV.js", - "_refresh-cw-DWorkL8J.js", - "_globe-DePi6jyA.js", - "_settings-BwhyNRyj.js", - "_switch-CKduD2wX.js", - "_chevron-right-Bd9XWZHZ.js", - "_layout-grid-C6MkbbLQ.js", - "_briefcase-CLRn8zVu.js", - "_credit-card-BmdpMcMw.js", - "_gift-DXGdvbnX.js", - "_user-C37aWgZX.js", - "_users-C4LpG59H.js", - "_calendar-CfUpdaK5.js", - "_calendar-days-CiPhwZgb.js", - "_clock-CwFdn-oy.js", - "_fingerprint-DTUiU2wR.js", - "_timer-Cqv8ulB-.js", - "_dollar-sign-DYXFWWsE.js", - "_coins-BDVfLngB.js", + "_sparkles-C1HgyvOv.js", + "_loader-circle-BLsTZrwM.js", + "_copy-G5cMddid.js", + "_CookieConsentBanner-dwye0O-l.js", + "_refresh-cw-D_C_cDSu.js", + "_globe-5zZ4IsmY.js", + "_settings-amvA_CjN.js", + "_switch-DyHgm-Sg.js", + "_chevron-right-D4JxSs4d.js", + "_layout-grid-3SDzvK8c.js", + "_briefcase-Btn3T9V4.js", + "_credit-card-BKi_ThdS.js", + "_gift-CQwwB55q.js", + "_user-77BPqA3J.js", + "_users-BzCDZrS0.js", + "_calendar-DuRYaSj5.js", + "_calendar-days-CURbwGg4.js", + "_clock-LnEFQ-vK.js", + "_fingerprint-aH6d8cFa.js", + "_timer-BTqoLJiz.js", + "_dollar-sign-DH2Tc178.js", + "_coins-CgSV4zfi.js", "_index-BFT_C1pH.js", - "_log-out-XdMMCWfW.js", + "_log-out-M0Vyot5_.js", "_utils-BWxnHGCV.js", - "_filter-uErFRSPT.js", - "_list-D0MAUZMV.js", - "_table-BXUOKUBo.js", - "_unlink-BUU37FwK.js", - "_scale-BUz-ovAe.js", - "_arrow-down-left-B7-m5tqv.js", - "_arrow-left-B_Yqvwsn.js", - "_arrow-right-left-oZQEgmVQ.js", - "_arrow-right-0WTHrq3r.js", - "_arrow-up-down-Bd89yBZf.js", - "_award-DMMowKjz.js", - "_ban-61sP3ZVw.js", - "_indian-rupee-Dzf_OaiN.js", - "_bell-DXAvb3Z0.js", - "_book-open-3qYfaEN0.js", - "_boxes-C2a1Xilp.js", - "_building-2-D7cTdbG2.js", - "_building-Cyq-0nCs.js", - "_calculator-CAq-8OXK.js", - "_calendar-check-B2HQiQ2A.js", - "_camera-C44LyAAQ.js", - "_chart-column-CXNcY9Vx.js", - "_chart-no-axes-column-increasing-B7MqdTh5.js", - "_chart-no-axes-column-BrIh_iVD.js", - "_chevron-left-DzjQ74li.js", - "_circle-alert-64DrdoHv.js", - "_circle-check-big-C5Cqj7-2.js", - "_circle-check-BE5AcCr7.js", - "_circle-help-qSaafQwl.js", - "_circle-x-C1aiFLrz.js", - "_circle-BoWbKVIN.js", - "_clipboard-list-DA9ABN1f.js", - "_code-BfjQUpEO.js", - "_crosshair-D1Bk7XgB.js", - "_crown-hSojj3Kc.js", - "_download-Bk1k2_dW.js", - "_external-link-QgK5Wt8A.js", - "_eye-off-CTWV_K-G.js", - "_instagram-BINpUnZv.js", - "_file-down-Dd8zePUY.js", - "_pen-line-BrTss6NX.js", - "_file-up-BGHgeTEG.js", - "_house-CL9v9Cnk.js", - "_git-branch-B0hRoz5x.js", - "_grip-vertical-DE07jY4a.js", - "_hard-drive-B_Mpft6K.js", - "_hash-BdwQ_IPO.js", - "_shield-BXgaUVtY.js", - "_info-D_4wnc_R.js", - "_layers-Dl67CG9c.js", - "_layout-list-BgC0E-xE.js", - "_lightbulb-BGgHG47R.js", - "_link-2-CqlWBpzI.js", - "_link-Bv_VEBSZ.js", - "_twitter-C171Pyox.js", - "_locate-fixed-DbvcuJ_9.js", - "_log-in-DDjMW0xI.js", - "_mail-CGIE7ZEy.js", - "_map-pin-BEMjKB1T.js", - "_menu-Ce4PLUkG.js", - "_message-square-warning-D-p7x0Lz.js", - "_message-square-CWrDttoL.js", - "_monitor-CnIEqEUy.js", - "_package-Dbz0W2dX.js", - "_percent-CBKzOw5k.js", - "_phone-B_MwJBjY.js", - "_plane-BHhadcsS.js", - "_play-C-QVLyAb.js", - "_qr-code-Dvy3HD3W.js", - "_quote-CVpLTvYv.js", - "_ruler-BouWNjvC.js", - "_send-Cj7KqUHo.js", - "_server-Dw1-QcTX.js", - "_wifi-C3afLemA.js", - "_shield-check-Ca-zuQJC.js", - "_square-check-big-BCxRi7D4.js", - "_star-DQsTg5F1.js", - "_sun-C2oQ_gMz.js", - "_tag-JSZ9YmZg.js", - "_target-Pzb9zAUp.js", - "_thumbs-up-_WTyicKR.js", - "_ticket-iWUCgUMN.js", - "_trash-Pq_dkuTI.js", - "_trending-down-DeoG-P9A.js", - "_trending-up-Bi4f72Tj.js", - "_triangle-alert-DGWTh17w.js", - "_trophy-D1q7o3Ri.js", - "_type-CNRj7XNX.js", - "_user-check-eTf_WVUH.js", - "_user-plus-DXHdW4q-.js", - "_user-x-BAm8TG2r.js", - "_wallet-OtmBA2C9.js", - "_wrench-BdOd6Wbm.js", - "_zap-DncwKEcc.js", - "_radio-group-CLGfOEmR.js", - "_checkbox-1_Cig_g5.js", - "_multi-select-field-Dxyl0jtB.js", - "_scroll-area-Dxv7Ysgl.js", + "_filter-BTHjyusi.js", + "_list-C_2fG_BT.js", + "_table-CM-_W5Cl.js", + "_unlink-BLQWL2NW.js", + "_scale-BzSuyiWe.js", + "_arrow-down-left-B_VdNN9z.js", + "_arrow-left-BUNj5JJK.js", + "_arrow-right-left-rbTR90Mc.js", + "_arrow-right-BHW--AGU.js", + "_arrow-up-down-B7nj--dP.js", + "_award-D1KbOerA.js", + "_ban-BM0r7XNR.js", + "_indian-rupee-CCruSHM0.js", + "_bell-DRg7kyzT.js", + "_book-open-DIuydbp9.js", + "_boxes-Dyz92FXO.js", + "_building-2-CASHKqFo.js", + "_building-DyhEfKj4.js", + "_calculator-D-XBwqfe.js", + "_calendar-check-Cei2wfOk.js", + "_camera-CcveDep5.js", + "_chart-column-B76eI9Qi.js", + "_chart-no-axes-column-increasing-DGWtPhLs.js", + "_chart-no-axes-column-BoCXnewH.js", + "_chevron-left-CQUDAoaX.js", + "_circle-alert-Ddjg2Qwp.js", + "_circle-check-big-Cju4ilPH.js", + "_circle-check-BSTxZIbF.js", + "_circle-help-DYANbqeK.js", + "_circle-x-Dg5wGIim.js", + "_circle-C2Wo_gI7.js", + "_clipboard-list-C-5sn1G-.js", + "_code-znlKMFkF.js", + "_crosshair-CURvK9L2.js", + "_crown-CroP5qiL.js", + "_download-BBNmalxc.js", + "_external-link-Cr5OfBdg.js", + "_eye-off-C7-ukqyH.js", + "_instagram-hxbchcd2.js", + "_file-down-DO17xCrw.js", + "_pen-line-D3y4U--J.js", + "_file-up-mHt_z-hD.js", + "_house-iKjbmxem.js", + "_git-branch-BmbBP1kF.js", + "_grip-vertical-jJ2YrfNT.js", + "_hard-drive-7VwcRvWp.js", + "_hash-CHQJ9wMw.js", + "_shield-CDL27iRK.js", + "_info-CPi9bOGM.js", + "_layers-OK3_pizJ.js", + "_layout-list-Cqn_SURh.js", + "_lightbulb-BaPQrzRp.js", + "_link-2-oaQNJJAj.js", + "_link-DXJwkkHX.js", + "_twitter-DZQVDI4Y.js", + "_locate-fixed-BEb8vcRf.js", + "_log-in-3L4UHGsD.js", + "_mail-Cha_PX4q.js", + "_map-pin-DFWKFR9c.js", + "_menu-GuULvnRC.js", + "_message-square-warning-DT--Ufeu.js", + "_message-square-DyWo8S6i.js", + "_monitor-BYgqmcKD.js", + "_package-BMnRSK1k.js", + "_percent-z25PPWNk.js", + "_phone-3MnRoAYu.js", + "_plane-AJz2gO49.js", + "_play-BxVAbvyQ.js", + "_qr-code-CUIVRbAs.js", + "_quote-BmDTOIsR.js", + "_ruler-BmcStEpw.js", + "_send-Cs5D4i9u.js", + "_server-Bk9UD-_r.js", + "_wifi-vecZUHsy.js", + "_shield-check-CGAYPEyR.js", + "_square-check-big-CpQiidmr.js", + "_star-DCkLKzoE.js", + "_sun-D8i-fCJe.js", + "_tag-Bq7fLwM4.js", + "_target-BPl0Bsow.js", + "_thumbs-up-2-1HocdZ.js", + "_ticket-Cl2Nq5Ff.js", + "_trash-BFTYTNQN.js", + "_trending-down-DmDmdusz.js", + "_trending-up-BT453ptk.js", + "_triangle-alert-CpPzdeiH.js", + "_trophy-BaZS8IUN.js", + "_type-Bsbmfmsu.js", + "_user-check-DC9_V3Qo.js", + "_user-plus-BpaQ3zuJ.js", + "_user-x-CVAZCW5-.js", + "_wallet-ChDgCFUl.js", + "_wrench-D9olQ4TN.js", + "_zap-CgFkG-9H.js", + "_radio-group-BMzEN82K.js", + "_checkbox-BLrehV38.js", + "_multi-select-field-CO_GzZgi.js", + "_scroll-area-T2TE8oKI.js", "_leaflet-ChJqBZBV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/users/view.tsx": { - "file": "assets/view-DyPRc1fN.js", + "file": "assets/view-CBDIEe_U.js", "name": "view", "src": "resources/js/pages/users/view.tsx", "isDynamicEntry": true, "imports": [ "_ui-Z445SNHD.js", "resources/js/app.tsx", - "_user-C37aWgZX.js", - "_mail-CGIE7ZEy.js", - "_lock-By6rMOj7.js", - "_calendar-CfUpdaK5.js", - "_shield-check-Ca-zuQJC.js", + "_user-77BPqA3J.js", + "_mail-Cha_PX4q.js", + "_lock-DaHvMEII.js", + "_calendar-DuRYaSj5.js", + "_shield-check-CGAYPEyR.js", "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] }, "resources/js/pages/welcome.tsx": { - "file": "assets/welcome-BzDbO2My.js", + "file": "assets/welcome-C5pxBnvT.js", "name": "welcome", "src": "resources/js/pages/welcome.tsx", "isDynamicEntry": true, @@ -19799,7 +19821,7 @@ "_utils-BWxnHGCV.js" ], "css": [ - "assets/app-Df5dGo4f.css", + "assets/app-CmM4q005.css", "assets/dark-mode-CbIfkZ9G.css" ] } diff --git a/resources/js/components/CrudTable.tsx b/resources/js/components/CrudTable.tsx index 4bfbf2735..5c68b6607 100755 --- a/resources/js/components/CrudTable.tsx +++ b/resources/js/components/CrudTable.tsx @@ -1,4 +1,5 @@ // components/CrudTable.tsx +import React, { useState } from 'react'; import { Button } from '@/components/ui/button'; import { Table, @@ -16,7 +17,7 @@ import { TooltipTrigger } from '@/components/ui/tooltip'; import { cn } from '@/lib/utils'; -import { ChevronDown, ChevronUp, ChevronsUpDown } from 'lucide-react'; +import { ChevronDown, ChevronUp, ChevronsUpDown, ChevronRight } from 'lucide-react'; import * as LucidIcons from 'lucide-react'; import { hasPermission } from '@/utils/authorization'; import { TableColumn, TableAction } from '@/types/crud'; @@ -42,6 +43,7 @@ interface CrudTableProps { showActionsAsIcons?: boolean; showActions?: boolean; footer?: React.ReactNode; + renderExpandedRow?: (row: any) => React.ReactNode; } export function CrudTable({ @@ -58,8 +60,30 @@ export function CrudTable({ entityPermissions, showActions = true, footer, + renderExpandedRow, }: CrudTableProps) { const { t } = useTranslation(); + const [expandedRowIds, setExpandedRowIds] = useState>(new Set()); + + const toggleRowExpand = (id: any) => { + setExpandedRowIds((prev) => { + const next = new Set(prev); + if (next.has(id)) { + next.delete(id); + } else { + next.add(id); + } + return next; + }); + }; + + const toggleAllExpand = () => { + if (expandedRowIds.size === data.length) { + setExpandedRowIds(new Set()); + } else { + setExpandedRowIds(new Set(data.map((r, i) => r.id ?? i))); + } + }; const renderSortIcon = (column: TableColumn) => { if (!column.sortable) return null; @@ -256,6 +280,24 @@ export function CrudTable({ + {renderExpandedRow && ( + + + + )} # {columns.map((column) => ( {data.length > 0 ? ( - data.map((row, index) => ( - - {from + index} - {columns.map((col) => ( - { + const rowId = row.id ?? index; + const isExpanded = expandedRowIds.has(rowId); + const totalColSpan = columns.length + (showActions && hasAnyActionPermission ? 2 : 1) + (renderExpandedRow ? 1 : 0); + + return ( + + + {renderExpandedRow && ( + + + )} - > - {renderCellContent(row, col)} - - ))} - {/* - {renderActionButtons(row)} - */} - {showActions && hasAnyActionPermission && {renderActionButtons(row)}} - - )) + {from + index} + {columns.map((col) => ( + + {renderCellContent(row, col)} + + ))} + {/* + {renderActionButtons(row)} + */} + {showActions && hasAnyActionPermission && {renderActionButtons(row)}} + + {renderExpandedRow && isExpanded && ( + + + {renderExpandedRow(row)} + + + )} + + ); + }) ) : ( {/* */} {t('No results found.')} diff --git a/resources/js/pages/hr/payroll-runs/PayrollEntryBreakdown.tsx b/resources/js/pages/hr/payroll-runs/PayrollEntryBreakdown.tsx new file mode 100644 index 000000000..3bace9202 --- /dev/null +++ b/resources/js/pages/hr/payroll-runs/PayrollEntryBreakdown.tsx @@ -0,0 +1,383 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; +import { + Clock, + Calendar, + DollarSign, + TrendingUp, + TrendingDown, + CalendarCheck, + Moon, + Info +} from 'lucide-react'; +import { Badge } from '@/components/ui/badge'; + +interface PayrollEntryBreakdownProps { + entry: any; +} + +export function PayrollEntryBreakdown({ entry }: PayrollEntryBreakdownProps) { + const { t } = useTranslation(); + + // Extract breakdowns safely + const rawEarnings = entry.earnings_breakdown; + const rawDeductions = entry.deductions_breakdown; + + // Extract summary object if present + let summary: Record = {}; + if (rawEarnings && typeof rawEarnings === 'object') { + summary = rawEarnings.summary || {}; + } else if (typeof rawEarnings === 'string') { + try { + const parsed = JSON.parse(rawEarnings); + summary = parsed.summary || {}; + } catch { + summary = {}; + } + } + + // Parse earnings items + const parseItems = (raw: any): { name: string; amount: number }[] => { + if (!raw) return []; + let items = raw; + if (typeof raw === 'string') { + try { + items = JSON.parse(raw); + } catch { + return []; + } + } + + if (Array.isArray(items)) { + return items + .filter((item: any) => item && (item.name || item.title) && item.amount !== undefined) + .map((item: any) => ({ + name: item.name || item.title, + amount: Number(item.amount) || 0 + })); + } + + if (typeof items === 'object') { + return Object.entries(items) + .filter(([key, val]: [string, any]) => key !== 'meta' && key !== 'summary' && val && typeof val === 'object') + .map(([key, val]: [string, any]) => ({ + name: val.name || val.title || key, + amount: Number(val.amount ?? val.value ?? 0) + })); + } + + return []; + }; + + const earningsList = parseItems(rawEarnings); + const deductionsList = parseItems(rawDeductions); + + // Adjustments + const adjustments = Array.isArray(entry.adjustments) ? entry.adjustments : []; + const adjustmentEarnings = adjustments.filter((a: any) => a.type === 'earning'); + const adjustmentDeductions = adjustments.filter((a: any) => a.type === 'deduction'); + + // Overtime details + const regOtHours = Number(entry.overtime_hours ?? summary.reg_ot_hours ?? 0); + const regOtAmount = Number(entry.overtime_amount ?? summary.reg_ot_amount ?? 0); + const nightDiffHours = Number(summary.night_diff_hours ?? 0); + const nightDiffAmount = Number(summary.night_diff_amount ?? 0); + const totalOtEarnings = regOtAmount + nightDiffAmount; + + // Attendance details + const workingDays = Number(entry.working_days ?? summary.expected_working_days ?? 0); + const presentDays = Number(entry.present_days ?? summary.days_worked ?? 0); + const absentDays = Number(entry.absent_days ?? summary.absences ?? 0); + const paidLeaves = Number(entry.paid_leave_days ?? summary.leaves ?? 0); + const holidays = Number(entry.holiday_days ?? summary.holiday ?? 0); + const expectedHours = summary.expected_hours ? Number(summary.expected_hours) : null; + const renderedHours = summary.rendered_hours ? Number(summary.rendered_hours) : null; + + return ( +
+ {/* Header bar / Quick tags */} +
+
+ + {entry.employee?.name || t('Employee')} + + {entry.employee?.employee_id && ( + + ID: {entry.employee.employee_id} + + )} + {entry.employee?.designation?.name && ( + + • {entry.employee.designation.name} + + )} +
+ + {/* Quick summary badges */} +
+ + + {t('Daily Rate')}: {window.appSettings?.formatCurrency(entry.per_day_salary || 0)} + + + + {t('Total OT')}: {regOtHours.toFixed(2)}h ({window.appSettings?.formatCurrency(totalOtEarnings || regOtAmount)}) + + + + {t('Attendance')}: {presentDays} / {workingDays} {t('days')} + +
+
+ + {/* 4-Column Responsive Grid */} +
+ + {/* Card 1: Overtime & Working Hours */} +
+
+
+ + {t('Overtime & Hours')} +
+ + {window.appSettings?.formatCurrency(totalOtEarnings || regOtAmount)} + +
+ +
+
+ {t('Regular Overtime')} +
+ {regOtHours.toFixed(2)}h + + {window.appSettings?.formatCurrency(regOtAmount)} + +
+
+ + {nightDiffHours > 0 && ( +
+ + + {t('Night Differential')} + +
+ {nightDiffHours.toFixed(2)}h + + {window.appSettings?.formatCurrency(nightDiffAmount)} + +
+
+ )} + + {expectedHours !== null && renderedHours !== null && ( +
+ {t('Rendered vs Expected')} + + {renderedHours.toFixed(2)}h / {expectedHours.toFixed(2)}h + +
+ )} + +
+ {t('Hourly Rate Est.')} + + {window.appSettings?.formatCurrency((entry.per_day_salary || 0) / 8)} + +
+
+
+ + {/* Card 2: Attendance & Leave Breakdown */} +
+
+
+ + {t('Attendance & Leaves')} +
+ + {presentDays} / {workingDays} {t('Days')} + +
+ +
+
+ {t('Present Days')} + {presentDays} +
+ +
+ {t('Expected Working Days')} + {workingDays} +
+ +
+ {t('Paid Leaves')} + {paidLeaves} +
+ +
+ {t('Holidays')} + {holidays} +
+ +
+ {t('Absences / LWOP')} + 0 ? 'text-red-600 dark:text-red-400' : 'text-slate-400'}`}> + {absentDays} {absentDays > 0 ? `(-${window.appSettings?.formatCurrency(entry.unpaid_leave_deduction || 0)})` : ''} + +
+
+
+ + {/* Card 3: Earnings Breakdown */} +
+
+
+ + {t('Itemized Earnings')} +
+ + {window.appSettings?.formatCurrency(entry.total_earnings || 0)} + +
+ +
+
+ {t('Basic Salary')} + {window.appSettings?.formatCurrency(entry.basic_salary || 0)} +
+ + {earningsList.length > 0 ? ( + earningsList + .filter((item) => item.name !== 'Basic Salary') + .map((item, idx) => ( +
+ + {item.name} + + + +{window.appSettings?.formatCurrency(item.amount)} + +
+ )) + ) : null} + + {/* Adjustments (Earnings) */} + {adjustmentEarnings.map((adj: any, idx: number) => ( +
+ + +{adj.name || t('Adjustment')} + + + +{window.appSettings?.formatCurrency(adj.amount)} + +
+ ))} + + {earningsList.length <= 1 && adjustmentEarnings.length === 0 && ( +
+ {t('No additional allowance components.')} +
+ )} +
+
+ + {/* Card 4: Deductions Breakdown */} +
+
+
+ + {t('Itemized Deductions')} +
+ + {window.appSettings?.formatCurrency(entry.total_deductions || 0)} + +
+ +
+ {deductionsList.length > 0 ? ( + deductionsList.map((item, idx) => ( +
+ + {item.name} + + + -{window.appSettings?.formatCurrency(item.amount)} + +
+ )) + ) : null} + + {/* Leave deduction if not already listed */} + {Number(entry.unpaid_leave_deduction) > 0 && !deductionsList.some(d => d.name.toLowerCase().includes('absence') || d.name.toLowerCase().includes('lwop')) && ( +
+ {t('Absences / LWOP')} + + -{window.appSettings?.formatCurrency(entry.unpaid_leave_deduction)} + +
+ )} + + {/* Adjustments (Deductions) */} + {adjustmentDeductions.map((adj: any, idx: number) => ( +
+ + -{adj.name || t('Adjustment')} + + + -{window.appSettings?.formatCurrency(adj.amount)} + +
+ ))} + + {deductionsList.length === 0 && adjustmentDeductions.length === 0 && Number(entry.unpaid_leave_deduction) === 0 && ( +
+ {t('No deductions applied.')} +
+ )} +
+
+ +
+ + {/* Bottom Equation Strip */} +
+
+ + {t('Payslip Equation')}: + + + {t('Total Earnings')}: {window.appSettings?.formatCurrency(entry.total_earnings || 0)} + + - + + {t('Leave Deductions')}: {window.appSettings?.formatCurrency(entry.unpaid_leave_deduction || 0)} + + + + + {t('OT')}: {window.appSettings?.formatCurrency(entry.overtime_amount || 0)} + + = + + {t('Gross')}: {window.appSettings?.formatCurrency(entry.gross_pay || 0)} + + - + + {t('Total Deductions')}: {window.appSettings?.formatCurrency(entry.total_deductions || 0)} + +
+ +
+ + {t('Net Take Home')}: + + + {window.appSettings?.formatCurrency(entry.net_pay || 0)} + +
+
+
+ ); +} diff --git a/resources/js/pages/hr/payroll-runs/show.tsx b/resources/js/pages/hr/payroll-runs/show.tsx index ceaf4c594..eb977d739 100755 --- a/resources/js/pages/hr/payroll-runs/show.tsx +++ b/resources/js/pages/hr/payroll-runs/show.tsx @@ -10,6 +10,7 @@ import { CrudTable } from '@/components/CrudTable'; import { useState } from 'react'; import { CrudDeleteModal } from '@/components/CrudDeleteModal'; import { PayrollOverrideModal } from './PayrollOverrideModal'; +import { PayrollEntryBreakdown } from './PayrollEntryBreakdown'; import { TableFooter, TableRow, TableCell } from '@/components/ui/table'; import { hasPermission } from '@/utils/authorization'; @@ -239,7 +240,7 @@ export default function PayrollRunShow() { const tableFooter = ( - {t('Totals')} + {t('Totals')} {window.appSettings?.formatCurrency(totals.basic_salary)} {window.appSettings?.formatCurrency(totals.per_day_salary)} {window.appSettings?.formatCurrency(totals.component_earnings)} @@ -495,6 +496,7 @@ export default function PayrollRunShow() { ]} showActions={true} footer={tableFooter} + renderExpandedRow={(row) => } />